[Ada] Add ghost code to facilitate proof with SPARK
[official-gcc.git] / libstdc++-v3 / configure
blob9b94fd71e42488afec2bd4e93f5e126ab33ebca2
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for package-unused version-unused.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
174 esac
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
190 else
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1
201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 PATH=/empty FPATH=/empty; export PATH FPATH
206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208 if (eval "$as_required") 2>/dev/null; then :
209 as_have_required=yes
210 else
211 as_have_required=no
213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
215 else
216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217 as_found=false
218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
220 IFS=$as_save_IFS
221 test -z "$as_dir" && as_dir=.
222 as_found=:
223 case $as_dir in #(
225 for as_base in sh bash ksh sh5; do
226 # Try only shells that exist, to save several forks.
227 as_shell=$as_dir/$as_base
228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230 CONFIG_SHELL=$as_shell as_have_required=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 break 2
235 done;;
236 esac
237 as_found=false
238 done
239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241 CONFIG_SHELL=$SHELL as_have_required=yes
242 fi; }
243 IFS=$as_save_IFS
246 if test "x$CONFIG_SHELL" != x; then :
247 export CONFIG_SHELL
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
252 BASH_ENV=/dev/null
253 ENV=/dev/null
254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255 case $- in # ((((
256 *v*x* | *x*v* ) as_opts=-vx ;;
257 *v* ) as_opts=-v ;;
258 *x* ) as_opts=-x ;;
259 * ) as_opts= ;;
260 esac
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265 exit 255
268 if test x$as_have_required = xno; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x${ZSH_VERSION+set} = xset ; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274 else
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
280 exit 1
284 SHELL=${CONFIG_SHELL-/bin/sh}
285 export SHELL
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE= GREP_OPTIONS=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
293 # as_fn_unset VAR
294 # ---------------
295 # Portably unset VAR.
296 as_fn_unset ()
298 { eval $1=; unset $1;}
300 as_unset=as_fn_unset
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
305 as_fn_set_status ()
307 return $1
308 } # as_fn_set_status
310 # as_fn_exit STATUS
311 # -----------------
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 as_fn_exit ()
315 set +e
316 as_fn_set_status $1
317 exit $1
318 } # as_fn_exit
320 # as_fn_mkdir_p
321 # -------------
322 # Create "$as_dir" as a directory, including parents if necessary.
323 as_fn_mkdir_p ()
326 case $as_dir in #(
327 -*) as_dir=./$as_dir;;
328 esac
329 test -d "$as_dir" || eval $as_mkdir_p || {
330 as_dirs=
331 while :; do
332 case $as_dir in #(
333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334 *) as_qdir=$as_dir;;
335 esac
336 as_dirs="'$as_qdir' $as_dirs"
337 as_dir=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344 s//\1/
347 /^X\(\/\/\)[^/].*/{
348 s//\1/
351 /^X\(\/\/\)$/{
352 s//\1/
355 /^X\(\/\).*/{
356 s//\1/
359 s/.*/./; q'`
360 test -d "$as_dir" && break
361 done
362 test -z "$as_dirs" || eval "mkdir $as_dirs"
363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
366 } # as_fn_mkdir_p
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p ()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
380 # implementations.
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382 eval 'as_fn_append ()
384 eval $1+=\$2
386 else
387 as_fn_append ()
389 eval $1=\$$1\$2
391 fi # as_fn_append
393 # as_fn_arith ARG...
394 # ------------------
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399 eval 'as_fn_arith ()
401 as_val=$(( $* ))
403 else
404 as_fn_arith ()
406 as_val=`expr "$@" || test $? -eq 1`
408 fi # as_fn_arith
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
416 as_fn_error ()
418 as_status=$1; test $as_status -eq 0 && as_status=1
419 if test "$4"; then
420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit $as_status
425 } # as_fn_error
427 if expr a : '\(a\)' >/dev/null 2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001; then
429 as_expr=expr
430 else
431 as_expr=false
434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 as_basename=basename
436 else
437 as_basename=false
440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441 as_dirname=dirname
442 else
443 as_dirname=false
446 as_me=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450 $as_echo X/"$0" |
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
452 s//\1/
455 /^X\/\(\/\/\)$/{
456 s//\1/
459 /^X\/\(\/\).*/{
460 s//\1/
463 s/.*/./; q'`
465 # Avoid depending upon Character Ranges.
466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits='0123456789'
470 as_cr_alnum=$as_cr_Letters$as_cr_digits
473 as_lineno_1=$LINENO as_lineno_1a=$LINENO
474 as_lineno_2=$LINENO as_lineno_2a=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
478 sed -n '
480 /[$]LINENO/=
481 ' <$as_myself |
482 sed '
483 s/[$]LINENO.*/&-/
484 t lineno
486 :lineno
488 :loop
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490 t loop
491 s/-\n.*//
492 ' >$as_me.lineno &&
493 chmod +x "$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec=no; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
503 . "./$as_me.lineno"
504 # Exit status is that of the last command.
505 exit
508 ECHO_C= ECHO_N= ECHO_T=
509 case `echo -n x` in #(((((
510 -n*)
511 case `echo 'xy\c'` in
512 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
513 xy) ECHO_C='\c';;
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
515 ECHO_T=' ';;
516 esac;;
518 ECHO_N='-n';;
519 esac
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523 rm -f conf$$.dir/conf$$.file
524 else
525 rm -f conf$$.dir
526 mkdir conf$$.dir 2>/dev/null
528 if (echo >conf$$.file) 2>/dev/null; then
529 if ln -s conf$$.file conf$$ 2>/dev/null; then
530 as_ln_s='ln -s'
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536 as_ln_s='cp -pR'
537 elif ln conf$$.file conf$$ 2>/dev/null; then
538 as_ln_s=ln
539 else
540 as_ln_s='cp -pR'
542 else
543 as_ln_s='cp -pR'
545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546 rmdir conf$$.dir 2>/dev/null
548 if mkdir -p . 2>/dev/null; then
549 as_mkdir_p='mkdir -p "$as_dir"'
550 else
551 test -d ./-p && rmdir ./-p
552 as_mkdir_p=false
555 as_test_x='test -x'
556 as_executable_p=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" || exec 7<&0 </dev/null
568 exec 6>&1
570 # Name of the host.
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
576 # Initializations.
578 ac_default_prefix=/usr/local
579 ac_clean_files=
580 ac_config_libobj_dir=.
581 LIBOBJS=
582 cross_compiling=no
583 subdirs=
584 MFLAGS=
585 MAKEFLAGS=
587 # Identity of this package.
588 PACKAGE_NAME='package-unused'
589 PACKAGE_TARNAME='libstdc++'
590 PACKAGE_VERSION='version-unused'
591 PACKAGE_STRING='package-unused version-unused'
592 PACKAGE_BUGREPORT=''
593 PACKAGE_URL=''
595 ac_unique_file="src/shared/hashtable-aux.cc"
596 # Factoring default headers for most tests.
597 ac_includes_default="\
598 #include <stdio.h>
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
601 #endif
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
604 #endif
605 #ifdef STDC_HEADERS
606 # include <stdlib.h>
607 # include <stddef.h>
608 #else
609 # ifdef HAVE_STDLIB_H
610 # include <stdlib.h>
611 # endif
612 #endif
613 #ifdef HAVE_STRING_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
615 # include <memory.h>
616 # endif
617 # include <string.h>
618 #endif
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
621 #endif
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
624 #endif
625 #ifdef HAVE_STDINT_H
626 # include <stdint.h>
627 #endif
628 #ifdef HAVE_UNISTD_H
629 # include <unistd.h>
630 #endif"
632 ac_subst_vars='am__EXEEXT_FALSE
633 am__EXEEXT_TRUE
634 LTLIBOBJS
635 LIBOBJS
636 get_gcc_base_ver
637 WARN_FLAGS
638 OPTIMIZE_CXXFLAGS
639 TOPLEVEL_INCLUDES
640 GLIBCXX_INCLUDES
641 glibcxx_toolexeclibdir
642 glibcxx_toolexecdir
643 gxx_include_dir
644 glibcxx_prefixdir
645 EXTRA_CFLAGS
646 tmake_file
647 CPU_OPT_BITS_RANDOM
648 CPU_OPT_EXT_RANDOM
649 ERROR_CONSTANTS_SRCDIR
650 OS_INC_SRCDIR
651 ABI_TWEAKS_SRCDIR
652 CPU_DEFINES_SRCDIR
653 ATOMIC_FLAGS
654 ATOMIC_WORD_SRCDIR
655 ATOMICITY_SRCDIR
656 INCLUDE_DIR_NOTPARALLEL_FALSE
657 INCLUDE_DIR_NOTPARALLEL_TRUE
658 BUILD_PDF_FALSE
659 BUILD_PDF_TRUE
660 PDFLATEX
661 DBLATEX
662 BUILD_MAN_FALSE
663 BUILD_MAN_TRUE
664 BUILD_HTML_FALSE
665 BUILD_HTML_TRUE
666 BUILD_XML_FALSE
667 BUILD_XML_TRUE
668 BUILD_EPUB_FALSE
669 BUILD_EPUB_TRUE
670 XSL_STYLE_DIR
671 XMLLINT
672 XSLTPROC
673 XMLCATALOG
675 DOXYGEN
676 BUILD_INFO_FALSE
677 BUILD_INFO_TRUE
678 ENABLE_BACKTRACE_FALSE
679 ENABLE_BACKTRACE_TRUE
680 BACKTRACE_SUPPORTS_THREADS
681 BACKTRACE_USES_MALLOC
682 BACKTRACE_SUPPORTED
683 BACKTRACE_CPPFLAGS
684 ALLOC_FILE
685 VIEW_FILE
686 FORMAT_FILE
687 ENABLE_FILESYSTEM_TS_FALSE
688 ENABLE_FILESYSTEM_TS_TRUE
689 baseline_subdir_switch
690 baseline_dir
691 HWCAP_CFLAGS
692 GLIBCXX_LDBL_ALT128_COMPAT_FALSE
693 GLIBCXX_LDBL_ALT128_COMPAT_TRUE
694 GLIBCXX_LDBL_COMPAT_FALSE
695 GLIBCXX_LDBL_COMPAT_TRUE
696 LONG_DOUBLE_ALT128_COMPAT_FLAGS
697 LONG_DOUBLE_128_FLAGS
698 LONG_DOUBLE_COMPAT_FLAGS
699 ENABLE_CXX11_ABI_FALSE
700 ENABLE_CXX11_ABI_TRUE
701 glibcxx_cxx98_abi
702 ENABLE_DUAL_ABI_FALSE
703 ENABLE_DUAL_ABI_TRUE
704 ENABLE_VISIBILITY_FALSE
705 ENABLE_VISIBILITY_TRUE
706 libtool_VERSION
707 ENABLE_SYMVERS_SUN_FALSE
708 ENABLE_SYMVERS_SUN_TRUE
709 ENABLE_SYMVERS_DARWIN_FALSE
710 ENABLE_SYMVERS_DARWIN_TRUE
711 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
712 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
713 ENABLE_SYMVERS_GNU_FALSE
714 ENABLE_SYMVERS_GNU_TRUE
715 ENABLE_SYMVERS_FALSE
716 ENABLE_SYMVERS_TRUE
717 port_specific_symbol_files
718 SYMVER_FILE
719 CXXFILT
720 LTLIBICONV
721 LIBICONV
722 OPT_LDFLAGS
723 SECTION_LDFLAGS
724 GLIBCXX_LIBS
725 ENABLE_VTABLE_VERIFY_FALSE
726 ENABLE_VTABLE_VERIFY_TRUE
727 VTV_CYGMIN_FALSE
728 VTV_CYGMIN_TRUE
729 VTV_CXXLINKFLAGS
730 VTV_PCH_CXXFLAGS
731 VTV_CXXFLAGS
732 ENABLE_WERROR_FALSE
733 ENABLE_WERROR_TRUE
734 ENABLE_PYTHONDIR_FALSE
735 ENABLE_PYTHONDIR_TRUE
736 python_mod_dir
737 ENABLE_EXTERN_TEMPLATE_FALSE
738 ENABLE_EXTERN_TEMPLATE_TRUE
739 EXTRA_CXX_FLAGS
740 GLIBCXX_BUILD_DEBUG_FALSE
741 GLIBCXX_BUILD_DEBUG_TRUE
742 DEBUG_FLAGS
743 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
744 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
745 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
746 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
747 GLIBCXX_C_HEADERS_C_STD_FALSE
748 GLIBCXX_C_HEADERS_C_STD_TRUE
749 GLIBCXX_C_HEADERS_C_FALSE
750 GLIBCXX_C_HEADERS_C_TRUE
751 C_INCLUDE_DIR
752 ALLOCATOR_NAME
753 ALLOCATOR_H
754 ENABLE_ALLOCATOR_NEW_FALSE
755 ENABLE_ALLOCATOR_NEW_TRUE
756 CLOCALE_INTERNAL_H
757 CLOCALE_CC
758 CTIME_CC
759 CTIME_H
760 CNUMERIC_CC
761 CMONEY_CC
762 CMESSAGES_CC
763 CCTYPE_CC
764 CCOLLATE_CC
765 CCODECVT_CC
766 CMESSAGES_H
767 CLOCALE_H
768 USE_NLS
769 glibcxx_localedir
770 glibcxx_POFILES
771 glibcxx_MOFILES
772 check_msgfmt
773 BASIC_FILE_CC
774 BASIC_FILE_H
775 CSTDIO_H
776 SECTION_FLAGS
777 ENABLE_FLOAT128_FALSE
778 ENABLE_FLOAT128_TRUE
779 thread_header
780 glibcxx_PCHFLAGS
781 GLIBCXX_BUILD_PCH_FALSE
782 GLIBCXX_BUILD_PCH_TRUE
783 FREESTANDING_FLAGS
784 GLIBCXX_HOSTED_FALSE
785 GLIBCXX_HOSTED_TRUE
786 glibcxx_compiler_shared_flag
787 glibcxx_compiler_pic_flag
788 glibcxx_lt_pic_flag
789 enable_static
790 enable_shared
791 lt_host_flags
792 CXXCPP
793 OTOOL64
794 OTOOL
795 LIPO
796 NMEDIT
797 DSYMUTIL
798 OBJDUMP
800 ac_ct_DUMPBIN
801 DUMPBIN
803 FGREP
805 LIBTOOL
806 EGREP
807 GREP
809 MAINT
810 MAINTAINER_MODE_FALSE
811 MAINTAINER_MODE_TRUE
812 RANLIB
815 LN_S
816 toplevel_srcdir
817 toplevel_builddir
818 glibcxx_srcdir
819 glibcxx_builddir
820 ac_ct_CXX
821 CXXFLAGS
823 OBJEXT
824 EXEEXT
825 ac_ct_CC
826 CPPFLAGS
827 LDFLAGS
828 CFLAGS
830 AM_BACKSLASH
831 AM_DEFAULT_VERBOSITY
832 AM_DEFAULT_V
833 AM_V
834 am__untar
835 am__tar
836 AMTAR
837 am__leading_dot
838 SET_MAKE
840 mkdir_p
841 MKDIR_P
842 INSTALL_STRIP_PROGRAM
843 STRIP
844 install_sh
845 MAKEINFO
846 AUTOHEADER
847 AUTOMAKE
848 AUTOCONF
849 ACLOCAL
850 VERSION
851 PACKAGE
852 CYGPATH_W
853 am__isrc
854 INSTALL_DATA
855 INSTALL_SCRIPT
856 INSTALL_PROGRAM
857 target_os
858 target_vendor
859 target_cpu
860 target
861 host_os
862 host_vendor
863 host_cpu
864 host
865 build_os
866 build_vendor
867 build_cpu
868 build
869 multi_basedir
870 target_alias
871 host_alias
872 build_alias
873 LIBS
874 ECHO_T
875 ECHO_N
876 ECHO_C
877 DEFS
878 mandir
879 localedir
880 libdir
881 psdir
882 pdfdir
883 dvidir
884 htmldir
885 infodir
886 docdir
887 oldincludedir
888 includedir
889 localstatedir
890 sharedstatedir
891 sysconfdir
892 datadir
893 datarootdir
894 libexecdir
895 sbindir
896 bindir
897 program_transform_name
898 prefix
899 exec_prefix
900 PACKAGE_URL
901 PACKAGE_BUGREPORT
902 PACKAGE_STRING
903 PACKAGE_VERSION
904 PACKAGE_TARNAME
905 PACKAGE_NAME
906 PATH_SEPARATOR
907 SHELL'
908 ac_subst_files=''
909 ac_user_opts='
910 enable_option_checking
911 enable_multilib
912 enable_silent_rules
913 enable_largefile
914 with_target_subdir
915 with_cross_host
916 with_newlib
917 enable_maintainer_mode
918 enable_shared
919 enable_static
920 with_pic
921 enable_fast_install
922 with_gnu_ld
923 enable_libtool_lock
924 enable_hosted_libstdcxx
925 enable_libstdcxx_verbose
926 enable_libstdcxx_pch
927 with_libstdcxx_lock_policy
928 enable_cstdio
929 enable_clocale
930 enable_nls
931 enable_libstdcxx_allocator
932 enable_cheaders_obsolete
933 enable_cheaders
934 enable_long_long
935 enable_wchar_t
936 enable_c99
937 enable_concept_checks
938 enable_libstdcxx_debug_flags
939 enable_libstdcxx_debug
940 enable_cxx_flags
941 enable_fully_dynamic_string
942 enable_extern_template
943 with_python_dir
944 enable_werror
945 enable_vtable_verify
946 enable_libstdcxx_time
947 enable_tls
948 enable_rpath
949 with_libiconv_prefix
950 with_libiconv_type
951 with_system_libunwind
952 enable_linux_futex
953 enable_symvers
954 enable_libstdcxx_visibility
955 enable_libstdcxx_dual_abi
956 with_default_libstdcxx_abi
957 enable_libstdcxx_threads
958 enable_libstdcxx_filesystem_ts
959 enable_libstdcxx_backtrace
960 enable_cet
961 with_gxx_include_dir
962 enable_version_specific_runtime_libs
963 with_toolexeclibdir
964 with_gcc_major_version_only
966 ac_precious_vars='build_alias
967 host_alias
968 target_alias
970 CFLAGS
971 LDFLAGS
972 LIBS
973 CPPFLAGS
975 CXXFLAGS
978 CXXCPP
979 CXXFILT'
982 # Initialize some variables set by options.
983 ac_init_help=
984 ac_init_version=false
985 ac_unrecognized_opts=
986 ac_unrecognized_sep=
987 # The variables have the same names as the options, with
988 # dashes changed to underlines.
989 cache_file=/dev/null
990 exec_prefix=NONE
991 no_create=
992 no_recursion=
993 prefix=NONE
994 program_prefix=NONE
995 program_suffix=NONE
996 program_transform_name=s,x,x,
997 silent=
998 site=
999 srcdir=
1000 verbose=
1001 x_includes=NONE
1002 x_libraries=NONE
1004 # Installation directory options.
1005 # These are left unexpanded so users can "make install exec_prefix=/foo"
1006 # and all the variables that are supposed to be based on exec_prefix
1007 # by default will actually change.
1008 # Use braces instead of parens because sh, perl, etc. also accept them.
1009 # (The list follows the same order as the GNU Coding Standards.)
1010 bindir='${exec_prefix}/bin'
1011 sbindir='${exec_prefix}/sbin'
1012 libexecdir='${exec_prefix}/libexec'
1013 datarootdir='${prefix}/share'
1014 datadir='${datarootdir}'
1015 sysconfdir='${prefix}/etc'
1016 sharedstatedir='${prefix}/com'
1017 localstatedir='${prefix}/var'
1018 includedir='${prefix}/include'
1019 oldincludedir='/usr/include'
1020 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1021 infodir='${datarootdir}/info'
1022 htmldir='${docdir}'
1023 dvidir='${docdir}'
1024 pdfdir='${docdir}'
1025 psdir='${docdir}'
1026 libdir='${exec_prefix}/lib'
1027 localedir='${datarootdir}/locale'
1028 mandir='${datarootdir}/man'
1030 ac_prev=
1031 ac_dashdash=
1032 for ac_option
1034 # If the previous option needs an argument, assign it.
1035 if test -n "$ac_prev"; then
1036 eval $ac_prev=\$ac_option
1037 ac_prev=
1038 continue
1041 case $ac_option in
1042 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1043 *=) ac_optarg= ;;
1044 *) ac_optarg=yes ;;
1045 esac
1047 # Accept the important Cygnus configure options, so we can diagnose typos.
1049 case $ac_dashdash$ac_option in
1051 ac_dashdash=yes ;;
1053 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1054 ac_prev=bindir ;;
1055 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1056 bindir=$ac_optarg ;;
1058 -build | --build | --buil | --bui | --bu)
1059 ac_prev=build_alias ;;
1060 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1061 build_alias=$ac_optarg ;;
1063 -cache-file | --cache-file | --cache-fil | --cache-fi \
1064 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1065 ac_prev=cache_file ;;
1066 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1067 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1068 cache_file=$ac_optarg ;;
1070 --config-cache | -C)
1071 cache_file=config.cache ;;
1073 -datadir | --datadir | --datadi | --datad)
1074 ac_prev=datadir ;;
1075 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1076 datadir=$ac_optarg ;;
1078 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1079 | --dataroo | --dataro | --datar)
1080 ac_prev=datarootdir ;;
1081 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1082 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1083 datarootdir=$ac_optarg ;;
1085 -disable-* | --disable-*)
1086 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1087 # Reject names that are not valid shell variable names.
1088 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1089 as_fn_error $? "invalid feature name: $ac_useropt"
1090 ac_useropt_orig=$ac_useropt
1091 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1092 case $ac_user_opts in
1094 "enable_$ac_useropt"
1095 "*) ;;
1096 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1097 ac_unrecognized_sep=', ';;
1098 esac
1099 eval enable_$ac_useropt=no ;;
1101 -docdir | --docdir | --docdi | --doc | --do)
1102 ac_prev=docdir ;;
1103 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1104 docdir=$ac_optarg ;;
1106 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1107 ac_prev=dvidir ;;
1108 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1109 dvidir=$ac_optarg ;;
1111 -enable-* | --enable-*)
1112 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1113 # Reject names that are not valid shell variable names.
1114 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1115 as_fn_error $? "invalid feature name: $ac_useropt"
1116 ac_useropt_orig=$ac_useropt
1117 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1118 case $ac_user_opts in
1120 "enable_$ac_useropt"
1121 "*) ;;
1122 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1123 ac_unrecognized_sep=', ';;
1124 esac
1125 eval enable_$ac_useropt=\$ac_optarg ;;
1127 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1128 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1129 | --exec | --exe | --ex)
1130 ac_prev=exec_prefix ;;
1131 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1132 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1133 | --exec=* | --exe=* | --ex=*)
1134 exec_prefix=$ac_optarg ;;
1136 -gas | --gas | --ga | --g)
1137 # Obsolete; use --with-gas.
1138 with_gas=yes ;;
1140 -help | --help | --hel | --he | -h)
1141 ac_init_help=long ;;
1142 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1143 ac_init_help=recursive ;;
1144 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1145 ac_init_help=short ;;
1147 -host | --host | --hos | --ho)
1148 ac_prev=host_alias ;;
1149 -host=* | --host=* | --hos=* | --ho=*)
1150 host_alias=$ac_optarg ;;
1152 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1153 ac_prev=htmldir ;;
1154 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1155 | --ht=*)
1156 htmldir=$ac_optarg ;;
1158 -includedir | --includedir | --includedi | --included | --include \
1159 | --includ | --inclu | --incl | --inc)
1160 ac_prev=includedir ;;
1161 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1162 | --includ=* | --inclu=* | --incl=* | --inc=*)
1163 includedir=$ac_optarg ;;
1165 -infodir | --infodir | --infodi | --infod | --info | --inf)
1166 ac_prev=infodir ;;
1167 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1168 infodir=$ac_optarg ;;
1170 -libdir | --libdir | --libdi | --libd)
1171 ac_prev=libdir ;;
1172 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1173 libdir=$ac_optarg ;;
1175 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1176 | --libexe | --libex | --libe)
1177 ac_prev=libexecdir ;;
1178 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1179 | --libexe=* | --libex=* | --libe=*)
1180 libexecdir=$ac_optarg ;;
1182 -localedir | --localedir | --localedi | --localed | --locale)
1183 ac_prev=localedir ;;
1184 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1185 localedir=$ac_optarg ;;
1187 -localstatedir | --localstatedir | --localstatedi | --localstated \
1188 | --localstate | --localstat | --localsta | --localst | --locals)
1189 ac_prev=localstatedir ;;
1190 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1191 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1192 localstatedir=$ac_optarg ;;
1194 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1195 ac_prev=mandir ;;
1196 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1197 mandir=$ac_optarg ;;
1199 -nfp | --nfp | --nf)
1200 # Obsolete; use --without-fp.
1201 with_fp=no ;;
1203 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1204 | --no-cr | --no-c | -n)
1205 no_create=yes ;;
1207 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1208 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1209 no_recursion=yes ;;
1211 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1212 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1213 | --oldin | --oldi | --old | --ol | --o)
1214 ac_prev=oldincludedir ;;
1215 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1216 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1217 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1218 oldincludedir=$ac_optarg ;;
1220 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1221 ac_prev=prefix ;;
1222 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1223 prefix=$ac_optarg ;;
1225 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1226 | --program-pre | --program-pr | --program-p)
1227 ac_prev=program_prefix ;;
1228 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1229 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1230 program_prefix=$ac_optarg ;;
1232 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1233 | --program-suf | --program-su | --program-s)
1234 ac_prev=program_suffix ;;
1235 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1236 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1237 program_suffix=$ac_optarg ;;
1239 -program-transform-name | --program-transform-name \
1240 | --program-transform-nam | --program-transform-na \
1241 | --program-transform-n | --program-transform- \
1242 | --program-transform | --program-transfor \
1243 | --program-transfo | --program-transf \
1244 | --program-trans | --program-tran \
1245 | --progr-tra | --program-tr | --program-t)
1246 ac_prev=program_transform_name ;;
1247 -program-transform-name=* | --program-transform-name=* \
1248 | --program-transform-nam=* | --program-transform-na=* \
1249 | --program-transform-n=* | --program-transform-=* \
1250 | --program-transform=* | --program-transfor=* \
1251 | --program-transfo=* | --program-transf=* \
1252 | --program-trans=* | --program-tran=* \
1253 | --progr-tra=* | --program-tr=* | --program-t=*)
1254 program_transform_name=$ac_optarg ;;
1256 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1257 ac_prev=pdfdir ;;
1258 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1259 pdfdir=$ac_optarg ;;
1261 -psdir | --psdir | --psdi | --psd | --ps)
1262 ac_prev=psdir ;;
1263 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1264 psdir=$ac_optarg ;;
1266 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1267 | -silent | --silent | --silen | --sile | --sil)
1268 silent=yes ;;
1270 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1271 ac_prev=sbindir ;;
1272 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1273 | --sbi=* | --sb=*)
1274 sbindir=$ac_optarg ;;
1276 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1277 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1278 | --sharedst | --shareds | --shared | --share | --shar \
1279 | --sha | --sh)
1280 ac_prev=sharedstatedir ;;
1281 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1282 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1283 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1284 | --sha=* | --sh=*)
1285 sharedstatedir=$ac_optarg ;;
1287 -site | --site | --sit)
1288 ac_prev=site ;;
1289 -site=* | --site=* | --sit=*)
1290 site=$ac_optarg ;;
1292 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1293 ac_prev=srcdir ;;
1294 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1295 srcdir=$ac_optarg ;;
1297 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1298 | --syscon | --sysco | --sysc | --sys | --sy)
1299 ac_prev=sysconfdir ;;
1300 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1301 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1302 sysconfdir=$ac_optarg ;;
1304 -target | --target | --targe | --targ | --tar | --ta | --t)
1305 ac_prev=target_alias ;;
1306 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1307 target_alias=$ac_optarg ;;
1309 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1310 verbose=yes ;;
1312 -version | --version | --versio | --versi | --vers | -V)
1313 ac_init_version=: ;;
1315 -with-* | --with-*)
1316 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1317 # Reject names that are not valid shell variable names.
1318 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1319 as_fn_error $? "invalid package name: $ac_useropt"
1320 ac_useropt_orig=$ac_useropt
1321 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1322 case $ac_user_opts in
1324 "with_$ac_useropt"
1325 "*) ;;
1326 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1327 ac_unrecognized_sep=', ';;
1328 esac
1329 eval with_$ac_useropt=\$ac_optarg ;;
1331 -without-* | --without-*)
1332 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1333 # Reject names that are not valid shell variable names.
1334 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1335 as_fn_error $? "invalid package name: $ac_useropt"
1336 ac_useropt_orig=$ac_useropt
1337 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1338 case $ac_user_opts in
1340 "with_$ac_useropt"
1341 "*) ;;
1342 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1343 ac_unrecognized_sep=', ';;
1344 esac
1345 eval with_$ac_useropt=no ;;
1347 --x)
1348 # Obsolete; use --with-x.
1349 with_x=yes ;;
1351 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1352 | --x-incl | --x-inc | --x-in | --x-i)
1353 ac_prev=x_includes ;;
1354 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1355 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1356 x_includes=$ac_optarg ;;
1358 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1359 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1360 ac_prev=x_libraries ;;
1361 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1362 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1363 x_libraries=$ac_optarg ;;
1365 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1366 Try \`$0 --help' for more information"
1369 *=*)
1370 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1371 # Reject names that are not valid shell variable names.
1372 case $ac_envvar in #(
1373 '' | [0-9]* | *[!_$as_cr_alnum]* )
1374 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1375 esac
1376 eval $ac_envvar=\$ac_optarg
1377 export $ac_envvar ;;
1380 # FIXME: should be removed in autoconf 3.0.
1381 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1382 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1383 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1384 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1387 esac
1388 done
1390 if test -n "$ac_prev"; then
1391 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1392 as_fn_error $? "missing argument to $ac_option"
1395 if test -n "$ac_unrecognized_opts"; then
1396 case $enable_option_checking in
1397 no) ;;
1398 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1399 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1400 esac
1403 # Check all directory arguments for consistency.
1404 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1405 datadir sysconfdir sharedstatedir localstatedir includedir \
1406 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1407 libdir localedir mandir
1409 eval ac_val=\$$ac_var
1410 # Remove trailing slashes.
1411 case $ac_val in
1412 */ )
1413 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1414 eval $ac_var=\$ac_val;;
1415 esac
1416 # Be sure to have absolute directory names.
1417 case $ac_val in
1418 [\\/$]* | ?:[\\/]* ) continue;;
1419 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1420 esac
1421 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1422 done
1424 # There might be people who depend on the old broken behavior: `$host'
1425 # used to hold the argument of --host etc.
1426 # FIXME: To remove some day.
1427 build=$build_alias
1428 host=$host_alias
1429 target=$target_alias
1431 # FIXME: To remove some day.
1432 if test "x$host_alias" != x; then
1433 if test "x$build_alias" = x; then
1434 cross_compiling=maybe
1435 elif test "x$build_alias" != "x$host_alias"; then
1436 cross_compiling=yes
1440 ac_tool_prefix=
1441 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1443 test "$silent" = yes && exec 6>/dev/null
1446 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1447 ac_ls_di=`ls -di .` &&
1448 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1449 as_fn_error $? "working directory cannot be determined"
1450 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1451 as_fn_error $? "pwd does not report name of working directory"
1454 # Find the source files, if location was not specified.
1455 if test -z "$srcdir"; then
1456 ac_srcdir_defaulted=yes
1457 # Try the directory containing this script, then the parent directory.
1458 ac_confdir=`$as_dirname -- "$as_myself" ||
1459 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1460 X"$as_myself" : 'X\(//\)[^/]' \| \
1461 X"$as_myself" : 'X\(//\)$' \| \
1462 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1463 $as_echo X"$as_myself" |
1464 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1465 s//\1/
1468 /^X\(\/\/\)[^/].*/{
1469 s//\1/
1472 /^X\(\/\/\)$/{
1473 s//\1/
1476 /^X\(\/\).*/{
1477 s//\1/
1480 s/.*/./; q'`
1481 srcdir=$ac_confdir
1482 if test ! -r "$srcdir/$ac_unique_file"; then
1483 srcdir=..
1485 else
1486 ac_srcdir_defaulted=no
1488 if test ! -r "$srcdir/$ac_unique_file"; then
1489 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1490 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1492 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1493 ac_abs_confdir=`(
1494 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1495 pwd)`
1496 # When building in place, set srcdir=.
1497 if test "$ac_abs_confdir" = "$ac_pwd"; then
1498 srcdir=.
1500 # Remove unnecessary trailing slashes from srcdir.
1501 # Double slashes in file names in object file debugging info
1502 # mess up M-x gdb in Emacs.
1503 case $srcdir in
1504 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1505 esac
1506 for ac_var in $ac_precious_vars; do
1507 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1508 eval ac_env_${ac_var}_value=\$${ac_var}
1509 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1510 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1511 done
1514 # Report the --help message.
1516 if test "$ac_init_help" = "long"; then
1517 # Omit some internal or obsolete options to make the list less imposing.
1518 # This message is too long to be a string in the A/UX 3.1 sh.
1519 cat <<_ACEOF
1520 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1522 Usage: $0 [OPTION]... [VAR=VALUE]...
1524 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1525 VAR=VALUE. See below for descriptions of some of the useful variables.
1527 Defaults for the options are specified in brackets.
1529 Configuration:
1530 -h, --help display this help and exit
1531 --help=short display options specific to this package
1532 --help=recursive display the short help of all the included packages
1533 -V, --version display version information and exit
1534 -q, --quiet, --silent do not print \`checking ...' messages
1535 --cache-file=FILE cache test results in FILE [disabled]
1536 -C, --config-cache alias for \`--cache-file=config.cache'
1537 -n, --no-create do not create output files
1538 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1540 Installation directories:
1541 --prefix=PREFIX install architecture-independent files in PREFIX
1542 [$ac_default_prefix]
1543 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1544 [PREFIX]
1546 By default, \`make install' will install all the files in
1547 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1548 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1549 for instance \`--prefix=\$HOME'.
1551 For better control, use the options below.
1553 Fine tuning of the installation directories:
1554 --bindir=DIR user executables [EPREFIX/bin]
1555 --sbindir=DIR system admin executables [EPREFIX/sbin]
1556 --libexecdir=DIR program executables [EPREFIX/libexec]
1557 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1558 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1559 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1560 --libdir=DIR object code libraries [EPREFIX/lib]
1561 --includedir=DIR C header files [PREFIX/include]
1562 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1563 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1564 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1565 --infodir=DIR info documentation [DATAROOTDIR/info]
1566 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1567 --mandir=DIR man documentation [DATAROOTDIR/man]
1568 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1569 --htmldir=DIR html documentation [DOCDIR]
1570 --dvidir=DIR dvi documentation [DOCDIR]
1571 --pdfdir=DIR pdf documentation [DOCDIR]
1572 --psdir=DIR ps documentation [DOCDIR]
1573 _ACEOF
1575 cat <<\_ACEOF
1577 Program names:
1578 --program-prefix=PREFIX prepend PREFIX to installed program names
1579 --program-suffix=SUFFIX append SUFFIX to installed program names
1580 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1582 System types:
1583 --build=BUILD configure for building on BUILD [guessed]
1584 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1585 --target=TARGET configure for building compilers for TARGET [HOST]
1586 _ACEOF
1589 if test -n "$ac_init_help"; then
1590 case $ac_init_help in
1591 short | recursive ) echo "Configuration of package-unused version-unused:";;
1592 esac
1593 cat <<\_ACEOF
1595 Optional Features:
1596 --disable-option-checking ignore unrecognized --enable/--with options
1597 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1598 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1599 --enable-multilib build many library versions (default)
1600 --enable-silent-rules less verbose build output (undo: "make V=1")
1601 --disable-silent-rules verbose build output (undo: "make V=0")
1602 --disable-largefile omit support for large files
1603 --enable-maintainer-mode
1604 enable make rules and dependencies not useful (and
1605 sometimes confusing) to the casual installer
1606 --enable-shared[=PKGS] build shared libraries [default=yes]
1607 --enable-static[=PKGS] build static libraries [default=yes]
1608 --enable-fast-install[=PKGS]
1609 optimize for fast installation [default=yes]
1610 --disable-libtool-lock avoid locking (might break parallel builds)
1611 --disable-hosted-libstdcxx
1612 only build freestanding C++ runtime support
1613 --disable-libstdcxx-verbose
1614 disable termination messages to standard error
1615 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1616 [default=$is_hosted]
1617 --enable-cstdio[=PACKAGE]
1618 use target-specific I/O package [default=stdio]
1619 --enable-clocale[=MODEL]
1620 use MODEL for target locale package [default=auto]
1621 --enable-nls use Native Language Support (default)
1622 --enable-libstdcxx-allocator[=KIND]
1623 use KIND for target std::allocator base
1624 [default=auto]
1625 --enable-cheaders-obsolete
1626 allow use of obsolete "C" headers for g++
1627 [default=no]
1628 --enable-cheaders[=KIND]
1629 construct "C" headers for g++ [default=$c_model]
1630 --enable-long-long enable template specializations for 'long long'
1631 [default=yes]
1632 --enable-wchar_t enable template specializations for 'wchar_t'
1633 [default=yes]
1634 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1635 --enable-concept-checks use Boost-derived template checks [default=no]
1636 --enable-libstdcxx-debug-flags=FLAGS
1637 pass compiler FLAGS when building debug library
1638 [default="-g3 -O0 -D_GLIBCXX_ASSERTIONS"]
1639 --enable-libstdcxx-debug
1640 build extra debug library [default=no]
1641 --enable-cxx-flags=FLAGS
1642 pass compiler FLAGS when building library [default=]
1643 --enable-fully-dynamic-string
1644 do not put empty strings in per-process static
1645 memory [default=no]
1646 --enable-extern-template
1647 enable extern template [default=yes]
1648 --enable-werror turns on -Werror [default=no]
1649 --enable-vtable-verify enable vtable verify [default=no]
1650 --enable-libstdcxx-time[=KIND]
1651 use KIND for check type [default=auto]
1652 --enable-tls Use thread-local storage [default=yes]
1653 --disable-rpath do not hardcode runtime library paths
1654 --enable-linux-futex use the Linux futex system call [default=default]
1655 --enable-symvers[=STYLE]
1656 enables symbol versioning of the shared library
1657 [default=yes]
1658 --enable-libstdcxx-visibility
1659 enables visibility safe usage [default=yes]
1660 --enable-libstdcxx-dual-abi
1661 support two versions of std::string [default=yes]
1662 --enable-libstdcxx-threads
1663 enable C++11 threads support [default=auto]
1664 --enable-libstdcxx-filesystem-ts
1665 turns on ISO/IEC TS 18822 support [default=auto]
1666 --enable-libstdcxx-backtrace
1667 turns on libbacktrace support [default=auto]
1668 --enable-cet enable Intel CET in target libraries [default=auto]
1669 --enable-version-specific-runtime-libs
1670 Specify that runtime libraries should be installed
1671 in a compiler-specific directory
1673 Optional Packages:
1674 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1675 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1676 --with-target-subdir=SUBDIR
1677 configuring in a subdirectory
1678 --with-cross-host=HOST configuring with a cross compiler
1679 --with-newlib assume newlib as a system C library
1680 --with-pic try to use only PIC/non-PIC objects [default=use
1681 both]
1682 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1683 --with-libstdcxx-lock-policy={atomic,mutex,auto}
1684 synchronization policy for shared_ptr reference
1685 counting [default=auto]
1686 --with-python-dir the location to install Python modules. This path is
1687 relative starting from the prefix.
1688 --with-gnu-ld assume the C compiler uses GNU ld default=no
1689 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1690 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1691 --with-libiconv-type=TYPE type of library to search for (auto/static/shared)
1692 --with-system-libunwind use installed libunwind
1693 --with-default-libstdcxx-abi
1694 set the std::string ABI to use by default
1695 --with-gxx-include-dir=DIR
1696 installation directory for include files
1697 --with-toolexeclibdir=DIR
1698 install libraries built with a cross compiler within
1700 --with-gcc-major-version-only
1701 use only GCC major number in filesystem paths
1703 Some influential environment variables:
1704 CC C compiler command
1705 CFLAGS C compiler flags
1706 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1707 nonstandard directory <lib dir>
1708 LIBS libraries to pass to the linker, e.g. -l<library>
1709 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1710 you have headers in a nonstandard directory <include dir>
1711 CXX C++ compiler command
1712 CXXFLAGS C++ compiler flags
1713 CPP C preprocessor
1714 CXXCPP C++ preprocessor
1715 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1716 `c++filt', `gc++filt' on PATH.
1718 Use these variables to override the choices made by `configure' or to help
1719 it to find libraries and programs with nonstandard names/locations.
1721 Report bugs to the package provider.
1722 _ACEOF
1723 ac_status=$?
1726 if test "$ac_init_help" = "recursive"; then
1727 # If there are subdirs, report their specific --help.
1728 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1729 test -d "$ac_dir" ||
1730 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1731 continue
1732 ac_builddir=.
1734 case "$ac_dir" in
1735 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1737 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1738 # A ".." for each directory in $ac_dir_suffix.
1739 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1740 case $ac_top_builddir_sub in
1741 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1742 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1743 esac ;;
1744 esac
1745 ac_abs_top_builddir=$ac_pwd
1746 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1747 # for backward compatibility:
1748 ac_top_builddir=$ac_top_build_prefix
1750 case $srcdir in
1751 .) # We are building in place.
1752 ac_srcdir=.
1753 ac_top_srcdir=$ac_top_builddir_sub
1754 ac_abs_top_srcdir=$ac_pwd ;;
1755 [\\/]* | ?:[\\/]* ) # Absolute name.
1756 ac_srcdir=$srcdir$ac_dir_suffix;
1757 ac_top_srcdir=$srcdir
1758 ac_abs_top_srcdir=$srcdir ;;
1759 *) # Relative name.
1760 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1761 ac_top_srcdir=$ac_top_build_prefix$srcdir
1762 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1763 esac
1764 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1766 cd "$ac_dir" || { ac_status=$?; continue; }
1767 # Check for guested configure.
1768 if test -f "$ac_srcdir/configure.gnu"; then
1769 echo &&
1770 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1771 elif test -f "$ac_srcdir/configure"; then
1772 echo &&
1773 $SHELL "$ac_srcdir/configure" --help=recursive
1774 else
1775 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1776 fi || ac_status=$?
1777 cd "$ac_pwd" || { ac_status=$?; break; }
1778 done
1781 test -n "$ac_init_help" && exit $ac_status
1782 if $ac_init_version; then
1783 cat <<\_ACEOF
1784 package-unused configure version-unused
1785 generated by GNU Autoconf 2.69
1787 Copyright (C) 2012 Free Software Foundation, Inc.
1788 This configure script is free software; the Free Software Foundation
1789 gives unlimited permission to copy, distribute and modify it.
1790 _ACEOF
1791 exit
1794 ## ------------------------ ##
1795 ## Autoconf initialization. ##
1796 ## ------------------------ ##
1798 # ac_fn_c_try_compile LINENO
1799 # --------------------------
1800 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1801 ac_fn_c_try_compile ()
1803 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1804 rm -f conftest.$ac_objext
1805 if { { ac_try="$ac_compile"
1806 case "(($ac_try" in
1807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1808 *) ac_try_echo=$ac_try;;
1809 esac
1810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1811 $as_echo "$ac_try_echo"; } >&5
1812 (eval "$ac_compile") 2>conftest.err
1813 ac_status=$?
1814 if test -s conftest.err; then
1815 grep -v '^ *+' conftest.err >conftest.er1
1816 cat conftest.er1 >&5
1817 mv -f conftest.er1 conftest.err
1819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1820 test $ac_status = 0; } && {
1821 test -z "$ac_c_werror_flag" ||
1822 test ! -s conftest.err
1823 } && test -s conftest.$ac_objext; then :
1824 ac_retval=0
1825 else
1826 $as_echo "$as_me: failed program was:" >&5
1827 sed 's/^/| /' conftest.$ac_ext >&5
1829 ac_retval=1
1831 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1832 as_fn_set_status $ac_retval
1834 } # ac_fn_c_try_compile
1836 # ac_fn_cxx_try_compile LINENO
1837 # ----------------------------
1838 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1839 ac_fn_cxx_try_compile ()
1841 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1842 rm -f conftest.$ac_objext
1843 if { { ac_try="$ac_compile"
1844 case "(($ac_try" in
1845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1846 *) ac_try_echo=$ac_try;;
1847 esac
1848 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1849 $as_echo "$ac_try_echo"; } >&5
1850 (eval "$ac_compile") 2>conftest.err
1851 ac_status=$?
1852 if test -s conftest.err; then
1853 grep -v '^ *+' conftest.err >conftest.er1
1854 cat conftest.er1 >&5
1855 mv -f conftest.er1 conftest.err
1857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1858 test $ac_status = 0; } && {
1859 test -z "$ac_cxx_werror_flag" ||
1860 test ! -s conftest.err
1861 } && test -s conftest.$ac_objext; then :
1862 ac_retval=0
1863 else
1864 $as_echo "$as_me: failed program was:" >&5
1865 sed 's/^/| /' conftest.$ac_ext >&5
1867 ac_retval=1
1869 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1870 as_fn_set_status $ac_retval
1872 } # ac_fn_cxx_try_compile
1874 # ac_fn_c_try_cpp LINENO
1875 # ----------------------
1876 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1877 ac_fn_c_try_cpp ()
1879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1880 if { { ac_try="$ac_cpp conftest.$ac_ext"
1881 case "(($ac_try" in
1882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1883 *) ac_try_echo=$ac_try;;
1884 esac
1885 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1886 $as_echo "$ac_try_echo"; } >&5
1887 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1888 ac_status=$?
1889 if test -s conftest.err; then
1890 grep -v '^ *+' conftest.err >conftest.er1
1891 cat conftest.er1 >&5
1892 mv -f conftest.er1 conftest.err
1894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1895 test $ac_status = 0; } > conftest.i && {
1896 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1897 test ! -s conftest.err
1898 }; then :
1899 ac_retval=0
1900 else
1901 $as_echo "$as_me: failed program was:" >&5
1902 sed 's/^/| /' conftest.$ac_ext >&5
1904 ac_retval=1
1906 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1907 as_fn_set_status $ac_retval
1909 } # ac_fn_c_try_cpp
1911 # ac_fn_c_try_link LINENO
1912 # -----------------------
1913 # Try to link conftest.$ac_ext, and return whether this succeeded.
1914 ac_fn_c_try_link ()
1916 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1917 rm -f conftest.$ac_objext conftest$ac_exeext
1918 if { { ac_try="$ac_link"
1919 case "(($ac_try" in
1920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1921 *) ac_try_echo=$ac_try;;
1922 esac
1923 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1924 $as_echo "$ac_try_echo"; } >&5
1925 (eval "$ac_link") 2>conftest.err
1926 ac_status=$?
1927 if test -s conftest.err; then
1928 grep -v '^ *+' conftest.err >conftest.er1
1929 cat conftest.er1 >&5
1930 mv -f conftest.er1 conftest.err
1932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1933 test $ac_status = 0; } && {
1934 test -z "$ac_c_werror_flag" ||
1935 test ! -s conftest.err
1936 } && test -s conftest$ac_exeext && {
1937 test "$cross_compiling" = yes ||
1938 test -x conftest$ac_exeext
1939 }; then :
1940 ac_retval=0
1941 else
1942 $as_echo "$as_me: failed program was:" >&5
1943 sed 's/^/| /' conftest.$ac_ext >&5
1945 ac_retval=1
1947 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1948 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1949 # interfere with the next link command; also delete a directory that is
1950 # left behind by Apple's compiler. We do this before executing the actions.
1951 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1952 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1953 as_fn_set_status $ac_retval
1955 } # ac_fn_c_try_link
1957 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1958 # -------------------------------------------------------
1959 # Tests whether HEADER exists and can be compiled using the include files in
1960 # INCLUDES, setting the cache variable VAR accordingly.
1961 ac_fn_c_check_header_compile ()
1963 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1965 $as_echo_n "checking for $2... " >&6; }
1966 if eval \${$3+:} false; then :
1967 $as_echo_n "(cached) " >&6
1968 else
1969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1970 /* end confdefs.h. */
1972 #include <$2>
1973 _ACEOF
1974 if ac_fn_c_try_compile "$LINENO"; then :
1975 eval "$3=yes"
1976 else
1977 eval "$3=no"
1979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1981 eval ac_res=\$$3
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1983 $as_echo "$ac_res" >&6; }
1984 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1986 } # ac_fn_c_check_header_compile
1988 # ac_fn_c_try_run LINENO
1989 # ----------------------
1990 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1991 # that executables *can* be run.
1992 ac_fn_c_try_run ()
1994 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1995 if { { ac_try="$ac_link"
1996 case "(($ac_try" in
1997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1998 *) ac_try_echo=$ac_try;;
1999 esac
2000 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2001 $as_echo "$ac_try_echo"; } >&5
2002 (eval "$ac_link") 2>&5
2003 ac_status=$?
2004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2005 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2006 { { case "(($ac_try" in
2007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2008 *) ac_try_echo=$ac_try;;
2009 esac
2010 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2011 $as_echo "$ac_try_echo"; } >&5
2012 (eval "$ac_try") 2>&5
2013 ac_status=$?
2014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2015 test $ac_status = 0; }; }; then :
2016 ac_retval=0
2017 else
2018 $as_echo "$as_me: program exited with status $ac_status" >&5
2019 $as_echo "$as_me: failed program was:" >&5
2020 sed 's/^/| /' conftest.$ac_ext >&5
2022 ac_retval=$ac_status
2024 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2025 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2026 as_fn_set_status $ac_retval
2028 } # ac_fn_c_try_run
2030 # ac_fn_c_check_func LINENO FUNC VAR
2031 # ----------------------------------
2032 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2033 ac_fn_c_check_func ()
2035 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2037 $as_echo_n "checking for $2... " >&6; }
2038 if eval \${$3+:} false; then :
2039 $as_echo_n "(cached) " >&6
2040 else
2041 if test x$gcc_no_link = xyes; then
2042 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2045 /* end confdefs.h. */
2046 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2048 #define $2 innocuous_$2
2050 /* System header to define __stub macros and hopefully few prototypes,
2051 which can conflict with char $2 (); below.
2052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2053 <limits.h> exists even on freestanding compilers. */
2055 #ifdef __STDC__
2056 # include <limits.h>
2057 #else
2058 # include <assert.h>
2059 #endif
2061 #undef $2
2063 /* Override any GCC internal prototype to avoid an error.
2064 Use char because int might match the return type of a GCC
2065 builtin and then its argument prototype would still apply. */
2066 #ifdef __cplusplus
2067 extern "C"
2068 #endif
2069 char $2 ();
2070 /* The GNU C library defines this for functions which it implements
2071 to always fail with ENOSYS. Some functions are actually named
2072 something starting with __ and the normal name is an alias. */
2073 #if defined __stub_$2 || defined __stub___$2
2074 choke me
2075 #endif
2078 main ()
2080 return $2 ();
2082 return 0;
2084 _ACEOF
2085 if ac_fn_c_try_link "$LINENO"; then :
2086 eval "$3=yes"
2087 else
2088 eval "$3=no"
2090 rm -f core conftest.err conftest.$ac_objext \
2091 conftest$ac_exeext conftest.$ac_ext
2093 eval ac_res=\$$3
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2095 $as_echo "$ac_res" >&6; }
2096 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2098 } # ac_fn_c_check_func
2100 # ac_fn_cxx_try_cpp LINENO
2101 # ------------------------
2102 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2103 ac_fn_cxx_try_cpp ()
2105 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2106 if { { ac_try="$ac_cpp conftest.$ac_ext"
2107 case "(($ac_try" in
2108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2109 *) ac_try_echo=$ac_try;;
2110 esac
2111 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2112 $as_echo "$ac_try_echo"; } >&5
2113 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2114 ac_status=$?
2115 if test -s conftest.err; then
2116 grep -v '^ *+' conftest.err >conftest.er1
2117 cat conftest.er1 >&5
2118 mv -f conftest.er1 conftest.err
2120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2121 test $ac_status = 0; } > conftest.i && {
2122 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2123 test ! -s conftest.err
2124 }; then :
2125 ac_retval=0
2126 else
2127 $as_echo "$as_me: failed program was:" >&5
2128 sed 's/^/| /' conftest.$ac_ext >&5
2130 ac_retval=1
2132 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2133 as_fn_set_status $ac_retval
2135 } # ac_fn_cxx_try_cpp
2137 # ac_fn_cxx_try_link LINENO
2138 # -------------------------
2139 # Try to link conftest.$ac_ext, and return whether this succeeded.
2140 ac_fn_cxx_try_link ()
2142 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2143 rm -f conftest.$ac_objext conftest$ac_exeext
2144 if { { ac_try="$ac_link"
2145 case "(($ac_try" in
2146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2147 *) ac_try_echo=$ac_try;;
2148 esac
2149 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2150 $as_echo "$ac_try_echo"; } >&5
2151 (eval "$ac_link") 2>conftest.err
2152 ac_status=$?
2153 if test -s conftest.err; then
2154 grep -v '^ *+' conftest.err >conftest.er1
2155 cat conftest.er1 >&5
2156 mv -f conftest.er1 conftest.err
2158 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2159 test $ac_status = 0; } && {
2160 test -z "$ac_cxx_werror_flag" ||
2161 test ! -s conftest.err
2162 } && test -s conftest$ac_exeext && {
2163 test "$cross_compiling" = yes ||
2164 test -x conftest$ac_exeext
2165 }; then :
2166 ac_retval=0
2167 else
2168 $as_echo "$as_me: failed program was:" >&5
2169 sed 's/^/| /' conftest.$ac_ext >&5
2171 ac_retval=1
2173 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2174 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2175 # interfere with the next link command; also delete a directory that is
2176 # left behind by Apple's compiler. We do this before executing the actions.
2177 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2178 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2179 as_fn_set_status $ac_retval
2181 } # ac_fn_cxx_try_link
2183 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2184 # -------------------------------------------------------
2185 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2186 # the include files in INCLUDES and setting the cache variable VAR
2187 # accordingly.
2188 ac_fn_c_check_header_mongrel ()
2190 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2191 if eval \${$3+:} false; then :
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2193 $as_echo_n "checking for $2... " >&6; }
2194 if eval \${$3+:} false; then :
2195 $as_echo_n "(cached) " >&6
2197 eval ac_res=\$$3
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2199 $as_echo "$ac_res" >&6; }
2200 else
2201 # Is the header compilable?
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2203 $as_echo_n "checking $2 usability... " >&6; }
2204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2205 /* end confdefs.h. */
2207 #include <$2>
2208 _ACEOF
2209 if ac_fn_c_try_compile "$LINENO"; then :
2210 ac_header_compiler=yes
2211 else
2212 ac_header_compiler=no
2214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2216 $as_echo "$ac_header_compiler" >&6; }
2218 # Is the header present?
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2220 $as_echo_n "checking $2 presence... " >&6; }
2221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2222 /* end confdefs.h. */
2223 #include <$2>
2224 _ACEOF
2225 if ac_fn_c_try_cpp "$LINENO"; then :
2226 ac_header_preproc=yes
2227 else
2228 ac_header_preproc=no
2230 rm -f conftest.err conftest.i conftest.$ac_ext
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2232 $as_echo "$ac_header_preproc" >&6; }
2234 # So? What about this header?
2235 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2236 yes:no: )
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2238 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2240 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2242 no:yes:* )
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2244 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2246 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2248 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2250 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2252 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2254 esac
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2256 $as_echo_n "checking for $2... " >&6; }
2257 if eval \${$3+:} false; then :
2258 $as_echo_n "(cached) " >&6
2259 else
2260 eval "$3=\$ac_header_compiler"
2262 eval ac_res=\$$3
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2264 $as_echo "$ac_res" >&6; }
2266 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2268 } # ac_fn_c_check_header_mongrel
2270 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2271 # ---------------------------------------------------------
2272 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2273 # the include files in INCLUDES and setting the cache variable VAR
2274 # accordingly.
2275 ac_fn_cxx_check_header_mongrel ()
2277 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2278 if eval \${$3+:} false; then :
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2280 $as_echo_n "checking for $2... " >&6; }
2281 if eval \${$3+:} false; then :
2282 $as_echo_n "(cached) " >&6
2284 eval ac_res=\$$3
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2286 $as_echo "$ac_res" >&6; }
2287 else
2288 # Is the header compilable?
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2290 $as_echo_n "checking $2 usability... " >&6; }
2291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2292 /* end confdefs.h. */
2294 #include <$2>
2295 _ACEOF
2296 if ac_fn_cxx_try_compile "$LINENO"; then :
2297 ac_header_compiler=yes
2298 else
2299 ac_header_compiler=no
2301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2303 $as_echo "$ac_header_compiler" >&6; }
2305 # Is the header present?
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2307 $as_echo_n "checking $2 presence... " >&6; }
2308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2309 /* end confdefs.h. */
2310 #include <$2>
2311 _ACEOF
2312 if ac_fn_cxx_try_cpp "$LINENO"; then :
2313 ac_header_preproc=yes
2314 else
2315 ac_header_preproc=no
2317 rm -f conftest.err conftest.i conftest.$ac_ext
2318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2319 $as_echo "$ac_header_preproc" >&6; }
2321 # So? What about this header?
2322 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2323 yes:no: )
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2325 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2327 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2329 no:yes:* )
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2331 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2333 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2335 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2337 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2339 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2341 esac
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2343 $as_echo_n "checking for $2... " >&6; }
2344 if eval \${$3+:} false; then :
2345 $as_echo_n "(cached) " >&6
2346 else
2347 eval "$3=\$ac_header_compiler"
2349 eval ac_res=\$$3
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2351 $as_echo "$ac_res" >&6; }
2353 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2355 } # ac_fn_cxx_check_header_mongrel
2357 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2358 # --------------------------------------------
2359 # Tries to find the compile-time value of EXPR in a program that includes
2360 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2361 # computed
2362 ac_fn_c_compute_int ()
2364 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2365 if test "$cross_compiling" = yes; then
2366 # Depending upon the size, compute the lo and hi bounds.
2367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2368 /* end confdefs.h. */
2371 main ()
2373 static int test_array [1 - 2 * !(($2) >= 0)];
2374 test_array [0] = 0;
2375 return test_array [0];
2378 return 0;
2380 _ACEOF
2381 if ac_fn_c_try_compile "$LINENO"; then :
2382 ac_lo=0 ac_mid=0
2383 while :; do
2384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2385 /* end confdefs.h. */
2388 main ()
2390 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
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_hi=$ac_mid; break
2400 else
2401 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2402 if test $ac_lo -le $ac_mid; then
2403 ac_lo= ac_hi=
2404 break
2406 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2409 done
2410 else
2411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2412 /* end confdefs.h. */
2415 main ()
2417 static int test_array [1 - 2 * !(($2) < 0)];
2418 test_array [0] = 0;
2419 return test_array [0];
2422 return 0;
2424 _ACEOF
2425 if ac_fn_c_try_compile "$LINENO"; then :
2426 ac_hi=-1 ac_mid=-1
2427 while :; do
2428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2429 /* end confdefs.h. */
2432 main ()
2434 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
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_lo=$ac_mid; break
2444 else
2445 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2446 if test $ac_mid -le $ac_hi; then
2447 ac_lo= ac_hi=
2448 break
2450 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2453 done
2454 else
2455 ac_lo= ac_hi=
2457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2460 # Binary search between lo and hi bounds.
2461 while test "x$ac_lo" != "x$ac_hi"; do
2462 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2464 /* end confdefs.h. */
2467 main ()
2469 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2470 test_array [0] = 0;
2471 return test_array [0];
2474 return 0;
2476 _ACEOF
2477 if ac_fn_c_try_compile "$LINENO"; then :
2478 ac_hi=$ac_mid
2479 else
2480 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2483 done
2484 case $ac_lo in #((
2485 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2486 '') ac_retval=1 ;;
2487 esac
2488 else
2489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2490 /* end confdefs.h. */
2492 static long int longval () { return $2; }
2493 static unsigned long int ulongval () { return $2; }
2494 #include <stdio.h>
2495 #include <stdlib.h>
2497 main ()
2500 FILE *f = fopen ("conftest.val", "w");
2501 if (! f)
2502 return 1;
2503 if (($2) < 0)
2505 long int i = longval ();
2506 if (i != ($2))
2507 return 1;
2508 fprintf (f, "%ld", i);
2510 else
2512 unsigned long int i = ulongval ();
2513 if (i != ($2))
2514 return 1;
2515 fprintf (f, "%lu", i);
2517 /* Do not output a trailing newline, as this causes \r\n confusion
2518 on some platforms. */
2519 return ferror (f) || fclose (f) != 0;
2522 return 0;
2524 _ACEOF
2525 if ac_fn_c_try_run "$LINENO"; then :
2526 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2527 else
2528 ac_retval=1
2530 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2531 conftest.$ac_objext conftest.beam conftest.$ac_ext
2532 rm -f conftest.val
2535 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2536 as_fn_set_status $ac_retval
2538 } # ac_fn_c_compute_int
2540 # ac_fn_cxx_check_func LINENO FUNC VAR
2541 # ------------------------------------
2542 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2543 ac_fn_cxx_check_func ()
2545 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2547 $as_echo_n "checking for $2... " >&6; }
2548 if eval \${$3+:} false; then :
2549 $as_echo_n "(cached) " >&6
2550 else
2551 if test x$gcc_no_link = xyes; then
2552 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2555 /* end confdefs.h. */
2556 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2558 #define $2 innocuous_$2
2560 /* System header to define __stub macros and hopefully few prototypes,
2561 which can conflict with char $2 (); below.
2562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2563 <limits.h> exists even on freestanding compilers. */
2565 #ifdef __STDC__
2566 # include <limits.h>
2567 #else
2568 # include <assert.h>
2569 #endif
2571 #undef $2
2573 /* Override any GCC internal prototype to avoid an error.
2574 Use char because int might match the return type of a GCC
2575 builtin and then its argument prototype would still apply. */
2576 #ifdef __cplusplus
2577 extern "C"
2578 #endif
2579 char $2 ();
2580 /* The GNU C library defines this for functions which it implements
2581 to always fail with ENOSYS. Some functions are actually named
2582 something starting with __ and the normal name is an alias. */
2583 #if defined __stub_$2 || defined __stub___$2
2584 choke me
2585 #endif
2588 main ()
2590 return $2 ();
2592 return 0;
2594 _ACEOF
2595 if ac_fn_cxx_try_link "$LINENO"; then :
2596 eval "$3=yes"
2597 else
2598 eval "$3=no"
2600 rm -f core conftest.err conftest.$ac_objext \
2601 conftest$ac_exeext conftest.$ac_ext
2603 eval ac_res=\$$3
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2605 $as_echo "$ac_res" >&6; }
2606 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2608 } # ac_fn_cxx_check_func
2610 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2611 # -------------------------------------------
2612 # Tests whether TYPE exists after having included INCLUDES, setting cache
2613 # variable VAR accordingly.
2614 ac_fn_c_check_type ()
2616 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2618 $as_echo_n "checking for $2... " >&6; }
2619 if eval \${$3+:} false; then :
2620 $as_echo_n "(cached) " >&6
2621 else
2622 eval "$3=no"
2623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2624 /* end confdefs.h. */
2627 main ()
2629 if (sizeof ($2))
2630 return 0;
2632 return 0;
2634 _ACEOF
2635 if ac_fn_c_try_compile "$LINENO"; then :
2636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2637 /* end confdefs.h. */
2640 main ()
2642 if (sizeof (($2)))
2643 return 0;
2645 return 0;
2647 _ACEOF
2648 if ac_fn_c_try_compile "$LINENO"; then :
2650 else
2651 eval "$3=yes"
2653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2657 eval ac_res=\$$3
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2659 $as_echo "$ac_res" >&6; }
2660 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2662 } # ac_fn_c_check_type
2664 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2665 # ---------------------------------------------
2666 # Tests whether TYPE exists after having included INCLUDES, setting cache
2667 # variable VAR accordingly.
2668 ac_fn_cxx_check_type ()
2670 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2672 $as_echo_n "checking for $2... " >&6; }
2673 if eval \${$3+:} false; then :
2674 $as_echo_n "(cached) " >&6
2675 else
2676 eval "$3=no"
2677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2678 /* end confdefs.h. */
2681 main ()
2683 if (sizeof ($2))
2684 return 0;
2686 return 0;
2688 _ACEOF
2689 if ac_fn_cxx_try_compile "$LINENO"; then :
2690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2691 /* end confdefs.h. */
2694 main ()
2696 if (sizeof (($2)))
2697 return 0;
2699 return 0;
2701 _ACEOF
2702 if ac_fn_cxx_try_compile "$LINENO"; then :
2704 else
2705 eval "$3=yes"
2707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2711 eval ac_res=\$$3
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2713 $as_echo "$ac_res" >&6; }
2714 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2716 } # ac_fn_cxx_check_type
2718 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2719 # ---------------------------------------------
2720 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2721 # accordingly.
2722 ac_fn_c_check_decl ()
2724 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2725 as_decl_name=`echo $2|sed 's/ *(.*//'`
2726 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2728 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2729 if eval \${$3+:} false; then :
2730 $as_echo_n "(cached) " >&6
2731 else
2732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2733 /* end confdefs.h. */
2736 main ()
2738 #ifndef $as_decl_name
2739 #ifdef __cplusplus
2740 (void) $as_decl_use;
2741 #else
2742 (void) $as_decl_name;
2743 #endif
2744 #endif
2747 return 0;
2749 _ACEOF
2750 if ac_fn_c_try_compile "$LINENO"; then :
2751 eval "$3=yes"
2752 else
2753 eval "$3=no"
2755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2757 eval ac_res=\$$3
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2759 $as_echo "$ac_res" >&6; }
2760 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2762 } # ac_fn_c_check_decl
2763 cat >config.log <<_ACEOF
2764 This file contains any messages produced by compilers while
2765 running configure, to aid debugging if configure makes a mistake.
2767 It was created by package-unused $as_me version-unused, which was
2768 generated by GNU Autoconf 2.69. Invocation command line was
2770 $ $0 $@
2772 _ACEOF
2773 exec 5>>config.log
2775 cat <<_ASUNAME
2776 ## --------- ##
2777 ## Platform. ##
2778 ## --------- ##
2780 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2781 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2782 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2783 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2784 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2786 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2787 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2789 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2790 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2791 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2792 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2793 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2794 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2795 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2797 _ASUNAME
2799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2800 for as_dir in $PATH
2802 IFS=$as_save_IFS
2803 test -z "$as_dir" && as_dir=.
2804 $as_echo "PATH: $as_dir"
2805 done
2806 IFS=$as_save_IFS
2808 } >&5
2810 cat >&5 <<_ACEOF
2813 ## ----------- ##
2814 ## Core tests. ##
2815 ## ----------- ##
2817 _ACEOF
2820 # Keep a trace of the command line.
2821 # Strip out --no-create and --no-recursion so they do not pile up.
2822 # Strip out --silent because we don't want to record it for future runs.
2823 # Also quote any args containing shell meta-characters.
2824 # Make two passes to allow for proper duplicate-argument suppression.
2825 ac_configure_args=
2826 ac_configure_args0=
2827 ac_configure_args1=
2828 ac_must_keep_next=false
2829 for ac_pass in 1 2
2831 for ac_arg
2833 case $ac_arg in
2834 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2835 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2836 | -silent | --silent | --silen | --sile | --sil)
2837 continue ;;
2838 *\'*)
2839 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2840 esac
2841 case $ac_pass in
2842 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2844 as_fn_append ac_configure_args1 " '$ac_arg'"
2845 if test $ac_must_keep_next = true; then
2846 ac_must_keep_next=false # Got value, back to normal.
2847 else
2848 case $ac_arg in
2849 *=* | --config-cache | -C | -disable-* | --disable-* \
2850 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2851 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2852 | -with-* | --with-* | -without-* | --without-* | --x)
2853 case "$ac_configure_args0 " in
2854 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2855 esac
2857 -* ) ac_must_keep_next=true ;;
2858 esac
2860 as_fn_append ac_configure_args " '$ac_arg'"
2862 esac
2863 done
2864 done
2865 { ac_configure_args0=; unset ac_configure_args0;}
2866 { ac_configure_args1=; unset ac_configure_args1;}
2868 # When interrupted or exit'd, cleanup temporary files, and complete
2869 # config.log. We remove comments because anyway the quotes in there
2870 # would cause problems or look ugly.
2871 # WARNING: Use '\'' to represent an apostrophe within the trap.
2872 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2873 trap 'exit_status=$?
2874 # Save into config.log some information that might help in debugging.
2876 echo
2878 $as_echo "## ---------------- ##
2879 ## Cache variables. ##
2880 ## ---------------- ##"
2881 echo
2882 # The following way of writing the cache mishandles newlines in values,
2884 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2885 eval ac_val=\$$ac_var
2886 case $ac_val in #(
2887 *${as_nl}*)
2888 case $ac_var in #(
2889 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2890 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2891 esac
2892 case $ac_var in #(
2893 _ | IFS | as_nl) ;; #(
2894 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2895 *) { eval $ac_var=; unset $ac_var;} ;;
2896 esac ;;
2897 esac
2898 done
2899 (set) 2>&1 |
2900 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2901 *${as_nl}ac_space=\ *)
2902 sed -n \
2903 "s/'\''/'\''\\\\'\'''\''/g;
2904 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2905 ;; #(
2907 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2909 esac |
2910 sort
2912 echo
2914 $as_echo "## ----------------- ##
2915 ## Output variables. ##
2916 ## ----------------- ##"
2917 echo
2918 for ac_var in $ac_subst_vars
2920 eval ac_val=\$$ac_var
2921 case $ac_val in
2922 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2923 esac
2924 $as_echo "$ac_var='\''$ac_val'\''"
2925 done | sort
2926 echo
2928 if test -n "$ac_subst_files"; then
2929 $as_echo "## ------------------- ##
2930 ## File substitutions. ##
2931 ## ------------------- ##"
2932 echo
2933 for ac_var in $ac_subst_files
2935 eval ac_val=\$$ac_var
2936 case $ac_val in
2937 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2938 esac
2939 $as_echo "$ac_var='\''$ac_val'\''"
2940 done | sort
2941 echo
2944 if test -s confdefs.h; then
2945 $as_echo "## ----------- ##
2946 ## confdefs.h. ##
2947 ## ----------- ##"
2948 echo
2949 cat confdefs.h
2950 echo
2952 test "$ac_signal" != 0 &&
2953 $as_echo "$as_me: caught signal $ac_signal"
2954 $as_echo "$as_me: exit $exit_status"
2955 } >&5
2956 rm -f core *.core core.conftest.* &&
2957 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2958 exit $exit_status
2960 for ac_signal in 1 2 13 15; do
2961 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2962 done
2963 ac_signal=0
2965 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2966 rm -f -r conftest* confdefs.h
2968 $as_echo "/* confdefs.h */" > confdefs.h
2970 # Predefined preprocessor variables.
2972 cat >>confdefs.h <<_ACEOF
2973 #define PACKAGE_NAME "$PACKAGE_NAME"
2974 _ACEOF
2976 cat >>confdefs.h <<_ACEOF
2977 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2978 _ACEOF
2980 cat >>confdefs.h <<_ACEOF
2981 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2982 _ACEOF
2984 cat >>confdefs.h <<_ACEOF
2985 #define PACKAGE_STRING "$PACKAGE_STRING"
2986 _ACEOF
2988 cat >>confdefs.h <<_ACEOF
2989 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2990 _ACEOF
2992 cat >>confdefs.h <<_ACEOF
2993 #define PACKAGE_URL "$PACKAGE_URL"
2994 _ACEOF
2997 # Let the site file select an alternate cache file if it wants to.
2998 # Prefer an explicitly selected file to automatically selected ones.
2999 ac_site_file1=NONE
3000 ac_site_file2=NONE
3001 if test -n "$CONFIG_SITE"; then
3002 # We do not want a PATH search for config.site.
3003 case $CONFIG_SITE in #((
3004 -*) ac_site_file1=./$CONFIG_SITE;;
3005 */*) ac_site_file1=$CONFIG_SITE;;
3006 *) ac_site_file1=./$CONFIG_SITE;;
3007 esac
3008 elif test "x$prefix" != xNONE; then
3009 ac_site_file1=$prefix/share/config.site
3010 ac_site_file2=$prefix/etc/config.site
3011 else
3012 ac_site_file1=$ac_default_prefix/share/config.site
3013 ac_site_file2=$ac_default_prefix/etc/config.site
3015 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3017 test "x$ac_site_file" = xNONE && continue
3018 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3020 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3021 sed 's/^/| /' "$ac_site_file" >&5
3022 . "$ac_site_file" \
3023 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3025 as_fn_error $? "failed to load site script $ac_site_file
3026 See \`config.log' for more details" "$LINENO" 5; }
3028 done
3030 if test -r "$cache_file"; then
3031 # Some versions of bash will fail to source /dev/null (special files
3032 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3033 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3035 $as_echo "$as_me: loading cache $cache_file" >&6;}
3036 case $cache_file in
3037 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3038 *) . "./$cache_file";;
3039 esac
3041 else
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3043 $as_echo "$as_me: creating cache $cache_file" >&6;}
3044 >$cache_file
3047 # Check that the precious variables saved in the cache have kept the same
3048 # value.
3049 ac_cache_corrupted=false
3050 for ac_var in $ac_precious_vars; do
3051 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3052 eval ac_new_set=\$ac_env_${ac_var}_set
3053 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3054 eval ac_new_val=\$ac_env_${ac_var}_value
3055 case $ac_old_set,$ac_new_set in
3056 set,)
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3058 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3059 ac_cache_corrupted=: ;;
3060 ,set)
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3062 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3063 ac_cache_corrupted=: ;;
3064 ,);;
3066 if test "x$ac_old_val" != "x$ac_new_val"; then
3067 # differences in whitespace do not lead to failure.
3068 ac_old_val_w=`echo x $ac_old_val`
3069 ac_new_val_w=`echo x $ac_new_val`
3070 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3072 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3073 ac_cache_corrupted=:
3074 else
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3076 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3077 eval $ac_var=\$ac_old_val
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3080 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3082 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3083 fi;;
3084 esac
3085 # Pass precious variables to config.status.
3086 if test "$ac_new_set" = set; then
3087 case $ac_new_val in
3088 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3089 *) ac_arg=$ac_var=$ac_new_val ;;
3090 esac
3091 case " $ac_configure_args " in
3092 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3093 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3094 esac
3096 done
3097 if $ac_cache_corrupted; then
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3099 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3101 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3102 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3104 ## -------------------- ##
3105 ## Main body of script. ##
3106 ## -------------------- ##
3108 ac_ext=c
3109 ac_cpp='$CPP $CPPFLAGS'
3110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3119 ac_config_headers="$ac_config_headers config.h"
3122 # This works around the fact that libtool configuration may change LD
3123 # for this particular configuration, but some shells, instead of
3124 # keeping the changes in LD private, export them just because LD is
3125 # exported. Only used at the end of this file.
3126 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
3128 # Find the rest of the source tree framework.
3129 # Default to --enable-multilib
3130 # Check whether --enable-multilib was given.
3131 if test "${enable_multilib+set}" = set; then :
3132 enableval=$enable_multilib; case "$enableval" in
3133 yes) multilib=yes ;;
3134 no) multilib=no ;;
3135 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
3136 esac
3137 else
3138 multilib=yes
3142 # We may get other options which we leave undocumented:
3143 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3144 # See config-ml.in if you want the gory details.
3146 if test "$srcdir" = "."; then
3147 if test "$with_target_subdir" != "."; then
3148 multi_basedir="$srcdir/$with_multisrctop../.."
3149 else
3150 multi_basedir="$srcdir/$with_multisrctop.."
3152 else
3153 multi_basedir="$srcdir/.."
3157 # Even if the default multilib is not a cross compilation,
3158 # it may be that some of the other multilibs are.
3159 if test $cross_compiling = no && test $multilib = yes \
3160 && test "x${with_multisubdir}" != x ; then
3161 cross_compiling=maybe
3164 ac_config_commands="$ac_config_commands default-1"
3167 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
3169 # You will slowly go insane if you do not grok the following fact: when
3170 # building v3 as part of the compiler, the top-level /target/ becomes the
3171 # library's /host/. configure then causes --target to default to --host,
3172 # exactly like any other package using autoconf. Therefore, 'target' and
3173 # 'host' will always be the same. This makes sense both for native and
3174 # cross compilers, just think about it for a little while. :-)
3176 # Also, if v3 is being configured as part of a cross compiler, the top-level
3177 # configure script will pass the "real" host as $with_cross_host.
3179 # Do not delete or change the following two lines. For why, see
3180 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
3181 ac_aux_dir=
3182 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3183 if test -f "$ac_dir/install-sh"; then
3184 ac_aux_dir=$ac_dir
3185 ac_install_sh="$ac_aux_dir/install-sh -c"
3186 break
3187 elif test -f "$ac_dir/install.sh"; then
3188 ac_aux_dir=$ac_dir
3189 ac_install_sh="$ac_aux_dir/install.sh -c"
3190 break
3191 elif test -f "$ac_dir/shtool"; then
3192 ac_aux_dir=$ac_dir
3193 ac_install_sh="$ac_aux_dir/shtool install -c"
3194 break
3196 done
3197 if test -z "$ac_aux_dir"; then
3198 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3201 # These three variables are undocumented and unsupported,
3202 # and are intended to be withdrawn in a future Autoconf release.
3203 # They can cause serious problems if a builder's source tree is in a directory
3204 # whose full name contains unusual characters.
3205 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3206 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3207 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3210 # Make sure we can run config.sub.
3211 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3212 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3215 $as_echo_n "checking build system type... " >&6; }
3216 if ${ac_cv_build+:} false; then :
3217 $as_echo_n "(cached) " >&6
3218 else
3219 ac_build_alias=$build_alias
3220 test "x$ac_build_alias" = x &&
3221 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3222 test "x$ac_build_alias" = x &&
3223 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3224 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3225 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3229 $as_echo "$ac_cv_build" >&6; }
3230 case $ac_cv_build in
3231 *-*-*) ;;
3232 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3233 esac
3234 build=$ac_cv_build
3235 ac_save_IFS=$IFS; IFS='-'
3236 set x $ac_cv_build
3237 shift
3238 build_cpu=$1
3239 build_vendor=$2
3240 shift; shift
3241 # Remember, the first character of IFS is used to create $*,
3242 # except with old shells:
3243 build_os=$*
3244 IFS=$ac_save_IFS
3245 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3249 $as_echo_n "checking host system type... " >&6; }
3250 if ${ac_cv_host+:} false; then :
3251 $as_echo_n "(cached) " >&6
3252 else
3253 if test "x$host_alias" = x; then
3254 ac_cv_host=$ac_cv_build
3255 else
3256 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3257 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3262 $as_echo "$ac_cv_host" >&6; }
3263 case $ac_cv_host in
3264 *-*-*) ;;
3265 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3266 esac
3267 host=$ac_cv_host
3268 ac_save_IFS=$IFS; IFS='-'
3269 set x $ac_cv_host
3270 shift
3271 host_cpu=$1
3272 host_vendor=$2
3273 shift; shift
3274 # Remember, the first character of IFS is used to create $*,
3275 # except with old shells:
3276 host_os=$*
3277 IFS=$ac_save_IFS
3278 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3282 $as_echo_n "checking target system type... " >&6; }
3283 if ${ac_cv_target+:} false; then :
3284 $as_echo_n "(cached) " >&6
3285 else
3286 if test "x$target_alias" = x; then
3287 ac_cv_target=$ac_cv_host
3288 else
3289 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3290 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3295 $as_echo "$ac_cv_target" >&6; }
3296 case $ac_cv_target in
3297 *-*-*) ;;
3298 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
3299 esac
3300 target=$ac_cv_target
3301 ac_save_IFS=$IFS; IFS='-'
3302 set x $ac_cv_target
3303 shift
3304 target_cpu=$1
3305 target_vendor=$2
3306 shift; shift
3307 # Remember, the first character of IFS is used to create $*,
3308 # except with old shells:
3309 target_os=$*
3310 IFS=$ac_save_IFS
3311 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3314 # The aliases save the names the user supplied, while $host etc.
3315 # will get canonicalized.
3316 test -n "$target_alias" &&
3317 test "$program_prefix$program_suffix$program_transform_name" = \
3318 NONENONEs,x,x, &&
3319 program_prefix=${target_alias}-
3321 target_alias=${target_alias-$host_alias}
3323 # Handy for debugging:
3324 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3326 if test "$build" != "$host"; then
3327 # We are being configured with some form of cross compiler.
3328 GLIBCXX_IS_NATIVE=false
3329 case "$host","$target" in
3330 # Darwin crosses can use the host system's libraries and headers,
3331 # because of the fat library support. Of course, it must be the
3332 # same version of Darwin on both sides. Allow the user to
3333 # just say --target=foo-darwin without a version number to mean
3334 # "the version on this system".
3335 *-*-darwin*,*-*-darwin*)
3336 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3337 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3338 if test $hostos = $targetos -o $targetos = darwin ; then
3339 GLIBCXX_IS_NATIVE=true
3346 esac
3347 else
3348 GLIBCXX_IS_NATIVE=true
3351 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3352 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3353 # 1.x: minimum required version
3354 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3355 # of other PACKAGE_* variables will, however, and there's nothing
3356 # we can do about that; they come from AC_INIT).
3357 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3358 # file in the top srcdir, etc, etc), so stop complaining.
3359 # no-dependencies: turns off auto dependency generation (just for now)
3360 # no-dist: we don't want 'dist' and related rules.
3361 # -Wall: turns on all automake warnings...
3362 # -Wno-portability: ...except this one, since GNU make is now required.
3363 am__api_version='1.15'
3365 # Find a good install program. We prefer a C program (faster),
3366 # so one script is as good as another. But avoid the broken or
3367 # incompatible versions:
3368 # SysV /etc/install, /usr/sbin/install
3369 # SunOS /usr/etc/install
3370 # IRIX /sbin/install
3371 # AIX /bin/install
3372 # AmigaOS /C/install, which installs bootblocks on floppy discs
3373 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3374 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3375 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3376 # OS/2's system install, which has a completely different semantic
3377 # ./install, which can be erroneously created by make from ./install.sh.
3378 # Reject install programs that cannot install multiple files.
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3380 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3381 if test -z "$INSTALL"; then
3382 if ${ac_cv_path_install+:} false; then :
3383 $as_echo_n "(cached) " >&6
3384 else
3385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3386 for as_dir in $PATH
3388 IFS=$as_save_IFS
3389 test -z "$as_dir" && as_dir=.
3390 # Account for people who put trailing slashes in PATH elements.
3391 case $as_dir/ in #((
3392 ./ | .// | /[cC]/* | \
3393 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3394 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3395 /usr/ucb/* ) ;;
3397 # OSF1 and SCO ODT 3.0 have their own names for install.
3398 # Don't use installbsd from OSF since it installs stuff as root
3399 # by default.
3400 for ac_prog in ginstall scoinst install; do
3401 for ac_exec_ext in '' $ac_executable_extensions; do
3402 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3403 if test $ac_prog = install &&
3404 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3405 # AIX install. It has an incompatible calling convention.
3407 elif test $ac_prog = install &&
3408 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3409 # program-specific install script used by HP pwplus--don't use.
3411 else
3412 rm -rf conftest.one conftest.two conftest.dir
3413 echo one > conftest.one
3414 echo two > conftest.two
3415 mkdir conftest.dir
3416 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3417 test -s conftest.one && test -s conftest.two &&
3418 test -s conftest.dir/conftest.one &&
3419 test -s conftest.dir/conftest.two
3420 then
3421 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3422 break 3
3426 done
3427 done
3429 esac
3431 done
3432 IFS=$as_save_IFS
3434 rm -rf conftest.one conftest.two conftest.dir
3437 if test "${ac_cv_path_install+set}" = set; then
3438 INSTALL=$ac_cv_path_install
3439 else
3440 # As a last resort, use the slow shell script. Don't cache a
3441 # value for INSTALL within a source directory, because that will
3442 # break other packages using the cache if that directory is
3443 # removed, or if the value is a relative name.
3444 INSTALL=$ac_install_sh
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3448 $as_echo "$INSTALL" >&6; }
3450 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3451 # It thinks the first close brace ends the variable substitution.
3452 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3454 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3456 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3459 $as_echo_n "checking whether build environment is sane... " >&6; }
3460 # Reject unsafe characters in $srcdir or the absolute working directory
3461 # name. Accept space and tab only in the latter.
3462 am_lf='
3464 case `pwd` in
3465 *[\\\"\#\$\&\'\`$am_lf]*)
3466 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3467 esac
3468 case $srcdir in
3469 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3470 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3471 esac
3473 # Do 'set' in a subshell so we don't clobber the current shell's
3474 # arguments. Must try -L first in case configure is actually a
3475 # symlink; some systems play weird games with the mod time of symlinks
3476 # (eg FreeBSD returns the mod time of the symlink's containing
3477 # directory).
3478 if (
3479 am_has_slept=no
3480 for am_try in 1 2; do
3481 echo "timestamp, slept: $am_has_slept" > conftest.file
3482 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3483 if test "$*" = "X"; then
3484 # -L didn't work.
3485 set X `ls -t "$srcdir/configure" conftest.file`
3487 if test "$*" != "X $srcdir/configure conftest.file" \
3488 && test "$*" != "X conftest.file $srcdir/configure"; then
3490 # If neither matched, then we have a broken ls. This can happen
3491 # if, for instance, CONFIG_SHELL is bash and it inherits a
3492 # broken ls alias from the environment. This has actually
3493 # happened. Such a system could not be considered "sane".
3494 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3495 alias in your environment" "$LINENO" 5
3497 if test "$2" = conftest.file || test $am_try -eq 2; then
3498 break
3500 # Just in case.
3501 sleep 1
3502 am_has_slept=yes
3503 done
3504 test "$2" = conftest.file
3506 then
3507 # Ok.
3509 else
3510 as_fn_error $? "newly created file is older than distributed files!
3511 Check your system clock" "$LINENO" 5
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3514 $as_echo "yes" >&6; }
3515 # If we didn't sleep, we still need to ensure time stamps of config.status and
3516 # generated files are strictly newer.
3517 am_sleep_pid=
3518 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3519 ( sleep 1 ) &
3520 am_sleep_pid=$!
3523 rm -f conftest.file
3525 test "$program_prefix" != NONE &&
3526 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3527 # Use a double $ so make ignores it.
3528 test "$program_suffix" != NONE &&
3529 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3530 # Double any \ or $.
3531 # By default was `s,x,x', remove it if useless.
3532 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3533 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3535 # Expand $ac_aux_dir to an absolute path.
3536 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3538 if test x"${MISSING+set}" != xset; then
3539 case $am_aux_dir in
3540 *\ * | *\ *)
3541 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3543 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3544 esac
3546 # Use eval to expand $SHELL
3547 if eval "$MISSING --is-lightweight"; then
3548 am_missing_run="$MISSING "
3549 else
3550 am_missing_run=
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3552 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3555 if test x"${install_sh+set}" != xset; then
3556 case $am_aux_dir in
3557 *\ * | *\ *)
3558 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3560 install_sh="\${SHELL} $am_aux_dir/install-sh"
3561 esac
3564 # Installed binaries are usually stripped using 'strip' when the user
3565 # run "make install-strip". However 'strip' might not be the right
3566 # tool to use in cross-compilation environments, therefore Automake
3567 # will honor the 'STRIP' environment variable to overrule this program.
3568 if test "$cross_compiling" != no; then
3569 if test -n "$ac_tool_prefix"; then
3570 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3571 set dummy ${ac_tool_prefix}strip; ac_word=$2
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3573 $as_echo_n "checking for $ac_word... " >&6; }
3574 if ${ac_cv_prog_STRIP+:} false; then :
3575 $as_echo_n "(cached) " >&6
3576 else
3577 if test -n "$STRIP"; then
3578 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3579 else
3580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3581 for as_dir in $PATH
3583 IFS=$as_save_IFS
3584 test -z "$as_dir" && as_dir=.
3585 for ac_exec_ext in '' $ac_executable_extensions; do
3586 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3587 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3589 break 2
3591 done
3592 done
3593 IFS=$as_save_IFS
3597 STRIP=$ac_cv_prog_STRIP
3598 if test -n "$STRIP"; then
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3600 $as_echo "$STRIP" >&6; }
3601 else
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3603 $as_echo "no" >&6; }
3608 if test -z "$ac_cv_prog_STRIP"; then
3609 ac_ct_STRIP=$STRIP
3610 # Extract the first word of "strip", so it can be a program name with args.
3611 set dummy strip; ac_word=$2
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3613 $as_echo_n "checking for $ac_word... " >&6; }
3614 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3615 $as_echo_n "(cached) " >&6
3616 else
3617 if test -n "$ac_ct_STRIP"; then
3618 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3619 else
3620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3621 for as_dir in $PATH
3623 IFS=$as_save_IFS
3624 test -z "$as_dir" && as_dir=.
3625 for ac_exec_ext in '' $ac_executable_extensions; do
3626 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3627 ac_cv_prog_ac_ct_STRIP="strip"
3628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3629 break 2
3631 done
3632 done
3633 IFS=$as_save_IFS
3637 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3638 if test -n "$ac_ct_STRIP"; then
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3640 $as_echo "$ac_ct_STRIP" >&6; }
3641 else
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3643 $as_echo "no" >&6; }
3646 if test "x$ac_ct_STRIP" = x; then
3647 STRIP=":"
3648 else
3649 case $cross_compiling:$ac_tool_warned in
3650 yes:)
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3652 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3653 ac_tool_warned=yes ;;
3654 esac
3655 STRIP=$ac_ct_STRIP
3657 else
3658 STRIP="$ac_cv_prog_STRIP"
3662 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3665 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3666 if test -z "$MKDIR_P"; then
3667 if ${ac_cv_path_mkdir+:} false; then :
3668 $as_echo_n "(cached) " >&6
3669 else
3670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3671 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3673 IFS=$as_save_IFS
3674 test -z "$as_dir" && as_dir=.
3675 for ac_prog in mkdir gmkdir; do
3676 for ac_exec_ext in '' $ac_executable_extensions; do
3677 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3678 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3679 'mkdir (GNU coreutils) '* | \
3680 'mkdir (coreutils) '* | \
3681 'mkdir (fileutils) '4.1*)
3682 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3683 break 3;;
3684 esac
3685 done
3686 done
3687 done
3688 IFS=$as_save_IFS
3692 test -d ./--version && rmdir ./--version
3693 if test "${ac_cv_path_mkdir+set}" = set; then
3694 MKDIR_P="$ac_cv_path_mkdir -p"
3695 else
3696 # As a last resort, use the slow shell script. Don't cache a
3697 # value for MKDIR_P within a source directory, because that will
3698 # break other packages using the cache if that directory is
3699 # removed, or if the value is a relative name.
3700 MKDIR_P="$ac_install_sh -d"
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3704 $as_echo "$MKDIR_P" >&6; }
3706 for ac_prog in gawk mawk nawk awk
3708 # Extract the first word of "$ac_prog", so it can be a program name with args.
3709 set dummy $ac_prog; ac_word=$2
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3711 $as_echo_n "checking for $ac_word... " >&6; }
3712 if ${ac_cv_prog_AWK+:} false; then :
3713 $as_echo_n "(cached) " >&6
3714 else
3715 if test -n "$AWK"; then
3716 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3717 else
3718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3719 for as_dir in $PATH
3721 IFS=$as_save_IFS
3722 test -z "$as_dir" && as_dir=.
3723 for ac_exec_ext in '' $ac_executable_extensions; do
3724 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3725 ac_cv_prog_AWK="$ac_prog"
3726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3727 break 2
3729 done
3730 done
3731 IFS=$as_save_IFS
3735 AWK=$ac_cv_prog_AWK
3736 if test -n "$AWK"; then
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3738 $as_echo "$AWK" >&6; }
3739 else
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3741 $as_echo "no" >&6; }
3745 test -n "$AWK" && break
3746 done
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3749 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3750 set x ${MAKE-make}
3751 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3752 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3753 $as_echo_n "(cached) " >&6
3754 else
3755 cat >conftest.make <<\_ACEOF
3756 SHELL = /bin/sh
3757 all:
3758 @echo '@@@%%%=$(MAKE)=@@@%%%'
3759 _ACEOF
3760 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3761 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3762 *@@@%%%=?*=@@@%%%*)
3763 eval ac_cv_prog_make_${ac_make}_set=yes;;
3765 eval ac_cv_prog_make_${ac_make}_set=no;;
3766 esac
3767 rm -f conftest.make
3769 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3771 $as_echo "yes" >&6; }
3772 SET_MAKE=
3773 else
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3775 $as_echo "no" >&6; }
3776 SET_MAKE="MAKE=${MAKE-make}"
3779 rm -rf .tst 2>/dev/null
3780 mkdir .tst 2>/dev/null
3781 if test -d .tst; then
3782 am__leading_dot=.
3783 else
3784 am__leading_dot=_
3786 rmdir .tst 2>/dev/null
3788 # Check whether --enable-silent-rules was given.
3789 if test "${enable_silent_rules+set}" = set; then :
3790 enableval=$enable_silent_rules;
3793 case $enable_silent_rules in # (((
3794 yes) AM_DEFAULT_VERBOSITY=0;;
3795 no) AM_DEFAULT_VERBOSITY=1;;
3796 *) AM_DEFAULT_VERBOSITY=1;;
3797 esac
3798 am_make=${MAKE-make}
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3800 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3801 if ${am_cv_make_support_nested_variables+:} false; then :
3802 $as_echo_n "(cached) " >&6
3803 else
3804 if $as_echo 'TRUE=$(BAR$(V))
3805 BAR0=false
3806 BAR1=true
3808 am__doit:
3809 @$(TRUE)
3810 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3811 am_cv_make_support_nested_variables=yes
3812 else
3813 am_cv_make_support_nested_variables=no
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3817 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3818 if test $am_cv_make_support_nested_variables = yes; then
3819 AM_V='$(V)'
3820 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3821 else
3822 AM_V=$AM_DEFAULT_VERBOSITY
3823 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3825 AM_BACKSLASH='\'
3827 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3828 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3829 # is not polluted with repeated "-I."
3830 am__isrc=' -I$(srcdir)'
3831 # test to see if srcdir already configured
3832 if test -f $srcdir/config.status; then
3833 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3837 # test whether we have cygpath
3838 if test -z "$CYGPATH_W"; then
3839 if (cygpath --version) >/dev/null 2>/dev/null; then
3840 CYGPATH_W='cygpath -w'
3841 else
3842 CYGPATH_W=echo
3847 # Define the identity of the package.
3848 PACKAGE='libstdc++'
3849 VERSION='version-unused'
3852 # Some tools Automake needs.
3854 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3857 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3860 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3863 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3866 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3868 # For better backward compatibility. To be removed once Automake 1.9.x
3869 # dies out for good. For more background, see:
3870 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3871 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3872 mkdir_p='$(MKDIR_P)'
3874 # We need awk for the "check" target (and possibly the TAP driver). The
3875 # system "awk" is bad on some platforms.
3876 # Always define AMTAR for backward compatibility. Yes, it's still used
3877 # in the wild :-( We should find a proper way to deprecate it ...
3878 AMTAR='$${TAR-tar}'
3881 # We'll loop over all known methods to create a tar archive until one works.
3882 _am_tools='gnutar pax cpio none'
3884 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3891 # POSIX will say in a future version that running "rm -f" with no argument
3892 # is OK; and we want to be able to make that assumption in our Makefile
3893 # recipes. So use an aggressive probe to check that the usage we want is
3894 # actually supported "in the wild" to an acceptable degree.
3895 # See automake bug#10828.
3896 # To make any issue more visible, cause the running configure to be aborted
3897 # by default if the 'rm' program in use doesn't match our expectations; the
3898 # user can still override this though.
3899 if rm -f && rm -fr && rm -rf; then : OK; else
3900 cat >&2 <<'END'
3901 Oops!
3903 Your 'rm' program seems unable to run without file operands specified
3904 on the command line, even when the '-f' option is present. This is contrary
3905 to the behaviour of most rm programs out there, and not conforming with
3906 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3908 Please tell bug-automake@gnu.org about your system, including the value
3909 of your $PATH and any error possibly output before this message. This
3910 can help us improve future automake versions.
3913 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3914 echo 'Configuration will proceed anyway, since you have set the' >&2
3915 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3916 echo >&2
3917 else
3918 cat >&2 <<'END'
3919 Aborting the configuration process, to ensure you take notice of the issue.
3921 You can download and install GNU coreutils to get an 'rm' implementation
3922 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3924 If you want to complete the configuration process using your problematic
3925 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3926 to "yes", and re-run configure.
3929 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3936 # -fno-builtin must be present here so that a non-conflicting form of
3937 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3939 save_CXXFLAGS="$CXXFLAGS"
3940 CXXFLAGS="$CXXFLAGS -fno-builtin"
3941 ac_ext=c
3942 ac_cpp='$CPP $CPPFLAGS'
3943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3946 if test -n "$ac_tool_prefix"; then
3947 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3948 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3950 $as_echo_n "checking for $ac_word... " >&6; }
3951 if ${ac_cv_prog_CC+:} false; then :
3952 $as_echo_n "(cached) " >&6
3953 else
3954 if test -n "$CC"; then
3955 ac_cv_prog_CC="$CC" # Let the user override the test.
3956 else
3957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3958 for as_dir in $PATH
3960 IFS=$as_save_IFS
3961 test -z "$as_dir" && as_dir=.
3962 for ac_exec_ext in '' $ac_executable_extensions; do
3963 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3964 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3966 break 2
3968 done
3969 done
3970 IFS=$as_save_IFS
3974 CC=$ac_cv_prog_CC
3975 if test -n "$CC"; then
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3977 $as_echo "$CC" >&6; }
3978 else
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3980 $as_echo "no" >&6; }
3985 if test -z "$ac_cv_prog_CC"; then
3986 ac_ct_CC=$CC
3987 # Extract the first word of "gcc", so it can be a program name with args.
3988 set dummy gcc; ac_word=$2
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3990 $as_echo_n "checking for $ac_word... " >&6; }
3991 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3992 $as_echo_n "(cached) " >&6
3993 else
3994 if test -n "$ac_ct_CC"; then
3995 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3996 else
3997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3998 for as_dir in $PATH
4000 IFS=$as_save_IFS
4001 test -z "$as_dir" && as_dir=.
4002 for ac_exec_ext in '' $ac_executable_extensions; do
4003 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4004 ac_cv_prog_ac_ct_CC="gcc"
4005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4006 break 2
4008 done
4009 done
4010 IFS=$as_save_IFS
4014 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4015 if test -n "$ac_ct_CC"; then
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4017 $as_echo "$ac_ct_CC" >&6; }
4018 else
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4020 $as_echo "no" >&6; }
4023 if test "x$ac_ct_CC" = x; then
4024 CC=""
4025 else
4026 case $cross_compiling:$ac_tool_warned in
4027 yes:)
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4029 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4030 ac_tool_warned=yes ;;
4031 esac
4032 CC=$ac_ct_CC
4034 else
4035 CC="$ac_cv_prog_CC"
4038 if test -z "$CC"; then
4039 if test -n "$ac_tool_prefix"; then
4040 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4041 set dummy ${ac_tool_prefix}cc; ac_word=$2
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4043 $as_echo_n "checking for $ac_word... " >&6; }
4044 if ${ac_cv_prog_CC+:} false; then :
4045 $as_echo_n "(cached) " >&6
4046 else
4047 if test -n "$CC"; then
4048 ac_cv_prog_CC="$CC" # Let the user override the test.
4049 else
4050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4051 for as_dir in $PATH
4053 IFS=$as_save_IFS
4054 test -z "$as_dir" && as_dir=.
4055 for ac_exec_ext in '' $ac_executable_extensions; do
4056 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4057 ac_cv_prog_CC="${ac_tool_prefix}cc"
4058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4059 break 2
4061 done
4062 done
4063 IFS=$as_save_IFS
4067 CC=$ac_cv_prog_CC
4068 if test -n "$CC"; then
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4070 $as_echo "$CC" >&6; }
4071 else
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4073 $as_echo "no" >&6; }
4079 if test -z "$CC"; then
4080 # Extract the first word of "cc", so it can be a program name with args.
4081 set dummy cc; ac_word=$2
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4083 $as_echo_n "checking for $ac_word... " >&6; }
4084 if ${ac_cv_prog_CC+:} false; then :
4085 $as_echo_n "(cached) " >&6
4086 else
4087 if test -n "$CC"; then
4088 ac_cv_prog_CC="$CC" # Let the user override the test.
4089 else
4090 ac_prog_rejected=no
4091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4092 for as_dir in $PATH
4094 IFS=$as_save_IFS
4095 test -z "$as_dir" && as_dir=.
4096 for ac_exec_ext in '' $ac_executable_extensions; do
4097 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4098 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4099 ac_prog_rejected=yes
4100 continue
4102 ac_cv_prog_CC="cc"
4103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4104 break 2
4106 done
4107 done
4108 IFS=$as_save_IFS
4110 if test $ac_prog_rejected = yes; then
4111 # We found a bogon in the path, so make sure we never use it.
4112 set dummy $ac_cv_prog_CC
4113 shift
4114 if test $# != 0; then
4115 # We chose a different compiler from the bogus one.
4116 # However, it has the same basename, so the bogon will be chosen
4117 # first if we set CC to just the basename; use the full file name.
4118 shift
4119 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4124 CC=$ac_cv_prog_CC
4125 if test -n "$CC"; then
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4127 $as_echo "$CC" >&6; }
4128 else
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4130 $as_echo "no" >&6; }
4135 if test -z "$CC"; then
4136 if test -n "$ac_tool_prefix"; then
4137 for ac_prog in cl.exe
4139 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4140 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4142 $as_echo_n "checking for $ac_word... " >&6; }
4143 if ${ac_cv_prog_CC+:} false; then :
4144 $as_echo_n "(cached) " >&6
4145 else
4146 if test -n "$CC"; then
4147 ac_cv_prog_CC="$CC" # Let the user override the test.
4148 else
4149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4150 for as_dir in $PATH
4152 IFS=$as_save_IFS
4153 test -z "$as_dir" && as_dir=.
4154 for ac_exec_ext in '' $ac_executable_extensions; do
4155 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4156 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4158 break 2
4160 done
4161 done
4162 IFS=$as_save_IFS
4166 CC=$ac_cv_prog_CC
4167 if test -n "$CC"; then
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4169 $as_echo "$CC" >&6; }
4170 else
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4172 $as_echo "no" >&6; }
4176 test -n "$CC" && break
4177 done
4179 if test -z "$CC"; then
4180 ac_ct_CC=$CC
4181 for ac_prog in cl.exe
4183 # Extract the first word of "$ac_prog", so it can be a program name with args.
4184 set dummy $ac_prog; ac_word=$2
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4186 $as_echo_n "checking for $ac_word... " >&6; }
4187 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4188 $as_echo_n "(cached) " >&6
4189 else
4190 if test -n "$ac_ct_CC"; then
4191 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4192 else
4193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4194 for as_dir in $PATH
4196 IFS=$as_save_IFS
4197 test -z "$as_dir" && as_dir=.
4198 for ac_exec_ext in '' $ac_executable_extensions; do
4199 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4200 ac_cv_prog_ac_ct_CC="$ac_prog"
4201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4202 break 2
4204 done
4205 done
4206 IFS=$as_save_IFS
4210 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4211 if test -n "$ac_ct_CC"; then
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4213 $as_echo "$ac_ct_CC" >&6; }
4214 else
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4216 $as_echo "no" >&6; }
4220 test -n "$ac_ct_CC" && break
4221 done
4223 if test "x$ac_ct_CC" = x; then
4224 CC=""
4225 else
4226 case $cross_compiling:$ac_tool_warned in
4227 yes:)
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4229 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4230 ac_tool_warned=yes ;;
4231 esac
4232 CC=$ac_ct_CC
4239 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4240 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4241 as_fn_error $? "no acceptable C compiler found in \$PATH
4242 See \`config.log' for more details" "$LINENO" 5; }
4244 # Provide some information about the compiler.
4245 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4246 set X $ac_compile
4247 ac_compiler=$2
4248 for ac_option in --version -v -V -qversion; do
4249 { { ac_try="$ac_compiler $ac_option >&5"
4250 case "(($ac_try" in
4251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4252 *) ac_try_echo=$ac_try;;
4253 esac
4254 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4255 $as_echo "$ac_try_echo"; } >&5
4256 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4257 ac_status=$?
4258 if test -s conftest.err; then
4259 sed '10a\
4260 ... rest of stderr output deleted ...
4261 10q' conftest.err >conftest.er1
4262 cat conftest.er1 >&5
4264 rm -f conftest.er1 conftest.err
4265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4266 test $ac_status = 0; }
4267 done
4269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4270 /* end confdefs.h. */
4271 #include <stdio.h>
4273 main ()
4275 printf ("hello world\n");
4277 return 0;
4279 _ACEOF
4280 # FIXME: Cleanup?
4281 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4282 (eval $ac_link) 2>&5
4283 ac_status=$?
4284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4285 test $ac_status = 0; }; then :
4286 gcc_no_link=no
4287 else
4288 gcc_no_link=yes
4290 if test x$gcc_no_link = xyes; then
4291 # Setting cross_compile will disable run tests; it will
4292 # also disable AC_CHECK_FILE but that's generally
4293 # correct if we can't link.
4294 cross_compiling=yes
4295 EXEEXT=
4296 else
4297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4298 /* end confdefs.h. */
4301 main ()
4305 return 0;
4307 _ACEOF
4308 ac_clean_files_save=$ac_clean_files
4309 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4310 # Try to create an executable without -o first, disregard a.out.
4311 # It will help us diagnose broken compilers, and finding out an intuition
4312 # of exeext.
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4314 $as_echo_n "checking whether the C compiler works... " >&6; }
4315 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4317 # The possible output files:
4318 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4320 ac_rmfiles=
4321 for ac_file in $ac_files
4323 case $ac_file in
4324 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4325 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4326 esac
4327 done
4328 rm -f $ac_rmfiles
4330 if { { ac_try="$ac_link_default"
4331 case "(($ac_try" in
4332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4333 *) ac_try_echo=$ac_try;;
4334 esac
4335 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4336 $as_echo "$ac_try_echo"; } >&5
4337 (eval "$ac_link_default") 2>&5
4338 ac_status=$?
4339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4340 test $ac_status = 0; }; then :
4341 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4342 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4343 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4344 # so that the user can short-circuit this test for compilers unknown to
4345 # Autoconf.
4346 for ac_file in $ac_files ''
4348 test -f "$ac_file" || continue
4349 case $ac_file in
4350 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4352 [ab].out )
4353 # We found the default executable, but exeext='' is most
4354 # certainly right.
4355 break;;
4356 *.* )
4357 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4358 then :; else
4359 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4361 # We set ac_cv_exeext here because the later test for it is not
4362 # safe: cross compilers may not add the suffix if given an `-o'
4363 # argument, so we may need to know it at that point already.
4364 # Even if this section looks crufty: it has the advantage of
4365 # actually working.
4366 break;;
4368 break;;
4369 esac
4370 done
4371 test "$ac_cv_exeext" = no && ac_cv_exeext=
4373 else
4374 ac_file=''
4376 if test -z "$ac_file"; then :
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4378 $as_echo "no" >&6; }
4379 $as_echo "$as_me: failed program was:" >&5
4380 sed 's/^/| /' conftest.$ac_ext >&5
4382 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4383 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4384 as_fn_error 77 "C compiler cannot create executables
4385 See \`config.log' for more details" "$LINENO" 5; }
4386 else
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4388 $as_echo "yes" >&6; }
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4391 $as_echo_n "checking for C compiler default output file name... " >&6; }
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4393 $as_echo "$ac_file" >&6; }
4394 ac_exeext=$ac_cv_exeext
4396 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4397 ac_clean_files=$ac_clean_files_save
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4399 $as_echo_n "checking for suffix of executables... " >&6; }
4400 if { { ac_try="$ac_link"
4401 case "(($ac_try" in
4402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4403 *) ac_try_echo=$ac_try;;
4404 esac
4405 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4406 $as_echo "$ac_try_echo"; } >&5
4407 (eval "$ac_link") 2>&5
4408 ac_status=$?
4409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4410 test $ac_status = 0; }; then :
4411 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4412 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4413 # work properly (i.e., refer to `conftest.exe'), while it won't with
4414 # `rm'.
4415 for ac_file in conftest.exe conftest conftest.*; do
4416 test -f "$ac_file" || continue
4417 case $ac_file in
4418 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4419 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4420 break;;
4421 * ) break;;
4422 esac
4423 done
4424 else
4425 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4426 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4427 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4428 See \`config.log' for more details" "$LINENO" 5; }
4430 rm -f conftest conftest$ac_cv_exeext
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4432 $as_echo "$ac_cv_exeext" >&6; }
4434 rm -f conftest.$ac_ext
4435 EXEEXT=$ac_cv_exeext
4436 ac_exeext=$EXEEXT
4437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4438 /* end confdefs.h. */
4439 #include <stdio.h>
4441 main ()
4443 FILE *f = fopen ("conftest.out", "w");
4444 return ferror (f) || fclose (f) != 0;
4447 return 0;
4449 _ACEOF
4450 ac_clean_files="$ac_clean_files conftest.out"
4451 # Check that the compiler produces executables we can run. If not, either
4452 # the compiler is broken, or we cross compile.
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4454 $as_echo_n "checking whether we are cross compiling... " >&6; }
4455 if test "$cross_compiling" != yes; then
4456 { { ac_try="$ac_link"
4457 case "(($ac_try" in
4458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4459 *) ac_try_echo=$ac_try;;
4460 esac
4461 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4462 $as_echo "$ac_try_echo"; } >&5
4463 (eval "$ac_link") 2>&5
4464 ac_status=$?
4465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4466 test $ac_status = 0; }
4467 if { ac_try='./conftest$ac_cv_exeext'
4468 { { case "(($ac_try" in
4469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4470 *) ac_try_echo=$ac_try;;
4471 esac
4472 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4473 $as_echo "$ac_try_echo"; } >&5
4474 (eval "$ac_try") 2>&5
4475 ac_status=$?
4476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4477 test $ac_status = 0; }; }; then
4478 cross_compiling=no
4479 else
4480 if test "$cross_compiling" = maybe; then
4481 cross_compiling=yes
4482 else
4483 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4484 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4485 as_fn_error $? "cannot run C compiled programs.
4486 If you meant to cross compile, use \`--host'.
4487 See \`config.log' for more details" "$LINENO" 5; }
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4492 $as_echo "$cross_compiling" >&6; }
4494 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4495 ac_clean_files=$ac_clean_files_save
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4498 $as_echo_n "checking for suffix of object files... " >&6; }
4499 if ${ac_cv_objext+:} false; then :
4500 $as_echo_n "(cached) " >&6
4501 else
4502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4503 /* end confdefs.h. */
4506 main ()
4510 return 0;
4512 _ACEOF
4513 rm -f conftest.o conftest.obj
4514 if { { ac_try="$ac_compile"
4515 case "(($ac_try" in
4516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4517 *) ac_try_echo=$ac_try;;
4518 esac
4519 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4520 $as_echo "$ac_try_echo"; } >&5
4521 (eval "$ac_compile") 2>&5
4522 ac_status=$?
4523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4524 test $ac_status = 0; }; then :
4525 for ac_file in conftest.o conftest.obj conftest.*; do
4526 test -f "$ac_file" || continue;
4527 case $ac_file in
4528 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4529 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4530 break;;
4531 esac
4532 done
4533 else
4534 $as_echo "$as_me: failed program was:" >&5
4535 sed 's/^/| /' conftest.$ac_ext >&5
4537 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4538 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4539 as_fn_error $? "cannot compute suffix of object files: cannot compile
4540 See \`config.log' for more details" "$LINENO" 5; }
4542 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4545 $as_echo "$ac_cv_objext" >&6; }
4546 OBJEXT=$ac_cv_objext
4547 ac_objext=$OBJEXT
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4549 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4550 if ${ac_cv_c_compiler_gnu+:} false; then :
4551 $as_echo_n "(cached) " >&6
4552 else
4553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4554 /* end confdefs.h. */
4557 main ()
4559 #ifndef __GNUC__
4560 choke me
4561 #endif
4564 return 0;
4566 _ACEOF
4567 if ac_fn_c_try_compile "$LINENO"; then :
4568 ac_compiler_gnu=yes
4569 else
4570 ac_compiler_gnu=no
4572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4573 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4577 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4578 if test $ac_compiler_gnu = yes; then
4579 GCC=yes
4580 else
4581 GCC=
4583 ac_test_CFLAGS=${CFLAGS+set}
4584 ac_save_CFLAGS=$CFLAGS
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4586 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4587 if ${ac_cv_prog_cc_g+:} false; then :
4588 $as_echo_n "(cached) " >&6
4589 else
4590 ac_save_c_werror_flag=$ac_c_werror_flag
4591 ac_c_werror_flag=yes
4592 ac_cv_prog_cc_g=no
4593 CFLAGS="-g"
4594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4595 /* end confdefs.h. */
4598 main ()
4602 return 0;
4604 _ACEOF
4605 if ac_fn_c_try_compile "$LINENO"; then :
4606 ac_cv_prog_cc_g=yes
4607 else
4608 CFLAGS=""
4609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4610 /* end confdefs.h. */
4613 main ()
4617 return 0;
4619 _ACEOF
4620 if ac_fn_c_try_compile "$LINENO"; then :
4622 else
4623 ac_c_werror_flag=$ac_save_c_werror_flag
4624 CFLAGS="-g"
4625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4626 /* end confdefs.h. */
4629 main ()
4633 return 0;
4635 _ACEOF
4636 if ac_fn_c_try_compile "$LINENO"; then :
4637 ac_cv_prog_cc_g=yes
4639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4644 ac_c_werror_flag=$ac_save_c_werror_flag
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4647 $as_echo "$ac_cv_prog_cc_g" >&6; }
4648 if test "$ac_test_CFLAGS" = set; then
4649 CFLAGS=$ac_save_CFLAGS
4650 elif test $ac_cv_prog_cc_g = yes; then
4651 if test "$GCC" = yes; then
4652 CFLAGS="-g -O2"
4653 else
4654 CFLAGS="-g"
4656 else
4657 if test "$GCC" = yes; then
4658 CFLAGS="-O2"
4659 else
4660 CFLAGS=
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4664 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4665 if ${ac_cv_prog_cc_c89+:} false; then :
4666 $as_echo_n "(cached) " >&6
4667 else
4668 ac_cv_prog_cc_c89=no
4669 ac_save_CC=$CC
4670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4671 /* end confdefs.h. */
4672 #include <stdarg.h>
4673 #include <stdio.h>
4674 struct stat;
4675 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4676 struct buf { int x; };
4677 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4678 static char *e (p, i)
4679 char **p;
4680 int i;
4682 return p[i];
4684 static char *f (char * (*g) (char **, int), char **p, ...)
4686 char *s;
4687 va_list v;
4688 va_start (v,p);
4689 s = g (p, va_arg (v,int));
4690 va_end (v);
4691 return s;
4694 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4695 function prototypes and stuff, but not '\xHH' hex character constants.
4696 These don't provoke an error unfortunately, instead are silently treated
4697 as 'x'. The following induces an error, until -std is added to get
4698 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4699 array size at least. It's necessary to write '\x00'==0 to get something
4700 that's true only with -std. */
4701 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4703 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4704 inside strings and character constants. */
4705 #define FOO(x) 'x'
4706 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4708 int test (int i, double x);
4709 struct s1 {int (*f) (int a);};
4710 struct s2 {int (*f) (double a);};
4711 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4712 int argc;
4713 char **argv;
4715 main ()
4717 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4719 return 0;
4721 _ACEOF
4722 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4723 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4725 CC="$ac_save_CC $ac_arg"
4726 if ac_fn_c_try_compile "$LINENO"; then :
4727 ac_cv_prog_cc_c89=$ac_arg
4729 rm -f core conftest.err conftest.$ac_objext
4730 test "x$ac_cv_prog_cc_c89" != "xno" && break
4731 done
4732 rm -f conftest.$ac_ext
4733 CC=$ac_save_CC
4736 # AC_CACHE_VAL
4737 case "x$ac_cv_prog_cc_c89" in
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4740 $as_echo "none needed" >&6; } ;;
4741 xno)
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4743 $as_echo "unsupported" >&6; } ;;
4745 CC="$CC $ac_cv_prog_cc_c89"
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4747 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4748 esac
4749 if test "x$ac_cv_prog_cc_c89" != xno; then :
4753 ac_ext=c
4754 ac_cpp='$CPP $CPPFLAGS'
4755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4759 ac_ext=c
4760 ac_cpp='$CPP $CPPFLAGS'
4761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4765 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4766 if ${am_cv_prog_cc_c_o+:} false; then :
4767 $as_echo_n "(cached) " >&6
4768 else
4769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4770 /* end confdefs.h. */
4773 main ()
4777 return 0;
4779 _ACEOF
4780 # Make sure it works both with $CC and with simple cc.
4781 # Following AC_PROG_CC_C_O, we do the test twice because some
4782 # compilers refuse to overwrite an existing .o file with -o,
4783 # though they will create one.
4784 am_cv_prog_cc_c_o=yes
4785 for am_i in 1 2; do
4786 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4787 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4788 ac_status=$?
4789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4790 (exit $ac_status); } \
4791 && test -f conftest2.$ac_objext; then
4792 : OK
4793 else
4794 am_cv_prog_cc_c_o=no
4795 break
4797 done
4798 rm -f core conftest*
4799 unset am_i
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4802 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4803 if test "$am_cv_prog_cc_c_o" != yes; then
4804 # Losing compiler, so override with the script.
4805 # FIXME: It is wrong to rewrite CC.
4806 # But if we don't then we get into trouble of one sort or another.
4807 # A longer-term fix would be to have automake use am__CC in this case,
4808 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4809 CC="$am_aux_dir/compile $CC"
4811 ac_ext=c
4812 ac_cpp='$CPP $CPPFLAGS'
4813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4818 ac_ext=cpp
4819 ac_cpp='$CXXCPP $CPPFLAGS'
4820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4823 if test -z "$CXX"; then
4824 if test -n "$CCC"; then
4825 CXX=$CCC
4826 else
4827 if test -n "$ac_tool_prefix"; then
4828 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4830 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4831 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4833 $as_echo_n "checking for $ac_word... " >&6; }
4834 if ${ac_cv_prog_CXX+:} false; then :
4835 $as_echo_n "(cached) " >&6
4836 else
4837 if test -n "$CXX"; then
4838 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4839 else
4840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4841 for as_dir in $PATH
4843 IFS=$as_save_IFS
4844 test -z "$as_dir" && as_dir=.
4845 for ac_exec_ext in '' $ac_executable_extensions; do
4846 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4847 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4849 break 2
4851 done
4852 done
4853 IFS=$as_save_IFS
4857 CXX=$ac_cv_prog_CXX
4858 if test -n "$CXX"; then
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4860 $as_echo "$CXX" >&6; }
4861 else
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4863 $as_echo "no" >&6; }
4867 test -n "$CXX" && break
4868 done
4870 if test -z "$CXX"; then
4871 ac_ct_CXX=$CXX
4872 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4874 # Extract the first word of "$ac_prog", so it can be a program name with args.
4875 set dummy $ac_prog; ac_word=$2
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4877 $as_echo_n "checking for $ac_word... " >&6; }
4878 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4879 $as_echo_n "(cached) " >&6
4880 else
4881 if test -n "$ac_ct_CXX"; then
4882 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4883 else
4884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4885 for as_dir in $PATH
4887 IFS=$as_save_IFS
4888 test -z "$as_dir" && as_dir=.
4889 for ac_exec_ext in '' $ac_executable_extensions; do
4890 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4891 ac_cv_prog_ac_ct_CXX="$ac_prog"
4892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4893 break 2
4895 done
4896 done
4897 IFS=$as_save_IFS
4901 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4902 if test -n "$ac_ct_CXX"; then
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4904 $as_echo "$ac_ct_CXX" >&6; }
4905 else
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4907 $as_echo "no" >&6; }
4911 test -n "$ac_ct_CXX" && break
4912 done
4914 if test "x$ac_ct_CXX" = x; then
4915 CXX="g++"
4916 else
4917 case $cross_compiling:$ac_tool_warned in
4918 yes:)
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4920 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4921 ac_tool_warned=yes ;;
4922 esac
4923 CXX=$ac_ct_CXX
4929 # Provide some information about the compiler.
4930 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4931 set X $ac_compile
4932 ac_compiler=$2
4933 for ac_option in --version -v -V -qversion; do
4934 { { ac_try="$ac_compiler $ac_option >&5"
4935 case "(($ac_try" in
4936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4937 *) ac_try_echo=$ac_try;;
4938 esac
4939 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4940 $as_echo "$ac_try_echo"; } >&5
4941 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4942 ac_status=$?
4943 if test -s conftest.err; then
4944 sed '10a\
4945 ... rest of stderr output deleted ...
4946 10q' conftest.err >conftest.er1
4947 cat conftest.er1 >&5
4949 rm -f conftest.er1 conftest.err
4950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4951 test $ac_status = 0; }
4952 done
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4955 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4956 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4957 $as_echo_n "(cached) " >&6
4958 else
4959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4960 /* end confdefs.h. */
4963 main ()
4965 #ifndef __GNUC__
4966 choke me
4967 #endif
4970 return 0;
4972 _ACEOF
4973 if ac_fn_cxx_try_compile "$LINENO"; then :
4974 ac_compiler_gnu=yes
4975 else
4976 ac_compiler_gnu=no
4978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4979 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4983 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4984 if test $ac_compiler_gnu = yes; then
4985 GXX=yes
4986 else
4987 GXX=
4989 ac_test_CXXFLAGS=${CXXFLAGS+set}
4990 ac_save_CXXFLAGS=$CXXFLAGS
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4992 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4993 if ${ac_cv_prog_cxx_g+:} false; then :
4994 $as_echo_n "(cached) " >&6
4995 else
4996 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4997 ac_cxx_werror_flag=yes
4998 ac_cv_prog_cxx_g=no
4999 CXXFLAGS="-g"
5000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5001 /* end confdefs.h. */
5004 main ()
5008 return 0;
5010 _ACEOF
5011 if ac_fn_cxx_try_compile "$LINENO"; then :
5012 ac_cv_prog_cxx_g=yes
5013 else
5014 CXXFLAGS=""
5015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5016 /* end confdefs.h. */
5019 main ()
5023 return 0;
5025 _ACEOF
5026 if ac_fn_cxx_try_compile "$LINENO"; then :
5028 else
5029 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5030 CXXFLAGS="-g"
5031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5032 /* end confdefs.h. */
5035 main ()
5039 return 0;
5041 _ACEOF
5042 if ac_fn_cxx_try_compile "$LINENO"; then :
5043 ac_cv_prog_cxx_g=yes
5045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5050 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5053 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5054 if test "$ac_test_CXXFLAGS" = set; then
5055 CXXFLAGS=$ac_save_CXXFLAGS
5056 elif test $ac_cv_prog_cxx_g = yes; then
5057 if test "$GXX" = yes; then
5058 CXXFLAGS="-g -O2"
5059 else
5060 CXXFLAGS="-g"
5062 else
5063 if test "$GXX" = yes; then
5064 CXXFLAGS="-O2"
5065 else
5066 CXXFLAGS=
5069 ac_ext=c
5070 ac_cpp='$CPP $CPPFLAGS'
5071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5075 CXXFLAGS="$save_CXXFLAGS"
5078 # Check whether --enable-largefile was given.
5079 if test "${enable_largefile+set}" = set; then :
5080 enableval=$enable_largefile;
5083 if test "$enable_largefile" != no; then
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5086 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5087 if ${ac_cv_sys_largefile_CC+:} false; then :
5088 $as_echo_n "(cached) " >&6
5089 else
5090 ac_cv_sys_largefile_CC=no
5091 if test "$GCC" != yes; then
5092 ac_save_CC=$CC
5093 while :; do
5094 # IRIX 6.2 and later do not support large files by default,
5095 # so use the C compiler's -n32 option if that helps.
5096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5097 /* end confdefs.h. */
5098 #include <sys/types.h>
5099 /* Check that off_t can represent 2**63 - 1 correctly.
5100 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5101 since some C++ compilers masquerading as C compilers
5102 incorrectly reject 9223372036854775807. */
5103 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5104 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5105 && LARGE_OFF_T % 2147483647 == 1)
5106 ? 1 : -1];
5108 main ()
5112 return 0;
5114 _ACEOF
5115 if ac_fn_c_try_compile "$LINENO"; then :
5116 break
5118 rm -f core conftest.err conftest.$ac_objext
5119 CC="$CC -n32"
5120 if ac_fn_c_try_compile "$LINENO"; then :
5121 ac_cv_sys_largefile_CC=' -n32'; break
5123 rm -f core conftest.err conftest.$ac_objext
5124 break
5125 done
5126 CC=$ac_save_CC
5127 rm -f conftest.$ac_ext
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5131 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5132 if test "$ac_cv_sys_largefile_CC" != no; then
5133 CC=$CC$ac_cv_sys_largefile_CC
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5137 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5138 if ${ac_cv_sys_file_offset_bits+:} false; then :
5139 $as_echo_n "(cached) " >&6
5140 else
5141 while :; do
5142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5143 /* end confdefs.h. */
5144 #include <sys/types.h>
5145 /* Check that off_t can represent 2**63 - 1 correctly.
5146 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5147 since some C++ compilers masquerading as C compilers
5148 incorrectly reject 9223372036854775807. */
5149 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5150 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5151 && LARGE_OFF_T % 2147483647 == 1)
5152 ? 1 : -1];
5154 main ()
5158 return 0;
5160 _ACEOF
5161 if ac_fn_c_try_compile "$LINENO"; then :
5162 ac_cv_sys_file_offset_bits=no; break
5164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5166 /* end confdefs.h. */
5167 #define _FILE_OFFSET_BITS 64
5168 #include <sys/types.h>
5169 /* Check that off_t can represent 2**63 - 1 correctly.
5170 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5171 since some C++ compilers masquerading as C compilers
5172 incorrectly reject 9223372036854775807. */
5173 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5174 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5175 && LARGE_OFF_T % 2147483647 == 1)
5176 ? 1 : -1];
5178 main ()
5182 return 0;
5184 _ACEOF
5185 if ac_fn_c_try_compile "$LINENO"; then :
5186 ac_cv_sys_file_offset_bits=64; break
5188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5189 ac_cv_sys_file_offset_bits=unknown
5190 break
5191 done
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5194 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5195 case $ac_cv_sys_file_offset_bits in #(
5196 no | unknown) ;;
5198 cat >>confdefs.h <<_ACEOF
5199 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5200 _ACEOF
5202 esac
5203 rm -rf conftest*
5204 if test $ac_cv_sys_file_offset_bits = unknown; then
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5206 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5207 if ${ac_cv_sys_large_files+:} false; then :
5208 $as_echo_n "(cached) " >&6
5209 else
5210 while :; do
5211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5212 /* end confdefs.h. */
5213 #include <sys/types.h>
5214 /* Check that off_t can represent 2**63 - 1 correctly.
5215 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5216 since some C++ compilers masquerading as C compilers
5217 incorrectly reject 9223372036854775807. */
5218 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5219 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5220 && LARGE_OFF_T % 2147483647 == 1)
5221 ? 1 : -1];
5223 main ()
5227 return 0;
5229 _ACEOF
5230 if ac_fn_c_try_compile "$LINENO"; then :
5231 ac_cv_sys_large_files=no; break
5233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5235 /* end confdefs.h. */
5236 #define _LARGE_FILES 1
5237 #include <sys/types.h>
5238 /* Check that off_t can represent 2**63 - 1 correctly.
5239 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5240 since some C++ compilers masquerading as C compilers
5241 incorrectly reject 9223372036854775807. */
5242 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5243 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5244 && LARGE_OFF_T % 2147483647 == 1)
5245 ? 1 : -1];
5247 main ()
5251 return 0;
5253 _ACEOF
5254 if ac_fn_c_try_compile "$LINENO"; then :
5255 ac_cv_sys_large_files=1; break
5257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5258 ac_cv_sys_large_files=unknown
5259 break
5260 done
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5263 $as_echo "$ac_cv_sys_large_files" >&6; }
5264 case $ac_cv_sys_large_files in #(
5265 no | unknown) ;;
5267 cat >>confdefs.h <<_ACEOF
5268 #define _LARGE_FILES $ac_cv_sys_large_files
5269 _ACEOF
5271 esac
5272 rm -rf conftest*
5279 # Runs configure.host, and assorted other critical bits. Sets
5280 # up critical shell variables.
5281 ac_ext=c
5282 ac_cpp='$CPP $CPPFLAGS'
5283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5287 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5288 # On Suns, sometimes $CPP names a directory.
5289 if test -n "$CPP" && test -d "$CPP"; then
5290 CPP=
5292 if test -z "$CPP"; then
5293 if ${ac_cv_prog_CPP+:} false; then :
5294 $as_echo_n "(cached) " >&6
5295 else
5296 # Double quotes because CPP needs to be expanded
5297 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5299 ac_preproc_ok=false
5300 for ac_c_preproc_warn_flag in '' yes
5302 # Use a header file that comes with gcc, so configuring glibc
5303 # with a fresh cross-compiler works.
5304 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5305 # <limits.h> exists even on freestanding compilers.
5306 # On the NeXT, cc -E runs the code through the compiler's parser,
5307 # not just through cpp. "Syntax error" is here to catch this case.
5308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5309 /* end confdefs.h. */
5310 #ifdef __STDC__
5311 # include <limits.h>
5312 #else
5313 # include <assert.h>
5314 #endif
5315 Syntax error
5316 _ACEOF
5317 if ac_fn_c_try_cpp "$LINENO"; then :
5319 else
5320 # Broken: fails on valid input.
5321 continue
5323 rm -f conftest.err conftest.i conftest.$ac_ext
5325 # OK, works on sane cases. Now check whether nonexistent headers
5326 # can be detected and how.
5327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5328 /* end confdefs.h. */
5329 #include <ac_nonexistent.h>
5330 _ACEOF
5331 if ac_fn_c_try_cpp "$LINENO"; then :
5332 # Broken: success on invalid input.
5333 continue
5334 else
5335 # Passes both tests.
5336 ac_preproc_ok=:
5337 break
5339 rm -f conftest.err conftest.i conftest.$ac_ext
5341 done
5342 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5343 rm -f conftest.i conftest.err conftest.$ac_ext
5344 if $ac_preproc_ok; then :
5345 break
5348 done
5349 ac_cv_prog_CPP=$CPP
5352 CPP=$ac_cv_prog_CPP
5353 else
5354 ac_cv_prog_CPP=$CPP
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5357 $as_echo "$CPP" >&6; }
5358 ac_preproc_ok=false
5359 for ac_c_preproc_warn_flag in '' yes
5361 # Use a header file that comes with gcc, so configuring glibc
5362 # with a fresh cross-compiler works.
5363 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5364 # <limits.h> exists even on freestanding compilers.
5365 # On the NeXT, cc -E runs the code through the compiler's parser,
5366 # not just through cpp. "Syntax error" is here to catch this case.
5367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5368 /* end confdefs.h. */
5369 #ifdef __STDC__
5370 # include <limits.h>
5371 #else
5372 # include <assert.h>
5373 #endif
5374 Syntax error
5375 _ACEOF
5376 if ac_fn_c_try_cpp "$LINENO"; then :
5378 else
5379 # Broken: fails on valid input.
5380 continue
5382 rm -f conftest.err conftest.i conftest.$ac_ext
5384 # OK, works on sane cases. Now check whether nonexistent headers
5385 # can be detected and how.
5386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5387 /* end confdefs.h. */
5388 #include <ac_nonexistent.h>
5389 _ACEOF
5390 if ac_fn_c_try_cpp "$LINENO"; then :
5391 # Broken: success on invalid input.
5392 continue
5393 else
5394 # Passes both tests.
5395 ac_preproc_ok=:
5396 break
5398 rm -f conftest.err conftest.i conftest.$ac_ext
5400 done
5401 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5402 rm -f conftest.i conftest.err conftest.$ac_ext
5403 if $ac_preproc_ok; then :
5405 else
5406 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5407 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5408 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5409 See \`config.log' for more details" "$LINENO" 5; }
5412 ac_ext=c
5413 ac_cpp='$CPP $CPPFLAGS'
5414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5420 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5421 if ${ac_cv_path_GREP+:} false; then :
5422 $as_echo_n "(cached) " >&6
5423 else
5424 if test -z "$GREP"; then
5425 ac_path_GREP_found=false
5426 # Loop through the user's path and test for each of PROGNAME-LIST
5427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5428 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5430 IFS=$as_save_IFS
5431 test -z "$as_dir" && as_dir=.
5432 for ac_prog in grep ggrep; do
5433 for ac_exec_ext in '' $ac_executable_extensions; do
5434 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5435 as_fn_executable_p "$ac_path_GREP" || continue
5436 # Check for GNU ac_path_GREP and select it if it is found.
5437 # Check for GNU $ac_path_GREP
5438 case `"$ac_path_GREP" --version 2>&1` in
5439 *GNU*)
5440 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5442 ac_count=0
5443 $as_echo_n 0123456789 >"conftest.in"
5444 while :
5446 cat "conftest.in" "conftest.in" >"conftest.tmp"
5447 mv "conftest.tmp" "conftest.in"
5448 cp "conftest.in" "conftest.nl"
5449 $as_echo 'GREP' >> "conftest.nl"
5450 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5451 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5452 as_fn_arith $ac_count + 1 && ac_count=$as_val
5453 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5454 # Best one so far, save it but keep looking for a better one
5455 ac_cv_path_GREP="$ac_path_GREP"
5456 ac_path_GREP_max=$ac_count
5458 # 10*(2^10) chars as input seems more than enough
5459 test $ac_count -gt 10 && break
5460 done
5461 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5462 esac
5464 $ac_path_GREP_found && break 3
5465 done
5466 done
5467 done
5468 IFS=$as_save_IFS
5469 if test -z "$ac_cv_path_GREP"; then
5470 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5472 else
5473 ac_cv_path_GREP=$GREP
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5478 $as_echo "$ac_cv_path_GREP" >&6; }
5479 GREP="$ac_cv_path_GREP"
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5483 $as_echo_n "checking for egrep... " >&6; }
5484 if ${ac_cv_path_EGREP+:} false; then :
5485 $as_echo_n "(cached) " >&6
5486 else
5487 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5488 then ac_cv_path_EGREP="$GREP -E"
5489 else
5490 if test -z "$EGREP"; then
5491 ac_path_EGREP_found=false
5492 # Loop through the user's path and test for each of PROGNAME-LIST
5493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5494 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5496 IFS=$as_save_IFS
5497 test -z "$as_dir" && as_dir=.
5498 for ac_prog in egrep; do
5499 for ac_exec_ext in '' $ac_executable_extensions; do
5500 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5501 as_fn_executable_p "$ac_path_EGREP" || continue
5502 # Check for GNU ac_path_EGREP and select it if it is found.
5503 # Check for GNU $ac_path_EGREP
5504 case `"$ac_path_EGREP" --version 2>&1` in
5505 *GNU*)
5506 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5508 ac_count=0
5509 $as_echo_n 0123456789 >"conftest.in"
5510 while :
5512 cat "conftest.in" "conftest.in" >"conftest.tmp"
5513 mv "conftest.tmp" "conftest.in"
5514 cp "conftest.in" "conftest.nl"
5515 $as_echo 'EGREP' >> "conftest.nl"
5516 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5517 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5518 as_fn_arith $ac_count + 1 && ac_count=$as_val
5519 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5520 # Best one so far, save it but keep looking for a better one
5521 ac_cv_path_EGREP="$ac_path_EGREP"
5522 ac_path_EGREP_max=$ac_count
5524 # 10*(2^10) chars as input seems more than enough
5525 test $ac_count -gt 10 && break
5526 done
5527 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5528 esac
5530 $ac_path_EGREP_found && break 3
5531 done
5532 done
5533 done
5534 IFS=$as_save_IFS
5535 if test -z "$ac_cv_path_EGREP"; then
5536 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5538 else
5539 ac_cv_path_EGREP=$EGREP
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5545 $as_echo "$ac_cv_path_EGREP" >&6; }
5546 EGREP="$ac_cv_path_EGREP"
5550 # Keep these sync'd with the list in Makefile.am. The first provides an
5551 # expandable list at autoconf time; the second provides an expandable list
5552 # (i.e., shell variable) at configure time.
5554 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/c++17 src/c++20 src/filesystem src/libbacktrace doc po testsuite python'
5556 # These need to be absolute paths, yet at the same time need to
5557 # canonicalize only relative paths, because then amd will not unmount
5558 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
5559 glibcxx_builddir=`${PWDCMD-pwd}`
5560 case $srcdir in
5561 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
5562 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
5563 esac
5564 toplevel_builddir=${glibcxx_builddir}/..
5565 toplevel_srcdir=${glibcxx_srcdir}/..
5571 # We use these options to decide which functions to include. They are
5572 # set from the top level.
5574 # Check whether --with-target-subdir was given.
5575 if test "${with_target_subdir+set}" = set; then :
5576 withval=$with_target_subdir;
5581 # Check whether --with-cross-host was given.
5582 if test "${with_cross_host+set}" = set; then :
5583 withval=$with_cross_host;
5588 # Check whether --with-newlib was given.
5589 if test "${with_newlib+set}" = set; then :
5590 withval=$with_newlib;
5594 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5595 # available). Uncomment the next line to force a particular method.
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5597 $as_echo_n "checking whether ln -s works... " >&6; }
5598 LN_S=$as_ln_s
5599 if test "$LN_S" = "ln -s"; then
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5601 $as_echo "yes" >&6; }
5602 else
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5604 $as_echo "no, using $LN_S" >&6; }
5607 #LN_S='cp -p'
5609 if test -n "$ac_tool_prefix"; then
5610 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5611 set dummy ${ac_tool_prefix}as; ac_word=$2
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5613 $as_echo_n "checking for $ac_word... " >&6; }
5614 if ${ac_cv_prog_AS+:} false; then :
5615 $as_echo_n "(cached) " >&6
5616 else
5617 if test -n "$AS"; then
5618 ac_cv_prog_AS="$AS" # Let the user override the test.
5619 else
5620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5621 for as_dir in $PATH
5623 IFS=$as_save_IFS
5624 test -z "$as_dir" && as_dir=.
5625 for ac_exec_ext in '' $ac_executable_extensions; do
5626 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5627 ac_cv_prog_AS="${ac_tool_prefix}as"
5628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5629 break 2
5631 done
5632 done
5633 IFS=$as_save_IFS
5637 AS=$ac_cv_prog_AS
5638 if test -n "$AS"; then
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5640 $as_echo "$AS" >&6; }
5641 else
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5643 $as_echo "no" >&6; }
5648 if test -z "$ac_cv_prog_AS"; then
5649 ac_ct_AS=$AS
5650 # Extract the first word of "as", so it can be a program name with args.
5651 set dummy as; ac_word=$2
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5653 $as_echo_n "checking for $ac_word... " >&6; }
5654 if ${ac_cv_prog_ac_ct_AS+:} false; then :
5655 $as_echo_n "(cached) " >&6
5656 else
5657 if test -n "$ac_ct_AS"; then
5658 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5659 else
5660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5661 for as_dir in $PATH
5663 IFS=$as_save_IFS
5664 test -z "$as_dir" && as_dir=.
5665 for ac_exec_ext in '' $ac_executable_extensions; do
5666 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5667 ac_cv_prog_ac_ct_AS="as"
5668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5669 break 2
5671 done
5672 done
5673 IFS=$as_save_IFS
5677 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5678 if test -n "$ac_ct_AS"; then
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5680 $as_echo "$ac_ct_AS" >&6; }
5681 else
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5683 $as_echo "no" >&6; }
5686 if test "x$ac_ct_AS" = x; then
5687 AS=""
5688 else
5689 case $cross_compiling:$ac_tool_warned in
5690 yes:)
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5692 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5693 ac_tool_warned=yes ;;
5694 esac
5695 AS=$ac_ct_AS
5697 else
5698 AS="$ac_cv_prog_AS"
5701 if test -n "$ac_tool_prefix"; then
5702 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5703 set dummy ${ac_tool_prefix}ar; ac_word=$2
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5705 $as_echo_n "checking for $ac_word... " >&6; }
5706 if ${ac_cv_prog_AR+:} false; then :
5707 $as_echo_n "(cached) " >&6
5708 else
5709 if test -n "$AR"; then
5710 ac_cv_prog_AR="$AR" # Let the user override the test.
5711 else
5712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5713 for as_dir in $PATH
5715 IFS=$as_save_IFS
5716 test -z "$as_dir" && as_dir=.
5717 for ac_exec_ext in '' $ac_executable_extensions; do
5718 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5719 ac_cv_prog_AR="${ac_tool_prefix}ar"
5720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5721 break 2
5723 done
5724 done
5725 IFS=$as_save_IFS
5729 AR=$ac_cv_prog_AR
5730 if test -n "$AR"; then
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5732 $as_echo "$AR" >&6; }
5733 else
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5735 $as_echo "no" >&6; }
5740 if test -z "$ac_cv_prog_AR"; then
5741 ac_ct_AR=$AR
5742 # Extract the first word of "ar", so it can be a program name with args.
5743 set dummy ar; ac_word=$2
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5745 $as_echo_n "checking for $ac_word... " >&6; }
5746 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5747 $as_echo_n "(cached) " >&6
5748 else
5749 if test -n "$ac_ct_AR"; then
5750 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5751 else
5752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5753 for as_dir in $PATH
5755 IFS=$as_save_IFS
5756 test -z "$as_dir" && as_dir=.
5757 for ac_exec_ext in '' $ac_executable_extensions; do
5758 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5759 ac_cv_prog_ac_ct_AR="ar"
5760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5761 break 2
5763 done
5764 done
5765 IFS=$as_save_IFS
5769 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5770 if test -n "$ac_ct_AR"; then
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5772 $as_echo "$ac_ct_AR" >&6; }
5773 else
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5775 $as_echo "no" >&6; }
5778 if test "x$ac_ct_AR" = x; then
5779 AR=""
5780 else
5781 case $cross_compiling:$ac_tool_warned in
5782 yes:)
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5784 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5785 ac_tool_warned=yes ;;
5786 esac
5787 AR=$ac_ct_AR
5789 else
5790 AR="$ac_cv_prog_AR"
5793 if test -n "$ac_tool_prefix"; then
5794 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5795 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5797 $as_echo_n "checking for $ac_word... " >&6; }
5798 if ${ac_cv_prog_RANLIB+:} false; then :
5799 $as_echo_n "(cached) " >&6
5800 else
5801 if test -n "$RANLIB"; then
5802 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5803 else
5804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5805 for as_dir in $PATH
5807 IFS=$as_save_IFS
5808 test -z "$as_dir" && as_dir=.
5809 for ac_exec_ext in '' $ac_executable_extensions; do
5810 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5811 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5813 break 2
5815 done
5816 done
5817 IFS=$as_save_IFS
5821 RANLIB=$ac_cv_prog_RANLIB
5822 if test -n "$RANLIB"; then
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5824 $as_echo "$RANLIB" >&6; }
5825 else
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5827 $as_echo "no" >&6; }
5832 if test -z "$ac_cv_prog_RANLIB"; then
5833 ac_ct_RANLIB=$RANLIB
5834 # Extract the first word of "ranlib", so it can be a program name with args.
5835 set dummy ranlib; ac_word=$2
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5837 $as_echo_n "checking for $ac_word... " >&6; }
5838 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5839 $as_echo_n "(cached) " >&6
5840 else
5841 if test -n "$ac_ct_RANLIB"; then
5842 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5843 else
5844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5845 for as_dir in $PATH
5847 IFS=$as_save_IFS
5848 test -z "$as_dir" && as_dir=.
5849 for ac_exec_ext in '' $ac_executable_extensions; do
5850 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5851 ac_cv_prog_ac_ct_RANLIB="ranlib"
5852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5853 break 2
5855 done
5856 done
5857 IFS=$as_save_IFS
5861 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5862 if test -n "$ac_ct_RANLIB"; then
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5864 $as_echo "$ac_ct_RANLIB" >&6; }
5865 else
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5867 $as_echo "no" >&6; }
5870 if test "x$ac_ct_RANLIB" = x; then
5871 RANLIB="ranlib-not-found-in-path-error"
5872 else
5873 case $cross_compiling:$ac_tool_warned in
5874 yes:)
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5876 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5877 ac_tool_warned=yes ;;
5878 esac
5879 RANLIB=$ac_ct_RANLIB
5881 else
5882 RANLIB="$ac_cv_prog_RANLIB"
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5888 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5889 # Check whether --enable-maintainer-mode was given.
5890 if test "${enable_maintainer_mode+set}" = set; then :
5891 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5892 else
5893 USE_MAINTAINER_MODE=no
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5897 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5898 if test $USE_MAINTAINER_MODE = yes; then
5899 MAINTAINER_MODE_TRUE=
5900 MAINTAINER_MODE_FALSE='#'
5901 else
5902 MAINTAINER_MODE_TRUE='#'
5903 MAINTAINER_MODE_FALSE=
5906 MAINT=$MAINTAINER_MODE_TRUE
5910 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5911 # which are themselves conditionally expanded.
5912 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5913 ## other macros from doing the same. This should be automated.) -pme
5915 # Check for C library flavor since GNU/Linux platforms use different
5916 # configuration directories depending on the C library in use.
5917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5918 /* end confdefs.h. */
5920 #include <stdio.h>
5921 #if __UCLIBC__
5922 _using_uclibc
5923 #endif
5925 _ACEOF
5926 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5927 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5928 uclibc=yes
5929 else
5930 uclibc=no
5932 rm -f conftest*
5935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5936 /* end confdefs.h. */
5938 #include <stdio.h>
5939 #if __BIONIC__
5940 _using_bionic
5941 #endif
5943 _ACEOF
5944 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5945 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5946 bionic=yes
5947 else
5948 bionic=no
5950 rm -f conftest*
5953 # Find platform-specific directories containing configuration info.
5954 # Also possibly modify flags used elsewhere, as needed by the platform.
5956 . $glibcxx_srcdir/configure.host
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5958 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5960 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5964 # Libtool setup.
5965 if test "x${with_newlib}" != "xyes" &&
5966 test "x${with_avrlibc}" != "xyes" &&
5967 test "x$with_headers" != "xno"; then
5968 enable_dlopen=yes
5973 case `pwd` in
5974 *\ * | *\ *)
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5976 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5977 esac
5981 macro_version='2.2.7a'
5982 macro_revision='1.3134'
5996 ltmain="$ac_aux_dir/ltmain.sh"
5998 # Backslashify metacharacters that are still active within
5999 # double-quoted strings.
6000 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6002 # Same as above, but do not quote variable references.
6003 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6005 # Sed substitution to delay expansion of an escaped shell variable in a
6006 # double_quote_subst'ed string.
6007 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6009 # Sed substitution to delay expansion of an escaped single quote.
6010 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6012 # Sed substitution to avoid accidental globbing in evaled expressions
6013 no_glob_subst='s/\*/\\\*/g'
6015 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6016 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6017 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6020 $as_echo_n "checking how to print strings... " >&6; }
6021 # Test print first, because it will be a builtin if present.
6022 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6023 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6024 ECHO='print -r --'
6025 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6026 ECHO='printf %s\n'
6027 else
6028 # Use this function as a fallback that always works.
6029 func_fallback_echo ()
6031 eval 'cat <<_LTECHO_EOF
6033 _LTECHO_EOF'
6035 ECHO='func_fallback_echo'
6038 # func_echo_all arg...
6039 # Invoke $ECHO with all args, space-separated.
6040 func_echo_all ()
6042 $ECHO ""
6045 case "$ECHO" in
6046 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6047 $as_echo "printf" >&6; } ;;
6048 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6049 $as_echo "print -r" >&6; } ;;
6050 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6051 $as_echo "cat" >&6; } ;;
6052 esac
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6068 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6069 if ${ac_cv_path_SED+:} false; then :
6070 $as_echo_n "(cached) " >&6
6071 else
6072 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6073 for ac_i in 1 2 3 4 5 6 7; do
6074 ac_script="$ac_script$as_nl$ac_script"
6075 done
6076 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6077 { ac_script=; unset ac_script;}
6078 if test -z "$SED"; then
6079 ac_path_SED_found=false
6080 # Loop through the user's path and test for each of PROGNAME-LIST
6081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6082 for as_dir in $PATH
6084 IFS=$as_save_IFS
6085 test -z "$as_dir" && as_dir=.
6086 for ac_prog in sed gsed; do
6087 for ac_exec_ext in '' $ac_executable_extensions; do
6088 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6089 as_fn_executable_p "$ac_path_SED" || continue
6090 # Check for GNU ac_path_SED and select it if it is found.
6091 # Check for GNU $ac_path_SED
6092 case `"$ac_path_SED" --version 2>&1` in
6093 *GNU*)
6094 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6096 ac_count=0
6097 $as_echo_n 0123456789 >"conftest.in"
6098 while :
6100 cat "conftest.in" "conftest.in" >"conftest.tmp"
6101 mv "conftest.tmp" "conftest.in"
6102 cp "conftest.in" "conftest.nl"
6103 $as_echo '' >> "conftest.nl"
6104 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6105 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6106 as_fn_arith $ac_count + 1 && ac_count=$as_val
6107 if test $ac_count -gt ${ac_path_SED_max-0}; then
6108 # Best one so far, save it but keep looking for a better one
6109 ac_cv_path_SED="$ac_path_SED"
6110 ac_path_SED_max=$ac_count
6112 # 10*(2^10) chars as input seems more than enough
6113 test $ac_count -gt 10 && break
6114 done
6115 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6116 esac
6118 $ac_path_SED_found && break 3
6119 done
6120 done
6121 done
6122 IFS=$as_save_IFS
6123 if test -z "$ac_cv_path_SED"; then
6124 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6126 else
6127 ac_cv_path_SED=$SED
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6132 $as_echo "$ac_cv_path_SED" >&6; }
6133 SED="$ac_cv_path_SED"
6134 rm -f conftest.sed
6136 test -z "$SED" && SED=sed
6137 Xsed="$SED -e 1s/^X//"
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6150 $as_echo_n "checking for fgrep... " >&6; }
6151 if ${ac_cv_path_FGREP+:} false; then :
6152 $as_echo_n "(cached) " >&6
6153 else
6154 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6155 then ac_cv_path_FGREP="$GREP -F"
6156 else
6157 if test -z "$FGREP"; then
6158 ac_path_FGREP_found=false
6159 # Loop through the user's path and test for each of PROGNAME-LIST
6160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6161 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6163 IFS=$as_save_IFS
6164 test -z "$as_dir" && as_dir=.
6165 for ac_prog in fgrep; do
6166 for ac_exec_ext in '' $ac_executable_extensions; do
6167 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6168 as_fn_executable_p "$ac_path_FGREP" || continue
6169 # Check for GNU ac_path_FGREP and select it if it is found.
6170 # Check for GNU $ac_path_FGREP
6171 case `"$ac_path_FGREP" --version 2>&1` in
6172 *GNU*)
6173 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6175 ac_count=0
6176 $as_echo_n 0123456789 >"conftest.in"
6177 while :
6179 cat "conftest.in" "conftest.in" >"conftest.tmp"
6180 mv "conftest.tmp" "conftest.in"
6181 cp "conftest.in" "conftest.nl"
6182 $as_echo 'FGREP' >> "conftest.nl"
6183 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6184 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6185 as_fn_arith $ac_count + 1 && ac_count=$as_val
6186 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6187 # Best one so far, save it but keep looking for a better one
6188 ac_cv_path_FGREP="$ac_path_FGREP"
6189 ac_path_FGREP_max=$ac_count
6191 # 10*(2^10) chars as input seems more than enough
6192 test $ac_count -gt 10 && break
6193 done
6194 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6195 esac
6197 $ac_path_FGREP_found && break 3
6198 done
6199 done
6200 done
6201 IFS=$as_save_IFS
6202 if test -z "$ac_cv_path_FGREP"; then
6203 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6205 else
6206 ac_cv_path_FGREP=$FGREP
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6212 $as_echo "$ac_cv_path_FGREP" >&6; }
6213 FGREP="$ac_cv_path_FGREP"
6216 test -z "$GREP" && GREP=grep
6236 # Check whether --with-gnu-ld was given.
6237 if test "${with_gnu_ld+set}" = set; then :
6238 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6239 else
6240 with_gnu_ld=no
6243 ac_prog=ld
6244 if test "$GCC" = yes; then
6245 # Check if gcc -print-prog-name=ld gives a path.
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6247 $as_echo_n "checking for ld used by $CC... " >&6; }
6248 case $host in
6249 *-*-mingw*)
6250 # gcc leaves a trailing carriage return which upsets mingw
6251 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6253 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6254 esac
6255 case $ac_prog in
6256 # Accept absolute paths.
6257 [\\/]* | ?:[\\/]*)
6258 re_direlt='/[^/][^/]*/\.\./'
6259 # Canonicalize the pathname of ld
6260 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6261 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6262 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6263 done
6264 test -z "$LD" && LD="$ac_prog"
6267 # If it fails, then pretend we aren't using GCC.
6268 ac_prog=ld
6271 # If it is relative, then search for the first ld in PATH.
6272 with_gnu_ld=unknown
6274 esac
6275 elif test "$with_gnu_ld" = yes; then
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6277 $as_echo_n "checking for GNU ld... " >&6; }
6278 else
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6280 $as_echo_n "checking for non-GNU ld... " >&6; }
6282 if ${lt_cv_path_LD+:} false; then :
6283 $as_echo_n "(cached) " >&6
6284 else
6285 if test -z "$LD"; then
6286 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6287 for ac_dir in $PATH; do
6288 IFS="$lt_save_ifs"
6289 test -z "$ac_dir" && ac_dir=.
6290 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6291 lt_cv_path_LD="$ac_dir/$ac_prog"
6292 # Check to see if the program is GNU ld. I'd rather use --version,
6293 # but apparently some variants of GNU ld only accept -v.
6294 # Break only if it was the GNU/non-GNU ld that we prefer.
6295 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6296 *GNU* | *'with BFD'*)
6297 test "$with_gnu_ld" != no && break
6300 test "$with_gnu_ld" != yes && break
6302 esac
6304 done
6305 IFS="$lt_save_ifs"
6306 else
6307 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6311 LD="$lt_cv_path_LD"
6312 if test -n "$LD"; then
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6314 $as_echo "$LD" >&6; }
6315 else
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6317 $as_echo "no" >&6; }
6319 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6321 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6322 if ${lt_cv_prog_gnu_ld+:} false; then :
6323 $as_echo_n "(cached) " >&6
6324 else
6325 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6326 case `$LD -v 2>&1 </dev/null` in
6327 *GNU* | *'with BFD'*)
6328 lt_cv_prog_gnu_ld=yes
6331 lt_cv_prog_gnu_ld=no
6333 esac
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6336 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6337 with_gnu_ld=$lt_cv_prog_gnu_ld
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6348 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6349 if ${lt_cv_path_NM+:} false; then :
6350 $as_echo_n "(cached) " >&6
6351 else
6352 if test -n "$NM"; then
6353 # Let the user override the test.
6354 lt_cv_path_NM="$NM"
6355 else
6356 lt_nm_to_check="${ac_tool_prefix}nm"
6357 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6358 lt_nm_to_check="$lt_nm_to_check nm"
6360 for lt_tmp_nm in $lt_nm_to_check; do
6361 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6362 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6363 IFS="$lt_save_ifs"
6364 test -z "$ac_dir" && ac_dir=.
6365 tmp_nm="$ac_dir/$lt_tmp_nm"
6366 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6367 # Check to see if the nm accepts a BSD-compat flag.
6368 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6369 # nm: unknown option "B" ignored
6370 # Tru64's nm complains that /dev/null is an invalid object file
6371 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6372 */dev/null* | *'Invalid file or object type'*)
6373 lt_cv_path_NM="$tmp_nm -B"
6374 break
6377 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6378 */dev/null*)
6379 lt_cv_path_NM="$tmp_nm -p"
6380 break
6383 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6384 continue # so that we can try to find one that supports BSD flags
6386 esac
6388 esac
6390 done
6391 IFS="$lt_save_ifs"
6392 done
6393 : ${lt_cv_path_NM=no}
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6397 $as_echo "$lt_cv_path_NM" >&6; }
6398 if test "$lt_cv_path_NM" != "no"; then
6399 NM="$lt_cv_path_NM"
6400 else
6401 # Didn't find any BSD compatible name lister, look for dumpbin.
6402 if test -n "$DUMPBIN"; then :
6403 # Let the user override the test.
6404 else
6405 if test -n "$ac_tool_prefix"; then
6406 for ac_prog in dumpbin "link -dump"
6408 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6409 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6411 $as_echo_n "checking for $ac_word... " >&6; }
6412 if ${ac_cv_prog_DUMPBIN+:} false; then :
6413 $as_echo_n "(cached) " >&6
6414 else
6415 if test -n "$DUMPBIN"; then
6416 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6417 else
6418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6419 for as_dir in $PATH
6421 IFS=$as_save_IFS
6422 test -z "$as_dir" && as_dir=.
6423 for ac_exec_ext in '' $ac_executable_extensions; do
6424 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6425 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6427 break 2
6429 done
6430 done
6431 IFS=$as_save_IFS
6435 DUMPBIN=$ac_cv_prog_DUMPBIN
6436 if test -n "$DUMPBIN"; then
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6438 $as_echo "$DUMPBIN" >&6; }
6439 else
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6441 $as_echo "no" >&6; }
6445 test -n "$DUMPBIN" && break
6446 done
6448 if test -z "$DUMPBIN"; then
6449 ac_ct_DUMPBIN=$DUMPBIN
6450 for ac_prog in dumpbin "link -dump"
6452 # Extract the first word of "$ac_prog", so it can be a program name with args.
6453 set dummy $ac_prog; ac_word=$2
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6455 $as_echo_n "checking for $ac_word... " >&6; }
6456 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6457 $as_echo_n "(cached) " >&6
6458 else
6459 if test -n "$ac_ct_DUMPBIN"; then
6460 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6461 else
6462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6463 for as_dir in $PATH
6465 IFS=$as_save_IFS
6466 test -z "$as_dir" && as_dir=.
6467 for ac_exec_ext in '' $ac_executable_extensions; do
6468 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6469 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6471 break 2
6473 done
6474 done
6475 IFS=$as_save_IFS
6479 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6480 if test -n "$ac_ct_DUMPBIN"; then
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6482 $as_echo "$ac_ct_DUMPBIN" >&6; }
6483 else
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6485 $as_echo "no" >&6; }
6489 test -n "$ac_ct_DUMPBIN" && break
6490 done
6492 if test "x$ac_ct_DUMPBIN" = x; then
6493 DUMPBIN=":"
6494 else
6495 case $cross_compiling:$ac_tool_warned in
6496 yes:)
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6498 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6499 ac_tool_warned=yes ;;
6500 esac
6501 DUMPBIN=$ac_ct_DUMPBIN
6505 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6506 *COFF*)
6507 DUMPBIN="$DUMPBIN -symbols"
6510 DUMPBIN=:
6512 esac
6515 if test "$DUMPBIN" != ":"; then
6516 NM="$DUMPBIN"
6519 test -z "$NM" && NM=nm
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6527 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6528 if ${lt_cv_nm_interface+:} false; then :
6529 $as_echo_n "(cached) " >&6
6530 else
6531 lt_cv_nm_interface="BSD nm"
6532 echo "int some_variable = 0;" > conftest.$ac_ext
6533 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6534 (eval "$ac_compile" 2>conftest.err)
6535 cat conftest.err >&5
6536 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6537 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6538 cat conftest.err >&5
6539 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6540 cat conftest.out >&5
6541 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6542 lt_cv_nm_interface="MS dumpbin"
6544 rm -f conftest*
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6547 $as_echo "$lt_cv_nm_interface" >&6; }
6549 # find the maximum length of command line arguments
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6551 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6552 if ${lt_cv_sys_max_cmd_len+:} false; then :
6553 $as_echo_n "(cached) " >&6
6554 else
6556 teststring="ABCD"
6558 case $build_os in
6559 msdosdjgpp*)
6560 # On DJGPP, this test can blow up pretty badly due to problems in libc
6561 # (any single argument exceeding 2000 bytes causes a buffer overrun
6562 # during glob expansion). Even if it were fixed, the result of this
6563 # check would be larger than it should be.
6564 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6567 gnu*)
6568 # Under GNU Hurd, this test is not required because there is
6569 # no limit to the length of command line arguments.
6570 # Libtool will interpret -1 as no limit whatsoever
6571 lt_cv_sys_max_cmd_len=-1;
6574 cygwin* | mingw* | cegcc*)
6575 # On Win9x/ME, this test blows up -- it succeeds, but takes
6576 # about 5 minutes as the teststring grows exponentially.
6577 # Worse, since 9x/ME are not pre-emptively multitasking,
6578 # you end up with a "frozen" computer, even though with patience
6579 # the test eventually succeeds (with a max line length of 256k).
6580 # Instead, let's just punt: use the minimum linelength reported by
6581 # all of the supported platforms: 8192 (on NT/2K/XP).
6582 lt_cv_sys_max_cmd_len=8192;
6585 mint*)
6586 # On MiNT this can take a long time and run out of memory.
6587 lt_cv_sys_max_cmd_len=8192;
6590 amigaos*)
6591 # On AmigaOS with pdksh, this test takes hours, literally.
6592 # So we just punt and use a minimum line length of 8192.
6593 lt_cv_sys_max_cmd_len=8192;
6596 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6597 # This has been around since 386BSD, at least. Likely further.
6598 if test -x /sbin/sysctl; then
6599 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6600 elif test -x /usr/sbin/sysctl; then
6601 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6602 else
6603 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6605 # And add a safety zone
6606 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6607 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6610 interix*)
6611 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6612 lt_cv_sys_max_cmd_len=196608
6615 osf*)
6616 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6617 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6618 # nice to cause kernel panics so lets avoid the loop below.
6619 # First set a reasonable default.
6620 lt_cv_sys_max_cmd_len=16384
6622 if test -x /sbin/sysconfig; then
6623 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6624 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6625 esac
6628 sco3.2v5*)
6629 lt_cv_sys_max_cmd_len=102400
6631 sysv5* | sco5v6* | sysv4.2uw2*)
6632 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6633 if test -n "$kargmax"; then
6634 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6635 else
6636 lt_cv_sys_max_cmd_len=32768
6640 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6641 if test -n "$lt_cv_sys_max_cmd_len"; then
6642 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6643 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6644 else
6645 # Make teststring a little bigger before we do anything with it.
6646 # a 1K string should be a reasonable start.
6647 for i in 1 2 3 4 5 6 7 8 ; do
6648 teststring=$teststring$teststring
6649 done
6650 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6651 # If test is not a shell built-in, we'll probably end up computing a
6652 # maximum length that is only half of the actual maximum length, but
6653 # we can't tell.
6654 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6655 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6656 test $i != 17 # 1/2 MB should be enough
6658 i=`expr $i + 1`
6659 teststring=$teststring$teststring
6660 done
6661 # Only check the string length outside the loop.
6662 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6663 teststring=
6664 # Add a significant safety factor because C++ compilers can tack on
6665 # massive amounts of additional arguments before passing them to the
6666 # linker. It appears as though 1/2 is a usable value.
6667 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6670 esac
6674 if test -n $lt_cv_sys_max_cmd_len ; then
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6676 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6677 else
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6679 $as_echo "none" >&6; }
6681 max_cmd_len=$lt_cv_sys_max_cmd_len
6688 : ${CP="cp -f"}
6689 : ${MV="mv -f"}
6690 : ${RM="rm -f"}
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6693 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6694 # Try some XSI features
6695 xsi_shell=no
6696 ( _lt_dummy="a/b/c"
6697 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6698 = c,a/b,, \
6699 && eval 'test $(( 1 + 1 )) -eq 2 \
6700 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6701 && xsi_shell=yes
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6703 $as_echo "$xsi_shell" >&6; }
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6707 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6708 lt_shell_append=no
6709 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6710 >/dev/null 2>&1 \
6711 && lt_shell_append=yes
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6713 $as_echo "$lt_shell_append" >&6; }
6716 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6717 lt_unset=unset
6718 else
6719 lt_unset=false
6726 # test EBCDIC or ASCII
6727 case `echo X|tr X '\101'` in
6728 A) # ASCII based system
6729 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6730 lt_SP2NL='tr \040 \012'
6731 lt_NL2SP='tr \015\012 \040\040'
6733 *) # EBCDIC based system
6734 lt_SP2NL='tr \100 \n'
6735 lt_NL2SP='tr \r\n \100\100'
6737 esac
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6748 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6749 if ${lt_cv_ld_reload_flag+:} false; then :
6750 $as_echo_n "(cached) " >&6
6751 else
6752 lt_cv_ld_reload_flag='-r'
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6755 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6756 reload_flag=$lt_cv_ld_reload_flag
6757 case $reload_flag in
6758 "" | " "*) ;;
6759 *) reload_flag=" $reload_flag" ;;
6760 esac
6761 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6762 case $host_os in
6763 darwin*)
6764 if test "$GCC" = yes; then
6765 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6766 else
6767 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6770 esac
6780 if test -n "$ac_tool_prefix"; then
6781 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6782 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6784 $as_echo_n "checking for $ac_word... " >&6; }
6785 if ${ac_cv_prog_OBJDUMP+:} false; then :
6786 $as_echo_n "(cached) " >&6
6787 else
6788 if test -n "$OBJDUMP"; then
6789 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6790 else
6791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6792 for as_dir in $PATH
6794 IFS=$as_save_IFS
6795 test -z "$as_dir" && as_dir=.
6796 for ac_exec_ext in '' $ac_executable_extensions; do
6797 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6798 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6800 break 2
6802 done
6803 done
6804 IFS=$as_save_IFS
6808 OBJDUMP=$ac_cv_prog_OBJDUMP
6809 if test -n "$OBJDUMP"; then
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6811 $as_echo "$OBJDUMP" >&6; }
6812 else
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6814 $as_echo "no" >&6; }
6819 if test -z "$ac_cv_prog_OBJDUMP"; then
6820 ac_ct_OBJDUMP=$OBJDUMP
6821 # Extract the first word of "objdump", so it can be a program name with args.
6822 set dummy objdump; ac_word=$2
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6824 $as_echo_n "checking for $ac_word... " >&6; }
6825 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6826 $as_echo_n "(cached) " >&6
6827 else
6828 if test -n "$ac_ct_OBJDUMP"; then
6829 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6830 else
6831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6832 for as_dir in $PATH
6834 IFS=$as_save_IFS
6835 test -z "$as_dir" && as_dir=.
6836 for ac_exec_ext in '' $ac_executable_extensions; do
6837 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6838 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6840 break 2
6842 done
6843 done
6844 IFS=$as_save_IFS
6848 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6849 if test -n "$ac_ct_OBJDUMP"; then
6850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6851 $as_echo "$ac_ct_OBJDUMP" >&6; }
6852 else
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6854 $as_echo "no" >&6; }
6857 if test "x$ac_ct_OBJDUMP" = x; then
6858 OBJDUMP="false"
6859 else
6860 case $cross_compiling:$ac_tool_warned in
6861 yes:)
6862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6863 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6864 ac_tool_warned=yes ;;
6865 esac
6866 OBJDUMP=$ac_ct_OBJDUMP
6868 else
6869 OBJDUMP="$ac_cv_prog_OBJDUMP"
6872 test -z "$OBJDUMP" && OBJDUMP=objdump
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6883 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6884 if ${lt_cv_deplibs_check_method+:} false; then :
6885 $as_echo_n "(cached) " >&6
6886 else
6887 lt_cv_file_magic_cmd='$MAGIC_CMD'
6888 lt_cv_file_magic_test_file=
6889 lt_cv_deplibs_check_method='unknown'
6890 # Need to set the preceding variable on all platforms that support
6891 # interlibrary dependencies.
6892 # 'none' -- dependencies not supported.
6893 # `unknown' -- same as none, but documents that we really don't know.
6894 # 'pass_all' -- all dependencies passed with no checks.
6895 # 'test_compile' -- check by making test program.
6896 # 'file_magic [[regex]]' -- check by looking for files in library path
6897 # which responds to the $file_magic_cmd with a given extended regex.
6898 # If you have `file' or equivalent on your system and you're not sure
6899 # whether `pass_all' will *always* work, you probably want this one.
6901 case $host_os in
6902 aix[4-9]*)
6903 lt_cv_deplibs_check_method=pass_all
6906 beos*)
6907 lt_cv_deplibs_check_method=pass_all
6910 bsdi[45]*)
6911 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6912 lt_cv_file_magic_cmd='/usr/bin/file -L'
6913 lt_cv_file_magic_test_file=/shlib/libc.so
6916 cygwin*)
6917 # func_win32_libid is a shell function defined in ltmain.sh
6918 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6919 lt_cv_file_magic_cmd='func_win32_libid'
6922 mingw* | pw32*)
6923 # Base MSYS/MinGW do not provide the 'file' command needed by
6924 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6925 # unless we find 'file', for example because we are cross-compiling.
6926 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6927 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6928 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6929 lt_cv_file_magic_cmd='func_win32_libid'
6930 else
6931 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6932 lt_cv_file_magic_cmd='$OBJDUMP -f'
6936 cegcc*)
6937 # use the weaker test based on 'objdump'. See mingw*.
6938 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6939 lt_cv_file_magic_cmd='$OBJDUMP -f'
6942 darwin* | rhapsody*)
6943 lt_cv_deplibs_check_method=pass_all
6946 freebsd* | dragonfly*)
6947 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6948 case $host_cpu in
6949 i*86 )
6950 # Not sure whether the presence of OpenBSD here was a mistake.
6951 # Let's accept both of them until this is cleared up.
6952 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6953 lt_cv_file_magic_cmd=/usr/bin/file
6954 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6956 esac
6957 else
6958 lt_cv_deplibs_check_method=pass_all
6962 gnu*)
6963 lt_cv_deplibs_check_method=pass_all
6966 haiku*)
6967 lt_cv_deplibs_check_method=pass_all
6970 hpux10.20* | hpux11*)
6971 lt_cv_file_magic_cmd=/usr/bin/file
6972 case $host_cpu in
6973 ia64*)
6974 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6975 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6977 hppa*64*)
6978 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]'
6979 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6982 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6983 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6985 esac
6988 interix[3-9]*)
6989 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6990 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6993 irix5* | irix6* | nonstopux*)
6994 case $LD in
6995 *-32|*"-32 ") libmagic=32-bit;;
6996 *-n32|*"-n32 ") libmagic=N32;;
6997 *-64|*"-64 ") libmagic=64-bit;;
6998 *) libmagic=never-match;;
6999 esac
7000 lt_cv_deplibs_check_method=pass_all
7003 # This must be Linux ELF.
7004 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
7005 lt_cv_deplibs_check_method=pass_all
7008 netbsd*)
7009 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7010 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7011 else
7012 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7016 newos6*)
7017 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7018 lt_cv_file_magic_cmd=/usr/bin/file
7019 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7022 *nto* | *qnx*)
7023 lt_cv_deplibs_check_method=pass_all
7026 openbsd*)
7027 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7028 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7029 else
7030 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7034 osf3* | osf4* | osf5*)
7035 lt_cv_deplibs_check_method=pass_all
7038 rdos*)
7039 lt_cv_deplibs_check_method=pass_all
7042 solaris*)
7043 lt_cv_deplibs_check_method=pass_all
7046 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7047 lt_cv_deplibs_check_method=pass_all
7050 sysv4 | sysv4.3*)
7051 case $host_vendor in
7052 motorola)
7053 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]'
7054 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7056 ncr)
7057 lt_cv_deplibs_check_method=pass_all
7059 sequent)
7060 lt_cv_file_magic_cmd='/bin/file'
7061 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7063 sni)
7064 lt_cv_file_magic_cmd='/bin/file'
7065 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7066 lt_cv_file_magic_test_file=/lib/libc.so
7068 siemens)
7069 lt_cv_deplibs_check_method=pass_all
7072 lt_cv_deplibs_check_method=pass_all
7074 esac
7077 tpf*)
7078 lt_cv_deplibs_check_method=pass_all
7080 esac
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7084 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7085 file_magic_cmd=$lt_cv_file_magic_cmd
7086 deplibs_check_method=$lt_cv_deplibs_check_method
7087 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7100 if test -n "$ac_tool_prefix"; then
7101 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7102 set dummy ${ac_tool_prefix}ar; ac_word=$2
7103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7104 $as_echo_n "checking for $ac_word... " >&6; }
7105 if ${ac_cv_prog_AR+:} false; then :
7106 $as_echo_n "(cached) " >&6
7107 else
7108 if test -n "$AR"; then
7109 ac_cv_prog_AR="$AR" # Let the user override the test.
7110 else
7111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7112 for as_dir in $PATH
7114 IFS=$as_save_IFS
7115 test -z "$as_dir" && as_dir=.
7116 for ac_exec_ext in '' $ac_executable_extensions; do
7117 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7118 ac_cv_prog_AR="${ac_tool_prefix}ar"
7119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7120 break 2
7122 done
7123 done
7124 IFS=$as_save_IFS
7128 AR=$ac_cv_prog_AR
7129 if test -n "$AR"; then
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7131 $as_echo "$AR" >&6; }
7132 else
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7134 $as_echo "no" >&6; }
7139 if test -z "$ac_cv_prog_AR"; then
7140 ac_ct_AR=$AR
7141 # Extract the first word of "ar", so it can be a program name with args.
7142 set dummy ar; ac_word=$2
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7144 $as_echo_n "checking for $ac_word... " >&6; }
7145 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7146 $as_echo_n "(cached) " >&6
7147 else
7148 if test -n "$ac_ct_AR"; then
7149 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7150 else
7151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7152 for as_dir in $PATH
7154 IFS=$as_save_IFS
7155 test -z "$as_dir" && as_dir=.
7156 for ac_exec_ext in '' $ac_executable_extensions; do
7157 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7158 ac_cv_prog_ac_ct_AR="ar"
7159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7160 break 2
7162 done
7163 done
7164 IFS=$as_save_IFS
7168 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7169 if test -n "$ac_ct_AR"; then
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7171 $as_echo "$ac_ct_AR" >&6; }
7172 else
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7174 $as_echo "no" >&6; }
7177 if test "x$ac_ct_AR" = x; then
7178 AR="false"
7179 else
7180 case $cross_compiling:$ac_tool_warned in
7181 yes:)
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7183 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7184 ac_tool_warned=yes ;;
7185 esac
7186 AR=$ac_ct_AR
7188 else
7189 AR="$ac_cv_prog_AR"
7192 test -z "$AR" && AR=ar
7193 test -z "$AR_FLAGS" && AR_FLAGS=cru
7205 if test -n "$ac_tool_prefix"; then
7206 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7207 set dummy ${ac_tool_prefix}strip; ac_word=$2
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7209 $as_echo_n "checking for $ac_word... " >&6; }
7210 if ${ac_cv_prog_STRIP+:} false; then :
7211 $as_echo_n "(cached) " >&6
7212 else
7213 if test -n "$STRIP"; then
7214 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7215 else
7216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7217 for as_dir in $PATH
7219 IFS=$as_save_IFS
7220 test -z "$as_dir" && as_dir=.
7221 for ac_exec_ext in '' $ac_executable_extensions; do
7222 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7223 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7225 break 2
7227 done
7228 done
7229 IFS=$as_save_IFS
7233 STRIP=$ac_cv_prog_STRIP
7234 if test -n "$STRIP"; then
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7236 $as_echo "$STRIP" >&6; }
7237 else
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7239 $as_echo "no" >&6; }
7244 if test -z "$ac_cv_prog_STRIP"; then
7245 ac_ct_STRIP=$STRIP
7246 # Extract the first word of "strip", so it can be a program name with args.
7247 set dummy strip; ac_word=$2
7248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7249 $as_echo_n "checking for $ac_word... " >&6; }
7250 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7251 $as_echo_n "(cached) " >&6
7252 else
7253 if test -n "$ac_ct_STRIP"; then
7254 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7255 else
7256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7257 for as_dir in $PATH
7259 IFS=$as_save_IFS
7260 test -z "$as_dir" && as_dir=.
7261 for ac_exec_ext in '' $ac_executable_extensions; do
7262 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7263 ac_cv_prog_ac_ct_STRIP="strip"
7264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7265 break 2
7267 done
7268 done
7269 IFS=$as_save_IFS
7273 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7274 if test -n "$ac_ct_STRIP"; then
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7276 $as_echo "$ac_ct_STRIP" >&6; }
7277 else
7278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7279 $as_echo "no" >&6; }
7282 if test "x$ac_ct_STRIP" = x; then
7283 STRIP=":"
7284 else
7285 case $cross_compiling:$ac_tool_warned in
7286 yes:)
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7288 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7289 ac_tool_warned=yes ;;
7290 esac
7291 STRIP=$ac_ct_STRIP
7293 else
7294 STRIP="$ac_cv_prog_STRIP"
7297 test -z "$STRIP" && STRIP=:
7304 if test -n "$ac_tool_prefix"; then
7305 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7306 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7308 $as_echo_n "checking for $ac_word... " >&6; }
7309 if ${ac_cv_prog_RANLIB+:} false; then :
7310 $as_echo_n "(cached) " >&6
7311 else
7312 if test -n "$RANLIB"; then
7313 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7314 else
7315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7316 for as_dir in $PATH
7318 IFS=$as_save_IFS
7319 test -z "$as_dir" && as_dir=.
7320 for ac_exec_ext in '' $ac_executable_extensions; do
7321 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7322 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7324 break 2
7326 done
7327 done
7328 IFS=$as_save_IFS
7332 RANLIB=$ac_cv_prog_RANLIB
7333 if test -n "$RANLIB"; then
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7335 $as_echo "$RANLIB" >&6; }
7336 else
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7338 $as_echo "no" >&6; }
7343 if test -z "$ac_cv_prog_RANLIB"; then
7344 ac_ct_RANLIB=$RANLIB
7345 # Extract the first word of "ranlib", so it can be a program name with args.
7346 set dummy ranlib; ac_word=$2
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7348 $as_echo_n "checking for $ac_word... " >&6; }
7349 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7350 $as_echo_n "(cached) " >&6
7351 else
7352 if test -n "$ac_ct_RANLIB"; then
7353 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7354 else
7355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7356 for as_dir in $PATH
7358 IFS=$as_save_IFS
7359 test -z "$as_dir" && as_dir=.
7360 for ac_exec_ext in '' $ac_executable_extensions; do
7361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7362 ac_cv_prog_ac_ct_RANLIB="ranlib"
7363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7364 break 2
7366 done
7367 done
7368 IFS=$as_save_IFS
7372 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7373 if test -n "$ac_ct_RANLIB"; then
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7375 $as_echo "$ac_ct_RANLIB" >&6; }
7376 else
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7378 $as_echo "no" >&6; }
7381 if test "x$ac_ct_RANLIB" = x; then
7382 RANLIB=":"
7383 else
7384 case $cross_compiling:$ac_tool_warned in
7385 yes:)
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7387 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7388 ac_tool_warned=yes ;;
7389 esac
7390 RANLIB=$ac_ct_RANLIB
7392 else
7393 RANLIB="$ac_cv_prog_RANLIB"
7396 test -z "$RANLIB" && RANLIB=:
7403 # Determine commands to create old-style static archives.
7404 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7405 old_postinstall_cmds='chmod 644 $oldlib'
7406 old_postuninstall_cmds=
7408 if test -n "$RANLIB"; then
7409 case $host_os in
7410 openbsd*)
7411 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7414 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7416 esac
7417 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7420 case $host_os in
7421 darwin*)
7422 lock_old_archive_extraction=yes ;;
7424 lock_old_archive_extraction=no ;;
7425 esac
7465 # If no C compiler was specified, use CC.
7466 LTCC=${LTCC-"$CC"}
7468 # If no C compiler flags were specified, use CFLAGS.
7469 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7471 # Allow CC to be a program name with arguments.
7472 compiler=$CC
7475 # Check for command to grab the raw symbol name followed by C symbol from nm.
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7477 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7478 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7479 $as_echo_n "(cached) " >&6
7480 else
7482 # These are sane defaults that work on at least a few old systems.
7483 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7485 # Character class describing NM global symbol codes.
7486 symcode='[BCDEGRST]'
7488 # Regexp to match symbols that can be accessed directly from C.
7489 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7491 # Define system-specific variables.
7492 case $host_os in
7493 aix*)
7494 symcode='[BCDT]'
7496 cygwin* | mingw* | pw32* | cegcc*)
7497 symcode='[ABCDGISTW]'
7499 hpux*)
7500 if test "$host_cpu" = ia64; then
7501 symcode='[ABCDEGRST]'
7504 irix* | nonstopux*)
7505 symcode='[BCDEGRST]'
7507 osf*)
7508 symcode='[BCDEGQRST]'
7510 solaris*)
7511 symcode='[BDRT]'
7513 sco3.2v5*)
7514 symcode='[DT]'
7516 sysv4.2uw2*)
7517 symcode='[DT]'
7519 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7520 symcode='[ABDT]'
7522 sysv4)
7523 symcode='[DFNSTU]'
7525 esac
7527 # If we're using GNU nm, then use its standard symbol codes.
7528 case `$NM -V 2>&1` in
7529 *GNU* | *'with BFD'*)
7530 symcode='[ABCDGIRSTW]' ;;
7531 esac
7533 # Transform an extracted symbol line into a proper C declaration.
7534 # Some systems (esp. on ia64) link data and code symbols differently,
7535 # so use this general approach.
7536 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7538 # Transform an extracted symbol line into symbol name and symbol address
7539 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7540 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'"
7542 # Handle CRLF in mingw tool chain
7543 opt_cr=
7544 case $build_os in
7545 mingw*)
7546 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7548 esac
7550 # Try without a prefix underscore, then with it.
7551 for ac_symprfx in "" "_"; do
7553 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7554 symxfrm="\\1 $ac_symprfx\\2 \\2"
7556 # Write the raw and C identifiers.
7557 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7558 # Fake it for dumpbin and say T for any non-static function
7559 # and D for any global variable.
7560 # Also find C++ and __fastcall symbols from MSVC++,
7561 # which start with @ or ?.
7562 lt_cv_sys_global_symbol_pipe="$AWK '"\
7563 " {last_section=section; section=\$ 3};"\
7564 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7565 " \$ 0!~/External *\|/{next};"\
7566 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7567 " {if(hide[section]) next};"\
7568 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7569 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7570 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7571 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7572 " ' prfx=^$ac_symprfx"
7573 else
7574 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7577 # Check to see that the pipe works correctly.
7578 pipe_works=no
7580 rm -f conftest*
7581 cat > conftest.$ac_ext <<_LT_EOF
7582 #ifdef __cplusplus
7583 extern "C" {
7584 #endif
7585 char nm_test_var;
7586 void nm_test_func(void);
7587 void nm_test_func(void){}
7588 #ifdef __cplusplus
7590 #endif
7591 int main(){nm_test_var='a';nm_test_func();return(0);}
7592 _LT_EOF
7594 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7595 (eval $ac_compile) 2>&5
7596 ac_status=$?
7597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7598 test $ac_status = 0; }; then
7599 # Now try to grab the symbols.
7600 nlist=conftest.nm
7601 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7602 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7603 ac_status=$?
7604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7605 test $ac_status = 0; } && test -s "$nlist"; then
7606 # Try sorting and uniquifying the output.
7607 if sort "$nlist" | uniq > "$nlist"T; then
7608 mv -f "$nlist"T "$nlist"
7609 else
7610 rm -f "$nlist"T
7613 # Make sure that we snagged all the symbols we need.
7614 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7615 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7616 cat <<_LT_EOF > conftest.$ac_ext
7617 #ifdef __cplusplus
7618 extern "C" {
7619 #endif
7621 _LT_EOF
7622 # Now generate the symbol file.
7623 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7625 cat <<_LT_EOF >> conftest.$ac_ext
7627 /* The mapping between symbol names and symbols. */
7628 const struct {
7629 const char *name;
7630 void *address;
7632 lt__PROGRAM__LTX_preloaded_symbols[] =
7634 { "@PROGRAM@", (void *) 0 },
7635 _LT_EOF
7636 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7637 cat <<\_LT_EOF >> conftest.$ac_ext
7638 {0, (void *) 0}
7641 /* This works around a problem in FreeBSD linker */
7642 #ifdef FREEBSD_WORKAROUND
7643 static const void *lt_preloaded_setup() {
7644 return lt__PROGRAM__LTX_preloaded_symbols;
7646 #endif
7648 #ifdef __cplusplus
7650 #endif
7651 _LT_EOF
7652 # Now try linking the two files.
7653 mv conftest.$ac_objext conftstm.$ac_objext
7654 lt_save_LIBS="$LIBS"
7655 lt_save_CFLAGS="$CFLAGS"
7656 LIBS="conftstm.$ac_objext"
7657 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7658 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7659 (eval $ac_link) 2>&5
7660 ac_status=$?
7661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7662 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7663 pipe_works=yes
7665 LIBS="$lt_save_LIBS"
7666 CFLAGS="$lt_save_CFLAGS"
7667 else
7668 echo "cannot find nm_test_func in $nlist" >&5
7670 else
7671 echo "cannot find nm_test_var in $nlist" >&5
7673 else
7674 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7676 else
7677 echo "$progname: failed program was:" >&5
7678 cat conftest.$ac_ext >&5
7680 rm -rf conftest* conftst*
7682 # Do not use the global_symbol_pipe unless it works.
7683 if test "$pipe_works" = yes; then
7684 break
7685 else
7686 lt_cv_sys_global_symbol_pipe=
7688 done
7692 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7693 lt_cv_sys_global_symbol_to_cdecl=
7695 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7697 $as_echo "failed" >&6; }
7698 else
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7700 $as_echo "ok" >&6; }
7724 # Check whether --enable-libtool-lock was given.
7725 if test "${enable_libtool_lock+set}" = set; then :
7726 enableval=$enable_libtool_lock;
7729 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7731 # Some flags need to be propagated to the compiler or linker for good
7732 # libtool support.
7733 case $host in
7734 ia64-*-hpux*)
7735 # Find out which ABI we are using.
7736 echo 'int i;' > conftest.$ac_ext
7737 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7738 (eval $ac_compile) 2>&5
7739 ac_status=$?
7740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7741 test $ac_status = 0; }; then
7742 case `/usr/bin/file conftest.$ac_objext` in
7743 *ELF-32*)
7744 HPUX_IA64_MODE="32"
7746 *ELF-64*)
7747 HPUX_IA64_MODE="64"
7749 esac
7751 rm -rf conftest*
7753 *-*-irix6*)
7754 # Find out which ABI we are using.
7755 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7756 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7757 (eval $ac_compile) 2>&5
7758 ac_status=$?
7759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7760 test $ac_status = 0; }; then
7761 if test "$lt_cv_prog_gnu_ld" = yes; then
7762 case `/usr/bin/file conftest.$ac_objext` in
7763 *32-bit*)
7764 LD="${LD-ld} -melf32bsmip"
7766 *N32*)
7767 LD="${LD-ld} -melf32bmipn32"
7769 *64-bit*)
7770 LD="${LD-ld} -melf64bmip"
7772 esac
7773 else
7774 case `/usr/bin/file conftest.$ac_objext` in
7775 *32-bit*)
7776 LD="${LD-ld} -32"
7778 *N32*)
7779 LD="${LD-ld} -n32"
7781 *64-bit*)
7782 LD="${LD-ld} -64"
7784 esac
7787 rm -rf conftest*
7790 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7791 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7792 # Find out which ABI we are using.
7793 echo 'int i;' > conftest.$ac_ext
7794 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7795 (eval $ac_compile) 2>&5
7796 ac_status=$?
7797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7798 test $ac_status = 0; }; then
7799 case `/usr/bin/file conftest.o` in
7800 *32-bit*)
7801 case $host in
7802 x86_64-*kfreebsd*-gnu)
7803 LD="${LD-ld} -m elf_i386_fbsd"
7805 x86_64-*linux*)
7806 case `/usr/bin/file conftest.o` in
7807 *x86-64*)
7808 LD="${LD-ld} -m elf32_x86_64"
7811 LD="${LD-ld} -m elf_i386"
7813 esac
7815 powerpc64le-*linux*)
7816 LD="${LD-ld} -m elf32lppclinux"
7818 powerpc64-*linux*)
7819 LD="${LD-ld} -m elf32ppclinux"
7821 s390x-*linux*)
7822 LD="${LD-ld} -m elf_s390"
7824 sparc64-*linux*)
7825 LD="${LD-ld} -m elf32_sparc"
7827 esac
7829 *64-bit*)
7830 case $host in
7831 x86_64-*kfreebsd*-gnu)
7832 LD="${LD-ld} -m elf_x86_64_fbsd"
7834 x86_64-*linux*)
7835 LD="${LD-ld} -m elf_x86_64"
7837 powerpcle-*linux*)
7838 LD="${LD-ld} -m elf64lppc"
7840 powerpc-*linux*)
7841 LD="${LD-ld} -m elf64ppc"
7843 s390*-*linux*|s390*-*tpf*)
7844 LD="${LD-ld} -m elf64_s390"
7846 sparc*-*linux*)
7847 LD="${LD-ld} -m elf64_sparc"
7849 esac
7851 esac
7853 rm -rf conftest*
7856 *-*-sco3.2v5*)
7857 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7858 SAVE_CFLAGS="$CFLAGS"
7859 CFLAGS="$CFLAGS -belf"
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7861 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7862 if ${lt_cv_cc_needs_belf+:} false; then :
7863 $as_echo_n "(cached) " >&6
7864 else
7865 ac_ext=c
7866 ac_cpp='$CPP $CPPFLAGS'
7867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7871 if test x$gcc_no_link = xyes; then
7872 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7875 /* end confdefs.h. */
7878 main ()
7882 return 0;
7884 _ACEOF
7885 if ac_fn_c_try_link "$LINENO"; then :
7886 lt_cv_cc_needs_belf=yes
7887 else
7888 lt_cv_cc_needs_belf=no
7890 rm -f core conftest.err conftest.$ac_objext \
7891 conftest$ac_exeext conftest.$ac_ext
7892 ac_ext=c
7893 ac_cpp='$CPP $CPPFLAGS'
7894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7900 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7901 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7902 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7903 CFLAGS="$SAVE_CFLAGS"
7906 sparc*-*solaris*)
7907 # Find out which ABI we are using.
7908 echo 'int i;' > conftest.$ac_ext
7909 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7910 (eval $ac_compile) 2>&5
7911 ac_status=$?
7912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7913 test $ac_status = 0; }; then
7914 case `/usr/bin/file conftest.o` in
7915 *64-bit*)
7916 case $lt_cv_prog_gnu_ld in
7917 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7919 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7920 LD="${LD-ld} -64"
7923 esac
7925 esac
7927 rm -rf conftest*
7929 esac
7931 need_locks="$enable_libtool_lock"
7934 case $host_os in
7935 rhapsody* | darwin*)
7936 if test -n "$ac_tool_prefix"; then
7937 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7938 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7940 $as_echo_n "checking for $ac_word... " >&6; }
7941 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7942 $as_echo_n "(cached) " >&6
7943 else
7944 if test -n "$DSYMUTIL"; then
7945 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7946 else
7947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7948 for as_dir in $PATH
7950 IFS=$as_save_IFS
7951 test -z "$as_dir" && as_dir=.
7952 for ac_exec_ext in '' $ac_executable_extensions; do
7953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7954 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7956 break 2
7958 done
7959 done
7960 IFS=$as_save_IFS
7964 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7965 if test -n "$DSYMUTIL"; then
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7967 $as_echo "$DSYMUTIL" >&6; }
7968 else
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7970 $as_echo "no" >&6; }
7975 if test -z "$ac_cv_prog_DSYMUTIL"; then
7976 ac_ct_DSYMUTIL=$DSYMUTIL
7977 # Extract the first word of "dsymutil", so it can be a program name with args.
7978 set dummy dsymutil; ac_word=$2
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7980 $as_echo_n "checking for $ac_word... " >&6; }
7981 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7982 $as_echo_n "(cached) " >&6
7983 else
7984 if test -n "$ac_ct_DSYMUTIL"; then
7985 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7986 else
7987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7988 for as_dir in $PATH
7990 IFS=$as_save_IFS
7991 test -z "$as_dir" && as_dir=.
7992 for ac_exec_ext in '' $ac_executable_extensions; do
7993 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7994 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7996 break 2
7998 done
7999 done
8000 IFS=$as_save_IFS
8004 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8005 if test -n "$ac_ct_DSYMUTIL"; then
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8007 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8008 else
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8010 $as_echo "no" >&6; }
8013 if test "x$ac_ct_DSYMUTIL" = x; then
8014 DSYMUTIL=":"
8015 else
8016 case $cross_compiling:$ac_tool_warned in
8017 yes:)
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8019 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8020 ac_tool_warned=yes ;;
8021 esac
8022 DSYMUTIL=$ac_ct_DSYMUTIL
8024 else
8025 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8028 if test -n "$ac_tool_prefix"; then
8029 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8030 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8032 $as_echo_n "checking for $ac_word... " >&6; }
8033 if ${ac_cv_prog_NMEDIT+:} false; then :
8034 $as_echo_n "(cached) " >&6
8035 else
8036 if test -n "$NMEDIT"; then
8037 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8038 else
8039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8040 for as_dir in $PATH
8042 IFS=$as_save_IFS
8043 test -z "$as_dir" && as_dir=.
8044 for ac_exec_ext in '' $ac_executable_extensions; do
8045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8046 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8048 break 2
8050 done
8051 done
8052 IFS=$as_save_IFS
8056 NMEDIT=$ac_cv_prog_NMEDIT
8057 if test -n "$NMEDIT"; then
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8059 $as_echo "$NMEDIT" >&6; }
8060 else
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8062 $as_echo "no" >&6; }
8067 if test -z "$ac_cv_prog_NMEDIT"; then
8068 ac_ct_NMEDIT=$NMEDIT
8069 # Extract the first word of "nmedit", so it can be a program name with args.
8070 set dummy nmedit; ac_word=$2
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8072 $as_echo_n "checking for $ac_word... " >&6; }
8073 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8074 $as_echo_n "(cached) " >&6
8075 else
8076 if test -n "$ac_ct_NMEDIT"; then
8077 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8078 else
8079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8080 for as_dir in $PATH
8082 IFS=$as_save_IFS
8083 test -z "$as_dir" && as_dir=.
8084 for ac_exec_ext in '' $ac_executable_extensions; do
8085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8086 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8088 break 2
8090 done
8091 done
8092 IFS=$as_save_IFS
8096 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8097 if test -n "$ac_ct_NMEDIT"; then
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8099 $as_echo "$ac_ct_NMEDIT" >&6; }
8100 else
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8102 $as_echo "no" >&6; }
8105 if test "x$ac_ct_NMEDIT" = x; then
8106 NMEDIT=":"
8107 else
8108 case $cross_compiling:$ac_tool_warned in
8109 yes:)
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8111 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8112 ac_tool_warned=yes ;;
8113 esac
8114 NMEDIT=$ac_ct_NMEDIT
8116 else
8117 NMEDIT="$ac_cv_prog_NMEDIT"
8120 if test -n "$ac_tool_prefix"; then
8121 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8122 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8124 $as_echo_n "checking for $ac_word... " >&6; }
8125 if ${ac_cv_prog_LIPO+:} false; then :
8126 $as_echo_n "(cached) " >&6
8127 else
8128 if test -n "$LIPO"; then
8129 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8130 else
8131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8132 for as_dir in $PATH
8134 IFS=$as_save_IFS
8135 test -z "$as_dir" && as_dir=.
8136 for ac_exec_ext in '' $ac_executable_extensions; do
8137 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8138 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8140 break 2
8142 done
8143 done
8144 IFS=$as_save_IFS
8148 LIPO=$ac_cv_prog_LIPO
8149 if test -n "$LIPO"; then
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8151 $as_echo "$LIPO" >&6; }
8152 else
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8154 $as_echo "no" >&6; }
8159 if test -z "$ac_cv_prog_LIPO"; then
8160 ac_ct_LIPO=$LIPO
8161 # Extract the first word of "lipo", so it can be a program name with args.
8162 set dummy lipo; ac_word=$2
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8164 $as_echo_n "checking for $ac_word... " >&6; }
8165 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8166 $as_echo_n "(cached) " >&6
8167 else
8168 if test -n "$ac_ct_LIPO"; then
8169 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8170 else
8171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8172 for as_dir in $PATH
8174 IFS=$as_save_IFS
8175 test -z "$as_dir" && as_dir=.
8176 for ac_exec_ext in '' $ac_executable_extensions; do
8177 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8178 ac_cv_prog_ac_ct_LIPO="lipo"
8179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8180 break 2
8182 done
8183 done
8184 IFS=$as_save_IFS
8188 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8189 if test -n "$ac_ct_LIPO"; then
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8191 $as_echo "$ac_ct_LIPO" >&6; }
8192 else
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8194 $as_echo "no" >&6; }
8197 if test "x$ac_ct_LIPO" = x; then
8198 LIPO=":"
8199 else
8200 case $cross_compiling:$ac_tool_warned in
8201 yes:)
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8203 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8204 ac_tool_warned=yes ;;
8205 esac
8206 LIPO=$ac_ct_LIPO
8208 else
8209 LIPO="$ac_cv_prog_LIPO"
8212 if test -n "$ac_tool_prefix"; then
8213 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8214 set dummy ${ac_tool_prefix}otool; ac_word=$2
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8216 $as_echo_n "checking for $ac_word... " >&6; }
8217 if ${ac_cv_prog_OTOOL+:} false; then :
8218 $as_echo_n "(cached) " >&6
8219 else
8220 if test -n "$OTOOL"; then
8221 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8222 else
8223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8224 for as_dir in $PATH
8226 IFS=$as_save_IFS
8227 test -z "$as_dir" && as_dir=.
8228 for ac_exec_ext in '' $ac_executable_extensions; do
8229 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8230 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8232 break 2
8234 done
8235 done
8236 IFS=$as_save_IFS
8240 OTOOL=$ac_cv_prog_OTOOL
8241 if test -n "$OTOOL"; then
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8243 $as_echo "$OTOOL" >&6; }
8244 else
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8246 $as_echo "no" >&6; }
8251 if test -z "$ac_cv_prog_OTOOL"; then
8252 ac_ct_OTOOL=$OTOOL
8253 # Extract the first word of "otool", so it can be a program name with args.
8254 set dummy otool; ac_word=$2
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8256 $as_echo_n "checking for $ac_word... " >&6; }
8257 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8258 $as_echo_n "(cached) " >&6
8259 else
8260 if test -n "$ac_ct_OTOOL"; then
8261 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8262 else
8263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8264 for as_dir in $PATH
8266 IFS=$as_save_IFS
8267 test -z "$as_dir" && as_dir=.
8268 for ac_exec_ext in '' $ac_executable_extensions; do
8269 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8270 ac_cv_prog_ac_ct_OTOOL="otool"
8271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8272 break 2
8274 done
8275 done
8276 IFS=$as_save_IFS
8280 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8281 if test -n "$ac_ct_OTOOL"; then
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8283 $as_echo "$ac_ct_OTOOL" >&6; }
8284 else
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8286 $as_echo "no" >&6; }
8289 if test "x$ac_ct_OTOOL" = x; then
8290 OTOOL=":"
8291 else
8292 case $cross_compiling:$ac_tool_warned in
8293 yes:)
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8295 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8296 ac_tool_warned=yes ;;
8297 esac
8298 OTOOL=$ac_ct_OTOOL
8300 else
8301 OTOOL="$ac_cv_prog_OTOOL"
8304 if test -n "$ac_tool_prefix"; then
8305 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8306 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8308 $as_echo_n "checking for $ac_word... " >&6; }
8309 if ${ac_cv_prog_OTOOL64+:} false; then :
8310 $as_echo_n "(cached) " >&6
8311 else
8312 if test -n "$OTOOL64"; then
8313 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8314 else
8315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8316 for as_dir in $PATH
8318 IFS=$as_save_IFS
8319 test -z "$as_dir" && as_dir=.
8320 for ac_exec_ext in '' $ac_executable_extensions; do
8321 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8322 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8324 break 2
8326 done
8327 done
8328 IFS=$as_save_IFS
8332 OTOOL64=$ac_cv_prog_OTOOL64
8333 if test -n "$OTOOL64"; then
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8335 $as_echo "$OTOOL64" >&6; }
8336 else
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8338 $as_echo "no" >&6; }
8343 if test -z "$ac_cv_prog_OTOOL64"; then
8344 ac_ct_OTOOL64=$OTOOL64
8345 # Extract the first word of "otool64", so it can be a program name with args.
8346 set dummy otool64; ac_word=$2
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8348 $as_echo_n "checking for $ac_word... " >&6; }
8349 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8350 $as_echo_n "(cached) " >&6
8351 else
8352 if test -n "$ac_ct_OTOOL64"; then
8353 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8354 else
8355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8356 for as_dir in $PATH
8358 IFS=$as_save_IFS
8359 test -z "$as_dir" && as_dir=.
8360 for ac_exec_ext in '' $ac_executable_extensions; do
8361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8362 ac_cv_prog_ac_ct_OTOOL64="otool64"
8363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8364 break 2
8366 done
8367 done
8368 IFS=$as_save_IFS
8372 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8373 if test -n "$ac_ct_OTOOL64"; then
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8375 $as_echo "$ac_ct_OTOOL64" >&6; }
8376 else
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8378 $as_echo "no" >&6; }
8381 if test "x$ac_ct_OTOOL64" = x; then
8382 OTOOL64=":"
8383 else
8384 case $cross_compiling:$ac_tool_warned in
8385 yes:)
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8387 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8388 ac_tool_warned=yes ;;
8389 esac
8390 OTOOL64=$ac_ct_OTOOL64
8392 else
8393 OTOOL64="$ac_cv_prog_OTOOL64"
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8423 $as_echo_n "checking for -single_module linker flag... " >&6; }
8424 if ${lt_cv_apple_cc_single_mod+:} false; then :
8425 $as_echo_n "(cached) " >&6
8426 else
8427 lt_cv_apple_cc_single_mod=no
8428 if test -z "${LT_MULTI_MODULE}"; then
8429 # By default we will add the -single_module flag. You can override
8430 # by either setting the environment variable LT_MULTI_MODULE
8431 # non-empty at configure time, or by adding -multi_module to the
8432 # link flags.
8433 rm -rf libconftest.dylib*
8434 echo "int foo(void){return 1;}" > conftest.c
8435 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8436 -dynamiclib -Wl,-single_module conftest.c" >&5
8437 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8438 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8439 _lt_result=$?
8440 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8441 lt_cv_apple_cc_single_mod=yes
8442 else
8443 cat conftest.err >&5
8445 rm -rf libconftest.dylib*
8446 rm -f conftest.*
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8450 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8452 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8453 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8454 $as_echo_n "(cached) " >&6
8455 else
8456 lt_cv_ld_exported_symbols_list=no
8457 save_LDFLAGS=$LDFLAGS
8458 echo "_main" > conftest.sym
8459 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8460 if test x$gcc_no_link = xyes; then
8461 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8464 /* end confdefs.h. */
8467 main ()
8471 return 0;
8473 _ACEOF
8474 if ac_fn_c_try_link "$LINENO"; then :
8475 lt_cv_ld_exported_symbols_list=yes
8476 else
8477 lt_cv_ld_exported_symbols_list=no
8479 rm -f core conftest.err conftest.$ac_objext \
8480 conftest$ac_exeext conftest.$ac_ext
8481 LDFLAGS="$save_LDFLAGS"
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8485 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8487 $as_echo_n "checking for -force_load linker flag... " >&6; }
8488 if ${lt_cv_ld_force_load+:} false; then :
8489 $as_echo_n "(cached) " >&6
8490 else
8491 lt_cv_ld_force_load=no
8492 cat > conftest.c << _LT_EOF
8493 int forced_loaded() { return 2;}
8494 _LT_EOF
8495 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8496 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8497 echo "$AR cru libconftest.a conftest.o" >&5
8498 $AR cru libconftest.a conftest.o 2>&5
8499 cat > conftest.c << _LT_EOF
8500 int main() { return 0;}
8501 _LT_EOF
8502 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8503 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8504 _lt_result=$?
8505 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8506 lt_cv_ld_force_load=yes
8507 else
8508 cat conftest.err >&5
8510 rm -f conftest.err libconftest.a conftest conftest.c
8511 rm -rf conftest.dSYM
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8515 $as_echo "$lt_cv_ld_force_load" >&6; }
8516 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
8517 # build without first building modern cctools / linker.
8518 case $host_cpu-$host_os in
8519 *-rhapsody* | *-darwin1.[012])
8520 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8521 *-darwin1.*)
8522 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8523 *-darwin*)
8524 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
8525 # deployment target is forced to an earlier version.
8526 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
8527 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
8529 10.[012][,.]*)
8530 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8534 esac
8536 esac
8537 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8538 _lt_dar_single_mod='$single_module'
8540 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8541 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8542 else
8543 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8545 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8546 _lt_dsymutil='~$DSYMUTIL $lib || :'
8547 else
8548 _lt_dsymutil=
8551 esac
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8554 $as_echo_n "checking for ANSI C header files... " >&6; }
8555 if ${ac_cv_header_stdc+:} false; then :
8556 $as_echo_n "(cached) " >&6
8557 else
8558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8559 /* end confdefs.h. */
8560 #include <stdlib.h>
8561 #include <stdarg.h>
8562 #include <string.h>
8563 #include <float.h>
8566 main ()
8570 return 0;
8572 _ACEOF
8573 if ac_fn_c_try_compile "$LINENO"; then :
8574 ac_cv_header_stdc=yes
8575 else
8576 ac_cv_header_stdc=no
8578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8580 if test $ac_cv_header_stdc = yes; then
8581 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8583 /* end confdefs.h. */
8584 #include <string.h>
8586 _ACEOF
8587 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8588 $EGREP "memchr" >/dev/null 2>&1; then :
8590 else
8591 ac_cv_header_stdc=no
8593 rm -f conftest*
8597 if test $ac_cv_header_stdc = yes; then
8598 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8600 /* end confdefs.h. */
8601 #include <stdlib.h>
8603 _ACEOF
8604 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8605 $EGREP "free" >/dev/null 2>&1; then :
8607 else
8608 ac_cv_header_stdc=no
8610 rm -f conftest*
8614 if test $ac_cv_header_stdc = yes; then
8615 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8616 if test "$cross_compiling" = yes; then :
8618 else
8619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8620 /* end confdefs.h. */
8621 #include <ctype.h>
8622 #include <stdlib.h>
8623 #if ((' ' & 0x0FF) == 0x020)
8624 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8625 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8626 #else
8627 # define ISLOWER(c) \
8628 (('a' <= (c) && (c) <= 'i') \
8629 || ('j' <= (c) && (c) <= 'r') \
8630 || ('s' <= (c) && (c) <= 'z'))
8631 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8632 #endif
8634 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8636 main ()
8638 int i;
8639 for (i = 0; i < 256; i++)
8640 if (XOR (islower (i), ISLOWER (i))
8641 || toupper (i) != TOUPPER (i))
8642 return 2;
8643 return 0;
8645 _ACEOF
8646 if ac_fn_c_try_run "$LINENO"; then :
8648 else
8649 ac_cv_header_stdc=no
8651 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8652 conftest.$ac_objext conftest.beam conftest.$ac_ext
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8658 $as_echo "$ac_cv_header_stdc" >&6; }
8659 if test $ac_cv_header_stdc = yes; then
8661 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8665 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8666 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8667 inttypes.h stdint.h unistd.h
8668 do :
8669 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8670 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8672 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8673 cat >>confdefs.h <<_ACEOF
8674 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8675 _ACEOF
8679 done
8682 for ac_header in dlfcn.h
8683 do :
8684 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8686 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8687 cat >>confdefs.h <<_ACEOF
8688 #define HAVE_DLFCN_H 1
8689 _ACEOF
8693 done
8700 # Set options
8705 enable_win32_dll=no
8708 # Check whether --enable-shared was given.
8709 if test "${enable_shared+set}" = set; then :
8710 enableval=$enable_shared; p=${PACKAGE-default}
8711 case $enableval in
8712 yes) enable_shared=yes ;;
8713 no) enable_shared=no ;;
8715 enable_shared=no
8716 # Look at the argument we got. We use all the common list separators.
8717 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8718 for pkg in $enableval; do
8719 IFS="$lt_save_ifs"
8720 if test "X$pkg" = "X$p"; then
8721 enable_shared=yes
8723 done
8724 IFS="$lt_save_ifs"
8726 esac
8727 else
8728 enable_shared=yes
8739 # Check whether --enable-static was given.
8740 if test "${enable_static+set}" = set; then :
8741 enableval=$enable_static; p=${PACKAGE-default}
8742 case $enableval in
8743 yes) enable_static=yes ;;
8744 no) enable_static=no ;;
8746 enable_static=no
8747 # Look at the argument we got. We use all the common list separators.
8748 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8749 for pkg in $enableval; do
8750 IFS="$lt_save_ifs"
8751 if test "X$pkg" = "X$p"; then
8752 enable_static=yes
8754 done
8755 IFS="$lt_save_ifs"
8757 esac
8758 else
8759 enable_static=yes
8771 # Check whether --with-pic was given.
8772 if test "${with_pic+set}" = set; then :
8773 withval=$with_pic; pic_mode="$withval"
8774 else
8775 pic_mode=default
8779 test -z "$pic_mode" && pic_mode=default
8787 # Check whether --enable-fast-install was given.
8788 if test "${enable_fast_install+set}" = set; then :
8789 enableval=$enable_fast_install; p=${PACKAGE-default}
8790 case $enableval in
8791 yes) enable_fast_install=yes ;;
8792 no) enable_fast_install=no ;;
8794 enable_fast_install=no
8795 # Look at the argument we got. We use all the common list separators.
8796 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8797 for pkg in $enableval; do
8798 IFS="$lt_save_ifs"
8799 if test "X$pkg" = "X$p"; then
8800 enable_fast_install=yes
8802 done
8803 IFS="$lt_save_ifs"
8805 esac
8806 else
8807 enable_fast_install=yes
8820 # This can be used to rebuild libtool when needed
8821 LIBTOOL_DEPS="$ltmain"
8823 # Always use our own libtool.
8824 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8851 test -z "$LN_S" && LN_S="ln -s"
8866 if test -n "${ZSH_VERSION+set}" ; then
8867 setopt NO_GLOB_SUBST
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8871 $as_echo_n "checking for objdir... " >&6; }
8872 if ${lt_cv_objdir+:} false; then :
8873 $as_echo_n "(cached) " >&6
8874 else
8875 rm -f .libs 2>/dev/null
8876 mkdir .libs 2>/dev/null
8877 if test -d .libs; then
8878 lt_cv_objdir=.libs
8879 else
8880 # MS-DOS does not allow filenames that begin with a dot.
8881 lt_cv_objdir=_libs
8883 rmdir .libs 2>/dev/null
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8886 $as_echo "$lt_cv_objdir" >&6; }
8887 objdir=$lt_cv_objdir
8893 cat >>confdefs.h <<_ACEOF
8894 #define LT_OBJDIR "$lt_cv_objdir/"
8895 _ACEOF
8900 case $host_os in
8901 aix3*)
8902 # AIX sometimes has problems with the GCC collect2 program. For some
8903 # reason, if we set the COLLECT_NAMES environment variable, the problems
8904 # vanish in a puff of smoke.
8905 if test "X${COLLECT_NAMES+set}" != Xset; then
8906 COLLECT_NAMES=
8907 export COLLECT_NAMES
8910 esac
8912 # Global variables:
8913 ofile=libtool
8914 can_build_shared=yes
8916 # All known linkers require a `.a' archive for static linking (except MSVC,
8917 # which needs '.lib').
8918 libext=a
8920 with_gnu_ld="$lt_cv_prog_gnu_ld"
8922 old_CC="$CC"
8923 old_CFLAGS="$CFLAGS"
8925 # Set sane defaults for various variables
8926 test -z "$CC" && CC=cc
8927 test -z "$LTCC" && LTCC=$CC
8928 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8929 test -z "$LD" && LD=ld
8930 test -z "$ac_objext" && ac_objext=o
8932 for cc_temp in $compiler""; do
8933 case $cc_temp in
8934 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8935 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8936 \-*) ;;
8937 *) break;;
8938 esac
8939 done
8940 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8943 # Only perform the check for file, if the check method requires it
8944 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8945 case $deplibs_check_method in
8946 file_magic*)
8947 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8949 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8950 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8951 $as_echo_n "(cached) " >&6
8952 else
8953 case $MAGIC_CMD in
8954 [\\/*] | ?:[\\/]*)
8955 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8958 lt_save_MAGIC_CMD="$MAGIC_CMD"
8959 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8960 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8961 for ac_dir in $ac_dummy; do
8962 IFS="$lt_save_ifs"
8963 test -z "$ac_dir" && ac_dir=.
8964 if test -f $ac_dir/${ac_tool_prefix}file; then
8965 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8966 if test -n "$file_magic_test_file"; then
8967 case $deplibs_check_method in
8968 "file_magic "*)
8969 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8970 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8971 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8972 $EGREP "$file_magic_regex" > /dev/null; then
8974 else
8975 cat <<_LT_EOF 1>&2
8977 *** Warning: the command libtool uses to detect shared libraries,
8978 *** $file_magic_cmd, produces output that libtool cannot recognize.
8979 *** The result is that libtool may fail to recognize shared libraries
8980 *** as such. This will affect the creation of libtool libraries that
8981 *** depend on shared libraries, but programs linked with such libtool
8982 *** libraries will work regardless of this problem. Nevertheless, you
8983 *** may want to report the problem to your system manager and/or to
8984 *** bug-libtool@gnu.org
8986 _LT_EOF
8987 fi ;;
8988 esac
8990 break
8992 done
8993 IFS="$lt_save_ifs"
8994 MAGIC_CMD="$lt_save_MAGIC_CMD"
8996 esac
8999 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9000 if test -n "$MAGIC_CMD"; then
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9002 $as_echo "$MAGIC_CMD" >&6; }
9003 else
9004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9005 $as_echo "no" >&6; }
9012 if test -z "$lt_cv_path_MAGIC_CMD"; then
9013 if test -n "$ac_tool_prefix"; then
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9015 $as_echo_n "checking for file... " >&6; }
9016 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9017 $as_echo_n "(cached) " >&6
9018 else
9019 case $MAGIC_CMD in
9020 [\\/*] | ?:[\\/]*)
9021 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9024 lt_save_MAGIC_CMD="$MAGIC_CMD"
9025 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9026 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9027 for ac_dir in $ac_dummy; do
9028 IFS="$lt_save_ifs"
9029 test -z "$ac_dir" && ac_dir=.
9030 if test -f $ac_dir/file; then
9031 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9032 if test -n "$file_magic_test_file"; then
9033 case $deplibs_check_method in
9034 "file_magic "*)
9035 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9036 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9037 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9038 $EGREP "$file_magic_regex" > /dev/null; then
9040 else
9041 cat <<_LT_EOF 1>&2
9043 *** Warning: the command libtool uses to detect shared libraries,
9044 *** $file_magic_cmd, produces output that libtool cannot recognize.
9045 *** The result is that libtool may fail to recognize shared libraries
9046 *** as such. This will affect the creation of libtool libraries that
9047 *** depend on shared libraries, but programs linked with such libtool
9048 *** libraries will work regardless of this problem. Nevertheless, you
9049 *** may want to report the problem to your system manager and/or to
9050 *** bug-libtool@gnu.org
9052 _LT_EOF
9053 fi ;;
9054 esac
9056 break
9058 done
9059 IFS="$lt_save_ifs"
9060 MAGIC_CMD="$lt_save_MAGIC_CMD"
9062 esac
9065 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9066 if test -n "$MAGIC_CMD"; then
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9068 $as_echo "$MAGIC_CMD" >&6; }
9069 else
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9071 $as_echo "no" >&6; }
9075 else
9076 MAGIC_CMD=:
9082 esac
9084 # Use C for the default configuration in the libtool script
9086 lt_save_CC="$CC"
9087 ac_ext=c
9088 ac_cpp='$CPP $CPPFLAGS'
9089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9094 # Source file extension for C test sources.
9095 ac_ext=c
9097 # Object file extension for compiled C test sources.
9098 objext=o
9099 objext=$objext
9101 # Code to be used in simple compile tests
9102 lt_simple_compile_test_code="int some_variable = 0;"
9104 # Code to be used in simple link tests
9105 lt_simple_link_test_code='int main(){return(0);}'
9113 # If no C compiler was specified, use CC.
9114 LTCC=${LTCC-"$CC"}
9116 # If no C compiler flags were specified, use CFLAGS.
9117 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9119 # Allow CC to be a program name with arguments.
9120 compiler=$CC
9122 # Save the default compiler, since it gets overwritten when the other
9123 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9124 compiler_DEFAULT=$CC
9126 # save warnings/boilerplate of simple test code
9127 ac_outfile=conftest.$ac_objext
9128 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9129 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9130 _lt_compiler_boilerplate=`cat conftest.err`
9131 $RM conftest*
9133 ac_outfile=conftest.$ac_objext
9134 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9135 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9136 _lt_linker_boilerplate=`cat conftest.err`
9137 $RM -r conftest*
9140 ## CAVEAT EMPTOR:
9141 ## There is no encapsulation within the following macros, do not change
9142 ## the running order or otherwise move them around unless you know exactly
9143 ## what you are doing...
9144 if test -n "$compiler"; then
9146 lt_prog_compiler_no_builtin_flag=
9148 if test "$GCC" = yes; then
9149 case $cc_basename in
9150 nvcc*)
9151 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9153 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9154 esac
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9157 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9158 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9159 $as_echo_n "(cached) " >&6
9160 else
9161 lt_cv_prog_compiler_rtti_exceptions=no
9162 ac_outfile=conftest.$ac_objext
9163 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9164 lt_compiler_flag="-fno-rtti -fno-exceptions"
9165 # Insert the option either (1) after the last *FLAGS variable, or
9166 # (2) before a word containing "conftest.", or (3) at the end.
9167 # Note that $ac_compile itself does not contain backslashes and begins
9168 # with a dollar sign (not a hyphen), so the echo should work correctly.
9169 # The option is referenced via a variable to avoid confusing sed.
9170 lt_compile=`echo "$ac_compile" | $SED \
9171 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9172 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9173 -e 's:$: $lt_compiler_flag:'`
9174 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9175 (eval "$lt_compile" 2>conftest.err)
9176 ac_status=$?
9177 cat conftest.err >&5
9178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9179 if (exit $ac_status) && test -s "$ac_outfile"; then
9180 # The compiler can only warn and ignore the option if not recognized
9181 # So say no if there are warnings other than the usual output.
9182 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9183 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9184 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9185 lt_cv_prog_compiler_rtti_exceptions=yes
9188 $RM conftest*
9191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9192 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9194 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9195 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9196 else
9207 lt_prog_compiler_wl=
9208 lt_prog_compiler_pic=
9209 lt_prog_compiler_static=
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9212 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9214 if test "$GCC" = yes; then
9215 lt_prog_compiler_wl='-Wl,'
9216 lt_prog_compiler_static='-static'
9218 case $host_os in
9219 aix*)
9220 # All AIX code is PIC.
9221 if test "$host_cpu" = ia64; then
9222 # AIX 5 now supports IA64 processor
9223 lt_prog_compiler_static='-Bstatic'
9225 lt_prog_compiler_pic='-fPIC'
9228 amigaos*)
9229 case $host_cpu in
9230 powerpc)
9231 # see comment about AmigaOS4 .so support
9232 lt_prog_compiler_pic='-fPIC'
9234 m68k)
9235 # FIXME: we need at least 68020 code to build shared libraries, but
9236 # adding the `-m68020' flag to GCC prevents building anything better,
9237 # like `-m68040'.
9238 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9240 esac
9243 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9244 # PIC is the default for these OSes.
9247 mingw* | cygwin* | pw32* | os2* | cegcc*)
9248 # This hack is so that the source file can tell whether it is being
9249 # built for inclusion in a dll (and should export symbols for example).
9250 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9251 # (--disable-auto-import) libraries
9252 lt_prog_compiler_pic='-DDLL_EXPORT'
9255 darwin* | rhapsody*)
9256 # PIC is the default on this platform
9257 # Common symbols not allowed in MH_DYLIB files
9258 lt_prog_compiler_pic='-fno-common'
9261 haiku*)
9262 # PIC is the default for Haiku.
9263 # The "-static" flag exists, but is broken.
9264 lt_prog_compiler_static=
9267 hpux*)
9268 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9269 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9270 # sets the default TLS model and affects inlining.
9271 case $host_cpu in
9272 hppa*64*)
9273 # +Z the default
9276 lt_prog_compiler_pic='-fPIC'
9278 esac
9281 interix[3-9]*)
9282 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9283 # Instead, we relocate shared libraries at runtime.
9286 msdosdjgpp*)
9287 # Just because we use GCC doesn't mean we suddenly get shared libraries
9288 # on systems that don't support them.
9289 lt_prog_compiler_can_build_shared=no
9290 enable_shared=no
9293 *nto* | *qnx*)
9294 # QNX uses GNU C++, but need to define -shared option too, otherwise
9295 # it will coredump.
9296 lt_prog_compiler_pic='-fPIC -shared'
9299 sysv4*MP*)
9300 if test -d /usr/nec; then
9301 lt_prog_compiler_pic=-Kconform_pic
9306 lt_prog_compiler_pic='-fPIC'
9308 esac
9310 case $cc_basename in
9311 nvcc*) # Cuda Compiler Driver 2.2
9312 lt_prog_compiler_wl='-Xlinker '
9313 lt_prog_compiler_pic='-Xcompiler -fPIC'
9315 esac
9316 else
9317 # PORTME Check for flag to pass linker flags through the system compiler.
9318 case $host_os in
9319 aix*)
9320 lt_prog_compiler_wl='-Wl,'
9321 if test "$host_cpu" = ia64; then
9322 # AIX 5 now supports IA64 processor
9323 lt_prog_compiler_static='-Bstatic'
9324 else
9325 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9329 mingw* | cygwin* | pw32* | os2* | cegcc*)
9330 # This hack is so that the source file can tell whether it is being
9331 # built for inclusion in a dll (and should export symbols for example).
9332 lt_prog_compiler_pic='-DDLL_EXPORT'
9335 hpux9* | hpux10* | hpux11*)
9336 lt_prog_compiler_wl='-Wl,'
9337 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9338 # not for PA HP-UX.
9339 case $host_cpu in
9340 hppa*64*|ia64*)
9341 # +Z the default
9344 lt_prog_compiler_pic='+Z'
9346 esac
9347 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9348 lt_prog_compiler_static='${wl}-a ${wl}archive'
9351 irix5* | irix6* | nonstopux*)
9352 lt_prog_compiler_wl='-Wl,'
9353 # PIC (with -KPIC) is the default.
9354 lt_prog_compiler_static='-non_shared'
9357 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9358 case $cc_basename in
9359 # old Intel for x86_64 which still supported -KPIC.
9360 ecc*)
9361 lt_prog_compiler_wl='-Wl,'
9362 lt_prog_compiler_pic='-KPIC'
9363 lt_prog_compiler_static='-static'
9365 # icc used to be incompatible with GCC.
9366 # ICC 10 doesn't accept -KPIC any more.
9367 icc* | ifort*)
9368 lt_prog_compiler_wl='-Wl,'
9369 lt_prog_compiler_pic='-fPIC'
9370 lt_prog_compiler_static='-static'
9372 # Lahey Fortran 8.1.
9373 lf95*)
9374 lt_prog_compiler_wl='-Wl,'
9375 lt_prog_compiler_pic='--shared'
9376 lt_prog_compiler_static='--static'
9378 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9379 # Portland Group compilers (*not* the Pentium gcc compiler,
9380 # which looks to be a dead project)
9381 lt_prog_compiler_wl='-Wl,'
9382 lt_prog_compiler_pic='-fpic'
9383 lt_prog_compiler_static='-Bstatic'
9385 ccc*)
9386 lt_prog_compiler_wl='-Wl,'
9387 # All Alpha code is PIC.
9388 lt_prog_compiler_static='-non_shared'
9390 xl* | bgxl* | bgf* | mpixl*)
9391 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9392 lt_prog_compiler_wl='-Wl,'
9393 lt_prog_compiler_pic='-qpic'
9394 lt_prog_compiler_static='-qstaticlink'
9397 case `$CC -V 2>&1 | sed 5q` in
9398 *Sun\ F* | *Sun*Fortran*)
9399 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9400 lt_prog_compiler_pic='-KPIC'
9401 lt_prog_compiler_static='-Bstatic'
9402 lt_prog_compiler_wl=''
9404 *Sun\ C*)
9405 # Sun C 5.9
9406 lt_prog_compiler_pic='-KPIC'
9407 lt_prog_compiler_static='-Bstatic'
9408 lt_prog_compiler_wl='-Wl,'
9410 esac
9412 esac
9415 newsos6)
9416 lt_prog_compiler_pic='-KPIC'
9417 lt_prog_compiler_static='-Bstatic'
9420 *nto* | *qnx*)
9421 # QNX uses GNU C++, but need to define -shared option too, otherwise
9422 # it will coredump.
9423 lt_prog_compiler_pic='-fPIC -shared'
9426 osf3* | osf4* | osf5*)
9427 lt_prog_compiler_wl='-Wl,'
9428 # All OSF/1 code is PIC.
9429 lt_prog_compiler_static='-non_shared'
9432 rdos*)
9433 lt_prog_compiler_static='-non_shared'
9436 solaris*)
9437 lt_prog_compiler_pic='-KPIC'
9438 lt_prog_compiler_static='-Bstatic'
9439 case $cc_basename in
9440 f77* | f90* | f95*)
9441 lt_prog_compiler_wl='-Qoption ld ';;
9443 lt_prog_compiler_wl='-Wl,';;
9444 esac
9447 sunos4*)
9448 lt_prog_compiler_wl='-Qoption ld '
9449 lt_prog_compiler_pic='-PIC'
9450 lt_prog_compiler_static='-Bstatic'
9453 sysv4 | sysv4.2uw2* | sysv4.3*)
9454 lt_prog_compiler_wl='-Wl,'
9455 lt_prog_compiler_pic='-KPIC'
9456 lt_prog_compiler_static='-Bstatic'
9459 sysv4*MP*)
9460 if test -d /usr/nec ;then
9461 lt_prog_compiler_pic='-Kconform_pic'
9462 lt_prog_compiler_static='-Bstatic'
9466 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9467 lt_prog_compiler_wl='-Wl,'
9468 lt_prog_compiler_pic='-KPIC'
9469 lt_prog_compiler_static='-Bstatic'
9472 unicos*)
9473 lt_prog_compiler_wl='-Wl,'
9474 lt_prog_compiler_can_build_shared=no
9477 uts4*)
9478 lt_prog_compiler_pic='-pic'
9479 lt_prog_compiler_static='-Bstatic'
9483 lt_prog_compiler_can_build_shared=no
9485 esac
9488 case $host_os in
9489 # For platforms which do not support PIC, -DPIC is meaningless:
9490 *djgpp*)
9491 lt_prog_compiler_pic=
9494 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9496 esac
9497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9498 $as_echo "$lt_prog_compiler_pic" >&6; }
9506 # Check to make sure the PIC flag actually works.
9508 if test -n "$lt_prog_compiler_pic"; then
9509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9510 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9511 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9512 $as_echo_n "(cached) " >&6
9513 else
9514 lt_cv_prog_compiler_pic_works=no
9515 ac_outfile=conftest.$ac_objext
9516 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9517 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9518 # Insert the option either (1) after the last *FLAGS variable, or
9519 # (2) before a word containing "conftest.", or (3) at the end.
9520 # Note that $ac_compile itself does not contain backslashes and begins
9521 # with a dollar sign (not a hyphen), so the echo should work correctly.
9522 # The option is referenced via a variable to avoid confusing sed.
9523 lt_compile=`echo "$ac_compile" | $SED \
9524 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9525 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9526 -e 's:$: $lt_compiler_flag:'`
9527 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9528 (eval "$lt_compile" 2>conftest.err)
9529 ac_status=$?
9530 cat conftest.err >&5
9531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9532 if (exit $ac_status) && test -s "$ac_outfile"; then
9533 # The compiler can only warn and ignore the option if not recognized
9534 # So say no if there are warnings other than the usual output.
9535 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9536 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9537 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9538 lt_cv_prog_compiler_pic_works=yes
9541 $RM conftest*
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9545 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9547 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9548 case $lt_prog_compiler_pic in
9549 "" | " "*) ;;
9550 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9551 esac
9552 else
9553 lt_prog_compiler_pic=
9554 lt_prog_compiler_can_build_shared=no
9565 # Check to make sure the static flag actually works.
9567 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9569 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9570 if ${lt_cv_prog_compiler_static_works+:} false; then :
9571 $as_echo_n "(cached) " >&6
9572 else
9573 lt_cv_prog_compiler_static_works=no
9574 save_LDFLAGS="$LDFLAGS"
9575 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9576 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9577 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9578 # The linker can only warn and ignore the option if not recognized
9579 # So say no if there are warnings
9580 if test -s conftest.err; then
9581 # Append any errors to the config.log.
9582 cat conftest.err 1>&5
9583 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9584 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9585 if diff conftest.exp conftest.er2 >/dev/null; then
9586 lt_cv_prog_compiler_static_works=yes
9588 else
9589 lt_cv_prog_compiler_static_works=yes
9592 $RM -r conftest*
9593 LDFLAGS="$save_LDFLAGS"
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9597 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9599 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9601 else
9602 lt_prog_compiler_static=
9611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9612 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9613 if ${lt_cv_prog_compiler_c_o+:} false; then :
9614 $as_echo_n "(cached) " >&6
9615 else
9616 lt_cv_prog_compiler_c_o=no
9617 $RM -r conftest 2>/dev/null
9618 mkdir conftest
9619 cd conftest
9620 mkdir out
9621 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9623 lt_compiler_flag="-o out/conftest2.$ac_objext"
9624 # Insert the option either (1) after the last *FLAGS variable, or
9625 # (2) before a word containing "conftest.", or (3) at the end.
9626 # Note that $ac_compile itself does not contain backslashes and begins
9627 # with a dollar sign (not a hyphen), so the echo should work correctly.
9628 lt_compile=`echo "$ac_compile" | $SED \
9629 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9630 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9631 -e 's:$: $lt_compiler_flag:'`
9632 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9633 (eval "$lt_compile" 2>out/conftest.err)
9634 ac_status=$?
9635 cat out/conftest.err >&5
9636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9637 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9638 then
9639 # The compiler can only warn and ignore the option if not recognized
9640 # So say no if there are warnings
9641 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9642 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9643 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9644 lt_cv_prog_compiler_c_o=yes
9647 chmod u+w . 2>&5
9648 $RM conftest*
9649 # SGI C++ compiler will create directory out/ii_files/ for
9650 # template instantiation
9651 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9652 $RM out/* && rmdir out
9653 cd ..
9654 $RM -r conftest
9655 $RM conftest*
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9659 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9667 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9668 if ${lt_cv_prog_compiler_c_o+:} false; then :
9669 $as_echo_n "(cached) " >&6
9670 else
9671 lt_cv_prog_compiler_c_o=no
9672 $RM -r conftest 2>/dev/null
9673 mkdir conftest
9674 cd conftest
9675 mkdir out
9676 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9678 lt_compiler_flag="-o out/conftest2.$ac_objext"
9679 # Insert the option either (1) after the last *FLAGS variable, or
9680 # (2) before a word containing "conftest.", or (3) at the end.
9681 # Note that $ac_compile itself does not contain backslashes and begins
9682 # with a dollar sign (not a hyphen), so the echo should work correctly.
9683 lt_compile=`echo "$ac_compile" | $SED \
9684 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9685 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9686 -e 's:$: $lt_compiler_flag:'`
9687 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9688 (eval "$lt_compile" 2>out/conftest.err)
9689 ac_status=$?
9690 cat out/conftest.err >&5
9691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9692 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9693 then
9694 # The compiler can only warn and ignore the option if not recognized
9695 # So say no if there are warnings
9696 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9697 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9698 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9699 lt_cv_prog_compiler_c_o=yes
9702 chmod u+w . 2>&5
9703 $RM conftest*
9704 # SGI C++ compiler will create directory out/ii_files/ for
9705 # template instantiation
9706 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9707 $RM out/* && rmdir out
9708 cd ..
9709 $RM -r conftest
9710 $RM conftest*
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9714 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9719 hard_links="nottested"
9720 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9721 # do not overwrite the value of need_locks provided by the user
9722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9723 $as_echo_n "checking if we can lock with hard links... " >&6; }
9724 hard_links=yes
9725 $RM conftest*
9726 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9727 touch conftest.a
9728 ln conftest.a conftest.b 2>&5 || hard_links=no
9729 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9731 $as_echo "$hard_links" >&6; }
9732 if test "$hard_links" = no; then
9733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9734 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9735 need_locks=warn
9737 else
9738 need_locks=no
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9747 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9749 runpath_var=
9750 allow_undefined_flag=
9751 always_export_symbols=no
9752 archive_cmds=
9753 archive_expsym_cmds=
9754 compiler_needs_object=no
9755 enable_shared_with_static_runtimes=no
9756 export_dynamic_flag_spec=
9757 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9758 hardcode_automatic=no
9759 hardcode_direct=no
9760 hardcode_direct_absolute=no
9761 hardcode_libdir_flag_spec=
9762 hardcode_libdir_flag_spec_ld=
9763 hardcode_libdir_separator=
9764 hardcode_minus_L=no
9765 hardcode_shlibpath_var=unsupported
9766 inherit_rpath=no
9767 link_all_deplibs=unknown
9768 module_cmds=
9769 module_expsym_cmds=
9770 old_archive_from_new_cmds=
9771 old_archive_from_expsyms_cmds=
9772 thread_safe_flag_spec=
9773 whole_archive_flag_spec=
9774 # include_expsyms should be a list of space-separated symbols to be *always*
9775 # included in the symbol list
9776 include_expsyms=
9777 # exclude_expsyms can be an extended regexp of symbols to exclude
9778 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9779 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9780 # as well as any symbol that contains `d'.
9781 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9782 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9783 # platforms (ab)use it in PIC code, but their linkers get confused if
9784 # the symbol is explicitly referenced. Since portable code cannot
9785 # rely on this symbol name, it's probably fine to never include it in
9786 # preloaded symbol tables.
9787 # Exclude shared library initialization/finalization symbols.
9788 extract_expsyms_cmds=
9790 case $host_os in
9791 cygwin* | mingw* | pw32* | cegcc*)
9792 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9793 # When not using gcc, we currently assume that we are using
9794 # Microsoft Visual C++.
9795 if test "$GCC" != yes; then
9796 with_gnu_ld=no
9799 interix*)
9800 # we just hope/assume this is gcc and not c89 (= MSVC++)
9801 with_gnu_ld=yes
9803 openbsd*)
9804 with_gnu_ld=no
9806 esac
9808 ld_shlibs=yes
9810 # On some targets, GNU ld is compatible enough with the native linker
9811 # that we're better off using the native interface for both.
9812 lt_use_gnu_ld_interface=no
9813 if test "$with_gnu_ld" = yes; then
9814 case $host_os in
9815 aix*)
9816 # The AIX port of GNU ld has always aspired to compatibility
9817 # with the native linker. However, as the warning in the GNU ld
9818 # block says, versions before 2.19.5* couldn't really create working
9819 # shared libraries, regardless of the interface used.
9820 case `$LD -v 2>&1` in
9821 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9822 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9823 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9825 lt_use_gnu_ld_interface=yes
9827 esac
9830 lt_use_gnu_ld_interface=yes
9832 esac
9835 if test "$lt_use_gnu_ld_interface" = yes; then
9836 # If archive_cmds runs LD, not CC, wlarc should be empty
9837 wlarc='${wl}'
9839 # Set some defaults for GNU ld with shared library support. These
9840 # are reset later if shared libraries are not supported. Putting them
9841 # here allows them to be overridden if necessary.
9842 runpath_var=LD_RUN_PATH
9843 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9844 export_dynamic_flag_spec='${wl}--export-dynamic'
9845 # ancient GNU ld didn't support --whole-archive et. al.
9846 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9847 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9848 else
9849 whole_archive_flag_spec=
9851 supports_anon_versioning=no
9852 case `$LD -v 2>&1` in
9853 *GNU\ gold*) supports_anon_versioning=yes ;;
9854 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9855 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9856 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9857 *\ 2.11.*) ;; # other 2.11 versions
9858 *) supports_anon_versioning=yes ;;
9859 esac
9861 # See if GNU ld supports shared libraries.
9862 case $host_os in
9863 aix[3-9]*)
9864 # On AIX/PPC, the GNU linker is very broken
9865 if test "$host_cpu" != ia64; then
9866 ld_shlibs=no
9867 cat <<_LT_EOF 1>&2
9869 *** Warning: the GNU linker, at least up to release 2.19, is reported
9870 *** to be unable to reliably create shared libraries on AIX.
9871 *** Therefore, libtool is disabling shared libraries support. If you
9872 *** really care for shared libraries, you may want to install binutils
9873 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9874 *** You will then need to restart the configuration process.
9876 _LT_EOF
9880 amigaos*)
9881 case $host_cpu in
9882 powerpc)
9883 # see comment about AmigaOS4 .so support
9884 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9885 archive_expsym_cmds=''
9887 m68k)
9888 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)'
9889 hardcode_libdir_flag_spec='-L$libdir'
9890 hardcode_minus_L=yes
9892 esac
9895 beos*)
9896 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9897 allow_undefined_flag=unsupported
9898 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9899 # support --undefined. This deserves some investigation. FIXME
9900 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9901 else
9902 ld_shlibs=no
9906 cygwin* | mingw* | pw32* | cegcc*)
9907 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9908 # as there is no search path for DLLs.
9909 hardcode_libdir_flag_spec='-L$libdir'
9910 export_dynamic_flag_spec='${wl}--export-all-symbols'
9911 allow_undefined_flag=unsupported
9912 always_export_symbols=no
9913 enable_shared_with_static_runtimes=yes
9914 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9916 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9917 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9918 # If the export-symbols file already is a .def file (1st line
9919 # is EXPORTS), use it as is; otherwise, prepend...
9920 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9921 cp $export_symbols $output_objdir/$soname.def;
9922 else
9923 echo EXPORTS > $output_objdir/$soname.def;
9924 cat $export_symbols >> $output_objdir/$soname.def;
9926 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9927 else
9928 ld_shlibs=no
9932 haiku*)
9933 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9934 link_all_deplibs=yes
9937 interix[3-9]*)
9938 hardcode_direct=no
9939 hardcode_shlibpath_var=no
9940 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9941 export_dynamic_flag_spec='${wl}-E'
9942 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9943 # Instead, shared libraries are loaded at an image base (0x10000000 by
9944 # default) and relocated if they conflict, which is a slow very memory
9945 # consuming and fragmenting process. To avoid this, we pick a random,
9946 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9947 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9948 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9949 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'
9952 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
9953 tmp_diet=no
9954 if test "$host_os" = linux-dietlibc; then
9955 case $cc_basename in
9956 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9957 esac
9959 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9960 && test "$tmp_diet" = no
9961 then
9962 tmp_addflag=' $pic_flag'
9963 tmp_sharedflag='-shared'
9964 case $cc_basename,$host_cpu in
9965 pgcc*) # Portland Group C compiler
9966 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'
9967 tmp_addflag=' $pic_flag'
9969 pgf77* | pgf90* | pgf95* | pgfortran*)
9970 # Portland Group f77 and f90 compilers
9971 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'
9972 tmp_addflag=' $pic_flag -Mnomain' ;;
9973 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9974 tmp_addflag=' -i_dynamic' ;;
9975 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9976 tmp_addflag=' -i_dynamic -nofor_main' ;;
9977 ifc* | ifort*) # Intel Fortran compiler
9978 tmp_addflag=' -nofor_main' ;;
9979 lf95*) # Lahey Fortran 8.1
9980 whole_archive_flag_spec=
9981 tmp_sharedflag='--shared' ;;
9982 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9983 tmp_sharedflag='-qmkshrobj'
9984 tmp_addflag= ;;
9985 nvcc*) # Cuda Compiler Driver 2.2
9986 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'
9987 compiler_needs_object=yes
9989 esac
9990 case `$CC -V 2>&1 | sed 5q` in
9991 *Sun\ C*) # Sun C 5.9
9992 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'
9993 compiler_needs_object=yes
9994 tmp_sharedflag='-G' ;;
9995 *Sun\ F*) # Sun Fortran 8.3
9996 tmp_sharedflag='-G' ;;
9997 esac
9998 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10000 if test "x$supports_anon_versioning" = xyes; then
10001 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10002 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10003 echo "local: *; };" >> $output_objdir/$libname.ver~
10004 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10007 case $cc_basename in
10008 xlf* | bgf* | bgxlf* | mpixlf*)
10009 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10010 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10011 hardcode_libdir_flag_spec=
10012 hardcode_libdir_flag_spec_ld='-rpath $libdir'
10013 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10014 if test "x$supports_anon_versioning" = xyes; then
10015 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10016 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10017 echo "local: *; };" >> $output_objdir/$libname.ver~
10018 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10021 esac
10022 else
10023 ld_shlibs=no
10027 netbsd*)
10028 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10029 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10030 wlarc=
10031 else
10032 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10033 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10037 solaris*)
10038 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10039 ld_shlibs=no
10040 cat <<_LT_EOF 1>&2
10042 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10043 *** create shared libraries on Solaris systems. Therefore, libtool
10044 *** is disabling shared libraries support. We urge you to upgrade GNU
10045 *** binutils to release 2.9.1 or newer. Another option is to modify
10046 *** your PATH or compiler configuration so that the native linker is
10047 *** used, and then restart.
10049 _LT_EOF
10050 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10051 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10052 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10053 else
10054 ld_shlibs=no
10058 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10059 case `$LD -v 2>&1` in
10060 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10061 ld_shlibs=no
10062 cat <<_LT_EOF 1>&2
10064 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10065 *** reliably create shared libraries on SCO systems. Therefore, libtool
10066 *** is disabling shared libraries support. We urge you to upgrade GNU
10067 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10068 *** your PATH or compiler configuration so that the native linker is
10069 *** used, and then restart.
10071 _LT_EOF
10074 # For security reasons, it is highly recommended that you always
10075 # use absolute paths for naming shared libraries, and exclude the
10076 # DT_RUNPATH tag from executables and libraries. But doing so
10077 # requires that you compile everything twice, which is a pain.
10078 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10079 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10080 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10081 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10082 else
10083 ld_shlibs=no
10086 esac
10089 sunos4*)
10090 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10091 wlarc=
10092 hardcode_direct=yes
10093 hardcode_shlibpath_var=no
10097 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10098 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10099 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10100 else
10101 ld_shlibs=no
10104 esac
10106 if test "$ld_shlibs" = no; then
10107 runpath_var=
10108 hardcode_libdir_flag_spec=
10109 export_dynamic_flag_spec=
10110 whole_archive_flag_spec=
10112 else
10113 # PORTME fill in a description of your system's linker (not GNU ld)
10114 case $host_os in
10115 aix3*)
10116 allow_undefined_flag=unsupported
10117 always_export_symbols=yes
10118 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'
10119 # Note: this linker hardcodes the directories in LIBPATH if there
10120 # are no directories specified by -L.
10121 hardcode_minus_L=yes
10122 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10123 # Neither direct hardcoding nor static linking is supported with a
10124 # broken collect2.
10125 hardcode_direct=unsupported
10129 aix[4-9]*)
10130 if test "$host_cpu" = ia64; then
10131 # On IA64, the linker does run time linking by default, so we don't
10132 # have to do anything special.
10133 aix_use_runtimelinking=no
10134 exp_sym_flag='-Bexport'
10135 no_entry_flag=""
10136 else
10137 # If we're using GNU nm, then we don't want the "-C" option.
10138 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10139 # Also, AIX nm treats weak defined symbols like other global
10140 # defined symbols, whereas GNU nm marks them as "W".
10141 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10142 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'
10143 else
10144 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'
10146 aix_use_runtimelinking=no
10148 # Test if we are trying to use run time linking or normal
10149 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10150 # need to do runtime linking.
10151 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10152 for ld_flag in $LDFLAGS; do
10153 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10154 aix_use_runtimelinking=yes
10155 break
10157 done
10159 esac
10161 exp_sym_flag='-bexport'
10162 no_entry_flag='-bnoentry'
10165 # When large executables or shared objects are built, AIX ld can
10166 # have problems creating the table of contents. If linking a library
10167 # or program results in "error TOC overflow" add -mminimal-toc to
10168 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10169 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10171 archive_cmds=''
10172 hardcode_direct=yes
10173 hardcode_direct_absolute=yes
10174 hardcode_libdir_separator=':'
10175 link_all_deplibs=yes
10176 file_list_spec='${wl}-f,'
10178 if test "$GCC" = yes; then
10179 case $host_os in aix4.[012]|aix4.[012].*)
10180 # We only want to do this on AIX 4.2 and lower, the check
10181 # below for broken collect2 doesn't work under 4.3+
10182 collect2name=`${CC} -print-prog-name=collect2`
10183 if test -f "$collect2name" &&
10184 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10185 then
10186 # We have reworked collect2
10188 else
10189 # We have old collect2
10190 hardcode_direct=unsupported
10191 # It fails to find uninstalled libraries when the uninstalled
10192 # path is not listed in the libpath. Setting hardcode_minus_L
10193 # to unsupported forces relinking
10194 hardcode_minus_L=yes
10195 hardcode_libdir_flag_spec='-L$libdir'
10196 hardcode_libdir_separator=
10199 esac
10200 shared_flag='-shared'
10201 if test "$aix_use_runtimelinking" = yes; then
10202 shared_flag="$shared_flag "'${wl}-G'
10204 else
10205 # not using gcc
10206 if test "$host_cpu" = ia64; then
10207 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10208 # chokes on -Wl,-G. The following line is correct:
10209 shared_flag='-G'
10210 else
10211 if test "$aix_use_runtimelinking" = yes; then
10212 shared_flag='${wl}-G'
10213 else
10214 shared_flag='${wl}-bM:SRE'
10219 export_dynamic_flag_spec='${wl}-bexpall'
10220 # It seems that -bexpall does not export symbols beginning with
10221 # underscore (_), so it is better to generate a list of symbols to export.
10222 always_export_symbols=yes
10223 if test "$aix_use_runtimelinking" = yes; then
10224 # Warning - without using the other runtime loading flags (-brtl),
10225 # -berok will link without error, but may produce a broken library.
10226 allow_undefined_flag='-berok'
10227 # Determine the default libpath from the value encoded in an
10228 # empty executable.
10229 if test x$gcc_no_link = xyes; then
10230 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10233 /* end confdefs.h. */
10236 main ()
10240 return 0;
10242 _ACEOF
10243 if ac_fn_c_try_link "$LINENO"; then :
10245 lt_aix_libpath_sed='
10246 /Import File Strings/,/^$/ {
10247 /^0/ {
10248 s/^0 *\(.*\)$/\1/
10252 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10253 # Check for a 64-bit object if we didn't find anything.
10254 if test -z "$aix_libpath"; then
10255 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10258 rm -f core conftest.err conftest.$ac_objext \
10259 conftest$ac_exeext conftest.$ac_ext
10260 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10262 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10263 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"
10264 else
10265 if test "$host_cpu" = ia64; then
10266 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10267 allow_undefined_flag="-z nodefs"
10268 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"
10269 else
10270 # Determine the default libpath from the value encoded in an
10271 # empty executable.
10272 if test x$gcc_no_link = xyes; then
10273 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10276 /* end confdefs.h. */
10279 main ()
10283 return 0;
10285 _ACEOF
10286 if ac_fn_c_try_link "$LINENO"; then :
10288 lt_aix_libpath_sed='
10289 /Import File Strings/,/^$/ {
10290 /^0/ {
10291 s/^0 *\(.*\)$/\1/
10295 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10296 # Check for a 64-bit object if we didn't find anything.
10297 if test -z "$aix_libpath"; then
10298 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10301 rm -f core conftest.err conftest.$ac_objext \
10302 conftest$ac_exeext conftest.$ac_ext
10303 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10305 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10306 # Warning - without using the other run time loading flags,
10307 # -berok will link without error, but may produce a broken library.
10308 no_undefined_flag=' ${wl}-bernotok'
10309 allow_undefined_flag=' ${wl}-berok'
10310 if test "$with_gnu_ld" = yes; then
10311 # We only use this code for GNU lds that support --whole-archive.
10312 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10313 else
10314 # Exported symbols can be pulled into shared objects from archives
10315 whole_archive_flag_spec='$convenience'
10317 archive_cmds_need_lc=yes
10318 # This is similar to how AIX traditionally builds its shared libraries.
10319 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'
10324 amigaos*)
10325 case $host_cpu in
10326 powerpc)
10327 # see comment about AmigaOS4 .so support
10328 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10329 archive_expsym_cmds=''
10331 m68k)
10332 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)'
10333 hardcode_libdir_flag_spec='-L$libdir'
10334 hardcode_minus_L=yes
10336 esac
10339 bsdi[45]*)
10340 export_dynamic_flag_spec=-rdynamic
10343 cygwin* | mingw* | pw32* | cegcc*)
10344 # When not using gcc, we currently assume that we are using
10345 # Microsoft Visual C++.
10346 # hardcode_libdir_flag_spec is actually meaningless, as there is
10347 # no search path for DLLs.
10348 hardcode_libdir_flag_spec=' '
10349 allow_undefined_flag=unsupported
10350 # Tell ltmain to make .lib files, not .a files.
10351 libext=lib
10352 # Tell ltmain to make .dll files, not .so files.
10353 shrext_cmds=".dll"
10354 # FIXME: Setting linknames here is a bad hack.
10355 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10356 # The linker will automatically build a .lib file if we build a DLL.
10357 old_archive_from_new_cmds='true'
10358 # FIXME: Should let the user specify the lib program.
10359 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10360 fix_srcfile_path='`cygpath -w "$srcfile"`'
10361 enable_shared_with_static_runtimes=yes
10364 darwin* | rhapsody*)
10367 archive_cmds_need_lc=no
10368 hardcode_direct=no
10369 hardcode_automatic=yes
10370 hardcode_shlibpath_var=unsupported
10371 if test "$lt_cv_ld_force_load" = "yes"; then
10372 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\"`'
10373 else
10374 whole_archive_flag_spec=''
10376 link_all_deplibs=yes
10377 allow_undefined_flag="$_lt_dar_allow_undefined"
10378 case $cc_basename in
10379 ifort*) _lt_dar_can_shared=yes ;;
10380 *) _lt_dar_can_shared=$GCC ;;
10381 esac
10382 if test "$_lt_dar_can_shared" = "yes"; then
10383 output_verbose_link_cmd=func_echo_all
10384 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10385 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10386 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}"
10387 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}"
10389 else
10390 ld_shlibs=no
10395 dgux*)
10396 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10397 hardcode_libdir_flag_spec='-L$libdir'
10398 hardcode_shlibpath_var=no
10401 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10402 # support. Future versions do this automatically, but an explicit c++rt0.o
10403 # does not break anything, and helps significantly (at the cost of a little
10404 # extra space).
10405 freebsd2.2*)
10406 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10407 hardcode_libdir_flag_spec='-R$libdir'
10408 hardcode_direct=yes
10409 hardcode_shlibpath_var=no
10412 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10413 freebsd2.*)
10414 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10415 hardcode_direct=yes
10416 hardcode_minus_L=yes
10417 hardcode_shlibpath_var=no
10420 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10421 freebsd* | dragonfly*)
10422 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10423 hardcode_libdir_flag_spec='-R$libdir'
10424 hardcode_direct=yes
10425 hardcode_shlibpath_var=no
10428 hpux9*)
10429 if test "$GCC" = yes; then
10430 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'
10431 else
10432 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'
10434 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10435 hardcode_libdir_separator=:
10436 hardcode_direct=yes
10438 # hardcode_minus_L: Not really in the search PATH,
10439 # but as the default location of the library.
10440 hardcode_minus_L=yes
10441 export_dynamic_flag_spec='${wl}-E'
10444 hpux10*)
10445 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10446 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10447 else
10448 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10450 if test "$with_gnu_ld" = no; then
10451 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10452 hardcode_libdir_flag_spec_ld='+b $libdir'
10453 hardcode_libdir_separator=:
10454 hardcode_direct=yes
10455 hardcode_direct_absolute=yes
10456 export_dynamic_flag_spec='${wl}-E'
10457 # hardcode_minus_L: Not really in the search PATH,
10458 # but as the default location of the library.
10459 hardcode_minus_L=yes
10463 hpux11*)
10464 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10465 case $host_cpu in
10466 hppa*64*)
10467 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10469 ia64*)
10470 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10473 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10475 esac
10476 else
10477 case $host_cpu in
10478 hppa*64*)
10479 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10481 ia64*)
10482 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10486 # Older versions of the 11.00 compiler do not understand -b yet
10487 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10489 $as_echo_n "checking if $CC understands -b... " >&6; }
10490 if ${lt_cv_prog_compiler__b+:} false; then :
10491 $as_echo_n "(cached) " >&6
10492 else
10493 lt_cv_prog_compiler__b=no
10494 save_LDFLAGS="$LDFLAGS"
10495 LDFLAGS="$LDFLAGS -b"
10496 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10497 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10498 # The linker can only warn and ignore the option if not recognized
10499 # So say no if there are warnings
10500 if test -s conftest.err; then
10501 # Append any errors to the config.log.
10502 cat conftest.err 1>&5
10503 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10504 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10505 if diff conftest.exp conftest.er2 >/dev/null; then
10506 lt_cv_prog_compiler__b=yes
10508 else
10509 lt_cv_prog_compiler__b=yes
10512 $RM -r conftest*
10513 LDFLAGS="$save_LDFLAGS"
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10517 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10519 if test x"$lt_cv_prog_compiler__b" = xyes; then
10520 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10521 else
10522 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10526 esac
10528 if test "$with_gnu_ld" = no; then
10529 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10530 hardcode_libdir_separator=:
10532 case $host_cpu in
10533 hppa*64*|ia64*)
10534 hardcode_direct=no
10535 hardcode_shlibpath_var=no
10538 hardcode_direct=yes
10539 hardcode_direct_absolute=yes
10540 export_dynamic_flag_spec='${wl}-E'
10542 # hardcode_minus_L: Not really in the search PATH,
10543 # but as the default location of the library.
10544 hardcode_minus_L=yes
10546 esac
10550 irix5* | irix6* | nonstopux*)
10551 if test "$GCC" = yes; then
10552 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'
10553 # Try to use the -exported_symbol ld option, if it does not
10554 # work, assume that -exports_file does not work either and
10555 # implicitly export all symbols.
10556 save_LDFLAGS="$LDFLAGS"
10557 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10558 if test x$gcc_no_link = xyes; then
10559 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10562 /* end confdefs.h. */
10563 int foo(void) {}
10564 _ACEOF
10565 if ac_fn_c_try_link "$LINENO"; then :
10566 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'
10569 rm -f core conftest.err conftest.$ac_objext \
10570 conftest$ac_exeext conftest.$ac_ext
10571 LDFLAGS="$save_LDFLAGS"
10572 else
10573 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'
10574 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'
10576 archive_cmds_need_lc='no'
10577 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10578 hardcode_libdir_separator=:
10579 inherit_rpath=yes
10580 link_all_deplibs=yes
10583 netbsd*)
10584 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10585 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10586 else
10587 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10589 hardcode_libdir_flag_spec='-R$libdir'
10590 hardcode_direct=yes
10591 hardcode_shlibpath_var=no
10594 newsos6)
10595 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10596 hardcode_direct=yes
10597 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10598 hardcode_libdir_separator=:
10599 hardcode_shlibpath_var=no
10602 *nto* | *qnx*)
10605 openbsd*)
10606 if test -f /usr/libexec/ld.so; then
10607 hardcode_direct=yes
10608 hardcode_shlibpath_var=no
10609 hardcode_direct_absolute=yes
10610 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10611 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10612 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10613 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10614 export_dynamic_flag_spec='${wl}-E'
10615 else
10616 case $host_os in
10617 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10618 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10619 hardcode_libdir_flag_spec='-R$libdir'
10622 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10623 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10625 esac
10627 else
10628 ld_shlibs=no
10632 os2*)
10633 hardcode_libdir_flag_spec='-L$libdir'
10634 hardcode_minus_L=yes
10635 allow_undefined_flag=unsupported
10636 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'
10637 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10640 osf3*)
10641 if test "$GCC" = yes; then
10642 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10643 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'
10644 else
10645 allow_undefined_flag=' -expect_unresolved \*'
10646 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'
10648 archive_cmds_need_lc='no'
10649 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10650 hardcode_libdir_separator=:
10653 osf4* | osf5*) # as osf3* with the addition of -msym flag
10654 if test "$GCC" = yes; then
10655 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10656 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'
10657 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10658 else
10659 allow_undefined_flag=' -expect_unresolved \*'
10660 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'
10661 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~
10662 $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'
10664 # Both c and cxx compiler support -rpath directly
10665 hardcode_libdir_flag_spec='-rpath $libdir'
10667 archive_cmds_need_lc='no'
10668 hardcode_libdir_separator=:
10671 solaris*)
10672 no_undefined_flag=' -z defs'
10673 if test "$GCC" = yes; then
10674 wlarc='${wl}'
10675 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10676 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10677 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10678 else
10679 case `$CC -V 2>&1` in
10680 *"Compilers 5.0"*)
10681 wlarc=''
10682 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10683 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10684 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10687 wlarc='${wl}'
10688 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10689 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10690 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10692 esac
10694 hardcode_libdir_flag_spec='-R$libdir'
10695 hardcode_shlibpath_var=no
10696 case $host_os in
10697 solaris2.[0-5] | solaris2.[0-5].*) ;;
10699 # The compiler driver will combine and reorder linker options,
10700 # but understands `-z linker_flag'. GCC discards it without `$wl',
10701 # but is careful enough not to reorder.
10702 # Supported since Solaris 2.6 (maybe 2.5.1?)
10703 if test "$GCC" = yes; then
10704 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10705 else
10706 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10709 esac
10710 link_all_deplibs=yes
10713 sunos4*)
10714 if test "x$host_vendor" = xsequent; then
10715 # Use $CC to link under sequent, because it throws in some extra .o
10716 # files that make .init and .fini sections work.
10717 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10718 else
10719 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10721 hardcode_libdir_flag_spec='-L$libdir'
10722 hardcode_direct=yes
10723 hardcode_minus_L=yes
10724 hardcode_shlibpath_var=no
10727 sysv4)
10728 case $host_vendor in
10729 sni)
10730 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10731 hardcode_direct=yes # is this really true???
10733 siemens)
10734 ## LD is ld it makes a PLAMLIB
10735 ## CC just makes a GrossModule.
10736 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10737 reload_cmds='$CC -r -o $output$reload_objs'
10738 hardcode_direct=no
10740 motorola)
10741 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10742 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10744 esac
10745 runpath_var='LD_RUN_PATH'
10746 hardcode_shlibpath_var=no
10749 sysv4.3*)
10750 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10751 hardcode_shlibpath_var=no
10752 export_dynamic_flag_spec='-Bexport'
10755 sysv4*MP*)
10756 if test -d /usr/nec; then
10757 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10758 hardcode_shlibpath_var=no
10759 runpath_var=LD_RUN_PATH
10760 hardcode_runpath_var=yes
10761 ld_shlibs=yes
10765 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10766 no_undefined_flag='${wl}-z,text'
10767 archive_cmds_need_lc=no
10768 hardcode_shlibpath_var=no
10769 runpath_var='LD_RUN_PATH'
10771 if test "$GCC" = yes; then
10772 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10773 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10774 else
10775 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10776 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10780 sysv5* | sco3.2v5* | sco5v6*)
10781 # Note: We can NOT use -z defs as we might desire, because we do not
10782 # link with -lc, and that would cause any symbols used from libc to
10783 # always be unresolved, which means just about no library would
10784 # ever link correctly. If we're not using GNU ld we use -z text
10785 # though, which does catch some bad symbols but isn't as heavy-handed
10786 # as -z defs.
10787 no_undefined_flag='${wl}-z,text'
10788 allow_undefined_flag='${wl}-z,nodefs'
10789 archive_cmds_need_lc=no
10790 hardcode_shlibpath_var=no
10791 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10792 hardcode_libdir_separator=':'
10793 link_all_deplibs=yes
10794 export_dynamic_flag_spec='${wl}-Bexport'
10795 runpath_var='LD_RUN_PATH'
10797 if test "$GCC" = yes; then
10798 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10799 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10800 else
10801 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10802 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10806 uts4*)
10807 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10808 hardcode_libdir_flag_spec='-L$libdir'
10809 hardcode_shlibpath_var=no
10813 ld_shlibs=no
10815 esac
10817 if test x$host_vendor = xsni; then
10818 case $host in
10819 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10820 export_dynamic_flag_spec='${wl}-Blargedynsym'
10822 esac
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10827 $as_echo "$ld_shlibs" >&6; }
10828 test "$ld_shlibs" = no && can_build_shared=no
10830 with_gnu_ld=$with_gnu_ld
10847 # Do we need to explicitly link libc?
10849 case "x$archive_cmds_need_lc" in
10850 x|xyes)
10851 # Assume -lc should be added
10852 archive_cmds_need_lc=yes
10854 if test "$enable_shared" = yes && test "$GCC" = yes; then
10855 case $archive_cmds in
10856 *'~'*)
10857 # FIXME: we may have to deal with multi-command sequences.
10859 '$CC '*)
10860 # Test whether the compiler implicitly links with -lc since on some
10861 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10862 # to ld, don't add -lc before -lgcc.
10863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10864 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10865 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10866 $as_echo_n "(cached) " >&6
10867 else
10868 $RM conftest*
10869 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10871 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10872 (eval $ac_compile) 2>&5
10873 ac_status=$?
10874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10875 test $ac_status = 0; } 2>conftest.err; then
10876 soname=conftest
10877 lib=conftest
10878 libobjs=conftest.$ac_objext
10879 deplibs=
10880 wl=$lt_prog_compiler_wl
10881 pic_flag=$lt_prog_compiler_pic
10882 compiler_flags=-v
10883 linker_flags=-v
10884 verstring=
10885 output_objdir=.
10886 libname=conftest
10887 lt_save_allow_undefined_flag=$allow_undefined_flag
10888 allow_undefined_flag=
10889 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10890 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10891 ac_status=$?
10892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10893 test $ac_status = 0; }
10894 then
10895 lt_cv_archive_cmds_need_lc=no
10896 else
10897 lt_cv_archive_cmds_need_lc=yes
10899 allow_undefined_flag=$lt_save_allow_undefined_flag
10900 else
10901 cat conftest.err 1>&5
10903 $RM conftest*
10906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10907 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10908 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10910 esac
10913 esac
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11072 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11074 if test "$GCC" = yes; then
11075 case $host_os in
11076 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11077 *) lt_awk_arg="/^libraries:/" ;;
11078 esac
11079 case $host_os in
11080 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11081 *) lt_sed_strip_eq="s,=/,/,g" ;;
11082 esac
11083 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11084 case $lt_search_path_spec in
11085 *\;*)
11086 # if the path contains ";" then we assume it to be the separator
11087 # otherwise default to the standard path separator (i.e. ":") - it is
11088 # assumed that no part of a normal pathname contains ";" but that should
11089 # okay in the real world where ";" in dirpaths is itself problematic.
11090 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11093 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11095 esac
11096 # Ok, now we have the path, separated by spaces, we can step through it
11097 # and add multilib dir if necessary.
11098 lt_tmp_lt_search_path_spec=
11099 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11100 for lt_sys_path in $lt_search_path_spec; do
11101 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11102 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11103 else
11104 test -d "$lt_sys_path" && \
11105 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11107 done
11108 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11109 BEGIN {RS=" "; FS="/|\n";} {
11110 lt_foo="";
11111 lt_count=0;
11112 for (lt_i = NF; lt_i > 0; lt_i--) {
11113 if ($lt_i != "" && $lt_i != ".") {
11114 if ($lt_i == "..") {
11115 lt_count++;
11116 } else {
11117 if (lt_count == 0) {
11118 lt_foo="/" $lt_i lt_foo;
11119 } else {
11120 lt_count--;
11125 if (lt_foo != "") { lt_freq[lt_foo]++; }
11126 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11128 # AWK program above erroneously prepends '/' to C:/dos/paths
11129 # for these hosts.
11130 case $host_os in
11131 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11132 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11133 esac
11134 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11135 else
11136 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11138 library_names_spec=
11139 libname_spec='lib$name'
11140 soname_spec=
11141 shrext_cmds=".so"
11142 postinstall_cmds=
11143 postuninstall_cmds=
11144 finish_cmds=
11145 finish_eval=
11146 shlibpath_var=
11147 shlibpath_overrides_runpath=unknown
11148 version_type=none
11149 dynamic_linker="$host_os ld.so"
11150 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11151 need_lib_prefix=unknown
11152 hardcode_into_libs=no
11154 # when you set need_version to no, make sure it does not cause -set_version
11155 # flags to be left without arguments
11156 need_version=unknown
11158 case $host_os in
11159 aix3*)
11160 version_type=linux
11161 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11162 shlibpath_var=LIBPATH
11164 # AIX 3 has no versioning support, so we append a major version to the name.
11165 soname_spec='${libname}${release}${shared_ext}$major'
11168 aix[4-9]*)
11169 version_type=linux
11170 need_lib_prefix=no
11171 need_version=no
11172 hardcode_into_libs=yes
11173 if test "$host_cpu" = ia64; then
11174 # AIX 5 supports IA64
11175 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11176 shlibpath_var=LD_LIBRARY_PATH
11177 else
11178 # With GCC up to 2.95.x, collect2 would create an import file
11179 # for dependence libraries. The import file would start with
11180 # the line `#! .'. This would cause the generated library to
11181 # depend on `.', always an invalid library. This was fixed in
11182 # development snapshots of GCC prior to 3.0.
11183 case $host_os in
11184 aix4 | aix4.[01] | aix4.[01].*)
11185 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11186 echo ' yes '
11187 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11189 else
11190 can_build_shared=no
11193 esac
11194 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11195 # soname into executable. Probably we can add versioning support to
11196 # collect2, so additional links can be useful in future.
11197 if test "$aix_use_runtimelinking" = yes; then
11198 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11199 # instead of lib<name>.a to let people know that these are not
11200 # typical AIX shared libraries.
11201 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11202 else
11203 # We preserve .a as extension for shared libraries through AIX4.2
11204 # and later when we are not doing run time linking.
11205 library_names_spec='${libname}${release}.a $libname.a'
11206 soname_spec='${libname}${release}${shared_ext}$major'
11208 shlibpath_var=LIBPATH
11212 amigaos*)
11213 case $host_cpu in
11214 powerpc)
11215 # Since July 2007 AmigaOS4 officially supports .so libraries.
11216 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11217 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11219 m68k)
11220 library_names_spec='$libname.ixlibrary $libname.a'
11221 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11222 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'
11224 esac
11227 beos*)
11228 library_names_spec='${libname}${shared_ext}'
11229 dynamic_linker="$host_os ld.so"
11230 shlibpath_var=LIBRARY_PATH
11233 bsdi[45]*)
11234 version_type=linux
11235 need_version=no
11236 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11237 soname_spec='${libname}${release}${shared_ext}$major'
11238 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11239 shlibpath_var=LD_LIBRARY_PATH
11240 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11241 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11242 # the default ld.so.conf also contains /usr/contrib/lib and
11243 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11244 # libtool to hard-code these into programs
11247 cygwin* | mingw* | pw32* | cegcc*)
11248 version_type=windows
11249 shrext_cmds=".dll"
11250 need_version=no
11251 need_lib_prefix=no
11253 case $GCC,$host_os in
11254 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11255 library_names_spec='$libname.dll.a'
11256 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11257 postinstall_cmds='base_file=`basename \${file}`~
11258 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11259 dldir=$destdir/`dirname \$dlpath`~
11260 test -d \$dldir || mkdir -p \$dldir~
11261 $install_prog $dir/$dlname \$dldir/$dlname~
11262 chmod a+x \$dldir/$dlname~
11263 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11264 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11266 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11267 dlpath=$dir/\$dldll~
11268 $RM \$dlpath'
11269 shlibpath_overrides_runpath=yes
11271 case $host_os in
11272 cygwin*)
11273 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11274 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11276 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11278 mingw* | cegcc*)
11279 # MinGW DLLs use traditional 'lib' prefix
11280 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11282 pw32*)
11283 # pw32 DLLs use 'pw' prefix rather than 'lib'
11284 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11286 esac
11290 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11292 esac
11293 dynamic_linker='Win32 ld.exe'
11294 # FIXME: first we should search . and the directory the executable is in
11295 shlibpath_var=PATH
11298 darwin* | rhapsody*)
11299 dynamic_linker="$host_os dyld"
11300 version_type=darwin
11301 need_lib_prefix=no
11302 need_version=no
11303 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11304 soname_spec='${libname}${release}${major}$shared_ext'
11305 shlibpath_overrides_runpath=yes
11306 shlibpath_var=DYLD_LIBRARY_PATH
11307 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11309 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11310 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11313 dgux*)
11314 version_type=linux
11315 need_lib_prefix=no
11316 need_version=no
11317 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11318 soname_spec='${libname}${release}${shared_ext}$major'
11319 shlibpath_var=LD_LIBRARY_PATH
11322 freebsd* | dragonfly*)
11323 # DragonFly does not have aout. When/if they implement a new
11324 # versioning mechanism, adjust this.
11325 if test -x /usr/bin/objformat; then
11326 objformat=`/usr/bin/objformat`
11327 else
11328 case $host_os in
11329 freebsd[23].*) objformat=aout ;;
11330 *) objformat=elf ;;
11331 esac
11333 version_type=freebsd-$objformat
11334 case $version_type in
11335 freebsd-elf*)
11336 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11337 need_version=no
11338 need_lib_prefix=no
11340 freebsd-*)
11341 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11342 need_version=yes
11344 esac
11345 shlibpath_var=LD_LIBRARY_PATH
11346 case $host_os in
11347 freebsd2.*)
11348 shlibpath_overrides_runpath=yes
11350 freebsd3.[01]* | freebsdelf3.[01]*)
11351 shlibpath_overrides_runpath=yes
11352 hardcode_into_libs=yes
11354 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11355 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11356 shlibpath_overrides_runpath=no
11357 hardcode_into_libs=yes
11359 *) # from 4.6 on, and DragonFly
11360 shlibpath_overrides_runpath=yes
11361 hardcode_into_libs=yes
11363 esac
11366 haiku*)
11367 version_type=linux
11368 need_lib_prefix=no
11369 need_version=no
11370 dynamic_linker="$host_os runtime_loader"
11371 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11372 soname_spec='${libname}${release}${shared_ext}$major'
11373 shlibpath_var=LIBRARY_PATH
11374 shlibpath_overrides_runpath=yes
11375 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11376 hardcode_into_libs=yes
11379 hpux9* | hpux10* | hpux11*)
11380 # Give a soname corresponding to the major version so that dld.sl refuses to
11381 # link against other versions.
11382 version_type=sunos
11383 need_lib_prefix=no
11384 need_version=no
11385 case $host_cpu in
11386 ia64*)
11387 shrext_cmds='.so'
11388 hardcode_into_libs=yes
11389 dynamic_linker="$host_os dld.so"
11390 shlibpath_var=LD_LIBRARY_PATH
11391 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11392 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11393 soname_spec='${libname}${release}${shared_ext}$major'
11394 if test "X$HPUX_IA64_MODE" = X32; then
11395 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11396 else
11397 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11399 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11401 hppa*64*)
11402 shrext_cmds='.sl'
11403 hardcode_into_libs=yes
11404 dynamic_linker="$host_os dld.sl"
11405 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11406 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11407 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11408 soname_spec='${libname}${release}${shared_ext}$major'
11409 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11410 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11413 shrext_cmds='.sl'
11414 dynamic_linker="$host_os dld.sl"
11415 shlibpath_var=SHLIB_PATH
11416 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11417 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11418 soname_spec='${libname}${release}${shared_ext}$major'
11420 esac
11421 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11422 postinstall_cmds='chmod 555 $lib'
11423 # or fails outright, so override atomically:
11424 install_override_mode=555
11427 interix[3-9]*)
11428 version_type=linux
11429 need_lib_prefix=no
11430 need_version=no
11431 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11432 soname_spec='${libname}${release}${shared_ext}$major'
11433 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11434 shlibpath_var=LD_LIBRARY_PATH
11435 shlibpath_overrides_runpath=no
11436 hardcode_into_libs=yes
11439 irix5* | irix6* | nonstopux*)
11440 case $host_os in
11441 nonstopux*) version_type=nonstopux ;;
11443 if test "$lt_cv_prog_gnu_ld" = yes; then
11444 version_type=linux
11445 else
11446 version_type=irix
11447 fi ;;
11448 esac
11449 need_lib_prefix=no
11450 need_version=no
11451 soname_spec='${libname}${release}${shared_ext}$major'
11452 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11453 case $host_os in
11454 irix5* | nonstopux*)
11455 libsuff= shlibsuff=
11458 case $LD in # libtool.m4 will add one of these switches to LD
11459 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11460 libsuff= shlibsuff= libmagic=32-bit;;
11461 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11462 libsuff=32 shlibsuff=N32 libmagic=N32;;
11463 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11464 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11465 *) libsuff= shlibsuff= libmagic=never-match;;
11466 esac
11468 esac
11469 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11470 shlibpath_overrides_runpath=no
11471 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11472 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11473 hardcode_into_libs=yes
11476 # No shared lib support for Linux oldld, aout, or coff.
11477 linux*oldld* | linux*aout* | linux*coff*)
11478 dynamic_linker=no
11481 # This must be Linux ELF.
11483 # uclinux* changes (here and below) have been submitted to the libtool
11484 # project, but have not yet been accepted: they are GCC-local changes
11485 # for the time being. (See
11486 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
11487 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
11488 version_type=linux
11489 need_lib_prefix=no
11490 need_version=no
11491 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11492 soname_spec='${libname}${release}${shared_ext}$major'
11493 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11494 shlibpath_var=LD_LIBRARY_PATH
11495 shlibpath_overrides_runpath=no
11497 # Some binutils ld are patched to set DT_RUNPATH
11498 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11499 $as_echo_n "(cached) " >&6
11500 else
11501 lt_cv_shlibpath_overrides_runpath=no
11502 save_LDFLAGS=$LDFLAGS
11503 save_libdir=$libdir
11504 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11505 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11506 if test x$gcc_no_link = xyes; then
11507 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11510 /* end confdefs.h. */
11513 main ()
11517 return 0;
11519 _ACEOF
11520 if ac_fn_c_try_link "$LINENO"; then :
11521 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11522 lt_cv_shlibpath_overrides_runpath=yes
11525 rm -f core conftest.err conftest.$ac_objext \
11526 conftest$ac_exeext conftest.$ac_ext
11527 LDFLAGS=$save_LDFLAGS
11528 libdir=$save_libdir
11532 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11534 # This implies no fast_install, which is unacceptable.
11535 # Some rework will be needed to allow for fast_install
11536 # before this can be enabled.
11537 hardcode_into_libs=yes
11539 # Append ld.so.conf contents to the search path
11540 if test -f /etc/ld.so.conf; then
11541 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' ' '`
11542 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11545 # We used to test for /lib/ld.so.1 and disable shared libraries on
11546 # powerpc, because MkLinux only supported shared libraries with the
11547 # GNU dynamic linker. Since this was broken with cross compilers,
11548 # most powerpc-linux boxes support dynamic linking these days and
11549 # people can always --disable-shared, the test was removed, and we
11550 # assume the GNU/Linux dynamic linker is in use.
11551 dynamic_linker='GNU/Linux ld.so'
11554 netbsd*)
11555 version_type=sunos
11556 need_lib_prefix=no
11557 need_version=no
11558 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11559 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11560 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11561 dynamic_linker='NetBSD (a.out) ld.so'
11562 else
11563 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11564 soname_spec='${libname}${release}${shared_ext}$major'
11565 dynamic_linker='NetBSD ld.elf_so'
11567 shlibpath_var=LD_LIBRARY_PATH
11568 shlibpath_overrides_runpath=yes
11569 hardcode_into_libs=yes
11572 newsos6)
11573 version_type=linux
11574 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11575 shlibpath_var=LD_LIBRARY_PATH
11576 shlibpath_overrides_runpath=yes
11579 *nto* | *qnx*)
11580 version_type=qnx
11581 need_lib_prefix=no
11582 need_version=no
11583 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11584 soname_spec='${libname}${release}${shared_ext}$major'
11585 shlibpath_var=LD_LIBRARY_PATH
11586 shlibpath_overrides_runpath=no
11587 hardcode_into_libs=yes
11588 dynamic_linker='ldqnx.so'
11591 openbsd*)
11592 version_type=sunos
11593 sys_lib_dlsearch_path_spec="/usr/lib"
11594 need_lib_prefix=no
11595 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11596 case $host_os in
11597 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11598 *) need_version=no ;;
11599 esac
11600 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11601 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11602 shlibpath_var=LD_LIBRARY_PATH
11603 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11604 case $host_os in
11605 openbsd2.[89] | openbsd2.[89].*)
11606 shlibpath_overrides_runpath=no
11609 shlibpath_overrides_runpath=yes
11611 esac
11612 else
11613 shlibpath_overrides_runpath=yes
11617 os2*)
11618 libname_spec='$name'
11619 shrext_cmds=".dll"
11620 need_lib_prefix=no
11621 library_names_spec='$libname${shared_ext} $libname.a'
11622 dynamic_linker='OS/2 ld.exe'
11623 shlibpath_var=LIBPATH
11626 osf3* | osf4* | osf5*)
11627 version_type=osf
11628 need_lib_prefix=no
11629 need_version=no
11630 soname_spec='${libname}${release}${shared_ext}$major'
11631 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11632 shlibpath_var=LD_LIBRARY_PATH
11633 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11634 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11637 rdos*)
11638 dynamic_linker=no
11641 solaris*)
11642 version_type=linux
11643 need_lib_prefix=no
11644 need_version=no
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 shlibpath_overrides_runpath=yes
11649 hardcode_into_libs=yes
11650 # ldd complains unless libraries are executable
11651 postinstall_cmds='chmod +x $lib'
11654 sunos4*)
11655 version_type=sunos
11656 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11657 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11658 shlibpath_var=LD_LIBRARY_PATH
11659 shlibpath_overrides_runpath=yes
11660 if test "$with_gnu_ld" = yes; then
11661 need_lib_prefix=no
11663 need_version=yes
11666 sysv4 | sysv4.3*)
11667 version_type=linux
11668 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11669 soname_spec='${libname}${release}${shared_ext}$major'
11670 shlibpath_var=LD_LIBRARY_PATH
11671 case $host_vendor in
11672 sni)
11673 shlibpath_overrides_runpath=no
11674 need_lib_prefix=no
11675 runpath_var=LD_RUN_PATH
11677 siemens)
11678 need_lib_prefix=no
11680 motorola)
11681 need_lib_prefix=no
11682 need_version=no
11683 shlibpath_overrides_runpath=no
11684 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11686 esac
11689 sysv4*MP*)
11690 if test -d /usr/nec ;then
11691 version_type=linux
11692 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11693 soname_spec='$libname${shared_ext}.$major'
11694 shlibpath_var=LD_LIBRARY_PATH
11698 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11699 version_type=freebsd-elf
11700 need_lib_prefix=no
11701 need_version=no
11702 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11703 soname_spec='${libname}${release}${shared_ext}$major'
11704 shlibpath_var=LD_LIBRARY_PATH
11705 shlibpath_overrides_runpath=yes
11706 hardcode_into_libs=yes
11707 if test "$with_gnu_ld" = yes; then
11708 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11709 else
11710 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11711 case $host_os in
11712 sco3.2v5*)
11713 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11715 esac
11717 sys_lib_dlsearch_path_spec='/usr/lib'
11720 tpf*)
11721 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11722 version_type=linux
11723 need_lib_prefix=no
11724 need_version=no
11725 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11726 shlibpath_var=LD_LIBRARY_PATH
11727 shlibpath_overrides_runpath=no
11728 hardcode_into_libs=yes
11731 uts4*)
11732 version_type=linux
11733 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11734 soname_spec='${libname}${release}${shared_ext}$major'
11735 shlibpath_var=LD_LIBRARY_PATH
11739 dynamic_linker=no
11741 esac
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11743 $as_echo "$dynamic_linker" >&6; }
11744 test "$dynamic_linker" = no && can_build_shared=no
11746 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11747 if test "$GCC" = yes; then
11748 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11751 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11752 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11754 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11755 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11850 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11851 hardcode_action=
11852 if test -n "$hardcode_libdir_flag_spec" ||
11853 test -n "$runpath_var" ||
11854 test "X$hardcode_automatic" = "Xyes" ; then
11856 # We can hardcode non-existent directories.
11857 if test "$hardcode_direct" != no &&
11858 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11859 # have to relink, otherwise we might link with an installed library
11860 # when we should be linking with a yet-to-be-installed one
11861 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11862 test "$hardcode_minus_L" != no; then
11863 # Linking always hardcodes the temporary library directory.
11864 hardcode_action=relink
11865 else
11866 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11867 hardcode_action=immediate
11869 else
11870 # We cannot hardcode anything, or else we can only hardcode existing
11871 # directories.
11872 hardcode_action=unsupported
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11875 $as_echo "$hardcode_action" >&6; }
11877 if test "$hardcode_action" = relink ||
11878 test "$inherit_rpath" = yes; then
11879 # Fast installation is not supported
11880 enable_fast_install=no
11881 elif test "$shlibpath_overrides_runpath" = yes ||
11882 test "$enable_shared" = no; then
11883 # Fast installation is not necessary
11884 enable_fast_install=needless
11892 if test "x$enable_dlopen" != xyes; then
11893 enable_dlopen=unknown
11894 enable_dlopen_self=unknown
11895 enable_dlopen_self_static=unknown
11896 else
11897 lt_cv_dlopen=no
11898 lt_cv_dlopen_libs=
11900 case $host_os in
11901 beos*)
11902 lt_cv_dlopen="load_add_on"
11903 lt_cv_dlopen_libs=
11904 lt_cv_dlopen_self=yes
11907 mingw* | pw32* | cegcc*)
11908 lt_cv_dlopen="LoadLibrary"
11909 lt_cv_dlopen_libs=
11912 cygwin*)
11913 lt_cv_dlopen="dlopen"
11914 lt_cv_dlopen_libs=
11917 darwin*)
11918 # if libdl is installed we need to link against it
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11920 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11921 if ${ac_cv_lib_dl_dlopen+:} false; then :
11922 $as_echo_n "(cached) " >&6
11923 else
11924 ac_check_lib_save_LIBS=$LIBS
11925 LIBS="-ldl $LIBS"
11926 if test x$gcc_no_link = xyes; then
11927 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11930 /* end confdefs.h. */
11932 /* Override any GCC internal prototype to avoid an error.
11933 Use char because int might match the return type of a GCC
11934 builtin and then its argument prototype would still apply. */
11935 #ifdef __cplusplus
11936 extern "C"
11937 #endif
11938 char dlopen ();
11940 main ()
11942 return dlopen ();
11944 return 0;
11946 _ACEOF
11947 if ac_fn_c_try_link "$LINENO"; then :
11948 ac_cv_lib_dl_dlopen=yes
11949 else
11950 ac_cv_lib_dl_dlopen=no
11952 rm -f core conftest.err conftest.$ac_objext \
11953 conftest$ac_exeext conftest.$ac_ext
11954 LIBS=$ac_check_lib_save_LIBS
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11957 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11958 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11959 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11960 else
11962 lt_cv_dlopen="dyld"
11963 lt_cv_dlopen_libs=
11964 lt_cv_dlopen_self=yes
11971 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11972 if test "x$ac_cv_func_shl_load" = xyes; then :
11973 lt_cv_dlopen="shl_load"
11974 else
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11976 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11977 if ${ac_cv_lib_dld_shl_load+:} false; then :
11978 $as_echo_n "(cached) " >&6
11979 else
11980 ac_check_lib_save_LIBS=$LIBS
11981 LIBS="-ldld $LIBS"
11982 if test x$gcc_no_link = xyes; then
11983 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11986 /* end confdefs.h. */
11988 /* Override any GCC internal prototype to avoid an error.
11989 Use char because int might match the return type of a GCC
11990 builtin and then its argument prototype would still apply. */
11991 #ifdef __cplusplus
11992 extern "C"
11993 #endif
11994 char shl_load ();
11996 main ()
11998 return shl_load ();
12000 return 0;
12002 _ACEOF
12003 if ac_fn_c_try_link "$LINENO"; then :
12004 ac_cv_lib_dld_shl_load=yes
12005 else
12006 ac_cv_lib_dld_shl_load=no
12008 rm -f core conftest.err conftest.$ac_objext \
12009 conftest$ac_exeext conftest.$ac_ext
12010 LIBS=$ac_check_lib_save_LIBS
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12013 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12014 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12015 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12016 else
12017 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12018 if test "x$ac_cv_func_dlopen" = xyes; then :
12019 lt_cv_dlopen="dlopen"
12020 else
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12022 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12023 if ${ac_cv_lib_dl_dlopen+:} false; then :
12024 $as_echo_n "(cached) " >&6
12025 else
12026 ac_check_lib_save_LIBS=$LIBS
12027 LIBS="-ldl $LIBS"
12028 if test x$gcc_no_link = xyes; then
12029 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12032 /* end confdefs.h. */
12034 /* Override any GCC internal prototype to avoid an error.
12035 Use char because int might match the return type of a GCC
12036 builtin and then its argument prototype would still apply. */
12037 #ifdef __cplusplus
12038 extern "C"
12039 #endif
12040 char dlopen ();
12042 main ()
12044 return dlopen ();
12046 return 0;
12048 _ACEOF
12049 if ac_fn_c_try_link "$LINENO"; then :
12050 ac_cv_lib_dl_dlopen=yes
12051 else
12052 ac_cv_lib_dl_dlopen=no
12054 rm -f core conftest.err conftest.$ac_objext \
12055 conftest$ac_exeext conftest.$ac_ext
12056 LIBS=$ac_check_lib_save_LIBS
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12059 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12060 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12061 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12062 else
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12064 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12065 if ${ac_cv_lib_svld_dlopen+:} false; then :
12066 $as_echo_n "(cached) " >&6
12067 else
12068 ac_check_lib_save_LIBS=$LIBS
12069 LIBS="-lsvld $LIBS"
12070 if test x$gcc_no_link = xyes; then
12071 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12074 /* end confdefs.h. */
12076 /* Override any GCC internal prototype to avoid an error.
12077 Use char because int might match the return type of a GCC
12078 builtin and then its argument prototype would still apply. */
12079 #ifdef __cplusplus
12080 extern "C"
12081 #endif
12082 char dlopen ();
12084 main ()
12086 return dlopen ();
12088 return 0;
12090 _ACEOF
12091 if ac_fn_c_try_link "$LINENO"; then :
12092 ac_cv_lib_svld_dlopen=yes
12093 else
12094 ac_cv_lib_svld_dlopen=no
12096 rm -f core conftest.err conftest.$ac_objext \
12097 conftest$ac_exeext conftest.$ac_ext
12098 LIBS=$ac_check_lib_save_LIBS
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12101 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12102 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12103 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12104 else
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12106 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12107 if ${ac_cv_lib_dld_dld_link+:} false; then :
12108 $as_echo_n "(cached) " >&6
12109 else
12110 ac_check_lib_save_LIBS=$LIBS
12111 LIBS="-ldld $LIBS"
12112 if test x$gcc_no_link = xyes; then
12113 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12116 /* end confdefs.h. */
12118 /* Override any GCC internal prototype to avoid an error.
12119 Use char because int might match the return type of a GCC
12120 builtin and then its argument prototype would still apply. */
12121 #ifdef __cplusplus
12122 extern "C"
12123 #endif
12124 char dld_link ();
12126 main ()
12128 return dld_link ();
12130 return 0;
12132 _ACEOF
12133 if ac_fn_c_try_link "$LINENO"; then :
12134 ac_cv_lib_dld_dld_link=yes
12135 else
12136 ac_cv_lib_dld_dld_link=no
12138 rm -f core conftest.err conftest.$ac_objext \
12139 conftest$ac_exeext conftest.$ac_ext
12140 LIBS=$ac_check_lib_save_LIBS
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12143 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12144 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12145 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12164 esac
12166 if test "x$lt_cv_dlopen" != xno; then
12167 enable_dlopen=yes
12168 else
12169 enable_dlopen=no
12172 case $lt_cv_dlopen in
12173 dlopen)
12174 save_CPPFLAGS="$CPPFLAGS"
12175 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12177 save_LDFLAGS="$LDFLAGS"
12178 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12180 save_LIBS="$LIBS"
12181 LIBS="$lt_cv_dlopen_libs $LIBS"
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12184 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12185 if ${lt_cv_dlopen_self+:} false; then :
12186 $as_echo_n "(cached) " >&6
12187 else
12188 if test "$cross_compiling" = yes; then :
12189 lt_cv_dlopen_self=cross
12190 else
12191 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12192 lt_status=$lt_dlunknown
12193 cat > conftest.$ac_ext <<_LT_EOF
12194 #line 12194 "configure"
12195 #include "confdefs.h"
12197 #if HAVE_DLFCN_H
12198 #include <dlfcn.h>
12199 #endif
12201 #include <stdio.h>
12203 #ifdef RTLD_GLOBAL
12204 # define LT_DLGLOBAL RTLD_GLOBAL
12205 #else
12206 # ifdef DL_GLOBAL
12207 # define LT_DLGLOBAL DL_GLOBAL
12208 # else
12209 # define LT_DLGLOBAL 0
12210 # endif
12211 #endif
12213 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12214 find out it does not work in some platform. */
12215 #ifndef LT_DLLAZY_OR_NOW
12216 # ifdef RTLD_LAZY
12217 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12218 # else
12219 # ifdef DL_LAZY
12220 # define LT_DLLAZY_OR_NOW DL_LAZY
12221 # else
12222 # ifdef RTLD_NOW
12223 # define LT_DLLAZY_OR_NOW RTLD_NOW
12224 # else
12225 # ifdef DL_NOW
12226 # define LT_DLLAZY_OR_NOW DL_NOW
12227 # else
12228 # define LT_DLLAZY_OR_NOW 0
12229 # endif
12230 # endif
12231 # endif
12232 # endif
12233 #endif
12235 /* When -fvisbility=hidden is used, assume the code has been annotated
12236 correspondingly for the symbols needed. */
12237 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12238 void fnord () __attribute__((visibility("default")));
12239 #endif
12241 void fnord () { int i=42; }
12242 int main ()
12244 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12245 int status = $lt_dlunknown;
12247 if (self)
12249 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12250 else
12252 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12253 else puts (dlerror ());
12255 /* dlclose (self); */
12257 else
12258 puts (dlerror ());
12260 return status;
12262 _LT_EOF
12263 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12264 (eval $ac_link) 2>&5
12265 ac_status=$?
12266 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12267 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12268 (./conftest; exit; ) >&5 2>/dev/null
12269 lt_status=$?
12270 case x$lt_status in
12271 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12272 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12273 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12274 esac
12275 else :
12276 # compilation failed
12277 lt_cv_dlopen_self=no
12280 rm -fr conftest*
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12285 $as_echo "$lt_cv_dlopen_self" >&6; }
12287 if test "x$lt_cv_dlopen_self" = xyes; then
12288 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12290 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12291 if ${lt_cv_dlopen_self_static+:} false; then :
12292 $as_echo_n "(cached) " >&6
12293 else
12294 if test "$cross_compiling" = yes; then :
12295 lt_cv_dlopen_self_static=cross
12296 else
12297 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12298 lt_status=$lt_dlunknown
12299 cat > conftest.$ac_ext <<_LT_EOF
12300 #line 12300 "configure"
12301 #include "confdefs.h"
12303 #if HAVE_DLFCN_H
12304 #include <dlfcn.h>
12305 #endif
12307 #include <stdio.h>
12309 #ifdef RTLD_GLOBAL
12310 # define LT_DLGLOBAL RTLD_GLOBAL
12311 #else
12312 # ifdef DL_GLOBAL
12313 # define LT_DLGLOBAL DL_GLOBAL
12314 # else
12315 # define LT_DLGLOBAL 0
12316 # endif
12317 #endif
12319 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12320 find out it does not work in some platform. */
12321 #ifndef LT_DLLAZY_OR_NOW
12322 # ifdef RTLD_LAZY
12323 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12324 # else
12325 # ifdef DL_LAZY
12326 # define LT_DLLAZY_OR_NOW DL_LAZY
12327 # else
12328 # ifdef RTLD_NOW
12329 # define LT_DLLAZY_OR_NOW RTLD_NOW
12330 # else
12331 # ifdef DL_NOW
12332 # define LT_DLLAZY_OR_NOW DL_NOW
12333 # else
12334 # define LT_DLLAZY_OR_NOW 0
12335 # endif
12336 # endif
12337 # endif
12338 # endif
12339 #endif
12341 /* When -fvisbility=hidden is used, assume the code has been annotated
12342 correspondingly for the symbols needed. */
12343 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12344 void fnord () __attribute__((visibility("default")));
12345 #endif
12347 void fnord () { int i=42; }
12348 int main ()
12350 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12351 int status = $lt_dlunknown;
12353 if (self)
12355 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12356 else
12358 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12359 else puts (dlerror ());
12361 /* dlclose (self); */
12363 else
12364 puts (dlerror ());
12366 return status;
12368 _LT_EOF
12369 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12370 (eval $ac_link) 2>&5
12371 ac_status=$?
12372 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12373 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12374 (./conftest; exit; ) >&5 2>/dev/null
12375 lt_status=$?
12376 case x$lt_status in
12377 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12378 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12379 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12380 esac
12381 else :
12382 # compilation failed
12383 lt_cv_dlopen_self_static=no
12386 rm -fr conftest*
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12391 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12394 CPPFLAGS="$save_CPPFLAGS"
12395 LDFLAGS="$save_LDFLAGS"
12396 LIBS="$save_LIBS"
12398 esac
12400 case $lt_cv_dlopen_self in
12401 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12402 *) enable_dlopen_self=unknown ;;
12403 esac
12405 case $lt_cv_dlopen_self_static in
12406 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12407 *) enable_dlopen_self_static=unknown ;;
12408 esac
12427 striplib=
12428 old_striplib=
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12430 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12431 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12432 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12433 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12435 $as_echo "yes" >&6; }
12436 else
12437 # FIXME - insert some real tests, host_os isn't really good enough
12438 case $host_os in
12439 darwin*)
12440 if test -n "$STRIP" ; then
12441 striplib="$STRIP -x"
12442 old_striplib="$STRIP -S"
12443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12444 $as_echo "yes" >&6; }
12445 else
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12447 $as_echo "no" >&6; }
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12452 $as_echo "no" >&6; }
12454 esac
12468 # Report which library types will actually be built
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12470 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12472 $as_echo "$can_build_shared" >&6; }
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12475 $as_echo_n "checking whether to build shared libraries... " >&6; }
12476 test "$can_build_shared" = "no" && enable_shared=no
12478 # On AIX, shared libraries and static libraries use the same namespace, and
12479 # are all built from PIC.
12480 case $host_os in
12481 aix3*)
12482 test "$enable_shared" = yes && enable_static=no
12483 if test -n "$RANLIB"; then
12484 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12485 postinstall_cmds='$RANLIB $lib'
12489 aix[4-9]*)
12490 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12491 test "$enable_shared" = yes && enable_static=no
12494 esac
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12496 $as_echo "$enable_shared" >&6; }
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12499 $as_echo_n "checking whether to build static libraries... " >&6; }
12500 # Make sure either enable_shared or enable_static is yes.
12501 test "$enable_shared" = yes || enable_static=yes
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12503 $as_echo "$enable_static" >&6; }
12509 ac_ext=c
12510 ac_cpp='$CPP $CPPFLAGS'
12511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12515 CC="$lt_save_CC"
12517 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12518 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12519 (test "X$CXX" != "Xg++"))) ; then
12520 ac_ext=cpp
12521 ac_cpp='$CXXCPP $CPPFLAGS'
12522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12526 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12527 if test -z "$CXXCPP"; then
12528 if ${ac_cv_prog_CXXCPP+:} false; then :
12529 $as_echo_n "(cached) " >&6
12530 else
12531 # Double quotes because CXXCPP needs to be expanded
12532 for CXXCPP in "$CXX -E" "/lib/cpp"
12534 ac_preproc_ok=false
12535 for ac_cxx_preproc_warn_flag in '' yes
12537 # Use a header file that comes with gcc, so configuring glibc
12538 # with a fresh cross-compiler works.
12539 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12540 # <limits.h> exists even on freestanding compilers.
12541 # On the NeXT, cc -E runs the code through the compiler's parser,
12542 # not just through cpp. "Syntax error" is here to catch this case.
12543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12544 /* end confdefs.h. */
12545 #ifdef __STDC__
12546 # include <limits.h>
12547 #else
12548 # include <assert.h>
12549 #endif
12550 Syntax error
12551 _ACEOF
12552 if ac_fn_cxx_try_cpp "$LINENO"; then :
12554 else
12555 # Broken: fails on valid input.
12556 continue
12558 rm -f conftest.err conftest.i conftest.$ac_ext
12560 # OK, works on sane cases. Now check whether nonexistent headers
12561 # can be detected and how.
12562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12563 /* end confdefs.h. */
12564 #include <ac_nonexistent.h>
12565 _ACEOF
12566 if ac_fn_cxx_try_cpp "$LINENO"; then :
12567 # Broken: success on invalid input.
12568 continue
12569 else
12570 # Passes both tests.
12571 ac_preproc_ok=:
12572 break
12574 rm -f conftest.err conftest.i conftest.$ac_ext
12576 done
12577 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12578 rm -f conftest.i conftest.err conftest.$ac_ext
12579 if $ac_preproc_ok; then :
12580 break
12583 done
12584 ac_cv_prog_CXXCPP=$CXXCPP
12587 CXXCPP=$ac_cv_prog_CXXCPP
12588 else
12589 ac_cv_prog_CXXCPP=$CXXCPP
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12592 $as_echo "$CXXCPP" >&6; }
12593 ac_preproc_ok=false
12594 for ac_cxx_preproc_warn_flag in '' yes
12596 # Use a header file that comes with gcc, so configuring glibc
12597 # with a fresh cross-compiler works.
12598 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12599 # <limits.h> exists even on freestanding compilers.
12600 # On the NeXT, cc -E runs the code through the compiler's parser,
12601 # not just through cpp. "Syntax error" is here to catch this case.
12602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12603 /* end confdefs.h. */
12604 #ifdef __STDC__
12605 # include <limits.h>
12606 #else
12607 # include <assert.h>
12608 #endif
12609 Syntax error
12610 _ACEOF
12611 if ac_fn_cxx_try_cpp "$LINENO"; then :
12613 else
12614 # Broken: fails on valid input.
12615 continue
12617 rm -f conftest.err conftest.i conftest.$ac_ext
12619 # OK, works on sane cases. Now check whether nonexistent headers
12620 # can be detected and how.
12621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12622 /* end confdefs.h. */
12623 #include <ac_nonexistent.h>
12624 _ACEOF
12625 if ac_fn_cxx_try_cpp "$LINENO"; then :
12626 # Broken: success on invalid input.
12627 continue
12628 else
12629 # Passes both tests.
12630 ac_preproc_ok=:
12631 break
12633 rm -f conftest.err conftest.i conftest.$ac_ext
12635 done
12636 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12637 rm -f conftest.i conftest.err conftest.$ac_ext
12638 if $ac_preproc_ok; then :
12640 else
12641 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12642 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12643 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12644 See \`config.log' for more details" "$LINENO" 5; }
12647 ac_ext=c
12648 ac_cpp='$CPP $CPPFLAGS'
12649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12653 else
12654 _lt_caught_CXX_error=yes
12657 ac_ext=cpp
12658 ac_cpp='$CXXCPP $CPPFLAGS'
12659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12663 archive_cmds_need_lc_CXX=no
12664 allow_undefined_flag_CXX=
12665 always_export_symbols_CXX=no
12666 archive_expsym_cmds_CXX=
12667 compiler_needs_object_CXX=no
12668 export_dynamic_flag_spec_CXX=
12669 hardcode_direct_CXX=no
12670 hardcode_direct_absolute_CXX=no
12671 hardcode_libdir_flag_spec_CXX=
12672 hardcode_libdir_flag_spec_ld_CXX=
12673 hardcode_libdir_separator_CXX=
12674 hardcode_minus_L_CXX=no
12675 hardcode_shlibpath_var_CXX=unsupported
12676 hardcode_automatic_CXX=no
12677 inherit_rpath_CXX=no
12678 module_cmds_CXX=
12679 module_expsym_cmds_CXX=
12680 link_all_deplibs_CXX=unknown
12681 old_archive_cmds_CXX=$old_archive_cmds
12682 reload_flag_CXX=$reload_flag
12683 reload_cmds_CXX=$reload_cmds
12684 no_undefined_flag_CXX=
12685 whole_archive_flag_spec_CXX=
12686 enable_shared_with_static_runtimes_CXX=no
12688 # Source file extension for C++ test sources.
12689 ac_ext=cpp
12691 # Object file extension for compiled C++ test sources.
12692 objext=o
12693 objext_CXX=$objext
12695 # No sense in running all these tests if we already determined that
12696 # the CXX compiler isn't working. Some variables (like enable_shared)
12697 # are currently assumed to apply to all compilers on this platform,
12698 # and will be corrupted by setting them based on a non-working compiler.
12699 if test "$_lt_caught_CXX_error" != yes; then
12700 # Code to be used in simple compile tests
12701 lt_simple_compile_test_code="int some_variable = 0;"
12703 # Code to be used in simple link tests
12704 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12706 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12713 # If no C compiler was specified, use CC.
12714 LTCC=${LTCC-"$CC"}
12716 # If no C compiler flags were specified, use CFLAGS.
12717 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12719 # Allow CC to be a program name with arguments.
12720 compiler=$CC
12723 # save warnings/boilerplate of simple test code
12724 ac_outfile=conftest.$ac_objext
12725 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12726 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12727 _lt_compiler_boilerplate=`cat conftest.err`
12728 $RM conftest*
12730 ac_outfile=conftest.$ac_objext
12731 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12732 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12733 _lt_linker_boilerplate=`cat conftest.err`
12734 $RM -r conftest*
12737 # Allow CC to be a program name with arguments.
12738 lt_save_CC=$CC
12739 lt_save_LD=$LD
12740 lt_save_GCC=$GCC
12741 GCC=$GXX
12742 lt_save_with_gnu_ld=$with_gnu_ld
12743 lt_save_path_LD=$lt_cv_path_LD
12744 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12745 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12746 else
12747 $as_unset lt_cv_prog_gnu_ld
12749 if test -n "${lt_cv_path_LDCXX+set}"; then
12750 lt_cv_path_LD=$lt_cv_path_LDCXX
12751 else
12752 $as_unset lt_cv_path_LD
12754 test -z "${LDCXX+set}" || LD=$LDCXX
12755 CC=${CXX-"c++"}
12756 compiler=$CC
12757 compiler_CXX=$CC
12758 for cc_temp in $compiler""; do
12759 case $cc_temp in
12760 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12761 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12762 \-*) ;;
12763 *) break;;
12764 esac
12765 done
12766 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12769 if test -n "$compiler"; then
12770 # We don't want -fno-exception when compiling C++ code, so set the
12771 # no_builtin_flag separately
12772 if test "$GXX" = yes; then
12773 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12774 else
12775 lt_prog_compiler_no_builtin_flag_CXX=
12778 if test "$GXX" = yes; then
12779 # Set up default GNU C++ configuration
12783 # Check whether --with-gnu-ld was given.
12784 if test "${with_gnu_ld+set}" = set; then :
12785 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12786 else
12787 with_gnu_ld=no
12790 ac_prog=ld
12791 if test "$GCC" = yes; then
12792 # Check if gcc -print-prog-name=ld gives a path.
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12794 $as_echo_n "checking for ld used by $CC... " >&6; }
12795 case $host in
12796 *-*-mingw*)
12797 # gcc leaves a trailing carriage return which upsets mingw
12798 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12800 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12801 esac
12802 case $ac_prog in
12803 # Accept absolute paths.
12804 [\\/]* | ?:[\\/]*)
12805 re_direlt='/[^/][^/]*/\.\./'
12806 # Canonicalize the pathname of ld
12807 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12808 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12809 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12810 done
12811 test -z "$LD" && LD="$ac_prog"
12814 # If it fails, then pretend we aren't using GCC.
12815 ac_prog=ld
12818 # If it is relative, then search for the first ld in PATH.
12819 with_gnu_ld=unknown
12821 esac
12822 elif test "$with_gnu_ld" = yes; then
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12824 $as_echo_n "checking for GNU ld... " >&6; }
12825 else
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12827 $as_echo_n "checking for non-GNU ld... " >&6; }
12829 if ${lt_cv_path_LD+:} false; then :
12830 $as_echo_n "(cached) " >&6
12831 else
12832 if test -z "$LD"; then
12833 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12834 for ac_dir in $PATH; do
12835 IFS="$lt_save_ifs"
12836 test -z "$ac_dir" && ac_dir=.
12837 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12838 lt_cv_path_LD="$ac_dir/$ac_prog"
12839 # Check to see if the program is GNU ld. I'd rather use --version,
12840 # but apparently some variants of GNU ld only accept -v.
12841 # Break only if it was the GNU/non-GNU ld that we prefer.
12842 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12843 *GNU* | *'with BFD'*)
12844 test "$with_gnu_ld" != no && break
12847 test "$with_gnu_ld" != yes && break
12849 esac
12851 done
12852 IFS="$lt_save_ifs"
12853 else
12854 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12858 LD="$lt_cv_path_LD"
12859 if test -n "$LD"; then
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12861 $as_echo "$LD" >&6; }
12862 else
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12864 $as_echo "no" >&6; }
12866 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12868 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12869 if ${lt_cv_prog_gnu_ld+:} false; then :
12870 $as_echo_n "(cached) " >&6
12871 else
12872 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12873 case `$LD -v 2>&1 </dev/null` in
12874 *GNU* | *'with BFD'*)
12875 lt_cv_prog_gnu_ld=yes
12878 lt_cv_prog_gnu_ld=no
12880 esac
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12883 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12884 with_gnu_ld=$lt_cv_prog_gnu_ld
12892 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12893 # archiving commands below assume that GNU ld is being used.
12894 if test "$with_gnu_ld" = yes; then
12895 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12896 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'
12898 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12899 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12901 # If archive_cmds runs LD, not CC, wlarc should be empty
12902 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12903 # investigate it a little bit more. (MM)
12904 wlarc='${wl}'
12906 # ancient GNU ld didn't support --whole-archive et. al.
12907 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12908 $GREP 'no-whole-archive' > /dev/null; then
12909 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12910 else
12911 whole_archive_flag_spec_CXX=
12913 else
12914 with_gnu_ld=no
12915 wlarc=
12917 # A generic and very simple default shared library creation
12918 # command for GNU C++ for the case where it uses the native
12919 # linker, instead of GNU ld. If possible, this setting should
12920 # overridden to take advantage of the native linker features on
12921 # the platform it is being used on.
12922 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12925 # Commands to make compiler produce verbose output that lists
12926 # what "hidden" libraries, object files and flags are used when
12927 # linking a shared library.
12928 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12930 else
12931 GXX=no
12932 with_gnu_ld=no
12933 wlarc=
12936 # PORTME: fill in a description of your system's C++ link characteristics
12937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12938 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12939 ld_shlibs_CXX=yes
12940 case $host_os in
12941 aix3*)
12942 # FIXME: insert proper C++ library support
12943 ld_shlibs_CXX=no
12945 aix[4-9]*)
12946 if test "$host_cpu" = ia64; then
12947 # On IA64, the linker does run time linking by default, so we don't
12948 # have to do anything special.
12949 aix_use_runtimelinking=no
12950 exp_sym_flag='-Bexport'
12951 no_entry_flag=""
12952 else
12953 aix_use_runtimelinking=no
12955 # Test if we are trying to use run time linking or normal
12956 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12957 # need to do runtime linking.
12958 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12959 for ld_flag in $LDFLAGS; do
12960 case $ld_flag in
12961 *-brtl*)
12962 aix_use_runtimelinking=yes
12963 break
12965 esac
12966 done
12968 esac
12970 exp_sym_flag='-bexport'
12971 no_entry_flag='-bnoentry'
12974 # When large executables or shared objects are built, AIX ld can
12975 # have problems creating the table of contents. If linking a library
12976 # or program results in "error TOC overflow" add -mminimal-toc to
12977 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12978 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12980 archive_cmds_CXX=''
12981 hardcode_direct_CXX=yes
12982 hardcode_direct_absolute_CXX=yes
12983 hardcode_libdir_separator_CXX=':'
12984 link_all_deplibs_CXX=yes
12985 file_list_spec_CXX='${wl}-f,'
12987 if test "$GXX" = yes; then
12988 case $host_os in aix4.[012]|aix4.[012].*)
12989 # We only want to do this on AIX 4.2 and lower, the check
12990 # below for broken collect2 doesn't work under 4.3+
12991 collect2name=`${CC} -print-prog-name=collect2`
12992 if test -f "$collect2name" &&
12993 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12994 then
12995 # We have reworked collect2
12997 else
12998 # We have old collect2
12999 hardcode_direct_CXX=unsupported
13000 # It fails to find uninstalled libraries when the uninstalled
13001 # path is not listed in the libpath. Setting hardcode_minus_L
13002 # to unsupported forces relinking
13003 hardcode_minus_L_CXX=yes
13004 hardcode_libdir_flag_spec_CXX='-L$libdir'
13005 hardcode_libdir_separator_CXX=
13007 esac
13008 shared_flag='-shared'
13009 if test "$aix_use_runtimelinking" = yes; then
13010 shared_flag="$shared_flag "'${wl}-G'
13012 else
13013 # not using gcc
13014 if test "$host_cpu" = ia64; then
13015 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13016 # chokes on -Wl,-G. The following line is correct:
13017 shared_flag='-G'
13018 else
13019 if test "$aix_use_runtimelinking" = yes; then
13020 shared_flag='${wl}-G'
13021 else
13022 shared_flag='${wl}-bM:SRE'
13027 export_dynamic_flag_spec_CXX='${wl}-bexpall'
13028 # It seems that -bexpall does not export symbols beginning with
13029 # underscore (_), so it is better to generate a list of symbols to
13030 # export.
13031 always_export_symbols_CXX=yes
13032 if test "$aix_use_runtimelinking" = yes; then
13033 # Warning - without using the other runtime loading flags (-brtl),
13034 # -berok will link without error, but may produce a broken library.
13035 allow_undefined_flag_CXX='-berok'
13036 # Determine the default libpath from the value encoded in an empty
13037 # executable.
13038 if test x$gcc_no_link = xyes; then
13039 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13042 /* end confdefs.h. */
13045 main ()
13049 return 0;
13051 _ACEOF
13052 if ac_fn_cxx_try_link "$LINENO"; then :
13054 lt_aix_libpath_sed='
13055 /Import File Strings/,/^$/ {
13056 /^0/ {
13057 s/^0 *\(.*\)$/\1/
13061 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13062 # Check for a 64-bit object if we didn't find anything.
13063 if test -z "$aix_libpath"; then
13064 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13067 rm -f core conftest.err conftest.$ac_objext \
13068 conftest$ac_exeext conftest.$ac_ext
13069 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13071 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13073 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"
13074 else
13075 if test "$host_cpu" = ia64; then
13076 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13077 allow_undefined_flag_CXX="-z nodefs"
13078 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"
13079 else
13080 # Determine the default libpath from the value encoded in an
13081 # empty executable.
13082 if test x$gcc_no_link = xyes; then
13083 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13086 /* end confdefs.h. */
13089 main ()
13093 return 0;
13095 _ACEOF
13096 if ac_fn_cxx_try_link "$LINENO"; then :
13098 lt_aix_libpath_sed='
13099 /Import File Strings/,/^$/ {
13100 /^0/ {
13101 s/^0 *\(.*\)$/\1/
13105 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13106 # Check for a 64-bit object if we didn't find anything.
13107 if test -z "$aix_libpath"; then
13108 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13111 rm -f core conftest.err conftest.$ac_objext \
13112 conftest$ac_exeext conftest.$ac_ext
13113 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13115 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13116 # Warning - without using the other run time loading flags,
13117 # -berok will link without error, but may produce a broken library.
13118 no_undefined_flag_CXX=' ${wl}-bernotok'
13119 allow_undefined_flag_CXX=' ${wl}-berok'
13120 if test "$with_gnu_ld" = yes; then
13121 # We only use this code for GNU lds that support --whole-archive.
13122 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13123 else
13124 # Exported symbols can be pulled into shared objects from archives
13125 whole_archive_flag_spec_CXX='$convenience'
13127 archive_cmds_need_lc_CXX=yes
13128 # This is similar to how AIX traditionally builds its shared
13129 # libraries.
13130 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'
13135 beos*)
13136 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13137 allow_undefined_flag_CXX=unsupported
13138 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13139 # support --undefined. This deserves some investigation. FIXME
13140 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13141 else
13142 ld_shlibs_CXX=no
13146 chorus*)
13147 case $cc_basename in
13149 # FIXME: insert proper C++ library support
13150 ld_shlibs_CXX=no
13152 esac
13155 cygwin* | mingw* | pw32* | cegcc*)
13156 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13157 # as there is no search path for DLLs.
13158 hardcode_libdir_flag_spec_CXX='-L$libdir'
13159 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13160 allow_undefined_flag_CXX=unsupported
13161 always_export_symbols_CXX=no
13162 enable_shared_with_static_runtimes_CXX=yes
13164 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13165 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'
13166 # If the export-symbols file already is a .def file (1st line
13167 # is EXPORTS), use it as is; otherwise, prepend...
13168 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13169 cp $export_symbols $output_objdir/$soname.def;
13170 else
13171 echo EXPORTS > $output_objdir/$soname.def;
13172 cat $export_symbols >> $output_objdir/$soname.def;
13174 $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'
13175 else
13176 ld_shlibs_CXX=no
13179 darwin* | rhapsody*)
13182 archive_cmds_need_lc_CXX=no
13183 hardcode_direct_CXX=no
13184 hardcode_automatic_CXX=yes
13185 hardcode_shlibpath_var_CXX=unsupported
13186 if test "$lt_cv_ld_force_load" = "yes"; then
13187 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\"`'
13188 else
13189 whole_archive_flag_spec_CXX=''
13191 link_all_deplibs_CXX=yes
13192 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13193 case $cc_basename in
13194 ifort*) _lt_dar_can_shared=yes ;;
13195 *) _lt_dar_can_shared=$GCC ;;
13196 esac
13197 if test "$_lt_dar_can_shared" = "yes"; then
13198 output_verbose_link_cmd=func_echo_all
13199 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}"
13200 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13201 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}"
13202 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}"
13203 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13204 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}"
13205 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}"
13208 else
13209 ld_shlibs_CXX=no
13214 dgux*)
13215 case $cc_basename in
13216 ec++*)
13217 # FIXME: insert proper C++ library support
13218 ld_shlibs_CXX=no
13220 ghcx*)
13221 # Green Hills C++ Compiler
13222 # FIXME: insert proper C++ library support
13223 ld_shlibs_CXX=no
13226 # FIXME: insert proper C++ library support
13227 ld_shlibs_CXX=no
13229 esac
13232 freebsd2.*)
13233 # C++ shared libraries reported to be fairly broken before
13234 # switch to ELF
13235 ld_shlibs_CXX=no
13238 freebsd-elf*)
13239 archive_cmds_need_lc_CXX=no
13242 freebsd* | dragonfly*)
13243 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13244 # conventions
13245 ld_shlibs_CXX=yes
13248 gnu*)
13251 haiku*)
13252 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13253 link_all_deplibs_CXX=yes
13256 hpux9*)
13257 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13258 hardcode_libdir_separator_CXX=:
13259 export_dynamic_flag_spec_CXX='${wl}-E'
13260 hardcode_direct_CXX=yes
13261 hardcode_minus_L_CXX=yes # Not in the search PATH,
13262 # but as the default
13263 # location of the library.
13265 case $cc_basename in
13266 CC*)
13267 # FIXME: insert proper C++ library support
13268 ld_shlibs_CXX=no
13270 aCC*)
13271 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'
13272 # Commands to make compiler produce verbose output that lists
13273 # what "hidden" libraries, object files and flags are used when
13274 # linking a shared library.
13276 # There doesn't appear to be a way to prevent this compiler from
13277 # explicitly linking system object files so we need to strip them
13278 # from the output so that they don't get included in the library
13279 # dependencies.
13280 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"'
13283 if test "$GXX" = yes; then
13284 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'
13285 else
13286 # FIXME: insert proper C++ library support
13287 ld_shlibs_CXX=no
13290 esac
13293 hpux10*|hpux11*)
13294 if test $with_gnu_ld = no; then
13295 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13296 hardcode_libdir_separator_CXX=:
13298 case $host_cpu in
13299 hppa*64*|ia64*)
13302 export_dynamic_flag_spec_CXX='${wl}-E'
13304 esac
13306 case $host_cpu in
13307 hppa*64*|ia64*)
13308 hardcode_direct_CXX=no
13309 hardcode_shlibpath_var_CXX=no
13312 hardcode_direct_CXX=yes
13313 hardcode_direct_absolute_CXX=yes
13314 hardcode_minus_L_CXX=yes # Not in the search PATH,
13315 # but as the default
13316 # location of the library.
13318 esac
13320 case $cc_basename in
13321 CC*)
13322 # FIXME: insert proper C++ library support
13323 ld_shlibs_CXX=no
13325 aCC*)
13326 case $host_cpu in
13327 hppa*64*)
13328 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13330 ia64*)
13331 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13334 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13336 esac
13337 # Commands to make compiler produce verbose output that lists
13338 # what "hidden" libraries, object files and flags are used when
13339 # linking a shared library.
13341 # There doesn't appear to be a way to prevent this compiler from
13342 # explicitly linking system object files so we need to strip them
13343 # from the output so that they don't get included in the library
13344 # dependencies.
13345 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"'
13348 if test "$GXX" = yes; then
13349 if test $with_gnu_ld = no; then
13350 case $host_cpu in
13351 hppa*64*)
13352 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13354 ia64*)
13355 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13358 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'
13360 esac
13362 else
13363 # FIXME: insert proper C++ library support
13364 ld_shlibs_CXX=no
13367 esac
13370 interix[3-9]*)
13371 hardcode_direct_CXX=no
13372 hardcode_shlibpath_var_CXX=no
13373 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13374 export_dynamic_flag_spec_CXX='${wl}-E'
13375 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13376 # Instead, shared libraries are loaded at an image base (0x10000000 by
13377 # default) and relocated if they conflict, which is a slow very memory
13378 # consuming and fragmenting process. To avoid this, we pick a random,
13379 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13380 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13381 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'
13382 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'
13384 irix5* | irix6*)
13385 case $cc_basename in
13386 CC*)
13387 # SGI C++
13388 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'
13390 # Archives containing C++ object files must be created using
13391 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13392 # necessary to make sure instantiated templates are included
13393 # in the archive.
13394 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13397 if test "$GXX" = yes; then
13398 if test "$with_gnu_ld" = no; then
13399 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'
13400 else
13401 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'
13404 link_all_deplibs_CXX=yes
13406 esac
13407 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13408 hardcode_libdir_separator_CXX=:
13409 inherit_rpath_CXX=yes
13412 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13413 case $cc_basename in
13414 KCC*)
13415 # Kuck and Associates, Inc. (KAI) C++ Compiler
13417 # KCC will only create a shared library if the output file
13418 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13419 # to its proper name (with version) after linking.
13420 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'
13421 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'
13422 # Commands to make compiler produce verbose output that lists
13423 # what "hidden" libraries, object files and flags are used when
13424 # linking a shared library.
13426 # There doesn't appear to be a way to prevent this compiler from
13427 # explicitly linking system object files so we need to strip them
13428 # from the output so that they don't get included in the library
13429 # dependencies.
13430 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"'
13432 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13433 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13435 # Archives containing C++ object files must be created using
13436 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13437 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13439 icpc* | ecpc* )
13440 # Intel C++
13441 with_gnu_ld=yes
13442 # version 8.0 and above of icpc choke on multiply defined symbols
13443 # if we add $predep_objects and $postdep_objects, however 7.1 and
13444 # earlier do not add the objects themselves.
13445 case `$CC -V 2>&1` in
13446 *"Version 7."*)
13447 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13448 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'
13450 *) # Version 8.0 or newer
13451 tmp_idyn=
13452 case $host_cpu in
13453 ia64*) tmp_idyn=' -i_dynamic';;
13454 esac
13455 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13456 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'
13458 esac
13459 archive_cmds_need_lc_CXX=no
13460 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13461 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13462 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13464 pgCC* | pgcpp*)
13465 # Portland Group C++ compiler
13466 case `$CC -V` in
13467 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13468 prelink_cmds_CXX='tpldir=Template.dir~
13469 rm -rf $tpldir~
13470 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13471 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13472 old_archive_cmds_CXX='tpldir=Template.dir~
13473 rm -rf $tpldir~
13474 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13475 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13476 $RANLIB $oldlib'
13477 archive_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 -o $lib'
13481 archive_expsym_cmds_CXX='tpldir=Template.dir~
13482 rm -rf $tpldir~
13483 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13484 $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'
13486 *) # Version 6 and above use weak symbols
13487 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13488 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'
13490 esac
13492 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13493 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13494 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'
13496 cxx*)
13497 # Compaq C++
13498 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13499 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'
13501 runpath_var=LD_RUN_PATH
13502 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13503 hardcode_libdir_separator_CXX=:
13505 # Commands to make compiler produce verbose output that lists
13506 # what "hidden" libraries, object files and flags are used when
13507 # linking a shared library.
13509 # There doesn't appear to be a way to prevent this compiler from
13510 # explicitly linking system object files so we need to strip them
13511 # from the output so that they don't get included in the library
13512 # dependencies.
13513 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'
13515 xl* | mpixl* | bgxl*)
13516 # IBM XL 8.0 on PPC, with GNU ld
13517 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13518 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13519 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13520 if test "x$supports_anon_versioning" = xyes; then
13521 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13522 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13523 echo "local: *; };" >> $output_objdir/$libname.ver~
13524 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13528 case `$CC -V 2>&1 | sed 5q` in
13529 *Sun\ C*)
13530 # Sun C++ 5.9
13531 no_undefined_flag_CXX=' -zdefs'
13532 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13533 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'
13534 hardcode_libdir_flag_spec_CXX='-R$libdir'
13535 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'
13536 compiler_needs_object_CXX=yes
13538 # Not sure whether something based on
13539 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13540 # would be better.
13541 output_verbose_link_cmd='func_echo_all'
13543 # Archives containing C++ object files must be created using
13544 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13545 # necessary to make sure instantiated templates are included
13546 # in the archive.
13547 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13549 esac
13551 esac
13554 lynxos*)
13555 # FIXME: insert proper C++ library support
13556 ld_shlibs_CXX=no
13559 m88k*)
13560 # FIXME: insert proper C++ library support
13561 ld_shlibs_CXX=no
13564 mvs*)
13565 case $cc_basename in
13566 cxx*)
13567 # FIXME: insert proper C++ library support
13568 ld_shlibs_CXX=no
13571 # FIXME: insert proper C++ library support
13572 ld_shlibs_CXX=no
13574 esac
13577 netbsd*)
13578 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13579 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13580 wlarc=
13581 hardcode_libdir_flag_spec_CXX='-R$libdir'
13582 hardcode_direct_CXX=yes
13583 hardcode_shlibpath_var_CXX=no
13585 # Workaround some broken pre-1.5 toolchains
13586 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13589 *nto* | *qnx*)
13590 ld_shlibs_CXX=yes
13593 openbsd2*)
13594 # C++ shared libraries are fairly broken
13595 ld_shlibs_CXX=no
13598 openbsd*)
13599 if test -f /usr/libexec/ld.so; then
13600 hardcode_direct_CXX=yes
13601 hardcode_shlibpath_var_CXX=no
13602 hardcode_direct_absolute_CXX=yes
13603 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13604 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13605 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13606 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13607 export_dynamic_flag_spec_CXX='${wl}-E'
13608 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13610 output_verbose_link_cmd=func_echo_all
13611 else
13612 ld_shlibs_CXX=no
13616 osf3* | osf4* | osf5*)
13617 case $cc_basename in
13618 KCC*)
13619 # Kuck and Associates, Inc. (KAI) C++ Compiler
13621 # KCC will only create a shared library if the output file
13622 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13623 # to its proper name (with version) after linking.
13624 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'
13626 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13627 hardcode_libdir_separator_CXX=:
13629 # Archives containing C++ object files must be created using
13630 # the KAI C++ compiler.
13631 case $host in
13632 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13633 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13634 esac
13636 RCC*)
13637 # Rational C++ 2.4.1
13638 # FIXME: insert proper C++ library support
13639 ld_shlibs_CXX=no
13641 cxx*)
13642 case $host in
13643 osf3*)
13644 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13645 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'
13646 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13649 allow_undefined_flag_CXX=' -expect_unresolved \*'
13650 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'
13651 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13652 echo "-hidden">> $lib.exp~
13653 $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~
13654 $RM $lib.exp'
13655 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13657 esac
13659 hardcode_libdir_separator_CXX=:
13661 # Commands to make compiler produce verbose output that lists
13662 # what "hidden" libraries, object files and flags are used when
13663 # linking a shared library.
13665 # There doesn't appear to be a way to prevent this compiler from
13666 # explicitly linking system object files so we need to strip them
13667 # from the output so that they don't get included in the library
13668 # dependencies.
13669 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"'
13672 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13673 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13674 case $host in
13675 osf3*)
13676 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'
13679 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'
13681 esac
13683 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13684 hardcode_libdir_separator_CXX=:
13686 # Commands to make compiler produce verbose output that lists
13687 # what "hidden" libraries, object files and flags are used when
13688 # linking a shared library.
13689 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13691 else
13692 # FIXME: insert proper C++ library support
13693 ld_shlibs_CXX=no
13696 esac
13699 psos*)
13700 # FIXME: insert proper C++ library support
13701 ld_shlibs_CXX=no
13704 sunos4*)
13705 case $cc_basename in
13706 CC*)
13707 # Sun C++ 4.x
13708 # FIXME: insert proper C++ library support
13709 ld_shlibs_CXX=no
13711 lcc*)
13712 # Lucid
13713 # FIXME: insert proper C++ library support
13714 ld_shlibs_CXX=no
13717 # FIXME: insert proper C++ library support
13718 ld_shlibs_CXX=no
13720 esac
13723 solaris*)
13724 case $cc_basename in
13725 CC*)
13726 # Sun C++ 4.2, 5.x and Centerline C++
13727 archive_cmds_need_lc_CXX=yes
13728 no_undefined_flag_CXX=' -zdefs'
13729 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13730 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13731 $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'
13733 hardcode_libdir_flag_spec_CXX='-R$libdir'
13734 hardcode_shlibpath_var_CXX=no
13735 case $host_os in
13736 solaris2.[0-5] | solaris2.[0-5].*) ;;
13738 # The compiler driver will combine and reorder linker options,
13739 # but understands `-z linker_flag'.
13740 # Supported since Solaris 2.6 (maybe 2.5.1?)
13741 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13743 esac
13744 link_all_deplibs_CXX=yes
13746 output_verbose_link_cmd='func_echo_all'
13748 # Archives containing C++ object files must be created using
13749 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13750 # necessary to make sure instantiated templates are included
13751 # in the archive.
13752 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13754 gcx*)
13755 # Green Hills C++ Compiler
13756 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13758 # The C++ compiler must be used to create the archive.
13759 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13762 # GNU C++ compiler with Solaris linker
13763 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13764 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13765 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13766 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13767 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13768 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13770 # Commands to make compiler produce verbose output that lists
13771 # what "hidden" libraries, object files and flags are used when
13772 # linking a shared library.
13773 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13774 else
13775 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13776 # platform.
13777 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13778 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13779 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13781 # Commands to make compiler produce verbose output that lists
13782 # what "hidden" libraries, object files and flags are used when
13783 # linking a shared library.
13784 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13787 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13788 case $host_os in
13789 solaris2.[0-5] | solaris2.[0-5].*) ;;
13791 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13793 esac
13796 esac
13799 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13800 no_undefined_flag_CXX='${wl}-z,text'
13801 archive_cmds_need_lc_CXX=no
13802 hardcode_shlibpath_var_CXX=no
13803 runpath_var='LD_RUN_PATH'
13805 case $cc_basename in
13806 CC*)
13807 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13808 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13811 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13812 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13814 esac
13817 sysv5* | sco3.2v5* | sco5v6*)
13818 # Note: We can NOT use -z defs as we might desire, because we do not
13819 # link with -lc, and that would cause any symbols used from libc to
13820 # always be unresolved, which means just about no library would
13821 # ever link correctly. If we're not using GNU ld we use -z text
13822 # though, which does catch some bad symbols but isn't as heavy-handed
13823 # as -z defs.
13824 no_undefined_flag_CXX='${wl}-z,text'
13825 allow_undefined_flag_CXX='${wl}-z,nodefs'
13826 archive_cmds_need_lc_CXX=no
13827 hardcode_shlibpath_var_CXX=no
13828 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13829 hardcode_libdir_separator_CXX=':'
13830 link_all_deplibs_CXX=yes
13831 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13832 runpath_var='LD_RUN_PATH'
13834 case $cc_basename in
13835 CC*)
13836 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13837 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13838 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13839 '"$old_archive_cmds_CXX"
13840 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13841 '"$reload_cmds_CXX"
13844 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13845 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13847 esac
13850 tandem*)
13851 case $cc_basename in
13852 NCC*)
13853 # NonStop-UX NCC 3.20
13854 # FIXME: insert proper C++ library support
13855 ld_shlibs_CXX=no
13858 # FIXME: insert proper C++ library support
13859 ld_shlibs_CXX=no
13861 esac
13864 vxworks*)
13865 # FIXME: insert proper C++ library support
13866 ld_shlibs_CXX=no
13870 # FIXME: insert proper C++ library support
13871 ld_shlibs_CXX=no
13873 esac
13875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13876 $as_echo "$ld_shlibs_CXX" >&6; }
13877 test "$ld_shlibs_CXX" = no && can_build_shared=no
13879 GCC_CXX="$GXX"
13880 LD_CXX="$LD"
13882 ## CAVEAT EMPTOR:
13883 ## There is no encapsulation within the following macros, do not change
13884 ## the running order or otherwise move them around unless you know exactly
13885 ## what you are doing...
13886 # Dependencies to place before and after the object being linked:
13887 predep_objects_CXX=
13888 postdep_objects_CXX=
13889 predeps_CXX=
13890 postdeps_CXX=
13891 compiler_lib_search_path_CXX=
13893 cat > conftest.$ac_ext <<_LT_EOF
13894 class Foo
13896 public:
13897 Foo (void) { a = 0; }
13898 private:
13899 int a;
13901 _LT_EOF
13903 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13904 (eval $ac_compile) 2>&5
13905 ac_status=$?
13906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13907 test $ac_status = 0; }; then
13908 # Parse the compiler output and extract the necessary
13909 # objects, libraries and library flags.
13911 # Sentinel used to keep track of whether or not we are before
13912 # the conftest object file.
13913 pre_test_object_deps_done=no
13915 for p in `eval "$output_verbose_link_cmd"`; do
13916 case $p in
13918 -L* | -R* | -l*)
13919 # Some compilers place space between "-{L,R}" and the path.
13920 # Remove the space.
13921 if test $p = "-L" ||
13922 test $p = "-R"; then
13923 prev=$p
13924 continue
13925 else
13926 prev=
13929 if test "$pre_test_object_deps_done" = no; then
13930 case $p in
13931 -L* | -R*)
13932 # Internal compiler library paths should come after those
13933 # provided the user. The postdeps already come after the
13934 # user supplied libs so there is no need to process them.
13935 if test -z "$compiler_lib_search_path_CXX"; then
13936 compiler_lib_search_path_CXX="${prev}${p}"
13937 else
13938 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13941 # The "-l" case would never come before the object being
13942 # linked, so don't bother handling this case.
13943 esac
13944 else
13945 if test -z "$postdeps_CXX"; then
13946 postdeps_CXX="${prev}${p}"
13947 else
13948 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13953 *.$objext)
13954 # This assumes that the test object file only shows up
13955 # once in the compiler output.
13956 if test "$p" = "conftest.$objext"; then
13957 pre_test_object_deps_done=yes
13958 continue
13961 if test "$pre_test_object_deps_done" = no; then
13962 if test -z "$predep_objects_CXX"; then
13963 predep_objects_CXX="$p"
13964 else
13965 predep_objects_CXX="$predep_objects_CXX $p"
13967 else
13968 if test -z "$postdep_objects_CXX"; then
13969 postdep_objects_CXX="$p"
13970 else
13971 postdep_objects_CXX="$postdep_objects_CXX $p"
13976 *) ;; # Ignore the rest.
13978 esac
13979 done
13981 # Clean up.
13982 rm -f a.out a.exe
13983 else
13984 echo "libtool.m4: error: problem compiling CXX test program"
13987 $RM -f confest.$objext
13989 # PORTME: override above test on systems where it is broken
13990 case $host_os in
13991 interix[3-9]*)
13992 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13993 # hack all around it, let's just trust "g++" to DTRT.
13994 predep_objects_CXX=
13995 postdep_objects_CXX=
13996 postdeps_CXX=
13999 linux*)
14000 case `$CC -V 2>&1 | sed 5q` in
14001 *Sun\ C*)
14002 # Sun C++ 5.9
14004 # The more standards-conforming stlport4 library is
14005 # incompatible with the Cstd library. Avoid specifying
14006 # it if it's in CXXFLAGS. Ignore libCrun as
14007 # -library=stlport4 depends on it.
14008 case " $CXX $CXXFLAGS " in
14009 *" -library=stlport4 "*)
14010 solaris_use_stlport4=yes
14012 esac
14014 if test "$solaris_use_stlport4" != yes; then
14015 postdeps_CXX='-library=Cstd -library=Crun'
14018 esac
14021 solaris*)
14022 case $cc_basename in
14023 CC*)
14024 # The more standards-conforming stlport4 library is
14025 # incompatible with the Cstd library. Avoid specifying
14026 # it if it's in CXXFLAGS. Ignore libCrun as
14027 # -library=stlport4 depends on it.
14028 case " $CXX $CXXFLAGS " in
14029 *" -library=stlport4 "*)
14030 solaris_use_stlport4=yes
14032 esac
14034 # Adding this requires a known-good setup of shared libraries for
14035 # Sun compiler versions before 5.6, else PIC objects from an old
14036 # archive will be linked into the output, leading to subtle bugs.
14037 if test "$solaris_use_stlport4" != yes; then
14038 postdeps_CXX='-library=Cstd -library=Crun'
14041 esac
14043 esac
14046 case " $postdeps_CXX " in
14047 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14048 esac
14049 compiler_lib_search_dirs_CXX=
14050 if test -n "${compiler_lib_search_path_CXX}"; then
14051 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14084 lt_prog_compiler_wl_CXX=
14085 lt_prog_compiler_pic_CXX=
14086 lt_prog_compiler_static_CXX=
14088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14089 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14091 # C++ specific cases for pic, static, wl, etc.
14092 if test "$GXX" = yes; then
14093 lt_prog_compiler_wl_CXX='-Wl,'
14094 lt_prog_compiler_static_CXX='-static'
14096 case $host_os in
14097 aix*)
14098 # All AIX code is PIC.
14099 if test "$host_cpu" = ia64; then
14100 # AIX 5 now supports IA64 processor
14101 lt_prog_compiler_static_CXX='-Bstatic'
14103 lt_prog_compiler_pic_CXX='-fPIC'
14106 amigaos*)
14107 case $host_cpu in
14108 powerpc)
14109 # see comment about AmigaOS4 .so support
14110 lt_prog_compiler_pic_CXX='-fPIC'
14112 m68k)
14113 # FIXME: we need at least 68020 code to build shared libraries, but
14114 # adding the `-m68020' flag to GCC prevents building anything better,
14115 # like `-m68040'.
14116 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14118 esac
14121 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14122 # PIC is the default for these OSes.
14124 mingw* | cygwin* | os2* | pw32* | cegcc*)
14125 # This hack is so that the source file can tell whether it is being
14126 # built for inclusion in a dll (and should export symbols for example).
14127 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14128 # (--disable-auto-import) libraries
14129 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14131 darwin* | rhapsody*)
14132 # PIC is the default on this platform
14133 # Common symbols not allowed in MH_DYLIB files
14134 lt_prog_compiler_pic_CXX='-fno-common'
14136 *djgpp*)
14137 # DJGPP does not support shared libraries at all
14138 lt_prog_compiler_pic_CXX=
14140 haiku*)
14141 # PIC is the default for Haiku.
14142 # The "-static" flag exists, but is broken.
14143 lt_prog_compiler_static_CXX=
14145 interix[3-9]*)
14146 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14147 # Instead, we relocate shared libraries at runtime.
14149 sysv4*MP*)
14150 if test -d /usr/nec; then
14151 lt_prog_compiler_pic_CXX=-Kconform_pic
14154 hpux*)
14155 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14156 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14157 # sets the default TLS model and affects inlining.
14158 case $host_cpu in
14159 hppa*64*)
14162 lt_prog_compiler_pic_CXX='-fPIC'
14164 esac
14166 *qnx* | *nto*)
14167 # QNX uses GNU C++, but need to define -shared option too, otherwise
14168 # it will coredump.
14169 lt_prog_compiler_pic_CXX='-fPIC -shared'
14172 lt_prog_compiler_pic_CXX='-fPIC'
14174 esac
14175 else
14176 case $host_os in
14177 aix[4-9]*)
14178 # All AIX code is PIC.
14179 if test "$host_cpu" = ia64; then
14180 # AIX 5 now supports IA64 processor
14181 lt_prog_compiler_static_CXX='-Bstatic'
14182 else
14183 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14186 chorus*)
14187 case $cc_basename in
14188 cxch68*)
14189 # Green Hills C++ Compiler
14190 # _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"
14192 esac
14194 dgux*)
14195 case $cc_basename in
14196 ec++*)
14197 lt_prog_compiler_pic_CXX='-KPIC'
14199 ghcx*)
14200 # Green Hills C++ Compiler
14201 lt_prog_compiler_pic_CXX='-pic'
14205 esac
14207 freebsd* | dragonfly*)
14208 # FreeBSD uses GNU C++
14210 hpux9* | hpux10* | hpux11*)
14211 case $cc_basename in
14212 CC*)
14213 lt_prog_compiler_wl_CXX='-Wl,'
14214 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14215 if test "$host_cpu" != ia64; then
14216 lt_prog_compiler_pic_CXX='+Z'
14219 aCC*)
14220 lt_prog_compiler_wl_CXX='-Wl,'
14221 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14222 case $host_cpu in
14223 hppa*64*|ia64*)
14224 # +Z the default
14227 lt_prog_compiler_pic_CXX='+Z'
14229 esac
14233 esac
14235 interix*)
14236 # This is c89, which is MS Visual C++ (no shared libs)
14237 # Anyone wants to do a port?
14239 irix5* | irix6* | nonstopux*)
14240 case $cc_basename in
14241 CC*)
14242 lt_prog_compiler_wl_CXX='-Wl,'
14243 lt_prog_compiler_static_CXX='-non_shared'
14244 # CC pic flag -KPIC is the default.
14248 esac
14250 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14251 case $cc_basename in
14252 KCC*)
14253 # KAI C++ Compiler
14254 lt_prog_compiler_wl_CXX='--backend -Wl,'
14255 lt_prog_compiler_pic_CXX='-fPIC'
14257 ecpc* )
14258 # old Intel C++ for x86_64 which still supported -KPIC.
14259 lt_prog_compiler_wl_CXX='-Wl,'
14260 lt_prog_compiler_pic_CXX='-KPIC'
14261 lt_prog_compiler_static_CXX='-static'
14263 icpc* )
14264 # Intel C++, used to be incompatible with GCC.
14265 # ICC 10 doesn't accept -KPIC any more.
14266 lt_prog_compiler_wl_CXX='-Wl,'
14267 lt_prog_compiler_pic_CXX='-fPIC'
14268 lt_prog_compiler_static_CXX='-static'
14270 pgCC* | pgcpp*)
14271 # Portland Group C++ compiler
14272 lt_prog_compiler_wl_CXX='-Wl,'
14273 lt_prog_compiler_pic_CXX='-fpic'
14274 lt_prog_compiler_static_CXX='-Bstatic'
14276 cxx*)
14277 # Compaq C++
14278 # Make sure the PIC flag is empty. It appears that all Alpha
14279 # Linux and Compaq Tru64 Unix objects are PIC.
14280 lt_prog_compiler_pic_CXX=
14281 lt_prog_compiler_static_CXX='-non_shared'
14283 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14284 # IBM XL 8.0, 9.0 on PPC and BlueGene
14285 lt_prog_compiler_wl_CXX='-Wl,'
14286 lt_prog_compiler_pic_CXX='-qpic'
14287 lt_prog_compiler_static_CXX='-qstaticlink'
14290 case `$CC -V 2>&1 | sed 5q` in
14291 *Sun\ C*)
14292 # Sun C++ 5.9
14293 lt_prog_compiler_pic_CXX='-KPIC'
14294 lt_prog_compiler_static_CXX='-Bstatic'
14295 lt_prog_compiler_wl_CXX='-Qoption ld '
14297 esac
14299 esac
14301 lynxos*)
14303 m88k*)
14305 mvs*)
14306 case $cc_basename in
14307 cxx*)
14308 lt_prog_compiler_pic_CXX='-W c,exportall'
14312 esac
14314 netbsd*)
14316 *qnx* | *nto*)
14317 # QNX uses GNU C++, but need to define -shared option too, otherwise
14318 # it will coredump.
14319 lt_prog_compiler_pic_CXX='-fPIC -shared'
14321 osf3* | osf4* | osf5*)
14322 case $cc_basename in
14323 KCC*)
14324 lt_prog_compiler_wl_CXX='--backend -Wl,'
14326 RCC*)
14327 # Rational C++ 2.4.1
14328 lt_prog_compiler_pic_CXX='-pic'
14330 cxx*)
14331 # Digital/Compaq C++
14332 lt_prog_compiler_wl_CXX='-Wl,'
14333 # Make sure the PIC flag is empty. It appears that all Alpha
14334 # Linux and Compaq Tru64 Unix objects are PIC.
14335 lt_prog_compiler_pic_CXX=
14336 lt_prog_compiler_static_CXX='-non_shared'
14340 esac
14342 psos*)
14344 solaris*)
14345 case $cc_basename in
14346 CC*)
14347 # Sun C++ 4.2, 5.x and Centerline C++
14348 lt_prog_compiler_pic_CXX='-KPIC'
14349 lt_prog_compiler_static_CXX='-Bstatic'
14350 lt_prog_compiler_wl_CXX='-Qoption ld '
14352 gcx*)
14353 # Green Hills C++ Compiler
14354 lt_prog_compiler_pic_CXX='-PIC'
14358 esac
14360 sunos4*)
14361 case $cc_basename in
14362 CC*)
14363 # Sun C++ 4.x
14364 lt_prog_compiler_pic_CXX='-pic'
14365 lt_prog_compiler_static_CXX='-Bstatic'
14367 lcc*)
14368 # Lucid
14369 lt_prog_compiler_pic_CXX='-pic'
14373 esac
14375 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14376 case $cc_basename in
14377 CC*)
14378 lt_prog_compiler_wl_CXX='-Wl,'
14379 lt_prog_compiler_pic_CXX='-KPIC'
14380 lt_prog_compiler_static_CXX='-Bstatic'
14382 esac
14384 tandem*)
14385 case $cc_basename in
14386 NCC*)
14387 # NonStop-UX NCC 3.20
14388 lt_prog_compiler_pic_CXX='-KPIC'
14392 esac
14394 vxworks*)
14397 lt_prog_compiler_can_build_shared_CXX=no
14399 esac
14402 case $host_os in
14403 # For platforms which do not support PIC, -DPIC is meaningless:
14404 *djgpp*)
14405 lt_prog_compiler_pic_CXX=
14408 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14410 esac
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14412 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14417 # Check to make sure the PIC flag actually works.
14419 if test -n "$lt_prog_compiler_pic_CXX"; then
14420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14421 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14422 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14423 $as_echo_n "(cached) " >&6
14424 else
14425 lt_cv_prog_compiler_pic_works_CXX=no
14426 ac_outfile=conftest.$ac_objext
14427 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14428 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14429 # Insert the option either (1) after the last *FLAGS variable, or
14430 # (2) before a word containing "conftest.", or (3) at the end.
14431 # Note that $ac_compile itself does not contain backslashes and begins
14432 # with a dollar sign (not a hyphen), so the echo should work correctly.
14433 # The option is referenced via a variable to avoid confusing sed.
14434 lt_compile=`echo "$ac_compile" | $SED \
14435 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14436 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14437 -e 's:$: $lt_compiler_flag:'`
14438 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14439 (eval "$lt_compile" 2>conftest.err)
14440 ac_status=$?
14441 cat conftest.err >&5
14442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14443 if (exit $ac_status) && test -s "$ac_outfile"; then
14444 # The compiler can only warn and ignore the option if not recognized
14445 # So say no if there are warnings other than the usual output.
14446 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14447 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14448 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14449 lt_cv_prog_compiler_pic_works_CXX=yes
14452 $RM conftest*
14455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14456 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14458 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14459 case $lt_prog_compiler_pic_CXX in
14460 "" | " "*) ;;
14461 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14462 esac
14463 else
14464 lt_prog_compiler_pic_CXX=
14465 lt_prog_compiler_can_build_shared_CXX=no
14473 # Check to make sure the static flag actually works.
14475 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14477 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14478 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14479 $as_echo_n "(cached) " >&6
14480 else
14481 lt_cv_prog_compiler_static_works_CXX=no
14482 save_LDFLAGS="$LDFLAGS"
14483 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14484 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14485 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14486 # The linker can only warn and ignore the option if not recognized
14487 # So say no if there are warnings
14488 if test -s conftest.err; then
14489 # Append any errors to the config.log.
14490 cat conftest.err 1>&5
14491 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14492 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14493 if diff conftest.exp conftest.er2 >/dev/null; then
14494 lt_cv_prog_compiler_static_works_CXX=yes
14496 else
14497 lt_cv_prog_compiler_static_works_CXX=yes
14500 $RM -r conftest*
14501 LDFLAGS="$save_LDFLAGS"
14504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14505 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14507 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14509 else
14510 lt_prog_compiler_static_CXX=
14516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14517 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14518 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14519 $as_echo_n "(cached) " >&6
14520 else
14521 lt_cv_prog_compiler_c_o_CXX=no
14522 $RM -r conftest 2>/dev/null
14523 mkdir conftest
14524 cd conftest
14525 mkdir out
14526 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14528 lt_compiler_flag="-o out/conftest2.$ac_objext"
14529 # Insert the option either (1) after the last *FLAGS variable, or
14530 # (2) before a word containing "conftest.", or (3) at the end.
14531 # Note that $ac_compile itself does not contain backslashes and begins
14532 # with a dollar sign (not a hyphen), so the echo should work correctly.
14533 lt_compile=`echo "$ac_compile" | $SED \
14534 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14535 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14536 -e 's:$: $lt_compiler_flag:'`
14537 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14538 (eval "$lt_compile" 2>out/conftest.err)
14539 ac_status=$?
14540 cat out/conftest.err >&5
14541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14542 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14543 then
14544 # The compiler can only warn and ignore the option if not recognized
14545 # So say no if there are warnings
14546 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14547 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14548 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14549 lt_cv_prog_compiler_c_o_CXX=yes
14552 chmod u+w . 2>&5
14553 $RM conftest*
14554 # SGI C++ compiler will create directory out/ii_files/ for
14555 # template instantiation
14556 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14557 $RM out/* && rmdir out
14558 cd ..
14559 $RM -r conftest
14560 $RM conftest*
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14564 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14569 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14570 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14571 $as_echo_n "(cached) " >&6
14572 else
14573 lt_cv_prog_compiler_c_o_CXX=no
14574 $RM -r conftest 2>/dev/null
14575 mkdir conftest
14576 cd conftest
14577 mkdir out
14578 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14580 lt_compiler_flag="-o out/conftest2.$ac_objext"
14581 # Insert the option either (1) after the last *FLAGS variable, or
14582 # (2) before a word containing "conftest.", or (3) at the end.
14583 # Note that $ac_compile itself does not contain backslashes and begins
14584 # with a dollar sign (not a hyphen), so the echo should work correctly.
14585 lt_compile=`echo "$ac_compile" | $SED \
14586 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14587 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14588 -e 's:$: $lt_compiler_flag:'`
14589 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14590 (eval "$lt_compile" 2>out/conftest.err)
14591 ac_status=$?
14592 cat out/conftest.err >&5
14593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14594 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14595 then
14596 # The compiler can only warn and ignore the option if not recognized
14597 # So say no if there are warnings
14598 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14599 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14600 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14601 lt_cv_prog_compiler_c_o_CXX=yes
14604 chmod u+w . 2>&5
14605 $RM conftest*
14606 # SGI C++ compiler will create directory out/ii_files/ for
14607 # template instantiation
14608 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14609 $RM out/* && rmdir out
14610 cd ..
14611 $RM -r conftest
14612 $RM conftest*
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14616 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14621 hard_links="nottested"
14622 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14623 # do not overwrite the value of need_locks provided by the user
14624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14625 $as_echo_n "checking if we can lock with hard links... " >&6; }
14626 hard_links=yes
14627 $RM conftest*
14628 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14629 touch conftest.a
14630 ln conftest.a conftest.b 2>&5 || hard_links=no
14631 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14633 $as_echo "$hard_links" >&6; }
14634 if test "$hard_links" = no; then
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14636 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14637 need_locks=warn
14639 else
14640 need_locks=no
14645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14646 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14648 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14649 case $host_os in
14650 aix[4-9]*)
14651 # If we're using GNU nm, then we don't want the "-C" option.
14652 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14653 # Also, AIX nm treats weak defined symbols like other global defined
14654 # symbols, whereas GNU nm marks them as "W".
14655 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14656 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'
14657 else
14658 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'
14661 pw32*)
14662 export_symbols_cmds_CXX="$ltdll_cmds"
14664 cygwin* | mingw* | cegcc*)
14665 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'
14668 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14670 esac
14671 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14674 $as_echo "$ld_shlibs_CXX" >&6; }
14675 test "$ld_shlibs_CXX" = no && can_build_shared=no
14677 with_gnu_ld_CXX=$with_gnu_ld
14685 # Do we need to explicitly link libc?
14687 case "x$archive_cmds_need_lc_CXX" in
14688 x|xyes)
14689 # Assume -lc should be added
14690 archive_cmds_need_lc_CXX=yes
14692 if test "$enable_shared" = yes && test "$GCC" = yes; then
14693 case $archive_cmds_CXX in
14694 *'~'*)
14695 # FIXME: we may have to deal with multi-command sequences.
14697 '$CC '*)
14698 # Test whether the compiler implicitly links with -lc since on some
14699 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14700 # to ld, don't add -lc before -lgcc.
14701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14702 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14703 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14704 $as_echo_n "(cached) " >&6
14705 else
14706 $RM conftest*
14707 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14709 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14710 (eval $ac_compile) 2>&5
14711 ac_status=$?
14712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14713 test $ac_status = 0; } 2>conftest.err; then
14714 soname=conftest
14715 lib=conftest
14716 libobjs=conftest.$ac_objext
14717 deplibs=
14718 wl=$lt_prog_compiler_wl_CXX
14719 pic_flag=$lt_prog_compiler_pic_CXX
14720 compiler_flags=-v
14721 linker_flags=-v
14722 verstring=
14723 output_objdir=.
14724 libname=conftest
14725 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14726 allow_undefined_flag_CXX=
14727 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14728 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14729 ac_status=$?
14730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14731 test $ac_status = 0; }
14732 then
14733 lt_cv_archive_cmds_need_lc_CXX=no
14734 else
14735 lt_cv_archive_cmds_need_lc_CXX=yes
14737 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14738 else
14739 cat conftest.err 1>&5
14741 $RM conftest*
14744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14745 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14746 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14748 esac
14751 esac
14816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14817 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14819 library_names_spec=
14820 libname_spec='lib$name'
14821 soname_spec=
14822 shrext_cmds=".so"
14823 postinstall_cmds=
14824 postuninstall_cmds=
14825 finish_cmds=
14826 finish_eval=
14827 shlibpath_var=
14828 shlibpath_overrides_runpath=unknown
14829 version_type=none
14830 dynamic_linker="$host_os ld.so"
14831 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14832 need_lib_prefix=unknown
14833 hardcode_into_libs=no
14835 # when you set need_version to no, make sure it does not cause -set_version
14836 # flags to be left without arguments
14837 need_version=unknown
14839 case $host_os in
14840 aix3*)
14841 version_type=linux
14842 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14843 shlibpath_var=LIBPATH
14845 # AIX 3 has no versioning support, so we append a major version to the name.
14846 soname_spec='${libname}${release}${shared_ext}$major'
14849 aix[4-9]*)
14850 version_type=linux
14851 need_lib_prefix=no
14852 need_version=no
14853 hardcode_into_libs=yes
14854 if test "$host_cpu" = ia64; then
14855 # AIX 5 supports IA64
14856 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14857 shlibpath_var=LD_LIBRARY_PATH
14858 else
14859 # With GCC up to 2.95.x, collect2 would create an import file
14860 # for dependence libraries. The import file would start with
14861 # the line `#! .'. This would cause the generated library to
14862 # depend on `.', always an invalid library. This was fixed in
14863 # development snapshots of GCC prior to 3.0.
14864 case $host_os in
14865 aix4 | aix4.[01] | aix4.[01].*)
14866 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14867 echo ' yes '
14868 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14870 else
14871 can_build_shared=no
14874 esac
14875 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14876 # soname into executable. Probably we can add versioning support to
14877 # collect2, so additional links can be useful in future.
14878 if test "$aix_use_runtimelinking" = yes; then
14879 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14880 # instead of lib<name>.a to let people know that these are not
14881 # typical AIX shared libraries.
14882 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14883 else
14884 # We preserve .a as extension for shared libraries through AIX4.2
14885 # and later when we are not doing run time linking.
14886 library_names_spec='${libname}${release}.a $libname.a'
14887 soname_spec='${libname}${release}${shared_ext}$major'
14889 shlibpath_var=LIBPATH
14893 amigaos*)
14894 case $host_cpu in
14895 powerpc)
14896 # Since July 2007 AmigaOS4 officially supports .so libraries.
14897 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14898 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14900 m68k)
14901 library_names_spec='$libname.ixlibrary $libname.a'
14902 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14903 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'
14905 esac
14908 beos*)
14909 library_names_spec='${libname}${shared_ext}'
14910 dynamic_linker="$host_os ld.so"
14911 shlibpath_var=LIBRARY_PATH
14914 bsdi[45]*)
14915 version_type=linux
14916 need_version=no
14917 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14918 soname_spec='${libname}${release}${shared_ext}$major'
14919 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14920 shlibpath_var=LD_LIBRARY_PATH
14921 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14922 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14923 # the default ld.so.conf also contains /usr/contrib/lib and
14924 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14925 # libtool to hard-code these into programs
14928 cygwin* | mingw* | pw32* | cegcc*)
14929 version_type=windows
14930 shrext_cmds=".dll"
14931 need_version=no
14932 need_lib_prefix=no
14934 case $GCC,$host_os in
14935 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14936 library_names_spec='$libname.dll.a'
14937 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14938 postinstall_cmds='base_file=`basename \${file}`~
14939 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14940 dldir=$destdir/`dirname \$dlpath`~
14941 test -d \$dldir || mkdir -p \$dldir~
14942 $install_prog $dir/$dlname \$dldir/$dlname~
14943 chmod a+x \$dldir/$dlname~
14944 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14945 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14947 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14948 dlpath=$dir/\$dldll~
14949 $RM \$dlpath'
14950 shlibpath_overrides_runpath=yes
14952 case $host_os in
14953 cygwin*)
14954 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14955 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14958 mingw* | cegcc*)
14959 # MinGW DLLs use traditional 'lib' prefix
14960 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14962 pw32*)
14963 # pw32 DLLs use 'pw' prefix rather than 'lib'
14964 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14966 esac
14970 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14972 esac
14973 dynamic_linker='Win32 ld.exe'
14974 # FIXME: first we should search . and the directory the executable is in
14975 shlibpath_var=PATH
14978 darwin* | rhapsody*)
14979 dynamic_linker="$host_os dyld"
14980 version_type=darwin
14981 need_lib_prefix=no
14982 need_version=no
14983 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14984 soname_spec='${libname}${release}${major}$shared_ext'
14985 shlibpath_overrides_runpath=yes
14986 shlibpath_var=DYLD_LIBRARY_PATH
14987 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14989 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14992 dgux*)
14993 version_type=linux
14994 need_lib_prefix=no
14995 need_version=no
14996 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14997 soname_spec='${libname}${release}${shared_ext}$major'
14998 shlibpath_var=LD_LIBRARY_PATH
15001 freebsd* | dragonfly*)
15002 # DragonFly does not have aout. When/if they implement a new
15003 # versioning mechanism, adjust this.
15004 if test -x /usr/bin/objformat; then
15005 objformat=`/usr/bin/objformat`
15006 else
15007 case $host_os in
15008 freebsd[23].*) objformat=aout ;;
15009 *) objformat=elf ;;
15010 esac
15012 version_type=freebsd-$objformat
15013 case $version_type in
15014 freebsd-elf*)
15015 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15016 need_version=no
15017 need_lib_prefix=no
15019 freebsd-*)
15020 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15021 need_version=yes
15023 esac
15024 shlibpath_var=LD_LIBRARY_PATH
15025 case $host_os in
15026 freebsd2.*)
15027 shlibpath_overrides_runpath=yes
15029 freebsd3.[01]* | freebsdelf3.[01]*)
15030 shlibpath_overrides_runpath=yes
15031 hardcode_into_libs=yes
15033 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15034 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15035 shlibpath_overrides_runpath=no
15036 hardcode_into_libs=yes
15038 *) # from 4.6 on, and DragonFly
15039 shlibpath_overrides_runpath=yes
15040 hardcode_into_libs=yes
15042 esac
15045 haiku*)
15046 version_type=linux
15047 need_lib_prefix=no
15048 need_version=no
15049 dynamic_linker="$host_os runtime_loader"
15050 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15051 soname_spec='${libname}${release}${shared_ext}$major'
15052 shlibpath_var=LIBRARY_PATH
15053 shlibpath_overrides_runpath=yes
15054 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15055 hardcode_into_libs=yes
15058 hpux9* | hpux10* | hpux11*)
15059 # Give a soname corresponding to the major version so that dld.sl refuses to
15060 # link against other versions.
15061 version_type=sunos
15062 need_lib_prefix=no
15063 need_version=no
15064 case $host_cpu in
15065 ia64*)
15066 shrext_cmds='.so'
15067 hardcode_into_libs=yes
15068 dynamic_linker="$host_os dld.so"
15069 shlibpath_var=LD_LIBRARY_PATH
15070 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15071 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15072 soname_spec='${libname}${release}${shared_ext}$major'
15073 if test "X$HPUX_IA64_MODE" = X32; then
15074 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15075 else
15076 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15078 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15080 hppa*64*)
15081 shrext_cmds='.sl'
15082 hardcode_into_libs=yes
15083 dynamic_linker="$host_os dld.sl"
15084 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15085 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15086 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15087 soname_spec='${libname}${release}${shared_ext}$major'
15088 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15089 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15092 shrext_cmds='.sl'
15093 dynamic_linker="$host_os dld.sl"
15094 shlibpath_var=SHLIB_PATH
15095 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15096 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15097 soname_spec='${libname}${release}${shared_ext}$major'
15099 esac
15100 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15101 postinstall_cmds='chmod 555 $lib'
15102 # or fails outright, so override atomically:
15103 install_override_mode=555
15106 interix[3-9]*)
15107 version_type=linux
15108 need_lib_prefix=no
15109 need_version=no
15110 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15111 soname_spec='${libname}${release}${shared_ext}$major'
15112 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15113 shlibpath_var=LD_LIBRARY_PATH
15114 shlibpath_overrides_runpath=no
15115 hardcode_into_libs=yes
15118 irix5* | irix6* | nonstopux*)
15119 case $host_os in
15120 nonstopux*) version_type=nonstopux ;;
15122 if test "$lt_cv_prog_gnu_ld" = yes; then
15123 version_type=linux
15124 else
15125 version_type=irix
15126 fi ;;
15127 esac
15128 need_lib_prefix=no
15129 need_version=no
15130 soname_spec='${libname}${release}${shared_ext}$major'
15131 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15132 case $host_os in
15133 irix5* | nonstopux*)
15134 libsuff= shlibsuff=
15137 case $LD in # libtool.m4 will add one of these switches to LD
15138 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15139 libsuff= shlibsuff= libmagic=32-bit;;
15140 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15141 libsuff=32 shlibsuff=N32 libmagic=N32;;
15142 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15143 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15144 *) libsuff= shlibsuff= libmagic=never-match;;
15145 esac
15147 esac
15148 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15149 shlibpath_overrides_runpath=no
15150 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15151 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15152 hardcode_into_libs=yes
15155 # No shared lib support for Linux oldld, aout, or coff.
15156 linux*oldld* | linux*aout* | linux*coff*)
15157 dynamic_linker=no
15160 # This must be Linux ELF.
15162 # uclinux* changes (here and below) have been submitted to the libtool
15163 # project, but have not yet been accepted: they are GCC-local changes
15164 # for the time being. (See
15165 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15166 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
15167 version_type=linux
15168 need_lib_prefix=no
15169 need_version=no
15170 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15171 soname_spec='${libname}${release}${shared_ext}$major'
15172 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15173 shlibpath_var=LD_LIBRARY_PATH
15174 shlibpath_overrides_runpath=no
15176 # Some binutils ld are patched to set DT_RUNPATH
15177 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15178 $as_echo_n "(cached) " >&6
15179 else
15180 lt_cv_shlibpath_overrides_runpath=no
15181 save_LDFLAGS=$LDFLAGS
15182 save_libdir=$libdir
15183 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15184 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15185 if test x$gcc_no_link = xyes; then
15186 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15189 /* end confdefs.h. */
15192 main ()
15196 return 0;
15198 _ACEOF
15199 if ac_fn_cxx_try_link "$LINENO"; then :
15200 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15201 lt_cv_shlibpath_overrides_runpath=yes
15204 rm -f core conftest.err conftest.$ac_objext \
15205 conftest$ac_exeext conftest.$ac_ext
15206 LDFLAGS=$save_LDFLAGS
15207 libdir=$save_libdir
15211 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15213 # This implies no fast_install, which is unacceptable.
15214 # Some rework will be needed to allow for fast_install
15215 # before this can be enabled.
15216 hardcode_into_libs=yes
15218 # Append ld.so.conf contents to the search path
15219 if test -f /etc/ld.so.conf; then
15220 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' ' '`
15221 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15224 # We used to test for /lib/ld.so.1 and disable shared libraries on
15225 # powerpc, because MkLinux only supported shared libraries with the
15226 # GNU dynamic linker. Since this was broken with cross compilers,
15227 # most powerpc-linux boxes support dynamic linking these days and
15228 # people can always --disable-shared, the test was removed, and we
15229 # assume the GNU/Linux dynamic linker is in use.
15230 dynamic_linker='GNU/Linux ld.so'
15233 netbsd*)
15234 version_type=sunos
15235 need_lib_prefix=no
15236 need_version=no
15237 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15238 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15239 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15240 dynamic_linker='NetBSD (a.out) ld.so'
15241 else
15242 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15243 soname_spec='${libname}${release}${shared_ext}$major'
15244 dynamic_linker='NetBSD ld.elf_so'
15246 shlibpath_var=LD_LIBRARY_PATH
15247 shlibpath_overrides_runpath=yes
15248 hardcode_into_libs=yes
15251 newsos6)
15252 version_type=linux
15253 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15254 shlibpath_var=LD_LIBRARY_PATH
15255 shlibpath_overrides_runpath=yes
15258 *nto* | *qnx*)
15259 version_type=qnx
15260 need_lib_prefix=no
15261 need_version=no
15262 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15263 soname_spec='${libname}${release}${shared_ext}$major'
15264 shlibpath_var=LD_LIBRARY_PATH
15265 shlibpath_overrides_runpath=no
15266 hardcode_into_libs=yes
15267 dynamic_linker='ldqnx.so'
15270 openbsd*)
15271 version_type=sunos
15272 sys_lib_dlsearch_path_spec="/usr/lib"
15273 need_lib_prefix=no
15274 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15275 case $host_os in
15276 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15277 *) need_version=no ;;
15278 esac
15279 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15280 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15281 shlibpath_var=LD_LIBRARY_PATH
15282 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15283 case $host_os in
15284 openbsd2.[89] | openbsd2.[89].*)
15285 shlibpath_overrides_runpath=no
15288 shlibpath_overrides_runpath=yes
15290 esac
15291 else
15292 shlibpath_overrides_runpath=yes
15296 os2*)
15297 libname_spec='$name'
15298 shrext_cmds=".dll"
15299 need_lib_prefix=no
15300 library_names_spec='$libname${shared_ext} $libname.a'
15301 dynamic_linker='OS/2 ld.exe'
15302 shlibpath_var=LIBPATH
15305 osf3* | osf4* | osf5*)
15306 version_type=osf
15307 need_lib_prefix=no
15308 need_version=no
15309 soname_spec='${libname}${release}${shared_ext}$major'
15310 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15311 shlibpath_var=LD_LIBRARY_PATH
15312 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15313 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15316 rdos*)
15317 dynamic_linker=no
15320 solaris*)
15321 version_type=linux
15322 need_lib_prefix=no
15323 need_version=no
15324 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15325 soname_spec='${libname}${release}${shared_ext}$major'
15326 shlibpath_var=LD_LIBRARY_PATH
15327 shlibpath_overrides_runpath=yes
15328 hardcode_into_libs=yes
15329 # ldd complains unless libraries are executable
15330 postinstall_cmds='chmod +x $lib'
15333 sunos4*)
15334 version_type=sunos
15335 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15336 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15337 shlibpath_var=LD_LIBRARY_PATH
15338 shlibpath_overrides_runpath=yes
15339 if test "$with_gnu_ld" = yes; then
15340 need_lib_prefix=no
15342 need_version=yes
15345 sysv4 | sysv4.3*)
15346 version_type=linux
15347 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15348 soname_spec='${libname}${release}${shared_ext}$major'
15349 shlibpath_var=LD_LIBRARY_PATH
15350 case $host_vendor in
15351 sni)
15352 shlibpath_overrides_runpath=no
15353 need_lib_prefix=no
15354 runpath_var=LD_RUN_PATH
15356 siemens)
15357 need_lib_prefix=no
15359 motorola)
15360 need_lib_prefix=no
15361 need_version=no
15362 shlibpath_overrides_runpath=no
15363 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15365 esac
15368 sysv4*MP*)
15369 if test -d /usr/nec ;then
15370 version_type=linux
15371 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15372 soname_spec='$libname${shared_ext}.$major'
15373 shlibpath_var=LD_LIBRARY_PATH
15377 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15378 version_type=freebsd-elf
15379 need_lib_prefix=no
15380 need_version=no
15381 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15382 soname_spec='${libname}${release}${shared_ext}$major'
15383 shlibpath_var=LD_LIBRARY_PATH
15384 shlibpath_overrides_runpath=yes
15385 hardcode_into_libs=yes
15386 if test "$with_gnu_ld" = yes; then
15387 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15388 else
15389 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15390 case $host_os in
15391 sco3.2v5*)
15392 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15394 esac
15396 sys_lib_dlsearch_path_spec='/usr/lib'
15399 tpf*)
15400 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15401 version_type=linux
15402 need_lib_prefix=no
15403 need_version=no
15404 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15405 shlibpath_var=LD_LIBRARY_PATH
15406 shlibpath_overrides_runpath=no
15407 hardcode_into_libs=yes
15410 uts4*)
15411 version_type=linux
15412 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15413 soname_spec='${libname}${release}${shared_ext}$major'
15414 shlibpath_var=LD_LIBRARY_PATH
15418 dynamic_linker=no
15420 esac
15421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15422 $as_echo "$dynamic_linker" >&6; }
15423 test "$dynamic_linker" = no && can_build_shared=no
15425 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15426 if test "$GCC" = yes; then
15427 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15430 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15431 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15433 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15434 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15475 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15476 hardcode_action_CXX=
15477 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15478 test -n "$runpath_var_CXX" ||
15479 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15481 # We can hardcode non-existent directories.
15482 if test "$hardcode_direct_CXX" != no &&
15483 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15484 # have to relink, otherwise we might link with an installed library
15485 # when we should be linking with a yet-to-be-installed one
15486 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15487 test "$hardcode_minus_L_CXX" != no; then
15488 # Linking always hardcodes the temporary library directory.
15489 hardcode_action_CXX=relink
15490 else
15491 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15492 hardcode_action_CXX=immediate
15494 else
15495 # We cannot hardcode anything, or else we can only hardcode existing
15496 # directories.
15497 hardcode_action_CXX=unsupported
15499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15500 $as_echo "$hardcode_action_CXX" >&6; }
15502 if test "$hardcode_action_CXX" = relink ||
15503 test "$inherit_rpath_CXX" = yes; then
15504 # Fast installation is not supported
15505 enable_fast_install=no
15506 elif test "$shlibpath_overrides_runpath" = yes ||
15507 test "$enable_shared" = no; then
15508 # Fast installation is not necessary
15509 enable_fast_install=needless
15518 fi # test -n "$compiler"
15520 CC=$lt_save_CC
15521 LDCXX=$LD
15522 LD=$lt_save_LD
15523 GCC=$lt_save_GCC
15524 with_gnu_ld=$lt_save_with_gnu_ld
15525 lt_cv_path_LDCXX=$lt_cv_path_LD
15526 lt_cv_path_LD=$lt_save_path_LD
15527 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15528 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15529 fi # test "$_lt_caught_CXX_error" != yes
15531 ac_ext=c
15532 ac_cpp='$CPP $CPPFLAGS'
15533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15549 ac_config_commands="$ac_config_commands libtool"
15554 # Only expand once:
15560 case $host in
15561 *-cygwin* | *-mingw*)
15562 # 'host' will be top-level target in the case of a target lib,
15563 # we must compare to with_cross_host to decide if this is a native
15564 # or cross-compiler and select where to install dlls appropriately.
15565 if test -n "$with_cross_host" &&
15566 test x"$with_cross_host" != x"no"; then
15567 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
15568 else
15569 lt_host_flags='-no-undefined -bindir "$(bindir)"';
15573 lt_host_flags=
15575 esac
15582 if test "$enable_vtable_verify" = yes; then
15583 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15584 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15588 # libtool variables for C++ shared and position-independent compiles.
15590 # Use glibcxx_lt_pic_flag to designate the automake variable
15591 # used to encapsulate the default libtool approach to creating objects
15592 # with position-independent code. Default: -prefer-pic.
15594 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15595 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15597 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15598 # creating position-independent objects. This varies with the target
15599 # hardware and operating system, but is often: -DPIC -fPIC.
15600 if test "$enable_shared" = yes; then
15601 glibcxx_lt_pic_flag="-prefer-pic"
15602 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15603 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15605 else
15606 glibcxx_lt_pic_flag=
15607 glibcxx_compiler_pic_flag=
15608 glibcxx_compiler_shared_flag=
15614 # Override the libtool's pic_flag and pic_mode.
15615 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15616 # NB: this impacts --with-pic and --without-pic.
15617 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15618 pic_mode='default'
15620 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15621 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15623 # Possibly disable most of the library.
15624 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15625 ## than just ignoring the results. Faster /and/ more correct, win win.
15627 # Check whether --enable-hosted-libstdcxx was given.
15628 if test "${enable_hosted_libstdcxx+set}" = set; then :
15629 enableval=$enable_hosted_libstdcxx;
15630 else
15631 case "$host" in
15632 arm*-*-symbianelf*)
15633 enable_hosted_libstdcxx=no
15636 enable_hosted_libstdcxx=yes
15638 esac
15641 freestanding_flags=
15642 if test "$enable_hosted_libstdcxx" = no; then
15643 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15644 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15645 is_hosted=no
15646 hosted_define=0
15647 enable_abi_check=no
15648 enable_libstdcxx_pch=no
15649 if test "x$with_headers" = xno; then
15650 freestanding_flags="-ffreestanding"
15652 else
15653 is_hosted=yes
15654 hosted_define=1
15658 cat >>confdefs.h <<_ACEOF
15659 #define _GLIBCXX_HOSTED $hosted_define
15660 _ACEOF
15662 FREESTANDING_FLAGS="$freestanding_flags"
15666 # Enable descriptive messages to standard output on termination.
15668 # Check whether --enable-libstdcxx-verbose was given.
15669 if test "${enable_libstdcxx_verbose+set}" = set; then :
15670 enableval=$enable_libstdcxx_verbose;
15671 else
15672 enable_libstdcxx_verbose=yes
15675 if test x"$enable_libstdcxx_verbose" = xyes; then
15676 verbose_define=1
15677 else
15678 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15679 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15680 verbose_define=0
15683 cat >>confdefs.h <<_ACEOF
15684 #define _GLIBCXX_VERBOSE $verbose_define
15685 _ACEOF
15689 # Enable compiler support that doesn't require linking.
15691 # Check whether --enable-libstdcxx-pch was given.
15692 if test "${enable_libstdcxx_pch+set}" = set; then :
15693 enableval=$enable_libstdcxx_pch;
15694 case "$enableval" in
15695 yes|no) ;;
15696 *) as_fn_error $? "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15697 esac
15699 else
15700 enable_libstdcxx_pch=$is_hosted
15704 if test $enable_libstdcxx_pch = yes; then
15705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15706 $as_echo_n "checking for compiler with PCH support... " >&6; }
15707 if ${glibcxx_cv_prog_CXX_pch+:} false; then :
15708 $as_echo_n "(cached) " >&6
15709 else
15710 ac_save_CXXFLAGS="$CXXFLAGS"
15711 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15713 ac_ext=cpp
15714 ac_cpp='$CXXCPP $CPPFLAGS'
15715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15719 echo '#include <math.h>' > conftest.h
15720 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15721 -o conftest.h.gch 1>&5 2>&1 &&
15722 echo '#error "pch failed"' > conftest.h &&
15723 echo '#include "conftest.h"' > conftest.cc &&
15724 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15725 then
15726 glibcxx_cv_prog_CXX_pch=yes
15727 else
15728 glibcxx_cv_prog_CXX_pch=no
15730 rm -f conftest*
15731 CXXFLAGS=$ac_save_CXXFLAGS
15732 ac_ext=c
15733 ac_cpp='$CPP $CPPFLAGS'
15734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15741 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15742 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15746 $as_echo_n "checking for enabled PCH... " >&6; }
15747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15748 $as_echo "$enable_libstdcxx_pch" >&6; }
15751 if test $enable_libstdcxx_pch = yes; then
15752 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15753 else
15754 glibcxx_PCHFLAGS=""
15759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15760 $as_echo_n "checking for thread model used by GCC... " >&6; }
15761 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15763 $as_echo "$target_thread_file" >&6; }
15765 case $target_thread_file in
15766 aix) thread_header=config/rs6000/gthr-aix.h ;;
15767 dce) thread_header=config/pa/gthr-dce.h ;;
15768 gcn) thread_header=config/gcn/gthr-gcn.h ;;
15769 lynx) thread_header=config/gthr-lynx.h ;;
15770 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15771 posix) thread_header=gthr-posix.h ;;
15772 rtems) thread_header=config/gthr-rtems.h ;;
15773 single) thread_header=gthr-single.h ;;
15774 tpf) thread_header=config/s390/gthr-tpf.h ;;
15775 vxworks) thread_header=config/gthr-vxworks.h ;;
15776 win32) thread_header=config/i386/gthr-win32.h ;;
15777 esac
15783 ac_ext=cpp
15784 ac_cpp='$CXXCPP $CPPFLAGS'
15785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15789 old_CXXFLAGS="$CXXFLAGS"
15791 # Do link tests if possible, instead asm tests, limited to some platforms
15792 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15793 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15794 atomic_builtins_link_tests=no
15795 if test x$gcc_no_link != xyes; then
15796 # Can do link tests. Limit to some tested platforms
15797 case "$host" in
15798 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15799 atomic_builtins_link_tests=yes
15801 esac
15804 if test x$atomic_builtins_link_tests = xyes; then
15806 # Do link tests.
15808 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15811 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15812 if ${glibcxx_cv_atomic_bool+:} false; then :
15813 $as_echo_n "(cached) " >&6
15814 else
15816 if test x$gcc_no_link = xyes; then
15817 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15820 /* end confdefs.h. */
15823 main ()
15825 typedef bool atomic_type;
15826 atomic_type c1;
15827 atomic_type c2;
15828 atomic_type c3(0);
15829 // N.B. __atomic_fetch_add is not supported for bool.
15830 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15831 __ATOMIC_RELAXED);
15832 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15833 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15836 return 0;
15838 _ACEOF
15839 if ac_fn_cxx_try_link "$LINENO"; then :
15840 glibcxx_cv_atomic_bool=yes
15841 else
15842 glibcxx_cv_atomic_bool=no
15844 rm -f core conftest.err conftest.$ac_objext \
15845 conftest$ac_exeext conftest.$ac_ext
15848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15849 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15852 $as_echo_n "checking for atomic builtins for short... " >&6; }
15853 if ${glibcxx_cv_atomic_short+:} false; then :
15854 $as_echo_n "(cached) " >&6
15855 else
15857 if test x$gcc_no_link = xyes; then
15858 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15861 /* end confdefs.h. */
15864 main ()
15866 typedef short atomic_type;
15867 atomic_type c1;
15868 atomic_type c2;
15869 atomic_type c3(0);
15870 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15871 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15872 __ATOMIC_RELAXED);
15873 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15874 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15877 return 0;
15879 _ACEOF
15880 if ac_fn_cxx_try_link "$LINENO"; then :
15881 glibcxx_cv_atomic_short=yes
15882 else
15883 glibcxx_cv_atomic_short=no
15885 rm -f core conftest.err conftest.$ac_objext \
15886 conftest$ac_exeext conftest.$ac_ext
15889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15890 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15893 $as_echo_n "checking for atomic builtins for int... " >&6; }
15894 if ${glibcxx_cv_atomic_int+:} false; then :
15895 $as_echo_n "(cached) " >&6
15896 else
15898 if test x$gcc_no_link = xyes; then
15899 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15902 /* end confdefs.h. */
15905 main ()
15907 typedef int atomic_type;
15908 atomic_type c1;
15909 atomic_type c2;
15910 atomic_type c3(0);
15911 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15912 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15913 __ATOMIC_RELAXED);
15914 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15915 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15918 return 0;
15920 _ACEOF
15921 if ac_fn_cxx_try_link "$LINENO"; then :
15922 glibcxx_cv_atomic_int=yes
15923 else
15924 glibcxx_cv_atomic_int=no
15926 rm -f core conftest.err conftest.$ac_objext \
15927 conftest$ac_exeext conftest.$ac_ext
15930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15931 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15934 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15935 if ${glibcxx_cv_atomic_long_long+:} false; then :
15936 $as_echo_n "(cached) " >&6
15937 else
15939 if test x$gcc_no_link = xyes; then
15940 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15943 /* end confdefs.h. */
15946 main ()
15948 typedef long long atomic_type;
15949 atomic_type c1;
15950 atomic_type c2;
15951 atomic_type c3(0);
15952 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15953 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15954 __ATOMIC_RELAXED);
15955 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15956 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15959 return 0;
15961 _ACEOF
15962 if ac_fn_cxx_try_link "$LINENO"; then :
15963 glibcxx_cv_atomic_long_long=yes
15964 else
15965 glibcxx_cv_atomic_long_long=no
15967 rm -f core conftest.err conftest.$ac_objext \
15968 conftest$ac_exeext conftest.$ac_ext
15971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15972 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15974 else
15976 # Do asm tests.
15978 # Compile unoptimized.
15979 CXXFLAGS='-O0 -S'
15981 # Fake what AC_TRY_COMPILE does.
15983 cat > conftest.$ac_ext << EOF
15984 #line 15984 "configure"
15985 int main()
15987 typedef bool atomic_type;
15988 atomic_type c1;
15989 atomic_type c2;
15990 atomic_type c3(0);
15991 // N.B. __atomic_fetch_add is not supported for bool.
15992 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15993 __ATOMIC_RELAXED);
15994 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15995 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15997 return 0;
16001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
16002 $as_echo_n "checking for atomic builtins for bool... " >&6; }
16003 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16004 (eval $ac_compile) 2>&5
16005 ac_status=$?
16006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16007 test $ac_status = 0; }; then
16008 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16009 glibcxx_cv_atomic_bool=no
16010 else
16011 glibcxx_cv_atomic_bool=yes
16014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
16015 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
16016 rm -f conftest*
16018 cat > conftest.$ac_ext << EOF
16019 #line 16019 "configure"
16020 int main()
16022 typedef short atomic_type;
16023 atomic_type c1;
16024 atomic_type c2;
16025 atomic_type c3(0);
16026 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16027 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16028 __ATOMIC_RELAXED);
16029 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16030 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16032 return 0;
16036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
16037 $as_echo_n "checking for atomic builtins for short... " >&6; }
16038 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16039 (eval $ac_compile) 2>&5
16040 ac_status=$?
16041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16042 test $ac_status = 0; }; then
16043 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16044 glibcxx_cv_atomic_short=no
16045 else
16046 glibcxx_cv_atomic_short=yes
16049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
16050 $as_echo "$glibcxx_cv_atomic_short" >&6; }
16051 rm -f conftest*
16053 cat > conftest.$ac_ext << EOF
16054 #line 16054 "configure"
16055 int main()
16057 // NB: _Atomic_word not necessarily int.
16058 typedef int 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 int" >&5
16073 $as_echo_n "checking for atomic builtins for int... " >&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_int=no
16081 else
16082 glibcxx_cv_atomic_int=yes
16085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
16086 $as_echo "$glibcxx_cv_atomic_int" >&6; }
16087 rm -f conftest*
16089 cat > conftest.$ac_ext << EOF
16090 #line 16090 "configure"
16091 int main()
16093 typedef long long atomic_type;
16094 atomic_type c1;
16095 atomic_type c2;
16096 atomic_type c3(0);
16097 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16098 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16099 __ATOMIC_RELAXED);
16100 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16101 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16103 return 0;
16107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
16108 $as_echo_n "checking for atomic builtins for long long... " >&6; }
16109 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16110 (eval $ac_compile) 2>&5
16111 ac_status=$?
16112 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16113 test $ac_status = 0; }; then
16114 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16115 glibcxx_cv_atomic_long_long=no
16116 else
16117 glibcxx_cv_atomic_long_long=yes
16120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
16121 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
16122 rm -f conftest*
16126 CXXFLAGS="$old_CXXFLAGS"
16127 ac_ext=c
16128 ac_cpp='$CPP $CPPFLAGS'
16129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16134 # Set atomicity_dir to builtins if all but the long long test above passes,
16135 # or if the builtins were already chosen (e.g. by configure.host).
16136 if { test "$glibcxx_cv_atomic_bool" = yes \
16137 && test "$glibcxx_cv_atomic_short" = yes \
16138 && test "$glibcxx_cv_atomic_int" = yes; } \
16139 || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
16141 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
16143 atomicity_dir=cpu/generic/atomicity_builtins
16146 # If still generic, set to mutex.
16147 if test $atomicity_dir = "cpu/generic" ; then
16148 atomicity_dir=cpu/generic/atomicity_mutex
16149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
16150 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
16151 if test "x$target_thread_file" = xsingle; then
16152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
16153 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
16154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
16155 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
16156 else
16157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
16158 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
16159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
16160 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
16168 # Check whether --with-libstdcxx-lock-policy was given.
16169 if test "${with_libstdcxx_lock_policy+set}" = set; then :
16170 withval=$with_libstdcxx_lock_policy; libstdcxx_atomic_lock_policy=$withval
16171 else
16172 libstdcxx_atomic_lock_policy=auto
16176 case "$libstdcxx_atomic_lock_policy" in
16177 atomic|mutex|auto) ;;
16178 *) as_fn_error $? "Invalid argument for --with-libstdcxx-lock-policy" "$LINENO" 5 ;;
16179 esac
16180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lock policy for shared_ptr reference counts" >&5
16181 $as_echo_n "checking for lock policy for shared_ptr reference counts... " >&6; }
16183 if test x"$libstdcxx_atomic_lock_policy" = x"auto"; then
16185 ac_ext=cpp
16186 ac_cpp='$CXXCPP $CPPFLAGS'
16187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16191 ac_save_CXXFLAGS="$CXXFLAGS"
16193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16194 /* end confdefs.h. */
16196 #if defined __riscv
16197 # error "Defaulting to mutex-based locks for ABI compatibility"
16198 #endif
16199 #if ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
16200 # error "No 2-byte compare-and-swap"
16201 #elif ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
16202 # error "No 4-byte compare-and-swap"
16203 #endif
16206 main ()
16210 return 0;
16212 _ACEOF
16213 if ac_fn_cxx_try_compile "$LINENO"; then :
16214 libstdcxx_atomic_lock_policy=atomic
16215 else
16216 libstdcxx_atomic_lock_policy=mutex
16218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16219 ac_ext=c
16220 ac_cpp='$CPP $CPPFLAGS'
16221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16225 CXXFLAGS="$ac_save_CXXFLAGS"
16228 if test x"$libstdcxx_atomic_lock_policy" = x"atomic"; then
16229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: atomic" >&5
16230 $as_echo "atomic" >&6; }
16232 $as_echo "#define HAVE_ATOMIC_LOCK_POLICY 1" >>confdefs.h
16234 else
16235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mutex" >&5
16236 $as_echo "mutex" >&6; }
16242 # Fake what AC_TRY_COMPILE does, without linking as this is
16243 # unnecessary for this test.
16245 cat > conftest.$ac_ext << EOF
16246 #line 16246 "configure"
16247 int main()
16249 _Decimal32 d1;
16250 _Decimal64 d2;
16251 _Decimal128 d3;
16252 return 0;
16256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
16257 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
16258 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16259 (eval $ac_compile) 2>&5
16260 ac_status=$?
16261 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16262 test $ac_status = 0; }; then
16264 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
16266 enable_dfp=yes
16267 else
16268 enable_dfp=no
16270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
16271 $as_echo "$enable_dfp" >&6; }
16272 rm -f conftest*
16277 ac_ext=cpp
16278 ac_cpp='$CXXCPP $CPPFLAGS'
16279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16284 # Fake what AC_TRY_COMPILE does, without linking as this is
16285 # unnecessary for this test.
16287 cat > conftest.$ac_ext << EOF
16288 #line 16288 "configure"
16289 template<typename T1, typename T2>
16290 struct same
16291 { typedef T2 type; };
16293 template<typename T>
16294 struct same<T, T>;
16296 int main()
16298 typename same<double, __float128>::type f1;
16299 typename same<long double, __float128>::type f2;
16303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
16304 $as_echo_n "checking for __float128... " >&6; }
16305 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16306 (eval $ac_compile) 2>&5
16307 ac_status=$?
16308 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16309 test $ac_status = 0; }; then
16310 enable_float128=yes
16311 else
16312 enable_float128=no
16314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
16315 $as_echo "$enable_float128" >&6; }
16317 rm -f conftest*
16319 ac_ext=c
16320 ac_cpp='$CPP $CPPFLAGS'
16321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16326 if test "$enable_float128" = yes; then
16327 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
16330 # Checks for compiler support that doesn't require linking.
16332 # All these tests are for C++; save the language and the compiler flags.
16333 # The CXXFLAGS thing is suspicious, but based on similar bits previously
16334 # found in GLIBCXX_CONFIGURE.
16336 ac_ext=cpp
16337 ac_cpp='$CXXCPP $CPPFLAGS'
16338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16342 ac_test_CXXFLAGS="${CXXFLAGS+set}"
16343 ac_save_CXXFLAGS="$CXXFLAGS"
16345 # Check for -ffunction-sections -fdata-sections
16346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
16347 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
16348 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
16349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16350 /* end confdefs.h. */
16351 int foo; void bar() { };
16353 main ()
16357 return 0;
16359 _ACEOF
16360 if ac_fn_cxx_try_compile "$LINENO"; then :
16361 ac_fdsections=yes
16362 else
16363 ac_fdsections=no
16365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16366 if test "$ac_test_CXXFLAGS" = set; then
16367 CXXFLAGS="$ac_save_CXXFLAGS"
16368 else
16369 # this is the suspicious part
16370 CXXFLAGS=''
16372 if test x"$ac_fdsections" = x"yes"; then
16373 SECTION_FLAGS='-ffunction-sections -fdata-sections'
16375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
16376 $as_echo "$ac_fdsections" >&6; }
16378 ac_ext=c
16379 ac_cpp='$CPP $CPPFLAGS'
16380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16387 # Enable all the variable C++ runtime options that don't require linking.
16389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
16390 $as_echo_n "checking for underlying I/O to use... " >&6; }
16391 # Check whether --enable-cstdio was given.
16392 if test "${enable_cstdio+set}" = set; then :
16393 enableval=$enable_cstdio;
16394 case "$enableval" in
16395 stdio|stdio_posix|stdio_pure) ;;
16396 *) as_fn_error $? "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
16397 esac
16399 else
16400 enable_cstdio=stdio
16405 # The only available I/O model is based on stdio, via basic_file_stdio.
16406 # The default "stdio" is actually "stdio + POSIX" because it uses fdopen(3)
16407 # to get a file descriptor and then uses read(3) and write(3) with it.
16408 # The "stdio_pure" model doesn't use fdopen and only uses FILE* for I/O.
16409 case ${enable_cstdio} in
16410 stdio*)
16411 CSTDIO_H=config/io/c_io_stdio.h
16412 BASIC_FILE_H=config/io/basic_file_stdio.h
16413 BASIC_FILE_CC=config/io/basic_file_stdio.cc
16415 if test "x$enable_cstdio" = "xstdio_pure" ; then
16416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio (without POSIX read/write)" >&5
16417 $as_echo "stdio (without POSIX read/write)" >&6; }
16419 $as_echo "#define _GLIBCXX_USE_STDIO_PURE 1" >>confdefs.h
16421 else
16422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio (with POSIX read/write)" >&5
16423 $as_echo "stdio (with POSIX read/write)" >&6; }
16426 esac
16433 # Check whether --enable-clocale was given.
16434 if test "${enable_clocale+set}" = set; then :
16435 enableval=$enable_clocale;
16436 case "$enableval" in
16437 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
16438 *) as_fn_error $? "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
16439 esac
16441 else
16442 enable_clocale=auto
16447 # Deal with gettext issues. Default to not using it (=no) until we detect
16448 # support for it later. Let the user turn it off via --e/d, but let that
16449 # default to on for easier handling.
16450 USE_NLS=no
16451 # Check whether --enable-nls was given.
16452 if test "${enable_nls+set}" = set; then :
16453 enableval=$enable_nls;
16454 else
16455 enable_nls=yes
16459 # Either a known package, or "auto"
16460 if test $enable_clocale = no || test $enable_clocale = yes; then
16461 enable_clocale=auto
16463 enable_clocale_flag=$enable_clocale
16465 # Probe for locale model to use if none specified.
16466 # Default to "generic".
16467 if test $enable_clocale_flag = auto; then
16468 case ${target_os} in
16469 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16470 enable_clocale_flag=gnu
16472 darwin*)
16473 enable_clocale_flag=darwin
16475 vxworks*)
16476 enable_clocale_flag=vxworks
16478 dragonfly* | freebsd*)
16479 enable_clocale_flag=dragonfly
16481 openbsd*)
16482 enable_clocale_flag=newlib
16485 if test x"$with_newlib" = x"yes"; then
16486 enable_clocale_flag=newlib
16487 else
16488 enable_clocale_flag=generic
16491 esac
16494 # Sanity check model, and test for special functionality.
16495 if test $enable_clocale_flag = gnu; then
16496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16497 /* end confdefs.h. */
16499 #include <features.h>
16500 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
16501 _GLIBCXX_ok
16502 #endif
16504 _ACEOF
16505 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16506 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
16507 enable_clocale_flag=gnu
16508 else
16509 enable_clocale_flag=generic
16511 rm -f conftest*
16514 # Set it to scream when it hurts.
16515 ac_save_CFLAGS="$CFLAGS"
16516 CFLAGS="-Wimplicit-function-declaration -Werror"
16518 # Use strxfrm_l if available.
16519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16520 /* end confdefs.h. */
16521 #define _GNU_SOURCE 1
16522 #include <string.h>
16523 #include <locale.h>
16525 main ()
16527 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
16529 return 0;
16531 _ACEOF
16532 if ac_fn_c_try_compile "$LINENO"; then :
16534 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
16537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16539 # Use strerror_l if available.
16540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16541 /* end confdefs.h. */
16542 #define _GNU_SOURCE 1
16543 #include <string.h>
16544 #include <locale.h>
16546 main ()
16548 __locale_t loc; strerror_l(5, loc);
16550 return 0;
16552 _ACEOF
16553 if ac_fn_c_try_compile "$LINENO"; then :
16555 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
16558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16560 CFLAGS="$ac_save_CFLAGS"
16563 # Perhaps use strerror_r if available, and strerror_l isn't.
16564 ac_save_CFLAGS="$CFLAGS"
16565 CFLAGS="-Wimplicit-function-declaration -Werror"
16566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16567 /* end confdefs.h. */
16568 #define _GNU_SOURCE 1
16569 #include <string.h>
16570 #include <locale.h>
16572 main ()
16574 char s[128]; strerror_r(5, s, 128);
16576 return 0;
16578 _ACEOF
16579 if ac_fn_c_try_compile "$LINENO"; then :
16581 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16585 CFLAGS="$ac_save_CFLAGS"
16587 # Set configure bits for specified locale package
16588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
16589 $as_echo_n "checking for C locale to use... " >&6; }
16590 case ${enable_clocale_flag} in
16591 generic)
16592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
16593 $as_echo "generic" >&6; }
16595 CLOCALE_H=config/locale/generic/c_locale.h
16596 CLOCALE_CC=config/locale/generic/c_locale.cc
16597 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16598 CCOLLATE_CC=config/locale/generic/collate_members.cc
16599 CCTYPE_CC=config/locale/generic/ctype_members.cc
16600 CMESSAGES_H=config/locale/generic/messages_members.h
16601 CMESSAGES_CC=config/locale/generic/messages_members.cc
16602 CMONEY_CC=config/locale/generic/monetary_members.cc
16603 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16604 CTIME_H=config/locale/generic/time_members.h
16605 CTIME_CC=config/locale/generic/time_members.cc
16606 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16608 darwin)
16609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
16610 $as_echo "darwin" >&6; }
16612 CLOCALE_H=config/locale/generic/c_locale.h
16613 CLOCALE_CC=config/locale/generic/c_locale.cc
16614 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16615 CCOLLATE_CC=config/locale/generic/collate_members.cc
16616 CCTYPE_CC=config/locale/darwin/ctype_members.cc
16617 CMESSAGES_H=config/locale/generic/messages_members.h
16618 CMESSAGES_CC=config/locale/generic/messages_members.cc
16619 CMONEY_CC=config/locale/generic/monetary_members.cc
16620 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16621 CTIME_H=config/locale/generic/time_members.h
16622 CTIME_CC=config/locale/generic/time_members.cc
16623 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16625 vxworks)
16626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: vxworks" >&5
16627 $as_echo "vxworks" >&6; }
16629 CLOCALE_H=config/locale/generic/c_locale.h
16630 CLOCALE_CC=config/locale/generic/c_locale.cc
16631 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16632 CCOLLATE_CC=config/locale/generic/collate_members.cc
16633 CCTYPE_CC=config/locale/vxworks/ctype_members.cc
16634 CMESSAGES_H=config/locale/generic/messages_members.h
16635 CMESSAGES_CC=config/locale/generic/messages_members.cc
16636 CMONEY_CC=config/locale/generic/monetary_members.cc
16637 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16638 CTIME_H=config/locale/generic/time_members.h
16639 CTIME_CC=config/locale/generic/time_members.cc
16640 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16642 dragonfly)
16643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
16644 $as_echo "dragonfly or freebsd" >&6; }
16646 CLOCALE_H=config/locale/dragonfly/c_locale.h
16647 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16648 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16649 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16650 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16651 CMESSAGES_H=config/locale/generic/messages_members.h
16652 CMESSAGES_CC=config/locale/generic/messages_members.cc
16653 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16654 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16655 CTIME_H=config/locale/dragonfly/time_members.h
16656 CTIME_CC=config/locale/dragonfly/time_members.cc
16657 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16660 gnu)
16661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16662 $as_echo "gnu" >&6; }
16664 # Declare intention to use gettext, and add support for specific
16665 # languages.
16666 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16667 ALL_LINGUAS="de fr"
16669 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16670 # Extract the first word of "msgfmt", so it can be a program name with args.
16671 set dummy msgfmt; ac_word=$2
16672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16673 $as_echo_n "checking for $ac_word... " >&6; }
16674 if ${ac_cv_prog_check_msgfmt+:} false; then :
16675 $as_echo_n "(cached) " >&6
16676 else
16677 if test -n "$check_msgfmt"; then
16678 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16679 else
16680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16681 for as_dir in $PATH
16683 IFS=$as_save_IFS
16684 test -z "$as_dir" && as_dir=.
16685 for ac_exec_ext in '' $ac_executable_extensions; do
16686 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16687 ac_cv_prog_check_msgfmt="yes"
16688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16689 break 2
16691 done
16692 done
16693 IFS=$as_save_IFS
16695 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16698 check_msgfmt=$ac_cv_prog_check_msgfmt
16699 if test -n "$check_msgfmt"; then
16700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16701 $as_echo "$check_msgfmt" >&6; }
16702 else
16703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16704 $as_echo "no" >&6; }
16708 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16709 USE_NLS=yes
16711 # Export the build objects.
16712 for ling in $ALL_LINGUAS; do \
16713 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16714 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16715 done
16719 CLOCALE_H=config/locale/gnu/c_locale.h
16720 CLOCALE_CC=config/locale/gnu/c_locale.cc
16721 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16722 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16723 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16724 CMESSAGES_H=config/locale/gnu/messages_members.h
16725 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16726 CMONEY_CC=config/locale/gnu/monetary_members.cc
16727 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16728 CTIME_H=config/locale/gnu/time_members.h
16729 CTIME_CC=config/locale/gnu/time_members.cc
16730 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16732 ieee_1003.1-2001)
16733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16734 $as_echo "IEEE 1003.1" >&6; }
16736 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16737 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16738 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16739 CCOLLATE_CC=config/locale/generic/collate_members.cc
16740 CCTYPE_CC=config/locale/generic/ctype_members.cc
16741 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16742 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16743 CMONEY_CC=config/locale/generic/monetary_members.cc
16744 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16745 CTIME_H=config/locale/generic/time_members.h
16746 CTIME_CC=config/locale/generic/time_members.cc
16747 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16749 newlib)
16750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16751 $as_echo "newlib" >&6; }
16753 CLOCALE_H=config/locale/generic/c_locale.h
16754 CLOCALE_CC=config/locale/generic/c_locale.cc
16755 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16756 CCOLLATE_CC=config/locale/generic/collate_members.cc
16757 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16758 CMESSAGES_H=config/locale/generic/messages_members.h
16759 CMESSAGES_CC=config/locale/generic/messages_members.cc
16760 CMONEY_CC=config/locale/generic/monetary_members.cc
16761 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16762 CTIME_H=config/locale/generic/time_members.h
16763 CTIME_CC=config/locale/generic/time_members.cc
16764 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16766 esac
16768 # This is where the testsuite looks for locale catalogs, using the
16769 # -DLOCALEDIR define during testsuite compilation.
16770 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16773 # A standalone libintl (e.g., GNU libintl) may be in use.
16774 if test $USE_NLS = yes; then
16775 for ac_header in libintl.h
16776 do :
16777 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16778 if test "x$ac_cv_header_libintl_h" = xyes; then :
16779 cat >>confdefs.h <<_ACEOF
16780 #define HAVE_LIBINTL_H 1
16781 _ACEOF
16783 else
16784 USE_NLS=no
16787 done
16789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16790 $as_echo_n "checking for library containing gettext... " >&6; }
16791 if ${ac_cv_search_gettext+:} false; then :
16792 $as_echo_n "(cached) " >&6
16793 else
16794 ac_func_search_save_LIBS=$LIBS
16795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16796 /* end confdefs.h. */
16798 /* Override any GCC internal prototype to avoid an error.
16799 Use char because int might match the return type of a GCC
16800 builtin and then its argument prototype would still apply. */
16801 #ifdef __cplusplus
16802 extern "C"
16803 #endif
16804 char gettext ();
16806 main ()
16808 return gettext ();
16810 return 0;
16812 _ACEOF
16813 for ac_lib in '' intl; do
16814 if test -z "$ac_lib"; then
16815 ac_res="none required"
16816 else
16817 ac_res=-l$ac_lib
16818 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16820 if test x$gcc_no_link = xyes; then
16821 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16823 if ac_fn_c_try_link "$LINENO"; then :
16824 ac_cv_search_gettext=$ac_res
16826 rm -f core conftest.err conftest.$ac_objext \
16827 conftest$ac_exeext
16828 if ${ac_cv_search_gettext+:} false; then :
16829 break
16831 done
16832 if ${ac_cv_search_gettext+:} false; then :
16834 else
16835 ac_cv_search_gettext=no
16837 rm conftest.$ac_ext
16838 LIBS=$ac_func_search_save_LIBS
16840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16841 $as_echo "$ac_cv_search_gettext" >&6; }
16842 ac_res=$ac_cv_search_gettext
16843 if test "$ac_res" != no; then :
16844 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16846 else
16847 USE_NLS=no
16851 if test $USE_NLS = yes; then
16853 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16873 $as_echo_n "checking for std::allocator base class... " >&6; }
16874 # Check whether --enable-libstdcxx-allocator was given.
16875 if test "${enable_libstdcxx_allocator+set}" = set; then :
16876 enableval=$enable_libstdcxx_allocator;
16877 case "$enableval" in
16878 new|malloc|yes|no|auto) ;;
16879 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16880 esac
16882 else
16883 enable_libstdcxx_allocator=auto
16888 # If they didn't use this option switch, or if they specified --enable
16889 # with no specific model, we'll have to look for one. If they
16890 # specified --disable (???), do likewise.
16891 if test $enable_libstdcxx_allocator = no ||
16892 test $enable_libstdcxx_allocator = yes;
16893 then
16894 enable_libstdcxx_allocator=auto
16897 # Either a known package, or "auto". Auto implies the default choice
16898 # for a particular platform.
16899 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16901 # Probe for host-specific support if no specific model is specified.
16902 # Default to "new".
16903 if test $enable_libstdcxx_allocator_flag = auto; then
16904 case ${target_os} in
16905 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16906 enable_libstdcxx_allocator_flag=new
16909 enable_libstdcxx_allocator_flag=new
16911 esac
16913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16914 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16917 # Set configure bits for specified locale package
16918 case ${enable_libstdcxx_allocator_flag} in
16919 malloc)
16920 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16921 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16923 new)
16924 ALLOCATOR_H=config/allocator/new_allocator_base.h
16925 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16927 esac
16934 # Check whether --enable-cheaders-obsolete was given.
16935 if test "${enable_cheaders_obsolete+set}" = set; then :
16936 enableval=$enable_cheaders_obsolete;
16937 case "$enableval" in
16938 yes|no) ;;
16939 *) as_fn_error $? "Argument to enable/disable cheaders-obsolete must be yes or no" "$LINENO" 5 ;;
16940 esac
16942 else
16943 enable_cheaders_obsolete=no
16947 # Check whether --enable-cheaders was given.
16948 if test "${enable_cheaders+set}" = set; then :
16949 enableval=$enable_cheaders;
16950 case "$enableval" in
16951 c|c_global|c_std) ;;
16952 *) as_fn_error $? "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16953 esac
16955 else
16956 enable_cheaders=$c_model
16960 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16961 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16962 if test $enable_cheaders = c_std ; then
16963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: the --enable-cheaders=c_std configuration is obsolete, c_global should be used instead" >&5
16964 $as_echo "$as_me: WARNING: the --enable-cheaders=c_std configuration is obsolete, c_global should be used instead" >&2;}
16965 { $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
16966 $as_echo "$as_me: WARNING: if you are unable to use c_global please report a bug or inform libstdc++@gcc.gnu.org" >&2;}
16967 if test $enable_cheaders_obsolete != yes ; then
16968 as_fn_error $? "use --enable-cheaders-obsolete to use c_std \"C\" headers" "$LINENO" 5
16972 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16974 # Allow overrides to configure.host here.
16975 if test $enable_cheaders = c_global; then
16976 c_compatibility=yes
16985 # Check whether --enable-long-long was given.
16986 if test "${enable_long_long+set}" = set; then :
16987 enableval=$enable_long_long;
16988 case "$enableval" in
16989 yes|no) ;;
16990 *) as_fn_error $? "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16991 esac
16993 else
16994 enable_long_long=yes
16998 if test $enable_long_long = yes; then
17000 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
17003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
17004 $as_echo_n "checking for enabled long long specializations... " >&6; }
17005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
17006 $as_echo "$enable_long_long" >&6; }
17009 # Check whether --enable-wchar_t was given.
17010 if test "${enable_wchar_t+set}" = set; then :
17011 enableval=$enable_wchar_t;
17012 case "$enableval" in
17013 yes|no) ;;
17014 *) as_fn_error $? "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
17015 esac
17017 else
17018 enable_wchar_t=yes
17023 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
17024 for ac_header in wchar.h
17025 do :
17026 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
17027 if test "x$ac_cv_header_wchar_h" = xyes; then :
17028 cat >>confdefs.h <<_ACEOF
17029 #define HAVE_WCHAR_H 1
17030 _ACEOF
17031 ac_has_wchar_h=yes
17032 else
17033 ac_has_wchar_h=no
17036 done
17038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
17039 $as_echo_n "checking for mbstate_t... " >&6; }
17040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17041 /* end confdefs.h. */
17042 #include <wchar.h>
17044 main ()
17046 mbstate_t teststate;
17048 return 0;
17050 _ACEOF
17051 if ac_fn_c_try_compile "$LINENO"; then :
17052 have_mbstate_t=yes
17053 else
17054 have_mbstate_t=no
17056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
17058 $as_echo "$have_mbstate_t" >&6; }
17059 if test x"$have_mbstate_t" = xyes; then
17061 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
17065 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
17066 # ac_has_wchar_h.
17067 for ac_header in wctype.h
17068 do :
17069 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
17070 if test "x$ac_cv_header_wctype_h" = xyes; then :
17071 cat >>confdefs.h <<_ACEOF
17072 #define HAVE_WCTYPE_H 1
17073 _ACEOF
17074 ac_has_wctype_h=yes
17075 else
17076 ac_has_wctype_h=no
17079 done
17082 if test x"$enable_wchar_t" = x"yes"; then
17085 ac_ext=cpp
17086 ac_cpp='$CXXCPP $CPPFLAGS'
17087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17092 if test x"$ac_has_wchar_h" = xyes &&
17093 test x"$ac_has_wctype_h" = xyes; then
17094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17095 /* end confdefs.h. */
17096 #include <wchar.h>
17097 #include <stddef.h>
17098 wint_t i;
17099 long l = WEOF;
17100 long j = WCHAR_MIN;
17101 long k = WCHAR_MAX;
17102 namespace test
17104 using ::btowc;
17105 using ::fgetwc;
17106 using ::fgetws;
17107 using ::fputwc;
17108 using ::fputws;
17109 using ::fwide;
17110 using ::fwprintf;
17111 using ::fwscanf;
17112 using ::getwc;
17113 using ::getwchar;
17114 using ::mbrlen;
17115 using ::mbrtowc;
17116 using ::mbsinit;
17117 using ::mbsrtowcs;
17118 using ::putwc;
17119 using ::putwchar;
17120 using ::swprintf;
17121 using ::swscanf;
17122 using ::ungetwc;
17123 using ::vfwprintf;
17124 using ::vswprintf;
17125 using ::vwprintf;
17126 using ::wcrtomb;
17127 using ::wcscat;
17128 using ::wcschr;
17129 using ::wcscmp;
17130 using ::wcscoll;
17131 using ::wcscpy;
17132 using ::wcscspn;
17133 using ::wcsftime;
17134 using ::wcslen;
17135 using ::wcsncat;
17136 using ::wcsncmp;
17137 using ::wcsncpy;
17138 using ::wcspbrk;
17139 using ::wcsrchr;
17140 using ::wcsrtombs;
17141 using ::wcsspn;
17142 using ::wcsstr;
17143 using ::wcstod;
17144 using ::wcstok;
17145 using ::wcstol;
17146 using ::wcstoul;
17147 using ::wcsxfrm;
17148 using ::wctob;
17149 using ::wmemchr;
17150 using ::wmemcmp;
17151 using ::wmemcpy;
17152 using ::wmemmove;
17153 using ::wmemset;
17154 using ::wprintf;
17155 using ::wscanf;
17159 main ()
17163 return 0;
17165 _ACEOF
17166 if ac_fn_cxx_try_compile "$LINENO"; then :
17168 else
17169 enable_wchar_t=no
17171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17172 else
17173 enable_wchar_t=no
17176 ac_ext=c
17177 ac_cpp='$CPP $CPPFLAGS'
17178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17184 if test x"$enable_wchar_t" = x"yes"; then
17186 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
17190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
17191 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
17192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
17193 $as_echo "$enable_wchar_t" >&6; }
17197 # Check whether --enable-c99 was given.
17198 if test "${enable_c99+set}" = set; then :
17199 enableval=$enable_c99;
17200 case "$enableval" in
17201 yes|no) ;;
17202 *) as_fn_error $? "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
17203 esac
17205 else
17206 enable_c99=yes
17211 if test x"$enable_c99" = x"yes"; then
17213 ac_ext=cpp
17214 ac_cpp='$CXXCPP $CPPFLAGS'
17215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17220 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
17221 # undefined may cause fake C99 facilities, like pre-standard snprintf,
17222 # to be spuriously enabled.
17223 ac_save_CXXFLAGS="$CXXFLAGS"
17224 CXXFLAGS="$CXXFLAGS -std=c++98"
17225 ac_save_LIBS="$LIBS"
17226 ac_save_gcc_no_link="$gcc_no_link"
17228 if test x$gcc_no_link != xyes; then
17229 # Use -fno-exceptions to that the C driver can link these tests without
17230 # hitting undefined references to personality routines.
17231 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17233 $as_echo_n "checking for sin in -lm... " >&6; }
17234 if ${ac_cv_lib_m_sin+:} false; then :
17235 $as_echo_n "(cached) " >&6
17236 else
17237 ac_check_lib_save_LIBS=$LIBS
17238 LIBS="-lm $LIBS"
17239 if test x$gcc_no_link = xyes; then
17240 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17243 /* end confdefs.h. */
17245 /* Override any GCC internal prototype to avoid an error.
17246 Use char because int might match the return type of a GCC
17247 builtin and then its argument prototype would still apply. */
17248 #ifdef __cplusplus
17249 extern "C"
17250 #endif
17251 char sin ();
17253 main ()
17255 return sin ();
17257 return 0;
17259 _ACEOF
17260 if ac_fn_cxx_try_link "$LINENO"; then :
17261 ac_cv_lib_m_sin=yes
17262 else
17263 ac_cv_lib_m_sin=no
17265 rm -f core conftest.err conftest.$ac_objext \
17266 conftest$ac_exeext conftest.$ac_ext
17267 LIBS=$ac_check_lib_save_LIBS
17269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17270 $as_echo "$ac_cv_lib_m_sin" >&6; }
17271 if test "x$ac_cv_lib_m_sin" = xyes; then :
17272 LIBS="$LIBS -lm"
17273 else
17275 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17276 gcc_no_link=yes
17282 # Check for the existence of <math.h> functions used if C99 is enabled.
17283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
17284 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
17285 if ${glibcxx_cv_c99_math_cxx98+:} false; then :
17286 $as_echo_n "(cached) " >&6
17287 else
17289 if test x$gcc_no_link = xyes; then
17290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17291 /* end confdefs.h. */
17292 #include <math.h>
17293 volatile double d1, d2;
17294 volatile int i;
17296 main ()
17298 i = fpclassify(d1);
17299 i = isfinite(d1);
17300 i = isinf(d1);
17301 i = isnan(d1);
17302 i = isnormal(d1);
17303 i = signbit(d1);
17304 i = isgreater(d1, d2);
17305 i = isgreaterequal(d1, d2);
17306 i = isless(d1, d2);
17307 i = islessequal(d1, d2);
17308 i = islessgreater(d1, d2);
17309 i = islessgreater(d1, d2);
17310 i = isunordered(d1, d2);
17313 return 0;
17315 _ACEOF
17316 if ac_fn_cxx_try_compile "$LINENO"; then :
17317 glibcxx_cv_c99_math_cxx98=yes
17318 else
17319 glibcxx_cv_c99_math_cxx98=no
17321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17322 else
17323 if test x$gcc_no_link = xyes; then
17324 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
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_link "$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 \
17358 conftest$ac_exeext conftest.$ac_ext
17362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
17363 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
17364 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
17366 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
17370 # Check for the existence of <complex.h> complex math functions.
17371 # This is necessary even though libstdc++ uses the builtin versions
17372 # of these functions, because if the builtin cannot be used, a reference
17373 # to the library function is emitted.
17374 for ac_header in tgmath.h
17375 do :
17376 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17377 if test "x$ac_cv_header_tgmath_h" = xyes; then :
17378 cat >>confdefs.h <<_ACEOF
17379 #define HAVE_TGMATH_H 1
17380 _ACEOF
17381 ac_has_tgmath_h=yes
17382 else
17383 ac_has_tgmath_h=no
17386 done
17388 for ac_header in complex.h
17389 do :
17390 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17391 if test "x$ac_cv_header_complex_h" = xyes; then :
17392 cat >>confdefs.h <<_ACEOF
17393 #define HAVE_COMPLEX_H 1
17394 _ACEOF
17395 ac_has_complex_h=yes
17396 else
17397 ac_has_complex_h=no
17400 done
17402 if test x"$ac_has_complex_h" = x"yes"; then
17403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
17404 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
17405 if ${glibcxx_cv_c99_complex_cxx98+:} false; then :
17406 $as_echo_n "(cached) " >&6
17407 else
17409 if test x$gcc_no_link = xyes; then
17410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17411 /* end confdefs.h. */
17412 #include <complex.h>
17413 typedef __complex__ float float_type;
17414 typedef __complex__ double double_type;
17415 typedef __complex__ long double ld_type;
17416 volatile float_type tmpf;
17417 volatile double_type tmpd;
17418 volatile ld_type tmpld;
17419 volatile float f;
17420 volatile double d;
17421 volatile long double ld;
17423 main ()
17425 f = cabsf(tmpf);
17426 f = cargf(tmpf);
17427 tmpf = ccosf(tmpf);
17428 tmpf = ccoshf(tmpf);
17429 tmpf = cexpf(tmpf);
17430 tmpf = clogf(tmpf);
17431 tmpf = csinf(tmpf);
17432 tmpf = csinhf(tmpf);
17433 tmpf = csqrtf(tmpf);
17434 tmpf = ctanf(tmpf);
17435 tmpf = ctanhf(tmpf);
17436 tmpf = cpowf(tmpf, tmpf);
17437 tmpf = cprojf(tmpf);
17438 d = cabs(tmpd);
17439 d = carg(tmpd);
17440 tmpd = ccos(tmpd);
17441 tmpd = ccosh(tmpd);
17442 tmpd = cexp(tmpd);
17443 tmpd = clog(tmpd);
17444 tmpd = csin(tmpd);
17445 tmpd = csinh(tmpd);
17446 tmpd = csqrt(tmpd);
17447 tmpd = ctan(tmpd);
17448 tmpd = ctanh(tmpd);
17449 tmpd = cpow(tmpd, tmpd);
17450 tmpd = cproj(tmpd);
17451 ld = cabsl(tmpld);
17452 ld = cargl(tmpld);
17453 tmpld = ccosl(tmpld);
17454 tmpld = ccoshl(tmpld);
17455 tmpld = cexpl(tmpld);
17456 tmpld = clogl(tmpld);
17457 tmpld = csinl(tmpld);
17458 tmpld = csinhl(tmpld);
17459 tmpld = csqrtl(tmpld);
17460 tmpld = ctanl(tmpld);
17461 tmpld = ctanhl(tmpld);
17462 tmpld = cpowl(tmpld, tmpld);
17463 tmpld = cprojl(tmpld);
17466 return 0;
17468 _ACEOF
17469 if ac_fn_cxx_try_compile "$LINENO"; then :
17470 glibcxx_cv_c99_complex_cxx98=yes
17471 else
17472 glibcxx_cv_c99_complex_cxx98=no
17474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17475 else
17476 if test x$gcc_no_link = xyes; then
17477 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17480 /* end confdefs.h. */
17481 #include <complex.h>
17482 typedef __complex__ float float_type;
17483 typedef __complex__ double double_type;
17484 typedef __complex__ long double ld_type;
17485 volatile float_type tmpf;
17486 volatile double_type tmpd;
17487 volatile ld_type tmpld;
17488 volatile float f;
17489 volatile double d;
17490 volatile long double ld;
17492 main ()
17494 f = cabsf(tmpf);
17495 f = cargf(tmpf);
17496 tmpf = ccosf(tmpf);
17497 tmpf = ccoshf(tmpf);
17498 tmpf = cexpf(tmpf);
17499 tmpf = clogf(tmpf);
17500 tmpf = csinf(tmpf);
17501 tmpf = csinhf(tmpf);
17502 tmpf = csqrtf(tmpf);
17503 tmpf = ctanf(tmpf);
17504 tmpf = ctanhf(tmpf);
17505 tmpf = cpowf(tmpf, tmpf);
17506 tmpf = cprojf(tmpf);
17507 d = cabs(tmpd);
17508 d = carg(tmpd);
17509 tmpd = ccos(tmpd);
17510 tmpd = ccosh(tmpd);
17511 tmpd = cexp(tmpd);
17512 tmpd = clog(tmpd);
17513 tmpd = csin(tmpd);
17514 tmpd = csinh(tmpd);
17515 tmpd = csqrt(tmpd);
17516 tmpd = ctan(tmpd);
17517 tmpd = ctanh(tmpd);
17518 tmpd = cpow(tmpd, tmpd);
17519 tmpd = cproj(tmpd);
17520 ld = cabsl(tmpld);
17521 ld = cargl(tmpld);
17522 tmpld = ccosl(tmpld);
17523 tmpld = ccoshl(tmpld);
17524 tmpld = cexpl(tmpld);
17525 tmpld = clogl(tmpld);
17526 tmpld = csinl(tmpld);
17527 tmpld = csinhl(tmpld);
17528 tmpld = csqrtl(tmpld);
17529 tmpld = ctanl(tmpld);
17530 tmpld = ctanhl(tmpld);
17531 tmpld = cpowl(tmpld, tmpld);
17532 tmpld = cprojl(tmpld);
17535 return 0;
17537 _ACEOF
17538 if ac_fn_cxx_try_link "$LINENO"; then :
17539 glibcxx_cv_c99_complex_cxx98=yes
17540 else
17541 glibcxx_cv_c99_complex_cxx98=no
17543 rm -f core conftest.err conftest.$ac_objext \
17544 conftest$ac_exeext conftest.$ac_ext
17548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
17549 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
17551 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
17553 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
17557 # Check for the existence in <stdio.h> of vscanf, et. al.
17558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
17559 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
17560 if ${glibcxx_cv_c99_stdio_cxx98+:} false; then :
17561 $as_echo_n "(cached) " >&6
17562 else
17564 if test x$gcc_no_link = xyes; then
17565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17566 /* end confdefs.h. */
17567 #include <stdio.h>
17568 #include <stdarg.h>
17569 void foo(char* fmt, ...)
17571 va_list args; va_start(args, fmt);
17572 vfscanf(stderr, "%i", args);
17573 vscanf("%i", args);
17574 vsnprintf(fmt, 0, "%i", args);
17575 vsscanf(fmt, "%i", args);
17576 snprintf(fmt, 0, "%i");
17579 main ()
17583 return 0;
17585 _ACEOF
17586 if ac_fn_cxx_try_compile "$LINENO"; then :
17587 glibcxx_cv_c99_stdio_cxx98=yes
17588 else
17589 glibcxx_cv_c99_stdio_cxx98=no
17591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17592 else
17593 if test x$gcc_no_link = xyes; then
17594 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17597 /* end confdefs.h. */
17598 #include <stdio.h>
17599 #include <stdarg.h>
17600 void foo(char* fmt, ...)
17602 va_list args; va_start(args, fmt);
17603 vfscanf(stderr, "%i", args);
17604 vscanf("%i", args);
17605 vsnprintf(fmt, 0, "%i", args);
17606 vsscanf(fmt, "%i", args);
17607 snprintf(fmt, 0, "%i");
17610 main ()
17614 return 0;
17616 _ACEOF
17617 if ac_fn_cxx_try_link "$LINENO"; then :
17618 glibcxx_cv_c99_stdio_cxx98=yes
17619 else
17620 glibcxx_cv_c99_stdio_cxx98=no
17622 rm -f core conftest.err conftest.$ac_objext \
17623 conftest$ac_exeext conftest.$ac_ext
17627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
17628 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
17629 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
17631 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
17635 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
17637 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
17638 if ${glibcxx_cv_c99_stdlib_cxx98+:} false; then :
17639 $as_echo_n "(cached) " >&6
17640 else
17642 if test x$gcc_no_link = xyes; then
17643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17644 /* end confdefs.h. */
17645 #include <stdlib.h>
17646 volatile float f;
17647 volatile long double ld;
17648 volatile unsigned long long ll;
17649 lldiv_t mydivt;
17651 main ()
17653 char* tmp;
17654 f = strtof("gnu", &tmp);
17655 ld = strtold("gnu", &tmp);
17656 ll = strtoll("gnu", &tmp, 10);
17657 ll = strtoull("gnu", &tmp, 10);
17658 ll = llabs(10);
17659 mydivt = lldiv(10,1);
17660 ll = mydivt.quot;
17661 ll = mydivt.rem;
17662 ll = atoll("10");
17663 _Exit(0);
17666 return 0;
17668 _ACEOF
17669 if ac_fn_cxx_try_compile "$LINENO"; then :
17670 glibcxx_cv_c99_stdlib_cxx98=yes
17671 else
17672 glibcxx_cv_c99_stdlib_cxx98=no
17674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17675 else
17676 if test x$gcc_no_link = xyes; then
17677 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
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_link "$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 \
17711 conftest$ac_exeext conftest.$ac_ext
17715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17716 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17717 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17719 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17723 # Check for the existence in <wchar.h> of wcstold, etc.
17724 if test x"$ac_has_wchar_h" = xyes &&
17725 test x"$ac_has_wctype_h" = xyes; then
17726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17727 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17728 if ${glibcxx_cv_c99_wchar_cxx98+:} false; then :
17729 $as_echo_n "(cached) " >&6
17730 else
17732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17733 /* end confdefs.h. */
17734 #include <wchar.h>
17735 namespace test
17737 using ::wcstold;
17738 using ::wcstoll;
17739 using ::wcstoull;
17743 main ()
17747 return 0;
17749 _ACEOF
17750 if ac_fn_cxx_try_compile "$LINENO"; then :
17751 glibcxx_cv_c99_wchar_cxx98=yes
17752 else
17753 glibcxx_cv_c99_wchar_cxx98=no
17755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17759 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17761 # Checks for wide character functions that may not be present.
17762 # Injection of these is wrapped with guard macros.
17763 # NB: only put functions here, instead of immediately above, if
17764 # absolutely necessary.
17765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17766 /* end confdefs.h. */
17767 #include <wchar.h>
17768 namespace test { using ::vfwscanf; }
17770 main ()
17774 return 0;
17776 _ACEOF
17777 if ac_fn_cxx_try_compile "$LINENO"; then :
17779 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17785 /* end confdefs.h. */
17786 #include <wchar.h>
17787 namespace test { using ::vswscanf; }
17789 main ()
17793 return 0;
17795 _ACEOF
17796 if ac_fn_cxx_try_compile "$LINENO"; then :
17798 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17804 /* end confdefs.h. */
17805 #include <wchar.h>
17806 namespace test { using ::vwscanf; }
17808 main ()
17812 return 0;
17814 _ACEOF
17815 if ac_fn_cxx_try_compile "$LINENO"; then :
17817 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17823 /* end confdefs.h. */
17824 #include <wchar.h>
17825 namespace test { using ::wcstof; }
17827 main ()
17831 return 0;
17833 _ACEOF
17834 if ac_fn_cxx_try_compile "$LINENO"; then :
17836 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17842 /* end confdefs.h. */
17843 #include <wctype.h>
17845 main ()
17847 wint_t t; int i = iswblank(t);
17849 return 0;
17851 _ACEOF
17852 if ac_fn_cxx_try_compile "$LINENO"; then :
17854 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17859 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17861 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17866 # Option parsed, now set things appropriately.
17867 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17868 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17869 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17870 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17871 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17872 enable_c99=no;
17873 else
17875 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17879 gcc_no_link="$ac_save_gcc_no_link"
17880 LIBS="$ac_save_LIBS"
17881 CXXFLAGS="$ac_save_CXXFLAGS"
17882 ac_ext=c
17883 ac_cpp='$CPP $CPPFLAGS'
17884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17890 ac_ext=cpp
17891 ac_cpp='$CXXCPP $CPPFLAGS'
17892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17897 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17898 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17899 ac_save_CXXFLAGS="$CXXFLAGS"
17900 CXXFLAGS="$CXXFLAGS -std=c++11"
17901 ac_save_LIBS="$LIBS"
17902 ac_save_gcc_no_link="$gcc_no_link"
17904 if test x$gcc_no_link != xyes; then
17905 # Use -fno-exceptions to that the C driver can link these tests without
17906 # hitting undefined references to personality routines.
17907 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17909 $as_echo_n "checking for sin in -lm... " >&6; }
17910 if ${ac_cv_lib_m_sin+:} false; then :
17911 $as_echo_n "(cached) " >&6
17912 else
17913 ac_check_lib_save_LIBS=$LIBS
17914 LIBS="-lm $LIBS"
17915 if test x$gcc_no_link = xyes; then
17916 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17919 /* end confdefs.h. */
17921 /* Override any GCC internal prototype to avoid an error.
17922 Use char because int might match the return type of a GCC
17923 builtin and then its argument prototype would still apply. */
17924 #ifdef __cplusplus
17925 extern "C"
17926 #endif
17927 char sin ();
17929 main ()
17931 return sin ();
17933 return 0;
17935 _ACEOF
17936 if ac_fn_cxx_try_link "$LINENO"; then :
17937 ac_cv_lib_m_sin=yes
17938 else
17939 ac_cv_lib_m_sin=no
17941 rm -f core conftest.err conftest.$ac_objext \
17942 conftest$ac_exeext conftest.$ac_ext
17943 LIBS=$ac_check_lib_save_LIBS
17945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17946 $as_echo "$ac_cv_lib_m_sin" >&6; }
17947 if test "x$ac_cv_lib_m_sin" = xyes; then :
17948 LIBS="$LIBS -lm"
17949 else
17951 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17952 gcc_no_link=yes
17958 # Check for the existence of <math.h> functions used if C99 is enabled.
17959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17960 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17961 if ${glibcxx_cv_c99_math_cxx11+:} false; then :
17962 $as_echo_n "(cached) " >&6
17963 else
17965 if test x$gcc_no_link = xyes; then
17966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17967 /* end confdefs.h. */
17968 #include <math.h>
17969 volatile double d1, d2;
17970 volatile int i;
17972 main ()
17974 i = fpclassify(d1);
17975 i = isfinite(d1);
17976 i = isinf(d1);
17977 i = isnan(d1);
17978 i = isnormal(d1);
17979 i = signbit(d1);
17980 i = isgreater(d1, d2);
17981 i = isgreaterequal(d1, d2);
17982 i = isless(d1, d2);
17983 i = islessequal(d1, d2);
17984 i = islessgreater(d1, d2);
17985 i = islessgreater(d1, d2);
17986 i = isunordered(d1, d2);
17989 return 0;
17991 _ACEOF
17992 if ac_fn_cxx_try_compile "$LINENO"; then :
17993 glibcxx_cv_c99_math_cxx11=yes
17994 else
17995 glibcxx_cv_c99_math_cxx11=no
17997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17998 else
17999 if test x$gcc_no_link = xyes; then
18000 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18003 /* end confdefs.h. */
18004 #include <math.h>
18005 volatile double d1, d2;
18006 volatile int i;
18008 main ()
18010 i = fpclassify(d1);
18011 i = isfinite(d1);
18012 i = isinf(d1);
18013 i = isnan(d1);
18014 i = isnormal(d1);
18015 i = signbit(d1);
18016 i = isgreater(d1, d2);
18017 i = isgreaterequal(d1, d2);
18018 i = isless(d1, d2);
18019 i = islessequal(d1, d2);
18020 i = islessgreater(d1, d2);
18021 i = islessgreater(d1, d2);
18022 i = isunordered(d1, d2);
18025 return 0;
18027 _ACEOF
18028 if ac_fn_cxx_try_link "$LINENO"; then :
18029 glibcxx_cv_c99_math_cxx11=yes
18030 else
18031 glibcxx_cv_c99_math_cxx11=no
18033 rm -f core conftest.err conftest.$ac_objext \
18034 conftest$ac_exeext conftest.$ac_ext
18038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
18039 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
18040 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
18042 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
18046 # Check for the existence of <complex.h> complex math functions.
18047 # This is necessary even though libstdc++ uses the builtin versions
18048 # of these functions, because if the builtin cannot be used, a reference
18049 # to the library function is emitted.
18050 for ac_header in tgmath.h
18051 do :
18052 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
18053 if test "x$ac_cv_header_tgmath_h" = xyes; then :
18054 cat >>confdefs.h <<_ACEOF
18055 #define HAVE_TGMATH_H 1
18056 _ACEOF
18057 ac_has_tgmath_h=yes
18058 else
18059 ac_has_tgmath_h=no
18062 done
18064 for ac_header in complex.h
18065 do :
18066 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18067 if test "x$ac_cv_header_complex_h" = xyes; then :
18068 cat >>confdefs.h <<_ACEOF
18069 #define HAVE_COMPLEX_H 1
18070 _ACEOF
18071 ac_has_complex_h=yes
18072 else
18073 ac_has_complex_h=no
18076 done
18078 if test x"$ac_has_complex_h" = x"yes"; then
18079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
18080 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
18081 if ${glibcxx_cv_c99_complex_cxx11+:} false; then :
18082 $as_echo_n "(cached) " >&6
18083 else
18085 if test x$gcc_no_link = xyes; then
18086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18087 /* end confdefs.h. */
18088 #include <complex.h>
18089 typedef __complex__ float float_type;
18090 typedef __complex__ double double_type;
18091 typedef __complex__ long double ld_type;
18092 volatile float_type tmpf;
18093 volatile double_type tmpd;
18094 volatile ld_type tmpld;
18095 volatile float f;
18096 volatile double d;
18097 volatile long double ld;
18099 main ()
18101 f = cabsf(tmpf);
18102 f = cargf(tmpf);
18103 tmpf = ccosf(tmpf);
18104 tmpf = ccoshf(tmpf);
18105 tmpf = cexpf(tmpf);
18106 tmpf = clogf(tmpf);
18107 tmpf = csinf(tmpf);
18108 tmpf = csinhf(tmpf);
18109 tmpf = csqrtf(tmpf);
18110 tmpf = ctanf(tmpf);
18111 tmpf = ctanhf(tmpf);
18112 tmpf = cpowf(tmpf, tmpf);
18113 tmpf = cprojf(tmpf);
18114 d = cabs(tmpd);
18115 d = carg(tmpd);
18116 tmpd = ccos(tmpd);
18117 tmpd = ccosh(tmpd);
18118 tmpd = cexp(tmpd);
18119 tmpd = clog(tmpd);
18120 tmpd = csin(tmpd);
18121 tmpd = csinh(tmpd);
18122 tmpd = csqrt(tmpd);
18123 tmpd = ctan(tmpd);
18124 tmpd = ctanh(tmpd);
18125 tmpd = cpow(tmpd, tmpd);
18126 tmpd = cproj(tmpd);
18127 ld = cabsl(tmpld);
18128 ld = cargl(tmpld);
18129 tmpld = ccosl(tmpld);
18130 tmpld = ccoshl(tmpld);
18131 tmpld = cexpl(tmpld);
18132 tmpld = clogl(tmpld);
18133 tmpld = csinl(tmpld);
18134 tmpld = csinhl(tmpld);
18135 tmpld = csqrtl(tmpld);
18136 tmpld = ctanl(tmpld);
18137 tmpld = ctanhl(tmpld);
18138 tmpld = cpowl(tmpld, tmpld);
18139 tmpld = cprojl(tmpld);
18142 return 0;
18144 _ACEOF
18145 if ac_fn_cxx_try_compile "$LINENO"; then :
18146 glibcxx_cv_c99_complex_cxx11=yes
18147 else
18148 glibcxx_cv_c99_complex_cxx11=no
18150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18151 else
18152 if test x$gcc_no_link = xyes; then
18153 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18156 /* end confdefs.h. */
18157 #include <complex.h>
18158 typedef __complex__ float float_type;
18159 typedef __complex__ double double_type;
18160 typedef __complex__ long double ld_type;
18161 volatile float_type tmpf;
18162 volatile double_type tmpd;
18163 volatile ld_type tmpld;
18164 volatile float f;
18165 volatile double d;
18166 volatile long double ld;
18168 main ()
18170 f = cabsf(tmpf);
18171 f = cargf(tmpf);
18172 tmpf = ccosf(tmpf);
18173 tmpf = ccoshf(tmpf);
18174 tmpf = cexpf(tmpf);
18175 tmpf = clogf(tmpf);
18176 tmpf = csinf(tmpf);
18177 tmpf = csinhf(tmpf);
18178 tmpf = csqrtf(tmpf);
18179 tmpf = ctanf(tmpf);
18180 tmpf = ctanhf(tmpf);
18181 tmpf = cpowf(tmpf, tmpf);
18182 tmpf = cprojf(tmpf);
18183 d = cabs(tmpd);
18184 d = carg(tmpd);
18185 tmpd = ccos(tmpd);
18186 tmpd = ccosh(tmpd);
18187 tmpd = cexp(tmpd);
18188 tmpd = clog(tmpd);
18189 tmpd = csin(tmpd);
18190 tmpd = csinh(tmpd);
18191 tmpd = csqrt(tmpd);
18192 tmpd = ctan(tmpd);
18193 tmpd = ctanh(tmpd);
18194 tmpd = cpow(tmpd, tmpd);
18195 tmpd = cproj(tmpd);
18196 ld = cabsl(tmpld);
18197 ld = cargl(tmpld);
18198 tmpld = ccosl(tmpld);
18199 tmpld = ccoshl(tmpld);
18200 tmpld = cexpl(tmpld);
18201 tmpld = clogl(tmpld);
18202 tmpld = csinl(tmpld);
18203 tmpld = csinhl(tmpld);
18204 tmpld = csqrtl(tmpld);
18205 tmpld = ctanl(tmpld);
18206 tmpld = ctanhl(tmpld);
18207 tmpld = cpowl(tmpld, tmpld);
18208 tmpld = cprojl(tmpld);
18211 return 0;
18213 _ACEOF
18214 if ac_fn_cxx_try_link "$LINENO"; then :
18215 glibcxx_cv_c99_complex_cxx11=yes
18216 else
18217 glibcxx_cv_c99_complex_cxx11=no
18219 rm -f core conftest.err conftest.$ac_objext \
18220 conftest$ac_exeext conftest.$ac_ext
18224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
18225 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
18227 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
18229 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
18233 # Check for the existence in <stdio.h> of vscanf, et. al.
18234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
18235 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
18236 if ${glibcxx_cv_c99_stdio_cxx11+:} false; then :
18237 $as_echo_n "(cached) " >&6
18238 else
18240 if test x$gcc_no_link = xyes; then
18241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18242 /* end confdefs.h. */
18243 #include <stdio.h>
18244 #include <stdarg.h>
18245 void foo(char* fmt, ...)
18247 va_list args; va_start(args, fmt);
18248 vfscanf(stderr, "%i", args);
18249 vscanf("%i", args);
18250 vsnprintf(fmt, 0, "%i", args);
18251 vsscanf(fmt, "%i", args);
18252 snprintf(fmt, 0, "%i");
18255 main ()
18259 return 0;
18261 _ACEOF
18262 if ac_fn_cxx_try_compile "$LINENO"; then :
18263 glibcxx_cv_c99_stdio_cxx11=yes
18264 else
18265 glibcxx_cv_c99_stdio_cxx11=no
18267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18268 else
18269 if test x$gcc_no_link = xyes; then
18270 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18273 /* end confdefs.h. */
18274 #include <stdio.h>
18275 #include <stdarg.h>
18276 void foo(char* fmt, ...)
18278 va_list args; va_start(args, fmt);
18279 vfscanf(stderr, "%i", args);
18280 vscanf("%i", args);
18281 vsnprintf(fmt, 0, "%i", args);
18282 vsscanf(fmt, "%i", args);
18283 snprintf(fmt, 0, "%i");
18286 main ()
18290 return 0;
18292 _ACEOF
18293 if ac_fn_cxx_try_link "$LINENO"; then :
18294 glibcxx_cv_c99_stdio_cxx11=yes
18295 else
18296 glibcxx_cv_c99_stdio_cxx11=no
18298 rm -f core conftest.err conftest.$ac_objext \
18299 conftest$ac_exeext conftest.$ac_ext
18303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
18304 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
18305 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
18307 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
18311 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
18312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
18313 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
18314 if ${glibcxx_cv_c99_stdlib_cxx11+:} false; then :
18315 $as_echo_n "(cached) " >&6
18316 else
18318 if test x$gcc_no_link = xyes; then
18319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18320 /* end confdefs.h. */
18321 #include <stdlib.h>
18322 volatile float f;
18323 volatile long double ld;
18324 volatile unsigned long long ll;
18325 lldiv_t mydivt;
18327 main ()
18329 char* tmp;
18330 f = strtof("gnu", &tmp);
18331 ld = strtold("gnu", &tmp);
18332 ll = strtoll("gnu", &tmp, 10);
18333 ll = strtoull("gnu", &tmp, 10);
18334 ll = llabs(10);
18335 mydivt = lldiv(10,1);
18336 ll = mydivt.quot;
18337 ll = mydivt.rem;
18338 ll = atoll("10");
18339 _Exit(0);
18342 return 0;
18344 _ACEOF
18345 if ac_fn_cxx_try_compile "$LINENO"; then :
18346 glibcxx_cv_c99_stdlib_cxx11=yes
18347 else
18348 glibcxx_cv_c99_stdlib_cxx11=no
18350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18351 else
18352 if test x$gcc_no_link = xyes; then
18353 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18356 /* end confdefs.h. */
18357 #include <stdlib.h>
18358 volatile float f;
18359 volatile long double ld;
18360 volatile unsigned long long ll;
18361 lldiv_t mydivt;
18363 main ()
18365 char* tmp;
18366 f = strtof("gnu", &tmp);
18367 ld = strtold("gnu", &tmp);
18368 ll = strtoll("gnu", &tmp, 10);
18369 ll = strtoull("gnu", &tmp, 10);
18370 ll = llabs(10);
18371 mydivt = lldiv(10,1);
18372 ll = mydivt.quot;
18373 ll = mydivt.rem;
18374 ll = atoll("10");
18375 _Exit(0);
18378 return 0;
18380 _ACEOF
18381 if ac_fn_cxx_try_link "$LINENO"; then :
18382 glibcxx_cv_c99_stdlib_cxx11=yes
18383 else
18384 glibcxx_cv_c99_stdlib_cxx11=no
18386 rm -f core conftest.err conftest.$ac_objext \
18387 conftest$ac_exeext conftest.$ac_ext
18391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
18392 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
18393 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
18395 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
18399 # Check for the existence in <wchar.h> of wcstold, etc.
18400 if test x"$ac_has_wchar_h" = xyes &&
18401 test x"$ac_has_wctype_h" = xyes; then
18402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
18403 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
18404 if ${glibcxx_cv_c99_wchar_cxx11+:} false; then :
18405 $as_echo_n "(cached) " >&6
18406 else
18408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18409 /* end confdefs.h. */
18410 #include <wchar.h>
18411 namespace test
18413 using ::wcstold;
18414 using ::wcstoll;
18415 using ::wcstoull;
18419 main ()
18423 return 0;
18425 _ACEOF
18426 if ac_fn_cxx_try_compile "$LINENO"; then :
18427 glibcxx_cv_c99_wchar_cxx11=yes
18428 else
18429 glibcxx_cv_c99_wchar_cxx11=no
18431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
18435 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
18437 # Checks for wide character functions that may not be present.
18438 # Injection of these is wrapped with guard macros.
18439 # NB: only put functions here, instead of immediately above, if
18440 # absolutely necessary.
18441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18442 /* end confdefs.h. */
18443 #include <wchar.h>
18444 namespace test { using ::vfwscanf; }
18446 main ()
18450 return 0;
18452 _ACEOF
18453 if ac_fn_cxx_try_compile "$LINENO"; then :
18455 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
18458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18461 /* end confdefs.h. */
18462 #include <wchar.h>
18463 namespace test { using ::vswscanf; }
18465 main ()
18469 return 0;
18471 _ACEOF
18472 if ac_fn_cxx_try_compile "$LINENO"; then :
18474 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
18477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18480 /* end confdefs.h. */
18481 #include <wchar.h>
18482 namespace test { using ::vwscanf; }
18484 main ()
18488 return 0;
18490 _ACEOF
18491 if ac_fn_cxx_try_compile "$LINENO"; then :
18493 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
18496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18499 /* end confdefs.h. */
18500 #include <wchar.h>
18501 namespace test { using ::wcstof; }
18503 main ()
18507 return 0;
18509 _ACEOF
18510 if ac_fn_cxx_try_compile "$LINENO"; then :
18512 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
18515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18518 /* end confdefs.h. */
18519 #include <wctype.h>
18521 main ()
18523 wint_t t; int i = iswblank(t);
18525 return 0;
18527 _ACEOF
18528 if ac_fn_cxx_try_compile "$LINENO"; then :
18530 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
18533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18535 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
18537 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
18542 gcc_no_link="$ac_save_gcc_no_link"
18543 LIBS="$ac_save_LIBS"
18544 CXXFLAGS="$ac_save_CXXFLAGS"
18545 ac_ext=c
18546 ac_cpp='$CPP $CPPFLAGS'
18547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
18554 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
18555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
18556 $as_echo "$enable_c99" >&6; }
18559 # Check whether --enable-concept-checks was given.
18560 if test "${enable_concept_checks+set}" = set; then :
18561 enableval=$enable_concept_checks;
18562 case "$enableval" in
18563 yes|no) ;;
18564 *) as_fn_error $? "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
18565 esac
18567 else
18568 enable_concept_checks=no
18572 if test $enable_concept_checks = yes; then
18574 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
18579 # Check whether --enable-libstdcxx-debug-flags was given.
18580 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
18581 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
18582 xno | x) enable_libstdcxx_debug_flags= ;;
18583 x-*) ;;
18584 *) as_fn_error $? "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18585 esac
18586 else
18587 enable_libstdcxx_debug_flags="-g3 -O0 -D_GLIBCXX_ASSERTIONS"
18592 # Option parsed, now set things appropriately
18593 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
18596 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
18597 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
18600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
18601 $as_echo_n "checking for additional debug build... " >&6; }
18602 skip_debug_build=
18603 # Check whether --enable-libstdcxx-debug was given.
18604 if test "${enable_libstdcxx_debug+set}" = set; then :
18605 enableval=$enable_libstdcxx_debug;
18606 case "$enableval" in
18607 yes|no) ;;
18608 *) as_fn_error $? "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
18609 esac
18611 else
18612 enable_libstdcxx_debug=no
18616 if test x$enable_libstdcxx_debug = xyes; then
18617 if test -f $toplevel_builddir/../stage_final \
18618 && test -f $toplevel_builddir/../stage_current; then
18619 stage_final=`cat $toplevel_builddir/../stage_final`
18620 stage_current=`cat $toplevel_builddir/../stage_current`
18621 if test x$stage_current != x$stage_final ; then
18622 skip_debug_build=" (skipped for bootstrap stage $stage_current)"
18623 enable_libstdcxx_debug=no
18627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug$skip_debug_build" >&5
18628 $as_echo "$enable_libstdcxx_debug$skip_debug_build" >&6; }
18633 enable_parallel=no;
18635 # See if configured libgomp/omp.h exists. (libgomp may be in
18636 # noconfigdirs but not explicitly disabled.)
18637 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
18638 enable_parallel=yes;
18639 else
18640 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
18641 $as_echo "$as_me: target-libgomp not built" >&6;}
18644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
18645 $as_echo_n "checking for parallel mode support... " >&6; }
18646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
18647 $as_echo "$enable_parallel" >&6; }
18649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
18650 $as_echo_n "checking for extra compiler flags for building... " >&6; }
18651 # Check whether --enable-cxx-flags was given.
18652 if test "${enable_cxx_flags+set}" = set; then :
18653 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
18654 xno | x) enable_cxx_flags= ;;
18655 x-*) ;;
18656 *) as_fn_error $? "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18657 esac
18658 else
18659 enable_cxx_flags=
18664 # Run through flags (either default or command-line) and set anything
18665 # extra (e.g., #defines) that must accompany particular g++ options.
18666 if test -n "$enable_cxx_flags"; then
18667 for f in $enable_cxx_flags; do
18668 case "$f" in
18669 -fhonor-std) ;;
18670 -*) ;;
18671 *) # and we're trying to pass /what/ exactly?
18672 as_fn_error $? "compiler flags start with a -" "$LINENO" 5 ;;
18673 esac
18674 done
18677 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18679 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18683 # Check whether --enable-fully-dynamic-string was given.
18684 if test "${enable_fully_dynamic_string+set}" = set; then :
18685 enableval=$enable_fully_dynamic_string;
18686 case "$enableval" in
18687 yes|no) ;;
18688 *) as_fn_error $? "Unknown argument to enable/disable fully-dynamic-string" "$LINENO" 5 ;;
18689 esac
18691 else
18692 enable_fully_dynamic_string=no
18696 if test $enable_fully_dynamic_string = yes; then
18697 enable_fully_dynamic_string_def=1
18698 else
18699 enable_fully_dynamic_string_def=0
18702 cat >>confdefs.h <<_ACEOF
18703 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18704 _ACEOF
18709 # Check whether --enable-extern-template was given.
18710 if test "${enable_extern_template+set}" = set; then :
18711 enableval=$enable_extern_template;
18712 case "$enableval" in
18713 yes|no) ;;
18714 *) as_fn_error $? "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18715 esac
18717 else
18718 enable_extern_template=yes
18723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18724 $as_echo_n "checking for extern template support... " >&6; }
18725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18726 $as_echo "$enable_extern_template" >&6; }
18732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18733 $as_echo_n "checking for custom python install directory... " >&6; }
18735 # Check whether --with-python-dir was given.
18736 if test "${with_python_dir+set}" = set; then :
18737 withval=$with_python_dir; with_python_dir=$withval
18738 else
18739 with_python_dir="no"
18742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18743 $as_echo "${with_python_dir}" >&6; }
18745 # Needed for installing Python modules during make install.
18746 python_mod_dir="${with_python_dir}"
18751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18752 $as_echo_n "checking for -Werror... " >&6; }
18753 # Check whether --enable-werror was given.
18754 if test "${enable_werror+set}" = set; then :
18755 enableval=$enable_werror;
18756 case "$enableval" in
18757 yes|no) ;;
18758 *) as_fn_error $? "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18759 esac
18761 else
18762 enable_werror=no
18766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18767 $as_echo "$enable_werror" >&6; }
18772 # Check whether --enable-vtable-verify was given.
18773 if test "${enable_vtable_verify+set}" = set; then :
18774 enableval=$enable_vtable_verify;
18775 case "$enableval" in
18776 yes|no) ;;
18777 *) as_fn_error $? "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18778 esac
18780 else
18781 enable_vtable_verify=no
18786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18787 $as_echo_n "checking for vtable verify support... " >&6; }
18788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18789 $as_echo "$enable_vtable_verify" >&6; }
18791 vtv_cygmin=no
18792 if test $enable_vtable_verify = yes; then
18793 case ${target_os} in
18794 cygwin*|mingw32*)
18795 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18796 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18797 vtv_cygmin=yes
18799 darwin*)
18800 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18801 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18803 solaris2*)
18804 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18805 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18808 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18809 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18811 esac
18812 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18813 else
18814 VTV_CXXFLAGS=
18815 VTV_PCH_CXXFLAGS=
18816 VTV_CXXLINKFLAGS=
18822 if test x$vtv_cygmin = xyes; then
18823 VTV_CYGMIN_TRUE=
18824 VTV_CYGMIN_FALSE='#'
18825 else
18826 VTV_CYGMIN_TRUE='#'
18827 VTV_CYGMIN_FALSE=
18833 # Checks for operating systems support that doesn't require linking.
18837 ac_ext=cpp
18838 ac_cpp='$CXXCPP $CPPFLAGS'
18839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18843 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18844 # and we don't need a declaration for C++14 anyway.
18845 ac_save_CXXFLAGS="$CXXFLAGS"
18846 CXXFLAGS="$CXXFLAGS -std=gnu++11"
18848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18849 $as_echo_n "checking for gets declaration... " >&6; }
18850 if ${glibcxx_cv_gets+:} false; then :
18851 $as_echo_n "(cached) " >&6
18852 else
18854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18855 /* end confdefs.h. */
18856 #include <stdio.h>
18857 namespace test
18859 using ::gets;
18862 _ACEOF
18863 if ac_fn_cxx_try_compile "$LINENO"; then :
18864 glibcxx_cv_gets=yes
18865 else
18866 glibcxx_cv_gets=no
18869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18872 $as_echo "$glibcxx_cv_gets" >&6; }
18874 if test $glibcxx_cv_gets = yes; then
18876 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18880 CXXFLAGS="$ac_save_CXXFLAGS"
18881 ac_ext=c
18882 ac_cpp='$CPP $CPPFLAGS'
18883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18891 ac_ext=cpp
18892 ac_cpp='$CXXCPP $CPPFLAGS'
18893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18897 ac_save_CXXFLAGS="$CXXFLAGS"
18898 CXXFLAGS="$CXXFLAGS -std=c++11"
18900 case "$host" in
18901 *-*-solaris2.*)
18902 # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18903 # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18905 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18906 if ${glibcxx_cv_math11_fp_overload+:} false; then :
18907 $as_echo_n "(cached) " >&6
18908 else
18910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18911 /* end confdefs.h. */
18912 #include <math.h>
18913 #undef isfinite
18914 namespace std {
18915 inline bool isfinite(float __x)
18916 { return __builtin_isfinite(__x); }
18919 _ACEOF
18920 if ac_fn_cxx_try_compile "$LINENO"; then :
18921 glibcxx_cv_math11_fp_overload=no
18922 else
18923 glibcxx_cv_math11_fp_overload=yes
18926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
18929 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
18931 # autoheader cannot handle indented templates.
18934 if test $glibcxx_cv_math11_fp_overload = yes; then
18935 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
18939 # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
18940 # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
18941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
18942 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
18943 if ${glibcxx_cv_math11_int_overload+:} false; then :
18944 $as_echo_n "(cached) " >&6
18945 else
18947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18948 /* end confdefs.h. */
18949 #include <math.h>
18950 namespace std {
18951 template<typename _Tp>
18952 struct __is_integer;
18953 template<>
18954 struct __is_integer<int>
18956 enum { __value = 1 };
18959 namespace __gnu_cxx {
18960 template<bool, typename>
18961 struct __enable_if;
18962 template<typename _Tp>
18963 struct __enable_if<true, _Tp>
18964 { typedef _Tp __type; };
18966 namespace std {
18967 template<typename _Tp>
18968 constexpr typename __gnu_cxx::__enable_if
18969 <__is_integer<_Tp>::__value, double>::__type
18970 log2(_Tp __x)
18971 { return __builtin_log2(__x); }
18974 main (void)
18976 int i = 1000;
18977 return std::log2(i);
18980 _ACEOF
18981 if ac_fn_cxx_try_compile "$LINENO"; then :
18982 glibcxx_cv_math11_int_overload=no
18983 else
18984 glibcxx_cv_math11_int_overload=yes
18987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
18990 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
18992 # autoheader cannot handle indented templates.
18995 if test $glibcxx_cv_math11_int_overload = yes; then
18996 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
19001 # If <math.h> defines the obsolete isinf(double) and isnan(double)
19002 # functions (instead of or as well as the C99 generic macros) then we
19003 # can't define std::isinf(double) and std::isnan(double) in <cmath>
19004 # and must use the ones from <math.h> instead.
19005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
19006 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
19007 if ${glibcxx_cv_obsolete_isinf+:} false; then :
19008 $as_echo_n "(cached) " >&6
19009 else
19011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19012 /* end confdefs.h. */
19013 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
19014 #include <math.h>
19015 #undef isinf
19016 namespace std {
19017 using ::isinf;
19018 bool isinf(float);
19019 bool isinf(long double);
19021 using std::isinf;
19022 bool b = isinf(0.0);
19024 _ACEOF
19025 if ac_fn_cxx_try_compile "$LINENO"; then :
19026 glibcxx_cv_obsolete_isinf=yes
19027 else
19028 glibcxx_cv_obsolete_isinf=no
19031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
19034 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
19035 if test $glibcxx_cv_obsolete_isinf = yes; then
19037 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
19041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
19042 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
19043 if ${glibcxx_cv_obsolete_isnan+:} false; then :
19044 $as_echo_n "(cached) " >&6
19045 else
19047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19048 /* end confdefs.h. */
19049 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
19050 #include <math.h>
19051 #undef isnan
19052 namespace std {
19053 using ::isnan;
19054 bool isnan(float);
19055 bool isnan(long double);
19057 using std::isnan;
19058 bool b = isnan(0.0);
19060 _ACEOF
19061 if ac_fn_cxx_try_compile "$LINENO"; then :
19062 glibcxx_cv_obsolete_isnan=yes
19063 else
19064 glibcxx_cv_obsolete_isnan=no
19067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
19070 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
19071 if test $glibcxx_cv_obsolete_isnan = yes; then
19073 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
19077 esac
19079 CXXFLAGS="$ac_save_CXXFLAGS"
19080 ac_ext=c
19081 ac_cpp='$CPP $CPPFLAGS'
19082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19089 # Test uchar.h.
19090 for ac_header in uchar.h
19091 do :
19092 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19093 if test "x$ac_cv_header_uchar_h" = xyes; then :
19094 cat >>confdefs.h <<_ACEOF
19095 #define HAVE_UCHAR_H 1
19096 _ACEOF
19097 ac_has_uchar_h=yes
19098 else
19099 ac_has_uchar_h=no
19102 done
19106 ac_ext=cpp
19107 ac_cpp='$CXXCPP $CPPFLAGS'
19108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19112 ac_save_CXXFLAGS="$CXXFLAGS"
19113 CXXFLAGS="$CXXFLAGS -std=c++11"
19115 if test x"$ac_has_uchar_h" = x"yes"; then
19116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19117 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19119 /* end confdefs.h. */
19120 #include <uchar.h>
19121 #ifdef __STDC_UTF_16__
19122 long i = __STDC_UTF_16__;
19123 #endif
19124 #ifdef __STDC_UTF_32__
19125 long j = __STDC_UTF_32__;
19126 #endif
19127 namespace test
19129 using ::c16rtomb;
19130 using ::c32rtomb;
19131 using ::mbrtoc16;
19132 using ::mbrtoc32;
19136 main ()
19140 return 0;
19142 _ACEOF
19143 if ac_fn_cxx_try_compile "$LINENO"; then :
19144 ac_c11_uchar_cxx11=yes
19145 else
19146 ac_c11_uchar_cxx11=no
19148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19150 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19151 else
19152 ac_c11_uchar_cxx11=no
19154 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19156 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19160 CXXFLAGS="$CXXFLAGS -fchar8_t"
19161 if test x"$ac_has_uchar_h" = x"yes"; then
19162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c8rtomb and mbrtoc8 in <uchar.h> with -fchar8_t" >&5
19163 $as_echo_n "checking for c8rtomb and mbrtoc8 in <uchar.h> with -fchar8_t... " >&6; }
19164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19165 /* end confdefs.h. */
19166 #include <uchar.h>
19167 namespace test
19169 using ::c8rtomb;
19170 using ::mbrtoc8;
19174 main ()
19178 return 0;
19180 _ACEOF
19181 if ac_fn_cxx_try_compile "$LINENO"; then :
19182 ac_uchar_c8rtomb_mbrtoc8_fchar8_t=yes
19183 else
19184 ac_uchar_c8rtomb_mbrtoc8_fchar8_t=no
19186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19187 else
19188 ac_uchar_c8rtomb_mbrtoc8_fchar8_t=no
19190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_uchar_c8rtomb_mbrtoc8_fchar8_t" >&5
19191 $as_echo "$ac_uchar_c8rtomb_mbrtoc8_fchar8_t" >&6; }
19192 if test x"$ac_uchar_c8rtomb_mbrtoc8_fchar8_t" = x"yes"; then
19194 $as_echo "#define _GLIBCXX_USE_UCHAR_C8RTOMB_MBRTOC8_FCHAR8_T 1" >>confdefs.h
19198 CXXFLAGS="$CXXFLAGS -std=c++20"
19199 if test x"$ac_has_uchar_h" = x"yes"; then
19200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c8rtomb and mbrtoc8 in <uchar.h> with -std=c++20" >&5
19201 $as_echo_n "checking for c8rtomb and mbrtoc8 in <uchar.h> with -std=c++20... " >&6; }
19202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19203 /* end confdefs.h. */
19204 #include <uchar.h>
19205 namespace test
19207 using ::c8rtomb;
19208 using ::mbrtoc8;
19212 main ()
19216 return 0;
19218 _ACEOF
19219 if ac_fn_cxx_try_compile "$LINENO"; then :
19220 ac_uchar_c8rtomb_mbrtoc8_cxx20=yes
19221 else
19222 ac_uchar_c8rtomb_mbrtoc8_cxx20=no
19224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19225 else
19226 ac_uchar_c8rtomb_mbrtoc8_cxx20=no
19228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_uchar_c8rtomb_mbrtoc8_cxx20" >&5
19229 $as_echo "$ac_uchar_c8rtomb_mbrtoc8_cxx20" >&6; }
19230 if test x"$ac_uchar_c8rtomb_mbrtoc8_cxx20" = x"yes"; then
19232 $as_echo "#define _GLIBCXX_USE_UCHAR_C8RTOMB_MBRTOC8_CXX20 1" >>confdefs.h
19236 CXXFLAGS="$ac_save_CXXFLAGS"
19237 ac_ext=c
19238 ac_cpp='$CPP $CPPFLAGS'
19239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19245 # For LFS support.
19248 ac_ext=cpp
19249 ac_cpp='$CXXCPP $CPPFLAGS'
19250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19254 ac_save_CXXFLAGS="$CXXFLAGS"
19255 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19257 $as_echo_n "checking for LFS support... " >&6; }
19258 if ${glibcxx_cv_LFS+:} false; then :
19259 $as_echo_n "(cached) " >&6
19260 else
19262 if test x$gcc_no_link = xyes; then
19263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19264 /* end confdefs.h. */
19265 #include <unistd.h>
19266 #include <stdio.h>
19267 #include <sys/stat.h>
19270 main ()
19272 FILE* fp;
19273 fopen64("t", "w");
19274 fseeko64(fp, 0, SEEK_CUR);
19275 ftello64(fp);
19276 lseek64(1, 0, SEEK_CUR);
19277 struct stat64 buf;
19278 fstat64(1, &buf);
19280 return 0;
19282 _ACEOF
19283 if ac_fn_cxx_try_compile "$LINENO"; then :
19284 glibcxx_cv_LFS=yes
19285 else
19286 glibcxx_cv_LFS=no
19288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19289 else
19290 if test x$gcc_no_link = xyes; then
19291 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19294 /* end confdefs.h. */
19295 #include <unistd.h>
19296 #include <stdio.h>
19297 #include <sys/stat.h>
19300 main ()
19302 FILE* fp;
19303 fopen64("t", "w");
19304 fseeko64(fp, 0, SEEK_CUR);
19305 ftello64(fp);
19306 lseek64(1, 0, SEEK_CUR);
19307 struct stat64 buf;
19308 fstat64(1, &buf);
19310 return 0;
19312 _ACEOF
19313 if ac_fn_cxx_try_link "$LINENO"; then :
19314 glibcxx_cv_LFS=yes
19315 else
19316 glibcxx_cv_LFS=no
19318 rm -f core conftest.err conftest.$ac_objext \
19319 conftest$ac_exeext conftest.$ac_ext
19323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19324 $as_echo "$glibcxx_cv_LFS" >&6; }
19325 if test $glibcxx_cv_LFS = yes; then
19327 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19330 CXXFLAGS="$ac_save_CXXFLAGS"
19331 ac_ext=c
19332 ac_cpp='$CPP $CPPFLAGS'
19333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19339 # For showmanyc_helper().
19340 for ac_header in sys/ioctl.h sys/filio.h
19341 do :
19342 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19343 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19344 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19345 cat >>confdefs.h <<_ACEOF
19346 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19347 _ACEOF
19351 done
19356 ac_ext=cpp
19357 ac_cpp='$CXXCPP $CPPFLAGS'
19358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19362 ac_save_CXXFLAGS="$CXXFLAGS"
19363 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19366 $as_echo_n "checking for poll... " >&6; }
19367 if ${glibcxx_cv_POLL+:} false; then :
19368 $as_echo_n "(cached) " >&6
19369 else
19371 if test x$gcc_no_link = xyes; then
19372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19373 /* end confdefs.h. */
19374 #include <poll.h>
19376 main ()
19378 struct pollfd pfd[1];
19379 pfd[0].events = POLLIN;
19380 poll(pfd, 1, 0);
19382 return 0;
19384 _ACEOF
19385 if ac_fn_cxx_try_compile "$LINENO"; then :
19386 glibcxx_cv_POLL=yes
19387 else
19388 glibcxx_cv_POLL=no
19390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19391 else
19392 if test x$gcc_no_link = xyes; then
19393 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19396 /* end confdefs.h. */
19397 #include <poll.h>
19399 main ()
19401 struct pollfd pfd[1];
19402 pfd[0].events = POLLIN;
19403 poll(pfd, 1, 0);
19405 return 0;
19407 _ACEOF
19408 if ac_fn_cxx_try_link "$LINENO"; then :
19409 glibcxx_cv_POLL=yes
19410 else
19411 glibcxx_cv_POLL=no
19413 rm -f core conftest.err conftest.$ac_objext \
19414 conftest$ac_exeext conftest.$ac_ext
19418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19419 $as_echo "$glibcxx_cv_POLL" >&6; }
19420 if test $glibcxx_cv_POLL = yes; then
19422 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19426 CXXFLAGS="$ac_save_CXXFLAGS"
19427 ac_ext=c
19428 ac_cpp='$CPP $CPPFLAGS'
19429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19437 ac_ext=cpp
19438 ac_cpp='$CXXCPP $CPPFLAGS'
19439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19443 ac_save_CXXFLAGS="$CXXFLAGS"
19444 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19447 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19448 if ${glibcxx_cv_S_ISREG+:} false; then :
19449 $as_echo_n "(cached) " >&6
19450 else
19452 if test x$gcc_no_link = xyes; then
19453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19454 /* end confdefs.h. */
19455 #include <sys/stat.h>
19457 main ()
19459 struct stat buffer;
19460 fstat(0, &buffer);
19461 S_ISREG(buffer.st_mode);
19463 return 0;
19465 _ACEOF
19466 if ac_fn_cxx_try_compile "$LINENO"; then :
19467 glibcxx_cv_S_ISREG=yes
19468 else
19469 glibcxx_cv_S_ISREG=no
19471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19472 else
19473 if test x$gcc_no_link = xyes; then
19474 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19477 /* end confdefs.h. */
19478 #include <sys/stat.h>
19480 main ()
19482 struct stat buffer;
19483 fstat(0, &buffer);
19484 S_ISREG(buffer.st_mode);
19486 return 0;
19488 _ACEOF
19489 if ac_fn_cxx_try_link "$LINENO"; then :
19490 glibcxx_cv_S_ISREG=yes
19491 else
19492 glibcxx_cv_S_ISREG=no
19494 rm -f core conftest.err conftest.$ac_objext \
19495 conftest$ac_exeext conftest.$ac_ext
19500 if ${glibcxx_cv_S_IFREG+:} false; then :
19501 $as_echo_n "(cached) " >&6
19502 else
19504 if test x$gcc_no_link = xyes; then
19505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19506 /* end confdefs.h. */
19507 #include <sys/stat.h>
19509 main ()
19511 struct stat buffer;
19512 fstat(0, &buffer);
19513 S_IFREG & buffer.st_mode;
19515 return 0;
19517 _ACEOF
19518 if ac_fn_cxx_try_compile "$LINENO"; then :
19519 glibcxx_cv_S_IFREG=yes
19520 else
19521 glibcxx_cv_S_IFREG=no
19523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19524 else
19525 if test x$gcc_no_link = xyes; then
19526 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19529 /* end confdefs.h. */
19530 #include <sys/stat.h>
19532 main ()
19534 struct stat buffer;
19535 fstat(0, &buffer);
19536 S_IFREG & buffer.st_mode;
19538 return 0;
19540 _ACEOF
19541 if ac_fn_cxx_try_link "$LINENO"; then :
19542 glibcxx_cv_S_IFREG=yes
19543 else
19544 glibcxx_cv_S_IFREG=no
19546 rm -f core conftest.err conftest.$ac_objext \
19547 conftest$ac_exeext conftest.$ac_ext
19552 res=no
19553 if test $glibcxx_cv_S_ISREG = yes; then
19555 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19557 res=S_ISREG
19558 elif test $glibcxx_cv_S_IFREG = yes; then
19560 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19562 res=S_IFREG
19564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19565 $as_echo "$res" >&6; }
19567 CXXFLAGS="$ac_save_CXXFLAGS"
19568 ac_ext=c
19569 ac_cpp='$CPP $CPPFLAGS'
19570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19576 # For xsputn_2().
19577 for ac_header in sys/uio.h
19578 do :
19579 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19580 if test "x$ac_cv_header_sys_uio_h" = xyes; then :
19581 cat >>confdefs.h <<_ACEOF
19582 #define HAVE_SYS_UIO_H 1
19583 _ACEOF
19587 done
19592 ac_ext=cpp
19593 ac_cpp='$CXXCPP $CPPFLAGS'
19594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19598 ac_save_CXXFLAGS="$CXXFLAGS"
19599 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19602 $as_echo_n "checking for writev... " >&6; }
19603 if ${glibcxx_cv_WRITEV+:} false; then :
19604 $as_echo_n "(cached) " >&6
19605 else
19607 if test x$gcc_no_link = xyes; then
19608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19609 /* end confdefs.h. */
19610 #include <sys/uio.h>
19612 main ()
19614 struct iovec iov[2];
19615 writev(0, iov, 0);
19617 return 0;
19619 _ACEOF
19620 if ac_fn_cxx_try_compile "$LINENO"; then :
19621 glibcxx_cv_WRITEV=yes
19622 else
19623 glibcxx_cv_WRITEV=no
19625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19626 else
19627 if test x$gcc_no_link = xyes; then
19628 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19631 /* end confdefs.h. */
19632 #include <sys/uio.h>
19634 main ()
19636 struct iovec iov[2];
19637 writev(0, iov, 0);
19639 return 0;
19641 _ACEOF
19642 if ac_fn_cxx_try_link "$LINENO"; then :
19643 glibcxx_cv_WRITEV=yes
19644 else
19645 glibcxx_cv_WRITEV=no
19647 rm -f core conftest.err conftest.$ac_objext \
19648 conftest$ac_exeext conftest.$ac_ext
19652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19653 $as_echo "$glibcxx_cv_WRITEV" >&6; }
19654 if test $glibcxx_cv_WRITEV = yes; then
19656 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19660 CXXFLAGS="$ac_save_CXXFLAGS"
19661 ac_ext=c
19662 ac_cpp='$CPP $CPPFLAGS'
19663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19669 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
19670 # so that the check is done with the C compiler (not C++).
19671 # Checking with C++ can break a canadian cross build if either
19672 # file does not exist in C but does in C++.
19673 for ac_header in fenv.h complex.h
19674 do :
19675 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19676 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19677 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19678 cat >>confdefs.h <<_ACEOF
19679 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19680 _ACEOF
19684 done
19687 # For C99 support to TR1.
19691 ac_ext=cpp
19692 ac_cpp='$CXXCPP $CPPFLAGS'
19693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19698 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19699 # undefined and fake C99 facilities may be spuriously enabled.
19700 ac_save_CXXFLAGS="$CXXFLAGS"
19701 CXXFLAGS="$CXXFLAGS -std=c++98"
19703 # Check for the existence of <complex.h> complex math functions used
19704 # by tr1/complex.
19705 for ac_header in complex.h
19706 do :
19707 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
19708 if test "x$ac_cv_header_complex_h" = xyes; then :
19709 cat >>confdefs.h <<_ACEOF
19710 #define HAVE_COMPLEX_H 1
19711 _ACEOF
19712 ac_has_complex_h=yes
19713 else
19714 ac_has_complex_h=no
19717 done
19719 ac_c99_complex_tr1=no;
19720 if test x"$ac_has_complex_h" = x"yes"; then
19721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
19722 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
19723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19724 /* end confdefs.h. */
19725 #include <complex.h>
19727 main ()
19729 typedef __complex__ float float_type; float_type tmpf;
19730 cacosf(tmpf);
19731 casinf(tmpf);
19732 catanf(tmpf);
19733 cacoshf(tmpf);
19734 casinhf(tmpf);
19735 catanhf(tmpf);
19736 typedef __complex__ double double_type; double_type tmpd;
19737 cacos(tmpd);
19738 casin(tmpd);
19739 catan(tmpd);
19740 cacosh(tmpd);
19741 casinh(tmpd);
19742 catanh(tmpd);
19743 typedef __complex__ long double ld_type; ld_type tmpld;
19744 cacosl(tmpld);
19745 casinl(tmpld);
19746 catanl(tmpld);
19747 cacoshl(tmpld);
19748 casinhl(tmpld);
19749 catanhl(tmpld);
19752 return 0;
19754 _ACEOF
19755 if ac_fn_cxx_try_compile "$LINENO"; then :
19756 ac_c99_complex_tr1=yes
19757 else
19758 ac_c99_complex_tr1=no
19760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
19763 $as_echo "$ac_c99_complex_tr1" >&6; }
19764 if test x"$ac_c99_complex_tr1" = x"yes"; then
19766 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
19770 # Check for the existence of <ctype.h> functions.
19771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
19772 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
19773 if ${glibcxx_cv_c99_ctype_tr1+:} false; then :
19774 $as_echo_n "(cached) " >&6
19775 else
19777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19778 /* end confdefs.h. */
19779 #include <ctype.h>
19781 main ()
19783 int ch;
19784 int ret;
19785 ret = isblank(ch);
19788 return 0;
19790 _ACEOF
19791 if ac_fn_cxx_try_compile "$LINENO"; then :
19792 glibcxx_cv_c99_ctype_tr1=yes
19793 else
19794 glibcxx_cv_c99_ctype_tr1=no
19796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
19800 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
19801 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
19803 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
19807 # Check for the existence of <fenv.h> functions.
19808 for ac_header in fenv.h
19809 do :
19810 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19811 if test "x$ac_cv_header_fenv_h" = xyes; then :
19812 cat >>confdefs.h <<_ACEOF
19813 #define HAVE_FENV_H 1
19814 _ACEOF
19815 ac_has_fenv_h=yes
19816 else
19817 ac_has_fenv_h=no
19820 done
19822 ac_c99_fenv_tr1=no;
19823 if test x"$ac_has_fenv_h" = x"yes"; then
19824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
19825 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
19826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19827 /* end confdefs.h. */
19828 #include <fenv.h>
19830 main ()
19832 int except, mode;
19833 fexcept_t* pflag;
19834 fenv_t* penv;
19835 int ret;
19836 ret = feclearexcept(except);
19837 ret = fegetexceptflag(pflag, except);
19838 ret = feraiseexcept(except);
19839 ret = fesetexceptflag(pflag, except);
19840 ret = fetestexcept(except);
19841 ret = fegetround();
19842 ret = fesetround(mode);
19843 ret = fegetenv(penv);
19844 ret = feholdexcept(penv);
19845 ret = fesetenv(penv);
19846 ret = feupdateenv(penv);
19849 return 0;
19851 _ACEOF
19852 if ac_fn_cxx_try_compile "$LINENO"; then :
19853 ac_c99_fenv_tr1=yes
19854 else
19855 ac_c99_fenv_tr1=no
19857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
19859 $as_echo "$ac_c99_fenv_tr1" >&6; }
19861 if test x"$ac_c99_fenv_tr1" = x"yes"; then
19863 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
19867 # Check for the existence of <stdint.h> types.
19868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
19869 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
19870 if ${glibcxx_cv_c99_stdint_tr1+:} false; then :
19871 $as_echo_n "(cached) " >&6
19872 else
19874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19875 /* end confdefs.h. */
19876 #define __STDC_LIMIT_MACROS
19877 #define __STDC_CONSTANT_MACROS
19878 #include <stdint.h>
19880 main ()
19882 typedef int8_t my_int8_t;
19883 my_int8_t i8 = INT8_MIN;
19884 i8 = INT8_MAX;
19885 typedef int16_t my_int16_t;
19886 my_int16_t i16 = INT16_MIN;
19887 i16 = INT16_MAX;
19888 typedef int32_t my_int32_t;
19889 my_int32_t i32 = INT32_MIN;
19890 i32 = INT32_MAX;
19891 typedef int64_t my_int64_t;
19892 my_int64_t i64 = INT64_MIN;
19893 i64 = INT64_MAX;
19894 typedef int_fast8_t my_int_fast8_t;
19895 my_int_fast8_t if8 = INT_FAST8_MIN;
19896 if8 = INT_FAST8_MAX;
19897 typedef int_fast16_t my_int_fast16_t;
19898 my_int_fast16_t if16 = INT_FAST16_MIN;
19899 if16 = INT_FAST16_MAX;
19900 typedef int_fast32_t my_int_fast32_t;
19901 my_int_fast32_t if32 = INT_FAST32_MIN;
19902 if32 = INT_FAST32_MAX;
19903 typedef int_fast64_t my_int_fast64_t;
19904 my_int_fast64_t if64 = INT_FAST64_MIN;
19905 if64 = INT_FAST64_MAX;
19906 typedef int_least8_t my_int_least8_t;
19907 my_int_least8_t il8 = INT_LEAST8_MIN;
19908 il8 = INT_LEAST8_MAX;
19909 typedef int_least16_t my_int_least16_t;
19910 my_int_least16_t il16 = INT_LEAST16_MIN;
19911 il16 = INT_LEAST16_MAX;
19912 typedef int_least32_t my_int_least32_t;
19913 my_int_least32_t il32 = INT_LEAST32_MIN;
19914 il32 = INT_LEAST32_MAX;
19915 typedef int_least64_t my_int_least64_t;
19916 my_int_least64_t il64 = INT_LEAST64_MIN;
19917 il64 = INT_LEAST64_MAX;
19918 typedef intmax_t my_intmax_t;
19919 my_intmax_t im = INTMAX_MAX;
19920 im = INTMAX_MIN;
19921 typedef intptr_t my_intptr_t;
19922 my_intptr_t ip = INTPTR_MAX;
19923 ip = INTPTR_MIN;
19924 typedef uint8_t my_uint8_t;
19925 my_uint8_t ui8 = UINT8_MAX;
19926 ui8 = UINT8_MAX;
19927 typedef uint16_t my_uint16_t;
19928 my_uint16_t ui16 = UINT16_MAX;
19929 ui16 = UINT16_MAX;
19930 typedef uint32_t my_uint32_t;
19931 my_uint32_t ui32 = UINT32_MAX;
19932 ui32 = UINT32_MAX;
19933 typedef uint64_t my_uint64_t;
19934 my_uint64_t ui64 = UINT64_MAX;
19935 ui64 = UINT64_MAX;
19936 typedef uint_fast8_t my_uint_fast8_t;
19937 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
19938 uif8 = UINT_FAST8_MAX;
19939 typedef uint_fast16_t my_uint_fast16_t;
19940 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
19941 uif16 = UINT_FAST16_MAX;
19942 typedef uint_fast32_t my_uint_fast32_t;
19943 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
19944 uif32 = UINT_FAST32_MAX;
19945 typedef uint_fast64_t my_uint_fast64_t;
19946 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
19947 uif64 = UINT_FAST64_MAX;
19948 typedef uint_least8_t my_uint_least8_t;
19949 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19950 uil8 = UINT_LEAST8_MAX;
19951 typedef uint_least16_t my_uint_least16_t;
19952 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19953 uil16 = UINT_LEAST16_MAX;
19954 typedef uint_least32_t my_uint_least32_t;
19955 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19956 uil32 = UINT_LEAST32_MAX;
19957 typedef uint_least64_t my_uint_least64_t;
19958 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
19959 uil64 = UINT_LEAST64_MAX;
19960 typedef uintmax_t my_uintmax_t;
19961 my_uintmax_t uim = UINTMAX_MAX;
19962 uim = UINTMAX_MAX;
19963 typedef uintptr_t my_uintptr_t;
19964 my_uintptr_t uip = UINTPTR_MAX;
19965 uip = UINTPTR_MAX;
19968 return 0;
19970 _ACEOF
19971 if ac_fn_cxx_try_compile "$LINENO"; then :
19972 glibcxx_cv_c99_stdint_tr1=yes
19973 else
19974 glibcxx_cv_c99_stdint_tr1=no
19976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
19980 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
19981 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19983 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
19987 # Check for the existence of <math.h> functions.
19988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19989 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19990 if ${glibcxx_cv_c99_math_tr1+:} false; then :
19991 $as_echo_n "(cached) " >&6
19992 else
19994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19995 /* end confdefs.h. */
19996 #include <math.h>
19998 main ()
20000 typedef double_t my_double_t;
20001 typedef float_t my_float_t;
20002 acosh(0.0);
20003 acoshf(0.0f);
20004 acoshl(0.0l);
20005 asinh(0.0);
20006 asinhf(0.0f);
20007 asinhl(0.0l);
20008 atanh(0.0);
20009 atanhf(0.0f);
20010 atanhl(0.0l);
20011 cbrt(0.0);
20012 cbrtf(0.0f);
20013 cbrtl(0.0l);
20014 copysign(0.0, 0.0);
20015 copysignf(0.0f, 0.0f);
20016 copysignl(0.0l, 0.0l);
20017 erf(0.0);
20018 erff(0.0f);
20019 erfl(0.0l);
20020 erfc(0.0);
20021 erfcf(0.0f);
20022 erfcl(0.0l);
20023 exp2(0.0);
20024 exp2f(0.0f);
20025 exp2l(0.0l);
20026 expm1(0.0);
20027 expm1f(0.0f);
20028 expm1l(0.0l);
20029 fdim(0.0, 0.0);
20030 fdimf(0.0f, 0.0f);
20031 fdiml(0.0l, 0.0l);
20032 fma(0.0, 0.0, 0.0);
20033 fmaf(0.0f, 0.0f, 0.0f);
20034 fmal(0.0l, 0.0l, 0.0l);
20035 fmax(0.0, 0.0);
20036 fmaxf(0.0f, 0.0f);
20037 fmaxl(0.0l, 0.0l);
20038 fmin(0.0, 0.0);
20039 fminf(0.0f, 0.0f);
20040 fminl(0.0l, 0.0l);
20041 hypot(0.0, 0.0);
20042 hypotf(0.0f, 0.0f);
20043 hypotl(0.0l, 0.0l);
20044 ilogb(0.0);
20045 ilogbf(0.0f);
20046 ilogbl(0.0l);
20047 lgamma(0.0);
20048 lgammaf(0.0f);
20049 lgammal(0.0l);
20050 #ifndef __APPLE__ /* see below */
20051 llrint(0.0);
20052 llrintf(0.0f);
20053 llrintl(0.0l);
20054 llround(0.0);
20055 llroundf(0.0f);
20056 llroundl(0.0l);
20057 #endif
20058 log1p(0.0);
20059 log1pf(0.0f);
20060 log1pl(0.0l);
20061 log2(0.0);
20062 log2f(0.0f);
20063 log2l(0.0l);
20064 logb(0.0);
20065 logbf(0.0f);
20066 logbl(0.0l);
20067 lrint(0.0);
20068 lrintf(0.0f);
20069 lrintl(0.0l);
20070 lround(0.0);
20071 lroundf(0.0f);
20072 lroundl(0.0l);
20073 nan(0);
20074 nanf(0);
20075 nanl(0);
20076 nearbyint(0.0);
20077 nearbyintf(0.0f);
20078 nearbyintl(0.0l);
20079 nextafter(0.0, 0.0);
20080 nextafterf(0.0f, 0.0f);
20081 nextafterl(0.0l, 0.0l);
20082 nexttoward(0.0, 0.0);
20083 nexttowardf(0.0f, 0.0f);
20084 nexttowardl(0.0l, 0.0l);
20085 remainder(0.0, 0.0);
20086 remainderf(0.0f, 0.0f);
20087 remainderl(0.0l, 0.0l);
20088 remquo(0.0, 0.0, 0);
20089 remquof(0.0f, 0.0f, 0);
20090 remquol(0.0l, 0.0l, 0);
20091 rint(0.0);
20092 rintf(0.0f);
20093 rintl(0.0l);
20094 round(0.0);
20095 roundf(0.0f);
20096 roundl(0.0l);
20097 scalbln(0.0, 0l);
20098 scalblnf(0.0f, 0l);
20099 scalblnl(0.0l, 0l);
20100 scalbn(0.0, 0);
20101 scalbnf(0.0f, 0);
20102 scalbnl(0.0l, 0);
20103 tgamma(0.0);
20104 tgammaf(0.0f);
20105 tgammal(0.0l);
20106 trunc(0.0);
20107 truncf(0.0f);
20108 truncl(0.0l);
20111 return 0;
20113 _ACEOF
20114 if ac_fn_cxx_try_compile "$LINENO"; then :
20115 glibcxx_cv_c99_math_tr1=yes
20116 else
20117 glibcxx_cv_c99_math_tr1=no
20119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20123 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20124 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20126 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20129 case "${target_os}" in
20130 darwin*)
20131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20132 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20133 if ${glibcxx_cv_c99_math_llround+:} false; then :
20134 $as_echo_n "(cached) " >&6
20135 else
20137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20138 /* end confdefs.h. */
20139 #include <math.h>
20141 main ()
20143 llrint(0.0);
20144 llrintf(0.0f);
20145 llrintl(0.0l);
20146 llround(0.0);
20147 llroundf(0.0f);
20148 llroundl(0.0l);
20151 return 0;
20153 _ACEOF
20154 if ac_fn_cxx_try_compile "$LINENO"; then :
20155 glibcxx_cv_c99_math_llround=yes
20156 else
20157 glibcxx_cv_c99_math_llround=no
20159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20163 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20165 esac
20166 if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20168 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20173 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20174 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20175 ac_c99_inttypes_tr1=no;
20176 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20178 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20180 /* end confdefs.h. */
20181 #include <inttypes.h>
20183 main ()
20185 intmax_t i, numer, denom, base;
20186 const char* s;
20187 char** endptr;
20188 intmax_t ret = imaxabs(i);
20189 imaxdiv_t dret = imaxdiv(numer, denom);
20190 ret = strtoimax(s, endptr, base);
20191 uintmax_t uret = strtoumax(s, endptr, base);
20194 return 0;
20196 _ACEOF
20197 if ac_fn_cxx_try_compile "$LINENO"; then :
20198 ac_c99_inttypes_tr1=yes
20199 else
20200 ac_c99_inttypes_tr1=no
20202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20204 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20206 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20208 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20212 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20213 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20214 ac_c99_inttypes_wchar_t_tr1=no;
20215 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20217 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20219 /* end confdefs.h. */
20220 #include <inttypes.h>
20222 main ()
20224 intmax_t base;
20225 const wchar_t* s;
20226 wchar_t** endptr;
20227 intmax_t ret = wcstoimax(s, endptr, base);
20228 uintmax_t uret = wcstoumax(s, endptr, base);
20231 return 0;
20233 _ACEOF
20234 if ac_fn_cxx_try_compile "$LINENO"; then :
20235 ac_c99_inttypes_wchar_t_tr1=yes
20236 else
20237 ac_c99_inttypes_wchar_t_tr1=no
20239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20241 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20243 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20245 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20249 # Check for the existence of the <stdbool.h> header.
20250 for ac_header in stdbool.h
20251 do :
20252 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20253 if test "x$ac_cv_header_stdbool_h" = xyes; then :
20254 cat >>confdefs.h <<_ACEOF
20255 #define HAVE_STDBOOL_H 1
20256 _ACEOF
20260 done
20263 # Check for the existence of the <stdalign.h> header.
20264 for ac_header in stdalign.h
20265 do :
20266 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20267 if test "x$ac_cv_header_stdalign_h" = xyes; then :
20268 cat >>confdefs.h <<_ACEOF
20269 #define HAVE_STDALIGN_H 1
20270 _ACEOF
20274 done
20277 CXXFLAGS="$ac_save_CXXFLAGS"
20278 ac_ext=c
20279 ac_cpp='$CPP $CPPFLAGS'
20280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20286 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20289 if test "$is_hosted" = yes; then
20290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20291 $as_echo_n "checking for the value of EOF... " >&6; }
20292 if ${glibcxx_cv_stdio_eof+:} false; then :
20293 $as_echo_n "(cached) " >&6
20294 else
20296 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20298 else
20299 as_fn_error $? "computing EOF failed" "$LINENO" 5
20304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20305 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20307 cat >>confdefs.h <<_ACEOF
20308 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20309 _ACEOF
20312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20313 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20314 if ${glibcxx_cv_stdio_seek_cur+:} false; then :
20315 $as_echo_n "(cached) " >&6
20316 else
20318 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20320 else
20321 as_fn_error $? "computing SEEK_CUR failed" "$LINENO" 5
20326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20327 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20329 cat >>confdefs.h <<_ACEOF
20330 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20331 _ACEOF
20334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20335 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20336 if ${glibcxx_cv_stdio_seek_end+:} false; then :
20337 $as_echo_n "(cached) " >&6
20338 else
20340 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20342 else
20343 as_fn_error $? "computing SEEK_END failed" "$LINENO" 5
20348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20349 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20351 cat >>confdefs.h <<_ACEOF
20352 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20353 _ACEOF
20358 # For gettimeofday support.
20361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20362 $as_echo_n "checking for gettimeofday... " >&6; }
20365 ac_ext=cpp
20366 ac_cpp='$CXXCPP $CPPFLAGS'
20367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20371 ac_save_CXXFLAGS="$CXXFLAGS"
20372 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20374 ac_has_gettimeofday=no;
20375 for ac_header in sys/time.h
20376 do :
20377 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20378 if test "x$ac_cv_header_sys_time_h" = xyes; then :
20379 cat >>confdefs.h <<_ACEOF
20380 #define HAVE_SYS_TIME_H 1
20381 _ACEOF
20382 ac_has_sys_time_h=yes
20383 else
20384 ac_has_sys_time_h=no
20387 done
20389 if test x"$ac_has_sys_time_h" = x"yes"; then
20390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20391 $as_echo_n "checking for gettimeofday... " >&6; }
20392 if test x$gcc_no_link = xyes; then
20393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20394 /* end confdefs.h. */
20395 #include <sys/time.h>
20397 main ()
20399 timeval tv; gettimeofday(&tv, 0);
20401 return 0;
20403 _ACEOF
20404 if ac_fn_cxx_try_compile "$LINENO"; then :
20405 ac_has_gettimeofday=yes
20406 else
20407 ac_has_gettimeofday=no
20409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20410 else
20411 if test x$gcc_no_link = xyes; then
20412 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20415 /* end confdefs.h. */
20416 #include <sys/time.h>
20418 main ()
20420 timeval tv; gettimeofday(&tv, 0);
20422 return 0;
20424 _ACEOF
20425 if ac_fn_cxx_try_link "$LINENO"; then :
20426 ac_has_gettimeofday=yes
20427 else
20428 ac_has_gettimeofday=no
20430 rm -f core conftest.err conftest.$ac_objext \
20431 conftest$ac_exeext conftest.$ac_ext
20434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20435 $as_echo "$ac_has_gettimeofday" >&6; }
20438 if test x"$ac_has_gettimeofday" = x"yes"; then
20440 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20444 CXXFLAGS="$ac_save_CXXFLAGS"
20445 ac_ext=c
20446 ac_cpp='$CPP $CPPFLAGS'
20447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20453 # For clock_gettime, nanosleep and sched_yield support.
20456 # Check whether --enable-libstdcxx-time was given.
20457 if test "${enable_libstdcxx_time+set}" = set; then :
20458 enableval=$enable_libstdcxx_time;
20459 case "$enableval" in
20460 yes|no|rt) ;;
20461 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20462 esac
20464 else
20465 enable_libstdcxx_time=auto
20471 ac_ext=cpp
20472 ac_cpp='$CXXCPP $CPPFLAGS'
20473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20477 ac_save_CXXFLAGS="$CXXFLAGS"
20478 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20479 ac_save_LIBS="$LIBS"
20481 ac_has_clock_monotonic=no
20482 ac_has_clock_realtime=no
20483 ac_has_nanosleep=no
20484 ac_has_sched_yield=no
20486 if test x"$enable_libstdcxx_time" = x"auto"; then
20488 case "${target_os}" in
20489 cygwin*)
20490 ac_has_nanosleep=yes
20492 darwin*)
20493 ac_has_nanosleep=yes
20494 ac_has_sched_yield=yes
20496 # VxWorks has nanosleep as soon as the kernel is configured with
20497 # INCLUDE_POSIX_TIMERS, which is normally/most-often the case.
20498 vxworks*)
20499 ac_has_nanosleep=yes
20501 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20502 # Don't use link test for freestanding library, in case gcc_no_link=yes
20503 if test x"$is_hosted" = xyes; then
20504 # Versions of glibc before 2.17 needed -lrt for clock_gettime.
20505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20506 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20507 if ${ac_cv_search_clock_gettime+:} false; then :
20508 $as_echo_n "(cached) " >&6
20509 else
20510 ac_func_search_save_LIBS=$LIBS
20511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20512 /* end confdefs.h. */
20514 /* Override any GCC internal prototype to avoid an error.
20515 Use char because int might match the return type of a GCC
20516 builtin and then its argument prototype would still apply. */
20517 #ifdef __cplusplus
20518 extern "C"
20519 #endif
20520 char clock_gettime ();
20522 main ()
20524 return clock_gettime ();
20526 return 0;
20528 _ACEOF
20529 for ac_lib in '' rt; do
20530 if test -z "$ac_lib"; then
20531 ac_res="none required"
20532 else
20533 ac_res=-l$ac_lib
20534 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20536 if test x$gcc_no_link = xyes; then
20537 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20539 if ac_fn_cxx_try_link "$LINENO"; then :
20540 ac_cv_search_clock_gettime=$ac_res
20542 rm -f core conftest.err conftest.$ac_objext \
20543 conftest$ac_exeext
20544 if ${ac_cv_search_clock_gettime+:} false; then :
20545 break
20547 done
20548 if ${ac_cv_search_clock_gettime+:} false; then :
20550 else
20551 ac_cv_search_clock_gettime=no
20553 rm conftest.$ac_ext
20554 LIBS=$ac_func_search_save_LIBS
20556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20557 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20558 ac_res=$ac_cv_search_clock_gettime
20559 if test "$ac_res" != no; then :
20560 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20564 if test x"$ac_cv_search_clock_gettime" = x"none required"; then
20565 ac_has_clock_monotonic=yes
20566 ac_has_clock_realtime=yes
20569 ac_has_nanosleep=yes
20570 ac_has_sched_yield=yes
20572 freebsd*|netbsd*|dragonfly*|rtems*)
20573 ac_has_clock_monotonic=yes
20574 ac_has_clock_realtime=yes
20575 ac_has_nanosleep=yes
20576 ac_has_sched_yield=yes
20578 openbsd*)
20579 ac_has_clock_monotonic=yes
20580 ac_has_clock_realtime=yes
20581 ac_has_nanosleep=yes
20583 solaris*)
20584 ac_has_clock_monotonic=yes
20585 ac_has_clock_realtime=yes
20586 ac_has_nanosleep=yes
20587 ac_has_sched_yield=yes
20589 uclinux*)
20590 ac_has_nanosleep=yes
20591 ac_has_sched_yield=yes
20592 esac
20594 elif test x"$enable_libstdcxx_time" != x"no"; then
20596 if test x"$enable_libstdcxx_time" = x"rt"; then
20597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20598 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20599 if ${ac_cv_search_clock_gettime+:} false; then :
20600 $as_echo_n "(cached) " >&6
20601 else
20602 ac_func_search_save_LIBS=$LIBS
20603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20604 /* end confdefs.h. */
20606 /* Override any GCC internal prototype to avoid an error.
20607 Use char because int might match the return type of a GCC
20608 builtin and then its argument prototype would still apply. */
20609 #ifdef __cplusplus
20610 extern "C"
20611 #endif
20612 char clock_gettime ();
20614 main ()
20616 return clock_gettime ();
20618 return 0;
20620 _ACEOF
20621 for ac_lib in '' rt; do
20622 if test -z "$ac_lib"; then
20623 ac_res="none required"
20624 else
20625 ac_res=-l$ac_lib
20626 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20628 if test x$gcc_no_link = xyes; then
20629 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20631 if ac_fn_cxx_try_link "$LINENO"; then :
20632 ac_cv_search_clock_gettime=$ac_res
20634 rm -f core conftest.err conftest.$ac_objext \
20635 conftest$ac_exeext
20636 if ${ac_cv_search_clock_gettime+:} false; then :
20637 break
20639 done
20640 if ${ac_cv_search_clock_gettime+:} false; then :
20642 else
20643 ac_cv_search_clock_gettime=no
20645 rm conftest.$ac_ext
20646 LIBS=$ac_func_search_save_LIBS
20648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20649 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20650 ac_res=$ac_cv_search_clock_gettime
20651 if test "$ac_res" != no; then :
20652 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20657 $as_echo_n "checking for library containing nanosleep... " >&6; }
20658 if ${ac_cv_search_nanosleep+:} false; then :
20659 $as_echo_n "(cached) " >&6
20660 else
20661 ac_func_search_save_LIBS=$LIBS
20662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20663 /* end confdefs.h. */
20665 /* Override any GCC internal prototype to avoid an error.
20666 Use char because int might match the return type of a GCC
20667 builtin and then its argument prototype would still apply. */
20668 #ifdef __cplusplus
20669 extern "C"
20670 #endif
20671 char nanosleep ();
20673 main ()
20675 return nanosleep ();
20677 return 0;
20679 _ACEOF
20680 for ac_lib in '' rt; do
20681 if test -z "$ac_lib"; then
20682 ac_res="none required"
20683 else
20684 ac_res=-l$ac_lib
20685 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20687 if test x$gcc_no_link = xyes; then
20688 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20690 if ac_fn_cxx_try_link "$LINENO"; then :
20691 ac_cv_search_nanosleep=$ac_res
20693 rm -f core conftest.err conftest.$ac_objext \
20694 conftest$ac_exeext
20695 if ${ac_cv_search_nanosleep+:} false; then :
20696 break
20698 done
20699 if ${ac_cv_search_nanosleep+:} false; then :
20701 else
20702 ac_cv_search_nanosleep=no
20704 rm conftest.$ac_ext
20705 LIBS=$ac_func_search_save_LIBS
20707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20708 $as_echo "$ac_cv_search_nanosleep" >&6; }
20709 ac_res=$ac_cv_search_nanosleep
20710 if test "$ac_res" != no; then :
20711 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20715 else
20716 ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
20717 if test "x$ac_cv_func_clock_gettime" = xyes; then :
20721 ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
20722 if test "x$ac_cv_func_nanosleep" = xyes; then :
20728 case "$ac_cv_search_clock_gettime" in
20729 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
20731 esac
20732 case "$ac_cv_search_nanosleep" in
20733 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
20735 esac
20737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
20738 $as_echo_n "checking for library containing sched_yield... " >&6; }
20739 if ${ac_cv_search_sched_yield+:} false; then :
20740 $as_echo_n "(cached) " >&6
20741 else
20742 ac_func_search_save_LIBS=$LIBS
20743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20744 /* end confdefs.h. */
20746 /* Override any GCC internal prototype to avoid an error.
20747 Use char because int might match the return type of a GCC
20748 builtin and then its argument prototype would still apply. */
20749 #ifdef __cplusplus
20750 extern "C"
20751 #endif
20752 char sched_yield ();
20754 main ()
20756 return sched_yield ();
20758 return 0;
20760 _ACEOF
20761 for ac_lib in '' rt; do
20762 if test -z "$ac_lib"; then
20763 ac_res="none required"
20764 else
20765 ac_res=-l$ac_lib
20766 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20768 if test x$gcc_no_link = xyes; then
20769 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20771 if ac_fn_cxx_try_link "$LINENO"; then :
20772 ac_cv_search_sched_yield=$ac_res
20774 rm -f core conftest.err conftest.$ac_objext \
20775 conftest$ac_exeext
20776 if ${ac_cv_search_sched_yield+:} false; then :
20777 break
20779 done
20780 if ${ac_cv_search_sched_yield+:} false; then :
20782 else
20783 ac_cv_search_sched_yield=no
20785 rm conftest.$ac_ext
20786 LIBS=$ac_func_search_save_LIBS
20788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
20789 $as_echo "$ac_cv_search_sched_yield" >&6; }
20790 ac_res=$ac_cv_search_sched_yield
20791 if test "$ac_res" != no; then :
20792 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20797 case "$ac_cv_search_sched_yield" in
20798 -lrt*)
20799 if test x"$enable_libstdcxx_time" = x"rt"; then
20800 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20801 ac_has_sched_yield=yes
20805 ac_has_sched_yield=yes
20807 esac
20809 for ac_header in unistd.h
20810 do :
20811 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20812 if test "x$ac_cv_header_unistd_h" = xyes; then :
20813 cat >>confdefs.h <<_ACEOF
20814 #define HAVE_UNISTD_H 1
20815 _ACEOF
20816 ac_has_unistd_h=yes
20817 else
20818 ac_has_unistd_h=no
20821 done
20824 if test x"$ac_has_unistd_h" = x"yes"; then
20825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
20826 $as_echo_n "checking for monotonic clock... " >&6; }
20827 if test x$gcc_no_link = xyes; then
20828 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20831 /* end confdefs.h. */
20832 #include <unistd.h>
20833 #include <time.h>
20836 main ()
20838 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20839 timespec tp;
20840 #endif
20841 clock_gettime(CLOCK_MONOTONIC, &tp);
20844 return 0;
20846 _ACEOF
20847 if ac_fn_cxx_try_link "$LINENO"; then :
20848 ac_has_clock_monotonic=yes
20849 else
20850 ac_has_clock_monotonic=no
20852 rm -f core conftest.err conftest.$ac_objext \
20853 conftest$ac_exeext conftest.$ac_ext
20855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20856 $as_echo "$ac_has_clock_monotonic" >&6; }
20858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20859 $as_echo_n "checking for realtime clock... " >&6; }
20860 if test x$gcc_no_link = xyes; then
20861 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20864 /* end confdefs.h. */
20865 #include <unistd.h>
20866 #include <time.h>
20869 main ()
20871 #if _POSIX_TIMERS > 0
20872 timespec tp;
20873 #endif
20874 clock_gettime(CLOCK_REALTIME, &tp);
20877 return 0;
20879 _ACEOF
20880 if ac_fn_cxx_try_link "$LINENO"; then :
20881 ac_has_clock_realtime=yes
20882 else
20883 ac_has_clock_realtime=no
20885 rm -f core conftest.err conftest.$ac_objext \
20886 conftest$ac_exeext conftest.$ac_ext
20888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
20889 $as_echo "$ac_has_clock_realtime" >&6; }
20891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
20892 $as_echo_n "checking for nanosleep... " >&6; }
20893 if test x$gcc_no_link = xyes; then
20894 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20897 /* end confdefs.h. */
20898 #include <unistd.h>
20899 #include <time.h>
20902 main ()
20904 #if _POSIX_TIMERS > 0
20905 timespec tp;
20906 #endif
20907 nanosleep(&tp, 0);
20910 return 0;
20912 _ACEOF
20913 if ac_fn_cxx_try_link "$LINENO"; then :
20914 ac_has_nanosleep=yes
20915 else
20916 ac_has_nanosleep=no
20918 rm -f core conftest.err conftest.$ac_objext \
20919 conftest$ac_exeext conftest.$ac_ext
20921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
20922 $as_echo "$ac_has_nanosleep" >&6; }
20926 if test x"$ac_has_clock_monotonic" != x"yes"; then
20927 case ${target_os} in
20928 linux* | uclinux*)
20929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
20930 $as_echo_n "checking for clock_gettime syscall... " >&6; }
20931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20932 /* end confdefs.h. */
20933 #include <unistd.h>
20934 #include <time.h>
20935 #include <sys/syscall.h>
20938 main ()
20940 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20941 timespec tp;
20942 #endif
20943 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
20944 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
20947 return 0;
20949 _ACEOF
20950 if ac_fn_cxx_try_compile "$LINENO"; then :
20951 ac_has_clock_gettime_syscall=yes
20952 else
20953 ac_has_clock_gettime_syscall=no
20955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_gettime_syscall" >&5
20957 $as_echo "$ac_has_clock_gettime_syscall" >&6; }
20958 if test x"$ac_has_clock_gettime_syscall" = x"yes"; then
20960 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
20962 ac_has_clock_monotonic=yes
20963 ac_has_clock_realtime=yes
20964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec that matches syscall" >&5
20965 $as_echo_n "checking for struct timespec that matches syscall... " >&6; }
20966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20967 /* end confdefs.h. */
20968 #include <time.h>
20969 #include <sys/syscall.h>
20972 main ()
20974 #ifdef SYS_clock_gettime64
20975 #if SYS_clock_gettime64 != SYS_clock_gettime
20976 // We need to use SYS_clock_gettime and libc appears to
20977 // also know about the SYS_clock_gettime64 syscall.
20978 // Check that userspace doesn't use time64 version of timespec.
20979 static_assert(sizeof(timespec::tv_sec) == sizeof(long),
20980 "struct timespec must be compatible with SYS_clock_gettime");
20981 #endif
20982 #endif
20985 return 0;
20987 _ACEOF
20988 if ac_fn_cxx_try_compile "$LINENO"; then :
20989 ac_timespec_matches_syscall=yes
20990 else
20991 ac_timespec_matches_syscall=no
20993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_timespec_matches_syscall" >&5
20995 $as_echo "$ac_timespec_matches_syscall" >&6; }
20996 if test x"$ac_timespec_matches_syscall" = no; then
20997 as_fn_error $? "struct timespec is not compatible with SYS_clock_gettime, please report a bug to http://gcc.gnu.org/bugzilla" "$LINENO" 5
20999 fi;;
21000 esac
21003 if test x"$ac_has_clock_monotonic" = x"yes"; then
21005 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21009 if test x"$ac_has_clock_realtime" = x"yes"; then
21011 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21015 if test x"$ac_has_sched_yield" = x"yes"; then
21017 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21021 if test x"$ac_has_nanosleep" = x"yes"; then
21023 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21025 else
21026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21027 $as_echo_n "checking for sleep... " >&6; }
21028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21029 /* end confdefs.h. */
21030 #include <unistd.h>
21032 main ()
21034 sleep(1)
21036 return 0;
21038 _ACEOF
21039 if ac_fn_cxx_try_compile "$LINENO"; then :
21040 ac_has_sleep=yes
21041 else
21042 ac_has_sleep=no
21044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21045 if test x"$ac_has_sleep" = x"yes"; then
21047 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21051 $as_echo "$ac_has_sleep" >&6; }
21052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21053 $as_echo_n "checking for usleep... " >&6; }
21054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21055 /* end confdefs.h. */
21056 #include <unistd.h>
21058 main ()
21060 sleep(1);
21061 usleep(100);
21063 return 0;
21065 _ACEOF
21066 if ac_fn_cxx_try_compile "$LINENO"; then :
21067 ac_has_usleep=yes
21068 else
21069 ac_has_usleep=no
21071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21072 if test x"$ac_has_usleep" = x"yes"; then
21074 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21078 $as_echo "$ac_has_usleep" >&6; }
21081 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21082 ac_no_sleep=yes
21083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21084 $as_echo_n "checking for Sleep... " >&6; }
21085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21086 /* end confdefs.h. */
21087 #include <windows.h>
21089 main ()
21091 Sleep(1)
21093 return 0;
21095 _ACEOF
21096 if ac_fn_cxx_try_compile "$LINENO"; then :
21097 ac_has_win32_sleep=yes
21098 else
21099 ac_has_win32_sleep=no
21101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21102 if test x"$ac_has_win32_sleep" = x"yes"; then
21104 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21106 ac_no_sleep=no
21108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21109 $as_echo "$ac_has_win32_sleep" >&6; }
21112 if test x"$ac_no_sleep" = x"yes"; then
21114 $as_echo "#define _GLIBCXX_NO_SLEEP 1" >>confdefs.h
21120 CXXFLAGS="$ac_save_CXXFLAGS"
21121 LIBS="$ac_save_LIBS"
21122 ac_ext=c
21123 ac_cpp='$CPP $CPPFLAGS'
21124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21130 # Check for tmpnam which is obsolescent in POSIX.1-2008
21132 ac_ext=cpp
21133 ac_cpp='$CXXCPP $CPPFLAGS'
21134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21138 ac_save_CXXFLAGS="$CXXFLAGS"
21139 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21141 $as_echo_n "checking for tmpnam... " >&6; }
21142 if ${glibcxx_cv_TMPNAM+:} false; then :
21143 $as_echo_n "(cached) " >&6
21144 else
21145 if test x$gcc_no_link = xyes; then
21146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21147 /* end confdefs.h. */
21148 #include <stdio.h>
21150 main ()
21152 char *tmp = tmpnam(NULL);
21154 return 0;
21156 _ACEOF
21157 if ac_fn_cxx_try_compile "$LINENO"; then :
21158 glibcxx_cv_TMPNAM=yes
21159 else
21160 glibcxx_cv_TMPNAM=no
21162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21163 else
21164 if test x$gcc_no_link = xyes; then
21165 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21168 /* end confdefs.h. */
21169 #include <stdio.h>
21171 main ()
21173 char *tmp = tmpnam(NULL);
21175 return 0;
21177 _ACEOF
21178 if ac_fn_cxx_try_link "$LINENO"; then :
21179 glibcxx_cv_TMPNAM=yes
21180 else
21181 glibcxx_cv_TMPNAM=no
21183 rm -f core conftest.err conftest.$ac_objext \
21184 conftest$ac_exeext conftest.$ac_ext
21188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21189 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21190 if test $glibcxx_cv_TMPNAM = yes; then
21192 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21195 CXXFLAGS="$ac_save_CXXFLAGS"
21196 ac_ext=c
21197 ac_cpp='$CPP $CPPFLAGS'
21198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21204 # For pthread_cond_clockwait
21208 ac_ext=cpp
21209 ac_cpp='$CXXCPP $CPPFLAGS'
21210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21214 ac_save_CXXFLAGS="$CXXFLAGS"
21215 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21216 ac_save_LIBS="$LIBS"
21217 LIBS="$LIBS -lpthread"
21219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_clockwait" >&5
21220 $as_echo_n "checking for pthread_cond_clockwait... " >&6; }
21221 if ${glibcxx_cv_PTHREAD_COND_CLOCKWAIT+:} false; then :
21222 $as_echo_n "(cached) " >&6
21223 else
21225 if test x$gcc_no_link = xyes; then
21226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21227 /* end confdefs.h. */
21228 #include <pthread.h>
21230 main ()
21232 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21234 return 0;
21236 _ACEOF
21237 if ac_fn_cxx_try_compile "$LINENO"; then :
21238 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21239 else
21240 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21243 else
21244 if test x$gcc_no_link = xyes; then
21245 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21248 /* end confdefs.h. */
21249 #include <pthread.h>
21251 main ()
21253 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21255 return 0;
21257 _ACEOF
21258 if ac_fn_cxx_try_link "$LINENO"; then :
21259 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21260 else
21261 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21263 rm -f core conftest.err conftest.$ac_objext \
21264 conftest$ac_exeext conftest.$ac_ext
21268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&5
21269 $as_echo "$glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&6; }
21270 if test $glibcxx_cv_PTHREAD_COND_CLOCKWAIT = yes; then
21272 $as_echo "#define _GLIBCXX_USE_PTHREAD_COND_CLOCKWAIT 1" >>confdefs.h
21276 CXXFLAGS="$ac_save_CXXFLAGS"
21277 LIBS="$ac_save_LIBS"
21278 ac_ext=c
21279 ac_cpp='$CPP $CPPFLAGS'
21280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21286 # For pthread_mutex_clocklock
21290 ac_ext=cpp
21291 ac_cpp='$CXXCPP $CPPFLAGS'
21292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21296 ac_save_CXXFLAGS="$CXXFLAGS"
21297 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21298 ac_save_LIBS="$LIBS"
21299 LIBS="$LIBS -lpthread"
21301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_clocklock" >&5
21302 $as_echo_n "checking for pthread_mutex_clocklock... " >&6; }
21303 if ${glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK+:} false; then :
21304 $as_echo_n "(cached) " >&6
21305 else
21307 if test x$gcc_no_link = xyes; then
21308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21309 /* end confdefs.h. */
21310 #include <pthread.h>
21312 main ()
21314 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21316 return 0;
21318 _ACEOF
21319 if ac_fn_cxx_try_compile "$LINENO"; then :
21320 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21321 else
21322 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21325 else
21326 if test x$gcc_no_link = xyes; then
21327 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21330 /* end confdefs.h. */
21331 #include <pthread.h>
21333 main ()
21335 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21337 return 0;
21339 _ACEOF
21340 if ac_fn_cxx_try_link "$LINENO"; then :
21341 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21342 else
21343 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21345 rm -f core conftest.err conftest.$ac_objext \
21346 conftest$ac_exeext conftest.$ac_ext
21350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&5
21351 $as_echo "$glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&6; }
21352 if test $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK = yes; then
21354 $as_echo "#define _GLIBCXX_USE_PTHREAD_MUTEX_CLOCKLOCK 1" >>confdefs.h
21358 CXXFLAGS="$ac_save_CXXFLAGS"
21359 LIBS="$ac_save_LIBS"
21360 ac_ext=c
21361 ac_cpp='$CPP $CPPFLAGS'
21362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21368 # For pthread_rwlock_clockrdlock and pthread_rwlock_clockwrlock
21372 ac_ext=cpp
21373 ac_cpp='$CXXCPP $CPPFLAGS'
21374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21378 ac_save_CXXFLAGS="$CXXFLAGS"
21379 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21380 ac_save_LIBS="$LIBS"
21381 LIBS="$LIBS -lpthread"
21383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock" >&5
21384 $as_echo_n "checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock... " >&6; }
21385 if ${glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK+:} false; then :
21386 $as_echo_n "(cached) " >&6
21387 else
21389 if test x$gcc_no_link = xyes; then
21390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21391 /* end confdefs.h. */
21392 #include <pthread.h>
21394 main ()
21396 pthread_rwlock_t rwl; struct timespec ts;
21397 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
21398 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
21400 return 0;
21402 _ACEOF
21403 if ac_fn_cxx_try_compile "$LINENO"; then :
21404 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
21405 else
21406 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
21408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21409 else
21410 if test x$gcc_no_link = xyes; then
21411 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21414 /* end confdefs.h. */
21415 #include <pthread.h>
21417 main ()
21419 pthread_rwlock_t rwl; struct timespec ts;
21420 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
21421 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
21423 return 0;
21425 _ACEOF
21426 if ac_fn_cxx_try_link "$LINENO"; then :
21427 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
21428 else
21429 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
21431 rm -f core conftest.err conftest.$ac_objext \
21432 conftest$ac_exeext conftest.$ac_ext
21436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&5
21437 $as_echo "$glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&6; }
21438 if test $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK = yes; then
21440 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_CLOCKLOCK 1" >>confdefs.h
21444 CXXFLAGS="$ac_save_CXXFLAGS"
21445 LIBS="$ac_save_LIBS"
21446 ac_ext=c
21447 ac_cpp='$CPP $CPPFLAGS'
21448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21455 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21456 if test "x$ac_cv_header_locale_h" = xyes; then :
21458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21459 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21460 if ${ac_cv_val_LC_MESSAGES+:} false; then :
21461 $as_echo_n "(cached) " >&6
21462 else
21463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21464 /* end confdefs.h. */
21465 #include <locale.h>
21467 main ()
21469 return LC_MESSAGES
21471 return 0;
21473 _ACEOF
21474 if ac_fn_c_try_compile "$LINENO"; then :
21475 ac_cv_val_LC_MESSAGES=yes
21476 else
21477 ac_cv_val_LC_MESSAGES=no
21479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21482 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21483 if test $ac_cv_val_LC_MESSAGES = yes; then
21485 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21494 # For hardware_concurrency
21495 for ac_header in sys/sysinfo.h
21496 do :
21497 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21498 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
21499 cat >>confdefs.h <<_ACEOF
21500 #define HAVE_SYS_SYSINFO_H 1
21501 _ACEOF
21505 done
21510 ac_ext=cpp
21511 ac_cpp='$CXXCPP $CPPFLAGS'
21512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21516 ac_save_CXXFLAGS="$CXXFLAGS"
21517 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21520 $as_echo_n "checking for get_nprocs... " >&6; }
21521 if ${glibcxx_cv_GET_NPROCS+:} false; then :
21522 $as_echo_n "(cached) " >&6
21523 else
21525 if test x$gcc_no_link = xyes; then
21526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21527 /* end confdefs.h. */
21528 #include <sys/sysinfo.h>
21530 main ()
21532 int n = get_nprocs();
21534 return 0;
21536 _ACEOF
21537 if ac_fn_cxx_try_compile "$LINENO"; then :
21538 glibcxx_cv_GET_NPROCS=yes
21539 else
21540 glibcxx_cv_GET_NPROCS=no
21542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21543 else
21544 if test x$gcc_no_link = xyes; then
21545 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21548 /* end confdefs.h. */
21549 #include <sys/sysinfo.h>
21551 main ()
21553 int n = get_nprocs();
21555 return 0;
21557 _ACEOF
21558 if ac_fn_cxx_try_link "$LINENO"; then :
21559 glibcxx_cv_GET_NPROCS=yes
21560 else
21561 glibcxx_cv_GET_NPROCS=no
21563 rm -f core conftest.err conftest.$ac_objext \
21564 conftest$ac_exeext conftest.$ac_ext
21568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21569 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21570 if test $glibcxx_cv_GET_NPROCS = yes; then
21572 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21576 CXXFLAGS="$ac_save_CXXFLAGS"
21577 ac_ext=c
21578 ac_cpp='$CPP $CPPFLAGS'
21579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21584 for ac_header in unistd.h
21585 do :
21586 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21587 if test "x$ac_cv_header_unistd_h" = xyes; then :
21588 cat >>confdefs.h <<_ACEOF
21589 #define HAVE_UNISTD_H 1
21590 _ACEOF
21594 done
21599 ac_ext=cpp
21600 ac_cpp='$CXXCPP $CPPFLAGS'
21601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21605 ac_save_CXXFLAGS="$CXXFLAGS"
21606 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21609 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21610 if ${glibcxx_cv_SC_NPROCESSORS_ONLN+:} false; then :
21611 $as_echo_n "(cached) " >&6
21612 else
21614 if test x$gcc_no_link = xyes; then
21615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21616 /* end confdefs.h. */
21617 #include <unistd.h>
21619 main ()
21621 int n = sysconf(_SC_NPROCESSORS_ONLN);
21623 return 0;
21625 _ACEOF
21626 if ac_fn_cxx_try_compile "$LINENO"; then :
21627 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21628 else
21629 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21632 else
21633 if test x$gcc_no_link = xyes; then
21634 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21637 /* end confdefs.h. */
21638 #include <unistd.h>
21640 main ()
21642 int n = sysconf(_SC_NPROCESSORS_ONLN);
21644 return 0;
21646 _ACEOF
21647 if ac_fn_cxx_try_link "$LINENO"; then :
21648 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21649 else
21650 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21652 rm -f core conftest.err conftest.$ac_objext \
21653 conftest$ac_exeext conftest.$ac_ext
21657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21658 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21659 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21661 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21665 CXXFLAGS="$ac_save_CXXFLAGS"
21666 ac_ext=c
21667 ac_cpp='$CPP $CPPFLAGS'
21668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21676 ac_ext=cpp
21677 ac_cpp='$CXXCPP $CPPFLAGS'
21678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21682 ac_save_CXXFLAGS="$CXXFLAGS"
21683 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21686 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21687 if ${glibcxx_cv_SC_NPROC_ONLN+:} false; then :
21688 $as_echo_n "(cached) " >&6
21689 else
21691 if test x$gcc_no_link = xyes; then
21692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21693 /* end confdefs.h. */
21694 #include <unistd.h>
21696 main ()
21698 int n = sysconf(_SC_NPROC_ONLN);
21700 return 0;
21702 _ACEOF
21703 if ac_fn_cxx_try_compile "$LINENO"; then :
21704 glibcxx_cv_SC_NPROC_ONLN=yes
21705 else
21706 glibcxx_cv_SC_NPROC_ONLN=no
21708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21709 else
21710 if test x$gcc_no_link = xyes; then
21711 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21714 /* end confdefs.h. */
21715 #include <unistd.h>
21717 main ()
21719 int n = sysconf(_SC_NPROC_ONLN);
21721 return 0;
21723 _ACEOF
21724 if ac_fn_cxx_try_link "$LINENO"; then :
21725 glibcxx_cv_SC_NPROC_ONLN=yes
21726 else
21727 glibcxx_cv_SC_NPROC_ONLN=no
21729 rm -f core conftest.err conftest.$ac_objext \
21730 conftest$ac_exeext conftest.$ac_ext
21734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21735 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21736 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21738 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 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
21753 ac_ext=cpp
21754 ac_cpp='$CXXCPP $CPPFLAGS'
21755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21759 ac_save_CXXFLAGS="$CXXFLAGS"
21760 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21763 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21764 if ${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+:} false; then :
21765 $as_echo_n "(cached) " >&6
21766 else
21768 if test x$gcc_no_link = xyes; then
21769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21770 /* end confdefs.h. */
21771 #include <pthread.h>
21773 main ()
21775 int n = pthread_num_processors_np();
21777 return 0;
21779 _ACEOF
21780 if ac_fn_cxx_try_compile "$LINENO"; then :
21781 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21782 else
21783 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21786 else
21787 if test x$gcc_no_link = xyes; then
21788 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21791 /* end confdefs.h. */
21792 #include <pthread.h>
21794 main ()
21796 int n = pthread_num_processors_np();
21798 return 0;
21800 _ACEOF
21801 if ac_fn_cxx_try_link "$LINENO"; then :
21802 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21803 else
21804 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21806 rm -f core conftest.err conftest.$ac_objext \
21807 conftest$ac_exeext conftest.$ac_ext
21811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21812 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21813 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21815 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21819 CXXFLAGS="$ac_save_CXXFLAGS"
21820 ac_ext=c
21821 ac_cpp='$CPP $CPPFLAGS'
21822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21830 ac_ext=cpp
21831 ac_cpp='$CXXCPP $CPPFLAGS'
21832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21836 ac_save_CXXFLAGS="$CXXFLAGS"
21837 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21840 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21841 if ${glibcxx_cv_SYSCTL_HW_NCPU+:} false; then :
21842 $as_echo_n "(cached) " >&6
21843 else
21845 if test x$gcc_no_link = xyes; then
21846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21847 /* end confdefs.h. */
21849 #include <stddef.h>
21850 #include <sys/sysctl.h>
21853 main ()
21856 int count;
21857 size_t size = sizeof(count);
21858 int mib[] = { CTL_HW, HW_NCPU };
21859 sysctl(mib, 2, &count, &size, NULL, 0);
21862 return 0;
21864 _ACEOF
21865 if ac_fn_cxx_try_compile "$LINENO"; then :
21866 glibcxx_cv_SYSCTL_HW_NCPU=yes
21867 else
21868 glibcxx_cv_SYSCTL_HW_NCPU=no
21870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21871 else
21872 if test x$gcc_no_link = xyes; then
21873 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21876 /* end confdefs.h. */
21878 #include <stddef.h>
21879 #include <sys/sysctl.h>
21882 main ()
21885 int count;
21886 size_t size = sizeof(count);
21887 int mib[] = { CTL_HW, HW_NCPU };
21888 sysctl(mib, 2, &count, &size, NULL, 0);
21891 return 0;
21893 _ACEOF
21894 if ac_fn_cxx_try_link "$LINENO"; then :
21895 glibcxx_cv_SYSCTL_HW_NCPU=yes
21896 else
21897 glibcxx_cv_SYSCTL_HW_NCPU=no
21899 rm -f core conftest.err conftest.$ac_objext \
21900 conftest$ac_exeext conftest.$ac_ext
21904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
21905 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
21906 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
21908 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
21912 CXXFLAGS="$ac_save_CXXFLAGS"
21913 ac_ext=c
21914 ac_cpp='$CPP $CPPFLAGS'
21915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21921 # Note that this test has to be run with the C language.
21922 # Otherwise, sdt.h will try to include some headers from
21923 # libstdc++ itself.
21925 ac_ext=c
21926 ac_cpp='$CPP $CPPFLAGS'
21927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
21932 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
21933 if ${glibcxx_cv_sys_sdt_h+:} false; then :
21934 $as_echo_n "(cached) " >&6
21935 else
21937 # Because we have to run the test in C, we use grep rather
21938 # than the compiler to check for the bug. The bug is that
21939 # were strings without trailing whitespace, causing g++
21940 # to look for operator"". The pattern searches for the fixed
21941 # output.
21942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21943 /* end confdefs.h. */
21945 #include <sys/sdt.h>
21946 int f() { STAP_PROBE(hi, bob); }
21948 _ACEOF
21949 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21950 $EGREP " \",\" " >/dev/null 2>&1; then :
21951 glibcxx_cv_sys_sdt_h=yes
21952 else
21953 glibcxx_cv_sys_sdt_h=no
21955 rm -f conftest*
21959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
21960 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
21961 ac_ext=c
21962 ac_cpp='$CPP $CPPFLAGS'
21963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21967 if test $glibcxx_cv_sys_sdt_h = yes; then
21969 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
21974 # Check for available headers.
21975 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
21976 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
21977 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
21978 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
21979 wchar.h wctype.h linux/types.h
21980 do :
21981 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21982 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21983 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21984 cat >>confdefs.h <<_ACEOF
21985 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21986 _ACEOF
21990 done
21993 for ac_header in linux/random.h
21994 do :
21995 ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
21996 # include <linux/types.h>
21997 #endif
22000 if test "x$ac_cv_header_linux_random_h" = xyes; then :
22001 cat >>confdefs.h <<_ACEOF
22002 #define HAVE_LINUX_RANDOM_H 1
22003 _ACEOF
22007 done
22010 for ac_header in xlocale.h
22011 do :
22012 ac_fn_c_check_header_mongrel "$LINENO" "xlocale.h" "ac_cv_header_xlocale_h" "$ac_includes_default"
22013 if test "x$ac_cv_header_xlocale_h" = xyes; then :
22014 cat >>confdefs.h <<_ACEOF
22015 #define HAVE_XLOCALE_H 1
22016 _ACEOF
22020 done
22023 # Only do link tests if native. Else, hardcode.
22024 if $GLIBCXX_IS_NATIVE; then
22026 # We can do more elaborate tests that assume a working linker.
22027 CANADIAN=no
22031 # Check whether --with-gnu-ld was given.
22032 if test "${with_gnu_ld+set}" = set; then :
22033 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
22034 else
22035 with_gnu_ld=no
22038 ac_prog=ld
22039 if test "$GCC" = yes; then
22040 # Check if gcc -print-prog-name=ld gives a path.
22041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
22042 $as_echo_n "checking for ld used by $CC... " >&6; }
22043 case $host in
22044 *-*-mingw*)
22045 # gcc leaves a trailing carriage return which upsets mingw
22046 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
22048 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
22049 esac
22050 case $ac_prog in
22051 # Accept absolute paths.
22052 [\\/]* | ?:[\\/]*)
22053 re_direlt='/[^/][^/]*/\.\./'
22054 # Canonicalize the pathname of ld
22055 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
22056 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
22057 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
22058 done
22059 test -z "$LD" && LD="$ac_prog"
22062 # If it fails, then pretend we aren't using GCC.
22063 ac_prog=ld
22066 # If it is relative, then search for the first ld in PATH.
22067 with_gnu_ld=unknown
22069 esac
22070 elif test "$with_gnu_ld" = yes; then
22071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
22072 $as_echo_n "checking for GNU ld... " >&6; }
22073 else
22074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
22075 $as_echo_n "checking for non-GNU ld... " >&6; }
22077 if ${lt_cv_path_LD+:} false; then :
22078 $as_echo_n "(cached) " >&6
22079 else
22080 if test -z "$LD"; then
22081 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
22082 for ac_dir in $PATH; do
22083 IFS="$lt_save_ifs"
22084 test -z "$ac_dir" && ac_dir=.
22085 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
22086 lt_cv_path_LD="$ac_dir/$ac_prog"
22087 # Check to see if the program is GNU ld. I'd rather use --version,
22088 # but apparently some variants of GNU ld only accept -v.
22089 # Break only if it was the GNU/non-GNU ld that we prefer.
22090 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
22091 *GNU* | *'with BFD'*)
22092 test "$with_gnu_ld" != no && break
22095 test "$with_gnu_ld" != yes && break
22097 esac
22099 done
22100 IFS="$lt_save_ifs"
22101 else
22102 lt_cv_path_LD="$LD" # Let the user override the test with a path.
22106 LD="$lt_cv_path_LD"
22107 if test -n "$LD"; then
22108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
22109 $as_echo "$LD" >&6; }
22110 else
22111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22112 $as_echo "no" >&6; }
22114 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
22115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
22116 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
22117 if ${lt_cv_prog_gnu_ld+:} false; then :
22118 $as_echo_n "(cached) " >&6
22119 else
22120 # I'd rather use --version here, but apparently some GNU lds only accept -v.
22121 case `$LD -v 2>&1 </dev/null` in
22122 *GNU* | *'with BFD'*)
22123 lt_cv_prog_gnu_ld=yes
22126 lt_cv_prog_gnu_ld=no
22128 esac
22130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
22131 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
22132 with_gnu_ld=$lt_cv_prog_gnu_ld
22140 # If we're not using GNU ld, then there's no point in even trying these
22141 # tests. Check for that first. We should have already tested for gld
22142 # by now (in libtool), but require it now just to be safe...
22143 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
22144 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
22148 # The name set by libtool depends on the version of libtool. Shame on us
22149 # for depending on an impl detail, but c'est la vie. Older versions used
22150 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
22151 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
22152 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
22153 # set (hence we're using an older libtool), then set it.
22154 if test x${with_gnu_ld+set} != xset; then
22155 if test x${ac_cv_prog_gnu_ld+set} != xset; then
22156 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
22157 with_gnu_ld=no
22158 else
22159 with_gnu_ld=$ac_cv_prog_gnu_ld
22163 # Start by getting the version number. I think the libtool test already
22164 # does some of this, but throws away the result.
22165 glibcxx_ld_is_gold=no
22166 glibcxx_ld_is_mold=no
22167 if test x"$with_gnu_ld" = x"yes"; then
22168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
22169 $as_echo_n "checking for ld version... " >&6; }
22171 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
22172 glibcxx_ld_is_gold=yes
22173 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
22174 glibcxx_ld_is_mold=yes
22176 ldver=`$LD --version 2>/dev/null |
22177 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
22179 glibcxx_gnu_ld_version=`echo $ldver | \
22180 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
22181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
22182 $as_echo "$glibcxx_gnu_ld_version" >&6; }
22185 # Set --gc-sections.
22186 glibcxx_have_gc_sections=no
22187 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
22188 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
22189 glibcxx_have_gc_sections=yes
22191 else
22192 glibcxx_gcsections_min_ld=21602
22193 if test x"$with_gnu_ld" = x"yes" &&
22194 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
22195 glibcxx_have_gc_sections=yes
22198 if test "$glibcxx_have_gc_sections" = "yes"; then
22199 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
22200 # NB: This flag only works reliably after 2.16.1. Configure tests
22201 # for this are difficult, so hard wire a value that should work.
22203 ac_test_CFLAGS="${CFLAGS+set}"
22204 ac_save_CFLAGS="$CFLAGS"
22205 CFLAGS='-Wl,--gc-sections'
22207 # Check for -Wl,--gc-sections
22208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22209 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22210 if test x$gcc_no_link = xyes; then
22211 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22214 /* end confdefs.h. */
22215 int one(void) { return 1; }
22216 int two(void) { return 2; }
22219 main ()
22221 two();
22223 return 0;
22225 _ACEOF
22226 if ac_fn_c_try_link "$LINENO"; then :
22227 ac_gcsections=yes
22228 else
22229 ac_gcsections=no
22231 rm -f core conftest.err conftest.$ac_objext \
22232 conftest$ac_exeext conftest.$ac_ext
22233 if test "$ac_gcsections" = "yes"; then
22234 rm -f conftest.c
22235 touch conftest.c
22236 if $CC -c conftest.c; then
22237 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22238 grep "Warning: gc-sections option ignored" > /dev/null; then
22239 ac_gcsections=no
22242 rm -f conftest.c conftest.o conftest
22244 if test "$ac_gcsections" = "yes"; then
22245 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22248 $as_echo "$ac_gcsections" >&6; }
22250 if test "$ac_test_CFLAGS" = set; then
22251 CFLAGS="$ac_save_CFLAGS"
22252 else
22253 # this is the suspicious part
22254 CFLAGS=''
22258 # Set -z,relro.
22259 # Note this is only for shared objects.
22260 ac_ld_relro=no
22261 if test x"$with_gnu_ld" = x"yes"; then
22262 # cygwin and mingw uses PE, which has no ELF relro support,
22263 # multi target ld may confuse configure machinery
22264 case "$host" in
22265 *-*-cygwin*)
22267 *-*-mingw*)
22270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22271 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22272 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22273 if test -n "$cxx_z_relo"; then
22274 OPT_LDFLAGS="-Wl,-z,relro"
22275 ac_ld_relro=yes
22277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22278 $as_echo "$ac_ld_relro" >&6; }
22279 esac
22282 # Set linker optimization flags.
22283 if test x"$with_gnu_ld" = x"yes"; then
22284 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22291 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22292 ac_save_CXXFLAGS="$CXXFLAGS"
22293 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22296 $as_echo_n "checking for sin in -lm... " >&6; }
22297 if ${ac_cv_lib_m_sin+:} false; then :
22298 $as_echo_n "(cached) " >&6
22299 else
22300 ac_check_lib_save_LIBS=$LIBS
22301 LIBS="-lm $LIBS"
22302 if test x$gcc_no_link = xyes; then
22303 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22306 /* end confdefs.h. */
22308 /* Override any GCC internal prototype to avoid an error.
22309 Use char because int might match the return type of a GCC
22310 builtin and then its argument prototype would still apply. */
22311 #ifdef __cplusplus
22312 extern "C"
22313 #endif
22314 char sin ();
22316 main ()
22318 return sin ();
22320 return 0;
22322 _ACEOF
22323 if ac_fn_c_try_link "$LINENO"; then :
22324 ac_cv_lib_m_sin=yes
22325 else
22326 ac_cv_lib_m_sin=no
22328 rm -f core conftest.err conftest.$ac_objext \
22329 conftest$ac_exeext conftest.$ac_ext
22330 LIBS=$ac_check_lib_save_LIBS
22332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22333 $as_echo "$ac_cv_lib_m_sin" >&6; }
22334 if test "x$ac_cv_lib_m_sin" = xyes; then :
22335 libm="-lm"
22338 ac_save_LIBS="$LIBS"
22339 LIBS="$LIBS $libm"
22343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22344 $as_echo_n "checking for isinf declaration... " >&6; }
22345 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22346 if ${glibcxx_cv_func_isinf_use+:} false; then :
22347 $as_echo_n "(cached) " >&6
22348 else
22351 ac_ext=cpp
22352 ac_cpp='$CXXCPP $CPPFLAGS'
22353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22358 /* end confdefs.h. */
22359 #include <math.h>
22360 #ifdef HAVE_IEEEFP_H
22361 #include <ieeefp.h>
22362 #endif
22365 main ()
22367 isinf(0);
22369 return 0;
22371 _ACEOF
22372 if ac_fn_cxx_try_compile "$LINENO"; then :
22373 glibcxx_cv_func_isinf_use=yes
22374 else
22375 glibcxx_cv_func_isinf_use=no
22377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22378 ac_ext=c
22379 ac_cpp='$CPP $CPPFLAGS'
22380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22389 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22391 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22392 for ac_func in isinf
22393 do :
22394 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22395 if test "x$ac_cv_func_isinf" = xyes; then :
22396 cat >>confdefs.h <<_ACEOF
22397 #define HAVE_ISINF 1
22398 _ACEOF
22401 done
22403 else
22405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22406 $as_echo_n "checking for _isinf declaration... " >&6; }
22407 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22408 if ${glibcxx_cv_func__isinf_use+:} false; then :
22409 $as_echo_n "(cached) " >&6
22410 else
22413 ac_ext=cpp
22414 ac_cpp='$CXXCPP $CPPFLAGS'
22415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22420 /* end confdefs.h. */
22421 #include <math.h>
22422 #ifdef HAVE_IEEEFP_H
22423 #include <ieeefp.h>
22424 #endif
22427 main ()
22429 _isinf(0);
22431 return 0;
22433 _ACEOF
22434 if ac_fn_cxx_try_compile "$LINENO"; then :
22435 glibcxx_cv_func__isinf_use=yes
22436 else
22437 glibcxx_cv_func__isinf_use=no
22439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22440 ac_ext=c
22441 ac_cpp='$CPP $CPPFLAGS'
22442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22451 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22453 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22454 for ac_func in _isinf
22455 do :
22456 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22457 if test "x$ac_cv_func__isinf" = xyes; then :
22458 cat >>confdefs.h <<_ACEOF
22459 #define HAVE__ISINF 1
22460 _ACEOF
22463 done
22472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22473 $as_echo_n "checking for isnan declaration... " >&6; }
22474 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22475 if ${glibcxx_cv_func_isnan_use+:} false; then :
22476 $as_echo_n "(cached) " >&6
22477 else
22480 ac_ext=cpp
22481 ac_cpp='$CXXCPP $CPPFLAGS'
22482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22487 /* end confdefs.h. */
22488 #include <math.h>
22489 #ifdef HAVE_IEEEFP_H
22490 #include <ieeefp.h>
22491 #endif
22494 main ()
22496 isnan(0);
22498 return 0;
22500 _ACEOF
22501 if ac_fn_cxx_try_compile "$LINENO"; then :
22502 glibcxx_cv_func_isnan_use=yes
22503 else
22504 glibcxx_cv_func_isnan_use=no
22506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22507 ac_ext=c
22508 ac_cpp='$CPP $CPPFLAGS'
22509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22518 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22520 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22521 for ac_func in isnan
22522 do :
22523 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22524 if test "x$ac_cv_func_isnan" = xyes; then :
22525 cat >>confdefs.h <<_ACEOF
22526 #define HAVE_ISNAN 1
22527 _ACEOF
22530 done
22532 else
22534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22535 $as_echo_n "checking for _isnan declaration... " >&6; }
22536 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22537 if ${glibcxx_cv_func__isnan_use+:} false; then :
22538 $as_echo_n "(cached) " >&6
22539 else
22542 ac_ext=cpp
22543 ac_cpp='$CXXCPP $CPPFLAGS'
22544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22549 /* end confdefs.h. */
22550 #include <math.h>
22551 #ifdef HAVE_IEEEFP_H
22552 #include <ieeefp.h>
22553 #endif
22556 main ()
22558 _isnan(0);
22560 return 0;
22562 _ACEOF
22563 if ac_fn_cxx_try_compile "$LINENO"; then :
22564 glibcxx_cv_func__isnan_use=yes
22565 else
22566 glibcxx_cv_func__isnan_use=no
22568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22569 ac_ext=c
22570 ac_cpp='$CPP $CPPFLAGS'
22571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22580 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22582 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22583 for ac_func in _isnan
22584 do :
22585 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22586 if test "x$ac_cv_func__isnan" = xyes; then :
22587 cat >>confdefs.h <<_ACEOF
22588 #define HAVE__ISNAN 1
22589 _ACEOF
22592 done
22601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22602 $as_echo_n "checking for finite declaration... " >&6; }
22603 if test x${glibcxx_cv_func_finite_use+set} != xset; then
22604 if ${glibcxx_cv_func_finite_use+:} false; then :
22605 $as_echo_n "(cached) " >&6
22606 else
22609 ac_ext=cpp
22610 ac_cpp='$CXXCPP $CPPFLAGS'
22611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22616 /* end confdefs.h. */
22617 #include <math.h>
22618 #ifdef HAVE_IEEEFP_H
22619 #include <ieeefp.h>
22620 #endif
22623 main ()
22625 finite(0);
22627 return 0;
22629 _ACEOF
22630 if ac_fn_cxx_try_compile "$LINENO"; then :
22631 glibcxx_cv_func_finite_use=yes
22632 else
22633 glibcxx_cv_func_finite_use=no
22635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22636 ac_ext=c
22637 ac_cpp='$CPP $CPPFLAGS'
22638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22647 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22649 if test x$glibcxx_cv_func_finite_use = x"yes"; then
22650 for ac_func in finite
22651 do :
22652 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22653 if test "x$ac_cv_func_finite" = xyes; then :
22654 cat >>confdefs.h <<_ACEOF
22655 #define HAVE_FINITE 1
22656 _ACEOF
22659 done
22661 else
22663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22664 $as_echo_n "checking for _finite declaration... " >&6; }
22665 if test x${glibcxx_cv_func__finite_use+set} != xset; then
22666 if ${glibcxx_cv_func__finite_use+:} false; then :
22667 $as_echo_n "(cached) " >&6
22668 else
22671 ac_ext=cpp
22672 ac_cpp='$CXXCPP $CPPFLAGS'
22673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22678 /* end confdefs.h. */
22679 #include <math.h>
22680 #ifdef HAVE_IEEEFP_H
22681 #include <ieeefp.h>
22682 #endif
22685 main ()
22687 _finite(0);
22689 return 0;
22691 _ACEOF
22692 if ac_fn_cxx_try_compile "$LINENO"; then :
22693 glibcxx_cv_func__finite_use=yes
22694 else
22695 glibcxx_cv_func__finite_use=no
22697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22698 ac_ext=c
22699 ac_cpp='$CPP $CPPFLAGS'
22700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22709 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22711 if test x$glibcxx_cv_func__finite_use = x"yes"; then
22712 for ac_func in _finite
22713 do :
22714 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22715 if test "x$ac_cv_func__finite" = xyes; then :
22716 cat >>confdefs.h <<_ACEOF
22717 #define HAVE__FINITE 1
22718 _ACEOF
22721 done
22730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22731 $as_echo_n "checking for sincos declaration... " >&6; }
22732 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22733 if ${glibcxx_cv_func_sincos_use+:} false; then :
22734 $as_echo_n "(cached) " >&6
22735 else
22738 ac_ext=cpp
22739 ac_cpp='$CXXCPP $CPPFLAGS'
22740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22745 /* end confdefs.h. */
22746 #include <math.h>
22748 main ()
22750 sincos(0, 0, 0);
22752 return 0;
22754 _ACEOF
22755 if ac_fn_cxx_try_compile "$LINENO"; then :
22756 glibcxx_cv_func_sincos_use=yes
22757 else
22758 glibcxx_cv_func_sincos_use=no
22760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22761 ac_ext=c
22762 ac_cpp='$CPP $CPPFLAGS'
22763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22772 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22774 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22775 for ac_func in sincos
22776 do :
22777 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22778 if test "x$ac_cv_func_sincos" = xyes; then :
22779 cat >>confdefs.h <<_ACEOF
22780 #define HAVE_SINCOS 1
22781 _ACEOF
22784 done
22786 else
22788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22789 $as_echo_n "checking for _sincos declaration... " >&6; }
22790 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22791 if ${glibcxx_cv_func__sincos_use+:} false; then :
22792 $as_echo_n "(cached) " >&6
22793 else
22796 ac_ext=cpp
22797 ac_cpp='$CXXCPP $CPPFLAGS'
22798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22803 /* end confdefs.h. */
22804 #include <math.h>
22806 main ()
22808 _sincos(0, 0, 0);
22810 return 0;
22812 _ACEOF
22813 if ac_fn_cxx_try_compile "$LINENO"; then :
22814 glibcxx_cv_func__sincos_use=yes
22815 else
22816 glibcxx_cv_func__sincos_use=no
22818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22819 ac_ext=c
22820 ac_cpp='$CPP $CPPFLAGS'
22821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22830 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22832 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22833 for ac_func in _sincos
22834 do :
22835 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22836 if test "x$ac_cv_func__sincos" = xyes; then :
22837 cat >>confdefs.h <<_ACEOF
22838 #define HAVE__SINCOS 1
22839 _ACEOF
22842 done
22851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22852 $as_echo_n "checking for fpclass declaration... " >&6; }
22853 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22854 if ${glibcxx_cv_func_fpclass_use+:} false; then :
22855 $as_echo_n "(cached) " >&6
22856 else
22859 ac_ext=cpp
22860 ac_cpp='$CXXCPP $CPPFLAGS'
22861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22866 /* end confdefs.h. */
22867 #include <math.h>
22868 #ifdef HAVE_IEEEFP_H
22869 #include <ieeefp.h>
22870 #endif
22873 main ()
22875 fpclass(0);
22877 return 0;
22879 _ACEOF
22880 if ac_fn_cxx_try_compile "$LINENO"; then :
22881 glibcxx_cv_func_fpclass_use=yes
22882 else
22883 glibcxx_cv_func_fpclass_use=no
22885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22886 ac_ext=c
22887 ac_cpp='$CPP $CPPFLAGS'
22888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22897 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22899 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22900 for ac_func in fpclass
22901 do :
22902 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
22903 if test "x$ac_cv_func_fpclass" = xyes; then :
22904 cat >>confdefs.h <<_ACEOF
22905 #define HAVE_FPCLASS 1
22906 _ACEOF
22909 done
22911 else
22913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
22914 $as_echo_n "checking for _fpclass declaration... " >&6; }
22915 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22916 if ${glibcxx_cv_func__fpclass_use+:} false; then :
22917 $as_echo_n "(cached) " >&6
22918 else
22921 ac_ext=cpp
22922 ac_cpp='$CXXCPP $CPPFLAGS'
22923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22928 /* end confdefs.h. */
22929 #include <math.h>
22930 #ifdef HAVE_IEEEFP_H
22931 #include <ieeefp.h>
22932 #endif
22935 main ()
22937 _fpclass(0);
22939 return 0;
22941 _ACEOF
22942 if ac_fn_cxx_try_compile "$LINENO"; then :
22943 glibcxx_cv_func__fpclass_use=yes
22944 else
22945 glibcxx_cv_func__fpclass_use=no
22947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22948 ac_ext=c
22949 ac_cpp='$CPP $CPPFLAGS'
22950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
22959 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
22961 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
22962 for ac_func in _fpclass
22963 do :
22964 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
22965 if test "x$ac_cv_func__fpclass" = xyes; then :
22966 cat >>confdefs.h <<_ACEOF
22967 #define HAVE__FPCLASS 1
22968 _ACEOF
22971 done
22980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
22981 $as_echo_n "checking for qfpclass declaration... " >&6; }
22982 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
22983 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
22984 $as_echo_n "(cached) " >&6
22985 else
22988 ac_ext=cpp
22989 ac_cpp='$CXXCPP $CPPFLAGS'
22990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22995 /* end confdefs.h. */
22996 #include <math.h>
22997 #ifdef HAVE_IEEEFP_H
22998 #include <ieeefp.h>
22999 #endif
23002 main ()
23004 qfpclass(0);
23006 return 0;
23008 _ACEOF
23009 if ac_fn_cxx_try_compile "$LINENO"; then :
23010 glibcxx_cv_func_qfpclass_use=yes
23011 else
23012 glibcxx_cv_func_qfpclass_use=no
23014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23015 ac_ext=c
23016 ac_cpp='$CPP $CPPFLAGS'
23017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
23026 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
23028 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
23029 for ac_func in qfpclass
23030 do :
23031 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
23032 if test "x$ac_cv_func_qfpclass" = xyes; then :
23033 cat >>confdefs.h <<_ACEOF
23034 #define HAVE_QFPCLASS 1
23035 _ACEOF
23038 done
23040 else
23042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
23043 $as_echo_n "checking for _qfpclass declaration... " >&6; }
23044 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
23045 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
23046 $as_echo_n "(cached) " >&6
23047 else
23050 ac_ext=cpp
23051 ac_cpp='$CXXCPP $CPPFLAGS'
23052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23057 /* end confdefs.h. */
23058 #include <math.h>
23059 #ifdef HAVE_IEEEFP_H
23060 #include <ieeefp.h>
23061 #endif
23064 main ()
23066 _qfpclass(0);
23068 return 0;
23070 _ACEOF
23071 if ac_fn_cxx_try_compile "$LINENO"; then :
23072 glibcxx_cv_func__qfpclass_use=yes
23073 else
23074 glibcxx_cv_func__qfpclass_use=no
23076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23077 ac_ext=c
23078 ac_cpp='$CPP $CPPFLAGS'
23079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
23088 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
23090 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
23091 for ac_func in _qfpclass
23092 do :
23093 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
23094 if test "x$ac_cv_func__qfpclass" = xyes; then :
23095 cat >>confdefs.h <<_ACEOF
23096 #define HAVE__QFPCLASS 1
23097 _ACEOF
23100 done
23109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
23110 $as_echo_n "checking for hypot declaration... " >&6; }
23111 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
23112 if ${glibcxx_cv_func_hypot_use+:} false; then :
23113 $as_echo_n "(cached) " >&6
23114 else
23117 ac_ext=cpp
23118 ac_cpp='$CXXCPP $CPPFLAGS'
23119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23124 /* end confdefs.h. */
23125 #include <math.h>
23127 main ()
23129 hypot(0, 0);
23131 return 0;
23133 _ACEOF
23134 if ac_fn_cxx_try_compile "$LINENO"; then :
23135 glibcxx_cv_func_hypot_use=yes
23136 else
23137 glibcxx_cv_func_hypot_use=no
23139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23140 ac_ext=c
23141 ac_cpp='$CPP $CPPFLAGS'
23142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
23151 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
23153 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
23154 for ac_func in hypot
23155 do :
23156 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
23157 if test "x$ac_cv_func_hypot" = xyes; then :
23158 cat >>confdefs.h <<_ACEOF
23159 #define HAVE_HYPOT 1
23160 _ACEOF
23163 done
23165 else
23167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
23168 $as_echo_n "checking for _hypot declaration... " >&6; }
23169 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
23170 if ${glibcxx_cv_func__hypot_use+:} false; then :
23171 $as_echo_n "(cached) " >&6
23172 else
23175 ac_ext=cpp
23176 ac_cpp='$CXXCPP $CPPFLAGS'
23177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23182 /* end confdefs.h. */
23183 #include <math.h>
23185 main ()
23187 _hypot(0, 0);
23189 return 0;
23191 _ACEOF
23192 if ac_fn_cxx_try_compile "$LINENO"; then :
23193 glibcxx_cv_func__hypot_use=yes
23194 else
23195 glibcxx_cv_func__hypot_use=no
23197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23198 ac_ext=c
23199 ac_cpp='$CPP $CPPFLAGS'
23200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23209 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23211 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23212 for ac_func in _hypot
23213 do :
23214 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23215 if test "x$ac_cv_func__hypot" = xyes; then :
23216 cat >>confdefs.h <<_ACEOF
23217 #define HAVE__HYPOT 1
23218 _ACEOF
23221 done
23230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23231 $as_echo_n "checking for float trig functions... " >&6; }
23232 if ${glibcxx_cv_func_float_trig_use+:} false; then :
23233 $as_echo_n "(cached) " >&6
23234 else
23237 ac_ext=cpp
23238 ac_cpp='$CXXCPP $CPPFLAGS'
23239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23244 /* end confdefs.h. */
23245 #include <math.h>
23247 main ()
23249 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23251 return 0;
23253 _ACEOF
23254 if ac_fn_cxx_try_compile "$LINENO"; then :
23255 glibcxx_cv_func_float_trig_use=yes
23256 else
23257 glibcxx_cv_func_float_trig_use=no
23259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23260 ac_ext=c
23261 ac_cpp='$CPP $CPPFLAGS'
23262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23269 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23270 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23271 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23272 do :
23273 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23274 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23275 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23276 cat >>confdefs.h <<_ACEOF
23277 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23278 _ACEOF
23281 done
23283 else
23284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23285 $as_echo_n "checking for _float trig functions... " >&6; }
23286 if ${glibcxx_cv_func__float_trig_use+:} false; then :
23287 $as_echo_n "(cached) " >&6
23288 else
23291 ac_ext=cpp
23292 ac_cpp='$CXXCPP $CPPFLAGS'
23293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23298 /* end confdefs.h. */
23299 #include <math.h>
23301 main ()
23303 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23305 return 0;
23307 _ACEOF
23308 if ac_fn_cxx_try_compile "$LINENO"; then :
23309 glibcxx_cv_func__float_trig_use=yes
23310 else
23311 glibcxx_cv_func__float_trig_use=no
23313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23314 ac_ext=c
23315 ac_cpp='$CPP $CPPFLAGS'
23316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23323 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23324 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23325 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23326 do :
23327 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23328 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23329 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23330 cat >>confdefs.h <<_ACEOF
23331 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23332 _ACEOF
23335 done
23344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23345 $as_echo_n "checking for float round functions... " >&6; }
23346 if ${glibcxx_cv_func_float_round_use+:} false; then :
23347 $as_echo_n "(cached) " >&6
23348 else
23351 ac_ext=cpp
23352 ac_cpp='$CXXCPP $CPPFLAGS'
23353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23358 /* end confdefs.h. */
23359 #include <math.h>
23361 main ()
23363 ceilf (0); floorf (0);
23365 return 0;
23367 _ACEOF
23368 if ac_fn_cxx_try_compile "$LINENO"; then :
23369 glibcxx_cv_func_float_round_use=yes
23370 else
23371 glibcxx_cv_func_float_round_use=no
23373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23374 ac_ext=c
23375 ac_cpp='$CPP $CPPFLAGS'
23376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23383 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23384 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23385 for ac_func in ceilf floorf
23386 do :
23387 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23388 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23389 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23390 cat >>confdefs.h <<_ACEOF
23391 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23392 _ACEOF
23395 done
23397 else
23398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23399 $as_echo_n "checking for _float round functions... " >&6; }
23400 if ${glibcxx_cv_func__float_round_use+:} false; then :
23401 $as_echo_n "(cached) " >&6
23402 else
23405 ac_ext=cpp
23406 ac_cpp='$CXXCPP $CPPFLAGS'
23407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23412 /* end confdefs.h. */
23413 #include <math.h>
23415 main ()
23417 _ceilf (0); _floorf (0);
23419 return 0;
23421 _ACEOF
23422 if ac_fn_cxx_try_compile "$LINENO"; then :
23423 glibcxx_cv_func__float_round_use=yes
23424 else
23425 glibcxx_cv_func__float_round_use=no
23427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23428 ac_ext=c
23429 ac_cpp='$CPP $CPPFLAGS'
23430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23437 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23438 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23439 for ac_func in _ceilf _floorf
23440 do :
23441 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23442 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23443 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23444 cat >>confdefs.h <<_ACEOF
23445 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23446 _ACEOF
23449 done
23459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23460 $as_echo_n "checking for expf declaration... " >&6; }
23461 if test x${glibcxx_cv_func_expf_use+set} != xset; then
23462 if ${glibcxx_cv_func_expf_use+:} false; then :
23463 $as_echo_n "(cached) " >&6
23464 else
23467 ac_ext=cpp
23468 ac_cpp='$CXXCPP $CPPFLAGS'
23469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23474 /* end confdefs.h. */
23475 #include <math.h>
23476 #ifdef HAVE_IEEEFP_H
23477 #include <ieeefp.h>
23478 #endif
23481 main ()
23483 expf(0);
23485 return 0;
23487 _ACEOF
23488 if ac_fn_cxx_try_compile "$LINENO"; then :
23489 glibcxx_cv_func_expf_use=yes
23490 else
23491 glibcxx_cv_func_expf_use=no
23493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23494 ac_ext=c
23495 ac_cpp='$CPP $CPPFLAGS'
23496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23505 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23507 if test x$glibcxx_cv_func_expf_use = x"yes"; then
23508 for ac_func in expf
23509 do :
23510 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23511 if test "x$ac_cv_func_expf" = xyes; then :
23512 cat >>confdefs.h <<_ACEOF
23513 #define HAVE_EXPF 1
23514 _ACEOF
23517 done
23519 else
23521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23522 $as_echo_n "checking for _expf declaration... " >&6; }
23523 if test x${glibcxx_cv_func__expf_use+set} != xset; then
23524 if ${glibcxx_cv_func__expf_use+:} false; then :
23525 $as_echo_n "(cached) " >&6
23526 else
23529 ac_ext=cpp
23530 ac_cpp='$CXXCPP $CPPFLAGS'
23531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23536 /* end confdefs.h. */
23537 #include <math.h>
23538 #ifdef HAVE_IEEEFP_H
23539 #include <ieeefp.h>
23540 #endif
23543 main ()
23545 _expf(0);
23547 return 0;
23549 _ACEOF
23550 if ac_fn_cxx_try_compile "$LINENO"; then :
23551 glibcxx_cv_func__expf_use=yes
23552 else
23553 glibcxx_cv_func__expf_use=no
23555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23556 ac_ext=c
23557 ac_cpp='$CPP $CPPFLAGS'
23558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23567 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23569 if test x$glibcxx_cv_func__expf_use = x"yes"; then
23570 for ac_func in _expf
23571 do :
23572 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23573 if test "x$ac_cv_func__expf" = xyes; then :
23574 cat >>confdefs.h <<_ACEOF
23575 #define HAVE__EXPF 1
23576 _ACEOF
23579 done
23588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23589 $as_echo_n "checking for isnanf declaration... " >&6; }
23590 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23591 if ${glibcxx_cv_func_isnanf_use+:} false; then :
23592 $as_echo_n "(cached) " >&6
23593 else
23596 ac_ext=cpp
23597 ac_cpp='$CXXCPP $CPPFLAGS'
23598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23603 /* end confdefs.h. */
23604 #include <math.h>
23605 #ifdef HAVE_IEEEFP_H
23606 #include <ieeefp.h>
23607 #endif
23610 main ()
23612 isnanf(0);
23614 return 0;
23616 _ACEOF
23617 if ac_fn_cxx_try_compile "$LINENO"; then :
23618 glibcxx_cv_func_isnanf_use=yes
23619 else
23620 glibcxx_cv_func_isnanf_use=no
23622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23623 ac_ext=c
23624 ac_cpp='$CPP $CPPFLAGS'
23625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23634 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23636 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23637 for ac_func in isnanf
23638 do :
23639 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23640 if test "x$ac_cv_func_isnanf" = xyes; then :
23641 cat >>confdefs.h <<_ACEOF
23642 #define HAVE_ISNANF 1
23643 _ACEOF
23646 done
23648 else
23650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23651 $as_echo_n "checking for _isnanf declaration... " >&6; }
23652 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23653 if ${glibcxx_cv_func__isnanf_use+:} false; then :
23654 $as_echo_n "(cached) " >&6
23655 else
23658 ac_ext=cpp
23659 ac_cpp='$CXXCPP $CPPFLAGS'
23660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23665 /* end confdefs.h. */
23666 #include <math.h>
23667 #ifdef HAVE_IEEEFP_H
23668 #include <ieeefp.h>
23669 #endif
23672 main ()
23674 _isnanf(0);
23676 return 0;
23678 _ACEOF
23679 if ac_fn_cxx_try_compile "$LINENO"; then :
23680 glibcxx_cv_func__isnanf_use=yes
23681 else
23682 glibcxx_cv_func__isnanf_use=no
23684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23685 ac_ext=c
23686 ac_cpp='$CPP $CPPFLAGS'
23687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23696 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23698 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23699 for ac_func in _isnanf
23700 do :
23701 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23702 if test "x$ac_cv_func__isnanf" = xyes; then :
23703 cat >>confdefs.h <<_ACEOF
23704 #define HAVE__ISNANF 1
23705 _ACEOF
23708 done
23717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23718 $as_echo_n "checking for isinff declaration... " >&6; }
23719 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23720 if ${glibcxx_cv_func_isinff_use+:} false; then :
23721 $as_echo_n "(cached) " >&6
23722 else
23725 ac_ext=cpp
23726 ac_cpp='$CXXCPP $CPPFLAGS'
23727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23732 /* end confdefs.h. */
23733 #include <math.h>
23734 #ifdef HAVE_IEEEFP_H
23735 #include <ieeefp.h>
23736 #endif
23739 main ()
23741 isinff(0);
23743 return 0;
23745 _ACEOF
23746 if ac_fn_cxx_try_compile "$LINENO"; then :
23747 glibcxx_cv_func_isinff_use=yes
23748 else
23749 glibcxx_cv_func_isinff_use=no
23751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23752 ac_ext=c
23753 ac_cpp='$CPP $CPPFLAGS'
23754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23763 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23765 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23766 for ac_func in isinff
23767 do :
23768 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23769 if test "x$ac_cv_func_isinff" = xyes; then :
23770 cat >>confdefs.h <<_ACEOF
23771 #define HAVE_ISINFF 1
23772 _ACEOF
23775 done
23777 else
23779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23780 $as_echo_n "checking for _isinff declaration... " >&6; }
23781 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23782 if ${glibcxx_cv_func__isinff_use+:} false; then :
23783 $as_echo_n "(cached) " >&6
23784 else
23787 ac_ext=cpp
23788 ac_cpp='$CXXCPP $CPPFLAGS'
23789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23794 /* end confdefs.h. */
23795 #include <math.h>
23796 #ifdef HAVE_IEEEFP_H
23797 #include <ieeefp.h>
23798 #endif
23801 main ()
23803 _isinff(0);
23805 return 0;
23807 _ACEOF
23808 if ac_fn_cxx_try_compile "$LINENO"; then :
23809 glibcxx_cv_func__isinff_use=yes
23810 else
23811 glibcxx_cv_func__isinff_use=no
23813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23814 ac_ext=c
23815 ac_cpp='$CPP $CPPFLAGS'
23816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23825 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23827 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23828 for ac_func in _isinff
23829 do :
23830 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23831 if test "x$ac_cv_func__isinff" = xyes; then :
23832 cat >>confdefs.h <<_ACEOF
23833 #define HAVE__ISINFF 1
23834 _ACEOF
23837 done
23846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23847 $as_echo_n "checking for atan2f declaration... " >&6; }
23848 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23849 if ${glibcxx_cv_func_atan2f_use+:} false; then :
23850 $as_echo_n "(cached) " >&6
23851 else
23854 ac_ext=cpp
23855 ac_cpp='$CXXCPP $CPPFLAGS'
23856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23861 /* end confdefs.h. */
23862 #include <math.h>
23864 main ()
23866 atan2f(0, 0);
23868 return 0;
23870 _ACEOF
23871 if ac_fn_cxx_try_compile "$LINENO"; then :
23872 glibcxx_cv_func_atan2f_use=yes
23873 else
23874 glibcxx_cv_func_atan2f_use=no
23876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23877 ac_ext=c
23878 ac_cpp='$CPP $CPPFLAGS'
23879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23888 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23890 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23891 for ac_func in atan2f
23892 do :
23893 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23894 if test "x$ac_cv_func_atan2f" = xyes; then :
23895 cat >>confdefs.h <<_ACEOF
23896 #define HAVE_ATAN2F 1
23897 _ACEOF
23900 done
23902 else
23904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
23905 $as_echo_n "checking for _atan2f declaration... " >&6; }
23906 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23907 if ${glibcxx_cv_func__atan2f_use+:} false; then :
23908 $as_echo_n "(cached) " >&6
23909 else
23912 ac_ext=cpp
23913 ac_cpp='$CXXCPP $CPPFLAGS'
23914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23919 /* end confdefs.h. */
23920 #include <math.h>
23922 main ()
23924 _atan2f(0, 0);
23926 return 0;
23928 _ACEOF
23929 if ac_fn_cxx_try_compile "$LINENO"; then :
23930 glibcxx_cv_func__atan2f_use=yes
23931 else
23932 glibcxx_cv_func__atan2f_use=no
23934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23935 ac_ext=c
23936 ac_cpp='$CPP $CPPFLAGS'
23937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
23946 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
23948 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23949 for ac_func in _atan2f
23950 do :
23951 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
23952 if test "x$ac_cv_func__atan2f" = xyes; then :
23953 cat >>confdefs.h <<_ACEOF
23954 #define HAVE__ATAN2F 1
23955 _ACEOF
23958 done
23967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
23968 $as_echo_n "checking for fabsf declaration... " >&6; }
23969 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23970 if ${glibcxx_cv_func_fabsf_use+:} false; then :
23971 $as_echo_n "(cached) " >&6
23972 else
23975 ac_ext=cpp
23976 ac_cpp='$CXXCPP $CPPFLAGS'
23977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23982 /* end confdefs.h. */
23983 #include <math.h>
23984 #ifdef HAVE_IEEEFP_H
23985 #include <ieeefp.h>
23986 #endif
23989 main ()
23991 fabsf(0);
23993 return 0;
23995 _ACEOF
23996 if ac_fn_cxx_try_compile "$LINENO"; then :
23997 glibcxx_cv_func_fabsf_use=yes
23998 else
23999 glibcxx_cv_func_fabsf_use=no
24001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24002 ac_ext=c
24003 ac_cpp='$CPP $CPPFLAGS'
24004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
24013 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
24015 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
24016 for ac_func in fabsf
24017 do :
24018 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
24019 if test "x$ac_cv_func_fabsf" = xyes; then :
24020 cat >>confdefs.h <<_ACEOF
24021 #define HAVE_FABSF 1
24022 _ACEOF
24025 done
24027 else
24029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
24030 $as_echo_n "checking for _fabsf declaration... " >&6; }
24031 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
24032 if ${glibcxx_cv_func__fabsf_use+:} false; then :
24033 $as_echo_n "(cached) " >&6
24034 else
24037 ac_ext=cpp
24038 ac_cpp='$CXXCPP $CPPFLAGS'
24039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24044 /* end confdefs.h. */
24045 #include <math.h>
24046 #ifdef HAVE_IEEEFP_H
24047 #include <ieeefp.h>
24048 #endif
24051 main ()
24053 _fabsf(0);
24055 return 0;
24057 _ACEOF
24058 if ac_fn_cxx_try_compile "$LINENO"; then :
24059 glibcxx_cv_func__fabsf_use=yes
24060 else
24061 glibcxx_cv_func__fabsf_use=no
24063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24064 ac_ext=c
24065 ac_cpp='$CPP $CPPFLAGS'
24066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
24075 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
24077 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24078 for ac_func in _fabsf
24079 do :
24080 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
24081 if test "x$ac_cv_func__fabsf" = xyes; then :
24082 cat >>confdefs.h <<_ACEOF
24083 #define HAVE__FABSF 1
24084 _ACEOF
24087 done
24096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
24097 $as_echo_n "checking for fmodf declaration... " >&6; }
24098 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24099 if ${glibcxx_cv_func_fmodf_use+:} false; then :
24100 $as_echo_n "(cached) " >&6
24101 else
24104 ac_ext=cpp
24105 ac_cpp='$CXXCPP $CPPFLAGS'
24106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24111 /* end confdefs.h. */
24112 #include <math.h>
24114 main ()
24116 fmodf(0, 0);
24118 return 0;
24120 _ACEOF
24121 if ac_fn_cxx_try_compile "$LINENO"; then :
24122 glibcxx_cv_func_fmodf_use=yes
24123 else
24124 glibcxx_cv_func_fmodf_use=no
24126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24127 ac_ext=c
24128 ac_cpp='$CPP $CPPFLAGS'
24129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
24138 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
24140 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24141 for ac_func in fmodf
24142 do :
24143 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
24144 if test "x$ac_cv_func_fmodf" = xyes; then :
24145 cat >>confdefs.h <<_ACEOF
24146 #define HAVE_FMODF 1
24147 _ACEOF
24150 done
24152 else
24154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
24155 $as_echo_n "checking for _fmodf declaration... " >&6; }
24156 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24157 if ${glibcxx_cv_func__fmodf_use+:} false; then :
24158 $as_echo_n "(cached) " >&6
24159 else
24162 ac_ext=cpp
24163 ac_cpp='$CXXCPP $CPPFLAGS'
24164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24169 /* end confdefs.h. */
24170 #include <math.h>
24172 main ()
24174 _fmodf(0, 0);
24176 return 0;
24178 _ACEOF
24179 if ac_fn_cxx_try_compile "$LINENO"; then :
24180 glibcxx_cv_func__fmodf_use=yes
24181 else
24182 glibcxx_cv_func__fmodf_use=no
24184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24185 ac_ext=c
24186 ac_cpp='$CPP $CPPFLAGS'
24187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
24196 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
24198 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24199 for ac_func in _fmodf
24200 do :
24201 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
24202 if test "x$ac_cv_func__fmodf" = xyes; then :
24203 cat >>confdefs.h <<_ACEOF
24204 #define HAVE__FMODF 1
24205 _ACEOF
24208 done
24217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24218 $as_echo_n "checking for frexpf declaration... " >&6; }
24219 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24220 if ${glibcxx_cv_func_frexpf_use+:} false; then :
24221 $as_echo_n "(cached) " >&6
24222 else
24225 ac_ext=cpp
24226 ac_cpp='$CXXCPP $CPPFLAGS'
24227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24232 /* end confdefs.h. */
24233 #include <math.h>
24235 main ()
24237 frexpf(0, 0);
24239 return 0;
24241 _ACEOF
24242 if ac_fn_cxx_try_compile "$LINENO"; then :
24243 glibcxx_cv_func_frexpf_use=yes
24244 else
24245 glibcxx_cv_func_frexpf_use=no
24247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24248 ac_ext=c
24249 ac_cpp='$CPP $CPPFLAGS'
24250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24259 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24261 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24262 for ac_func in frexpf
24263 do :
24264 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24265 if test "x$ac_cv_func_frexpf" = xyes; then :
24266 cat >>confdefs.h <<_ACEOF
24267 #define HAVE_FREXPF 1
24268 _ACEOF
24271 done
24273 else
24275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24276 $as_echo_n "checking for _frexpf declaration... " >&6; }
24277 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24278 if ${glibcxx_cv_func__frexpf_use+:} false; then :
24279 $as_echo_n "(cached) " >&6
24280 else
24283 ac_ext=cpp
24284 ac_cpp='$CXXCPP $CPPFLAGS'
24285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24290 /* end confdefs.h. */
24291 #include <math.h>
24293 main ()
24295 _frexpf(0, 0);
24297 return 0;
24299 _ACEOF
24300 if ac_fn_cxx_try_compile "$LINENO"; then :
24301 glibcxx_cv_func__frexpf_use=yes
24302 else
24303 glibcxx_cv_func__frexpf_use=no
24305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24306 ac_ext=c
24307 ac_cpp='$CPP $CPPFLAGS'
24308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24317 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24319 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24320 for ac_func in _frexpf
24321 do :
24322 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24323 if test "x$ac_cv_func__frexpf" = xyes; then :
24324 cat >>confdefs.h <<_ACEOF
24325 #define HAVE__FREXPF 1
24326 _ACEOF
24329 done
24338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24339 $as_echo_n "checking for hypotf declaration... " >&6; }
24340 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24341 if ${glibcxx_cv_func_hypotf_use+:} false; then :
24342 $as_echo_n "(cached) " >&6
24343 else
24346 ac_ext=cpp
24347 ac_cpp='$CXXCPP $CPPFLAGS'
24348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24353 /* end confdefs.h. */
24354 #include <math.h>
24356 main ()
24358 hypotf(0, 0);
24360 return 0;
24362 _ACEOF
24363 if ac_fn_cxx_try_compile "$LINENO"; then :
24364 glibcxx_cv_func_hypotf_use=yes
24365 else
24366 glibcxx_cv_func_hypotf_use=no
24368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24369 ac_ext=c
24370 ac_cpp='$CPP $CPPFLAGS'
24371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24380 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24382 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24383 for ac_func in hypotf
24384 do :
24385 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24386 if test "x$ac_cv_func_hypotf" = xyes; then :
24387 cat >>confdefs.h <<_ACEOF
24388 #define HAVE_HYPOTF 1
24389 _ACEOF
24392 done
24394 else
24396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24397 $as_echo_n "checking for _hypotf declaration... " >&6; }
24398 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24399 if ${glibcxx_cv_func__hypotf_use+:} false; then :
24400 $as_echo_n "(cached) " >&6
24401 else
24404 ac_ext=cpp
24405 ac_cpp='$CXXCPP $CPPFLAGS'
24406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24411 /* end confdefs.h. */
24412 #include <math.h>
24414 main ()
24416 _hypotf(0, 0);
24418 return 0;
24420 _ACEOF
24421 if ac_fn_cxx_try_compile "$LINENO"; then :
24422 glibcxx_cv_func__hypotf_use=yes
24423 else
24424 glibcxx_cv_func__hypotf_use=no
24426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24427 ac_ext=c
24428 ac_cpp='$CPP $CPPFLAGS'
24429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24438 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24440 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24441 for ac_func in _hypotf
24442 do :
24443 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24444 if test "x$ac_cv_func__hypotf" = xyes; then :
24445 cat >>confdefs.h <<_ACEOF
24446 #define HAVE__HYPOTF 1
24447 _ACEOF
24450 done
24459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24460 $as_echo_n "checking for ldexpf declaration... " >&6; }
24461 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24462 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
24463 $as_echo_n "(cached) " >&6
24464 else
24467 ac_ext=cpp
24468 ac_cpp='$CXXCPP $CPPFLAGS'
24469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24474 /* end confdefs.h. */
24475 #include <math.h>
24477 main ()
24479 ldexpf(0, 0);
24481 return 0;
24483 _ACEOF
24484 if ac_fn_cxx_try_compile "$LINENO"; then :
24485 glibcxx_cv_func_ldexpf_use=yes
24486 else
24487 glibcxx_cv_func_ldexpf_use=no
24489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24490 ac_ext=c
24491 ac_cpp='$CPP $CPPFLAGS'
24492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24501 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24503 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24504 for ac_func in ldexpf
24505 do :
24506 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24507 if test "x$ac_cv_func_ldexpf" = xyes; then :
24508 cat >>confdefs.h <<_ACEOF
24509 #define HAVE_LDEXPF 1
24510 _ACEOF
24513 done
24515 else
24517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24518 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24519 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24520 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
24521 $as_echo_n "(cached) " >&6
24522 else
24525 ac_ext=cpp
24526 ac_cpp='$CXXCPP $CPPFLAGS'
24527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24532 /* end confdefs.h. */
24533 #include <math.h>
24535 main ()
24537 _ldexpf(0, 0);
24539 return 0;
24541 _ACEOF
24542 if ac_fn_cxx_try_compile "$LINENO"; then :
24543 glibcxx_cv_func__ldexpf_use=yes
24544 else
24545 glibcxx_cv_func__ldexpf_use=no
24547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24548 ac_ext=c
24549 ac_cpp='$CPP $CPPFLAGS'
24550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24559 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24561 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24562 for ac_func in _ldexpf
24563 do :
24564 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24565 if test "x$ac_cv_func__ldexpf" = xyes; then :
24566 cat >>confdefs.h <<_ACEOF
24567 #define HAVE__LDEXPF 1
24568 _ACEOF
24571 done
24580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24581 $as_echo_n "checking for logf declaration... " >&6; }
24582 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24583 if ${glibcxx_cv_func_logf_use+:} false; then :
24584 $as_echo_n "(cached) " >&6
24585 else
24588 ac_ext=cpp
24589 ac_cpp='$CXXCPP $CPPFLAGS'
24590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24595 /* end confdefs.h. */
24596 #include <math.h>
24597 #ifdef HAVE_IEEEFP_H
24598 #include <ieeefp.h>
24599 #endif
24602 main ()
24604 logf(0);
24606 return 0;
24608 _ACEOF
24609 if ac_fn_cxx_try_compile "$LINENO"; then :
24610 glibcxx_cv_func_logf_use=yes
24611 else
24612 glibcxx_cv_func_logf_use=no
24614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24615 ac_ext=c
24616 ac_cpp='$CPP $CPPFLAGS'
24617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24626 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24628 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24629 for ac_func in logf
24630 do :
24631 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24632 if test "x$ac_cv_func_logf" = xyes; then :
24633 cat >>confdefs.h <<_ACEOF
24634 #define HAVE_LOGF 1
24635 _ACEOF
24638 done
24640 else
24642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24643 $as_echo_n "checking for _logf declaration... " >&6; }
24644 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24645 if ${glibcxx_cv_func__logf_use+:} false; then :
24646 $as_echo_n "(cached) " >&6
24647 else
24650 ac_ext=cpp
24651 ac_cpp='$CXXCPP $CPPFLAGS'
24652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24657 /* end confdefs.h. */
24658 #include <math.h>
24659 #ifdef HAVE_IEEEFP_H
24660 #include <ieeefp.h>
24661 #endif
24664 main ()
24666 _logf(0);
24668 return 0;
24670 _ACEOF
24671 if ac_fn_cxx_try_compile "$LINENO"; then :
24672 glibcxx_cv_func__logf_use=yes
24673 else
24674 glibcxx_cv_func__logf_use=no
24676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24677 ac_ext=c
24678 ac_cpp='$CPP $CPPFLAGS'
24679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24688 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24690 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24691 for ac_func in _logf
24692 do :
24693 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24694 if test "x$ac_cv_func__logf" = xyes; then :
24695 cat >>confdefs.h <<_ACEOF
24696 #define HAVE__LOGF 1
24697 _ACEOF
24700 done
24709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24710 $as_echo_n "checking for log10f declaration... " >&6; }
24711 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24712 if ${glibcxx_cv_func_log10f_use+:} false; then :
24713 $as_echo_n "(cached) " >&6
24714 else
24717 ac_ext=cpp
24718 ac_cpp='$CXXCPP $CPPFLAGS'
24719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24724 /* end confdefs.h. */
24725 #include <math.h>
24726 #ifdef HAVE_IEEEFP_H
24727 #include <ieeefp.h>
24728 #endif
24731 main ()
24733 log10f(0);
24735 return 0;
24737 _ACEOF
24738 if ac_fn_cxx_try_compile "$LINENO"; then :
24739 glibcxx_cv_func_log10f_use=yes
24740 else
24741 glibcxx_cv_func_log10f_use=no
24743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24744 ac_ext=c
24745 ac_cpp='$CPP $CPPFLAGS'
24746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24755 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24757 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24758 for ac_func in log10f
24759 do :
24760 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24761 if test "x$ac_cv_func_log10f" = xyes; then :
24762 cat >>confdefs.h <<_ACEOF
24763 #define HAVE_LOG10F 1
24764 _ACEOF
24767 done
24769 else
24771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24772 $as_echo_n "checking for _log10f declaration... " >&6; }
24773 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24774 if ${glibcxx_cv_func__log10f_use+:} false; then :
24775 $as_echo_n "(cached) " >&6
24776 else
24779 ac_ext=cpp
24780 ac_cpp='$CXXCPP $CPPFLAGS'
24781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24786 /* end confdefs.h. */
24787 #include <math.h>
24788 #ifdef HAVE_IEEEFP_H
24789 #include <ieeefp.h>
24790 #endif
24793 main ()
24795 _log10f(0);
24797 return 0;
24799 _ACEOF
24800 if ac_fn_cxx_try_compile "$LINENO"; then :
24801 glibcxx_cv_func__log10f_use=yes
24802 else
24803 glibcxx_cv_func__log10f_use=no
24805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24806 ac_ext=c
24807 ac_cpp='$CPP $CPPFLAGS'
24808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24817 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24819 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24820 for ac_func in _log10f
24821 do :
24822 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24823 if test "x$ac_cv_func__log10f" = xyes; then :
24824 cat >>confdefs.h <<_ACEOF
24825 #define HAVE__LOG10F 1
24826 _ACEOF
24829 done
24838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24839 $as_echo_n "checking for modff declaration... " >&6; }
24840 if test x${glibcxx_cv_func_modff_use+set} != xset; then
24841 if ${glibcxx_cv_func_modff_use+:} false; then :
24842 $as_echo_n "(cached) " >&6
24843 else
24846 ac_ext=cpp
24847 ac_cpp='$CXXCPP $CPPFLAGS'
24848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24853 /* end confdefs.h. */
24854 #include <math.h>
24856 main ()
24858 modff(0, 0);
24860 return 0;
24862 _ACEOF
24863 if ac_fn_cxx_try_compile "$LINENO"; then :
24864 glibcxx_cv_func_modff_use=yes
24865 else
24866 glibcxx_cv_func_modff_use=no
24868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24869 ac_ext=c
24870 ac_cpp='$CPP $CPPFLAGS'
24871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24880 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24882 if test x$glibcxx_cv_func_modff_use = x"yes"; then
24883 for ac_func in modff
24884 do :
24885 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24886 if test "x$ac_cv_func_modff" = xyes; then :
24887 cat >>confdefs.h <<_ACEOF
24888 #define HAVE_MODFF 1
24889 _ACEOF
24892 done
24894 else
24896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24897 $as_echo_n "checking for _modff declaration... " >&6; }
24898 if test x${glibcxx_cv_func__modff_use+set} != xset; then
24899 if ${glibcxx_cv_func__modff_use+:} false; then :
24900 $as_echo_n "(cached) " >&6
24901 else
24904 ac_ext=cpp
24905 ac_cpp='$CXXCPP $CPPFLAGS'
24906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24911 /* end confdefs.h. */
24912 #include <math.h>
24914 main ()
24916 _modff(0, 0);
24918 return 0;
24920 _ACEOF
24921 if ac_fn_cxx_try_compile "$LINENO"; then :
24922 glibcxx_cv_func__modff_use=yes
24923 else
24924 glibcxx_cv_func__modff_use=no
24926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24927 ac_ext=c
24928 ac_cpp='$CPP $CPPFLAGS'
24929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
24938 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
24940 if test x$glibcxx_cv_func__modff_use = x"yes"; then
24941 for ac_func in _modff
24942 do :
24943 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
24944 if test "x$ac_cv_func__modff" = xyes; then :
24945 cat >>confdefs.h <<_ACEOF
24946 #define HAVE__MODFF 1
24947 _ACEOF
24950 done
24959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
24960 $as_echo_n "checking for modf declaration... " >&6; }
24961 if test x${glibcxx_cv_func_modf_use+set} != xset; then
24962 if ${glibcxx_cv_func_modf_use+:} false; then :
24963 $as_echo_n "(cached) " >&6
24964 else
24967 ac_ext=cpp
24968 ac_cpp='$CXXCPP $CPPFLAGS'
24969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24974 /* end confdefs.h. */
24975 #include <math.h>
24977 main ()
24979 modf(0, 0);
24981 return 0;
24983 _ACEOF
24984 if ac_fn_cxx_try_compile "$LINENO"; then :
24985 glibcxx_cv_func_modf_use=yes
24986 else
24987 glibcxx_cv_func_modf_use=no
24989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24990 ac_ext=c
24991 ac_cpp='$CPP $CPPFLAGS'
24992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
25001 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
25003 if test x$glibcxx_cv_func_modf_use = x"yes"; then
25004 for ac_func in modf
25005 do :
25006 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
25007 if test "x$ac_cv_func_modf" = xyes; then :
25008 cat >>confdefs.h <<_ACEOF
25009 #define HAVE_MODF 1
25010 _ACEOF
25013 done
25015 else
25017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
25018 $as_echo_n "checking for _modf declaration... " >&6; }
25019 if test x${glibcxx_cv_func__modf_use+set} != xset; then
25020 if ${glibcxx_cv_func__modf_use+:} false; then :
25021 $as_echo_n "(cached) " >&6
25022 else
25025 ac_ext=cpp
25026 ac_cpp='$CXXCPP $CPPFLAGS'
25027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25032 /* end confdefs.h. */
25033 #include <math.h>
25035 main ()
25037 _modf(0, 0);
25039 return 0;
25041 _ACEOF
25042 if ac_fn_cxx_try_compile "$LINENO"; then :
25043 glibcxx_cv_func__modf_use=yes
25044 else
25045 glibcxx_cv_func__modf_use=no
25047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25048 ac_ext=c
25049 ac_cpp='$CPP $CPPFLAGS'
25050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
25059 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
25061 if test x$glibcxx_cv_func__modf_use = x"yes"; then
25062 for ac_func in _modf
25063 do :
25064 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
25065 if test "x$ac_cv_func__modf" = xyes; then :
25066 cat >>confdefs.h <<_ACEOF
25067 #define HAVE__MODF 1
25068 _ACEOF
25071 done
25080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
25081 $as_echo_n "checking for powf declaration... " >&6; }
25082 if test x${glibcxx_cv_func_powf_use+set} != xset; then
25083 if ${glibcxx_cv_func_powf_use+:} false; then :
25084 $as_echo_n "(cached) " >&6
25085 else
25088 ac_ext=cpp
25089 ac_cpp='$CXXCPP $CPPFLAGS'
25090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25095 /* end confdefs.h. */
25096 #include <math.h>
25098 main ()
25100 powf(0, 0);
25102 return 0;
25104 _ACEOF
25105 if ac_fn_cxx_try_compile "$LINENO"; then :
25106 glibcxx_cv_func_powf_use=yes
25107 else
25108 glibcxx_cv_func_powf_use=no
25110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25111 ac_ext=c
25112 ac_cpp='$CPP $CPPFLAGS'
25113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
25122 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
25124 if test x$glibcxx_cv_func_powf_use = x"yes"; then
25125 for ac_func in powf
25126 do :
25127 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
25128 if test "x$ac_cv_func_powf" = xyes; then :
25129 cat >>confdefs.h <<_ACEOF
25130 #define HAVE_POWF 1
25131 _ACEOF
25134 done
25136 else
25138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
25139 $as_echo_n "checking for _powf declaration... " >&6; }
25140 if test x${glibcxx_cv_func__powf_use+set} != xset; then
25141 if ${glibcxx_cv_func__powf_use+:} false; then :
25142 $as_echo_n "(cached) " >&6
25143 else
25146 ac_ext=cpp
25147 ac_cpp='$CXXCPP $CPPFLAGS'
25148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25153 /* end confdefs.h. */
25154 #include <math.h>
25156 main ()
25158 _powf(0, 0);
25160 return 0;
25162 _ACEOF
25163 if ac_fn_cxx_try_compile "$LINENO"; then :
25164 glibcxx_cv_func__powf_use=yes
25165 else
25166 glibcxx_cv_func__powf_use=no
25168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25169 ac_ext=c
25170 ac_cpp='$CPP $CPPFLAGS'
25171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
25180 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
25182 if test x$glibcxx_cv_func__powf_use = x"yes"; then
25183 for ac_func in _powf
25184 do :
25185 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
25186 if test "x$ac_cv_func__powf" = xyes; then :
25187 cat >>confdefs.h <<_ACEOF
25188 #define HAVE__POWF 1
25189 _ACEOF
25192 done
25201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
25202 $as_echo_n "checking for sqrtf declaration... " >&6; }
25203 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
25204 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
25205 $as_echo_n "(cached) " >&6
25206 else
25209 ac_ext=cpp
25210 ac_cpp='$CXXCPP $CPPFLAGS'
25211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25216 /* end confdefs.h. */
25217 #include <math.h>
25218 #ifdef HAVE_IEEEFP_H
25219 #include <ieeefp.h>
25220 #endif
25223 main ()
25225 sqrtf(0);
25227 return 0;
25229 _ACEOF
25230 if ac_fn_cxx_try_compile "$LINENO"; then :
25231 glibcxx_cv_func_sqrtf_use=yes
25232 else
25233 glibcxx_cv_func_sqrtf_use=no
25235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25236 ac_ext=c
25237 ac_cpp='$CPP $CPPFLAGS'
25238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25247 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25249 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25250 for ac_func in sqrtf
25251 do :
25252 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25253 if test "x$ac_cv_func_sqrtf" = xyes; then :
25254 cat >>confdefs.h <<_ACEOF
25255 #define HAVE_SQRTF 1
25256 _ACEOF
25259 done
25261 else
25263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25264 $as_echo_n "checking for _sqrtf declaration... " >&6; }
25265 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25266 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
25267 $as_echo_n "(cached) " >&6
25268 else
25271 ac_ext=cpp
25272 ac_cpp='$CXXCPP $CPPFLAGS'
25273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25278 /* end confdefs.h. */
25279 #include <math.h>
25280 #ifdef HAVE_IEEEFP_H
25281 #include <ieeefp.h>
25282 #endif
25285 main ()
25287 _sqrtf(0);
25289 return 0;
25291 _ACEOF
25292 if ac_fn_cxx_try_compile "$LINENO"; then :
25293 glibcxx_cv_func__sqrtf_use=yes
25294 else
25295 glibcxx_cv_func__sqrtf_use=no
25297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25298 ac_ext=c
25299 ac_cpp='$CPP $CPPFLAGS'
25300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25309 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25311 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25312 for ac_func in _sqrtf
25313 do :
25314 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25315 if test "x$ac_cv_func__sqrtf" = xyes; then :
25316 cat >>confdefs.h <<_ACEOF
25317 #define HAVE__SQRTF 1
25318 _ACEOF
25321 done
25330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25331 $as_echo_n "checking for sincosf declaration... " >&6; }
25332 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25333 if ${glibcxx_cv_func_sincosf_use+:} false; then :
25334 $as_echo_n "(cached) " >&6
25335 else
25338 ac_ext=cpp
25339 ac_cpp='$CXXCPP $CPPFLAGS'
25340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25345 /* end confdefs.h. */
25346 #include <math.h>
25348 main ()
25350 sincosf(0, 0, 0);
25352 return 0;
25354 _ACEOF
25355 if ac_fn_cxx_try_compile "$LINENO"; then :
25356 glibcxx_cv_func_sincosf_use=yes
25357 else
25358 glibcxx_cv_func_sincosf_use=no
25360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25361 ac_ext=c
25362 ac_cpp='$CPP $CPPFLAGS'
25363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25372 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25374 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25375 for ac_func in sincosf
25376 do :
25377 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25378 if test "x$ac_cv_func_sincosf" = xyes; then :
25379 cat >>confdefs.h <<_ACEOF
25380 #define HAVE_SINCOSF 1
25381 _ACEOF
25384 done
25386 else
25388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25389 $as_echo_n "checking for _sincosf declaration... " >&6; }
25390 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25391 if ${glibcxx_cv_func__sincosf_use+:} false; then :
25392 $as_echo_n "(cached) " >&6
25393 else
25396 ac_ext=cpp
25397 ac_cpp='$CXXCPP $CPPFLAGS'
25398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25403 /* end confdefs.h. */
25404 #include <math.h>
25406 main ()
25408 _sincosf(0, 0, 0);
25410 return 0;
25412 _ACEOF
25413 if ac_fn_cxx_try_compile "$LINENO"; then :
25414 glibcxx_cv_func__sincosf_use=yes
25415 else
25416 glibcxx_cv_func__sincosf_use=no
25418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25419 ac_ext=c
25420 ac_cpp='$CPP $CPPFLAGS'
25421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25430 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25432 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25433 for ac_func in _sincosf
25434 do :
25435 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25436 if test "x$ac_cv_func__sincosf" = xyes; then :
25437 cat >>confdefs.h <<_ACEOF
25438 #define HAVE__SINCOSF 1
25439 _ACEOF
25442 done
25451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25452 $as_echo_n "checking for finitef declaration... " >&6; }
25453 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25454 if ${glibcxx_cv_func_finitef_use+:} false; then :
25455 $as_echo_n "(cached) " >&6
25456 else
25459 ac_ext=cpp
25460 ac_cpp='$CXXCPP $CPPFLAGS'
25461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25466 /* end confdefs.h. */
25467 #include <math.h>
25468 #ifdef HAVE_IEEEFP_H
25469 #include <ieeefp.h>
25470 #endif
25473 main ()
25475 finitef(0);
25477 return 0;
25479 _ACEOF
25480 if ac_fn_cxx_try_compile "$LINENO"; then :
25481 glibcxx_cv_func_finitef_use=yes
25482 else
25483 glibcxx_cv_func_finitef_use=no
25485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25486 ac_ext=c
25487 ac_cpp='$CPP $CPPFLAGS'
25488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25497 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25499 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25500 for ac_func in finitef
25501 do :
25502 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25503 if test "x$ac_cv_func_finitef" = xyes; then :
25504 cat >>confdefs.h <<_ACEOF
25505 #define HAVE_FINITEF 1
25506 _ACEOF
25509 done
25511 else
25513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25514 $as_echo_n "checking for _finitef declaration... " >&6; }
25515 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25516 if ${glibcxx_cv_func__finitef_use+:} false; then :
25517 $as_echo_n "(cached) " >&6
25518 else
25521 ac_ext=cpp
25522 ac_cpp='$CXXCPP $CPPFLAGS'
25523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25528 /* end confdefs.h. */
25529 #include <math.h>
25530 #ifdef HAVE_IEEEFP_H
25531 #include <ieeefp.h>
25532 #endif
25535 main ()
25537 _finitef(0);
25539 return 0;
25541 _ACEOF
25542 if ac_fn_cxx_try_compile "$LINENO"; then :
25543 glibcxx_cv_func__finitef_use=yes
25544 else
25545 glibcxx_cv_func__finitef_use=no
25547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25548 ac_ext=c
25549 ac_cpp='$CPP $CPPFLAGS'
25550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25559 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25561 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25562 for ac_func in _finitef
25563 do :
25564 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25565 if test "x$ac_cv_func__finitef" = xyes; then :
25566 cat >>confdefs.h <<_ACEOF
25567 #define HAVE__FINITEF 1
25568 _ACEOF
25571 done
25580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25581 $as_echo_n "checking for long double trig functions... " >&6; }
25582 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
25583 $as_echo_n "(cached) " >&6
25584 else
25587 ac_ext=cpp
25588 ac_cpp='$CXXCPP $CPPFLAGS'
25589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25594 /* end confdefs.h. */
25595 #include <math.h>
25597 main ()
25599 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25601 return 0;
25603 _ACEOF
25604 if ac_fn_cxx_try_compile "$LINENO"; then :
25605 glibcxx_cv_func_long_double_trig_use=yes
25606 else
25607 glibcxx_cv_func_long_double_trig_use=no
25609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25610 ac_ext=c
25611 ac_cpp='$CPP $CPPFLAGS'
25612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25619 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25620 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25621 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25622 do :
25623 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25624 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25625 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25626 cat >>confdefs.h <<_ACEOF
25627 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25628 _ACEOF
25631 done
25633 else
25634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25635 $as_echo_n "checking for _long double trig functions... " >&6; }
25636 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
25637 $as_echo_n "(cached) " >&6
25638 else
25641 ac_ext=cpp
25642 ac_cpp='$CXXCPP $CPPFLAGS'
25643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25648 /* end confdefs.h. */
25649 #include <math.h>
25651 main ()
25653 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25655 return 0;
25657 _ACEOF
25658 if ac_fn_cxx_try_compile "$LINENO"; then :
25659 glibcxx_cv_func__long_double_trig_use=yes
25660 else
25661 glibcxx_cv_func__long_double_trig_use=no
25663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25664 ac_ext=c
25665 ac_cpp='$CPP $CPPFLAGS'
25666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25673 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25674 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25675 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25676 do :
25677 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25678 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25679 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25680 cat >>confdefs.h <<_ACEOF
25681 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25682 _ACEOF
25685 done
25694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25695 $as_echo_n "checking for long double round functions... " >&6; }
25696 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
25697 $as_echo_n "(cached) " >&6
25698 else
25701 ac_ext=cpp
25702 ac_cpp='$CXXCPP $CPPFLAGS'
25703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25708 /* end confdefs.h. */
25709 #include <math.h>
25711 main ()
25713 ceill (0); floorl (0);
25715 return 0;
25717 _ACEOF
25718 if ac_fn_cxx_try_compile "$LINENO"; then :
25719 glibcxx_cv_func_long_double_round_use=yes
25720 else
25721 glibcxx_cv_func_long_double_round_use=no
25723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25724 ac_ext=c
25725 ac_cpp='$CPP $CPPFLAGS'
25726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25733 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25734 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25735 for ac_func in ceill floorl
25736 do :
25737 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25738 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25739 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25740 cat >>confdefs.h <<_ACEOF
25741 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25742 _ACEOF
25745 done
25747 else
25748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25749 $as_echo_n "checking for _long double round functions... " >&6; }
25750 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
25751 $as_echo_n "(cached) " >&6
25752 else
25755 ac_ext=cpp
25756 ac_cpp='$CXXCPP $CPPFLAGS'
25757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25762 /* end confdefs.h. */
25763 #include <math.h>
25765 main ()
25767 _ceill (0); _floorl (0);
25769 return 0;
25771 _ACEOF
25772 if ac_fn_cxx_try_compile "$LINENO"; then :
25773 glibcxx_cv_func__long_double_round_use=yes
25774 else
25775 glibcxx_cv_func__long_double_round_use=no
25777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25778 ac_ext=c
25779 ac_cpp='$CPP $CPPFLAGS'
25780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25787 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25788 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25789 for ac_func in _ceill _floorl
25790 do :
25791 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25792 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25793 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25794 cat >>confdefs.h <<_ACEOF
25795 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25796 _ACEOF
25799 done
25809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25810 $as_echo_n "checking for isnanl declaration... " >&6; }
25811 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25812 if ${glibcxx_cv_func_isnanl_use+:} false; then :
25813 $as_echo_n "(cached) " >&6
25814 else
25817 ac_ext=cpp
25818 ac_cpp='$CXXCPP $CPPFLAGS'
25819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25824 /* end confdefs.h. */
25825 #include <math.h>
25826 #ifdef HAVE_IEEEFP_H
25827 #include <ieeefp.h>
25828 #endif
25831 main ()
25833 isnanl(0);
25835 return 0;
25837 _ACEOF
25838 if ac_fn_cxx_try_compile "$LINENO"; then :
25839 glibcxx_cv_func_isnanl_use=yes
25840 else
25841 glibcxx_cv_func_isnanl_use=no
25843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25844 ac_ext=c
25845 ac_cpp='$CPP $CPPFLAGS'
25846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25855 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25857 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25858 for ac_func in isnanl
25859 do :
25860 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25861 if test "x$ac_cv_func_isnanl" = xyes; then :
25862 cat >>confdefs.h <<_ACEOF
25863 #define HAVE_ISNANL 1
25864 _ACEOF
25867 done
25869 else
25871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25872 $as_echo_n "checking for _isnanl declaration... " >&6; }
25873 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25874 if ${glibcxx_cv_func__isnanl_use+:} false; then :
25875 $as_echo_n "(cached) " >&6
25876 else
25879 ac_ext=cpp
25880 ac_cpp='$CXXCPP $CPPFLAGS'
25881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25886 /* end confdefs.h. */
25887 #include <math.h>
25888 #ifdef HAVE_IEEEFP_H
25889 #include <ieeefp.h>
25890 #endif
25893 main ()
25895 _isnanl(0);
25897 return 0;
25899 _ACEOF
25900 if ac_fn_cxx_try_compile "$LINENO"; then :
25901 glibcxx_cv_func__isnanl_use=yes
25902 else
25903 glibcxx_cv_func__isnanl_use=no
25905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25906 ac_ext=c
25907 ac_cpp='$CPP $CPPFLAGS'
25908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
25917 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
25919 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
25920 for ac_func in _isnanl
25921 do :
25922 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
25923 if test "x$ac_cv_func__isnanl" = xyes; then :
25924 cat >>confdefs.h <<_ACEOF
25925 #define HAVE__ISNANL 1
25926 _ACEOF
25929 done
25938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
25939 $as_echo_n "checking for isinfl declaration... " >&6; }
25940 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
25941 if ${glibcxx_cv_func_isinfl_use+:} false; then :
25942 $as_echo_n "(cached) " >&6
25943 else
25946 ac_ext=cpp
25947 ac_cpp='$CXXCPP $CPPFLAGS'
25948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25953 /* end confdefs.h. */
25954 #include <math.h>
25955 #ifdef HAVE_IEEEFP_H
25956 #include <ieeefp.h>
25957 #endif
25960 main ()
25962 isinfl(0);
25964 return 0;
25966 _ACEOF
25967 if ac_fn_cxx_try_compile "$LINENO"; then :
25968 glibcxx_cv_func_isinfl_use=yes
25969 else
25970 glibcxx_cv_func_isinfl_use=no
25972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25973 ac_ext=c
25974 ac_cpp='$CPP $CPPFLAGS'
25975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
25984 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
25986 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
25987 for ac_func in isinfl
25988 do :
25989 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
25990 if test "x$ac_cv_func_isinfl" = xyes; then :
25991 cat >>confdefs.h <<_ACEOF
25992 #define HAVE_ISINFL 1
25993 _ACEOF
25996 done
25998 else
26000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
26001 $as_echo_n "checking for _isinfl declaration... " >&6; }
26002 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
26003 if ${glibcxx_cv_func__isinfl_use+:} false; then :
26004 $as_echo_n "(cached) " >&6
26005 else
26008 ac_ext=cpp
26009 ac_cpp='$CXXCPP $CPPFLAGS'
26010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26015 /* end confdefs.h. */
26016 #include <math.h>
26017 #ifdef HAVE_IEEEFP_H
26018 #include <ieeefp.h>
26019 #endif
26022 main ()
26024 _isinfl(0);
26026 return 0;
26028 _ACEOF
26029 if ac_fn_cxx_try_compile "$LINENO"; then :
26030 glibcxx_cv_func__isinfl_use=yes
26031 else
26032 glibcxx_cv_func__isinfl_use=no
26034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26035 ac_ext=c
26036 ac_cpp='$CPP $CPPFLAGS'
26037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
26046 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
26048 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
26049 for ac_func in _isinfl
26050 do :
26051 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
26052 if test "x$ac_cv_func__isinfl" = xyes; then :
26053 cat >>confdefs.h <<_ACEOF
26054 #define HAVE__ISINFL 1
26055 _ACEOF
26058 done
26067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
26068 $as_echo_n "checking for atan2l declaration... " >&6; }
26069 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
26070 if ${glibcxx_cv_func_atan2l_use+:} false; then :
26071 $as_echo_n "(cached) " >&6
26072 else
26075 ac_ext=cpp
26076 ac_cpp='$CXXCPP $CPPFLAGS'
26077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26082 /* end confdefs.h. */
26083 #include <math.h>
26085 main ()
26087 atan2l(0, 0);
26089 return 0;
26091 _ACEOF
26092 if ac_fn_cxx_try_compile "$LINENO"; then :
26093 glibcxx_cv_func_atan2l_use=yes
26094 else
26095 glibcxx_cv_func_atan2l_use=no
26097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26098 ac_ext=c
26099 ac_cpp='$CPP $CPPFLAGS'
26100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
26109 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
26111 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
26112 for ac_func in atan2l
26113 do :
26114 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
26115 if test "x$ac_cv_func_atan2l" = xyes; then :
26116 cat >>confdefs.h <<_ACEOF
26117 #define HAVE_ATAN2L 1
26118 _ACEOF
26121 done
26123 else
26125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
26126 $as_echo_n "checking for _atan2l declaration... " >&6; }
26127 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
26128 if ${glibcxx_cv_func__atan2l_use+:} false; then :
26129 $as_echo_n "(cached) " >&6
26130 else
26133 ac_ext=cpp
26134 ac_cpp='$CXXCPP $CPPFLAGS'
26135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26140 /* end confdefs.h. */
26141 #include <math.h>
26143 main ()
26145 _atan2l(0, 0);
26147 return 0;
26149 _ACEOF
26150 if ac_fn_cxx_try_compile "$LINENO"; then :
26151 glibcxx_cv_func__atan2l_use=yes
26152 else
26153 glibcxx_cv_func__atan2l_use=no
26155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26156 ac_ext=c
26157 ac_cpp='$CPP $CPPFLAGS'
26158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
26167 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
26169 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
26170 for ac_func in _atan2l
26171 do :
26172 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
26173 if test "x$ac_cv_func__atan2l" = xyes; then :
26174 cat >>confdefs.h <<_ACEOF
26175 #define HAVE__ATAN2L 1
26176 _ACEOF
26179 done
26188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
26189 $as_echo_n "checking for expl declaration... " >&6; }
26190 if test x${glibcxx_cv_func_expl_use+set} != xset; then
26191 if ${glibcxx_cv_func_expl_use+:} false; then :
26192 $as_echo_n "(cached) " >&6
26193 else
26196 ac_ext=cpp
26197 ac_cpp='$CXXCPP $CPPFLAGS'
26198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26203 /* end confdefs.h. */
26204 #include <math.h>
26205 #ifdef HAVE_IEEEFP_H
26206 #include <ieeefp.h>
26207 #endif
26210 main ()
26212 expl(0);
26214 return 0;
26216 _ACEOF
26217 if ac_fn_cxx_try_compile "$LINENO"; then :
26218 glibcxx_cv_func_expl_use=yes
26219 else
26220 glibcxx_cv_func_expl_use=no
26222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26223 ac_ext=c
26224 ac_cpp='$CPP $CPPFLAGS'
26225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26234 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26236 if test x$glibcxx_cv_func_expl_use = x"yes"; then
26237 for ac_func in expl
26238 do :
26239 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26240 if test "x$ac_cv_func_expl" = xyes; then :
26241 cat >>confdefs.h <<_ACEOF
26242 #define HAVE_EXPL 1
26243 _ACEOF
26246 done
26248 else
26250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26251 $as_echo_n "checking for _expl declaration... " >&6; }
26252 if test x${glibcxx_cv_func__expl_use+set} != xset; then
26253 if ${glibcxx_cv_func__expl_use+:} false; then :
26254 $as_echo_n "(cached) " >&6
26255 else
26258 ac_ext=cpp
26259 ac_cpp='$CXXCPP $CPPFLAGS'
26260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26265 /* end confdefs.h. */
26266 #include <math.h>
26267 #ifdef HAVE_IEEEFP_H
26268 #include <ieeefp.h>
26269 #endif
26272 main ()
26274 _expl(0);
26276 return 0;
26278 _ACEOF
26279 if ac_fn_cxx_try_compile "$LINENO"; then :
26280 glibcxx_cv_func__expl_use=yes
26281 else
26282 glibcxx_cv_func__expl_use=no
26284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26285 ac_ext=c
26286 ac_cpp='$CPP $CPPFLAGS'
26287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26296 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26298 if test x$glibcxx_cv_func__expl_use = x"yes"; then
26299 for ac_func in _expl
26300 do :
26301 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26302 if test "x$ac_cv_func__expl" = xyes; then :
26303 cat >>confdefs.h <<_ACEOF
26304 #define HAVE__EXPL 1
26305 _ACEOF
26308 done
26317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26318 $as_echo_n "checking for fabsl declaration... " >&6; }
26319 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26320 if ${glibcxx_cv_func_fabsl_use+:} false; then :
26321 $as_echo_n "(cached) " >&6
26322 else
26325 ac_ext=cpp
26326 ac_cpp='$CXXCPP $CPPFLAGS'
26327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26332 /* end confdefs.h. */
26333 #include <math.h>
26334 #ifdef HAVE_IEEEFP_H
26335 #include <ieeefp.h>
26336 #endif
26339 main ()
26341 fabsl(0);
26343 return 0;
26345 _ACEOF
26346 if ac_fn_cxx_try_compile "$LINENO"; then :
26347 glibcxx_cv_func_fabsl_use=yes
26348 else
26349 glibcxx_cv_func_fabsl_use=no
26351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26352 ac_ext=c
26353 ac_cpp='$CPP $CPPFLAGS'
26354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26363 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26365 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26366 for ac_func in fabsl
26367 do :
26368 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26369 if test "x$ac_cv_func_fabsl" = xyes; then :
26370 cat >>confdefs.h <<_ACEOF
26371 #define HAVE_FABSL 1
26372 _ACEOF
26375 done
26377 else
26379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26380 $as_echo_n "checking for _fabsl declaration... " >&6; }
26381 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26382 if ${glibcxx_cv_func__fabsl_use+:} false; then :
26383 $as_echo_n "(cached) " >&6
26384 else
26387 ac_ext=cpp
26388 ac_cpp='$CXXCPP $CPPFLAGS'
26389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26394 /* end confdefs.h. */
26395 #include <math.h>
26396 #ifdef HAVE_IEEEFP_H
26397 #include <ieeefp.h>
26398 #endif
26401 main ()
26403 _fabsl(0);
26405 return 0;
26407 _ACEOF
26408 if ac_fn_cxx_try_compile "$LINENO"; then :
26409 glibcxx_cv_func__fabsl_use=yes
26410 else
26411 glibcxx_cv_func__fabsl_use=no
26413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26414 ac_ext=c
26415 ac_cpp='$CPP $CPPFLAGS'
26416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26425 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26427 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26428 for ac_func in _fabsl
26429 do :
26430 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26431 if test "x$ac_cv_func__fabsl" = xyes; then :
26432 cat >>confdefs.h <<_ACEOF
26433 #define HAVE__FABSL 1
26434 _ACEOF
26437 done
26446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26447 $as_echo_n "checking for fmodl declaration... " >&6; }
26448 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26449 if ${glibcxx_cv_func_fmodl_use+:} false; then :
26450 $as_echo_n "(cached) " >&6
26451 else
26454 ac_ext=cpp
26455 ac_cpp='$CXXCPP $CPPFLAGS'
26456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26461 /* end confdefs.h. */
26462 #include <math.h>
26464 main ()
26466 fmodl(0, 0);
26468 return 0;
26470 _ACEOF
26471 if ac_fn_cxx_try_compile "$LINENO"; then :
26472 glibcxx_cv_func_fmodl_use=yes
26473 else
26474 glibcxx_cv_func_fmodl_use=no
26476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26477 ac_ext=c
26478 ac_cpp='$CPP $CPPFLAGS'
26479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26488 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26490 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26491 for ac_func in fmodl
26492 do :
26493 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26494 if test "x$ac_cv_func_fmodl" = xyes; then :
26495 cat >>confdefs.h <<_ACEOF
26496 #define HAVE_FMODL 1
26497 _ACEOF
26500 done
26502 else
26504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26505 $as_echo_n "checking for _fmodl declaration... " >&6; }
26506 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26507 if ${glibcxx_cv_func__fmodl_use+:} false; then :
26508 $as_echo_n "(cached) " >&6
26509 else
26512 ac_ext=cpp
26513 ac_cpp='$CXXCPP $CPPFLAGS'
26514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26519 /* end confdefs.h. */
26520 #include <math.h>
26522 main ()
26524 _fmodl(0, 0);
26526 return 0;
26528 _ACEOF
26529 if ac_fn_cxx_try_compile "$LINENO"; then :
26530 glibcxx_cv_func__fmodl_use=yes
26531 else
26532 glibcxx_cv_func__fmodl_use=no
26534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26535 ac_ext=c
26536 ac_cpp='$CPP $CPPFLAGS'
26537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26546 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26548 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26549 for ac_func in _fmodl
26550 do :
26551 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26552 if test "x$ac_cv_func__fmodl" = xyes; then :
26553 cat >>confdefs.h <<_ACEOF
26554 #define HAVE__FMODL 1
26555 _ACEOF
26558 done
26567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26568 $as_echo_n "checking for frexpl declaration... " >&6; }
26569 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26570 if ${glibcxx_cv_func_frexpl_use+:} false; then :
26571 $as_echo_n "(cached) " >&6
26572 else
26575 ac_ext=cpp
26576 ac_cpp='$CXXCPP $CPPFLAGS'
26577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26582 /* end confdefs.h. */
26583 #include <math.h>
26585 main ()
26587 frexpl(0, 0);
26589 return 0;
26591 _ACEOF
26592 if ac_fn_cxx_try_compile "$LINENO"; then :
26593 glibcxx_cv_func_frexpl_use=yes
26594 else
26595 glibcxx_cv_func_frexpl_use=no
26597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26598 ac_ext=c
26599 ac_cpp='$CPP $CPPFLAGS'
26600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26609 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26611 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26612 for ac_func in frexpl
26613 do :
26614 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26615 if test "x$ac_cv_func_frexpl" = xyes; then :
26616 cat >>confdefs.h <<_ACEOF
26617 #define HAVE_FREXPL 1
26618 _ACEOF
26621 done
26623 else
26625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26626 $as_echo_n "checking for _frexpl declaration... " >&6; }
26627 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26628 if ${glibcxx_cv_func__frexpl_use+:} false; then :
26629 $as_echo_n "(cached) " >&6
26630 else
26633 ac_ext=cpp
26634 ac_cpp='$CXXCPP $CPPFLAGS'
26635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26640 /* end confdefs.h. */
26641 #include <math.h>
26643 main ()
26645 _frexpl(0, 0);
26647 return 0;
26649 _ACEOF
26650 if ac_fn_cxx_try_compile "$LINENO"; then :
26651 glibcxx_cv_func__frexpl_use=yes
26652 else
26653 glibcxx_cv_func__frexpl_use=no
26655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26656 ac_ext=c
26657 ac_cpp='$CPP $CPPFLAGS'
26658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26667 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26669 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26670 for ac_func in _frexpl
26671 do :
26672 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26673 if test "x$ac_cv_func__frexpl" = xyes; then :
26674 cat >>confdefs.h <<_ACEOF
26675 #define HAVE__FREXPL 1
26676 _ACEOF
26679 done
26688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26689 $as_echo_n "checking for hypotl declaration... " >&6; }
26690 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26691 if ${glibcxx_cv_func_hypotl_use+:} false; then :
26692 $as_echo_n "(cached) " >&6
26693 else
26696 ac_ext=cpp
26697 ac_cpp='$CXXCPP $CPPFLAGS'
26698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26703 /* end confdefs.h. */
26704 #include <math.h>
26706 main ()
26708 hypotl(0, 0);
26710 return 0;
26712 _ACEOF
26713 if ac_fn_cxx_try_compile "$LINENO"; then :
26714 glibcxx_cv_func_hypotl_use=yes
26715 else
26716 glibcxx_cv_func_hypotl_use=no
26718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26719 ac_ext=c
26720 ac_cpp='$CPP $CPPFLAGS'
26721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26730 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26732 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26733 for ac_func in hypotl
26734 do :
26735 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26736 if test "x$ac_cv_func_hypotl" = xyes; then :
26737 cat >>confdefs.h <<_ACEOF
26738 #define HAVE_HYPOTL 1
26739 _ACEOF
26742 done
26744 else
26746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26747 $as_echo_n "checking for _hypotl declaration... " >&6; }
26748 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26749 if ${glibcxx_cv_func__hypotl_use+:} false; then :
26750 $as_echo_n "(cached) " >&6
26751 else
26754 ac_ext=cpp
26755 ac_cpp='$CXXCPP $CPPFLAGS'
26756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26761 /* end confdefs.h. */
26762 #include <math.h>
26764 main ()
26766 _hypotl(0, 0);
26768 return 0;
26770 _ACEOF
26771 if ac_fn_cxx_try_compile "$LINENO"; then :
26772 glibcxx_cv_func__hypotl_use=yes
26773 else
26774 glibcxx_cv_func__hypotl_use=no
26776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26777 ac_ext=c
26778 ac_cpp='$CPP $CPPFLAGS'
26779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26788 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26790 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26791 for ac_func in _hypotl
26792 do :
26793 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26794 if test "x$ac_cv_func__hypotl" = xyes; then :
26795 cat >>confdefs.h <<_ACEOF
26796 #define HAVE__HYPOTL 1
26797 _ACEOF
26800 done
26809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26810 $as_echo_n "checking for ldexpl declaration... " >&6; }
26811 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26812 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
26813 $as_echo_n "(cached) " >&6
26814 else
26817 ac_ext=cpp
26818 ac_cpp='$CXXCPP $CPPFLAGS'
26819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26824 /* end confdefs.h. */
26825 #include <math.h>
26827 main ()
26829 ldexpl(0, 0);
26831 return 0;
26833 _ACEOF
26834 if ac_fn_cxx_try_compile "$LINENO"; then :
26835 glibcxx_cv_func_ldexpl_use=yes
26836 else
26837 glibcxx_cv_func_ldexpl_use=no
26839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26840 ac_ext=c
26841 ac_cpp='$CPP $CPPFLAGS'
26842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26851 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26853 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26854 for ac_func in ldexpl
26855 do :
26856 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26857 if test "x$ac_cv_func_ldexpl" = xyes; then :
26858 cat >>confdefs.h <<_ACEOF
26859 #define HAVE_LDEXPL 1
26860 _ACEOF
26863 done
26865 else
26867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26868 $as_echo_n "checking for _ldexpl declaration... " >&6; }
26869 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26870 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
26871 $as_echo_n "(cached) " >&6
26872 else
26875 ac_ext=cpp
26876 ac_cpp='$CXXCPP $CPPFLAGS'
26877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26882 /* end confdefs.h. */
26883 #include <math.h>
26885 main ()
26887 _ldexpl(0, 0);
26889 return 0;
26891 _ACEOF
26892 if ac_fn_cxx_try_compile "$LINENO"; then :
26893 glibcxx_cv_func__ldexpl_use=yes
26894 else
26895 glibcxx_cv_func__ldexpl_use=no
26897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26898 ac_ext=c
26899 ac_cpp='$CPP $CPPFLAGS'
26900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
26909 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
26911 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
26912 for ac_func in _ldexpl
26913 do :
26914 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
26915 if test "x$ac_cv_func__ldexpl" = xyes; then :
26916 cat >>confdefs.h <<_ACEOF
26917 #define HAVE__LDEXPL 1
26918 _ACEOF
26921 done
26930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
26931 $as_echo_n "checking for logl declaration... " >&6; }
26932 if test x${glibcxx_cv_func_logl_use+set} != xset; then
26933 if ${glibcxx_cv_func_logl_use+:} false; then :
26934 $as_echo_n "(cached) " >&6
26935 else
26938 ac_ext=cpp
26939 ac_cpp='$CXXCPP $CPPFLAGS'
26940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26945 /* end confdefs.h. */
26946 #include <math.h>
26947 #ifdef HAVE_IEEEFP_H
26948 #include <ieeefp.h>
26949 #endif
26952 main ()
26954 logl(0);
26956 return 0;
26958 _ACEOF
26959 if ac_fn_cxx_try_compile "$LINENO"; then :
26960 glibcxx_cv_func_logl_use=yes
26961 else
26962 glibcxx_cv_func_logl_use=no
26964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26965 ac_ext=c
26966 ac_cpp='$CPP $CPPFLAGS'
26967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
26976 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
26978 if test x$glibcxx_cv_func_logl_use = x"yes"; then
26979 for ac_func in logl
26980 do :
26981 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
26982 if test "x$ac_cv_func_logl" = xyes; then :
26983 cat >>confdefs.h <<_ACEOF
26984 #define HAVE_LOGL 1
26985 _ACEOF
26988 done
26990 else
26992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
26993 $as_echo_n "checking for _logl declaration... " >&6; }
26994 if test x${glibcxx_cv_func__logl_use+set} != xset; then
26995 if ${glibcxx_cv_func__logl_use+:} false; then :
26996 $as_echo_n "(cached) " >&6
26997 else
27000 ac_ext=cpp
27001 ac_cpp='$CXXCPP $CPPFLAGS'
27002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27007 /* end confdefs.h. */
27008 #include <math.h>
27009 #ifdef HAVE_IEEEFP_H
27010 #include <ieeefp.h>
27011 #endif
27014 main ()
27016 _logl(0);
27018 return 0;
27020 _ACEOF
27021 if ac_fn_cxx_try_compile "$LINENO"; then :
27022 glibcxx_cv_func__logl_use=yes
27023 else
27024 glibcxx_cv_func__logl_use=no
27026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27027 ac_ext=c
27028 ac_cpp='$CPP $CPPFLAGS'
27029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
27038 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
27040 if test x$glibcxx_cv_func__logl_use = x"yes"; then
27041 for ac_func in _logl
27042 do :
27043 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
27044 if test "x$ac_cv_func__logl" = xyes; then :
27045 cat >>confdefs.h <<_ACEOF
27046 #define HAVE__LOGL 1
27047 _ACEOF
27050 done
27059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
27060 $as_echo_n "checking for log10l declaration... " >&6; }
27061 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
27062 if ${glibcxx_cv_func_log10l_use+:} false; then :
27063 $as_echo_n "(cached) " >&6
27064 else
27067 ac_ext=cpp
27068 ac_cpp='$CXXCPP $CPPFLAGS'
27069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27074 /* end confdefs.h. */
27075 #include <math.h>
27076 #ifdef HAVE_IEEEFP_H
27077 #include <ieeefp.h>
27078 #endif
27081 main ()
27083 log10l(0);
27085 return 0;
27087 _ACEOF
27088 if ac_fn_cxx_try_compile "$LINENO"; then :
27089 glibcxx_cv_func_log10l_use=yes
27090 else
27091 glibcxx_cv_func_log10l_use=no
27093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27094 ac_ext=c
27095 ac_cpp='$CPP $CPPFLAGS'
27096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
27105 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
27107 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
27108 for ac_func in log10l
27109 do :
27110 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
27111 if test "x$ac_cv_func_log10l" = xyes; then :
27112 cat >>confdefs.h <<_ACEOF
27113 #define HAVE_LOG10L 1
27114 _ACEOF
27117 done
27119 else
27121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
27122 $as_echo_n "checking for _log10l declaration... " >&6; }
27123 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
27124 if ${glibcxx_cv_func__log10l_use+:} false; then :
27125 $as_echo_n "(cached) " >&6
27126 else
27129 ac_ext=cpp
27130 ac_cpp='$CXXCPP $CPPFLAGS'
27131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27136 /* end confdefs.h. */
27137 #include <math.h>
27138 #ifdef HAVE_IEEEFP_H
27139 #include <ieeefp.h>
27140 #endif
27143 main ()
27145 _log10l(0);
27147 return 0;
27149 _ACEOF
27150 if ac_fn_cxx_try_compile "$LINENO"; then :
27151 glibcxx_cv_func__log10l_use=yes
27152 else
27153 glibcxx_cv_func__log10l_use=no
27155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27156 ac_ext=c
27157 ac_cpp='$CPP $CPPFLAGS'
27158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
27167 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
27169 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
27170 for ac_func in _log10l
27171 do :
27172 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
27173 if test "x$ac_cv_func__log10l" = xyes; then :
27174 cat >>confdefs.h <<_ACEOF
27175 #define HAVE__LOG10L 1
27176 _ACEOF
27179 done
27188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
27189 $as_echo_n "checking for modfl declaration... " >&6; }
27190 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
27191 if ${glibcxx_cv_func_modfl_use+:} false; then :
27192 $as_echo_n "(cached) " >&6
27193 else
27196 ac_ext=cpp
27197 ac_cpp='$CXXCPP $CPPFLAGS'
27198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27203 /* end confdefs.h. */
27204 #include <math.h>
27206 main ()
27208 modfl(0, 0);
27210 return 0;
27212 _ACEOF
27213 if ac_fn_cxx_try_compile "$LINENO"; then :
27214 glibcxx_cv_func_modfl_use=yes
27215 else
27216 glibcxx_cv_func_modfl_use=no
27218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27219 ac_ext=c
27220 ac_cpp='$CPP $CPPFLAGS'
27221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27230 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27232 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27233 for ac_func in modfl
27234 do :
27235 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27236 if test "x$ac_cv_func_modfl" = xyes; then :
27237 cat >>confdefs.h <<_ACEOF
27238 #define HAVE_MODFL 1
27239 _ACEOF
27242 done
27244 else
27246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27247 $as_echo_n "checking for _modfl declaration... " >&6; }
27248 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27249 if ${glibcxx_cv_func__modfl_use+:} false; then :
27250 $as_echo_n "(cached) " >&6
27251 else
27254 ac_ext=cpp
27255 ac_cpp='$CXXCPP $CPPFLAGS'
27256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27261 /* end confdefs.h. */
27262 #include <math.h>
27264 main ()
27266 _modfl(0, 0);
27268 return 0;
27270 _ACEOF
27271 if ac_fn_cxx_try_compile "$LINENO"; then :
27272 glibcxx_cv_func__modfl_use=yes
27273 else
27274 glibcxx_cv_func__modfl_use=no
27276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27277 ac_ext=c
27278 ac_cpp='$CPP $CPPFLAGS'
27279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27288 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27290 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27291 for ac_func in _modfl
27292 do :
27293 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27294 if test "x$ac_cv_func__modfl" = xyes; then :
27295 cat >>confdefs.h <<_ACEOF
27296 #define HAVE__MODFL 1
27297 _ACEOF
27300 done
27309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27310 $as_echo_n "checking for powl declaration... " >&6; }
27311 if test x${glibcxx_cv_func_powl_use+set} != xset; then
27312 if ${glibcxx_cv_func_powl_use+:} false; then :
27313 $as_echo_n "(cached) " >&6
27314 else
27317 ac_ext=cpp
27318 ac_cpp='$CXXCPP $CPPFLAGS'
27319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27324 /* end confdefs.h. */
27325 #include <math.h>
27327 main ()
27329 powl(0, 0);
27331 return 0;
27333 _ACEOF
27334 if ac_fn_cxx_try_compile "$LINENO"; then :
27335 glibcxx_cv_func_powl_use=yes
27336 else
27337 glibcxx_cv_func_powl_use=no
27339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27340 ac_ext=c
27341 ac_cpp='$CPP $CPPFLAGS'
27342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27351 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27353 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27354 for ac_func in powl
27355 do :
27356 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27357 if test "x$ac_cv_func_powl" = xyes; then :
27358 cat >>confdefs.h <<_ACEOF
27359 #define HAVE_POWL 1
27360 _ACEOF
27363 done
27365 else
27367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27368 $as_echo_n "checking for _powl declaration... " >&6; }
27369 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27370 if ${glibcxx_cv_func__powl_use+:} false; then :
27371 $as_echo_n "(cached) " >&6
27372 else
27375 ac_ext=cpp
27376 ac_cpp='$CXXCPP $CPPFLAGS'
27377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27382 /* end confdefs.h. */
27383 #include <math.h>
27385 main ()
27387 _powl(0, 0);
27389 return 0;
27391 _ACEOF
27392 if ac_fn_cxx_try_compile "$LINENO"; then :
27393 glibcxx_cv_func__powl_use=yes
27394 else
27395 glibcxx_cv_func__powl_use=no
27397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27398 ac_ext=c
27399 ac_cpp='$CPP $CPPFLAGS'
27400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27409 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27411 if test x$glibcxx_cv_func__powl_use = x"yes"; then
27412 for ac_func in _powl
27413 do :
27414 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27415 if test "x$ac_cv_func__powl" = xyes; then :
27416 cat >>confdefs.h <<_ACEOF
27417 #define HAVE__POWL 1
27418 _ACEOF
27421 done
27430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27431 $as_echo_n "checking for sqrtl declaration... " >&6; }
27432 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27433 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
27434 $as_echo_n "(cached) " >&6
27435 else
27438 ac_ext=cpp
27439 ac_cpp='$CXXCPP $CPPFLAGS'
27440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27445 /* end confdefs.h. */
27446 #include <math.h>
27447 #ifdef HAVE_IEEEFP_H
27448 #include <ieeefp.h>
27449 #endif
27452 main ()
27454 sqrtl(0);
27456 return 0;
27458 _ACEOF
27459 if ac_fn_cxx_try_compile "$LINENO"; then :
27460 glibcxx_cv_func_sqrtl_use=yes
27461 else
27462 glibcxx_cv_func_sqrtl_use=no
27464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27465 ac_ext=c
27466 ac_cpp='$CPP $CPPFLAGS'
27467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27476 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27478 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27479 for ac_func in sqrtl
27480 do :
27481 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27482 if test "x$ac_cv_func_sqrtl" = xyes; then :
27483 cat >>confdefs.h <<_ACEOF
27484 #define HAVE_SQRTL 1
27485 _ACEOF
27488 done
27490 else
27492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27493 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27494 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27495 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
27496 $as_echo_n "(cached) " >&6
27497 else
27500 ac_ext=cpp
27501 ac_cpp='$CXXCPP $CPPFLAGS'
27502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27507 /* end confdefs.h. */
27508 #include <math.h>
27509 #ifdef HAVE_IEEEFP_H
27510 #include <ieeefp.h>
27511 #endif
27514 main ()
27516 _sqrtl(0);
27518 return 0;
27520 _ACEOF
27521 if ac_fn_cxx_try_compile "$LINENO"; then :
27522 glibcxx_cv_func__sqrtl_use=yes
27523 else
27524 glibcxx_cv_func__sqrtl_use=no
27526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27527 ac_ext=c
27528 ac_cpp='$CPP $CPPFLAGS'
27529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27538 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27540 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27541 for ac_func in _sqrtl
27542 do :
27543 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27544 if test "x$ac_cv_func__sqrtl" = xyes; then :
27545 cat >>confdefs.h <<_ACEOF
27546 #define HAVE__SQRTL 1
27547 _ACEOF
27550 done
27559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27560 $as_echo_n "checking for sincosl declaration... " >&6; }
27561 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27562 if ${glibcxx_cv_func_sincosl_use+:} false; then :
27563 $as_echo_n "(cached) " >&6
27564 else
27567 ac_ext=cpp
27568 ac_cpp='$CXXCPP $CPPFLAGS'
27569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27574 /* end confdefs.h. */
27575 #include <math.h>
27577 main ()
27579 sincosl(0, 0, 0);
27581 return 0;
27583 _ACEOF
27584 if ac_fn_cxx_try_compile "$LINENO"; then :
27585 glibcxx_cv_func_sincosl_use=yes
27586 else
27587 glibcxx_cv_func_sincosl_use=no
27589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27590 ac_ext=c
27591 ac_cpp='$CPP $CPPFLAGS'
27592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27601 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27603 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27604 for ac_func in sincosl
27605 do :
27606 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27607 if test "x$ac_cv_func_sincosl" = xyes; then :
27608 cat >>confdefs.h <<_ACEOF
27609 #define HAVE_SINCOSL 1
27610 _ACEOF
27613 done
27615 else
27617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27618 $as_echo_n "checking for _sincosl declaration... " >&6; }
27619 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27620 if ${glibcxx_cv_func__sincosl_use+:} false; then :
27621 $as_echo_n "(cached) " >&6
27622 else
27625 ac_ext=cpp
27626 ac_cpp='$CXXCPP $CPPFLAGS'
27627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27632 /* end confdefs.h. */
27633 #include <math.h>
27635 main ()
27637 _sincosl(0, 0, 0);
27639 return 0;
27641 _ACEOF
27642 if ac_fn_cxx_try_compile "$LINENO"; then :
27643 glibcxx_cv_func__sincosl_use=yes
27644 else
27645 glibcxx_cv_func__sincosl_use=no
27647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27648 ac_ext=c
27649 ac_cpp='$CPP $CPPFLAGS'
27650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27659 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27661 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27662 for ac_func in _sincosl
27663 do :
27664 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27665 if test "x$ac_cv_func__sincosl" = xyes; then :
27666 cat >>confdefs.h <<_ACEOF
27667 #define HAVE__SINCOSL 1
27668 _ACEOF
27671 done
27680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27681 $as_echo_n "checking for finitel declaration... " >&6; }
27682 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27683 if ${glibcxx_cv_func_finitel_use+:} false; then :
27684 $as_echo_n "(cached) " >&6
27685 else
27688 ac_ext=cpp
27689 ac_cpp='$CXXCPP $CPPFLAGS'
27690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27695 /* end confdefs.h. */
27696 #include <math.h>
27697 #ifdef HAVE_IEEEFP_H
27698 #include <ieeefp.h>
27699 #endif
27702 main ()
27704 finitel(0);
27706 return 0;
27708 _ACEOF
27709 if ac_fn_cxx_try_compile "$LINENO"; then :
27710 glibcxx_cv_func_finitel_use=yes
27711 else
27712 glibcxx_cv_func_finitel_use=no
27714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27715 ac_ext=c
27716 ac_cpp='$CPP $CPPFLAGS'
27717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27726 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27728 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27729 for ac_func in finitel
27730 do :
27731 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27732 if test "x$ac_cv_func_finitel" = xyes; then :
27733 cat >>confdefs.h <<_ACEOF
27734 #define HAVE_FINITEL 1
27735 _ACEOF
27738 done
27740 else
27742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27743 $as_echo_n "checking for _finitel declaration... " >&6; }
27744 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27745 if ${glibcxx_cv_func__finitel_use+:} false; then :
27746 $as_echo_n "(cached) " >&6
27747 else
27750 ac_ext=cpp
27751 ac_cpp='$CXXCPP $CPPFLAGS'
27752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27757 /* end confdefs.h. */
27758 #include <math.h>
27759 #ifdef HAVE_IEEEFP_H
27760 #include <ieeefp.h>
27761 #endif
27764 main ()
27766 _finitel(0);
27768 return 0;
27770 _ACEOF
27771 if ac_fn_cxx_try_compile "$LINENO"; then :
27772 glibcxx_cv_func__finitel_use=yes
27773 else
27774 glibcxx_cv_func__finitel_use=no
27776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27777 ac_ext=c
27778 ac_cpp='$CPP $CPPFLAGS'
27779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27788 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27790 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27791 for ac_func in _finitel
27792 do :
27793 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27794 if test "x$ac_cv_func__finitel" = xyes; then :
27795 cat >>confdefs.h <<_ACEOF
27796 #define HAVE__FINITEL 1
27797 _ACEOF
27800 done
27808 LIBS="$ac_save_LIBS"
27809 CXXFLAGS="$ac_save_CXXFLAGS"
27812 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27813 ac_save_CXXFLAGS="$CXXFLAGS"
27814 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27818 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
27819 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27820 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
27821 $as_echo_n "(cached) " >&6
27822 else
27825 ac_ext=cpp
27826 ac_cpp='$CXXCPP $CPPFLAGS'
27827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27832 /* end confdefs.h. */
27833 #include <stdlib.h>
27835 main ()
27837 at_quick_exit(0);
27839 return 0;
27841 _ACEOF
27842 if ac_fn_cxx_try_compile "$LINENO"; then :
27843 glibcxx_cv_func_at_quick_exit_use=yes
27844 else
27845 glibcxx_cv_func_at_quick_exit_use=no
27847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27848 ac_ext=c
27849 ac_cpp='$CPP $CPPFLAGS'
27850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27859 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27860 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27861 for ac_func in at_quick_exit
27862 do :
27863 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27864 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
27865 cat >>confdefs.h <<_ACEOF
27866 #define HAVE_AT_QUICK_EXIT 1
27867 _ACEOF
27870 done
27875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27876 $as_echo_n "checking for quick_exit declaration... " >&6; }
27877 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27878 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
27879 $as_echo_n "(cached) " >&6
27880 else
27883 ac_ext=cpp
27884 ac_cpp='$CXXCPP $CPPFLAGS'
27885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27890 /* end confdefs.h. */
27891 #include <stdlib.h>
27893 main ()
27895 quick_exit(0);
27897 return 0;
27899 _ACEOF
27900 if ac_fn_cxx_try_compile "$LINENO"; then :
27901 glibcxx_cv_func_quick_exit_use=yes
27902 else
27903 glibcxx_cv_func_quick_exit_use=no
27905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27906 ac_ext=c
27907 ac_cpp='$CPP $CPPFLAGS'
27908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
27917 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
27918 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
27919 for ac_func in quick_exit
27920 do :
27921 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
27922 if test "x$ac_cv_func_quick_exit" = xyes; then :
27923 cat >>confdefs.h <<_ACEOF
27924 #define HAVE_QUICK_EXIT 1
27925 _ACEOF
27928 done
27933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
27934 $as_echo_n "checking for strtold declaration... " >&6; }
27935 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
27936 if ${glibcxx_cv_func_strtold_use+:} false; then :
27937 $as_echo_n "(cached) " >&6
27938 else
27941 ac_ext=cpp
27942 ac_cpp='$CXXCPP $CPPFLAGS'
27943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27948 /* end confdefs.h. */
27949 #include <stdlib.h>
27951 main ()
27953 strtold(0, 0);
27955 return 0;
27957 _ACEOF
27958 if ac_fn_cxx_try_compile "$LINENO"; then :
27959 glibcxx_cv_func_strtold_use=yes
27960 else
27961 glibcxx_cv_func_strtold_use=no
27963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27964 ac_ext=c
27965 ac_cpp='$CPP $CPPFLAGS'
27966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
27975 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
27976 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
27977 for ac_func in strtold
27978 do :
27979 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
27980 if test "x$ac_cv_func_strtold" = xyes; then :
27981 cat >>confdefs.h <<_ACEOF
27982 #define HAVE_STRTOLD 1
27983 _ACEOF
27986 done
27993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
27994 $as_echo_n "checking for strtof declaration... " >&6; }
27995 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
27996 if ${glibcxx_cv_func_strtof_use+:} false; then :
27997 $as_echo_n "(cached) " >&6
27998 else
28001 ac_ext=cpp
28002 ac_cpp='$CXXCPP $CPPFLAGS'
28003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28008 /* end confdefs.h. */
28009 #include <stdlib.h>
28011 main ()
28013 strtof(0, 0);
28015 return 0;
28017 _ACEOF
28018 if ac_fn_cxx_try_compile "$LINENO"; then :
28019 glibcxx_cv_func_strtof_use=yes
28020 else
28021 glibcxx_cv_func_strtof_use=no
28023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28024 ac_ext=c
28025 ac_cpp='$CPP $CPPFLAGS'
28026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
28035 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
28036 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
28037 for ac_func in strtof
28038 do :
28039 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
28040 if test "x$ac_cv_func_strtof" = xyes; then :
28041 cat >>confdefs.h <<_ACEOF
28042 #define HAVE_STRTOF 1
28043 _ACEOF
28046 done
28053 CXXFLAGS="$ac_save_CXXFLAGS"
28056 # For /dev/random and /dev/urandom for std::random_device.
28059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device" >&5
28060 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device... " >&6; }
28061 if ${glibcxx_cv_dev_random+:} false; then :
28062 $as_echo_n "(cached) " >&6
28063 else
28065 if test -r /dev/random && test -r /dev/urandom; then
28066 ## For MSys environment the test above is detected as false-positive
28067 ## on mingw-targets. So disable it explicitly for them.
28068 case ${target_os} in
28069 *mingw*) glibcxx_cv_dev_random=no ;;
28070 *) glibcxx_cv_dev_random=yes ;;
28071 esac
28072 else
28073 glibcxx_cv_dev_random=no;
28077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dev_random" >&5
28078 $as_echo "$glibcxx_cv_dev_random" >&6; }
28080 if test x"$glibcxx_cv_dev_random" = x"yes"; then
28082 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
28085 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
28091 # For TLS support.
28094 # Check whether --enable-tls was given.
28095 if test "${enable_tls+set}" = set; then :
28096 enableval=$enable_tls;
28097 case "$enableval" in
28098 yes|no) ;;
28099 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
28100 esac
28102 else
28103 enable_tls=yes
28107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
28108 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
28109 if ${gcc_cv_have_tls+:} false; then :
28110 $as_echo_n "(cached) " >&6
28111 else
28113 if test "$cross_compiling" = yes; then :
28114 if test x$gcc_no_link = xyes; then
28115 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28118 /* end confdefs.h. */
28119 __thread int a; int b; int main() { return a = b; }
28120 _ACEOF
28121 if ac_fn_c_try_link "$LINENO"; then :
28122 chktls_save_LDFLAGS="$LDFLAGS"
28123 case $host in
28124 *-*-linux* | -*-uclinuxfdpic*)
28125 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
28127 esac
28128 chktls_save_CFLAGS="$CFLAGS"
28129 CFLAGS="-fPIC $CFLAGS"
28130 if test x$gcc_no_link = xyes; then
28131 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28134 /* end confdefs.h. */
28135 int f() { return 0; }
28136 _ACEOF
28137 if ac_fn_c_try_link "$LINENO"; then :
28138 if test x$gcc_no_link = xyes; then
28139 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28142 /* end confdefs.h. */
28143 __thread int a; int b; int f() { return a = b; }
28144 _ACEOF
28145 if ac_fn_c_try_link "$LINENO"; then :
28146 gcc_cv_have_tls=yes
28147 else
28148 gcc_cv_have_tls=no
28150 rm -f core conftest.err conftest.$ac_objext \
28151 conftest$ac_exeext conftest.$ac_ext
28152 else
28153 gcc_cv_have_tls=yes
28155 rm -f core conftest.err conftest.$ac_objext \
28156 conftest$ac_exeext conftest.$ac_ext
28157 CFLAGS="$chktls_save_CFLAGS"
28158 LDFLAGS="$chktls_save_LDFLAGS"
28159 else
28160 gcc_cv_have_tls=no
28162 rm -f core conftest.err conftest.$ac_objext \
28163 conftest$ac_exeext conftest.$ac_ext
28166 else
28167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28168 /* end confdefs.h. */
28169 __thread int a; int b; int main() { return a = b; }
28170 _ACEOF
28171 if ac_fn_c_try_run "$LINENO"; then :
28172 chktls_save_LDFLAGS="$LDFLAGS"
28173 LDFLAGS="-static $LDFLAGS"
28174 if test x$gcc_no_link = xyes; then
28175 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28178 /* end confdefs.h. */
28179 int main() { return 0; }
28180 _ACEOF
28181 if ac_fn_c_try_link "$LINENO"; then :
28182 if test "$cross_compiling" = yes; then :
28183 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28184 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28185 as_fn_error $? "cannot run test program while cross compiling
28186 See \`config.log' for more details" "$LINENO" 5; }
28187 else
28188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28189 /* end confdefs.h. */
28190 __thread int a; int b; int main() { return a = b; }
28191 _ACEOF
28192 if ac_fn_c_try_run "$LINENO"; then :
28193 gcc_cv_have_tls=yes
28194 else
28195 gcc_cv_have_tls=no
28197 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28198 conftest.$ac_objext conftest.beam conftest.$ac_ext
28201 else
28202 gcc_cv_have_tls=yes
28204 rm -f core conftest.err conftest.$ac_objext \
28205 conftest$ac_exeext conftest.$ac_ext
28206 LDFLAGS="$chktls_save_LDFLAGS"
28207 if test $gcc_cv_have_tls = yes; then
28208 chktls_save_CFLAGS="$CFLAGS"
28209 thread_CFLAGS=failed
28210 for flag in '' '-pthread' '-lpthread'; do
28211 CFLAGS="$flag $chktls_save_CFLAGS"
28212 if test x$gcc_no_link = xyes; then
28213 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28216 /* end confdefs.h. */
28217 #include <pthread.h>
28218 void *g(void *d) { return NULL; }
28220 main ()
28222 pthread_t t; pthread_create(&t,NULL,g,NULL);
28224 return 0;
28226 _ACEOF
28227 if ac_fn_c_try_link "$LINENO"; then :
28228 thread_CFLAGS="$flag"
28230 rm -f core conftest.err conftest.$ac_objext \
28231 conftest$ac_exeext conftest.$ac_ext
28232 if test "X$thread_CFLAGS" != Xfailed; then
28233 break
28235 done
28236 CFLAGS="$chktls_save_CFLAGS"
28237 if test "X$thread_CFLAGS" != Xfailed; then
28238 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28239 if test "$cross_compiling" = yes; then :
28240 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28241 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28242 as_fn_error $? "cannot run test program while cross compiling
28243 See \`config.log' for more details" "$LINENO" 5; }
28244 else
28245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28246 /* end confdefs.h. */
28247 #include <pthread.h>
28248 __thread int a;
28249 static int *volatile a_in_other_thread;
28250 static void *
28251 thread_func (void *arg)
28253 a_in_other_thread = &a;
28254 return (void *)0;
28257 main ()
28259 pthread_t thread;
28260 void *thread_retval;
28261 int *volatile a_in_main_thread;
28262 a_in_main_thread = &a;
28263 if (pthread_create (&thread, (pthread_attr_t *)0,
28264 thread_func, (void *)0))
28265 return 0;
28266 if (pthread_join (thread, &thread_retval))
28267 return 0;
28268 return (a_in_other_thread == a_in_main_thread);
28270 return 0;
28272 _ACEOF
28273 if ac_fn_c_try_run "$LINENO"; then :
28274 gcc_cv_have_tls=yes
28275 else
28276 gcc_cv_have_tls=no
28278 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28279 conftest.$ac_objext conftest.beam conftest.$ac_ext
28282 CFLAGS="$chktls_save_CFLAGS"
28285 else
28286 gcc_cv_have_tls=no
28288 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28289 conftest.$ac_objext conftest.beam conftest.$ac_ext
28293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28294 $as_echo "$gcc_cv_have_tls" >&6; }
28295 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28297 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28301 for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28302 do :
28303 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28304 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28305 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28306 cat >>confdefs.h <<_ACEOF
28307 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28308 _ACEOF
28311 done
28313 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28314 do :
28315 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28316 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28317 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28318 cat >>confdefs.h <<_ACEOF
28319 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28320 _ACEOF
28323 done
28325 for ac_func in _wfopen
28326 do :
28327 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
28328 if test "x$ac_cv_func__wfopen" = xyes; then :
28329 cat >>confdefs.h <<_ACEOF
28330 #define HAVE__WFOPEN 1
28331 _ACEOF
28334 done
28336 for ac_func in secure_getenv
28337 do :
28338 ac_fn_c_check_func "$LINENO" "secure_getenv" "ac_cv_func_secure_getenv"
28339 if test "x$ac_cv_func_secure_getenv" = xyes; then :
28340 cat >>confdefs.h <<_ACEOF
28341 #define HAVE_SECURE_GETENV 1
28342 _ACEOF
28345 done
28348 # C11 functions for C++17 library
28349 for ac_func in timespec_get
28350 do :
28351 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
28352 if test "x$ac_cv_func_timespec_get" = xyes; then :
28353 cat >>confdefs.h <<_ACEOF
28354 #define HAVE_TIMESPEC_GET 1
28355 _ACEOF
28358 done
28361 # For Networking TS.
28362 for ac_func in sockatmark
28363 do :
28364 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
28365 if test "x$ac_cv_func_sockatmark" = xyes; then :
28366 cat >>confdefs.h <<_ACEOF
28367 #define HAVE_SOCKATMARK 1
28368 _ACEOF
28371 done
28374 # Non-standard functions used by C++17 std::from_chars
28375 for ac_func in uselocale
28376 do :
28377 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
28378 if test "x$ac_cv_func_uselocale" = xyes; then :
28379 cat >>confdefs.h <<_ACEOF
28380 #define HAVE_USELOCALE 1
28381 _ACEOF
28384 done
28387 # For iconv support.
28389 if test "X$prefix" = "XNONE"; then
28390 acl_final_prefix="$ac_default_prefix"
28391 else
28392 acl_final_prefix="$prefix"
28394 if test "X$exec_prefix" = "XNONE"; then
28395 acl_final_exec_prefix='${prefix}'
28396 else
28397 acl_final_exec_prefix="$exec_prefix"
28399 acl_save_prefix="$prefix"
28400 prefix="$acl_final_prefix"
28401 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28402 prefix="$acl_save_prefix"
28405 # Check whether --with-gnu-ld was given.
28406 if test "${with_gnu_ld+set}" = set; then :
28407 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28408 else
28409 with_gnu_ld=no
28412 # Prepare PATH_SEPARATOR.
28413 # The user is always right.
28414 if test "${PATH_SEPARATOR+set}" != set; then
28415 echo "#! /bin/sh" >conf$$.sh
28416 echo "exit 0" >>conf$$.sh
28417 chmod +x conf$$.sh
28418 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28419 PATH_SEPARATOR=';'
28420 else
28421 PATH_SEPARATOR=:
28423 rm -f conf$$.sh
28425 ac_prog=ld
28426 if test "$GCC" = yes; then
28427 # Check if gcc -print-prog-name=ld gives a path.
28428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28429 $as_echo_n "checking for ld used by GCC... " >&6; }
28430 case $host in
28431 *-*-mingw*)
28432 # gcc leaves a trailing carriage return which upsets mingw
28433 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28435 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28436 esac
28437 case $ac_prog in
28438 # Accept absolute paths.
28439 [\\/]* | [A-Za-z]:[\\/]*)
28440 re_direlt='/[^/][^/]*/\.\./'
28441 # Canonicalize the path of ld
28442 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28443 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28444 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28445 done
28446 test -z "$LD" && LD="$ac_prog"
28449 # If it fails, then pretend we aren't using GCC.
28450 ac_prog=ld
28453 # If it is relative, then search for the first ld in PATH.
28454 with_gnu_ld=unknown
28456 esac
28457 elif test "$with_gnu_ld" = yes; then
28458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28459 $as_echo_n "checking for GNU ld... " >&6; }
28460 else
28461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28462 $as_echo_n "checking for non-GNU ld... " >&6; }
28464 if ${acl_cv_path_LD+:} false; then :
28465 $as_echo_n "(cached) " >&6
28466 else
28467 if test -z "$LD"; then
28468 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28469 for ac_dir in $PATH; do
28470 test -z "$ac_dir" && ac_dir=.
28471 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28472 acl_cv_path_LD="$ac_dir/$ac_prog"
28473 # Check to see if the program is GNU ld. I'd rather use --version,
28474 # but apparently some GNU ld's only accept -v.
28475 # Break only if it was the GNU/non-GNU ld that we prefer.
28476 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28477 test "$with_gnu_ld" != no && break
28478 else
28479 test "$with_gnu_ld" != yes && break
28482 done
28483 IFS="$ac_save_ifs"
28484 else
28485 acl_cv_path_LD="$LD" # Let the user override the test with a path.
28489 LD="$acl_cv_path_LD"
28490 if test -n "$LD"; then
28491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28492 $as_echo "$LD" >&6; }
28493 else
28494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28495 $as_echo "no" >&6; }
28497 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
28498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28499 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28500 if ${acl_cv_prog_gnu_ld+:} false; then :
28501 $as_echo_n "(cached) " >&6
28502 else
28503 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28504 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28505 acl_cv_prog_gnu_ld=yes
28506 else
28507 acl_cv_prog_gnu_ld=no
28510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28511 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
28512 with_gnu_ld=$acl_cv_prog_gnu_ld
28516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28517 $as_echo_n "checking for shared library run path origin... " >&6; }
28518 if ${acl_cv_rpath+:} false; then :
28519 $as_echo_n "(cached) " >&6
28520 else
28522 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28523 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28524 . ./conftest.sh
28525 rm -f ./conftest.sh
28526 acl_cv_rpath=done
28529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28530 $as_echo "$acl_cv_rpath" >&6; }
28531 wl="$acl_cv_wl"
28532 libext="$acl_cv_libext"
28533 shlibext="$acl_cv_shlibext"
28534 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28535 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28536 hardcode_direct="$acl_cv_hardcode_direct"
28537 hardcode_minus_L="$acl_cv_hardcode_minus_L"
28538 # Check whether --enable-rpath was given.
28539 if test "${enable_rpath+set}" = set; then :
28540 enableval=$enable_rpath; :
28541 else
28542 enable_rpath=yes
28552 use_additional=yes
28554 acl_save_prefix="$prefix"
28555 prefix="$acl_final_prefix"
28556 acl_save_exec_prefix="$exec_prefix"
28557 exec_prefix="$acl_final_exec_prefix"
28559 eval additional_includedir=\"$includedir\"
28560 eval additional_libdir=\"$libdir\"
28562 exec_prefix="$acl_save_exec_prefix"
28563 prefix="$acl_save_prefix"
28566 # Check whether --with-libiconv-prefix was given.
28567 if test "${with_libiconv_prefix+set}" = set; then :
28568 withval=$with_libiconv_prefix;
28569 if test "X$withval" = "Xno"; then
28570 use_additional=no
28571 else
28572 if test "X$withval" = "X"; then
28574 acl_save_prefix="$prefix"
28575 prefix="$acl_final_prefix"
28576 acl_save_exec_prefix="$exec_prefix"
28577 exec_prefix="$acl_final_exec_prefix"
28579 eval additional_includedir=\"$includedir\"
28580 eval additional_libdir=\"$libdir\"
28582 exec_prefix="$acl_save_exec_prefix"
28583 prefix="$acl_save_prefix"
28585 else
28586 additional_includedir="$withval/include"
28587 additional_libdir="$withval/lib"
28594 # Check whether --with-libiconv-type was given.
28595 if test "${with_libiconv_type+set}" = set; then :
28596 withval=$with_libiconv_type; with_libiconv_type=$withval
28597 else
28598 with_libiconv_type=auto
28601 lib_type=`eval echo \$with_libiconv_type`
28603 LIBICONV=
28604 LTLIBICONV=
28605 INCICONV=
28606 rpathdirs=
28607 ltrpathdirs=
28608 names_already_handled=
28609 names_next_round='iconv '
28610 while test -n "$names_next_round"; do
28611 names_this_round="$names_next_round"
28612 names_next_round=
28613 for name in $names_this_round; do
28614 already_handled=
28615 for n in $names_already_handled; do
28616 if test "$n" = "$name"; then
28617 already_handled=yes
28618 break
28620 done
28621 if test -z "$already_handled"; then
28622 names_already_handled="$names_already_handled $name"
28623 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28624 eval value=\"\$HAVE_LIB$uppername\"
28625 if test -n "$value"; then
28626 if test "$value" = yes; then
28627 eval value=\"\$LIB$uppername\"
28628 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28629 eval value=\"\$LTLIB$uppername\"
28630 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28631 else
28634 else
28635 found_dir=
28636 found_la=
28637 found_so=
28638 found_a=
28639 if test $use_additional = yes; then
28640 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x$lib_type != xstatic; then
28641 found_dir="$additional_libdir"
28642 found_so="$additional_libdir/lib$name.$shlibext"
28643 if test -f "$additional_libdir/lib$name.la"; then
28644 found_la="$additional_libdir/lib$name.la"
28646 elif test x$lib_type != xshared; then
28647 if test -f "$additional_libdir/lib$name.$libext"; then
28648 found_dir="$additional_libdir"
28649 found_a="$additional_libdir/lib$name.$libext"
28650 if test -f "$additional_libdir/lib$name.la"; then
28651 found_la="$additional_libdir/lib$name.la"
28656 if test "X$found_dir" = "X"; then
28657 for x in $LDFLAGS $LTLIBICONV; do
28659 acl_save_prefix="$prefix"
28660 prefix="$acl_final_prefix"
28661 acl_save_exec_prefix="$exec_prefix"
28662 exec_prefix="$acl_final_exec_prefix"
28663 eval x=\"$x\"
28664 exec_prefix="$acl_save_exec_prefix"
28665 prefix="$acl_save_prefix"
28667 case "$x" in
28668 -L*)
28669 dir=`echo "X$x" | sed -e 's/^X-L//'`
28670 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x$lib_type != xstatic; then
28671 found_dir="$dir"
28672 found_so="$dir/lib$name.$shlibext"
28673 if test -f "$dir/lib$name.la"; then
28674 found_la="$dir/lib$name.la"
28676 elif test x$lib_type != xshared; then
28677 if test -f "$dir/lib$name.$libext"; then
28678 found_dir="$dir"
28679 found_a="$dir/lib$name.$libext"
28680 if test -f "$dir/lib$name.la"; then
28681 found_la="$dir/lib$name.la"
28686 esac
28687 if test "X$found_dir" != "X"; then
28688 break
28690 done
28692 if test "X$found_dir" != "X"; then
28693 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28694 if test "X$found_so" != "X"; then
28695 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28696 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28697 else
28698 haveit=
28699 for x in $ltrpathdirs; do
28700 if test "X$x" = "X$found_dir"; then
28701 haveit=yes
28702 break
28704 done
28705 if test -z "$haveit"; then
28706 ltrpathdirs="$ltrpathdirs $found_dir"
28708 if test "$hardcode_direct" = yes; then
28709 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28710 else
28711 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28712 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28713 haveit=
28714 for x in $rpathdirs; do
28715 if test "X$x" = "X$found_dir"; then
28716 haveit=yes
28717 break
28719 done
28720 if test -z "$haveit"; then
28721 rpathdirs="$rpathdirs $found_dir"
28723 else
28724 haveit=
28725 for x in $LDFLAGS $LIBICONV; do
28727 acl_save_prefix="$prefix"
28728 prefix="$acl_final_prefix"
28729 acl_save_exec_prefix="$exec_prefix"
28730 exec_prefix="$acl_final_exec_prefix"
28731 eval x=\"$x\"
28732 exec_prefix="$acl_save_exec_prefix"
28733 prefix="$acl_save_prefix"
28735 if test "X$x" = "X-L$found_dir"; then
28736 haveit=yes
28737 break
28739 done
28740 if test -z "$haveit"; then
28741 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28743 if test "$hardcode_minus_L" != no; then
28744 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28745 else
28746 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28751 else
28752 if test "X$found_a" != "X"; then
28753 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28754 else
28755 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28758 additional_includedir=
28759 case "$found_dir" in
28760 */lib | */lib/)
28761 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28762 additional_includedir="$basedir/include"
28764 esac
28765 if test "X$additional_includedir" != "X"; then
28766 if test "X$additional_includedir" != "X/usr/include"; then
28767 haveit=
28768 if test "X$additional_includedir" = "X/usr/local/include"; then
28769 if test -n "$GCC"; then
28770 case $host_os in
28771 linux*) haveit=yes;;
28772 esac
28775 if test -z "$haveit"; then
28776 for x in $CPPFLAGS $INCICONV; do
28778 acl_save_prefix="$prefix"
28779 prefix="$acl_final_prefix"
28780 acl_save_exec_prefix="$exec_prefix"
28781 exec_prefix="$acl_final_exec_prefix"
28782 eval x=\"$x\"
28783 exec_prefix="$acl_save_exec_prefix"
28784 prefix="$acl_save_prefix"
28786 if test "X$x" = "X-I$additional_includedir"; then
28787 haveit=yes
28788 break
28790 done
28791 if test -z "$haveit"; then
28792 if test -d "$additional_includedir"; then
28793 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28799 if test -n "$found_la"; then
28800 save_libdir="$libdir"
28801 case "$found_la" in
28802 */* | *\\*) . "$found_la" ;;
28803 *) . "./$found_la" ;;
28804 esac
28805 libdir="$save_libdir"
28806 for dep in $dependency_libs; do
28807 case "$dep" in
28808 -L*)
28809 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28810 if test "X$additional_libdir" != "X/usr/lib"; then
28811 haveit=
28812 if test "X$additional_libdir" = "X/usr/local/lib"; then
28813 if test -n "$GCC"; then
28814 case $host_os in
28815 linux*) haveit=yes;;
28816 esac
28819 if test -z "$haveit"; then
28820 haveit=
28821 for x in $LDFLAGS $LIBICONV; do
28823 acl_save_prefix="$prefix"
28824 prefix="$acl_final_prefix"
28825 acl_save_exec_prefix="$exec_prefix"
28826 exec_prefix="$acl_final_exec_prefix"
28827 eval x=\"$x\"
28828 exec_prefix="$acl_save_exec_prefix"
28829 prefix="$acl_save_prefix"
28831 if test "X$x" = "X-L$additional_libdir"; then
28832 haveit=yes
28833 break
28835 done
28836 if test -z "$haveit"; then
28837 if test -d "$additional_libdir"; then
28838 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28841 haveit=
28842 for x in $LDFLAGS $LTLIBICONV; do
28844 acl_save_prefix="$prefix"
28845 prefix="$acl_final_prefix"
28846 acl_save_exec_prefix="$exec_prefix"
28847 exec_prefix="$acl_final_exec_prefix"
28848 eval x=\"$x\"
28849 exec_prefix="$acl_save_exec_prefix"
28850 prefix="$acl_save_prefix"
28852 if test "X$x" = "X-L$additional_libdir"; then
28853 haveit=yes
28854 break
28856 done
28857 if test -z "$haveit"; then
28858 if test -d "$additional_libdir"; then
28859 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28865 -R*)
28866 dir=`echo "X$dep" | sed -e 's/^X-R//'`
28867 if test "$enable_rpath" != no; then
28868 haveit=
28869 for x in $rpathdirs; do
28870 if test "X$x" = "X$dir"; then
28871 haveit=yes
28872 break
28874 done
28875 if test -z "$haveit"; then
28876 rpathdirs="$rpathdirs $dir"
28878 haveit=
28879 for x in $ltrpathdirs; do
28880 if test "X$x" = "X$dir"; then
28881 haveit=yes
28882 break
28884 done
28885 if test -z "$haveit"; then
28886 ltrpathdirs="$ltrpathdirs $dir"
28890 -l*)
28891 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28893 *.la)
28894 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28897 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28898 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28900 esac
28901 done
28903 else
28904 if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then
28905 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28906 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28907 else
28908 LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext"
28909 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext"
28914 done
28915 done
28916 if test "X$rpathdirs" != "X"; then
28917 if test -n "$hardcode_libdir_separator"; then
28918 alldirs=
28919 for found_dir in $rpathdirs; do
28920 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28921 done
28922 acl_save_libdir="$libdir"
28923 libdir="$alldirs"
28924 eval flag=\"$hardcode_libdir_flag_spec\"
28925 libdir="$acl_save_libdir"
28926 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28927 else
28928 for found_dir in $rpathdirs; do
28929 acl_save_libdir="$libdir"
28930 libdir="$found_dir"
28931 eval flag=\"$hardcode_libdir_flag_spec\"
28932 libdir="$acl_save_libdir"
28933 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28934 done
28937 if test "X$ltrpathdirs" != "X"; then
28938 for found_dir in $ltrpathdirs; do
28939 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28940 done
28949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28950 $as_echo_n "checking for iconv... " >&6; }
28951 if ${am_cv_func_iconv+:} false; then :
28952 $as_echo_n "(cached) " >&6
28953 else
28955 am_cv_func_iconv="no, consider installing GNU libiconv"
28956 am_cv_lib_iconv=no
28957 am_save_CPPFLAGS="$CPPFLAGS"
28958 CPPFLAGS="$CPPFLAGS $INCICONV"
28959 if test x$gcc_no_link = xyes; then
28960 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28963 /* end confdefs.h. */
28964 #include <stdlib.h>
28965 #include <iconv.h>
28967 main ()
28969 iconv_t cd = iconv_open("","");
28970 iconv(cd,NULL,NULL,NULL,NULL);
28971 iconv_close(cd);
28973 return 0;
28975 _ACEOF
28976 if ac_fn_c_try_link "$LINENO"; then :
28977 am_cv_func_iconv=yes
28979 rm -f core conftest.err conftest.$ac_objext \
28980 conftest$ac_exeext conftest.$ac_ext
28981 CPPFLAGS="$am_save_CPPFLAGS"
28983 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
28984 for _libs in .libs _libs; do
28985 am_save_CPPFLAGS="$CPPFLAGS"
28986 am_save_LIBS="$LIBS"
28987 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
28988 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
28989 if test x$gcc_no_link = xyes; then
28990 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28993 /* end confdefs.h. */
28994 #include <stdlib.h>
28995 #include <iconv.h>
28997 main ()
28999 iconv_t cd = iconv_open("","");
29000 iconv(cd,NULL,NULL,NULL,NULL);
29001 iconv_close(cd);
29003 return 0;
29005 _ACEOF
29006 if ac_fn_c_try_link "$LINENO"; then :
29007 INCICONV="-I../libiconv/include"
29008 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
29009 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
29010 am_cv_lib_iconv=yes
29011 am_cv_func_iconv=yes
29013 rm -f core conftest.err conftest.$ac_objext \
29014 conftest$ac_exeext conftest.$ac_ext
29015 CPPFLAGS="$am_save_CPPFLAGS"
29016 LIBS="$am_save_LIBS"
29017 if test "$am_cv_func_iconv" = "yes"; then
29018 break
29020 done
29023 if test "$am_cv_func_iconv" != yes; then
29024 am_save_CPPFLAGS="$CPPFLAGS"
29025 am_save_LIBS="$LIBS"
29026 CPPFLAGS="$CPPFLAGS $INCICONV"
29027 LIBS="$LIBS $LIBICONV"
29028 if test x$gcc_no_link = xyes; then
29029 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29032 /* end confdefs.h. */
29033 #include <stdlib.h>
29034 #include <iconv.h>
29036 main ()
29038 iconv_t cd = iconv_open("","");
29039 iconv(cd,NULL,NULL,NULL,NULL);
29040 iconv_close(cd);
29042 return 0;
29044 _ACEOF
29045 if ac_fn_c_try_link "$LINENO"; then :
29046 am_cv_lib_iconv=yes
29047 am_cv_func_iconv=yes
29049 rm -f core conftest.err conftest.$ac_objext \
29050 conftest$ac_exeext conftest.$ac_ext
29051 CPPFLAGS="$am_save_CPPFLAGS"
29052 LIBS="$am_save_LIBS"
29056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
29057 $as_echo "$am_cv_func_iconv" >&6; }
29058 if test "$am_cv_func_iconv" = yes; then
29060 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29063 if test "$am_cv_lib_iconv" = yes; then
29065 for element in $INCICONV; do
29066 haveit=
29067 for x in $CPPFLAGS; do
29069 acl_save_prefix="$prefix"
29070 prefix="$acl_final_prefix"
29071 acl_save_exec_prefix="$exec_prefix"
29072 exec_prefix="$acl_final_exec_prefix"
29073 eval x=\"$x\"
29074 exec_prefix="$acl_save_exec_prefix"
29075 prefix="$acl_save_prefix"
29077 if test "X$x" = "X$element"; then
29078 haveit=yes
29079 break
29081 done
29082 if test -z "$haveit"; then
29083 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
29085 done
29087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
29088 $as_echo_n "checking how to link with libiconv... " >&6; }
29089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
29090 $as_echo "$LIBICONV" >&6; }
29091 else
29092 LIBICONV=
29093 LTLIBICONV=
29098 if test "$am_cv_func_iconv" = yes; then
29099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
29100 $as_echo_n "checking for iconv declaration... " >&6; }
29101 if ${am_cv_proto_iconv+:} false; then :
29102 $as_echo_n "(cached) " >&6
29103 else
29105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29106 /* end confdefs.h. */
29108 #include <stdlib.h>
29109 #include <iconv.h>
29110 extern
29111 #ifdef __cplusplus
29113 #endif
29114 #if defined(__STDC__) || defined(__cplusplus)
29115 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29116 #else
29117 size_t iconv();
29118 #endif
29121 main ()
29125 return 0;
29127 _ACEOF
29128 if ac_fn_c_try_compile "$LINENO"; then :
29129 am_cv_proto_iconv_arg1=""
29130 else
29131 am_cv_proto_iconv_arg1="const"
29133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29134 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);"
29137 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
29138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
29139 }$am_cv_proto_iconv" >&5
29140 $as_echo "${ac_t:-
29141 }$am_cv_proto_iconv" >&6; }
29143 cat >>confdefs.h <<_ACEOF
29144 #define ICONV_CONST $am_cv_proto_iconv_arg1
29145 _ACEOF
29150 else
29152 # This lets us hard-code the functionality we know we'll have in the cross
29153 # target environment. "Let" is a sugar-coated word placed on an especially
29154 # dull and tedious hack, actually.
29156 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
29157 # that involve linking, can't be used:
29158 # "cannot open sim-crt0.o"
29159 # "cannot open crt0.o"
29160 # etc. All this is because there currently exists no unified, consistent
29161 # way for top level CC information to be passed down to target directories:
29162 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
29163 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
29164 # crosses can be removed.
29166 # If Canadian cross, then don't pick up tools from the build directory.
29167 # Used only in GLIBCXX_EXPORT_INCLUDES.
29168 if test -n "$with_cross_host" &&
29169 test x"$build_alias" != x"$with_cross_host" &&
29170 test x"$build" != x"$target";
29171 then
29172 CANADIAN=yes
29173 else
29174 CANADIAN=no
29177 # Construct crosses by hand, eliminating bits that need ld...
29178 # GLIBCXX_CHECK_MATH_SUPPORT
29180 # First, test for "known" system libraries. We may be using newlib even
29181 # on a hosted environment.
29182 if test "x${with_newlib}" = "xyes"; then
29183 os_include_dir="os/newlib"
29184 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
29187 # GLIBCXX_CHECK_STDLIB_SUPPORT
29188 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
29191 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29193 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29195 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29197 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29199 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29201 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29203 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29205 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29207 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29209 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29211 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29213 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29215 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29217 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29219 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29221 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29223 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29225 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29227 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29229 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29231 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29233 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29236 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29238 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
29240 elif test "x$with_headers" != "xno"; then
29242 # Base decisions on target environment.
29243 case "${host}" in
29244 arm*-*-symbianelf*)
29245 # This is a freestanding configuration; there is nothing to do here.
29248 avr*-*-*)
29249 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29251 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29253 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29255 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29257 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29259 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29261 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29263 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29265 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29267 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29269 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29271 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29273 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29275 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29277 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29279 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29281 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29283 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29285 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29287 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29289 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29291 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29293 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29297 mips*-sde-elf*)
29298 # These definitions are for the SDE C library rather than newlib.
29299 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29302 # All these tests are for C++; save the language and the compiler flags.
29303 # The CXXFLAGS thing is suspicious, but based on similar bits previously
29304 # found in GLIBCXX_CONFIGURE.
29306 ac_ext=cpp
29307 ac_cpp='$CXXCPP $CPPFLAGS'
29308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29312 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29313 ac_save_CXXFLAGS="$CXXFLAGS"
29315 # Check for -ffunction-sections -fdata-sections
29316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29317 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29318 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29320 /* end confdefs.h. */
29321 int foo; void bar() { };
29323 main ()
29327 return 0;
29329 _ACEOF
29330 if ac_fn_cxx_try_compile "$LINENO"; then :
29331 ac_fdsections=yes
29332 else
29333 ac_fdsections=no
29335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29336 if test "$ac_test_CXXFLAGS" = set; then
29337 CXXFLAGS="$ac_save_CXXFLAGS"
29338 else
29339 # this is the suspicious part
29340 CXXFLAGS=''
29342 if test x"$ac_fdsections" = x"yes"; then
29343 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29346 $as_echo "$ac_fdsections" >&6; }
29348 ac_ext=c
29349 ac_cpp='$CPP $CPPFLAGS'
29350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29357 # If we're not using GNU ld, then there's no point in even trying these
29358 # tests. Check for that first. We should have already tested for gld
29359 # by now (in libtool), but require it now just to be safe...
29360 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29361 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29365 # The name set by libtool depends on the version of libtool. Shame on us
29366 # for depending on an impl detail, but c'est la vie. Older versions used
29367 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29368 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29369 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
29370 # set (hence we're using an older libtool), then set it.
29371 if test x${with_gnu_ld+set} != xset; then
29372 if test x${ac_cv_prog_gnu_ld+set} != xset; then
29373 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
29374 with_gnu_ld=no
29375 else
29376 with_gnu_ld=$ac_cv_prog_gnu_ld
29380 # Start by getting the version number. I think the libtool test already
29381 # does some of this, but throws away the result.
29382 glibcxx_ld_is_gold=no
29383 glibcxx_ld_is_mold=no
29384 if test x"$with_gnu_ld" = x"yes"; then
29385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29386 $as_echo_n "checking for ld version... " >&6; }
29388 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29389 glibcxx_ld_is_gold=yes
29390 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
29391 glibcxx_ld_is_mold=yes
29393 ldver=`$LD --version 2>/dev/null |
29394 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
29396 glibcxx_gnu_ld_version=`echo $ldver | \
29397 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
29399 $as_echo "$glibcxx_gnu_ld_version" >&6; }
29402 # Set --gc-sections.
29403 glibcxx_have_gc_sections=no
29404 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
29405 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
29406 glibcxx_have_gc_sections=yes
29408 else
29409 glibcxx_gcsections_min_ld=21602
29410 if test x"$with_gnu_ld" = x"yes" &&
29411 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
29412 glibcxx_have_gc_sections=yes
29415 if test "$glibcxx_have_gc_sections" = "yes"; then
29416 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
29417 # NB: This flag only works reliably after 2.16.1. Configure tests
29418 # for this are difficult, so hard wire a value that should work.
29420 ac_test_CFLAGS="${CFLAGS+set}"
29421 ac_save_CFLAGS="$CFLAGS"
29422 CFLAGS='-Wl,--gc-sections'
29424 # Check for -Wl,--gc-sections
29425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
29426 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
29427 if test x$gcc_no_link = xyes; then
29428 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29431 /* end confdefs.h. */
29432 int one(void) { return 1; }
29433 int two(void) { return 2; }
29436 main ()
29438 two();
29440 return 0;
29442 _ACEOF
29443 if ac_fn_c_try_link "$LINENO"; then :
29444 ac_gcsections=yes
29445 else
29446 ac_gcsections=no
29448 rm -f core conftest.err conftest.$ac_objext \
29449 conftest$ac_exeext conftest.$ac_ext
29450 if test "$ac_gcsections" = "yes"; then
29451 rm -f conftest.c
29452 touch conftest.c
29453 if $CC -c conftest.c; then
29454 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29455 grep "Warning: gc-sections option ignored" > /dev/null; then
29456 ac_gcsections=no
29459 rm -f conftest.c conftest.o conftest
29461 if test "$ac_gcsections" = "yes"; then
29462 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29465 $as_echo "$ac_gcsections" >&6; }
29467 if test "$ac_test_CFLAGS" = set; then
29468 CFLAGS="$ac_save_CFLAGS"
29469 else
29470 # this is the suspicious part
29471 CFLAGS=''
29475 # Set -z,relro.
29476 # Note this is only for shared objects.
29477 ac_ld_relro=no
29478 if test x"$with_gnu_ld" = x"yes"; then
29479 # cygwin and mingw uses PE, which has no ELF relro support,
29480 # multi target ld may confuse configure machinery
29481 case "$host" in
29482 *-*-cygwin*)
29484 *-*-mingw*)
29487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29488 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29489 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29490 if test -n "$cxx_z_relo"; then
29491 OPT_LDFLAGS="-Wl,-z,relro"
29492 ac_ld_relro=yes
29494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29495 $as_echo "$ac_ld_relro" >&6; }
29496 esac
29499 # Set linker optimization flags.
29500 if test x"$with_gnu_ld" = x"yes"; then
29501 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29508 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29509 ac_save_CXXFLAGS="$CXXFLAGS"
29510 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29513 $as_echo_n "checking for sin in -lm... " >&6; }
29514 if ${ac_cv_lib_m_sin+:} false; then :
29515 $as_echo_n "(cached) " >&6
29516 else
29517 ac_check_lib_save_LIBS=$LIBS
29518 LIBS="-lm $LIBS"
29519 if test x$gcc_no_link = xyes; then
29520 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29523 /* end confdefs.h. */
29525 /* Override any GCC internal prototype to avoid an error.
29526 Use char because int might match the return type of a GCC
29527 builtin and then its argument prototype would still apply. */
29528 #ifdef __cplusplus
29529 extern "C"
29530 #endif
29531 char sin ();
29533 main ()
29535 return sin ();
29537 return 0;
29539 _ACEOF
29540 if ac_fn_c_try_link "$LINENO"; then :
29541 ac_cv_lib_m_sin=yes
29542 else
29543 ac_cv_lib_m_sin=no
29545 rm -f core conftest.err conftest.$ac_objext \
29546 conftest$ac_exeext conftest.$ac_ext
29547 LIBS=$ac_check_lib_save_LIBS
29549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29550 $as_echo "$ac_cv_lib_m_sin" >&6; }
29551 if test "x$ac_cv_lib_m_sin" = xyes; then :
29552 libm="-lm"
29555 ac_save_LIBS="$LIBS"
29556 LIBS="$LIBS $libm"
29560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29561 $as_echo_n "checking for isinf declaration... " >&6; }
29562 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29563 if ${glibcxx_cv_func_isinf_use+:} false; then :
29564 $as_echo_n "(cached) " >&6
29565 else
29568 ac_ext=cpp
29569 ac_cpp='$CXXCPP $CPPFLAGS'
29570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29575 /* end confdefs.h. */
29576 #include <math.h>
29577 #ifdef HAVE_IEEEFP_H
29578 #include <ieeefp.h>
29579 #endif
29582 main ()
29584 isinf(0);
29586 return 0;
29588 _ACEOF
29589 if ac_fn_cxx_try_compile "$LINENO"; then :
29590 glibcxx_cv_func_isinf_use=yes
29591 else
29592 glibcxx_cv_func_isinf_use=no
29594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29595 ac_ext=c
29596 ac_cpp='$CPP $CPPFLAGS'
29597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29606 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29608 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29609 for ac_func in isinf
29610 do :
29611 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29612 if test "x$ac_cv_func_isinf" = xyes; then :
29613 cat >>confdefs.h <<_ACEOF
29614 #define HAVE_ISINF 1
29615 _ACEOF
29618 done
29620 else
29622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29623 $as_echo_n "checking for _isinf declaration... " >&6; }
29624 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29625 if ${glibcxx_cv_func__isinf_use+:} false; then :
29626 $as_echo_n "(cached) " >&6
29627 else
29630 ac_ext=cpp
29631 ac_cpp='$CXXCPP $CPPFLAGS'
29632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29637 /* end confdefs.h. */
29638 #include <math.h>
29639 #ifdef HAVE_IEEEFP_H
29640 #include <ieeefp.h>
29641 #endif
29644 main ()
29646 _isinf(0);
29648 return 0;
29650 _ACEOF
29651 if ac_fn_cxx_try_compile "$LINENO"; then :
29652 glibcxx_cv_func__isinf_use=yes
29653 else
29654 glibcxx_cv_func__isinf_use=no
29656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29657 ac_ext=c
29658 ac_cpp='$CPP $CPPFLAGS'
29659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29668 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29670 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29671 for ac_func in _isinf
29672 do :
29673 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29674 if test "x$ac_cv_func__isinf" = xyes; then :
29675 cat >>confdefs.h <<_ACEOF
29676 #define HAVE__ISINF 1
29677 _ACEOF
29680 done
29689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29690 $as_echo_n "checking for isnan declaration... " >&6; }
29691 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29692 if ${glibcxx_cv_func_isnan_use+:} false; then :
29693 $as_echo_n "(cached) " >&6
29694 else
29697 ac_ext=cpp
29698 ac_cpp='$CXXCPP $CPPFLAGS'
29699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29704 /* end confdefs.h. */
29705 #include <math.h>
29706 #ifdef HAVE_IEEEFP_H
29707 #include <ieeefp.h>
29708 #endif
29711 main ()
29713 isnan(0);
29715 return 0;
29717 _ACEOF
29718 if ac_fn_cxx_try_compile "$LINENO"; then :
29719 glibcxx_cv_func_isnan_use=yes
29720 else
29721 glibcxx_cv_func_isnan_use=no
29723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29724 ac_ext=c
29725 ac_cpp='$CPP $CPPFLAGS'
29726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29735 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29737 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29738 for ac_func in isnan
29739 do :
29740 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29741 if test "x$ac_cv_func_isnan" = xyes; then :
29742 cat >>confdefs.h <<_ACEOF
29743 #define HAVE_ISNAN 1
29744 _ACEOF
29747 done
29749 else
29751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29752 $as_echo_n "checking for _isnan declaration... " >&6; }
29753 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29754 if ${glibcxx_cv_func__isnan_use+:} false; then :
29755 $as_echo_n "(cached) " >&6
29756 else
29759 ac_ext=cpp
29760 ac_cpp='$CXXCPP $CPPFLAGS'
29761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29766 /* end confdefs.h. */
29767 #include <math.h>
29768 #ifdef HAVE_IEEEFP_H
29769 #include <ieeefp.h>
29770 #endif
29773 main ()
29775 _isnan(0);
29777 return 0;
29779 _ACEOF
29780 if ac_fn_cxx_try_compile "$LINENO"; then :
29781 glibcxx_cv_func__isnan_use=yes
29782 else
29783 glibcxx_cv_func__isnan_use=no
29785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29786 ac_ext=c
29787 ac_cpp='$CPP $CPPFLAGS'
29788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29797 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29799 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29800 for ac_func in _isnan
29801 do :
29802 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29803 if test "x$ac_cv_func__isnan" = xyes; then :
29804 cat >>confdefs.h <<_ACEOF
29805 #define HAVE__ISNAN 1
29806 _ACEOF
29809 done
29818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29819 $as_echo_n "checking for finite declaration... " >&6; }
29820 if test x${glibcxx_cv_func_finite_use+set} != xset; then
29821 if ${glibcxx_cv_func_finite_use+:} false; then :
29822 $as_echo_n "(cached) " >&6
29823 else
29826 ac_ext=cpp
29827 ac_cpp='$CXXCPP $CPPFLAGS'
29828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29833 /* end confdefs.h. */
29834 #include <math.h>
29835 #ifdef HAVE_IEEEFP_H
29836 #include <ieeefp.h>
29837 #endif
29840 main ()
29842 finite(0);
29844 return 0;
29846 _ACEOF
29847 if ac_fn_cxx_try_compile "$LINENO"; then :
29848 glibcxx_cv_func_finite_use=yes
29849 else
29850 glibcxx_cv_func_finite_use=no
29852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29853 ac_ext=c
29854 ac_cpp='$CPP $CPPFLAGS'
29855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29864 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29866 if test x$glibcxx_cv_func_finite_use = x"yes"; then
29867 for ac_func in finite
29868 do :
29869 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29870 if test "x$ac_cv_func_finite" = xyes; then :
29871 cat >>confdefs.h <<_ACEOF
29872 #define HAVE_FINITE 1
29873 _ACEOF
29876 done
29878 else
29880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29881 $as_echo_n "checking for _finite declaration... " >&6; }
29882 if test x${glibcxx_cv_func__finite_use+set} != xset; then
29883 if ${glibcxx_cv_func__finite_use+:} false; then :
29884 $as_echo_n "(cached) " >&6
29885 else
29888 ac_ext=cpp
29889 ac_cpp='$CXXCPP $CPPFLAGS'
29890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29895 /* end confdefs.h. */
29896 #include <math.h>
29897 #ifdef HAVE_IEEEFP_H
29898 #include <ieeefp.h>
29899 #endif
29902 main ()
29904 _finite(0);
29906 return 0;
29908 _ACEOF
29909 if ac_fn_cxx_try_compile "$LINENO"; then :
29910 glibcxx_cv_func__finite_use=yes
29911 else
29912 glibcxx_cv_func__finite_use=no
29914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29915 ac_ext=c
29916 ac_cpp='$CPP $CPPFLAGS'
29917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29926 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
29928 if test x$glibcxx_cv_func__finite_use = x"yes"; then
29929 for ac_func in _finite
29930 do :
29931 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29932 if test "x$ac_cv_func__finite" = xyes; then :
29933 cat >>confdefs.h <<_ACEOF
29934 #define HAVE__FINITE 1
29935 _ACEOF
29938 done
29947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29948 $as_echo_n "checking for sincos declaration... " >&6; }
29949 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29950 if ${glibcxx_cv_func_sincos_use+:} false; then :
29951 $as_echo_n "(cached) " >&6
29952 else
29955 ac_ext=cpp
29956 ac_cpp='$CXXCPP $CPPFLAGS'
29957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29962 /* end confdefs.h. */
29963 #include <math.h>
29965 main ()
29967 sincos(0, 0, 0);
29969 return 0;
29971 _ACEOF
29972 if ac_fn_cxx_try_compile "$LINENO"; then :
29973 glibcxx_cv_func_sincos_use=yes
29974 else
29975 glibcxx_cv_func_sincos_use=no
29977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29978 ac_ext=c
29979 ac_cpp='$CPP $CPPFLAGS'
29980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
29989 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
29991 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29992 for ac_func in sincos
29993 do :
29994 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
29995 if test "x$ac_cv_func_sincos" = xyes; then :
29996 cat >>confdefs.h <<_ACEOF
29997 #define HAVE_SINCOS 1
29998 _ACEOF
30001 done
30003 else
30005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
30006 $as_echo_n "checking for _sincos declaration... " >&6; }
30007 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
30008 if ${glibcxx_cv_func__sincos_use+:} false; then :
30009 $as_echo_n "(cached) " >&6
30010 else
30013 ac_ext=cpp
30014 ac_cpp='$CXXCPP $CPPFLAGS'
30015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30020 /* end confdefs.h. */
30021 #include <math.h>
30023 main ()
30025 _sincos(0, 0, 0);
30027 return 0;
30029 _ACEOF
30030 if ac_fn_cxx_try_compile "$LINENO"; then :
30031 glibcxx_cv_func__sincos_use=yes
30032 else
30033 glibcxx_cv_func__sincos_use=no
30035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30036 ac_ext=c
30037 ac_cpp='$CPP $CPPFLAGS'
30038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
30047 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
30049 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
30050 for ac_func in _sincos
30051 do :
30052 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
30053 if test "x$ac_cv_func__sincos" = xyes; then :
30054 cat >>confdefs.h <<_ACEOF
30055 #define HAVE__SINCOS 1
30056 _ACEOF
30059 done
30068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
30069 $as_echo_n "checking for fpclass declaration... " >&6; }
30070 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
30071 if ${glibcxx_cv_func_fpclass_use+:} false; then :
30072 $as_echo_n "(cached) " >&6
30073 else
30076 ac_ext=cpp
30077 ac_cpp='$CXXCPP $CPPFLAGS'
30078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30083 /* end confdefs.h. */
30084 #include <math.h>
30085 #ifdef HAVE_IEEEFP_H
30086 #include <ieeefp.h>
30087 #endif
30090 main ()
30092 fpclass(0);
30094 return 0;
30096 _ACEOF
30097 if ac_fn_cxx_try_compile "$LINENO"; then :
30098 glibcxx_cv_func_fpclass_use=yes
30099 else
30100 glibcxx_cv_func_fpclass_use=no
30102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30103 ac_ext=c
30104 ac_cpp='$CPP $CPPFLAGS'
30105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
30114 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
30116 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
30117 for ac_func in fpclass
30118 do :
30119 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
30120 if test "x$ac_cv_func_fpclass" = xyes; then :
30121 cat >>confdefs.h <<_ACEOF
30122 #define HAVE_FPCLASS 1
30123 _ACEOF
30126 done
30128 else
30130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
30131 $as_echo_n "checking for _fpclass declaration... " >&6; }
30132 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
30133 if ${glibcxx_cv_func__fpclass_use+:} false; then :
30134 $as_echo_n "(cached) " >&6
30135 else
30138 ac_ext=cpp
30139 ac_cpp='$CXXCPP $CPPFLAGS'
30140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30145 /* end confdefs.h. */
30146 #include <math.h>
30147 #ifdef HAVE_IEEEFP_H
30148 #include <ieeefp.h>
30149 #endif
30152 main ()
30154 _fpclass(0);
30156 return 0;
30158 _ACEOF
30159 if ac_fn_cxx_try_compile "$LINENO"; then :
30160 glibcxx_cv_func__fpclass_use=yes
30161 else
30162 glibcxx_cv_func__fpclass_use=no
30164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30165 ac_ext=c
30166 ac_cpp='$CPP $CPPFLAGS'
30167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
30176 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
30178 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
30179 for ac_func in _fpclass
30180 do :
30181 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
30182 if test "x$ac_cv_func__fpclass" = xyes; then :
30183 cat >>confdefs.h <<_ACEOF
30184 #define HAVE__FPCLASS 1
30185 _ACEOF
30188 done
30197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
30198 $as_echo_n "checking for qfpclass declaration... " >&6; }
30199 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
30200 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
30201 $as_echo_n "(cached) " >&6
30202 else
30205 ac_ext=cpp
30206 ac_cpp='$CXXCPP $CPPFLAGS'
30207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30212 /* end confdefs.h. */
30213 #include <math.h>
30214 #ifdef HAVE_IEEEFP_H
30215 #include <ieeefp.h>
30216 #endif
30219 main ()
30221 qfpclass(0);
30223 return 0;
30225 _ACEOF
30226 if ac_fn_cxx_try_compile "$LINENO"; then :
30227 glibcxx_cv_func_qfpclass_use=yes
30228 else
30229 glibcxx_cv_func_qfpclass_use=no
30231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30232 ac_ext=c
30233 ac_cpp='$CPP $CPPFLAGS'
30234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
30243 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
30245 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
30246 for ac_func in qfpclass
30247 do :
30248 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
30249 if test "x$ac_cv_func_qfpclass" = xyes; then :
30250 cat >>confdefs.h <<_ACEOF
30251 #define HAVE_QFPCLASS 1
30252 _ACEOF
30255 done
30257 else
30259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
30260 $as_echo_n "checking for _qfpclass declaration... " >&6; }
30261 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
30262 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
30263 $as_echo_n "(cached) " >&6
30264 else
30267 ac_ext=cpp
30268 ac_cpp='$CXXCPP $CPPFLAGS'
30269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30274 /* end confdefs.h. */
30275 #include <math.h>
30276 #ifdef HAVE_IEEEFP_H
30277 #include <ieeefp.h>
30278 #endif
30281 main ()
30283 _qfpclass(0);
30285 return 0;
30287 _ACEOF
30288 if ac_fn_cxx_try_compile "$LINENO"; then :
30289 glibcxx_cv_func__qfpclass_use=yes
30290 else
30291 glibcxx_cv_func__qfpclass_use=no
30293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30294 ac_ext=c
30295 ac_cpp='$CPP $CPPFLAGS'
30296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30305 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30307 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30308 for ac_func in _qfpclass
30309 do :
30310 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30311 if test "x$ac_cv_func__qfpclass" = xyes; then :
30312 cat >>confdefs.h <<_ACEOF
30313 #define HAVE__QFPCLASS 1
30314 _ACEOF
30317 done
30326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30327 $as_echo_n "checking for hypot declaration... " >&6; }
30328 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30329 if ${glibcxx_cv_func_hypot_use+:} false; then :
30330 $as_echo_n "(cached) " >&6
30331 else
30334 ac_ext=cpp
30335 ac_cpp='$CXXCPP $CPPFLAGS'
30336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30341 /* end confdefs.h. */
30342 #include <math.h>
30344 main ()
30346 hypot(0, 0);
30348 return 0;
30350 _ACEOF
30351 if ac_fn_cxx_try_compile "$LINENO"; then :
30352 glibcxx_cv_func_hypot_use=yes
30353 else
30354 glibcxx_cv_func_hypot_use=no
30356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30357 ac_ext=c
30358 ac_cpp='$CPP $CPPFLAGS'
30359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30368 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30370 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30371 for ac_func in hypot
30372 do :
30373 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30374 if test "x$ac_cv_func_hypot" = xyes; then :
30375 cat >>confdefs.h <<_ACEOF
30376 #define HAVE_HYPOT 1
30377 _ACEOF
30380 done
30382 else
30384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30385 $as_echo_n "checking for _hypot declaration... " >&6; }
30386 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30387 if ${glibcxx_cv_func__hypot_use+:} false; then :
30388 $as_echo_n "(cached) " >&6
30389 else
30392 ac_ext=cpp
30393 ac_cpp='$CXXCPP $CPPFLAGS'
30394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30399 /* end confdefs.h. */
30400 #include <math.h>
30402 main ()
30404 _hypot(0, 0);
30406 return 0;
30408 _ACEOF
30409 if ac_fn_cxx_try_compile "$LINENO"; then :
30410 glibcxx_cv_func__hypot_use=yes
30411 else
30412 glibcxx_cv_func__hypot_use=no
30414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30415 ac_ext=c
30416 ac_cpp='$CPP $CPPFLAGS'
30417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
30426 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
30428 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30429 for ac_func in _hypot
30430 do :
30431 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
30432 if test "x$ac_cv_func__hypot" = xyes; then :
30433 cat >>confdefs.h <<_ACEOF
30434 #define HAVE__HYPOT 1
30435 _ACEOF
30438 done
30447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
30448 $as_echo_n "checking for float trig functions... " >&6; }
30449 if ${glibcxx_cv_func_float_trig_use+:} false; then :
30450 $as_echo_n "(cached) " >&6
30451 else
30454 ac_ext=cpp
30455 ac_cpp='$CXXCPP $CPPFLAGS'
30456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30461 /* end confdefs.h. */
30462 #include <math.h>
30464 main ()
30466 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30468 return 0;
30470 _ACEOF
30471 if ac_fn_cxx_try_compile "$LINENO"; then :
30472 glibcxx_cv_func_float_trig_use=yes
30473 else
30474 glibcxx_cv_func_float_trig_use=no
30476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30477 ac_ext=c
30478 ac_cpp='$CPP $CPPFLAGS'
30479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30486 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30487 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30488 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30489 do :
30490 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30491 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30492 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30493 cat >>confdefs.h <<_ACEOF
30494 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30495 _ACEOF
30498 done
30500 else
30501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30502 $as_echo_n "checking for _float trig functions... " >&6; }
30503 if ${glibcxx_cv_func__float_trig_use+:} false; then :
30504 $as_echo_n "(cached) " >&6
30505 else
30508 ac_ext=cpp
30509 ac_cpp='$CXXCPP $CPPFLAGS'
30510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30515 /* end confdefs.h. */
30516 #include <math.h>
30518 main ()
30520 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30522 return 0;
30524 _ACEOF
30525 if ac_fn_cxx_try_compile "$LINENO"; then :
30526 glibcxx_cv_func__float_trig_use=yes
30527 else
30528 glibcxx_cv_func__float_trig_use=no
30530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30531 ac_ext=c
30532 ac_cpp='$CPP $CPPFLAGS'
30533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30540 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30541 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30542 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30543 do :
30544 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30545 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30546 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30547 cat >>confdefs.h <<_ACEOF
30548 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30549 _ACEOF
30552 done
30561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30562 $as_echo_n "checking for float round functions... " >&6; }
30563 if ${glibcxx_cv_func_float_round_use+:} false; then :
30564 $as_echo_n "(cached) " >&6
30565 else
30568 ac_ext=cpp
30569 ac_cpp='$CXXCPP $CPPFLAGS'
30570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30575 /* end confdefs.h. */
30576 #include <math.h>
30578 main ()
30580 ceilf (0); floorf (0);
30582 return 0;
30584 _ACEOF
30585 if ac_fn_cxx_try_compile "$LINENO"; then :
30586 glibcxx_cv_func_float_round_use=yes
30587 else
30588 glibcxx_cv_func_float_round_use=no
30590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30591 ac_ext=c
30592 ac_cpp='$CPP $CPPFLAGS'
30593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30600 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30601 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30602 for ac_func in ceilf floorf
30603 do :
30604 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30605 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30606 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30607 cat >>confdefs.h <<_ACEOF
30608 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30609 _ACEOF
30612 done
30614 else
30615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30616 $as_echo_n "checking for _float round functions... " >&6; }
30617 if ${glibcxx_cv_func__float_round_use+:} false; then :
30618 $as_echo_n "(cached) " >&6
30619 else
30622 ac_ext=cpp
30623 ac_cpp='$CXXCPP $CPPFLAGS'
30624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30629 /* end confdefs.h. */
30630 #include <math.h>
30632 main ()
30634 _ceilf (0); _floorf (0);
30636 return 0;
30638 _ACEOF
30639 if ac_fn_cxx_try_compile "$LINENO"; then :
30640 glibcxx_cv_func__float_round_use=yes
30641 else
30642 glibcxx_cv_func__float_round_use=no
30644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30645 ac_ext=c
30646 ac_cpp='$CPP $CPPFLAGS'
30647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30654 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30655 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30656 for ac_func in _ceilf _floorf
30657 do :
30658 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30659 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30660 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30661 cat >>confdefs.h <<_ACEOF
30662 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30663 _ACEOF
30666 done
30676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30677 $as_echo_n "checking for expf declaration... " >&6; }
30678 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30679 if ${glibcxx_cv_func_expf_use+:} false; then :
30680 $as_echo_n "(cached) " >&6
30681 else
30684 ac_ext=cpp
30685 ac_cpp='$CXXCPP $CPPFLAGS'
30686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30691 /* end confdefs.h. */
30692 #include <math.h>
30693 #ifdef HAVE_IEEEFP_H
30694 #include <ieeefp.h>
30695 #endif
30698 main ()
30700 expf(0);
30702 return 0;
30704 _ACEOF
30705 if ac_fn_cxx_try_compile "$LINENO"; then :
30706 glibcxx_cv_func_expf_use=yes
30707 else
30708 glibcxx_cv_func_expf_use=no
30710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30711 ac_ext=c
30712 ac_cpp='$CPP $CPPFLAGS'
30713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30722 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30724 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30725 for ac_func in expf
30726 do :
30727 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30728 if test "x$ac_cv_func_expf" = xyes; then :
30729 cat >>confdefs.h <<_ACEOF
30730 #define HAVE_EXPF 1
30731 _ACEOF
30734 done
30736 else
30738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30739 $as_echo_n "checking for _expf declaration... " >&6; }
30740 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30741 if ${glibcxx_cv_func__expf_use+:} false; then :
30742 $as_echo_n "(cached) " >&6
30743 else
30746 ac_ext=cpp
30747 ac_cpp='$CXXCPP $CPPFLAGS'
30748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30753 /* end confdefs.h. */
30754 #include <math.h>
30755 #ifdef HAVE_IEEEFP_H
30756 #include <ieeefp.h>
30757 #endif
30760 main ()
30762 _expf(0);
30764 return 0;
30766 _ACEOF
30767 if ac_fn_cxx_try_compile "$LINENO"; then :
30768 glibcxx_cv_func__expf_use=yes
30769 else
30770 glibcxx_cv_func__expf_use=no
30772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30773 ac_ext=c
30774 ac_cpp='$CPP $CPPFLAGS'
30775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30784 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30786 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30787 for ac_func in _expf
30788 do :
30789 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30790 if test "x$ac_cv_func__expf" = xyes; then :
30791 cat >>confdefs.h <<_ACEOF
30792 #define HAVE__EXPF 1
30793 _ACEOF
30796 done
30805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30806 $as_echo_n "checking for isnanf declaration... " >&6; }
30807 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30808 if ${glibcxx_cv_func_isnanf_use+:} false; then :
30809 $as_echo_n "(cached) " >&6
30810 else
30813 ac_ext=cpp
30814 ac_cpp='$CXXCPP $CPPFLAGS'
30815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30820 /* end confdefs.h. */
30821 #include <math.h>
30822 #ifdef HAVE_IEEEFP_H
30823 #include <ieeefp.h>
30824 #endif
30827 main ()
30829 isnanf(0);
30831 return 0;
30833 _ACEOF
30834 if ac_fn_cxx_try_compile "$LINENO"; then :
30835 glibcxx_cv_func_isnanf_use=yes
30836 else
30837 glibcxx_cv_func_isnanf_use=no
30839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30840 ac_ext=c
30841 ac_cpp='$CPP $CPPFLAGS'
30842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30851 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30853 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30854 for ac_func in isnanf
30855 do :
30856 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30857 if test "x$ac_cv_func_isnanf" = xyes; then :
30858 cat >>confdefs.h <<_ACEOF
30859 #define HAVE_ISNANF 1
30860 _ACEOF
30863 done
30865 else
30867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30868 $as_echo_n "checking for _isnanf declaration... " >&6; }
30869 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30870 if ${glibcxx_cv_func__isnanf_use+:} false; then :
30871 $as_echo_n "(cached) " >&6
30872 else
30875 ac_ext=cpp
30876 ac_cpp='$CXXCPP $CPPFLAGS'
30877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30882 /* end confdefs.h. */
30883 #include <math.h>
30884 #ifdef HAVE_IEEEFP_H
30885 #include <ieeefp.h>
30886 #endif
30889 main ()
30891 _isnanf(0);
30893 return 0;
30895 _ACEOF
30896 if ac_fn_cxx_try_compile "$LINENO"; then :
30897 glibcxx_cv_func__isnanf_use=yes
30898 else
30899 glibcxx_cv_func__isnanf_use=no
30901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30902 ac_ext=c
30903 ac_cpp='$CPP $CPPFLAGS'
30904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30913 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30915 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30916 for ac_func in _isnanf
30917 do :
30918 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30919 if test "x$ac_cv_func__isnanf" = xyes; then :
30920 cat >>confdefs.h <<_ACEOF
30921 #define HAVE__ISNANF 1
30922 _ACEOF
30925 done
30934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30935 $as_echo_n "checking for isinff declaration... " >&6; }
30936 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30937 if ${glibcxx_cv_func_isinff_use+:} false; then :
30938 $as_echo_n "(cached) " >&6
30939 else
30942 ac_ext=cpp
30943 ac_cpp='$CXXCPP $CPPFLAGS'
30944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30949 /* end confdefs.h. */
30950 #include <math.h>
30951 #ifdef HAVE_IEEEFP_H
30952 #include <ieeefp.h>
30953 #endif
30956 main ()
30958 isinff(0);
30960 return 0;
30962 _ACEOF
30963 if ac_fn_cxx_try_compile "$LINENO"; then :
30964 glibcxx_cv_func_isinff_use=yes
30965 else
30966 glibcxx_cv_func_isinff_use=no
30968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30969 ac_ext=c
30970 ac_cpp='$CPP $CPPFLAGS'
30971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
30980 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
30982 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
30983 for ac_func in isinff
30984 do :
30985 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
30986 if test "x$ac_cv_func_isinff" = xyes; then :
30987 cat >>confdefs.h <<_ACEOF
30988 #define HAVE_ISINFF 1
30989 _ACEOF
30992 done
30994 else
30996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
30997 $as_echo_n "checking for _isinff declaration... " >&6; }
30998 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
30999 if ${glibcxx_cv_func__isinff_use+:} false; then :
31000 $as_echo_n "(cached) " >&6
31001 else
31004 ac_ext=cpp
31005 ac_cpp='$CXXCPP $CPPFLAGS'
31006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31011 /* end confdefs.h. */
31012 #include <math.h>
31013 #ifdef HAVE_IEEEFP_H
31014 #include <ieeefp.h>
31015 #endif
31018 main ()
31020 _isinff(0);
31022 return 0;
31024 _ACEOF
31025 if ac_fn_cxx_try_compile "$LINENO"; then :
31026 glibcxx_cv_func__isinff_use=yes
31027 else
31028 glibcxx_cv_func__isinff_use=no
31030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31031 ac_ext=c
31032 ac_cpp='$CPP $CPPFLAGS'
31033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
31042 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
31044 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
31045 for ac_func in _isinff
31046 do :
31047 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
31048 if test "x$ac_cv_func__isinff" = xyes; then :
31049 cat >>confdefs.h <<_ACEOF
31050 #define HAVE__ISINFF 1
31051 _ACEOF
31054 done
31063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
31064 $as_echo_n "checking for atan2f declaration... " >&6; }
31065 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
31066 if ${glibcxx_cv_func_atan2f_use+:} false; then :
31067 $as_echo_n "(cached) " >&6
31068 else
31071 ac_ext=cpp
31072 ac_cpp='$CXXCPP $CPPFLAGS'
31073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31078 /* end confdefs.h. */
31079 #include <math.h>
31081 main ()
31083 atan2f(0, 0);
31085 return 0;
31087 _ACEOF
31088 if ac_fn_cxx_try_compile "$LINENO"; then :
31089 glibcxx_cv_func_atan2f_use=yes
31090 else
31091 glibcxx_cv_func_atan2f_use=no
31093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31094 ac_ext=c
31095 ac_cpp='$CPP $CPPFLAGS'
31096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
31105 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
31107 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
31108 for ac_func in atan2f
31109 do :
31110 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
31111 if test "x$ac_cv_func_atan2f" = xyes; then :
31112 cat >>confdefs.h <<_ACEOF
31113 #define HAVE_ATAN2F 1
31114 _ACEOF
31117 done
31119 else
31121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
31122 $as_echo_n "checking for _atan2f declaration... " >&6; }
31123 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
31124 if ${glibcxx_cv_func__atan2f_use+:} false; then :
31125 $as_echo_n "(cached) " >&6
31126 else
31129 ac_ext=cpp
31130 ac_cpp='$CXXCPP $CPPFLAGS'
31131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31136 /* end confdefs.h. */
31137 #include <math.h>
31139 main ()
31141 _atan2f(0, 0);
31143 return 0;
31145 _ACEOF
31146 if ac_fn_cxx_try_compile "$LINENO"; then :
31147 glibcxx_cv_func__atan2f_use=yes
31148 else
31149 glibcxx_cv_func__atan2f_use=no
31151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31152 ac_ext=c
31153 ac_cpp='$CPP $CPPFLAGS'
31154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
31163 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
31165 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
31166 for ac_func in _atan2f
31167 do :
31168 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
31169 if test "x$ac_cv_func__atan2f" = xyes; then :
31170 cat >>confdefs.h <<_ACEOF
31171 #define HAVE__ATAN2F 1
31172 _ACEOF
31175 done
31184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
31185 $as_echo_n "checking for fabsf declaration... " >&6; }
31186 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
31187 if ${glibcxx_cv_func_fabsf_use+:} false; then :
31188 $as_echo_n "(cached) " >&6
31189 else
31192 ac_ext=cpp
31193 ac_cpp='$CXXCPP $CPPFLAGS'
31194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31199 /* end confdefs.h. */
31200 #include <math.h>
31201 #ifdef HAVE_IEEEFP_H
31202 #include <ieeefp.h>
31203 #endif
31206 main ()
31208 fabsf(0);
31210 return 0;
31212 _ACEOF
31213 if ac_fn_cxx_try_compile "$LINENO"; then :
31214 glibcxx_cv_func_fabsf_use=yes
31215 else
31216 glibcxx_cv_func_fabsf_use=no
31218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31219 ac_ext=c
31220 ac_cpp='$CPP $CPPFLAGS'
31221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
31230 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
31232 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
31233 for ac_func in fabsf
31234 do :
31235 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
31236 if test "x$ac_cv_func_fabsf" = xyes; then :
31237 cat >>confdefs.h <<_ACEOF
31238 #define HAVE_FABSF 1
31239 _ACEOF
31242 done
31244 else
31246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
31247 $as_echo_n "checking for _fabsf declaration... " >&6; }
31248 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
31249 if ${glibcxx_cv_func__fabsf_use+:} false; then :
31250 $as_echo_n "(cached) " >&6
31251 else
31254 ac_ext=cpp
31255 ac_cpp='$CXXCPP $CPPFLAGS'
31256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31261 /* end confdefs.h. */
31262 #include <math.h>
31263 #ifdef HAVE_IEEEFP_H
31264 #include <ieeefp.h>
31265 #endif
31268 main ()
31270 _fabsf(0);
31272 return 0;
31274 _ACEOF
31275 if ac_fn_cxx_try_compile "$LINENO"; then :
31276 glibcxx_cv_func__fabsf_use=yes
31277 else
31278 glibcxx_cv_func__fabsf_use=no
31280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31281 ac_ext=c
31282 ac_cpp='$CPP $CPPFLAGS'
31283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31292 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31294 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31295 for ac_func in _fabsf
31296 do :
31297 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31298 if test "x$ac_cv_func__fabsf" = xyes; then :
31299 cat >>confdefs.h <<_ACEOF
31300 #define HAVE__FABSF 1
31301 _ACEOF
31304 done
31313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31314 $as_echo_n "checking for fmodf declaration... " >&6; }
31315 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31316 if ${glibcxx_cv_func_fmodf_use+:} false; then :
31317 $as_echo_n "(cached) " >&6
31318 else
31321 ac_ext=cpp
31322 ac_cpp='$CXXCPP $CPPFLAGS'
31323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31328 /* end confdefs.h. */
31329 #include <math.h>
31331 main ()
31333 fmodf(0, 0);
31335 return 0;
31337 _ACEOF
31338 if ac_fn_cxx_try_compile "$LINENO"; then :
31339 glibcxx_cv_func_fmodf_use=yes
31340 else
31341 glibcxx_cv_func_fmodf_use=no
31343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31344 ac_ext=c
31345 ac_cpp='$CPP $CPPFLAGS'
31346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31355 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31357 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31358 for ac_func in fmodf
31359 do :
31360 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31361 if test "x$ac_cv_func_fmodf" = xyes; then :
31362 cat >>confdefs.h <<_ACEOF
31363 #define HAVE_FMODF 1
31364 _ACEOF
31367 done
31369 else
31371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31372 $as_echo_n "checking for _fmodf declaration... " >&6; }
31373 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31374 if ${glibcxx_cv_func__fmodf_use+:} false; then :
31375 $as_echo_n "(cached) " >&6
31376 else
31379 ac_ext=cpp
31380 ac_cpp='$CXXCPP $CPPFLAGS'
31381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31386 /* end confdefs.h. */
31387 #include <math.h>
31389 main ()
31391 _fmodf(0, 0);
31393 return 0;
31395 _ACEOF
31396 if ac_fn_cxx_try_compile "$LINENO"; then :
31397 glibcxx_cv_func__fmodf_use=yes
31398 else
31399 glibcxx_cv_func__fmodf_use=no
31401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31402 ac_ext=c
31403 ac_cpp='$CPP $CPPFLAGS'
31404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
31413 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
31415 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31416 for ac_func in _fmodf
31417 do :
31418 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
31419 if test "x$ac_cv_func__fmodf" = xyes; then :
31420 cat >>confdefs.h <<_ACEOF
31421 #define HAVE__FMODF 1
31422 _ACEOF
31425 done
31434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
31435 $as_echo_n "checking for frexpf declaration... " >&6; }
31436 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31437 if ${glibcxx_cv_func_frexpf_use+:} false; then :
31438 $as_echo_n "(cached) " >&6
31439 else
31442 ac_ext=cpp
31443 ac_cpp='$CXXCPP $CPPFLAGS'
31444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31449 /* end confdefs.h. */
31450 #include <math.h>
31452 main ()
31454 frexpf(0, 0);
31456 return 0;
31458 _ACEOF
31459 if ac_fn_cxx_try_compile "$LINENO"; then :
31460 glibcxx_cv_func_frexpf_use=yes
31461 else
31462 glibcxx_cv_func_frexpf_use=no
31464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31465 ac_ext=c
31466 ac_cpp='$CPP $CPPFLAGS'
31467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31476 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31478 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31479 for ac_func in frexpf
31480 do :
31481 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31482 if test "x$ac_cv_func_frexpf" = xyes; then :
31483 cat >>confdefs.h <<_ACEOF
31484 #define HAVE_FREXPF 1
31485 _ACEOF
31488 done
31490 else
31492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31493 $as_echo_n "checking for _frexpf declaration... " >&6; }
31494 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31495 if ${glibcxx_cv_func__frexpf_use+:} false; then :
31496 $as_echo_n "(cached) " >&6
31497 else
31500 ac_ext=cpp
31501 ac_cpp='$CXXCPP $CPPFLAGS'
31502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31507 /* end confdefs.h. */
31508 #include <math.h>
31510 main ()
31512 _frexpf(0, 0);
31514 return 0;
31516 _ACEOF
31517 if ac_fn_cxx_try_compile "$LINENO"; then :
31518 glibcxx_cv_func__frexpf_use=yes
31519 else
31520 glibcxx_cv_func__frexpf_use=no
31522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31523 ac_ext=c
31524 ac_cpp='$CPP $CPPFLAGS'
31525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31534 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31536 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31537 for ac_func in _frexpf
31538 do :
31539 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31540 if test "x$ac_cv_func__frexpf" = xyes; then :
31541 cat >>confdefs.h <<_ACEOF
31542 #define HAVE__FREXPF 1
31543 _ACEOF
31546 done
31555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31556 $as_echo_n "checking for hypotf declaration... " >&6; }
31557 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31558 if ${glibcxx_cv_func_hypotf_use+:} false; then :
31559 $as_echo_n "(cached) " >&6
31560 else
31563 ac_ext=cpp
31564 ac_cpp='$CXXCPP $CPPFLAGS'
31565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31570 /* end confdefs.h. */
31571 #include <math.h>
31573 main ()
31575 hypotf(0, 0);
31577 return 0;
31579 _ACEOF
31580 if ac_fn_cxx_try_compile "$LINENO"; then :
31581 glibcxx_cv_func_hypotf_use=yes
31582 else
31583 glibcxx_cv_func_hypotf_use=no
31585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31586 ac_ext=c
31587 ac_cpp='$CPP $CPPFLAGS'
31588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31597 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31599 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31600 for ac_func in hypotf
31601 do :
31602 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31603 if test "x$ac_cv_func_hypotf" = xyes; then :
31604 cat >>confdefs.h <<_ACEOF
31605 #define HAVE_HYPOTF 1
31606 _ACEOF
31609 done
31611 else
31613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31614 $as_echo_n "checking for _hypotf declaration... " >&6; }
31615 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31616 if ${glibcxx_cv_func__hypotf_use+:} false; then :
31617 $as_echo_n "(cached) " >&6
31618 else
31621 ac_ext=cpp
31622 ac_cpp='$CXXCPP $CPPFLAGS'
31623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31628 /* end confdefs.h. */
31629 #include <math.h>
31631 main ()
31633 _hypotf(0, 0);
31635 return 0;
31637 _ACEOF
31638 if ac_fn_cxx_try_compile "$LINENO"; then :
31639 glibcxx_cv_func__hypotf_use=yes
31640 else
31641 glibcxx_cv_func__hypotf_use=no
31643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31644 ac_ext=c
31645 ac_cpp='$CPP $CPPFLAGS'
31646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31655 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31657 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31658 for ac_func in _hypotf
31659 do :
31660 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31661 if test "x$ac_cv_func__hypotf" = xyes; then :
31662 cat >>confdefs.h <<_ACEOF
31663 #define HAVE__HYPOTF 1
31664 _ACEOF
31667 done
31676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31677 $as_echo_n "checking for ldexpf declaration... " >&6; }
31678 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31679 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
31680 $as_echo_n "(cached) " >&6
31681 else
31684 ac_ext=cpp
31685 ac_cpp='$CXXCPP $CPPFLAGS'
31686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31691 /* end confdefs.h. */
31692 #include <math.h>
31694 main ()
31696 ldexpf(0, 0);
31698 return 0;
31700 _ACEOF
31701 if ac_fn_cxx_try_compile "$LINENO"; then :
31702 glibcxx_cv_func_ldexpf_use=yes
31703 else
31704 glibcxx_cv_func_ldexpf_use=no
31706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31707 ac_ext=c
31708 ac_cpp='$CPP $CPPFLAGS'
31709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31718 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31720 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31721 for ac_func in ldexpf
31722 do :
31723 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31724 if test "x$ac_cv_func_ldexpf" = xyes; then :
31725 cat >>confdefs.h <<_ACEOF
31726 #define HAVE_LDEXPF 1
31727 _ACEOF
31730 done
31732 else
31734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31735 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31736 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31737 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
31738 $as_echo_n "(cached) " >&6
31739 else
31742 ac_ext=cpp
31743 ac_cpp='$CXXCPP $CPPFLAGS'
31744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31749 /* end confdefs.h. */
31750 #include <math.h>
31752 main ()
31754 _ldexpf(0, 0);
31756 return 0;
31758 _ACEOF
31759 if ac_fn_cxx_try_compile "$LINENO"; then :
31760 glibcxx_cv_func__ldexpf_use=yes
31761 else
31762 glibcxx_cv_func__ldexpf_use=no
31764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31765 ac_ext=c
31766 ac_cpp='$CPP $CPPFLAGS'
31767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31776 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31778 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31779 for ac_func in _ldexpf
31780 do :
31781 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31782 if test "x$ac_cv_func__ldexpf" = xyes; then :
31783 cat >>confdefs.h <<_ACEOF
31784 #define HAVE__LDEXPF 1
31785 _ACEOF
31788 done
31797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31798 $as_echo_n "checking for logf declaration... " >&6; }
31799 if test x${glibcxx_cv_func_logf_use+set} != xset; then
31800 if ${glibcxx_cv_func_logf_use+:} false; then :
31801 $as_echo_n "(cached) " >&6
31802 else
31805 ac_ext=cpp
31806 ac_cpp='$CXXCPP $CPPFLAGS'
31807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31812 /* end confdefs.h. */
31813 #include <math.h>
31814 #ifdef HAVE_IEEEFP_H
31815 #include <ieeefp.h>
31816 #endif
31819 main ()
31821 logf(0);
31823 return 0;
31825 _ACEOF
31826 if ac_fn_cxx_try_compile "$LINENO"; then :
31827 glibcxx_cv_func_logf_use=yes
31828 else
31829 glibcxx_cv_func_logf_use=no
31831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31832 ac_ext=c
31833 ac_cpp='$CPP $CPPFLAGS'
31834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31843 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31845 if test x$glibcxx_cv_func_logf_use = x"yes"; then
31846 for ac_func in logf
31847 do :
31848 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31849 if test "x$ac_cv_func_logf" = xyes; then :
31850 cat >>confdefs.h <<_ACEOF
31851 #define HAVE_LOGF 1
31852 _ACEOF
31855 done
31857 else
31859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31860 $as_echo_n "checking for _logf declaration... " >&6; }
31861 if test x${glibcxx_cv_func__logf_use+set} != xset; then
31862 if ${glibcxx_cv_func__logf_use+:} false; then :
31863 $as_echo_n "(cached) " >&6
31864 else
31867 ac_ext=cpp
31868 ac_cpp='$CXXCPP $CPPFLAGS'
31869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31874 /* end confdefs.h. */
31875 #include <math.h>
31876 #ifdef HAVE_IEEEFP_H
31877 #include <ieeefp.h>
31878 #endif
31881 main ()
31883 _logf(0);
31885 return 0;
31887 _ACEOF
31888 if ac_fn_cxx_try_compile "$LINENO"; then :
31889 glibcxx_cv_func__logf_use=yes
31890 else
31891 glibcxx_cv_func__logf_use=no
31893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31894 ac_ext=c
31895 ac_cpp='$CPP $CPPFLAGS'
31896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31905 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
31907 if test x$glibcxx_cv_func__logf_use = x"yes"; then
31908 for ac_func in _logf
31909 do :
31910 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31911 if test "x$ac_cv_func__logf" = xyes; then :
31912 cat >>confdefs.h <<_ACEOF
31913 #define HAVE__LOGF 1
31914 _ACEOF
31917 done
31926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31927 $as_echo_n "checking for log10f declaration... " >&6; }
31928 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31929 if ${glibcxx_cv_func_log10f_use+:} false; then :
31930 $as_echo_n "(cached) " >&6
31931 else
31934 ac_ext=cpp
31935 ac_cpp='$CXXCPP $CPPFLAGS'
31936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31941 /* end confdefs.h. */
31942 #include <math.h>
31943 #ifdef HAVE_IEEEFP_H
31944 #include <ieeefp.h>
31945 #endif
31948 main ()
31950 log10f(0);
31952 return 0;
31954 _ACEOF
31955 if ac_fn_cxx_try_compile "$LINENO"; then :
31956 glibcxx_cv_func_log10f_use=yes
31957 else
31958 glibcxx_cv_func_log10f_use=no
31960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31961 ac_ext=c
31962 ac_cpp='$CPP $CPPFLAGS'
31963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
31972 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
31974 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
31975 for ac_func in log10f
31976 do :
31977 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
31978 if test "x$ac_cv_func_log10f" = xyes; then :
31979 cat >>confdefs.h <<_ACEOF
31980 #define HAVE_LOG10F 1
31981 _ACEOF
31984 done
31986 else
31988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
31989 $as_echo_n "checking for _log10f declaration... " >&6; }
31990 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31991 if ${glibcxx_cv_func__log10f_use+:} false; then :
31992 $as_echo_n "(cached) " >&6
31993 else
31996 ac_ext=cpp
31997 ac_cpp='$CXXCPP $CPPFLAGS'
31998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32003 /* end confdefs.h. */
32004 #include <math.h>
32005 #ifdef HAVE_IEEEFP_H
32006 #include <ieeefp.h>
32007 #endif
32010 main ()
32012 _log10f(0);
32014 return 0;
32016 _ACEOF
32017 if ac_fn_cxx_try_compile "$LINENO"; then :
32018 glibcxx_cv_func__log10f_use=yes
32019 else
32020 glibcxx_cv_func__log10f_use=no
32022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32023 ac_ext=c
32024 ac_cpp='$CPP $CPPFLAGS'
32025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
32034 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
32036 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
32037 for ac_func in _log10f
32038 do :
32039 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
32040 if test "x$ac_cv_func__log10f" = xyes; then :
32041 cat >>confdefs.h <<_ACEOF
32042 #define HAVE__LOG10F 1
32043 _ACEOF
32046 done
32055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
32056 $as_echo_n "checking for modff declaration... " >&6; }
32057 if test x${glibcxx_cv_func_modff_use+set} != xset; then
32058 if ${glibcxx_cv_func_modff_use+:} false; then :
32059 $as_echo_n "(cached) " >&6
32060 else
32063 ac_ext=cpp
32064 ac_cpp='$CXXCPP $CPPFLAGS'
32065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32070 /* end confdefs.h. */
32071 #include <math.h>
32073 main ()
32075 modff(0, 0);
32077 return 0;
32079 _ACEOF
32080 if ac_fn_cxx_try_compile "$LINENO"; then :
32081 glibcxx_cv_func_modff_use=yes
32082 else
32083 glibcxx_cv_func_modff_use=no
32085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32086 ac_ext=c
32087 ac_cpp='$CPP $CPPFLAGS'
32088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
32097 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
32099 if test x$glibcxx_cv_func_modff_use = x"yes"; then
32100 for ac_func in modff
32101 do :
32102 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
32103 if test "x$ac_cv_func_modff" = xyes; then :
32104 cat >>confdefs.h <<_ACEOF
32105 #define HAVE_MODFF 1
32106 _ACEOF
32109 done
32111 else
32113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
32114 $as_echo_n "checking for _modff declaration... " >&6; }
32115 if test x${glibcxx_cv_func__modff_use+set} != xset; then
32116 if ${glibcxx_cv_func__modff_use+:} false; then :
32117 $as_echo_n "(cached) " >&6
32118 else
32121 ac_ext=cpp
32122 ac_cpp='$CXXCPP $CPPFLAGS'
32123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32128 /* end confdefs.h. */
32129 #include <math.h>
32131 main ()
32133 _modff(0, 0);
32135 return 0;
32137 _ACEOF
32138 if ac_fn_cxx_try_compile "$LINENO"; then :
32139 glibcxx_cv_func__modff_use=yes
32140 else
32141 glibcxx_cv_func__modff_use=no
32143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32144 ac_ext=c
32145 ac_cpp='$CPP $CPPFLAGS'
32146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
32155 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
32157 if test x$glibcxx_cv_func__modff_use = x"yes"; then
32158 for ac_func in _modff
32159 do :
32160 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
32161 if test "x$ac_cv_func__modff" = xyes; then :
32162 cat >>confdefs.h <<_ACEOF
32163 #define HAVE__MODFF 1
32164 _ACEOF
32167 done
32176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
32177 $as_echo_n "checking for modf declaration... " >&6; }
32178 if test x${glibcxx_cv_func_modf_use+set} != xset; then
32179 if ${glibcxx_cv_func_modf_use+:} false; then :
32180 $as_echo_n "(cached) " >&6
32181 else
32184 ac_ext=cpp
32185 ac_cpp='$CXXCPP $CPPFLAGS'
32186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32191 /* end confdefs.h. */
32192 #include <math.h>
32194 main ()
32196 modf(0, 0);
32198 return 0;
32200 _ACEOF
32201 if ac_fn_cxx_try_compile "$LINENO"; then :
32202 glibcxx_cv_func_modf_use=yes
32203 else
32204 glibcxx_cv_func_modf_use=no
32206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32207 ac_ext=c
32208 ac_cpp='$CPP $CPPFLAGS'
32209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
32218 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
32220 if test x$glibcxx_cv_func_modf_use = x"yes"; then
32221 for ac_func in modf
32222 do :
32223 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
32224 if test "x$ac_cv_func_modf" = xyes; then :
32225 cat >>confdefs.h <<_ACEOF
32226 #define HAVE_MODF 1
32227 _ACEOF
32230 done
32232 else
32234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
32235 $as_echo_n "checking for _modf declaration... " >&6; }
32236 if test x${glibcxx_cv_func__modf_use+set} != xset; then
32237 if ${glibcxx_cv_func__modf_use+:} false; then :
32238 $as_echo_n "(cached) " >&6
32239 else
32242 ac_ext=cpp
32243 ac_cpp='$CXXCPP $CPPFLAGS'
32244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32249 /* end confdefs.h. */
32250 #include <math.h>
32252 main ()
32254 _modf(0, 0);
32256 return 0;
32258 _ACEOF
32259 if ac_fn_cxx_try_compile "$LINENO"; then :
32260 glibcxx_cv_func__modf_use=yes
32261 else
32262 glibcxx_cv_func__modf_use=no
32264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32265 ac_ext=c
32266 ac_cpp='$CPP $CPPFLAGS'
32267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
32276 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
32278 if test x$glibcxx_cv_func__modf_use = x"yes"; then
32279 for ac_func in _modf
32280 do :
32281 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
32282 if test "x$ac_cv_func__modf" = xyes; then :
32283 cat >>confdefs.h <<_ACEOF
32284 #define HAVE__MODF 1
32285 _ACEOF
32288 done
32297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32298 $as_echo_n "checking for powf declaration... " >&6; }
32299 if test x${glibcxx_cv_func_powf_use+set} != xset; then
32300 if ${glibcxx_cv_func_powf_use+:} false; then :
32301 $as_echo_n "(cached) " >&6
32302 else
32305 ac_ext=cpp
32306 ac_cpp='$CXXCPP $CPPFLAGS'
32307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32312 /* end confdefs.h. */
32313 #include <math.h>
32315 main ()
32317 powf(0, 0);
32319 return 0;
32321 _ACEOF
32322 if ac_fn_cxx_try_compile "$LINENO"; then :
32323 glibcxx_cv_func_powf_use=yes
32324 else
32325 glibcxx_cv_func_powf_use=no
32327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32328 ac_ext=c
32329 ac_cpp='$CPP $CPPFLAGS'
32330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32339 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
32341 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32342 for ac_func in powf
32343 do :
32344 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32345 if test "x$ac_cv_func_powf" = xyes; then :
32346 cat >>confdefs.h <<_ACEOF
32347 #define HAVE_POWF 1
32348 _ACEOF
32351 done
32353 else
32355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32356 $as_echo_n "checking for _powf declaration... " >&6; }
32357 if test x${glibcxx_cv_func__powf_use+set} != xset; then
32358 if ${glibcxx_cv_func__powf_use+:} false; then :
32359 $as_echo_n "(cached) " >&6
32360 else
32363 ac_ext=cpp
32364 ac_cpp='$CXXCPP $CPPFLAGS'
32365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32370 /* end confdefs.h. */
32371 #include <math.h>
32373 main ()
32375 _powf(0, 0);
32377 return 0;
32379 _ACEOF
32380 if ac_fn_cxx_try_compile "$LINENO"; then :
32381 glibcxx_cv_func__powf_use=yes
32382 else
32383 glibcxx_cv_func__powf_use=no
32385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32386 ac_ext=c
32387 ac_cpp='$CPP $CPPFLAGS'
32388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32397 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
32399 if test x$glibcxx_cv_func__powf_use = x"yes"; then
32400 for ac_func in _powf
32401 do :
32402 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32403 if test "x$ac_cv_func__powf" = xyes; then :
32404 cat >>confdefs.h <<_ACEOF
32405 #define HAVE__POWF 1
32406 _ACEOF
32409 done
32418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
32419 $as_echo_n "checking for sqrtf declaration... " >&6; }
32420 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32421 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
32422 $as_echo_n "(cached) " >&6
32423 else
32426 ac_ext=cpp
32427 ac_cpp='$CXXCPP $CPPFLAGS'
32428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32433 /* end confdefs.h. */
32434 #include <math.h>
32435 #ifdef HAVE_IEEEFP_H
32436 #include <ieeefp.h>
32437 #endif
32440 main ()
32442 sqrtf(0);
32444 return 0;
32446 _ACEOF
32447 if ac_fn_cxx_try_compile "$LINENO"; then :
32448 glibcxx_cv_func_sqrtf_use=yes
32449 else
32450 glibcxx_cv_func_sqrtf_use=no
32452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32453 ac_ext=c
32454 ac_cpp='$CPP $CPPFLAGS'
32455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32464 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32466 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32467 for ac_func in sqrtf
32468 do :
32469 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32470 if test "x$ac_cv_func_sqrtf" = xyes; then :
32471 cat >>confdefs.h <<_ACEOF
32472 #define HAVE_SQRTF 1
32473 _ACEOF
32476 done
32478 else
32480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32481 $as_echo_n "checking for _sqrtf declaration... " >&6; }
32482 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32483 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
32484 $as_echo_n "(cached) " >&6
32485 else
32488 ac_ext=cpp
32489 ac_cpp='$CXXCPP $CPPFLAGS'
32490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32495 /* end confdefs.h. */
32496 #include <math.h>
32497 #ifdef HAVE_IEEEFP_H
32498 #include <ieeefp.h>
32499 #endif
32502 main ()
32504 _sqrtf(0);
32506 return 0;
32508 _ACEOF
32509 if ac_fn_cxx_try_compile "$LINENO"; then :
32510 glibcxx_cv_func__sqrtf_use=yes
32511 else
32512 glibcxx_cv_func__sqrtf_use=no
32514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32515 ac_ext=c
32516 ac_cpp='$CPP $CPPFLAGS'
32517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32526 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32528 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32529 for ac_func in _sqrtf
32530 do :
32531 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32532 if test "x$ac_cv_func__sqrtf" = xyes; then :
32533 cat >>confdefs.h <<_ACEOF
32534 #define HAVE__SQRTF 1
32535 _ACEOF
32538 done
32547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32548 $as_echo_n "checking for sincosf declaration... " >&6; }
32549 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32550 if ${glibcxx_cv_func_sincosf_use+:} false; then :
32551 $as_echo_n "(cached) " >&6
32552 else
32555 ac_ext=cpp
32556 ac_cpp='$CXXCPP $CPPFLAGS'
32557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32562 /* end confdefs.h. */
32563 #include <math.h>
32565 main ()
32567 sincosf(0, 0, 0);
32569 return 0;
32571 _ACEOF
32572 if ac_fn_cxx_try_compile "$LINENO"; then :
32573 glibcxx_cv_func_sincosf_use=yes
32574 else
32575 glibcxx_cv_func_sincosf_use=no
32577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32578 ac_ext=c
32579 ac_cpp='$CPP $CPPFLAGS'
32580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32589 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32591 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32592 for ac_func in sincosf
32593 do :
32594 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32595 if test "x$ac_cv_func_sincosf" = xyes; then :
32596 cat >>confdefs.h <<_ACEOF
32597 #define HAVE_SINCOSF 1
32598 _ACEOF
32601 done
32603 else
32605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32606 $as_echo_n "checking for _sincosf declaration... " >&6; }
32607 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32608 if ${glibcxx_cv_func__sincosf_use+:} false; then :
32609 $as_echo_n "(cached) " >&6
32610 else
32613 ac_ext=cpp
32614 ac_cpp='$CXXCPP $CPPFLAGS'
32615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32620 /* end confdefs.h. */
32621 #include <math.h>
32623 main ()
32625 _sincosf(0, 0, 0);
32627 return 0;
32629 _ACEOF
32630 if ac_fn_cxx_try_compile "$LINENO"; then :
32631 glibcxx_cv_func__sincosf_use=yes
32632 else
32633 glibcxx_cv_func__sincosf_use=no
32635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32636 ac_ext=c
32637 ac_cpp='$CPP $CPPFLAGS'
32638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32647 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32649 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32650 for ac_func in _sincosf
32651 do :
32652 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32653 if test "x$ac_cv_func__sincosf" = xyes; then :
32654 cat >>confdefs.h <<_ACEOF
32655 #define HAVE__SINCOSF 1
32656 _ACEOF
32659 done
32668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32669 $as_echo_n "checking for finitef declaration... " >&6; }
32670 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32671 if ${glibcxx_cv_func_finitef_use+:} false; then :
32672 $as_echo_n "(cached) " >&6
32673 else
32676 ac_ext=cpp
32677 ac_cpp='$CXXCPP $CPPFLAGS'
32678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32683 /* end confdefs.h. */
32684 #include <math.h>
32685 #ifdef HAVE_IEEEFP_H
32686 #include <ieeefp.h>
32687 #endif
32690 main ()
32692 finitef(0);
32694 return 0;
32696 _ACEOF
32697 if ac_fn_cxx_try_compile "$LINENO"; then :
32698 glibcxx_cv_func_finitef_use=yes
32699 else
32700 glibcxx_cv_func_finitef_use=no
32702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32703 ac_ext=c
32704 ac_cpp='$CPP $CPPFLAGS'
32705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32714 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32716 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32717 for ac_func in finitef
32718 do :
32719 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32720 if test "x$ac_cv_func_finitef" = xyes; then :
32721 cat >>confdefs.h <<_ACEOF
32722 #define HAVE_FINITEF 1
32723 _ACEOF
32726 done
32728 else
32730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32731 $as_echo_n "checking for _finitef declaration... " >&6; }
32732 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32733 if ${glibcxx_cv_func__finitef_use+:} false; then :
32734 $as_echo_n "(cached) " >&6
32735 else
32738 ac_ext=cpp
32739 ac_cpp='$CXXCPP $CPPFLAGS'
32740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32745 /* end confdefs.h. */
32746 #include <math.h>
32747 #ifdef HAVE_IEEEFP_H
32748 #include <ieeefp.h>
32749 #endif
32752 main ()
32754 _finitef(0);
32756 return 0;
32758 _ACEOF
32759 if ac_fn_cxx_try_compile "$LINENO"; then :
32760 glibcxx_cv_func__finitef_use=yes
32761 else
32762 glibcxx_cv_func__finitef_use=no
32764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32765 ac_ext=c
32766 ac_cpp='$CPP $CPPFLAGS'
32767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32776 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32778 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32779 for ac_func in _finitef
32780 do :
32781 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32782 if test "x$ac_cv_func__finitef" = xyes; then :
32783 cat >>confdefs.h <<_ACEOF
32784 #define HAVE__FINITEF 1
32785 _ACEOF
32788 done
32797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32798 $as_echo_n "checking for long double trig functions... " >&6; }
32799 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
32800 $as_echo_n "(cached) " >&6
32801 else
32804 ac_ext=cpp
32805 ac_cpp='$CXXCPP $CPPFLAGS'
32806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32811 /* end confdefs.h. */
32812 #include <math.h>
32814 main ()
32816 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32818 return 0;
32820 _ACEOF
32821 if ac_fn_cxx_try_compile "$LINENO"; then :
32822 glibcxx_cv_func_long_double_trig_use=yes
32823 else
32824 glibcxx_cv_func_long_double_trig_use=no
32826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32827 ac_ext=c
32828 ac_cpp='$CPP $CPPFLAGS'
32829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32836 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32837 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32838 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32839 do :
32840 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32841 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32842 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32843 cat >>confdefs.h <<_ACEOF
32844 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32845 _ACEOF
32848 done
32850 else
32851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32852 $as_echo_n "checking for _long double trig functions... " >&6; }
32853 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
32854 $as_echo_n "(cached) " >&6
32855 else
32858 ac_ext=cpp
32859 ac_cpp='$CXXCPP $CPPFLAGS'
32860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32865 /* end confdefs.h. */
32866 #include <math.h>
32868 main ()
32870 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32872 return 0;
32874 _ACEOF
32875 if ac_fn_cxx_try_compile "$LINENO"; then :
32876 glibcxx_cv_func__long_double_trig_use=yes
32877 else
32878 glibcxx_cv_func__long_double_trig_use=no
32880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32881 ac_ext=c
32882 ac_cpp='$CPP $CPPFLAGS'
32883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32890 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32891 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32892 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32893 do :
32894 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32895 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32896 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32897 cat >>confdefs.h <<_ACEOF
32898 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32899 _ACEOF
32902 done
32911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32912 $as_echo_n "checking for long double round functions... " >&6; }
32913 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
32914 $as_echo_n "(cached) " >&6
32915 else
32918 ac_ext=cpp
32919 ac_cpp='$CXXCPP $CPPFLAGS'
32920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32925 /* end confdefs.h. */
32926 #include <math.h>
32928 main ()
32930 ceill (0); floorl (0);
32932 return 0;
32934 _ACEOF
32935 if ac_fn_cxx_try_compile "$LINENO"; then :
32936 glibcxx_cv_func_long_double_round_use=yes
32937 else
32938 glibcxx_cv_func_long_double_round_use=no
32940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32941 ac_ext=c
32942 ac_cpp='$CPP $CPPFLAGS'
32943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32950 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32951 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32952 for ac_func in ceill floorl
32953 do :
32954 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32955 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32956 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32957 cat >>confdefs.h <<_ACEOF
32958 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32959 _ACEOF
32962 done
32964 else
32965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
32966 $as_echo_n "checking for _long double round functions... " >&6; }
32967 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
32968 $as_echo_n "(cached) " >&6
32969 else
32972 ac_ext=cpp
32973 ac_cpp='$CXXCPP $CPPFLAGS'
32974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32979 /* end confdefs.h. */
32980 #include <math.h>
32982 main ()
32984 _ceill (0); _floorl (0);
32986 return 0;
32988 _ACEOF
32989 if ac_fn_cxx_try_compile "$LINENO"; then :
32990 glibcxx_cv_func__long_double_round_use=yes
32991 else
32992 glibcxx_cv_func__long_double_round_use=no
32994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32995 ac_ext=c
32996 ac_cpp='$CPP $CPPFLAGS'
32997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
33004 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
33005 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
33006 for ac_func in _ceill _floorl
33007 do :
33008 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33009 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33010 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33011 cat >>confdefs.h <<_ACEOF
33012 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33013 _ACEOF
33016 done
33026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
33027 $as_echo_n "checking for isnanl declaration... " >&6; }
33028 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
33029 if ${glibcxx_cv_func_isnanl_use+:} false; then :
33030 $as_echo_n "(cached) " >&6
33031 else
33034 ac_ext=cpp
33035 ac_cpp='$CXXCPP $CPPFLAGS'
33036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33041 /* end confdefs.h. */
33042 #include <math.h>
33043 #ifdef HAVE_IEEEFP_H
33044 #include <ieeefp.h>
33045 #endif
33048 main ()
33050 isnanl(0);
33052 return 0;
33054 _ACEOF
33055 if ac_fn_cxx_try_compile "$LINENO"; then :
33056 glibcxx_cv_func_isnanl_use=yes
33057 else
33058 glibcxx_cv_func_isnanl_use=no
33060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33061 ac_ext=c
33062 ac_cpp='$CPP $CPPFLAGS'
33063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
33072 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
33074 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
33075 for ac_func in isnanl
33076 do :
33077 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
33078 if test "x$ac_cv_func_isnanl" = xyes; then :
33079 cat >>confdefs.h <<_ACEOF
33080 #define HAVE_ISNANL 1
33081 _ACEOF
33084 done
33086 else
33088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
33089 $as_echo_n "checking for _isnanl declaration... " >&6; }
33090 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
33091 if ${glibcxx_cv_func__isnanl_use+:} false; then :
33092 $as_echo_n "(cached) " >&6
33093 else
33096 ac_ext=cpp
33097 ac_cpp='$CXXCPP $CPPFLAGS'
33098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33103 /* end confdefs.h. */
33104 #include <math.h>
33105 #ifdef HAVE_IEEEFP_H
33106 #include <ieeefp.h>
33107 #endif
33110 main ()
33112 _isnanl(0);
33114 return 0;
33116 _ACEOF
33117 if ac_fn_cxx_try_compile "$LINENO"; then :
33118 glibcxx_cv_func__isnanl_use=yes
33119 else
33120 glibcxx_cv_func__isnanl_use=no
33122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33123 ac_ext=c
33124 ac_cpp='$CPP $CPPFLAGS'
33125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
33134 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
33136 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
33137 for ac_func in _isnanl
33138 do :
33139 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
33140 if test "x$ac_cv_func__isnanl" = xyes; then :
33141 cat >>confdefs.h <<_ACEOF
33142 #define HAVE__ISNANL 1
33143 _ACEOF
33146 done
33155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
33156 $as_echo_n "checking for isinfl declaration... " >&6; }
33157 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
33158 if ${glibcxx_cv_func_isinfl_use+:} false; then :
33159 $as_echo_n "(cached) " >&6
33160 else
33163 ac_ext=cpp
33164 ac_cpp='$CXXCPP $CPPFLAGS'
33165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33170 /* end confdefs.h. */
33171 #include <math.h>
33172 #ifdef HAVE_IEEEFP_H
33173 #include <ieeefp.h>
33174 #endif
33177 main ()
33179 isinfl(0);
33181 return 0;
33183 _ACEOF
33184 if ac_fn_cxx_try_compile "$LINENO"; then :
33185 glibcxx_cv_func_isinfl_use=yes
33186 else
33187 glibcxx_cv_func_isinfl_use=no
33189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33190 ac_ext=c
33191 ac_cpp='$CPP $CPPFLAGS'
33192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
33201 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
33203 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
33204 for ac_func in isinfl
33205 do :
33206 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
33207 if test "x$ac_cv_func_isinfl" = xyes; then :
33208 cat >>confdefs.h <<_ACEOF
33209 #define HAVE_ISINFL 1
33210 _ACEOF
33213 done
33215 else
33217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
33218 $as_echo_n "checking for _isinfl declaration... " >&6; }
33219 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
33220 if ${glibcxx_cv_func__isinfl_use+:} false; then :
33221 $as_echo_n "(cached) " >&6
33222 else
33225 ac_ext=cpp
33226 ac_cpp='$CXXCPP $CPPFLAGS'
33227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33232 /* end confdefs.h. */
33233 #include <math.h>
33234 #ifdef HAVE_IEEEFP_H
33235 #include <ieeefp.h>
33236 #endif
33239 main ()
33241 _isinfl(0);
33243 return 0;
33245 _ACEOF
33246 if ac_fn_cxx_try_compile "$LINENO"; then :
33247 glibcxx_cv_func__isinfl_use=yes
33248 else
33249 glibcxx_cv_func__isinfl_use=no
33251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33252 ac_ext=c
33253 ac_cpp='$CPP $CPPFLAGS'
33254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
33263 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
33265 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
33266 for ac_func in _isinfl
33267 do :
33268 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
33269 if test "x$ac_cv_func__isinfl" = xyes; then :
33270 cat >>confdefs.h <<_ACEOF
33271 #define HAVE__ISINFL 1
33272 _ACEOF
33275 done
33284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33285 $as_echo_n "checking for atan2l declaration... " >&6; }
33286 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33287 if ${glibcxx_cv_func_atan2l_use+:} false; then :
33288 $as_echo_n "(cached) " >&6
33289 else
33292 ac_ext=cpp
33293 ac_cpp='$CXXCPP $CPPFLAGS'
33294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33299 /* end confdefs.h. */
33300 #include <math.h>
33302 main ()
33304 atan2l(0, 0);
33306 return 0;
33308 _ACEOF
33309 if ac_fn_cxx_try_compile "$LINENO"; then :
33310 glibcxx_cv_func_atan2l_use=yes
33311 else
33312 glibcxx_cv_func_atan2l_use=no
33314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33315 ac_ext=c
33316 ac_cpp='$CPP $CPPFLAGS'
33317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33326 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33328 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33329 for ac_func in atan2l
33330 do :
33331 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33332 if test "x$ac_cv_func_atan2l" = xyes; then :
33333 cat >>confdefs.h <<_ACEOF
33334 #define HAVE_ATAN2L 1
33335 _ACEOF
33338 done
33340 else
33342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33343 $as_echo_n "checking for _atan2l declaration... " >&6; }
33344 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33345 if ${glibcxx_cv_func__atan2l_use+:} false; then :
33346 $as_echo_n "(cached) " >&6
33347 else
33350 ac_ext=cpp
33351 ac_cpp='$CXXCPP $CPPFLAGS'
33352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33357 /* end confdefs.h. */
33358 #include <math.h>
33360 main ()
33362 _atan2l(0, 0);
33364 return 0;
33366 _ACEOF
33367 if ac_fn_cxx_try_compile "$LINENO"; then :
33368 glibcxx_cv_func__atan2l_use=yes
33369 else
33370 glibcxx_cv_func__atan2l_use=no
33372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33373 ac_ext=c
33374 ac_cpp='$CPP $CPPFLAGS'
33375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33384 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33386 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33387 for ac_func in _atan2l
33388 do :
33389 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33390 if test "x$ac_cv_func__atan2l" = xyes; then :
33391 cat >>confdefs.h <<_ACEOF
33392 #define HAVE__ATAN2L 1
33393 _ACEOF
33396 done
33405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33406 $as_echo_n "checking for expl declaration... " >&6; }
33407 if test x${glibcxx_cv_func_expl_use+set} != xset; then
33408 if ${glibcxx_cv_func_expl_use+:} false; then :
33409 $as_echo_n "(cached) " >&6
33410 else
33413 ac_ext=cpp
33414 ac_cpp='$CXXCPP $CPPFLAGS'
33415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33420 /* end confdefs.h. */
33421 #include <math.h>
33422 #ifdef HAVE_IEEEFP_H
33423 #include <ieeefp.h>
33424 #endif
33427 main ()
33429 expl(0);
33431 return 0;
33433 _ACEOF
33434 if ac_fn_cxx_try_compile "$LINENO"; then :
33435 glibcxx_cv_func_expl_use=yes
33436 else
33437 glibcxx_cv_func_expl_use=no
33439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33440 ac_ext=c
33441 ac_cpp='$CPP $CPPFLAGS'
33442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
33451 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
33453 if test x$glibcxx_cv_func_expl_use = x"yes"; then
33454 for ac_func in expl
33455 do :
33456 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33457 if test "x$ac_cv_func_expl" = xyes; then :
33458 cat >>confdefs.h <<_ACEOF
33459 #define HAVE_EXPL 1
33460 _ACEOF
33463 done
33465 else
33467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33468 $as_echo_n "checking for _expl declaration... " >&6; }
33469 if test x${glibcxx_cv_func__expl_use+set} != xset; then
33470 if ${glibcxx_cv_func__expl_use+:} false; then :
33471 $as_echo_n "(cached) " >&6
33472 else
33475 ac_ext=cpp
33476 ac_cpp='$CXXCPP $CPPFLAGS'
33477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33482 /* end confdefs.h. */
33483 #include <math.h>
33484 #ifdef HAVE_IEEEFP_H
33485 #include <ieeefp.h>
33486 #endif
33489 main ()
33491 _expl(0);
33493 return 0;
33495 _ACEOF
33496 if ac_fn_cxx_try_compile "$LINENO"; then :
33497 glibcxx_cv_func__expl_use=yes
33498 else
33499 glibcxx_cv_func__expl_use=no
33501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33502 ac_ext=c
33503 ac_cpp='$CPP $CPPFLAGS'
33504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33513 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
33515 if test x$glibcxx_cv_func__expl_use = x"yes"; then
33516 for ac_func in _expl
33517 do :
33518 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33519 if test "x$ac_cv_func__expl" = xyes; then :
33520 cat >>confdefs.h <<_ACEOF
33521 #define HAVE__EXPL 1
33522 _ACEOF
33525 done
33534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33535 $as_echo_n "checking for fabsl declaration... " >&6; }
33536 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33537 if ${glibcxx_cv_func_fabsl_use+:} false; then :
33538 $as_echo_n "(cached) " >&6
33539 else
33542 ac_ext=cpp
33543 ac_cpp='$CXXCPP $CPPFLAGS'
33544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33549 /* end confdefs.h. */
33550 #include <math.h>
33551 #ifdef HAVE_IEEEFP_H
33552 #include <ieeefp.h>
33553 #endif
33556 main ()
33558 fabsl(0);
33560 return 0;
33562 _ACEOF
33563 if ac_fn_cxx_try_compile "$LINENO"; then :
33564 glibcxx_cv_func_fabsl_use=yes
33565 else
33566 glibcxx_cv_func_fabsl_use=no
33568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33569 ac_ext=c
33570 ac_cpp='$CPP $CPPFLAGS'
33571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33580 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33582 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33583 for ac_func in fabsl
33584 do :
33585 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33586 if test "x$ac_cv_func_fabsl" = xyes; then :
33587 cat >>confdefs.h <<_ACEOF
33588 #define HAVE_FABSL 1
33589 _ACEOF
33592 done
33594 else
33596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33597 $as_echo_n "checking for _fabsl declaration... " >&6; }
33598 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33599 if ${glibcxx_cv_func__fabsl_use+:} false; then :
33600 $as_echo_n "(cached) " >&6
33601 else
33604 ac_ext=cpp
33605 ac_cpp='$CXXCPP $CPPFLAGS'
33606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33611 /* end confdefs.h. */
33612 #include <math.h>
33613 #ifdef HAVE_IEEEFP_H
33614 #include <ieeefp.h>
33615 #endif
33618 main ()
33620 _fabsl(0);
33622 return 0;
33624 _ACEOF
33625 if ac_fn_cxx_try_compile "$LINENO"; then :
33626 glibcxx_cv_func__fabsl_use=yes
33627 else
33628 glibcxx_cv_func__fabsl_use=no
33630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33631 ac_ext=c
33632 ac_cpp='$CPP $CPPFLAGS'
33633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33642 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33644 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33645 for ac_func in _fabsl
33646 do :
33647 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33648 if test "x$ac_cv_func__fabsl" = xyes; then :
33649 cat >>confdefs.h <<_ACEOF
33650 #define HAVE__FABSL 1
33651 _ACEOF
33654 done
33663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33664 $as_echo_n "checking for fmodl declaration... " >&6; }
33665 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33666 if ${glibcxx_cv_func_fmodl_use+:} false; then :
33667 $as_echo_n "(cached) " >&6
33668 else
33671 ac_ext=cpp
33672 ac_cpp='$CXXCPP $CPPFLAGS'
33673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33678 /* end confdefs.h. */
33679 #include <math.h>
33681 main ()
33683 fmodl(0, 0);
33685 return 0;
33687 _ACEOF
33688 if ac_fn_cxx_try_compile "$LINENO"; then :
33689 glibcxx_cv_func_fmodl_use=yes
33690 else
33691 glibcxx_cv_func_fmodl_use=no
33693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33694 ac_ext=c
33695 ac_cpp='$CPP $CPPFLAGS'
33696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33705 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33707 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33708 for ac_func in fmodl
33709 do :
33710 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33711 if test "x$ac_cv_func_fmodl" = xyes; then :
33712 cat >>confdefs.h <<_ACEOF
33713 #define HAVE_FMODL 1
33714 _ACEOF
33717 done
33719 else
33721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33722 $as_echo_n "checking for _fmodl declaration... " >&6; }
33723 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33724 if ${glibcxx_cv_func__fmodl_use+:} false; then :
33725 $as_echo_n "(cached) " >&6
33726 else
33729 ac_ext=cpp
33730 ac_cpp='$CXXCPP $CPPFLAGS'
33731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33736 /* end confdefs.h. */
33737 #include <math.h>
33739 main ()
33741 _fmodl(0, 0);
33743 return 0;
33745 _ACEOF
33746 if ac_fn_cxx_try_compile "$LINENO"; then :
33747 glibcxx_cv_func__fmodl_use=yes
33748 else
33749 glibcxx_cv_func__fmodl_use=no
33751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33752 ac_ext=c
33753 ac_cpp='$CPP $CPPFLAGS'
33754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33763 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33765 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33766 for ac_func in _fmodl
33767 do :
33768 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33769 if test "x$ac_cv_func__fmodl" = xyes; then :
33770 cat >>confdefs.h <<_ACEOF
33771 #define HAVE__FMODL 1
33772 _ACEOF
33775 done
33784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33785 $as_echo_n "checking for frexpl declaration... " >&6; }
33786 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33787 if ${glibcxx_cv_func_frexpl_use+:} false; then :
33788 $as_echo_n "(cached) " >&6
33789 else
33792 ac_ext=cpp
33793 ac_cpp='$CXXCPP $CPPFLAGS'
33794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33799 /* end confdefs.h. */
33800 #include <math.h>
33802 main ()
33804 frexpl(0, 0);
33806 return 0;
33808 _ACEOF
33809 if ac_fn_cxx_try_compile "$LINENO"; then :
33810 glibcxx_cv_func_frexpl_use=yes
33811 else
33812 glibcxx_cv_func_frexpl_use=no
33814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33815 ac_ext=c
33816 ac_cpp='$CPP $CPPFLAGS'
33817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33826 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33828 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33829 for ac_func in frexpl
33830 do :
33831 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33832 if test "x$ac_cv_func_frexpl" = xyes; then :
33833 cat >>confdefs.h <<_ACEOF
33834 #define HAVE_FREXPL 1
33835 _ACEOF
33838 done
33840 else
33842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33843 $as_echo_n "checking for _frexpl declaration... " >&6; }
33844 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33845 if ${glibcxx_cv_func__frexpl_use+:} false; then :
33846 $as_echo_n "(cached) " >&6
33847 else
33850 ac_ext=cpp
33851 ac_cpp='$CXXCPP $CPPFLAGS'
33852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33857 /* end confdefs.h. */
33858 #include <math.h>
33860 main ()
33862 _frexpl(0, 0);
33864 return 0;
33866 _ACEOF
33867 if ac_fn_cxx_try_compile "$LINENO"; then :
33868 glibcxx_cv_func__frexpl_use=yes
33869 else
33870 glibcxx_cv_func__frexpl_use=no
33872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33873 ac_ext=c
33874 ac_cpp='$CPP $CPPFLAGS'
33875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33884 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33886 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33887 for ac_func in _frexpl
33888 do :
33889 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33890 if test "x$ac_cv_func__frexpl" = xyes; then :
33891 cat >>confdefs.h <<_ACEOF
33892 #define HAVE__FREXPL 1
33893 _ACEOF
33896 done
33905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33906 $as_echo_n "checking for hypotl declaration... " >&6; }
33907 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33908 if ${glibcxx_cv_func_hypotl_use+:} false; then :
33909 $as_echo_n "(cached) " >&6
33910 else
33913 ac_ext=cpp
33914 ac_cpp='$CXXCPP $CPPFLAGS'
33915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33920 /* end confdefs.h. */
33921 #include <math.h>
33923 main ()
33925 hypotl(0, 0);
33927 return 0;
33929 _ACEOF
33930 if ac_fn_cxx_try_compile "$LINENO"; then :
33931 glibcxx_cv_func_hypotl_use=yes
33932 else
33933 glibcxx_cv_func_hypotl_use=no
33935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33936 ac_ext=c
33937 ac_cpp='$CPP $CPPFLAGS'
33938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33947 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33949 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33950 for ac_func in hypotl
33951 do :
33952 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
33953 if test "x$ac_cv_func_hypotl" = xyes; then :
33954 cat >>confdefs.h <<_ACEOF
33955 #define HAVE_HYPOTL 1
33956 _ACEOF
33959 done
33961 else
33963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
33964 $as_echo_n "checking for _hypotl declaration... " >&6; }
33965 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
33966 if ${glibcxx_cv_func__hypotl_use+:} false; then :
33967 $as_echo_n "(cached) " >&6
33968 else
33971 ac_ext=cpp
33972 ac_cpp='$CXXCPP $CPPFLAGS'
33973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33978 /* end confdefs.h. */
33979 #include <math.h>
33981 main ()
33983 _hypotl(0, 0);
33985 return 0;
33987 _ACEOF
33988 if ac_fn_cxx_try_compile "$LINENO"; then :
33989 glibcxx_cv_func__hypotl_use=yes
33990 else
33991 glibcxx_cv_func__hypotl_use=no
33993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33994 ac_ext=c
33995 ac_cpp='$CPP $CPPFLAGS'
33996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
34005 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
34007 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
34008 for ac_func in _hypotl
34009 do :
34010 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
34011 if test "x$ac_cv_func__hypotl" = xyes; then :
34012 cat >>confdefs.h <<_ACEOF
34013 #define HAVE__HYPOTL 1
34014 _ACEOF
34017 done
34026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
34027 $as_echo_n "checking for ldexpl declaration... " >&6; }
34028 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
34029 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
34030 $as_echo_n "(cached) " >&6
34031 else
34034 ac_ext=cpp
34035 ac_cpp='$CXXCPP $CPPFLAGS'
34036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34041 /* end confdefs.h. */
34042 #include <math.h>
34044 main ()
34046 ldexpl(0, 0);
34048 return 0;
34050 _ACEOF
34051 if ac_fn_cxx_try_compile "$LINENO"; then :
34052 glibcxx_cv_func_ldexpl_use=yes
34053 else
34054 glibcxx_cv_func_ldexpl_use=no
34056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34057 ac_ext=c
34058 ac_cpp='$CPP $CPPFLAGS'
34059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
34068 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
34070 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
34071 for ac_func in ldexpl
34072 do :
34073 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
34074 if test "x$ac_cv_func_ldexpl" = xyes; then :
34075 cat >>confdefs.h <<_ACEOF
34076 #define HAVE_LDEXPL 1
34077 _ACEOF
34080 done
34082 else
34084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
34085 $as_echo_n "checking for _ldexpl declaration... " >&6; }
34086 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
34087 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
34088 $as_echo_n "(cached) " >&6
34089 else
34092 ac_ext=cpp
34093 ac_cpp='$CXXCPP $CPPFLAGS'
34094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34099 /* end confdefs.h. */
34100 #include <math.h>
34102 main ()
34104 _ldexpl(0, 0);
34106 return 0;
34108 _ACEOF
34109 if ac_fn_cxx_try_compile "$LINENO"; then :
34110 glibcxx_cv_func__ldexpl_use=yes
34111 else
34112 glibcxx_cv_func__ldexpl_use=no
34114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34115 ac_ext=c
34116 ac_cpp='$CPP $CPPFLAGS'
34117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
34126 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
34128 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
34129 for ac_func in _ldexpl
34130 do :
34131 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
34132 if test "x$ac_cv_func__ldexpl" = xyes; then :
34133 cat >>confdefs.h <<_ACEOF
34134 #define HAVE__LDEXPL 1
34135 _ACEOF
34138 done
34147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
34148 $as_echo_n "checking for logl declaration... " >&6; }
34149 if test x${glibcxx_cv_func_logl_use+set} != xset; then
34150 if ${glibcxx_cv_func_logl_use+:} false; then :
34151 $as_echo_n "(cached) " >&6
34152 else
34155 ac_ext=cpp
34156 ac_cpp='$CXXCPP $CPPFLAGS'
34157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34162 /* end confdefs.h. */
34163 #include <math.h>
34164 #ifdef HAVE_IEEEFP_H
34165 #include <ieeefp.h>
34166 #endif
34169 main ()
34171 logl(0);
34173 return 0;
34175 _ACEOF
34176 if ac_fn_cxx_try_compile "$LINENO"; then :
34177 glibcxx_cv_func_logl_use=yes
34178 else
34179 glibcxx_cv_func_logl_use=no
34181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34182 ac_ext=c
34183 ac_cpp='$CPP $CPPFLAGS'
34184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
34193 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
34195 if test x$glibcxx_cv_func_logl_use = x"yes"; then
34196 for ac_func in logl
34197 do :
34198 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
34199 if test "x$ac_cv_func_logl" = xyes; then :
34200 cat >>confdefs.h <<_ACEOF
34201 #define HAVE_LOGL 1
34202 _ACEOF
34205 done
34207 else
34209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
34210 $as_echo_n "checking for _logl declaration... " >&6; }
34211 if test x${glibcxx_cv_func__logl_use+set} != xset; then
34212 if ${glibcxx_cv_func__logl_use+:} false; then :
34213 $as_echo_n "(cached) " >&6
34214 else
34217 ac_ext=cpp
34218 ac_cpp='$CXXCPP $CPPFLAGS'
34219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34224 /* end confdefs.h. */
34225 #include <math.h>
34226 #ifdef HAVE_IEEEFP_H
34227 #include <ieeefp.h>
34228 #endif
34231 main ()
34233 _logl(0);
34235 return 0;
34237 _ACEOF
34238 if ac_fn_cxx_try_compile "$LINENO"; then :
34239 glibcxx_cv_func__logl_use=yes
34240 else
34241 glibcxx_cv_func__logl_use=no
34243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34244 ac_ext=c
34245 ac_cpp='$CPP $CPPFLAGS'
34246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
34255 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
34257 if test x$glibcxx_cv_func__logl_use = x"yes"; then
34258 for ac_func in _logl
34259 do :
34260 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
34261 if test "x$ac_cv_func__logl" = xyes; then :
34262 cat >>confdefs.h <<_ACEOF
34263 #define HAVE__LOGL 1
34264 _ACEOF
34267 done
34276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
34277 $as_echo_n "checking for log10l declaration... " >&6; }
34278 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
34279 if ${glibcxx_cv_func_log10l_use+:} false; then :
34280 $as_echo_n "(cached) " >&6
34281 else
34284 ac_ext=cpp
34285 ac_cpp='$CXXCPP $CPPFLAGS'
34286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34291 /* end confdefs.h. */
34292 #include <math.h>
34293 #ifdef HAVE_IEEEFP_H
34294 #include <ieeefp.h>
34295 #endif
34298 main ()
34300 log10l(0);
34302 return 0;
34304 _ACEOF
34305 if ac_fn_cxx_try_compile "$LINENO"; then :
34306 glibcxx_cv_func_log10l_use=yes
34307 else
34308 glibcxx_cv_func_log10l_use=no
34310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34311 ac_ext=c
34312 ac_cpp='$CPP $CPPFLAGS'
34313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34322 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34324 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34325 for ac_func in log10l
34326 do :
34327 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34328 if test "x$ac_cv_func_log10l" = xyes; then :
34329 cat >>confdefs.h <<_ACEOF
34330 #define HAVE_LOG10L 1
34331 _ACEOF
34334 done
34336 else
34338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34339 $as_echo_n "checking for _log10l declaration... " >&6; }
34340 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34341 if ${glibcxx_cv_func__log10l_use+:} false; then :
34342 $as_echo_n "(cached) " >&6
34343 else
34346 ac_ext=cpp
34347 ac_cpp='$CXXCPP $CPPFLAGS'
34348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34353 /* end confdefs.h. */
34354 #include <math.h>
34355 #ifdef HAVE_IEEEFP_H
34356 #include <ieeefp.h>
34357 #endif
34360 main ()
34362 _log10l(0);
34364 return 0;
34366 _ACEOF
34367 if ac_fn_cxx_try_compile "$LINENO"; then :
34368 glibcxx_cv_func__log10l_use=yes
34369 else
34370 glibcxx_cv_func__log10l_use=no
34372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34373 ac_ext=c
34374 ac_cpp='$CPP $CPPFLAGS'
34375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34384 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34386 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34387 for ac_func in _log10l
34388 do :
34389 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34390 if test "x$ac_cv_func__log10l" = xyes; then :
34391 cat >>confdefs.h <<_ACEOF
34392 #define HAVE__LOG10L 1
34393 _ACEOF
34396 done
34405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34406 $as_echo_n "checking for modfl declaration... " >&6; }
34407 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34408 if ${glibcxx_cv_func_modfl_use+:} false; then :
34409 $as_echo_n "(cached) " >&6
34410 else
34413 ac_ext=cpp
34414 ac_cpp='$CXXCPP $CPPFLAGS'
34415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34420 /* end confdefs.h. */
34421 #include <math.h>
34423 main ()
34425 modfl(0, 0);
34427 return 0;
34429 _ACEOF
34430 if ac_fn_cxx_try_compile "$LINENO"; then :
34431 glibcxx_cv_func_modfl_use=yes
34432 else
34433 glibcxx_cv_func_modfl_use=no
34435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34436 ac_ext=c
34437 ac_cpp='$CPP $CPPFLAGS'
34438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
34447 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
34449 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34450 for ac_func in modfl
34451 do :
34452 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
34453 if test "x$ac_cv_func_modfl" = xyes; then :
34454 cat >>confdefs.h <<_ACEOF
34455 #define HAVE_MODFL 1
34456 _ACEOF
34459 done
34461 else
34463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34464 $as_echo_n "checking for _modfl declaration... " >&6; }
34465 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34466 if ${glibcxx_cv_func__modfl_use+:} false; then :
34467 $as_echo_n "(cached) " >&6
34468 else
34471 ac_ext=cpp
34472 ac_cpp='$CXXCPP $CPPFLAGS'
34473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34478 /* end confdefs.h. */
34479 #include <math.h>
34481 main ()
34483 _modfl(0, 0);
34485 return 0;
34487 _ACEOF
34488 if ac_fn_cxx_try_compile "$LINENO"; then :
34489 glibcxx_cv_func__modfl_use=yes
34490 else
34491 glibcxx_cv_func__modfl_use=no
34493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34494 ac_ext=c
34495 ac_cpp='$CPP $CPPFLAGS'
34496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34505 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34507 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34508 for ac_func in _modfl
34509 do :
34510 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34511 if test "x$ac_cv_func__modfl" = xyes; then :
34512 cat >>confdefs.h <<_ACEOF
34513 #define HAVE__MODFL 1
34514 _ACEOF
34517 done
34526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34527 $as_echo_n "checking for powl declaration... " >&6; }
34528 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34529 if ${glibcxx_cv_func_powl_use+:} false; then :
34530 $as_echo_n "(cached) " >&6
34531 else
34534 ac_ext=cpp
34535 ac_cpp='$CXXCPP $CPPFLAGS'
34536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34541 /* end confdefs.h. */
34542 #include <math.h>
34544 main ()
34546 powl(0, 0);
34548 return 0;
34550 _ACEOF
34551 if ac_fn_cxx_try_compile "$LINENO"; then :
34552 glibcxx_cv_func_powl_use=yes
34553 else
34554 glibcxx_cv_func_powl_use=no
34556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34557 ac_ext=c
34558 ac_cpp='$CPP $CPPFLAGS'
34559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34568 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34570 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34571 for ac_func in powl
34572 do :
34573 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34574 if test "x$ac_cv_func_powl" = xyes; then :
34575 cat >>confdefs.h <<_ACEOF
34576 #define HAVE_POWL 1
34577 _ACEOF
34580 done
34582 else
34584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34585 $as_echo_n "checking for _powl declaration... " >&6; }
34586 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34587 if ${glibcxx_cv_func__powl_use+:} false; then :
34588 $as_echo_n "(cached) " >&6
34589 else
34592 ac_ext=cpp
34593 ac_cpp='$CXXCPP $CPPFLAGS'
34594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34599 /* end confdefs.h. */
34600 #include <math.h>
34602 main ()
34604 _powl(0, 0);
34606 return 0;
34608 _ACEOF
34609 if ac_fn_cxx_try_compile "$LINENO"; then :
34610 glibcxx_cv_func__powl_use=yes
34611 else
34612 glibcxx_cv_func__powl_use=no
34614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34615 ac_ext=c
34616 ac_cpp='$CPP $CPPFLAGS'
34617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34626 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34628 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34629 for ac_func in _powl
34630 do :
34631 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34632 if test "x$ac_cv_func__powl" = xyes; then :
34633 cat >>confdefs.h <<_ACEOF
34634 #define HAVE__POWL 1
34635 _ACEOF
34638 done
34647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34648 $as_echo_n "checking for sqrtl declaration... " >&6; }
34649 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34650 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
34651 $as_echo_n "(cached) " >&6
34652 else
34655 ac_ext=cpp
34656 ac_cpp='$CXXCPP $CPPFLAGS'
34657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34662 /* end confdefs.h. */
34663 #include <math.h>
34664 #ifdef HAVE_IEEEFP_H
34665 #include <ieeefp.h>
34666 #endif
34669 main ()
34671 sqrtl(0);
34673 return 0;
34675 _ACEOF
34676 if ac_fn_cxx_try_compile "$LINENO"; then :
34677 glibcxx_cv_func_sqrtl_use=yes
34678 else
34679 glibcxx_cv_func_sqrtl_use=no
34681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34682 ac_ext=c
34683 ac_cpp='$CPP $CPPFLAGS'
34684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34693 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34695 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34696 for ac_func in sqrtl
34697 do :
34698 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34699 if test "x$ac_cv_func_sqrtl" = xyes; then :
34700 cat >>confdefs.h <<_ACEOF
34701 #define HAVE_SQRTL 1
34702 _ACEOF
34705 done
34707 else
34709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34710 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34711 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34712 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
34713 $as_echo_n "(cached) " >&6
34714 else
34717 ac_ext=cpp
34718 ac_cpp='$CXXCPP $CPPFLAGS'
34719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34724 /* end confdefs.h. */
34725 #include <math.h>
34726 #ifdef HAVE_IEEEFP_H
34727 #include <ieeefp.h>
34728 #endif
34731 main ()
34733 _sqrtl(0);
34735 return 0;
34737 _ACEOF
34738 if ac_fn_cxx_try_compile "$LINENO"; then :
34739 glibcxx_cv_func__sqrtl_use=yes
34740 else
34741 glibcxx_cv_func__sqrtl_use=no
34743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34744 ac_ext=c
34745 ac_cpp='$CPP $CPPFLAGS'
34746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34755 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34757 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34758 for ac_func in _sqrtl
34759 do :
34760 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34761 if test "x$ac_cv_func__sqrtl" = xyes; then :
34762 cat >>confdefs.h <<_ACEOF
34763 #define HAVE__SQRTL 1
34764 _ACEOF
34767 done
34776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34777 $as_echo_n "checking for sincosl declaration... " >&6; }
34778 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34779 if ${glibcxx_cv_func_sincosl_use+:} false; then :
34780 $as_echo_n "(cached) " >&6
34781 else
34784 ac_ext=cpp
34785 ac_cpp='$CXXCPP $CPPFLAGS'
34786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34791 /* end confdefs.h. */
34792 #include <math.h>
34794 main ()
34796 sincosl(0, 0, 0);
34798 return 0;
34800 _ACEOF
34801 if ac_fn_cxx_try_compile "$LINENO"; then :
34802 glibcxx_cv_func_sincosl_use=yes
34803 else
34804 glibcxx_cv_func_sincosl_use=no
34806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34807 ac_ext=c
34808 ac_cpp='$CPP $CPPFLAGS'
34809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34818 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34820 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34821 for ac_func in sincosl
34822 do :
34823 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34824 if test "x$ac_cv_func_sincosl" = xyes; then :
34825 cat >>confdefs.h <<_ACEOF
34826 #define HAVE_SINCOSL 1
34827 _ACEOF
34830 done
34832 else
34834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34835 $as_echo_n "checking for _sincosl declaration... " >&6; }
34836 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34837 if ${glibcxx_cv_func__sincosl_use+:} false; then :
34838 $as_echo_n "(cached) " >&6
34839 else
34842 ac_ext=cpp
34843 ac_cpp='$CXXCPP $CPPFLAGS'
34844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34849 /* end confdefs.h. */
34850 #include <math.h>
34852 main ()
34854 _sincosl(0, 0, 0);
34856 return 0;
34858 _ACEOF
34859 if ac_fn_cxx_try_compile "$LINENO"; then :
34860 glibcxx_cv_func__sincosl_use=yes
34861 else
34862 glibcxx_cv_func__sincosl_use=no
34864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34865 ac_ext=c
34866 ac_cpp='$CPP $CPPFLAGS'
34867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34876 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34878 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34879 for ac_func in _sincosl
34880 do :
34881 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34882 if test "x$ac_cv_func__sincosl" = xyes; then :
34883 cat >>confdefs.h <<_ACEOF
34884 #define HAVE__SINCOSL 1
34885 _ACEOF
34888 done
34897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34898 $as_echo_n "checking for finitel declaration... " >&6; }
34899 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34900 if ${glibcxx_cv_func_finitel_use+:} false; then :
34901 $as_echo_n "(cached) " >&6
34902 else
34905 ac_ext=cpp
34906 ac_cpp='$CXXCPP $CPPFLAGS'
34907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34912 /* end confdefs.h. */
34913 #include <math.h>
34914 #ifdef HAVE_IEEEFP_H
34915 #include <ieeefp.h>
34916 #endif
34919 main ()
34921 finitel(0);
34923 return 0;
34925 _ACEOF
34926 if ac_fn_cxx_try_compile "$LINENO"; then :
34927 glibcxx_cv_func_finitel_use=yes
34928 else
34929 glibcxx_cv_func_finitel_use=no
34931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34932 ac_ext=c
34933 ac_cpp='$CPP $CPPFLAGS'
34934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34943 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34945 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34946 for ac_func in finitel
34947 do :
34948 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34949 if test "x$ac_cv_func_finitel" = xyes; then :
34950 cat >>confdefs.h <<_ACEOF
34951 #define HAVE_FINITEL 1
34952 _ACEOF
34955 done
34957 else
34959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
34960 $as_echo_n "checking for _finitel declaration... " >&6; }
34961 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34962 if ${glibcxx_cv_func__finitel_use+:} false; then :
34963 $as_echo_n "(cached) " >&6
34964 else
34967 ac_ext=cpp
34968 ac_cpp='$CXXCPP $CPPFLAGS'
34969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34974 /* end confdefs.h. */
34975 #include <math.h>
34976 #ifdef HAVE_IEEEFP_H
34977 #include <ieeefp.h>
34978 #endif
34981 main ()
34983 _finitel(0);
34985 return 0;
34987 _ACEOF
34988 if ac_fn_cxx_try_compile "$LINENO"; then :
34989 glibcxx_cv_func__finitel_use=yes
34990 else
34991 glibcxx_cv_func__finitel_use=no
34993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34994 ac_ext=c
34995 ac_cpp='$CPP $CPPFLAGS'
34996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
35005 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
35007 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
35008 for ac_func in _finitel
35009 do :
35010 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
35011 if test "x$ac_cv_func__finitel" = xyes; then :
35012 cat >>confdefs.h <<_ACEOF
35013 #define HAVE__FINITEL 1
35014 _ACEOF
35017 done
35025 LIBS="$ac_save_LIBS"
35026 CXXFLAGS="$ac_save_CXXFLAGS"
35029 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35030 ac_save_CXXFLAGS="$CXXFLAGS"
35031 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
35035 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
35036 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
35037 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
35038 $as_echo_n "(cached) " >&6
35039 else
35042 ac_ext=cpp
35043 ac_cpp='$CXXCPP $CPPFLAGS'
35044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35049 /* end confdefs.h. */
35050 #include <stdlib.h>
35052 main ()
35054 at_quick_exit(0);
35056 return 0;
35058 _ACEOF
35059 if ac_fn_cxx_try_compile "$LINENO"; then :
35060 glibcxx_cv_func_at_quick_exit_use=yes
35061 else
35062 glibcxx_cv_func_at_quick_exit_use=no
35064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35065 ac_ext=c
35066 ac_cpp='$CPP $CPPFLAGS'
35067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
35076 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
35077 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
35078 for ac_func in at_quick_exit
35079 do :
35080 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
35081 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
35082 cat >>confdefs.h <<_ACEOF
35083 #define HAVE_AT_QUICK_EXIT 1
35084 _ACEOF
35087 done
35092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
35093 $as_echo_n "checking for quick_exit declaration... " >&6; }
35094 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
35095 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
35096 $as_echo_n "(cached) " >&6
35097 else
35100 ac_ext=cpp
35101 ac_cpp='$CXXCPP $CPPFLAGS'
35102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35107 /* end confdefs.h. */
35108 #include <stdlib.h>
35110 main ()
35112 quick_exit(0);
35114 return 0;
35116 _ACEOF
35117 if ac_fn_cxx_try_compile "$LINENO"; then :
35118 glibcxx_cv_func_quick_exit_use=yes
35119 else
35120 glibcxx_cv_func_quick_exit_use=no
35122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35123 ac_ext=c
35124 ac_cpp='$CPP $CPPFLAGS'
35125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
35134 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
35135 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
35136 for ac_func in quick_exit
35137 do :
35138 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
35139 if test "x$ac_cv_func_quick_exit" = xyes; then :
35140 cat >>confdefs.h <<_ACEOF
35141 #define HAVE_QUICK_EXIT 1
35142 _ACEOF
35145 done
35150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
35151 $as_echo_n "checking for strtold declaration... " >&6; }
35152 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
35153 if ${glibcxx_cv_func_strtold_use+:} false; then :
35154 $as_echo_n "(cached) " >&6
35155 else
35158 ac_ext=cpp
35159 ac_cpp='$CXXCPP $CPPFLAGS'
35160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35165 /* end confdefs.h. */
35166 #include <stdlib.h>
35168 main ()
35170 strtold(0, 0);
35172 return 0;
35174 _ACEOF
35175 if ac_fn_cxx_try_compile "$LINENO"; then :
35176 glibcxx_cv_func_strtold_use=yes
35177 else
35178 glibcxx_cv_func_strtold_use=no
35180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35181 ac_ext=c
35182 ac_cpp='$CPP $CPPFLAGS'
35183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
35192 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
35193 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
35194 for ac_func in strtold
35195 do :
35196 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
35197 if test "x$ac_cv_func_strtold" = xyes; then :
35198 cat >>confdefs.h <<_ACEOF
35199 #define HAVE_STRTOLD 1
35200 _ACEOF
35203 done
35210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
35211 $as_echo_n "checking for strtof declaration... " >&6; }
35212 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
35213 if ${glibcxx_cv_func_strtof_use+:} false; then :
35214 $as_echo_n "(cached) " >&6
35215 else
35218 ac_ext=cpp
35219 ac_cpp='$CXXCPP $CPPFLAGS'
35220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35225 /* end confdefs.h. */
35226 #include <stdlib.h>
35228 main ()
35230 strtof(0, 0);
35232 return 0;
35234 _ACEOF
35235 if ac_fn_cxx_try_compile "$LINENO"; then :
35236 glibcxx_cv_func_strtof_use=yes
35237 else
35238 glibcxx_cv_func_strtof_use=no
35240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35241 ac_ext=c
35242 ac_cpp='$CPP $CPPFLAGS'
35243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
35252 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
35253 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
35254 for ac_func in strtof
35255 do :
35256 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
35257 if test "x$ac_cv_func_strtof" = xyes; then :
35258 cat >>confdefs.h <<_ACEOF
35259 #define HAVE_STRTOF 1
35260 _ACEOF
35263 done
35270 CXXFLAGS="$ac_save_CXXFLAGS"
35273 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
35275 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
35277 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
35279 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
35282 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35284 $as_echo "#define HAVE_MODF 1" >>confdefs.h
35286 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35290 *-aix*)
35292 # If we're not using GNU ld, then there's no point in even trying these
35293 # tests. Check for that first. We should have already tested for gld
35294 # by now (in libtool), but require it now just to be safe...
35295 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35296 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35300 # The name set by libtool depends on the version of libtool. Shame on us
35301 # for depending on an impl detail, but c'est la vie. Older versions used
35302 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35303 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35304 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
35305 # set (hence we're using an older libtool), then set it.
35306 if test x${with_gnu_ld+set} != xset; then
35307 if test x${ac_cv_prog_gnu_ld+set} != xset; then
35308 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
35309 with_gnu_ld=no
35310 else
35311 with_gnu_ld=$ac_cv_prog_gnu_ld
35315 # Start by getting the version number. I think the libtool test already
35316 # does some of this, but throws away the result.
35317 glibcxx_ld_is_gold=no
35318 glibcxx_ld_is_mold=no
35319 if test x"$with_gnu_ld" = x"yes"; then
35320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35321 $as_echo_n "checking for ld version... " >&6; }
35323 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35324 glibcxx_ld_is_gold=yes
35325 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
35326 glibcxx_ld_is_mold=yes
35328 ldver=`$LD --version 2>/dev/null |
35329 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
35331 glibcxx_gnu_ld_version=`echo $ldver | \
35332 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35334 $as_echo "$glibcxx_gnu_ld_version" >&6; }
35337 # Set --gc-sections.
35338 glibcxx_have_gc_sections=no
35339 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
35340 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35341 glibcxx_have_gc_sections=yes
35343 else
35344 glibcxx_gcsections_min_ld=21602
35345 if test x"$with_gnu_ld" = x"yes" &&
35346 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35347 glibcxx_have_gc_sections=yes
35350 if test "$glibcxx_have_gc_sections" = "yes"; then
35351 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
35352 # NB: This flag only works reliably after 2.16.1. Configure tests
35353 # for this are difficult, so hard wire a value that should work.
35355 ac_test_CFLAGS="${CFLAGS+set}"
35356 ac_save_CFLAGS="$CFLAGS"
35357 CFLAGS='-Wl,--gc-sections'
35359 # Check for -Wl,--gc-sections
35360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35361 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35362 if test x$gcc_no_link = xyes; then
35363 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35366 /* end confdefs.h. */
35367 int one(void) { return 1; }
35368 int two(void) { return 2; }
35371 main ()
35373 two();
35375 return 0;
35377 _ACEOF
35378 if ac_fn_c_try_link "$LINENO"; then :
35379 ac_gcsections=yes
35380 else
35381 ac_gcsections=no
35383 rm -f core conftest.err conftest.$ac_objext \
35384 conftest$ac_exeext conftest.$ac_ext
35385 if test "$ac_gcsections" = "yes"; then
35386 rm -f conftest.c
35387 touch conftest.c
35388 if $CC -c conftest.c; then
35389 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35390 grep "Warning: gc-sections option ignored" > /dev/null; then
35391 ac_gcsections=no
35394 rm -f conftest.c conftest.o conftest
35396 if test "$ac_gcsections" = "yes"; then
35397 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35400 $as_echo "$ac_gcsections" >&6; }
35402 if test "$ac_test_CFLAGS" = set; then
35403 CFLAGS="$ac_save_CFLAGS"
35404 else
35405 # this is the suspicious part
35406 CFLAGS=''
35410 # Set -z,relro.
35411 # Note this is only for shared objects.
35412 ac_ld_relro=no
35413 if test x"$with_gnu_ld" = x"yes"; then
35414 # cygwin and mingw uses PE, which has no ELF relro support,
35415 # multi target ld may confuse configure machinery
35416 case "$host" in
35417 *-*-cygwin*)
35419 *-*-mingw*)
35422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35423 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35424 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35425 if test -n "$cxx_z_relo"; then
35426 OPT_LDFLAGS="-Wl,-z,relro"
35427 ac_ld_relro=yes
35429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35430 $as_echo "$ac_ld_relro" >&6; }
35431 esac
35434 # Set linker optimization flags.
35435 if test x"$with_gnu_ld" = x"yes"; then
35436 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35443 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35444 ac_save_CXXFLAGS="$CXXFLAGS"
35445 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35448 $as_echo_n "checking for sin in -lm... " >&6; }
35449 if ${ac_cv_lib_m_sin+:} false; then :
35450 $as_echo_n "(cached) " >&6
35451 else
35452 ac_check_lib_save_LIBS=$LIBS
35453 LIBS="-lm $LIBS"
35454 if test x$gcc_no_link = xyes; then
35455 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35458 /* end confdefs.h. */
35460 /* Override any GCC internal prototype to avoid an error.
35461 Use char because int might match the return type of a GCC
35462 builtin and then its argument prototype would still apply. */
35463 #ifdef __cplusplus
35464 extern "C"
35465 #endif
35466 char sin ();
35468 main ()
35470 return sin ();
35472 return 0;
35474 _ACEOF
35475 if ac_fn_c_try_link "$LINENO"; then :
35476 ac_cv_lib_m_sin=yes
35477 else
35478 ac_cv_lib_m_sin=no
35480 rm -f core conftest.err conftest.$ac_objext \
35481 conftest$ac_exeext conftest.$ac_ext
35482 LIBS=$ac_check_lib_save_LIBS
35484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35485 $as_echo "$ac_cv_lib_m_sin" >&6; }
35486 if test "x$ac_cv_lib_m_sin" = xyes; then :
35487 libm="-lm"
35490 ac_save_LIBS="$LIBS"
35491 LIBS="$LIBS $libm"
35495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35496 $as_echo_n "checking for isinf declaration... " >&6; }
35497 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35498 if ${glibcxx_cv_func_isinf_use+:} false; then :
35499 $as_echo_n "(cached) " >&6
35500 else
35503 ac_ext=cpp
35504 ac_cpp='$CXXCPP $CPPFLAGS'
35505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35510 /* end confdefs.h. */
35511 #include <math.h>
35512 #ifdef HAVE_IEEEFP_H
35513 #include <ieeefp.h>
35514 #endif
35517 main ()
35519 isinf(0);
35521 return 0;
35523 _ACEOF
35524 if ac_fn_cxx_try_compile "$LINENO"; then :
35525 glibcxx_cv_func_isinf_use=yes
35526 else
35527 glibcxx_cv_func_isinf_use=no
35529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35530 ac_ext=c
35531 ac_cpp='$CPP $CPPFLAGS'
35532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35541 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35543 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35544 for ac_func in isinf
35545 do :
35546 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35547 if test "x$ac_cv_func_isinf" = xyes; then :
35548 cat >>confdefs.h <<_ACEOF
35549 #define HAVE_ISINF 1
35550 _ACEOF
35553 done
35555 else
35557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35558 $as_echo_n "checking for _isinf declaration... " >&6; }
35559 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35560 if ${glibcxx_cv_func__isinf_use+:} false; then :
35561 $as_echo_n "(cached) " >&6
35562 else
35565 ac_ext=cpp
35566 ac_cpp='$CXXCPP $CPPFLAGS'
35567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35572 /* end confdefs.h. */
35573 #include <math.h>
35574 #ifdef HAVE_IEEEFP_H
35575 #include <ieeefp.h>
35576 #endif
35579 main ()
35581 _isinf(0);
35583 return 0;
35585 _ACEOF
35586 if ac_fn_cxx_try_compile "$LINENO"; then :
35587 glibcxx_cv_func__isinf_use=yes
35588 else
35589 glibcxx_cv_func__isinf_use=no
35591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35592 ac_ext=c
35593 ac_cpp='$CPP $CPPFLAGS'
35594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35603 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35605 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35606 for ac_func in _isinf
35607 do :
35608 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35609 if test "x$ac_cv_func__isinf" = xyes; then :
35610 cat >>confdefs.h <<_ACEOF
35611 #define HAVE__ISINF 1
35612 _ACEOF
35615 done
35624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35625 $as_echo_n "checking for isnan declaration... " >&6; }
35626 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35627 if ${glibcxx_cv_func_isnan_use+:} false; then :
35628 $as_echo_n "(cached) " >&6
35629 else
35632 ac_ext=cpp
35633 ac_cpp='$CXXCPP $CPPFLAGS'
35634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35639 /* end confdefs.h. */
35640 #include <math.h>
35641 #ifdef HAVE_IEEEFP_H
35642 #include <ieeefp.h>
35643 #endif
35646 main ()
35648 isnan(0);
35650 return 0;
35652 _ACEOF
35653 if ac_fn_cxx_try_compile "$LINENO"; then :
35654 glibcxx_cv_func_isnan_use=yes
35655 else
35656 glibcxx_cv_func_isnan_use=no
35658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35659 ac_ext=c
35660 ac_cpp='$CPP $CPPFLAGS'
35661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35670 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35672 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35673 for ac_func in isnan
35674 do :
35675 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35676 if test "x$ac_cv_func_isnan" = xyes; then :
35677 cat >>confdefs.h <<_ACEOF
35678 #define HAVE_ISNAN 1
35679 _ACEOF
35682 done
35684 else
35686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35687 $as_echo_n "checking for _isnan declaration... " >&6; }
35688 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35689 if ${glibcxx_cv_func__isnan_use+:} false; then :
35690 $as_echo_n "(cached) " >&6
35691 else
35694 ac_ext=cpp
35695 ac_cpp='$CXXCPP $CPPFLAGS'
35696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35701 /* end confdefs.h. */
35702 #include <math.h>
35703 #ifdef HAVE_IEEEFP_H
35704 #include <ieeefp.h>
35705 #endif
35708 main ()
35710 _isnan(0);
35712 return 0;
35714 _ACEOF
35715 if ac_fn_cxx_try_compile "$LINENO"; then :
35716 glibcxx_cv_func__isnan_use=yes
35717 else
35718 glibcxx_cv_func__isnan_use=no
35720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35721 ac_ext=c
35722 ac_cpp='$CPP $CPPFLAGS'
35723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35732 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35734 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35735 for ac_func in _isnan
35736 do :
35737 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35738 if test "x$ac_cv_func__isnan" = xyes; then :
35739 cat >>confdefs.h <<_ACEOF
35740 #define HAVE__ISNAN 1
35741 _ACEOF
35744 done
35753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35754 $as_echo_n "checking for finite declaration... " >&6; }
35755 if test x${glibcxx_cv_func_finite_use+set} != xset; then
35756 if ${glibcxx_cv_func_finite_use+:} false; then :
35757 $as_echo_n "(cached) " >&6
35758 else
35761 ac_ext=cpp
35762 ac_cpp='$CXXCPP $CPPFLAGS'
35763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35768 /* end confdefs.h. */
35769 #include <math.h>
35770 #ifdef HAVE_IEEEFP_H
35771 #include <ieeefp.h>
35772 #endif
35775 main ()
35777 finite(0);
35779 return 0;
35781 _ACEOF
35782 if ac_fn_cxx_try_compile "$LINENO"; then :
35783 glibcxx_cv_func_finite_use=yes
35784 else
35785 glibcxx_cv_func_finite_use=no
35787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35788 ac_ext=c
35789 ac_cpp='$CPP $CPPFLAGS'
35790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35799 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35801 if test x$glibcxx_cv_func_finite_use = x"yes"; then
35802 for ac_func in finite
35803 do :
35804 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35805 if test "x$ac_cv_func_finite" = xyes; then :
35806 cat >>confdefs.h <<_ACEOF
35807 #define HAVE_FINITE 1
35808 _ACEOF
35811 done
35813 else
35815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35816 $as_echo_n "checking for _finite declaration... " >&6; }
35817 if test x${glibcxx_cv_func__finite_use+set} != xset; then
35818 if ${glibcxx_cv_func__finite_use+:} false; then :
35819 $as_echo_n "(cached) " >&6
35820 else
35823 ac_ext=cpp
35824 ac_cpp='$CXXCPP $CPPFLAGS'
35825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35830 /* end confdefs.h. */
35831 #include <math.h>
35832 #ifdef HAVE_IEEEFP_H
35833 #include <ieeefp.h>
35834 #endif
35837 main ()
35839 _finite(0);
35841 return 0;
35843 _ACEOF
35844 if ac_fn_cxx_try_compile "$LINENO"; then :
35845 glibcxx_cv_func__finite_use=yes
35846 else
35847 glibcxx_cv_func__finite_use=no
35849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35850 ac_ext=c
35851 ac_cpp='$CPP $CPPFLAGS'
35852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35861 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35863 if test x$glibcxx_cv_func__finite_use = x"yes"; then
35864 for ac_func in _finite
35865 do :
35866 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35867 if test "x$ac_cv_func__finite" = xyes; then :
35868 cat >>confdefs.h <<_ACEOF
35869 #define HAVE__FINITE 1
35870 _ACEOF
35873 done
35882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35883 $as_echo_n "checking for sincos declaration... " >&6; }
35884 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35885 if ${glibcxx_cv_func_sincos_use+:} false; then :
35886 $as_echo_n "(cached) " >&6
35887 else
35890 ac_ext=cpp
35891 ac_cpp='$CXXCPP $CPPFLAGS'
35892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35897 /* end confdefs.h. */
35898 #include <math.h>
35900 main ()
35902 sincos(0, 0, 0);
35904 return 0;
35906 _ACEOF
35907 if ac_fn_cxx_try_compile "$LINENO"; then :
35908 glibcxx_cv_func_sincos_use=yes
35909 else
35910 glibcxx_cv_func_sincos_use=no
35912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35913 ac_ext=c
35914 ac_cpp='$CPP $CPPFLAGS'
35915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35924 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35926 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
35927 for ac_func in sincos
35928 do :
35929 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
35930 if test "x$ac_cv_func_sincos" = xyes; then :
35931 cat >>confdefs.h <<_ACEOF
35932 #define HAVE_SINCOS 1
35933 _ACEOF
35936 done
35938 else
35940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
35941 $as_echo_n "checking for _sincos declaration... " >&6; }
35942 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
35943 if ${glibcxx_cv_func__sincos_use+:} false; then :
35944 $as_echo_n "(cached) " >&6
35945 else
35948 ac_ext=cpp
35949 ac_cpp='$CXXCPP $CPPFLAGS'
35950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35955 /* end confdefs.h. */
35956 #include <math.h>
35958 main ()
35960 _sincos(0, 0, 0);
35962 return 0;
35964 _ACEOF
35965 if ac_fn_cxx_try_compile "$LINENO"; then :
35966 glibcxx_cv_func__sincos_use=yes
35967 else
35968 glibcxx_cv_func__sincos_use=no
35970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35971 ac_ext=c
35972 ac_cpp='$CPP $CPPFLAGS'
35973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
35982 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
35984 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
35985 for ac_func in _sincos
35986 do :
35987 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
35988 if test "x$ac_cv_func__sincos" = xyes; then :
35989 cat >>confdefs.h <<_ACEOF
35990 #define HAVE__SINCOS 1
35991 _ACEOF
35994 done
36003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
36004 $as_echo_n "checking for fpclass declaration... " >&6; }
36005 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
36006 if ${glibcxx_cv_func_fpclass_use+:} false; then :
36007 $as_echo_n "(cached) " >&6
36008 else
36011 ac_ext=cpp
36012 ac_cpp='$CXXCPP $CPPFLAGS'
36013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36018 /* end confdefs.h. */
36019 #include <math.h>
36020 #ifdef HAVE_IEEEFP_H
36021 #include <ieeefp.h>
36022 #endif
36025 main ()
36027 fpclass(0);
36029 return 0;
36031 _ACEOF
36032 if ac_fn_cxx_try_compile "$LINENO"; then :
36033 glibcxx_cv_func_fpclass_use=yes
36034 else
36035 glibcxx_cv_func_fpclass_use=no
36037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36038 ac_ext=c
36039 ac_cpp='$CPP $CPPFLAGS'
36040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
36049 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
36051 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
36052 for ac_func in fpclass
36053 do :
36054 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
36055 if test "x$ac_cv_func_fpclass" = xyes; then :
36056 cat >>confdefs.h <<_ACEOF
36057 #define HAVE_FPCLASS 1
36058 _ACEOF
36061 done
36063 else
36065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
36066 $as_echo_n "checking for _fpclass declaration... " >&6; }
36067 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
36068 if ${glibcxx_cv_func__fpclass_use+:} false; then :
36069 $as_echo_n "(cached) " >&6
36070 else
36073 ac_ext=cpp
36074 ac_cpp='$CXXCPP $CPPFLAGS'
36075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36080 /* end confdefs.h. */
36081 #include <math.h>
36082 #ifdef HAVE_IEEEFP_H
36083 #include <ieeefp.h>
36084 #endif
36087 main ()
36089 _fpclass(0);
36091 return 0;
36093 _ACEOF
36094 if ac_fn_cxx_try_compile "$LINENO"; then :
36095 glibcxx_cv_func__fpclass_use=yes
36096 else
36097 glibcxx_cv_func__fpclass_use=no
36099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36100 ac_ext=c
36101 ac_cpp='$CPP $CPPFLAGS'
36102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
36111 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
36113 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
36114 for ac_func in _fpclass
36115 do :
36116 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
36117 if test "x$ac_cv_func__fpclass" = xyes; then :
36118 cat >>confdefs.h <<_ACEOF
36119 #define HAVE__FPCLASS 1
36120 _ACEOF
36123 done
36132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
36133 $as_echo_n "checking for qfpclass declaration... " >&6; }
36134 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
36135 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
36136 $as_echo_n "(cached) " >&6
36137 else
36140 ac_ext=cpp
36141 ac_cpp='$CXXCPP $CPPFLAGS'
36142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36147 /* end confdefs.h. */
36148 #include <math.h>
36149 #ifdef HAVE_IEEEFP_H
36150 #include <ieeefp.h>
36151 #endif
36154 main ()
36156 qfpclass(0);
36158 return 0;
36160 _ACEOF
36161 if ac_fn_cxx_try_compile "$LINENO"; then :
36162 glibcxx_cv_func_qfpclass_use=yes
36163 else
36164 glibcxx_cv_func_qfpclass_use=no
36166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36167 ac_ext=c
36168 ac_cpp='$CPP $CPPFLAGS'
36169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
36178 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
36180 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
36181 for ac_func in qfpclass
36182 do :
36183 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
36184 if test "x$ac_cv_func_qfpclass" = xyes; then :
36185 cat >>confdefs.h <<_ACEOF
36186 #define HAVE_QFPCLASS 1
36187 _ACEOF
36190 done
36192 else
36194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
36195 $as_echo_n "checking for _qfpclass declaration... " >&6; }
36196 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
36197 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
36198 $as_echo_n "(cached) " >&6
36199 else
36202 ac_ext=cpp
36203 ac_cpp='$CXXCPP $CPPFLAGS'
36204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36209 /* end confdefs.h. */
36210 #include <math.h>
36211 #ifdef HAVE_IEEEFP_H
36212 #include <ieeefp.h>
36213 #endif
36216 main ()
36218 _qfpclass(0);
36220 return 0;
36222 _ACEOF
36223 if ac_fn_cxx_try_compile "$LINENO"; then :
36224 glibcxx_cv_func__qfpclass_use=yes
36225 else
36226 glibcxx_cv_func__qfpclass_use=no
36228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36229 ac_ext=c
36230 ac_cpp='$CPP $CPPFLAGS'
36231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36240 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36242 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36243 for ac_func in _qfpclass
36244 do :
36245 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36246 if test "x$ac_cv_func__qfpclass" = xyes; then :
36247 cat >>confdefs.h <<_ACEOF
36248 #define HAVE__QFPCLASS 1
36249 _ACEOF
36252 done
36261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36262 $as_echo_n "checking for hypot declaration... " >&6; }
36263 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36264 if ${glibcxx_cv_func_hypot_use+:} false; then :
36265 $as_echo_n "(cached) " >&6
36266 else
36269 ac_ext=cpp
36270 ac_cpp='$CXXCPP $CPPFLAGS'
36271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36276 /* end confdefs.h. */
36277 #include <math.h>
36279 main ()
36281 hypot(0, 0);
36283 return 0;
36285 _ACEOF
36286 if ac_fn_cxx_try_compile "$LINENO"; then :
36287 glibcxx_cv_func_hypot_use=yes
36288 else
36289 glibcxx_cv_func_hypot_use=no
36291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36292 ac_ext=c
36293 ac_cpp='$CPP $CPPFLAGS'
36294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36303 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36305 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36306 for ac_func in hypot
36307 do :
36308 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36309 if test "x$ac_cv_func_hypot" = xyes; then :
36310 cat >>confdefs.h <<_ACEOF
36311 #define HAVE_HYPOT 1
36312 _ACEOF
36315 done
36317 else
36319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36320 $as_echo_n "checking for _hypot declaration... " >&6; }
36321 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36322 if ${glibcxx_cv_func__hypot_use+:} false; then :
36323 $as_echo_n "(cached) " >&6
36324 else
36327 ac_ext=cpp
36328 ac_cpp='$CXXCPP $CPPFLAGS'
36329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36334 /* end confdefs.h. */
36335 #include <math.h>
36337 main ()
36339 _hypot(0, 0);
36341 return 0;
36343 _ACEOF
36344 if ac_fn_cxx_try_compile "$LINENO"; then :
36345 glibcxx_cv_func__hypot_use=yes
36346 else
36347 glibcxx_cv_func__hypot_use=no
36349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36350 ac_ext=c
36351 ac_cpp='$CPP $CPPFLAGS'
36352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36361 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36363 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36364 for ac_func in _hypot
36365 do :
36366 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36367 if test "x$ac_cv_func__hypot" = xyes; then :
36368 cat >>confdefs.h <<_ACEOF
36369 #define HAVE__HYPOT 1
36370 _ACEOF
36373 done
36382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36383 $as_echo_n "checking for float trig functions... " >&6; }
36384 if ${glibcxx_cv_func_float_trig_use+:} false; then :
36385 $as_echo_n "(cached) " >&6
36386 else
36389 ac_ext=cpp
36390 ac_cpp='$CXXCPP $CPPFLAGS'
36391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36396 /* end confdefs.h. */
36397 #include <math.h>
36399 main ()
36401 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36403 return 0;
36405 _ACEOF
36406 if ac_fn_cxx_try_compile "$LINENO"; then :
36407 glibcxx_cv_func_float_trig_use=yes
36408 else
36409 glibcxx_cv_func_float_trig_use=no
36411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36412 ac_ext=c
36413 ac_cpp='$CPP $CPPFLAGS'
36414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36421 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36422 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36423 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36424 do :
36425 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36426 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36427 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36428 cat >>confdefs.h <<_ACEOF
36429 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36430 _ACEOF
36433 done
36435 else
36436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36437 $as_echo_n "checking for _float trig functions... " >&6; }
36438 if ${glibcxx_cv_func__float_trig_use+:} false; then :
36439 $as_echo_n "(cached) " >&6
36440 else
36443 ac_ext=cpp
36444 ac_cpp='$CXXCPP $CPPFLAGS'
36445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36450 /* end confdefs.h. */
36451 #include <math.h>
36453 main ()
36455 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36457 return 0;
36459 _ACEOF
36460 if ac_fn_cxx_try_compile "$LINENO"; then :
36461 glibcxx_cv_func__float_trig_use=yes
36462 else
36463 glibcxx_cv_func__float_trig_use=no
36465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36466 ac_ext=c
36467 ac_cpp='$CPP $CPPFLAGS'
36468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36475 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36476 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36477 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36478 do :
36479 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36480 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36481 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36482 cat >>confdefs.h <<_ACEOF
36483 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36484 _ACEOF
36487 done
36496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36497 $as_echo_n "checking for float round functions... " >&6; }
36498 if ${glibcxx_cv_func_float_round_use+:} false; then :
36499 $as_echo_n "(cached) " >&6
36500 else
36503 ac_ext=cpp
36504 ac_cpp='$CXXCPP $CPPFLAGS'
36505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36510 /* end confdefs.h. */
36511 #include <math.h>
36513 main ()
36515 ceilf (0); floorf (0);
36517 return 0;
36519 _ACEOF
36520 if ac_fn_cxx_try_compile "$LINENO"; then :
36521 glibcxx_cv_func_float_round_use=yes
36522 else
36523 glibcxx_cv_func_float_round_use=no
36525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36526 ac_ext=c
36527 ac_cpp='$CPP $CPPFLAGS'
36528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36535 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36536 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36537 for ac_func in ceilf floorf
36538 do :
36539 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36540 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36541 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36542 cat >>confdefs.h <<_ACEOF
36543 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36544 _ACEOF
36547 done
36549 else
36550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36551 $as_echo_n "checking for _float round functions... " >&6; }
36552 if ${glibcxx_cv_func__float_round_use+:} false; then :
36553 $as_echo_n "(cached) " >&6
36554 else
36557 ac_ext=cpp
36558 ac_cpp='$CXXCPP $CPPFLAGS'
36559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36564 /* end confdefs.h. */
36565 #include <math.h>
36567 main ()
36569 _ceilf (0); _floorf (0);
36571 return 0;
36573 _ACEOF
36574 if ac_fn_cxx_try_compile "$LINENO"; then :
36575 glibcxx_cv_func__float_round_use=yes
36576 else
36577 glibcxx_cv_func__float_round_use=no
36579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36580 ac_ext=c
36581 ac_cpp='$CPP $CPPFLAGS'
36582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36589 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36590 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36591 for ac_func in _ceilf _floorf
36592 do :
36593 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36594 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36595 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36596 cat >>confdefs.h <<_ACEOF
36597 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36598 _ACEOF
36601 done
36611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36612 $as_echo_n "checking for expf declaration... " >&6; }
36613 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36614 if ${glibcxx_cv_func_expf_use+:} false; then :
36615 $as_echo_n "(cached) " >&6
36616 else
36619 ac_ext=cpp
36620 ac_cpp='$CXXCPP $CPPFLAGS'
36621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36626 /* end confdefs.h. */
36627 #include <math.h>
36628 #ifdef HAVE_IEEEFP_H
36629 #include <ieeefp.h>
36630 #endif
36633 main ()
36635 expf(0);
36637 return 0;
36639 _ACEOF
36640 if ac_fn_cxx_try_compile "$LINENO"; then :
36641 glibcxx_cv_func_expf_use=yes
36642 else
36643 glibcxx_cv_func_expf_use=no
36645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36646 ac_ext=c
36647 ac_cpp='$CPP $CPPFLAGS'
36648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36657 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36659 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36660 for ac_func in expf
36661 do :
36662 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36663 if test "x$ac_cv_func_expf" = xyes; then :
36664 cat >>confdefs.h <<_ACEOF
36665 #define HAVE_EXPF 1
36666 _ACEOF
36669 done
36671 else
36673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36674 $as_echo_n "checking for _expf declaration... " >&6; }
36675 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36676 if ${glibcxx_cv_func__expf_use+:} false; then :
36677 $as_echo_n "(cached) " >&6
36678 else
36681 ac_ext=cpp
36682 ac_cpp='$CXXCPP $CPPFLAGS'
36683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36688 /* end confdefs.h. */
36689 #include <math.h>
36690 #ifdef HAVE_IEEEFP_H
36691 #include <ieeefp.h>
36692 #endif
36695 main ()
36697 _expf(0);
36699 return 0;
36701 _ACEOF
36702 if ac_fn_cxx_try_compile "$LINENO"; then :
36703 glibcxx_cv_func__expf_use=yes
36704 else
36705 glibcxx_cv_func__expf_use=no
36707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36708 ac_ext=c
36709 ac_cpp='$CPP $CPPFLAGS'
36710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36719 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36721 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36722 for ac_func in _expf
36723 do :
36724 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36725 if test "x$ac_cv_func__expf" = xyes; then :
36726 cat >>confdefs.h <<_ACEOF
36727 #define HAVE__EXPF 1
36728 _ACEOF
36731 done
36740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36741 $as_echo_n "checking for isnanf declaration... " >&6; }
36742 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36743 if ${glibcxx_cv_func_isnanf_use+:} false; then :
36744 $as_echo_n "(cached) " >&6
36745 else
36748 ac_ext=cpp
36749 ac_cpp='$CXXCPP $CPPFLAGS'
36750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36755 /* end confdefs.h. */
36756 #include <math.h>
36757 #ifdef HAVE_IEEEFP_H
36758 #include <ieeefp.h>
36759 #endif
36762 main ()
36764 isnanf(0);
36766 return 0;
36768 _ACEOF
36769 if ac_fn_cxx_try_compile "$LINENO"; then :
36770 glibcxx_cv_func_isnanf_use=yes
36771 else
36772 glibcxx_cv_func_isnanf_use=no
36774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36775 ac_ext=c
36776 ac_cpp='$CPP $CPPFLAGS'
36777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36786 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36788 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36789 for ac_func in isnanf
36790 do :
36791 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36792 if test "x$ac_cv_func_isnanf" = xyes; then :
36793 cat >>confdefs.h <<_ACEOF
36794 #define HAVE_ISNANF 1
36795 _ACEOF
36798 done
36800 else
36802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36803 $as_echo_n "checking for _isnanf declaration... " >&6; }
36804 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36805 if ${glibcxx_cv_func__isnanf_use+:} false; then :
36806 $as_echo_n "(cached) " >&6
36807 else
36810 ac_ext=cpp
36811 ac_cpp='$CXXCPP $CPPFLAGS'
36812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36817 /* end confdefs.h. */
36818 #include <math.h>
36819 #ifdef HAVE_IEEEFP_H
36820 #include <ieeefp.h>
36821 #endif
36824 main ()
36826 _isnanf(0);
36828 return 0;
36830 _ACEOF
36831 if ac_fn_cxx_try_compile "$LINENO"; then :
36832 glibcxx_cv_func__isnanf_use=yes
36833 else
36834 glibcxx_cv_func__isnanf_use=no
36836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36837 ac_ext=c
36838 ac_cpp='$CPP $CPPFLAGS'
36839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36848 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36850 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36851 for ac_func in _isnanf
36852 do :
36853 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36854 if test "x$ac_cv_func__isnanf" = xyes; then :
36855 cat >>confdefs.h <<_ACEOF
36856 #define HAVE__ISNANF 1
36857 _ACEOF
36860 done
36869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36870 $as_echo_n "checking for isinff declaration... " >&6; }
36871 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36872 if ${glibcxx_cv_func_isinff_use+:} false; then :
36873 $as_echo_n "(cached) " >&6
36874 else
36877 ac_ext=cpp
36878 ac_cpp='$CXXCPP $CPPFLAGS'
36879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36884 /* end confdefs.h. */
36885 #include <math.h>
36886 #ifdef HAVE_IEEEFP_H
36887 #include <ieeefp.h>
36888 #endif
36891 main ()
36893 isinff(0);
36895 return 0;
36897 _ACEOF
36898 if ac_fn_cxx_try_compile "$LINENO"; then :
36899 glibcxx_cv_func_isinff_use=yes
36900 else
36901 glibcxx_cv_func_isinff_use=no
36903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36904 ac_ext=c
36905 ac_cpp='$CPP $CPPFLAGS'
36906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
36915 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36917 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36918 for ac_func in isinff
36919 do :
36920 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36921 if test "x$ac_cv_func_isinff" = xyes; then :
36922 cat >>confdefs.h <<_ACEOF
36923 #define HAVE_ISINFF 1
36924 _ACEOF
36927 done
36929 else
36931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
36932 $as_echo_n "checking for _isinff declaration... " >&6; }
36933 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36934 if ${glibcxx_cv_func__isinff_use+:} false; then :
36935 $as_echo_n "(cached) " >&6
36936 else
36939 ac_ext=cpp
36940 ac_cpp='$CXXCPP $CPPFLAGS'
36941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36946 /* end confdefs.h. */
36947 #include <math.h>
36948 #ifdef HAVE_IEEEFP_H
36949 #include <ieeefp.h>
36950 #endif
36953 main ()
36955 _isinff(0);
36957 return 0;
36959 _ACEOF
36960 if ac_fn_cxx_try_compile "$LINENO"; then :
36961 glibcxx_cv_func__isinff_use=yes
36962 else
36963 glibcxx_cv_func__isinff_use=no
36965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36966 ac_ext=c
36967 ac_cpp='$CPP $CPPFLAGS'
36968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
36977 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
36979 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36980 for ac_func in _isinff
36981 do :
36982 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
36983 if test "x$ac_cv_func__isinff" = xyes; then :
36984 cat >>confdefs.h <<_ACEOF
36985 #define HAVE__ISINFF 1
36986 _ACEOF
36989 done
36998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
36999 $as_echo_n "checking for atan2f declaration... " >&6; }
37000 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
37001 if ${glibcxx_cv_func_atan2f_use+:} false; then :
37002 $as_echo_n "(cached) " >&6
37003 else
37006 ac_ext=cpp
37007 ac_cpp='$CXXCPP $CPPFLAGS'
37008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37013 /* end confdefs.h. */
37014 #include <math.h>
37016 main ()
37018 atan2f(0, 0);
37020 return 0;
37022 _ACEOF
37023 if ac_fn_cxx_try_compile "$LINENO"; then :
37024 glibcxx_cv_func_atan2f_use=yes
37025 else
37026 glibcxx_cv_func_atan2f_use=no
37028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37029 ac_ext=c
37030 ac_cpp='$CPP $CPPFLAGS'
37031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
37040 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
37042 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
37043 for ac_func in atan2f
37044 do :
37045 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
37046 if test "x$ac_cv_func_atan2f" = xyes; then :
37047 cat >>confdefs.h <<_ACEOF
37048 #define HAVE_ATAN2F 1
37049 _ACEOF
37052 done
37054 else
37056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
37057 $as_echo_n "checking for _atan2f declaration... " >&6; }
37058 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
37059 if ${glibcxx_cv_func__atan2f_use+:} false; then :
37060 $as_echo_n "(cached) " >&6
37061 else
37064 ac_ext=cpp
37065 ac_cpp='$CXXCPP $CPPFLAGS'
37066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37071 /* end confdefs.h. */
37072 #include <math.h>
37074 main ()
37076 _atan2f(0, 0);
37078 return 0;
37080 _ACEOF
37081 if ac_fn_cxx_try_compile "$LINENO"; then :
37082 glibcxx_cv_func__atan2f_use=yes
37083 else
37084 glibcxx_cv_func__atan2f_use=no
37086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37087 ac_ext=c
37088 ac_cpp='$CPP $CPPFLAGS'
37089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
37098 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
37100 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
37101 for ac_func in _atan2f
37102 do :
37103 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
37104 if test "x$ac_cv_func__atan2f" = xyes; then :
37105 cat >>confdefs.h <<_ACEOF
37106 #define HAVE__ATAN2F 1
37107 _ACEOF
37110 done
37119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
37120 $as_echo_n "checking for fabsf declaration... " >&6; }
37121 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
37122 if ${glibcxx_cv_func_fabsf_use+:} false; then :
37123 $as_echo_n "(cached) " >&6
37124 else
37127 ac_ext=cpp
37128 ac_cpp='$CXXCPP $CPPFLAGS'
37129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37134 /* end confdefs.h. */
37135 #include <math.h>
37136 #ifdef HAVE_IEEEFP_H
37137 #include <ieeefp.h>
37138 #endif
37141 main ()
37143 fabsf(0);
37145 return 0;
37147 _ACEOF
37148 if ac_fn_cxx_try_compile "$LINENO"; then :
37149 glibcxx_cv_func_fabsf_use=yes
37150 else
37151 glibcxx_cv_func_fabsf_use=no
37153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37154 ac_ext=c
37155 ac_cpp='$CPP $CPPFLAGS'
37156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
37165 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
37167 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
37168 for ac_func in fabsf
37169 do :
37170 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
37171 if test "x$ac_cv_func_fabsf" = xyes; then :
37172 cat >>confdefs.h <<_ACEOF
37173 #define HAVE_FABSF 1
37174 _ACEOF
37177 done
37179 else
37181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
37182 $as_echo_n "checking for _fabsf declaration... " >&6; }
37183 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
37184 if ${glibcxx_cv_func__fabsf_use+:} false; then :
37185 $as_echo_n "(cached) " >&6
37186 else
37189 ac_ext=cpp
37190 ac_cpp='$CXXCPP $CPPFLAGS'
37191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37196 /* end confdefs.h. */
37197 #include <math.h>
37198 #ifdef HAVE_IEEEFP_H
37199 #include <ieeefp.h>
37200 #endif
37203 main ()
37205 _fabsf(0);
37207 return 0;
37209 _ACEOF
37210 if ac_fn_cxx_try_compile "$LINENO"; then :
37211 glibcxx_cv_func__fabsf_use=yes
37212 else
37213 glibcxx_cv_func__fabsf_use=no
37215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37216 ac_ext=c
37217 ac_cpp='$CPP $CPPFLAGS'
37218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37227 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37229 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37230 for ac_func in _fabsf
37231 do :
37232 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37233 if test "x$ac_cv_func__fabsf" = xyes; then :
37234 cat >>confdefs.h <<_ACEOF
37235 #define HAVE__FABSF 1
37236 _ACEOF
37239 done
37248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37249 $as_echo_n "checking for fmodf declaration... " >&6; }
37250 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37251 if ${glibcxx_cv_func_fmodf_use+:} false; then :
37252 $as_echo_n "(cached) " >&6
37253 else
37256 ac_ext=cpp
37257 ac_cpp='$CXXCPP $CPPFLAGS'
37258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37263 /* end confdefs.h. */
37264 #include <math.h>
37266 main ()
37268 fmodf(0, 0);
37270 return 0;
37272 _ACEOF
37273 if ac_fn_cxx_try_compile "$LINENO"; then :
37274 glibcxx_cv_func_fmodf_use=yes
37275 else
37276 glibcxx_cv_func_fmodf_use=no
37278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37279 ac_ext=c
37280 ac_cpp='$CPP $CPPFLAGS'
37281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37290 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37292 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37293 for ac_func in fmodf
37294 do :
37295 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37296 if test "x$ac_cv_func_fmodf" = xyes; then :
37297 cat >>confdefs.h <<_ACEOF
37298 #define HAVE_FMODF 1
37299 _ACEOF
37302 done
37304 else
37306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37307 $as_echo_n "checking for _fmodf declaration... " >&6; }
37308 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37309 if ${glibcxx_cv_func__fmodf_use+:} false; then :
37310 $as_echo_n "(cached) " >&6
37311 else
37314 ac_ext=cpp
37315 ac_cpp='$CXXCPP $CPPFLAGS'
37316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37321 /* end confdefs.h. */
37322 #include <math.h>
37324 main ()
37326 _fmodf(0, 0);
37328 return 0;
37330 _ACEOF
37331 if ac_fn_cxx_try_compile "$LINENO"; then :
37332 glibcxx_cv_func__fmodf_use=yes
37333 else
37334 glibcxx_cv_func__fmodf_use=no
37336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37337 ac_ext=c
37338 ac_cpp='$CPP $CPPFLAGS'
37339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37348 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37350 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37351 for ac_func in _fmodf
37352 do :
37353 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37354 if test "x$ac_cv_func__fmodf" = xyes; then :
37355 cat >>confdefs.h <<_ACEOF
37356 #define HAVE__FMODF 1
37357 _ACEOF
37360 done
37369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37370 $as_echo_n "checking for frexpf declaration... " >&6; }
37371 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37372 if ${glibcxx_cv_func_frexpf_use+:} false; then :
37373 $as_echo_n "(cached) " >&6
37374 else
37377 ac_ext=cpp
37378 ac_cpp='$CXXCPP $CPPFLAGS'
37379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37384 /* end confdefs.h. */
37385 #include <math.h>
37387 main ()
37389 frexpf(0, 0);
37391 return 0;
37393 _ACEOF
37394 if ac_fn_cxx_try_compile "$LINENO"; then :
37395 glibcxx_cv_func_frexpf_use=yes
37396 else
37397 glibcxx_cv_func_frexpf_use=no
37399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37400 ac_ext=c
37401 ac_cpp='$CPP $CPPFLAGS'
37402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37411 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37413 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37414 for ac_func in frexpf
37415 do :
37416 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37417 if test "x$ac_cv_func_frexpf" = xyes; then :
37418 cat >>confdefs.h <<_ACEOF
37419 #define HAVE_FREXPF 1
37420 _ACEOF
37423 done
37425 else
37427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37428 $as_echo_n "checking for _frexpf declaration... " >&6; }
37429 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37430 if ${glibcxx_cv_func__frexpf_use+:} false; then :
37431 $as_echo_n "(cached) " >&6
37432 else
37435 ac_ext=cpp
37436 ac_cpp='$CXXCPP $CPPFLAGS'
37437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37442 /* end confdefs.h. */
37443 #include <math.h>
37445 main ()
37447 _frexpf(0, 0);
37449 return 0;
37451 _ACEOF
37452 if ac_fn_cxx_try_compile "$LINENO"; then :
37453 glibcxx_cv_func__frexpf_use=yes
37454 else
37455 glibcxx_cv_func__frexpf_use=no
37457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37458 ac_ext=c
37459 ac_cpp='$CPP $CPPFLAGS'
37460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37469 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37471 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37472 for ac_func in _frexpf
37473 do :
37474 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37475 if test "x$ac_cv_func__frexpf" = xyes; then :
37476 cat >>confdefs.h <<_ACEOF
37477 #define HAVE__FREXPF 1
37478 _ACEOF
37481 done
37490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37491 $as_echo_n "checking for hypotf declaration... " >&6; }
37492 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37493 if ${glibcxx_cv_func_hypotf_use+:} false; then :
37494 $as_echo_n "(cached) " >&6
37495 else
37498 ac_ext=cpp
37499 ac_cpp='$CXXCPP $CPPFLAGS'
37500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37505 /* end confdefs.h. */
37506 #include <math.h>
37508 main ()
37510 hypotf(0, 0);
37512 return 0;
37514 _ACEOF
37515 if ac_fn_cxx_try_compile "$LINENO"; then :
37516 glibcxx_cv_func_hypotf_use=yes
37517 else
37518 glibcxx_cv_func_hypotf_use=no
37520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37521 ac_ext=c
37522 ac_cpp='$CPP $CPPFLAGS'
37523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37532 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37534 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37535 for ac_func in hypotf
37536 do :
37537 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37538 if test "x$ac_cv_func_hypotf" = xyes; then :
37539 cat >>confdefs.h <<_ACEOF
37540 #define HAVE_HYPOTF 1
37541 _ACEOF
37544 done
37546 else
37548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37549 $as_echo_n "checking for _hypotf declaration... " >&6; }
37550 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37551 if ${glibcxx_cv_func__hypotf_use+:} false; then :
37552 $as_echo_n "(cached) " >&6
37553 else
37556 ac_ext=cpp
37557 ac_cpp='$CXXCPP $CPPFLAGS'
37558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37563 /* end confdefs.h. */
37564 #include <math.h>
37566 main ()
37568 _hypotf(0, 0);
37570 return 0;
37572 _ACEOF
37573 if ac_fn_cxx_try_compile "$LINENO"; then :
37574 glibcxx_cv_func__hypotf_use=yes
37575 else
37576 glibcxx_cv_func__hypotf_use=no
37578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37579 ac_ext=c
37580 ac_cpp='$CPP $CPPFLAGS'
37581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37590 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37592 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37593 for ac_func in _hypotf
37594 do :
37595 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37596 if test "x$ac_cv_func__hypotf" = xyes; then :
37597 cat >>confdefs.h <<_ACEOF
37598 #define HAVE__HYPOTF 1
37599 _ACEOF
37602 done
37611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37612 $as_echo_n "checking for ldexpf declaration... " >&6; }
37613 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37614 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
37615 $as_echo_n "(cached) " >&6
37616 else
37619 ac_ext=cpp
37620 ac_cpp='$CXXCPP $CPPFLAGS'
37621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37626 /* end confdefs.h. */
37627 #include <math.h>
37629 main ()
37631 ldexpf(0, 0);
37633 return 0;
37635 _ACEOF
37636 if ac_fn_cxx_try_compile "$LINENO"; then :
37637 glibcxx_cv_func_ldexpf_use=yes
37638 else
37639 glibcxx_cv_func_ldexpf_use=no
37641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37642 ac_ext=c
37643 ac_cpp='$CPP $CPPFLAGS'
37644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37653 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37655 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37656 for ac_func in ldexpf
37657 do :
37658 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37659 if test "x$ac_cv_func_ldexpf" = xyes; then :
37660 cat >>confdefs.h <<_ACEOF
37661 #define HAVE_LDEXPF 1
37662 _ACEOF
37665 done
37667 else
37669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37670 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37671 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37672 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
37673 $as_echo_n "(cached) " >&6
37674 else
37677 ac_ext=cpp
37678 ac_cpp='$CXXCPP $CPPFLAGS'
37679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37684 /* end confdefs.h. */
37685 #include <math.h>
37687 main ()
37689 _ldexpf(0, 0);
37691 return 0;
37693 _ACEOF
37694 if ac_fn_cxx_try_compile "$LINENO"; then :
37695 glibcxx_cv_func__ldexpf_use=yes
37696 else
37697 glibcxx_cv_func__ldexpf_use=no
37699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37700 ac_ext=c
37701 ac_cpp='$CPP $CPPFLAGS'
37702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37711 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37713 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37714 for ac_func in _ldexpf
37715 do :
37716 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37717 if test "x$ac_cv_func__ldexpf" = xyes; then :
37718 cat >>confdefs.h <<_ACEOF
37719 #define HAVE__LDEXPF 1
37720 _ACEOF
37723 done
37732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37733 $as_echo_n "checking for logf declaration... " >&6; }
37734 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37735 if ${glibcxx_cv_func_logf_use+:} false; then :
37736 $as_echo_n "(cached) " >&6
37737 else
37740 ac_ext=cpp
37741 ac_cpp='$CXXCPP $CPPFLAGS'
37742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37747 /* end confdefs.h. */
37748 #include <math.h>
37749 #ifdef HAVE_IEEEFP_H
37750 #include <ieeefp.h>
37751 #endif
37754 main ()
37756 logf(0);
37758 return 0;
37760 _ACEOF
37761 if ac_fn_cxx_try_compile "$LINENO"; then :
37762 glibcxx_cv_func_logf_use=yes
37763 else
37764 glibcxx_cv_func_logf_use=no
37766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37767 ac_ext=c
37768 ac_cpp='$CPP $CPPFLAGS'
37769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37778 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37780 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37781 for ac_func in logf
37782 do :
37783 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37784 if test "x$ac_cv_func_logf" = xyes; then :
37785 cat >>confdefs.h <<_ACEOF
37786 #define HAVE_LOGF 1
37787 _ACEOF
37790 done
37792 else
37794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37795 $as_echo_n "checking for _logf declaration... " >&6; }
37796 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37797 if ${glibcxx_cv_func__logf_use+:} false; then :
37798 $as_echo_n "(cached) " >&6
37799 else
37802 ac_ext=cpp
37803 ac_cpp='$CXXCPP $CPPFLAGS'
37804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37809 /* end confdefs.h. */
37810 #include <math.h>
37811 #ifdef HAVE_IEEEFP_H
37812 #include <ieeefp.h>
37813 #endif
37816 main ()
37818 _logf(0);
37820 return 0;
37822 _ACEOF
37823 if ac_fn_cxx_try_compile "$LINENO"; then :
37824 glibcxx_cv_func__logf_use=yes
37825 else
37826 glibcxx_cv_func__logf_use=no
37828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37829 ac_ext=c
37830 ac_cpp='$CPP $CPPFLAGS'
37831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37840 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37842 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37843 for ac_func in _logf
37844 do :
37845 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37846 if test "x$ac_cv_func__logf" = xyes; then :
37847 cat >>confdefs.h <<_ACEOF
37848 #define HAVE__LOGF 1
37849 _ACEOF
37852 done
37861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37862 $as_echo_n "checking for log10f declaration... " >&6; }
37863 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37864 if ${glibcxx_cv_func_log10f_use+:} false; then :
37865 $as_echo_n "(cached) " >&6
37866 else
37869 ac_ext=cpp
37870 ac_cpp='$CXXCPP $CPPFLAGS'
37871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37876 /* end confdefs.h. */
37877 #include <math.h>
37878 #ifdef HAVE_IEEEFP_H
37879 #include <ieeefp.h>
37880 #endif
37883 main ()
37885 log10f(0);
37887 return 0;
37889 _ACEOF
37890 if ac_fn_cxx_try_compile "$LINENO"; then :
37891 glibcxx_cv_func_log10f_use=yes
37892 else
37893 glibcxx_cv_func_log10f_use=no
37895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37896 ac_ext=c
37897 ac_cpp='$CPP $CPPFLAGS'
37898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37907 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37909 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37910 for ac_func in log10f
37911 do :
37912 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37913 if test "x$ac_cv_func_log10f" = xyes; then :
37914 cat >>confdefs.h <<_ACEOF
37915 #define HAVE_LOG10F 1
37916 _ACEOF
37919 done
37921 else
37923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
37924 $as_echo_n "checking for _log10f declaration... " >&6; }
37925 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37926 if ${glibcxx_cv_func__log10f_use+:} false; then :
37927 $as_echo_n "(cached) " >&6
37928 else
37931 ac_ext=cpp
37932 ac_cpp='$CXXCPP $CPPFLAGS'
37933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37938 /* end confdefs.h. */
37939 #include <math.h>
37940 #ifdef HAVE_IEEEFP_H
37941 #include <ieeefp.h>
37942 #endif
37945 main ()
37947 _log10f(0);
37949 return 0;
37951 _ACEOF
37952 if ac_fn_cxx_try_compile "$LINENO"; then :
37953 glibcxx_cv_func__log10f_use=yes
37954 else
37955 glibcxx_cv_func__log10f_use=no
37957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37958 ac_ext=c
37959 ac_cpp='$CPP $CPPFLAGS'
37960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
37969 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
37971 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
37972 for ac_func in _log10f
37973 do :
37974 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
37975 if test "x$ac_cv_func__log10f" = xyes; then :
37976 cat >>confdefs.h <<_ACEOF
37977 #define HAVE__LOG10F 1
37978 _ACEOF
37981 done
37990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
37991 $as_echo_n "checking for modff declaration... " >&6; }
37992 if test x${glibcxx_cv_func_modff_use+set} != xset; then
37993 if ${glibcxx_cv_func_modff_use+:} false; then :
37994 $as_echo_n "(cached) " >&6
37995 else
37998 ac_ext=cpp
37999 ac_cpp='$CXXCPP $CPPFLAGS'
38000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38005 /* end confdefs.h. */
38006 #include <math.h>
38008 main ()
38010 modff(0, 0);
38012 return 0;
38014 _ACEOF
38015 if ac_fn_cxx_try_compile "$LINENO"; then :
38016 glibcxx_cv_func_modff_use=yes
38017 else
38018 glibcxx_cv_func_modff_use=no
38020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38021 ac_ext=c
38022 ac_cpp='$CPP $CPPFLAGS'
38023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
38032 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
38034 if test x$glibcxx_cv_func_modff_use = x"yes"; then
38035 for ac_func in modff
38036 do :
38037 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
38038 if test "x$ac_cv_func_modff" = xyes; then :
38039 cat >>confdefs.h <<_ACEOF
38040 #define HAVE_MODFF 1
38041 _ACEOF
38044 done
38046 else
38048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
38049 $as_echo_n "checking for _modff declaration... " >&6; }
38050 if test x${glibcxx_cv_func__modff_use+set} != xset; then
38051 if ${glibcxx_cv_func__modff_use+:} false; then :
38052 $as_echo_n "(cached) " >&6
38053 else
38056 ac_ext=cpp
38057 ac_cpp='$CXXCPP $CPPFLAGS'
38058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38063 /* end confdefs.h. */
38064 #include <math.h>
38066 main ()
38068 _modff(0, 0);
38070 return 0;
38072 _ACEOF
38073 if ac_fn_cxx_try_compile "$LINENO"; then :
38074 glibcxx_cv_func__modff_use=yes
38075 else
38076 glibcxx_cv_func__modff_use=no
38078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38079 ac_ext=c
38080 ac_cpp='$CPP $CPPFLAGS'
38081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
38090 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
38092 if test x$glibcxx_cv_func__modff_use = x"yes"; then
38093 for ac_func in _modff
38094 do :
38095 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
38096 if test "x$ac_cv_func__modff" = xyes; then :
38097 cat >>confdefs.h <<_ACEOF
38098 #define HAVE__MODFF 1
38099 _ACEOF
38102 done
38111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
38112 $as_echo_n "checking for modf declaration... " >&6; }
38113 if test x${glibcxx_cv_func_modf_use+set} != xset; then
38114 if ${glibcxx_cv_func_modf_use+:} false; then :
38115 $as_echo_n "(cached) " >&6
38116 else
38119 ac_ext=cpp
38120 ac_cpp='$CXXCPP $CPPFLAGS'
38121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38126 /* end confdefs.h. */
38127 #include <math.h>
38129 main ()
38131 modf(0, 0);
38133 return 0;
38135 _ACEOF
38136 if ac_fn_cxx_try_compile "$LINENO"; then :
38137 glibcxx_cv_func_modf_use=yes
38138 else
38139 glibcxx_cv_func_modf_use=no
38141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38142 ac_ext=c
38143 ac_cpp='$CPP $CPPFLAGS'
38144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
38153 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
38155 if test x$glibcxx_cv_func_modf_use = x"yes"; then
38156 for ac_func in modf
38157 do :
38158 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
38159 if test "x$ac_cv_func_modf" = xyes; then :
38160 cat >>confdefs.h <<_ACEOF
38161 #define HAVE_MODF 1
38162 _ACEOF
38165 done
38167 else
38169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
38170 $as_echo_n "checking for _modf declaration... " >&6; }
38171 if test x${glibcxx_cv_func__modf_use+set} != xset; then
38172 if ${glibcxx_cv_func__modf_use+:} false; then :
38173 $as_echo_n "(cached) " >&6
38174 else
38177 ac_ext=cpp
38178 ac_cpp='$CXXCPP $CPPFLAGS'
38179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38184 /* end confdefs.h. */
38185 #include <math.h>
38187 main ()
38189 _modf(0, 0);
38191 return 0;
38193 _ACEOF
38194 if ac_fn_cxx_try_compile "$LINENO"; then :
38195 glibcxx_cv_func__modf_use=yes
38196 else
38197 glibcxx_cv_func__modf_use=no
38199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38200 ac_ext=c
38201 ac_cpp='$CPP $CPPFLAGS'
38202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
38211 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
38213 if test x$glibcxx_cv_func__modf_use = x"yes"; then
38214 for ac_func in _modf
38215 do :
38216 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
38217 if test "x$ac_cv_func__modf" = xyes; then :
38218 cat >>confdefs.h <<_ACEOF
38219 #define HAVE__MODF 1
38220 _ACEOF
38223 done
38232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38233 $as_echo_n "checking for powf declaration... " >&6; }
38234 if test x${glibcxx_cv_func_powf_use+set} != xset; then
38235 if ${glibcxx_cv_func_powf_use+:} false; then :
38236 $as_echo_n "(cached) " >&6
38237 else
38240 ac_ext=cpp
38241 ac_cpp='$CXXCPP $CPPFLAGS'
38242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38247 /* end confdefs.h. */
38248 #include <math.h>
38250 main ()
38252 powf(0, 0);
38254 return 0;
38256 _ACEOF
38257 if ac_fn_cxx_try_compile "$LINENO"; then :
38258 glibcxx_cv_func_powf_use=yes
38259 else
38260 glibcxx_cv_func_powf_use=no
38262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38263 ac_ext=c
38264 ac_cpp='$CPP $CPPFLAGS'
38265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38274 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
38276 if test x$glibcxx_cv_func_powf_use = x"yes"; then
38277 for ac_func in powf
38278 do :
38279 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38280 if test "x$ac_cv_func_powf" = xyes; then :
38281 cat >>confdefs.h <<_ACEOF
38282 #define HAVE_POWF 1
38283 _ACEOF
38286 done
38288 else
38290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38291 $as_echo_n "checking for _powf declaration... " >&6; }
38292 if test x${glibcxx_cv_func__powf_use+set} != xset; then
38293 if ${glibcxx_cv_func__powf_use+:} false; then :
38294 $as_echo_n "(cached) " >&6
38295 else
38298 ac_ext=cpp
38299 ac_cpp='$CXXCPP $CPPFLAGS'
38300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38305 /* end confdefs.h. */
38306 #include <math.h>
38308 main ()
38310 _powf(0, 0);
38312 return 0;
38314 _ACEOF
38315 if ac_fn_cxx_try_compile "$LINENO"; then :
38316 glibcxx_cv_func__powf_use=yes
38317 else
38318 glibcxx_cv_func__powf_use=no
38320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38321 ac_ext=c
38322 ac_cpp='$CPP $CPPFLAGS'
38323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38332 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
38334 if test x$glibcxx_cv_func__powf_use = x"yes"; then
38335 for ac_func in _powf
38336 do :
38337 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38338 if test "x$ac_cv_func__powf" = xyes; then :
38339 cat >>confdefs.h <<_ACEOF
38340 #define HAVE__POWF 1
38341 _ACEOF
38344 done
38353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38354 $as_echo_n "checking for sqrtf declaration... " >&6; }
38355 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38356 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
38357 $as_echo_n "(cached) " >&6
38358 else
38361 ac_ext=cpp
38362 ac_cpp='$CXXCPP $CPPFLAGS'
38363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38368 /* end confdefs.h. */
38369 #include <math.h>
38370 #ifdef HAVE_IEEEFP_H
38371 #include <ieeefp.h>
38372 #endif
38375 main ()
38377 sqrtf(0);
38379 return 0;
38381 _ACEOF
38382 if ac_fn_cxx_try_compile "$LINENO"; then :
38383 glibcxx_cv_func_sqrtf_use=yes
38384 else
38385 glibcxx_cv_func_sqrtf_use=no
38387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38388 ac_ext=c
38389 ac_cpp='$CPP $CPPFLAGS'
38390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38399 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38401 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38402 for ac_func in sqrtf
38403 do :
38404 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38405 if test "x$ac_cv_func_sqrtf" = xyes; then :
38406 cat >>confdefs.h <<_ACEOF
38407 #define HAVE_SQRTF 1
38408 _ACEOF
38411 done
38413 else
38415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38416 $as_echo_n "checking for _sqrtf declaration... " >&6; }
38417 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38418 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
38419 $as_echo_n "(cached) " >&6
38420 else
38423 ac_ext=cpp
38424 ac_cpp='$CXXCPP $CPPFLAGS'
38425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38430 /* end confdefs.h. */
38431 #include <math.h>
38432 #ifdef HAVE_IEEEFP_H
38433 #include <ieeefp.h>
38434 #endif
38437 main ()
38439 _sqrtf(0);
38441 return 0;
38443 _ACEOF
38444 if ac_fn_cxx_try_compile "$LINENO"; then :
38445 glibcxx_cv_func__sqrtf_use=yes
38446 else
38447 glibcxx_cv_func__sqrtf_use=no
38449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38450 ac_ext=c
38451 ac_cpp='$CPP $CPPFLAGS'
38452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38461 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38463 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38464 for ac_func in _sqrtf
38465 do :
38466 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38467 if test "x$ac_cv_func__sqrtf" = xyes; then :
38468 cat >>confdefs.h <<_ACEOF
38469 #define HAVE__SQRTF 1
38470 _ACEOF
38473 done
38482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38483 $as_echo_n "checking for sincosf declaration... " >&6; }
38484 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38485 if ${glibcxx_cv_func_sincosf_use+:} false; then :
38486 $as_echo_n "(cached) " >&6
38487 else
38490 ac_ext=cpp
38491 ac_cpp='$CXXCPP $CPPFLAGS'
38492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38497 /* end confdefs.h. */
38498 #include <math.h>
38500 main ()
38502 sincosf(0, 0, 0);
38504 return 0;
38506 _ACEOF
38507 if ac_fn_cxx_try_compile "$LINENO"; then :
38508 glibcxx_cv_func_sincosf_use=yes
38509 else
38510 glibcxx_cv_func_sincosf_use=no
38512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38513 ac_ext=c
38514 ac_cpp='$CPP $CPPFLAGS'
38515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38524 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38526 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38527 for ac_func in sincosf
38528 do :
38529 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38530 if test "x$ac_cv_func_sincosf" = xyes; then :
38531 cat >>confdefs.h <<_ACEOF
38532 #define HAVE_SINCOSF 1
38533 _ACEOF
38536 done
38538 else
38540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38541 $as_echo_n "checking for _sincosf declaration... " >&6; }
38542 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38543 if ${glibcxx_cv_func__sincosf_use+:} false; then :
38544 $as_echo_n "(cached) " >&6
38545 else
38548 ac_ext=cpp
38549 ac_cpp='$CXXCPP $CPPFLAGS'
38550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38555 /* end confdefs.h. */
38556 #include <math.h>
38558 main ()
38560 _sincosf(0, 0, 0);
38562 return 0;
38564 _ACEOF
38565 if ac_fn_cxx_try_compile "$LINENO"; then :
38566 glibcxx_cv_func__sincosf_use=yes
38567 else
38568 glibcxx_cv_func__sincosf_use=no
38570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38571 ac_ext=c
38572 ac_cpp='$CPP $CPPFLAGS'
38573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38582 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38584 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38585 for ac_func in _sincosf
38586 do :
38587 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38588 if test "x$ac_cv_func__sincosf" = xyes; then :
38589 cat >>confdefs.h <<_ACEOF
38590 #define HAVE__SINCOSF 1
38591 _ACEOF
38594 done
38603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38604 $as_echo_n "checking for finitef declaration... " >&6; }
38605 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38606 if ${glibcxx_cv_func_finitef_use+:} false; then :
38607 $as_echo_n "(cached) " >&6
38608 else
38611 ac_ext=cpp
38612 ac_cpp='$CXXCPP $CPPFLAGS'
38613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38618 /* end confdefs.h. */
38619 #include <math.h>
38620 #ifdef HAVE_IEEEFP_H
38621 #include <ieeefp.h>
38622 #endif
38625 main ()
38627 finitef(0);
38629 return 0;
38631 _ACEOF
38632 if ac_fn_cxx_try_compile "$LINENO"; then :
38633 glibcxx_cv_func_finitef_use=yes
38634 else
38635 glibcxx_cv_func_finitef_use=no
38637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38638 ac_ext=c
38639 ac_cpp='$CPP $CPPFLAGS'
38640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38649 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38651 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38652 for ac_func in finitef
38653 do :
38654 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38655 if test "x$ac_cv_func_finitef" = xyes; then :
38656 cat >>confdefs.h <<_ACEOF
38657 #define HAVE_FINITEF 1
38658 _ACEOF
38661 done
38663 else
38665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38666 $as_echo_n "checking for _finitef declaration... " >&6; }
38667 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38668 if ${glibcxx_cv_func__finitef_use+:} false; then :
38669 $as_echo_n "(cached) " >&6
38670 else
38673 ac_ext=cpp
38674 ac_cpp='$CXXCPP $CPPFLAGS'
38675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38680 /* end confdefs.h. */
38681 #include <math.h>
38682 #ifdef HAVE_IEEEFP_H
38683 #include <ieeefp.h>
38684 #endif
38687 main ()
38689 _finitef(0);
38691 return 0;
38693 _ACEOF
38694 if ac_fn_cxx_try_compile "$LINENO"; then :
38695 glibcxx_cv_func__finitef_use=yes
38696 else
38697 glibcxx_cv_func__finitef_use=no
38699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38700 ac_ext=c
38701 ac_cpp='$CPP $CPPFLAGS'
38702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38711 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38713 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38714 for ac_func in _finitef
38715 do :
38716 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38717 if test "x$ac_cv_func__finitef" = xyes; then :
38718 cat >>confdefs.h <<_ACEOF
38719 #define HAVE__FINITEF 1
38720 _ACEOF
38723 done
38732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38733 $as_echo_n "checking for long double trig functions... " >&6; }
38734 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
38735 $as_echo_n "(cached) " >&6
38736 else
38739 ac_ext=cpp
38740 ac_cpp='$CXXCPP $CPPFLAGS'
38741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38746 /* end confdefs.h. */
38747 #include <math.h>
38749 main ()
38751 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38753 return 0;
38755 _ACEOF
38756 if ac_fn_cxx_try_compile "$LINENO"; then :
38757 glibcxx_cv_func_long_double_trig_use=yes
38758 else
38759 glibcxx_cv_func_long_double_trig_use=no
38761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38762 ac_ext=c
38763 ac_cpp='$CPP $CPPFLAGS'
38764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38771 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38772 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38773 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38774 do :
38775 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38776 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38777 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38778 cat >>confdefs.h <<_ACEOF
38779 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38780 _ACEOF
38783 done
38785 else
38786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38787 $as_echo_n "checking for _long double trig functions... " >&6; }
38788 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
38789 $as_echo_n "(cached) " >&6
38790 else
38793 ac_ext=cpp
38794 ac_cpp='$CXXCPP $CPPFLAGS'
38795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38800 /* end confdefs.h. */
38801 #include <math.h>
38803 main ()
38805 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38807 return 0;
38809 _ACEOF
38810 if ac_fn_cxx_try_compile "$LINENO"; then :
38811 glibcxx_cv_func__long_double_trig_use=yes
38812 else
38813 glibcxx_cv_func__long_double_trig_use=no
38815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38816 ac_ext=c
38817 ac_cpp='$CPP $CPPFLAGS'
38818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38825 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38826 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38827 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38828 do :
38829 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38830 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38831 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38832 cat >>confdefs.h <<_ACEOF
38833 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38834 _ACEOF
38837 done
38846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38847 $as_echo_n "checking for long double round functions... " >&6; }
38848 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
38849 $as_echo_n "(cached) " >&6
38850 else
38853 ac_ext=cpp
38854 ac_cpp='$CXXCPP $CPPFLAGS'
38855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38860 /* end confdefs.h. */
38861 #include <math.h>
38863 main ()
38865 ceill (0); floorl (0);
38867 return 0;
38869 _ACEOF
38870 if ac_fn_cxx_try_compile "$LINENO"; then :
38871 glibcxx_cv_func_long_double_round_use=yes
38872 else
38873 glibcxx_cv_func_long_double_round_use=no
38875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38876 ac_ext=c
38877 ac_cpp='$CPP $CPPFLAGS'
38878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38885 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38886 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38887 for ac_func in ceill floorl
38888 do :
38889 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38890 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38891 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38892 cat >>confdefs.h <<_ACEOF
38893 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38894 _ACEOF
38897 done
38899 else
38900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38901 $as_echo_n "checking for _long double round functions... " >&6; }
38902 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
38903 $as_echo_n "(cached) " >&6
38904 else
38907 ac_ext=cpp
38908 ac_cpp='$CXXCPP $CPPFLAGS'
38909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38914 /* end confdefs.h. */
38915 #include <math.h>
38917 main ()
38919 _ceill (0); _floorl (0);
38921 return 0;
38923 _ACEOF
38924 if ac_fn_cxx_try_compile "$LINENO"; then :
38925 glibcxx_cv_func__long_double_round_use=yes
38926 else
38927 glibcxx_cv_func__long_double_round_use=no
38929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38930 ac_ext=c
38931 ac_cpp='$CPP $CPPFLAGS'
38932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
38939 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
38940 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
38941 for ac_func in _ceill _floorl
38942 do :
38943 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38944 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38945 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38946 cat >>confdefs.h <<_ACEOF
38947 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38948 _ACEOF
38951 done
38961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
38962 $as_echo_n "checking for isnanl declaration... " >&6; }
38963 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
38964 if ${glibcxx_cv_func_isnanl_use+:} false; then :
38965 $as_echo_n "(cached) " >&6
38966 else
38969 ac_ext=cpp
38970 ac_cpp='$CXXCPP $CPPFLAGS'
38971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38976 /* end confdefs.h. */
38977 #include <math.h>
38978 #ifdef HAVE_IEEEFP_H
38979 #include <ieeefp.h>
38980 #endif
38983 main ()
38985 isnanl(0);
38987 return 0;
38989 _ACEOF
38990 if ac_fn_cxx_try_compile "$LINENO"; then :
38991 glibcxx_cv_func_isnanl_use=yes
38992 else
38993 glibcxx_cv_func_isnanl_use=no
38995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38996 ac_ext=c
38997 ac_cpp='$CPP $CPPFLAGS'
38998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
39007 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
39009 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
39010 for ac_func in isnanl
39011 do :
39012 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
39013 if test "x$ac_cv_func_isnanl" = xyes; then :
39014 cat >>confdefs.h <<_ACEOF
39015 #define HAVE_ISNANL 1
39016 _ACEOF
39019 done
39021 else
39023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
39024 $as_echo_n "checking for _isnanl declaration... " >&6; }
39025 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
39026 if ${glibcxx_cv_func__isnanl_use+:} false; then :
39027 $as_echo_n "(cached) " >&6
39028 else
39031 ac_ext=cpp
39032 ac_cpp='$CXXCPP $CPPFLAGS'
39033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39038 /* end confdefs.h. */
39039 #include <math.h>
39040 #ifdef HAVE_IEEEFP_H
39041 #include <ieeefp.h>
39042 #endif
39045 main ()
39047 _isnanl(0);
39049 return 0;
39051 _ACEOF
39052 if ac_fn_cxx_try_compile "$LINENO"; then :
39053 glibcxx_cv_func__isnanl_use=yes
39054 else
39055 glibcxx_cv_func__isnanl_use=no
39057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39058 ac_ext=c
39059 ac_cpp='$CPP $CPPFLAGS'
39060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
39069 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
39071 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
39072 for ac_func in _isnanl
39073 do :
39074 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
39075 if test "x$ac_cv_func__isnanl" = xyes; then :
39076 cat >>confdefs.h <<_ACEOF
39077 #define HAVE__ISNANL 1
39078 _ACEOF
39081 done
39090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
39091 $as_echo_n "checking for isinfl declaration... " >&6; }
39092 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
39093 if ${glibcxx_cv_func_isinfl_use+:} false; then :
39094 $as_echo_n "(cached) " >&6
39095 else
39098 ac_ext=cpp
39099 ac_cpp='$CXXCPP $CPPFLAGS'
39100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39105 /* end confdefs.h. */
39106 #include <math.h>
39107 #ifdef HAVE_IEEEFP_H
39108 #include <ieeefp.h>
39109 #endif
39112 main ()
39114 isinfl(0);
39116 return 0;
39118 _ACEOF
39119 if ac_fn_cxx_try_compile "$LINENO"; then :
39120 glibcxx_cv_func_isinfl_use=yes
39121 else
39122 glibcxx_cv_func_isinfl_use=no
39124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39125 ac_ext=c
39126 ac_cpp='$CPP $CPPFLAGS'
39127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
39136 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
39138 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
39139 for ac_func in isinfl
39140 do :
39141 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
39142 if test "x$ac_cv_func_isinfl" = xyes; then :
39143 cat >>confdefs.h <<_ACEOF
39144 #define HAVE_ISINFL 1
39145 _ACEOF
39148 done
39150 else
39152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
39153 $as_echo_n "checking for _isinfl declaration... " >&6; }
39154 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
39155 if ${glibcxx_cv_func__isinfl_use+:} false; then :
39156 $as_echo_n "(cached) " >&6
39157 else
39160 ac_ext=cpp
39161 ac_cpp='$CXXCPP $CPPFLAGS'
39162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39167 /* end confdefs.h. */
39168 #include <math.h>
39169 #ifdef HAVE_IEEEFP_H
39170 #include <ieeefp.h>
39171 #endif
39174 main ()
39176 _isinfl(0);
39178 return 0;
39180 _ACEOF
39181 if ac_fn_cxx_try_compile "$LINENO"; then :
39182 glibcxx_cv_func__isinfl_use=yes
39183 else
39184 glibcxx_cv_func__isinfl_use=no
39186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39187 ac_ext=c
39188 ac_cpp='$CPP $CPPFLAGS'
39189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
39198 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
39200 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
39201 for ac_func in _isinfl
39202 do :
39203 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
39204 if test "x$ac_cv_func__isinfl" = xyes; then :
39205 cat >>confdefs.h <<_ACEOF
39206 #define HAVE__ISINFL 1
39207 _ACEOF
39210 done
39219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
39220 $as_echo_n "checking for atan2l declaration... " >&6; }
39221 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
39222 if ${glibcxx_cv_func_atan2l_use+:} false; then :
39223 $as_echo_n "(cached) " >&6
39224 else
39227 ac_ext=cpp
39228 ac_cpp='$CXXCPP $CPPFLAGS'
39229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39234 /* end confdefs.h. */
39235 #include <math.h>
39237 main ()
39239 atan2l(0, 0);
39241 return 0;
39243 _ACEOF
39244 if ac_fn_cxx_try_compile "$LINENO"; then :
39245 glibcxx_cv_func_atan2l_use=yes
39246 else
39247 glibcxx_cv_func_atan2l_use=no
39249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39250 ac_ext=c
39251 ac_cpp='$CPP $CPPFLAGS'
39252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39261 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39263 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39264 for ac_func in atan2l
39265 do :
39266 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39267 if test "x$ac_cv_func_atan2l" = xyes; then :
39268 cat >>confdefs.h <<_ACEOF
39269 #define HAVE_ATAN2L 1
39270 _ACEOF
39273 done
39275 else
39277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39278 $as_echo_n "checking for _atan2l declaration... " >&6; }
39279 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39280 if ${glibcxx_cv_func__atan2l_use+:} false; then :
39281 $as_echo_n "(cached) " >&6
39282 else
39285 ac_ext=cpp
39286 ac_cpp='$CXXCPP $CPPFLAGS'
39287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39292 /* end confdefs.h. */
39293 #include <math.h>
39295 main ()
39297 _atan2l(0, 0);
39299 return 0;
39301 _ACEOF
39302 if ac_fn_cxx_try_compile "$LINENO"; then :
39303 glibcxx_cv_func__atan2l_use=yes
39304 else
39305 glibcxx_cv_func__atan2l_use=no
39307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39308 ac_ext=c
39309 ac_cpp='$CPP $CPPFLAGS'
39310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39319 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39321 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39322 for ac_func in _atan2l
39323 do :
39324 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39325 if test "x$ac_cv_func__atan2l" = xyes; then :
39326 cat >>confdefs.h <<_ACEOF
39327 #define HAVE__ATAN2L 1
39328 _ACEOF
39331 done
39340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39341 $as_echo_n "checking for expl declaration... " >&6; }
39342 if test x${glibcxx_cv_func_expl_use+set} != xset; then
39343 if ${glibcxx_cv_func_expl_use+:} false; then :
39344 $as_echo_n "(cached) " >&6
39345 else
39348 ac_ext=cpp
39349 ac_cpp='$CXXCPP $CPPFLAGS'
39350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39355 /* end confdefs.h. */
39356 #include <math.h>
39357 #ifdef HAVE_IEEEFP_H
39358 #include <ieeefp.h>
39359 #endif
39362 main ()
39364 expl(0);
39366 return 0;
39368 _ACEOF
39369 if ac_fn_cxx_try_compile "$LINENO"; then :
39370 glibcxx_cv_func_expl_use=yes
39371 else
39372 glibcxx_cv_func_expl_use=no
39374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39375 ac_ext=c
39376 ac_cpp='$CPP $CPPFLAGS'
39377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39386 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
39388 if test x$glibcxx_cv_func_expl_use = x"yes"; then
39389 for ac_func in expl
39390 do :
39391 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39392 if test "x$ac_cv_func_expl" = xyes; then :
39393 cat >>confdefs.h <<_ACEOF
39394 #define HAVE_EXPL 1
39395 _ACEOF
39398 done
39400 else
39402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39403 $as_echo_n "checking for _expl declaration... " >&6; }
39404 if test x${glibcxx_cv_func__expl_use+set} != xset; then
39405 if ${glibcxx_cv_func__expl_use+:} false; then :
39406 $as_echo_n "(cached) " >&6
39407 else
39410 ac_ext=cpp
39411 ac_cpp='$CXXCPP $CPPFLAGS'
39412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39417 /* end confdefs.h. */
39418 #include <math.h>
39419 #ifdef HAVE_IEEEFP_H
39420 #include <ieeefp.h>
39421 #endif
39424 main ()
39426 _expl(0);
39428 return 0;
39430 _ACEOF
39431 if ac_fn_cxx_try_compile "$LINENO"; then :
39432 glibcxx_cv_func__expl_use=yes
39433 else
39434 glibcxx_cv_func__expl_use=no
39436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39437 ac_ext=c
39438 ac_cpp='$CPP $CPPFLAGS'
39439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39448 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
39450 if test x$glibcxx_cv_func__expl_use = x"yes"; then
39451 for ac_func in _expl
39452 do :
39453 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39454 if test "x$ac_cv_func__expl" = xyes; then :
39455 cat >>confdefs.h <<_ACEOF
39456 #define HAVE__EXPL 1
39457 _ACEOF
39460 done
39469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39470 $as_echo_n "checking for fabsl declaration... " >&6; }
39471 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39472 if ${glibcxx_cv_func_fabsl_use+:} false; then :
39473 $as_echo_n "(cached) " >&6
39474 else
39477 ac_ext=cpp
39478 ac_cpp='$CXXCPP $CPPFLAGS'
39479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39484 /* end confdefs.h. */
39485 #include <math.h>
39486 #ifdef HAVE_IEEEFP_H
39487 #include <ieeefp.h>
39488 #endif
39491 main ()
39493 fabsl(0);
39495 return 0;
39497 _ACEOF
39498 if ac_fn_cxx_try_compile "$LINENO"; then :
39499 glibcxx_cv_func_fabsl_use=yes
39500 else
39501 glibcxx_cv_func_fabsl_use=no
39503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39504 ac_ext=c
39505 ac_cpp='$CPP $CPPFLAGS'
39506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39515 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39517 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39518 for ac_func in fabsl
39519 do :
39520 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39521 if test "x$ac_cv_func_fabsl" = xyes; then :
39522 cat >>confdefs.h <<_ACEOF
39523 #define HAVE_FABSL 1
39524 _ACEOF
39527 done
39529 else
39531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39532 $as_echo_n "checking for _fabsl declaration... " >&6; }
39533 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39534 if ${glibcxx_cv_func__fabsl_use+:} false; then :
39535 $as_echo_n "(cached) " >&6
39536 else
39539 ac_ext=cpp
39540 ac_cpp='$CXXCPP $CPPFLAGS'
39541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39546 /* end confdefs.h. */
39547 #include <math.h>
39548 #ifdef HAVE_IEEEFP_H
39549 #include <ieeefp.h>
39550 #endif
39553 main ()
39555 _fabsl(0);
39557 return 0;
39559 _ACEOF
39560 if ac_fn_cxx_try_compile "$LINENO"; then :
39561 glibcxx_cv_func__fabsl_use=yes
39562 else
39563 glibcxx_cv_func__fabsl_use=no
39565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39566 ac_ext=c
39567 ac_cpp='$CPP $CPPFLAGS'
39568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39577 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39579 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39580 for ac_func in _fabsl
39581 do :
39582 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39583 if test "x$ac_cv_func__fabsl" = xyes; then :
39584 cat >>confdefs.h <<_ACEOF
39585 #define HAVE__FABSL 1
39586 _ACEOF
39589 done
39598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39599 $as_echo_n "checking for fmodl declaration... " >&6; }
39600 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39601 if ${glibcxx_cv_func_fmodl_use+:} false; then :
39602 $as_echo_n "(cached) " >&6
39603 else
39606 ac_ext=cpp
39607 ac_cpp='$CXXCPP $CPPFLAGS'
39608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39613 /* end confdefs.h. */
39614 #include <math.h>
39616 main ()
39618 fmodl(0, 0);
39620 return 0;
39622 _ACEOF
39623 if ac_fn_cxx_try_compile "$LINENO"; then :
39624 glibcxx_cv_func_fmodl_use=yes
39625 else
39626 glibcxx_cv_func_fmodl_use=no
39628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39629 ac_ext=c
39630 ac_cpp='$CPP $CPPFLAGS'
39631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39640 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39642 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39643 for ac_func in fmodl
39644 do :
39645 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39646 if test "x$ac_cv_func_fmodl" = xyes; then :
39647 cat >>confdefs.h <<_ACEOF
39648 #define HAVE_FMODL 1
39649 _ACEOF
39652 done
39654 else
39656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39657 $as_echo_n "checking for _fmodl declaration... " >&6; }
39658 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39659 if ${glibcxx_cv_func__fmodl_use+:} false; then :
39660 $as_echo_n "(cached) " >&6
39661 else
39664 ac_ext=cpp
39665 ac_cpp='$CXXCPP $CPPFLAGS'
39666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39671 /* end confdefs.h. */
39672 #include <math.h>
39674 main ()
39676 _fmodl(0, 0);
39678 return 0;
39680 _ACEOF
39681 if ac_fn_cxx_try_compile "$LINENO"; then :
39682 glibcxx_cv_func__fmodl_use=yes
39683 else
39684 glibcxx_cv_func__fmodl_use=no
39686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39687 ac_ext=c
39688 ac_cpp='$CPP $CPPFLAGS'
39689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39698 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39700 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39701 for ac_func in _fmodl
39702 do :
39703 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39704 if test "x$ac_cv_func__fmodl" = xyes; then :
39705 cat >>confdefs.h <<_ACEOF
39706 #define HAVE__FMODL 1
39707 _ACEOF
39710 done
39719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39720 $as_echo_n "checking for frexpl declaration... " >&6; }
39721 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39722 if ${glibcxx_cv_func_frexpl_use+:} false; then :
39723 $as_echo_n "(cached) " >&6
39724 else
39727 ac_ext=cpp
39728 ac_cpp='$CXXCPP $CPPFLAGS'
39729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39734 /* end confdefs.h. */
39735 #include <math.h>
39737 main ()
39739 frexpl(0, 0);
39741 return 0;
39743 _ACEOF
39744 if ac_fn_cxx_try_compile "$LINENO"; then :
39745 glibcxx_cv_func_frexpl_use=yes
39746 else
39747 glibcxx_cv_func_frexpl_use=no
39749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39750 ac_ext=c
39751 ac_cpp='$CPP $CPPFLAGS'
39752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39761 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39763 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39764 for ac_func in frexpl
39765 do :
39766 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39767 if test "x$ac_cv_func_frexpl" = xyes; then :
39768 cat >>confdefs.h <<_ACEOF
39769 #define HAVE_FREXPL 1
39770 _ACEOF
39773 done
39775 else
39777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39778 $as_echo_n "checking for _frexpl declaration... " >&6; }
39779 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39780 if ${glibcxx_cv_func__frexpl_use+:} false; then :
39781 $as_echo_n "(cached) " >&6
39782 else
39785 ac_ext=cpp
39786 ac_cpp='$CXXCPP $CPPFLAGS'
39787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39792 /* end confdefs.h. */
39793 #include <math.h>
39795 main ()
39797 _frexpl(0, 0);
39799 return 0;
39801 _ACEOF
39802 if ac_fn_cxx_try_compile "$LINENO"; then :
39803 glibcxx_cv_func__frexpl_use=yes
39804 else
39805 glibcxx_cv_func__frexpl_use=no
39807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39808 ac_ext=c
39809 ac_cpp='$CPP $CPPFLAGS'
39810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39819 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39821 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39822 for ac_func in _frexpl
39823 do :
39824 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39825 if test "x$ac_cv_func__frexpl" = xyes; then :
39826 cat >>confdefs.h <<_ACEOF
39827 #define HAVE__FREXPL 1
39828 _ACEOF
39831 done
39840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39841 $as_echo_n "checking for hypotl declaration... " >&6; }
39842 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39843 if ${glibcxx_cv_func_hypotl_use+:} false; then :
39844 $as_echo_n "(cached) " >&6
39845 else
39848 ac_ext=cpp
39849 ac_cpp='$CXXCPP $CPPFLAGS'
39850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39855 /* end confdefs.h. */
39856 #include <math.h>
39858 main ()
39860 hypotl(0, 0);
39862 return 0;
39864 _ACEOF
39865 if ac_fn_cxx_try_compile "$LINENO"; then :
39866 glibcxx_cv_func_hypotl_use=yes
39867 else
39868 glibcxx_cv_func_hypotl_use=no
39870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39871 ac_ext=c
39872 ac_cpp='$CPP $CPPFLAGS'
39873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39882 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39884 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39885 for ac_func in hypotl
39886 do :
39887 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39888 if test "x$ac_cv_func_hypotl" = xyes; then :
39889 cat >>confdefs.h <<_ACEOF
39890 #define HAVE_HYPOTL 1
39891 _ACEOF
39894 done
39896 else
39898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39899 $as_echo_n "checking for _hypotl declaration... " >&6; }
39900 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39901 if ${glibcxx_cv_func__hypotl_use+:} false; then :
39902 $as_echo_n "(cached) " >&6
39903 else
39906 ac_ext=cpp
39907 ac_cpp='$CXXCPP $CPPFLAGS'
39908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39913 /* end confdefs.h. */
39914 #include <math.h>
39916 main ()
39918 _hypotl(0, 0);
39920 return 0;
39922 _ACEOF
39923 if ac_fn_cxx_try_compile "$LINENO"; then :
39924 glibcxx_cv_func__hypotl_use=yes
39925 else
39926 glibcxx_cv_func__hypotl_use=no
39928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39929 ac_ext=c
39930 ac_cpp='$CPP $CPPFLAGS'
39931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
39940 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
39942 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39943 for ac_func in _hypotl
39944 do :
39945 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
39946 if test "x$ac_cv_func__hypotl" = xyes; then :
39947 cat >>confdefs.h <<_ACEOF
39948 #define HAVE__HYPOTL 1
39949 _ACEOF
39952 done
39961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
39962 $as_echo_n "checking for ldexpl declaration... " >&6; }
39963 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39964 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
39965 $as_echo_n "(cached) " >&6
39966 else
39969 ac_ext=cpp
39970 ac_cpp='$CXXCPP $CPPFLAGS'
39971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39976 /* end confdefs.h. */
39977 #include <math.h>
39979 main ()
39981 ldexpl(0, 0);
39983 return 0;
39985 _ACEOF
39986 if ac_fn_cxx_try_compile "$LINENO"; then :
39987 glibcxx_cv_func_ldexpl_use=yes
39988 else
39989 glibcxx_cv_func_ldexpl_use=no
39991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39992 ac_ext=c
39993 ac_cpp='$CPP $CPPFLAGS'
39994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
40003 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
40005 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
40006 for ac_func in ldexpl
40007 do :
40008 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
40009 if test "x$ac_cv_func_ldexpl" = xyes; then :
40010 cat >>confdefs.h <<_ACEOF
40011 #define HAVE_LDEXPL 1
40012 _ACEOF
40015 done
40017 else
40019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
40020 $as_echo_n "checking for _ldexpl declaration... " >&6; }
40021 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
40022 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
40023 $as_echo_n "(cached) " >&6
40024 else
40027 ac_ext=cpp
40028 ac_cpp='$CXXCPP $CPPFLAGS'
40029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40034 /* end confdefs.h. */
40035 #include <math.h>
40037 main ()
40039 _ldexpl(0, 0);
40041 return 0;
40043 _ACEOF
40044 if ac_fn_cxx_try_compile "$LINENO"; then :
40045 glibcxx_cv_func__ldexpl_use=yes
40046 else
40047 glibcxx_cv_func__ldexpl_use=no
40049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40050 ac_ext=c
40051 ac_cpp='$CPP $CPPFLAGS'
40052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
40061 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
40063 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
40064 for ac_func in _ldexpl
40065 do :
40066 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
40067 if test "x$ac_cv_func__ldexpl" = xyes; then :
40068 cat >>confdefs.h <<_ACEOF
40069 #define HAVE__LDEXPL 1
40070 _ACEOF
40073 done
40082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
40083 $as_echo_n "checking for logl declaration... " >&6; }
40084 if test x${glibcxx_cv_func_logl_use+set} != xset; then
40085 if ${glibcxx_cv_func_logl_use+:} false; then :
40086 $as_echo_n "(cached) " >&6
40087 else
40090 ac_ext=cpp
40091 ac_cpp='$CXXCPP $CPPFLAGS'
40092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40097 /* end confdefs.h. */
40098 #include <math.h>
40099 #ifdef HAVE_IEEEFP_H
40100 #include <ieeefp.h>
40101 #endif
40104 main ()
40106 logl(0);
40108 return 0;
40110 _ACEOF
40111 if ac_fn_cxx_try_compile "$LINENO"; then :
40112 glibcxx_cv_func_logl_use=yes
40113 else
40114 glibcxx_cv_func_logl_use=no
40116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40117 ac_ext=c
40118 ac_cpp='$CPP $CPPFLAGS'
40119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
40128 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
40130 if test x$glibcxx_cv_func_logl_use = x"yes"; then
40131 for ac_func in logl
40132 do :
40133 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
40134 if test "x$ac_cv_func_logl" = xyes; then :
40135 cat >>confdefs.h <<_ACEOF
40136 #define HAVE_LOGL 1
40137 _ACEOF
40140 done
40142 else
40144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
40145 $as_echo_n "checking for _logl declaration... " >&6; }
40146 if test x${glibcxx_cv_func__logl_use+set} != xset; then
40147 if ${glibcxx_cv_func__logl_use+:} false; then :
40148 $as_echo_n "(cached) " >&6
40149 else
40152 ac_ext=cpp
40153 ac_cpp='$CXXCPP $CPPFLAGS'
40154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40159 /* end confdefs.h. */
40160 #include <math.h>
40161 #ifdef HAVE_IEEEFP_H
40162 #include <ieeefp.h>
40163 #endif
40166 main ()
40168 _logl(0);
40170 return 0;
40172 _ACEOF
40173 if ac_fn_cxx_try_compile "$LINENO"; then :
40174 glibcxx_cv_func__logl_use=yes
40175 else
40176 glibcxx_cv_func__logl_use=no
40178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40179 ac_ext=c
40180 ac_cpp='$CPP $CPPFLAGS'
40181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
40190 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
40192 if test x$glibcxx_cv_func__logl_use = x"yes"; then
40193 for ac_func in _logl
40194 do :
40195 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
40196 if test "x$ac_cv_func__logl" = xyes; then :
40197 cat >>confdefs.h <<_ACEOF
40198 #define HAVE__LOGL 1
40199 _ACEOF
40202 done
40211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
40212 $as_echo_n "checking for log10l declaration... " >&6; }
40213 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
40214 if ${glibcxx_cv_func_log10l_use+:} false; then :
40215 $as_echo_n "(cached) " >&6
40216 else
40219 ac_ext=cpp
40220 ac_cpp='$CXXCPP $CPPFLAGS'
40221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40226 /* end confdefs.h. */
40227 #include <math.h>
40228 #ifdef HAVE_IEEEFP_H
40229 #include <ieeefp.h>
40230 #endif
40233 main ()
40235 log10l(0);
40237 return 0;
40239 _ACEOF
40240 if ac_fn_cxx_try_compile "$LINENO"; then :
40241 glibcxx_cv_func_log10l_use=yes
40242 else
40243 glibcxx_cv_func_log10l_use=no
40245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40246 ac_ext=c
40247 ac_cpp='$CPP $CPPFLAGS'
40248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40257 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40259 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40260 for ac_func in log10l
40261 do :
40262 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40263 if test "x$ac_cv_func_log10l" = xyes; then :
40264 cat >>confdefs.h <<_ACEOF
40265 #define HAVE_LOG10L 1
40266 _ACEOF
40269 done
40271 else
40273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40274 $as_echo_n "checking for _log10l declaration... " >&6; }
40275 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40276 if ${glibcxx_cv_func__log10l_use+:} false; then :
40277 $as_echo_n "(cached) " >&6
40278 else
40281 ac_ext=cpp
40282 ac_cpp='$CXXCPP $CPPFLAGS'
40283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40288 /* end confdefs.h. */
40289 #include <math.h>
40290 #ifdef HAVE_IEEEFP_H
40291 #include <ieeefp.h>
40292 #endif
40295 main ()
40297 _log10l(0);
40299 return 0;
40301 _ACEOF
40302 if ac_fn_cxx_try_compile "$LINENO"; then :
40303 glibcxx_cv_func__log10l_use=yes
40304 else
40305 glibcxx_cv_func__log10l_use=no
40307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40308 ac_ext=c
40309 ac_cpp='$CPP $CPPFLAGS'
40310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40319 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40321 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40322 for ac_func in _log10l
40323 do :
40324 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40325 if test "x$ac_cv_func__log10l" = xyes; then :
40326 cat >>confdefs.h <<_ACEOF
40327 #define HAVE__LOG10L 1
40328 _ACEOF
40331 done
40340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40341 $as_echo_n "checking for modfl declaration... " >&6; }
40342 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40343 if ${glibcxx_cv_func_modfl_use+:} false; then :
40344 $as_echo_n "(cached) " >&6
40345 else
40348 ac_ext=cpp
40349 ac_cpp='$CXXCPP $CPPFLAGS'
40350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40355 /* end confdefs.h. */
40356 #include <math.h>
40358 main ()
40360 modfl(0, 0);
40362 return 0;
40364 _ACEOF
40365 if ac_fn_cxx_try_compile "$LINENO"; then :
40366 glibcxx_cv_func_modfl_use=yes
40367 else
40368 glibcxx_cv_func_modfl_use=no
40370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40371 ac_ext=c
40372 ac_cpp='$CPP $CPPFLAGS'
40373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40382 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40384 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40385 for ac_func in modfl
40386 do :
40387 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40388 if test "x$ac_cv_func_modfl" = xyes; then :
40389 cat >>confdefs.h <<_ACEOF
40390 #define HAVE_MODFL 1
40391 _ACEOF
40394 done
40396 else
40398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40399 $as_echo_n "checking for _modfl declaration... " >&6; }
40400 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40401 if ${glibcxx_cv_func__modfl_use+:} false; then :
40402 $as_echo_n "(cached) " >&6
40403 else
40406 ac_ext=cpp
40407 ac_cpp='$CXXCPP $CPPFLAGS'
40408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40413 /* end confdefs.h. */
40414 #include <math.h>
40416 main ()
40418 _modfl(0, 0);
40420 return 0;
40422 _ACEOF
40423 if ac_fn_cxx_try_compile "$LINENO"; then :
40424 glibcxx_cv_func__modfl_use=yes
40425 else
40426 glibcxx_cv_func__modfl_use=no
40428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40429 ac_ext=c
40430 ac_cpp='$CPP $CPPFLAGS'
40431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40440 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40442 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40443 for ac_func in _modfl
40444 do :
40445 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40446 if test "x$ac_cv_func__modfl" = xyes; then :
40447 cat >>confdefs.h <<_ACEOF
40448 #define HAVE__MODFL 1
40449 _ACEOF
40452 done
40461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40462 $as_echo_n "checking for powl declaration... " >&6; }
40463 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40464 if ${glibcxx_cv_func_powl_use+:} false; then :
40465 $as_echo_n "(cached) " >&6
40466 else
40469 ac_ext=cpp
40470 ac_cpp='$CXXCPP $CPPFLAGS'
40471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40476 /* end confdefs.h. */
40477 #include <math.h>
40479 main ()
40481 powl(0, 0);
40483 return 0;
40485 _ACEOF
40486 if ac_fn_cxx_try_compile "$LINENO"; then :
40487 glibcxx_cv_func_powl_use=yes
40488 else
40489 glibcxx_cv_func_powl_use=no
40491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40492 ac_ext=c
40493 ac_cpp='$CPP $CPPFLAGS'
40494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40503 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
40505 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40506 for ac_func in powl
40507 do :
40508 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40509 if test "x$ac_cv_func_powl" = xyes; then :
40510 cat >>confdefs.h <<_ACEOF
40511 #define HAVE_POWL 1
40512 _ACEOF
40515 done
40517 else
40519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40520 $as_echo_n "checking for _powl declaration... " >&6; }
40521 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40522 if ${glibcxx_cv_func__powl_use+:} false; then :
40523 $as_echo_n "(cached) " >&6
40524 else
40527 ac_ext=cpp
40528 ac_cpp='$CXXCPP $CPPFLAGS'
40529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40534 /* end confdefs.h. */
40535 #include <math.h>
40537 main ()
40539 _powl(0, 0);
40541 return 0;
40543 _ACEOF
40544 if ac_fn_cxx_try_compile "$LINENO"; then :
40545 glibcxx_cv_func__powl_use=yes
40546 else
40547 glibcxx_cv_func__powl_use=no
40549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40550 ac_ext=c
40551 ac_cpp='$CPP $CPPFLAGS'
40552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40561 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40563 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40564 for ac_func in _powl
40565 do :
40566 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40567 if test "x$ac_cv_func__powl" = xyes; then :
40568 cat >>confdefs.h <<_ACEOF
40569 #define HAVE__POWL 1
40570 _ACEOF
40573 done
40582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40583 $as_echo_n "checking for sqrtl declaration... " >&6; }
40584 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40585 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
40586 $as_echo_n "(cached) " >&6
40587 else
40590 ac_ext=cpp
40591 ac_cpp='$CXXCPP $CPPFLAGS'
40592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40597 /* end confdefs.h. */
40598 #include <math.h>
40599 #ifdef HAVE_IEEEFP_H
40600 #include <ieeefp.h>
40601 #endif
40604 main ()
40606 sqrtl(0);
40608 return 0;
40610 _ACEOF
40611 if ac_fn_cxx_try_compile "$LINENO"; then :
40612 glibcxx_cv_func_sqrtl_use=yes
40613 else
40614 glibcxx_cv_func_sqrtl_use=no
40616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40617 ac_ext=c
40618 ac_cpp='$CPP $CPPFLAGS'
40619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40628 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40630 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40631 for ac_func in sqrtl
40632 do :
40633 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40634 if test "x$ac_cv_func_sqrtl" = xyes; then :
40635 cat >>confdefs.h <<_ACEOF
40636 #define HAVE_SQRTL 1
40637 _ACEOF
40640 done
40642 else
40644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40645 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40646 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40647 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
40648 $as_echo_n "(cached) " >&6
40649 else
40652 ac_ext=cpp
40653 ac_cpp='$CXXCPP $CPPFLAGS'
40654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40659 /* end confdefs.h. */
40660 #include <math.h>
40661 #ifdef HAVE_IEEEFP_H
40662 #include <ieeefp.h>
40663 #endif
40666 main ()
40668 _sqrtl(0);
40670 return 0;
40672 _ACEOF
40673 if ac_fn_cxx_try_compile "$LINENO"; then :
40674 glibcxx_cv_func__sqrtl_use=yes
40675 else
40676 glibcxx_cv_func__sqrtl_use=no
40678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40679 ac_ext=c
40680 ac_cpp='$CPP $CPPFLAGS'
40681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40690 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40692 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40693 for ac_func in _sqrtl
40694 do :
40695 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40696 if test "x$ac_cv_func__sqrtl" = xyes; then :
40697 cat >>confdefs.h <<_ACEOF
40698 #define HAVE__SQRTL 1
40699 _ACEOF
40702 done
40711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40712 $as_echo_n "checking for sincosl declaration... " >&6; }
40713 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40714 if ${glibcxx_cv_func_sincosl_use+:} false; then :
40715 $as_echo_n "(cached) " >&6
40716 else
40719 ac_ext=cpp
40720 ac_cpp='$CXXCPP $CPPFLAGS'
40721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40726 /* end confdefs.h. */
40727 #include <math.h>
40729 main ()
40731 sincosl(0, 0, 0);
40733 return 0;
40735 _ACEOF
40736 if ac_fn_cxx_try_compile "$LINENO"; then :
40737 glibcxx_cv_func_sincosl_use=yes
40738 else
40739 glibcxx_cv_func_sincosl_use=no
40741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40742 ac_ext=c
40743 ac_cpp='$CPP $CPPFLAGS'
40744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40753 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40755 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40756 for ac_func in sincosl
40757 do :
40758 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40759 if test "x$ac_cv_func_sincosl" = xyes; then :
40760 cat >>confdefs.h <<_ACEOF
40761 #define HAVE_SINCOSL 1
40762 _ACEOF
40765 done
40767 else
40769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40770 $as_echo_n "checking for _sincosl declaration... " >&6; }
40771 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40772 if ${glibcxx_cv_func__sincosl_use+:} false; then :
40773 $as_echo_n "(cached) " >&6
40774 else
40777 ac_ext=cpp
40778 ac_cpp='$CXXCPP $CPPFLAGS'
40779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40784 /* end confdefs.h. */
40785 #include <math.h>
40787 main ()
40789 _sincosl(0, 0, 0);
40791 return 0;
40793 _ACEOF
40794 if ac_fn_cxx_try_compile "$LINENO"; then :
40795 glibcxx_cv_func__sincosl_use=yes
40796 else
40797 glibcxx_cv_func__sincosl_use=no
40799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40800 ac_ext=c
40801 ac_cpp='$CPP $CPPFLAGS'
40802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40811 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40813 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40814 for ac_func in _sincosl
40815 do :
40816 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40817 if test "x$ac_cv_func__sincosl" = xyes; then :
40818 cat >>confdefs.h <<_ACEOF
40819 #define HAVE__SINCOSL 1
40820 _ACEOF
40823 done
40832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40833 $as_echo_n "checking for finitel declaration... " >&6; }
40834 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40835 if ${glibcxx_cv_func_finitel_use+:} false; then :
40836 $as_echo_n "(cached) " >&6
40837 else
40840 ac_ext=cpp
40841 ac_cpp='$CXXCPP $CPPFLAGS'
40842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40847 /* end confdefs.h. */
40848 #include <math.h>
40849 #ifdef HAVE_IEEEFP_H
40850 #include <ieeefp.h>
40851 #endif
40854 main ()
40856 finitel(0);
40858 return 0;
40860 _ACEOF
40861 if ac_fn_cxx_try_compile "$LINENO"; then :
40862 glibcxx_cv_func_finitel_use=yes
40863 else
40864 glibcxx_cv_func_finitel_use=no
40866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40867 ac_ext=c
40868 ac_cpp='$CPP $CPPFLAGS'
40869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40878 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40880 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40881 for ac_func in finitel
40882 do :
40883 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40884 if test "x$ac_cv_func_finitel" = xyes; then :
40885 cat >>confdefs.h <<_ACEOF
40886 #define HAVE_FINITEL 1
40887 _ACEOF
40890 done
40892 else
40894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40895 $as_echo_n "checking for _finitel declaration... " >&6; }
40896 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40897 if ${glibcxx_cv_func__finitel_use+:} false; then :
40898 $as_echo_n "(cached) " >&6
40899 else
40902 ac_ext=cpp
40903 ac_cpp='$CXXCPP $CPPFLAGS'
40904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40909 /* end confdefs.h. */
40910 #include <math.h>
40911 #ifdef HAVE_IEEEFP_H
40912 #include <ieeefp.h>
40913 #endif
40916 main ()
40918 _finitel(0);
40920 return 0;
40922 _ACEOF
40923 if ac_fn_cxx_try_compile "$LINENO"; then :
40924 glibcxx_cv_func__finitel_use=yes
40925 else
40926 glibcxx_cv_func__finitel_use=no
40928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40929 ac_ext=c
40930 ac_cpp='$CPP $CPPFLAGS'
40931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
40940 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
40942 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40943 for ac_func in _finitel
40944 do :
40945 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
40946 if test "x$ac_cv_func__finitel" = xyes; then :
40947 cat >>confdefs.h <<_ACEOF
40948 #define HAVE__FINITEL 1
40949 _ACEOF
40952 done
40960 LIBS="$ac_save_LIBS"
40961 CXXFLAGS="$ac_save_CXXFLAGS"
40964 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40965 ac_save_CXXFLAGS="$CXXFLAGS"
40966 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
40970 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
40971 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
40972 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
40973 $as_echo_n "(cached) " >&6
40974 else
40977 ac_ext=cpp
40978 ac_cpp='$CXXCPP $CPPFLAGS'
40979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40984 /* end confdefs.h. */
40985 #include <stdlib.h>
40987 main ()
40989 at_quick_exit(0);
40991 return 0;
40993 _ACEOF
40994 if ac_fn_cxx_try_compile "$LINENO"; then :
40995 glibcxx_cv_func_at_quick_exit_use=yes
40996 else
40997 glibcxx_cv_func_at_quick_exit_use=no
40999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41000 ac_ext=c
41001 ac_cpp='$CPP $CPPFLAGS'
41002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
41011 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
41012 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
41013 for ac_func in at_quick_exit
41014 do :
41015 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
41016 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
41017 cat >>confdefs.h <<_ACEOF
41018 #define HAVE_AT_QUICK_EXIT 1
41019 _ACEOF
41022 done
41027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
41028 $as_echo_n "checking for quick_exit declaration... " >&6; }
41029 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
41030 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
41031 $as_echo_n "(cached) " >&6
41032 else
41035 ac_ext=cpp
41036 ac_cpp='$CXXCPP $CPPFLAGS'
41037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41042 /* end confdefs.h. */
41043 #include <stdlib.h>
41045 main ()
41047 quick_exit(0);
41049 return 0;
41051 _ACEOF
41052 if ac_fn_cxx_try_compile "$LINENO"; then :
41053 glibcxx_cv_func_quick_exit_use=yes
41054 else
41055 glibcxx_cv_func_quick_exit_use=no
41057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41058 ac_ext=c
41059 ac_cpp='$CPP $CPPFLAGS'
41060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
41069 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
41070 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
41071 for ac_func in quick_exit
41072 do :
41073 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
41074 if test "x$ac_cv_func_quick_exit" = xyes; then :
41075 cat >>confdefs.h <<_ACEOF
41076 #define HAVE_QUICK_EXIT 1
41077 _ACEOF
41080 done
41085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
41086 $as_echo_n "checking for strtold declaration... " >&6; }
41087 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
41088 if ${glibcxx_cv_func_strtold_use+:} false; then :
41089 $as_echo_n "(cached) " >&6
41090 else
41093 ac_ext=cpp
41094 ac_cpp='$CXXCPP $CPPFLAGS'
41095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41100 /* end confdefs.h. */
41101 #include <stdlib.h>
41103 main ()
41105 strtold(0, 0);
41107 return 0;
41109 _ACEOF
41110 if ac_fn_cxx_try_compile "$LINENO"; then :
41111 glibcxx_cv_func_strtold_use=yes
41112 else
41113 glibcxx_cv_func_strtold_use=no
41115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41116 ac_ext=c
41117 ac_cpp='$CPP $CPPFLAGS'
41118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
41127 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
41128 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
41129 for ac_func in strtold
41130 do :
41131 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
41132 if test "x$ac_cv_func_strtold" = xyes; then :
41133 cat >>confdefs.h <<_ACEOF
41134 #define HAVE_STRTOLD 1
41135 _ACEOF
41138 done
41145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
41146 $as_echo_n "checking for strtof declaration... " >&6; }
41147 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
41148 if ${glibcxx_cv_func_strtof_use+:} false; then :
41149 $as_echo_n "(cached) " >&6
41150 else
41153 ac_ext=cpp
41154 ac_cpp='$CXXCPP $CPPFLAGS'
41155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41160 /* end confdefs.h. */
41161 #include <stdlib.h>
41163 main ()
41165 strtof(0, 0);
41167 return 0;
41169 _ACEOF
41170 if ac_fn_cxx_try_compile "$LINENO"; then :
41171 glibcxx_cv_func_strtof_use=yes
41172 else
41173 glibcxx_cv_func_strtof_use=no
41175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41176 ac_ext=c
41177 ac_cpp='$CPP $CPPFLAGS'
41178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
41187 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
41188 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
41189 for ac_func in strtof
41190 do :
41191 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
41192 if test "x$ac_cv_func_strtof" = xyes; then :
41193 cat >>confdefs.h <<_ACEOF
41194 #define HAVE_STRTOF 1
41195 _ACEOF
41198 done
41205 CXXFLAGS="$ac_save_CXXFLAGS"
41207 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
41209 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
41211 # We don't yet support AIX's TLS ABI.
41212 #GCC_CHECK_TLS
41218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
41219 $as_echo_n "checking for iconv... " >&6; }
41220 if ${am_cv_func_iconv+:} false; then :
41221 $as_echo_n "(cached) " >&6
41222 else
41224 am_cv_func_iconv="no, consider installing GNU libiconv"
41225 am_cv_lib_iconv=no
41226 am_save_CPPFLAGS="$CPPFLAGS"
41227 CPPFLAGS="$CPPFLAGS $INCICONV"
41228 if test x$gcc_no_link = xyes; then
41229 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41232 /* end confdefs.h. */
41233 #include <stdlib.h>
41234 #include <iconv.h>
41236 main ()
41238 iconv_t cd = iconv_open("","");
41239 iconv(cd,NULL,NULL,NULL,NULL);
41240 iconv_close(cd);
41242 return 0;
41244 _ACEOF
41245 if ac_fn_c_try_link "$LINENO"; then :
41246 am_cv_func_iconv=yes
41248 rm -f core conftest.err conftest.$ac_objext \
41249 conftest$ac_exeext conftest.$ac_ext
41250 CPPFLAGS="$am_save_CPPFLAGS"
41252 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41253 for _libs in .libs _libs; do
41254 am_save_CPPFLAGS="$CPPFLAGS"
41255 am_save_LIBS="$LIBS"
41256 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41257 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41258 if test x$gcc_no_link = xyes; then
41259 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41262 /* end confdefs.h. */
41263 #include <stdlib.h>
41264 #include <iconv.h>
41266 main ()
41268 iconv_t cd = iconv_open("","");
41269 iconv(cd,NULL,NULL,NULL,NULL);
41270 iconv_close(cd);
41272 return 0;
41274 _ACEOF
41275 if ac_fn_c_try_link "$LINENO"; then :
41276 INCICONV="-I../libiconv/include"
41277 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41278 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41279 am_cv_lib_iconv=yes
41280 am_cv_func_iconv=yes
41282 rm -f core conftest.err conftest.$ac_objext \
41283 conftest$ac_exeext conftest.$ac_ext
41284 CPPFLAGS="$am_save_CPPFLAGS"
41285 LIBS="$am_save_LIBS"
41286 if test "$am_cv_func_iconv" = "yes"; then
41287 break
41289 done
41292 if test "$am_cv_func_iconv" != yes; then
41293 am_save_CPPFLAGS="$CPPFLAGS"
41294 am_save_LIBS="$LIBS"
41295 CPPFLAGS="$CPPFLAGS $INCICONV"
41296 LIBS="$LIBS $LIBICONV"
41297 if test x$gcc_no_link = xyes; then
41298 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41301 /* end confdefs.h. */
41302 #include <stdlib.h>
41303 #include <iconv.h>
41305 main ()
41307 iconv_t cd = iconv_open("","");
41308 iconv(cd,NULL,NULL,NULL,NULL);
41309 iconv_close(cd);
41311 return 0;
41313 _ACEOF
41314 if ac_fn_c_try_link "$LINENO"; then :
41315 am_cv_lib_iconv=yes
41316 am_cv_func_iconv=yes
41318 rm -f core conftest.err conftest.$ac_objext \
41319 conftest$ac_exeext conftest.$ac_ext
41320 CPPFLAGS="$am_save_CPPFLAGS"
41321 LIBS="$am_save_LIBS"
41325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41326 $as_echo "$am_cv_func_iconv" >&6; }
41327 if test "$am_cv_func_iconv" = yes; then
41329 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
41332 if test "$am_cv_lib_iconv" = yes; then
41334 for element in $INCICONV; do
41335 haveit=
41336 for x in $CPPFLAGS; do
41338 acl_save_prefix="$prefix"
41339 prefix="$acl_final_prefix"
41340 acl_save_exec_prefix="$exec_prefix"
41341 exec_prefix="$acl_final_exec_prefix"
41342 eval x=\"$x\"
41343 exec_prefix="$acl_save_exec_prefix"
41344 prefix="$acl_save_prefix"
41346 if test "X$x" = "X$element"; then
41347 haveit=yes
41348 break
41350 done
41351 if test -z "$haveit"; then
41352 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41354 done
41356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41357 $as_echo_n "checking how to link with libiconv... " >&6; }
41358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41359 $as_echo "$LIBICONV" >&6; }
41360 else
41361 LIBICONV=
41362 LTLIBICONV=
41367 if test "$am_cv_func_iconv" = yes; then
41368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41369 $as_echo_n "checking for iconv declaration... " >&6; }
41370 if ${am_cv_proto_iconv+:} false; then :
41371 $as_echo_n "(cached) " >&6
41372 else
41374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41375 /* end confdefs.h. */
41377 #include <stdlib.h>
41378 #include <iconv.h>
41379 extern
41380 #ifdef __cplusplus
41382 #endif
41383 #if defined(__STDC__) || defined(__cplusplus)
41384 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41385 #else
41386 size_t iconv();
41387 #endif
41390 main ()
41394 return 0;
41396 _ACEOF
41397 if ac_fn_c_try_compile "$LINENO"; then :
41398 am_cv_proto_iconv_arg1=""
41399 else
41400 am_cv_proto_iconv_arg1="const"
41402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41403 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);"
41406 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41408 }$am_cv_proto_iconv" >&5
41409 $as_echo "${ac_t:-
41410 }$am_cv_proto_iconv" >&6; }
41412 cat >>confdefs.h <<_ACEOF
41413 #define ICONV_CONST $am_cv_proto_iconv_arg1
41414 _ACEOF
41419 $as_echo "#define HAVE_USELOCALE 1" >>confdefs.h
41423 *-darwin*)
41424 # Darwin versions vary, but the linker should work in a cross environment,
41425 # so we just check for all the features here.
41426 # Check for available headers.
41428 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
41430 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41431 ac_save_CXXFLAGS="$CXXFLAGS"
41432 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41435 $as_echo_n "checking for sin in -lm... " >&6; }
41436 if ${ac_cv_lib_m_sin+:} false; then :
41437 $as_echo_n "(cached) " >&6
41438 else
41439 ac_check_lib_save_LIBS=$LIBS
41440 LIBS="-lm $LIBS"
41441 if test x$gcc_no_link = xyes; then
41442 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41445 /* end confdefs.h. */
41447 /* Override any GCC internal prototype to avoid an error.
41448 Use char because int might match the return type of a GCC
41449 builtin and then its argument prototype would still apply. */
41450 #ifdef __cplusplus
41451 extern "C"
41452 #endif
41453 char sin ();
41455 main ()
41457 return sin ();
41459 return 0;
41461 _ACEOF
41462 if ac_fn_c_try_link "$LINENO"; then :
41463 ac_cv_lib_m_sin=yes
41464 else
41465 ac_cv_lib_m_sin=no
41467 rm -f core conftest.err conftest.$ac_objext \
41468 conftest$ac_exeext conftest.$ac_ext
41469 LIBS=$ac_check_lib_save_LIBS
41471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41472 $as_echo "$ac_cv_lib_m_sin" >&6; }
41473 if test "x$ac_cv_lib_m_sin" = xyes; then :
41474 libm="-lm"
41477 ac_save_LIBS="$LIBS"
41478 LIBS="$LIBS $libm"
41482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41483 $as_echo_n "checking for isinf declaration... " >&6; }
41484 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41485 if ${glibcxx_cv_func_isinf_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>
41499 #ifdef HAVE_IEEEFP_H
41500 #include <ieeefp.h>
41501 #endif
41504 main ()
41506 isinf(0);
41508 return 0;
41510 _ACEOF
41511 if ac_fn_cxx_try_compile "$LINENO"; then :
41512 glibcxx_cv_func_isinf_use=yes
41513 else
41514 glibcxx_cv_func_isinf_use=no
41516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41517 ac_ext=c
41518 ac_cpp='$CPP $CPPFLAGS'
41519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41528 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41530 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41531 for ac_func in isinf
41532 do :
41533 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41534 if test "x$ac_cv_func_isinf" = xyes; then :
41535 cat >>confdefs.h <<_ACEOF
41536 #define HAVE_ISINF 1
41537 _ACEOF
41540 done
41542 else
41544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41545 $as_echo_n "checking for _isinf declaration... " >&6; }
41546 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41547 if ${glibcxx_cv_func__isinf_use+:} false; then :
41548 $as_echo_n "(cached) " >&6
41549 else
41552 ac_ext=cpp
41553 ac_cpp='$CXXCPP $CPPFLAGS'
41554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41559 /* end confdefs.h. */
41560 #include <math.h>
41561 #ifdef HAVE_IEEEFP_H
41562 #include <ieeefp.h>
41563 #endif
41566 main ()
41568 _isinf(0);
41570 return 0;
41572 _ACEOF
41573 if ac_fn_cxx_try_compile "$LINENO"; then :
41574 glibcxx_cv_func__isinf_use=yes
41575 else
41576 glibcxx_cv_func__isinf_use=no
41578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41579 ac_ext=c
41580 ac_cpp='$CPP $CPPFLAGS'
41581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41590 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41592 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41593 for ac_func in _isinf
41594 do :
41595 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41596 if test "x$ac_cv_func__isinf" = xyes; then :
41597 cat >>confdefs.h <<_ACEOF
41598 #define HAVE__ISINF 1
41599 _ACEOF
41602 done
41611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41612 $as_echo_n "checking for isnan declaration... " >&6; }
41613 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41614 if ${glibcxx_cv_func_isnan_use+:} false; then :
41615 $as_echo_n "(cached) " >&6
41616 else
41619 ac_ext=cpp
41620 ac_cpp='$CXXCPP $CPPFLAGS'
41621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41626 /* end confdefs.h. */
41627 #include <math.h>
41628 #ifdef HAVE_IEEEFP_H
41629 #include <ieeefp.h>
41630 #endif
41633 main ()
41635 isnan(0);
41637 return 0;
41639 _ACEOF
41640 if ac_fn_cxx_try_compile "$LINENO"; then :
41641 glibcxx_cv_func_isnan_use=yes
41642 else
41643 glibcxx_cv_func_isnan_use=no
41645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41646 ac_ext=c
41647 ac_cpp='$CPP $CPPFLAGS'
41648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41657 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41659 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41660 for ac_func in isnan
41661 do :
41662 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41663 if test "x$ac_cv_func_isnan" = xyes; then :
41664 cat >>confdefs.h <<_ACEOF
41665 #define HAVE_ISNAN 1
41666 _ACEOF
41669 done
41671 else
41673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41674 $as_echo_n "checking for _isnan declaration... " >&6; }
41675 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41676 if ${glibcxx_cv_func__isnan_use+:} false; then :
41677 $as_echo_n "(cached) " >&6
41678 else
41681 ac_ext=cpp
41682 ac_cpp='$CXXCPP $CPPFLAGS'
41683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41688 /* end confdefs.h. */
41689 #include <math.h>
41690 #ifdef HAVE_IEEEFP_H
41691 #include <ieeefp.h>
41692 #endif
41695 main ()
41697 _isnan(0);
41699 return 0;
41701 _ACEOF
41702 if ac_fn_cxx_try_compile "$LINENO"; then :
41703 glibcxx_cv_func__isnan_use=yes
41704 else
41705 glibcxx_cv_func__isnan_use=no
41707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41708 ac_ext=c
41709 ac_cpp='$CPP $CPPFLAGS'
41710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41719 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41721 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41722 for ac_func in _isnan
41723 do :
41724 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41725 if test "x$ac_cv_func__isnan" = xyes; then :
41726 cat >>confdefs.h <<_ACEOF
41727 #define HAVE__ISNAN 1
41728 _ACEOF
41731 done
41740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41741 $as_echo_n "checking for finite declaration... " >&6; }
41742 if test x${glibcxx_cv_func_finite_use+set} != xset; then
41743 if ${glibcxx_cv_func_finite_use+:} false; then :
41744 $as_echo_n "(cached) " >&6
41745 else
41748 ac_ext=cpp
41749 ac_cpp='$CXXCPP $CPPFLAGS'
41750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41755 /* end confdefs.h. */
41756 #include <math.h>
41757 #ifdef HAVE_IEEEFP_H
41758 #include <ieeefp.h>
41759 #endif
41762 main ()
41764 finite(0);
41766 return 0;
41768 _ACEOF
41769 if ac_fn_cxx_try_compile "$LINENO"; then :
41770 glibcxx_cv_func_finite_use=yes
41771 else
41772 glibcxx_cv_func_finite_use=no
41774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41775 ac_ext=c
41776 ac_cpp='$CPP $CPPFLAGS'
41777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41786 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
41788 if test x$glibcxx_cv_func_finite_use = x"yes"; then
41789 for ac_func in finite
41790 do :
41791 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41792 if test "x$ac_cv_func_finite" = xyes; then :
41793 cat >>confdefs.h <<_ACEOF
41794 #define HAVE_FINITE 1
41795 _ACEOF
41798 done
41800 else
41802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41803 $as_echo_n "checking for _finite declaration... " >&6; }
41804 if test x${glibcxx_cv_func__finite_use+set} != xset; then
41805 if ${glibcxx_cv_func__finite_use+:} false; then :
41806 $as_echo_n "(cached) " >&6
41807 else
41810 ac_ext=cpp
41811 ac_cpp='$CXXCPP $CPPFLAGS'
41812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41817 /* end confdefs.h. */
41818 #include <math.h>
41819 #ifdef HAVE_IEEEFP_H
41820 #include <ieeefp.h>
41821 #endif
41824 main ()
41826 _finite(0);
41828 return 0;
41830 _ACEOF
41831 if ac_fn_cxx_try_compile "$LINENO"; then :
41832 glibcxx_cv_func__finite_use=yes
41833 else
41834 glibcxx_cv_func__finite_use=no
41836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41837 ac_ext=c
41838 ac_cpp='$CPP $CPPFLAGS'
41839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
41848 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
41850 if test x$glibcxx_cv_func__finite_use = x"yes"; then
41851 for ac_func in _finite
41852 do :
41853 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
41854 if test "x$ac_cv_func__finite" = xyes; then :
41855 cat >>confdefs.h <<_ACEOF
41856 #define HAVE__FINITE 1
41857 _ACEOF
41860 done
41869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
41870 $as_echo_n "checking for sincos declaration... " >&6; }
41871 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
41872 if ${glibcxx_cv_func_sincos_use+:} false; then :
41873 $as_echo_n "(cached) " >&6
41874 else
41877 ac_ext=cpp
41878 ac_cpp='$CXXCPP $CPPFLAGS'
41879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41884 /* end confdefs.h. */
41885 #include <math.h>
41887 main ()
41889 sincos(0, 0, 0);
41891 return 0;
41893 _ACEOF
41894 if ac_fn_cxx_try_compile "$LINENO"; then :
41895 glibcxx_cv_func_sincos_use=yes
41896 else
41897 glibcxx_cv_func_sincos_use=no
41899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41900 ac_ext=c
41901 ac_cpp='$CPP $CPPFLAGS'
41902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
41911 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
41913 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
41914 for ac_func in sincos
41915 do :
41916 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
41917 if test "x$ac_cv_func_sincos" = xyes; then :
41918 cat >>confdefs.h <<_ACEOF
41919 #define HAVE_SINCOS 1
41920 _ACEOF
41923 done
41925 else
41927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
41928 $as_echo_n "checking for _sincos declaration... " >&6; }
41929 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
41930 if ${glibcxx_cv_func__sincos_use+:} false; then :
41931 $as_echo_n "(cached) " >&6
41932 else
41935 ac_ext=cpp
41936 ac_cpp='$CXXCPP $CPPFLAGS'
41937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41942 /* end confdefs.h. */
41943 #include <math.h>
41945 main ()
41947 _sincos(0, 0, 0);
41949 return 0;
41951 _ACEOF
41952 if ac_fn_cxx_try_compile "$LINENO"; then :
41953 glibcxx_cv_func__sincos_use=yes
41954 else
41955 glibcxx_cv_func__sincos_use=no
41957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41958 ac_ext=c
41959 ac_cpp='$CPP $CPPFLAGS'
41960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
41969 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
41971 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
41972 for ac_func in _sincos
41973 do :
41974 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
41975 if test "x$ac_cv_func__sincos" = xyes; then :
41976 cat >>confdefs.h <<_ACEOF
41977 #define HAVE__SINCOS 1
41978 _ACEOF
41981 done
41990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
41991 $as_echo_n "checking for fpclass declaration... " >&6; }
41992 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
41993 if ${glibcxx_cv_func_fpclass_use+:} false; then :
41994 $as_echo_n "(cached) " >&6
41995 else
41998 ac_ext=cpp
41999 ac_cpp='$CXXCPP $CPPFLAGS'
42000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42005 /* end confdefs.h. */
42006 #include <math.h>
42007 #ifdef HAVE_IEEEFP_H
42008 #include <ieeefp.h>
42009 #endif
42012 main ()
42014 fpclass(0);
42016 return 0;
42018 _ACEOF
42019 if ac_fn_cxx_try_compile "$LINENO"; then :
42020 glibcxx_cv_func_fpclass_use=yes
42021 else
42022 glibcxx_cv_func_fpclass_use=no
42024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42025 ac_ext=c
42026 ac_cpp='$CPP $CPPFLAGS'
42027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
42036 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
42038 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
42039 for ac_func in fpclass
42040 do :
42041 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
42042 if test "x$ac_cv_func_fpclass" = xyes; then :
42043 cat >>confdefs.h <<_ACEOF
42044 #define HAVE_FPCLASS 1
42045 _ACEOF
42048 done
42050 else
42052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
42053 $as_echo_n "checking for _fpclass declaration... " >&6; }
42054 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
42055 if ${glibcxx_cv_func__fpclass_use+:} false; then :
42056 $as_echo_n "(cached) " >&6
42057 else
42060 ac_ext=cpp
42061 ac_cpp='$CXXCPP $CPPFLAGS'
42062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42067 /* end confdefs.h. */
42068 #include <math.h>
42069 #ifdef HAVE_IEEEFP_H
42070 #include <ieeefp.h>
42071 #endif
42074 main ()
42076 _fpclass(0);
42078 return 0;
42080 _ACEOF
42081 if ac_fn_cxx_try_compile "$LINENO"; then :
42082 glibcxx_cv_func__fpclass_use=yes
42083 else
42084 glibcxx_cv_func__fpclass_use=no
42086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42087 ac_ext=c
42088 ac_cpp='$CPP $CPPFLAGS'
42089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
42098 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
42100 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
42101 for ac_func in _fpclass
42102 do :
42103 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
42104 if test "x$ac_cv_func__fpclass" = xyes; then :
42105 cat >>confdefs.h <<_ACEOF
42106 #define HAVE__FPCLASS 1
42107 _ACEOF
42110 done
42119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42120 $as_echo_n "checking for qfpclass declaration... " >&6; }
42121 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42122 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
42123 $as_echo_n "(cached) " >&6
42124 else
42127 ac_ext=cpp
42128 ac_cpp='$CXXCPP $CPPFLAGS'
42129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42134 /* end confdefs.h. */
42135 #include <math.h>
42136 #ifdef HAVE_IEEEFP_H
42137 #include <ieeefp.h>
42138 #endif
42141 main ()
42143 qfpclass(0);
42145 return 0;
42147 _ACEOF
42148 if ac_fn_cxx_try_compile "$LINENO"; then :
42149 glibcxx_cv_func_qfpclass_use=yes
42150 else
42151 glibcxx_cv_func_qfpclass_use=no
42153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42154 ac_ext=c
42155 ac_cpp='$CPP $CPPFLAGS'
42156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42165 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42167 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42168 for ac_func in qfpclass
42169 do :
42170 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42171 if test "x$ac_cv_func_qfpclass" = xyes; then :
42172 cat >>confdefs.h <<_ACEOF
42173 #define HAVE_QFPCLASS 1
42174 _ACEOF
42177 done
42179 else
42181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42182 $as_echo_n "checking for _qfpclass declaration... " >&6; }
42183 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42184 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
42185 $as_echo_n "(cached) " >&6
42186 else
42189 ac_ext=cpp
42190 ac_cpp='$CXXCPP $CPPFLAGS'
42191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42196 /* end confdefs.h. */
42197 #include <math.h>
42198 #ifdef HAVE_IEEEFP_H
42199 #include <ieeefp.h>
42200 #endif
42203 main ()
42205 _qfpclass(0);
42207 return 0;
42209 _ACEOF
42210 if ac_fn_cxx_try_compile "$LINENO"; then :
42211 glibcxx_cv_func__qfpclass_use=yes
42212 else
42213 glibcxx_cv_func__qfpclass_use=no
42215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42216 ac_ext=c
42217 ac_cpp='$CPP $CPPFLAGS'
42218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42227 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42229 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42230 for ac_func in _qfpclass
42231 do :
42232 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42233 if test "x$ac_cv_func__qfpclass" = xyes; then :
42234 cat >>confdefs.h <<_ACEOF
42235 #define HAVE__QFPCLASS 1
42236 _ACEOF
42239 done
42248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42249 $as_echo_n "checking for hypot declaration... " >&6; }
42250 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42251 if ${glibcxx_cv_func_hypot_use+:} false; then :
42252 $as_echo_n "(cached) " >&6
42253 else
42256 ac_ext=cpp
42257 ac_cpp='$CXXCPP $CPPFLAGS'
42258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42263 /* end confdefs.h. */
42264 #include <math.h>
42266 main ()
42268 hypot(0, 0);
42270 return 0;
42272 _ACEOF
42273 if ac_fn_cxx_try_compile "$LINENO"; then :
42274 glibcxx_cv_func_hypot_use=yes
42275 else
42276 glibcxx_cv_func_hypot_use=no
42278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42279 ac_ext=c
42280 ac_cpp='$CPP $CPPFLAGS'
42281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42290 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42292 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42293 for ac_func in hypot
42294 do :
42295 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42296 if test "x$ac_cv_func_hypot" = xyes; then :
42297 cat >>confdefs.h <<_ACEOF
42298 #define HAVE_HYPOT 1
42299 _ACEOF
42302 done
42304 else
42306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42307 $as_echo_n "checking for _hypot declaration... " >&6; }
42308 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42309 if ${glibcxx_cv_func__hypot_use+:} false; then :
42310 $as_echo_n "(cached) " >&6
42311 else
42314 ac_ext=cpp
42315 ac_cpp='$CXXCPP $CPPFLAGS'
42316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42321 /* end confdefs.h. */
42322 #include <math.h>
42324 main ()
42326 _hypot(0, 0);
42328 return 0;
42330 _ACEOF
42331 if ac_fn_cxx_try_compile "$LINENO"; then :
42332 glibcxx_cv_func__hypot_use=yes
42333 else
42334 glibcxx_cv_func__hypot_use=no
42336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42337 ac_ext=c
42338 ac_cpp='$CPP $CPPFLAGS'
42339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42348 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42350 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42351 for ac_func in _hypot
42352 do :
42353 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42354 if test "x$ac_cv_func__hypot" = xyes; then :
42355 cat >>confdefs.h <<_ACEOF
42356 #define HAVE__HYPOT 1
42357 _ACEOF
42360 done
42369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42370 $as_echo_n "checking for float trig functions... " >&6; }
42371 if ${glibcxx_cv_func_float_trig_use+:} false; then :
42372 $as_echo_n "(cached) " >&6
42373 else
42376 ac_ext=cpp
42377 ac_cpp='$CXXCPP $CPPFLAGS'
42378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42383 /* end confdefs.h. */
42384 #include <math.h>
42386 main ()
42388 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42390 return 0;
42392 _ACEOF
42393 if ac_fn_cxx_try_compile "$LINENO"; then :
42394 glibcxx_cv_func_float_trig_use=yes
42395 else
42396 glibcxx_cv_func_float_trig_use=no
42398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42399 ac_ext=c
42400 ac_cpp='$CPP $CPPFLAGS'
42401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42408 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42409 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42410 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42411 do :
42412 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42413 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42414 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42415 cat >>confdefs.h <<_ACEOF
42416 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42417 _ACEOF
42420 done
42422 else
42423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42424 $as_echo_n "checking for _float trig functions... " >&6; }
42425 if ${glibcxx_cv_func__float_trig_use+:} false; then :
42426 $as_echo_n "(cached) " >&6
42427 else
42430 ac_ext=cpp
42431 ac_cpp='$CXXCPP $CPPFLAGS'
42432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42437 /* end confdefs.h. */
42438 #include <math.h>
42440 main ()
42442 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42444 return 0;
42446 _ACEOF
42447 if ac_fn_cxx_try_compile "$LINENO"; then :
42448 glibcxx_cv_func__float_trig_use=yes
42449 else
42450 glibcxx_cv_func__float_trig_use=no
42452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42453 ac_ext=c
42454 ac_cpp='$CPP $CPPFLAGS'
42455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42462 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42463 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42464 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42465 do :
42466 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42467 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42468 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42469 cat >>confdefs.h <<_ACEOF
42470 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42471 _ACEOF
42474 done
42483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42484 $as_echo_n "checking for float round functions... " >&6; }
42485 if ${glibcxx_cv_func_float_round_use+:} false; then :
42486 $as_echo_n "(cached) " >&6
42487 else
42490 ac_ext=cpp
42491 ac_cpp='$CXXCPP $CPPFLAGS'
42492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42497 /* end confdefs.h. */
42498 #include <math.h>
42500 main ()
42502 ceilf (0); floorf (0);
42504 return 0;
42506 _ACEOF
42507 if ac_fn_cxx_try_compile "$LINENO"; then :
42508 glibcxx_cv_func_float_round_use=yes
42509 else
42510 glibcxx_cv_func_float_round_use=no
42512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42513 ac_ext=c
42514 ac_cpp='$CPP $CPPFLAGS'
42515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42522 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42523 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42524 for ac_func in ceilf floorf
42525 do :
42526 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42527 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42528 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42529 cat >>confdefs.h <<_ACEOF
42530 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42531 _ACEOF
42534 done
42536 else
42537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42538 $as_echo_n "checking for _float round functions... " >&6; }
42539 if ${glibcxx_cv_func__float_round_use+:} false; then :
42540 $as_echo_n "(cached) " >&6
42541 else
42544 ac_ext=cpp
42545 ac_cpp='$CXXCPP $CPPFLAGS'
42546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42551 /* end confdefs.h. */
42552 #include <math.h>
42554 main ()
42556 _ceilf (0); _floorf (0);
42558 return 0;
42560 _ACEOF
42561 if ac_fn_cxx_try_compile "$LINENO"; then :
42562 glibcxx_cv_func__float_round_use=yes
42563 else
42564 glibcxx_cv_func__float_round_use=no
42566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42567 ac_ext=c
42568 ac_cpp='$CPP $CPPFLAGS'
42569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42576 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42577 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42578 for ac_func in _ceilf _floorf
42579 do :
42580 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42581 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42582 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42583 cat >>confdefs.h <<_ACEOF
42584 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42585 _ACEOF
42588 done
42598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42599 $as_echo_n "checking for expf declaration... " >&6; }
42600 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42601 if ${glibcxx_cv_func_expf_use+:} false; then :
42602 $as_echo_n "(cached) " >&6
42603 else
42606 ac_ext=cpp
42607 ac_cpp='$CXXCPP $CPPFLAGS'
42608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42613 /* end confdefs.h. */
42614 #include <math.h>
42615 #ifdef HAVE_IEEEFP_H
42616 #include <ieeefp.h>
42617 #endif
42620 main ()
42622 expf(0);
42624 return 0;
42626 _ACEOF
42627 if ac_fn_cxx_try_compile "$LINENO"; then :
42628 glibcxx_cv_func_expf_use=yes
42629 else
42630 glibcxx_cv_func_expf_use=no
42632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42633 ac_ext=c
42634 ac_cpp='$CPP $CPPFLAGS'
42635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42644 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42646 if test x$glibcxx_cv_func_expf_use = x"yes"; then
42647 for ac_func in expf
42648 do :
42649 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42650 if test "x$ac_cv_func_expf" = xyes; then :
42651 cat >>confdefs.h <<_ACEOF
42652 #define HAVE_EXPF 1
42653 _ACEOF
42656 done
42658 else
42660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42661 $as_echo_n "checking for _expf declaration... " >&6; }
42662 if test x${glibcxx_cv_func__expf_use+set} != xset; then
42663 if ${glibcxx_cv_func__expf_use+:} false; then :
42664 $as_echo_n "(cached) " >&6
42665 else
42668 ac_ext=cpp
42669 ac_cpp='$CXXCPP $CPPFLAGS'
42670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42675 /* end confdefs.h. */
42676 #include <math.h>
42677 #ifdef HAVE_IEEEFP_H
42678 #include <ieeefp.h>
42679 #endif
42682 main ()
42684 _expf(0);
42686 return 0;
42688 _ACEOF
42689 if ac_fn_cxx_try_compile "$LINENO"; then :
42690 glibcxx_cv_func__expf_use=yes
42691 else
42692 glibcxx_cv_func__expf_use=no
42694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42695 ac_ext=c
42696 ac_cpp='$CPP $CPPFLAGS'
42697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42706 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42708 if test x$glibcxx_cv_func__expf_use = x"yes"; then
42709 for ac_func in _expf
42710 do :
42711 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42712 if test "x$ac_cv_func__expf" = xyes; then :
42713 cat >>confdefs.h <<_ACEOF
42714 #define HAVE__EXPF 1
42715 _ACEOF
42718 done
42727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42728 $as_echo_n "checking for isnanf declaration... " >&6; }
42729 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42730 if ${glibcxx_cv_func_isnanf_use+:} false; then :
42731 $as_echo_n "(cached) " >&6
42732 else
42735 ac_ext=cpp
42736 ac_cpp='$CXXCPP $CPPFLAGS'
42737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42742 /* end confdefs.h. */
42743 #include <math.h>
42744 #ifdef HAVE_IEEEFP_H
42745 #include <ieeefp.h>
42746 #endif
42749 main ()
42751 isnanf(0);
42753 return 0;
42755 _ACEOF
42756 if ac_fn_cxx_try_compile "$LINENO"; then :
42757 glibcxx_cv_func_isnanf_use=yes
42758 else
42759 glibcxx_cv_func_isnanf_use=no
42761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42762 ac_ext=c
42763 ac_cpp='$CPP $CPPFLAGS'
42764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42773 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42775 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42776 for ac_func in isnanf
42777 do :
42778 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42779 if test "x$ac_cv_func_isnanf" = xyes; then :
42780 cat >>confdefs.h <<_ACEOF
42781 #define HAVE_ISNANF 1
42782 _ACEOF
42785 done
42787 else
42789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42790 $as_echo_n "checking for _isnanf declaration... " >&6; }
42791 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42792 if ${glibcxx_cv_func__isnanf_use+:} false; then :
42793 $as_echo_n "(cached) " >&6
42794 else
42797 ac_ext=cpp
42798 ac_cpp='$CXXCPP $CPPFLAGS'
42799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42804 /* end confdefs.h. */
42805 #include <math.h>
42806 #ifdef HAVE_IEEEFP_H
42807 #include <ieeefp.h>
42808 #endif
42811 main ()
42813 _isnanf(0);
42815 return 0;
42817 _ACEOF
42818 if ac_fn_cxx_try_compile "$LINENO"; then :
42819 glibcxx_cv_func__isnanf_use=yes
42820 else
42821 glibcxx_cv_func__isnanf_use=no
42823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42824 ac_ext=c
42825 ac_cpp='$CPP $CPPFLAGS'
42826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42835 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42837 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
42838 for ac_func in _isnanf
42839 do :
42840 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
42841 if test "x$ac_cv_func__isnanf" = xyes; then :
42842 cat >>confdefs.h <<_ACEOF
42843 #define HAVE__ISNANF 1
42844 _ACEOF
42847 done
42856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
42857 $as_echo_n "checking for isinff declaration... " >&6; }
42858 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
42859 if ${glibcxx_cv_func_isinff_use+:} false; then :
42860 $as_echo_n "(cached) " >&6
42861 else
42864 ac_ext=cpp
42865 ac_cpp='$CXXCPP $CPPFLAGS'
42866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42871 /* end confdefs.h. */
42872 #include <math.h>
42873 #ifdef HAVE_IEEEFP_H
42874 #include <ieeefp.h>
42875 #endif
42878 main ()
42880 isinff(0);
42882 return 0;
42884 _ACEOF
42885 if ac_fn_cxx_try_compile "$LINENO"; then :
42886 glibcxx_cv_func_isinff_use=yes
42887 else
42888 glibcxx_cv_func_isinff_use=no
42890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42891 ac_ext=c
42892 ac_cpp='$CPP $CPPFLAGS'
42893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
42902 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
42904 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
42905 for ac_func in isinff
42906 do :
42907 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
42908 if test "x$ac_cv_func_isinff" = xyes; then :
42909 cat >>confdefs.h <<_ACEOF
42910 #define HAVE_ISINFF 1
42911 _ACEOF
42914 done
42916 else
42918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
42919 $as_echo_n "checking for _isinff declaration... " >&6; }
42920 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
42921 if ${glibcxx_cv_func__isinff_use+:} false; then :
42922 $as_echo_n "(cached) " >&6
42923 else
42926 ac_ext=cpp
42927 ac_cpp='$CXXCPP $CPPFLAGS'
42928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42933 /* end confdefs.h. */
42934 #include <math.h>
42935 #ifdef HAVE_IEEEFP_H
42936 #include <ieeefp.h>
42937 #endif
42940 main ()
42942 _isinff(0);
42944 return 0;
42946 _ACEOF
42947 if ac_fn_cxx_try_compile "$LINENO"; then :
42948 glibcxx_cv_func__isinff_use=yes
42949 else
42950 glibcxx_cv_func__isinff_use=no
42952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42953 ac_ext=c
42954 ac_cpp='$CPP $CPPFLAGS'
42955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
42964 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
42966 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
42967 for ac_func in _isinff
42968 do :
42969 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
42970 if test "x$ac_cv_func__isinff" = xyes; then :
42971 cat >>confdefs.h <<_ACEOF
42972 #define HAVE__ISINFF 1
42973 _ACEOF
42976 done
42985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
42986 $as_echo_n "checking for atan2f declaration... " >&6; }
42987 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
42988 if ${glibcxx_cv_func_atan2f_use+:} false; then :
42989 $as_echo_n "(cached) " >&6
42990 else
42993 ac_ext=cpp
42994 ac_cpp='$CXXCPP $CPPFLAGS'
42995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43000 /* end confdefs.h. */
43001 #include <math.h>
43003 main ()
43005 atan2f(0, 0);
43007 return 0;
43009 _ACEOF
43010 if ac_fn_cxx_try_compile "$LINENO"; then :
43011 glibcxx_cv_func_atan2f_use=yes
43012 else
43013 glibcxx_cv_func_atan2f_use=no
43015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43016 ac_ext=c
43017 ac_cpp='$CPP $CPPFLAGS'
43018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
43027 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
43029 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
43030 for ac_func in atan2f
43031 do :
43032 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
43033 if test "x$ac_cv_func_atan2f" = xyes; then :
43034 cat >>confdefs.h <<_ACEOF
43035 #define HAVE_ATAN2F 1
43036 _ACEOF
43039 done
43041 else
43043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
43044 $as_echo_n "checking for _atan2f declaration... " >&6; }
43045 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
43046 if ${glibcxx_cv_func__atan2f_use+:} false; then :
43047 $as_echo_n "(cached) " >&6
43048 else
43051 ac_ext=cpp
43052 ac_cpp='$CXXCPP $CPPFLAGS'
43053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43058 /* end confdefs.h. */
43059 #include <math.h>
43061 main ()
43063 _atan2f(0, 0);
43065 return 0;
43067 _ACEOF
43068 if ac_fn_cxx_try_compile "$LINENO"; then :
43069 glibcxx_cv_func__atan2f_use=yes
43070 else
43071 glibcxx_cv_func__atan2f_use=no
43073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43074 ac_ext=c
43075 ac_cpp='$CPP $CPPFLAGS'
43076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
43085 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
43087 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
43088 for ac_func in _atan2f
43089 do :
43090 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
43091 if test "x$ac_cv_func__atan2f" = xyes; then :
43092 cat >>confdefs.h <<_ACEOF
43093 #define HAVE__ATAN2F 1
43094 _ACEOF
43097 done
43106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43107 $as_echo_n "checking for fabsf declaration... " >&6; }
43108 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43109 if ${glibcxx_cv_func_fabsf_use+:} false; then :
43110 $as_echo_n "(cached) " >&6
43111 else
43114 ac_ext=cpp
43115 ac_cpp='$CXXCPP $CPPFLAGS'
43116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43121 /* end confdefs.h. */
43122 #include <math.h>
43123 #ifdef HAVE_IEEEFP_H
43124 #include <ieeefp.h>
43125 #endif
43128 main ()
43130 fabsf(0);
43132 return 0;
43134 _ACEOF
43135 if ac_fn_cxx_try_compile "$LINENO"; then :
43136 glibcxx_cv_func_fabsf_use=yes
43137 else
43138 glibcxx_cv_func_fabsf_use=no
43140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43141 ac_ext=c
43142 ac_cpp='$CPP $CPPFLAGS'
43143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43152 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43154 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43155 for ac_func in fabsf
43156 do :
43157 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43158 if test "x$ac_cv_func_fabsf" = xyes; then :
43159 cat >>confdefs.h <<_ACEOF
43160 #define HAVE_FABSF 1
43161 _ACEOF
43164 done
43166 else
43168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43169 $as_echo_n "checking for _fabsf declaration... " >&6; }
43170 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43171 if ${glibcxx_cv_func__fabsf_use+:} false; then :
43172 $as_echo_n "(cached) " >&6
43173 else
43176 ac_ext=cpp
43177 ac_cpp='$CXXCPP $CPPFLAGS'
43178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43183 /* end confdefs.h. */
43184 #include <math.h>
43185 #ifdef HAVE_IEEEFP_H
43186 #include <ieeefp.h>
43187 #endif
43190 main ()
43192 _fabsf(0);
43194 return 0;
43196 _ACEOF
43197 if ac_fn_cxx_try_compile "$LINENO"; then :
43198 glibcxx_cv_func__fabsf_use=yes
43199 else
43200 glibcxx_cv_func__fabsf_use=no
43202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43203 ac_ext=c
43204 ac_cpp='$CPP $CPPFLAGS'
43205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43214 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43216 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43217 for ac_func in _fabsf
43218 do :
43219 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43220 if test "x$ac_cv_func__fabsf" = xyes; then :
43221 cat >>confdefs.h <<_ACEOF
43222 #define HAVE__FABSF 1
43223 _ACEOF
43226 done
43235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43236 $as_echo_n "checking for fmodf declaration... " >&6; }
43237 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43238 if ${glibcxx_cv_func_fmodf_use+:} false; then :
43239 $as_echo_n "(cached) " >&6
43240 else
43243 ac_ext=cpp
43244 ac_cpp='$CXXCPP $CPPFLAGS'
43245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43250 /* end confdefs.h. */
43251 #include <math.h>
43253 main ()
43255 fmodf(0, 0);
43257 return 0;
43259 _ACEOF
43260 if ac_fn_cxx_try_compile "$LINENO"; then :
43261 glibcxx_cv_func_fmodf_use=yes
43262 else
43263 glibcxx_cv_func_fmodf_use=no
43265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43266 ac_ext=c
43267 ac_cpp='$CPP $CPPFLAGS'
43268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43277 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43279 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43280 for ac_func in fmodf
43281 do :
43282 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43283 if test "x$ac_cv_func_fmodf" = xyes; then :
43284 cat >>confdefs.h <<_ACEOF
43285 #define HAVE_FMODF 1
43286 _ACEOF
43289 done
43291 else
43293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43294 $as_echo_n "checking for _fmodf declaration... " >&6; }
43295 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43296 if ${glibcxx_cv_func__fmodf_use+:} false; then :
43297 $as_echo_n "(cached) " >&6
43298 else
43301 ac_ext=cpp
43302 ac_cpp='$CXXCPP $CPPFLAGS'
43303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43308 /* end confdefs.h. */
43309 #include <math.h>
43311 main ()
43313 _fmodf(0, 0);
43315 return 0;
43317 _ACEOF
43318 if ac_fn_cxx_try_compile "$LINENO"; then :
43319 glibcxx_cv_func__fmodf_use=yes
43320 else
43321 glibcxx_cv_func__fmodf_use=no
43323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43324 ac_ext=c
43325 ac_cpp='$CPP $CPPFLAGS'
43326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43335 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43337 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43338 for ac_func in _fmodf
43339 do :
43340 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43341 if test "x$ac_cv_func__fmodf" = xyes; then :
43342 cat >>confdefs.h <<_ACEOF
43343 #define HAVE__FMODF 1
43344 _ACEOF
43347 done
43356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43357 $as_echo_n "checking for frexpf declaration... " >&6; }
43358 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43359 if ${glibcxx_cv_func_frexpf_use+:} false; then :
43360 $as_echo_n "(cached) " >&6
43361 else
43364 ac_ext=cpp
43365 ac_cpp='$CXXCPP $CPPFLAGS'
43366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43371 /* end confdefs.h. */
43372 #include <math.h>
43374 main ()
43376 frexpf(0, 0);
43378 return 0;
43380 _ACEOF
43381 if ac_fn_cxx_try_compile "$LINENO"; then :
43382 glibcxx_cv_func_frexpf_use=yes
43383 else
43384 glibcxx_cv_func_frexpf_use=no
43386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43387 ac_ext=c
43388 ac_cpp='$CPP $CPPFLAGS'
43389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43398 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43400 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43401 for ac_func in frexpf
43402 do :
43403 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43404 if test "x$ac_cv_func_frexpf" = xyes; then :
43405 cat >>confdefs.h <<_ACEOF
43406 #define HAVE_FREXPF 1
43407 _ACEOF
43410 done
43412 else
43414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43415 $as_echo_n "checking for _frexpf declaration... " >&6; }
43416 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43417 if ${glibcxx_cv_func__frexpf_use+:} false; then :
43418 $as_echo_n "(cached) " >&6
43419 else
43422 ac_ext=cpp
43423 ac_cpp='$CXXCPP $CPPFLAGS'
43424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43429 /* end confdefs.h. */
43430 #include <math.h>
43432 main ()
43434 _frexpf(0, 0);
43436 return 0;
43438 _ACEOF
43439 if ac_fn_cxx_try_compile "$LINENO"; then :
43440 glibcxx_cv_func__frexpf_use=yes
43441 else
43442 glibcxx_cv_func__frexpf_use=no
43444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43445 ac_ext=c
43446 ac_cpp='$CPP $CPPFLAGS'
43447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43456 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43458 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43459 for ac_func in _frexpf
43460 do :
43461 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43462 if test "x$ac_cv_func__frexpf" = xyes; then :
43463 cat >>confdefs.h <<_ACEOF
43464 #define HAVE__FREXPF 1
43465 _ACEOF
43468 done
43477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43478 $as_echo_n "checking for hypotf declaration... " >&6; }
43479 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43480 if ${glibcxx_cv_func_hypotf_use+:} false; then :
43481 $as_echo_n "(cached) " >&6
43482 else
43485 ac_ext=cpp
43486 ac_cpp='$CXXCPP $CPPFLAGS'
43487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43492 /* end confdefs.h. */
43493 #include <math.h>
43495 main ()
43497 hypotf(0, 0);
43499 return 0;
43501 _ACEOF
43502 if ac_fn_cxx_try_compile "$LINENO"; then :
43503 glibcxx_cv_func_hypotf_use=yes
43504 else
43505 glibcxx_cv_func_hypotf_use=no
43507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43508 ac_ext=c
43509 ac_cpp='$CPP $CPPFLAGS'
43510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43519 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43521 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43522 for ac_func in hypotf
43523 do :
43524 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43525 if test "x$ac_cv_func_hypotf" = xyes; then :
43526 cat >>confdefs.h <<_ACEOF
43527 #define HAVE_HYPOTF 1
43528 _ACEOF
43531 done
43533 else
43535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43536 $as_echo_n "checking for _hypotf declaration... " >&6; }
43537 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43538 if ${glibcxx_cv_func__hypotf_use+:} false; then :
43539 $as_echo_n "(cached) " >&6
43540 else
43543 ac_ext=cpp
43544 ac_cpp='$CXXCPP $CPPFLAGS'
43545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43550 /* end confdefs.h. */
43551 #include <math.h>
43553 main ()
43555 _hypotf(0, 0);
43557 return 0;
43559 _ACEOF
43560 if ac_fn_cxx_try_compile "$LINENO"; then :
43561 glibcxx_cv_func__hypotf_use=yes
43562 else
43563 glibcxx_cv_func__hypotf_use=no
43565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43566 ac_ext=c
43567 ac_cpp='$CPP $CPPFLAGS'
43568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43577 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43579 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43580 for ac_func in _hypotf
43581 do :
43582 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43583 if test "x$ac_cv_func__hypotf" = xyes; then :
43584 cat >>confdefs.h <<_ACEOF
43585 #define HAVE__HYPOTF 1
43586 _ACEOF
43589 done
43598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43599 $as_echo_n "checking for ldexpf declaration... " >&6; }
43600 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43601 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
43602 $as_echo_n "(cached) " >&6
43603 else
43606 ac_ext=cpp
43607 ac_cpp='$CXXCPP $CPPFLAGS'
43608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43613 /* end confdefs.h. */
43614 #include <math.h>
43616 main ()
43618 ldexpf(0, 0);
43620 return 0;
43622 _ACEOF
43623 if ac_fn_cxx_try_compile "$LINENO"; then :
43624 glibcxx_cv_func_ldexpf_use=yes
43625 else
43626 glibcxx_cv_func_ldexpf_use=no
43628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43629 ac_ext=c
43630 ac_cpp='$CPP $CPPFLAGS'
43631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43640 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43642 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43643 for ac_func in ldexpf
43644 do :
43645 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43646 if test "x$ac_cv_func_ldexpf" = xyes; then :
43647 cat >>confdefs.h <<_ACEOF
43648 #define HAVE_LDEXPF 1
43649 _ACEOF
43652 done
43654 else
43656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43657 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43658 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43659 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
43660 $as_echo_n "(cached) " >&6
43661 else
43664 ac_ext=cpp
43665 ac_cpp='$CXXCPP $CPPFLAGS'
43666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43671 /* end confdefs.h. */
43672 #include <math.h>
43674 main ()
43676 _ldexpf(0, 0);
43678 return 0;
43680 _ACEOF
43681 if ac_fn_cxx_try_compile "$LINENO"; then :
43682 glibcxx_cv_func__ldexpf_use=yes
43683 else
43684 glibcxx_cv_func__ldexpf_use=no
43686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43687 ac_ext=c
43688 ac_cpp='$CPP $CPPFLAGS'
43689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43698 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43700 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43701 for ac_func in _ldexpf
43702 do :
43703 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43704 if test "x$ac_cv_func__ldexpf" = xyes; then :
43705 cat >>confdefs.h <<_ACEOF
43706 #define HAVE__LDEXPF 1
43707 _ACEOF
43710 done
43719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43720 $as_echo_n "checking for logf declaration... " >&6; }
43721 if test x${glibcxx_cv_func_logf_use+set} != xset; then
43722 if ${glibcxx_cv_func_logf_use+:} false; then :
43723 $as_echo_n "(cached) " >&6
43724 else
43727 ac_ext=cpp
43728 ac_cpp='$CXXCPP $CPPFLAGS'
43729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43734 /* end confdefs.h. */
43735 #include <math.h>
43736 #ifdef HAVE_IEEEFP_H
43737 #include <ieeefp.h>
43738 #endif
43741 main ()
43743 logf(0);
43745 return 0;
43747 _ACEOF
43748 if ac_fn_cxx_try_compile "$LINENO"; then :
43749 glibcxx_cv_func_logf_use=yes
43750 else
43751 glibcxx_cv_func_logf_use=no
43753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43754 ac_ext=c
43755 ac_cpp='$CPP $CPPFLAGS'
43756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43765 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43767 if test x$glibcxx_cv_func_logf_use = x"yes"; then
43768 for ac_func in logf
43769 do :
43770 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43771 if test "x$ac_cv_func_logf" = xyes; then :
43772 cat >>confdefs.h <<_ACEOF
43773 #define HAVE_LOGF 1
43774 _ACEOF
43777 done
43779 else
43781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43782 $as_echo_n "checking for _logf declaration... " >&6; }
43783 if test x${glibcxx_cv_func__logf_use+set} != xset; then
43784 if ${glibcxx_cv_func__logf_use+:} false; then :
43785 $as_echo_n "(cached) " >&6
43786 else
43789 ac_ext=cpp
43790 ac_cpp='$CXXCPP $CPPFLAGS'
43791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43796 /* end confdefs.h. */
43797 #include <math.h>
43798 #ifdef HAVE_IEEEFP_H
43799 #include <ieeefp.h>
43800 #endif
43803 main ()
43805 _logf(0);
43807 return 0;
43809 _ACEOF
43810 if ac_fn_cxx_try_compile "$LINENO"; then :
43811 glibcxx_cv_func__logf_use=yes
43812 else
43813 glibcxx_cv_func__logf_use=no
43815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43816 ac_ext=c
43817 ac_cpp='$CPP $CPPFLAGS'
43818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43827 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
43829 if test x$glibcxx_cv_func__logf_use = x"yes"; then
43830 for ac_func in _logf
43831 do :
43832 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43833 if test "x$ac_cv_func__logf" = xyes; then :
43834 cat >>confdefs.h <<_ACEOF
43835 #define HAVE__LOGF 1
43836 _ACEOF
43839 done
43848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43849 $as_echo_n "checking for log10f declaration... " >&6; }
43850 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
43851 if ${glibcxx_cv_func_log10f_use+:} false; then :
43852 $as_echo_n "(cached) " >&6
43853 else
43856 ac_ext=cpp
43857 ac_cpp='$CXXCPP $CPPFLAGS'
43858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43863 /* end confdefs.h. */
43864 #include <math.h>
43865 #ifdef HAVE_IEEEFP_H
43866 #include <ieeefp.h>
43867 #endif
43870 main ()
43872 log10f(0);
43874 return 0;
43876 _ACEOF
43877 if ac_fn_cxx_try_compile "$LINENO"; then :
43878 glibcxx_cv_func_log10f_use=yes
43879 else
43880 glibcxx_cv_func_log10f_use=no
43882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43883 ac_ext=c
43884 ac_cpp='$CPP $CPPFLAGS'
43885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
43894 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
43896 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
43897 for ac_func in log10f
43898 do :
43899 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
43900 if test "x$ac_cv_func_log10f" = xyes; then :
43901 cat >>confdefs.h <<_ACEOF
43902 #define HAVE_LOG10F 1
43903 _ACEOF
43906 done
43908 else
43910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
43911 $as_echo_n "checking for _log10f declaration... " >&6; }
43912 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
43913 if ${glibcxx_cv_func__log10f_use+:} false; then :
43914 $as_echo_n "(cached) " >&6
43915 else
43918 ac_ext=cpp
43919 ac_cpp='$CXXCPP $CPPFLAGS'
43920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43925 /* end confdefs.h. */
43926 #include <math.h>
43927 #ifdef HAVE_IEEEFP_H
43928 #include <ieeefp.h>
43929 #endif
43932 main ()
43934 _log10f(0);
43936 return 0;
43938 _ACEOF
43939 if ac_fn_cxx_try_compile "$LINENO"; then :
43940 glibcxx_cv_func__log10f_use=yes
43941 else
43942 glibcxx_cv_func__log10f_use=no
43944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43945 ac_ext=c
43946 ac_cpp='$CPP $CPPFLAGS'
43947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
43956 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
43958 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
43959 for ac_func in _log10f
43960 do :
43961 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
43962 if test "x$ac_cv_func__log10f" = xyes; then :
43963 cat >>confdefs.h <<_ACEOF
43964 #define HAVE__LOG10F 1
43965 _ACEOF
43968 done
43977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
43978 $as_echo_n "checking for modff declaration... " >&6; }
43979 if test x${glibcxx_cv_func_modff_use+set} != xset; then
43980 if ${glibcxx_cv_func_modff_use+:} false; then :
43981 $as_echo_n "(cached) " >&6
43982 else
43985 ac_ext=cpp
43986 ac_cpp='$CXXCPP $CPPFLAGS'
43987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43992 /* end confdefs.h. */
43993 #include <math.h>
43995 main ()
43997 modff(0, 0);
43999 return 0;
44001 _ACEOF
44002 if ac_fn_cxx_try_compile "$LINENO"; then :
44003 glibcxx_cv_func_modff_use=yes
44004 else
44005 glibcxx_cv_func_modff_use=no
44007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44008 ac_ext=c
44009 ac_cpp='$CPP $CPPFLAGS'
44010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
44019 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
44021 if test x$glibcxx_cv_func_modff_use = x"yes"; then
44022 for ac_func in modff
44023 do :
44024 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
44025 if test "x$ac_cv_func_modff" = xyes; then :
44026 cat >>confdefs.h <<_ACEOF
44027 #define HAVE_MODFF 1
44028 _ACEOF
44031 done
44033 else
44035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
44036 $as_echo_n "checking for _modff declaration... " >&6; }
44037 if test x${glibcxx_cv_func__modff_use+set} != xset; then
44038 if ${glibcxx_cv_func__modff_use+:} false; then :
44039 $as_echo_n "(cached) " >&6
44040 else
44043 ac_ext=cpp
44044 ac_cpp='$CXXCPP $CPPFLAGS'
44045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44050 /* end confdefs.h. */
44051 #include <math.h>
44053 main ()
44055 _modff(0, 0);
44057 return 0;
44059 _ACEOF
44060 if ac_fn_cxx_try_compile "$LINENO"; then :
44061 glibcxx_cv_func__modff_use=yes
44062 else
44063 glibcxx_cv_func__modff_use=no
44065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44066 ac_ext=c
44067 ac_cpp='$CPP $CPPFLAGS'
44068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
44077 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
44079 if test x$glibcxx_cv_func__modff_use = x"yes"; then
44080 for ac_func in _modff
44081 do :
44082 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
44083 if test "x$ac_cv_func__modff" = xyes; then :
44084 cat >>confdefs.h <<_ACEOF
44085 #define HAVE__MODFF 1
44086 _ACEOF
44089 done
44098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
44099 $as_echo_n "checking for modf declaration... " >&6; }
44100 if test x${glibcxx_cv_func_modf_use+set} != xset; then
44101 if ${glibcxx_cv_func_modf_use+:} false; then :
44102 $as_echo_n "(cached) " >&6
44103 else
44106 ac_ext=cpp
44107 ac_cpp='$CXXCPP $CPPFLAGS'
44108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44113 /* end confdefs.h. */
44114 #include <math.h>
44116 main ()
44118 modf(0, 0);
44120 return 0;
44122 _ACEOF
44123 if ac_fn_cxx_try_compile "$LINENO"; then :
44124 glibcxx_cv_func_modf_use=yes
44125 else
44126 glibcxx_cv_func_modf_use=no
44128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44129 ac_ext=c
44130 ac_cpp='$CPP $CPPFLAGS'
44131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44140 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
44142 if test x$glibcxx_cv_func_modf_use = x"yes"; then
44143 for ac_func in modf
44144 do :
44145 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44146 if test "x$ac_cv_func_modf" = xyes; then :
44147 cat >>confdefs.h <<_ACEOF
44148 #define HAVE_MODF 1
44149 _ACEOF
44152 done
44154 else
44156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44157 $as_echo_n "checking for _modf declaration... " >&6; }
44158 if test x${glibcxx_cv_func__modf_use+set} != xset; then
44159 if ${glibcxx_cv_func__modf_use+:} false; then :
44160 $as_echo_n "(cached) " >&6
44161 else
44164 ac_ext=cpp
44165 ac_cpp='$CXXCPP $CPPFLAGS'
44166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44171 /* end confdefs.h. */
44172 #include <math.h>
44174 main ()
44176 _modf(0, 0);
44178 return 0;
44180 _ACEOF
44181 if ac_fn_cxx_try_compile "$LINENO"; then :
44182 glibcxx_cv_func__modf_use=yes
44183 else
44184 glibcxx_cv_func__modf_use=no
44186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44187 ac_ext=c
44188 ac_cpp='$CPP $CPPFLAGS'
44189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44198 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
44200 if test x$glibcxx_cv_func__modf_use = x"yes"; then
44201 for ac_func in _modf
44202 do :
44203 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44204 if test "x$ac_cv_func__modf" = xyes; then :
44205 cat >>confdefs.h <<_ACEOF
44206 #define HAVE__MODF 1
44207 _ACEOF
44210 done
44219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44220 $as_echo_n "checking for powf declaration... " >&6; }
44221 if test x${glibcxx_cv_func_powf_use+set} != xset; then
44222 if ${glibcxx_cv_func_powf_use+:} false; then :
44223 $as_echo_n "(cached) " >&6
44224 else
44227 ac_ext=cpp
44228 ac_cpp='$CXXCPP $CPPFLAGS'
44229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44234 /* end confdefs.h. */
44235 #include <math.h>
44237 main ()
44239 powf(0, 0);
44241 return 0;
44243 _ACEOF
44244 if ac_fn_cxx_try_compile "$LINENO"; then :
44245 glibcxx_cv_func_powf_use=yes
44246 else
44247 glibcxx_cv_func_powf_use=no
44249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44250 ac_ext=c
44251 ac_cpp='$CPP $CPPFLAGS'
44252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44261 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
44263 if test x$glibcxx_cv_func_powf_use = x"yes"; then
44264 for ac_func in powf
44265 do :
44266 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44267 if test "x$ac_cv_func_powf" = xyes; then :
44268 cat >>confdefs.h <<_ACEOF
44269 #define HAVE_POWF 1
44270 _ACEOF
44273 done
44275 else
44277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44278 $as_echo_n "checking for _powf declaration... " >&6; }
44279 if test x${glibcxx_cv_func__powf_use+set} != xset; then
44280 if ${glibcxx_cv_func__powf_use+:} false; then :
44281 $as_echo_n "(cached) " >&6
44282 else
44285 ac_ext=cpp
44286 ac_cpp='$CXXCPP $CPPFLAGS'
44287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44292 /* end confdefs.h. */
44293 #include <math.h>
44295 main ()
44297 _powf(0, 0);
44299 return 0;
44301 _ACEOF
44302 if ac_fn_cxx_try_compile "$LINENO"; then :
44303 glibcxx_cv_func__powf_use=yes
44304 else
44305 glibcxx_cv_func__powf_use=no
44307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44308 ac_ext=c
44309 ac_cpp='$CPP $CPPFLAGS'
44310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44319 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44321 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44322 for ac_func in _powf
44323 do :
44324 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44325 if test "x$ac_cv_func__powf" = xyes; then :
44326 cat >>confdefs.h <<_ACEOF
44327 #define HAVE__POWF 1
44328 _ACEOF
44331 done
44340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44341 $as_echo_n "checking for sqrtf declaration... " >&6; }
44342 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44343 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
44344 $as_echo_n "(cached) " >&6
44345 else
44348 ac_ext=cpp
44349 ac_cpp='$CXXCPP $CPPFLAGS'
44350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44355 /* end confdefs.h. */
44356 #include <math.h>
44357 #ifdef HAVE_IEEEFP_H
44358 #include <ieeefp.h>
44359 #endif
44362 main ()
44364 sqrtf(0);
44366 return 0;
44368 _ACEOF
44369 if ac_fn_cxx_try_compile "$LINENO"; then :
44370 glibcxx_cv_func_sqrtf_use=yes
44371 else
44372 glibcxx_cv_func_sqrtf_use=no
44374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44375 ac_ext=c
44376 ac_cpp='$CPP $CPPFLAGS'
44377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44386 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44388 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44389 for ac_func in sqrtf
44390 do :
44391 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44392 if test "x$ac_cv_func_sqrtf" = xyes; then :
44393 cat >>confdefs.h <<_ACEOF
44394 #define HAVE_SQRTF 1
44395 _ACEOF
44398 done
44400 else
44402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44403 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44404 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44405 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
44406 $as_echo_n "(cached) " >&6
44407 else
44410 ac_ext=cpp
44411 ac_cpp='$CXXCPP $CPPFLAGS'
44412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44417 /* end confdefs.h. */
44418 #include <math.h>
44419 #ifdef HAVE_IEEEFP_H
44420 #include <ieeefp.h>
44421 #endif
44424 main ()
44426 _sqrtf(0);
44428 return 0;
44430 _ACEOF
44431 if ac_fn_cxx_try_compile "$LINENO"; then :
44432 glibcxx_cv_func__sqrtf_use=yes
44433 else
44434 glibcxx_cv_func__sqrtf_use=no
44436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44437 ac_ext=c
44438 ac_cpp='$CPP $CPPFLAGS'
44439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44448 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44450 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44451 for ac_func in _sqrtf
44452 do :
44453 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44454 if test "x$ac_cv_func__sqrtf" = xyes; then :
44455 cat >>confdefs.h <<_ACEOF
44456 #define HAVE__SQRTF 1
44457 _ACEOF
44460 done
44469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44470 $as_echo_n "checking for sincosf declaration... " >&6; }
44471 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44472 if ${glibcxx_cv_func_sincosf_use+:} false; then :
44473 $as_echo_n "(cached) " >&6
44474 else
44477 ac_ext=cpp
44478 ac_cpp='$CXXCPP $CPPFLAGS'
44479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44484 /* end confdefs.h. */
44485 #include <math.h>
44487 main ()
44489 sincosf(0, 0, 0);
44491 return 0;
44493 _ACEOF
44494 if ac_fn_cxx_try_compile "$LINENO"; then :
44495 glibcxx_cv_func_sincosf_use=yes
44496 else
44497 glibcxx_cv_func_sincosf_use=no
44499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44500 ac_ext=c
44501 ac_cpp='$CPP $CPPFLAGS'
44502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44511 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44513 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44514 for ac_func in sincosf
44515 do :
44516 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44517 if test "x$ac_cv_func_sincosf" = xyes; then :
44518 cat >>confdefs.h <<_ACEOF
44519 #define HAVE_SINCOSF 1
44520 _ACEOF
44523 done
44525 else
44527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44528 $as_echo_n "checking for _sincosf declaration... " >&6; }
44529 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44530 if ${glibcxx_cv_func__sincosf_use+:} false; then :
44531 $as_echo_n "(cached) " >&6
44532 else
44535 ac_ext=cpp
44536 ac_cpp='$CXXCPP $CPPFLAGS'
44537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44542 /* end confdefs.h. */
44543 #include <math.h>
44545 main ()
44547 _sincosf(0, 0, 0);
44549 return 0;
44551 _ACEOF
44552 if ac_fn_cxx_try_compile "$LINENO"; then :
44553 glibcxx_cv_func__sincosf_use=yes
44554 else
44555 glibcxx_cv_func__sincosf_use=no
44557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44558 ac_ext=c
44559 ac_cpp='$CPP $CPPFLAGS'
44560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44569 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44571 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44572 for ac_func in _sincosf
44573 do :
44574 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44575 if test "x$ac_cv_func__sincosf" = xyes; then :
44576 cat >>confdefs.h <<_ACEOF
44577 #define HAVE__SINCOSF 1
44578 _ACEOF
44581 done
44590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44591 $as_echo_n "checking for finitef declaration... " >&6; }
44592 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44593 if ${glibcxx_cv_func_finitef_use+:} false; then :
44594 $as_echo_n "(cached) " >&6
44595 else
44598 ac_ext=cpp
44599 ac_cpp='$CXXCPP $CPPFLAGS'
44600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44605 /* end confdefs.h. */
44606 #include <math.h>
44607 #ifdef HAVE_IEEEFP_H
44608 #include <ieeefp.h>
44609 #endif
44612 main ()
44614 finitef(0);
44616 return 0;
44618 _ACEOF
44619 if ac_fn_cxx_try_compile "$LINENO"; then :
44620 glibcxx_cv_func_finitef_use=yes
44621 else
44622 glibcxx_cv_func_finitef_use=no
44624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44625 ac_ext=c
44626 ac_cpp='$CPP $CPPFLAGS'
44627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44636 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44638 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44639 for ac_func in finitef
44640 do :
44641 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44642 if test "x$ac_cv_func_finitef" = xyes; then :
44643 cat >>confdefs.h <<_ACEOF
44644 #define HAVE_FINITEF 1
44645 _ACEOF
44648 done
44650 else
44652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44653 $as_echo_n "checking for _finitef declaration... " >&6; }
44654 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44655 if ${glibcxx_cv_func__finitef_use+:} false; then :
44656 $as_echo_n "(cached) " >&6
44657 else
44660 ac_ext=cpp
44661 ac_cpp='$CXXCPP $CPPFLAGS'
44662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44667 /* end confdefs.h. */
44668 #include <math.h>
44669 #ifdef HAVE_IEEEFP_H
44670 #include <ieeefp.h>
44671 #endif
44674 main ()
44676 _finitef(0);
44678 return 0;
44680 _ACEOF
44681 if ac_fn_cxx_try_compile "$LINENO"; then :
44682 glibcxx_cv_func__finitef_use=yes
44683 else
44684 glibcxx_cv_func__finitef_use=no
44686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44687 ac_ext=c
44688 ac_cpp='$CPP $CPPFLAGS'
44689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44698 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44700 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44701 for ac_func in _finitef
44702 do :
44703 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44704 if test "x$ac_cv_func__finitef" = xyes; then :
44705 cat >>confdefs.h <<_ACEOF
44706 #define HAVE__FINITEF 1
44707 _ACEOF
44710 done
44719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44720 $as_echo_n "checking for long double trig functions... " >&6; }
44721 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
44722 $as_echo_n "(cached) " >&6
44723 else
44726 ac_ext=cpp
44727 ac_cpp='$CXXCPP $CPPFLAGS'
44728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44733 /* end confdefs.h. */
44734 #include <math.h>
44736 main ()
44738 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44740 return 0;
44742 _ACEOF
44743 if ac_fn_cxx_try_compile "$LINENO"; then :
44744 glibcxx_cv_func_long_double_trig_use=yes
44745 else
44746 glibcxx_cv_func_long_double_trig_use=no
44748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44749 ac_ext=c
44750 ac_cpp='$CPP $CPPFLAGS'
44751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44758 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44759 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44760 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44761 do :
44762 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44763 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44764 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44765 cat >>confdefs.h <<_ACEOF
44766 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44767 _ACEOF
44770 done
44772 else
44773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44774 $as_echo_n "checking for _long double trig functions... " >&6; }
44775 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
44776 $as_echo_n "(cached) " >&6
44777 else
44780 ac_ext=cpp
44781 ac_cpp='$CXXCPP $CPPFLAGS'
44782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44787 /* end confdefs.h. */
44788 #include <math.h>
44790 main ()
44792 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44794 return 0;
44796 _ACEOF
44797 if ac_fn_cxx_try_compile "$LINENO"; then :
44798 glibcxx_cv_func__long_double_trig_use=yes
44799 else
44800 glibcxx_cv_func__long_double_trig_use=no
44802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44803 ac_ext=c
44804 ac_cpp='$CPP $CPPFLAGS'
44805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44812 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44813 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44814 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44815 do :
44816 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44817 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44818 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44819 cat >>confdefs.h <<_ACEOF
44820 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44821 _ACEOF
44824 done
44833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44834 $as_echo_n "checking for long double round functions... " >&6; }
44835 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
44836 $as_echo_n "(cached) " >&6
44837 else
44840 ac_ext=cpp
44841 ac_cpp='$CXXCPP $CPPFLAGS'
44842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44847 /* end confdefs.h. */
44848 #include <math.h>
44850 main ()
44852 ceill (0); floorl (0);
44854 return 0;
44856 _ACEOF
44857 if ac_fn_cxx_try_compile "$LINENO"; then :
44858 glibcxx_cv_func_long_double_round_use=yes
44859 else
44860 glibcxx_cv_func_long_double_round_use=no
44862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44863 ac_ext=c
44864 ac_cpp='$CPP $CPPFLAGS'
44865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
44872 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
44873 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
44874 for ac_func in ceill floorl
44875 do :
44876 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44877 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44878 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44879 cat >>confdefs.h <<_ACEOF
44880 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44881 _ACEOF
44884 done
44886 else
44887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
44888 $as_echo_n "checking for _long double round functions... " >&6; }
44889 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
44890 $as_echo_n "(cached) " >&6
44891 else
44894 ac_ext=cpp
44895 ac_cpp='$CXXCPP $CPPFLAGS'
44896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44901 /* end confdefs.h. */
44902 #include <math.h>
44904 main ()
44906 _ceill (0); _floorl (0);
44908 return 0;
44910 _ACEOF
44911 if ac_fn_cxx_try_compile "$LINENO"; then :
44912 glibcxx_cv_func__long_double_round_use=yes
44913 else
44914 glibcxx_cv_func__long_double_round_use=no
44916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44917 ac_ext=c
44918 ac_cpp='$CPP $CPPFLAGS'
44919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
44926 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
44927 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
44928 for ac_func in _ceill _floorl
44929 do :
44930 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44931 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44932 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44933 cat >>confdefs.h <<_ACEOF
44934 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44935 _ACEOF
44938 done
44948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
44949 $as_echo_n "checking for isnanl declaration... " >&6; }
44950 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
44951 if ${glibcxx_cv_func_isnanl_use+:} false; then :
44952 $as_echo_n "(cached) " >&6
44953 else
44956 ac_ext=cpp
44957 ac_cpp='$CXXCPP $CPPFLAGS'
44958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44963 /* end confdefs.h. */
44964 #include <math.h>
44965 #ifdef HAVE_IEEEFP_H
44966 #include <ieeefp.h>
44967 #endif
44970 main ()
44972 isnanl(0);
44974 return 0;
44976 _ACEOF
44977 if ac_fn_cxx_try_compile "$LINENO"; then :
44978 glibcxx_cv_func_isnanl_use=yes
44979 else
44980 glibcxx_cv_func_isnanl_use=no
44982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44983 ac_ext=c
44984 ac_cpp='$CPP $CPPFLAGS'
44985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
44994 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
44996 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
44997 for ac_func in isnanl
44998 do :
44999 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
45000 if test "x$ac_cv_func_isnanl" = xyes; then :
45001 cat >>confdefs.h <<_ACEOF
45002 #define HAVE_ISNANL 1
45003 _ACEOF
45006 done
45008 else
45010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
45011 $as_echo_n "checking for _isnanl declaration... " >&6; }
45012 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
45013 if ${glibcxx_cv_func__isnanl_use+:} false; then :
45014 $as_echo_n "(cached) " >&6
45015 else
45018 ac_ext=cpp
45019 ac_cpp='$CXXCPP $CPPFLAGS'
45020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45025 /* end confdefs.h. */
45026 #include <math.h>
45027 #ifdef HAVE_IEEEFP_H
45028 #include <ieeefp.h>
45029 #endif
45032 main ()
45034 _isnanl(0);
45036 return 0;
45038 _ACEOF
45039 if ac_fn_cxx_try_compile "$LINENO"; then :
45040 glibcxx_cv_func__isnanl_use=yes
45041 else
45042 glibcxx_cv_func__isnanl_use=no
45044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45045 ac_ext=c
45046 ac_cpp='$CPP $CPPFLAGS'
45047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
45056 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
45058 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
45059 for ac_func in _isnanl
45060 do :
45061 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
45062 if test "x$ac_cv_func__isnanl" = xyes; then :
45063 cat >>confdefs.h <<_ACEOF
45064 #define HAVE__ISNANL 1
45065 _ACEOF
45068 done
45077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
45078 $as_echo_n "checking for isinfl declaration... " >&6; }
45079 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
45080 if ${glibcxx_cv_func_isinfl_use+:} false; then :
45081 $as_echo_n "(cached) " >&6
45082 else
45085 ac_ext=cpp
45086 ac_cpp='$CXXCPP $CPPFLAGS'
45087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45092 /* end confdefs.h. */
45093 #include <math.h>
45094 #ifdef HAVE_IEEEFP_H
45095 #include <ieeefp.h>
45096 #endif
45099 main ()
45101 isinfl(0);
45103 return 0;
45105 _ACEOF
45106 if ac_fn_cxx_try_compile "$LINENO"; then :
45107 glibcxx_cv_func_isinfl_use=yes
45108 else
45109 glibcxx_cv_func_isinfl_use=no
45111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45112 ac_ext=c
45113 ac_cpp='$CPP $CPPFLAGS'
45114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45123 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45125 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45126 for ac_func in isinfl
45127 do :
45128 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45129 if test "x$ac_cv_func_isinfl" = xyes; then :
45130 cat >>confdefs.h <<_ACEOF
45131 #define HAVE_ISINFL 1
45132 _ACEOF
45135 done
45137 else
45139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45140 $as_echo_n "checking for _isinfl declaration... " >&6; }
45141 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45142 if ${glibcxx_cv_func__isinfl_use+:} false; then :
45143 $as_echo_n "(cached) " >&6
45144 else
45147 ac_ext=cpp
45148 ac_cpp='$CXXCPP $CPPFLAGS'
45149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45154 /* end confdefs.h. */
45155 #include <math.h>
45156 #ifdef HAVE_IEEEFP_H
45157 #include <ieeefp.h>
45158 #endif
45161 main ()
45163 _isinfl(0);
45165 return 0;
45167 _ACEOF
45168 if ac_fn_cxx_try_compile "$LINENO"; then :
45169 glibcxx_cv_func__isinfl_use=yes
45170 else
45171 glibcxx_cv_func__isinfl_use=no
45173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45174 ac_ext=c
45175 ac_cpp='$CPP $CPPFLAGS'
45176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45185 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45187 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45188 for ac_func in _isinfl
45189 do :
45190 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45191 if test "x$ac_cv_func__isinfl" = xyes; then :
45192 cat >>confdefs.h <<_ACEOF
45193 #define HAVE__ISINFL 1
45194 _ACEOF
45197 done
45206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45207 $as_echo_n "checking for atan2l declaration... " >&6; }
45208 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45209 if ${glibcxx_cv_func_atan2l_use+:} false; then :
45210 $as_echo_n "(cached) " >&6
45211 else
45214 ac_ext=cpp
45215 ac_cpp='$CXXCPP $CPPFLAGS'
45216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45221 /* end confdefs.h. */
45222 #include <math.h>
45224 main ()
45226 atan2l(0, 0);
45228 return 0;
45230 _ACEOF
45231 if ac_fn_cxx_try_compile "$LINENO"; then :
45232 glibcxx_cv_func_atan2l_use=yes
45233 else
45234 glibcxx_cv_func_atan2l_use=no
45236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45237 ac_ext=c
45238 ac_cpp='$CPP $CPPFLAGS'
45239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45248 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45250 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45251 for ac_func in atan2l
45252 do :
45253 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45254 if test "x$ac_cv_func_atan2l" = xyes; then :
45255 cat >>confdefs.h <<_ACEOF
45256 #define HAVE_ATAN2L 1
45257 _ACEOF
45260 done
45262 else
45264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45265 $as_echo_n "checking for _atan2l declaration... " >&6; }
45266 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45267 if ${glibcxx_cv_func__atan2l_use+:} false; then :
45268 $as_echo_n "(cached) " >&6
45269 else
45272 ac_ext=cpp
45273 ac_cpp='$CXXCPP $CPPFLAGS'
45274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45279 /* end confdefs.h. */
45280 #include <math.h>
45282 main ()
45284 _atan2l(0, 0);
45286 return 0;
45288 _ACEOF
45289 if ac_fn_cxx_try_compile "$LINENO"; then :
45290 glibcxx_cv_func__atan2l_use=yes
45291 else
45292 glibcxx_cv_func__atan2l_use=no
45294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45295 ac_ext=c
45296 ac_cpp='$CPP $CPPFLAGS'
45297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45306 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45308 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45309 for ac_func in _atan2l
45310 do :
45311 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45312 if test "x$ac_cv_func__atan2l" = xyes; then :
45313 cat >>confdefs.h <<_ACEOF
45314 #define HAVE__ATAN2L 1
45315 _ACEOF
45318 done
45327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45328 $as_echo_n "checking for expl declaration... " >&6; }
45329 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45330 if ${glibcxx_cv_func_expl_use+:} false; then :
45331 $as_echo_n "(cached) " >&6
45332 else
45335 ac_ext=cpp
45336 ac_cpp='$CXXCPP $CPPFLAGS'
45337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45342 /* end confdefs.h. */
45343 #include <math.h>
45344 #ifdef HAVE_IEEEFP_H
45345 #include <ieeefp.h>
45346 #endif
45349 main ()
45351 expl(0);
45353 return 0;
45355 _ACEOF
45356 if ac_fn_cxx_try_compile "$LINENO"; then :
45357 glibcxx_cv_func_expl_use=yes
45358 else
45359 glibcxx_cv_func_expl_use=no
45361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45362 ac_ext=c
45363 ac_cpp='$CPP $CPPFLAGS'
45364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45373 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45375 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45376 for ac_func in expl
45377 do :
45378 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45379 if test "x$ac_cv_func_expl" = xyes; then :
45380 cat >>confdefs.h <<_ACEOF
45381 #define HAVE_EXPL 1
45382 _ACEOF
45385 done
45387 else
45389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45390 $as_echo_n "checking for _expl declaration... " >&6; }
45391 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45392 if ${glibcxx_cv_func__expl_use+:} false; then :
45393 $as_echo_n "(cached) " >&6
45394 else
45397 ac_ext=cpp
45398 ac_cpp='$CXXCPP $CPPFLAGS'
45399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45404 /* end confdefs.h. */
45405 #include <math.h>
45406 #ifdef HAVE_IEEEFP_H
45407 #include <ieeefp.h>
45408 #endif
45411 main ()
45413 _expl(0);
45415 return 0;
45417 _ACEOF
45418 if ac_fn_cxx_try_compile "$LINENO"; then :
45419 glibcxx_cv_func__expl_use=yes
45420 else
45421 glibcxx_cv_func__expl_use=no
45423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45424 ac_ext=c
45425 ac_cpp='$CPP $CPPFLAGS'
45426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45435 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45437 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45438 for ac_func in _expl
45439 do :
45440 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45441 if test "x$ac_cv_func__expl" = xyes; then :
45442 cat >>confdefs.h <<_ACEOF
45443 #define HAVE__EXPL 1
45444 _ACEOF
45447 done
45456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45457 $as_echo_n "checking for fabsl declaration... " >&6; }
45458 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45459 if ${glibcxx_cv_func_fabsl_use+:} false; then :
45460 $as_echo_n "(cached) " >&6
45461 else
45464 ac_ext=cpp
45465 ac_cpp='$CXXCPP $CPPFLAGS'
45466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45471 /* end confdefs.h. */
45472 #include <math.h>
45473 #ifdef HAVE_IEEEFP_H
45474 #include <ieeefp.h>
45475 #endif
45478 main ()
45480 fabsl(0);
45482 return 0;
45484 _ACEOF
45485 if ac_fn_cxx_try_compile "$LINENO"; then :
45486 glibcxx_cv_func_fabsl_use=yes
45487 else
45488 glibcxx_cv_func_fabsl_use=no
45490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45491 ac_ext=c
45492 ac_cpp='$CPP $CPPFLAGS'
45493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45502 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45504 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45505 for ac_func in fabsl
45506 do :
45507 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45508 if test "x$ac_cv_func_fabsl" = xyes; then :
45509 cat >>confdefs.h <<_ACEOF
45510 #define HAVE_FABSL 1
45511 _ACEOF
45514 done
45516 else
45518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45519 $as_echo_n "checking for _fabsl declaration... " >&6; }
45520 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45521 if ${glibcxx_cv_func__fabsl_use+:} false; then :
45522 $as_echo_n "(cached) " >&6
45523 else
45526 ac_ext=cpp
45527 ac_cpp='$CXXCPP $CPPFLAGS'
45528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45533 /* end confdefs.h. */
45534 #include <math.h>
45535 #ifdef HAVE_IEEEFP_H
45536 #include <ieeefp.h>
45537 #endif
45540 main ()
45542 _fabsl(0);
45544 return 0;
45546 _ACEOF
45547 if ac_fn_cxx_try_compile "$LINENO"; then :
45548 glibcxx_cv_func__fabsl_use=yes
45549 else
45550 glibcxx_cv_func__fabsl_use=no
45552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45553 ac_ext=c
45554 ac_cpp='$CPP $CPPFLAGS'
45555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45564 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45566 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45567 for ac_func in _fabsl
45568 do :
45569 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45570 if test "x$ac_cv_func__fabsl" = xyes; then :
45571 cat >>confdefs.h <<_ACEOF
45572 #define HAVE__FABSL 1
45573 _ACEOF
45576 done
45585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45586 $as_echo_n "checking for fmodl declaration... " >&6; }
45587 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45588 if ${glibcxx_cv_func_fmodl_use+:} false; then :
45589 $as_echo_n "(cached) " >&6
45590 else
45593 ac_ext=cpp
45594 ac_cpp='$CXXCPP $CPPFLAGS'
45595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45600 /* end confdefs.h. */
45601 #include <math.h>
45603 main ()
45605 fmodl(0, 0);
45607 return 0;
45609 _ACEOF
45610 if ac_fn_cxx_try_compile "$LINENO"; then :
45611 glibcxx_cv_func_fmodl_use=yes
45612 else
45613 glibcxx_cv_func_fmodl_use=no
45615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45616 ac_ext=c
45617 ac_cpp='$CPP $CPPFLAGS'
45618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45627 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45629 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45630 for ac_func in fmodl
45631 do :
45632 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45633 if test "x$ac_cv_func_fmodl" = xyes; then :
45634 cat >>confdefs.h <<_ACEOF
45635 #define HAVE_FMODL 1
45636 _ACEOF
45639 done
45641 else
45643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45644 $as_echo_n "checking for _fmodl declaration... " >&6; }
45645 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45646 if ${glibcxx_cv_func__fmodl_use+:} false; then :
45647 $as_echo_n "(cached) " >&6
45648 else
45651 ac_ext=cpp
45652 ac_cpp='$CXXCPP $CPPFLAGS'
45653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45658 /* end confdefs.h. */
45659 #include <math.h>
45661 main ()
45663 _fmodl(0, 0);
45665 return 0;
45667 _ACEOF
45668 if ac_fn_cxx_try_compile "$LINENO"; then :
45669 glibcxx_cv_func__fmodl_use=yes
45670 else
45671 glibcxx_cv_func__fmodl_use=no
45673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45674 ac_ext=c
45675 ac_cpp='$CPP $CPPFLAGS'
45676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45685 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45687 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45688 for ac_func in _fmodl
45689 do :
45690 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45691 if test "x$ac_cv_func__fmodl" = xyes; then :
45692 cat >>confdefs.h <<_ACEOF
45693 #define HAVE__FMODL 1
45694 _ACEOF
45697 done
45706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45707 $as_echo_n "checking for frexpl declaration... " >&6; }
45708 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45709 if ${glibcxx_cv_func_frexpl_use+:} false; then :
45710 $as_echo_n "(cached) " >&6
45711 else
45714 ac_ext=cpp
45715 ac_cpp='$CXXCPP $CPPFLAGS'
45716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45721 /* end confdefs.h. */
45722 #include <math.h>
45724 main ()
45726 frexpl(0, 0);
45728 return 0;
45730 _ACEOF
45731 if ac_fn_cxx_try_compile "$LINENO"; then :
45732 glibcxx_cv_func_frexpl_use=yes
45733 else
45734 glibcxx_cv_func_frexpl_use=no
45736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45737 ac_ext=c
45738 ac_cpp='$CPP $CPPFLAGS'
45739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45748 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45750 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45751 for ac_func in frexpl
45752 do :
45753 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45754 if test "x$ac_cv_func_frexpl" = xyes; then :
45755 cat >>confdefs.h <<_ACEOF
45756 #define HAVE_FREXPL 1
45757 _ACEOF
45760 done
45762 else
45764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45765 $as_echo_n "checking for _frexpl declaration... " >&6; }
45766 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45767 if ${glibcxx_cv_func__frexpl_use+:} false; then :
45768 $as_echo_n "(cached) " >&6
45769 else
45772 ac_ext=cpp
45773 ac_cpp='$CXXCPP $CPPFLAGS'
45774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45779 /* end confdefs.h. */
45780 #include <math.h>
45782 main ()
45784 _frexpl(0, 0);
45786 return 0;
45788 _ACEOF
45789 if ac_fn_cxx_try_compile "$LINENO"; then :
45790 glibcxx_cv_func__frexpl_use=yes
45791 else
45792 glibcxx_cv_func__frexpl_use=no
45794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45795 ac_ext=c
45796 ac_cpp='$CPP $CPPFLAGS'
45797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
45806 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45808 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45809 for ac_func in _frexpl
45810 do :
45811 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45812 if test "x$ac_cv_func__frexpl" = xyes; then :
45813 cat >>confdefs.h <<_ACEOF
45814 #define HAVE__FREXPL 1
45815 _ACEOF
45818 done
45827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45828 $as_echo_n "checking for hypotl declaration... " >&6; }
45829 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45830 if ${glibcxx_cv_func_hypotl_use+:} false; then :
45831 $as_echo_n "(cached) " >&6
45832 else
45835 ac_ext=cpp
45836 ac_cpp='$CXXCPP $CPPFLAGS'
45837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45842 /* end confdefs.h. */
45843 #include <math.h>
45845 main ()
45847 hypotl(0, 0);
45849 return 0;
45851 _ACEOF
45852 if ac_fn_cxx_try_compile "$LINENO"; then :
45853 glibcxx_cv_func_hypotl_use=yes
45854 else
45855 glibcxx_cv_func_hypotl_use=no
45857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45858 ac_ext=c
45859 ac_cpp='$CPP $CPPFLAGS'
45860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
45869 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
45871 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45872 for ac_func in hypotl
45873 do :
45874 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
45875 if test "x$ac_cv_func_hypotl" = xyes; then :
45876 cat >>confdefs.h <<_ACEOF
45877 #define HAVE_HYPOTL 1
45878 _ACEOF
45881 done
45883 else
45885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
45886 $as_echo_n "checking for _hypotl declaration... " >&6; }
45887 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45888 if ${glibcxx_cv_func__hypotl_use+:} false; then :
45889 $as_echo_n "(cached) " >&6
45890 else
45893 ac_ext=cpp
45894 ac_cpp='$CXXCPP $CPPFLAGS'
45895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45900 /* end confdefs.h. */
45901 #include <math.h>
45903 main ()
45905 _hypotl(0, 0);
45907 return 0;
45909 _ACEOF
45910 if ac_fn_cxx_try_compile "$LINENO"; then :
45911 glibcxx_cv_func__hypotl_use=yes
45912 else
45913 glibcxx_cv_func__hypotl_use=no
45915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45916 ac_ext=c
45917 ac_cpp='$CPP $CPPFLAGS'
45918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
45927 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
45929 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45930 for ac_func in _hypotl
45931 do :
45932 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
45933 if test "x$ac_cv_func__hypotl" = xyes; then :
45934 cat >>confdefs.h <<_ACEOF
45935 #define HAVE__HYPOTL 1
45936 _ACEOF
45939 done
45948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
45949 $as_echo_n "checking for ldexpl declaration... " >&6; }
45950 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45951 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
45952 $as_echo_n "(cached) " >&6
45953 else
45956 ac_ext=cpp
45957 ac_cpp='$CXXCPP $CPPFLAGS'
45958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45963 /* end confdefs.h. */
45964 #include <math.h>
45966 main ()
45968 ldexpl(0, 0);
45970 return 0;
45972 _ACEOF
45973 if ac_fn_cxx_try_compile "$LINENO"; then :
45974 glibcxx_cv_func_ldexpl_use=yes
45975 else
45976 glibcxx_cv_func_ldexpl_use=no
45978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45979 ac_ext=c
45980 ac_cpp='$CPP $CPPFLAGS'
45981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
45990 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
45992 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45993 for ac_func in ldexpl
45994 do :
45995 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
45996 if test "x$ac_cv_func_ldexpl" = xyes; then :
45997 cat >>confdefs.h <<_ACEOF
45998 #define HAVE_LDEXPL 1
45999 _ACEOF
46002 done
46004 else
46006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
46007 $as_echo_n "checking for _ldexpl declaration... " >&6; }
46008 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
46009 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
46010 $as_echo_n "(cached) " >&6
46011 else
46014 ac_ext=cpp
46015 ac_cpp='$CXXCPP $CPPFLAGS'
46016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46021 /* end confdefs.h. */
46022 #include <math.h>
46024 main ()
46026 _ldexpl(0, 0);
46028 return 0;
46030 _ACEOF
46031 if ac_fn_cxx_try_compile "$LINENO"; then :
46032 glibcxx_cv_func__ldexpl_use=yes
46033 else
46034 glibcxx_cv_func__ldexpl_use=no
46036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46037 ac_ext=c
46038 ac_cpp='$CPP $CPPFLAGS'
46039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
46048 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
46050 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
46051 for ac_func in _ldexpl
46052 do :
46053 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
46054 if test "x$ac_cv_func__ldexpl" = xyes; then :
46055 cat >>confdefs.h <<_ACEOF
46056 #define HAVE__LDEXPL 1
46057 _ACEOF
46060 done
46069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
46070 $as_echo_n "checking for logl declaration... " >&6; }
46071 if test x${glibcxx_cv_func_logl_use+set} != xset; then
46072 if ${glibcxx_cv_func_logl_use+:} false; then :
46073 $as_echo_n "(cached) " >&6
46074 else
46077 ac_ext=cpp
46078 ac_cpp='$CXXCPP $CPPFLAGS'
46079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46084 /* end confdefs.h. */
46085 #include <math.h>
46086 #ifdef HAVE_IEEEFP_H
46087 #include <ieeefp.h>
46088 #endif
46091 main ()
46093 logl(0);
46095 return 0;
46097 _ACEOF
46098 if ac_fn_cxx_try_compile "$LINENO"; then :
46099 glibcxx_cv_func_logl_use=yes
46100 else
46101 glibcxx_cv_func_logl_use=no
46103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46104 ac_ext=c
46105 ac_cpp='$CPP $CPPFLAGS'
46106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46115 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
46117 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46118 for ac_func in logl
46119 do :
46120 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46121 if test "x$ac_cv_func_logl" = xyes; then :
46122 cat >>confdefs.h <<_ACEOF
46123 #define HAVE_LOGL 1
46124 _ACEOF
46127 done
46129 else
46131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46132 $as_echo_n "checking for _logl declaration... " >&6; }
46133 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46134 if ${glibcxx_cv_func__logl_use+:} false; then :
46135 $as_echo_n "(cached) " >&6
46136 else
46139 ac_ext=cpp
46140 ac_cpp='$CXXCPP $CPPFLAGS'
46141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46146 /* end confdefs.h. */
46147 #include <math.h>
46148 #ifdef HAVE_IEEEFP_H
46149 #include <ieeefp.h>
46150 #endif
46153 main ()
46155 _logl(0);
46157 return 0;
46159 _ACEOF
46160 if ac_fn_cxx_try_compile "$LINENO"; then :
46161 glibcxx_cv_func__logl_use=yes
46162 else
46163 glibcxx_cv_func__logl_use=no
46165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46166 ac_ext=c
46167 ac_cpp='$CPP $CPPFLAGS'
46168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46177 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
46179 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46180 for ac_func in _logl
46181 do :
46182 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46183 if test "x$ac_cv_func__logl" = xyes; then :
46184 cat >>confdefs.h <<_ACEOF
46185 #define HAVE__LOGL 1
46186 _ACEOF
46189 done
46198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46199 $as_echo_n "checking for log10l declaration... " >&6; }
46200 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46201 if ${glibcxx_cv_func_log10l_use+:} false; then :
46202 $as_echo_n "(cached) " >&6
46203 else
46206 ac_ext=cpp
46207 ac_cpp='$CXXCPP $CPPFLAGS'
46208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46213 /* end confdefs.h. */
46214 #include <math.h>
46215 #ifdef HAVE_IEEEFP_H
46216 #include <ieeefp.h>
46217 #endif
46220 main ()
46222 log10l(0);
46224 return 0;
46226 _ACEOF
46227 if ac_fn_cxx_try_compile "$LINENO"; then :
46228 glibcxx_cv_func_log10l_use=yes
46229 else
46230 glibcxx_cv_func_log10l_use=no
46232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46233 ac_ext=c
46234 ac_cpp='$CPP $CPPFLAGS'
46235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46244 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46246 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46247 for ac_func in log10l
46248 do :
46249 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46250 if test "x$ac_cv_func_log10l" = xyes; then :
46251 cat >>confdefs.h <<_ACEOF
46252 #define HAVE_LOG10L 1
46253 _ACEOF
46256 done
46258 else
46260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46261 $as_echo_n "checking for _log10l declaration... " >&6; }
46262 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46263 if ${glibcxx_cv_func__log10l_use+:} false; then :
46264 $as_echo_n "(cached) " >&6
46265 else
46268 ac_ext=cpp
46269 ac_cpp='$CXXCPP $CPPFLAGS'
46270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46275 /* end confdefs.h. */
46276 #include <math.h>
46277 #ifdef HAVE_IEEEFP_H
46278 #include <ieeefp.h>
46279 #endif
46282 main ()
46284 _log10l(0);
46286 return 0;
46288 _ACEOF
46289 if ac_fn_cxx_try_compile "$LINENO"; then :
46290 glibcxx_cv_func__log10l_use=yes
46291 else
46292 glibcxx_cv_func__log10l_use=no
46294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46295 ac_ext=c
46296 ac_cpp='$CPP $CPPFLAGS'
46297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46306 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46308 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46309 for ac_func in _log10l
46310 do :
46311 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46312 if test "x$ac_cv_func__log10l" = xyes; then :
46313 cat >>confdefs.h <<_ACEOF
46314 #define HAVE__LOG10L 1
46315 _ACEOF
46318 done
46327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46328 $as_echo_n "checking for modfl declaration... " >&6; }
46329 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46330 if ${glibcxx_cv_func_modfl_use+:} false; then :
46331 $as_echo_n "(cached) " >&6
46332 else
46335 ac_ext=cpp
46336 ac_cpp='$CXXCPP $CPPFLAGS'
46337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46342 /* end confdefs.h. */
46343 #include <math.h>
46345 main ()
46347 modfl(0, 0);
46349 return 0;
46351 _ACEOF
46352 if ac_fn_cxx_try_compile "$LINENO"; then :
46353 glibcxx_cv_func_modfl_use=yes
46354 else
46355 glibcxx_cv_func_modfl_use=no
46357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46358 ac_ext=c
46359 ac_cpp='$CPP $CPPFLAGS'
46360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46369 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46371 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46372 for ac_func in modfl
46373 do :
46374 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46375 if test "x$ac_cv_func_modfl" = xyes; then :
46376 cat >>confdefs.h <<_ACEOF
46377 #define HAVE_MODFL 1
46378 _ACEOF
46381 done
46383 else
46385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46386 $as_echo_n "checking for _modfl declaration... " >&6; }
46387 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46388 if ${glibcxx_cv_func__modfl_use+:} false; then :
46389 $as_echo_n "(cached) " >&6
46390 else
46393 ac_ext=cpp
46394 ac_cpp='$CXXCPP $CPPFLAGS'
46395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46400 /* end confdefs.h. */
46401 #include <math.h>
46403 main ()
46405 _modfl(0, 0);
46407 return 0;
46409 _ACEOF
46410 if ac_fn_cxx_try_compile "$LINENO"; then :
46411 glibcxx_cv_func__modfl_use=yes
46412 else
46413 glibcxx_cv_func__modfl_use=no
46415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46416 ac_ext=c
46417 ac_cpp='$CPP $CPPFLAGS'
46418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46427 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46429 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46430 for ac_func in _modfl
46431 do :
46432 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46433 if test "x$ac_cv_func__modfl" = xyes; then :
46434 cat >>confdefs.h <<_ACEOF
46435 #define HAVE__MODFL 1
46436 _ACEOF
46439 done
46448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46449 $as_echo_n "checking for powl declaration... " >&6; }
46450 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46451 if ${glibcxx_cv_func_powl_use+:} false; then :
46452 $as_echo_n "(cached) " >&6
46453 else
46456 ac_ext=cpp
46457 ac_cpp='$CXXCPP $CPPFLAGS'
46458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46463 /* end confdefs.h. */
46464 #include <math.h>
46466 main ()
46468 powl(0, 0);
46470 return 0;
46472 _ACEOF
46473 if ac_fn_cxx_try_compile "$LINENO"; then :
46474 glibcxx_cv_func_powl_use=yes
46475 else
46476 glibcxx_cv_func_powl_use=no
46478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46479 ac_ext=c
46480 ac_cpp='$CPP $CPPFLAGS'
46481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46490 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46492 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46493 for ac_func in powl
46494 do :
46495 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46496 if test "x$ac_cv_func_powl" = xyes; then :
46497 cat >>confdefs.h <<_ACEOF
46498 #define HAVE_POWL 1
46499 _ACEOF
46502 done
46504 else
46506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46507 $as_echo_n "checking for _powl declaration... " >&6; }
46508 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46509 if ${glibcxx_cv_func__powl_use+:} false; then :
46510 $as_echo_n "(cached) " >&6
46511 else
46514 ac_ext=cpp
46515 ac_cpp='$CXXCPP $CPPFLAGS'
46516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46521 /* end confdefs.h. */
46522 #include <math.h>
46524 main ()
46526 _powl(0, 0);
46528 return 0;
46530 _ACEOF
46531 if ac_fn_cxx_try_compile "$LINENO"; then :
46532 glibcxx_cv_func__powl_use=yes
46533 else
46534 glibcxx_cv_func__powl_use=no
46536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46537 ac_ext=c
46538 ac_cpp='$CPP $CPPFLAGS'
46539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46548 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46550 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46551 for ac_func in _powl
46552 do :
46553 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46554 if test "x$ac_cv_func__powl" = xyes; then :
46555 cat >>confdefs.h <<_ACEOF
46556 #define HAVE__POWL 1
46557 _ACEOF
46560 done
46569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46570 $as_echo_n "checking for sqrtl declaration... " >&6; }
46571 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46572 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
46573 $as_echo_n "(cached) " >&6
46574 else
46577 ac_ext=cpp
46578 ac_cpp='$CXXCPP $CPPFLAGS'
46579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46584 /* end confdefs.h. */
46585 #include <math.h>
46586 #ifdef HAVE_IEEEFP_H
46587 #include <ieeefp.h>
46588 #endif
46591 main ()
46593 sqrtl(0);
46595 return 0;
46597 _ACEOF
46598 if ac_fn_cxx_try_compile "$LINENO"; then :
46599 glibcxx_cv_func_sqrtl_use=yes
46600 else
46601 glibcxx_cv_func_sqrtl_use=no
46603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46604 ac_ext=c
46605 ac_cpp='$CPP $CPPFLAGS'
46606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46615 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46617 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46618 for ac_func in sqrtl
46619 do :
46620 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46621 if test "x$ac_cv_func_sqrtl" = xyes; then :
46622 cat >>confdefs.h <<_ACEOF
46623 #define HAVE_SQRTL 1
46624 _ACEOF
46627 done
46629 else
46631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46632 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46633 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46634 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
46635 $as_echo_n "(cached) " >&6
46636 else
46639 ac_ext=cpp
46640 ac_cpp='$CXXCPP $CPPFLAGS'
46641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46646 /* end confdefs.h. */
46647 #include <math.h>
46648 #ifdef HAVE_IEEEFP_H
46649 #include <ieeefp.h>
46650 #endif
46653 main ()
46655 _sqrtl(0);
46657 return 0;
46659 _ACEOF
46660 if ac_fn_cxx_try_compile "$LINENO"; then :
46661 glibcxx_cv_func__sqrtl_use=yes
46662 else
46663 glibcxx_cv_func__sqrtl_use=no
46665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46666 ac_ext=c
46667 ac_cpp='$CPP $CPPFLAGS'
46668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46677 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46679 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46680 for ac_func in _sqrtl
46681 do :
46682 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46683 if test "x$ac_cv_func__sqrtl" = xyes; then :
46684 cat >>confdefs.h <<_ACEOF
46685 #define HAVE__SQRTL 1
46686 _ACEOF
46689 done
46698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46699 $as_echo_n "checking for sincosl declaration... " >&6; }
46700 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46701 if ${glibcxx_cv_func_sincosl_use+:} false; then :
46702 $as_echo_n "(cached) " >&6
46703 else
46706 ac_ext=cpp
46707 ac_cpp='$CXXCPP $CPPFLAGS'
46708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46713 /* end confdefs.h. */
46714 #include <math.h>
46716 main ()
46718 sincosl(0, 0, 0);
46720 return 0;
46722 _ACEOF
46723 if ac_fn_cxx_try_compile "$LINENO"; then :
46724 glibcxx_cv_func_sincosl_use=yes
46725 else
46726 glibcxx_cv_func_sincosl_use=no
46728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46729 ac_ext=c
46730 ac_cpp='$CPP $CPPFLAGS'
46731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46740 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46742 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46743 for ac_func in sincosl
46744 do :
46745 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46746 if test "x$ac_cv_func_sincosl" = xyes; then :
46747 cat >>confdefs.h <<_ACEOF
46748 #define HAVE_SINCOSL 1
46749 _ACEOF
46752 done
46754 else
46756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46757 $as_echo_n "checking for _sincosl declaration... " >&6; }
46758 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46759 if ${glibcxx_cv_func__sincosl_use+:} false; then :
46760 $as_echo_n "(cached) " >&6
46761 else
46764 ac_ext=cpp
46765 ac_cpp='$CXXCPP $CPPFLAGS'
46766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46771 /* end confdefs.h. */
46772 #include <math.h>
46774 main ()
46776 _sincosl(0, 0, 0);
46778 return 0;
46780 _ACEOF
46781 if ac_fn_cxx_try_compile "$LINENO"; then :
46782 glibcxx_cv_func__sincosl_use=yes
46783 else
46784 glibcxx_cv_func__sincosl_use=no
46786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46787 ac_ext=c
46788 ac_cpp='$CPP $CPPFLAGS'
46789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46798 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46800 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46801 for ac_func in _sincosl
46802 do :
46803 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46804 if test "x$ac_cv_func__sincosl" = xyes; then :
46805 cat >>confdefs.h <<_ACEOF
46806 #define HAVE__SINCOSL 1
46807 _ACEOF
46810 done
46819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46820 $as_echo_n "checking for finitel declaration... " >&6; }
46821 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46822 if ${glibcxx_cv_func_finitel_use+:} false; then :
46823 $as_echo_n "(cached) " >&6
46824 else
46827 ac_ext=cpp
46828 ac_cpp='$CXXCPP $CPPFLAGS'
46829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46834 /* end confdefs.h. */
46835 #include <math.h>
46836 #ifdef HAVE_IEEEFP_H
46837 #include <ieeefp.h>
46838 #endif
46841 main ()
46843 finitel(0);
46845 return 0;
46847 _ACEOF
46848 if ac_fn_cxx_try_compile "$LINENO"; then :
46849 glibcxx_cv_func_finitel_use=yes
46850 else
46851 glibcxx_cv_func_finitel_use=no
46853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46854 ac_ext=c
46855 ac_cpp='$CPP $CPPFLAGS'
46856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
46865 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
46867 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46868 for ac_func in finitel
46869 do :
46870 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
46871 if test "x$ac_cv_func_finitel" = xyes; then :
46872 cat >>confdefs.h <<_ACEOF
46873 #define HAVE_FINITEL 1
46874 _ACEOF
46877 done
46879 else
46881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
46882 $as_echo_n "checking for _finitel declaration... " >&6; }
46883 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46884 if ${glibcxx_cv_func__finitel_use+:} false; then :
46885 $as_echo_n "(cached) " >&6
46886 else
46889 ac_ext=cpp
46890 ac_cpp='$CXXCPP $CPPFLAGS'
46891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46896 /* end confdefs.h. */
46897 #include <math.h>
46898 #ifdef HAVE_IEEEFP_H
46899 #include <ieeefp.h>
46900 #endif
46903 main ()
46905 _finitel(0);
46907 return 0;
46909 _ACEOF
46910 if ac_fn_cxx_try_compile "$LINENO"; then :
46911 glibcxx_cv_func__finitel_use=yes
46912 else
46913 glibcxx_cv_func__finitel_use=no
46915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46916 ac_ext=c
46917 ac_cpp='$CPP $CPPFLAGS'
46918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
46927 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
46929 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
46930 for ac_func in _finitel
46931 do :
46932 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
46933 if test "x$ac_cv_func__finitel" = xyes; then :
46934 cat >>confdefs.h <<_ACEOF
46935 #define HAVE__FINITEL 1
46936 _ACEOF
46939 done
46947 LIBS="$ac_save_LIBS"
46948 CXXFLAGS="$ac_save_CXXFLAGS"
46951 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46952 ac_save_CXXFLAGS="$CXXFLAGS"
46953 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
46957 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
46958 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
46959 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
46960 $as_echo_n "(cached) " >&6
46961 else
46964 ac_ext=cpp
46965 ac_cpp='$CXXCPP $CPPFLAGS'
46966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46971 /* end confdefs.h. */
46972 #include <stdlib.h>
46974 main ()
46976 at_quick_exit(0);
46978 return 0;
46980 _ACEOF
46981 if ac_fn_cxx_try_compile "$LINENO"; then :
46982 glibcxx_cv_func_at_quick_exit_use=yes
46983 else
46984 glibcxx_cv_func_at_quick_exit_use=no
46986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46987 ac_ext=c
46988 ac_cpp='$CPP $CPPFLAGS'
46989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
46998 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
46999 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
47000 for ac_func in at_quick_exit
47001 do :
47002 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
47003 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
47004 cat >>confdefs.h <<_ACEOF
47005 #define HAVE_AT_QUICK_EXIT 1
47006 _ACEOF
47009 done
47014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
47015 $as_echo_n "checking for quick_exit declaration... " >&6; }
47016 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
47017 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
47018 $as_echo_n "(cached) " >&6
47019 else
47022 ac_ext=cpp
47023 ac_cpp='$CXXCPP $CPPFLAGS'
47024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47029 /* end confdefs.h. */
47030 #include <stdlib.h>
47032 main ()
47034 quick_exit(0);
47036 return 0;
47038 _ACEOF
47039 if ac_fn_cxx_try_compile "$LINENO"; then :
47040 glibcxx_cv_func_quick_exit_use=yes
47041 else
47042 glibcxx_cv_func_quick_exit_use=no
47044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47045 ac_ext=c
47046 ac_cpp='$CPP $CPPFLAGS'
47047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
47056 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
47057 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
47058 for ac_func in quick_exit
47059 do :
47060 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
47061 if test "x$ac_cv_func_quick_exit" = xyes; then :
47062 cat >>confdefs.h <<_ACEOF
47063 #define HAVE_QUICK_EXIT 1
47064 _ACEOF
47067 done
47072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
47073 $as_echo_n "checking for strtold declaration... " >&6; }
47074 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
47075 if ${glibcxx_cv_func_strtold_use+:} false; then :
47076 $as_echo_n "(cached) " >&6
47077 else
47080 ac_ext=cpp
47081 ac_cpp='$CXXCPP $CPPFLAGS'
47082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47087 /* end confdefs.h. */
47088 #include <stdlib.h>
47090 main ()
47092 strtold(0, 0);
47094 return 0;
47096 _ACEOF
47097 if ac_fn_cxx_try_compile "$LINENO"; then :
47098 glibcxx_cv_func_strtold_use=yes
47099 else
47100 glibcxx_cv_func_strtold_use=no
47102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47103 ac_ext=c
47104 ac_cpp='$CPP $CPPFLAGS'
47105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47114 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47115 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47116 for ac_func in strtold
47117 do :
47118 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47119 if test "x$ac_cv_func_strtold" = xyes; then :
47120 cat >>confdefs.h <<_ACEOF
47121 #define HAVE_STRTOLD 1
47122 _ACEOF
47125 done
47132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47133 $as_echo_n "checking for strtof declaration... " >&6; }
47134 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47135 if ${glibcxx_cv_func_strtof_use+:} false; then :
47136 $as_echo_n "(cached) " >&6
47137 else
47140 ac_ext=cpp
47141 ac_cpp='$CXXCPP $CPPFLAGS'
47142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47147 /* end confdefs.h. */
47148 #include <stdlib.h>
47150 main ()
47152 strtof(0, 0);
47154 return 0;
47156 _ACEOF
47157 if ac_fn_cxx_try_compile "$LINENO"; then :
47158 glibcxx_cv_func_strtof_use=yes
47159 else
47160 glibcxx_cv_func_strtof_use=no
47162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47163 ac_ext=c
47164 ac_cpp='$CPP $CPPFLAGS'
47165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47174 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47175 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47176 for ac_func in strtof
47177 do :
47178 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47179 if test "x$ac_cv_func_strtof" = xyes; then :
47180 cat >>confdefs.h <<_ACEOF
47181 #define HAVE_STRTOF 1
47182 _ACEOF
47185 done
47192 CXXFLAGS="$ac_save_CXXFLAGS"
47195 for ac_func in uselocale
47196 do :
47197 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
47198 if test "x$ac_cv_func_uselocale" = xyes; then :
47199 cat >>confdefs.h <<_ACEOF
47200 #define HAVE_USELOCALE 1
47201 _ACEOF
47204 done
47208 *djgpp)
47209 # GLIBCXX_CHECK_MATH_SUPPORT
47210 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47212 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47214 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47216 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
47218 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47222 *-freebsd*)
47223 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47226 # If we're not using GNU ld, then there's no point in even trying these
47227 # tests. Check for that first. We should have already tested for gld
47228 # by now (in libtool), but require it now just to be safe...
47229 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47230 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47234 # The name set by libtool depends on the version of libtool. Shame on us
47235 # for depending on an impl detail, but c'est la vie. Older versions used
47236 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47237 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47238 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
47239 # set (hence we're using an older libtool), then set it.
47240 if test x${with_gnu_ld+set} != xset; then
47241 if test x${ac_cv_prog_gnu_ld+set} != xset; then
47242 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
47243 with_gnu_ld=no
47244 else
47245 with_gnu_ld=$ac_cv_prog_gnu_ld
47249 # Start by getting the version number. I think the libtool test already
47250 # does some of this, but throws away the result.
47251 glibcxx_ld_is_gold=no
47252 glibcxx_ld_is_mold=no
47253 if test x"$with_gnu_ld" = x"yes"; then
47254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47255 $as_echo_n "checking for ld version... " >&6; }
47257 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47258 glibcxx_ld_is_gold=yes
47259 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
47260 glibcxx_ld_is_mold=yes
47262 ldver=`$LD --version 2>/dev/null |
47263 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47265 glibcxx_gnu_ld_version=`echo $ldver | \
47266 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47268 $as_echo "$glibcxx_gnu_ld_version" >&6; }
47271 # Set --gc-sections.
47272 glibcxx_have_gc_sections=no
47273 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
47274 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47275 glibcxx_have_gc_sections=yes
47277 else
47278 glibcxx_gcsections_min_ld=21602
47279 if test x"$with_gnu_ld" = x"yes" &&
47280 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47281 glibcxx_have_gc_sections=yes
47284 if test "$glibcxx_have_gc_sections" = "yes"; then
47285 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
47286 # NB: This flag only works reliably after 2.16.1. Configure tests
47287 # for this are difficult, so hard wire a value that should work.
47289 ac_test_CFLAGS="${CFLAGS+set}"
47290 ac_save_CFLAGS="$CFLAGS"
47291 CFLAGS='-Wl,--gc-sections'
47293 # Check for -Wl,--gc-sections
47294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47295 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47296 if test x$gcc_no_link = xyes; then
47297 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47300 /* end confdefs.h. */
47301 int one(void) { return 1; }
47302 int two(void) { return 2; }
47305 main ()
47307 two();
47309 return 0;
47311 _ACEOF
47312 if ac_fn_c_try_link "$LINENO"; then :
47313 ac_gcsections=yes
47314 else
47315 ac_gcsections=no
47317 rm -f core conftest.err conftest.$ac_objext \
47318 conftest$ac_exeext conftest.$ac_ext
47319 if test "$ac_gcsections" = "yes"; then
47320 rm -f conftest.c
47321 touch conftest.c
47322 if $CC -c conftest.c; then
47323 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
47324 grep "Warning: gc-sections option ignored" > /dev/null; then
47325 ac_gcsections=no
47328 rm -f conftest.c conftest.o conftest
47330 if test "$ac_gcsections" = "yes"; then
47331 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
47334 $as_echo "$ac_gcsections" >&6; }
47336 if test "$ac_test_CFLAGS" = set; then
47337 CFLAGS="$ac_save_CFLAGS"
47338 else
47339 # this is the suspicious part
47340 CFLAGS=''
47344 # Set -z,relro.
47345 # Note this is only for shared objects.
47346 ac_ld_relro=no
47347 if test x"$with_gnu_ld" = x"yes"; then
47348 # cygwin and mingw uses PE, which has no ELF relro support,
47349 # multi target ld may confuse configure machinery
47350 case "$host" in
47351 *-*-cygwin*)
47353 *-*-mingw*)
47356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
47357 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
47358 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
47359 if test -n "$cxx_z_relo"; then
47360 OPT_LDFLAGS="-Wl,-z,relro"
47361 ac_ld_relro=yes
47363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
47364 $as_echo "$ac_ld_relro" >&6; }
47365 esac
47368 # Set linker optimization flags.
47369 if test x"$with_gnu_ld" = x"yes"; then
47370 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
47376 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
47378 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
47380 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47382 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47384 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47386 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
47388 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47390 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47392 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
47395 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
47397 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
47399 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
47401 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
47403 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
47405 $as_echo "#define HAVE_COSF 1" >>confdefs.h
47407 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
47409 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
47411 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
47413 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
47415 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
47417 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47419 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
47421 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
47423 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
47425 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
47427 $as_echo "#define HAVE_POWF 1" >>confdefs.h
47429 $as_echo "#define HAVE_SINF 1" >>confdefs.h
47431 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
47433 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
47435 $as_echo "#define HAVE_TANF 1" >>confdefs.h
47437 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
47439 if test x"long_double_math_on_this_cpu" = x"yes"; then
47440 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
47442 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
47444 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
47447 for ac_func in __cxa_thread_atexit
47448 do :
47449 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
47450 if test "x$ac_cv_func___cxa_thread_atexit" = xyes; then :
47451 cat >>confdefs.h <<_ACEOF
47452 #define HAVE___CXA_THREAD_ATEXIT 1
47453 _ACEOF
47456 done
47458 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
47459 do :
47460 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47461 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47462 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
47463 cat >>confdefs.h <<_ACEOF
47464 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47465 _ACEOF
47468 done
47470 for ac_func in timespec_get
47471 do :
47472 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
47473 if test "x$ac_cv_func_timespec_get" = xyes; then :
47474 cat >>confdefs.h <<_ACEOF
47475 #define HAVE_TIMESPEC_GET 1
47476 _ACEOF
47479 done
47481 for ac_func in sockatmark
47482 do :
47483 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
47484 if test "x$ac_cv_func_sockatmark" = xyes; then :
47485 cat >>confdefs.h <<_ACEOF
47486 #define HAVE_SOCKATMARK 1
47487 _ACEOF
47490 done
47492 for ac_func in uselocale
47493 do :
47494 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
47495 if test "x$ac_cv_func_uselocale" = xyes; then :
47496 cat >>confdefs.h <<_ACEOF
47497 #define HAVE_USELOCALE 1
47498 _ACEOF
47501 done
47505 *-fuchsia*)
47506 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47510 *-hpux*)
47511 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47514 # If we're not using GNU ld, then there's no point in even trying these
47515 # tests. Check for that first. We should have already tested for gld
47516 # by now (in libtool), but require it now just to be safe...
47517 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47518 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47522 # The name set by libtool depends on the version of libtool. Shame on us
47523 # for depending on an impl detail, but c'est la vie. Older versions used
47524 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47525 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47526 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
47527 # set (hence we're using an older libtool), then set it.
47528 if test x${with_gnu_ld+set} != xset; then
47529 if test x${ac_cv_prog_gnu_ld+set} != xset; then
47530 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
47531 with_gnu_ld=no
47532 else
47533 with_gnu_ld=$ac_cv_prog_gnu_ld
47537 # Start by getting the version number. I think the libtool test already
47538 # does some of this, but throws away the result.
47539 glibcxx_ld_is_gold=no
47540 glibcxx_ld_is_mold=no
47541 if test x"$with_gnu_ld" = x"yes"; then
47542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47543 $as_echo_n "checking for ld version... " >&6; }
47545 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47546 glibcxx_ld_is_gold=yes
47547 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
47548 glibcxx_ld_is_mold=yes
47550 ldver=`$LD --version 2>/dev/null |
47551 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47553 glibcxx_gnu_ld_version=`echo $ldver | \
47554 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47556 $as_echo "$glibcxx_gnu_ld_version" >&6; }
47559 # Set --gc-sections.
47560 glibcxx_have_gc_sections=no
47561 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
47562 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47563 glibcxx_have_gc_sections=yes
47565 else
47566 glibcxx_gcsections_min_ld=21602
47567 if test x"$with_gnu_ld" = x"yes" &&
47568 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47569 glibcxx_have_gc_sections=yes
47572 if test "$glibcxx_have_gc_sections" = "yes"; then
47573 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
47574 # NB: This flag only works reliably after 2.16.1. Configure tests
47575 # for this are difficult, so hard wire a value that should work.
47577 ac_test_CFLAGS="${CFLAGS+set}"
47578 ac_save_CFLAGS="$CFLAGS"
47579 CFLAGS='-Wl,--gc-sections'
47581 # Check for -Wl,--gc-sections
47582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47583 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47584 if test x$gcc_no_link = xyes; then
47585 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47588 /* end confdefs.h. */
47589 int one(void) { return 1; }
47590 int two(void) { return 2; }
47593 main ()
47595 two();
47597 return 0;
47599 _ACEOF
47600 if ac_fn_c_try_link "$LINENO"; then :
47601 ac_gcsections=yes
47602 else
47603 ac_gcsections=no
47605 rm -f core conftest.err conftest.$ac_objext \
47606 conftest$ac_exeext conftest.$ac_ext
47607 if test "$ac_gcsections" = "yes"; then
47608 rm -f conftest.c
47609 touch conftest.c
47610 if $CC -c conftest.c; then
47611 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
47612 grep "Warning: gc-sections option ignored" > /dev/null; then
47613 ac_gcsections=no
47616 rm -f conftest.c conftest.o conftest
47618 if test "$ac_gcsections" = "yes"; then
47619 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
47622 $as_echo "$ac_gcsections" >&6; }
47624 if test "$ac_test_CFLAGS" = set; then
47625 CFLAGS="$ac_save_CFLAGS"
47626 else
47627 # this is the suspicious part
47628 CFLAGS=''
47632 # Set -z,relro.
47633 # Note this is only for shared objects.
47634 ac_ld_relro=no
47635 if test x"$with_gnu_ld" = x"yes"; then
47636 # cygwin and mingw uses PE, which has no ELF relro support,
47637 # multi target ld may confuse configure machinery
47638 case "$host" in
47639 *-*-cygwin*)
47641 *-*-mingw*)
47644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
47645 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
47646 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
47647 if test -n "$cxx_z_relo"; then
47648 OPT_LDFLAGS="-Wl,-z,relro"
47649 ac_ld_relro=yes
47651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
47652 $as_echo "$ac_ld_relro" >&6; }
47653 esac
47656 # Set linker optimization flags.
47657 if test x"$with_gnu_ld" = x"yes"; then
47658 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
47665 # GLIBCXX_CHECK_MATH_SUPPORT
47666 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47668 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47670 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
47672 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
47674 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
47676 $as_echo "#define HAVE_COSF 1" >>confdefs.h
47678 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
47680 $as_echo "#define HAVE_SINF 1" >>confdefs.h
47682 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
47684 $as_echo "#define HAVE_TANF 1" >>confdefs.h
47686 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
47688 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
47690 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
47692 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
47694 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
47696 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47698 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
47700 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
47702 $as_echo "#define HAVE_MODF 1" >>confdefs.h
47704 $as_echo "#define HAVE_POWF 1" >>confdefs.h
47706 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
47709 # GLIBCXX_CHECK_STDLIB_SUPPORT
47710 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
47715 # Check whether --enable-tls was given.
47716 if test "${enable_tls+set}" = set; then :
47717 enableval=$enable_tls;
47718 case "$enableval" in
47719 yes|no) ;;
47720 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
47721 esac
47723 else
47724 enable_tls=yes
47728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
47729 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
47730 if ${gcc_cv_have_tls+:} false; then :
47731 $as_echo_n "(cached) " >&6
47732 else
47734 if test "$cross_compiling" = yes; then :
47735 if test x$gcc_no_link = xyes; then
47736 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47739 /* end confdefs.h. */
47740 __thread int a; int b; int main() { return a = b; }
47741 _ACEOF
47742 if ac_fn_c_try_link "$LINENO"; then :
47743 chktls_save_LDFLAGS="$LDFLAGS"
47744 case $host in
47745 *-*-linux* | -*-uclinuxfdpic*)
47746 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
47748 esac
47749 chktls_save_CFLAGS="$CFLAGS"
47750 CFLAGS="-fPIC $CFLAGS"
47751 if test x$gcc_no_link = xyes; then
47752 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47755 /* end confdefs.h. */
47756 int f() { return 0; }
47757 _ACEOF
47758 if ac_fn_c_try_link "$LINENO"; then :
47759 if test x$gcc_no_link = xyes; then
47760 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47763 /* end confdefs.h. */
47764 __thread int a; int b; int f() { return a = b; }
47765 _ACEOF
47766 if ac_fn_c_try_link "$LINENO"; then :
47767 gcc_cv_have_tls=yes
47768 else
47769 gcc_cv_have_tls=no
47771 rm -f core conftest.err conftest.$ac_objext \
47772 conftest$ac_exeext conftest.$ac_ext
47773 else
47774 gcc_cv_have_tls=yes
47776 rm -f core conftest.err conftest.$ac_objext \
47777 conftest$ac_exeext conftest.$ac_ext
47778 CFLAGS="$chktls_save_CFLAGS"
47779 LDFLAGS="$chktls_save_LDFLAGS"
47780 else
47781 gcc_cv_have_tls=no
47783 rm -f core conftest.err conftest.$ac_objext \
47784 conftest$ac_exeext conftest.$ac_ext
47787 else
47788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47789 /* end confdefs.h. */
47790 __thread int a; int b; int main() { return a = b; }
47791 _ACEOF
47792 if ac_fn_c_try_run "$LINENO"; then :
47793 chktls_save_LDFLAGS="$LDFLAGS"
47794 LDFLAGS="-static $LDFLAGS"
47795 if test x$gcc_no_link = xyes; then
47796 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47799 /* end confdefs.h. */
47800 int main() { return 0; }
47801 _ACEOF
47802 if ac_fn_c_try_link "$LINENO"; then :
47803 if test "$cross_compiling" = yes; then :
47804 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
47805 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
47806 as_fn_error $? "cannot run test program while cross compiling
47807 See \`config.log' for more details" "$LINENO" 5; }
47808 else
47809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47810 /* end confdefs.h. */
47811 __thread int a; int b; int main() { return a = b; }
47812 _ACEOF
47813 if ac_fn_c_try_run "$LINENO"; then :
47814 gcc_cv_have_tls=yes
47815 else
47816 gcc_cv_have_tls=no
47818 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47819 conftest.$ac_objext conftest.beam conftest.$ac_ext
47822 else
47823 gcc_cv_have_tls=yes
47825 rm -f core conftest.err conftest.$ac_objext \
47826 conftest$ac_exeext conftest.$ac_ext
47827 LDFLAGS="$chktls_save_LDFLAGS"
47828 if test $gcc_cv_have_tls = yes; then
47829 chktls_save_CFLAGS="$CFLAGS"
47830 thread_CFLAGS=failed
47831 for flag in '' '-pthread' '-lpthread'; do
47832 CFLAGS="$flag $chktls_save_CFLAGS"
47833 if test x$gcc_no_link = xyes; then
47834 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47837 /* end confdefs.h. */
47838 #include <pthread.h>
47839 void *g(void *d) { return NULL; }
47841 main ()
47843 pthread_t t; pthread_create(&t,NULL,g,NULL);
47845 return 0;
47847 _ACEOF
47848 if ac_fn_c_try_link "$LINENO"; then :
47849 thread_CFLAGS="$flag"
47851 rm -f core conftest.err conftest.$ac_objext \
47852 conftest$ac_exeext conftest.$ac_ext
47853 if test "X$thread_CFLAGS" != Xfailed; then
47854 break
47856 done
47857 CFLAGS="$chktls_save_CFLAGS"
47858 if test "X$thread_CFLAGS" != Xfailed; then
47859 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
47860 if test "$cross_compiling" = yes; then :
47861 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
47862 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
47863 as_fn_error $? "cannot run test program while cross compiling
47864 See \`config.log' for more details" "$LINENO" 5; }
47865 else
47866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47867 /* end confdefs.h. */
47868 #include <pthread.h>
47869 __thread int a;
47870 static int *volatile a_in_other_thread;
47871 static void *
47872 thread_func (void *arg)
47874 a_in_other_thread = &a;
47875 return (void *)0;
47878 main ()
47880 pthread_t thread;
47881 void *thread_retval;
47882 int *volatile a_in_main_thread;
47883 a_in_main_thread = &a;
47884 if (pthread_create (&thread, (pthread_attr_t *)0,
47885 thread_func, (void *)0))
47886 return 0;
47887 if (pthread_join (thread, &thread_retval))
47888 return 0;
47889 return (a_in_other_thread == a_in_main_thread);
47891 return 0;
47893 _ACEOF
47894 if ac_fn_c_try_run "$LINENO"; then :
47895 gcc_cv_have_tls=yes
47896 else
47897 gcc_cv_have_tls=no
47899 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47900 conftest.$ac_objext conftest.beam conftest.$ac_ext
47903 CFLAGS="$chktls_save_CFLAGS"
47906 else
47907 gcc_cv_have_tls=no
47909 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47910 conftest.$ac_objext conftest.beam conftest.$ac_ext
47914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
47915 $as_echo "$gcc_cv_have_tls" >&6; }
47916 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
47918 $as_echo "#define HAVE_TLS 1" >>confdefs.h
47921 case "$target" in
47922 *-hpux10*)
47923 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47925 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
47927 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
47929 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47931 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
47934 esac
47936 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
47938 # All these tests are for C++; save the language and the compiler flags.
47939 # The CXXFLAGS thing is suspicious, but based on similar bits previously
47940 # found in GLIBCXX_CONFIGURE.
47942 ac_ext=cpp
47943 ac_cpp='$CXXCPP $CPPFLAGS'
47944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47948 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47949 ac_save_CXXFLAGS="$CXXFLAGS"
47951 # Check for -ffunction-sections -fdata-sections
47952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
47953 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
47954 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
47955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47956 /* end confdefs.h. */
47957 int foo; void bar() { };
47959 main ()
47963 return 0;
47965 _ACEOF
47966 if ac_fn_cxx_try_compile "$LINENO"; then :
47967 ac_fdsections=yes
47968 else
47969 ac_fdsections=no
47971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47972 if test "$ac_test_CXXFLAGS" = set; then
47973 CXXFLAGS="$ac_save_CXXFLAGS"
47974 else
47975 # this is the suspicious part
47976 CXXFLAGS=''
47978 if test x"$ac_fdsections" = x"yes"; then
47979 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
47982 $as_echo "$ac_fdsections" >&6; }
47984 ac_ext=c
47985 ac_cpp='$CPP $CPPFLAGS'
47986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47993 # If we're not using GNU ld, then there's no point in even trying these
47994 # tests. Check for that first. We should have already tested for gld
47995 # by now (in libtool), but require it now just to be safe...
47996 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47997 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
48001 # The name set by libtool depends on the version of libtool. Shame on us
48002 # for depending on an impl detail, but c'est la vie. Older versions used
48003 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
48004 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
48005 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
48006 # set (hence we're using an older libtool), then set it.
48007 if test x${with_gnu_ld+set} != xset; then
48008 if test x${ac_cv_prog_gnu_ld+set} != xset; then
48009 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
48010 with_gnu_ld=no
48011 else
48012 with_gnu_ld=$ac_cv_prog_gnu_ld
48016 # Start by getting the version number. I think the libtool test already
48017 # does some of this, but throws away the result.
48018 glibcxx_ld_is_gold=no
48019 glibcxx_ld_is_mold=no
48020 if test x"$with_gnu_ld" = x"yes"; then
48021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
48022 $as_echo_n "checking for ld version... " >&6; }
48024 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
48025 glibcxx_ld_is_gold=yes
48026 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
48027 glibcxx_ld_is_mold=yes
48029 ldver=`$LD --version 2>/dev/null |
48030 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
48032 glibcxx_gnu_ld_version=`echo $ldver | \
48033 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
48034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
48035 $as_echo "$glibcxx_gnu_ld_version" >&6; }
48038 # Set --gc-sections.
48039 glibcxx_have_gc_sections=no
48040 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
48041 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
48042 glibcxx_have_gc_sections=yes
48044 else
48045 glibcxx_gcsections_min_ld=21602
48046 if test x"$with_gnu_ld" = x"yes" &&
48047 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
48048 glibcxx_have_gc_sections=yes
48051 if test "$glibcxx_have_gc_sections" = "yes"; then
48052 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
48053 # NB: This flag only works reliably after 2.16.1. Configure tests
48054 # for this are difficult, so hard wire a value that should work.
48056 ac_test_CFLAGS="${CFLAGS+set}"
48057 ac_save_CFLAGS="$CFLAGS"
48058 CFLAGS='-Wl,--gc-sections'
48060 # Check for -Wl,--gc-sections
48061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
48062 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
48063 if test x$gcc_no_link = xyes; then
48064 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48067 /* end confdefs.h. */
48068 int one(void) { return 1; }
48069 int two(void) { return 2; }
48072 main ()
48074 two();
48076 return 0;
48078 _ACEOF
48079 if ac_fn_c_try_link "$LINENO"; then :
48080 ac_gcsections=yes
48081 else
48082 ac_gcsections=no
48084 rm -f core conftest.err conftest.$ac_objext \
48085 conftest$ac_exeext conftest.$ac_ext
48086 if test "$ac_gcsections" = "yes"; then
48087 rm -f conftest.c
48088 touch conftest.c
48089 if $CC -c conftest.c; then
48090 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
48091 grep "Warning: gc-sections option ignored" > /dev/null; then
48092 ac_gcsections=no
48095 rm -f conftest.c conftest.o conftest
48097 if test "$ac_gcsections" = "yes"; then
48098 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
48100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
48101 $as_echo "$ac_gcsections" >&6; }
48103 if test "$ac_test_CFLAGS" = set; then
48104 CFLAGS="$ac_save_CFLAGS"
48105 else
48106 # this is the suspicious part
48107 CFLAGS=''
48111 # Set -z,relro.
48112 # Note this is only for shared objects.
48113 ac_ld_relro=no
48114 if test x"$with_gnu_ld" = x"yes"; then
48115 # cygwin and mingw uses PE, which has no ELF relro support,
48116 # multi target ld may confuse configure machinery
48117 case "$host" in
48118 *-*-cygwin*)
48120 *-*-mingw*)
48123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
48124 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
48125 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
48126 if test -n "$cxx_z_relo"; then
48127 OPT_LDFLAGS="-Wl,-z,relro"
48128 ac_ld_relro=yes
48130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
48131 $as_echo "$ac_ld_relro" >&6; }
48132 esac
48135 # Set linker optimization flags.
48136 if test x"$with_gnu_ld" = x"yes"; then
48137 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
48144 ac_test_CXXFLAGS="${CXXFLAGS+set}"
48145 ac_save_CXXFLAGS="$CXXFLAGS"
48146 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
48148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
48149 $as_echo_n "checking for sin in -lm... " >&6; }
48150 if ${ac_cv_lib_m_sin+:} false; then :
48151 $as_echo_n "(cached) " >&6
48152 else
48153 ac_check_lib_save_LIBS=$LIBS
48154 LIBS="-lm $LIBS"
48155 if test x$gcc_no_link = xyes; then
48156 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48159 /* end confdefs.h. */
48161 /* Override any GCC internal prototype to avoid an error.
48162 Use char because int might match the return type of a GCC
48163 builtin and then its argument prototype would still apply. */
48164 #ifdef __cplusplus
48165 extern "C"
48166 #endif
48167 char sin ();
48169 main ()
48171 return sin ();
48173 return 0;
48175 _ACEOF
48176 if ac_fn_c_try_link "$LINENO"; then :
48177 ac_cv_lib_m_sin=yes
48178 else
48179 ac_cv_lib_m_sin=no
48181 rm -f core conftest.err conftest.$ac_objext \
48182 conftest$ac_exeext conftest.$ac_ext
48183 LIBS=$ac_check_lib_save_LIBS
48185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
48186 $as_echo "$ac_cv_lib_m_sin" >&6; }
48187 if test "x$ac_cv_lib_m_sin" = xyes; then :
48188 libm="-lm"
48191 ac_save_LIBS="$LIBS"
48192 LIBS="$LIBS $libm"
48196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
48197 $as_echo_n "checking for isinf declaration... " >&6; }
48198 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
48199 if ${glibcxx_cv_func_isinf_use+:} false; then :
48200 $as_echo_n "(cached) " >&6
48201 else
48204 ac_ext=cpp
48205 ac_cpp='$CXXCPP $CPPFLAGS'
48206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48211 /* end confdefs.h. */
48212 #include <math.h>
48213 #ifdef HAVE_IEEEFP_H
48214 #include <ieeefp.h>
48215 #endif
48218 main ()
48220 isinf(0);
48222 return 0;
48224 _ACEOF
48225 if ac_fn_cxx_try_compile "$LINENO"; then :
48226 glibcxx_cv_func_isinf_use=yes
48227 else
48228 glibcxx_cv_func_isinf_use=no
48230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48231 ac_ext=c
48232 ac_cpp='$CPP $CPPFLAGS'
48233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
48242 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
48244 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
48245 for ac_func in isinf
48246 do :
48247 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
48248 if test "x$ac_cv_func_isinf" = xyes; then :
48249 cat >>confdefs.h <<_ACEOF
48250 #define HAVE_ISINF 1
48251 _ACEOF
48254 done
48256 else
48258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
48259 $as_echo_n "checking for _isinf declaration... " >&6; }
48260 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
48261 if ${glibcxx_cv_func__isinf_use+:} false; then :
48262 $as_echo_n "(cached) " >&6
48263 else
48266 ac_ext=cpp
48267 ac_cpp='$CXXCPP $CPPFLAGS'
48268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48273 /* end confdefs.h. */
48274 #include <math.h>
48275 #ifdef HAVE_IEEEFP_H
48276 #include <ieeefp.h>
48277 #endif
48280 main ()
48282 _isinf(0);
48284 return 0;
48286 _ACEOF
48287 if ac_fn_cxx_try_compile "$LINENO"; then :
48288 glibcxx_cv_func__isinf_use=yes
48289 else
48290 glibcxx_cv_func__isinf_use=no
48292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48293 ac_ext=c
48294 ac_cpp='$CPP $CPPFLAGS'
48295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
48304 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
48306 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
48307 for ac_func in _isinf
48308 do :
48309 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
48310 if test "x$ac_cv_func__isinf" = xyes; then :
48311 cat >>confdefs.h <<_ACEOF
48312 #define HAVE__ISINF 1
48313 _ACEOF
48316 done
48325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
48326 $as_echo_n "checking for isnan declaration... " >&6; }
48327 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
48328 if ${glibcxx_cv_func_isnan_use+:} false; then :
48329 $as_echo_n "(cached) " >&6
48330 else
48333 ac_ext=cpp
48334 ac_cpp='$CXXCPP $CPPFLAGS'
48335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48340 /* end confdefs.h. */
48341 #include <math.h>
48342 #ifdef HAVE_IEEEFP_H
48343 #include <ieeefp.h>
48344 #endif
48347 main ()
48349 isnan(0);
48351 return 0;
48353 _ACEOF
48354 if ac_fn_cxx_try_compile "$LINENO"; then :
48355 glibcxx_cv_func_isnan_use=yes
48356 else
48357 glibcxx_cv_func_isnan_use=no
48359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48360 ac_ext=c
48361 ac_cpp='$CPP $CPPFLAGS'
48362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
48371 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
48373 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
48374 for ac_func in isnan
48375 do :
48376 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
48377 if test "x$ac_cv_func_isnan" = xyes; then :
48378 cat >>confdefs.h <<_ACEOF
48379 #define HAVE_ISNAN 1
48380 _ACEOF
48383 done
48385 else
48387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
48388 $as_echo_n "checking for _isnan declaration... " >&6; }
48389 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
48390 if ${glibcxx_cv_func__isnan_use+:} false; then :
48391 $as_echo_n "(cached) " >&6
48392 else
48395 ac_ext=cpp
48396 ac_cpp='$CXXCPP $CPPFLAGS'
48397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48402 /* end confdefs.h. */
48403 #include <math.h>
48404 #ifdef HAVE_IEEEFP_H
48405 #include <ieeefp.h>
48406 #endif
48409 main ()
48411 _isnan(0);
48413 return 0;
48415 _ACEOF
48416 if ac_fn_cxx_try_compile "$LINENO"; then :
48417 glibcxx_cv_func__isnan_use=yes
48418 else
48419 glibcxx_cv_func__isnan_use=no
48421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48422 ac_ext=c
48423 ac_cpp='$CPP $CPPFLAGS'
48424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
48433 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
48435 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
48436 for ac_func in _isnan
48437 do :
48438 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
48439 if test "x$ac_cv_func__isnan" = xyes; then :
48440 cat >>confdefs.h <<_ACEOF
48441 #define HAVE__ISNAN 1
48442 _ACEOF
48445 done
48454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
48455 $as_echo_n "checking for finite declaration... " >&6; }
48456 if test x${glibcxx_cv_func_finite_use+set} != xset; then
48457 if ${glibcxx_cv_func_finite_use+:} false; then :
48458 $as_echo_n "(cached) " >&6
48459 else
48462 ac_ext=cpp
48463 ac_cpp='$CXXCPP $CPPFLAGS'
48464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48469 /* end confdefs.h. */
48470 #include <math.h>
48471 #ifdef HAVE_IEEEFP_H
48472 #include <ieeefp.h>
48473 #endif
48476 main ()
48478 finite(0);
48480 return 0;
48482 _ACEOF
48483 if ac_fn_cxx_try_compile "$LINENO"; then :
48484 glibcxx_cv_func_finite_use=yes
48485 else
48486 glibcxx_cv_func_finite_use=no
48488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48489 ac_ext=c
48490 ac_cpp='$CPP $CPPFLAGS'
48491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
48500 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
48502 if test x$glibcxx_cv_func_finite_use = x"yes"; then
48503 for ac_func in finite
48504 do :
48505 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
48506 if test "x$ac_cv_func_finite" = xyes; then :
48507 cat >>confdefs.h <<_ACEOF
48508 #define HAVE_FINITE 1
48509 _ACEOF
48512 done
48514 else
48516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
48517 $as_echo_n "checking for _finite declaration... " >&6; }
48518 if test x${glibcxx_cv_func__finite_use+set} != xset; then
48519 if ${glibcxx_cv_func__finite_use+:} false; then :
48520 $as_echo_n "(cached) " >&6
48521 else
48524 ac_ext=cpp
48525 ac_cpp='$CXXCPP $CPPFLAGS'
48526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48531 /* end confdefs.h. */
48532 #include <math.h>
48533 #ifdef HAVE_IEEEFP_H
48534 #include <ieeefp.h>
48535 #endif
48538 main ()
48540 _finite(0);
48542 return 0;
48544 _ACEOF
48545 if ac_fn_cxx_try_compile "$LINENO"; then :
48546 glibcxx_cv_func__finite_use=yes
48547 else
48548 glibcxx_cv_func__finite_use=no
48550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48551 ac_ext=c
48552 ac_cpp='$CPP $CPPFLAGS'
48553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
48562 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
48564 if test x$glibcxx_cv_func__finite_use = x"yes"; then
48565 for ac_func in _finite
48566 do :
48567 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
48568 if test "x$ac_cv_func__finite" = xyes; then :
48569 cat >>confdefs.h <<_ACEOF
48570 #define HAVE__FINITE 1
48571 _ACEOF
48574 done
48583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
48584 $as_echo_n "checking for sincos declaration... " >&6; }
48585 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
48586 if ${glibcxx_cv_func_sincos_use+:} false; then :
48587 $as_echo_n "(cached) " >&6
48588 else
48591 ac_ext=cpp
48592 ac_cpp='$CXXCPP $CPPFLAGS'
48593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48598 /* end confdefs.h. */
48599 #include <math.h>
48601 main ()
48603 sincos(0, 0, 0);
48605 return 0;
48607 _ACEOF
48608 if ac_fn_cxx_try_compile "$LINENO"; then :
48609 glibcxx_cv_func_sincos_use=yes
48610 else
48611 glibcxx_cv_func_sincos_use=no
48613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48614 ac_ext=c
48615 ac_cpp='$CPP $CPPFLAGS'
48616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
48625 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
48627 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
48628 for ac_func in sincos
48629 do :
48630 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
48631 if test "x$ac_cv_func_sincos" = xyes; then :
48632 cat >>confdefs.h <<_ACEOF
48633 #define HAVE_SINCOS 1
48634 _ACEOF
48637 done
48639 else
48641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
48642 $as_echo_n "checking for _sincos declaration... " >&6; }
48643 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
48644 if ${glibcxx_cv_func__sincos_use+:} false; then :
48645 $as_echo_n "(cached) " >&6
48646 else
48649 ac_ext=cpp
48650 ac_cpp='$CXXCPP $CPPFLAGS'
48651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48656 /* end confdefs.h. */
48657 #include <math.h>
48659 main ()
48661 _sincos(0, 0, 0);
48663 return 0;
48665 _ACEOF
48666 if ac_fn_cxx_try_compile "$LINENO"; then :
48667 glibcxx_cv_func__sincos_use=yes
48668 else
48669 glibcxx_cv_func__sincos_use=no
48671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48672 ac_ext=c
48673 ac_cpp='$CPP $CPPFLAGS'
48674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
48683 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
48685 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
48686 for ac_func in _sincos
48687 do :
48688 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
48689 if test "x$ac_cv_func__sincos" = xyes; then :
48690 cat >>confdefs.h <<_ACEOF
48691 #define HAVE__SINCOS 1
48692 _ACEOF
48695 done
48704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
48705 $as_echo_n "checking for fpclass declaration... " >&6; }
48706 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
48707 if ${glibcxx_cv_func_fpclass_use+:} false; then :
48708 $as_echo_n "(cached) " >&6
48709 else
48712 ac_ext=cpp
48713 ac_cpp='$CXXCPP $CPPFLAGS'
48714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48719 /* end confdefs.h. */
48720 #include <math.h>
48721 #ifdef HAVE_IEEEFP_H
48722 #include <ieeefp.h>
48723 #endif
48726 main ()
48728 fpclass(0);
48730 return 0;
48732 _ACEOF
48733 if ac_fn_cxx_try_compile "$LINENO"; then :
48734 glibcxx_cv_func_fpclass_use=yes
48735 else
48736 glibcxx_cv_func_fpclass_use=no
48738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48739 ac_ext=c
48740 ac_cpp='$CPP $CPPFLAGS'
48741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
48750 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
48752 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
48753 for ac_func in fpclass
48754 do :
48755 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
48756 if test "x$ac_cv_func_fpclass" = xyes; then :
48757 cat >>confdefs.h <<_ACEOF
48758 #define HAVE_FPCLASS 1
48759 _ACEOF
48762 done
48764 else
48766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
48767 $as_echo_n "checking for _fpclass declaration... " >&6; }
48768 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
48769 if ${glibcxx_cv_func__fpclass_use+:} false; then :
48770 $as_echo_n "(cached) " >&6
48771 else
48774 ac_ext=cpp
48775 ac_cpp='$CXXCPP $CPPFLAGS'
48776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48781 /* end confdefs.h. */
48782 #include <math.h>
48783 #ifdef HAVE_IEEEFP_H
48784 #include <ieeefp.h>
48785 #endif
48788 main ()
48790 _fpclass(0);
48792 return 0;
48794 _ACEOF
48795 if ac_fn_cxx_try_compile "$LINENO"; then :
48796 glibcxx_cv_func__fpclass_use=yes
48797 else
48798 glibcxx_cv_func__fpclass_use=no
48800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48801 ac_ext=c
48802 ac_cpp='$CPP $CPPFLAGS'
48803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
48812 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
48814 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
48815 for ac_func in _fpclass
48816 do :
48817 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
48818 if test "x$ac_cv_func__fpclass" = xyes; then :
48819 cat >>confdefs.h <<_ACEOF
48820 #define HAVE__FPCLASS 1
48821 _ACEOF
48824 done
48833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
48834 $as_echo_n "checking for qfpclass declaration... " >&6; }
48835 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
48836 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
48837 $as_echo_n "(cached) " >&6
48838 else
48841 ac_ext=cpp
48842 ac_cpp='$CXXCPP $CPPFLAGS'
48843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48848 /* end confdefs.h. */
48849 #include <math.h>
48850 #ifdef HAVE_IEEEFP_H
48851 #include <ieeefp.h>
48852 #endif
48855 main ()
48857 qfpclass(0);
48859 return 0;
48861 _ACEOF
48862 if ac_fn_cxx_try_compile "$LINENO"; then :
48863 glibcxx_cv_func_qfpclass_use=yes
48864 else
48865 glibcxx_cv_func_qfpclass_use=no
48867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48868 ac_ext=c
48869 ac_cpp='$CPP $CPPFLAGS'
48870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
48879 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
48881 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
48882 for ac_func in qfpclass
48883 do :
48884 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
48885 if test "x$ac_cv_func_qfpclass" = xyes; then :
48886 cat >>confdefs.h <<_ACEOF
48887 #define HAVE_QFPCLASS 1
48888 _ACEOF
48891 done
48893 else
48895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
48896 $as_echo_n "checking for _qfpclass declaration... " >&6; }
48897 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
48898 if ${glibcxx_cv_func__qfpclass_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 <math.h>
48912 #ifdef HAVE_IEEEFP_H
48913 #include <ieeefp.h>
48914 #endif
48917 main ()
48919 _qfpclass(0);
48921 return 0;
48923 _ACEOF
48924 if ac_fn_cxx_try_compile "$LINENO"; then :
48925 glibcxx_cv_func__qfpclass_use=yes
48926 else
48927 glibcxx_cv_func__qfpclass_use=no
48929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48930 ac_ext=c
48931 ac_cpp='$CPP $CPPFLAGS'
48932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
48941 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
48943 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
48944 for ac_func in _qfpclass
48945 do :
48946 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
48947 if test "x$ac_cv_func__qfpclass" = xyes; then :
48948 cat >>confdefs.h <<_ACEOF
48949 #define HAVE__QFPCLASS 1
48950 _ACEOF
48953 done
48962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
48963 $as_echo_n "checking for hypot declaration... " >&6; }
48964 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
48965 if ${glibcxx_cv_func_hypot_use+:} false; then :
48966 $as_echo_n "(cached) " >&6
48967 else
48970 ac_ext=cpp
48971 ac_cpp='$CXXCPP $CPPFLAGS'
48972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48977 /* end confdefs.h. */
48978 #include <math.h>
48980 main ()
48982 hypot(0, 0);
48984 return 0;
48986 _ACEOF
48987 if ac_fn_cxx_try_compile "$LINENO"; then :
48988 glibcxx_cv_func_hypot_use=yes
48989 else
48990 glibcxx_cv_func_hypot_use=no
48992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48993 ac_ext=c
48994 ac_cpp='$CPP $CPPFLAGS'
48995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
49004 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
49006 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
49007 for ac_func in hypot
49008 do :
49009 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
49010 if test "x$ac_cv_func_hypot" = xyes; then :
49011 cat >>confdefs.h <<_ACEOF
49012 #define HAVE_HYPOT 1
49013 _ACEOF
49016 done
49018 else
49020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
49021 $as_echo_n "checking for _hypot declaration... " >&6; }
49022 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
49023 if ${glibcxx_cv_func__hypot_use+:} false; then :
49024 $as_echo_n "(cached) " >&6
49025 else
49028 ac_ext=cpp
49029 ac_cpp='$CXXCPP $CPPFLAGS'
49030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49035 /* end confdefs.h. */
49036 #include <math.h>
49038 main ()
49040 _hypot(0, 0);
49042 return 0;
49044 _ACEOF
49045 if ac_fn_cxx_try_compile "$LINENO"; then :
49046 glibcxx_cv_func__hypot_use=yes
49047 else
49048 glibcxx_cv_func__hypot_use=no
49050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49051 ac_ext=c
49052 ac_cpp='$CPP $CPPFLAGS'
49053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
49062 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
49064 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
49065 for ac_func in _hypot
49066 do :
49067 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
49068 if test "x$ac_cv_func__hypot" = xyes; then :
49069 cat >>confdefs.h <<_ACEOF
49070 #define HAVE__HYPOT 1
49071 _ACEOF
49074 done
49083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
49084 $as_echo_n "checking for float trig functions... " >&6; }
49085 if ${glibcxx_cv_func_float_trig_use+:} false; then :
49086 $as_echo_n "(cached) " >&6
49087 else
49090 ac_ext=cpp
49091 ac_cpp='$CXXCPP $CPPFLAGS'
49092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49097 /* end confdefs.h. */
49098 #include <math.h>
49100 main ()
49102 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
49104 return 0;
49106 _ACEOF
49107 if ac_fn_cxx_try_compile "$LINENO"; then :
49108 glibcxx_cv_func_float_trig_use=yes
49109 else
49110 glibcxx_cv_func_float_trig_use=no
49112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49113 ac_ext=c
49114 ac_cpp='$CPP $CPPFLAGS'
49115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
49122 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
49123 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
49124 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
49125 do :
49126 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49127 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49128 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49129 cat >>confdefs.h <<_ACEOF
49130 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49131 _ACEOF
49134 done
49136 else
49137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
49138 $as_echo_n "checking for _float trig functions... " >&6; }
49139 if ${glibcxx_cv_func__float_trig_use+:} false; then :
49140 $as_echo_n "(cached) " >&6
49141 else
49144 ac_ext=cpp
49145 ac_cpp='$CXXCPP $CPPFLAGS'
49146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49151 /* end confdefs.h. */
49152 #include <math.h>
49154 main ()
49156 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
49158 return 0;
49160 _ACEOF
49161 if ac_fn_cxx_try_compile "$LINENO"; then :
49162 glibcxx_cv_func__float_trig_use=yes
49163 else
49164 glibcxx_cv_func__float_trig_use=no
49166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49167 ac_ext=c
49168 ac_cpp='$CPP $CPPFLAGS'
49169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
49176 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
49177 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
49178 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
49179 do :
49180 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49181 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49182 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49183 cat >>confdefs.h <<_ACEOF
49184 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49185 _ACEOF
49188 done
49197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
49198 $as_echo_n "checking for float round functions... " >&6; }
49199 if ${glibcxx_cv_func_float_round_use+:} false; then :
49200 $as_echo_n "(cached) " >&6
49201 else
49204 ac_ext=cpp
49205 ac_cpp='$CXXCPP $CPPFLAGS'
49206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49211 /* end confdefs.h. */
49212 #include <math.h>
49214 main ()
49216 ceilf (0); floorf (0);
49218 return 0;
49220 _ACEOF
49221 if ac_fn_cxx_try_compile "$LINENO"; then :
49222 glibcxx_cv_func_float_round_use=yes
49223 else
49224 glibcxx_cv_func_float_round_use=no
49226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49227 ac_ext=c
49228 ac_cpp='$CPP $CPPFLAGS'
49229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
49236 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
49237 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
49238 for ac_func in ceilf floorf
49239 do :
49240 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49241 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49242 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49243 cat >>confdefs.h <<_ACEOF
49244 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49245 _ACEOF
49248 done
49250 else
49251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
49252 $as_echo_n "checking for _float round functions... " >&6; }
49253 if ${glibcxx_cv_func__float_round_use+:} false; then :
49254 $as_echo_n "(cached) " >&6
49255 else
49258 ac_ext=cpp
49259 ac_cpp='$CXXCPP $CPPFLAGS'
49260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49265 /* end confdefs.h. */
49266 #include <math.h>
49268 main ()
49270 _ceilf (0); _floorf (0);
49272 return 0;
49274 _ACEOF
49275 if ac_fn_cxx_try_compile "$LINENO"; then :
49276 glibcxx_cv_func__float_round_use=yes
49277 else
49278 glibcxx_cv_func__float_round_use=no
49280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49281 ac_ext=c
49282 ac_cpp='$CPP $CPPFLAGS'
49283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
49290 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
49291 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
49292 for ac_func in _ceilf _floorf
49293 do :
49294 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49295 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49296 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49297 cat >>confdefs.h <<_ACEOF
49298 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49299 _ACEOF
49302 done
49312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
49313 $as_echo_n "checking for expf declaration... " >&6; }
49314 if test x${glibcxx_cv_func_expf_use+set} != xset; then
49315 if ${glibcxx_cv_func_expf_use+:} false; then :
49316 $as_echo_n "(cached) " >&6
49317 else
49320 ac_ext=cpp
49321 ac_cpp='$CXXCPP $CPPFLAGS'
49322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49327 /* end confdefs.h. */
49328 #include <math.h>
49329 #ifdef HAVE_IEEEFP_H
49330 #include <ieeefp.h>
49331 #endif
49334 main ()
49336 expf(0);
49338 return 0;
49340 _ACEOF
49341 if ac_fn_cxx_try_compile "$LINENO"; then :
49342 glibcxx_cv_func_expf_use=yes
49343 else
49344 glibcxx_cv_func_expf_use=no
49346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49347 ac_ext=c
49348 ac_cpp='$CPP $CPPFLAGS'
49349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
49358 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
49360 if test x$glibcxx_cv_func_expf_use = x"yes"; then
49361 for ac_func in expf
49362 do :
49363 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
49364 if test "x$ac_cv_func_expf" = xyes; then :
49365 cat >>confdefs.h <<_ACEOF
49366 #define HAVE_EXPF 1
49367 _ACEOF
49370 done
49372 else
49374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
49375 $as_echo_n "checking for _expf declaration... " >&6; }
49376 if test x${glibcxx_cv_func__expf_use+set} != xset; then
49377 if ${glibcxx_cv_func__expf_use+:} false; then :
49378 $as_echo_n "(cached) " >&6
49379 else
49382 ac_ext=cpp
49383 ac_cpp='$CXXCPP $CPPFLAGS'
49384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49389 /* end confdefs.h. */
49390 #include <math.h>
49391 #ifdef HAVE_IEEEFP_H
49392 #include <ieeefp.h>
49393 #endif
49396 main ()
49398 _expf(0);
49400 return 0;
49402 _ACEOF
49403 if ac_fn_cxx_try_compile "$LINENO"; then :
49404 glibcxx_cv_func__expf_use=yes
49405 else
49406 glibcxx_cv_func__expf_use=no
49408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49409 ac_ext=c
49410 ac_cpp='$CPP $CPPFLAGS'
49411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
49420 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
49422 if test x$glibcxx_cv_func__expf_use = x"yes"; then
49423 for ac_func in _expf
49424 do :
49425 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
49426 if test "x$ac_cv_func__expf" = xyes; then :
49427 cat >>confdefs.h <<_ACEOF
49428 #define HAVE__EXPF 1
49429 _ACEOF
49432 done
49441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
49442 $as_echo_n "checking for isnanf declaration... " >&6; }
49443 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
49444 if ${glibcxx_cv_func_isnanf_use+:} false; then :
49445 $as_echo_n "(cached) " >&6
49446 else
49449 ac_ext=cpp
49450 ac_cpp='$CXXCPP $CPPFLAGS'
49451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49456 /* end confdefs.h. */
49457 #include <math.h>
49458 #ifdef HAVE_IEEEFP_H
49459 #include <ieeefp.h>
49460 #endif
49463 main ()
49465 isnanf(0);
49467 return 0;
49469 _ACEOF
49470 if ac_fn_cxx_try_compile "$LINENO"; then :
49471 glibcxx_cv_func_isnanf_use=yes
49472 else
49473 glibcxx_cv_func_isnanf_use=no
49475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49476 ac_ext=c
49477 ac_cpp='$CPP $CPPFLAGS'
49478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
49487 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
49489 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
49490 for ac_func in isnanf
49491 do :
49492 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
49493 if test "x$ac_cv_func_isnanf" = xyes; then :
49494 cat >>confdefs.h <<_ACEOF
49495 #define HAVE_ISNANF 1
49496 _ACEOF
49499 done
49501 else
49503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
49504 $as_echo_n "checking for _isnanf declaration... " >&6; }
49505 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
49506 if ${glibcxx_cv_func__isnanf_use+:} false; then :
49507 $as_echo_n "(cached) " >&6
49508 else
49511 ac_ext=cpp
49512 ac_cpp='$CXXCPP $CPPFLAGS'
49513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49518 /* end confdefs.h. */
49519 #include <math.h>
49520 #ifdef HAVE_IEEEFP_H
49521 #include <ieeefp.h>
49522 #endif
49525 main ()
49527 _isnanf(0);
49529 return 0;
49531 _ACEOF
49532 if ac_fn_cxx_try_compile "$LINENO"; then :
49533 glibcxx_cv_func__isnanf_use=yes
49534 else
49535 glibcxx_cv_func__isnanf_use=no
49537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49538 ac_ext=c
49539 ac_cpp='$CPP $CPPFLAGS'
49540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
49549 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
49551 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
49552 for ac_func in _isnanf
49553 do :
49554 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
49555 if test "x$ac_cv_func__isnanf" = xyes; then :
49556 cat >>confdefs.h <<_ACEOF
49557 #define HAVE__ISNANF 1
49558 _ACEOF
49561 done
49570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
49571 $as_echo_n "checking for isinff declaration... " >&6; }
49572 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
49573 if ${glibcxx_cv_func_isinff_use+:} false; then :
49574 $as_echo_n "(cached) " >&6
49575 else
49578 ac_ext=cpp
49579 ac_cpp='$CXXCPP $CPPFLAGS'
49580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49585 /* end confdefs.h. */
49586 #include <math.h>
49587 #ifdef HAVE_IEEEFP_H
49588 #include <ieeefp.h>
49589 #endif
49592 main ()
49594 isinff(0);
49596 return 0;
49598 _ACEOF
49599 if ac_fn_cxx_try_compile "$LINENO"; then :
49600 glibcxx_cv_func_isinff_use=yes
49601 else
49602 glibcxx_cv_func_isinff_use=no
49604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49605 ac_ext=c
49606 ac_cpp='$CPP $CPPFLAGS'
49607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
49616 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
49618 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
49619 for ac_func in isinff
49620 do :
49621 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
49622 if test "x$ac_cv_func_isinff" = xyes; then :
49623 cat >>confdefs.h <<_ACEOF
49624 #define HAVE_ISINFF 1
49625 _ACEOF
49628 done
49630 else
49632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
49633 $as_echo_n "checking for _isinff declaration... " >&6; }
49634 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
49635 if ${glibcxx_cv_func__isinff_use+:} false; then :
49636 $as_echo_n "(cached) " >&6
49637 else
49640 ac_ext=cpp
49641 ac_cpp='$CXXCPP $CPPFLAGS'
49642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49647 /* end confdefs.h. */
49648 #include <math.h>
49649 #ifdef HAVE_IEEEFP_H
49650 #include <ieeefp.h>
49651 #endif
49654 main ()
49656 _isinff(0);
49658 return 0;
49660 _ACEOF
49661 if ac_fn_cxx_try_compile "$LINENO"; then :
49662 glibcxx_cv_func__isinff_use=yes
49663 else
49664 glibcxx_cv_func__isinff_use=no
49666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49667 ac_ext=c
49668 ac_cpp='$CPP $CPPFLAGS'
49669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
49678 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
49680 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
49681 for ac_func in _isinff
49682 do :
49683 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
49684 if test "x$ac_cv_func__isinff" = xyes; then :
49685 cat >>confdefs.h <<_ACEOF
49686 #define HAVE__ISINFF 1
49687 _ACEOF
49690 done
49699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
49700 $as_echo_n "checking for atan2f declaration... " >&6; }
49701 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
49702 if ${glibcxx_cv_func_atan2f_use+:} false; then :
49703 $as_echo_n "(cached) " >&6
49704 else
49707 ac_ext=cpp
49708 ac_cpp='$CXXCPP $CPPFLAGS'
49709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49714 /* end confdefs.h. */
49715 #include <math.h>
49717 main ()
49719 atan2f(0, 0);
49721 return 0;
49723 _ACEOF
49724 if ac_fn_cxx_try_compile "$LINENO"; then :
49725 glibcxx_cv_func_atan2f_use=yes
49726 else
49727 glibcxx_cv_func_atan2f_use=no
49729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49730 ac_ext=c
49731 ac_cpp='$CPP $CPPFLAGS'
49732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
49741 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
49743 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
49744 for ac_func in atan2f
49745 do :
49746 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
49747 if test "x$ac_cv_func_atan2f" = xyes; then :
49748 cat >>confdefs.h <<_ACEOF
49749 #define HAVE_ATAN2F 1
49750 _ACEOF
49753 done
49755 else
49757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
49758 $as_echo_n "checking for _atan2f declaration... " >&6; }
49759 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
49760 if ${glibcxx_cv_func__atan2f_use+:} false; then :
49761 $as_echo_n "(cached) " >&6
49762 else
49765 ac_ext=cpp
49766 ac_cpp='$CXXCPP $CPPFLAGS'
49767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49772 /* end confdefs.h. */
49773 #include <math.h>
49775 main ()
49777 _atan2f(0, 0);
49779 return 0;
49781 _ACEOF
49782 if ac_fn_cxx_try_compile "$LINENO"; then :
49783 glibcxx_cv_func__atan2f_use=yes
49784 else
49785 glibcxx_cv_func__atan2f_use=no
49787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49788 ac_ext=c
49789 ac_cpp='$CPP $CPPFLAGS'
49790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
49799 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
49801 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
49802 for ac_func in _atan2f
49803 do :
49804 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
49805 if test "x$ac_cv_func__atan2f" = xyes; then :
49806 cat >>confdefs.h <<_ACEOF
49807 #define HAVE__ATAN2F 1
49808 _ACEOF
49811 done
49820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
49821 $as_echo_n "checking for fabsf declaration... " >&6; }
49822 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
49823 if ${glibcxx_cv_func_fabsf_use+:} false; then :
49824 $as_echo_n "(cached) " >&6
49825 else
49828 ac_ext=cpp
49829 ac_cpp='$CXXCPP $CPPFLAGS'
49830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49835 /* end confdefs.h. */
49836 #include <math.h>
49837 #ifdef HAVE_IEEEFP_H
49838 #include <ieeefp.h>
49839 #endif
49842 main ()
49844 fabsf(0);
49846 return 0;
49848 _ACEOF
49849 if ac_fn_cxx_try_compile "$LINENO"; then :
49850 glibcxx_cv_func_fabsf_use=yes
49851 else
49852 glibcxx_cv_func_fabsf_use=no
49854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49855 ac_ext=c
49856 ac_cpp='$CPP $CPPFLAGS'
49857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
49866 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
49868 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49869 for ac_func in fabsf
49870 do :
49871 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
49872 if test "x$ac_cv_func_fabsf" = xyes; then :
49873 cat >>confdefs.h <<_ACEOF
49874 #define HAVE_FABSF 1
49875 _ACEOF
49878 done
49880 else
49882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
49883 $as_echo_n "checking for _fabsf declaration... " >&6; }
49884 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49885 if ${glibcxx_cv_func__fabsf_use+:} false; then :
49886 $as_echo_n "(cached) " >&6
49887 else
49890 ac_ext=cpp
49891 ac_cpp='$CXXCPP $CPPFLAGS'
49892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49897 /* end confdefs.h. */
49898 #include <math.h>
49899 #ifdef HAVE_IEEEFP_H
49900 #include <ieeefp.h>
49901 #endif
49904 main ()
49906 _fabsf(0);
49908 return 0;
49910 _ACEOF
49911 if ac_fn_cxx_try_compile "$LINENO"; then :
49912 glibcxx_cv_func__fabsf_use=yes
49913 else
49914 glibcxx_cv_func__fabsf_use=no
49916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49917 ac_ext=c
49918 ac_cpp='$CPP $CPPFLAGS'
49919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
49928 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
49930 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49931 for ac_func in _fabsf
49932 do :
49933 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
49934 if test "x$ac_cv_func__fabsf" = xyes; then :
49935 cat >>confdefs.h <<_ACEOF
49936 #define HAVE__FABSF 1
49937 _ACEOF
49940 done
49949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
49950 $as_echo_n "checking for fmodf declaration... " >&6; }
49951 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49952 if ${glibcxx_cv_func_fmodf_use+:} false; then :
49953 $as_echo_n "(cached) " >&6
49954 else
49957 ac_ext=cpp
49958 ac_cpp='$CXXCPP $CPPFLAGS'
49959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49964 /* end confdefs.h. */
49965 #include <math.h>
49967 main ()
49969 fmodf(0, 0);
49971 return 0;
49973 _ACEOF
49974 if ac_fn_cxx_try_compile "$LINENO"; then :
49975 glibcxx_cv_func_fmodf_use=yes
49976 else
49977 glibcxx_cv_func_fmodf_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_fmodf_use" >&5
49991 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
49993 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49994 for ac_func in fmodf
49995 do :
49996 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
49997 if test "x$ac_cv_func_fmodf" = xyes; then :
49998 cat >>confdefs.h <<_ACEOF
49999 #define HAVE_FMODF 1
50000 _ACEOF
50003 done
50005 else
50007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
50008 $as_echo_n "checking for _fmodf declaration... " >&6; }
50009 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
50010 if ${glibcxx_cv_func__fmodf_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>
50025 main ()
50027 _fmodf(0, 0);
50029 return 0;
50031 _ACEOF
50032 if ac_fn_cxx_try_compile "$LINENO"; then :
50033 glibcxx_cv_func__fmodf_use=yes
50034 else
50035 glibcxx_cv_func__fmodf_use=no
50037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50038 ac_ext=c
50039 ac_cpp='$CPP $CPPFLAGS'
50040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
50049 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
50051 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
50052 for ac_func in _fmodf
50053 do :
50054 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
50055 if test "x$ac_cv_func__fmodf" = xyes; then :
50056 cat >>confdefs.h <<_ACEOF
50057 #define HAVE__FMODF 1
50058 _ACEOF
50061 done
50070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
50071 $as_echo_n "checking for frexpf declaration... " >&6; }
50072 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
50073 if ${glibcxx_cv_func_frexpf_use+:} false; then :
50074 $as_echo_n "(cached) " >&6
50075 else
50078 ac_ext=cpp
50079 ac_cpp='$CXXCPP $CPPFLAGS'
50080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50085 /* end confdefs.h. */
50086 #include <math.h>
50088 main ()
50090 frexpf(0, 0);
50092 return 0;
50094 _ACEOF
50095 if ac_fn_cxx_try_compile "$LINENO"; then :
50096 glibcxx_cv_func_frexpf_use=yes
50097 else
50098 glibcxx_cv_func_frexpf_use=no
50100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50101 ac_ext=c
50102 ac_cpp='$CPP $CPPFLAGS'
50103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
50112 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
50114 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
50115 for ac_func in frexpf
50116 do :
50117 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
50118 if test "x$ac_cv_func_frexpf" = xyes; then :
50119 cat >>confdefs.h <<_ACEOF
50120 #define HAVE_FREXPF 1
50121 _ACEOF
50124 done
50126 else
50128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
50129 $as_echo_n "checking for _frexpf declaration... " >&6; }
50130 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
50131 if ${glibcxx_cv_func__frexpf_use+:} false; then :
50132 $as_echo_n "(cached) " >&6
50133 else
50136 ac_ext=cpp
50137 ac_cpp='$CXXCPP $CPPFLAGS'
50138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50143 /* end confdefs.h. */
50144 #include <math.h>
50146 main ()
50148 _frexpf(0, 0);
50150 return 0;
50152 _ACEOF
50153 if ac_fn_cxx_try_compile "$LINENO"; then :
50154 glibcxx_cv_func__frexpf_use=yes
50155 else
50156 glibcxx_cv_func__frexpf_use=no
50158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50159 ac_ext=c
50160 ac_cpp='$CPP $CPPFLAGS'
50161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
50170 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
50172 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
50173 for ac_func in _frexpf
50174 do :
50175 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
50176 if test "x$ac_cv_func__frexpf" = xyes; then :
50177 cat >>confdefs.h <<_ACEOF
50178 #define HAVE__FREXPF 1
50179 _ACEOF
50182 done
50191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
50192 $as_echo_n "checking for hypotf declaration... " >&6; }
50193 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
50194 if ${glibcxx_cv_func_hypotf_use+:} false; then :
50195 $as_echo_n "(cached) " >&6
50196 else
50199 ac_ext=cpp
50200 ac_cpp='$CXXCPP $CPPFLAGS'
50201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50206 /* end confdefs.h. */
50207 #include <math.h>
50209 main ()
50211 hypotf(0, 0);
50213 return 0;
50215 _ACEOF
50216 if ac_fn_cxx_try_compile "$LINENO"; then :
50217 glibcxx_cv_func_hypotf_use=yes
50218 else
50219 glibcxx_cv_func_hypotf_use=no
50221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50222 ac_ext=c
50223 ac_cpp='$CPP $CPPFLAGS'
50224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
50233 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
50235 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
50236 for ac_func in hypotf
50237 do :
50238 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
50239 if test "x$ac_cv_func_hypotf" = xyes; then :
50240 cat >>confdefs.h <<_ACEOF
50241 #define HAVE_HYPOTF 1
50242 _ACEOF
50245 done
50247 else
50249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
50250 $as_echo_n "checking for _hypotf declaration... " >&6; }
50251 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
50252 if ${glibcxx_cv_func__hypotf_use+:} false; then :
50253 $as_echo_n "(cached) " >&6
50254 else
50257 ac_ext=cpp
50258 ac_cpp='$CXXCPP $CPPFLAGS'
50259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50264 /* end confdefs.h. */
50265 #include <math.h>
50267 main ()
50269 _hypotf(0, 0);
50271 return 0;
50273 _ACEOF
50274 if ac_fn_cxx_try_compile "$LINENO"; then :
50275 glibcxx_cv_func__hypotf_use=yes
50276 else
50277 glibcxx_cv_func__hypotf_use=no
50279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50280 ac_ext=c
50281 ac_cpp='$CPP $CPPFLAGS'
50282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
50291 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
50293 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
50294 for ac_func in _hypotf
50295 do :
50296 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
50297 if test "x$ac_cv_func__hypotf" = xyes; then :
50298 cat >>confdefs.h <<_ACEOF
50299 #define HAVE__HYPOTF 1
50300 _ACEOF
50303 done
50312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
50313 $as_echo_n "checking for ldexpf declaration... " >&6; }
50314 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
50315 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
50316 $as_echo_n "(cached) " >&6
50317 else
50320 ac_ext=cpp
50321 ac_cpp='$CXXCPP $CPPFLAGS'
50322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50327 /* end confdefs.h. */
50328 #include <math.h>
50330 main ()
50332 ldexpf(0, 0);
50334 return 0;
50336 _ACEOF
50337 if ac_fn_cxx_try_compile "$LINENO"; then :
50338 glibcxx_cv_func_ldexpf_use=yes
50339 else
50340 glibcxx_cv_func_ldexpf_use=no
50342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50343 ac_ext=c
50344 ac_cpp='$CPP $CPPFLAGS'
50345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
50354 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
50356 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
50357 for ac_func in ldexpf
50358 do :
50359 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
50360 if test "x$ac_cv_func_ldexpf" = xyes; then :
50361 cat >>confdefs.h <<_ACEOF
50362 #define HAVE_LDEXPF 1
50363 _ACEOF
50366 done
50368 else
50370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
50371 $as_echo_n "checking for _ldexpf declaration... " >&6; }
50372 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
50373 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
50374 $as_echo_n "(cached) " >&6
50375 else
50378 ac_ext=cpp
50379 ac_cpp='$CXXCPP $CPPFLAGS'
50380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50385 /* end confdefs.h. */
50386 #include <math.h>
50388 main ()
50390 _ldexpf(0, 0);
50392 return 0;
50394 _ACEOF
50395 if ac_fn_cxx_try_compile "$LINENO"; then :
50396 glibcxx_cv_func__ldexpf_use=yes
50397 else
50398 glibcxx_cv_func__ldexpf_use=no
50400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50401 ac_ext=c
50402 ac_cpp='$CPP $CPPFLAGS'
50403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
50412 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
50414 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
50415 for ac_func in _ldexpf
50416 do :
50417 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
50418 if test "x$ac_cv_func__ldexpf" = xyes; then :
50419 cat >>confdefs.h <<_ACEOF
50420 #define HAVE__LDEXPF 1
50421 _ACEOF
50424 done
50433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
50434 $as_echo_n "checking for logf declaration... " >&6; }
50435 if test x${glibcxx_cv_func_logf_use+set} != xset; then
50436 if ${glibcxx_cv_func_logf_use+:} false; then :
50437 $as_echo_n "(cached) " >&6
50438 else
50441 ac_ext=cpp
50442 ac_cpp='$CXXCPP $CPPFLAGS'
50443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50448 /* end confdefs.h. */
50449 #include <math.h>
50450 #ifdef HAVE_IEEEFP_H
50451 #include <ieeefp.h>
50452 #endif
50455 main ()
50457 logf(0);
50459 return 0;
50461 _ACEOF
50462 if ac_fn_cxx_try_compile "$LINENO"; then :
50463 glibcxx_cv_func_logf_use=yes
50464 else
50465 glibcxx_cv_func_logf_use=no
50467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50468 ac_ext=c
50469 ac_cpp='$CPP $CPPFLAGS'
50470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
50479 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
50481 if test x$glibcxx_cv_func_logf_use = x"yes"; then
50482 for ac_func in logf
50483 do :
50484 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
50485 if test "x$ac_cv_func_logf" = xyes; then :
50486 cat >>confdefs.h <<_ACEOF
50487 #define HAVE_LOGF 1
50488 _ACEOF
50491 done
50493 else
50495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
50496 $as_echo_n "checking for _logf declaration... " >&6; }
50497 if test x${glibcxx_cv_func__logf_use+set} != xset; then
50498 if ${glibcxx_cv_func__logf_use+:} false; then :
50499 $as_echo_n "(cached) " >&6
50500 else
50503 ac_ext=cpp
50504 ac_cpp='$CXXCPP $CPPFLAGS'
50505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50510 /* end confdefs.h. */
50511 #include <math.h>
50512 #ifdef HAVE_IEEEFP_H
50513 #include <ieeefp.h>
50514 #endif
50517 main ()
50519 _logf(0);
50521 return 0;
50523 _ACEOF
50524 if ac_fn_cxx_try_compile "$LINENO"; then :
50525 glibcxx_cv_func__logf_use=yes
50526 else
50527 glibcxx_cv_func__logf_use=no
50529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50530 ac_ext=c
50531 ac_cpp='$CPP $CPPFLAGS'
50532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
50541 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
50543 if test x$glibcxx_cv_func__logf_use = x"yes"; then
50544 for ac_func in _logf
50545 do :
50546 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
50547 if test "x$ac_cv_func__logf" = xyes; then :
50548 cat >>confdefs.h <<_ACEOF
50549 #define HAVE__LOGF 1
50550 _ACEOF
50553 done
50562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
50563 $as_echo_n "checking for log10f declaration... " >&6; }
50564 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
50565 if ${glibcxx_cv_func_log10f_use+:} false; then :
50566 $as_echo_n "(cached) " >&6
50567 else
50570 ac_ext=cpp
50571 ac_cpp='$CXXCPP $CPPFLAGS'
50572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50577 /* end confdefs.h. */
50578 #include <math.h>
50579 #ifdef HAVE_IEEEFP_H
50580 #include <ieeefp.h>
50581 #endif
50584 main ()
50586 log10f(0);
50588 return 0;
50590 _ACEOF
50591 if ac_fn_cxx_try_compile "$LINENO"; then :
50592 glibcxx_cv_func_log10f_use=yes
50593 else
50594 glibcxx_cv_func_log10f_use=no
50596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50597 ac_ext=c
50598 ac_cpp='$CPP $CPPFLAGS'
50599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
50608 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
50610 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
50611 for ac_func in log10f
50612 do :
50613 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
50614 if test "x$ac_cv_func_log10f" = xyes; then :
50615 cat >>confdefs.h <<_ACEOF
50616 #define HAVE_LOG10F 1
50617 _ACEOF
50620 done
50622 else
50624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
50625 $as_echo_n "checking for _log10f declaration... " >&6; }
50626 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
50627 if ${glibcxx_cv_func__log10f_use+:} false; then :
50628 $as_echo_n "(cached) " >&6
50629 else
50632 ac_ext=cpp
50633 ac_cpp='$CXXCPP $CPPFLAGS'
50634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50639 /* end confdefs.h. */
50640 #include <math.h>
50641 #ifdef HAVE_IEEEFP_H
50642 #include <ieeefp.h>
50643 #endif
50646 main ()
50648 _log10f(0);
50650 return 0;
50652 _ACEOF
50653 if ac_fn_cxx_try_compile "$LINENO"; then :
50654 glibcxx_cv_func__log10f_use=yes
50655 else
50656 glibcxx_cv_func__log10f_use=no
50658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50659 ac_ext=c
50660 ac_cpp='$CPP $CPPFLAGS'
50661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
50670 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
50672 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
50673 for ac_func in _log10f
50674 do :
50675 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
50676 if test "x$ac_cv_func__log10f" = xyes; then :
50677 cat >>confdefs.h <<_ACEOF
50678 #define HAVE__LOG10F 1
50679 _ACEOF
50682 done
50691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
50692 $as_echo_n "checking for modff declaration... " >&6; }
50693 if test x${glibcxx_cv_func_modff_use+set} != xset; then
50694 if ${glibcxx_cv_func_modff_use+:} false; then :
50695 $as_echo_n "(cached) " >&6
50696 else
50699 ac_ext=cpp
50700 ac_cpp='$CXXCPP $CPPFLAGS'
50701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50706 /* end confdefs.h. */
50707 #include <math.h>
50709 main ()
50711 modff(0, 0);
50713 return 0;
50715 _ACEOF
50716 if ac_fn_cxx_try_compile "$LINENO"; then :
50717 glibcxx_cv_func_modff_use=yes
50718 else
50719 glibcxx_cv_func_modff_use=no
50721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50722 ac_ext=c
50723 ac_cpp='$CPP $CPPFLAGS'
50724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
50733 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
50735 if test x$glibcxx_cv_func_modff_use = x"yes"; then
50736 for ac_func in modff
50737 do :
50738 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
50739 if test "x$ac_cv_func_modff" = xyes; then :
50740 cat >>confdefs.h <<_ACEOF
50741 #define HAVE_MODFF 1
50742 _ACEOF
50745 done
50747 else
50749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
50750 $as_echo_n "checking for _modff declaration... " >&6; }
50751 if test x${glibcxx_cv_func__modff_use+set} != xset; then
50752 if ${glibcxx_cv_func__modff_use+:} false; then :
50753 $as_echo_n "(cached) " >&6
50754 else
50757 ac_ext=cpp
50758 ac_cpp='$CXXCPP $CPPFLAGS'
50759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50764 /* end confdefs.h. */
50765 #include <math.h>
50767 main ()
50769 _modff(0, 0);
50771 return 0;
50773 _ACEOF
50774 if ac_fn_cxx_try_compile "$LINENO"; then :
50775 glibcxx_cv_func__modff_use=yes
50776 else
50777 glibcxx_cv_func__modff_use=no
50779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50780 ac_ext=c
50781 ac_cpp='$CPP $CPPFLAGS'
50782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
50791 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
50793 if test x$glibcxx_cv_func__modff_use = x"yes"; then
50794 for ac_func in _modff
50795 do :
50796 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
50797 if test "x$ac_cv_func__modff" = xyes; then :
50798 cat >>confdefs.h <<_ACEOF
50799 #define HAVE__MODFF 1
50800 _ACEOF
50803 done
50812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
50813 $as_echo_n "checking for modf declaration... " >&6; }
50814 if test x${glibcxx_cv_func_modf_use+set} != xset; then
50815 if ${glibcxx_cv_func_modf_use+:} false; then :
50816 $as_echo_n "(cached) " >&6
50817 else
50820 ac_ext=cpp
50821 ac_cpp='$CXXCPP $CPPFLAGS'
50822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50827 /* end confdefs.h. */
50828 #include <math.h>
50830 main ()
50832 modf(0, 0);
50834 return 0;
50836 _ACEOF
50837 if ac_fn_cxx_try_compile "$LINENO"; then :
50838 glibcxx_cv_func_modf_use=yes
50839 else
50840 glibcxx_cv_func_modf_use=no
50842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50843 ac_ext=c
50844 ac_cpp='$CPP $CPPFLAGS'
50845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
50854 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
50856 if test x$glibcxx_cv_func_modf_use = x"yes"; then
50857 for ac_func in modf
50858 do :
50859 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
50860 if test "x$ac_cv_func_modf" = xyes; then :
50861 cat >>confdefs.h <<_ACEOF
50862 #define HAVE_MODF 1
50863 _ACEOF
50866 done
50868 else
50870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
50871 $as_echo_n "checking for _modf declaration... " >&6; }
50872 if test x${glibcxx_cv_func__modf_use+set} != xset; then
50873 if ${glibcxx_cv_func__modf_use+:} false; then :
50874 $as_echo_n "(cached) " >&6
50875 else
50878 ac_ext=cpp
50879 ac_cpp='$CXXCPP $CPPFLAGS'
50880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50885 /* end confdefs.h. */
50886 #include <math.h>
50888 main ()
50890 _modf(0, 0);
50892 return 0;
50894 _ACEOF
50895 if ac_fn_cxx_try_compile "$LINENO"; then :
50896 glibcxx_cv_func__modf_use=yes
50897 else
50898 glibcxx_cv_func__modf_use=no
50900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50901 ac_ext=c
50902 ac_cpp='$CPP $CPPFLAGS'
50903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
50912 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
50914 if test x$glibcxx_cv_func__modf_use = x"yes"; then
50915 for ac_func in _modf
50916 do :
50917 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
50918 if test "x$ac_cv_func__modf" = xyes; then :
50919 cat >>confdefs.h <<_ACEOF
50920 #define HAVE__MODF 1
50921 _ACEOF
50924 done
50933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
50934 $as_echo_n "checking for powf declaration... " >&6; }
50935 if test x${glibcxx_cv_func_powf_use+set} != xset; then
50936 if ${glibcxx_cv_func_powf_use+:} false; then :
50937 $as_echo_n "(cached) " >&6
50938 else
50941 ac_ext=cpp
50942 ac_cpp='$CXXCPP $CPPFLAGS'
50943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50948 /* end confdefs.h. */
50949 #include <math.h>
50951 main ()
50953 powf(0, 0);
50955 return 0;
50957 _ACEOF
50958 if ac_fn_cxx_try_compile "$LINENO"; then :
50959 glibcxx_cv_func_powf_use=yes
50960 else
50961 glibcxx_cv_func_powf_use=no
50963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50964 ac_ext=c
50965 ac_cpp='$CPP $CPPFLAGS'
50966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
50975 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
50977 if test x$glibcxx_cv_func_powf_use = x"yes"; then
50978 for ac_func in powf
50979 do :
50980 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
50981 if test "x$ac_cv_func_powf" = xyes; then :
50982 cat >>confdefs.h <<_ACEOF
50983 #define HAVE_POWF 1
50984 _ACEOF
50987 done
50989 else
50991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
50992 $as_echo_n "checking for _powf declaration... " >&6; }
50993 if test x${glibcxx_cv_func__powf_use+set} != xset; then
50994 if ${glibcxx_cv_func__powf_use+:} false; then :
50995 $as_echo_n "(cached) " >&6
50996 else
50999 ac_ext=cpp
51000 ac_cpp='$CXXCPP $CPPFLAGS'
51001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51006 /* end confdefs.h. */
51007 #include <math.h>
51009 main ()
51011 _powf(0, 0);
51013 return 0;
51015 _ACEOF
51016 if ac_fn_cxx_try_compile "$LINENO"; then :
51017 glibcxx_cv_func__powf_use=yes
51018 else
51019 glibcxx_cv_func__powf_use=no
51021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51022 ac_ext=c
51023 ac_cpp='$CPP $CPPFLAGS'
51024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
51033 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
51035 if test x$glibcxx_cv_func__powf_use = x"yes"; then
51036 for ac_func in _powf
51037 do :
51038 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
51039 if test "x$ac_cv_func__powf" = xyes; then :
51040 cat >>confdefs.h <<_ACEOF
51041 #define HAVE__POWF 1
51042 _ACEOF
51045 done
51054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
51055 $as_echo_n "checking for sqrtf declaration... " >&6; }
51056 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
51057 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
51058 $as_echo_n "(cached) " >&6
51059 else
51062 ac_ext=cpp
51063 ac_cpp='$CXXCPP $CPPFLAGS'
51064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51069 /* end confdefs.h. */
51070 #include <math.h>
51071 #ifdef HAVE_IEEEFP_H
51072 #include <ieeefp.h>
51073 #endif
51076 main ()
51078 sqrtf(0);
51080 return 0;
51082 _ACEOF
51083 if ac_fn_cxx_try_compile "$LINENO"; then :
51084 glibcxx_cv_func_sqrtf_use=yes
51085 else
51086 glibcxx_cv_func_sqrtf_use=no
51088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51089 ac_ext=c
51090 ac_cpp='$CPP $CPPFLAGS'
51091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
51100 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
51102 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
51103 for ac_func in sqrtf
51104 do :
51105 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
51106 if test "x$ac_cv_func_sqrtf" = xyes; then :
51107 cat >>confdefs.h <<_ACEOF
51108 #define HAVE_SQRTF 1
51109 _ACEOF
51112 done
51114 else
51116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
51117 $as_echo_n "checking for _sqrtf declaration... " >&6; }
51118 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
51119 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
51120 $as_echo_n "(cached) " >&6
51121 else
51124 ac_ext=cpp
51125 ac_cpp='$CXXCPP $CPPFLAGS'
51126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51131 /* end confdefs.h. */
51132 #include <math.h>
51133 #ifdef HAVE_IEEEFP_H
51134 #include <ieeefp.h>
51135 #endif
51138 main ()
51140 _sqrtf(0);
51142 return 0;
51144 _ACEOF
51145 if ac_fn_cxx_try_compile "$LINENO"; then :
51146 glibcxx_cv_func__sqrtf_use=yes
51147 else
51148 glibcxx_cv_func__sqrtf_use=no
51150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51151 ac_ext=c
51152 ac_cpp='$CPP $CPPFLAGS'
51153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
51162 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
51164 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
51165 for ac_func in _sqrtf
51166 do :
51167 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
51168 if test "x$ac_cv_func__sqrtf" = xyes; then :
51169 cat >>confdefs.h <<_ACEOF
51170 #define HAVE__SQRTF 1
51171 _ACEOF
51174 done
51183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
51184 $as_echo_n "checking for sincosf declaration... " >&6; }
51185 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
51186 if ${glibcxx_cv_func_sincosf_use+:} false; then :
51187 $as_echo_n "(cached) " >&6
51188 else
51191 ac_ext=cpp
51192 ac_cpp='$CXXCPP $CPPFLAGS'
51193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51198 /* end confdefs.h. */
51199 #include <math.h>
51201 main ()
51203 sincosf(0, 0, 0);
51205 return 0;
51207 _ACEOF
51208 if ac_fn_cxx_try_compile "$LINENO"; then :
51209 glibcxx_cv_func_sincosf_use=yes
51210 else
51211 glibcxx_cv_func_sincosf_use=no
51213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51214 ac_ext=c
51215 ac_cpp='$CPP $CPPFLAGS'
51216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
51225 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
51227 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
51228 for ac_func in sincosf
51229 do :
51230 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
51231 if test "x$ac_cv_func_sincosf" = xyes; then :
51232 cat >>confdefs.h <<_ACEOF
51233 #define HAVE_SINCOSF 1
51234 _ACEOF
51237 done
51239 else
51241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
51242 $as_echo_n "checking for _sincosf declaration... " >&6; }
51243 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
51244 if ${glibcxx_cv_func__sincosf_use+:} false; then :
51245 $as_echo_n "(cached) " >&6
51246 else
51249 ac_ext=cpp
51250 ac_cpp='$CXXCPP $CPPFLAGS'
51251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51256 /* end confdefs.h. */
51257 #include <math.h>
51259 main ()
51261 _sincosf(0, 0, 0);
51263 return 0;
51265 _ACEOF
51266 if ac_fn_cxx_try_compile "$LINENO"; then :
51267 glibcxx_cv_func__sincosf_use=yes
51268 else
51269 glibcxx_cv_func__sincosf_use=no
51271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51272 ac_ext=c
51273 ac_cpp='$CPP $CPPFLAGS'
51274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
51283 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
51285 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
51286 for ac_func in _sincosf
51287 do :
51288 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
51289 if test "x$ac_cv_func__sincosf" = xyes; then :
51290 cat >>confdefs.h <<_ACEOF
51291 #define HAVE__SINCOSF 1
51292 _ACEOF
51295 done
51304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
51305 $as_echo_n "checking for finitef declaration... " >&6; }
51306 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
51307 if ${glibcxx_cv_func_finitef_use+:} false; then :
51308 $as_echo_n "(cached) " >&6
51309 else
51312 ac_ext=cpp
51313 ac_cpp='$CXXCPP $CPPFLAGS'
51314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51319 /* end confdefs.h. */
51320 #include <math.h>
51321 #ifdef HAVE_IEEEFP_H
51322 #include <ieeefp.h>
51323 #endif
51326 main ()
51328 finitef(0);
51330 return 0;
51332 _ACEOF
51333 if ac_fn_cxx_try_compile "$LINENO"; then :
51334 glibcxx_cv_func_finitef_use=yes
51335 else
51336 glibcxx_cv_func_finitef_use=no
51338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51339 ac_ext=c
51340 ac_cpp='$CPP $CPPFLAGS'
51341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
51350 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
51352 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
51353 for ac_func in finitef
51354 do :
51355 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
51356 if test "x$ac_cv_func_finitef" = xyes; then :
51357 cat >>confdefs.h <<_ACEOF
51358 #define HAVE_FINITEF 1
51359 _ACEOF
51362 done
51364 else
51366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
51367 $as_echo_n "checking for _finitef declaration... " >&6; }
51368 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
51369 if ${glibcxx_cv_func__finitef_use+:} false; then :
51370 $as_echo_n "(cached) " >&6
51371 else
51374 ac_ext=cpp
51375 ac_cpp='$CXXCPP $CPPFLAGS'
51376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51381 /* end confdefs.h. */
51382 #include <math.h>
51383 #ifdef HAVE_IEEEFP_H
51384 #include <ieeefp.h>
51385 #endif
51388 main ()
51390 _finitef(0);
51392 return 0;
51394 _ACEOF
51395 if ac_fn_cxx_try_compile "$LINENO"; then :
51396 glibcxx_cv_func__finitef_use=yes
51397 else
51398 glibcxx_cv_func__finitef_use=no
51400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51401 ac_ext=c
51402 ac_cpp='$CPP $CPPFLAGS'
51403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
51412 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
51414 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
51415 for ac_func in _finitef
51416 do :
51417 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
51418 if test "x$ac_cv_func__finitef" = xyes; then :
51419 cat >>confdefs.h <<_ACEOF
51420 #define HAVE__FINITEF 1
51421 _ACEOF
51424 done
51433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
51434 $as_echo_n "checking for long double trig functions... " >&6; }
51435 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
51436 $as_echo_n "(cached) " >&6
51437 else
51440 ac_ext=cpp
51441 ac_cpp='$CXXCPP $CPPFLAGS'
51442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51447 /* end confdefs.h. */
51448 #include <math.h>
51450 main ()
51452 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
51454 return 0;
51456 _ACEOF
51457 if ac_fn_cxx_try_compile "$LINENO"; then :
51458 glibcxx_cv_func_long_double_trig_use=yes
51459 else
51460 glibcxx_cv_func_long_double_trig_use=no
51462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51463 ac_ext=c
51464 ac_cpp='$CPP $CPPFLAGS'
51465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
51472 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
51473 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
51474 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
51475 do :
51476 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51477 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51478 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51479 cat >>confdefs.h <<_ACEOF
51480 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51481 _ACEOF
51484 done
51486 else
51487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
51488 $as_echo_n "checking for _long double trig functions... " >&6; }
51489 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
51490 $as_echo_n "(cached) " >&6
51491 else
51494 ac_ext=cpp
51495 ac_cpp='$CXXCPP $CPPFLAGS'
51496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51501 /* end confdefs.h. */
51502 #include <math.h>
51504 main ()
51506 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
51508 return 0;
51510 _ACEOF
51511 if ac_fn_cxx_try_compile "$LINENO"; then :
51512 glibcxx_cv_func__long_double_trig_use=yes
51513 else
51514 glibcxx_cv_func__long_double_trig_use=no
51516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51517 ac_ext=c
51518 ac_cpp='$CPP $CPPFLAGS'
51519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
51526 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
51527 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
51528 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
51529 do :
51530 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51531 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51532 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51533 cat >>confdefs.h <<_ACEOF
51534 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51535 _ACEOF
51538 done
51547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
51548 $as_echo_n "checking for long double round functions... " >&6; }
51549 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
51550 $as_echo_n "(cached) " >&6
51551 else
51554 ac_ext=cpp
51555 ac_cpp='$CXXCPP $CPPFLAGS'
51556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51561 /* end confdefs.h. */
51562 #include <math.h>
51564 main ()
51566 ceill (0); floorl (0);
51568 return 0;
51570 _ACEOF
51571 if ac_fn_cxx_try_compile "$LINENO"; then :
51572 glibcxx_cv_func_long_double_round_use=yes
51573 else
51574 glibcxx_cv_func_long_double_round_use=no
51576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51577 ac_ext=c
51578 ac_cpp='$CPP $CPPFLAGS'
51579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
51586 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
51587 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
51588 for ac_func in ceill floorl
51589 do :
51590 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51591 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51592 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51593 cat >>confdefs.h <<_ACEOF
51594 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51595 _ACEOF
51598 done
51600 else
51601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
51602 $as_echo_n "checking for _long double round functions... " >&6; }
51603 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
51604 $as_echo_n "(cached) " >&6
51605 else
51608 ac_ext=cpp
51609 ac_cpp='$CXXCPP $CPPFLAGS'
51610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51615 /* end confdefs.h. */
51616 #include <math.h>
51618 main ()
51620 _ceill (0); _floorl (0);
51622 return 0;
51624 _ACEOF
51625 if ac_fn_cxx_try_compile "$LINENO"; then :
51626 glibcxx_cv_func__long_double_round_use=yes
51627 else
51628 glibcxx_cv_func__long_double_round_use=no
51630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51631 ac_ext=c
51632 ac_cpp='$CPP $CPPFLAGS'
51633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
51640 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
51641 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
51642 for ac_func in _ceill _floorl
51643 do :
51644 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51645 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51646 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51647 cat >>confdefs.h <<_ACEOF
51648 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51649 _ACEOF
51652 done
51662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
51663 $as_echo_n "checking for isnanl declaration... " >&6; }
51664 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
51665 if ${glibcxx_cv_func_isnanl_use+:} false; then :
51666 $as_echo_n "(cached) " >&6
51667 else
51670 ac_ext=cpp
51671 ac_cpp='$CXXCPP $CPPFLAGS'
51672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51677 /* end confdefs.h. */
51678 #include <math.h>
51679 #ifdef HAVE_IEEEFP_H
51680 #include <ieeefp.h>
51681 #endif
51684 main ()
51686 isnanl(0);
51688 return 0;
51690 _ACEOF
51691 if ac_fn_cxx_try_compile "$LINENO"; then :
51692 glibcxx_cv_func_isnanl_use=yes
51693 else
51694 glibcxx_cv_func_isnanl_use=no
51696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51697 ac_ext=c
51698 ac_cpp='$CPP $CPPFLAGS'
51699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
51708 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
51710 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
51711 for ac_func in isnanl
51712 do :
51713 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
51714 if test "x$ac_cv_func_isnanl" = xyes; then :
51715 cat >>confdefs.h <<_ACEOF
51716 #define HAVE_ISNANL 1
51717 _ACEOF
51720 done
51722 else
51724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
51725 $as_echo_n "checking for _isnanl declaration... " >&6; }
51726 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
51727 if ${glibcxx_cv_func__isnanl_use+:} false; then :
51728 $as_echo_n "(cached) " >&6
51729 else
51732 ac_ext=cpp
51733 ac_cpp='$CXXCPP $CPPFLAGS'
51734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51739 /* end confdefs.h. */
51740 #include <math.h>
51741 #ifdef HAVE_IEEEFP_H
51742 #include <ieeefp.h>
51743 #endif
51746 main ()
51748 _isnanl(0);
51750 return 0;
51752 _ACEOF
51753 if ac_fn_cxx_try_compile "$LINENO"; then :
51754 glibcxx_cv_func__isnanl_use=yes
51755 else
51756 glibcxx_cv_func__isnanl_use=no
51758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51759 ac_ext=c
51760 ac_cpp='$CPP $CPPFLAGS'
51761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
51770 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
51772 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
51773 for ac_func in _isnanl
51774 do :
51775 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
51776 if test "x$ac_cv_func__isnanl" = xyes; then :
51777 cat >>confdefs.h <<_ACEOF
51778 #define HAVE__ISNANL 1
51779 _ACEOF
51782 done
51791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
51792 $as_echo_n "checking for isinfl declaration... " >&6; }
51793 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
51794 if ${glibcxx_cv_func_isinfl_use+:} false; then :
51795 $as_echo_n "(cached) " >&6
51796 else
51799 ac_ext=cpp
51800 ac_cpp='$CXXCPP $CPPFLAGS'
51801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51806 /* end confdefs.h. */
51807 #include <math.h>
51808 #ifdef HAVE_IEEEFP_H
51809 #include <ieeefp.h>
51810 #endif
51813 main ()
51815 isinfl(0);
51817 return 0;
51819 _ACEOF
51820 if ac_fn_cxx_try_compile "$LINENO"; then :
51821 glibcxx_cv_func_isinfl_use=yes
51822 else
51823 glibcxx_cv_func_isinfl_use=no
51825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51826 ac_ext=c
51827 ac_cpp='$CPP $CPPFLAGS'
51828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
51837 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
51839 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
51840 for ac_func in isinfl
51841 do :
51842 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
51843 if test "x$ac_cv_func_isinfl" = xyes; then :
51844 cat >>confdefs.h <<_ACEOF
51845 #define HAVE_ISINFL 1
51846 _ACEOF
51849 done
51851 else
51853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
51854 $as_echo_n "checking for _isinfl declaration... " >&6; }
51855 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
51856 if ${glibcxx_cv_func__isinfl_use+:} false; then :
51857 $as_echo_n "(cached) " >&6
51858 else
51861 ac_ext=cpp
51862 ac_cpp='$CXXCPP $CPPFLAGS'
51863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51868 /* end confdefs.h. */
51869 #include <math.h>
51870 #ifdef HAVE_IEEEFP_H
51871 #include <ieeefp.h>
51872 #endif
51875 main ()
51877 _isinfl(0);
51879 return 0;
51881 _ACEOF
51882 if ac_fn_cxx_try_compile "$LINENO"; then :
51883 glibcxx_cv_func__isinfl_use=yes
51884 else
51885 glibcxx_cv_func__isinfl_use=no
51887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51888 ac_ext=c
51889 ac_cpp='$CPP $CPPFLAGS'
51890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
51899 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
51901 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
51902 for ac_func in _isinfl
51903 do :
51904 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
51905 if test "x$ac_cv_func__isinfl" = xyes; then :
51906 cat >>confdefs.h <<_ACEOF
51907 #define HAVE__ISINFL 1
51908 _ACEOF
51911 done
51920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
51921 $as_echo_n "checking for atan2l declaration... " >&6; }
51922 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
51923 if ${glibcxx_cv_func_atan2l_use+:} false; then :
51924 $as_echo_n "(cached) " >&6
51925 else
51928 ac_ext=cpp
51929 ac_cpp='$CXXCPP $CPPFLAGS'
51930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51935 /* end confdefs.h. */
51936 #include <math.h>
51938 main ()
51940 atan2l(0, 0);
51942 return 0;
51944 _ACEOF
51945 if ac_fn_cxx_try_compile "$LINENO"; then :
51946 glibcxx_cv_func_atan2l_use=yes
51947 else
51948 glibcxx_cv_func_atan2l_use=no
51950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51951 ac_ext=c
51952 ac_cpp='$CPP $CPPFLAGS'
51953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
51962 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
51964 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
51965 for ac_func in atan2l
51966 do :
51967 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
51968 if test "x$ac_cv_func_atan2l" = xyes; then :
51969 cat >>confdefs.h <<_ACEOF
51970 #define HAVE_ATAN2L 1
51971 _ACEOF
51974 done
51976 else
51978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
51979 $as_echo_n "checking for _atan2l declaration... " >&6; }
51980 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
51981 if ${glibcxx_cv_func__atan2l_use+:} false; then :
51982 $as_echo_n "(cached) " >&6
51983 else
51986 ac_ext=cpp
51987 ac_cpp='$CXXCPP $CPPFLAGS'
51988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51993 /* end confdefs.h. */
51994 #include <math.h>
51996 main ()
51998 _atan2l(0, 0);
52000 return 0;
52002 _ACEOF
52003 if ac_fn_cxx_try_compile "$LINENO"; then :
52004 glibcxx_cv_func__atan2l_use=yes
52005 else
52006 glibcxx_cv_func__atan2l_use=no
52008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52009 ac_ext=c
52010 ac_cpp='$CPP $CPPFLAGS'
52011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
52020 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
52022 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
52023 for ac_func in _atan2l
52024 do :
52025 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
52026 if test "x$ac_cv_func__atan2l" = xyes; then :
52027 cat >>confdefs.h <<_ACEOF
52028 #define HAVE__ATAN2L 1
52029 _ACEOF
52032 done
52041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
52042 $as_echo_n "checking for expl declaration... " >&6; }
52043 if test x${glibcxx_cv_func_expl_use+set} != xset; then
52044 if ${glibcxx_cv_func_expl_use+:} false; then :
52045 $as_echo_n "(cached) " >&6
52046 else
52049 ac_ext=cpp
52050 ac_cpp='$CXXCPP $CPPFLAGS'
52051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52056 /* end confdefs.h. */
52057 #include <math.h>
52058 #ifdef HAVE_IEEEFP_H
52059 #include <ieeefp.h>
52060 #endif
52063 main ()
52065 expl(0);
52067 return 0;
52069 _ACEOF
52070 if ac_fn_cxx_try_compile "$LINENO"; then :
52071 glibcxx_cv_func_expl_use=yes
52072 else
52073 glibcxx_cv_func_expl_use=no
52075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52076 ac_ext=c
52077 ac_cpp='$CPP $CPPFLAGS'
52078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
52087 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
52089 if test x$glibcxx_cv_func_expl_use = x"yes"; then
52090 for ac_func in expl
52091 do :
52092 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
52093 if test "x$ac_cv_func_expl" = xyes; then :
52094 cat >>confdefs.h <<_ACEOF
52095 #define HAVE_EXPL 1
52096 _ACEOF
52099 done
52101 else
52103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
52104 $as_echo_n "checking for _expl declaration... " >&6; }
52105 if test x${glibcxx_cv_func__expl_use+set} != xset; then
52106 if ${glibcxx_cv_func__expl_use+:} false; then :
52107 $as_echo_n "(cached) " >&6
52108 else
52111 ac_ext=cpp
52112 ac_cpp='$CXXCPP $CPPFLAGS'
52113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52118 /* end confdefs.h. */
52119 #include <math.h>
52120 #ifdef HAVE_IEEEFP_H
52121 #include <ieeefp.h>
52122 #endif
52125 main ()
52127 _expl(0);
52129 return 0;
52131 _ACEOF
52132 if ac_fn_cxx_try_compile "$LINENO"; then :
52133 glibcxx_cv_func__expl_use=yes
52134 else
52135 glibcxx_cv_func__expl_use=no
52137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52138 ac_ext=c
52139 ac_cpp='$CPP $CPPFLAGS'
52140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
52149 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
52151 if test x$glibcxx_cv_func__expl_use = x"yes"; then
52152 for ac_func in _expl
52153 do :
52154 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
52155 if test "x$ac_cv_func__expl" = xyes; then :
52156 cat >>confdefs.h <<_ACEOF
52157 #define HAVE__EXPL 1
52158 _ACEOF
52161 done
52170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
52171 $as_echo_n "checking for fabsl declaration... " >&6; }
52172 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
52173 if ${glibcxx_cv_func_fabsl_use+:} false; then :
52174 $as_echo_n "(cached) " >&6
52175 else
52178 ac_ext=cpp
52179 ac_cpp='$CXXCPP $CPPFLAGS'
52180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52185 /* end confdefs.h. */
52186 #include <math.h>
52187 #ifdef HAVE_IEEEFP_H
52188 #include <ieeefp.h>
52189 #endif
52192 main ()
52194 fabsl(0);
52196 return 0;
52198 _ACEOF
52199 if ac_fn_cxx_try_compile "$LINENO"; then :
52200 glibcxx_cv_func_fabsl_use=yes
52201 else
52202 glibcxx_cv_func_fabsl_use=no
52204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52205 ac_ext=c
52206 ac_cpp='$CPP $CPPFLAGS'
52207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
52216 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
52218 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
52219 for ac_func in fabsl
52220 do :
52221 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
52222 if test "x$ac_cv_func_fabsl" = xyes; then :
52223 cat >>confdefs.h <<_ACEOF
52224 #define HAVE_FABSL 1
52225 _ACEOF
52228 done
52230 else
52232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
52233 $as_echo_n "checking for _fabsl declaration... " >&6; }
52234 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
52235 if ${glibcxx_cv_func__fabsl_use+:} false; then :
52236 $as_echo_n "(cached) " >&6
52237 else
52240 ac_ext=cpp
52241 ac_cpp='$CXXCPP $CPPFLAGS'
52242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52247 /* end confdefs.h. */
52248 #include <math.h>
52249 #ifdef HAVE_IEEEFP_H
52250 #include <ieeefp.h>
52251 #endif
52254 main ()
52256 _fabsl(0);
52258 return 0;
52260 _ACEOF
52261 if ac_fn_cxx_try_compile "$LINENO"; then :
52262 glibcxx_cv_func__fabsl_use=yes
52263 else
52264 glibcxx_cv_func__fabsl_use=no
52266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52267 ac_ext=c
52268 ac_cpp='$CPP $CPPFLAGS'
52269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
52278 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
52280 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
52281 for ac_func in _fabsl
52282 do :
52283 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
52284 if test "x$ac_cv_func__fabsl" = xyes; then :
52285 cat >>confdefs.h <<_ACEOF
52286 #define HAVE__FABSL 1
52287 _ACEOF
52290 done
52299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
52300 $as_echo_n "checking for fmodl declaration... " >&6; }
52301 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
52302 if ${glibcxx_cv_func_fmodl_use+:} false; then :
52303 $as_echo_n "(cached) " >&6
52304 else
52307 ac_ext=cpp
52308 ac_cpp='$CXXCPP $CPPFLAGS'
52309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52314 /* end confdefs.h. */
52315 #include <math.h>
52317 main ()
52319 fmodl(0, 0);
52321 return 0;
52323 _ACEOF
52324 if ac_fn_cxx_try_compile "$LINENO"; then :
52325 glibcxx_cv_func_fmodl_use=yes
52326 else
52327 glibcxx_cv_func_fmodl_use=no
52329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52330 ac_ext=c
52331 ac_cpp='$CPP $CPPFLAGS'
52332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
52341 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
52343 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
52344 for ac_func in fmodl
52345 do :
52346 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
52347 if test "x$ac_cv_func_fmodl" = xyes; then :
52348 cat >>confdefs.h <<_ACEOF
52349 #define HAVE_FMODL 1
52350 _ACEOF
52353 done
52355 else
52357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
52358 $as_echo_n "checking for _fmodl declaration... " >&6; }
52359 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
52360 if ${glibcxx_cv_func__fmodl_use+:} false; then :
52361 $as_echo_n "(cached) " >&6
52362 else
52365 ac_ext=cpp
52366 ac_cpp='$CXXCPP $CPPFLAGS'
52367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52372 /* end confdefs.h. */
52373 #include <math.h>
52375 main ()
52377 _fmodl(0, 0);
52379 return 0;
52381 _ACEOF
52382 if ac_fn_cxx_try_compile "$LINENO"; then :
52383 glibcxx_cv_func__fmodl_use=yes
52384 else
52385 glibcxx_cv_func__fmodl_use=no
52387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52388 ac_ext=c
52389 ac_cpp='$CPP $CPPFLAGS'
52390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
52399 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
52401 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
52402 for ac_func in _fmodl
52403 do :
52404 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
52405 if test "x$ac_cv_func__fmodl" = xyes; then :
52406 cat >>confdefs.h <<_ACEOF
52407 #define HAVE__FMODL 1
52408 _ACEOF
52411 done
52420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
52421 $as_echo_n "checking for frexpl declaration... " >&6; }
52422 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
52423 if ${glibcxx_cv_func_frexpl_use+:} false; then :
52424 $as_echo_n "(cached) " >&6
52425 else
52428 ac_ext=cpp
52429 ac_cpp='$CXXCPP $CPPFLAGS'
52430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52435 /* end confdefs.h. */
52436 #include <math.h>
52438 main ()
52440 frexpl(0, 0);
52442 return 0;
52444 _ACEOF
52445 if ac_fn_cxx_try_compile "$LINENO"; then :
52446 glibcxx_cv_func_frexpl_use=yes
52447 else
52448 glibcxx_cv_func_frexpl_use=no
52450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52451 ac_ext=c
52452 ac_cpp='$CPP $CPPFLAGS'
52453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
52462 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
52464 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
52465 for ac_func in frexpl
52466 do :
52467 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
52468 if test "x$ac_cv_func_frexpl" = xyes; then :
52469 cat >>confdefs.h <<_ACEOF
52470 #define HAVE_FREXPL 1
52471 _ACEOF
52474 done
52476 else
52478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
52479 $as_echo_n "checking for _frexpl declaration... " >&6; }
52480 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
52481 if ${glibcxx_cv_func__frexpl_use+:} false; then :
52482 $as_echo_n "(cached) " >&6
52483 else
52486 ac_ext=cpp
52487 ac_cpp='$CXXCPP $CPPFLAGS'
52488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52493 /* end confdefs.h. */
52494 #include <math.h>
52496 main ()
52498 _frexpl(0, 0);
52500 return 0;
52502 _ACEOF
52503 if ac_fn_cxx_try_compile "$LINENO"; then :
52504 glibcxx_cv_func__frexpl_use=yes
52505 else
52506 glibcxx_cv_func__frexpl_use=no
52508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52509 ac_ext=c
52510 ac_cpp='$CPP $CPPFLAGS'
52511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
52520 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
52522 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
52523 for ac_func in _frexpl
52524 do :
52525 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
52526 if test "x$ac_cv_func__frexpl" = xyes; then :
52527 cat >>confdefs.h <<_ACEOF
52528 #define HAVE__FREXPL 1
52529 _ACEOF
52532 done
52541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
52542 $as_echo_n "checking for hypotl declaration... " >&6; }
52543 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
52544 if ${glibcxx_cv_func_hypotl_use+:} false; then :
52545 $as_echo_n "(cached) " >&6
52546 else
52549 ac_ext=cpp
52550 ac_cpp='$CXXCPP $CPPFLAGS'
52551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52556 /* end confdefs.h. */
52557 #include <math.h>
52559 main ()
52561 hypotl(0, 0);
52563 return 0;
52565 _ACEOF
52566 if ac_fn_cxx_try_compile "$LINENO"; then :
52567 glibcxx_cv_func_hypotl_use=yes
52568 else
52569 glibcxx_cv_func_hypotl_use=no
52571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52572 ac_ext=c
52573 ac_cpp='$CPP $CPPFLAGS'
52574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
52583 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
52585 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
52586 for ac_func in hypotl
52587 do :
52588 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
52589 if test "x$ac_cv_func_hypotl" = xyes; then :
52590 cat >>confdefs.h <<_ACEOF
52591 #define HAVE_HYPOTL 1
52592 _ACEOF
52595 done
52597 else
52599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
52600 $as_echo_n "checking for _hypotl declaration... " >&6; }
52601 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
52602 if ${glibcxx_cv_func__hypotl_use+:} false; then :
52603 $as_echo_n "(cached) " >&6
52604 else
52607 ac_ext=cpp
52608 ac_cpp='$CXXCPP $CPPFLAGS'
52609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52614 /* end confdefs.h. */
52615 #include <math.h>
52617 main ()
52619 _hypotl(0, 0);
52621 return 0;
52623 _ACEOF
52624 if ac_fn_cxx_try_compile "$LINENO"; then :
52625 glibcxx_cv_func__hypotl_use=yes
52626 else
52627 glibcxx_cv_func__hypotl_use=no
52629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52630 ac_ext=c
52631 ac_cpp='$CPP $CPPFLAGS'
52632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
52641 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
52643 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
52644 for ac_func in _hypotl
52645 do :
52646 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
52647 if test "x$ac_cv_func__hypotl" = xyes; then :
52648 cat >>confdefs.h <<_ACEOF
52649 #define HAVE__HYPOTL 1
52650 _ACEOF
52653 done
52662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
52663 $as_echo_n "checking for ldexpl declaration... " >&6; }
52664 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
52665 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
52666 $as_echo_n "(cached) " >&6
52667 else
52670 ac_ext=cpp
52671 ac_cpp='$CXXCPP $CPPFLAGS'
52672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52677 /* end confdefs.h. */
52678 #include <math.h>
52680 main ()
52682 ldexpl(0, 0);
52684 return 0;
52686 _ACEOF
52687 if ac_fn_cxx_try_compile "$LINENO"; then :
52688 glibcxx_cv_func_ldexpl_use=yes
52689 else
52690 glibcxx_cv_func_ldexpl_use=no
52692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52693 ac_ext=c
52694 ac_cpp='$CPP $CPPFLAGS'
52695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
52704 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
52706 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
52707 for ac_func in ldexpl
52708 do :
52709 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
52710 if test "x$ac_cv_func_ldexpl" = xyes; then :
52711 cat >>confdefs.h <<_ACEOF
52712 #define HAVE_LDEXPL 1
52713 _ACEOF
52716 done
52718 else
52720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
52721 $as_echo_n "checking for _ldexpl declaration... " >&6; }
52722 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
52723 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
52724 $as_echo_n "(cached) " >&6
52725 else
52728 ac_ext=cpp
52729 ac_cpp='$CXXCPP $CPPFLAGS'
52730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52735 /* end confdefs.h. */
52736 #include <math.h>
52738 main ()
52740 _ldexpl(0, 0);
52742 return 0;
52744 _ACEOF
52745 if ac_fn_cxx_try_compile "$LINENO"; then :
52746 glibcxx_cv_func__ldexpl_use=yes
52747 else
52748 glibcxx_cv_func__ldexpl_use=no
52750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52751 ac_ext=c
52752 ac_cpp='$CPP $CPPFLAGS'
52753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
52762 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
52764 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
52765 for ac_func in _ldexpl
52766 do :
52767 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
52768 if test "x$ac_cv_func__ldexpl" = xyes; then :
52769 cat >>confdefs.h <<_ACEOF
52770 #define HAVE__LDEXPL 1
52771 _ACEOF
52774 done
52783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
52784 $as_echo_n "checking for logl declaration... " >&6; }
52785 if test x${glibcxx_cv_func_logl_use+set} != xset; then
52786 if ${glibcxx_cv_func_logl_use+:} false; then :
52787 $as_echo_n "(cached) " >&6
52788 else
52791 ac_ext=cpp
52792 ac_cpp='$CXXCPP $CPPFLAGS'
52793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52798 /* end confdefs.h. */
52799 #include <math.h>
52800 #ifdef HAVE_IEEEFP_H
52801 #include <ieeefp.h>
52802 #endif
52805 main ()
52807 logl(0);
52809 return 0;
52811 _ACEOF
52812 if ac_fn_cxx_try_compile "$LINENO"; then :
52813 glibcxx_cv_func_logl_use=yes
52814 else
52815 glibcxx_cv_func_logl_use=no
52817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52818 ac_ext=c
52819 ac_cpp='$CPP $CPPFLAGS'
52820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
52829 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
52831 if test x$glibcxx_cv_func_logl_use = x"yes"; then
52832 for ac_func in logl
52833 do :
52834 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
52835 if test "x$ac_cv_func_logl" = xyes; then :
52836 cat >>confdefs.h <<_ACEOF
52837 #define HAVE_LOGL 1
52838 _ACEOF
52841 done
52843 else
52845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
52846 $as_echo_n "checking for _logl declaration... " >&6; }
52847 if test x${glibcxx_cv_func__logl_use+set} != xset; then
52848 if ${glibcxx_cv_func__logl_use+:} false; then :
52849 $as_echo_n "(cached) " >&6
52850 else
52853 ac_ext=cpp
52854 ac_cpp='$CXXCPP $CPPFLAGS'
52855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52860 /* end confdefs.h. */
52861 #include <math.h>
52862 #ifdef HAVE_IEEEFP_H
52863 #include <ieeefp.h>
52864 #endif
52867 main ()
52869 _logl(0);
52871 return 0;
52873 _ACEOF
52874 if ac_fn_cxx_try_compile "$LINENO"; then :
52875 glibcxx_cv_func__logl_use=yes
52876 else
52877 glibcxx_cv_func__logl_use=no
52879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52880 ac_ext=c
52881 ac_cpp='$CPP $CPPFLAGS'
52882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
52891 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
52893 if test x$glibcxx_cv_func__logl_use = x"yes"; then
52894 for ac_func in _logl
52895 do :
52896 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
52897 if test "x$ac_cv_func__logl" = xyes; then :
52898 cat >>confdefs.h <<_ACEOF
52899 #define HAVE__LOGL 1
52900 _ACEOF
52903 done
52912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
52913 $as_echo_n "checking for log10l declaration... " >&6; }
52914 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
52915 if ${glibcxx_cv_func_log10l_use+:} false; then :
52916 $as_echo_n "(cached) " >&6
52917 else
52920 ac_ext=cpp
52921 ac_cpp='$CXXCPP $CPPFLAGS'
52922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52927 /* end confdefs.h. */
52928 #include <math.h>
52929 #ifdef HAVE_IEEEFP_H
52930 #include <ieeefp.h>
52931 #endif
52934 main ()
52936 log10l(0);
52938 return 0;
52940 _ACEOF
52941 if ac_fn_cxx_try_compile "$LINENO"; then :
52942 glibcxx_cv_func_log10l_use=yes
52943 else
52944 glibcxx_cv_func_log10l_use=no
52946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52947 ac_ext=c
52948 ac_cpp='$CPP $CPPFLAGS'
52949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
52958 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
52960 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
52961 for ac_func in log10l
52962 do :
52963 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
52964 if test "x$ac_cv_func_log10l" = xyes; then :
52965 cat >>confdefs.h <<_ACEOF
52966 #define HAVE_LOG10L 1
52967 _ACEOF
52970 done
52972 else
52974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
52975 $as_echo_n "checking for _log10l declaration... " >&6; }
52976 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
52977 if ${glibcxx_cv_func__log10l_use+:} false; then :
52978 $as_echo_n "(cached) " >&6
52979 else
52982 ac_ext=cpp
52983 ac_cpp='$CXXCPP $CPPFLAGS'
52984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52989 /* end confdefs.h. */
52990 #include <math.h>
52991 #ifdef HAVE_IEEEFP_H
52992 #include <ieeefp.h>
52993 #endif
52996 main ()
52998 _log10l(0);
53000 return 0;
53002 _ACEOF
53003 if ac_fn_cxx_try_compile "$LINENO"; then :
53004 glibcxx_cv_func__log10l_use=yes
53005 else
53006 glibcxx_cv_func__log10l_use=no
53008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53009 ac_ext=c
53010 ac_cpp='$CPP $CPPFLAGS'
53011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
53020 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
53022 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
53023 for ac_func in _log10l
53024 do :
53025 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
53026 if test "x$ac_cv_func__log10l" = xyes; then :
53027 cat >>confdefs.h <<_ACEOF
53028 #define HAVE__LOG10L 1
53029 _ACEOF
53032 done
53041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
53042 $as_echo_n "checking for modfl declaration... " >&6; }
53043 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
53044 if ${glibcxx_cv_func_modfl_use+:} false; then :
53045 $as_echo_n "(cached) " >&6
53046 else
53049 ac_ext=cpp
53050 ac_cpp='$CXXCPP $CPPFLAGS'
53051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53056 /* end confdefs.h. */
53057 #include <math.h>
53059 main ()
53061 modfl(0, 0);
53063 return 0;
53065 _ACEOF
53066 if ac_fn_cxx_try_compile "$LINENO"; then :
53067 glibcxx_cv_func_modfl_use=yes
53068 else
53069 glibcxx_cv_func_modfl_use=no
53071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53072 ac_ext=c
53073 ac_cpp='$CPP $CPPFLAGS'
53074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
53083 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
53085 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
53086 for ac_func in modfl
53087 do :
53088 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
53089 if test "x$ac_cv_func_modfl" = xyes; then :
53090 cat >>confdefs.h <<_ACEOF
53091 #define HAVE_MODFL 1
53092 _ACEOF
53095 done
53097 else
53099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
53100 $as_echo_n "checking for _modfl declaration... " >&6; }
53101 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
53102 if ${glibcxx_cv_func__modfl_use+:} false; then :
53103 $as_echo_n "(cached) " >&6
53104 else
53107 ac_ext=cpp
53108 ac_cpp='$CXXCPP $CPPFLAGS'
53109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53114 /* end confdefs.h. */
53115 #include <math.h>
53117 main ()
53119 _modfl(0, 0);
53121 return 0;
53123 _ACEOF
53124 if ac_fn_cxx_try_compile "$LINENO"; then :
53125 glibcxx_cv_func__modfl_use=yes
53126 else
53127 glibcxx_cv_func__modfl_use=no
53129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53130 ac_ext=c
53131 ac_cpp='$CPP $CPPFLAGS'
53132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
53141 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
53143 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
53144 for ac_func in _modfl
53145 do :
53146 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
53147 if test "x$ac_cv_func__modfl" = xyes; then :
53148 cat >>confdefs.h <<_ACEOF
53149 #define HAVE__MODFL 1
53150 _ACEOF
53153 done
53162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
53163 $as_echo_n "checking for powl declaration... " >&6; }
53164 if test x${glibcxx_cv_func_powl_use+set} != xset; then
53165 if ${glibcxx_cv_func_powl_use+:} false; then :
53166 $as_echo_n "(cached) " >&6
53167 else
53170 ac_ext=cpp
53171 ac_cpp='$CXXCPP $CPPFLAGS'
53172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53177 /* end confdefs.h. */
53178 #include <math.h>
53180 main ()
53182 powl(0, 0);
53184 return 0;
53186 _ACEOF
53187 if ac_fn_cxx_try_compile "$LINENO"; then :
53188 glibcxx_cv_func_powl_use=yes
53189 else
53190 glibcxx_cv_func_powl_use=no
53192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53193 ac_ext=c
53194 ac_cpp='$CPP $CPPFLAGS'
53195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
53204 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
53206 if test x$glibcxx_cv_func_powl_use = x"yes"; then
53207 for ac_func in powl
53208 do :
53209 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
53210 if test "x$ac_cv_func_powl" = xyes; then :
53211 cat >>confdefs.h <<_ACEOF
53212 #define HAVE_POWL 1
53213 _ACEOF
53216 done
53218 else
53220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
53221 $as_echo_n "checking for _powl declaration... " >&6; }
53222 if test x${glibcxx_cv_func__powl_use+set} != xset; then
53223 if ${glibcxx_cv_func__powl_use+:} false; then :
53224 $as_echo_n "(cached) " >&6
53225 else
53228 ac_ext=cpp
53229 ac_cpp='$CXXCPP $CPPFLAGS'
53230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53235 /* end confdefs.h. */
53236 #include <math.h>
53238 main ()
53240 _powl(0, 0);
53242 return 0;
53244 _ACEOF
53245 if ac_fn_cxx_try_compile "$LINENO"; then :
53246 glibcxx_cv_func__powl_use=yes
53247 else
53248 glibcxx_cv_func__powl_use=no
53250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53251 ac_ext=c
53252 ac_cpp='$CPP $CPPFLAGS'
53253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
53262 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
53264 if test x$glibcxx_cv_func__powl_use = x"yes"; then
53265 for ac_func in _powl
53266 do :
53267 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
53268 if test "x$ac_cv_func__powl" = xyes; then :
53269 cat >>confdefs.h <<_ACEOF
53270 #define HAVE__POWL 1
53271 _ACEOF
53274 done
53283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
53284 $as_echo_n "checking for sqrtl declaration... " >&6; }
53285 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
53286 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
53287 $as_echo_n "(cached) " >&6
53288 else
53291 ac_ext=cpp
53292 ac_cpp='$CXXCPP $CPPFLAGS'
53293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53298 /* end confdefs.h. */
53299 #include <math.h>
53300 #ifdef HAVE_IEEEFP_H
53301 #include <ieeefp.h>
53302 #endif
53305 main ()
53307 sqrtl(0);
53309 return 0;
53311 _ACEOF
53312 if ac_fn_cxx_try_compile "$LINENO"; then :
53313 glibcxx_cv_func_sqrtl_use=yes
53314 else
53315 glibcxx_cv_func_sqrtl_use=no
53317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53318 ac_ext=c
53319 ac_cpp='$CPP $CPPFLAGS'
53320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
53329 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
53331 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
53332 for ac_func in sqrtl
53333 do :
53334 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
53335 if test "x$ac_cv_func_sqrtl" = xyes; then :
53336 cat >>confdefs.h <<_ACEOF
53337 #define HAVE_SQRTL 1
53338 _ACEOF
53341 done
53343 else
53345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
53346 $as_echo_n "checking for _sqrtl declaration... " >&6; }
53347 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
53348 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
53349 $as_echo_n "(cached) " >&6
53350 else
53353 ac_ext=cpp
53354 ac_cpp='$CXXCPP $CPPFLAGS'
53355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53360 /* end confdefs.h. */
53361 #include <math.h>
53362 #ifdef HAVE_IEEEFP_H
53363 #include <ieeefp.h>
53364 #endif
53367 main ()
53369 _sqrtl(0);
53371 return 0;
53373 _ACEOF
53374 if ac_fn_cxx_try_compile "$LINENO"; then :
53375 glibcxx_cv_func__sqrtl_use=yes
53376 else
53377 glibcxx_cv_func__sqrtl_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
53390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
53391 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
53393 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
53394 for ac_func in _sqrtl
53395 do :
53396 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
53397 if test "x$ac_cv_func__sqrtl" = xyes; then :
53398 cat >>confdefs.h <<_ACEOF
53399 #define HAVE__SQRTL 1
53400 _ACEOF
53403 done
53412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
53413 $as_echo_n "checking for sincosl declaration... " >&6; }
53414 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
53415 if ${glibcxx_cv_func_sincosl_use+:} false; then :
53416 $as_echo_n "(cached) " >&6
53417 else
53420 ac_ext=cpp
53421 ac_cpp='$CXXCPP $CPPFLAGS'
53422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53427 /* end confdefs.h. */
53428 #include <math.h>
53430 main ()
53432 sincosl(0, 0, 0);
53434 return 0;
53436 _ACEOF
53437 if ac_fn_cxx_try_compile "$LINENO"; then :
53438 glibcxx_cv_func_sincosl_use=yes
53439 else
53440 glibcxx_cv_func_sincosl_use=no
53442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53443 ac_ext=c
53444 ac_cpp='$CPP $CPPFLAGS'
53445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
53454 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
53456 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
53457 for ac_func in sincosl
53458 do :
53459 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
53460 if test "x$ac_cv_func_sincosl" = xyes; then :
53461 cat >>confdefs.h <<_ACEOF
53462 #define HAVE_SINCOSL 1
53463 _ACEOF
53466 done
53468 else
53470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
53471 $as_echo_n "checking for _sincosl declaration... " >&6; }
53472 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
53473 if ${glibcxx_cv_func__sincosl_use+:} false; then :
53474 $as_echo_n "(cached) " >&6
53475 else
53478 ac_ext=cpp
53479 ac_cpp='$CXXCPP $CPPFLAGS'
53480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53485 /* end confdefs.h. */
53486 #include <math.h>
53488 main ()
53490 _sincosl(0, 0, 0);
53492 return 0;
53494 _ACEOF
53495 if ac_fn_cxx_try_compile "$LINENO"; then :
53496 glibcxx_cv_func__sincosl_use=yes
53497 else
53498 glibcxx_cv_func__sincosl_use=no
53500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53501 ac_ext=c
53502 ac_cpp='$CPP $CPPFLAGS'
53503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
53512 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
53514 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
53515 for ac_func in _sincosl
53516 do :
53517 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
53518 if test "x$ac_cv_func__sincosl" = xyes; then :
53519 cat >>confdefs.h <<_ACEOF
53520 #define HAVE__SINCOSL 1
53521 _ACEOF
53524 done
53533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
53534 $as_echo_n "checking for finitel declaration... " >&6; }
53535 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
53536 if ${glibcxx_cv_func_finitel_use+:} false; then :
53537 $as_echo_n "(cached) " >&6
53538 else
53541 ac_ext=cpp
53542 ac_cpp='$CXXCPP $CPPFLAGS'
53543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53548 /* end confdefs.h. */
53549 #include <math.h>
53550 #ifdef HAVE_IEEEFP_H
53551 #include <ieeefp.h>
53552 #endif
53555 main ()
53557 finitel(0);
53559 return 0;
53561 _ACEOF
53562 if ac_fn_cxx_try_compile "$LINENO"; then :
53563 glibcxx_cv_func_finitel_use=yes
53564 else
53565 glibcxx_cv_func_finitel_use=no
53567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53568 ac_ext=c
53569 ac_cpp='$CPP $CPPFLAGS'
53570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
53579 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
53581 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
53582 for ac_func in finitel
53583 do :
53584 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
53585 if test "x$ac_cv_func_finitel" = xyes; then :
53586 cat >>confdefs.h <<_ACEOF
53587 #define HAVE_FINITEL 1
53588 _ACEOF
53591 done
53593 else
53595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
53596 $as_echo_n "checking for _finitel declaration... " >&6; }
53597 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
53598 if ${glibcxx_cv_func__finitel_use+:} false; then :
53599 $as_echo_n "(cached) " >&6
53600 else
53603 ac_ext=cpp
53604 ac_cpp='$CXXCPP $CPPFLAGS'
53605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53610 /* end confdefs.h. */
53611 #include <math.h>
53612 #ifdef HAVE_IEEEFP_H
53613 #include <ieeefp.h>
53614 #endif
53617 main ()
53619 _finitel(0);
53621 return 0;
53623 _ACEOF
53624 if ac_fn_cxx_try_compile "$LINENO"; then :
53625 glibcxx_cv_func__finitel_use=yes
53626 else
53627 glibcxx_cv_func__finitel_use=no
53629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53630 ac_ext=c
53631 ac_cpp='$CPP $CPPFLAGS'
53632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
53641 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
53643 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
53644 for ac_func in _finitel
53645 do :
53646 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
53647 if test "x$ac_cv_func__finitel" = xyes; then :
53648 cat >>confdefs.h <<_ACEOF
53649 #define HAVE__FINITEL 1
53650 _ACEOF
53653 done
53661 LIBS="$ac_save_LIBS"
53662 CXXFLAGS="$ac_save_CXXFLAGS"
53665 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53666 ac_save_CXXFLAGS="$CXXFLAGS"
53667 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
53671 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
53672 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
53673 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
53674 $as_echo_n "(cached) " >&6
53675 else
53678 ac_ext=cpp
53679 ac_cpp='$CXXCPP $CPPFLAGS'
53680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53685 /* end confdefs.h. */
53686 #include <stdlib.h>
53688 main ()
53690 at_quick_exit(0);
53692 return 0;
53694 _ACEOF
53695 if ac_fn_cxx_try_compile "$LINENO"; then :
53696 glibcxx_cv_func_at_quick_exit_use=yes
53697 else
53698 glibcxx_cv_func_at_quick_exit_use=no
53700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53701 ac_ext=c
53702 ac_cpp='$CPP $CPPFLAGS'
53703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
53712 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
53713 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
53714 for ac_func in at_quick_exit
53715 do :
53716 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
53717 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
53718 cat >>confdefs.h <<_ACEOF
53719 #define HAVE_AT_QUICK_EXIT 1
53720 _ACEOF
53723 done
53728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
53729 $as_echo_n "checking for quick_exit declaration... " >&6; }
53730 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
53731 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
53732 $as_echo_n "(cached) " >&6
53733 else
53736 ac_ext=cpp
53737 ac_cpp='$CXXCPP $CPPFLAGS'
53738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53743 /* end confdefs.h. */
53744 #include <stdlib.h>
53746 main ()
53748 quick_exit(0);
53750 return 0;
53752 _ACEOF
53753 if ac_fn_cxx_try_compile "$LINENO"; then :
53754 glibcxx_cv_func_quick_exit_use=yes
53755 else
53756 glibcxx_cv_func_quick_exit_use=no
53758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53759 ac_ext=c
53760 ac_cpp='$CPP $CPPFLAGS'
53761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
53770 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
53771 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
53772 for ac_func in quick_exit
53773 do :
53774 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
53775 if test "x$ac_cv_func_quick_exit" = xyes; then :
53776 cat >>confdefs.h <<_ACEOF
53777 #define HAVE_QUICK_EXIT 1
53778 _ACEOF
53781 done
53786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
53787 $as_echo_n "checking for strtold declaration... " >&6; }
53788 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
53789 if ${glibcxx_cv_func_strtold_use+:} false; then :
53790 $as_echo_n "(cached) " >&6
53791 else
53794 ac_ext=cpp
53795 ac_cpp='$CXXCPP $CPPFLAGS'
53796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53801 /* end confdefs.h. */
53802 #include <stdlib.h>
53804 main ()
53806 strtold(0, 0);
53808 return 0;
53810 _ACEOF
53811 if ac_fn_cxx_try_compile "$LINENO"; then :
53812 glibcxx_cv_func_strtold_use=yes
53813 else
53814 glibcxx_cv_func_strtold_use=no
53816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53817 ac_ext=c
53818 ac_cpp='$CPP $CPPFLAGS'
53819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
53828 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
53829 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53830 for ac_func in strtold
53831 do :
53832 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
53833 if test "x$ac_cv_func_strtold" = xyes; then :
53834 cat >>confdefs.h <<_ACEOF
53835 #define HAVE_STRTOLD 1
53836 _ACEOF
53839 done
53846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
53847 $as_echo_n "checking for strtof declaration... " >&6; }
53848 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53849 if ${glibcxx_cv_func_strtof_use+:} false; then :
53850 $as_echo_n "(cached) " >&6
53851 else
53854 ac_ext=cpp
53855 ac_cpp='$CXXCPP $CPPFLAGS'
53856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53861 /* end confdefs.h. */
53862 #include <stdlib.h>
53864 main ()
53866 strtof(0, 0);
53868 return 0;
53870 _ACEOF
53871 if ac_fn_cxx_try_compile "$LINENO"; then :
53872 glibcxx_cv_func_strtof_use=yes
53873 else
53874 glibcxx_cv_func_strtof_use=no
53876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53877 ac_ext=c
53878 ac_cpp='$CPP $CPPFLAGS'
53879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
53888 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
53889 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53890 for ac_func in strtof
53891 do :
53892 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
53893 if test "x$ac_cv_func_strtof" = xyes; then :
53894 cat >>confdefs.h <<_ACEOF
53895 #define HAVE_STRTOF 1
53896 _ACEOF
53899 done
53906 CXXFLAGS="$ac_save_CXXFLAGS"
53908 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
53910 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
53914 # Check whether --enable-tls was given.
53915 if test "${enable_tls+set}" = set; then :
53916 enableval=$enable_tls;
53917 case "$enableval" in
53918 yes|no) ;;
53919 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53920 esac
53922 else
53923 enable_tls=yes
53927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53928 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53929 if ${gcc_cv_have_tls+:} false; then :
53930 $as_echo_n "(cached) " >&6
53931 else
53933 if test "$cross_compiling" = yes; then :
53934 if test x$gcc_no_link = xyes; then
53935 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53938 /* end confdefs.h. */
53939 __thread int a; int b; int main() { return a = b; }
53940 _ACEOF
53941 if ac_fn_c_try_link "$LINENO"; then :
53942 chktls_save_LDFLAGS="$LDFLAGS"
53943 case $host in
53944 *-*-linux* | -*-uclinuxfdpic*)
53945 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53947 esac
53948 chktls_save_CFLAGS="$CFLAGS"
53949 CFLAGS="-fPIC $CFLAGS"
53950 if test x$gcc_no_link = xyes; then
53951 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53954 /* end confdefs.h. */
53955 int f() { return 0; }
53956 _ACEOF
53957 if ac_fn_c_try_link "$LINENO"; then :
53958 if test x$gcc_no_link = xyes; then
53959 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53962 /* end confdefs.h. */
53963 __thread int a; int b; int f() { return a = b; }
53964 _ACEOF
53965 if ac_fn_c_try_link "$LINENO"; then :
53966 gcc_cv_have_tls=yes
53967 else
53968 gcc_cv_have_tls=no
53970 rm -f core conftest.err conftest.$ac_objext \
53971 conftest$ac_exeext conftest.$ac_ext
53972 else
53973 gcc_cv_have_tls=yes
53975 rm -f core conftest.err conftest.$ac_objext \
53976 conftest$ac_exeext conftest.$ac_ext
53977 CFLAGS="$chktls_save_CFLAGS"
53978 LDFLAGS="$chktls_save_LDFLAGS"
53979 else
53980 gcc_cv_have_tls=no
53982 rm -f core conftest.err conftest.$ac_objext \
53983 conftest$ac_exeext conftest.$ac_ext
53986 else
53987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53988 /* end confdefs.h. */
53989 __thread int a; int b; int main() { return a = b; }
53990 _ACEOF
53991 if ac_fn_c_try_run "$LINENO"; then :
53992 chktls_save_LDFLAGS="$LDFLAGS"
53993 LDFLAGS="-static $LDFLAGS"
53994 if test x$gcc_no_link = xyes; then
53995 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53998 /* end confdefs.h. */
53999 int main() { return 0; }
54000 _ACEOF
54001 if ac_fn_c_try_link "$LINENO"; then :
54002 if test "$cross_compiling" = yes; then :
54003 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
54004 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
54005 as_fn_error $? "cannot run test program while cross compiling
54006 See \`config.log' for more details" "$LINENO" 5; }
54007 else
54008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54009 /* end confdefs.h. */
54010 __thread int a; int b; int main() { return a = b; }
54011 _ACEOF
54012 if ac_fn_c_try_run "$LINENO"; then :
54013 gcc_cv_have_tls=yes
54014 else
54015 gcc_cv_have_tls=no
54017 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54018 conftest.$ac_objext conftest.beam conftest.$ac_ext
54021 else
54022 gcc_cv_have_tls=yes
54024 rm -f core conftest.err conftest.$ac_objext \
54025 conftest$ac_exeext conftest.$ac_ext
54026 LDFLAGS="$chktls_save_LDFLAGS"
54027 if test $gcc_cv_have_tls = yes; then
54028 chktls_save_CFLAGS="$CFLAGS"
54029 thread_CFLAGS=failed
54030 for flag in '' '-pthread' '-lpthread'; do
54031 CFLAGS="$flag $chktls_save_CFLAGS"
54032 if test x$gcc_no_link = xyes; then
54033 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54036 /* end confdefs.h. */
54037 #include <pthread.h>
54038 void *g(void *d) { return NULL; }
54040 main ()
54042 pthread_t t; pthread_create(&t,NULL,g,NULL);
54044 return 0;
54046 _ACEOF
54047 if ac_fn_c_try_link "$LINENO"; then :
54048 thread_CFLAGS="$flag"
54050 rm -f core conftest.err conftest.$ac_objext \
54051 conftest$ac_exeext conftest.$ac_ext
54052 if test "X$thread_CFLAGS" != Xfailed; then
54053 break
54055 done
54056 CFLAGS="$chktls_save_CFLAGS"
54057 if test "X$thread_CFLAGS" != Xfailed; then
54058 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
54059 if test "$cross_compiling" = yes; then :
54060 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
54061 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
54062 as_fn_error $? "cannot run test program while cross compiling
54063 See \`config.log' for more details" "$LINENO" 5; }
54064 else
54065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54066 /* end confdefs.h. */
54067 #include <pthread.h>
54068 __thread int a;
54069 static int *volatile a_in_other_thread;
54070 static void *
54071 thread_func (void *arg)
54073 a_in_other_thread = &a;
54074 return (void *)0;
54077 main ()
54079 pthread_t thread;
54080 void *thread_retval;
54081 int *volatile a_in_main_thread;
54082 a_in_main_thread = &a;
54083 if (pthread_create (&thread, (pthread_attr_t *)0,
54084 thread_func, (void *)0))
54085 return 0;
54086 if (pthread_join (thread, &thread_retval))
54087 return 0;
54088 return (a_in_other_thread == a_in_main_thread);
54090 return 0;
54092 _ACEOF
54093 if ac_fn_c_try_run "$LINENO"; then :
54094 gcc_cv_have_tls=yes
54095 else
54096 gcc_cv_have_tls=no
54098 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54099 conftest.$ac_objext conftest.beam conftest.$ac_ext
54102 CFLAGS="$chktls_save_CFLAGS"
54105 else
54106 gcc_cv_have_tls=no
54108 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54109 conftest.$ac_objext conftest.beam conftest.$ac_ext
54113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
54114 $as_echo "$gcc_cv_have_tls" >&6; }
54115 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
54117 $as_echo "#define HAVE_TLS 1" >>confdefs.h
54120 for ac_func in __cxa_thread_atexit_impl
54121 do :
54122 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
54123 if test "x$ac_cv_func___cxa_thread_atexit_impl" = xyes; then :
54124 cat >>confdefs.h <<_ACEOF
54125 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
54126 _ACEOF
54129 done
54131 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
54132 do :
54133 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54134 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54135 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
54136 cat >>confdefs.h <<_ACEOF
54137 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54138 _ACEOF
54141 done
54143 for ac_func in timespec_get
54144 do :
54145 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
54146 if test "x$ac_cv_func_timespec_get" = xyes; then :
54147 cat >>confdefs.h <<_ACEOF
54148 #define HAVE_TIMESPEC_GET 1
54149 _ACEOF
54152 done
54154 for ac_func in sockatmark
54155 do :
54156 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
54157 if test "x$ac_cv_func_sockatmark" = xyes; then :
54158 cat >>confdefs.h <<_ACEOF
54159 #define HAVE_SOCKATMARK 1
54160 _ACEOF
54163 done
54165 for ac_func in uselocale
54166 do :
54167 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
54168 if test "x$ac_cv_func_uselocale" = xyes; then :
54169 cat >>confdefs.h <<_ACEOF
54170 #define HAVE_USELOCALE 1
54171 _ACEOF
54174 done
54181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
54182 $as_echo_n "checking for iconv... " >&6; }
54183 if ${am_cv_func_iconv+:} false; then :
54184 $as_echo_n "(cached) " >&6
54185 else
54187 am_cv_func_iconv="no, consider installing GNU libiconv"
54188 am_cv_lib_iconv=no
54189 am_save_CPPFLAGS="$CPPFLAGS"
54190 CPPFLAGS="$CPPFLAGS $INCICONV"
54191 if test x$gcc_no_link = xyes; then
54192 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54195 /* end confdefs.h. */
54196 #include <stdlib.h>
54197 #include <iconv.h>
54199 main ()
54201 iconv_t cd = iconv_open("","");
54202 iconv(cd,NULL,NULL,NULL,NULL);
54203 iconv_close(cd);
54205 return 0;
54207 _ACEOF
54208 if ac_fn_c_try_link "$LINENO"; then :
54209 am_cv_func_iconv=yes
54211 rm -f core conftest.err conftest.$ac_objext \
54212 conftest$ac_exeext conftest.$ac_ext
54213 CPPFLAGS="$am_save_CPPFLAGS"
54215 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
54216 for _libs in .libs _libs; do
54217 am_save_CPPFLAGS="$CPPFLAGS"
54218 am_save_LIBS="$LIBS"
54219 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
54220 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
54221 if test x$gcc_no_link = xyes; then
54222 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54225 /* end confdefs.h. */
54226 #include <stdlib.h>
54227 #include <iconv.h>
54229 main ()
54231 iconv_t cd = iconv_open("","");
54232 iconv(cd,NULL,NULL,NULL,NULL);
54233 iconv_close(cd);
54235 return 0;
54237 _ACEOF
54238 if ac_fn_c_try_link "$LINENO"; then :
54239 INCICONV="-I../libiconv/include"
54240 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
54241 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
54242 am_cv_lib_iconv=yes
54243 am_cv_func_iconv=yes
54245 rm -f core conftest.err conftest.$ac_objext \
54246 conftest$ac_exeext conftest.$ac_ext
54247 CPPFLAGS="$am_save_CPPFLAGS"
54248 LIBS="$am_save_LIBS"
54249 if test "$am_cv_func_iconv" = "yes"; then
54250 break
54252 done
54255 if test "$am_cv_func_iconv" != yes; then
54256 am_save_CPPFLAGS="$CPPFLAGS"
54257 am_save_LIBS="$LIBS"
54258 CPPFLAGS="$CPPFLAGS $INCICONV"
54259 LIBS="$LIBS $LIBICONV"
54260 if test x$gcc_no_link = xyes; then
54261 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54264 /* end confdefs.h. */
54265 #include <stdlib.h>
54266 #include <iconv.h>
54268 main ()
54270 iconv_t cd = iconv_open("","");
54271 iconv(cd,NULL,NULL,NULL,NULL);
54272 iconv_close(cd);
54274 return 0;
54276 _ACEOF
54277 if ac_fn_c_try_link "$LINENO"; then :
54278 am_cv_lib_iconv=yes
54279 am_cv_func_iconv=yes
54281 rm -f core conftest.err conftest.$ac_objext \
54282 conftest$ac_exeext conftest.$ac_ext
54283 CPPFLAGS="$am_save_CPPFLAGS"
54284 LIBS="$am_save_LIBS"
54288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
54289 $as_echo "$am_cv_func_iconv" >&6; }
54290 if test "$am_cv_func_iconv" = yes; then
54292 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
54295 if test "$am_cv_lib_iconv" = yes; then
54297 for element in $INCICONV; do
54298 haveit=
54299 for x in $CPPFLAGS; do
54301 acl_save_prefix="$prefix"
54302 prefix="$acl_final_prefix"
54303 acl_save_exec_prefix="$exec_prefix"
54304 exec_prefix="$acl_final_exec_prefix"
54305 eval x=\"$x\"
54306 exec_prefix="$acl_save_exec_prefix"
54307 prefix="$acl_save_prefix"
54309 if test "X$x" = "X$element"; then
54310 haveit=yes
54311 break
54313 done
54314 if test -z "$haveit"; then
54315 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
54317 done
54319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
54320 $as_echo_n "checking how to link with libiconv... " >&6; }
54321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
54322 $as_echo "$LIBICONV" >&6; }
54323 else
54324 LIBICONV=
54325 LTLIBICONV=
54330 if test "$am_cv_func_iconv" = yes; then
54331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
54332 $as_echo_n "checking for iconv declaration... " >&6; }
54333 if ${am_cv_proto_iconv+:} false; then :
54334 $as_echo_n "(cached) " >&6
54335 else
54337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54338 /* end confdefs.h. */
54340 #include <stdlib.h>
54341 #include <iconv.h>
54342 extern
54343 #ifdef __cplusplus
54345 #endif
54346 #if defined(__STDC__) || defined(__cplusplus)
54347 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
54348 #else
54349 size_t iconv();
54350 #endif
54353 main ()
54357 return 0;
54359 _ACEOF
54360 if ac_fn_c_try_compile "$LINENO"; then :
54361 am_cv_proto_iconv_arg1=""
54362 else
54363 am_cv_proto_iconv_arg1="const"
54365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54366 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);"
54369 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
54370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
54371 }$am_cv_proto_iconv" >&5
54372 $as_echo "${ac_t:-
54373 }$am_cv_proto_iconv" >&6; }
54375 cat >>confdefs.h <<_ACEOF
54376 #define ICONV_CONST $am_cv_proto_iconv_arg1
54377 _ACEOF
54382 *-mingw32*)
54384 # If we're not using GNU ld, then there's no point in even trying these
54385 # tests. Check for that first. We should have already tested for gld
54386 # by now (in libtool), but require it now just to be safe...
54387 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54388 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54392 # The name set by libtool depends on the version of libtool. Shame on us
54393 # for depending on an impl detail, but c'est la vie. Older versions used
54394 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54395 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54396 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
54397 # set (hence we're using an older libtool), then set it.
54398 if test x${with_gnu_ld+set} != xset; then
54399 if test x${ac_cv_prog_gnu_ld+set} != xset; then
54400 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
54401 with_gnu_ld=no
54402 else
54403 with_gnu_ld=$ac_cv_prog_gnu_ld
54407 # Start by getting the version number. I think the libtool test already
54408 # does some of this, but throws away the result.
54409 glibcxx_ld_is_gold=no
54410 glibcxx_ld_is_mold=no
54411 if test x"$with_gnu_ld" = x"yes"; then
54412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
54413 $as_echo_n "checking for ld version... " >&6; }
54415 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
54416 glibcxx_ld_is_gold=yes
54417 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
54418 glibcxx_ld_is_mold=yes
54420 ldver=`$LD --version 2>/dev/null |
54421 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
54423 glibcxx_gnu_ld_version=`echo $ldver | \
54424 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
54426 $as_echo "$glibcxx_gnu_ld_version" >&6; }
54429 # Set --gc-sections.
54430 glibcxx_have_gc_sections=no
54431 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
54432 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
54433 glibcxx_have_gc_sections=yes
54435 else
54436 glibcxx_gcsections_min_ld=21602
54437 if test x"$with_gnu_ld" = x"yes" &&
54438 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
54439 glibcxx_have_gc_sections=yes
54442 if test "$glibcxx_have_gc_sections" = "yes"; then
54443 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
54444 # NB: This flag only works reliably after 2.16.1. Configure tests
54445 # for this are difficult, so hard wire a value that should work.
54447 ac_test_CFLAGS="${CFLAGS+set}"
54448 ac_save_CFLAGS="$CFLAGS"
54449 CFLAGS='-Wl,--gc-sections'
54451 # Check for -Wl,--gc-sections
54452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
54453 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
54454 if test x$gcc_no_link = xyes; then
54455 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54458 /* end confdefs.h. */
54459 int one(void) { return 1; }
54460 int two(void) { return 2; }
54463 main ()
54465 two();
54467 return 0;
54469 _ACEOF
54470 if ac_fn_c_try_link "$LINENO"; then :
54471 ac_gcsections=yes
54472 else
54473 ac_gcsections=no
54475 rm -f core conftest.err conftest.$ac_objext \
54476 conftest$ac_exeext conftest.$ac_ext
54477 if test "$ac_gcsections" = "yes"; then
54478 rm -f conftest.c
54479 touch conftest.c
54480 if $CC -c conftest.c; then
54481 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
54482 grep "Warning: gc-sections option ignored" > /dev/null; then
54483 ac_gcsections=no
54486 rm -f conftest.c conftest.o conftest
54488 if test "$ac_gcsections" = "yes"; then
54489 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
54492 $as_echo "$ac_gcsections" >&6; }
54494 if test "$ac_test_CFLAGS" = set; then
54495 CFLAGS="$ac_save_CFLAGS"
54496 else
54497 # this is the suspicious part
54498 CFLAGS=''
54502 # Set -z,relro.
54503 # Note this is only for shared objects.
54504 ac_ld_relro=no
54505 if test x"$with_gnu_ld" = x"yes"; then
54506 # cygwin and mingw uses PE, which has no ELF relro support,
54507 # multi target ld may confuse configure machinery
54508 case "$host" in
54509 *-*-cygwin*)
54511 *-*-mingw*)
54514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
54515 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
54516 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
54517 if test -n "$cxx_z_relo"; then
54518 OPT_LDFLAGS="-Wl,-z,relro"
54519 ac_ld_relro=yes
54521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
54522 $as_echo "$ac_ld_relro" >&6; }
54523 esac
54526 # Set linker optimization flags.
54527 if test x"$with_gnu_ld" = x"yes"; then
54528 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54535 ac_test_CXXFLAGS="${CXXFLAGS+set}"
54536 ac_save_CXXFLAGS="$CXXFLAGS"
54537 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
54540 $as_echo_n "checking for sin in -lm... " >&6; }
54541 if ${ac_cv_lib_m_sin+:} false; then :
54542 $as_echo_n "(cached) " >&6
54543 else
54544 ac_check_lib_save_LIBS=$LIBS
54545 LIBS="-lm $LIBS"
54546 if test x$gcc_no_link = xyes; then
54547 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54550 /* end confdefs.h. */
54552 /* Override any GCC internal prototype to avoid an error.
54553 Use char because int might match the return type of a GCC
54554 builtin and then its argument prototype would still apply. */
54555 #ifdef __cplusplus
54556 extern "C"
54557 #endif
54558 char sin ();
54560 main ()
54562 return sin ();
54564 return 0;
54566 _ACEOF
54567 if ac_fn_c_try_link "$LINENO"; then :
54568 ac_cv_lib_m_sin=yes
54569 else
54570 ac_cv_lib_m_sin=no
54572 rm -f core conftest.err conftest.$ac_objext \
54573 conftest$ac_exeext conftest.$ac_ext
54574 LIBS=$ac_check_lib_save_LIBS
54576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
54577 $as_echo "$ac_cv_lib_m_sin" >&6; }
54578 if test "x$ac_cv_lib_m_sin" = xyes; then :
54579 libm="-lm"
54582 ac_save_LIBS="$LIBS"
54583 LIBS="$LIBS $libm"
54587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
54588 $as_echo_n "checking for isinf declaration... " >&6; }
54589 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54590 if ${glibcxx_cv_func_isinf_use+:} false; then :
54591 $as_echo_n "(cached) " >&6
54592 else
54595 ac_ext=cpp
54596 ac_cpp='$CXXCPP $CPPFLAGS'
54597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54602 /* end confdefs.h. */
54603 #include <math.h>
54604 #ifdef HAVE_IEEEFP_H
54605 #include <ieeefp.h>
54606 #endif
54609 main ()
54611 isinf(0);
54613 return 0;
54615 _ACEOF
54616 if ac_fn_cxx_try_compile "$LINENO"; then :
54617 glibcxx_cv_func_isinf_use=yes
54618 else
54619 glibcxx_cv_func_isinf_use=no
54621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54622 ac_ext=c
54623 ac_cpp='$CPP $CPPFLAGS'
54624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
54633 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
54635 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54636 for ac_func in isinf
54637 do :
54638 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
54639 if test "x$ac_cv_func_isinf" = xyes; then :
54640 cat >>confdefs.h <<_ACEOF
54641 #define HAVE_ISINF 1
54642 _ACEOF
54645 done
54647 else
54649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
54650 $as_echo_n "checking for _isinf declaration... " >&6; }
54651 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54652 if ${glibcxx_cv_func__isinf_use+:} false; then :
54653 $as_echo_n "(cached) " >&6
54654 else
54657 ac_ext=cpp
54658 ac_cpp='$CXXCPP $CPPFLAGS'
54659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54664 /* end confdefs.h. */
54665 #include <math.h>
54666 #ifdef HAVE_IEEEFP_H
54667 #include <ieeefp.h>
54668 #endif
54671 main ()
54673 _isinf(0);
54675 return 0;
54677 _ACEOF
54678 if ac_fn_cxx_try_compile "$LINENO"; then :
54679 glibcxx_cv_func__isinf_use=yes
54680 else
54681 glibcxx_cv_func__isinf_use=no
54683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54684 ac_ext=c
54685 ac_cpp='$CPP $CPPFLAGS'
54686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
54695 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
54697 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54698 for ac_func in _isinf
54699 do :
54700 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
54701 if test "x$ac_cv_func__isinf" = xyes; then :
54702 cat >>confdefs.h <<_ACEOF
54703 #define HAVE__ISINF 1
54704 _ACEOF
54707 done
54716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
54717 $as_echo_n "checking for isnan declaration... " >&6; }
54718 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54719 if ${glibcxx_cv_func_isnan_use+:} false; then :
54720 $as_echo_n "(cached) " >&6
54721 else
54724 ac_ext=cpp
54725 ac_cpp='$CXXCPP $CPPFLAGS'
54726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54731 /* end confdefs.h. */
54732 #include <math.h>
54733 #ifdef HAVE_IEEEFP_H
54734 #include <ieeefp.h>
54735 #endif
54738 main ()
54740 isnan(0);
54742 return 0;
54744 _ACEOF
54745 if ac_fn_cxx_try_compile "$LINENO"; then :
54746 glibcxx_cv_func_isnan_use=yes
54747 else
54748 glibcxx_cv_func_isnan_use=no
54750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54751 ac_ext=c
54752 ac_cpp='$CPP $CPPFLAGS'
54753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
54762 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
54764 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54765 for ac_func in isnan
54766 do :
54767 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
54768 if test "x$ac_cv_func_isnan" = xyes; then :
54769 cat >>confdefs.h <<_ACEOF
54770 #define HAVE_ISNAN 1
54771 _ACEOF
54774 done
54776 else
54778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
54779 $as_echo_n "checking for _isnan declaration... " >&6; }
54780 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54781 if ${glibcxx_cv_func__isnan_use+:} false; then :
54782 $as_echo_n "(cached) " >&6
54783 else
54786 ac_ext=cpp
54787 ac_cpp='$CXXCPP $CPPFLAGS'
54788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54793 /* end confdefs.h. */
54794 #include <math.h>
54795 #ifdef HAVE_IEEEFP_H
54796 #include <ieeefp.h>
54797 #endif
54800 main ()
54802 _isnan(0);
54804 return 0;
54806 _ACEOF
54807 if ac_fn_cxx_try_compile "$LINENO"; then :
54808 glibcxx_cv_func__isnan_use=yes
54809 else
54810 glibcxx_cv_func__isnan_use=no
54812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54813 ac_ext=c
54814 ac_cpp='$CPP $CPPFLAGS'
54815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54824 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54826 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54827 for ac_func in _isnan
54828 do :
54829 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54830 if test "x$ac_cv_func__isnan" = xyes; then :
54831 cat >>confdefs.h <<_ACEOF
54832 #define HAVE__ISNAN 1
54833 _ACEOF
54836 done
54845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54846 $as_echo_n "checking for finite declaration... " >&6; }
54847 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54848 if ${glibcxx_cv_func_finite_use+:} false; then :
54849 $as_echo_n "(cached) " >&6
54850 else
54853 ac_ext=cpp
54854 ac_cpp='$CXXCPP $CPPFLAGS'
54855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54860 /* end confdefs.h. */
54861 #include <math.h>
54862 #ifdef HAVE_IEEEFP_H
54863 #include <ieeefp.h>
54864 #endif
54867 main ()
54869 finite(0);
54871 return 0;
54873 _ACEOF
54874 if ac_fn_cxx_try_compile "$LINENO"; then :
54875 glibcxx_cv_func_finite_use=yes
54876 else
54877 glibcxx_cv_func_finite_use=no
54879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54880 ac_ext=c
54881 ac_cpp='$CPP $CPPFLAGS'
54882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54891 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
54893 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54894 for ac_func in finite
54895 do :
54896 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54897 if test "x$ac_cv_func_finite" = xyes; then :
54898 cat >>confdefs.h <<_ACEOF
54899 #define HAVE_FINITE 1
54900 _ACEOF
54903 done
54905 else
54907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54908 $as_echo_n "checking for _finite declaration... " >&6; }
54909 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54910 if ${glibcxx_cv_func__finite_use+:} false; then :
54911 $as_echo_n "(cached) " >&6
54912 else
54915 ac_ext=cpp
54916 ac_cpp='$CXXCPP $CPPFLAGS'
54917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54922 /* end confdefs.h. */
54923 #include <math.h>
54924 #ifdef HAVE_IEEEFP_H
54925 #include <ieeefp.h>
54926 #endif
54929 main ()
54931 _finite(0);
54933 return 0;
54935 _ACEOF
54936 if ac_fn_cxx_try_compile "$LINENO"; then :
54937 glibcxx_cv_func__finite_use=yes
54938 else
54939 glibcxx_cv_func__finite_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__finite_use" >&5
54953 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
54955 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54956 for ac_func in _finite
54957 do :
54958 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54959 if test "x$ac_cv_func__finite" = xyes; then :
54960 cat >>confdefs.h <<_ACEOF
54961 #define HAVE__FINITE 1
54962 _ACEOF
54965 done
54974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54975 $as_echo_n "checking for sincos declaration... " >&6; }
54976 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54977 if ${glibcxx_cv_func_sincos_use+:} false; then :
54978 $as_echo_n "(cached) " >&6
54979 else
54982 ac_ext=cpp
54983 ac_cpp='$CXXCPP $CPPFLAGS'
54984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54989 /* end confdefs.h. */
54990 #include <math.h>
54992 main ()
54994 sincos(0, 0, 0);
54996 return 0;
54998 _ACEOF
54999 if ac_fn_cxx_try_compile "$LINENO"; then :
55000 glibcxx_cv_func_sincos_use=yes
55001 else
55002 glibcxx_cv_func_sincos_use=no
55004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55005 ac_ext=c
55006 ac_cpp='$CPP $CPPFLAGS'
55007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
55016 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
55018 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
55019 for ac_func in sincos
55020 do :
55021 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
55022 if test "x$ac_cv_func_sincos" = xyes; then :
55023 cat >>confdefs.h <<_ACEOF
55024 #define HAVE_SINCOS 1
55025 _ACEOF
55028 done
55030 else
55032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
55033 $as_echo_n "checking for _sincos declaration... " >&6; }
55034 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
55035 if ${glibcxx_cv_func__sincos_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>
55050 main ()
55052 _sincos(0, 0, 0);
55054 return 0;
55056 _ACEOF
55057 if ac_fn_cxx_try_compile "$LINENO"; then :
55058 glibcxx_cv_func__sincos_use=yes
55059 else
55060 glibcxx_cv_func__sincos_use=no
55062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55063 ac_ext=c
55064 ac_cpp='$CPP $CPPFLAGS'
55065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
55074 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
55076 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
55077 for ac_func in _sincos
55078 do :
55079 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
55080 if test "x$ac_cv_func__sincos" = xyes; then :
55081 cat >>confdefs.h <<_ACEOF
55082 #define HAVE__SINCOS 1
55083 _ACEOF
55086 done
55095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
55096 $as_echo_n "checking for fpclass declaration... " >&6; }
55097 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
55098 if ${glibcxx_cv_func_fpclass_use+:} false; then :
55099 $as_echo_n "(cached) " >&6
55100 else
55103 ac_ext=cpp
55104 ac_cpp='$CXXCPP $CPPFLAGS'
55105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55110 /* end confdefs.h. */
55111 #include <math.h>
55112 #ifdef HAVE_IEEEFP_H
55113 #include <ieeefp.h>
55114 #endif
55117 main ()
55119 fpclass(0);
55121 return 0;
55123 _ACEOF
55124 if ac_fn_cxx_try_compile "$LINENO"; then :
55125 glibcxx_cv_func_fpclass_use=yes
55126 else
55127 glibcxx_cv_func_fpclass_use=no
55129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55130 ac_ext=c
55131 ac_cpp='$CPP $CPPFLAGS'
55132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
55141 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
55143 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55144 for ac_func in fpclass
55145 do :
55146 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
55147 if test "x$ac_cv_func_fpclass" = xyes; then :
55148 cat >>confdefs.h <<_ACEOF
55149 #define HAVE_FPCLASS 1
55150 _ACEOF
55153 done
55155 else
55157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
55158 $as_echo_n "checking for _fpclass declaration... " >&6; }
55159 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55160 if ${glibcxx_cv_func__fpclass_use+:} false; then :
55161 $as_echo_n "(cached) " >&6
55162 else
55165 ac_ext=cpp
55166 ac_cpp='$CXXCPP $CPPFLAGS'
55167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55172 /* end confdefs.h. */
55173 #include <math.h>
55174 #ifdef HAVE_IEEEFP_H
55175 #include <ieeefp.h>
55176 #endif
55179 main ()
55181 _fpclass(0);
55183 return 0;
55185 _ACEOF
55186 if ac_fn_cxx_try_compile "$LINENO"; then :
55187 glibcxx_cv_func__fpclass_use=yes
55188 else
55189 glibcxx_cv_func__fpclass_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__fpclass_use" >&5
55203 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
55205 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55206 for ac_func in _fpclass
55207 do :
55208 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
55209 if test "x$ac_cv_func__fpclass" = xyes; then :
55210 cat >>confdefs.h <<_ACEOF
55211 #define HAVE__FPCLASS 1
55212 _ACEOF
55215 done
55224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
55225 $as_echo_n "checking for qfpclass declaration... " >&6; }
55226 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55227 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
55228 $as_echo_n "(cached) " >&6
55229 else
55232 ac_ext=cpp
55233 ac_cpp='$CXXCPP $CPPFLAGS'
55234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55239 /* end confdefs.h. */
55240 #include <math.h>
55241 #ifdef HAVE_IEEEFP_H
55242 #include <ieeefp.h>
55243 #endif
55246 main ()
55248 qfpclass(0);
55250 return 0;
55252 _ACEOF
55253 if ac_fn_cxx_try_compile "$LINENO"; then :
55254 glibcxx_cv_func_qfpclass_use=yes
55255 else
55256 glibcxx_cv_func_qfpclass_use=no
55258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55259 ac_ext=c
55260 ac_cpp='$CPP $CPPFLAGS'
55261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
55270 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
55272 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
55273 for ac_func in qfpclass
55274 do :
55275 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
55276 if test "x$ac_cv_func_qfpclass" = xyes; then :
55277 cat >>confdefs.h <<_ACEOF
55278 #define HAVE_QFPCLASS 1
55279 _ACEOF
55282 done
55284 else
55286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
55287 $as_echo_n "checking for _qfpclass declaration... " >&6; }
55288 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
55289 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
55290 $as_echo_n "(cached) " >&6
55291 else
55294 ac_ext=cpp
55295 ac_cpp='$CXXCPP $CPPFLAGS'
55296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55301 /* end confdefs.h. */
55302 #include <math.h>
55303 #ifdef HAVE_IEEEFP_H
55304 #include <ieeefp.h>
55305 #endif
55308 main ()
55310 _qfpclass(0);
55312 return 0;
55314 _ACEOF
55315 if ac_fn_cxx_try_compile "$LINENO"; then :
55316 glibcxx_cv_func__qfpclass_use=yes
55317 else
55318 glibcxx_cv_func__qfpclass_use=no
55320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55321 ac_ext=c
55322 ac_cpp='$CPP $CPPFLAGS'
55323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
55332 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
55334 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
55335 for ac_func in _qfpclass
55336 do :
55337 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
55338 if test "x$ac_cv_func__qfpclass" = xyes; then :
55339 cat >>confdefs.h <<_ACEOF
55340 #define HAVE__QFPCLASS 1
55341 _ACEOF
55344 done
55353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
55354 $as_echo_n "checking for hypot declaration... " >&6; }
55355 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
55356 if ${glibcxx_cv_func_hypot_use+:} false; then :
55357 $as_echo_n "(cached) " >&6
55358 else
55361 ac_ext=cpp
55362 ac_cpp='$CXXCPP $CPPFLAGS'
55363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55368 /* end confdefs.h. */
55369 #include <math.h>
55371 main ()
55373 hypot(0, 0);
55375 return 0;
55377 _ACEOF
55378 if ac_fn_cxx_try_compile "$LINENO"; then :
55379 glibcxx_cv_func_hypot_use=yes
55380 else
55381 glibcxx_cv_func_hypot_use=no
55383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55384 ac_ext=c
55385 ac_cpp='$CPP $CPPFLAGS'
55386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
55395 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
55397 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
55398 for ac_func in hypot
55399 do :
55400 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
55401 if test "x$ac_cv_func_hypot" = xyes; then :
55402 cat >>confdefs.h <<_ACEOF
55403 #define HAVE_HYPOT 1
55404 _ACEOF
55407 done
55409 else
55411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
55412 $as_echo_n "checking for _hypot declaration... " >&6; }
55413 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
55414 if ${glibcxx_cv_func__hypot_use+:} false; then :
55415 $as_echo_n "(cached) " >&6
55416 else
55419 ac_ext=cpp
55420 ac_cpp='$CXXCPP $CPPFLAGS'
55421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55426 /* end confdefs.h. */
55427 #include <math.h>
55429 main ()
55431 _hypot(0, 0);
55433 return 0;
55435 _ACEOF
55436 if ac_fn_cxx_try_compile "$LINENO"; then :
55437 glibcxx_cv_func__hypot_use=yes
55438 else
55439 glibcxx_cv_func__hypot_use=no
55441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55442 ac_ext=c
55443 ac_cpp='$CPP $CPPFLAGS'
55444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
55453 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
55455 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
55456 for ac_func in _hypot
55457 do :
55458 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
55459 if test "x$ac_cv_func__hypot" = xyes; then :
55460 cat >>confdefs.h <<_ACEOF
55461 #define HAVE__HYPOT 1
55462 _ACEOF
55465 done
55474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
55475 $as_echo_n "checking for float trig functions... " >&6; }
55476 if ${glibcxx_cv_func_float_trig_use+:} false; then :
55477 $as_echo_n "(cached) " >&6
55478 else
55481 ac_ext=cpp
55482 ac_cpp='$CXXCPP $CPPFLAGS'
55483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55488 /* end confdefs.h. */
55489 #include <math.h>
55491 main ()
55493 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
55495 return 0;
55497 _ACEOF
55498 if ac_fn_cxx_try_compile "$LINENO"; then :
55499 glibcxx_cv_func_float_trig_use=yes
55500 else
55501 glibcxx_cv_func_float_trig_use=no
55503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55504 ac_ext=c
55505 ac_cpp='$CPP $CPPFLAGS'
55506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
55513 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
55514 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
55515 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
55516 do :
55517 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55518 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55519 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55520 cat >>confdefs.h <<_ACEOF
55521 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55522 _ACEOF
55525 done
55527 else
55528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
55529 $as_echo_n "checking for _float trig functions... " >&6; }
55530 if ${glibcxx_cv_func__float_trig_use+:} false; then :
55531 $as_echo_n "(cached) " >&6
55532 else
55535 ac_ext=cpp
55536 ac_cpp='$CXXCPP $CPPFLAGS'
55537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55542 /* end confdefs.h. */
55543 #include <math.h>
55545 main ()
55547 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
55549 return 0;
55551 _ACEOF
55552 if ac_fn_cxx_try_compile "$LINENO"; then :
55553 glibcxx_cv_func__float_trig_use=yes
55554 else
55555 glibcxx_cv_func__float_trig_use=no
55557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55558 ac_ext=c
55559 ac_cpp='$CPP $CPPFLAGS'
55560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
55567 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
55568 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
55569 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
55570 do :
55571 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55572 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55573 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55574 cat >>confdefs.h <<_ACEOF
55575 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55576 _ACEOF
55579 done
55588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
55589 $as_echo_n "checking for float round functions... " >&6; }
55590 if ${glibcxx_cv_func_float_round_use+:} false; then :
55591 $as_echo_n "(cached) " >&6
55592 else
55595 ac_ext=cpp
55596 ac_cpp='$CXXCPP $CPPFLAGS'
55597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55602 /* end confdefs.h. */
55603 #include <math.h>
55605 main ()
55607 ceilf (0); floorf (0);
55609 return 0;
55611 _ACEOF
55612 if ac_fn_cxx_try_compile "$LINENO"; then :
55613 glibcxx_cv_func_float_round_use=yes
55614 else
55615 glibcxx_cv_func_float_round_use=no
55617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55618 ac_ext=c
55619 ac_cpp='$CPP $CPPFLAGS'
55620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
55627 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
55628 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
55629 for ac_func in ceilf floorf
55630 do :
55631 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55632 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55633 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55634 cat >>confdefs.h <<_ACEOF
55635 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55636 _ACEOF
55639 done
55641 else
55642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
55643 $as_echo_n "checking for _float round functions... " >&6; }
55644 if ${glibcxx_cv_func__float_round_use+:} false; then :
55645 $as_echo_n "(cached) " >&6
55646 else
55649 ac_ext=cpp
55650 ac_cpp='$CXXCPP $CPPFLAGS'
55651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55656 /* end confdefs.h. */
55657 #include <math.h>
55659 main ()
55661 _ceilf (0); _floorf (0);
55663 return 0;
55665 _ACEOF
55666 if ac_fn_cxx_try_compile "$LINENO"; then :
55667 glibcxx_cv_func__float_round_use=yes
55668 else
55669 glibcxx_cv_func__float_round_use=no
55671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55672 ac_ext=c
55673 ac_cpp='$CPP $CPPFLAGS'
55674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
55681 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
55682 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
55683 for ac_func in _ceilf _floorf
55684 do :
55685 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55686 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55687 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55688 cat >>confdefs.h <<_ACEOF
55689 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55690 _ACEOF
55693 done
55703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
55704 $as_echo_n "checking for expf declaration... " >&6; }
55705 if test x${glibcxx_cv_func_expf_use+set} != xset; then
55706 if ${glibcxx_cv_func_expf_use+:} false; then :
55707 $as_echo_n "(cached) " >&6
55708 else
55711 ac_ext=cpp
55712 ac_cpp='$CXXCPP $CPPFLAGS'
55713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55718 /* end confdefs.h. */
55719 #include <math.h>
55720 #ifdef HAVE_IEEEFP_H
55721 #include <ieeefp.h>
55722 #endif
55725 main ()
55727 expf(0);
55729 return 0;
55731 _ACEOF
55732 if ac_fn_cxx_try_compile "$LINENO"; then :
55733 glibcxx_cv_func_expf_use=yes
55734 else
55735 glibcxx_cv_func_expf_use=no
55737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55738 ac_ext=c
55739 ac_cpp='$CPP $CPPFLAGS'
55740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
55749 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
55751 if test x$glibcxx_cv_func_expf_use = x"yes"; then
55752 for ac_func in expf
55753 do :
55754 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
55755 if test "x$ac_cv_func_expf" = xyes; then :
55756 cat >>confdefs.h <<_ACEOF
55757 #define HAVE_EXPF 1
55758 _ACEOF
55761 done
55763 else
55765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
55766 $as_echo_n "checking for _expf declaration... " >&6; }
55767 if test x${glibcxx_cv_func__expf_use+set} != xset; then
55768 if ${glibcxx_cv_func__expf_use+:} false; then :
55769 $as_echo_n "(cached) " >&6
55770 else
55773 ac_ext=cpp
55774 ac_cpp='$CXXCPP $CPPFLAGS'
55775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55780 /* end confdefs.h. */
55781 #include <math.h>
55782 #ifdef HAVE_IEEEFP_H
55783 #include <ieeefp.h>
55784 #endif
55787 main ()
55789 _expf(0);
55791 return 0;
55793 _ACEOF
55794 if ac_fn_cxx_try_compile "$LINENO"; then :
55795 glibcxx_cv_func__expf_use=yes
55796 else
55797 glibcxx_cv_func__expf_use=no
55799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55800 ac_ext=c
55801 ac_cpp='$CPP $CPPFLAGS'
55802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55811 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
55813 if test x$glibcxx_cv_func__expf_use = x"yes"; then
55814 for ac_func in _expf
55815 do :
55816 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55817 if test "x$ac_cv_func__expf" = xyes; then :
55818 cat >>confdefs.h <<_ACEOF
55819 #define HAVE__EXPF 1
55820 _ACEOF
55823 done
55832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55833 $as_echo_n "checking for isnanf declaration... " >&6; }
55834 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55835 if ${glibcxx_cv_func_isnanf_use+:} false; then :
55836 $as_echo_n "(cached) " >&6
55837 else
55840 ac_ext=cpp
55841 ac_cpp='$CXXCPP $CPPFLAGS'
55842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55847 /* end confdefs.h. */
55848 #include <math.h>
55849 #ifdef HAVE_IEEEFP_H
55850 #include <ieeefp.h>
55851 #endif
55854 main ()
55856 isnanf(0);
55858 return 0;
55860 _ACEOF
55861 if ac_fn_cxx_try_compile "$LINENO"; then :
55862 glibcxx_cv_func_isnanf_use=yes
55863 else
55864 glibcxx_cv_func_isnanf_use=no
55866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55867 ac_ext=c
55868 ac_cpp='$CPP $CPPFLAGS'
55869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55878 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55880 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55881 for ac_func in isnanf
55882 do :
55883 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55884 if test "x$ac_cv_func_isnanf" = xyes; then :
55885 cat >>confdefs.h <<_ACEOF
55886 #define HAVE_ISNANF 1
55887 _ACEOF
55890 done
55892 else
55894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55895 $as_echo_n "checking for _isnanf declaration... " >&6; }
55896 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55897 if ${glibcxx_cv_func__isnanf_use+:} false; then :
55898 $as_echo_n "(cached) " >&6
55899 else
55902 ac_ext=cpp
55903 ac_cpp='$CXXCPP $CPPFLAGS'
55904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55909 /* end confdefs.h. */
55910 #include <math.h>
55911 #ifdef HAVE_IEEEFP_H
55912 #include <ieeefp.h>
55913 #endif
55916 main ()
55918 _isnanf(0);
55920 return 0;
55922 _ACEOF
55923 if ac_fn_cxx_try_compile "$LINENO"; then :
55924 glibcxx_cv_func__isnanf_use=yes
55925 else
55926 glibcxx_cv_func__isnanf_use=no
55928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55929 ac_ext=c
55930 ac_cpp='$CPP $CPPFLAGS'
55931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55940 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55942 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55943 for ac_func in _isnanf
55944 do :
55945 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55946 if test "x$ac_cv_func__isnanf" = xyes; then :
55947 cat >>confdefs.h <<_ACEOF
55948 #define HAVE__ISNANF 1
55949 _ACEOF
55952 done
55961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55962 $as_echo_n "checking for isinff declaration... " >&6; }
55963 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55964 if ${glibcxx_cv_func_isinff_use+:} false; then :
55965 $as_echo_n "(cached) " >&6
55966 else
55969 ac_ext=cpp
55970 ac_cpp='$CXXCPP $CPPFLAGS'
55971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55976 /* end confdefs.h. */
55977 #include <math.h>
55978 #ifdef HAVE_IEEEFP_H
55979 #include <ieeefp.h>
55980 #endif
55983 main ()
55985 isinff(0);
55987 return 0;
55989 _ACEOF
55990 if ac_fn_cxx_try_compile "$LINENO"; then :
55991 glibcxx_cv_func_isinff_use=yes
55992 else
55993 glibcxx_cv_func_isinff_use=no
55995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55996 ac_ext=c
55997 ac_cpp='$CPP $CPPFLAGS'
55998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
56007 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
56009 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
56010 for ac_func in isinff
56011 do :
56012 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
56013 if test "x$ac_cv_func_isinff" = xyes; then :
56014 cat >>confdefs.h <<_ACEOF
56015 #define HAVE_ISINFF 1
56016 _ACEOF
56019 done
56021 else
56023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
56024 $as_echo_n "checking for _isinff declaration... " >&6; }
56025 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
56026 if ${glibcxx_cv_func__isinff_use+:} false; then :
56027 $as_echo_n "(cached) " >&6
56028 else
56031 ac_ext=cpp
56032 ac_cpp='$CXXCPP $CPPFLAGS'
56033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56038 /* end confdefs.h. */
56039 #include <math.h>
56040 #ifdef HAVE_IEEEFP_H
56041 #include <ieeefp.h>
56042 #endif
56045 main ()
56047 _isinff(0);
56049 return 0;
56051 _ACEOF
56052 if ac_fn_cxx_try_compile "$LINENO"; then :
56053 glibcxx_cv_func__isinff_use=yes
56054 else
56055 glibcxx_cv_func__isinff_use=no
56057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56058 ac_ext=c
56059 ac_cpp='$CPP $CPPFLAGS'
56060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
56069 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
56071 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
56072 for ac_func in _isinff
56073 do :
56074 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
56075 if test "x$ac_cv_func__isinff" = xyes; then :
56076 cat >>confdefs.h <<_ACEOF
56077 #define HAVE__ISINFF 1
56078 _ACEOF
56081 done
56090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
56091 $as_echo_n "checking for atan2f declaration... " >&6; }
56092 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
56093 if ${glibcxx_cv_func_atan2f_use+:} false; then :
56094 $as_echo_n "(cached) " >&6
56095 else
56098 ac_ext=cpp
56099 ac_cpp='$CXXCPP $CPPFLAGS'
56100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56105 /* end confdefs.h. */
56106 #include <math.h>
56108 main ()
56110 atan2f(0, 0);
56112 return 0;
56114 _ACEOF
56115 if ac_fn_cxx_try_compile "$LINENO"; then :
56116 glibcxx_cv_func_atan2f_use=yes
56117 else
56118 glibcxx_cv_func_atan2f_use=no
56120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56121 ac_ext=c
56122 ac_cpp='$CPP $CPPFLAGS'
56123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
56132 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
56134 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
56135 for ac_func in atan2f
56136 do :
56137 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
56138 if test "x$ac_cv_func_atan2f" = xyes; then :
56139 cat >>confdefs.h <<_ACEOF
56140 #define HAVE_ATAN2F 1
56141 _ACEOF
56144 done
56146 else
56148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
56149 $as_echo_n "checking for _atan2f declaration... " >&6; }
56150 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
56151 if ${glibcxx_cv_func__atan2f_use+:} false; then :
56152 $as_echo_n "(cached) " >&6
56153 else
56156 ac_ext=cpp
56157 ac_cpp='$CXXCPP $CPPFLAGS'
56158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56163 /* end confdefs.h. */
56164 #include <math.h>
56166 main ()
56168 _atan2f(0, 0);
56170 return 0;
56172 _ACEOF
56173 if ac_fn_cxx_try_compile "$LINENO"; then :
56174 glibcxx_cv_func__atan2f_use=yes
56175 else
56176 glibcxx_cv_func__atan2f_use=no
56178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56179 ac_ext=c
56180 ac_cpp='$CPP $CPPFLAGS'
56181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
56190 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
56192 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
56193 for ac_func in _atan2f
56194 do :
56195 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
56196 if test "x$ac_cv_func__atan2f" = xyes; then :
56197 cat >>confdefs.h <<_ACEOF
56198 #define HAVE__ATAN2F 1
56199 _ACEOF
56202 done
56211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
56212 $as_echo_n "checking for fabsf declaration... " >&6; }
56213 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
56214 if ${glibcxx_cv_func_fabsf_use+:} false; then :
56215 $as_echo_n "(cached) " >&6
56216 else
56219 ac_ext=cpp
56220 ac_cpp='$CXXCPP $CPPFLAGS'
56221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56226 /* end confdefs.h. */
56227 #include <math.h>
56228 #ifdef HAVE_IEEEFP_H
56229 #include <ieeefp.h>
56230 #endif
56233 main ()
56235 fabsf(0);
56237 return 0;
56239 _ACEOF
56240 if ac_fn_cxx_try_compile "$LINENO"; then :
56241 glibcxx_cv_func_fabsf_use=yes
56242 else
56243 glibcxx_cv_func_fabsf_use=no
56245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56246 ac_ext=c
56247 ac_cpp='$CPP $CPPFLAGS'
56248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
56257 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
56259 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
56260 for ac_func in fabsf
56261 do :
56262 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
56263 if test "x$ac_cv_func_fabsf" = xyes; then :
56264 cat >>confdefs.h <<_ACEOF
56265 #define HAVE_FABSF 1
56266 _ACEOF
56269 done
56271 else
56273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
56274 $as_echo_n "checking for _fabsf declaration... " >&6; }
56275 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
56276 if ${glibcxx_cv_func__fabsf_use+:} false; then :
56277 $as_echo_n "(cached) " >&6
56278 else
56281 ac_ext=cpp
56282 ac_cpp='$CXXCPP $CPPFLAGS'
56283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56288 /* end confdefs.h. */
56289 #include <math.h>
56290 #ifdef HAVE_IEEEFP_H
56291 #include <ieeefp.h>
56292 #endif
56295 main ()
56297 _fabsf(0);
56299 return 0;
56301 _ACEOF
56302 if ac_fn_cxx_try_compile "$LINENO"; then :
56303 glibcxx_cv_func__fabsf_use=yes
56304 else
56305 glibcxx_cv_func__fabsf_use=no
56307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56308 ac_ext=c
56309 ac_cpp='$CPP $CPPFLAGS'
56310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
56319 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
56321 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
56322 for ac_func in _fabsf
56323 do :
56324 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
56325 if test "x$ac_cv_func__fabsf" = xyes; then :
56326 cat >>confdefs.h <<_ACEOF
56327 #define HAVE__FABSF 1
56328 _ACEOF
56331 done
56340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
56341 $as_echo_n "checking for fmodf declaration... " >&6; }
56342 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
56343 if ${glibcxx_cv_func_fmodf_use+:} false; then :
56344 $as_echo_n "(cached) " >&6
56345 else
56348 ac_ext=cpp
56349 ac_cpp='$CXXCPP $CPPFLAGS'
56350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56355 /* end confdefs.h. */
56356 #include <math.h>
56358 main ()
56360 fmodf(0, 0);
56362 return 0;
56364 _ACEOF
56365 if ac_fn_cxx_try_compile "$LINENO"; then :
56366 glibcxx_cv_func_fmodf_use=yes
56367 else
56368 glibcxx_cv_func_fmodf_use=no
56370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56371 ac_ext=c
56372 ac_cpp='$CPP $CPPFLAGS'
56373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
56382 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
56384 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
56385 for ac_func in fmodf
56386 do :
56387 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
56388 if test "x$ac_cv_func_fmodf" = xyes; then :
56389 cat >>confdefs.h <<_ACEOF
56390 #define HAVE_FMODF 1
56391 _ACEOF
56394 done
56396 else
56398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
56399 $as_echo_n "checking for _fmodf declaration... " >&6; }
56400 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
56401 if ${glibcxx_cv_func__fmodf_use+:} false; then :
56402 $as_echo_n "(cached) " >&6
56403 else
56406 ac_ext=cpp
56407 ac_cpp='$CXXCPP $CPPFLAGS'
56408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56413 /* end confdefs.h. */
56414 #include <math.h>
56416 main ()
56418 _fmodf(0, 0);
56420 return 0;
56422 _ACEOF
56423 if ac_fn_cxx_try_compile "$LINENO"; then :
56424 glibcxx_cv_func__fmodf_use=yes
56425 else
56426 glibcxx_cv_func__fmodf_use=no
56428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56429 ac_ext=c
56430 ac_cpp='$CPP $CPPFLAGS'
56431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
56440 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
56442 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
56443 for ac_func in _fmodf
56444 do :
56445 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
56446 if test "x$ac_cv_func__fmodf" = xyes; then :
56447 cat >>confdefs.h <<_ACEOF
56448 #define HAVE__FMODF 1
56449 _ACEOF
56452 done
56461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
56462 $as_echo_n "checking for frexpf declaration... " >&6; }
56463 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
56464 if ${glibcxx_cv_func_frexpf_use+:} false; then :
56465 $as_echo_n "(cached) " >&6
56466 else
56469 ac_ext=cpp
56470 ac_cpp='$CXXCPP $CPPFLAGS'
56471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56476 /* end confdefs.h. */
56477 #include <math.h>
56479 main ()
56481 frexpf(0, 0);
56483 return 0;
56485 _ACEOF
56486 if ac_fn_cxx_try_compile "$LINENO"; then :
56487 glibcxx_cv_func_frexpf_use=yes
56488 else
56489 glibcxx_cv_func_frexpf_use=no
56491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56492 ac_ext=c
56493 ac_cpp='$CPP $CPPFLAGS'
56494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
56503 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
56505 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
56506 for ac_func in frexpf
56507 do :
56508 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
56509 if test "x$ac_cv_func_frexpf" = xyes; then :
56510 cat >>confdefs.h <<_ACEOF
56511 #define HAVE_FREXPF 1
56512 _ACEOF
56515 done
56517 else
56519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
56520 $as_echo_n "checking for _frexpf declaration... " >&6; }
56521 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
56522 if ${glibcxx_cv_func__frexpf_use+:} false; then :
56523 $as_echo_n "(cached) " >&6
56524 else
56527 ac_ext=cpp
56528 ac_cpp='$CXXCPP $CPPFLAGS'
56529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56534 /* end confdefs.h. */
56535 #include <math.h>
56537 main ()
56539 _frexpf(0, 0);
56541 return 0;
56543 _ACEOF
56544 if ac_fn_cxx_try_compile "$LINENO"; then :
56545 glibcxx_cv_func__frexpf_use=yes
56546 else
56547 glibcxx_cv_func__frexpf_use=no
56549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56550 ac_ext=c
56551 ac_cpp='$CPP $CPPFLAGS'
56552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
56561 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
56563 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
56564 for ac_func in _frexpf
56565 do :
56566 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
56567 if test "x$ac_cv_func__frexpf" = xyes; then :
56568 cat >>confdefs.h <<_ACEOF
56569 #define HAVE__FREXPF 1
56570 _ACEOF
56573 done
56582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
56583 $as_echo_n "checking for hypotf declaration... " >&6; }
56584 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
56585 if ${glibcxx_cv_func_hypotf_use+:} false; then :
56586 $as_echo_n "(cached) " >&6
56587 else
56590 ac_ext=cpp
56591 ac_cpp='$CXXCPP $CPPFLAGS'
56592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56597 /* end confdefs.h. */
56598 #include <math.h>
56600 main ()
56602 hypotf(0, 0);
56604 return 0;
56606 _ACEOF
56607 if ac_fn_cxx_try_compile "$LINENO"; then :
56608 glibcxx_cv_func_hypotf_use=yes
56609 else
56610 glibcxx_cv_func_hypotf_use=no
56612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56613 ac_ext=c
56614 ac_cpp='$CPP $CPPFLAGS'
56615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
56624 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
56626 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
56627 for ac_func in hypotf
56628 do :
56629 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
56630 if test "x$ac_cv_func_hypotf" = xyes; then :
56631 cat >>confdefs.h <<_ACEOF
56632 #define HAVE_HYPOTF 1
56633 _ACEOF
56636 done
56638 else
56640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
56641 $as_echo_n "checking for _hypotf declaration... " >&6; }
56642 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
56643 if ${glibcxx_cv_func__hypotf_use+:} false; then :
56644 $as_echo_n "(cached) " >&6
56645 else
56648 ac_ext=cpp
56649 ac_cpp='$CXXCPP $CPPFLAGS'
56650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56655 /* end confdefs.h. */
56656 #include <math.h>
56658 main ()
56660 _hypotf(0, 0);
56662 return 0;
56664 _ACEOF
56665 if ac_fn_cxx_try_compile "$LINENO"; then :
56666 glibcxx_cv_func__hypotf_use=yes
56667 else
56668 glibcxx_cv_func__hypotf_use=no
56670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56671 ac_ext=c
56672 ac_cpp='$CPP $CPPFLAGS'
56673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
56682 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
56684 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
56685 for ac_func in _hypotf
56686 do :
56687 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
56688 if test "x$ac_cv_func__hypotf" = xyes; then :
56689 cat >>confdefs.h <<_ACEOF
56690 #define HAVE__HYPOTF 1
56691 _ACEOF
56694 done
56703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
56704 $as_echo_n "checking for ldexpf declaration... " >&6; }
56705 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
56706 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
56707 $as_echo_n "(cached) " >&6
56708 else
56711 ac_ext=cpp
56712 ac_cpp='$CXXCPP $CPPFLAGS'
56713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56718 /* end confdefs.h. */
56719 #include <math.h>
56721 main ()
56723 ldexpf(0, 0);
56725 return 0;
56727 _ACEOF
56728 if ac_fn_cxx_try_compile "$LINENO"; then :
56729 glibcxx_cv_func_ldexpf_use=yes
56730 else
56731 glibcxx_cv_func_ldexpf_use=no
56733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56734 ac_ext=c
56735 ac_cpp='$CPP $CPPFLAGS'
56736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
56745 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
56747 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
56748 for ac_func in ldexpf
56749 do :
56750 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
56751 if test "x$ac_cv_func_ldexpf" = xyes; then :
56752 cat >>confdefs.h <<_ACEOF
56753 #define HAVE_LDEXPF 1
56754 _ACEOF
56757 done
56759 else
56761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
56762 $as_echo_n "checking for _ldexpf declaration... " >&6; }
56763 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
56764 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
56765 $as_echo_n "(cached) " >&6
56766 else
56769 ac_ext=cpp
56770 ac_cpp='$CXXCPP $CPPFLAGS'
56771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56776 /* end confdefs.h. */
56777 #include <math.h>
56779 main ()
56781 _ldexpf(0, 0);
56783 return 0;
56785 _ACEOF
56786 if ac_fn_cxx_try_compile "$LINENO"; then :
56787 glibcxx_cv_func__ldexpf_use=yes
56788 else
56789 glibcxx_cv_func__ldexpf_use=no
56791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56792 ac_ext=c
56793 ac_cpp='$CPP $CPPFLAGS'
56794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56803 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56805 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56806 for ac_func in _ldexpf
56807 do :
56808 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56809 if test "x$ac_cv_func__ldexpf" = xyes; then :
56810 cat >>confdefs.h <<_ACEOF
56811 #define HAVE__LDEXPF 1
56812 _ACEOF
56815 done
56824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56825 $as_echo_n "checking for logf declaration... " >&6; }
56826 if test x${glibcxx_cv_func_logf_use+set} != xset; then
56827 if ${glibcxx_cv_func_logf_use+:} false; then :
56828 $as_echo_n "(cached) " >&6
56829 else
56832 ac_ext=cpp
56833 ac_cpp='$CXXCPP $CPPFLAGS'
56834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56839 /* end confdefs.h. */
56840 #include <math.h>
56841 #ifdef HAVE_IEEEFP_H
56842 #include <ieeefp.h>
56843 #endif
56846 main ()
56848 logf(0);
56850 return 0;
56852 _ACEOF
56853 if ac_fn_cxx_try_compile "$LINENO"; then :
56854 glibcxx_cv_func_logf_use=yes
56855 else
56856 glibcxx_cv_func_logf_use=no
56858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56859 ac_ext=c
56860 ac_cpp='$CPP $CPPFLAGS'
56861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56870 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
56872 if test x$glibcxx_cv_func_logf_use = x"yes"; then
56873 for ac_func in logf
56874 do :
56875 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56876 if test "x$ac_cv_func_logf" = xyes; then :
56877 cat >>confdefs.h <<_ACEOF
56878 #define HAVE_LOGF 1
56879 _ACEOF
56882 done
56884 else
56886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56887 $as_echo_n "checking for _logf declaration... " >&6; }
56888 if test x${glibcxx_cv_func__logf_use+set} != xset; then
56889 if ${glibcxx_cv_func__logf_use+:} false; then :
56890 $as_echo_n "(cached) " >&6
56891 else
56894 ac_ext=cpp
56895 ac_cpp='$CXXCPP $CPPFLAGS'
56896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56901 /* end confdefs.h. */
56902 #include <math.h>
56903 #ifdef HAVE_IEEEFP_H
56904 #include <ieeefp.h>
56905 #endif
56908 main ()
56910 _logf(0);
56912 return 0;
56914 _ACEOF
56915 if ac_fn_cxx_try_compile "$LINENO"; then :
56916 glibcxx_cv_func__logf_use=yes
56917 else
56918 glibcxx_cv_func__logf_use=no
56920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56921 ac_ext=c
56922 ac_cpp='$CPP $CPPFLAGS'
56923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56932 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
56934 if test x$glibcxx_cv_func__logf_use = x"yes"; then
56935 for ac_func in _logf
56936 do :
56937 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56938 if test "x$ac_cv_func__logf" = xyes; then :
56939 cat >>confdefs.h <<_ACEOF
56940 #define HAVE__LOGF 1
56941 _ACEOF
56944 done
56953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56954 $as_echo_n "checking for log10f declaration... " >&6; }
56955 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56956 if ${glibcxx_cv_func_log10f_use+:} false; then :
56957 $as_echo_n "(cached) " >&6
56958 else
56961 ac_ext=cpp
56962 ac_cpp='$CXXCPP $CPPFLAGS'
56963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56968 /* end confdefs.h. */
56969 #include <math.h>
56970 #ifdef HAVE_IEEEFP_H
56971 #include <ieeefp.h>
56972 #endif
56975 main ()
56977 log10f(0);
56979 return 0;
56981 _ACEOF
56982 if ac_fn_cxx_try_compile "$LINENO"; then :
56983 glibcxx_cv_func_log10f_use=yes
56984 else
56985 glibcxx_cv_func_log10f_use=no
56987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56988 ac_ext=c
56989 ac_cpp='$CPP $CPPFLAGS'
56990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
56999 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
57001 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
57002 for ac_func in log10f
57003 do :
57004 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
57005 if test "x$ac_cv_func_log10f" = xyes; then :
57006 cat >>confdefs.h <<_ACEOF
57007 #define HAVE_LOG10F 1
57008 _ACEOF
57011 done
57013 else
57015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
57016 $as_echo_n "checking for _log10f declaration... " >&6; }
57017 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
57018 if ${glibcxx_cv_func__log10f_use+:} false; then :
57019 $as_echo_n "(cached) " >&6
57020 else
57023 ac_ext=cpp
57024 ac_cpp='$CXXCPP $CPPFLAGS'
57025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57030 /* end confdefs.h. */
57031 #include <math.h>
57032 #ifdef HAVE_IEEEFP_H
57033 #include <ieeefp.h>
57034 #endif
57037 main ()
57039 _log10f(0);
57041 return 0;
57043 _ACEOF
57044 if ac_fn_cxx_try_compile "$LINENO"; then :
57045 glibcxx_cv_func__log10f_use=yes
57046 else
57047 glibcxx_cv_func__log10f_use=no
57049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57050 ac_ext=c
57051 ac_cpp='$CPP $CPPFLAGS'
57052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
57061 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
57063 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
57064 for ac_func in _log10f
57065 do :
57066 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
57067 if test "x$ac_cv_func__log10f" = xyes; then :
57068 cat >>confdefs.h <<_ACEOF
57069 #define HAVE__LOG10F 1
57070 _ACEOF
57073 done
57082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
57083 $as_echo_n "checking for modff declaration... " >&6; }
57084 if test x${glibcxx_cv_func_modff_use+set} != xset; then
57085 if ${glibcxx_cv_func_modff_use+:} false; then :
57086 $as_echo_n "(cached) " >&6
57087 else
57090 ac_ext=cpp
57091 ac_cpp='$CXXCPP $CPPFLAGS'
57092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57097 /* end confdefs.h. */
57098 #include <math.h>
57100 main ()
57102 modff(0, 0);
57104 return 0;
57106 _ACEOF
57107 if ac_fn_cxx_try_compile "$LINENO"; then :
57108 glibcxx_cv_func_modff_use=yes
57109 else
57110 glibcxx_cv_func_modff_use=no
57112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57113 ac_ext=c
57114 ac_cpp='$CPP $CPPFLAGS'
57115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
57124 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
57126 if test x$glibcxx_cv_func_modff_use = x"yes"; then
57127 for ac_func in modff
57128 do :
57129 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
57130 if test "x$ac_cv_func_modff" = xyes; then :
57131 cat >>confdefs.h <<_ACEOF
57132 #define HAVE_MODFF 1
57133 _ACEOF
57136 done
57138 else
57140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
57141 $as_echo_n "checking for _modff declaration... " >&6; }
57142 if test x${glibcxx_cv_func__modff_use+set} != xset; then
57143 if ${glibcxx_cv_func__modff_use+:} false; then :
57144 $as_echo_n "(cached) " >&6
57145 else
57148 ac_ext=cpp
57149 ac_cpp='$CXXCPP $CPPFLAGS'
57150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57155 /* end confdefs.h. */
57156 #include <math.h>
57158 main ()
57160 _modff(0, 0);
57162 return 0;
57164 _ACEOF
57165 if ac_fn_cxx_try_compile "$LINENO"; then :
57166 glibcxx_cv_func__modff_use=yes
57167 else
57168 glibcxx_cv_func__modff_use=no
57170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57171 ac_ext=c
57172 ac_cpp='$CPP $CPPFLAGS'
57173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
57182 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
57184 if test x$glibcxx_cv_func__modff_use = x"yes"; then
57185 for ac_func in _modff
57186 do :
57187 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
57188 if test "x$ac_cv_func__modff" = xyes; then :
57189 cat >>confdefs.h <<_ACEOF
57190 #define HAVE__MODFF 1
57191 _ACEOF
57194 done
57203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
57204 $as_echo_n "checking for modf declaration... " >&6; }
57205 if test x${glibcxx_cv_func_modf_use+set} != xset; then
57206 if ${glibcxx_cv_func_modf_use+:} false; then :
57207 $as_echo_n "(cached) " >&6
57208 else
57211 ac_ext=cpp
57212 ac_cpp='$CXXCPP $CPPFLAGS'
57213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57218 /* end confdefs.h. */
57219 #include <math.h>
57221 main ()
57223 modf(0, 0);
57225 return 0;
57227 _ACEOF
57228 if ac_fn_cxx_try_compile "$LINENO"; then :
57229 glibcxx_cv_func_modf_use=yes
57230 else
57231 glibcxx_cv_func_modf_use=no
57233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57234 ac_ext=c
57235 ac_cpp='$CPP $CPPFLAGS'
57236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
57245 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
57247 if test x$glibcxx_cv_func_modf_use = x"yes"; then
57248 for ac_func in modf
57249 do :
57250 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
57251 if test "x$ac_cv_func_modf" = xyes; then :
57252 cat >>confdefs.h <<_ACEOF
57253 #define HAVE_MODF 1
57254 _ACEOF
57257 done
57259 else
57261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
57262 $as_echo_n "checking for _modf declaration... " >&6; }
57263 if test x${glibcxx_cv_func__modf_use+set} != xset; then
57264 if ${glibcxx_cv_func__modf_use+:} false; then :
57265 $as_echo_n "(cached) " >&6
57266 else
57269 ac_ext=cpp
57270 ac_cpp='$CXXCPP $CPPFLAGS'
57271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57276 /* end confdefs.h. */
57277 #include <math.h>
57279 main ()
57281 _modf(0, 0);
57283 return 0;
57285 _ACEOF
57286 if ac_fn_cxx_try_compile "$LINENO"; then :
57287 glibcxx_cv_func__modf_use=yes
57288 else
57289 glibcxx_cv_func__modf_use=no
57291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57292 ac_ext=c
57293 ac_cpp='$CPP $CPPFLAGS'
57294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
57303 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
57305 if test x$glibcxx_cv_func__modf_use = x"yes"; then
57306 for ac_func in _modf
57307 do :
57308 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
57309 if test "x$ac_cv_func__modf" = xyes; then :
57310 cat >>confdefs.h <<_ACEOF
57311 #define HAVE__MODF 1
57312 _ACEOF
57315 done
57324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
57325 $as_echo_n "checking for powf declaration... " >&6; }
57326 if test x${glibcxx_cv_func_powf_use+set} != xset; then
57327 if ${glibcxx_cv_func_powf_use+:} false; then :
57328 $as_echo_n "(cached) " >&6
57329 else
57332 ac_ext=cpp
57333 ac_cpp='$CXXCPP $CPPFLAGS'
57334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57339 /* end confdefs.h. */
57340 #include <math.h>
57342 main ()
57344 powf(0, 0);
57346 return 0;
57348 _ACEOF
57349 if ac_fn_cxx_try_compile "$LINENO"; then :
57350 glibcxx_cv_func_powf_use=yes
57351 else
57352 glibcxx_cv_func_powf_use=no
57354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57355 ac_ext=c
57356 ac_cpp='$CPP $CPPFLAGS'
57357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
57366 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
57368 if test x$glibcxx_cv_func_powf_use = x"yes"; then
57369 for ac_func in powf
57370 do :
57371 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
57372 if test "x$ac_cv_func_powf" = xyes; then :
57373 cat >>confdefs.h <<_ACEOF
57374 #define HAVE_POWF 1
57375 _ACEOF
57378 done
57380 else
57382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
57383 $as_echo_n "checking for _powf declaration... " >&6; }
57384 if test x${glibcxx_cv_func__powf_use+set} != xset; then
57385 if ${glibcxx_cv_func__powf_use+:} false; then :
57386 $as_echo_n "(cached) " >&6
57387 else
57390 ac_ext=cpp
57391 ac_cpp='$CXXCPP $CPPFLAGS'
57392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57397 /* end confdefs.h. */
57398 #include <math.h>
57400 main ()
57402 _powf(0, 0);
57404 return 0;
57406 _ACEOF
57407 if ac_fn_cxx_try_compile "$LINENO"; then :
57408 glibcxx_cv_func__powf_use=yes
57409 else
57410 glibcxx_cv_func__powf_use=no
57412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57413 ac_ext=c
57414 ac_cpp='$CPP $CPPFLAGS'
57415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
57424 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
57426 if test x$glibcxx_cv_func__powf_use = x"yes"; then
57427 for ac_func in _powf
57428 do :
57429 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
57430 if test "x$ac_cv_func__powf" = xyes; then :
57431 cat >>confdefs.h <<_ACEOF
57432 #define HAVE__POWF 1
57433 _ACEOF
57436 done
57445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
57446 $as_echo_n "checking for sqrtf declaration... " >&6; }
57447 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
57448 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
57449 $as_echo_n "(cached) " >&6
57450 else
57453 ac_ext=cpp
57454 ac_cpp='$CXXCPP $CPPFLAGS'
57455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57460 /* end confdefs.h. */
57461 #include <math.h>
57462 #ifdef HAVE_IEEEFP_H
57463 #include <ieeefp.h>
57464 #endif
57467 main ()
57469 sqrtf(0);
57471 return 0;
57473 _ACEOF
57474 if ac_fn_cxx_try_compile "$LINENO"; then :
57475 glibcxx_cv_func_sqrtf_use=yes
57476 else
57477 glibcxx_cv_func_sqrtf_use=no
57479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57480 ac_ext=c
57481 ac_cpp='$CPP $CPPFLAGS'
57482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
57491 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
57493 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
57494 for ac_func in sqrtf
57495 do :
57496 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
57497 if test "x$ac_cv_func_sqrtf" = xyes; then :
57498 cat >>confdefs.h <<_ACEOF
57499 #define HAVE_SQRTF 1
57500 _ACEOF
57503 done
57505 else
57507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
57508 $as_echo_n "checking for _sqrtf declaration... " >&6; }
57509 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
57510 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
57511 $as_echo_n "(cached) " >&6
57512 else
57515 ac_ext=cpp
57516 ac_cpp='$CXXCPP $CPPFLAGS'
57517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57522 /* end confdefs.h. */
57523 #include <math.h>
57524 #ifdef HAVE_IEEEFP_H
57525 #include <ieeefp.h>
57526 #endif
57529 main ()
57531 _sqrtf(0);
57533 return 0;
57535 _ACEOF
57536 if ac_fn_cxx_try_compile "$LINENO"; then :
57537 glibcxx_cv_func__sqrtf_use=yes
57538 else
57539 glibcxx_cv_func__sqrtf_use=no
57541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57542 ac_ext=c
57543 ac_cpp='$CPP $CPPFLAGS'
57544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
57553 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
57555 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
57556 for ac_func in _sqrtf
57557 do :
57558 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
57559 if test "x$ac_cv_func__sqrtf" = xyes; then :
57560 cat >>confdefs.h <<_ACEOF
57561 #define HAVE__SQRTF 1
57562 _ACEOF
57565 done
57574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
57575 $as_echo_n "checking for sincosf declaration... " >&6; }
57576 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
57577 if ${glibcxx_cv_func_sincosf_use+:} false; then :
57578 $as_echo_n "(cached) " >&6
57579 else
57582 ac_ext=cpp
57583 ac_cpp='$CXXCPP $CPPFLAGS'
57584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57589 /* end confdefs.h. */
57590 #include <math.h>
57592 main ()
57594 sincosf(0, 0, 0);
57596 return 0;
57598 _ACEOF
57599 if ac_fn_cxx_try_compile "$LINENO"; then :
57600 glibcxx_cv_func_sincosf_use=yes
57601 else
57602 glibcxx_cv_func_sincosf_use=no
57604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57605 ac_ext=c
57606 ac_cpp='$CPP $CPPFLAGS'
57607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
57616 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
57618 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
57619 for ac_func in sincosf
57620 do :
57621 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
57622 if test "x$ac_cv_func_sincosf" = xyes; then :
57623 cat >>confdefs.h <<_ACEOF
57624 #define HAVE_SINCOSF 1
57625 _ACEOF
57628 done
57630 else
57632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
57633 $as_echo_n "checking for _sincosf declaration... " >&6; }
57634 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
57635 if ${glibcxx_cv_func__sincosf_use+:} false; then :
57636 $as_echo_n "(cached) " >&6
57637 else
57640 ac_ext=cpp
57641 ac_cpp='$CXXCPP $CPPFLAGS'
57642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57647 /* end confdefs.h. */
57648 #include <math.h>
57650 main ()
57652 _sincosf(0, 0, 0);
57654 return 0;
57656 _ACEOF
57657 if ac_fn_cxx_try_compile "$LINENO"; then :
57658 glibcxx_cv_func__sincosf_use=yes
57659 else
57660 glibcxx_cv_func__sincosf_use=no
57662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57663 ac_ext=c
57664 ac_cpp='$CPP $CPPFLAGS'
57665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
57674 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
57676 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
57677 for ac_func in _sincosf
57678 do :
57679 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
57680 if test "x$ac_cv_func__sincosf" = xyes; then :
57681 cat >>confdefs.h <<_ACEOF
57682 #define HAVE__SINCOSF 1
57683 _ACEOF
57686 done
57695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
57696 $as_echo_n "checking for finitef declaration... " >&6; }
57697 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
57698 if ${glibcxx_cv_func_finitef_use+:} false; then :
57699 $as_echo_n "(cached) " >&6
57700 else
57703 ac_ext=cpp
57704 ac_cpp='$CXXCPP $CPPFLAGS'
57705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57710 /* end confdefs.h. */
57711 #include <math.h>
57712 #ifdef HAVE_IEEEFP_H
57713 #include <ieeefp.h>
57714 #endif
57717 main ()
57719 finitef(0);
57721 return 0;
57723 _ACEOF
57724 if ac_fn_cxx_try_compile "$LINENO"; then :
57725 glibcxx_cv_func_finitef_use=yes
57726 else
57727 glibcxx_cv_func_finitef_use=no
57729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57730 ac_ext=c
57731 ac_cpp='$CPP $CPPFLAGS'
57732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
57741 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
57743 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
57744 for ac_func in finitef
57745 do :
57746 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
57747 if test "x$ac_cv_func_finitef" = xyes; then :
57748 cat >>confdefs.h <<_ACEOF
57749 #define HAVE_FINITEF 1
57750 _ACEOF
57753 done
57755 else
57757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
57758 $as_echo_n "checking for _finitef declaration... " >&6; }
57759 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
57760 if ${glibcxx_cv_func__finitef_use+:} false; then :
57761 $as_echo_n "(cached) " >&6
57762 else
57765 ac_ext=cpp
57766 ac_cpp='$CXXCPP $CPPFLAGS'
57767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57772 /* end confdefs.h. */
57773 #include <math.h>
57774 #ifdef HAVE_IEEEFP_H
57775 #include <ieeefp.h>
57776 #endif
57779 main ()
57781 _finitef(0);
57783 return 0;
57785 _ACEOF
57786 if ac_fn_cxx_try_compile "$LINENO"; then :
57787 glibcxx_cv_func__finitef_use=yes
57788 else
57789 glibcxx_cv_func__finitef_use=no
57791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57792 ac_ext=c
57793 ac_cpp='$CPP $CPPFLAGS'
57794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57803 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57805 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57806 for ac_func in _finitef
57807 do :
57808 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57809 if test "x$ac_cv_func__finitef" = xyes; then :
57810 cat >>confdefs.h <<_ACEOF
57811 #define HAVE__FINITEF 1
57812 _ACEOF
57815 done
57824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57825 $as_echo_n "checking for long double trig functions... " >&6; }
57826 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
57827 $as_echo_n "(cached) " >&6
57828 else
57831 ac_ext=cpp
57832 ac_cpp='$CXXCPP $CPPFLAGS'
57833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57838 /* end confdefs.h. */
57839 #include <math.h>
57841 main ()
57843 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57845 return 0;
57847 _ACEOF
57848 if ac_fn_cxx_try_compile "$LINENO"; then :
57849 glibcxx_cv_func_long_double_trig_use=yes
57850 else
57851 glibcxx_cv_func_long_double_trig_use=no
57853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57854 ac_ext=c
57855 ac_cpp='$CPP $CPPFLAGS'
57856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57863 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57864 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57865 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57866 do :
57867 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57868 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57869 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57870 cat >>confdefs.h <<_ACEOF
57871 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57872 _ACEOF
57875 done
57877 else
57878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57879 $as_echo_n "checking for _long double trig functions... " >&6; }
57880 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
57881 $as_echo_n "(cached) " >&6
57882 else
57885 ac_ext=cpp
57886 ac_cpp='$CXXCPP $CPPFLAGS'
57887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57892 /* end confdefs.h. */
57893 #include <math.h>
57895 main ()
57897 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57899 return 0;
57901 _ACEOF
57902 if ac_fn_cxx_try_compile "$LINENO"; then :
57903 glibcxx_cv_func__long_double_trig_use=yes
57904 else
57905 glibcxx_cv_func__long_double_trig_use=no
57907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57908 ac_ext=c
57909 ac_cpp='$CPP $CPPFLAGS'
57910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57917 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57918 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57919 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57920 do :
57921 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57922 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57923 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57924 cat >>confdefs.h <<_ACEOF
57925 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57926 _ACEOF
57929 done
57938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57939 $as_echo_n "checking for long double round functions... " >&6; }
57940 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
57941 $as_echo_n "(cached) " >&6
57942 else
57945 ac_ext=cpp
57946 ac_cpp='$CXXCPP $CPPFLAGS'
57947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57952 /* end confdefs.h. */
57953 #include <math.h>
57955 main ()
57957 ceill (0); floorl (0);
57959 return 0;
57961 _ACEOF
57962 if ac_fn_cxx_try_compile "$LINENO"; then :
57963 glibcxx_cv_func_long_double_round_use=yes
57964 else
57965 glibcxx_cv_func_long_double_round_use=no
57967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57968 ac_ext=c
57969 ac_cpp='$CPP $CPPFLAGS'
57970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57977 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57978 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
57979 for ac_func in ceill floorl
57980 do :
57981 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57982 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57983 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57984 cat >>confdefs.h <<_ACEOF
57985 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57986 _ACEOF
57989 done
57991 else
57992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
57993 $as_echo_n "checking for _long double round functions... " >&6; }
57994 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
57995 $as_echo_n "(cached) " >&6
57996 else
57999 ac_ext=cpp
58000 ac_cpp='$CXXCPP $CPPFLAGS'
58001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58006 /* end confdefs.h. */
58007 #include <math.h>
58009 main ()
58011 _ceill (0); _floorl (0);
58013 return 0;
58015 _ACEOF
58016 if ac_fn_cxx_try_compile "$LINENO"; then :
58017 glibcxx_cv_func__long_double_round_use=yes
58018 else
58019 glibcxx_cv_func__long_double_round_use=no
58021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58022 ac_ext=c
58023 ac_cpp='$CPP $CPPFLAGS'
58024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
58031 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
58032 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
58033 for ac_func in _ceill _floorl
58034 do :
58035 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58036 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58037 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58038 cat >>confdefs.h <<_ACEOF
58039 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58040 _ACEOF
58043 done
58053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
58054 $as_echo_n "checking for isnanl declaration... " >&6; }
58055 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
58056 if ${glibcxx_cv_func_isnanl_use+:} false; then :
58057 $as_echo_n "(cached) " >&6
58058 else
58061 ac_ext=cpp
58062 ac_cpp='$CXXCPP $CPPFLAGS'
58063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58068 /* end confdefs.h. */
58069 #include <math.h>
58070 #ifdef HAVE_IEEEFP_H
58071 #include <ieeefp.h>
58072 #endif
58075 main ()
58077 isnanl(0);
58079 return 0;
58081 _ACEOF
58082 if ac_fn_cxx_try_compile "$LINENO"; then :
58083 glibcxx_cv_func_isnanl_use=yes
58084 else
58085 glibcxx_cv_func_isnanl_use=no
58087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58088 ac_ext=c
58089 ac_cpp='$CPP $CPPFLAGS'
58090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
58099 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
58101 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
58102 for ac_func in isnanl
58103 do :
58104 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
58105 if test "x$ac_cv_func_isnanl" = xyes; then :
58106 cat >>confdefs.h <<_ACEOF
58107 #define HAVE_ISNANL 1
58108 _ACEOF
58111 done
58113 else
58115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
58116 $as_echo_n "checking for _isnanl declaration... " >&6; }
58117 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
58118 if ${glibcxx_cv_func__isnanl_use+:} false; then :
58119 $as_echo_n "(cached) " >&6
58120 else
58123 ac_ext=cpp
58124 ac_cpp='$CXXCPP $CPPFLAGS'
58125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58130 /* end confdefs.h. */
58131 #include <math.h>
58132 #ifdef HAVE_IEEEFP_H
58133 #include <ieeefp.h>
58134 #endif
58137 main ()
58139 _isnanl(0);
58141 return 0;
58143 _ACEOF
58144 if ac_fn_cxx_try_compile "$LINENO"; then :
58145 glibcxx_cv_func__isnanl_use=yes
58146 else
58147 glibcxx_cv_func__isnanl_use=no
58149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58150 ac_ext=c
58151 ac_cpp='$CPP $CPPFLAGS'
58152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
58161 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
58163 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
58164 for ac_func in _isnanl
58165 do :
58166 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
58167 if test "x$ac_cv_func__isnanl" = xyes; then :
58168 cat >>confdefs.h <<_ACEOF
58169 #define HAVE__ISNANL 1
58170 _ACEOF
58173 done
58182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
58183 $as_echo_n "checking for isinfl declaration... " >&6; }
58184 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
58185 if ${glibcxx_cv_func_isinfl_use+:} false; then :
58186 $as_echo_n "(cached) " >&6
58187 else
58190 ac_ext=cpp
58191 ac_cpp='$CXXCPP $CPPFLAGS'
58192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58197 /* end confdefs.h. */
58198 #include <math.h>
58199 #ifdef HAVE_IEEEFP_H
58200 #include <ieeefp.h>
58201 #endif
58204 main ()
58206 isinfl(0);
58208 return 0;
58210 _ACEOF
58211 if ac_fn_cxx_try_compile "$LINENO"; then :
58212 glibcxx_cv_func_isinfl_use=yes
58213 else
58214 glibcxx_cv_func_isinfl_use=no
58216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58217 ac_ext=c
58218 ac_cpp='$CPP $CPPFLAGS'
58219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
58228 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
58230 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
58231 for ac_func in isinfl
58232 do :
58233 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
58234 if test "x$ac_cv_func_isinfl" = xyes; then :
58235 cat >>confdefs.h <<_ACEOF
58236 #define HAVE_ISINFL 1
58237 _ACEOF
58240 done
58242 else
58244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
58245 $as_echo_n "checking for _isinfl declaration... " >&6; }
58246 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
58247 if ${glibcxx_cv_func__isinfl_use+:} false; then :
58248 $as_echo_n "(cached) " >&6
58249 else
58252 ac_ext=cpp
58253 ac_cpp='$CXXCPP $CPPFLAGS'
58254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58259 /* end confdefs.h. */
58260 #include <math.h>
58261 #ifdef HAVE_IEEEFP_H
58262 #include <ieeefp.h>
58263 #endif
58266 main ()
58268 _isinfl(0);
58270 return 0;
58272 _ACEOF
58273 if ac_fn_cxx_try_compile "$LINENO"; then :
58274 glibcxx_cv_func__isinfl_use=yes
58275 else
58276 glibcxx_cv_func__isinfl_use=no
58278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58279 ac_ext=c
58280 ac_cpp='$CPP $CPPFLAGS'
58281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
58290 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
58292 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
58293 for ac_func in _isinfl
58294 do :
58295 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
58296 if test "x$ac_cv_func__isinfl" = xyes; then :
58297 cat >>confdefs.h <<_ACEOF
58298 #define HAVE__ISINFL 1
58299 _ACEOF
58302 done
58311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
58312 $as_echo_n "checking for atan2l declaration... " >&6; }
58313 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
58314 if ${glibcxx_cv_func_atan2l_use+:} false; then :
58315 $as_echo_n "(cached) " >&6
58316 else
58319 ac_ext=cpp
58320 ac_cpp='$CXXCPP $CPPFLAGS'
58321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58326 /* end confdefs.h. */
58327 #include <math.h>
58329 main ()
58331 atan2l(0, 0);
58333 return 0;
58335 _ACEOF
58336 if ac_fn_cxx_try_compile "$LINENO"; then :
58337 glibcxx_cv_func_atan2l_use=yes
58338 else
58339 glibcxx_cv_func_atan2l_use=no
58341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58342 ac_ext=c
58343 ac_cpp='$CPP $CPPFLAGS'
58344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
58353 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
58355 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
58356 for ac_func in atan2l
58357 do :
58358 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
58359 if test "x$ac_cv_func_atan2l" = xyes; then :
58360 cat >>confdefs.h <<_ACEOF
58361 #define HAVE_ATAN2L 1
58362 _ACEOF
58365 done
58367 else
58369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
58370 $as_echo_n "checking for _atan2l declaration... " >&6; }
58371 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
58372 if ${glibcxx_cv_func__atan2l_use+:} false; then :
58373 $as_echo_n "(cached) " >&6
58374 else
58377 ac_ext=cpp
58378 ac_cpp='$CXXCPP $CPPFLAGS'
58379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58384 /* end confdefs.h. */
58385 #include <math.h>
58387 main ()
58389 _atan2l(0, 0);
58391 return 0;
58393 _ACEOF
58394 if ac_fn_cxx_try_compile "$LINENO"; then :
58395 glibcxx_cv_func__atan2l_use=yes
58396 else
58397 glibcxx_cv_func__atan2l_use=no
58399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58400 ac_ext=c
58401 ac_cpp='$CPP $CPPFLAGS'
58402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
58411 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
58413 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
58414 for ac_func in _atan2l
58415 do :
58416 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
58417 if test "x$ac_cv_func__atan2l" = xyes; then :
58418 cat >>confdefs.h <<_ACEOF
58419 #define HAVE__ATAN2L 1
58420 _ACEOF
58423 done
58432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
58433 $as_echo_n "checking for expl declaration... " >&6; }
58434 if test x${glibcxx_cv_func_expl_use+set} != xset; then
58435 if ${glibcxx_cv_func_expl_use+:} false; then :
58436 $as_echo_n "(cached) " >&6
58437 else
58440 ac_ext=cpp
58441 ac_cpp='$CXXCPP $CPPFLAGS'
58442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58447 /* end confdefs.h. */
58448 #include <math.h>
58449 #ifdef HAVE_IEEEFP_H
58450 #include <ieeefp.h>
58451 #endif
58454 main ()
58456 expl(0);
58458 return 0;
58460 _ACEOF
58461 if ac_fn_cxx_try_compile "$LINENO"; then :
58462 glibcxx_cv_func_expl_use=yes
58463 else
58464 glibcxx_cv_func_expl_use=no
58466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58467 ac_ext=c
58468 ac_cpp='$CPP $CPPFLAGS'
58469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
58478 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
58480 if test x$glibcxx_cv_func_expl_use = x"yes"; then
58481 for ac_func in expl
58482 do :
58483 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
58484 if test "x$ac_cv_func_expl" = xyes; then :
58485 cat >>confdefs.h <<_ACEOF
58486 #define HAVE_EXPL 1
58487 _ACEOF
58490 done
58492 else
58494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
58495 $as_echo_n "checking for _expl declaration... " >&6; }
58496 if test x${glibcxx_cv_func__expl_use+set} != xset; then
58497 if ${glibcxx_cv_func__expl_use+:} false; then :
58498 $as_echo_n "(cached) " >&6
58499 else
58502 ac_ext=cpp
58503 ac_cpp='$CXXCPP $CPPFLAGS'
58504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58509 /* end confdefs.h. */
58510 #include <math.h>
58511 #ifdef HAVE_IEEEFP_H
58512 #include <ieeefp.h>
58513 #endif
58516 main ()
58518 _expl(0);
58520 return 0;
58522 _ACEOF
58523 if ac_fn_cxx_try_compile "$LINENO"; then :
58524 glibcxx_cv_func__expl_use=yes
58525 else
58526 glibcxx_cv_func__expl_use=no
58528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58529 ac_ext=c
58530 ac_cpp='$CPP $CPPFLAGS'
58531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
58540 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
58542 if test x$glibcxx_cv_func__expl_use = x"yes"; then
58543 for ac_func in _expl
58544 do :
58545 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
58546 if test "x$ac_cv_func__expl" = xyes; then :
58547 cat >>confdefs.h <<_ACEOF
58548 #define HAVE__EXPL 1
58549 _ACEOF
58552 done
58561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
58562 $as_echo_n "checking for fabsl declaration... " >&6; }
58563 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
58564 if ${glibcxx_cv_func_fabsl_use+:} false; then :
58565 $as_echo_n "(cached) " >&6
58566 else
58569 ac_ext=cpp
58570 ac_cpp='$CXXCPP $CPPFLAGS'
58571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58576 /* end confdefs.h. */
58577 #include <math.h>
58578 #ifdef HAVE_IEEEFP_H
58579 #include <ieeefp.h>
58580 #endif
58583 main ()
58585 fabsl(0);
58587 return 0;
58589 _ACEOF
58590 if ac_fn_cxx_try_compile "$LINENO"; then :
58591 glibcxx_cv_func_fabsl_use=yes
58592 else
58593 glibcxx_cv_func_fabsl_use=no
58595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58596 ac_ext=c
58597 ac_cpp='$CPP $CPPFLAGS'
58598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
58607 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
58609 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
58610 for ac_func in fabsl
58611 do :
58612 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
58613 if test "x$ac_cv_func_fabsl" = xyes; then :
58614 cat >>confdefs.h <<_ACEOF
58615 #define HAVE_FABSL 1
58616 _ACEOF
58619 done
58621 else
58623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
58624 $as_echo_n "checking for _fabsl declaration... " >&6; }
58625 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
58626 if ${glibcxx_cv_func__fabsl_use+:} false; then :
58627 $as_echo_n "(cached) " >&6
58628 else
58631 ac_ext=cpp
58632 ac_cpp='$CXXCPP $CPPFLAGS'
58633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58638 /* end confdefs.h. */
58639 #include <math.h>
58640 #ifdef HAVE_IEEEFP_H
58641 #include <ieeefp.h>
58642 #endif
58645 main ()
58647 _fabsl(0);
58649 return 0;
58651 _ACEOF
58652 if ac_fn_cxx_try_compile "$LINENO"; then :
58653 glibcxx_cv_func__fabsl_use=yes
58654 else
58655 glibcxx_cv_func__fabsl_use=no
58657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58658 ac_ext=c
58659 ac_cpp='$CPP $CPPFLAGS'
58660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
58669 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
58671 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
58672 for ac_func in _fabsl
58673 do :
58674 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
58675 if test "x$ac_cv_func__fabsl" = xyes; then :
58676 cat >>confdefs.h <<_ACEOF
58677 #define HAVE__FABSL 1
58678 _ACEOF
58681 done
58690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
58691 $as_echo_n "checking for fmodl declaration... " >&6; }
58692 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
58693 if ${glibcxx_cv_func_fmodl_use+:} false; then :
58694 $as_echo_n "(cached) " >&6
58695 else
58698 ac_ext=cpp
58699 ac_cpp='$CXXCPP $CPPFLAGS'
58700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58705 /* end confdefs.h. */
58706 #include <math.h>
58708 main ()
58710 fmodl(0, 0);
58712 return 0;
58714 _ACEOF
58715 if ac_fn_cxx_try_compile "$LINENO"; then :
58716 glibcxx_cv_func_fmodl_use=yes
58717 else
58718 glibcxx_cv_func_fmodl_use=no
58720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58721 ac_ext=c
58722 ac_cpp='$CPP $CPPFLAGS'
58723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
58732 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
58734 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
58735 for ac_func in fmodl
58736 do :
58737 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
58738 if test "x$ac_cv_func_fmodl" = xyes; then :
58739 cat >>confdefs.h <<_ACEOF
58740 #define HAVE_FMODL 1
58741 _ACEOF
58744 done
58746 else
58748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
58749 $as_echo_n "checking for _fmodl declaration... " >&6; }
58750 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
58751 if ${glibcxx_cv_func__fmodl_use+:} false; then :
58752 $as_echo_n "(cached) " >&6
58753 else
58756 ac_ext=cpp
58757 ac_cpp='$CXXCPP $CPPFLAGS'
58758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58763 /* end confdefs.h. */
58764 #include <math.h>
58766 main ()
58768 _fmodl(0, 0);
58770 return 0;
58772 _ACEOF
58773 if ac_fn_cxx_try_compile "$LINENO"; then :
58774 glibcxx_cv_func__fmodl_use=yes
58775 else
58776 glibcxx_cv_func__fmodl_use=no
58778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58779 ac_ext=c
58780 ac_cpp='$CPP $CPPFLAGS'
58781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58790 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58792 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58793 for ac_func in _fmodl
58794 do :
58795 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58796 if test "x$ac_cv_func__fmodl" = xyes; then :
58797 cat >>confdefs.h <<_ACEOF
58798 #define HAVE__FMODL 1
58799 _ACEOF
58802 done
58811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58812 $as_echo_n "checking for frexpl declaration... " >&6; }
58813 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58814 if ${glibcxx_cv_func_frexpl_use+:} false; then :
58815 $as_echo_n "(cached) " >&6
58816 else
58819 ac_ext=cpp
58820 ac_cpp='$CXXCPP $CPPFLAGS'
58821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58826 /* end confdefs.h. */
58827 #include <math.h>
58829 main ()
58831 frexpl(0, 0);
58833 return 0;
58835 _ACEOF
58836 if ac_fn_cxx_try_compile "$LINENO"; then :
58837 glibcxx_cv_func_frexpl_use=yes
58838 else
58839 glibcxx_cv_func_frexpl_use=no
58841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58842 ac_ext=c
58843 ac_cpp='$CPP $CPPFLAGS'
58844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58853 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58855 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58856 for ac_func in frexpl
58857 do :
58858 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58859 if test "x$ac_cv_func_frexpl" = xyes; then :
58860 cat >>confdefs.h <<_ACEOF
58861 #define HAVE_FREXPL 1
58862 _ACEOF
58865 done
58867 else
58869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58870 $as_echo_n "checking for _frexpl declaration... " >&6; }
58871 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58872 if ${glibcxx_cv_func__frexpl_use+:} false; then :
58873 $as_echo_n "(cached) " >&6
58874 else
58877 ac_ext=cpp
58878 ac_cpp='$CXXCPP $CPPFLAGS'
58879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58884 /* end confdefs.h. */
58885 #include <math.h>
58887 main ()
58889 _frexpl(0, 0);
58891 return 0;
58893 _ACEOF
58894 if ac_fn_cxx_try_compile "$LINENO"; then :
58895 glibcxx_cv_func__frexpl_use=yes
58896 else
58897 glibcxx_cv_func__frexpl_use=no
58899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58900 ac_ext=c
58901 ac_cpp='$CPP $CPPFLAGS'
58902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58911 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58913 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58914 for ac_func in _frexpl
58915 do :
58916 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58917 if test "x$ac_cv_func__frexpl" = xyes; then :
58918 cat >>confdefs.h <<_ACEOF
58919 #define HAVE__FREXPL 1
58920 _ACEOF
58923 done
58932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58933 $as_echo_n "checking for hypotl declaration... " >&6; }
58934 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58935 if ${glibcxx_cv_func_hypotl_use+:} false; then :
58936 $as_echo_n "(cached) " >&6
58937 else
58940 ac_ext=cpp
58941 ac_cpp='$CXXCPP $CPPFLAGS'
58942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58947 /* end confdefs.h. */
58948 #include <math.h>
58950 main ()
58952 hypotl(0, 0);
58954 return 0;
58956 _ACEOF
58957 if ac_fn_cxx_try_compile "$LINENO"; then :
58958 glibcxx_cv_func_hypotl_use=yes
58959 else
58960 glibcxx_cv_func_hypotl_use=no
58962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58963 ac_ext=c
58964 ac_cpp='$CPP $CPPFLAGS'
58965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58974 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58976 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58977 for ac_func in hypotl
58978 do :
58979 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
58980 if test "x$ac_cv_func_hypotl" = xyes; then :
58981 cat >>confdefs.h <<_ACEOF
58982 #define HAVE_HYPOTL 1
58983 _ACEOF
58986 done
58988 else
58990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
58991 $as_echo_n "checking for _hypotl declaration... " >&6; }
58992 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58993 if ${glibcxx_cv_func__hypotl_use+:} false; then :
58994 $as_echo_n "(cached) " >&6
58995 else
58998 ac_ext=cpp
58999 ac_cpp='$CXXCPP $CPPFLAGS'
59000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59005 /* end confdefs.h. */
59006 #include <math.h>
59008 main ()
59010 _hypotl(0, 0);
59012 return 0;
59014 _ACEOF
59015 if ac_fn_cxx_try_compile "$LINENO"; then :
59016 glibcxx_cv_func__hypotl_use=yes
59017 else
59018 glibcxx_cv_func__hypotl_use=no
59020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59021 ac_ext=c
59022 ac_cpp='$CPP $CPPFLAGS'
59023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
59032 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
59034 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
59035 for ac_func in _hypotl
59036 do :
59037 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
59038 if test "x$ac_cv_func__hypotl" = xyes; then :
59039 cat >>confdefs.h <<_ACEOF
59040 #define HAVE__HYPOTL 1
59041 _ACEOF
59044 done
59053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
59054 $as_echo_n "checking for ldexpl declaration... " >&6; }
59055 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
59056 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
59057 $as_echo_n "(cached) " >&6
59058 else
59061 ac_ext=cpp
59062 ac_cpp='$CXXCPP $CPPFLAGS'
59063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59068 /* end confdefs.h. */
59069 #include <math.h>
59071 main ()
59073 ldexpl(0, 0);
59075 return 0;
59077 _ACEOF
59078 if ac_fn_cxx_try_compile "$LINENO"; then :
59079 glibcxx_cv_func_ldexpl_use=yes
59080 else
59081 glibcxx_cv_func_ldexpl_use=no
59083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59084 ac_ext=c
59085 ac_cpp='$CPP $CPPFLAGS'
59086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
59095 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
59097 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
59098 for ac_func in ldexpl
59099 do :
59100 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
59101 if test "x$ac_cv_func_ldexpl" = xyes; then :
59102 cat >>confdefs.h <<_ACEOF
59103 #define HAVE_LDEXPL 1
59104 _ACEOF
59107 done
59109 else
59111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
59112 $as_echo_n "checking for _ldexpl declaration... " >&6; }
59113 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
59114 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
59115 $as_echo_n "(cached) " >&6
59116 else
59119 ac_ext=cpp
59120 ac_cpp='$CXXCPP $CPPFLAGS'
59121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59126 /* end confdefs.h. */
59127 #include <math.h>
59129 main ()
59131 _ldexpl(0, 0);
59133 return 0;
59135 _ACEOF
59136 if ac_fn_cxx_try_compile "$LINENO"; then :
59137 glibcxx_cv_func__ldexpl_use=yes
59138 else
59139 glibcxx_cv_func__ldexpl_use=no
59141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59142 ac_ext=c
59143 ac_cpp='$CPP $CPPFLAGS'
59144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
59153 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
59155 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
59156 for ac_func in _ldexpl
59157 do :
59158 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
59159 if test "x$ac_cv_func__ldexpl" = xyes; then :
59160 cat >>confdefs.h <<_ACEOF
59161 #define HAVE__LDEXPL 1
59162 _ACEOF
59165 done
59174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
59175 $as_echo_n "checking for logl declaration... " >&6; }
59176 if test x${glibcxx_cv_func_logl_use+set} != xset; then
59177 if ${glibcxx_cv_func_logl_use+:} false; then :
59178 $as_echo_n "(cached) " >&6
59179 else
59182 ac_ext=cpp
59183 ac_cpp='$CXXCPP $CPPFLAGS'
59184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59189 /* end confdefs.h. */
59190 #include <math.h>
59191 #ifdef HAVE_IEEEFP_H
59192 #include <ieeefp.h>
59193 #endif
59196 main ()
59198 logl(0);
59200 return 0;
59202 _ACEOF
59203 if ac_fn_cxx_try_compile "$LINENO"; then :
59204 glibcxx_cv_func_logl_use=yes
59205 else
59206 glibcxx_cv_func_logl_use=no
59208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59209 ac_ext=c
59210 ac_cpp='$CPP $CPPFLAGS'
59211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
59220 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
59222 if test x$glibcxx_cv_func_logl_use = x"yes"; then
59223 for ac_func in logl
59224 do :
59225 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
59226 if test "x$ac_cv_func_logl" = xyes; then :
59227 cat >>confdefs.h <<_ACEOF
59228 #define HAVE_LOGL 1
59229 _ACEOF
59232 done
59234 else
59236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
59237 $as_echo_n "checking for _logl declaration... " >&6; }
59238 if test x${glibcxx_cv_func__logl_use+set} != xset; then
59239 if ${glibcxx_cv_func__logl_use+:} false; then :
59240 $as_echo_n "(cached) " >&6
59241 else
59244 ac_ext=cpp
59245 ac_cpp='$CXXCPP $CPPFLAGS'
59246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59251 /* end confdefs.h. */
59252 #include <math.h>
59253 #ifdef HAVE_IEEEFP_H
59254 #include <ieeefp.h>
59255 #endif
59258 main ()
59260 _logl(0);
59262 return 0;
59264 _ACEOF
59265 if ac_fn_cxx_try_compile "$LINENO"; then :
59266 glibcxx_cv_func__logl_use=yes
59267 else
59268 glibcxx_cv_func__logl_use=no
59270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59271 ac_ext=c
59272 ac_cpp='$CPP $CPPFLAGS'
59273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
59282 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
59284 if test x$glibcxx_cv_func__logl_use = x"yes"; then
59285 for ac_func in _logl
59286 do :
59287 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
59288 if test "x$ac_cv_func__logl" = xyes; then :
59289 cat >>confdefs.h <<_ACEOF
59290 #define HAVE__LOGL 1
59291 _ACEOF
59294 done
59303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
59304 $as_echo_n "checking for log10l declaration... " >&6; }
59305 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
59306 if ${glibcxx_cv_func_log10l_use+:} false; then :
59307 $as_echo_n "(cached) " >&6
59308 else
59311 ac_ext=cpp
59312 ac_cpp='$CXXCPP $CPPFLAGS'
59313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59318 /* end confdefs.h. */
59319 #include <math.h>
59320 #ifdef HAVE_IEEEFP_H
59321 #include <ieeefp.h>
59322 #endif
59325 main ()
59327 log10l(0);
59329 return 0;
59331 _ACEOF
59332 if ac_fn_cxx_try_compile "$LINENO"; then :
59333 glibcxx_cv_func_log10l_use=yes
59334 else
59335 glibcxx_cv_func_log10l_use=no
59337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59338 ac_ext=c
59339 ac_cpp='$CPP $CPPFLAGS'
59340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
59349 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
59351 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
59352 for ac_func in log10l
59353 do :
59354 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
59355 if test "x$ac_cv_func_log10l" = xyes; then :
59356 cat >>confdefs.h <<_ACEOF
59357 #define HAVE_LOG10L 1
59358 _ACEOF
59361 done
59363 else
59365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
59366 $as_echo_n "checking for _log10l declaration... " >&6; }
59367 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
59368 if ${glibcxx_cv_func__log10l_use+:} false; then :
59369 $as_echo_n "(cached) " >&6
59370 else
59373 ac_ext=cpp
59374 ac_cpp='$CXXCPP $CPPFLAGS'
59375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59380 /* end confdefs.h. */
59381 #include <math.h>
59382 #ifdef HAVE_IEEEFP_H
59383 #include <ieeefp.h>
59384 #endif
59387 main ()
59389 _log10l(0);
59391 return 0;
59393 _ACEOF
59394 if ac_fn_cxx_try_compile "$LINENO"; then :
59395 glibcxx_cv_func__log10l_use=yes
59396 else
59397 glibcxx_cv_func__log10l_use=no
59399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59400 ac_ext=c
59401 ac_cpp='$CPP $CPPFLAGS'
59402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
59411 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
59413 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
59414 for ac_func in _log10l
59415 do :
59416 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
59417 if test "x$ac_cv_func__log10l" = xyes; then :
59418 cat >>confdefs.h <<_ACEOF
59419 #define HAVE__LOG10L 1
59420 _ACEOF
59423 done
59432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
59433 $as_echo_n "checking for modfl declaration... " >&6; }
59434 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
59435 if ${glibcxx_cv_func_modfl_use+:} false; then :
59436 $as_echo_n "(cached) " >&6
59437 else
59440 ac_ext=cpp
59441 ac_cpp='$CXXCPP $CPPFLAGS'
59442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59447 /* end confdefs.h. */
59448 #include <math.h>
59450 main ()
59452 modfl(0, 0);
59454 return 0;
59456 _ACEOF
59457 if ac_fn_cxx_try_compile "$LINENO"; then :
59458 glibcxx_cv_func_modfl_use=yes
59459 else
59460 glibcxx_cv_func_modfl_use=no
59462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59463 ac_ext=c
59464 ac_cpp='$CPP $CPPFLAGS'
59465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
59474 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
59476 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
59477 for ac_func in modfl
59478 do :
59479 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
59480 if test "x$ac_cv_func_modfl" = xyes; then :
59481 cat >>confdefs.h <<_ACEOF
59482 #define HAVE_MODFL 1
59483 _ACEOF
59486 done
59488 else
59490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
59491 $as_echo_n "checking for _modfl declaration... " >&6; }
59492 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
59493 if ${glibcxx_cv_func__modfl_use+:} false; then :
59494 $as_echo_n "(cached) " >&6
59495 else
59498 ac_ext=cpp
59499 ac_cpp='$CXXCPP $CPPFLAGS'
59500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59505 /* end confdefs.h. */
59506 #include <math.h>
59508 main ()
59510 _modfl(0, 0);
59512 return 0;
59514 _ACEOF
59515 if ac_fn_cxx_try_compile "$LINENO"; then :
59516 glibcxx_cv_func__modfl_use=yes
59517 else
59518 glibcxx_cv_func__modfl_use=no
59520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59521 ac_ext=c
59522 ac_cpp='$CPP $CPPFLAGS'
59523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
59532 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
59534 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
59535 for ac_func in _modfl
59536 do :
59537 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
59538 if test "x$ac_cv_func__modfl" = xyes; then :
59539 cat >>confdefs.h <<_ACEOF
59540 #define HAVE__MODFL 1
59541 _ACEOF
59544 done
59553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
59554 $as_echo_n "checking for powl declaration... " >&6; }
59555 if test x${glibcxx_cv_func_powl_use+set} != xset; then
59556 if ${glibcxx_cv_func_powl_use+:} false; then :
59557 $as_echo_n "(cached) " >&6
59558 else
59561 ac_ext=cpp
59562 ac_cpp='$CXXCPP $CPPFLAGS'
59563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59568 /* end confdefs.h. */
59569 #include <math.h>
59571 main ()
59573 powl(0, 0);
59575 return 0;
59577 _ACEOF
59578 if ac_fn_cxx_try_compile "$LINENO"; then :
59579 glibcxx_cv_func_powl_use=yes
59580 else
59581 glibcxx_cv_func_powl_use=no
59583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59584 ac_ext=c
59585 ac_cpp='$CPP $CPPFLAGS'
59586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
59595 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
59597 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59598 for ac_func in powl
59599 do :
59600 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
59601 if test "x$ac_cv_func_powl" = xyes; then :
59602 cat >>confdefs.h <<_ACEOF
59603 #define HAVE_POWL 1
59604 _ACEOF
59607 done
59609 else
59611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
59612 $as_echo_n "checking for _powl declaration... " >&6; }
59613 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59614 if ${glibcxx_cv_func__powl_use+:} false; then :
59615 $as_echo_n "(cached) " >&6
59616 else
59619 ac_ext=cpp
59620 ac_cpp='$CXXCPP $CPPFLAGS'
59621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59626 /* end confdefs.h. */
59627 #include <math.h>
59629 main ()
59631 _powl(0, 0);
59633 return 0;
59635 _ACEOF
59636 if ac_fn_cxx_try_compile "$LINENO"; then :
59637 glibcxx_cv_func__powl_use=yes
59638 else
59639 glibcxx_cv_func__powl_use=no
59641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59642 ac_ext=c
59643 ac_cpp='$CPP $CPPFLAGS'
59644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
59653 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
59655 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59656 for ac_func in _powl
59657 do :
59658 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
59659 if test "x$ac_cv_func__powl" = xyes; then :
59660 cat >>confdefs.h <<_ACEOF
59661 #define HAVE__POWL 1
59662 _ACEOF
59665 done
59674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
59675 $as_echo_n "checking for sqrtl declaration... " >&6; }
59676 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59677 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
59678 $as_echo_n "(cached) " >&6
59679 else
59682 ac_ext=cpp
59683 ac_cpp='$CXXCPP $CPPFLAGS'
59684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59689 /* end confdefs.h. */
59690 #include <math.h>
59691 #ifdef HAVE_IEEEFP_H
59692 #include <ieeefp.h>
59693 #endif
59696 main ()
59698 sqrtl(0);
59700 return 0;
59702 _ACEOF
59703 if ac_fn_cxx_try_compile "$LINENO"; then :
59704 glibcxx_cv_func_sqrtl_use=yes
59705 else
59706 glibcxx_cv_func_sqrtl_use=no
59708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59709 ac_ext=c
59710 ac_cpp='$CPP $CPPFLAGS'
59711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
59720 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
59722 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59723 for ac_func in sqrtl
59724 do :
59725 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
59726 if test "x$ac_cv_func_sqrtl" = xyes; then :
59727 cat >>confdefs.h <<_ACEOF
59728 #define HAVE_SQRTL 1
59729 _ACEOF
59732 done
59734 else
59736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
59737 $as_echo_n "checking for _sqrtl declaration... " >&6; }
59738 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59739 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
59740 $as_echo_n "(cached) " >&6
59741 else
59744 ac_ext=cpp
59745 ac_cpp='$CXXCPP $CPPFLAGS'
59746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59751 /* end confdefs.h. */
59752 #include <math.h>
59753 #ifdef HAVE_IEEEFP_H
59754 #include <ieeefp.h>
59755 #endif
59758 main ()
59760 _sqrtl(0);
59762 return 0;
59764 _ACEOF
59765 if ac_fn_cxx_try_compile "$LINENO"; then :
59766 glibcxx_cv_func__sqrtl_use=yes
59767 else
59768 glibcxx_cv_func__sqrtl_use=no
59770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59771 ac_ext=c
59772 ac_cpp='$CPP $CPPFLAGS'
59773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59782 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59784 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59785 for ac_func in _sqrtl
59786 do :
59787 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59788 if test "x$ac_cv_func__sqrtl" = xyes; then :
59789 cat >>confdefs.h <<_ACEOF
59790 #define HAVE__SQRTL 1
59791 _ACEOF
59794 done
59803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59804 $as_echo_n "checking for sincosl declaration... " >&6; }
59805 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59806 if ${glibcxx_cv_func_sincosl_use+:} false; then :
59807 $as_echo_n "(cached) " >&6
59808 else
59811 ac_ext=cpp
59812 ac_cpp='$CXXCPP $CPPFLAGS'
59813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59818 /* end confdefs.h. */
59819 #include <math.h>
59821 main ()
59823 sincosl(0, 0, 0);
59825 return 0;
59827 _ACEOF
59828 if ac_fn_cxx_try_compile "$LINENO"; then :
59829 glibcxx_cv_func_sincosl_use=yes
59830 else
59831 glibcxx_cv_func_sincosl_use=no
59833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59834 ac_ext=c
59835 ac_cpp='$CPP $CPPFLAGS'
59836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59845 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59847 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59848 for ac_func in sincosl
59849 do :
59850 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59851 if test "x$ac_cv_func_sincosl" = xyes; then :
59852 cat >>confdefs.h <<_ACEOF
59853 #define HAVE_SINCOSL 1
59854 _ACEOF
59857 done
59859 else
59861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59862 $as_echo_n "checking for _sincosl declaration... " >&6; }
59863 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59864 if ${glibcxx_cv_func__sincosl_use+:} false; then :
59865 $as_echo_n "(cached) " >&6
59866 else
59869 ac_ext=cpp
59870 ac_cpp='$CXXCPP $CPPFLAGS'
59871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59876 /* end confdefs.h. */
59877 #include <math.h>
59879 main ()
59881 _sincosl(0, 0, 0);
59883 return 0;
59885 _ACEOF
59886 if ac_fn_cxx_try_compile "$LINENO"; then :
59887 glibcxx_cv_func__sincosl_use=yes
59888 else
59889 glibcxx_cv_func__sincosl_use=no
59891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59892 ac_ext=c
59893 ac_cpp='$CPP $CPPFLAGS'
59894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59903 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59905 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59906 for ac_func in _sincosl
59907 do :
59908 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59909 if test "x$ac_cv_func__sincosl" = xyes; then :
59910 cat >>confdefs.h <<_ACEOF
59911 #define HAVE__SINCOSL 1
59912 _ACEOF
59915 done
59924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59925 $as_echo_n "checking for finitel declaration... " >&6; }
59926 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59927 if ${glibcxx_cv_func_finitel_use+:} false; then :
59928 $as_echo_n "(cached) " >&6
59929 else
59932 ac_ext=cpp
59933 ac_cpp='$CXXCPP $CPPFLAGS'
59934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59939 /* end confdefs.h. */
59940 #include <math.h>
59941 #ifdef HAVE_IEEEFP_H
59942 #include <ieeefp.h>
59943 #endif
59946 main ()
59948 finitel(0);
59950 return 0;
59952 _ACEOF
59953 if ac_fn_cxx_try_compile "$LINENO"; then :
59954 glibcxx_cv_func_finitel_use=yes
59955 else
59956 glibcxx_cv_func_finitel_use=no
59958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59959 ac_ext=c
59960 ac_cpp='$CPP $CPPFLAGS'
59961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59970 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59972 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59973 for ac_func in finitel
59974 do :
59975 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59976 if test "x$ac_cv_func_finitel" = xyes; then :
59977 cat >>confdefs.h <<_ACEOF
59978 #define HAVE_FINITEL 1
59979 _ACEOF
59982 done
59984 else
59986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
59987 $as_echo_n "checking for _finitel declaration... " >&6; }
59988 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59989 if ${glibcxx_cv_func__finitel_use+:} false; then :
59990 $as_echo_n "(cached) " >&6
59991 else
59994 ac_ext=cpp
59995 ac_cpp='$CXXCPP $CPPFLAGS'
59996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60001 /* end confdefs.h. */
60002 #include <math.h>
60003 #ifdef HAVE_IEEEFP_H
60004 #include <ieeefp.h>
60005 #endif
60008 main ()
60010 _finitel(0);
60012 return 0;
60014 _ACEOF
60015 if ac_fn_cxx_try_compile "$LINENO"; then :
60016 glibcxx_cv_func__finitel_use=yes
60017 else
60018 glibcxx_cv_func__finitel_use=no
60020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60021 ac_ext=c
60022 ac_cpp='$CPP $CPPFLAGS'
60023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
60032 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
60034 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
60035 for ac_func in _finitel
60036 do :
60037 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
60038 if test "x$ac_cv_func__finitel" = xyes; then :
60039 cat >>confdefs.h <<_ACEOF
60040 #define HAVE__FINITEL 1
60041 _ACEOF
60044 done
60052 LIBS="$ac_save_LIBS"
60053 CXXFLAGS="$ac_save_CXXFLAGS"
60056 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60057 ac_save_CXXFLAGS="$CXXFLAGS"
60058 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
60062 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
60063 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
60064 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
60065 $as_echo_n "(cached) " >&6
60066 else
60069 ac_ext=cpp
60070 ac_cpp='$CXXCPP $CPPFLAGS'
60071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60076 /* end confdefs.h. */
60077 #include <stdlib.h>
60079 main ()
60081 at_quick_exit(0);
60083 return 0;
60085 _ACEOF
60086 if ac_fn_cxx_try_compile "$LINENO"; then :
60087 glibcxx_cv_func_at_quick_exit_use=yes
60088 else
60089 glibcxx_cv_func_at_quick_exit_use=no
60091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60092 ac_ext=c
60093 ac_cpp='$CPP $CPPFLAGS'
60094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
60103 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
60104 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
60105 for ac_func in at_quick_exit
60106 do :
60107 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
60108 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
60109 cat >>confdefs.h <<_ACEOF
60110 #define HAVE_AT_QUICK_EXIT 1
60111 _ACEOF
60114 done
60119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
60120 $as_echo_n "checking for quick_exit declaration... " >&6; }
60121 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
60122 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
60123 $as_echo_n "(cached) " >&6
60124 else
60127 ac_ext=cpp
60128 ac_cpp='$CXXCPP $CPPFLAGS'
60129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60134 /* end confdefs.h. */
60135 #include <stdlib.h>
60137 main ()
60139 quick_exit(0);
60141 return 0;
60143 _ACEOF
60144 if ac_fn_cxx_try_compile "$LINENO"; then :
60145 glibcxx_cv_func_quick_exit_use=yes
60146 else
60147 glibcxx_cv_func_quick_exit_use=no
60149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60150 ac_ext=c
60151 ac_cpp='$CPP $CPPFLAGS'
60152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
60161 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
60162 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
60163 for ac_func in quick_exit
60164 do :
60165 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
60166 if test "x$ac_cv_func_quick_exit" = xyes; then :
60167 cat >>confdefs.h <<_ACEOF
60168 #define HAVE_QUICK_EXIT 1
60169 _ACEOF
60172 done
60177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
60178 $as_echo_n "checking for strtold declaration... " >&6; }
60179 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
60180 if ${glibcxx_cv_func_strtold_use+:} false; then :
60181 $as_echo_n "(cached) " >&6
60182 else
60185 ac_ext=cpp
60186 ac_cpp='$CXXCPP $CPPFLAGS'
60187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60192 /* end confdefs.h. */
60193 #include <stdlib.h>
60195 main ()
60197 strtold(0, 0);
60199 return 0;
60201 _ACEOF
60202 if ac_fn_cxx_try_compile "$LINENO"; then :
60203 glibcxx_cv_func_strtold_use=yes
60204 else
60205 glibcxx_cv_func_strtold_use=no
60207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60208 ac_ext=c
60209 ac_cpp='$CPP $CPPFLAGS'
60210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
60219 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
60220 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
60221 for ac_func in strtold
60222 do :
60223 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
60224 if test "x$ac_cv_func_strtold" = xyes; then :
60225 cat >>confdefs.h <<_ACEOF
60226 #define HAVE_STRTOLD 1
60227 _ACEOF
60230 done
60237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
60238 $as_echo_n "checking for strtof declaration... " >&6; }
60239 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
60240 if ${glibcxx_cv_func_strtof_use+:} false; then :
60241 $as_echo_n "(cached) " >&6
60242 else
60245 ac_ext=cpp
60246 ac_cpp='$CXXCPP $CPPFLAGS'
60247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60252 /* end confdefs.h. */
60253 #include <stdlib.h>
60255 main ()
60257 strtof(0, 0);
60259 return 0;
60261 _ACEOF
60262 if ac_fn_cxx_try_compile "$LINENO"; then :
60263 glibcxx_cv_func_strtof_use=yes
60264 else
60265 glibcxx_cv_func_strtof_use=no
60267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60268 ac_ext=c
60269 ac_cpp='$CPP $CPPFLAGS'
60270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
60279 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
60280 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
60281 for ac_func in strtof
60282 do :
60283 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
60284 if test "x$ac_cv_func_strtof" = xyes; then :
60285 cat >>confdefs.h <<_ACEOF
60286 #define HAVE_STRTOF 1
60287 _ACEOF
60290 done
60297 CXXFLAGS="$ac_save_CXXFLAGS"
60299 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60300 do :
60301 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60302 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60303 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60304 cat >>confdefs.h <<_ACEOF
60305 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60306 _ACEOF
60309 done
60311 for ac_func in _wfopen
60312 do :
60313 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
60314 if test "x$ac_cv_func__wfopen" = xyes; then :
60315 cat >>confdefs.h <<_ACEOF
60316 #define HAVE__WFOPEN 1
60317 _ACEOF
60320 done
60324 # Check whether --enable-tls was given.
60325 if test "${enable_tls+set}" = set; then :
60326 enableval=$enable_tls;
60327 case "$enableval" in
60328 yes|no) ;;
60329 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
60330 esac
60332 else
60333 enable_tls=yes
60337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
60338 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
60339 if ${gcc_cv_have_tls+:} false; then :
60340 $as_echo_n "(cached) " >&6
60341 else
60343 if test "$cross_compiling" = yes; then :
60344 if test x$gcc_no_link = xyes; then
60345 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60348 /* end confdefs.h. */
60349 __thread int a; int b; int main() { return a = b; }
60350 _ACEOF
60351 if ac_fn_c_try_link "$LINENO"; then :
60352 chktls_save_LDFLAGS="$LDFLAGS"
60353 case $host in
60354 *-*-linux* | -*-uclinuxfdpic*)
60355 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
60357 esac
60358 chktls_save_CFLAGS="$CFLAGS"
60359 CFLAGS="-fPIC $CFLAGS"
60360 if test x$gcc_no_link = xyes; then
60361 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60364 /* end confdefs.h. */
60365 int f() { return 0; }
60366 _ACEOF
60367 if ac_fn_c_try_link "$LINENO"; then :
60368 if test x$gcc_no_link = xyes; then
60369 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60372 /* end confdefs.h. */
60373 __thread int a; int b; int f() { return a = b; }
60374 _ACEOF
60375 if ac_fn_c_try_link "$LINENO"; then :
60376 gcc_cv_have_tls=yes
60377 else
60378 gcc_cv_have_tls=no
60380 rm -f core conftest.err conftest.$ac_objext \
60381 conftest$ac_exeext conftest.$ac_ext
60382 else
60383 gcc_cv_have_tls=yes
60385 rm -f core conftest.err conftest.$ac_objext \
60386 conftest$ac_exeext conftest.$ac_ext
60387 CFLAGS="$chktls_save_CFLAGS"
60388 LDFLAGS="$chktls_save_LDFLAGS"
60389 else
60390 gcc_cv_have_tls=no
60392 rm -f core conftest.err conftest.$ac_objext \
60393 conftest$ac_exeext conftest.$ac_ext
60396 else
60397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60398 /* end confdefs.h. */
60399 __thread int a; int b; int main() { return a = b; }
60400 _ACEOF
60401 if ac_fn_c_try_run "$LINENO"; then :
60402 chktls_save_LDFLAGS="$LDFLAGS"
60403 LDFLAGS="-static $LDFLAGS"
60404 if test x$gcc_no_link = xyes; then
60405 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60408 /* end confdefs.h. */
60409 int main() { return 0; }
60410 _ACEOF
60411 if ac_fn_c_try_link "$LINENO"; then :
60412 if test "$cross_compiling" = yes; then :
60413 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
60414 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
60415 as_fn_error $? "cannot run test program while cross compiling
60416 See \`config.log' for more details" "$LINENO" 5; }
60417 else
60418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60419 /* end confdefs.h. */
60420 __thread int a; int b; int main() { return a = b; }
60421 _ACEOF
60422 if ac_fn_c_try_run "$LINENO"; then :
60423 gcc_cv_have_tls=yes
60424 else
60425 gcc_cv_have_tls=no
60427 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60428 conftest.$ac_objext conftest.beam conftest.$ac_ext
60431 else
60432 gcc_cv_have_tls=yes
60434 rm -f core conftest.err conftest.$ac_objext \
60435 conftest$ac_exeext conftest.$ac_ext
60436 LDFLAGS="$chktls_save_LDFLAGS"
60437 if test $gcc_cv_have_tls = yes; then
60438 chktls_save_CFLAGS="$CFLAGS"
60439 thread_CFLAGS=failed
60440 for flag in '' '-pthread' '-lpthread'; do
60441 CFLAGS="$flag $chktls_save_CFLAGS"
60442 if test x$gcc_no_link = xyes; then
60443 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60446 /* end confdefs.h. */
60447 #include <pthread.h>
60448 void *g(void *d) { return NULL; }
60450 main ()
60452 pthread_t t; pthread_create(&t,NULL,g,NULL);
60454 return 0;
60456 _ACEOF
60457 if ac_fn_c_try_link "$LINENO"; then :
60458 thread_CFLAGS="$flag"
60460 rm -f core conftest.err conftest.$ac_objext \
60461 conftest$ac_exeext conftest.$ac_ext
60462 if test "X$thread_CFLAGS" != Xfailed; then
60463 break
60465 done
60466 CFLAGS="$chktls_save_CFLAGS"
60467 if test "X$thread_CFLAGS" != Xfailed; then
60468 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
60469 if test "$cross_compiling" = yes; then :
60470 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
60471 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
60472 as_fn_error $? "cannot run test program while cross compiling
60473 See \`config.log' for more details" "$LINENO" 5; }
60474 else
60475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60476 /* end confdefs.h. */
60477 #include <pthread.h>
60478 __thread int a;
60479 static int *volatile a_in_other_thread;
60480 static void *
60481 thread_func (void *arg)
60483 a_in_other_thread = &a;
60484 return (void *)0;
60487 main ()
60489 pthread_t thread;
60490 void *thread_retval;
60491 int *volatile a_in_main_thread;
60492 a_in_main_thread = &a;
60493 if (pthread_create (&thread, (pthread_attr_t *)0,
60494 thread_func, (void *)0))
60495 return 0;
60496 if (pthread_join (thread, &thread_retval))
60497 return 0;
60498 return (a_in_other_thread == a_in_main_thread);
60500 return 0;
60502 _ACEOF
60503 if ac_fn_c_try_run "$LINENO"; then :
60504 gcc_cv_have_tls=yes
60505 else
60506 gcc_cv_have_tls=no
60508 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60509 conftest.$ac_objext conftest.beam conftest.$ac_ext
60512 CFLAGS="$chktls_save_CFLAGS"
60515 else
60516 gcc_cv_have_tls=no
60518 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60519 conftest.$ac_objext conftest.beam conftest.$ac_ext
60523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
60524 $as_echo "$gcc_cv_have_tls" >&6; }
60525 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
60527 $as_echo "#define HAVE_TLS 1" >>confdefs.h
60531 *-netbsd* | *-openbsd*)
60532 SECTION_FLAGS='-ffunction-sections -fdata-sections'
60535 # If we're not using GNU ld, then there's no point in even trying these
60536 # tests. Check for that first. We should have already tested for gld
60537 # by now (in libtool), but require it now just to be safe...
60538 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60539 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60543 # The name set by libtool depends on the version of libtool. Shame on us
60544 # for depending on an impl detail, but c'est la vie. Older versions used
60545 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60546 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60547 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60548 # set (hence we're using an older libtool), then set it.
60549 if test x${with_gnu_ld+set} != xset; then
60550 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60551 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60552 with_gnu_ld=no
60553 else
60554 with_gnu_ld=$ac_cv_prog_gnu_ld
60558 # Start by getting the version number. I think the libtool test already
60559 # does some of this, but throws away the result.
60560 glibcxx_ld_is_gold=no
60561 glibcxx_ld_is_mold=no
60562 if test x"$with_gnu_ld" = x"yes"; then
60563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60564 $as_echo_n "checking for ld version... " >&6; }
60566 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60567 glibcxx_ld_is_gold=yes
60568 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
60569 glibcxx_ld_is_mold=yes
60571 ldver=`$LD --version 2>/dev/null |
60572 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60574 glibcxx_gnu_ld_version=`echo $ldver | \
60575 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60577 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60580 # Set --gc-sections.
60581 glibcxx_have_gc_sections=no
60582 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
60583 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60584 glibcxx_have_gc_sections=yes
60586 else
60587 glibcxx_gcsections_min_ld=21602
60588 if test x"$with_gnu_ld" = x"yes" &&
60589 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60590 glibcxx_have_gc_sections=yes
60593 if test "$glibcxx_have_gc_sections" = "yes"; then
60594 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60595 # NB: This flag only works reliably after 2.16.1. Configure tests
60596 # for this are difficult, so hard wire a value that should work.
60598 ac_test_CFLAGS="${CFLAGS+set}"
60599 ac_save_CFLAGS="$CFLAGS"
60600 CFLAGS='-Wl,--gc-sections'
60602 # Check for -Wl,--gc-sections
60603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60604 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60605 if test x$gcc_no_link = xyes; then
60606 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60609 /* end confdefs.h. */
60610 int one(void) { return 1; }
60611 int two(void) { return 2; }
60614 main ()
60616 two();
60618 return 0;
60620 _ACEOF
60621 if ac_fn_c_try_link "$LINENO"; then :
60622 ac_gcsections=yes
60623 else
60624 ac_gcsections=no
60626 rm -f core conftest.err conftest.$ac_objext \
60627 conftest$ac_exeext conftest.$ac_ext
60628 if test "$ac_gcsections" = "yes"; then
60629 rm -f conftest.c
60630 touch conftest.c
60631 if $CC -c conftest.c; then
60632 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60633 grep "Warning: gc-sections option ignored" > /dev/null; then
60634 ac_gcsections=no
60637 rm -f conftest.c conftest.o conftest
60639 if test "$ac_gcsections" = "yes"; then
60640 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60643 $as_echo "$ac_gcsections" >&6; }
60645 if test "$ac_test_CFLAGS" = set; then
60646 CFLAGS="$ac_save_CFLAGS"
60647 else
60648 # this is the suspicious part
60649 CFLAGS=''
60653 # Set -z,relro.
60654 # Note this is only for shared objects.
60655 ac_ld_relro=no
60656 if test x"$with_gnu_ld" = x"yes"; then
60657 # cygwin and mingw uses PE, which has no ELF relro support,
60658 # multi target ld may confuse configure machinery
60659 case "$host" in
60660 *-*-cygwin*)
60662 *-*-mingw*)
60665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60666 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60667 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60668 if test -n "$cxx_z_relo"; then
60669 OPT_LDFLAGS="-Wl,-z,relro"
60670 ac_ld_relro=yes
60672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60673 $as_echo "$ac_ld_relro" >&6; }
60674 esac
60677 # Set linker optimization flags.
60678 if test x"$with_gnu_ld" = x"yes"; then
60679 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60685 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
60687 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
60689 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
60691 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
60693 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
60695 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
60697 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
60699 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
60701 if test x"long_double_math_on_this_cpu" = x"yes"; then
60702 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
60704 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
60706 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
60709 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60710 do :
60711 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60712 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60713 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60714 cat >>confdefs.h <<_ACEOF
60715 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60716 _ACEOF
60719 done
60721 for ac_func in timespec_get
60722 do :
60723 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
60724 if test "x$ac_cv_func_timespec_get" = xyes; then :
60725 cat >>confdefs.h <<_ACEOF
60726 #define HAVE_TIMESPEC_GET 1
60727 _ACEOF
60730 done
60732 for ac_func in sockatmark
60733 do :
60734 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
60735 if test "x$ac_cv_func_sockatmark" = xyes; then :
60736 cat >>confdefs.h <<_ACEOF
60737 #define HAVE_SOCKATMARK 1
60738 _ACEOF
60741 done
60744 *-qnx6.1* | *-qnx6.2*)
60745 SECTION_FLAGS='-ffunction-sections -fdata-sections'
60748 # If we're not using GNU ld, then there's no point in even trying these
60749 # tests. Check for that first. We should have already tested for gld
60750 # by now (in libtool), but require it now just to be safe...
60751 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60752 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60756 # The name set by libtool depends on the version of libtool. Shame on us
60757 # for depending on an impl detail, but c'est la vie. Older versions used
60758 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60759 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60760 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60761 # set (hence we're using an older libtool), then set it.
60762 if test x${with_gnu_ld+set} != xset; then
60763 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60764 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60765 with_gnu_ld=no
60766 else
60767 with_gnu_ld=$ac_cv_prog_gnu_ld
60771 # Start by getting the version number. I think the libtool test already
60772 # does some of this, but throws away the result.
60773 glibcxx_ld_is_gold=no
60774 glibcxx_ld_is_mold=no
60775 if test x"$with_gnu_ld" = x"yes"; then
60776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60777 $as_echo_n "checking for ld version... " >&6; }
60779 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60780 glibcxx_ld_is_gold=yes
60781 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
60782 glibcxx_ld_is_mold=yes
60784 ldver=`$LD --version 2>/dev/null |
60785 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60787 glibcxx_gnu_ld_version=`echo $ldver | \
60788 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60790 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60793 # Set --gc-sections.
60794 glibcxx_have_gc_sections=no
60795 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
60796 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60797 glibcxx_have_gc_sections=yes
60799 else
60800 glibcxx_gcsections_min_ld=21602
60801 if test x"$with_gnu_ld" = x"yes" &&
60802 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60803 glibcxx_have_gc_sections=yes
60806 if test "$glibcxx_have_gc_sections" = "yes"; then
60807 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60808 # NB: This flag only works reliably after 2.16.1. Configure tests
60809 # for this are difficult, so hard wire a value that should work.
60811 ac_test_CFLAGS="${CFLAGS+set}"
60812 ac_save_CFLAGS="$CFLAGS"
60813 CFLAGS='-Wl,--gc-sections'
60815 # Check for -Wl,--gc-sections
60816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60817 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60818 if test x$gcc_no_link = xyes; then
60819 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60822 /* end confdefs.h. */
60823 int one(void) { return 1; }
60824 int two(void) { return 2; }
60827 main ()
60829 two();
60831 return 0;
60833 _ACEOF
60834 if ac_fn_c_try_link "$LINENO"; then :
60835 ac_gcsections=yes
60836 else
60837 ac_gcsections=no
60839 rm -f core conftest.err conftest.$ac_objext \
60840 conftest$ac_exeext conftest.$ac_ext
60841 if test "$ac_gcsections" = "yes"; then
60842 rm -f conftest.c
60843 touch conftest.c
60844 if $CC -c conftest.c; then
60845 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60846 grep "Warning: gc-sections option ignored" > /dev/null; then
60847 ac_gcsections=no
60850 rm -f conftest.c conftest.o conftest
60852 if test "$ac_gcsections" = "yes"; then
60853 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60856 $as_echo "$ac_gcsections" >&6; }
60858 if test "$ac_test_CFLAGS" = set; then
60859 CFLAGS="$ac_save_CFLAGS"
60860 else
60861 # this is the suspicious part
60862 CFLAGS=''
60866 # Set -z,relro.
60867 # Note this is only for shared objects.
60868 ac_ld_relro=no
60869 if test x"$with_gnu_ld" = x"yes"; then
60870 # cygwin and mingw uses PE, which has no ELF relro support,
60871 # multi target ld may confuse configure machinery
60872 case "$host" in
60873 *-*-cygwin*)
60875 *-*-mingw*)
60878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60879 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60880 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60881 if test -n "$cxx_z_relo"; then
60882 OPT_LDFLAGS="-Wl,-z,relro"
60883 ac_ld_relro=yes
60885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60886 $as_echo "$ac_ld_relro" >&6; }
60887 esac
60890 # Set linker optimization flags.
60891 if test x"$with_gnu_ld" = x"yes"; then
60892 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60898 $as_echo "#define HAVE_COSF 1" >>confdefs.h
60900 $as_echo "#define HAVE_COSL 1" >>confdefs.h
60902 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
60904 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
60906 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
60908 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
60910 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
60912 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
60914 $as_echo "#define HAVE_SINF 1" >>confdefs.h
60916 $as_echo "#define HAVE_SINL 1" >>confdefs.h
60918 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
60920 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
60923 *-rtems*)
60925 # All these tests are for C++; save the language and the compiler flags.
60926 # The CXXFLAGS thing is suspicious, but based on similar bits previously
60927 # found in GLIBCXX_CONFIGURE.
60929 ac_ext=cpp
60930 ac_cpp='$CXXCPP $CPPFLAGS'
60931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60935 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60936 ac_save_CXXFLAGS="$CXXFLAGS"
60938 # Check for -ffunction-sections -fdata-sections
60939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
60940 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
60941 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
60942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60943 /* end confdefs.h. */
60944 int foo; void bar() { };
60946 main ()
60950 return 0;
60952 _ACEOF
60953 if ac_fn_cxx_try_compile "$LINENO"; then :
60954 ac_fdsections=yes
60955 else
60956 ac_fdsections=no
60958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60959 if test "$ac_test_CXXFLAGS" = set; then
60960 CXXFLAGS="$ac_save_CXXFLAGS"
60961 else
60962 # this is the suspicious part
60963 CXXFLAGS=''
60965 if test x"$ac_fdsections" = x"yes"; then
60966 SECTION_FLAGS='-ffunction-sections -fdata-sections'
60968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
60969 $as_echo "$ac_fdsections" >&6; }
60971 ac_ext=c
60972 ac_cpp='$CPP $CPPFLAGS'
60973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60980 # If we're not using GNU ld, then there's no point in even trying these
60981 # tests. Check for that first. We should have already tested for gld
60982 # by now (in libtool), but require it now just to be safe...
60983 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60984 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60988 # The name set by libtool depends on the version of libtool. Shame on us
60989 # for depending on an impl detail, but c'est la vie. Older versions used
60990 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60991 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60992 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60993 # set (hence we're using an older libtool), then set it.
60994 if test x${with_gnu_ld+set} != xset; then
60995 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60996 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60997 with_gnu_ld=no
60998 else
60999 with_gnu_ld=$ac_cv_prog_gnu_ld
61003 # Start by getting the version number. I think the libtool test already
61004 # does some of this, but throws away the result.
61005 glibcxx_ld_is_gold=no
61006 glibcxx_ld_is_mold=no
61007 if test x"$with_gnu_ld" = x"yes"; then
61008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
61009 $as_echo_n "checking for ld version... " >&6; }
61011 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
61012 glibcxx_ld_is_gold=yes
61013 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
61014 glibcxx_ld_is_mold=yes
61016 ldver=`$LD --version 2>/dev/null |
61017 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
61019 glibcxx_gnu_ld_version=`echo $ldver | \
61020 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
61021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
61022 $as_echo "$glibcxx_gnu_ld_version" >&6; }
61025 # Set --gc-sections.
61026 glibcxx_have_gc_sections=no
61027 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
61028 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
61029 glibcxx_have_gc_sections=yes
61031 else
61032 glibcxx_gcsections_min_ld=21602
61033 if test x"$with_gnu_ld" = x"yes" &&
61034 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
61035 glibcxx_have_gc_sections=yes
61038 if test "$glibcxx_have_gc_sections" = "yes"; then
61039 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
61040 # NB: This flag only works reliably after 2.16.1. Configure tests
61041 # for this are difficult, so hard wire a value that should work.
61043 ac_test_CFLAGS="${CFLAGS+set}"
61044 ac_save_CFLAGS="$CFLAGS"
61045 CFLAGS='-Wl,--gc-sections'
61047 # Check for -Wl,--gc-sections
61048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
61049 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
61050 if test x$gcc_no_link = xyes; then
61051 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
61053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61054 /* end confdefs.h. */
61055 int one(void) { return 1; }
61056 int two(void) { return 2; }
61059 main ()
61061 two();
61063 return 0;
61065 _ACEOF
61066 if ac_fn_c_try_link "$LINENO"; then :
61067 ac_gcsections=yes
61068 else
61069 ac_gcsections=no
61071 rm -f core conftest.err conftest.$ac_objext \
61072 conftest$ac_exeext conftest.$ac_ext
61073 if test "$ac_gcsections" = "yes"; then
61074 rm -f conftest.c
61075 touch conftest.c
61076 if $CC -c conftest.c; then
61077 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
61078 grep "Warning: gc-sections option ignored" > /dev/null; then
61079 ac_gcsections=no
61082 rm -f conftest.c conftest.o conftest
61084 if test "$ac_gcsections" = "yes"; then
61085 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
61087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
61088 $as_echo "$ac_gcsections" >&6; }
61090 if test "$ac_test_CFLAGS" = set; then
61091 CFLAGS="$ac_save_CFLAGS"
61092 else
61093 # this is the suspicious part
61094 CFLAGS=''
61098 # Set -z,relro.
61099 # Note this is only for shared objects.
61100 ac_ld_relro=no
61101 if test x"$with_gnu_ld" = x"yes"; then
61102 # cygwin and mingw uses PE, which has no ELF relro support,
61103 # multi target ld may confuse configure machinery
61104 case "$host" in
61105 *-*-cygwin*)
61107 *-*-mingw*)
61110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
61111 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
61112 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
61113 if test -n "$cxx_z_relo"; then
61114 OPT_LDFLAGS="-Wl,-z,relro"
61115 ac_ld_relro=yes
61117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
61118 $as_echo "$ac_ld_relro" >&6; }
61119 esac
61122 # Set linker optimization flags.
61123 if test x"$with_gnu_ld" = x"yes"; then
61124 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
61131 ac_test_CXXFLAGS="${CXXFLAGS+set}"
61132 ac_save_CXXFLAGS="$CXXFLAGS"
61133 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
61135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
61136 $as_echo_n "checking for sin in -lm... " >&6; }
61137 if ${ac_cv_lib_m_sin+:} false; then :
61138 $as_echo_n "(cached) " >&6
61139 else
61140 ac_check_lib_save_LIBS=$LIBS
61141 LIBS="-lm $LIBS"
61142 if test x$gcc_no_link = xyes; then
61143 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
61145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61146 /* end confdefs.h. */
61148 /* Override any GCC internal prototype to avoid an error.
61149 Use char because int might match the return type of a GCC
61150 builtin and then its argument prototype would still apply. */
61151 #ifdef __cplusplus
61152 extern "C"
61153 #endif
61154 char sin ();
61156 main ()
61158 return sin ();
61160 return 0;
61162 _ACEOF
61163 if ac_fn_c_try_link "$LINENO"; then :
61164 ac_cv_lib_m_sin=yes
61165 else
61166 ac_cv_lib_m_sin=no
61168 rm -f core conftest.err conftest.$ac_objext \
61169 conftest$ac_exeext conftest.$ac_ext
61170 LIBS=$ac_check_lib_save_LIBS
61172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
61173 $as_echo "$ac_cv_lib_m_sin" >&6; }
61174 if test "x$ac_cv_lib_m_sin" = xyes; then :
61175 libm="-lm"
61178 ac_save_LIBS="$LIBS"
61179 LIBS="$LIBS $libm"
61183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
61184 $as_echo_n "checking for isinf declaration... " >&6; }
61185 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
61186 if ${glibcxx_cv_func_isinf_use+:} false; then :
61187 $as_echo_n "(cached) " >&6
61188 else
61191 ac_ext=cpp
61192 ac_cpp='$CXXCPP $CPPFLAGS'
61193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61198 /* end confdefs.h. */
61199 #include <math.h>
61200 #ifdef HAVE_IEEEFP_H
61201 #include <ieeefp.h>
61202 #endif
61205 main ()
61207 isinf(0);
61209 return 0;
61211 _ACEOF
61212 if ac_fn_cxx_try_compile "$LINENO"; then :
61213 glibcxx_cv_func_isinf_use=yes
61214 else
61215 glibcxx_cv_func_isinf_use=no
61217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61218 ac_ext=c
61219 ac_cpp='$CPP $CPPFLAGS'
61220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
61229 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
61231 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
61232 for ac_func in isinf
61233 do :
61234 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
61235 if test "x$ac_cv_func_isinf" = xyes; then :
61236 cat >>confdefs.h <<_ACEOF
61237 #define HAVE_ISINF 1
61238 _ACEOF
61241 done
61243 else
61245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
61246 $as_echo_n "checking for _isinf declaration... " >&6; }
61247 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
61248 if ${glibcxx_cv_func__isinf_use+:} false; then :
61249 $as_echo_n "(cached) " >&6
61250 else
61253 ac_ext=cpp
61254 ac_cpp='$CXXCPP $CPPFLAGS'
61255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61260 /* end confdefs.h. */
61261 #include <math.h>
61262 #ifdef HAVE_IEEEFP_H
61263 #include <ieeefp.h>
61264 #endif
61267 main ()
61269 _isinf(0);
61271 return 0;
61273 _ACEOF
61274 if ac_fn_cxx_try_compile "$LINENO"; then :
61275 glibcxx_cv_func__isinf_use=yes
61276 else
61277 glibcxx_cv_func__isinf_use=no
61279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61280 ac_ext=c
61281 ac_cpp='$CPP $CPPFLAGS'
61282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
61291 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
61293 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
61294 for ac_func in _isinf
61295 do :
61296 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
61297 if test "x$ac_cv_func__isinf" = xyes; then :
61298 cat >>confdefs.h <<_ACEOF
61299 #define HAVE__ISINF 1
61300 _ACEOF
61303 done
61312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
61313 $as_echo_n "checking for isnan declaration... " >&6; }
61314 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
61315 if ${glibcxx_cv_func_isnan_use+:} false; then :
61316 $as_echo_n "(cached) " >&6
61317 else
61320 ac_ext=cpp
61321 ac_cpp='$CXXCPP $CPPFLAGS'
61322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61327 /* end confdefs.h. */
61328 #include <math.h>
61329 #ifdef HAVE_IEEEFP_H
61330 #include <ieeefp.h>
61331 #endif
61334 main ()
61336 isnan(0);
61338 return 0;
61340 _ACEOF
61341 if ac_fn_cxx_try_compile "$LINENO"; then :
61342 glibcxx_cv_func_isnan_use=yes
61343 else
61344 glibcxx_cv_func_isnan_use=no
61346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61347 ac_ext=c
61348 ac_cpp='$CPP $CPPFLAGS'
61349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
61358 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
61360 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
61361 for ac_func in isnan
61362 do :
61363 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
61364 if test "x$ac_cv_func_isnan" = xyes; then :
61365 cat >>confdefs.h <<_ACEOF
61366 #define HAVE_ISNAN 1
61367 _ACEOF
61370 done
61372 else
61374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
61375 $as_echo_n "checking for _isnan declaration... " >&6; }
61376 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
61377 if ${glibcxx_cv_func__isnan_use+:} false; then :
61378 $as_echo_n "(cached) " >&6
61379 else
61382 ac_ext=cpp
61383 ac_cpp='$CXXCPP $CPPFLAGS'
61384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61389 /* end confdefs.h. */
61390 #include <math.h>
61391 #ifdef HAVE_IEEEFP_H
61392 #include <ieeefp.h>
61393 #endif
61396 main ()
61398 _isnan(0);
61400 return 0;
61402 _ACEOF
61403 if ac_fn_cxx_try_compile "$LINENO"; then :
61404 glibcxx_cv_func__isnan_use=yes
61405 else
61406 glibcxx_cv_func__isnan_use=no
61408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61409 ac_ext=c
61410 ac_cpp='$CPP $CPPFLAGS'
61411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
61420 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
61422 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
61423 for ac_func in _isnan
61424 do :
61425 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
61426 if test "x$ac_cv_func__isnan" = xyes; then :
61427 cat >>confdefs.h <<_ACEOF
61428 #define HAVE__ISNAN 1
61429 _ACEOF
61432 done
61441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
61442 $as_echo_n "checking for finite declaration... " >&6; }
61443 if test x${glibcxx_cv_func_finite_use+set} != xset; then
61444 if ${glibcxx_cv_func_finite_use+:} false; then :
61445 $as_echo_n "(cached) " >&6
61446 else
61449 ac_ext=cpp
61450 ac_cpp='$CXXCPP $CPPFLAGS'
61451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61456 /* end confdefs.h. */
61457 #include <math.h>
61458 #ifdef HAVE_IEEEFP_H
61459 #include <ieeefp.h>
61460 #endif
61463 main ()
61465 finite(0);
61467 return 0;
61469 _ACEOF
61470 if ac_fn_cxx_try_compile "$LINENO"; then :
61471 glibcxx_cv_func_finite_use=yes
61472 else
61473 glibcxx_cv_func_finite_use=no
61475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61476 ac_ext=c
61477 ac_cpp='$CPP $CPPFLAGS'
61478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
61487 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
61489 if test x$glibcxx_cv_func_finite_use = x"yes"; then
61490 for ac_func in finite
61491 do :
61492 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
61493 if test "x$ac_cv_func_finite" = xyes; then :
61494 cat >>confdefs.h <<_ACEOF
61495 #define HAVE_FINITE 1
61496 _ACEOF
61499 done
61501 else
61503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
61504 $as_echo_n "checking for _finite declaration... " >&6; }
61505 if test x${glibcxx_cv_func__finite_use+set} != xset; then
61506 if ${glibcxx_cv_func__finite_use+:} false; then :
61507 $as_echo_n "(cached) " >&6
61508 else
61511 ac_ext=cpp
61512 ac_cpp='$CXXCPP $CPPFLAGS'
61513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61518 /* end confdefs.h. */
61519 #include <math.h>
61520 #ifdef HAVE_IEEEFP_H
61521 #include <ieeefp.h>
61522 #endif
61525 main ()
61527 _finite(0);
61529 return 0;
61531 _ACEOF
61532 if ac_fn_cxx_try_compile "$LINENO"; then :
61533 glibcxx_cv_func__finite_use=yes
61534 else
61535 glibcxx_cv_func__finite_use=no
61537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61538 ac_ext=c
61539 ac_cpp='$CPP $CPPFLAGS'
61540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
61549 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
61551 if test x$glibcxx_cv_func__finite_use = x"yes"; then
61552 for ac_func in _finite
61553 do :
61554 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
61555 if test "x$ac_cv_func__finite" = xyes; then :
61556 cat >>confdefs.h <<_ACEOF
61557 #define HAVE__FINITE 1
61558 _ACEOF
61561 done
61570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
61571 $as_echo_n "checking for sincos declaration... " >&6; }
61572 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
61573 if ${glibcxx_cv_func_sincos_use+:} false; then :
61574 $as_echo_n "(cached) " >&6
61575 else
61578 ac_ext=cpp
61579 ac_cpp='$CXXCPP $CPPFLAGS'
61580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61585 /* end confdefs.h. */
61586 #include <math.h>
61588 main ()
61590 sincos(0, 0, 0);
61592 return 0;
61594 _ACEOF
61595 if ac_fn_cxx_try_compile "$LINENO"; then :
61596 glibcxx_cv_func_sincos_use=yes
61597 else
61598 glibcxx_cv_func_sincos_use=no
61600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61601 ac_ext=c
61602 ac_cpp='$CPP $CPPFLAGS'
61603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
61612 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
61614 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
61615 for ac_func in sincos
61616 do :
61617 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
61618 if test "x$ac_cv_func_sincos" = xyes; then :
61619 cat >>confdefs.h <<_ACEOF
61620 #define HAVE_SINCOS 1
61621 _ACEOF
61624 done
61626 else
61628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
61629 $as_echo_n "checking for _sincos declaration... " >&6; }
61630 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
61631 if ${glibcxx_cv_func__sincos_use+:} false; then :
61632 $as_echo_n "(cached) " >&6
61633 else
61636 ac_ext=cpp
61637 ac_cpp='$CXXCPP $CPPFLAGS'
61638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61643 /* end confdefs.h. */
61644 #include <math.h>
61646 main ()
61648 _sincos(0, 0, 0);
61650 return 0;
61652 _ACEOF
61653 if ac_fn_cxx_try_compile "$LINENO"; then :
61654 glibcxx_cv_func__sincos_use=yes
61655 else
61656 glibcxx_cv_func__sincos_use=no
61658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61659 ac_ext=c
61660 ac_cpp='$CPP $CPPFLAGS'
61661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
61670 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
61672 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
61673 for ac_func in _sincos
61674 do :
61675 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
61676 if test "x$ac_cv_func__sincos" = xyes; then :
61677 cat >>confdefs.h <<_ACEOF
61678 #define HAVE__SINCOS 1
61679 _ACEOF
61682 done
61691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
61692 $as_echo_n "checking for fpclass declaration... " >&6; }
61693 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
61694 if ${glibcxx_cv_func_fpclass_use+:} false; then :
61695 $as_echo_n "(cached) " >&6
61696 else
61699 ac_ext=cpp
61700 ac_cpp='$CXXCPP $CPPFLAGS'
61701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61706 /* end confdefs.h. */
61707 #include <math.h>
61708 #ifdef HAVE_IEEEFP_H
61709 #include <ieeefp.h>
61710 #endif
61713 main ()
61715 fpclass(0);
61717 return 0;
61719 _ACEOF
61720 if ac_fn_cxx_try_compile "$LINENO"; then :
61721 glibcxx_cv_func_fpclass_use=yes
61722 else
61723 glibcxx_cv_func_fpclass_use=no
61725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61726 ac_ext=c
61727 ac_cpp='$CPP $CPPFLAGS'
61728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
61737 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
61739 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
61740 for ac_func in fpclass
61741 do :
61742 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
61743 if test "x$ac_cv_func_fpclass" = xyes; then :
61744 cat >>confdefs.h <<_ACEOF
61745 #define HAVE_FPCLASS 1
61746 _ACEOF
61749 done
61751 else
61753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
61754 $as_echo_n "checking for _fpclass declaration... " >&6; }
61755 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
61756 if ${glibcxx_cv_func__fpclass_use+:} false; then :
61757 $as_echo_n "(cached) " >&6
61758 else
61761 ac_ext=cpp
61762 ac_cpp='$CXXCPP $CPPFLAGS'
61763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61768 /* end confdefs.h. */
61769 #include <math.h>
61770 #ifdef HAVE_IEEEFP_H
61771 #include <ieeefp.h>
61772 #endif
61775 main ()
61777 _fpclass(0);
61779 return 0;
61781 _ACEOF
61782 if ac_fn_cxx_try_compile "$LINENO"; then :
61783 glibcxx_cv_func__fpclass_use=yes
61784 else
61785 glibcxx_cv_func__fpclass_use=no
61787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61788 ac_ext=c
61789 ac_cpp='$CPP $CPPFLAGS'
61790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
61799 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
61801 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
61802 for ac_func in _fpclass
61803 do :
61804 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
61805 if test "x$ac_cv_func__fpclass" = xyes; then :
61806 cat >>confdefs.h <<_ACEOF
61807 #define HAVE__FPCLASS 1
61808 _ACEOF
61811 done
61820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
61821 $as_echo_n "checking for qfpclass declaration... " >&6; }
61822 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
61823 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
61824 $as_echo_n "(cached) " >&6
61825 else
61828 ac_ext=cpp
61829 ac_cpp='$CXXCPP $CPPFLAGS'
61830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61835 /* end confdefs.h. */
61836 #include <math.h>
61837 #ifdef HAVE_IEEEFP_H
61838 #include <ieeefp.h>
61839 #endif
61842 main ()
61844 qfpclass(0);
61846 return 0;
61848 _ACEOF
61849 if ac_fn_cxx_try_compile "$LINENO"; then :
61850 glibcxx_cv_func_qfpclass_use=yes
61851 else
61852 glibcxx_cv_func_qfpclass_use=no
61854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61855 ac_ext=c
61856 ac_cpp='$CPP $CPPFLAGS'
61857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
61866 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
61868 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
61869 for ac_func in qfpclass
61870 do :
61871 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
61872 if test "x$ac_cv_func_qfpclass" = xyes; then :
61873 cat >>confdefs.h <<_ACEOF
61874 #define HAVE_QFPCLASS 1
61875 _ACEOF
61878 done
61880 else
61882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
61883 $as_echo_n "checking for _qfpclass declaration... " >&6; }
61884 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
61885 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
61886 $as_echo_n "(cached) " >&6
61887 else
61890 ac_ext=cpp
61891 ac_cpp='$CXXCPP $CPPFLAGS'
61892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61897 /* end confdefs.h. */
61898 #include <math.h>
61899 #ifdef HAVE_IEEEFP_H
61900 #include <ieeefp.h>
61901 #endif
61904 main ()
61906 _qfpclass(0);
61908 return 0;
61910 _ACEOF
61911 if ac_fn_cxx_try_compile "$LINENO"; then :
61912 glibcxx_cv_func__qfpclass_use=yes
61913 else
61914 glibcxx_cv_func__qfpclass_use=no
61916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61917 ac_ext=c
61918 ac_cpp='$CPP $CPPFLAGS'
61919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
61928 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
61930 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
61931 for ac_func in _qfpclass
61932 do :
61933 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
61934 if test "x$ac_cv_func__qfpclass" = xyes; then :
61935 cat >>confdefs.h <<_ACEOF
61936 #define HAVE__QFPCLASS 1
61937 _ACEOF
61940 done
61949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
61950 $as_echo_n "checking for hypot declaration... " >&6; }
61951 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61952 if ${glibcxx_cv_func_hypot_use+:} false; then :
61953 $as_echo_n "(cached) " >&6
61954 else
61957 ac_ext=cpp
61958 ac_cpp='$CXXCPP $CPPFLAGS'
61959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61964 /* end confdefs.h. */
61965 #include <math.h>
61967 main ()
61969 hypot(0, 0);
61971 return 0;
61973 _ACEOF
61974 if ac_fn_cxx_try_compile "$LINENO"; then :
61975 glibcxx_cv_func_hypot_use=yes
61976 else
61977 glibcxx_cv_func_hypot_use=no
61979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61980 ac_ext=c
61981 ac_cpp='$CPP $CPPFLAGS'
61982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
61991 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
61993 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
61994 for ac_func in hypot
61995 do :
61996 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
61997 if test "x$ac_cv_func_hypot" = xyes; then :
61998 cat >>confdefs.h <<_ACEOF
61999 #define HAVE_HYPOT 1
62000 _ACEOF
62003 done
62005 else
62007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
62008 $as_echo_n "checking for _hypot declaration... " >&6; }
62009 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
62010 if ${glibcxx_cv_func__hypot_use+:} false; then :
62011 $as_echo_n "(cached) " >&6
62012 else
62015 ac_ext=cpp
62016 ac_cpp='$CXXCPP $CPPFLAGS'
62017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62022 /* end confdefs.h. */
62023 #include <math.h>
62025 main ()
62027 _hypot(0, 0);
62029 return 0;
62031 _ACEOF
62032 if ac_fn_cxx_try_compile "$LINENO"; then :
62033 glibcxx_cv_func__hypot_use=yes
62034 else
62035 glibcxx_cv_func__hypot_use=no
62037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62038 ac_ext=c
62039 ac_cpp='$CPP $CPPFLAGS'
62040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
62049 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
62051 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
62052 for ac_func in _hypot
62053 do :
62054 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
62055 if test "x$ac_cv_func__hypot" = xyes; then :
62056 cat >>confdefs.h <<_ACEOF
62057 #define HAVE__HYPOT 1
62058 _ACEOF
62061 done
62070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
62071 $as_echo_n "checking for float trig functions... " >&6; }
62072 if ${glibcxx_cv_func_float_trig_use+:} false; then :
62073 $as_echo_n "(cached) " >&6
62074 else
62077 ac_ext=cpp
62078 ac_cpp='$CXXCPP $CPPFLAGS'
62079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62084 /* end confdefs.h. */
62085 #include <math.h>
62087 main ()
62089 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
62091 return 0;
62093 _ACEOF
62094 if ac_fn_cxx_try_compile "$LINENO"; then :
62095 glibcxx_cv_func_float_trig_use=yes
62096 else
62097 glibcxx_cv_func_float_trig_use=no
62099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62100 ac_ext=c
62101 ac_cpp='$CPP $CPPFLAGS'
62102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
62109 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
62110 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
62111 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
62112 do :
62113 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62114 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62115 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62116 cat >>confdefs.h <<_ACEOF
62117 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62118 _ACEOF
62121 done
62123 else
62124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
62125 $as_echo_n "checking for _float trig functions... " >&6; }
62126 if ${glibcxx_cv_func__float_trig_use+:} false; then :
62127 $as_echo_n "(cached) " >&6
62128 else
62131 ac_ext=cpp
62132 ac_cpp='$CXXCPP $CPPFLAGS'
62133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62138 /* end confdefs.h. */
62139 #include <math.h>
62141 main ()
62143 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
62145 return 0;
62147 _ACEOF
62148 if ac_fn_cxx_try_compile "$LINENO"; then :
62149 glibcxx_cv_func__float_trig_use=yes
62150 else
62151 glibcxx_cv_func__float_trig_use=no
62153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62154 ac_ext=c
62155 ac_cpp='$CPP $CPPFLAGS'
62156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
62163 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
62164 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
62165 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
62166 do :
62167 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62168 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62169 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62170 cat >>confdefs.h <<_ACEOF
62171 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62172 _ACEOF
62175 done
62184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
62185 $as_echo_n "checking for float round functions... " >&6; }
62186 if ${glibcxx_cv_func_float_round_use+:} false; then :
62187 $as_echo_n "(cached) " >&6
62188 else
62191 ac_ext=cpp
62192 ac_cpp='$CXXCPP $CPPFLAGS'
62193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62198 /* end confdefs.h. */
62199 #include <math.h>
62201 main ()
62203 ceilf (0); floorf (0);
62205 return 0;
62207 _ACEOF
62208 if ac_fn_cxx_try_compile "$LINENO"; then :
62209 glibcxx_cv_func_float_round_use=yes
62210 else
62211 glibcxx_cv_func_float_round_use=no
62213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62214 ac_ext=c
62215 ac_cpp='$CPP $CPPFLAGS'
62216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
62223 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
62224 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
62225 for ac_func in ceilf floorf
62226 do :
62227 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62228 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62229 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62230 cat >>confdefs.h <<_ACEOF
62231 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62232 _ACEOF
62235 done
62237 else
62238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
62239 $as_echo_n "checking for _float round functions... " >&6; }
62240 if ${glibcxx_cv_func__float_round_use+:} false; then :
62241 $as_echo_n "(cached) " >&6
62242 else
62245 ac_ext=cpp
62246 ac_cpp='$CXXCPP $CPPFLAGS'
62247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62252 /* end confdefs.h. */
62253 #include <math.h>
62255 main ()
62257 _ceilf (0); _floorf (0);
62259 return 0;
62261 _ACEOF
62262 if ac_fn_cxx_try_compile "$LINENO"; then :
62263 glibcxx_cv_func__float_round_use=yes
62264 else
62265 glibcxx_cv_func__float_round_use=no
62267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62268 ac_ext=c
62269 ac_cpp='$CPP $CPPFLAGS'
62270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
62277 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
62278 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
62279 for ac_func in _ceilf _floorf
62280 do :
62281 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62282 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62283 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62284 cat >>confdefs.h <<_ACEOF
62285 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62286 _ACEOF
62289 done
62299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
62300 $as_echo_n "checking for expf declaration... " >&6; }
62301 if test x${glibcxx_cv_func_expf_use+set} != xset; then
62302 if ${glibcxx_cv_func_expf_use+:} false; then :
62303 $as_echo_n "(cached) " >&6
62304 else
62307 ac_ext=cpp
62308 ac_cpp='$CXXCPP $CPPFLAGS'
62309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62314 /* end confdefs.h. */
62315 #include <math.h>
62316 #ifdef HAVE_IEEEFP_H
62317 #include <ieeefp.h>
62318 #endif
62321 main ()
62323 expf(0);
62325 return 0;
62327 _ACEOF
62328 if ac_fn_cxx_try_compile "$LINENO"; then :
62329 glibcxx_cv_func_expf_use=yes
62330 else
62331 glibcxx_cv_func_expf_use=no
62333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62334 ac_ext=c
62335 ac_cpp='$CPP $CPPFLAGS'
62336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
62345 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
62347 if test x$glibcxx_cv_func_expf_use = x"yes"; then
62348 for ac_func in expf
62349 do :
62350 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
62351 if test "x$ac_cv_func_expf" = xyes; then :
62352 cat >>confdefs.h <<_ACEOF
62353 #define HAVE_EXPF 1
62354 _ACEOF
62357 done
62359 else
62361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
62362 $as_echo_n "checking for _expf declaration... " >&6; }
62363 if test x${glibcxx_cv_func__expf_use+set} != xset; then
62364 if ${glibcxx_cv_func__expf_use+:} false; then :
62365 $as_echo_n "(cached) " >&6
62366 else
62369 ac_ext=cpp
62370 ac_cpp='$CXXCPP $CPPFLAGS'
62371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62376 /* end confdefs.h. */
62377 #include <math.h>
62378 #ifdef HAVE_IEEEFP_H
62379 #include <ieeefp.h>
62380 #endif
62383 main ()
62385 _expf(0);
62387 return 0;
62389 _ACEOF
62390 if ac_fn_cxx_try_compile "$LINENO"; then :
62391 glibcxx_cv_func__expf_use=yes
62392 else
62393 glibcxx_cv_func__expf_use=no
62395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62396 ac_ext=c
62397 ac_cpp='$CPP $CPPFLAGS'
62398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
62407 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
62409 if test x$glibcxx_cv_func__expf_use = x"yes"; then
62410 for ac_func in _expf
62411 do :
62412 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
62413 if test "x$ac_cv_func__expf" = xyes; then :
62414 cat >>confdefs.h <<_ACEOF
62415 #define HAVE__EXPF 1
62416 _ACEOF
62419 done
62428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
62429 $as_echo_n "checking for isnanf declaration... " >&6; }
62430 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
62431 if ${glibcxx_cv_func_isnanf_use+:} false; then :
62432 $as_echo_n "(cached) " >&6
62433 else
62436 ac_ext=cpp
62437 ac_cpp='$CXXCPP $CPPFLAGS'
62438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62443 /* end confdefs.h. */
62444 #include <math.h>
62445 #ifdef HAVE_IEEEFP_H
62446 #include <ieeefp.h>
62447 #endif
62450 main ()
62452 isnanf(0);
62454 return 0;
62456 _ACEOF
62457 if ac_fn_cxx_try_compile "$LINENO"; then :
62458 glibcxx_cv_func_isnanf_use=yes
62459 else
62460 glibcxx_cv_func_isnanf_use=no
62462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62463 ac_ext=c
62464 ac_cpp='$CPP $CPPFLAGS'
62465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
62474 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
62476 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
62477 for ac_func in isnanf
62478 do :
62479 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
62480 if test "x$ac_cv_func_isnanf" = xyes; then :
62481 cat >>confdefs.h <<_ACEOF
62482 #define HAVE_ISNANF 1
62483 _ACEOF
62486 done
62488 else
62490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
62491 $as_echo_n "checking for _isnanf declaration... " >&6; }
62492 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
62493 if ${glibcxx_cv_func__isnanf_use+:} false; then :
62494 $as_echo_n "(cached) " >&6
62495 else
62498 ac_ext=cpp
62499 ac_cpp='$CXXCPP $CPPFLAGS'
62500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62505 /* end confdefs.h. */
62506 #include <math.h>
62507 #ifdef HAVE_IEEEFP_H
62508 #include <ieeefp.h>
62509 #endif
62512 main ()
62514 _isnanf(0);
62516 return 0;
62518 _ACEOF
62519 if ac_fn_cxx_try_compile "$LINENO"; then :
62520 glibcxx_cv_func__isnanf_use=yes
62521 else
62522 glibcxx_cv_func__isnanf_use=no
62524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62525 ac_ext=c
62526 ac_cpp='$CPP $CPPFLAGS'
62527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
62536 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
62538 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
62539 for ac_func in _isnanf
62540 do :
62541 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
62542 if test "x$ac_cv_func__isnanf" = xyes; then :
62543 cat >>confdefs.h <<_ACEOF
62544 #define HAVE__ISNANF 1
62545 _ACEOF
62548 done
62557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
62558 $as_echo_n "checking for isinff declaration... " >&6; }
62559 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
62560 if ${glibcxx_cv_func_isinff_use+:} false; then :
62561 $as_echo_n "(cached) " >&6
62562 else
62565 ac_ext=cpp
62566 ac_cpp='$CXXCPP $CPPFLAGS'
62567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62572 /* end confdefs.h. */
62573 #include <math.h>
62574 #ifdef HAVE_IEEEFP_H
62575 #include <ieeefp.h>
62576 #endif
62579 main ()
62581 isinff(0);
62583 return 0;
62585 _ACEOF
62586 if ac_fn_cxx_try_compile "$LINENO"; then :
62587 glibcxx_cv_func_isinff_use=yes
62588 else
62589 glibcxx_cv_func_isinff_use=no
62591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62592 ac_ext=c
62593 ac_cpp='$CPP $CPPFLAGS'
62594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
62603 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
62605 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
62606 for ac_func in isinff
62607 do :
62608 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
62609 if test "x$ac_cv_func_isinff" = xyes; then :
62610 cat >>confdefs.h <<_ACEOF
62611 #define HAVE_ISINFF 1
62612 _ACEOF
62615 done
62617 else
62619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
62620 $as_echo_n "checking for _isinff declaration... " >&6; }
62621 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
62622 if ${glibcxx_cv_func__isinff_use+:} false; then :
62623 $as_echo_n "(cached) " >&6
62624 else
62627 ac_ext=cpp
62628 ac_cpp='$CXXCPP $CPPFLAGS'
62629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62634 /* end confdefs.h. */
62635 #include <math.h>
62636 #ifdef HAVE_IEEEFP_H
62637 #include <ieeefp.h>
62638 #endif
62641 main ()
62643 _isinff(0);
62645 return 0;
62647 _ACEOF
62648 if ac_fn_cxx_try_compile "$LINENO"; then :
62649 glibcxx_cv_func__isinff_use=yes
62650 else
62651 glibcxx_cv_func__isinff_use=no
62653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62654 ac_ext=c
62655 ac_cpp='$CPP $CPPFLAGS'
62656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
62665 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
62667 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
62668 for ac_func in _isinff
62669 do :
62670 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
62671 if test "x$ac_cv_func__isinff" = xyes; then :
62672 cat >>confdefs.h <<_ACEOF
62673 #define HAVE__ISINFF 1
62674 _ACEOF
62677 done
62686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
62687 $as_echo_n "checking for atan2f declaration... " >&6; }
62688 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
62689 if ${glibcxx_cv_func_atan2f_use+:} false; then :
62690 $as_echo_n "(cached) " >&6
62691 else
62694 ac_ext=cpp
62695 ac_cpp='$CXXCPP $CPPFLAGS'
62696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62701 /* end confdefs.h. */
62702 #include <math.h>
62704 main ()
62706 atan2f(0, 0);
62708 return 0;
62710 _ACEOF
62711 if ac_fn_cxx_try_compile "$LINENO"; then :
62712 glibcxx_cv_func_atan2f_use=yes
62713 else
62714 glibcxx_cv_func_atan2f_use=no
62716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62717 ac_ext=c
62718 ac_cpp='$CPP $CPPFLAGS'
62719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
62728 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
62730 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
62731 for ac_func in atan2f
62732 do :
62733 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
62734 if test "x$ac_cv_func_atan2f" = xyes; then :
62735 cat >>confdefs.h <<_ACEOF
62736 #define HAVE_ATAN2F 1
62737 _ACEOF
62740 done
62742 else
62744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
62745 $as_echo_n "checking for _atan2f declaration... " >&6; }
62746 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
62747 if ${glibcxx_cv_func__atan2f_use+:} false; then :
62748 $as_echo_n "(cached) " >&6
62749 else
62752 ac_ext=cpp
62753 ac_cpp='$CXXCPP $CPPFLAGS'
62754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62759 /* end confdefs.h. */
62760 #include <math.h>
62762 main ()
62764 _atan2f(0, 0);
62766 return 0;
62768 _ACEOF
62769 if ac_fn_cxx_try_compile "$LINENO"; then :
62770 glibcxx_cv_func__atan2f_use=yes
62771 else
62772 glibcxx_cv_func__atan2f_use=no
62774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62775 ac_ext=c
62776 ac_cpp='$CPP $CPPFLAGS'
62777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
62786 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
62788 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
62789 for ac_func in _atan2f
62790 do :
62791 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
62792 if test "x$ac_cv_func__atan2f" = xyes; then :
62793 cat >>confdefs.h <<_ACEOF
62794 #define HAVE__ATAN2F 1
62795 _ACEOF
62798 done
62807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
62808 $as_echo_n "checking for fabsf declaration... " >&6; }
62809 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
62810 if ${glibcxx_cv_func_fabsf_use+:} false; then :
62811 $as_echo_n "(cached) " >&6
62812 else
62815 ac_ext=cpp
62816 ac_cpp='$CXXCPP $CPPFLAGS'
62817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62822 /* end confdefs.h. */
62823 #include <math.h>
62824 #ifdef HAVE_IEEEFP_H
62825 #include <ieeefp.h>
62826 #endif
62829 main ()
62831 fabsf(0);
62833 return 0;
62835 _ACEOF
62836 if ac_fn_cxx_try_compile "$LINENO"; then :
62837 glibcxx_cv_func_fabsf_use=yes
62838 else
62839 glibcxx_cv_func_fabsf_use=no
62841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62842 ac_ext=c
62843 ac_cpp='$CPP $CPPFLAGS'
62844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
62853 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
62855 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
62856 for ac_func in fabsf
62857 do :
62858 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
62859 if test "x$ac_cv_func_fabsf" = xyes; then :
62860 cat >>confdefs.h <<_ACEOF
62861 #define HAVE_FABSF 1
62862 _ACEOF
62865 done
62867 else
62869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
62870 $as_echo_n "checking for _fabsf declaration... " >&6; }
62871 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
62872 if ${glibcxx_cv_func__fabsf_use+:} false; then :
62873 $as_echo_n "(cached) " >&6
62874 else
62877 ac_ext=cpp
62878 ac_cpp='$CXXCPP $CPPFLAGS'
62879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62884 /* end confdefs.h. */
62885 #include <math.h>
62886 #ifdef HAVE_IEEEFP_H
62887 #include <ieeefp.h>
62888 #endif
62891 main ()
62893 _fabsf(0);
62895 return 0;
62897 _ACEOF
62898 if ac_fn_cxx_try_compile "$LINENO"; then :
62899 glibcxx_cv_func__fabsf_use=yes
62900 else
62901 glibcxx_cv_func__fabsf_use=no
62903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62904 ac_ext=c
62905 ac_cpp='$CPP $CPPFLAGS'
62906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
62915 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
62917 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
62918 for ac_func in _fabsf
62919 do :
62920 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
62921 if test "x$ac_cv_func__fabsf" = xyes; then :
62922 cat >>confdefs.h <<_ACEOF
62923 #define HAVE__FABSF 1
62924 _ACEOF
62927 done
62936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
62937 $as_echo_n "checking for fmodf declaration... " >&6; }
62938 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
62939 if ${glibcxx_cv_func_fmodf_use+:} false; then :
62940 $as_echo_n "(cached) " >&6
62941 else
62944 ac_ext=cpp
62945 ac_cpp='$CXXCPP $CPPFLAGS'
62946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62951 /* end confdefs.h. */
62952 #include <math.h>
62954 main ()
62956 fmodf(0, 0);
62958 return 0;
62960 _ACEOF
62961 if ac_fn_cxx_try_compile "$LINENO"; then :
62962 glibcxx_cv_func_fmodf_use=yes
62963 else
62964 glibcxx_cv_func_fmodf_use=no
62966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62967 ac_ext=c
62968 ac_cpp='$CPP $CPPFLAGS'
62969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
62978 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
62980 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
62981 for ac_func in fmodf
62982 do :
62983 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
62984 if test "x$ac_cv_func_fmodf" = xyes; then :
62985 cat >>confdefs.h <<_ACEOF
62986 #define HAVE_FMODF 1
62987 _ACEOF
62990 done
62992 else
62994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
62995 $as_echo_n "checking for _fmodf declaration... " >&6; }
62996 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
62997 if ${glibcxx_cv_func__fmodf_use+:} false; then :
62998 $as_echo_n "(cached) " >&6
62999 else
63002 ac_ext=cpp
63003 ac_cpp='$CXXCPP $CPPFLAGS'
63004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63009 /* end confdefs.h. */
63010 #include <math.h>
63012 main ()
63014 _fmodf(0, 0);
63016 return 0;
63018 _ACEOF
63019 if ac_fn_cxx_try_compile "$LINENO"; then :
63020 glibcxx_cv_func__fmodf_use=yes
63021 else
63022 glibcxx_cv_func__fmodf_use=no
63024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63025 ac_ext=c
63026 ac_cpp='$CPP $CPPFLAGS'
63027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
63036 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
63038 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
63039 for ac_func in _fmodf
63040 do :
63041 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
63042 if test "x$ac_cv_func__fmodf" = xyes; then :
63043 cat >>confdefs.h <<_ACEOF
63044 #define HAVE__FMODF 1
63045 _ACEOF
63048 done
63057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
63058 $as_echo_n "checking for frexpf declaration... " >&6; }
63059 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
63060 if ${glibcxx_cv_func_frexpf_use+:} false; then :
63061 $as_echo_n "(cached) " >&6
63062 else
63065 ac_ext=cpp
63066 ac_cpp='$CXXCPP $CPPFLAGS'
63067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63072 /* end confdefs.h. */
63073 #include <math.h>
63075 main ()
63077 frexpf(0, 0);
63079 return 0;
63081 _ACEOF
63082 if ac_fn_cxx_try_compile "$LINENO"; then :
63083 glibcxx_cv_func_frexpf_use=yes
63084 else
63085 glibcxx_cv_func_frexpf_use=no
63087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63088 ac_ext=c
63089 ac_cpp='$CPP $CPPFLAGS'
63090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
63099 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
63101 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
63102 for ac_func in frexpf
63103 do :
63104 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
63105 if test "x$ac_cv_func_frexpf" = xyes; then :
63106 cat >>confdefs.h <<_ACEOF
63107 #define HAVE_FREXPF 1
63108 _ACEOF
63111 done
63113 else
63115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
63116 $as_echo_n "checking for _frexpf declaration... " >&6; }
63117 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
63118 if ${glibcxx_cv_func__frexpf_use+:} false; then :
63119 $as_echo_n "(cached) " >&6
63120 else
63123 ac_ext=cpp
63124 ac_cpp='$CXXCPP $CPPFLAGS'
63125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63130 /* end confdefs.h. */
63131 #include <math.h>
63133 main ()
63135 _frexpf(0, 0);
63137 return 0;
63139 _ACEOF
63140 if ac_fn_cxx_try_compile "$LINENO"; then :
63141 glibcxx_cv_func__frexpf_use=yes
63142 else
63143 glibcxx_cv_func__frexpf_use=no
63145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63146 ac_ext=c
63147 ac_cpp='$CPP $CPPFLAGS'
63148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
63157 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
63159 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
63160 for ac_func in _frexpf
63161 do :
63162 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
63163 if test "x$ac_cv_func__frexpf" = xyes; then :
63164 cat >>confdefs.h <<_ACEOF
63165 #define HAVE__FREXPF 1
63166 _ACEOF
63169 done
63178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
63179 $as_echo_n "checking for hypotf declaration... " >&6; }
63180 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
63181 if ${glibcxx_cv_func_hypotf_use+:} false; then :
63182 $as_echo_n "(cached) " >&6
63183 else
63186 ac_ext=cpp
63187 ac_cpp='$CXXCPP $CPPFLAGS'
63188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63193 /* end confdefs.h. */
63194 #include <math.h>
63196 main ()
63198 hypotf(0, 0);
63200 return 0;
63202 _ACEOF
63203 if ac_fn_cxx_try_compile "$LINENO"; then :
63204 glibcxx_cv_func_hypotf_use=yes
63205 else
63206 glibcxx_cv_func_hypotf_use=no
63208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63209 ac_ext=c
63210 ac_cpp='$CPP $CPPFLAGS'
63211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
63220 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
63222 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
63223 for ac_func in hypotf
63224 do :
63225 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
63226 if test "x$ac_cv_func_hypotf" = xyes; then :
63227 cat >>confdefs.h <<_ACEOF
63228 #define HAVE_HYPOTF 1
63229 _ACEOF
63232 done
63234 else
63236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
63237 $as_echo_n "checking for _hypotf declaration... " >&6; }
63238 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
63239 if ${glibcxx_cv_func__hypotf_use+:} false; then :
63240 $as_echo_n "(cached) " >&6
63241 else
63244 ac_ext=cpp
63245 ac_cpp='$CXXCPP $CPPFLAGS'
63246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63251 /* end confdefs.h. */
63252 #include <math.h>
63254 main ()
63256 _hypotf(0, 0);
63258 return 0;
63260 _ACEOF
63261 if ac_fn_cxx_try_compile "$LINENO"; then :
63262 glibcxx_cv_func__hypotf_use=yes
63263 else
63264 glibcxx_cv_func__hypotf_use=no
63266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63267 ac_ext=c
63268 ac_cpp='$CPP $CPPFLAGS'
63269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
63278 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
63280 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
63281 for ac_func in _hypotf
63282 do :
63283 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
63284 if test "x$ac_cv_func__hypotf" = xyes; then :
63285 cat >>confdefs.h <<_ACEOF
63286 #define HAVE__HYPOTF 1
63287 _ACEOF
63290 done
63299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
63300 $as_echo_n "checking for ldexpf declaration... " >&6; }
63301 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
63302 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
63303 $as_echo_n "(cached) " >&6
63304 else
63307 ac_ext=cpp
63308 ac_cpp='$CXXCPP $CPPFLAGS'
63309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63314 /* end confdefs.h. */
63315 #include <math.h>
63317 main ()
63319 ldexpf(0, 0);
63321 return 0;
63323 _ACEOF
63324 if ac_fn_cxx_try_compile "$LINENO"; then :
63325 glibcxx_cv_func_ldexpf_use=yes
63326 else
63327 glibcxx_cv_func_ldexpf_use=no
63329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63330 ac_ext=c
63331 ac_cpp='$CPP $CPPFLAGS'
63332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
63341 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
63343 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
63344 for ac_func in ldexpf
63345 do :
63346 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
63347 if test "x$ac_cv_func_ldexpf" = xyes; then :
63348 cat >>confdefs.h <<_ACEOF
63349 #define HAVE_LDEXPF 1
63350 _ACEOF
63353 done
63355 else
63357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
63358 $as_echo_n "checking for _ldexpf declaration... " >&6; }
63359 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
63360 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
63361 $as_echo_n "(cached) " >&6
63362 else
63365 ac_ext=cpp
63366 ac_cpp='$CXXCPP $CPPFLAGS'
63367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63372 /* end confdefs.h. */
63373 #include <math.h>
63375 main ()
63377 _ldexpf(0, 0);
63379 return 0;
63381 _ACEOF
63382 if ac_fn_cxx_try_compile "$LINENO"; then :
63383 glibcxx_cv_func__ldexpf_use=yes
63384 else
63385 glibcxx_cv_func__ldexpf_use=no
63387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63388 ac_ext=c
63389 ac_cpp='$CPP $CPPFLAGS'
63390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
63399 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
63401 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
63402 for ac_func in _ldexpf
63403 do :
63404 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
63405 if test "x$ac_cv_func__ldexpf" = xyes; then :
63406 cat >>confdefs.h <<_ACEOF
63407 #define HAVE__LDEXPF 1
63408 _ACEOF
63411 done
63420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
63421 $as_echo_n "checking for logf declaration... " >&6; }
63422 if test x${glibcxx_cv_func_logf_use+set} != xset; then
63423 if ${glibcxx_cv_func_logf_use+:} false; then :
63424 $as_echo_n "(cached) " >&6
63425 else
63428 ac_ext=cpp
63429 ac_cpp='$CXXCPP $CPPFLAGS'
63430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63435 /* end confdefs.h. */
63436 #include <math.h>
63437 #ifdef HAVE_IEEEFP_H
63438 #include <ieeefp.h>
63439 #endif
63442 main ()
63444 logf(0);
63446 return 0;
63448 _ACEOF
63449 if ac_fn_cxx_try_compile "$LINENO"; then :
63450 glibcxx_cv_func_logf_use=yes
63451 else
63452 glibcxx_cv_func_logf_use=no
63454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63455 ac_ext=c
63456 ac_cpp='$CPP $CPPFLAGS'
63457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
63466 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
63468 if test x$glibcxx_cv_func_logf_use = x"yes"; then
63469 for ac_func in logf
63470 do :
63471 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
63472 if test "x$ac_cv_func_logf" = xyes; then :
63473 cat >>confdefs.h <<_ACEOF
63474 #define HAVE_LOGF 1
63475 _ACEOF
63478 done
63480 else
63482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
63483 $as_echo_n "checking for _logf declaration... " >&6; }
63484 if test x${glibcxx_cv_func__logf_use+set} != xset; then
63485 if ${glibcxx_cv_func__logf_use+:} false; then :
63486 $as_echo_n "(cached) " >&6
63487 else
63490 ac_ext=cpp
63491 ac_cpp='$CXXCPP $CPPFLAGS'
63492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63497 /* end confdefs.h. */
63498 #include <math.h>
63499 #ifdef HAVE_IEEEFP_H
63500 #include <ieeefp.h>
63501 #endif
63504 main ()
63506 _logf(0);
63508 return 0;
63510 _ACEOF
63511 if ac_fn_cxx_try_compile "$LINENO"; then :
63512 glibcxx_cv_func__logf_use=yes
63513 else
63514 glibcxx_cv_func__logf_use=no
63516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63517 ac_ext=c
63518 ac_cpp='$CPP $CPPFLAGS'
63519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
63528 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
63530 if test x$glibcxx_cv_func__logf_use = x"yes"; then
63531 for ac_func in _logf
63532 do :
63533 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
63534 if test "x$ac_cv_func__logf" = xyes; then :
63535 cat >>confdefs.h <<_ACEOF
63536 #define HAVE__LOGF 1
63537 _ACEOF
63540 done
63549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
63550 $as_echo_n "checking for log10f declaration... " >&6; }
63551 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
63552 if ${glibcxx_cv_func_log10f_use+:} false; then :
63553 $as_echo_n "(cached) " >&6
63554 else
63557 ac_ext=cpp
63558 ac_cpp='$CXXCPP $CPPFLAGS'
63559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63564 /* end confdefs.h. */
63565 #include <math.h>
63566 #ifdef HAVE_IEEEFP_H
63567 #include <ieeefp.h>
63568 #endif
63571 main ()
63573 log10f(0);
63575 return 0;
63577 _ACEOF
63578 if ac_fn_cxx_try_compile "$LINENO"; then :
63579 glibcxx_cv_func_log10f_use=yes
63580 else
63581 glibcxx_cv_func_log10f_use=no
63583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63584 ac_ext=c
63585 ac_cpp='$CPP $CPPFLAGS'
63586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
63595 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
63597 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
63598 for ac_func in log10f
63599 do :
63600 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
63601 if test "x$ac_cv_func_log10f" = xyes; then :
63602 cat >>confdefs.h <<_ACEOF
63603 #define HAVE_LOG10F 1
63604 _ACEOF
63607 done
63609 else
63611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
63612 $as_echo_n "checking for _log10f declaration... " >&6; }
63613 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
63614 if ${glibcxx_cv_func__log10f_use+:} false; then :
63615 $as_echo_n "(cached) " >&6
63616 else
63619 ac_ext=cpp
63620 ac_cpp='$CXXCPP $CPPFLAGS'
63621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63626 /* end confdefs.h. */
63627 #include <math.h>
63628 #ifdef HAVE_IEEEFP_H
63629 #include <ieeefp.h>
63630 #endif
63633 main ()
63635 _log10f(0);
63637 return 0;
63639 _ACEOF
63640 if ac_fn_cxx_try_compile "$LINENO"; then :
63641 glibcxx_cv_func__log10f_use=yes
63642 else
63643 glibcxx_cv_func__log10f_use=no
63645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63646 ac_ext=c
63647 ac_cpp='$CPP $CPPFLAGS'
63648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
63657 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
63659 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
63660 for ac_func in _log10f
63661 do :
63662 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
63663 if test "x$ac_cv_func__log10f" = xyes; then :
63664 cat >>confdefs.h <<_ACEOF
63665 #define HAVE__LOG10F 1
63666 _ACEOF
63669 done
63678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
63679 $as_echo_n "checking for modff declaration... " >&6; }
63680 if test x${glibcxx_cv_func_modff_use+set} != xset; then
63681 if ${glibcxx_cv_func_modff_use+:} false; then :
63682 $as_echo_n "(cached) " >&6
63683 else
63686 ac_ext=cpp
63687 ac_cpp='$CXXCPP $CPPFLAGS'
63688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63693 /* end confdefs.h. */
63694 #include <math.h>
63696 main ()
63698 modff(0, 0);
63700 return 0;
63702 _ACEOF
63703 if ac_fn_cxx_try_compile "$LINENO"; then :
63704 glibcxx_cv_func_modff_use=yes
63705 else
63706 glibcxx_cv_func_modff_use=no
63708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63709 ac_ext=c
63710 ac_cpp='$CPP $CPPFLAGS'
63711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
63720 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
63722 if test x$glibcxx_cv_func_modff_use = x"yes"; then
63723 for ac_func in modff
63724 do :
63725 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
63726 if test "x$ac_cv_func_modff" = xyes; then :
63727 cat >>confdefs.h <<_ACEOF
63728 #define HAVE_MODFF 1
63729 _ACEOF
63732 done
63734 else
63736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
63737 $as_echo_n "checking for _modff declaration... " >&6; }
63738 if test x${glibcxx_cv_func__modff_use+set} != xset; then
63739 if ${glibcxx_cv_func__modff_use+:} false; then :
63740 $as_echo_n "(cached) " >&6
63741 else
63744 ac_ext=cpp
63745 ac_cpp='$CXXCPP $CPPFLAGS'
63746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63751 /* end confdefs.h. */
63752 #include <math.h>
63754 main ()
63756 _modff(0, 0);
63758 return 0;
63760 _ACEOF
63761 if ac_fn_cxx_try_compile "$LINENO"; then :
63762 glibcxx_cv_func__modff_use=yes
63763 else
63764 glibcxx_cv_func__modff_use=no
63766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63767 ac_ext=c
63768 ac_cpp='$CPP $CPPFLAGS'
63769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
63778 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
63780 if test x$glibcxx_cv_func__modff_use = x"yes"; then
63781 for ac_func in _modff
63782 do :
63783 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
63784 if test "x$ac_cv_func__modff" = xyes; then :
63785 cat >>confdefs.h <<_ACEOF
63786 #define HAVE__MODFF 1
63787 _ACEOF
63790 done
63799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
63800 $as_echo_n "checking for modf declaration... " >&6; }
63801 if test x${glibcxx_cv_func_modf_use+set} != xset; then
63802 if ${glibcxx_cv_func_modf_use+:} false; then :
63803 $as_echo_n "(cached) " >&6
63804 else
63807 ac_ext=cpp
63808 ac_cpp='$CXXCPP $CPPFLAGS'
63809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63814 /* end confdefs.h. */
63815 #include <math.h>
63817 main ()
63819 modf(0, 0);
63821 return 0;
63823 _ACEOF
63824 if ac_fn_cxx_try_compile "$LINENO"; then :
63825 glibcxx_cv_func_modf_use=yes
63826 else
63827 glibcxx_cv_func_modf_use=no
63829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63830 ac_ext=c
63831 ac_cpp='$CPP $CPPFLAGS'
63832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
63841 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
63843 if test x$glibcxx_cv_func_modf_use = x"yes"; then
63844 for ac_func in modf
63845 do :
63846 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
63847 if test "x$ac_cv_func_modf" = xyes; then :
63848 cat >>confdefs.h <<_ACEOF
63849 #define HAVE_MODF 1
63850 _ACEOF
63853 done
63855 else
63857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
63858 $as_echo_n "checking for _modf declaration... " >&6; }
63859 if test x${glibcxx_cv_func__modf_use+set} != xset; then
63860 if ${glibcxx_cv_func__modf_use+:} false; then :
63861 $as_echo_n "(cached) " >&6
63862 else
63865 ac_ext=cpp
63866 ac_cpp='$CXXCPP $CPPFLAGS'
63867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63872 /* end confdefs.h. */
63873 #include <math.h>
63875 main ()
63877 _modf(0, 0);
63879 return 0;
63881 _ACEOF
63882 if ac_fn_cxx_try_compile "$LINENO"; then :
63883 glibcxx_cv_func__modf_use=yes
63884 else
63885 glibcxx_cv_func__modf_use=no
63887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63888 ac_ext=c
63889 ac_cpp='$CPP $CPPFLAGS'
63890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
63899 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
63901 if test x$glibcxx_cv_func__modf_use = x"yes"; then
63902 for ac_func in _modf
63903 do :
63904 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
63905 if test "x$ac_cv_func__modf" = xyes; then :
63906 cat >>confdefs.h <<_ACEOF
63907 #define HAVE__MODF 1
63908 _ACEOF
63911 done
63920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
63921 $as_echo_n "checking for powf declaration... " >&6; }
63922 if test x${glibcxx_cv_func_powf_use+set} != xset; then
63923 if ${glibcxx_cv_func_powf_use+:} false; then :
63924 $as_echo_n "(cached) " >&6
63925 else
63928 ac_ext=cpp
63929 ac_cpp='$CXXCPP $CPPFLAGS'
63930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63935 /* end confdefs.h. */
63936 #include <math.h>
63938 main ()
63940 powf(0, 0);
63942 return 0;
63944 _ACEOF
63945 if ac_fn_cxx_try_compile "$LINENO"; then :
63946 glibcxx_cv_func_powf_use=yes
63947 else
63948 glibcxx_cv_func_powf_use=no
63950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63951 ac_ext=c
63952 ac_cpp='$CPP $CPPFLAGS'
63953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
63962 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
63964 if test x$glibcxx_cv_func_powf_use = x"yes"; then
63965 for ac_func in powf
63966 do :
63967 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
63968 if test "x$ac_cv_func_powf" = xyes; then :
63969 cat >>confdefs.h <<_ACEOF
63970 #define HAVE_POWF 1
63971 _ACEOF
63974 done
63976 else
63978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
63979 $as_echo_n "checking for _powf declaration... " >&6; }
63980 if test x${glibcxx_cv_func__powf_use+set} != xset; then
63981 if ${glibcxx_cv_func__powf_use+:} false; then :
63982 $as_echo_n "(cached) " >&6
63983 else
63986 ac_ext=cpp
63987 ac_cpp='$CXXCPP $CPPFLAGS'
63988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63993 /* end confdefs.h. */
63994 #include <math.h>
63996 main ()
63998 _powf(0, 0);
64000 return 0;
64002 _ACEOF
64003 if ac_fn_cxx_try_compile "$LINENO"; then :
64004 glibcxx_cv_func__powf_use=yes
64005 else
64006 glibcxx_cv_func__powf_use=no
64008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64009 ac_ext=c
64010 ac_cpp='$CPP $CPPFLAGS'
64011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
64020 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
64022 if test x$glibcxx_cv_func__powf_use = x"yes"; then
64023 for ac_func in _powf
64024 do :
64025 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
64026 if test "x$ac_cv_func__powf" = xyes; then :
64027 cat >>confdefs.h <<_ACEOF
64028 #define HAVE__POWF 1
64029 _ACEOF
64032 done
64041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
64042 $as_echo_n "checking for sqrtf declaration... " >&6; }
64043 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
64044 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
64045 $as_echo_n "(cached) " >&6
64046 else
64049 ac_ext=cpp
64050 ac_cpp='$CXXCPP $CPPFLAGS'
64051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64056 /* end confdefs.h. */
64057 #include <math.h>
64058 #ifdef HAVE_IEEEFP_H
64059 #include <ieeefp.h>
64060 #endif
64063 main ()
64065 sqrtf(0);
64067 return 0;
64069 _ACEOF
64070 if ac_fn_cxx_try_compile "$LINENO"; then :
64071 glibcxx_cv_func_sqrtf_use=yes
64072 else
64073 glibcxx_cv_func_sqrtf_use=no
64075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64076 ac_ext=c
64077 ac_cpp='$CPP $CPPFLAGS'
64078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
64087 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
64089 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
64090 for ac_func in sqrtf
64091 do :
64092 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
64093 if test "x$ac_cv_func_sqrtf" = xyes; then :
64094 cat >>confdefs.h <<_ACEOF
64095 #define HAVE_SQRTF 1
64096 _ACEOF
64099 done
64101 else
64103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
64104 $as_echo_n "checking for _sqrtf declaration... " >&6; }
64105 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
64106 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
64107 $as_echo_n "(cached) " >&6
64108 else
64111 ac_ext=cpp
64112 ac_cpp='$CXXCPP $CPPFLAGS'
64113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64118 /* end confdefs.h. */
64119 #include <math.h>
64120 #ifdef HAVE_IEEEFP_H
64121 #include <ieeefp.h>
64122 #endif
64125 main ()
64127 _sqrtf(0);
64129 return 0;
64131 _ACEOF
64132 if ac_fn_cxx_try_compile "$LINENO"; then :
64133 glibcxx_cv_func__sqrtf_use=yes
64134 else
64135 glibcxx_cv_func__sqrtf_use=no
64137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64138 ac_ext=c
64139 ac_cpp='$CPP $CPPFLAGS'
64140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
64149 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
64151 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
64152 for ac_func in _sqrtf
64153 do :
64154 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
64155 if test "x$ac_cv_func__sqrtf" = xyes; then :
64156 cat >>confdefs.h <<_ACEOF
64157 #define HAVE__SQRTF 1
64158 _ACEOF
64161 done
64170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
64171 $as_echo_n "checking for sincosf declaration... " >&6; }
64172 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
64173 if ${glibcxx_cv_func_sincosf_use+:} false; then :
64174 $as_echo_n "(cached) " >&6
64175 else
64178 ac_ext=cpp
64179 ac_cpp='$CXXCPP $CPPFLAGS'
64180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64185 /* end confdefs.h. */
64186 #include <math.h>
64188 main ()
64190 sincosf(0, 0, 0);
64192 return 0;
64194 _ACEOF
64195 if ac_fn_cxx_try_compile "$LINENO"; then :
64196 glibcxx_cv_func_sincosf_use=yes
64197 else
64198 glibcxx_cv_func_sincosf_use=no
64200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64201 ac_ext=c
64202 ac_cpp='$CPP $CPPFLAGS'
64203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
64212 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
64214 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
64215 for ac_func in sincosf
64216 do :
64217 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
64218 if test "x$ac_cv_func_sincosf" = xyes; then :
64219 cat >>confdefs.h <<_ACEOF
64220 #define HAVE_SINCOSF 1
64221 _ACEOF
64224 done
64226 else
64228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
64229 $as_echo_n "checking for _sincosf declaration... " >&6; }
64230 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
64231 if ${glibcxx_cv_func__sincosf_use+:} false; then :
64232 $as_echo_n "(cached) " >&6
64233 else
64236 ac_ext=cpp
64237 ac_cpp='$CXXCPP $CPPFLAGS'
64238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64243 /* end confdefs.h. */
64244 #include <math.h>
64246 main ()
64248 _sincosf(0, 0, 0);
64250 return 0;
64252 _ACEOF
64253 if ac_fn_cxx_try_compile "$LINENO"; then :
64254 glibcxx_cv_func__sincosf_use=yes
64255 else
64256 glibcxx_cv_func__sincosf_use=no
64258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64259 ac_ext=c
64260 ac_cpp='$CPP $CPPFLAGS'
64261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
64270 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
64272 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
64273 for ac_func in _sincosf
64274 do :
64275 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
64276 if test "x$ac_cv_func__sincosf" = xyes; then :
64277 cat >>confdefs.h <<_ACEOF
64278 #define HAVE__SINCOSF 1
64279 _ACEOF
64282 done
64291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
64292 $as_echo_n "checking for finitef declaration... " >&6; }
64293 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
64294 if ${glibcxx_cv_func_finitef_use+:} false; then :
64295 $as_echo_n "(cached) " >&6
64296 else
64299 ac_ext=cpp
64300 ac_cpp='$CXXCPP $CPPFLAGS'
64301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64306 /* end confdefs.h. */
64307 #include <math.h>
64308 #ifdef HAVE_IEEEFP_H
64309 #include <ieeefp.h>
64310 #endif
64313 main ()
64315 finitef(0);
64317 return 0;
64319 _ACEOF
64320 if ac_fn_cxx_try_compile "$LINENO"; then :
64321 glibcxx_cv_func_finitef_use=yes
64322 else
64323 glibcxx_cv_func_finitef_use=no
64325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64326 ac_ext=c
64327 ac_cpp='$CPP $CPPFLAGS'
64328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
64337 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
64339 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
64340 for ac_func in finitef
64341 do :
64342 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
64343 if test "x$ac_cv_func_finitef" = xyes; then :
64344 cat >>confdefs.h <<_ACEOF
64345 #define HAVE_FINITEF 1
64346 _ACEOF
64349 done
64351 else
64353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
64354 $as_echo_n "checking for _finitef declaration... " >&6; }
64355 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
64356 if ${glibcxx_cv_func__finitef_use+:} false; then :
64357 $as_echo_n "(cached) " >&6
64358 else
64361 ac_ext=cpp
64362 ac_cpp='$CXXCPP $CPPFLAGS'
64363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64368 /* end confdefs.h. */
64369 #include <math.h>
64370 #ifdef HAVE_IEEEFP_H
64371 #include <ieeefp.h>
64372 #endif
64375 main ()
64377 _finitef(0);
64379 return 0;
64381 _ACEOF
64382 if ac_fn_cxx_try_compile "$LINENO"; then :
64383 glibcxx_cv_func__finitef_use=yes
64384 else
64385 glibcxx_cv_func__finitef_use=no
64387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64388 ac_ext=c
64389 ac_cpp='$CPP $CPPFLAGS'
64390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
64399 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
64401 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
64402 for ac_func in _finitef
64403 do :
64404 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
64405 if test "x$ac_cv_func__finitef" = xyes; then :
64406 cat >>confdefs.h <<_ACEOF
64407 #define HAVE__FINITEF 1
64408 _ACEOF
64411 done
64420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
64421 $as_echo_n "checking for long double trig functions... " >&6; }
64422 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
64423 $as_echo_n "(cached) " >&6
64424 else
64427 ac_ext=cpp
64428 ac_cpp='$CXXCPP $CPPFLAGS'
64429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64434 /* end confdefs.h. */
64435 #include <math.h>
64437 main ()
64439 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
64441 return 0;
64443 _ACEOF
64444 if ac_fn_cxx_try_compile "$LINENO"; then :
64445 glibcxx_cv_func_long_double_trig_use=yes
64446 else
64447 glibcxx_cv_func_long_double_trig_use=no
64449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64450 ac_ext=c
64451 ac_cpp='$CPP $CPPFLAGS'
64452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
64459 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
64460 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
64461 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
64462 do :
64463 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64464 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64465 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64466 cat >>confdefs.h <<_ACEOF
64467 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64468 _ACEOF
64471 done
64473 else
64474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
64475 $as_echo_n "checking for _long double trig functions... " >&6; }
64476 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
64477 $as_echo_n "(cached) " >&6
64478 else
64481 ac_ext=cpp
64482 ac_cpp='$CXXCPP $CPPFLAGS'
64483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64488 /* end confdefs.h. */
64489 #include <math.h>
64491 main ()
64493 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
64495 return 0;
64497 _ACEOF
64498 if ac_fn_cxx_try_compile "$LINENO"; then :
64499 glibcxx_cv_func__long_double_trig_use=yes
64500 else
64501 glibcxx_cv_func__long_double_trig_use=no
64503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64504 ac_ext=c
64505 ac_cpp='$CPP $CPPFLAGS'
64506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
64513 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
64514 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
64515 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
64516 do :
64517 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64518 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64519 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64520 cat >>confdefs.h <<_ACEOF
64521 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64522 _ACEOF
64525 done
64534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
64535 $as_echo_n "checking for long double round functions... " >&6; }
64536 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
64537 $as_echo_n "(cached) " >&6
64538 else
64541 ac_ext=cpp
64542 ac_cpp='$CXXCPP $CPPFLAGS'
64543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64548 /* end confdefs.h. */
64549 #include <math.h>
64551 main ()
64553 ceill (0); floorl (0);
64555 return 0;
64557 _ACEOF
64558 if ac_fn_cxx_try_compile "$LINENO"; then :
64559 glibcxx_cv_func_long_double_round_use=yes
64560 else
64561 glibcxx_cv_func_long_double_round_use=no
64563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64564 ac_ext=c
64565 ac_cpp='$CPP $CPPFLAGS'
64566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
64573 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
64574 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
64575 for ac_func in ceill floorl
64576 do :
64577 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64578 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64579 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64580 cat >>confdefs.h <<_ACEOF
64581 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64582 _ACEOF
64585 done
64587 else
64588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
64589 $as_echo_n "checking for _long double round functions... " >&6; }
64590 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
64591 $as_echo_n "(cached) " >&6
64592 else
64595 ac_ext=cpp
64596 ac_cpp='$CXXCPP $CPPFLAGS'
64597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64602 /* end confdefs.h. */
64603 #include <math.h>
64605 main ()
64607 _ceill (0); _floorl (0);
64609 return 0;
64611 _ACEOF
64612 if ac_fn_cxx_try_compile "$LINENO"; then :
64613 glibcxx_cv_func__long_double_round_use=yes
64614 else
64615 glibcxx_cv_func__long_double_round_use=no
64617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64618 ac_ext=c
64619 ac_cpp='$CPP $CPPFLAGS'
64620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
64627 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
64628 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
64629 for ac_func in _ceill _floorl
64630 do :
64631 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64632 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64633 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64634 cat >>confdefs.h <<_ACEOF
64635 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64636 _ACEOF
64639 done
64649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
64650 $as_echo_n "checking for isnanl declaration... " >&6; }
64651 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
64652 if ${glibcxx_cv_func_isnanl_use+:} false; then :
64653 $as_echo_n "(cached) " >&6
64654 else
64657 ac_ext=cpp
64658 ac_cpp='$CXXCPP $CPPFLAGS'
64659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64664 /* end confdefs.h. */
64665 #include <math.h>
64666 #ifdef HAVE_IEEEFP_H
64667 #include <ieeefp.h>
64668 #endif
64671 main ()
64673 isnanl(0);
64675 return 0;
64677 _ACEOF
64678 if ac_fn_cxx_try_compile "$LINENO"; then :
64679 glibcxx_cv_func_isnanl_use=yes
64680 else
64681 glibcxx_cv_func_isnanl_use=no
64683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64684 ac_ext=c
64685 ac_cpp='$CPP $CPPFLAGS'
64686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
64695 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
64697 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
64698 for ac_func in isnanl
64699 do :
64700 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
64701 if test "x$ac_cv_func_isnanl" = xyes; then :
64702 cat >>confdefs.h <<_ACEOF
64703 #define HAVE_ISNANL 1
64704 _ACEOF
64707 done
64709 else
64711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
64712 $as_echo_n "checking for _isnanl declaration... " >&6; }
64713 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
64714 if ${glibcxx_cv_func__isnanl_use+:} false; then :
64715 $as_echo_n "(cached) " >&6
64716 else
64719 ac_ext=cpp
64720 ac_cpp='$CXXCPP $CPPFLAGS'
64721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64726 /* end confdefs.h. */
64727 #include <math.h>
64728 #ifdef HAVE_IEEEFP_H
64729 #include <ieeefp.h>
64730 #endif
64733 main ()
64735 _isnanl(0);
64737 return 0;
64739 _ACEOF
64740 if ac_fn_cxx_try_compile "$LINENO"; then :
64741 glibcxx_cv_func__isnanl_use=yes
64742 else
64743 glibcxx_cv_func__isnanl_use=no
64745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64746 ac_ext=c
64747 ac_cpp='$CPP $CPPFLAGS'
64748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
64757 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
64759 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
64760 for ac_func in _isnanl
64761 do :
64762 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
64763 if test "x$ac_cv_func__isnanl" = xyes; then :
64764 cat >>confdefs.h <<_ACEOF
64765 #define HAVE__ISNANL 1
64766 _ACEOF
64769 done
64778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
64779 $as_echo_n "checking for isinfl declaration... " >&6; }
64780 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
64781 if ${glibcxx_cv_func_isinfl_use+:} false; then :
64782 $as_echo_n "(cached) " >&6
64783 else
64786 ac_ext=cpp
64787 ac_cpp='$CXXCPP $CPPFLAGS'
64788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64793 /* end confdefs.h. */
64794 #include <math.h>
64795 #ifdef HAVE_IEEEFP_H
64796 #include <ieeefp.h>
64797 #endif
64800 main ()
64802 isinfl(0);
64804 return 0;
64806 _ACEOF
64807 if ac_fn_cxx_try_compile "$LINENO"; then :
64808 glibcxx_cv_func_isinfl_use=yes
64809 else
64810 glibcxx_cv_func_isinfl_use=no
64812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64813 ac_ext=c
64814 ac_cpp='$CPP $CPPFLAGS'
64815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
64824 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
64826 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64827 for ac_func in isinfl
64828 do :
64829 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
64830 if test "x$ac_cv_func_isinfl" = xyes; then :
64831 cat >>confdefs.h <<_ACEOF
64832 #define HAVE_ISINFL 1
64833 _ACEOF
64836 done
64838 else
64840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
64841 $as_echo_n "checking for _isinfl declaration... " >&6; }
64842 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64843 if ${glibcxx_cv_func__isinfl_use+:} false; then :
64844 $as_echo_n "(cached) " >&6
64845 else
64848 ac_ext=cpp
64849 ac_cpp='$CXXCPP $CPPFLAGS'
64850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64855 /* end confdefs.h. */
64856 #include <math.h>
64857 #ifdef HAVE_IEEEFP_H
64858 #include <ieeefp.h>
64859 #endif
64862 main ()
64864 _isinfl(0);
64866 return 0;
64868 _ACEOF
64869 if ac_fn_cxx_try_compile "$LINENO"; then :
64870 glibcxx_cv_func__isinfl_use=yes
64871 else
64872 glibcxx_cv_func__isinfl_use=no
64874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64875 ac_ext=c
64876 ac_cpp='$CPP $CPPFLAGS'
64877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
64886 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
64888 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64889 for ac_func in _isinfl
64890 do :
64891 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
64892 if test "x$ac_cv_func__isinfl" = xyes; then :
64893 cat >>confdefs.h <<_ACEOF
64894 #define HAVE__ISINFL 1
64895 _ACEOF
64898 done
64907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
64908 $as_echo_n "checking for atan2l declaration... " >&6; }
64909 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64910 if ${glibcxx_cv_func_atan2l_use+:} false; then :
64911 $as_echo_n "(cached) " >&6
64912 else
64915 ac_ext=cpp
64916 ac_cpp='$CXXCPP $CPPFLAGS'
64917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64922 /* end confdefs.h. */
64923 #include <math.h>
64925 main ()
64927 atan2l(0, 0);
64929 return 0;
64931 _ACEOF
64932 if ac_fn_cxx_try_compile "$LINENO"; then :
64933 glibcxx_cv_func_atan2l_use=yes
64934 else
64935 glibcxx_cv_func_atan2l_use=no
64937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64938 ac_ext=c
64939 ac_cpp='$CPP $CPPFLAGS'
64940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
64949 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
64951 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64952 for ac_func in atan2l
64953 do :
64954 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
64955 if test "x$ac_cv_func_atan2l" = xyes; then :
64956 cat >>confdefs.h <<_ACEOF
64957 #define HAVE_ATAN2L 1
64958 _ACEOF
64961 done
64963 else
64965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
64966 $as_echo_n "checking for _atan2l declaration... " >&6; }
64967 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64968 if ${glibcxx_cv_func__atan2l_use+:} false; then :
64969 $as_echo_n "(cached) " >&6
64970 else
64973 ac_ext=cpp
64974 ac_cpp='$CXXCPP $CPPFLAGS'
64975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64980 /* end confdefs.h. */
64981 #include <math.h>
64983 main ()
64985 _atan2l(0, 0);
64987 return 0;
64989 _ACEOF
64990 if ac_fn_cxx_try_compile "$LINENO"; then :
64991 glibcxx_cv_func__atan2l_use=yes
64992 else
64993 glibcxx_cv_func__atan2l_use=no
64995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64996 ac_ext=c
64997 ac_cpp='$CPP $CPPFLAGS'
64998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
65007 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
65009 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
65010 for ac_func in _atan2l
65011 do :
65012 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
65013 if test "x$ac_cv_func__atan2l" = xyes; then :
65014 cat >>confdefs.h <<_ACEOF
65015 #define HAVE__ATAN2L 1
65016 _ACEOF
65019 done
65028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
65029 $as_echo_n "checking for expl declaration... " >&6; }
65030 if test x${glibcxx_cv_func_expl_use+set} != xset; then
65031 if ${glibcxx_cv_func_expl_use+:} false; then :
65032 $as_echo_n "(cached) " >&6
65033 else
65036 ac_ext=cpp
65037 ac_cpp='$CXXCPP $CPPFLAGS'
65038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65043 /* end confdefs.h. */
65044 #include <math.h>
65045 #ifdef HAVE_IEEEFP_H
65046 #include <ieeefp.h>
65047 #endif
65050 main ()
65052 expl(0);
65054 return 0;
65056 _ACEOF
65057 if ac_fn_cxx_try_compile "$LINENO"; then :
65058 glibcxx_cv_func_expl_use=yes
65059 else
65060 glibcxx_cv_func_expl_use=no
65062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65063 ac_ext=c
65064 ac_cpp='$CPP $CPPFLAGS'
65065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
65074 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
65076 if test x$glibcxx_cv_func_expl_use = x"yes"; then
65077 for ac_func in expl
65078 do :
65079 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
65080 if test "x$ac_cv_func_expl" = xyes; then :
65081 cat >>confdefs.h <<_ACEOF
65082 #define HAVE_EXPL 1
65083 _ACEOF
65086 done
65088 else
65090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
65091 $as_echo_n "checking for _expl declaration... " >&6; }
65092 if test x${glibcxx_cv_func__expl_use+set} != xset; then
65093 if ${glibcxx_cv_func__expl_use+:} false; then :
65094 $as_echo_n "(cached) " >&6
65095 else
65098 ac_ext=cpp
65099 ac_cpp='$CXXCPP $CPPFLAGS'
65100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65105 /* end confdefs.h. */
65106 #include <math.h>
65107 #ifdef HAVE_IEEEFP_H
65108 #include <ieeefp.h>
65109 #endif
65112 main ()
65114 _expl(0);
65116 return 0;
65118 _ACEOF
65119 if ac_fn_cxx_try_compile "$LINENO"; then :
65120 glibcxx_cv_func__expl_use=yes
65121 else
65122 glibcxx_cv_func__expl_use=no
65124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65125 ac_ext=c
65126 ac_cpp='$CPP $CPPFLAGS'
65127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
65136 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
65138 if test x$glibcxx_cv_func__expl_use = x"yes"; then
65139 for ac_func in _expl
65140 do :
65141 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
65142 if test "x$ac_cv_func__expl" = xyes; then :
65143 cat >>confdefs.h <<_ACEOF
65144 #define HAVE__EXPL 1
65145 _ACEOF
65148 done
65157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
65158 $as_echo_n "checking for fabsl declaration... " >&6; }
65159 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
65160 if ${glibcxx_cv_func_fabsl_use+:} false; then :
65161 $as_echo_n "(cached) " >&6
65162 else
65165 ac_ext=cpp
65166 ac_cpp='$CXXCPP $CPPFLAGS'
65167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65172 /* end confdefs.h. */
65173 #include <math.h>
65174 #ifdef HAVE_IEEEFP_H
65175 #include <ieeefp.h>
65176 #endif
65179 main ()
65181 fabsl(0);
65183 return 0;
65185 _ACEOF
65186 if ac_fn_cxx_try_compile "$LINENO"; then :
65187 glibcxx_cv_func_fabsl_use=yes
65188 else
65189 glibcxx_cv_func_fabsl_use=no
65191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65192 ac_ext=c
65193 ac_cpp='$CPP $CPPFLAGS'
65194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
65203 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
65205 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
65206 for ac_func in fabsl
65207 do :
65208 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
65209 if test "x$ac_cv_func_fabsl" = xyes; then :
65210 cat >>confdefs.h <<_ACEOF
65211 #define HAVE_FABSL 1
65212 _ACEOF
65215 done
65217 else
65219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
65220 $as_echo_n "checking for _fabsl declaration... " >&6; }
65221 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
65222 if ${glibcxx_cv_func__fabsl_use+:} false; then :
65223 $as_echo_n "(cached) " >&6
65224 else
65227 ac_ext=cpp
65228 ac_cpp='$CXXCPP $CPPFLAGS'
65229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65234 /* end confdefs.h. */
65235 #include <math.h>
65236 #ifdef HAVE_IEEEFP_H
65237 #include <ieeefp.h>
65238 #endif
65241 main ()
65243 _fabsl(0);
65245 return 0;
65247 _ACEOF
65248 if ac_fn_cxx_try_compile "$LINENO"; then :
65249 glibcxx_cv_func__fabsl_use=yes
65250 else
65251 glibcxx_cv_func__fabsl_use=no
65253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65254 ac_ext=c
65255 ac_cpp='$CPP $CPPFLAGS'
65256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
65265 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
65267 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
65268 for ac_func in _fabsl
65269 do :
65270 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
65271 if test "x$ac_cv_func__fabsl" = xyes; then :
65272 cat >>confdefs.h <<_ACEOF
65273 #define HAVE__FABSL 1
65274 _ACEOF
65277 done
65286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
65287 $as_echo_n "checking for fmodl declaration... " >&6; }
65288 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
65289 if ${glibcxx_cv_func_fmodl_use+:} false; then :
65290 $as_echo_n "(cached) " >&6
65291 else
65294 ac_ext=cpp
65295 ac_cpp='$CXXCPP $CPPFLAGS'
65296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65301 /* end confdefs.h. */
65302 #include <math.h>
65304 main ()
65306 fmodl(0, 0);
65308 return 0;
65310 _ACEOF
65311 if ac_fn_cxx_try_compile "$LINENO"; then :
65312 glibcxx_cv_func_fmodl_use=yes
65313 else
65314 glibcxx_cv_func_fmodl_use=no
65316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65317 ac_ext=c
65318 ac_cpp='$CPP $CPPFLAGS'
65319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
65328 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
65330 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
65331 for ac_func in fmodl
65332 do :
65333 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
65334 if test "x$ac_cv_func_fmodl" = xyes; then :
65335 cat >>confdefs.h <<_ACEOF
65336 #define HAVE_FMODL 1
65337 _ACEOF
65340 done
65342 else
65344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
65345 $as_echo_n "checking for _fmodl declaration... " >&6; }
65346 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
65347 if ${glibcxx_cv_func__fmodl_use+:} false; then :
65348 $as_echo_n "(cached) " >&6
65349 else
65352 ac_ext=cpp
65353 ac_cpp='$CXXCPP $CPPFLAGS'
65354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65359 /* end confdefs.h. */
65360 #include <math.h>
65362 main ()
65364 _fmodl(0, 0);
65366 return 0;
65368 _ACEOF
65369 if ac_fn_cxx_try_compile "$LINENO"; then :
65370 glibcxx_cv_func__fmodl_use=yes
65371 else
65372 glibcxx_cv_func__fmodl_use=no
65374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65375 ac_ext=c
65376 ac_cpp='$CPP $CPPFLAGS'
65377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
65386 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
65388 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
65389 for ac_func in _fmodl
65390 do :
65391 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
65392 if test "x$ac_cv_func__fmodl" = xyes; then :
65393 cat >>confdefs.h <<_ACEOF
65394 #define HAVE__FMODL 1
65395 _ACEOF
65398 done
65407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
65408 $as_echo_n "checking for frexpl declaration... " >&6; }
65409 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
65410 if ${glibcxx_cv_func_frexpl_use+:} false; then :
65411 $as_echo_n "(cached) " >&6
65412 else
65415 ac_ext=cpp
65416 ac_cpp='$CXXCPP $CPPFLAGS'
65417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65422 /* end confdefs.h. */
65423 #include <math.h>
65425 main ()
65427 frexpl(0, 0);
65429 return 0;
65431 _ACEOF
65432 if ac_fn_cxx_try_compile "$LINENO"; then :
65433 glibcxx_cv_func_frexpl_use=yes
65434 else
65435 glibcxx_cv_func_frexpl_use=no
65437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65438 ac_ext=c
65439 ac_cpp='$CPP $CPPFLAGS'
65440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
65449 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
65451 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
65452 for ac_func in frexpl
65453 do :
65454 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
65455 if test "x$ac_cv_func_frexpl" = xyes; then :
65456 cat >>confdefs.h <<_ACEOF
65457 #define HAVE_FREXPL 1
65458 _ACEOF
65461 done
65463 else
65465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
65466 $as_echo_n "checking for _frexpl declaration... " >&6; }
65467 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
65468 if ${glibcxx_cv_func__frexpl_use+:} false; then :
65469 $as_echo_n "(cached) " >&6
65470 else
65473 ac_ext=cpp
65474 ac_cpp='$CXXCPP $CPPFLAGS'
65475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65480 /* end confdefs.h. */
65481 #include <math.h>
65483 main ()
65485 _frexpl(0, 0);
65487 return 0;
65489 _ACEOF
65490 if ac_fn_cxx_try_compile "$LINENO"; then :
65491 glibcxx_cv_func__frexpl_use=yes
65492 else
65493 glibcxx_cv_func__frexpl_use=no
65495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65496 ac_ext=c
65497 ac_cpp='$CPP $CPPFLAGS'
65498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
65507 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
65509 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
65510 for ac_func in _frexpl
65511 do :
65512 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
65513 if test "x$ac_cv_func__frexpl" = xyes; then :
65514 cat >>confdefs.h <<_ACEOF
65515 #define HAVE__FREXPL 1
65516 _ACEOF
65519 done
65528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
65529 $as_echo_n "checking for hypotl declaration... " >&6; }
65530 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
65531 if ${glibcxx_cv_func_hypotl_use+:} false; then :
65532 $as_echo_n "(cached) " >&6
65533 else
65536 ac_ext=cpp
65537 ac_cpp='$CXXCPP $CPPFLAGS'
65538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65543 /* end confdefs.h. */
65544 #include <math.h>
65546 main ()
65548 hypotl(0, 0);
65550 return 0;
65552 _ACEOF
65553 if ac_fn_cxx_try_compile "$LINENO"; then :
65554 glibcxx_cv_func_hypotl_use=yes
65555 else
65556 glibcxx_cv_func_hypotl_use=no
65558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65559 ac_ext=c
65560 ac_cpp='$CPP $CPPFLAGS'
65561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
65570 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
65572 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
65573 for ac_func in hypotl
65574 do :
65575 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
65576 if test "x$ac_cv_func_hypotl" = xyes; then :
65577 cat >>confdefs.h <<_ACEOF
65578 #define HAVE_HYPOTL 1
65579 _ACEOF
65582 done
65584 else
65586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
65587 $as_echo_n "checking for _hypotl declaration... " >&6; }
65588 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
65589 if ${glibcxx_cv_func__hypotl_use+:} false; then :
65590 $as_echo_n "(cached) " >&6
65591 else
65594 ac_ext=cpp
65595 ac_cpp='$CXXCPP $CPPFLAGS'
65596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65601 /* end confdefs.h. */
65602 #include <math.h>
65604 main ()
65606 _hypotl(0, 0);
65608 return 0;
65610 _ACEOF
65611 if ac_fn_cxx_try_compile "$LINENO"; then :
65612 glibcxx_cv_func__hypotl_use=yes
65613 else
65614 glibcxx_cv_func__hypotl_use=no
65616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65617 ac_ext=c
65618 ac_cpp='$CPP $CPPFLAGS'
65619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
65628 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
65630 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
65631 for ac_func in _hypotl
65632 do :
65633 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
65634 if test "x$ac_cv_func__hypotl" = xyes; then :
65635 cat >>confdefs.h <<_ACEOF
65636 #define HAVE__HYPOTL 1
65637 _ACEOF
65640 done
65649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
65650 $as_echo_n "checking for ldexpl declaration... " >&6; }
65651 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
65652 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
65653 $as_echo_n "(cached) " >&6
65654 else
65657 ac_ext=cpp
65658 ac_cpp='$CXXCPP $CPPFLAGS'
65659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65664 /* end confdefs.h. */
65665 #include <math.h>
65667 main ()
65669 ldexpl(0, 0);
65671 return 0;
65673 _ACEOF
65674 if ac_fn_cxx_try_compile "$LINENO"; then :
65675 glibcxx_cv_func_ldexpl_use=yes
65676 else
65677 glibcxx_cv_func_ldexpl_use=no
65679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65680 ac_ext=c
65681 ac_cpp='$CPP $CPPFLAGS'
65682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
65691 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
65693 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
65694 for ac_func in ldexpl
65695 do :
65696 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
65697 if test "x$ac_cv_func_ldexpl" = xyes; then :
65698 cat >>confdefs.h <<_ACEOF
65699 #define HAVE_LDEXPL 1
65700 _ACEOF
65703 done
65705 else
65707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
65708 $as_echo_n "checking for _ldexpl declaration... " >&6; }
65709 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
65710 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
65711 $as_echo_n "(cached) " >&6
65712 else
65715 ac_ext=cpp
65716 ac_cpp='$CXXCPP $CPPFLAGS'
65717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65722 /* end confdefs.h. */
65723 #include <math.h>
65725 main ()
65727 _ldexpl(0, 0);
65729 return 0;
65731 _ACEOF
65732 if ac_fn_cxx_try_compile "$LINENO"; then :
65733 glibcxx_cv_func__ldexpl_use=yes
65734 else
65735 glibcxx_cv_func__ldexpl_use=no
65737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65738 ac_ext=c
65739 ac_cpp='$CPP $CPPFLAGS'
65740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
65749 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
65751 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
65752 for ac_func in _ldexpl
65753 do :
65754 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
65755 if test "x$ac_cv_func__ldexpl" = xyes; then :
65756 cat >>confdefs.h <<_ACEOF
65757 #define HAVE__LDEXPL 1
65758 _ACEOF
65761 done
65770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
65771 $as_echo_n "checking for logl declaration... " >&6; }
65772 if test x${glibcxx_cv_func_logl_use+set} != xset; then
65773 if ${glibcxx_cv_func_logl_use+:} false; then :
65774 $as_echo_n "(cached) " >&6
65775 else
65778 ac_ext=cpp
65779 ac_cpp='$CXXCPP $CPPFLAGS'
65780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65785 /* end confdefs.h. */
65786 #include <math.h>
65787 #ifdef HAVE_IEEEFP_H
65788 #include <ieeefp.h>
65789 #endif
65792 main ()
65794 logl(0);
65796 return 0;
65798 _ACEOF
65799 if ac_fn_cxx_try_compile "$LINENO"; then :
65800 glibcxx_cv_func_logl_use=yes
65801 else
65802 glibcxx_cv_func_logl_use=no
65804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65805 ac_ext=c
65806 ac_cpp='$CPP $CPPFLAGS'
65807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
65816 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
65818 if test x$glibcxx_cv_func_logl_use = x"yes"; then
65819 for ac_func in logl
65820 do :
65821 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
65822 if test "x$ac_cv_func_logl" = xyes; then :
65823 cat >>confdefs.h <<_ACEOF
65824 #define HAVE_LOGL 1
65825 _ACEOF
65828 done
65830 else
65832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
65833 $as_echo_n "checking for _logl declaration... " >&6; }
65834 if test x${glibcxx_cv_func__logl_use+set} != xset; then
65835 if ${glibcxx_cv_func__logl_use+:} false; then :
65836 $as_echo_n "(cached) " >&6
65837 else
65840 ac_ext=cpp
65841 ac_cpp='$CXXCPP $CPPFLAGS'
65842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65847 /* end confdefs.h. */
65848 #include <math.h>
65849 #ifdef HAVE_IEEEFP_H
65850 #include <ieeefp.h>
65851 #endif
65854 main ()
65856 _logl(0);
65858 return 0;
65860 _ACEOF
65861 if ac_fn_cxx_try_compile "$LINENO"; then :
65862 glibcxx_cv_func__logl_use=yes
65863 else
65864 glibcxx_cv_func__logl_use=no
65866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65867 ac_ext=c
65868 ac_cpp='$CPP $CPPFLAGS'
65869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
65878 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
65880 if test x$glibcxx_cv_func__logl_use = x"yes"; then
65881 for ac_func in _logl
65882 do :
65883 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
65884 if test "x$ac_cv_func__logl" = xyes; then :
65885 cat >>confdefs.h <<_ACEOF
65886 #define HAVE__LOGL 1
65887 _ACEOF
65890 done
65899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
65900 $as_echo_n "checking for log10l declaration... " >&6; }
65901 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
65902 if ${glibcxx_cv_func_log10l_use+:} false; then :
65903 $as_echo_n "(cached) " >&6
65904 else
65907 ac_ext=cpp
65908 ac_cpp='$CXXCPP $CPPFLAGS'
65909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65914 /* end confdefs.h. */
65915 #include <math.h>
65916 #ifdef HAVE_IEEEFP_H
65917 #include <ieeefp.h>
65918 #endif
65921 main ()
65923 log10l(0);
65925 return 0;
65927 _ACEOF
65928 if ac_fn_cxx_try_compile "$LINENO"; then :
65929 glibcxx_cv_func_log10l_use=yes
65930 else
65931 glibcxx_cv_func_log10l_use=no
65933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65934 ac_ext=c
65935 ac_cpp='$CPP $CPPFLAGS'
65936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
65945 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
65947 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
65948 for ac_func in log10l
65949 do :
65950 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
65951 if test "x$ac_cv_func_log10l" = xyes; then :
65952 cat >>confdefs.h <<_ACEOF
65953 #define HAVE_LOG10L 1
65954 _ACEOF
65957 done
65959 else
65961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
65962 $as_echo_n "checking for _log10l declaration... " >&6; }
65963 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
65964 if ${glibcxx_cv_func__log10l_use+:} false; then :
65965 $as_echo_n "(cached) " >&6
65966 else
65969 ac_ext=cpp
65970 ac_cpp='$CXXCPP $CPPFLAGS'
65971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65976 /* end confdefs.h. */
65977 #include <math.h>
65978 #ifdef HAVE_IEEEFP_H
65979 #include <ieeefp.h>
65980 #endif
65983 main ()
65985 _log10l(0);
65987 return 0;
65989 _ACEOF
65990 if ac_fn_cxx_try_compile "$LINENO"; then :
65991 glibcxx_cv_func__log10l_use=yes
65992 else
65993 glibcxx_cv_func__log10l_use=no
65995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65996 ac_ext=c
65997 ac_cpp='$CPP $CPPFLAGS'
65998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
66007 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
66009 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
66010 for ac_func in _log10l
66011 do :
66012 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
66013 if test "x$ac_cv_func__log10l" = xyes; then :
66014 cat >>confdefs.h <<_ACEOF
66015 #define HAVE__LOG10L 1
66016 _ACEOF
66019 done
66028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
66029 $as_echo_n "checking for modfl declaration... " >&6; }
66030 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
66031 if ${glibcxx_cv_func_modfl_use+:} false; then :
66032 $as_echo_n "(cached) " >&6
66033 else
66036 ac_ext=cpp
66037 ac_cpp='$CXXCPP $CPPFLAGS'
66038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66043 /* end confdefs.h. */
66044 #include <math.h>
66046 main ()
66048 modfl(0, 0);
66050 return 0;
66052 _ACEOF
66053 if ac_fn_cxx_try_compile "$LINENO"; then :
66054 glibcxx_cv_func_modfl_use=yes
66055 else
66056 glibcxx_cv_func_modfl_use=no
66058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66059 ac_ext=c
66060 ac_cpp='$CPP $CPPFLAGS'
66061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
66070 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
66072 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
66073 for ac_func in modfl
66074 do :
66075 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
66076 if test "x$ac_cv_func_modfl" = xyes; then :
66077 cat >>confdefs.h <<_ACEOF
66078 #define HAVE_MODFL 1
66079 _ACEOF
66082 done
66084 else
66086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
66087 $as_echo_n "checking for _modfl declaration... " >&6; }
66088 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
66089 if ${glibcxx_cv_func__modfl_use+:} false; then :
66090 $as_echo_n "(cached) " >&6
66091 else
66094 ac_ext=cpp
66095 ac_cpp='$CXXCPP $CPPFLAGS'
66096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66101 /* end confdefs.h. */
66102 #include <math.h>
66104 main ()
66106 _modfl(0, 0);
66108 return 0;
66110 _ACEOF
66111 if ac_fn_cxx_try_compile "$LINENO"; then :
66112 glibcxx_cv_func__modfl_use=yes
66113 else
66114 glibcxx_cv_func__modfl_use=no
66116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66117 ac_ext=c
66118 ac_cpp='$CPP $CPPFLAGS'
66119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
66128 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
66130 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
66131 for ac_func in _modfl
66132 do :
66133 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
66134 if test "x$ac_cv_func__modfl" = xyes; then :
66135 cat >>confdefs.h <<_ACEOF
66136 #define HAVE__MODFL 1
66137 _ACEOF
66140 done
66149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
66150 $as_echo_n "checking for powl declaration... " >&6; }
66151 if test x${glibcxx_cv_func_powl_use+set} != xset; then
66152 if ${glibcxx_cv_func_powl_use+:} false; then :
66153 $as_echo_n "(cached) " >&6
66154 else
66157 ac_ext=cpp
66158 ac_cpp='$CXXCPP $CPPFLAGS'
66159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66164 /* end confdefs.h. */
66165 #include <math.h>
66167 main ()
66169 powl(0, 0);
66171 return 0;
66173 _ACEOF
66174 if ac_fn_cxx_try_compile "$LINENO"; then :
66175 glibcxx_cv_func_powl_use=yes
66176 else
66177 glibcxx_cv_func_powl_use=no
66179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66180 ac_ext=c
66181 ac_cpp='$CPP $CPPFLAGS'
66182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
66191 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
66193 if test x$glibcxx_cv_func_powl_use = x"yes"; then
66194 for ac_func in powl
66195 do :
66196 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
66197 if test "x$ac_cv_func_powl" = xyes; then :
66198 cat >>confdefs.h <<_ACEOF
66199 #define HAVE_POWL 1
66200 _ACEOF
66203 done
66205 else
66207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
66208 $as_echo_n "checking for _powl declaration... " >&6; }
66209 if test x${glibcxx_cv_func__powl_use+set} != xset; then
66210 if ${glibcxx_cv_func__powl_use+:} false; then :
66211 $as_echo_n "(cached) " >&6
66212 else
66215 ac_ext=cpp
66216 ac_cpp='$CXXCPP $CPPFLAGS'
66217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66222 /* end confdefs.h. */
66223 #include <math.h>
66225 main ()
66227 _powl(0, 0);
66229 return 0;
66231 _ACEOF
66232 if ac_fn_cxx_try_compile "$LINENO"; then :
66233 glibcxx_cv_func__powl_use=yes
66234 else
66235 glibcxx_cv_func__powl_use=no
66237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66238 ac_ext=c
66239 ac_cpp='$CPP $CPPFLAGS'
66240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
66249 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
66251 if test x$glibcxx_cv_func__powl_use = x"yes"; then
66252 for ac_func in _powl
66253 do :
66254 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
66255 if test "x$ac_cv_func__powl" = xyes; then :
66256 cat >>confdefs.h <<_ACEOF
66257 #define HAVE__POWL 1
66258 _ACEOF
66261 done
66270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
66271 $as_echo_n "checking for sqrtl declaration... " >&6; }
66272 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
66273 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
66274 $as_echo_n "(cached) " >&6
66275 else
66278 ac_ext=cpp
66279 ac_cpp='$CXXCPP $CPPFLAGS'
66280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66285 /* end confdefs.h. */
66286 #include <math.h>
66287 #ifdef HAVE_IEEEFP_H
66288 #include <ieeefp.h>
66289 #endif
66292 main ()
66294 sqrtl(0);
66296 return 0;
66298 _ACEOF
66299 if ac_fn_cxx_try_compile "$LINENO"; then :
66300 glibcxx_cv_func_sqrtl_use=yes
66301 else
66302 glibcxx_cv_func_sqrtl_use=no
66304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66305 ac_ext=c
66306 ac_cpp='$CPP $CPPFLAGS'
66307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
66316 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
66318 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
66319 for ac_func in sqrtl
66320 do :
66321 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
66322 if test "x$ac_cv_func_sqrtl" = xyes; then :
66323 cat >>confdefs.h <<_ACEOF
66324 #define HAVE_SQRTL 1
66325 _ACEOF
66328 done
66330 else
66332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
66333 $as_echo_n "checking for _sqrtl declaration... " >&6; }
66334 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
66335 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
66336 $as_echo_n "(cached) " >&6
66337 else
66340 ac_ext=cpp
66341 ac_cpp='$CXXCPP $CPPFLAGS'
66342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66347 /* end confdefs.h. */
66348 #include <math.h>
66349 #ifdef HAVE_IEEEFP_H
66350 #include <ieeefp.h>
66351 #endif
66354 main ()
66356 _sqrtl(0);
66358 return 0;
66360 _ACEOF
66361 if ac_fn_cxx_try_compile "$LINENO"; then :
66362 glibcxx_cv_func__sqrtl_use=yes
66363 else
66364 glibcxx_cv_func__sqrtl_use=no
66366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66367 ac_ext=c
66368 ac_cpp='$CPP $CPPFLAGS'
66369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
66378 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
66380 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
66381 for ac_func in _sqrtl
66382 do :
66383 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
66384 if test "x$ac_cv_func__sqrtl" = xyes; then :
66385 cat >>confdefs.h <<_ACEOF
66386 #define HAVE__SQRTL 1
66387 _ACEOF
66390 done
66399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
66400 $as_echo_n "checking for sincosl declaration... " >&6; }
66401 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
66402 if ${glibcxx_cv_func_sincosl_use+:} false; then :
66403 $as_echo_n "(cached) " >&6
66404 else
66407 ac_ext=cpp
66408 ac_cpp='$CXXCPP $CPPFLAGS'
66409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66414 /* end confdefs.h. */
66415 #include <math.h>
66417 main ()
66419 sincosl(0, 0, 0);
66421 return 0;
66423 _ACEOF
66424 if ac_fn_cxx_try_compile "$LINENO"; then :
66425 glibcxx_cv_func_sincosl_use=yes
66426 else
66427 glibcxx_cv_func_sincosl_use=no
66429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66430 ac_ext=c
66431 ac_cpp='$CPP $CPPFLAGS'
66432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
66441 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
66443 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
66444 for ac_func in sincosl
66445 do :
66446 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
66447 if test "x$ac_cv_func_sincosl" = xyes; then :
66448 cat >>confdefs.h <<_ACEOF
66449 #define HAVE_SINCOSL 1
66450 _ACEOF
66453 done
66455 else
66457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
66458 $as_echo_n "checking for _sincosl declaration... " >&6; }
66459 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
66460 if ${glibcxx_cv_func__sincosl_use+:} false; then :
66461 $as_echo_n "(cached) " >&6
66462 else
66465 ac_ext=cpp
66466 ac_cpp='$CXXCPP $CPPFLAGS'
66467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66472 /* end confdefs.h. */
66473 #include <math.h>
66475 main ()
66477 _sincosl(0, 0, 0);
66479 return 0;
66481 _ACEOF
66482 if ac_fn_cxx_try_compile "$LINENO"; then :
66483 glibcxx_cv_func__sincosl_use=yes
66484 else
66485 glibcxx_cv_func__sincosl_use=no
66487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66488 ac_ext=c
66489 ac_cpp='$CPP $CPPFLAGS'
66490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
66499 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
66501 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
66502 for ac_func in _sincosl
66503 do :
66504 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
66505 if test "x$ac_cv_func__sincosl" = xyes; then :
66506 cat >>confdefs.h <<_ACEOF
66507 #define HAVE__SINCOSL 1
66508 _ACEOF
66511 done
66520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
66521 $as_echo_n "checking for finitel declaration... " >&6; }
66522 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
66523 if ${glibcxx_cv_func_finitel_use+:} false; then :
66524 $as_echo_n "(cached) " >&6
66525 else
66528 ac_ext=cpp
66529 ac_cpp='$CXXCPP $CPPFLAGS'
66530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66535 /* end confdefs.h. */
66536 #include <math.h>
66537 #ifdef HAVE_IEEEFP_H
66538 #include <ieeefp.h>
66539 #endif
66542 main ()
66544 finitel(0);
66546 return 0;
66548 _ACEOF
66549 if ac_fn_cxx_try_compile "$LINENO"; then :
66550 glibcxx_cv_func_finitel_use=yes
66551 else
66552 glibcxx_cv_func_finitel_use=no
66554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66555 ac_ext=c
66556 ac_cpp='$CPP $CPPFLAGS'
66557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
66566 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
66568 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
66569 for ac_func in finitel
66570 do :
66571 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
66572 if test "x$ac_cv_func_finitel" = xyes; then :
66573 cat >>confdefs.h <<_ACEOF
66574 #define HAVE_FINITEL 1
66575 _ACEOF
66578 done
66580 else
66582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
66583 $as_echo_n "checking for _finitel declaration... " >&6; }
66584 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
66585 if ${glibcxx_cv_func__finitel_use+:} false; then :
66586 $as_echo_n "(cached) " >&6
66587 else
66590 ac_ext=cpp
66591 ac_cpp='$CXXCPP $CPPFLAGS'
66592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66597 /* end confdefs.h. */
66598 #include <math.h>
66599 #ifdef HAVE_IEEEFP_H
66600 #include <ieeefp.h>
66601 #endif
66604 main ()
66606 _finitel(0);
66608 return 0;
66610 _ACEOF
66611 if ac_fn_cxx_try_compile "$LINENO"; then :
66612 glibcxx_cv_func__finitel_use=yes
66613 else
66614 glibcxx_cv_func__finitel_use=no
66616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66617 ac_ext=c
66618 ac_cpp='$CPP $CPPFLAGS'
66619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
66628 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
66630 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
66631 for ac_func in _finitel
66632 do :
66633 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
66634 if test "x$ac_cv_func__finitel" = xyes; then :
66635 cat >>confdefs.h <<_ACEOF
66636 #define HAVE__FINITEL 1
66637 _ACEOF
66640 done
66648 LIBS="$ac_save_LIBS"
66649 CXXFLAGS="$ac_save_CXXFLAGS"
66652 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66653 ac_save_CXXFLAGS="$CXXFLAGS"
66654 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
66658 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
66659 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
66660 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
66661 $as_echo_n "(cached) " >&6
66662 else
66665 ac_ext=cpp
66666 ac_cpp='$CXXCPP $CPPFLAGS'
66667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66672 /* end confdefs.h. */
66673 #include <stdlib.h>
66675 main ()
66677 at_quick_exit(0);
66679 return 0;
66681 _ACEOF
66682 if ac_fn_cxx_try_compile "$LINENO"; then :
66683 glibcxx_cv_func_at_quick_exit_use=yes
66684 else
66685 glibcxx_cv_func_at_quick_exit_use=no
66687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66688 ac_ext=c
66689 ac_cpp='$CPP $CPPFLAGS'
66690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
66699 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
66700 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
66701 for ac_func in at_quick_exit
66702 do :
66703 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
66704 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
66705 cat >>confdefs.h <<_ACEOF
66706 #define HAVE_AT_QUICK_EXIT 1
66707 _ACEOF
66710 done
66715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
66716 $as_echo_n "checking for quick_exit declaration... " >&6; }
66717 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
66718 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
66719 $as_echo_n "(cached) " >&6
66720 else
66723 ac_ext=cpp
66724 ac_cpp='$CXXCPP $CPPFLAGS'
66725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66730 /* end confdefs.h. */
66731 #include <stdlib.h>
66733 main ()
66735 quick_exit(0);
66737 return 0;
66739 _ACEOF
66740 if ac_fn_cxx_try_compile "$LINENO"; then :
66741 glibcxx_cv_func_quick_exit_use=yes
66742 else
66743 glibcxx_cv_func_quick_exit_use=no
66745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66746 ac_ext=c
66747 ac_cpp='$CPP $CPPFLAGS'
66748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
66757 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
66758 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
66759 for ac_func in quick_exit
66760 do :
66761 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
66762 if test "x$ac_cv_func_quick_exit" = xyes; then :
66763 cat >>confdefs.h <<_ACEOF
66764 #define HAVE_QUICK_EXIT 1
66765 _ACEOF
66768 done
66773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
66774 $as_echo_n "checking for strtold declaration... " >&6; }
66775 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
66776 if ${glibcxx_cv_func_strtold_use+:} false; then :
66777 $as_echo_n "(cached) " >&6
66778 else
66781 ac_ext=cpp
66782 ac_cpp='$CXXCPP $CPPFLAGS'
66783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66788 /* end confdefs.h. */
66789 #include <stdlib.h>
66791 main ()
66793 strtold(0, 0);
66795 return 0;
66797 _ACEOF
66798 if ac_fn_cxx_try_compile "$LINENO"; then :
66799 glibcxx_cv_func_strtold_use=yes
66800 else
66801 glibcxx_cv_func_strtold_use=no
66803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66804 ac_ext=c
66805 ac_cpp='$CPP $CPPFLAGS'
66806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
66815 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
66816 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
66817 for ac_func in strtold
66818 do :
66819 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
66820 if test "x$ac_cv_func_strtold" = xyes; then :
66821 cat >>confdefs.h <<_ACEOF
66822 #define HAVE_STRTOLD 1
66823 _ACEOF
66826 done
66833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
66834 $as_echo_n "checking for strtof declaration... " >&6; }
66835 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
66836 if ${glibcxx_cv_func_strtof_use+:} false; then :
66837 $as_echo_n "(cached) " >&6
66838 else
66841 ac_ext=cpp
66842 ac_cpp='$CXXCPP $CPPFLAGS'
66843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66848 /* end confdefs.h. */
66849 #include <stdlib.h>
66851 main ()
66853 strtof(0, 0);
66855 return 0;
66857 _ACEOF
66858 if ac_fn_cxx_try_compile "$LINENO"; then :
66859 glibcxx_cv_func_strtof_use=yes
66860 else
66861 glibcxx_cv_func_strtof_use=no
66863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66864 ac_ext=c
66865 ac_cpp='$CPP $CPPFLAGS'
66866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
66875 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
66876 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
66877 for ac_func in strtof
66878 do :
66879 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
66880 if test "x$ac_cv_func_strtof" = xyes; then :
66881 cat >>confdefs.h <<_ACEOF
66882 #define HAVE_STRTOF 1
66883 _ACEOF
66886 done
66893 CXXFLAGS="$ac_save_CXXFLAGS"
66896 *-tpf)
66897 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66898 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
66900 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
66902 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
66904 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
66906 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
66908 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
66910 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
66912 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
66914 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
66916 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
66918 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
66920 if test x"long_double_math_on_this_cpu" = x"yes"; then
66921 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
66923 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
66925 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
66927 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
66931 *-*vms*)
66932 # Check for available headers.
66933 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
66935 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66936 ac_save_CXXFLAGS="$CXXFLAGS"
66937 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
66940 $as_echo_n "checking for sin in -lm... " >&6; }
66941 if ${ac_cv_lib_m_sin+:} false; then :
66942 $as_echo_n "(cached) " >&6
66943 else
66944 ac_check_lib_save_LIBS=$LIBS
66945 LIBS="-lm $LIBS"
66946 if test x$gcc_no_link = xyes; then
66947 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66950 /* end confdefs.h. */
66952 /* Override any GCC internal prototype to avoid an error.
66953 Use char because int might match the return type of a GCC
66954 builtin and then its argument prototype would still apply. */
66955 #ifdef __cplusplus
66956 extern "C"
66957 #endif
66958 char sin ();
66960 main ()
66962 return sin ();
66964 return 0;
66966 _ACEOF
66967 if ac_fn_c_try_link "$LINENO"; then :
66968 ac_cv_lib_m_sin=yes
66969 else
66970 ac_cv_lib_m_sin=no
66972 rm -f core conftest.err conftest.$ac_objext \
66973 conftest$ac_exeext conftest.$ac_ext
66974 LIBS=$ac_check_lib_save_LIBS
66976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
66977 $as_echo "$ac_cv_lib_m_sin" >&6; }
66978 if test "x$ac_cv_lib_m_sin" = xyes; then :
66979 libm="-lm"
66982 ac_save_LIBS="$LIBS"
66983 LIBS="$LIBS $libm"
66987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
66988 $as_echo_n "checking for isinf declaration... " >&6; }
66989 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
66990 if ${glibcxx_cv_func_isinf_use+:} false; then :
66991 $as_echo_n "(cached) " >&6
66992 else
66995 ac_ext=cpp
66996 ac_cpp='$CXXCPP $CPPFLAGS'
66997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67002 /* end confdefs.h. */
67003 #include <math.h>
67004 #ifdef HAVE_IEEEFP_H
67005 #include <ieeefp.h>
67006 #endif
67009 main ()
67011 isinf(0);
67013 return 0;
67015 _ACEOF
67016 if ac_fn_cxx_try_compile "$LINENO"; then :
67017 glibcxx_cv_func_isinf_use=yes
67018 else
67019 glibcxx_cv_func_isinf_use=no
67021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67022 ac_ext=c
67023 ac_cpp='$CPP $CPPFLAGS'
67024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
67033 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
67035 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
67036 for ac_func in isinf
67037 do :
67038 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
67039 if test "x$ac_cv_func_isinf" = xyes; then :
67040 cat >>confdefs.h <<_ACEOF
67041 #define HAVE_ISINF 1
67042 _ACEOF
67045 done
67047 else
67049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
67050 $as_echo_n "checking for _isinf declaration... " >&6; }
67051 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
67052 if ${glibcxx_cv_func__isinf_use+:} false; then :
67053 $as_echo_n "(cached) " >&6
67054 else
67057 ac_ext=cpp
67058 ac_cpp='$CXXCPP $CPPFLAGS'
67059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67064 /* end confdefs.h. */
67065 #include <math.h>
67066 #ifdef HAVE_IEEEFP_H
67067 #include <ieeefp.h>
67068 #endif
67071 main ()
67073 _isinf(0);
67075 return 0;
67077 _ACEOF
67078 if ac_fn_cxx_try_compile "$LINENO"; then :
67079 glibcxx_cv_func__isinf_use=yes
67080 else
67081 glibcxx_cv_func__isinf_use=no
67083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67084 ac_ext=c
67085 ac_cpp='$CPP $CPPFLAGS'
67086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
67095 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
67097 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
67098 for ac_func in _isinf
67099 do :
67100 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
67101 if test "x$ac_cv_func__isinf" = xyes; then :
67102 cat >>confdefs.h <<_ACEOF
67103 #define HAVE__ISINF 1
67104 _ACEOF
67107 done
67116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
67117 $as_echo_n "checking for isnan declaration... " >&6; }
67118 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
67119 if ${glibcxx_cv_func_isnan_use+:} false; then :
67120 $as_echo_n "(cached) " >&6
67121 else
67124 ac_ext=cpp
67125 ac_cpp='$CXXCPP $CPPFLAGS'
67126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67131 /* end confdefs.h. */
67132 #include <math.h>
67133 #ifdef HAVE_IEEEFP_H
67134 #include <ieeefp.h>
67135 #endif
67138 main ()
67140 isnan(0);
67142 return 0;
67144 _ACEOF
67145 if ac_fn_cxx_try_compile "$LINENO"; then :
67146 glibcxx_cv_func_isnan_use=yes
67147 else
67148 glibcxx_cv_func_isnan_use=no
67150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67151 ac_ext=c
67152 ac_cpp='$CPP $CPPFLAGS'
67153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
67162 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
67164 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
67165 for ac_func in isnan
67166 do :
67167 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
67168 if test "x$ac_cv_func_isnan" = xyes; then :
67169 cat >>confdefs.h <<_ACEOF
67170 #define HAVE_ISNAN 1
67171 _ACEOF
67174 done
67176 else
67178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
67179 $as_echo_n "checking for _isnan declaration... " >&6; }
67180 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
67181 if ${glibcxx_cv_func__isnan_use+:} false; then :
67182 $as_echo_n "(cached) " >&6
67183 else
67186 ac_ext=cpp
67187 ac_cpp='$CXXCPP $CPPFLAGS'
67188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67193 /* end confdefs.h. */
67194 #include <math.h>
67195 #ifdef HAVE_IEEEFP_H
67196 #include <ieeefp.h>
67197 #endif
67200 main ()
67202 _isnan(0);
67204 return 0;
67206 _ACEOF
67207 if ac_fn_cxx_try_compile "$LINENO"; then :
67208 glibcxx_cv_func__isnan_use=yes
67209 else
67210 glibcxx_cv_func__isnan_use=no
67212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67213 ac_ext=c
67214 ac_cpp='$CPP $CPPFLAGS'
67215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
67224 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
67226 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
67227 for ac_func in _isnan
67228 do :
67229 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
67230 if test "x$ac_cv_func__isnan" = xyes; then :
67231 cat >>confdefs.h <<_ACEOF
67232 #define HAVE__ISNAN 1
67233 _ACEOF
67236 done
67245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
67246 $as_echo_n "checking for finite declaration... " >&6; }
67247 if test x${glibcxx_cv_func_finite_use+set} != xset; then
67248 if ${glibcxx_cv_func_finite_use+:} false; then :
67249 $as_echo_n "(cached) " >&6
67250 else
67253 ac_ext=cpp
67254 ac_cpp='$CXXCPP $CPPFLAGS'
67255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67260 /* end confdefs.h. */
67261 #include <math.h>
67262 #ifdef HAVE_IEEEFP_H
67263 #include <ieeefp.h>
67264 #endif
67267 main ()
67269 finite(0);
67271 return 0;
67273 _ACEOF
67274 if ac_fn_cxx_try_compile "$LINENO"; then :
67275 glibcxx_cv_func_finite_use=yes
67276 else
67277 glibcxx_cv_func_finite_use=no
67279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67280 ac_ext=c
67281 ac_cpp='$CPP $CPPFLAGS'
67282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
67291 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
67293 if test x$glibcxx_cv_func_finite_use = x"yes"; then
67294 for ac_func in finite
67295 do :
67296 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
67297 if test "x$ac_cv_func_finite" = xyes; then :
67298 cat >>confdefs.h <<_ACEOF
67299 #define HAVE_FINITE 1
67300 _ACEOF
67303 done
67305 else
67307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
67308 $as_echo_n "checking for _finite declaration... " >&6; }
67309 if test x${glibcxx_cv_func__finite_use+set} != xset; then
67310 if ${glibcxx_cv_func__finite_use+:} false; then :
67311 $as_echo_n "(cached) " >&6
67312 else
67315 ac_ext=cpp
67316 ac_cpp='$CXXCPP $CPPFLAGS'
67317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67322 /* end confdefs.h. */
67323 #include <math.h>
67324 #ifdef HAVE_IEEEFP_H
67325 #include <ieeefp.h>
67326 #endif
67329 main ()
67331 _finite(0);
67333 return 0;
67335 _ACEOF
67336 if ac_fn_cxx_try_compile "$LINENO"; then :
67337 glibcxx_cv_func__finite_use=yes
67338 else
67339 glibcxx_cv_func__finite_use=no
67341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67342 ac_ext=c
67343 ac_cpp='$CPP $CPPFLAGS'
67344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
67353 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
67355 if test x$glibcxx_cv_func__finite_use = x"yes"; then
67356 for ac_func in _finite
67357 do :
67358 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
67359 if test "x$ac_cv_func__finite" = xyes; then :
67360 cat >>confdefs.h <<_ACEOF
67361 #define HAVE__FINITE 1
67362 _ACEOF
67365 done
67374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
67375 $as_echo_n "checking for sincos declaration... " >&6; }
67376 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
67377 if ${glibcxx_cv_func_sincos_use+:} false; then :
67378 $as_echo_n "(cached) " >&6
67379 else
67382 ac_ext=cpp
67383 ac_cpp='$CXXCPP $CPPFLAGS'
67384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67389 /* end confdefs.h. */
67390 #include <math.h>
67392 main ()
67394 sincos(0, 0, 0);
67396 return 0;
67398 _ACEOF
67399 if ac_fn_cxx_try_compile "$LINENO"; then :
67400 glibcxx_cv_func_sincos_use=yes
67401 else
67402 glibcxx_cv_func_sincos_use=no
67404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67405 ac_ext=c
67406 ac_cpp='$CPP $CPPFLAGS'
67407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
67416 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
67418 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
67419 for ac_func in sincos
67420 do :
67421 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
67422 if test "x$ac_cv_func_sincos" = xyes; then :
67423 cat >>confdefs.h <<_ACEOF
67424 #define HAVE_SINCOS 1
67425 _ACEOF
67428 done
67430 else
67432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
67433 $as_echo_n "checking for _sincos declaration... " >&6; }
67434 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67435 if ${glibcxx_cv_func__sincos_use+:} false; then :
67436 $as_echo_n "(cached) " >&6
67437 else
67440 ac_ext=cpp
67441 ac_cpp='$CXXCPP $CPPFLAGS'
67442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67447 /* end confdefs.h. */
67448 #include <math.h>
67450 main ()
67452 _sincos(0, 0, 0);
67454 return 0;
67456 _ACEOF
67457 if ac_fn_cxx_try_compile "$LINENO"; then :
67458 glibcxx_cv_func__sincos_use=yes
67459 else
67460 glibcxx_cv_func__sincos_use=no
67462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67463 ac_ext=c
67464 ac_cpp='$CPP $CPPFLAGS'
67465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
67474 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
67476 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67477 for ac_func in _sincos
67478 do :
67479 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
67480 if test "x$ac_cv_func__sincos" = xyes; then :
67481 cat >>confdefs.h <<_ACEOF
67482 #define HAVE__SINCOS 1
67483 _ACEOF
67486 done
67495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
67496 $as_echo_n "checking for fpclass declaration... " >&6; }
67497 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67498 if ${glibcxx_cv_func_fpclass_use+:} false; then :
67499 $as_echo_n "(cached) " >&6
67500 else
67503 ac_ext=cpp
67504 ac_cpp='$CXXCPP $CPPFLAGS'
67505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67510 /* end confdefs.h. */
67511 #include <math.h>
67512 #ifdef HAVE_IEEEFP_H
67513 #include <ieeefp.h>
67514 #endif
67517 main ()
67519 fpclass(0);
67521 return 0;
67523 _ACEOF
67524 if ac_fn_cxx_try_compile "$LINENO"; then :
67525 glibcxx_cv_func_fpclass_use=yes
67526 else
67527 glibcxx_cv_func_fpclass_use=no
67529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67530 ac_ext=c
67531 ac_cpp='$CPP $CPPFLAGS'
67532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67541 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67543 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67544 for ac_func in fpclass
67545 do :
67546 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67547 if test "x$ac_cv_func_fpclass" = xyes; then :
67548 cat >>confdefs.h <<_ACEOF
67549 #define HAVE_FPCLASS 1
67550 _ACEOF
67553 done
67555 else
67557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67558 $as_echo_n "checking for _fpclass declaration... " >&6; }
67559 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67560 if ${glibcxx_cv_func__fpclass_use+:} false; then :
67561 $as_echo_n "(cached) " >&6
67562 else
67565 ac_ext=cpp
67566 ac_cpp='$CXXCPP $CPPFLAGS'
67567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67572 /* end confdefs.h. */
67573 #include <math.h>
67574 #ifdef HAVE_IEEEFP_H
67575 #include <ieeefp.h>
67576 #endif
67579 main ()
67581 _fpclass(0);
67583 return 0;
67585 _ACEOF
67586 if ac_fn_cxx_try_compile "$LINENO"; then :
67587 glibcxx_cv_func__fpclass_use=yes
67588 else
67589 glibcxx_cv_func__fpclass_use=no
67591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67592 ac_ext=c
67593 ac_cpp='$CPP $CPPFLAGS'
67594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67603 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67605 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67606 for ac_func in _fpclass
67607 do :
67608 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67609 if test "x$ac_cv_func__fpclass" = xyes; then :
67610 cat >>confdefs.h <<_ACEOF
67611 #define HAVE__FPCLASS 1
67612 _ACEOF
67615 done
67624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67625 $as_echo_n "checking for qfpclass declaration... " >&6; }
67626 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67627 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
67628 $as_echo_n "(cached) " >&6
67629 else
67632 ac_ext=cpp
67633 ac_cpp='$CXXCPP $CPPFLAGS'
67634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67639 /* end confdefs.h. */
67640 #include <math.h>
67641 #ifdef HAVE_IEEEFP_H
67642 #include <ieeefp.h>
67643 #endif
67646 main ()
67648 qfpclass(0);
67650 return 0;
67652 _ACEOF
67653 if ac_fn_cxx_try_compile "$LINENO"; then :
67654 glibcxx_cv_func_qfpclass_use=yes
67655 else
67656 glibcxx_cv_func_qfpclass_use=no
67658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67659 ac_ext=c
67660 ac_cpp='$CPP $CPPFLAGS'
67661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67670 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67672 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67673 for ac_func in qfpclass
67674 do :
67675 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67676 if test "x$ac_cv_func_qfpclass" = xyes; then :
67677 cat >>confdefs.h <<_ACEOF
67678 #define HAVE_QFPCLASS 1
67679 _ACEOF
67682 done
67684 else
67686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67687 $as_echo_n "checking for _qfpclass declaration... " >&6; }
67688 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67689 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
67690 $as_echo_n "(cached) " >&6
67691 else
67694 ac_ext=cpp
67695 ac_cpp='$CXXCPP $CPPFLAGS'
67696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67701 /* end confdefs.h. */
67702 #include <math.h>
67703 #ifdef HAVE_IEEEFP_H
67704 #include <ieeefp.h>
67705 #endif
67708 main ()
67710 _qfpclass(0);
67712 return 0;
67714 _ACEOF
67715 if ac_fn_cxx_try_compile "$LINENO"; then :
67716 glibcxx_cv_func__qfpclass_use=yes
67717 else
67718 glibcxx_cv_func__qfpclass_use=no
67720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67721 ac_ext=c
67722 ac_cpp='$CPP $CPPFLAGS'
67723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67732 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67734 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67735 for ac_func in _qfpclass
67736 do :
67737 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67738 if test "x$ac_cv_func__qfpclass" = xyes; then :
67739 cat >>confdefs.h <<_ACEOF
67740 #define HAVE__QFPCLASS 1
67741 _ACEOF
67744 done
67753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67754 $as_echo_n "checking for hypot declaration... " >&6; }
67755 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67756 if ${glibcxx_cv_func_hypot_use+:} false; then :
67757 $as_echo_n "(cached) " >&6
67758 else
67761 ac_ext=cpp
67762 ac_cpp='$CXXCPP $CPPFLAGS'
67763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67768 /* end confdefs.h. */
67769 #include <math.h>
67771 main ()
67773 hypot(0, 0);
67775 return 0;
67777 _ACEOF
67778 if ac_fn_cxx_try_compile "$LINENO"; then :
67779 glibcxx_cv_func_hypot_use=yes
67780 else
67781 glibcxx_cv_func_hypot_use=no
67783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67784 ac_ext=c
67785 ac_cpp='$CPP $CPPFLAGS'
67786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67795 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67797 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67798 for ac_func in hypot
67799 do :
67800 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67801 if test "x$ac_cv_func_hypot" = xyes; then :
67802 cat >>confdefs.h <<_ACEOF
67803 #define HAVE_HYPOT 1
67804 _ACEOF
67807 done
67809 else
67811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67812 $as_echo_n "checking for _hypot declaration... " >&6; }
67813 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67814 if ${glibcxx_cv_func__hypot_use+:} false; then :
67815 $as_echo_n "(cached) " >&6
67816 else
67819 ac_ext=cpp
67820 ac_cpp='$CXXCPP $CPPFLAGS'
67821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67826 /* end confdefs.h. */
67827 #include <math.h>
67829 main ()
67831 _hypot(0, 0);
67833 return 0;
67835 _ACEOF
67836 if ac_fn_cxx_try_compile "$LINENO"; then :
67837 glibcxx_cv_func__hypot_use=yes
67838 else
67839 glibcxx_cv_func__hypot_use=no
67841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67842 ac_ext=c
67843 ac_cpp='$CPP $CPPFLAGS'
67844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67853 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67855 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67856 for ac_func in _hypot
67857 do :
67858 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67859 if test "x$ac_cv_func__hypot" = xyes; then :
67860 cat >>confdefs.h <<_ACEOF
67861 #define HAVE__HYPOT 1
67862 _ACEOF
67865 done
67874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67875 $as_echo_n "checking for float trig functions... " >&6; }
67876 if ${glibcxx_cv_func_float_trig_use+:} false; then :
67877 $as_echo_n "(cached) " >&6
67878 else
67881 ac_ext=cpp
67882 ac_cpp='$CXXCPP $CPPFLAGS'
67883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67888 /* end confdefs.h. */
67889 #include <math.h>
67891 main ()
67893 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67895 return 0;
67897 _ACEOF
67898 if ac_fn_cxx_try_compile "$LINENO"; then :
67899 glibcxx_cv_func_float_trig_use=yes
67900 else
67901 glibcxx_cv_func_float_trig_use=no
67903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67904 ac_ext=c
67905 ac_cpp='$CPP $CPPFLAGS'
67906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67913 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67914 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67915 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67916 do :
67917 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67918 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67919 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67920 cat >>confdefs.h <<_ACEOF
67921 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67922 _ACEOF
67925 done
67927 else
67928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67929 $as_echo_n "checking for _float trig functions... " >&6; }
67930 if ${glibcxx_cv_func__float_trig_use+:} false; then :
67931 $as_echo_n "(cached) " >&6
67932 else
67935 ac_ext=cpp
67936 ac_cpp='$CXXCPP $CPPFLAGS'
67937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67942 /* end confdefs.h. */
67943 #include <math.h>
67945 main ()
67947 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67949 return 0;
67951 _ACEOF
67952 if ac_fn_cxx_try_compile "$LINENO"; then :
67953 glibcxx_cv_func__float_trig_use=yes
67954 else
67955 glibcxx_cv_func__float_trig_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
67966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
67967 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
67968 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67969 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67970 do :
67971 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67972 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67973 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67974 cat >>confdefs.h <<_ACEOF
67975 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67976 _ACEOF
67979 done
67988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
67989 $as_echo_n "checking for float round functions... " >&6; }
67990 if ${glibcxx_cv_func_float_round_use+:} false; then :
67991 $as_echo_n "(cached) " >&6
67992 else
67995 ac_ext=cpp
67996 ac_cpp='$CXXCPP $CPPFLAGS'
67997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68002 /* end confdefs.h. */
68003 #include <math.h>
68005 main ()
68007 ceilf (0); floorf (0);
68009 return 0;
68011 _ACEOF
68012 if ac_fn_cxx_try_compile "$LINENO"; then :
68013 glibcxx_cv_func_float_round_use=yes
68014 else
68015 glibcxx_cv_func_float_round_use=no
68017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68018 ac_ext=c
68019 ac_cpp='$CPP $CPPFLAGS'
68020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
68027 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
68028 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
68029 for ac_func in ceilf floorf
68030 do :
68031 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68032 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68033 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68034 cat >>confdefs.h <<_ACEOF
68035 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68036 _ACEOF
68039 done
68041 else
68042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
68043 $as_echo_n "checking for _float round functions... " >&6; }
68044 if ${glibcxx_cv_func__float_round_use+:} false; then :
68045 $as_echo_n "(cached) " >&6
68046 else
68049 ac_ext=cpp
68050 ac_cpp='$CXXCPP $CPPFLAGS'
68051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68056 /* end confdefs.h. */
68057 #include <math.h>
68059 main ()
68061 _ceilf (0); _floorf (0);
68063 return 0;
68065 _ACEOF
68066 if ac_fn_cxx_try_compile "$LINENO"; then :
68067 glibcxx_cv_func__float_round_use=yes
68068 else
68069 glibcxx_cv_func__float_round_use=no
68071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68072 ac_ext=c
68073 ac_cpp='$CPP $CPPFLAGS'
68074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
68081 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
68082 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
68083 for ac_func in _ceilf _floorf
68084 do :
68085 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68086 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68087 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68088 cat >>confdefs.h <<_ACEOF
68089 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68090 _ACEOF
68093 done
68103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
68104 $as_echo_n "checking for expf declaration... " >&6; }
68105 if test x${glibcxx_cv_func_expf_use+set} != xset; then
68106 if ${glibcxx_cv_func_expf_use+:} false; then :
68107 $as_echo_n "(cached) " >&6
68108 else
68111 ac_ext=cpp
68112 ac_cpp='$CXXCPP $CPPFLAGS'
68113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68118 /* end confdefs.h. */
68119 #include <math.h>
68120 #ifdef HAVE_IEEEFP_H
68121 #include <ieeefp.h>
68122 #endif
68125 main ()
68127 expf(0);
68129 return 0;
68131 _ACEOF
68132 if ac_fn_cxx_try_compile "$LINENO"; then :
68133 glibcxx_cv_func_expf_use=yes
68134 else
68135 glibcxx_cv_func_expf_use=no
68137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68138 ac_ext=c
68139 ac_cpp='$CPP $CPPFLAGS'
68140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
68149 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
68151 if test x$glibcxx_cv_func_expf_use = x"yes"; then
68152 for ac_func in expf
68153 do :
68154 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
68155 if test "x$ac_cv_func_expf" = xyes; then :
68156 cat >>confdefs.h <<_ACEOF
68157 #define HAVE_EXPF 1
68158 _ACEOF
68161 done
68163 else
68165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
68166 $as_echo_n "checking for _expf declaration... " >&6; }
68167 if test x${glibcxx_cv_func__expf_use+set} != xset; then
68168 if ${glibcxx_cv_func__expf_use+:} false; then :
68169 $as_echo_n "(cached) " >&6
68170 else
68173 ac_ext=cpp
68174 ac_cpp='$CXXCPP $CPPFLAGS'
68175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68180 /* end confdefs.h. */
68181 #include <math.h>
68182 #ifdef HAVE_IEEEFP_H
68183 #include <ieeefp.h>
68184 #endif
68187 main ()
68189 _expf(0);
68191 return 0;
68193 _ACEOF
68194 if ac_fn_cxx_try_compile "$LINENO"; then :
68195 glibcxx_cv_func__expf_use=yes
68196 else
68197 glibcxx_cv_func__expf_use=no
68199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68200 ac_ext=c
68201 ac_cpp='$CPP $CPPFLAGS'
68202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
68211 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
68213 if test x$glibcxx_cv_func__expf_use = x"yes"; then
68214 for ac_func in _expf
68215 do :
68216 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
68217 if test "x$ac_cv_func__expf" = xyes; then :
68218 cat >>confdefs.h <<_ACEOF
68219 #define HAVE__EXPF 1
68220 _ACEOF
68223 done
68232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
68233 $as_echo_n "checking for isnanf declaration... " >&6; }
68234 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
68235 if ${glibcxx_cv_func_isnanf_use+:} false; then :
68236 $as_echo_n "(cached) " >&6
68237 else
68240 ac_ext=cpp
68241 ac_cpp='$CXXCPP $CPPFLAGS'
68242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68247 /* end confdefs.h. */
68248 #include <math.h>
68249 #ifdef HAVE_IEEEFP_H
68250 #include <ieeefp.h>
68251 #endif
68254 main ()
68256 isnanf(0);
68258 return 0;
68260 _ACEOF
68261 if ac_fn_cxx_try_compile "$LINENO"; then :
68262 glibcxx_cv_func_isnanf_use=yes
68263 else
68264 glibcxx_cv_func_isnanf_use=no
68266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68267 ac_ext=c
68268 ac_cpp='$CPP $CPPFLAGS'
68269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
68278 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
68280 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68281 for ac_func in isnanf
68282 do :
68283 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
68284 if test "x$ac_cv_func_isnanf" = xyes; then :
68285 cat >>confdefs.h <<_ACEOF
68286 #define HAVE_ISNANF 1
68287 _ACEOF
68290 done
68292 else
68294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
68295 $as_echo_n "checking for _isnanf declaration... " >&6; }
68296 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68297 if ${glibcxx_cv_func__isnanf_use+:} false; then :
68298 $as_echo_n "(cached) " >&6
68299 else
68302 ac_ext=cpp
68303 ac_cpp='$CXXCPP $CPPFLAGS'
68304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68309 /* end confdefs.h. */
68310 #include <math.h>
68311 #ifdef HAVE_IEEEFP_H
68312 #include <ieeefp.h>
68313 #endif
68316 main ()
68318 _isnanf(0);
68320 return 0;
68322 _ACEOF
68323 if ac_fn_cxx_try_compile "$LINENO"; then :
68324 glibcxx_cv_func__isnanf_use=yes
68325 else
68326 glibcxx_cv_func__isnanf_use=no
68328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68329 ac_ext=c
68330 ac_cpp='$CPP $CPPFLAGS'
68331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
68340 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
68342 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68343 for ac_func in _isnanf
68344 do :
68345 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
68346 if test "x$ac_cv_func__isnanf" = xyes; then :
68347 cat >>confdefs.h <<_ACEOF
68348 #define HAVE__ISNANF 1
68349 _ACEOF
68352 done
68361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
68362 $as_echo_n "checking for isinff declaration... " >&6; }
68363 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68364 if ${glibcxx_cv_func_isinff_use+:} false; then :
68365 $as_echo_n "(cached) " >&6
68366 else
68369 ac_ext=cpp
68370 ac_cpp='$CXXCPP $CPPFLAGS'
68371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68376 /* end confdefs.h. */
68377 #include <math.h>
68378 #ifdef HAVE_IEEEFP_H
68379 #include <ieeefp.h>
68380 #endif
68383 main ()
68385 isinff(0);
68387 return 0;
68389 _ACEOF
68390 if ac_fn_cxx_try_compile "$LINENO"; then :
68391 glibcxx_cv_func_isinff_use=yes
68392 else
68393 glibcxx_cv_func_isinff_use=no
68395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68396 ac_ext=c
68397 ac_cpp='$CPP $CPPFLAGS'
68398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
68407 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
68409 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68410 for ac_func in isinff
68411 do :
68412 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
68413 if test "x$ac_cv_func_isinff" = xyes; then :
68414 cat >>confdefs.h <<_ACEOF
68415 #define HAVE_ISINFF 1
68416 _ACEOF
68419 done
68421 else
68423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
68424 $as_echo_n "checking for _isinff declaration... " >&6; }
68425 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68426 if ${glibcxx_cv_func__isinff_use+:} false; then :
68427 $as_echo_n "(cached) " >&6
68428 else
68431 ac_ext=cpp
68432 ac_cpp='$CXXCPP $CPPFLAGS'
68433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68438 /* end confdefs.h. */
68439 #include <math.h>
68440 #ifdef HAVE_IEEEFP_H
68441 #include <ieeefp.h>
68442 #endif
68445 main ()
68447 _isinff(0);
68449 return 0;
68451 _ACEOF
68452 if ac_fn_cxx_try_compile "$LINENO"; then :
68453 glibcxx_cv_func__isinff_use=yes
68454 else
68455 glibcxx_cv_func__isinff_use=no
68457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68458 ac_ext=c
68459 ac_cpp='$CPP $CPPFLAGS'
68460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
68469 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
68471 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68472 for ac_func in _isinff
68473 do :
68474 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
68475 if test "x$ac_cv_func__isinff" = xyes; then :
68476 cat >>confdefs.h <<_ACEOF
68477 #define HAVE__ISINFF 1
68478 _ACEOF
68481 done
68490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
68491 $as_echo_n "checking for atan2f declaration... " >&6; }
68492 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68493 if ${glibcxx_cv_func_atan2f_use+:} false; then :
68494 $as_echo_n "(cached) " >&6
68495 else
68498 ac_ext=cpp
68499 ac_cpp='$CXXCPP $CPPFLAGS'
68500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68505 /* end confdefs.h. */
68506 #include <math.h>
68508 main ()
68510 atan2f(0, 0);
68512 return 0;
68514 _ACEOF
68515 if ac_fn_cxx_try_compile "$LINENO"; then :
68516 glibcxx_cv_func_atan2f_use=yes
68517 else
68518 glibcxx_cv_func_atan2f_use=no
68520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68521 ac_ext=c
68522 ac_cpp='$CPP $CPPFLAGS'
68523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68532 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68534 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68535 for ac_func in atan2f
68536 do :
68537 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68538 if test "x$ac_cv_func_atan2f" = xyes; then :
68539 cat >>confdefs.h <<_ACEOF
68540 #define HAVE_ATAN2F 1
68541 _ACEOF
68544 done
68546 else
68548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68549 $as_echo_n "checking for _atan2f declaration... " >&6; }
68550 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68551 if ${glibcxx_cv_func__atan2f_use+:} false; then :
68552 $as_echo_n "(cached) " >&6
68553 else
68556 ac_ext=cpp
68557 ac_cpp='$CXXCPP $CPPFLAGS'
68558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68563 /* end confdefs.h. */
68564 #include <math.h>
68566 main ()
68568 _atan2f(0, 0);
68570 return 0;
68572 _ACEOF
68573 if ac_fn_cxx_try_compile "$LINENO"; then :
68574 glibcxx_cv_func__atan2f_use=yes
68575 else
68576 glibcxx_cv_func__atan2f_use=no
68578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68579 ac_ext=c
68580 ac_cpp='$CPP $CPPFLAGS'
68581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68590 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68592 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68593 for ac_func in _atan2f
68594 do :
68595 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68596 if test "x$ac_cv_func__atan2f" = xyes; then :
68597 cat >>confdefs.h <<_ACEOF
68598 #define HAVE__ATAN2F 1
68599 _ACEOF
68602 done
68611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68612 $as_echo_n "checking for fabsf declaration... " >&6; }
68613 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68614 if ${glibcxx_cv_func_fabsf_use+:} false; then :
68615 $as_echo_n "(cached) " >&6
68616 else
68619 ac_ext=cpp
68620 ac_cpp='$CXXCPP $CPPFLAGS'
68621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68626 /* end confdefs.h. */
68627 #include <math.h>
68628 #ifdef HAVE_IEEEFP_H
68629 #include <ieeefp.h>
68630 #endif
68633 main ()
68635 fabsf(0);
68637 return 0;
68639 _ACEOF
68640 if ac_fn_cxx_try_compile "$LINENO"; then :
68641 glibcxx_cv_func_fabsf_use=yes
68642 else
68643 glibcxx_cv_func_fabsf_use=no
68645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68646 ac_ext=c
68647 ac_cpp='$CPP $CPPFLAGS'
68648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68657 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68659 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68660 for ac_func in fabsf
68661 do :
68662 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68663 if test "x$ac_cv_func_fabsf" = xyes; then :
68664 cat >>confdefs.h <<_ACEOF
68665 #define HAVE_FABSF 1
68666 _ACEOF
68669 done
68671 else
68673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68674 $as_echo_n "checking for _fabsf declaration... " >&6; }
68675 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68676 if ${glibcxx_cv_func__fabsf_use+:} false; then :
68677 $as_echo_n "(cached) " >&6
68678 else
68681 ac_ext=cpp
68682 ac_cpp='$CXXCPP $CPPFLAGS'
68683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68688 /* end confdefs.h. */
68689 #include <math.h>
68690 #ifdef HAVE_IEEEFP_H
68691 #include <ieeefp.h>
68692 #endif
68695 main ()
68697 _fabsf(0);
68699 return 0;
68701 _ACEOF
68702 if ac_fn_cxx_try_compile "$LINENO"; then :
68703 glibcxx_cv_func__fabsf_use=yes
68704 else
68705 glibcxx_cv_func__fabsf_use=no
68707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68708 ac_ext=c
68709 ac_cpp='$CPP $CPPFLAGS'
68710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68719 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68721 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68722 for ac_func in _fabsf
68723 do :
68724 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68725 if test "x$ac_cv_func__fabsf" = xyes; then :
68726 cat >>confdefs.h <<_ACEOF
68727 #define HAVE__FABSF 1
68728 _ACEOF
68731 done
68740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68741 $as_echo_n "checking for fmodf declaration... " >&6; }
68742 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68743 if ${glibcxx_cv_func_fmodf_use+:} false; then :
68744 $as_echo_n "(cached) " >&6
68745 else
68748 ac_ext=cpp
68749 ac_cpp='$CXXCPP $CPPFLAGS'
68750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68755 /* end confdefs.h. */
68756 #include <math.h>
68758 main ()
68760 fmodf(0, 0);
68762 return 0;
68764 _ACEOF
68765 if ac_fn_cxx_try_compile "$LINENO"; then :
68766 glibcxx_cv_func_fmodf_use=yes
68767 else
68768 glibcxx_cv_func_fmodf_use=no
68770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68771 ac_ext=c
68772 ac_cpp='$CPP $CPPFLAGS'
68773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68782 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68784 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68785 for ac_func in fmodf
68786 do :
68787 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68788 if test "x$ac_cv_func_fmodf" = xyes; then :
68789 cat >>confdefs.h <<_ACEOF
68790 #define HAVE_FMODF 1
68791 _ACEOF
68794 done
68796 else
68798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68799 $as_echo_n "checking for _fmodf declaration... " >&6; }
68800 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68801 if ${glibcxx_cv_func__fmodf_use+:} false; then :
68802 $as_echo_n "(cached) " >&6
68803 else
68806 ac_ext=cpp
68807 ac_cpp='$CXXCPP $CPPFLAGS'
68808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68813 /* end confdefs.h. */
68814 #include <math.h>
68816 main ()
68818 _fmodf(0, 0);
68820 return 0;
68822 _ACEOF
68823 if ac_fn_cxx_try_compile "$LINENO"; then :
68824 glibcxx_cv_func__fmodf_use=yes
68825 else
68826 glibcxx_cv_func__fmodf_use=no
68828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68829 ac_ext=c
68830 ac_cpp='$CPP $CPPFLAGS'
68831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68840 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68842 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68843 for ac_func in _fmodf
68844 do :
68845 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68846 if test "x$ac_cv_func__fmodf" = xyes; then :
68847 cat >>confdefs.h <<_ACEOF
68848 #define HAVE__FMODF 1
68849 _ACEOF
68852 done
68861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68862 $as_echo_n "checking for frexpf declaration... " >&6; }
68863 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68864 if ${glibcxx_cv_func_frexpf_use+:} false; then :
68865 $as_echo_n "(cached) " >&6
68866 else
68869 ac_ext=cpp
68870 ac_cpp='$CXXCPP $CPPFLAGS'
68871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68876 /* end confdefs.h. */
68877 #include <math.h>
68879 main ()
68881 frexpf(0, 0);
68883 return 0;
68885 _ACEOF
68886 if ac_fn_cxx_try_compile "$LINENO"; then :
68887 glibcxx_cv_func_frexpf_use=yes
68888 else
68889 glibcxx_cv_func_frexpf_use=no
68891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68892 ac_ext=c
68893 ac_cpp='$CPP $CPPFLAGS'
68894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68903 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68905 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68906 for ac_func in frexpf
68907 do :
68908 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68909 if test "x$ac_cv_func_frexpf" = xyes; then :
68910 cat >>confdefs.h <<_ACEOF
68911 #define HAVE_FREXPF 1
68912 _ACEOF
68915 done
68917 else
68919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68920 $as_echo_n "checking for _frexpf declaration... " >&6; }
68921 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68922 if ${glibcxx_cv_func__frexpf_use+:} false; then :
68923 $as_echo_n "(cached) " >&6
68924 else
68927 ac_ext=cpp
68928 ac_cpp='$CXXCPP $CPPFLAGS'
68929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68934 /* end confdefs.h. */
68935 #include <math.h>
68937 main ()
68939 _frexpf(0, 0);
68941 return 0;
68943 _ACEOF
68944 if ac_fn_cxx_try_compile "$LINENO"; then :
68945 glibcxx_cv_func__frexpf_use=yes
68946 else
68947 glibcxx_cv_func__frexpf_use=no
68949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68950 ac_ext=c
68951 ac_cpp='$CPP $CPPFLAGS'
68952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
68961 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
68963 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
68964 for ac_func in _frexpf
68965 do :
68966 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
68967 if test "x$ac_cv_func__frexpf" = xyes; then :
68968 cat >>confdefs.h <<_ACEOF
68969 #define HAVE__FREXPF 1
68970 _ACEOF
68973 done
68982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68983 $as_echo_n "checking for hypotf declaration... " >&6; }
68984 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68985 if ${glibcxx_cv_func_hypotf_use+:} false; then :
68986 $as_echo_n "(cached) " >&6
68987 else
68990 ac_ext=cpp
68991 ac_cpp='$CXXCPP $CPPFLAGS'
68992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68997 /* end confdefs.h. */
68998 #include <math.h>
69000 main ()
69002 hypotf(0, 0);
69004 return 0;
69006 _ACEOF
69007 if ac_fn_cxx_try_compile "$LINENO"; then :
69008 glibcxx_cv_func_hypotf_use=yes
69009 else
69010 glibcxx_cv_func_hypotf_use=no
69012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69013 ac_ext=c
69014 ac_cpp='$CPP $CPPFLAGS'
69015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
69024 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
69026 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
69027 for ac_func in hypotf
69028 do :
69029 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
69030 if test "x$ac_cv_func_hypotf" = xyes; then :
69031 cat >>confdefs.h <<_ACEOF
69032 #define HAVE_HYPOTF 1
69033 _ACEOF
69036 done
69038 else
69040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
69041 $as_echo_n "checking for _hypotf declaration... " >&6; }
69042 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
69043 if ${glibcxx_cv_func__hypotf_use+:} false; then :
69044 $as_echo_n "(cached) " >&6
69045 else
69048 ac_ext=cpp
69049 ac_cpp='$CXXCPP $CPPFLAGS'
69050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69055 /* end confdefs.h. */
69056 #include <math.h>
69058 main ()
69060 _hypotf(0, 0);
69062 return 0;
69064 _ACEOF
69065 if ac_fn_cxx_try_compile "$LINENO"; then :
69066 glibcxx_cv_func__hypotf_use=yes
69067 else
69068 glibcxx_cv_func__hypotf_use=no
69070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69071 ac_ext=c
69072 ac_cpp='$CPP $CPPFLAGS'
69073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
69082 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
69084 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
69085 for ac_func in _hypotf
69086 do :
69087 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
69088 if test "x$ac_cv_func__hypotf" = xyes; then :
69089 cat >>confdefs.h <<_ACEOF
69090 #define HAVE__HYPOTF 1
69091 _ACEOF
69094 done
69103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
69104 $as_echo_n "checking for ldexpf declaration... " >&6; }
69105 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
69106 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
69107 $as_echo_n "(cached) " >&6
69108 else
69111 ac_ext=cpp
69112 ac_cpp='$CXXCPP $CPPFLAGS'
69113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69118 /* end confdefs.h. */
69119 #include <math.h>
69121 main ()
69123 ldexpf(0, 0);
69125 return 0;
69127 _ACEOF
69128 if ac_fn_cxx_try_compile "$LINENO"; then :
69129 glibcxx_cv_func_ldexpf_use=yes
69130 else
69131 glibcxx_cv_func_ldexpf_use=no
69133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69134 ac_ext=c
69135 ac_cpp='$CPP $CPPFLAGS'
69136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
69145 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
69147 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
69148 for ac_func in ldexpf
69149 do :
69150 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
69151 if test "x$ac_cv_func_ldexpf" = xyes; then :
69152 cat >>confdefs.h <<_ACEOF
69153 #define HAVE_LDEXPF 1
69154 _ACEOF
69157 done
69159 else
69161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
69162 $as_echo_n "checking for _ldexpf declaration... " >&6; }
69163 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
69164 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
69165 $as_echo_n "(cached) " >&6
69166 else
69169 ac_ext=cpp
69170 ac_cpp='$CXXCPP $CPPFLAGS'
69171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69176 /* end confdefs.h. */
69177 #include <math.h>
69179 main ()
69181 _ldexpf(0, 0);
69183 return 0;
69185 _ACEOF
69186 if ac_fn_cxx_try_compile "$LINENO"; then :
69187 glibcxx_cv_func__ldexpf_use=yes
69188 else
69189 glibcxx_cv_func__ldexpf_use=no
69191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69192 ac_ext=c
69193 ac_cpp='$CPP $CPPFLAGS'
69194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
69203 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
69205 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
69206 for ac_func in _ldexpf
69207 do :
69208 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
69209 if test "x$ac_cv_func__ldexpf" = xyes; then :
69210 cat >>confdefs.h <<_ACEOF
69211 #define HAVE__LDEXPF 1
69212 _ACEOF
69215 done
69224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
69225 $as_echo_n "checking for logf declaration... " >&6; }
69226 if test x${glibcxx_cv_func_logf_use+set} != xset; then
69227 if ${glibcxx_cv_func_logf_use+:} false; then :
69228 $as_echo_n "(cached) " >&6
69229 else
69232 ac_ext=cpp
69233 ac_cpp='$CXXCPP $CPPFLAGS'
69234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69239 /* end confdefs.h. */
69240 #include <math.h>
69241 #ifdef HAVE_IEEEFP_H
69242 #include <ieeefp.h>
69243 #endif
69246 main ()
69248 logf(0);
69250 return 0;
69252 _ACEOF
69253 if ac_fn_cxx_try_compile "$LINENO"; then :
69254 glibcxx_cv_func_logf_use=yes
69255 else
69256 glibcxx_cv_func_logf_use=no
69258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69259 ac_ext=c
69260 ac_cpp='$CPP $CPPFLAGS'
69261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
69270 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
69272 if test x$glibcxx_cv_func_logf_use = x"yes"; then
69273 for ac_func in logf
69274 do :
69275 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
69276 if test "x$ac_cv_func_logf" = xyes; then :
69277 cat >>confdefs.h <<_ACEOF
69278 #define HAVE_LOGF 1
69279 _ACEOF
69282 done
69284 else
69286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
69287 $as_echo_n "checking for _logf declaration... " >&6; }
69288 if test x${glibcxx_cv_func__logf_use+set} != xset; then
69289 if ${glibcxx_cv_func__logf_use+:} false; then :
69290 $as_echo_n "(cached) " >&6
69291 else
69294 ac_ext=cpp
69295 ac_cpp='$CXXCPP $CPPFLAGS'
69296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69301 /* end confdefs.h. */
69302 #include <math.h>
69303 #ifdef HAVE_IEEEFP_H
69304 #include <ieeefp.h>
69305 #endif
69308 main ()
69310 _logf(0);
69312 return 0;
69314 _ACEOF
69315 if ac_fn_cxx_try_compile "$LINENO"; then :
69316 glibcxx_cv_func__logf_use=yes
69317 else
69318 glibcxx_cv_func__logf_use=no
69320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69321 ac_ext=c
69322 ac_cpp='$CPP $CPPFLAGS'
69323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
69332 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
69334 if test x$glibcxx_cv_func__logf_use = x"yes"; then
69335 for ac_func in _logf
69336 do :
69337 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
69338 if test "x$ac_cv_func__logf" = xyes; then :
69339 cat >>confdefs.h <<_ACEOF
69340 #define HAVE__LOGF 1
69341 _ACEOF
69344 done
69353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
69354 $as_echo_n "checking for log10f declaration... " >&6; }
69355 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
69356 if ${glibcxx_cv_func_log10f_use+:} false; then :
69357 $as_echo_n "(cached) " >&6
69358 else
69361 ac_ext=cpp
69362 ac_cpp='$CXXCPP $CPPFLAGS'
69363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69368 /* end confdefs.h. */
69369 #include <math.h>
69370 #ifdef HAVE_IEEEFP_H
69371 #include <ieeefp.h>
69372 #endif
69375 main ()
69377 log10f(0);
69379 return 0;
69381 _ACEOF
69382 if ac_fn_cxx_try_compile "$LINENO"; then :
69383 glibcxx_cv_func_log10f_use=yes
69384 else
69385 glibcxx_cv_func_log10f_use=no
69387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69388 ac_ext=c
69389 ac_cpp='$CPP $CPPFLAGS'
69390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
69399 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
69401 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69402 for ac_func in log10f
69403 do :
69404 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
69405 if test "x$ac_cv_func_log10f" = xyes; then :
69406 cat >>confdefs.h <<_ACEOF
69407 #define HAVE_LOG10F 1
69408 _ACEOF
69411 done
69413 else
69415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
69416 $as_echo_n "checking for _log10f declaration... " >&6; }
69417 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69418 if ${glibcxx_cv_func__log10f_use+:} false; then :
69419 $as_echo_n "(cached) " >&6
69420 else
69423 ac_ext=cpp
69424 ac_cpp='$CXXCPP $CPPFLAGS'
69425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69430 /* end confdefs.h. */
69431 #include <math.h>
69432 #ifdef HAVE_IEEEFP_H
69433 #include <ieeefp.h>
69434 #endif
69437 main ()
69439 _log10f(0);
69441 return 0;
69443 _ACEOF
69444 if ac_fn_cxx_try_compile "$LINENO"; then :
69445 glibcxx_cv_func__log10f_use=yes
69446 else
69447 glibcxx_cv_func__log10f_use=no
69449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69450 ac_ext=c
69451 ac_cpp='$CPP $CPPFLAGS'
69452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
69461 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
69463 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69464 for ac_func in _log10f
69465 do :
69466 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
69467 if test "x$ac_cv_func__log10f" = xyes; then :
69468 cat >>confdefs.h <<_ACEOF
69469 #define HAVE__LOG10F 1
69470 _ACEOF
69473 done
69482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69483 $as_echo_n "checking for modff declaration... " >&6; }
69484 if test x${glibcxx_cv_func_modff_use+set} != xset; then
69485 if ${glibcxx_cv_func_modff_use+:} false; then :
69486 $as_echo_n "(cached) " >&6
69487 else
69490 ac_ext=cpp
69491 ac_cpp='$CXXCPP $CPPFLAGS'
69492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69497 /* end confdefs.h. */
69498 #include <math.h>
69500 main ()
69502 modff(0, 0);
69504 return 0;
69506 _ACEOF
69507 if ac_fn_cxx_try_compile "$LINENO"; then :
69508 glibcxx_cv_func_modff_use=yes
69509 else
69510 glibcxx_cv_func_modff_use=no
69512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69513 ac_ext=c
69514 ac_cpp='$CPP $CPPFLAGS'
69515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69524 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
69526 if test x$glibcxx_cv_func_modff_use = x"yes"; then
69527 for ac_func in modff
69528 do :
69529 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69530 if test "x$ac_cv_func_modff" = xyes; then :
69531 cat >>confdefs.h <<_ACEOF
69532 #define HAVE_MODFF 1
69533 _ACEOF
69536 done
69538 else
69540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69541 $as_echo_n "checking for _modff declaration... " >&6; }
69542 if test x${glibcxx_cv_func__modff_use+set} != xset; then
69543 if ${glibcxx_cv_func__modff_use+:} false; then :
69544 $as_echo_n "(cached) " >&6
69545 else
69548 ac_ext=cpp
69549 ac_cpp='$CXXCPP $CPPFLAGS'
69550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69555 /* end confdefs.h. */
69556 #include <math.h>
69558 main ()
69560 _modff(0, 0);
69562 return 0;
69564 _ACEOF
69565 if ac_fn_cxx_try_compile "$LINENO"; then :
69566 glibcxx_cv_func__modff_use=yes
69567 else
69568 glibcxx_cv_func__modff_use=no
69570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69571 ac_ext=c
69572 ac_cpp='$CPP $CPPFLAGS'
69573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69582 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
69584 if test x$glibcxx_cv_func__modff_use = x"yes"; then
69585 for ac_func in _modff
69586 do :
69587 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69588 if test "x$ac_cv_func__modff" = xyes; then :
69589 cat >>confdefs.h <<_ACEOF
69590 #define HAVE__MODFF 1
69591 _ACEOF
69594 done
69603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69604 $as_echo_n "checking for modf declaration... " >&6; }
69605 if test x${glibcxx_cv_func_modf_use+set} != xset; then
69606 if ${glibcxx_cv_func_modf_use+:} false; then :
69607 $as_echo_n "(cached) " >&6
69608 else
69611 ac_ext=cpp
69612 ac_cpp='$CXXCPP $CPPFLAGS'
69613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69618 /* end confdefs.h. */
69619 #include <math.h>
69621 main ()
69623 modf(0, 0);
69625 return 0;
69627 _ACEOF
69628 if ac_fn_cxx_try_compile "$LINENO"; then :
69629 glibcxx_cv_func_modf_use=yes
69630 else
69631 glibcxx_cv_func_modf_use=no
69633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69634 ac_ext=c
69635 ac_cpp='$CPP $CPPFLAGS'
69636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69645 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
69647 if test x$glibcxx_cv_func_modf_use = x"yes"; then
69648 for ac_func in modf
69649 do :
69650 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69651 if test "x$ac_cv_func_modf" = xyes; then :
69652 cat >>confdefs.h <<_ACEOF
69653 #define HAVE_MODF 1
69654 _ACEOF
69657 done
69659 else
69661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69662 $as_echo_n "checking for _modf declaration... " >&6; }
69663 if test x${glibcxx_cv_func__modf_use+set} != xset; then
69664 if ${glibcxx_cv_func__modf_use+:} false; then :
69665 $as_echo_n "(cached) " >&6
69666 else
69669 ac_ext=cpp
69670 ac_cpp='$CXXCPP $CPPFLAGS'
69671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69676 /* end confdefs.h. */
69677 #include <math.h>
69679 main ()
69681 _modf(0, 0);
69683 return 0;
69685 _ACEOF
69686 if ac_fn_cxx_try_compile "$LINENO"; then :
69687 glibcxx_cv_func__modf_use=yes
69688 else
69689 glibcxx_cv_func__modf_use=no
69691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69692 ac_ext=c
69693 ac_cpp='$CPP $CPPFLAGS'
69694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69703 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69705 if test x$glibcxx_cv_func__modf_use = x"yes"; then
69706 for ac_func in _modf
69707 do :
69708 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69709 if test "x$ac_cv_func__modf" = xyes; then :
69710 cat >>confdefs.h <<_ACEOF
69711 #define HAVE__MODF 1
69712 _ACEOF
69715 done
69724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69725 $as_echo_n "checking for powf declaration... " >&6; }
69726 if test x${glibcxx_cv_func_powf_use+set} != xset; then
69727 if ${glibcxx_cv_func_powf_use+:} false; then :
69728 $as_echo_n "(cached) " >&6
69729 else
69732 ac_ext=cpp
69733 ac_cpp='$CXXCPP $CPPFLAGS'
69734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69739 /* end confdefs.h. */
69740 #include <math.h>
69742 main ()
69744 powf(0, 0);
69746 return 0;
69748 _ACEOF
69749 if ac_fn_cxx_try_compile "$LINENO"; then :
69750 glibcxx_cv_func_powf_use=yes
69751 else
69752 glibcxx_cv_func_powf_use=no
69754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69755 ac_ext=c
69756 ac_cpp='$CPP $CPPFLAGS'
69757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69766 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
69768 if test x$glibcxx_cv_func_powf_use = x"yes"; then
69769 for ac_func in powf
69770 do :
69771 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69772 if test "x$ac_cv_func_powf" = xyes; then :
69773 cat >>confdefs.h <<_ACEOF
69774 #define HAVE_POWF 1
69775 _ACEOF
69778 done
69780 else
69782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69783 $as_echo_n "checking for _powf declaration... " >&6; }
69784 if test x${glibcxx_cv_func__powf_use+set} != xset; then
69785 if ${glibcxx_cv_func__powf_use+:} false; then :
69786 $as_echo_n "(cached) " >&6
69787 else
69790 ac_ext=cpp
69791 ac_cpp='$CXXCPP $CPPFLAGS'
69792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69797 /* end confdefs.h. */
69798 #include <math.h>
69800 main ()
69802 _powf(0, 0);
69804 return 0;
69806 _ACEOF
69807 if ac_fn_cxx_try_compile "$LINENO"; then :
69808 glibcxx_cv_func__powf_use=yes
69809 else
69810 glibcxx_cv_func__powf_use=no
69812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69813 ac_ext=c
69814 ac_cpp='$CPP $CPPFLAGS'
69815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
69824 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
69826 if test x$glibcxx_cv_func__powf_use = x"yes"; then
69827 for ac_func in _powf
69828 do :
69829 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69830 if test "x$ac_cv_func__powf" = xyes; then :
69831 cat >>confdefs.h <<_ACEOF
69832 #define HAVE__POWF 1
69833 _ACEOF
69836 done
69845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
69846 $as_echo_n "checking for sqrtf declaration... " >&6; }
69847 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69848 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
69849 $as_echo_n "(cached) " >&6
69850 else
69853 ac_ext=cpp
69854 ac_cpp='$CXXCPP $CPPFLAGS'
69855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69860 /* end confdefs.h. */
69861 #include <math.h>
69862 #ifdef HAVE_IEEEFP_H
69863 #include <ieeefp.h>
69864 #endif
69867 main ()
69869 sqrtf(0);
69871 return 0;
69873 _ACEOF
69874 if ac_fn_cxx_try_compile "$LINENO"; then :
69875 glibcxx_cv_func_sqrtf_use=yes
69876 else
69877 glibcxx_cv_func_sqrtf_use=no
69879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69880 ac_ext=c
69881 ac_cpp='$CPP $CPPFLAGS'
69882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69891 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69893 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69894 for ac_func in sqrtf
69895 do :
69896 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69897 if test "x$ac_cv_func_sqrtf" = xyes; then :
69898 cat >>confdefs.h <<_ACEOF
69899 #define HAVE_SQRTF 1
69900 _ACEOF
69903 done
69905 else
69907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69908 $as_echo_n "checking for _sqrtf declaration... " >&6; }
69909 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69910 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
69911 $as_echo_n "(cached) " >&6
69912 else
69915 ac_ext=cpp
69916 ac_cpp='$CXXCPP $CPPFLAGS'
69917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69922 /* end confdefs.h. */
69923 #include <math.h>
69924 #ifdef HAVE_IEEEFP_H
69925 #include <ieeefp.h>
69926 #endif
69929 main ()
69931 _sqrtf(0);
69933 return 0;
69935 _ACEOF
69936 if ac_fn_cxx_try_compile "$LINENO"; then :
69937 glibcxx_cv_func__sqrtf_use=yes
69938 else
69939 glibcxx_cv_func__sqrtf_use=no
69941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69942 ac_ext=c
69943 ac_cpp='$CPP $CPPFLAGS'
69944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
69953 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
69955 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69956 for ac_func in _sqrtf
69957 do :
69958 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
69959 if test "x$ac_cv_func__sqrtf" = xyes; then :
69960 cat >>confdefs.h <<_ACEOF
69961 #define HAVE__SQRTF 1
69962 _ACEOF
69965 done
69974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
69975 $as_echo_n "checking for sincosf declaration... " >&6; }
69976 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
69977 if ${glibcxx_cv_func_sincosf_use+:} false; then :
69978 $as_echo_n "(cached) " >&6
69979 else
69982 ac_ext=cpp
69983 ac_cpp='$CXXCPP $CPPFLAGS'
69984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69989 /* end confdefs.h. */
69990 #include <math.h>
69992 main ()
69994 sincosf(0, 0, 0);
69996 return 0;
69998 _ACEOF
69999 if ac_fn_cxx_try_compile "$LINENO"; then :
70000 glibcxx_cv_func_sincosf_use=yes
70001 else
70002 glibcxx_cv_func_sincosf_use=no
70004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70005 ac_ext=c
70006 ac_cpp='$CPP $CPPFLAGS'
70007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
70016 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
70018 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
70019 for ac_func in sincosf
70020 do :
70021 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
70022 if test "x$ac_cv_func_sincosf" = xyes; then :
70023 cat >>confdefs.h <<_ACEOF
70024 #define HAVE_SINCOSF 1
70025 _ACEOF
70028 done
70030 else
70032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
70033 $as_echo_n "checking for _sincosf declaration... " >&6; }
70034 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
70035 if ${glibcxx_cv_func__sincosf_use+:} false; then :
70036 $as_echo_n "(cached) " >&6
70037 else
70040 ac_ext=cpp
70041 ac_cpp='$CXXCPP $CPPFLAGS'
70042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70047 /* end confdefs.h. */
70048 #include <math.h>
70050 main ()
70052 _sincosf(0, 0, 0);
70054 return 0;
70056 _ACEOF
70057 if ac_fn_cxx_try_compile "$LINENO"; then :
70058 glibcxx_cv_func__sincosf_use=yes
70059 else
70060 glibcxx_cv_func__sincosf_use=no
70062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70063 ac_ext=c
70064 ac_cpp='$CPP $CPPFLAGS'
70065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
70074 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
70076 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
70077 for ac_func in _sincosf
70078 do :
70079 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
70080 if test "x$ac_cv_func__sincosf" = xyes; then :
70081 cat >>confdefs.h <<_ACEOF
70082 #define HAVE__SINCOSF 1
70083 _ACEOF
70086 done
70095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
70096 $as_echo_n "checking for finitef declaration... " >&6; }
70097 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
70098 if ${glibcxx_cv_func_finitef_use+:} false; then :
70099 $as_echo_n "(cached) " >&6
70100 else
70103 ac_ext=cpp
70104 ac_cpp='$CXXCPP $CPPFLAGS'
70105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70110 /* end confdefs.h. */
70111 #include <math.h>
70112 #ifdef HAVE_IEEEFP_H
70113 #include <ieeefp.h>
70114 #endif
70117 main ()
70119 finitef(0);
70121 return 0;
70123 _ACEOF
70124 if ac_fn_cxx_try_compile "$LINENO"; then :
70125 glibcxx_cv_func_finitef_use=yes
70126 else
70127 glibcxx_cv_func_finitef_use=no
70129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70130 ac_ext=c
70131 ac_cpp='$CPP $CPPFLAGS'
70132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
70141 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
70143 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
70144 for ac_func in finitef
70145 do :
70146 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
70147 if test "x$ac_cv_func_finitef" = xyes; then :
70148 cat >>confdefs.h <<_ACEOF
70149 #define HAVE_FINITEF 1
70150 _ACEOF
70153 done
70155 else
70157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
70158 $as_echo_n "checking for _finitef declaration... " >&6; }
70159 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
70160 if ${glibcxx_cv_func__finitef_use+:} false; then :
70161 $as_echo_n "(cached) " >&6
70162 else
70165 ac_ext=cpp
70166 ac_cpp='$CXXCPP $CPPFLAGS'
70167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70172 /* end confdefs.h. */
70173 #include <math.h>
70174 #ifdef HAVE_IEEEFP_H
70175 #include <ieeefp.h>
70176 #endif
70179 main ()
70181 _finitef(0);
70183 return 0;
70185 _ACEOF
70186 if ac_fn_cxx_try_compile "$LINENO"; then :
70187 glibcxx_cv_func__finitef_use=yes
70188 else
70189 glibcxx_cv_func__finitef_use=no
70191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70192 ac_ext=c
70193 ac_cpp='$CPP $CPPFLAGS'
70194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
70203 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
70205 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
70206 for ac_func in _finitef
70207 do :
70208 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
70209 if test "x$ac_cv_func__finitef" = xyes; then :
70210 cat >>confdefs.h <<_ACEOF
70211 #define HAVE__FINITEF 1
70212 _ACEOF
70215 done
70224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
70225 $as_echo_n "checking for long double trig functions... " >&6; }
70226 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
70227 $as_echo_n "(cached) " >&6
70228 else
70231 ac_ext=cpp
70232 ac_cpp='$CXXCPP $CPPFLAGS'
70233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70238 /* end confdefs.h. */
70239 #include <math.h>
70241 main ()
70243 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
70245 return 0;
70247 _ACEOF
70248 if ac_fn_cxx_try_compile "$LINENO"; then :
70249 glibcxx_cv_func_long_double_trig_use=yes
70250 else
70251 glibcxx_cv_func_long_double_trig_use=no
70253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70254 ac_ext=c
70255 ac_cpp='$CPP $CPPFLAGS'
70256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
70263 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
70264 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
70265 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
70266 do :
70267 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70268 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70269 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70270 cat >>confdefs.h <<_ACEOF
70271 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70272 _ACEOF
70275 done
70277 else
70278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
70279 $as_echo_n "checking for _long double trig functions... " >&6; }
70280 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
70281 $as_echo_n "(cached) " >&6
70282 else
70285 ac_ext=cpp
70286 ac_cpp='$CXXCPP $CPPFLAGS'
70287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70292 /* end confdefs.h. */
70293 #include <math.h>
70295 main ()
70297 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
70299 return 0;
70301 _ACEOF
70302 if ac_fn_cxx_try_compile "$LINENO"; then :
70303 glibcxx_cv_func__long_double_trig_use=yes
70304 else
70305 glibcxx_cv_func__long_double_trig_use=no
70307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70308 ac_ext=c
70309 ac_cpp='$CPP $CPPFLAGS'
70310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
70317 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
70318 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70319 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
70320 do :
70321 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70322 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70323 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70324 cat >>confdefs.h <<_ACEOF
70325 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70326 _ACEOF
70329 done
70338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
70339 $as_echo_n "checking for long double round functions... " >&6; }
70340 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
70341 $as_echo_n "(cached) " >&6
70342 else
70345 ac_ext=cpp
70346 ac_cpp='$CXXCPP $CPPFLAGS'
70347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70352 /* end confdefs.h. */
70353 #include <math.h>
70355 main ()
70357 ceill (0); floorl (0);
70359 return 0;
70361 _ACEOF
70362 if ac_fn_cxx_try_compile "$LINENO"; then :
70363 glibcxx_cv_func_long_double_round_use=yes
70364 else
70365 glibcxx_cv_func_long_double_round_use=no
70367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70368 ac_ext=c
70369 ac_cpp='$CPP $CPPFLAGS'
70370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
70377 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
70378 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
70379 for ac_func in ceill floorl
70380 do :
70381 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70382 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70383 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70384 cat >>confdefs.h <<_ACEOF
70385 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70386 _ACEOF
70389 done
70391 else
70392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
70393 $as_echo_n "checking for _long double round functions... " >&6; }
70394 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
70395 $as_echo_n "(cached) " >&6
70396 else
70399 ac_ext=cpp
70400 ac_cpp='$CXXCPP $CPPFLAGS'
70401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70406 /* end confdefs.h. */
70407 #include <math.h>
70409 main ()
70411 _ceill (0); _floorl (0);
70413 return 0;
70415 _ACEOF
70416 if ac_fn_cxx_try_compile "$LINENO"; then :
70417 glibcxx_cv_func__long_double_round_use=yes
70418 else
70419 glibcxx_cv_func__long_double_round_use=no
70421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70422 ac_ext=c
70423 ac_cpp='$CPP $CPPFLAGS'
70424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
70431 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
70432 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70433 for ac_func in _ceill _floorl
70434 do :
70435 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70436 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70437 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70438 cat >>confdefs.h <<_ACEOF
70439 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70440 _ACEOF
70443 done
70453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
70454 $as_echo_n "checking for isnanl declaration... " >&6; }
70455 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70456 if ${glibcxx_cv_func_isnanl_use+:} false; then :
70457 $as_echo_n "(cached) " >&6
70458 else
70461 ac_ext=cpp
70462 ac_cpp='$CXXCPP $CPPFLAGS'
70463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70468 /* end confdefs.h. */
70469 #include <math.h>
70470 #ifdef HAVE_IEEEFP_H
70471 #include <ieeefp.h>
70472 #endif
70475 main ()
70477 isnanl(0);
70479 return 0;
70481 _ACEOF
70482 if ac_fn_cxx_try_compile "$LINENO"; then :
70483 glibcxx_cv_func_isnanl_use=yes
70484 else
70485 glibcxx_cv_func_isnanl_use=no
70487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70488 ac_ext=c
70489 ac_cpp='$CPP $CPPFLAGS'
70490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
70499 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
70501 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70502 for ac_func in isnanl
70503 do :
70504 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
70505 if test "x$ac_cv_func_isnanl" = xyes; then :
70506 cat >>confdefs.h <<_ACEOF
70507 #define HAVE_ISNANL 1
70508 _ACEOF
70511 done
70513 else
70515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70516 $as_echo_n "checking for _isnanl declaration... " >&6; }
70517 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70518 if ${glibcxx_cv_func__isnanl_use+:} false; then :
70519 $as_echo_n "(cached) " >&6
70520 else
70523 ac_ext=cpp
70524 ac_cpp='$CXXCPP $CPPFLAGS'
70525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70530 /* end confdefs.h. */
70531 #include <math.h>
70532 #ifdef HAVE_IEEEFP_H
70533 #include <ieeefp.h>
70534 #endif
70537 main ()
70539 _isnanl(0);
70541 return 0;
70543 _ACEOF
70544 if ac_fn_cxx_try_compile "$LINENO"; then :
70545 glibcxx_cv_func__isnanl_use=yes
70546 else
70547 glibcxx_cv_func__isnanl_use=no
70549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70550 ac_ext=c
70551 ac_cpp='$CPP $CPPFLAGS'
70552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70561 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70563 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70564 for ac_func in _isnanl
70565 do :
70566 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70567 if test "x$ac_cv_func__isnanl" = xyes; then :
70568 cat >>confdefs.h <<_ACEOF
70569 #define HAVE__ISNANL 1
70570 _ACEOF
70573 done
70582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70583 $as_echo_n "checking for isinfl declaration... " >&6; }
70584 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70585 if ${glibcxx_cv_func_isinfl_use+:} false; then :
70586 $as_echo_n "(cached) " >&6
70587 else
70590 ac_ext=cpp
70591 ac_cpp='$CXXCPP $CPPFLAGS'
70592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70597 /* end confdefs.h. */
70598 #include <math.h>
70599 #ifdef HAVE_IEEEFP_H
70600 #include <ieeefp.h>
70601 #endif
70604 main ()
70606 isinfl(0);
70608 return 0;
70610 _ACEOF
70611 if ac_fn_cxx_try_compile "$LINENO"; then :
70612 glibcxx_cv_func_isinfl_use=yes
70613 else
70614 glibcxx_cv_func_isinfl_use=no
70616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70617 ac_ext=c
70618 ac_cpp='$CPP $CPPFLAGS'
70619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70628 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70630 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70631 for ac_func in isinfl
70632 do :
70633 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70634 if test "x$ac_cv_func_isinfl" = xyes; then :
70635 cat >>confdefs.h <<_ACEOF
70636 #define HAVE_ISINFL 1
70637 _ACEOF
70640 done
70642 else
70644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70645 $as_echo_n "checking for _isinfl declaration... " >&6; }
70646 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70647 if ${glibcxx_cv_func__isinfl_use+:} false; then :
70648 $as_echo_n "(cached) " >&6
70649 else
70652 ac_ext=cpp
70653 ac_cpp='$CXXCPP $CPPFLAGS'
70654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70659 /* end confdefs.h. */
70660 #include <math.h>
70661 #ifdef HAVE_IEEEFP_H
70662 #include <ieeefp.h>
70663 #endif
70666 main ()
70668 _isinfl(0);
70670 return 0;
70672 _ACEOF
70673 if ac_fn_cxx_try_compile "$LINENO"; then :
70674 glibcxx_cv_func__isinfl_use=yes
70675 else
70676 glibcxx_cv_func__isinfl_use=no
70678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70679 ac_ext=c
70680 ac_cpp='$CPP $CPPFLAGS'
70681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70690 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70692 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70693 for ac_func in _isinfl
70694 do :
70695 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70696 if test "x$ac_cv_func__isinfl" = xyes; then :
70697 cat >>confdefs.h <<_ACEOF
70698 #define HAVE__ISINFL 1
70699 _ACEOF
70702 done
70711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70712 $as_echo_n "checking for atan2l declaration... " >&6; }
70713 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70714 if ${glibcxx_cv_func_atan2l_use+:} false; then :
70715 $as_echo_n "(cached) " >&6
70716 else
70719 ac_ext=cpp
70720 ac_cpp='$CXXCPP $CPPFLAGS'
70721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70726 /* end confdefs.h. */
70727 #include <math.h>
70729 main ()
70731 atan2l(0, 0);
70733 return 0;
70735 _ACEOF
70736 if ac_fn_cxx_try_compile "$LINENO"; then :
70737 glibcxx_cv_func_atan2l_use=yes
70738 else
70739 glibcxx_cv_func_atan2l_use=no
70741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70742 ac_ext=c
70743 ac_cpp='$CPP $CPPFLAGS'
70744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70753 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70755 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70756 for ac_func in atan2l
70757 do :
70758 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70759 if test "x$ac_cv_func_atan2l" = xyes; then :
70760 cat >>confdefs.h <<_ACEOF
70761 #define HAVE_ATAN2L 1
70762 _ACEOF
70765 done
70767 else
70769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70770 $as_echo_n "checking for _atan2l declaration... " >&6; }
70771 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70772 if ${glibcxx_cv_func__atan2l_use+:} false; then :
70773 $as_echo_n "(cached) " >&6
70774 else
70777 ac_ext=cpp
70778 ac_cpp='$CXXCPP $CPPFLAGS'
70779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70784 /* end confdefs.h. */
70785 #include <math.h>
70787 main ()
70789 _atan2l(0, 0);
70791 return 0;
70793 _ACEOF
70794 if ac_fn_cxx_try_compile "$LINENO"; then :
70795 glibcxx_cv_func__atan2l_use=yes
70796 else
70797 glibcxx_cv_func__atan2l_use=no
70799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70800 ac_ext=c
70801 ac_cpp='$CPP $CPPFLAGS'
70802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70811 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70813 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70814 for ac_func in _atan2l
70815 do :
70816 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70817 if test "x$ac_cv_func__atan2l" = xyes; then :
70818 cat >>confdefs.h <<_ACEOF
70819 #define HAVE__ATAN2L 1
70820 _ACEOF
70823 done
70832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70833 $as_echo_n "checking for expl declaration... " >&6; }
70834 if test x${glibcxx_cv_func_expl_use+set} != xset; then
70835 if ${glibcxx_cv_func_expl_use+:} false; then :
70836 $as_echo_n "(cached) " >&6
70837 else
70840 ac_ext=cpp
70841 ac_cpp='$CXXCPP $CPPFLAGS'
70842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70847 /* end confdefs.h. */
70848 #include <math.h>
70849 #ifdef HAVE_IEEEFP_H
70850 #include <ieeefp.h>
70851 #endif
70854 main ()
70856 expl(0);
70858 return 0;
70860 _ACEOF
70861 if ac_fn_cxx_try_compile "$LINENO"; then :
70862 glibcxx_cv_func_expl_use=yes
70863 else
70864 glibcxx_cv_func_expl_use=no
70866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70867 ac_ext=c
70868 ac_cpp='$CPP $CPPFLAGS'
70869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70878 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
70880 if test x$glibcxx_cv_func_expl_use = x"yes"; then
70881 for ac_func in expl
70882 do :
70883 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70884 if test "x$ac_cv_func_expl" = xyes; then :
70885 cat >>confdefs.h <<_ACEOF
70886 #define HAVE_EXPL 1
70887 _ACEOF
70890 done
70892 else
70894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70895 $as_echo_n "checking for _expl declaration... " >&6; }
70896 if test x${glibcxx_cv_func__expl_use+set} != xset; then
70897 if ${glibcxx_cv_func__expl_use+:} false; then :
70898 $as_echo_n "(cached) " >&6
70899 else
70902 ac_ext=cpp
70903 ac_cpp='$CXXCPP $CPPFLAGS'
70904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70909 /* end confdefs.h. */
70910 #include <math.h>
70911 #ifdef HAVE_IEEEFP_H
70912 #include <ieeefp.h>
70913 #endif
70916 main ()
70918 _expl(0);
70920 return 0;
70922 _ACEOF
70923 if ac_fn_cxx_try_compile "$LINENO"; then :
70924 glibcxx_cv_func__expl_use=yes
70925 else
70926 glibcxx_cv_func__expl_use=no
70928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70929 ac_ext=c
70930 ac_cpp='$CPP $CPPFLAGS'
70931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
70940 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
70942 if test x$glibcxx_cv_func__expl_use = x"yes"; then
70943 for ac_func in _expl
70944 do :
70945 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
70946 if test "x$ac_cv_func__expl" = xyes; then :
70947 cat >>confdefs.h <<_ACEOF
70948 #define HAVE__EXPL 1
70949 _ACEOF
70952 done
70961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
70962 $as_echo_n "checking for fabsl declaration... " >&6; }
70963 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
70964 if ${glibcxx_cv_func_fabsl_use+:} false; then :
70965 $as_echo_n "(cached) " >&6
70966 else
70969 ac_ext=cpp
70970 ac_cpp='$CXXCPP $CPPFLAGS'
70971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70976 /* end confdefs.h. */
70977 #include <math.h>
70978 #ifdef HAVE_IEEEFP_H
70979 #include <ieeefp.h>
70980 #endif
70983 main ()
70985 fabsl(0);
70987 return 0;
70989 _ACEOF
70990 if ac_fn_cxx_try_compile "$LINENO"; then :
70991 glibcxx_cv_func_fabsl_use=yes
70992 else
70993 glibcxx_cv_func_fabsl_use=no
70995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70996 ac_ext=c
70997 ac_cpp='$CPP $CPPFLAGS'
70998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
71007 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
71009 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
71010 for ac_func in fabsl
71011 do :
71012 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
71013 if test "x$ac_cv_func_fabsl" = xyes; then :
71014 cat >>confdefs.h <<_ACEOF
71015 #define HAVE_FABSL 1
71016 _ACEOF
71019 done
71021 else
71023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
71024 $as_echo_n "checking for _fabsl declaration... " >&6; }
71025 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
71026 if ${glibcxx_cv_func__fabsl_use+:} false; then :
71027 $as_echo_n "(cached) " >&6
71028 else
71031 ac_ext=cpp
71032 ac_cpp='$CXXCPP $CPPFLAGS'
71033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71038 /* end confdefs.h. */
71039 #include <math.h>
71040 #ifdef HAVE_IEEEFP_H
71041 #include <ieeefp.h>
71042 #endif
71045 main ()
71047 _fabsl(0);
71049 return 0;
71051 _ACEOF
71052 if ac_fn_cxx_try_compile "$LINENO"; then :
71053 glibcxx_cv_func__fabsl_use=yes
71054 else
71055 glibcxx_cv_func__fabsl_use=no
71057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71058 ac_ext=c
71059 ac_cpp='$CPP $CPPFLAGS'
71060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
71069 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
71071 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
71072 for ac_func in _fabsl
71073 do :
71074 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
71075 if test "x$ac_cv_func__fabsl" = xyes; then :
71076 cat >>confdefs.h <<_ACEOF
71077 #define HAVE__FABSL 1
71078 _ACEOF
71081 done
71090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
71091 $as_echo_n "checking for fmodl declaration... " >&6; }
71092 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
71093 if ${glibcxx_cv_func_fmodl_use+:} false; then :
71094 $as_echo_n "(cached) " >&6
71095 else
71098 ac_ext=cpp
71099 ac_cpp='$CXXCPP $CPPFLAGS'
71100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71105 /* end confdefs.h. */
71106 #include <math.h>
71108 main ()
71110 fmodl(0, 0);
71112 return 0;
71114 _ACEOF
71115 if ac_fn_cxx_try_compile "$LINENO"; then :
71116 glibcxx_cv_func_fmodl_use=yes
71117 else
71118 glibcxx_cv_func_fmodl_use=no
71120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71121 ac_ext=c
71122 ac_cpp='$CPP $CPPFLAGS'
71123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
71132 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
71134 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
71135 for ac_func in fmodl
71136 do :
71137 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
71138 if test "x$ac_cv_func_fmodl" = xyes; then :
71139 cat >>confdefs.h <<_ACEOF
71140 #define HAVE_FMODL 1
71141 _ACEOF
71144 done
71146 else
71148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
71149 $as_echo_n "checking for _fmodl declaration... " >&6; }
71150 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
71151 if ${glibcxx_cv_func__fmodl_use+:} false; then :
71152 $as_echo_n "(cached) " >&6
71153 else
71156 ac_ext=cpp
71157 ac_cpp='$CXXCPP $CPPFLAGS'
71158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71163 /* end confdefs.h. */
71164 #include <math.h>
71166 main ()
71168 _fmodl(0, 0);
71170 return 0;
71172 _ACEOF
71173 if ac_fn_cxx_try_compile "$LINENO"; then :
71174 glibcxx_cv_func__fmodl_use=yes
71175 else
71176 glibcxx_cv_func__fmodl_use=no
71178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71179 ac_ext=c
71180 ac_cpp='$CPP $CPPFLAGS'
71181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
71190 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
71192 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
71193 for ac_func in _fmodl
71194 do :
71195 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
71196 if test "x$ac_cv_func__fmodl" = xyes; then :
71197 cat >>confdefs.h <<_ACEOF
71198 #define HAVE__FMODL 1
71199 _ACEOF
71202 done
71211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
71212 $as_echo_n "checking for frexpl declaration... " >&6; }
71213 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
71214 if ${glibcxx_cv_func_frexpl_use+:} false; then :
71215 $as_echo_n "(cached) " >&6
71216 else
71219 ac_ext=cpp
71220 ac_cpp='$CXXCPP $CPPFLAGS'
71221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71226 /* end confdefs.h. */
71227 #include <math.h>
71229 main ()
71231 frexpl(0, 0);
71233 return 0;
71235 _ACEOF
71236 if ac_fn_cxx_try_compile "$LINENO"; then :
71237 glibcxx_cv_func_frexpl_use=yes
71238 else
71239 glibcxx_cv_func_frexpl_use=no
71241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71242 ac_ext=c
71243 ac_cpp='$CPP $CPPFLAGS'
71244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
71253 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
71255 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
71256 for ac_func in frexpl
71257 do :
71258 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
71259 if test "x$ac_cv_func_frexpl" = xyes; then :
71260 cat >>confdefs.h <<_ACEOF
71261 #define HAVE_FREXPL 1
71262 _ACEOF
71265 done
71267 else
71269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
71270 $as_echo_n "checking for _frexpl declaration... " >&6; }
71271 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
71272 if ${glibcxx_cv_func__frexpl_use+:} false; then :
71273 $as_echo_n "(cached) " >&6
71274 else
71277 ac_ext=cpp
71278 ac_cpp='$CXXCPP $CPPFLAGS'
71279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71284 /* end confdefs.h. */
71285 #include <math.h>
71287 main ()
71289 _frexpl(0, 0);
71291 return 0;
71293 _ACEOF
71294 if ac_fn_cxx_try_compile "$LINENO"; then :
71295 glibcxx_cv_func__frexpl_use=yes
71296 else
71297 glibcxx_cv_func__frexpl_use=no
71299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71300 ac_ext=c
71301 ac_cpp='$CPP $CPPFLAGS'
71302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
71311 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
71313 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
71314 for ac_func in _frexpl
71315 do :
71316 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
71317 if test "x$ac_cv_func__frexpl" = xyes; then :
71318 cat >>confdefs.h <<_ACEOF
71319 #define HAVE__FREXPL 1
71320 _ACEOF
71323 done
71332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
71333 $as_echo_n "checking for hypotl declaration... " >&6; }
71334 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
71335 if ${glibcxx_cv_func_hypotl_use+:} false; then :
71336 $as_echo_n "(cached) " >&6
71337 else
71340 ac_ext=cpp
71341 ac_cpp='$CXXCPP $CPPFLAGS'
71342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71347 /* end confdefs.h. */
71348 #include <math.h>
71350 main ()
71352 hypotl(0, 0);
71354 return 0;
71356 _ACEOF
71357 if ac_fn_cxx_try_compile "$LINENO"; then :
71358 glibcxx_cv_func_hypotl_use=yes
71359 else
71360 glibcxx_cv_func_hypotl_use=no
71362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71363 ac_ext=c
71364 ac_cpp='$CPP $CPPFLAGS'
71365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
71374 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
71376 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
71377 for ac_func in hypotl
71378 do :
71379 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
71380 if test "x$ac_cv_func_hypotl" = xyes; then :
71381 cat >>confdefs.h <<_ACEOF
71382 #define HAVE_HYPOTL 1
71383 _ACEOF
71386 done
71388 else
71390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
71391 $as_echo_n "checking for _hypotl declaration... " >&6; }
71392 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
71393 if ${glibcxx_cv_func__hypotl_use+:} false; then :
71394 $as_echo_n "(cached) " >&6
71395 else
71398 ac_ext=cpp
71399 ac_cpp='$CXXCPP $CPPFLAGS'
71400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71405 /* end confdefs.h. */
71406 #include <math.h>
71408 main ()
71410 _hypotl(0, 0);
71412 return 0;
71414 _ACEOF
71415 if ac_fn_cxx_try_compile "$LINENO"; then :
71416 glibcxx_cv_func__hypotl_use=yes
71417 else
71418 glibcxx_cv_func__hypotl_use=no
71420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71421 ac_ext=c
71422 ac_cpp='$CPP $CPPFLAGS'
71423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
71432 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
71434 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
71435 for ac_func in _hypotl
71436 do :
71437 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
71438 if test "x$ac_cv_func__hypotl" = xyes; then :
71439 cat >>confdefs.h <<_ACEOF
71440 #define HAVE__HYPOTL 1
71441 _ACEOF
71444 done
71453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
71454 $as_echo_n "checking for ldexpl declaration... " >&6; }
71455 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71456 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
71457 $as_echo_n "(cached) " >&6
71458 else
71461 ac_ext=cpp
71462 ac_cpp='$CXXCPP $CPPFLAGS'
71463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71468 /* end confdefs.h. */
71469 #include <math.h>
71471 main ()
71473 ldexpl(0, 0);
71475 return 0;
71477 _ACEOF
71478 if ac_fn_cxx_try_compile "$LINENO"; then :
71479 glibcxx_cv_func_ldexpl_use=yes
71480 else
71481 glibcxx_cv_func_ldexpl_use=no
71483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71484 ac_ext=c
71485 ac_cpp='$CPP $CPPFLAGS'
71486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
71495 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
71497 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71498 for ac_func in ldexpl
71499 do :
71500 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
71501 if test "x$ac_cv_func_ldexpl" = xyes; then :
71502 cat >>confdefs.h <<_ACEOF
71503 #define HAVE_LDEXPL 1
71504 _ACEOF
71507 done
71509 else
71511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71512 $as_echo_n "checking for _ldexpl declaration... " >&6; }
71513 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71514 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
71515 $as_echo_n "(cached) " >&6
71516 else
71519 ac_ext=cpp
71520 ac_cpp='$CXXCPP $CPPFLAGS'
71521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71526 /* end confdefs.h. */
71527 #include <math.h>
71529 main ()
71531 _ldexpl(0, 0);
71533 return 0;
71535 _ACEOF
71536 if ac_fn_cxx_try_compile "$LINENO"; then :
71537 glibcxx_cv_func__ldexpl_use=yes
71538 else
71539 glibcxx_cv_func__ldexpl_use=no
71541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71542 ac_ext=c
71543 ac_cpp='$CPP $CPPFLAGS'
71544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71553 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71555 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71556 for ac_func in _ldexpl
71557 do :
71558 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71559 if test "x$ac_cv_func__ldexpl" = xyes; then :
71560 cat >>confdefs.h <<_ACEOF
71561 #define HAVE__LDEXPL 1
71562 _ACEOF
71565 done
71574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71575 $as_echo_n "checking for logl declaration... " >&6; }
71576 if test x${glibcxx_cv_func_logl_use+set} != xset; then
71577 if ${glibcxx_cv_func_logl_use+:} false; then :
71578 $as_echo_n "(cached) " >&6
71579 else
71582 ac_ext=cpp
71583 ac_cpp='$CXXCPP $CPPFLAGS'
71584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71589 /* end confdefs.h. */
71590 #include <math.h>
71591 #ifdef HAVE_IEEEFP_H
71592 #include <ieeefp.h>
71593 #endif
71596 main ()
71598 logl(0);
71600 return 0;
71602 _ACEOF
71603 if ac_fn_cxx_try_compile "$LINENO"; then :
71604 glibcxx_cv_func_logl_use=yes
71605 else
71606 glibcxx_cv_func_logl_use=no
71608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71609 ac_ext=c
71610 ac_cpp='$CPP $CPPFLAGS'
71611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71620 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
71622 if test x$glibcxx_cv_func_logl_use = x"yes"; then
71623 for ac_func in logl
71624 do :
71625 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71626 if test "x$ac_cv_func_logl" = xyes; then :
71627 cat >>confdefs.h <<_ACEOF
71628 #define HAVE_LOGL 1
71629 _ACEOF
71632 done
71634 else
71636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71637 $as_echo_n "checking for _logl declaration... " >&6; }
71638 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71639 if ${glibcxx_cv_func__logl_use+:} false; then :
71640 $as_echo_n "(cached) " >&6
71641 else
71644 ac_ext=cpp
71645 ac_cpp='$CXXCPP $CPPFLAGS'
71646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71651 /* end confdefs.h. */
71652 #include <math.h>
71653 #ifdef HAVE_IEEEFP_H
71654 #include <ieeefp.h>
71655 #endif
71658 main ()
71660 _logl(0);
71662 return 0;
71664 _ACEOF
71665 if ac_fn_cxx_try_compile "$LINENO"; then :
71666 glibcxx_cv_func__logl_use=yes
71667 else
71668 glibcxx_cv_func__logl_use=no
71670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71671 ac_ext=c
71672 ac_cpp='$CPP $CPPFLAGS'
71673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71682 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
71684 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71685 for ac_func in _logl
71686 do :
71687 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71688 if test "x$ac_cv_func__logl" = xyes; then :
71689 cat >>confdefs.h <<_ACEOF
71690 #define HAVE__LOGL 1
71691 _ACEOF
71694 done
71703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71704 $as_echo_n "checking for log10l declaration... " >&6; }
71705 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71706 if ${glibcxx_cv_func_log10l_use+:} false; then :
71707 $as_echo_n "(cached) " >&6
71708 else
71711 ac_ext=cpp
71712 ac_cpp='$CXXCPP $CPPFLAGS'
71713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71718 /* end confdefs.h. */
71719 #include <math.h>
71720 #ifdef HAVE_IEEEFP_H
71721 #include <ieeefp.h>
71722 #endif
71725 main ()
71727 log10l(0);
71729 return 0;
71731 _ACEOF
71732 if ac_fn_cxx_try_compile "$LINENO"; then :
71733 glibcxx_cv_func_log10l_use=yes
71734 else
71735 glibcxx_cv_func_log10l_use=no
71737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71738 ac_ext=c
71739 ac_cpp='$CPP $CPPFLAGS'
71740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71749 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71751 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71752 for ac_func in log10l
71753 do :
71754 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71755 if test "x$ac_cv_func_log10l" = xyes; then :
71756 cat >>confdefs.h <<_ACEOF
71757 #define HAVE_LOG10L 1
71758 _ACEOF
71761 done
71763 else
71765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71766 $as_echo_n "checking for _log10l declaration... " >&6; }
71767 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71768 if ${glibcxx_cv_func__log10l_use+:} false; then :
71769 $as_echo_n "(cached) " >&6
71770 else
71773 ac_ext=cpp
71774 ac_cpp='$CXXCPP $CPPFLAGS'
71775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71780 /* end confdefs.h. */
71781 #include <math.h>
71782 #ifdef HAVE_IEEEFP_H
71783 #include <ieeefp.h>
71784 #endif
71787 main ()
71789 _log10l(0);
71791 return 0;
71793 _ACEOF
71794 if ac_fn_cxx_try_compile "$LINENO"; then :
71795 glibcxx_cv_func__log10l_use=yes
71796 else
71797 glibcxx_cv_func__log10l_use=no
71799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71800 ac_ext=c
71801 ac_cpp='$CPP $CPPFLAGS'
71802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71811 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71813 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71814 for ac_func in _log10l
71815 do :
71816 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71817 if test "x$ac_cv_func__log10l" = xyes; then :
71818 cat >>confdefs.h <<_ACEOF
71819 #define HAVE__LOG10L 1
71820 _ACEOF
71823 done
71832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71833 $as_echo_n "checking for modfl declaration... " >&6; }
71834 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71835 if ${glibcxx_cv_func_modfl_use+:} false; then :
71836 $as_echo_n "(cached) " >&6
71837 else
71840 ac_ext=cpp
71841 ac_cpp='$CXXCPP $CPPFLAGS'
71842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71847 /* end confdefs.h. */
71848 #include <math.h>
71850 main ()
71852 modfl(0, 0);
71854 return 0;
71856 _ACEOF
71857 if ac_fn_cxx_try_compile "$LINENO"; then :
71858 glibcxx_cv_func_modfl_use=yes
71859 else
71860 glibcxx_cv_func_modfl_use=no
71862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71863 ac_ext=c
71864 ac_cpp='$CPP $CPPFLAGS'
71865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
71874 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71876 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71877 for ac_func in modfl
71878 do :
71879 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71880 if test "x$ac_cv_func_modfl" = xyes; then :
71881 cat >>confdefs.h <<_ACEOF
71882 #define HAVE_MODFL 1
71883 _ACEOF
71886 done
71888 else
71890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71891 $as_echo_n "checking for _modfl declaration... " >&6; }
71892 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71893 if ${glibcxx_cv_func__modfl_use+:} false; then :
71894 $as_echo_n "(cached) " >&6
71895 else
71898 ac_ext=cpp
71899 ac_cpp='$CXXCPP $CPPFLAGS'
71900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71905 /* end confdefs.h. */
71906 #include <math.h>
71908 main ()
71910 _modfl(0, 0);
71912 return 0;
71914 _ACEOF
71915 if ac_fn_cxx_try_compile "$LINENO"; then :
71916 glibcxx_cv_func__modfl_use=yes
71917 else
71918 glibcxx_cv_func__modfl_use=no
71920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71921 ac_ext=c
71922 ac_cpp='$CPP $CPPFLAGS'
71923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
71932 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
71934 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
71935 for ac_func in _modfl
71936 do :
71937 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
71938 if test "x$ac_cv_func__modfl" = xyes; then :
71939 cat >>confdefs.h <<_ACEOF
71940 #define HAVE__MODFL 1
71941 _ACEOF
71944 done
71953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
71954 $as_echo_n "checking for powl declaration... " >&6; }
71955 if test x${glibcxx_cv_func_powl_use+set} != xset; then
71956 if ${glibcxx_cv_func_powl_use+:} false; then :
71957 $as_echo_n "(cached) " >&6
71958 else
71961 ac_ext=cpp
71962 ac_cpp='$CXXCPP $CPPFLAGS'
71963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71968 /* end confdefs.h. */
71969 #include <math.h>
71971 main ()
71973 powl(0, 0);
71975 return 0;
71977 _ACEOF
71978 if ac_fn_cxx_try_compile "$LINENO"; then :
71979 glibcxx_cv_func_powl_use=yes
71980 else
71981 glibcxx_cv_func_powl_use=no
71983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71984 ac_ext=c
71985 ac_cpp='$CPP $CPPFLAGS'
71986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
71995 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
71997 if test x$glibcxx_cv_func_powl_use = x"yes"; then
71998 for ac_func in powl
71999 do :
72000 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
72001 if test "x$ac_cv_func_powl" = xyes; then :
72002 cat >>confdefs.h <<_ACEOF
72003 #define HAVE_POWL 1
72004 _ACEOF
72007 done
72009 else
72011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
72012 $as_echo_n "checking for _powl declaration... " >&6; }
72013 if test x${glibcxx_cv_func__powl_use+set} != xset; then
72014 if ${glibcxx_cv_func__powl_use+:} false; then :
72015 $as_echo_n "(cached) " >&6
72016 else
72019 ac_ext=cpp
72020 ac_cpp='$CXXCPP $CPPFLAGS'
72021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72026 /* end confdefs.h. */
72027 #include <math.h>
72029 main ()
72031 _powl(0, 0);
72033 return 0;
72035 _ACEOF
72036 if ac_fn_cxx_try_compile "$LINENO"; then :
72037 glibcxx_cv_func__powl_use=yes
72038 else
72039 glibcxx_cv_func__powl_use=no
72041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72042 ac_ext=c
72043 ac_cpp='$CPP $CPPFLAGS'
72044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
72053 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
72055 if test x$glibcxx_cv_func__powl_use = x"yes"; then
72056 for ac_func in _powl
72057 do :
72058 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
72059 if test "x$ac_cv_func__powl" = xyes; then :
72060 cat >>confdefs.h <<_ACEOF
72061 #define HAVE__POWL 1
72062 _ACEOF
72065 done
72074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
72075 $as_echo_n "checking for sqrtl declaration... " >&6; }
72076 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
72077 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
72078 $as_echo_n "(cached) " >&6
72079 else
72082 ac_ext=cpp
72083 ac_cpp='$CXXCPP $CPPFLAGS'
72084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72089 /* end confdefs.h. */
72090 #include <math.h>
72091 #ifdef HAVE_IEEEFP_H
72092 #include <ieeefp.h>
72093 #endif
72096 main ()
72098 sqrtl(0);
72100 return 0;
72102 _ACEOF
72103 if ac_fn_cxx_try_compile "$LINENO"; then :
72104 glibcxx_cv_func_sqrtl_use=yes
72105 else
72106 glibcxx_cv_func_sqrtl_use=no
72108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72109 ac_ext=c
72110 ac_cpp='$CPP $CPPFLAGS'
72111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
72120 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
72122 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
72123 for ac_func in sqrtl
72124 do :
72125 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
72126 if test "x$ac_cv_func_sqrtl" = xyes; then :
72127 cat >>confdefs.h <<_ACEOF
72128 #define HAVE_SQRTL 1
72129 _ACEOF
72132 done
72134 else
72136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
72137 $as_echo_n "checking for _sqrtl declaration... " >&6; }
72138 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
72139 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
72140 $as_echo_n "(cached) " >&6
72141 else
72144 ac_ext=cpp
72145 ac_cpp='$CXXCPP $CPPFLAGS'
72146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72151 /* end confdefs.h. */
72152 #include <math.h>
72153 #ifdef HAVE_IEEEFP_H
72154 #include <ieeefp.h>
72155 #endif
72158 main ()
72160 _sqrtl(0);
72162 return 0;
72164 _ACEOF
72165 if ac_fn_cxx_try_compile "$LINENO"; then :
72166 glibcxx_cv_func__sqrtl_use=yes
72167 else
72168 glibcxx_cv_func__sqrtl_use=no
72170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72171 ac_ext=c
72172 ac_cpp='$CPP $CPPFLAGS'
72173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
72182 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
72184 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
72185 for ac_func in _sqrtl
72186 do :
72187 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
72188 if test "x$ac_cv_func__sqrtl" = xyes; then :
72189 cat >>confdefs.h <<_ACEOF
72190 #define HAVE__SQRTL 1
72191 _ACEOF
72194 done
72203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
72204 $as_echo_n "checking for sincosl declaration... " >&6; }
72205 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
72206 if ${glibcxx_cv_func_sincosl_use+:} false; then :
72207 $as_echo_n "(cached) " >&6
72208 else
72211 ac_ext=cpp
72212 ac_cpp='$CXXCPP $CPPFLAGS'
72213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72218 /* end confdefs.h. */
72219 #include <math.h>
72221 main ()
72223 sincosl(0, 0, 0);
72225 return 0;
72227 _ACEOF
72228 if ac_fn_cxx_try_compile "$LINENO"; then :
72229 glibcxx_cv_func_sincosl_use=yes
72230 else
72231 glibcxx_cv_func_sincosl_use=no
72233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72234 ac_ext=c
72235 ac_cpp='$CPP $CPPFLAGS'
72236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
72245 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
72247 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
72248 for ac_func in sincosl
72249 do :
72250 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
72251 if test "x$ac_cv_func_sincosl" = xyes; then :
72252 cat >>confdefs.h <<_ACEOF
72253 #define HAVE_SINCOSL 1
72254 _ACEOF
72257 done
72259 else
72261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
72262 $as_echo_n "checking for _sincosl declaration... " >&6; }
72263 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
72264 if ${glibcxx_cv_func__sincosl_use+:} false; then :
72265 $as_echo_n "(cached) " >&6
72266 else
72269 ac_ext=cpp
72270 ac_cpp='$CXXCPP $CPPFLAGS'
72271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72276 /* end confdefs.h. */
72277 #include <math.h>
72279 main ()
72281 _sincosl(0, 0, 0);
72283 return 0;
72285 _ACEOF
72286 if ac_fn_cxx_try_compile "$LINENO"; then :
72287 glibcxx_cv_func__sincosl_use=yes
72288 else
72289 glibcxx_cv_func__sincosl_use=no
72291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72292 ac_ext=c
72293 ac_cpp='$CPP $CPPFLAGS'
72294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
72303 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
72305 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
72306 for ac_func in _sincosl
72307 do :
72308 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
72309 if test "x$ac_cv_func__sincosl" = xyes; then :
72310 cat >>confdefs.h <<_ACEOF
72311 #define HAVE__SINCOSL 1
72312 _ACEOF
72315 done
72324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
72325 $as_echo_n "checking for finitel declaration... " >&6; }
72326 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
72327 if ${glibcxx_cv_func_finitel_use+:} false; then :
72328 $as_echo_n "(cached) " >&6
72329 else
72332 ac_ext=cpp
72333 ac_cpp='$CXXCPP $CPPFLAGS'
72334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72339 /* end confdefs.h. */
72340 #include <math.h>
72341 #ifdef HAVE_IEEEFP_H
72342 #include <ieeefp.h>
72343 #endif
72346 main ()
72348 finitel(0);
72350 return 0;
72352 _ACEOF
72353 if ac_fn_cxx_try_compile "$LINENO"; then :
72354 glibcxx_cv_func_finitel_use=yes
72355 else
72356 glibcxx_cv_func_finitel_use=no
72358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72359 ac_ext=c
72360 ac_cpp='$CPP $CPPFLAGS'
72361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
72370 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
72372 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
72373 for ac_func in finitel
72374 do :
72375 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
72376 if test "x$ac_cv_func_finitel" = xyes; then :
72377 cat >>confdefs.h <<_ACEOF
72378 #define HAVE_FINITEL 1
72379 _ACEOF
72382 done
72384 else
72386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
72387 $as_echo_n "checking for _finitel declaration... " >&6; }
72388 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
72389 if ${glibcxx_cv_func__finitel_use+:} false; then :
72390 $as_echo_n "(cached) " >&6
72391 else
72394 ac_ext=cpp
72395 ac_cpp='$CXXCPP $CPPFLAGS'
72396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72401 /* end confdefs.h. */
72402 #include <math.h>
72403 #ifdef HAVE_IEEEFP_H
72404 #include <ieeefp.h>
72405 #endif
72408 main ()
72410 _finitel(0);
72412 return 0;
72414 _ACEOF
72415 if ac_fn_cxx_try_compile "$LINENO"; then :
72416 glibcxx_cv_func__finitel_use=yes
72417 else
72418 glibcxx_cv_func__finitel_use=no
72420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72421 ac_ext=c
72422 ac_cpp='$CPP $CPPFLAGS'
72423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
72432 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
72434 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
72435 for ac_func in _finitel
72436 do :
72437 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
72438 if test "x$ac_cv_func__finitel" = xyes; then :
72439 cat >>confdefs.h <<_ACEOF
72440 #define HAVE__FINITEL 1
72441 _ACEOF
72444 done
72452 LIBS="$ac_save_LIBS"
72453 CXXFLAGS="$ac_save_CXXFLAGS"
72456 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72457 ac_save_CXXFLAGS="$CXXFLAGS"
72458 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
72462 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
72463 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
72464 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
72465 $as_echo_n "(cached) " >&6
72466 else
72469 ac_ext=cpp
72470 ac_cpp='$CXXCPP $CPPFLAGS'
72471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72476 /* end confdefs.h. */
72477 #include <stdlib.h>
72479 main ()
72481 at_quick_exit(0);
72483 return 0;
72485 _ACEOF
72486 if ac_fn_cxx_try_compile "$LINENO"; then :
72487 glibcxx_cv_func_at_quick_exit_use=yes
72488 else
72489 glibcxx_cv_func_at_quick_exit_use=no
72491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72492 ac_ext=c
72493 ac_cpp='$CPP $CPPFLAGS'
72494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
72503 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
72504 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
72505 for ac_func in at_quick_exit
72506 do :
72507 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72508 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
72509 cat >>confdefs.h <<_ACEOF
72510 #define HAVE_AT_QUICK_EXIT 1
72511 _ACEOF
72514 done
72519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72520 $as_echo_n "checking for quick_exit declaration... " >&6; }
72521 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72522 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
72523 $as_echo_n "(cached) " >&6
72524 else
72527 ac_ext=cpp
72528 ac_cpp='$CXXCPP $CPPFLAGS'
72529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72534 /* end confdefs.h. */
72535 #include <stdlib.h>
72537 main ()
72539 quick_exit(0);
72541 return 0;
72543 _ACEOF
72544 if ac_fn_cxx_try_compile "$LINENO"; then :
72545 glibcxx_cv_func_quick_exit_use=yes
72546 else
72547 glibcxx_cv_func_quick_exit_use=no
72549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72550 ac_ext=c
72551 ac_cpp='$CPP $CPPFLAGS'
72552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72561 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72562 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72563 for ac_func in quick_exit
72564 do :
72565 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72566 if test "x$ac_cv_func_quick_exit" = xyes; then :
72567 cat >>confdefs.h <<_ACEOF
72568 #define HAVE_QUICK_EXIT 1
72569 _ACEOF
72572 done
72577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72578 $as_echo_n "checking for strtold declaration... " >&6; }
72579 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72580 if ${glibcxx_cv_func_strtold_use+:} false; then :
72581 $as_echo_n "(cached) " >&6
72582 else
72585 ac_ext=cpp
72586 ac_cpp='$CXXCPP $CPPFLAGS'
72587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72592 /* end confdefs.h. */
72593 #include <stdlib.h>
72595 main ()
72597 strtold(0, 0);
72599 return 0;
72601 _ACEOF
72602 if ac_fn_cxx_try_compile "$LINENO"; then :
72603 glibcxx_cv_func_strtold_use=yes
72604 else
72605 glibcxx_cv_func_strtold_use=no
72607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72608 ac_ext=c
72609 ac_cpp='$CPP $CPPFLAGS'
72610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72619 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72620 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72621 for ac_func in strtold
72622 do :
72623 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72624 if test "x$ac_cv_func_strtold" = xyes; then :
72625 cat >>confdefs.h <<_ACEOF
72626 #define HAVE_STRTOLD 1
72627 _ACEOF
72630 done
72637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72638 $as_echo_n "checking for strtof declaration... " >&6; }
72639 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72640 if ${glibcxx_cv_func_strtof_use+:} false; then :
72641 $as_echo_n "(cached) " >&6
72642 else
72645 ac_ext=cpp
72646 ac_cpp='$CXXCPP $CPPFLAGS'
72647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72652 /* end confdefs.h. */
72653 #include <stdlib.h>
72655 main ()
72657 strtof(0, 0);
72659 return 0;
72661 _ACEOF
72662 if ac_fn_cxx_try_compile "$LINENO"; then :
72663 glibcxx_cv_func_strtof_use=yes
72664 else
72665 glibcxx_cv_func_strtof_use=no
72667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72668 ac_ext=c
72669 ac_cpp='$CPP $CPPFLAGS'
72670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72679 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72680 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72681 for ac_func in strtof
72682 do :
72683 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72684 if test "x$ac_cv_func_strtof" = xyes; then :
72685 cat >>confdefs.h <<_ACEOF
72686 #define HAVE_STRTOF 1
72687 _ACEOF
72690 done
72697 CXXFLAGS="$ac_save_CXXFLAGS"
72700 *-vxworks*)
72701 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
72703 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
72705 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
72707 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
72709 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
72711 $as_echo "#define HAVE_COSF 1" >>confdefs.h
72713 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
72715 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
72717 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
72719 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
72721 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
72723 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
72725 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
72727 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
72729 $as_echo "#define HAVE_POWF 1" >>confdefs.h
72731 $as_echo "#define HAVE_SINF 1" >>confdefs.h
72733 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
72735 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
72737 $as_echo "#define HAVE_TANF 1" >>confdefs.h
72739 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
72745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl declaration" >&5
72746 $as_echo_n "checking for acosl declaration... " >&6; }
72747 if ${glibcxx_cv_func_acosl_use+:} false; then :
72748 $as_echo_n "(cached) " >&6
72749 else
72752 ac_ext=c
72753 ac_cpp='$CPP $CPPFLAGS'
72754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72759 /* end confdefs.h. */
72761 #include <math.h>
72762 #ifdef HAVE_IEEEFP_H
72763 # include <ieeefp.h>
72764 #endif
72765 #undef acosl
72768 main ()
72771 void (*f)(void) = (void (*)(void))acosl;
72774 return 0;
72776 _ACEOF
72777 if ac_fn_c_try_compile "$LINENO"; then :
72778 glibcxx_cv_func_acosl_use=yes
72780 else
72781 glibcxx_cv_func_acosl_use=no
72783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_acosl_use" >&5
72786 $as_echo "$glibcxx_cv_func_acosl_use" >&6; }
72787 if test "x$glibcxx_cv_func_acosl_use" = xyes; then
72788 cat >>confdefs.h <<_ACEOF
72789 #define HAVE_ACOSL 1
72790 _ACEOF
72796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl declaration" >&5
72797 $as_echo_n "checking for asinl declaration... " >&6; }
72798 if ${glibcxx_cv_func_asinl_use+:} false; then :
72799 $as_echo_n "(cached) " >&6
72800 else
72803 ac_ext=c
72804 ac_cpp='$CPP $CPPFLAGS'
72805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72810 /* end confdefs.h. */
72812 #include <math.h>
72813 #ifdef HAVE_IEEEFP_H
72814 # include <ieeefp.h>
72815 #endif
72816 #undef asinl
72819 main ()
72822 void (*f)(void) = (void (*)(void))asinl;
72825 return 0;
72827 _ACEOF
72828 if ac_fn_c_try_compile "$LINENO"; then :
72829 glibcxx_cv_func_asinl_use=yes
72831 else
72832 glibcxx_cv_func_asinl_use=no
72834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_asinl_use" >&5
72837 $as_echo "$glibcxx_cv_func_asinl_use" >&6; }
72838 if test "x$glibcxx_cv_func_asinl_use" = xyes; then
72839 cat >>confdefs.h <<_ACEOF
72840 #define HAVE_ASINL 1
72841 _ACEOF
72847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
72848 $as_echo_n "checking for atan2l declaration... " >&6; }
72849 if ${glibcxx_cv_func_atan2l_use+:} false; then :
72850 $as_echo_n "(cached) " >&6
72851 else
72854 ac_ext=c
72855 ac_cpp='$CPP $CPPFLAGS'
72856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72861 /* end confdefs.h. */
72863 #include <math.h>
72864 #ifdef HAVE_IEEEFP_H
72865 # include <ieeefp.h>
72866 #endif
72867 #undef atan2l
72870 main ()
72873 void (*f)(void) = (void (*)(void))atan2l;
72876 return 0;
72878 _ACEOF
72879 if ac_fn_c_try_compile "$LINENO"; then :
72880 glibcxx_cv_func_atan2l_use=yes
72882 else
72883 glibcxx_cv_func_atan2l_use=no
72885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
72888 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
72889 if test "x$glibcxx_cv_func_atan2l_use" = xyes; then
72890 cat >>confdefs.h <<_ACEOF
72891 #define HAVE_ATAN2L 1
72892 _ACEOF
72898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl declaration" >&5
72899 $as_echo_n "checking for atanl declaration... " >&6; }
72900 if ${glibcxx_cv_func_atanl_use+:} false; then :
72901 $as_echo_n "(cached) " >&6
72902 else
72905 ac_ext=c
72906 ac_cpp='$CPP $CPPFLAGS'
72907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72912 /* end confdefs.h. */
72914 #include <math.h>
72915 #ifdef HAVE_IEEEFP_H
72916 # include <ieeefp.h>
72917 #endif
72918 #undef atanl
72921 main ()
72924 void (*f)(void) = (void (*)(void))atanl;
72927 return 0;
72929 _ACEOF
72930 if ac_fn_c_try_compile "$LINENO"; then :
72931 glibcxx_cv_func_atanl_use=yes
72933 else
72934 glibcxx_cv_func_atanl_use=no
72936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atanl_use" >&5
72939 $as_echo "$glibcxx_cv_func_atanl_use" >&6; }
72940 if test "x$glibcxx_cv_func_atanl_use" = xyes; then
72941 cat >>confdefs.h <<_ACEOF
72942 #define HAVE_ATANL 1
72943 _ACEOF
72949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill declaration" >&5
72950 $as_echo_n "checking for ceill declaration... " >&6; }
72951 if ${glibcxx_cv_func_ceill_use+:} false; then :
72952 $as_echo_n "(cached) " >&6
72953 else
72956 ac_ext=c
72957 ac_cpp='$CPP $CPPFLAGS'
72958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72963 /* end confdefs.h. */
72965 #include <math.h>
72966 #ifdef HAVE_IEEEFP_H
72967 # include <ieeefp.h>
72968 #endif
72969 #undef ceill
72972 main ()
72975 void (*f)(void) = (void (*)(void))ceill;
72978 return 0;
72980 _ACEOF
72981 if ac_fn_c_try_compile "$LINENO"; then :
72982 glibcxx_cv_func_ceill_use=yes
72984 else
72985 glibcxx_cv_func_ceill_use=no
72987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ceill_use" >&5
72990 $as_echo "$glibcxx_cv_func_ceill_use" >&6; }
72991 if test "x$glibcxx_cv_func_ceill_use" = xyes; then
72992 cat >>confdefs.h <<_ACEOF
72993 #define HAVE_CEILL 1
72994 _ACEOF
73000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl declaration" >&5
73001 $as_echo_n "checking for cosl declaration... " >&6; }
73002 if ${glibcxx_cv_func_cosl_use+:} false; then :
73003 $as_echo_n "(cached) " >&6
73004 else
73007 ac_ext=c
73008 ac_cpp='$CPP $CPPFLAGS'
73009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73014 /* end confdefs.h. */
73016 #include <math.h>
73017 #ifdef HAVE_IEEEFP_H
73018 # include <ieeefp.h>
73019 #endif
73020 #undef cosl
73023 main ()
73026 void (*f)(void) = (void (*)(void))cosl;
73029 return 0;
73031 _ACEOF
73032 if ac_fn_c_try_compile "$LINENO"; then :
73033 glibcxx_cv_func_cosl_use=yes
73035 else
73036 glibcxx_cv_func_cosl_use=no
73038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_cosl_use" >&5
73041 $as_echo "$glibcxx_cv_func_cosl_use" >&6; }
73042 if test "x$glibcxx_cv_func_cosl_use" = xyes; then
73043 cat >>confdefs.h <<_ACEOF
73044 #define HAVE_COSL 1
73045 _ACEOF
73051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl declaration" >&5
73052 $as_echo_n "checking for coshl declaration... " >&6; }
73053 if ${glibcxx_cv_func_coshl_use+:} false; then :
73054 $as_echo_n "(cached) " >&6
73055 else
73058 ac_ext=c
73059 ac_cpp='$CPP $CPPFLAGS'
73060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73065 /* end confdefs.h. */
73067 #include <math.h>
73068 #ifdef HAVE_IEEEFP_H
73069 # include <ieeefp.h>
73070 #endif
73071 #undef coshl
73074 main ()
73077 void (*f)(void) = (void (*)(void))coshl;
73080 return 0;
73082 _ACEOF
73083 if ac_fn_c_try_compile "$LINENO"; then :
73084 glibcxx_cv_func_coshl_use=yes
73086 else
73087 glibcxx_cv_func_coshl_use=no
73089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_coshl_use" >&5
73092 $as_echo "$glibcxx_cv_func_coshl_use" >&6; }
73093 if test "x$glibcxx_cv_func_coshl_use" = xyes; then
73094 cat >>confdefs.h <<_ACEOF
73095 #define HAVE_COSHL 1
73096 _ACEOF
73102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
73103 $as_echo_n "checking for expl declaration... " >&6; }
73104 if ${glibcxx_cv_func_expl_use+:} false; then :
73105 $as_echo_n "(cached) " >&6
73106 else
73109 ac_ext=c
73110 ac_cpp='$CPP $CPPFLAGS'
73111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73116 /* end confdefs.h. */
73118 #include <math.h>
73119 #ifdef HAVE_IEEEFP_H
73120 # include <ieeefp.h>
73121 #endif
73122 #undef expl
73125 main ()
73128 void (*f)(void) = (void (*)(void))expl;
73131 return 0;
73133 _ACEOF
73134 if ac_fn_c_try_compile "$LINENO"; then :
73135 glibcxx_cv_func_expl_use=yes
73137 else
73138 glibcxx_cv_func_expl_use=no
73140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
73143 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
73144 if test "x$glibcxx_cv_func_expl_use" = xyes; then
73145 cat >>confdefs.h <<_ACEOF
73146 #define HAVE_EXPL 1
73147 _ACEOF
73153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
73154 $as_echo_n "checking for fabsl declaration... " >&6; }
73155 if ${glibcxx_cv_func_fabsl_use+:} false; then :
73156 $as_echo_n "(cached) " >&6
73157 else
73160 ac_ext=c
73161 ac_cpp='$CPP $CPPFLAGS'
73162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73167 /* end confdefs.h. */
73169 #include <math.h>
73170 #ifdef HAVE_IEEEFP_H
73171 # include <ieeefp.h>
73172 #endif
73173 #undef fabsl
73176 main ()
73179 void (*f)(void) = (void (*)(void))fabsl;
73182 return 0;
73184 _ACEOF
73185 if ac_fn_c_try_compile "$LINENO"; then :
73186 glibcxx_cv_func_fabsl_use=yes
73188 else
73189 glibcxx_cv_func_fabsl_use=no
73191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
73194 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
73195 if test "x$glibcxx_cv_func_fabsl_use" = xyes; then
73196 cat >>confdefs.h <<_ACEOF
73197 #define HAVE_FABSL 1
73198 _ACEOF
73204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl declaration" >&5
73205 $as_echo_n "checking for floorl declaration... " >&6; }
73206 if ${glibcxx_cv_func_floorl_use+:} false; then :
73207 $as_echo_n "(cached) " >&6
73208 else
73211 ac_ext=c
73212 ac_cpp='$CPP $CPPFLAGS'
73213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73218 /* end confdefs.h. */
73220 #include <math.h>
73221 #ifdef HAVE_IEEEFP_H
73222 # include <ieeefp.h>
73223 #endif
73224 #undef floorl
73227 main ()
73230 void (*f)(void) = (void (*)(void))floorl;
73233 return 0;
73235 _ACEOF
73236 if ac_fn_c_try_compile "$LINENO"; then :
73237 glibcxx_cv_func_floorl_use=yes
73239 else
73240 glibcxx_cv_func_floorl_use=no
73242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_floorl_use" >&5
73245 $as_echo "$glibcxx_cv_func_floorl_use" >&6; }
73246 if test "x$glibcxx_cv_func_floorl_use" = xyes; then
73247 cat >>confdefs.h <<_ACEOF
73248 #define HAVE_FLOORL 1
73249 _ACEOF
73255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
73256 $as_echo_n "checking for fmodl declaration... " >&6; }
73257 if ${glibcxx_cv_func_fmodl_use+:} false; then :
73258 $as_echo_n "(cached) " >&6
73259 else
73262 ac_ext=c
73263 ac_cpp='$CPP $CPPFLAGS'
73264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73269 /* end confdefs.h. */
73271 #include <math.h>
73272 #ifdef HAVE_IEEEFP_H
73273 # include <ieeefp.h>
73274 #endif
73275 #undef fmodl
73278 main ()
73281 void (*f)(void) = (void (*)(void))fmodl;
73284 return 0;
73286 _ACEOF
73287 if ac_fn_c_try_compile "$LINENO"; then :
73288 glibcxx_cv_func_fmodl_use=yes
73290 else
73291 glibcxx_cv_func_fmodl_use=no
73293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
73296 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
73297 if test "x$glibcxx_cv_func_fmodl_use" = xyes; then
73298 cat >>confdefs.h <<_ACEOF
73299 #define HAVE_FMODL 1
73300 _ACEOF
73306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
73307 $as_echo_n "checking for frexpl declaration... " >&6; }
73308 if ${glibcxx_cv_func_frexpl_use+:} false; then :
73309 $as_echo_n "(cached) " >&6
73310 else
73313 ac_ext=c
73314 ac_cpp='$CPP $CPPFLAGS'
73315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73320 /* end confdefs.h. */
73322 #include <math.h>
73323 #ifdef HAVE_IEEEFP_H
73324 # include <ieeefp.h>
73325 #endif
73326 #undef frexpl
73329 main ()
73332 void (*f)(void) = (void (*)(void))frexpl;
73335 return 0;
73337 _ACEOF
73338 if ac_fn_c_try_compile "$LINENO"; then :
73339 glibcxx_cv_func_frexpl_use=yes
73341 else
73342 glibcxx_cv_func_frexpl_use=no
73344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
73347 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
73348 if test "x$glibcxx_cv_func_frexpl_use" = xyes; then
73349 cat >>confdefs.h <<_ACEOF
73350 #define HAVE_FREXPL 1
73351 _ACEOF
73357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
73358 $as_echo_n "checking for ldexpl declaration... " >&6; }
73359 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
73360 $as_echo_n "(cached) " >&6
73361 else
73364 ac_ext=c
73365 ac_cpp='$CPP $CPPFLAGS'
73366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73371 /* end confdefs.h. */
73373 #include <math.h>
73374 #ifdef HAVE_IEEEFP_H
73375 # include <ieeefp.h>
73376 #endif
73377 #undef ldexpl
73380 main ()
73383 void (*f)(void) = (void (*)(void))ldexpl;
73386 return 0;
73388 _ACEOF
73389 if ac_fn_c_try_compile "$LINENO"; then :
73390 glibcxx_cv_func_ldexpl_use=yes
73392 else
73393 glibcxx_cv_func_ldexpl_use=no
73395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
73398 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
73399 if test "x$glibcxx_cv_func_ldexpl_use" = xyes; then
73400 cat >>confdefs.h <<_ACEOF
73401 #define HAVE_LDEXPL 1
73402 _ACEOF
73408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
73409 $as_echo_n "checking for log10l declaration... " >&6; }
73410 if ${glibcxx_cv_func_log10l_use+:} false; then :
73411 $as_echo_n "(cached) " >&6
73412 else
73415 ac_ext=c
73416 ac_cpp='$CPP $CPPFLAGS'
73417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73422 /* end confdefs.h. */
73424 #include <math.h>
73425 #ifdef HAVE_IEEEFP_H
73426 # include <ieeefp.h>
73427 #endif
73428 #undef log10l
73431 main ()
73434 void (*f)(void) = (void (*)(void))log10l;
73437 return 0;
73439 _ACEOF
73440 if ac_fn_c_try_compile "$LINENO"; then :
73441 glibcxx_cv_func_log10l_use=yes
73443 else
73444 glibcxx_cv_func_log10l_use=no
73446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
73449 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
73450 if test "x$glibcxx_cv_func_log10l_use" = xyes; then
73451 cat >>confdefs.h <<_ACEOF
73452 #define HAVE_LOG10L 1
73453 _ACEOF
73459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
73460 $as_echo_n "checking for logl declaration... " >&6; }
73461 if ${glibcxx_cv_func_logl_use+:} false; then :
73462 $as_echo_n "(cached) " >&6
73463 else
73466 ac_ext=c
73467 ac_cpp='$CPP $CPPFLAGS'
73468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73473 /* end confdefs.h. */
73475 #include <math.h>
73476 #ifdef HAVE_IEEEFP_H
73477 # include <ieeefp.h>
73478 #endif
73479 #undef logl
73482 main ()
73485 void (*f)(void) = (void (*)(void))logl;
73488 return 0;
73490 _ACEOF
73491 if ac_fn_c_try_compile "$LINENO"; then :
73492 glibcxx_cv_func_logl_use=yes
73494 else
73495 glibcxx_cv_func_logl_use=no
73497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
73500 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
73501 if test "x$glibcxx_cv_func_logl_use" = xyes; then
73502 cat >>confdefs.h <<_ACEOF
73503 #define HAVE_LOGL 1
73504 _ACEOF
73510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
73511 $as_echo_n "checking for modfl declaration... " >&6; }
73512 if ${glibcxx_cv_func_modfl_use+:} false; then :
73513 $as_echo_n "(cached) " >&6
73514 else
73517 ac_ext=c
73518 ac_cpp='$CPP $CPPFLAGS'
73519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73524 /* end confdefs.h. */
73526 #include <math.h>
73527 #ifdef HAVE_IEEEFP_H
73528 # include <ieeefp.h>
73529 #endif
73530 #undef modfl
73533 main ()
73536 void (*f)(void) = (void (*)(void))modfl;
73539 return 0;
73541 _ACEOF
73542 if ac_fn_c_try_compile "$LINENO"; then :
73543 glibcxx_cv_func_modfl_use=yes
73545 else
73546 glibcxx_cv_func_modfl_use=no
73548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
73551 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
73552 if test "x$glibcxx_cv_func_modfl_use" = xyes; then
73553 cat >>confdefs.h <<_ACEOF
73554 #define HAVE_MODFL 1
73555 _ACEOF
73561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
73562 $as_echo_n "checking for powl declaration... " >&6; }
73563 if ${glibcxx_cv_func_powl_use+:} false; then :
73564 $as_echo_n "(cached) " >&6
73565 else
73568 ac_ext=c
73569 ac_cpp='$CPP $CPPFLAGS'
73570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73575 /* end confdefs.h. */
73577 #include <math.h>
73578 #ifdef HAVE_IEEEFP_H
73579 # include <ieeefp.h>
73580 #endif
73581 #undef powl
73584 main ()
73587 void (*f)(void) = (void (*)(void))powl;
73590 return 0;
73592 _ACEOF
73593 if ac_fn_c_try_compile "$LINENO"; then :
73594 glibcxx_cv_func_powl_use=yes
73596 else
73597 glibcxx_cv_func_powl_use=no
73599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
73602 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
73603 if test "x$glibcxx_cv_func_powl_use" = xyes; then
73604 cat >>confdefs.h <<_ACEOF
73605 #define HAVE_POWL 1
73606 _ACEOF
73612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl declaration" >&5
73613 $as_echo_n "checking for sinl declaration... " >&6; }
73614 if ${glibcxx_cv_func_sinl_use+:} false; then :
73615 $as_echo_n "(cached) " >&6
73616 else
73619 ac_ext=c
73620 ac_cpp='$CPP $CPPFLAGS'
73621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73626 /* end confdefs.h. */
73628 #include <math.h>
73629 #ifdef HAVE_IEEEFP_H
73630 # include <ieeefp.h>
73631 #endif
73632 #undef sinl
73635 main ()
73638 void (*f)(void) = (void (*)(void))sinl;
73641 return 0;
73643 _ACEOF
73644 if ac_fn_c_try_compile "$LINENO"; then :
73645 glibcxx_cv_func_sinl_use=yes
73647 else
73648 glibcxx_cv_func_sinl_use=no
73650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinl_use" >&5
73653 $as_echo "$glibcxx_cv_func_sinl_use" >&6; }
73654 if test "x$glibcxx_cv_func_sinl_use" = xyes; then
73655 cat >>confdefs.h <<_ACEOF
73656 #define HAVE_SINL 1
73657 _ACEOF
73663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl declaration" >&5
73664 $as_echo_n "checking for sinhl declaration... " >&6; }
73665 if ${glibcxx_cv_func_sinhl_use+:} false; then :
73666 $as_echo_n "(cached) " >&6
73667 else
73670 ac_ext=c
73671 ac_cpp='$CPP $CPPFLAGS'
73672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73677 /* end confdefs.h. */
73679 #include <math.h>
73680 #ifdef HAVE_IEEEFP_H
73681 # include <ieeefp.h>
73682 #endif
73683 #undef sinhl
73686 main ()
73689 void (*f)(void) = (void (*)(void))sinhl;
73692 return 0;
73694 _ACEOF
73695 if ac_fn_c_try_compile "$LINENO"; then :
73696 glibcxx_cv_func_sinhl_use=yes
73698 else
73699 glibcxx_cv_func_sinhl_use=no
73701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinhl_use" >&5
73704 $as_echo "$glibcxx_cv_func_sinhl_use" >&6; }
73705 if test "x$glibcxx_cv_func_sinhl_use" = xyes; then
73706 cat >>confdefs.h <<_ACEOF
73707 #define HAVE_SINHL 1
73708 _ACEOF
73714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
73715 $as_echo_n "checking for sqrtl declaration... " >&6; }
73716 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
73717 $as_echo_n "(cached) " >&6
73718 else
73721 ac_ext=c
73722 ac_cpp='$CPP $CPPFLAGS'
73723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73728 /* end confdefs.h. */
73730 #include <math.h>
73731 #ifdef HAVE_IEEEFP_H
73732 # include <ieeefp.h>
73733 #endif
73734 #undef sqrtl
73737 main ()
73740 void (*f)(void) = (void (*)(void))sqrtl;
73743 return 0;
73745 _ACEOF
73746 if ac_fn_c_try_compile "$LINENO"; then :
73747 glibcxx_cv_func_sqrtl_use=yes
73749 else
73750 glibcxx_cv_func_sqrtl_use=no
73752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
73755 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
73756 if test "x$glibcxx_cv_func_sqrtl_use" = xyes; then
73757 cat >>confdefs.h <<_ACEOF
73758 #define HAVE_SQRTL 1
73759 _ACEOF
73765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl declaration" >&5
73766 $as_echo_n "checking for tanl declaration... " >&6; }
73767 if ${glibcxx_cv_func_tanl_use+:} false; then :
73768 $as_echo_n "(cached) " >&6
73769 else
73772 ac_ext=c
73773 ac_cpp='$CPP $CPPFLAGS'
73774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73779 /* end confdefs.h. */
73781 #include <math.h>
73782 #ifdef HAVE_IEEEFP_H
73783 # include <ieeefp.h>
73784 #endif
73785 #undef tanl
73788 main ()
73791 void (*f)(void) = (void (*)(void))tanl;
73794 return 0;
73796 _ACEOF
73797 if ac_fn_c_try_compile "$LINENO"; then :
73798 glibcxx_cv_func_tanl_use=yes
73800 else
73801 glibcxx_cv_func_tanl_use=no
73803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanl_use" >&5
73806 $as_echo "$glibcxx_cv_func_tanl_use" >&6; }
73807 if test "x$glibcxx_cv_func_tanl_use" = xyes; then
73808 cat >>confdefs.h <<_ACEOF
73809 #define HAVE_TANL 1
73810 _ACEOF
73816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl declaration" >&5
73817 $as_echo_n "checking for tanhl declaration... " >&6; }
73818 if ${glibcxx_cv_func_tanhl_use+:} false; then :
73819 $as_echo_n "(cached) " >&6
73820 else
73823 ac_ext=c
73824 ac_cpp='$CPP $CPPFLAGS'
73825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73830 /* end confdefs.h. */
73832 #include <math.h>
73833 #ifdef HAVE_IEEEFP_H
73834 # include <ieeefp.h>
73835 #endif
73836 #undef tanhl
73839 main ()
73842 void (*f)(void) = (void (*)(void))tanhl;
73845 return 0;
73847 _ACEOF
73848 if ac_fn_c_try_compile "$LINENO"; then :
73849 glibcxx_cv_func_tanhl_use=yes
73851 else
73852 glibcxx_cv_func_tanhl_use=no
73854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanhl_use" >&5
73857 $as_echo "$glibcxx_cv_func_tanhl_use" >&6; }
73858 if test "x$glibcxx_cv_func_tanhl_use" = xyes; then
73859 cat >>confdefs.h <<_ACEOF
73860 #define HAVE_TANHL 1
73861 _ACEOF
73867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
73868 $as_echo_n "checking for hypotl declaration... " >&6; }
73869 if ${glibcxx_cv_func_hypotl_use+:} false; then :
73870 $as_echo_n "(cached) " >&6
73871 else
73874 ac_ext=c
73875 ac_cpp='$CPP $CPPFLAGS'
73876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73881 /* end confdefs.h. */
73883 #include <math.h>
73884 #ifdef HAVE_IEEEFP_H
73885 # include <ieeefp.h>
73886 #endif
73887 #undef hypotl
73890 main ()
73893 void (*f)(void) = (void (*)(void))hypotl;
73896 return 0;
73898 _ACEOF
73899 if ac_fn_c_try_compile "$LINENO"; then :
73900 glibcxx_cv_func_hypotl_use=yes
73902 else
73903 glibcxx_cv_func_hypotl_use=no
73905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
73908 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
73909 if test "x$glibcxx_cv_func_hypotl_use" = xyes; then
73910 cat >>confdefs.h <<_ACEOF
73911 #define HAVE_HYPOTL 1
73912 _ACEOF
73918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
73919 $as_echo_n "checking for ldexpf declaration... " >&6; }
73920 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
73921 $as_echo_n "(cached) " >&6
73922 else
73925 ac_ext=c
73926 ac_cpp='$CPP $CPPFLAGS'
73927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73932 /* end confdefs.h. */
73934 #include <math.h>
73935 #ifdef HAVE_IEEEFP_H
73936 # include <ieeefp.h>
73937 #endif
73938 #undef ldexpf
73941 main ()
73944 void (*f)(void) = (void (*)(void))ldexpf;
73947 return 0;
73949 _ACEOF
73950 if ac_fn_c_try_compile "$LINENO"; then :
73951 glibcxx_cv_func_ldexpf_use=yes
73953 else
73954 glibcxx_cv_func_ldexpf_use=no
73956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
73959 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
73960 if test "x$glibcxx_cv_func_ldexpf_use" = xyes; then
73961 cat >>confdefs.h <<_ACEOF
73962 #define HAVE_LDEXPF 1
73963 _ACEOF
73969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
73970 $as_echo_n "checking for modff declaration... " >&6; }
73971 if ${glibcxx_cv_func_modff_use+:} false; then :
73972 $as_echo_n "(cached) " >&6
73973 else
73976 ac_ext=c
73977 ac_cpp='$CPP $CPPFLAGS'
73978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73983 /* end confdefs.h. */
73985 #include <math.h>
73986 #ifdef HAVE_IEEEFP_H
73987 # include <ieeefp.h>
73988 #endif
73989 #undef modff
73992 main ()
73995 void (*f)(void) = (void (*)(void))modff;
73998 return 0;
74000 _ACEOF
74001 if ac_fn_c_try_compile "$LINENO"; then :
74002 glibcxx_cv_func_modff_use=yes
74004 else
74005 glibcxx_cv_func_modff_use=no
74007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
74010 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
74011 if test "x$glibcxx_cv_func_modff_use" = xyes; then
74012 cat >>confdefs.h <<_ACEOF
74013 #define HAVE_MODFF 1
74014 _ACEOF
74020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
74021 $as_echo_n "checking for hypotf declaration... " >&6; }
74022 if ${glibcxx_cv_func_hypotf_use+:} false; then :
74023 $as_echo_n "(cached) " >&6
74024 else
74027 ac_ext=c
74028 ac_cpp='$CPP $CPPFLAGS'
74029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74034 /* end confdefs.h. */
74036 #include <math.h>
74037 #ifdef HAVE_IEEEFP_H
74038 # include <ieeefp.h>
74039 #endif
74040 #undef hypotf
74043 main ()
74046 void (*f)(void) = (void (*)(void))hypotf;
74049 return 0;
74051 _ACEOF
74052 if ac_fn_c_try_compile "$LINENO"; then :
74053 glibcxx_cv_func_hypotf_use=yes
74055 else
74056 glibcxx_cv_func_hypotf_use=no
74058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
74061 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
74062 if test "x$glibcxx_cv_func_hypotf_use" = xyes; then
74063 cat >>confdefs.h <<_ACEOF
74064 #define HAVE_HYPOTF 1
74065 _ACEOF
74071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
74072 $as_echo_n "checking for frexpf declaration... " >&6; }
74073 if ${glibcxx_cv_func_frexpf_use+:} false; then :
74074 $as_echo_n "(cached) " >&6
74075 else
74078 ac_ext=c
74079 ac_cpp='$CPP $CPPFLAGS'
74080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74085 /* end confdefs.h. */
74087 #include <math.h>
74088 #ifdef HAVE_IEEEFP_H
74089 # include <ieeefp.h>
74090 #endif
74091 #undef frexpf
74094 main ()
74097 void (*f)(void) = (void (*)(void))frexpf;
74100 return 0;
74102 _ACEOF
74103 if ac_fn_c_try_compile "$LINENO"; then :
74104 glibcxx_cv_func_frexpf_use=yes
74106 else
74107 glibcxx_cv_func_frexpf_use=no
74109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
74112 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
74113 if test "x$glibcxx_cv_func_frexpf_use" = xyes; then
74114 cat >>confdefs.h <<_ACEOF
74115 #define HAVE_FREXPF 1
74116 _ACEOF
74124 as_fn_error $? "No support for this host/target combination." "$LINENO" 5
74126 esac
74130 # At some point, we should differentiate between architectures
74131 # like x86, which have long double versions, and alpha/powerpc/etc.,
74132 # which don't. For the time being, punt.
74133 if test x"long_double_math_on_this_cpu" = x"yes"; then
74134 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
74136 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
74138 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
74140 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
74142 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
74144 $as_echo "#define HAVE_COSL 1" >>confdefs.h
74146 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
74148 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
74150 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
74152 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
74154 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
74156 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
74158 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
74160 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
74162 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
74164 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
74166 $as_echo "#define HAVE_POWL 1" >>confdefs.h
74168 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
74170 $as_echo "#define HAVE_SINL 1" >>confdefs.h
74172 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
74174 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
74176 $as_echo "#define HAVE_TANL 1" >>confdefs.h
74178 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
74183 # Check for _Unwind_GetIPInfo.
74186 # Check whether --with-system-libunwind was given.
74187 if test "${with_system_libunwind+set}" = set; then :
74188 withval=$with_system_libunwind;
74191 # If system-libunwind was not specifically set, pick a default setting.
74192 if test x$with_system_libunwind = x; then
74193 case ${target} in
74194 ia64-*-hpux*) with_system_libunwind=yes ;;
74195 *) with_system_libunwind=no ;;
74196 esac
74198 # Based on system-libunwind and target, do we have ipinfo?
74199 if test x$with_system_libunwind = xyes; then
74200 case ${target} in
74201 ia64-*-*) have_unwind_getipinfo=no ;;
74202 *) have_unwind_getipinfo=yes ;;
74203 esac
74204 else
74205 # Darwin before version 9 does not have _Unwind_GetIPInfo.
74207 case ${target} in
74208 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
74209 *) have_unwind_getipinfo=yes ;;
74210 esac
74214 if test x$have_unwind_getipinfo = xyes; then
74216 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
74221 # Check whether --enable-linux-futex was given.
74222 if test "${enable_linux_futex+set}" = set; then :
74223 enableval=$enable_linux_futex;
74224 case "$enableval" in
74225 yes|no|default) ;;
74226 *) as_fn_error $? "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
74227 esac
74229 else
74230 enable_linux_futex=default
74234 case "$target" in
74235 *-linux* | *-uclinux*)
74236 case "$enable_linux_futex" in
74237 default)
74238 # If headers don't have gettid/futex syscalls definition, then
74239 # default to no, otherwise there will be compile time failures.
74240 # Otherwise, default to yes. If we don't detect we are
74241 # compiled/linked against NPTL and not cross-compiling, check
74242 # if programs are run by default against NPTL and if not, issue
74243 # a warning.
74244 enable_linux_futex=no
74245 if test x$gcc_no_link = xyes; then
74246 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74249 /* end confdefs.h. */
74250 #include <sys/syscall.h>
74251 #include <unistd.h>
74252 int lk;
74254 main ()
74256 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
74258 return 0;
74260 _ACEOF
74261 if ac_fn_c_try_link "$LINENO"; then :
74262 save_LIBS="$LIBS"
74263 LIBS="-lpthread $LIBS"
74264 if test x$gcc_no_link = xyes; then
74265 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74268 /* end confdefs.h. */
74269 #ifndef _GNU_SOURCE
74270 #define _GNU_SOURCE 1
74271 #endif
74272 #include <pthread.h>
74273 pthread_t th; void *status;
74275 main ()
74277 pthread_tryjoin_np (th, &status);
74279 return 0;
74281 _ACEOF
74282 if ac_fn_c_try_link "$LINENO"; then :
74283 enable_linux_futex=yes
74284 else
74285 if test x$cross_compiling = xno; then
74286 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
74287 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
74288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
74289 If so, please configure with --disable-linux-futex" >&5
74290 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
74291 If so, please configure with --disable-linux-futex" >&2;}
74294 enable_linux_futex=yes
74296 rm -f core conftest.err conftest.$ac_objext \
74297 conftest$ac_exeext conftest.$ac_ext
74298 LIBS="$save_LIBS"
74300 rm -f core conftest.err conftest.$ac_objext \
74301 conftest$ac_exeext conftest.$ac_ext
74303 yes)
74304 if test x$gcc_no_link = xyes; then
74305 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74308 /* end confdefs.h. */
74309 #include <sys/syscall.h>
74310 #include <unistd.h>
74311 int lk;
74313 main ()
74315 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
74317 return 0;
74319 _ACEOF
74320 if ac_fn_c_try_link "$LINENO"; then :
74322 else
74323 as_fn_error $? "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
74325 rm -f core conftest.err conftest.$ac_objext \
74326 conftest$ac_exeext conftest.$ac_ext
74328 esac
74331 enable_linux_futex=no
74333 esac
74334 if test x$enable_linux_futex = xyes; then
74336 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
74341 if test "$is_hosted" = yes; then
74342 # TODO: remove this and change src/c++11/compatibility-atomic-c++0x.cc to
74343 # use <stdint.h> instead of <gstdint.h>.
74346 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
74348 acx_cv_header_stdint=stddef.h
74349 acx_cv_header_stdint_kind="(already complete)"
74350 for i in stdint.h $inttype_headers; do
74351 unset ac_cv_type_uintptr_t
74352 unset ac_cv_type_uintmax_t
74353 unset ac_cv_type_int_least32_t
74354 unset ac_cv_type_int_fast32_t
74355 unset ac_cv_type_uint64_t
74356 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
74357 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
74358 #include <$i>
74360 if test "x$ac_cv_type_uintmax_t" = xyes; then :
74361 acx_cv_header_stdint=$i
74362 else
74363 continue
74366 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
74367 #include <$i>
74369 if test "x$ac_cv_type_uintptr_t" = xyes; then :
74371 else
74372 acx_cv_header_stdint_kind="(mostly complete)"
74375 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
74376 #include <$i>
74378 if test "x$ac_cv_type_int_least32_t" = xyes; then :
74380 else
74381 acx_cv_header_stdint_kind="(mostly complete)"
74384 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
74385 #include <$i>
74387 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
74389 else
74390 acx_cv_header_stdint_kind="(mostly complete)"
74393 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
74394 #include <$i>
74396 if test "x$ac_cv_type_uint64_t" = xyes; then :
74398 else
74399 acx_cv_header_stdint_kind="(lacks uint64_t)"
74402 break
74403 done
74404 if test "$acx_cv_header_stdint" = stddef.h; then
74405 acx_cv_header_stdint_kind="(lacks uintmax_t)"
74406 for i in stdint.h $inttype_headers; do
74407 unset ac_cv_type_uintptr_t
74408 unset ac_cv_type_uint32_t
74409 unset ac_cv_type_uint64_t
74410 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
74411 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
74412 #include <$i>
74414 if test "x$ac_cv_type_uint32_t" = xyes; then :
74415 acx_cv_header_stdint=$i
74416 else
74417 continue
74420 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
74421 #include <$i>
74423 if test "x$ac_cv_type_uint64_t" = xyes; then :
74427 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
74428 #include <$i>
74430 if test "x$ac_cv_type_uintptr_t" = xyes; then :
74434 break
74435 done
74437 if test "$acx_cv_header_stdint" = stddef.h; then
74438 acx_cv_header_stdint_kind="(u_intXX_t style)"
74439 for i in sys/types.h $inttype_headers; do
74440 unset ac_cv_type_u_int32_t
74441 unset ac_cv_type_u_int64_t
74442 $as_echo_n "looking for u_intXX_t types in $i, " >&6
74443 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
74444 #include <$i>
74446 if test "x$ac_cv_type_u_int32_t" = xyes; then :
74447 acx_cv_header_stdint=$i
74448 else
74449 continue
74452 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
74453 #include <$i>
74455 if test "x$ac_cv_type_u_int64_t" = xyes; then :
74459 break
74460 done
74462 if test "$acx_cv_header_stdint" = stddef.h; then
74463 acx_cv_header_stdint_kind="(using manual detection)"
74466 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
74467 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
74468 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
74469 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
74470 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
74472 # ----------------- Summarize what we found so far
74474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
74475 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
74477 case `$as_basename -- include/gstdint.h ||
74478 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
74479 Xinclude/gstdint.h : 'X\(//\)$' \| \
74480 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
74481 $as_echo X/include/gstdint.h |
74482 sed '/^.*\/\([^/][^/]*\)\/*$/{
74483 s//\1/
74486 /^X\/\(\/\/\)$/{
74487 s//\1/
74490 /^X\/\(\/\).*/{
74491 s//\1/
74494 s/.*/./; q'` in
74495 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
74496 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
74497 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
74498 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
74499 *) ;;
74500 esac
74502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
74503 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
74505 # ----------------- done included file, check C basic types --------
74507 # Lacking an uintptr_t? Test size of void *
74508 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
74509 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
74510 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74511 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74512 # This bug is HP SR number 8606223364.
74513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
74514 $as_echo_n "checking size of void *... " >&6; }
74515 if ${ac_cv_sizeof_void_p+:} false; then :
74516 $as_echo_n "(cached) " >&6
74517 else
74518 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
74520 else
74521 if test "$ac_cv_type_void_p" = yes; then
74522 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74523 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74524 as_fn_error 77 "cannot compute sizeof (void *)
74525 See \`config.log' for more details" "$LINENO" 5; }
74526 else
74527 ac_cv_sizeof_void_p=0
74532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
74533 $as_echo "$ac_cv_sizeof_void_p" >&6; }
74537 cat >>confdefs.h <<_ACEOF
74538 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
74539 _ACEOF
74542 esac
74544 # Lacking an uint64_t? Test size of long
74545 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
74546 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
74547 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74548 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74549 # This bug is HP SR number 8606223364.
74550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
74551 $as_echo_n "checking size of long... " >&6; }
74552 if ${ac_cv_sizeof_long+:} false; then :
74553 $as_echo_n "(cached) " >&6
74554 else
74555 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
74557 else
74558 if test "$ac_cv_type_long" = yes; then
74559 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74560 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74561 as_fn_error 77 "cannot compute sizeof (long)
74562 See \`config.log' for more details" "$LINENO" 5; }
74563 else
74564 ac_cv_sizeof_long=0
74569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
74570 $as_echo "$ac_cv_sizeof_long" >&6; }
74574 cat >>confdefs.h <<_ACEOF
74575 #define SIZEOF_LONG $ac_cv_sizeof_long
74576 _ACEOF
74579 esac
74581 if test $acx_cv_header_stdint = stddef.h; then
74582 # Lacking a good header? Test size of everything and deduce all types.
74583 # The cast to long int works around a bug in the HP C Compiler
74584 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74585 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74586 # This bug is HP SR number 8606223364.
74587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
74588 $as_echo_n "checking size of int... " >&6; }
74589 if ${ac_cv_sizeof_int+:} false; then :
74590 $as_echo_n "(cached) " >&6
74591 else
74592 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
74594 else
74595 if test "$ac_cv_type_int" = yes; then
74596 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74597 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74598 as_fn_error 77 "cannot compute sizeof (int)
74599 See \`config.log' for more details" "$LINENO" 5; }
74600 else
74601 ac_cv_sizeof_int=0
74606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
74607 $as_echo "$ac_cv_sizeof_int" >&6; }
74611 cat >>confdefs.h <<_ACEOF
74612 #define SIZEOF_INT $ac_cv_sizeof_int
74613 _ACEOF
74616 # The cast to long int works around a bug in the HP C Compiler
74617 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74618 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74619 # This bug is HP SR number 8606223364.
74620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
74621 $as_echo_n "checking size of short... " >&6; }
74622 if ${ac_cv_sizeof_short+:} false; then :
74623 $as_echo_n "(cached) " >&6
74624 else
74625 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
74627 else
74628 if test "$ac_cv_type_short" = yes; then
74629 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74630 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74631 as_fn_error 77 "cannot compute sizeof (short)
74632 See \`config.log' for more details" "$LINENO" 5; }
74633 else
74634 ac_cv_sizeof_short=0
74639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
74640 $as_echo "$ac_cv_sizeof_short" >&6; }
74644 cat >>confdefs.h <<_ACEOF
74645 #define SIZEOF_SHORT $ac_cv_sizeof_short
74646 _ACEOF
74649 # The cast to long int works around a bug in the HP C Compiler
74650 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74651 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74652 # This bug is HP SR number 8606223364.
74653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
74654 $as_echo_n "checking size of char... " >&6; }
74655 if ${ac_cv_sizeof_char+:} false; then :
74656 $as_echo_n "(cached) " >&6
74657 else
74658 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
74660 else
74661 if test "$ac_cv_type_char" = yes; then
74662 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74663 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74664 as_fn_error 77 "cannot compute sizeof (char)
74665 See \`config.log' for more details" "$LINENO" 5; }
74666 else
74667 ac_cv_sizeof_char=0
74672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
74673 $as_echo "$ac_cv_sizeof_char" >&6; }
74677 cat >>confdefs.h <<_ACEOF
74678 #define SIZEOF_CHAR $ac_cv_sizeof_char
74679 _ACEOF
74683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
74684 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
74685 case "$ac_cv_sizeof_char" in
74686 1) acx_cv_type_int8_t=char ;;
74687 *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
74688 esac
74689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
74690 $as_echo "$acx_cv_type_int8_t" >&6; }
74692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
74693 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
74694 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
74695 2:*) acx_cv_type_int16_t=int ;;
74696 *:2) acx_cv_type_int16_t=short ;;
74697 *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
74698 esac
74699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
74700 $as_echo "$acx_cv_type_int16_t" >&6; }
74702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
74703 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
74704 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
74705 4:*) acx_cv_type_int32_t=int ;;
74706 *:4) acx_cv_type_int32_t=long ;;
74707 *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
74708 esac
74709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
74710 $as_echo "$acx_cv_type_int32_t" >&6; }
74713 # These tests are here to make the output prettier
74715 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
74716 case "$ac_cv_sizeof_long" in
74717 8) acx_cv_type_int64_t=long ;;
74718 esac
74719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
74720 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
74721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
74722 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
74725 # Now we can use the above types
74727 if test "$ac_cv_type_uintptr_t" != yes; then
74728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
74729 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
74730 case $ac_cv_sizeof_void_p in
74731 2) acx_cv_type_intptr_t=int16_t ;;
74732 4) acx_cv_type_intptr_t=int32_t ;;
74733 8) acx_cv_type_intptr_t=int64_t ;;
74734 *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
74735 esac
74736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
74737 $as_echo "$acx_cv_type_intptr_t" >&6; }
74740 # ----------------- done all checks, emit header -------------
74741 ac_config_commands="$ac_config_commands include/gstdint.h"
74748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
74749 $as_echo_n "checking for GNU c++filt... " >&6; }
74750 if ${ac_cv_path_CXXFILT+:} false; then :
74751 $as_echo_n "(cached) " >&6
74752 else
74753 if test -z "$CXXFILT"; then
74754 ac_path_CXXFILT_found=false
74755 # Loop through the user's path and test for each of PROGNAME-LIST
74756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74757 for as_dir in $PATH
74759 IFS=$as_save_IFS
74760 test -z "$as_dir" && as_dir=.
74761 for ac_prog in c++filt gc++filt; do
74762 for ac_exec_ext in '' $ac_executable_extensions; do
74763 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
74764 as_fn_executable_p "$ac_path_CXXFILT" || continue
74765 # Check for GNU $ac_path_CXXFILT
74766 case `"$ac_path_CXXFILT" --version 2>&1` in
74767 *GNU*)
74768 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
74769 esac
74771 $ac_path_CXXFILT_found && break 3
74772 done
74773 done
74774 done
74775 IFS=$as_save_IFS
74776 if test -z "$ac_cv_path_CXXFILT"; then
74779 else
74780 ac_cv_path_CXXFILT=$CXXFILT
74784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
74785 $as_echo "$ac_cv_path_CXXFILT" >&6; }
74786 CXXFILT=$ac_cv_path_CXXFILT
74790 # Check whether --enable-symvers was given.
74791 if test "${enable_symvers+set}" = set; then :
74792 enableval=$enable_symvers;
74793 case "$enableval" in
74794 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
74795 *) as_fn_error $? "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
74796 esac
74798 else
74799 enable_symvers=yes
74804 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
74805 # don't know enough about $LD to do tricks...
74807 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
74808 # with extern "C++" in version scripts.
74811 # Turn a 'yes' into a suitable default.
74812 if test x$enable_symvers = xyes ; then
74813 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
74814 enable_symvers=no
74815 else
74816 if test $with_gnu_ld = yes ; then
74817 case ${target_os} in
74818 hpux*)
74819 enable_symvers=no ;;
74821 enable_symvers=gnu ;;
74822 esac
74823 else
74824 case ${target_os} in
74825 darwin*)
74826 enable_symvers=darwin ;;
74827 # Sun symbol versioning exists since Solaris 2.5.
74828 solaris2.[5-9]* | solaris2.1[0-9]*)
74829 # make_sunver.pl needs GNU c++filt to support extern "C++" in
74830 # version scripts, so disable symbol versioning if none can be
74831 # found.
74832 if test -z "$ac_cv_path_CXXFILT"; then
74833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
74834 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
74835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
74836 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
74837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74838 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74839 enable_symvers=no
74840 else
74841 enable_symvers=sun
74845 enable_symvers=no ;;
74846 esac
74851 # Check to see if 'darwin' or 'darwin-export' can win.
74852 if test x$enable_symvers = xdarwin-export ; then
74853 enable_symvers=darwin
74856 # Check if 'sun' was requested on non-Solaris 2 platforms.
74857 if test x$enable_symvers = xsun ; then
74858 case ${target_os} in
74859 solaris2*)
74860 # All fine.
74863 # Unlikely to work.
74864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
74865 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
74866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
74867 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
74868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74869 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74870 enable_symvers=no
74872 esac
74875 # Check to see if 'gnu' can win.
74876 if test $enable_symvers = gnu ||
74877 test $enable_symvers = gnu-versioned-namespace ||
74878 test $enable_symvers = sun; then
74879 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
74880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
74881 $as_echo_n "checking for shared libgcc... " >&6; }
74882 ac_save_CFLAGS="$CFLAGS"
74883 CFLAGS=' -lgcc_s'
74884 if test x$gcc_no_link = xyes; then
74885 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74888 /* end confdefs.h. */
74891 main ()
74893 return 0;
74895 return 0;
74897 _ACEOF
74898 if ac_fn_c_try_link "$LINENO"; then :
74899 glibcxx_shared_libgcc=yes
74900 else
74901 glibcxx_shared_libgcc=no
74903 rm -f core conftest.err conftest.$ac_objext \
74904 conftest$ac_exeext conftest.$ac_ext
74905 CFLAGS="$ac_save_CFLAGS"
74906 if test $glibcxx_shared_libgcc = no; then
74907 cat > conftest.c <<EOF
74908 int main (void) { return 0; }
74910 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
74911 -shared -shared-libgcc -o conftest.so \
74912 conftest.c -v 2>&1 >/dev/null \
74913 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
74914 rm -f conftest.c conftest.so
74915 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
74916 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
74917 if test x$gcc_no_link = xyes; then
74918 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74921 /* end confdefs.h. */
74924 main ()
74926 return 0;
74928 return 0;
74930 _ACEOF
74931 if ac_fn_c_try_link "$LINENO"; then :
74932 glibcxx_shared_libgcc=yes
74934 rm -f core conftest.err conftest.$ac_objext \
74935 conftest$ac_exeext conftest.$ac_ext
74936 CFLAGS="$ac_save_CFLAGS"
74939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
74940 $as_echo "$glibcxx_shared_libgcc" >&6; }
74942 # For GNU ld, we need at least this version. The format is described in
74943 # GLIBCXX_CHECK_LINKER_FEATURES above.
74944 glibcxx_min_gnu_ld_version=21400
74946 # If no shared libgcc, can't win.
74947 if test $glibcxx_shared_libgcc != yes; then
74948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
74949 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
74950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
74951 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
74952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74953 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74954 enable_symvers=no
74955 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
74956 : All interesting versions of Sun ld support sun style symbol versioning.
74957 elif test $with_gnu_ld != yes ; then
74958 # just fail for now
74959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
74960 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
74961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
74962 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
74963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74964 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74965 enable_symvers=no
74966 elif test $glibcxx_ld_is_gold = yes ; then
74967 : All versions of gold support symbol versioning.
74968 elif test $glibcxx_ld_is_mold = yes ; then
74969 : All versions of mold support symbol versioning.
74970 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
74971 # The right tools, the right setup, but too old. Fallbacks?
74972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
74973 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
74974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
74975 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
74976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
74977 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
74978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
74979 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
74980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74981 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74982 enable_symvers=no
74986 # For libtool versioning info, format is CURRENT:REVISION:AGE
74987 libtool_VERSION=6:30:0
74989 # Everything parsed; figure out what files and settings to use.
74990 case $enable_symvers in
74992 SYMVER_FILE=config/abi/pre/none.ver
74994 gnu)
74995 SYMVER_FILE=config/abi/pre/gnu.ver
74997 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
75000 gnu-versioned-namespace)
75001 libtool_VERSION=8:0:0
75002 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
75004 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
75007 darwin)
75008 SYMVER_FILE=config/abi/pre/gnu.ver
75010 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
75013 sun)
75014 SYMVER_FILE=config/abi/pre/gnu.ver
75016 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
75019 esac
75021 if test x$enable_symvers != xno ; then
75023 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
75027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
75028 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
75029 if ${glibcxx_cv_have_as_symver_directive+:} false; then :
75030 $as_echo_n "(cached) " >&6
75031 else
75033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75034 /* end confdefs.h. */
75035 void foo (void); __asm (".symver foo, bar@SYMVER");
75037 main ()
75041 return 0;
75043 _ACEOF
75044 if ac_fn_c_try_compile "$LINENO"; then :
75045 glibcxx_cv_have_as_symver_directive=yes
75046 else
75047 glibcxx_cv_have_as_symver_directive=no
75049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
75052 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
75053 if test $glibcxx_cv_have_as_symver_directive = yes; then
75055 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
75066 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
75067 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
75069 if test $enable_symvers != no ; then
75070 case ${target_os} in
75071 # The Solaris 2 runtime linker doesn't support the GNU extension of
75072 # binding the same symbol to different versions
75073 solaris2*)
75075 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
75078 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
75081 esac
75084 # Now, set up compatibility support, if any.
75085 # In addition, need this to deal with std::size_t mangling in
75086 # src/compatibility.cc. In a perfect world, could use
75087 # typeid(std::size_t).name()[0] to do direct substitution.
75088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
75089 $as_echo_n "checking for size_t as unsigned int... " >&6; }
75090 ac_save_CFLAGS="$CFLAGS"
75091 CFLAGS="-Werror"
75092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75093 /* end confdefs.h. */
75096 main ()
75098 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
75100 return 0;
75102 _ACEOF
75103 if ac_fn_c_try_compile "$LINENO"; then :
75104 glibcxx_size_t_is_i=yes
75105 else
75106 glibcxx_size_t_is_i=no
75108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75109 CFLAGS=$ac_save_CFLAGS
75110 if test "$glibcxx_size_t_is_i" = yes; then
75112 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
75115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
75116 $as_echo "$glibcxx_size_t_is_i" >&6; }
75118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
75119 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
75120 ac_save_CFLAGS="$CFLAGS"
75121 CFLAGS="-Werror"
75122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75123 /* end confdefs.h. */
75126 main ()
75128 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
75130 return 0;
75132 _ACEOF
75133 if ac_fn_c_try_compile "$LINENO"; then :
75134 glibcxx_ptrdiff_t_is_i=yes
75135 else
75136 glibcxx_ptrdiff_t_is_i=no
75138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75139 CFLAGS=$ac_save_CFLAGS
75140 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
75142 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
75145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
75146 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
75151 # Check whether --enable-libstdcxx-visibility was given.
75152 if test "${enable_libstdcxx_visibility+set}" = set; then :
75153 enableval=$enable_libstdcxx_visibility;
75154 case "$enableval" in
75155 yes|no) ;;
75156 *) as_fn_error $? "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
75157 esac
75159 else
75160 enable_libstdcxx_visibility=yes
75165 if test x$enable_libstdcxx_visibility = xyes ; then
75166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
75167 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
75168 if ${glibcxx_cv_have_attribute_visibility+:} false; then :
75169 $as_echo_n "(cached) " >&6
75170 else
75172 save_CFLAGS="$CFLAGS"
75173 CFLAGS="$CFLAGS -Werror"
75174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75175 /* end confdefs.h. */
75176 void __attribute__((visibility("hidden"))) foo(void) { }
75178 main ()
75182 return 0;
75184 _ACEOF
75185 if ac_fn_c_try_compile "$LINENO"; then :
75186 glibcxx_cv_have_attribute_visibility=yes
75187 else
75188 glibcxx_cv_have_attribute_visibility=no
75190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75191 CFLAGS="$save_CFLAGS"
75193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
75194 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
75195 if test $glibcxx_cv_have_attribute_visibility = no; then
75196 enable_libstdcxx_visibility=no
75201 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
75202 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
75206 # Check whether --enable-libstdcxx-dual-abi was given.
75207 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
75208 enableval=$enable_libstdcxx_dual_abi;
75209 case "$enableval" in
75210 yes|no) ;;
75211 *) as_fn_error $? "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
75212 esac
75214 else
75215 enable_libstdcxx_dual_abi=yes
75219 if test x$enable_symvers = xgnu-versioned-namespace; then
75220 # gnu-versioned-namespace is incompatible with the dual ABI.
75221 enable_libstdcxx_dual_abi="no"
75223 if test x"$enable_libstdcxx_dual_abi" != xyes; then
75224 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
75225 $as_echo "$as_me: dual ABI is disabled" >&6;}
75226 default_libstdcxx_abi="gcc4-compatible"
75231 if test x$enable_libstdcxx_dual_abi = xyes; then
75232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
75233 $as_echo_n "checking for default std::string ABI to use... " >&6; }
75235 # Check whether --with-default-libstdcxx-abi was given.
75236 if test "${with_default_libstdcxx_abi+set}" = set; then :
75237 withval=$with_default_libstdcxx_abi; case "$withval" in
75238 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
75239 new|cxx11) default_libstdcxx_abi="new" ;;
75240 c++*|gnu++*) as_fn_error $? "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
75241 *) as_fn_error $? "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
75242 esac
75244 else
75245 default_libstdcxx_abi="new"
75248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
75249 $as_echo "${default_libstdcxx_abi}" >&6; }
75251 if test $default_libstdcxx_abi = "new"; then
75252 glibcxx_cxx11_abi=1
75253 glibcxx_cxx98_abi=0
75254 else
75255 glibcxx_cxx11_abi=0
75256 glibcxx_cxx98_abi=1
75262 ac_ldbl_compat=no
75263 ac_ldbl_alt128_compat=no
75264 ac_ldbl_ieee128_default=no
75265 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
75266 LONG_DOUBLE_128_FLAGS=
75267 LONG_DOUBLE_ALT128_COMPAT_FLAGS=
75268 case "$target" in
75269 powerpc*-*-linux* | \
75270 sparc*-*-linux* | \
75271 s390*-*-linux* | \
75272 alpha*-*-linux*)
75273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75274 /* end confdefs.h. */
75277 main ()
75280 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
75281 #error no need for long double compatibility
75282 #endif
75285 return 0;
75287 _ACEOF
75288 if ac_fn_c_try_compile "$LINENO"; then :
75289 ac_ldbl_compat=yes
75290 else
75291 ac_ldbl_compat=no
75293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75294 if test "$ac_ldbl_compat" = yes; then
75296 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
75298 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
75299 case "$target" in
75300 powerpc*-*-linux*)
75301 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute"
75302 # Check for IEEE128 support in libm:
75303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __frexpieee128 in -lm" >&5
75304 $as_echo_n "checking for __frexpieee128 in -lm... " >&6; }
75305 if ${ac_cv_lib_m___frexpieee128+:} false; then :
75306 $as_echo_n "(cached) " >&6
75307 else
75308 ac_check_lib_save_LIBS=$LIBS
75309 LIBS="-lm $LIBS"
75310 if test x$gcc_no_link = xyes; then
75311 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75314 /* end confdefs.h. */
75316 /* Override any GCC internal prototype to avoid an error.
75317 Use char because int might match the return type of a GCC
75318 builtin and then its argument prototype would still apply. */
75319 #ifdef __cplusplus
75320 extern "C"
75321 #endif
75322 char __frexpieee128 ();
75324 main ()
75326 return __frexpieee128 ();
75328 return 0;
75330 _ACEOF
75331 if ac_fn_c_try_link "$LINENO"; then :
75332 ac_cv_lib_m___frexpieee128=yes
75333 else
75334 ac_cv_lib_m___frexpieee128=no
75336 rm -f core conftest.err conftest.$ac_objext \
75337 conftest$ac_exeext conftest.$ac_ext
75338 LIBS=$ac_check_lib_save_LIBS
75340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___frexpieee128" >&5
75341 $as_echo "$ac_cv_lib_m___frexpieee128" >&6; }
75342 if test "x$ac_cv_lib_m___frexpieee128" = xyes; then :
75343 ac_ldbl_ieee128_in_libc=yes
75344 else
75345 ac_ldbl_ieee128_in_libc=no
75348 if test $ac_ldbl_ieee128_in_libc = yes; then
75349 # Determine which long double format is the compiler's default:
75350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75351 /* end confdefs.h. */
75354 main ()
75357 #ifndef __LONG_DOUBLE_IEEE128__
75358 #error compiler defaults to ibm128
75359 #endif
75362 return 0;
75364 _ACEOF
75365 if ac_fn_c_try_compile "$LINENO"; then :
75366 ac_ldbl_ieee128_default=yes
75367 else
75368 ac_ldbl_ieee128_default=no
75370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75371 # Library objects should use default long double format.
75372 if test "$ac_ldbl_ieee128_default" = yes; then
75373 LONG_DOUBLE_128_FLAGS="-mno-gnu-attribute"
75374 # Except for the ones that explicitly use these flags:
75375 LONG_DOUBLE_ALT128_COMPAT_FLAGS="-mabi=ibmlongdouble -mno-gnu-attribute -Wno-psabi"
75376 else
75377 LONG_DOUBLE_128_FLAGS="-mno-gnu-attribute"
75378 LONG_DOUBLE_ALT128_COMPAT_FLAGS="-mabi=ieeelongdouble -mno-gnu-attribute -Wno-psabi"
75381 $as_echo "#define _GLIBCXX_LONG_DOUBLE_ALT128_COMPAT 1" >>confdefs.h
75383 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/os/gnu-linux/ldbl-ieee128-extra.ver"
75384 ac_ldbl_alt128_compat=yes
75385 else
75386 ac_ldbl_alt128_compat=no
75389 esac
75391 esac
75398 # Check if assembler supports disabling hardware capability support.
75400 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
75402 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
75403 # with a different meaning.
75404 case ${target_os} in
75405 solaris2*)
75406 ac_save_CFLAGS="$CFLAGS"
75407 CFLAGS="$CFLAGS -Wa,-nH"
75409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
75410 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
75411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75412 /* end confdefs.h. */
75415 main ()
75417 return 0;
75419 return 0;
75421 _ACEOF
75422 if ac_fn_c_try_compile "$LINENO"; then :
75423 ac_hwcap_flags=yes
75424 else
75425 ac_hwcap_flags=no
75427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75428 if test "$ac_hwcap_flags" = "yes"; then
75429 HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
75431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
75432 $as_echo "$ac_hwcap_flags" >&6; }
75434 CFLAGS="$ac_save_CFLAGS"
75436 esac
75441 # Check if assembler supports rdrand opcode.
75443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
75444 $as_echo_n "checking for rdrand support in assembler... " >&6; }
75445 if ${ac_cv_x86_rdrand+:} false; then :
75446 $as_echo_n "(cached) " >&6
75447 else
75449 ac_cv_x86_rdrand=no
75450 case "$target" in
75451 i?86-*-* | \
75452 x86_64-*-*)
75453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75454 /* end confdefs.h. */
75457 main ()
75459 asm("rdrand %eax");
75461 return 0;
75463 _ACEOF
75464 if ac_fn_c_try_compile "$LINENO"; then :
75465 ac_cv_x86_rdrand=yes
75466 else
75467 ac_cv_x86_rdrand=no
75469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75470 esac
75473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
75474 $as_echo "$ac_cv_x86_rdrand" >&6; }
75475 if test $ac_cv_x86_rdrand = yes; then
75477 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
75481 # Check if assembler supports rdseed opcode.
75483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdseed support in assembler" >&5
75484 $as_echo_n "checking for rdseed support in assembler... " >&6; }
75485 if ${ac_cv_x86_rdseed+:} false; then :
75486 $as_echo_n "(cached) " >&6
75487 else
75489 ac_cv_x86_rdseed=no
75490 case "$target" in
75491 i?86-*-* | \
75492 x86_64-*-*)
75493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75494 /* end confdefs.h. */
75497 main ()
75499 asm("rdseed %eax");
75501 return 0;
75503 _ACEOF
75504 if ac_fn_c_try_compile "$LINENO"; then :
75505 ac_cv_x86_rdseed=yes
75506 else
75507 ac_cv_x86_rdseed=no
75509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75510 esac
75513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdseed" >&5
75514 $as_echo "$ac_cv_x86_rdseed" >&6; }
75515 if test $ac_cv_x86_rdseed = yes; then
75517 $as_echo "#define _GLIBCXX_X86_RDSEED 1" >>confdefs.h
75522 # Check for other random number APIs
75526 ac_ext=cpp
75527 ac_cpp='$CXXCPP $CPPFLAGS'
75528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getentropy" >&5
75533 $as_echo_n "checking for getentropy... " >&6; }
75534 if ${glibcxx_cv_getentropy+:} false; then :
75535 $as_echo_n "(cached) " >&6
75536 else
75538 if test x$gcc_no_link = xyes; then
75539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75540 /* end confdefs.h. */
75541 #include <unistd.h>
75543 main ()
75545 unsigned i;
75546 ::getentropy(&i, sizeof(i));
75548 return 0;
75550 _ACEOF
75551 if ac_fn_cxx_try_compile "$LINENO"; then :
75552 glibcxx_cv_getentropy=yes
75553 else
75554 glibcxx_cv_getentropy=no
75556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75557 else
75558 if test x$gcc_no_link = xyes; then
75559 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75562 /* end confdefs.h. */
75563 #include <unistd.h>
75565 main ()
75567 unsigned i;
75568 ::getentropy(&i, sizeof(i));
75570 return 0;
75572 _ACEOF
75573 if ac_fn_cxx_try_link "$LINENO"; then :
75574 glibcxx_cv_getentropy=yes
75575 else
75576 glibcxx_cv_getentropy=no
75578 rm -f core conftest.err conftest.$ac_objext \
75579 conftest$ac_exeext conftest.$ac_ext
75583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_getentropy" >&5
75584 $as_echo "$glibcxx_cv_getentropy" >&6; }
75586 if test $glibcxx_cv_getentropy = yes; then
75588 $as_echo "#define HAVE_GETENTROPY 1" >>confdefs.h
75591 ac_ext=c
75592 ac_cpp='$CPP $CPPFLAGS'
75593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75601 ac_ext=cpp
75602 ac_cpp='$CXXCPP $CPPFLAGS'
75603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for arc4random" >&5
75608 $as_echo_n "checking for arc4random... " >&6; }
75609 if ${glibcxx_cv_arc4random+:} false; then :
75610 $as_echo_n "(cached) " >&6
75611 else
75613 if test x$gcc_no_link = xyes; then
75614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75615 /* end confdefs.h. */
75616 #include <stdlib.h>
75618 main ()
75620 unsigned i = ::arc4random();
75622 return 0;
75624 _ACEOF
75625 if ac_fn_cxx_try_compile "$LINENO"; then :
75626 glibcxx_cv_arc4random=yes
75627 else
75628 glibcxx_cv_arc4random=no
75630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75631 else
75632 if test x$gcc_no_link = xyes; then
75633 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75636 /* end confdefs.h. */
75637 #include <stdlib.h>
75639 main ()
75641 unsigned i = ::arc4random();
75643 return 0;
75645 _ACEOF
75646 if ac_fn_cxx_try_link "$LINENO"; then :
75647 glibcxx_cv_arc4random=yes
75648 else
75649 glibcxx_cv_arc4random=no
75651 rm -f core conftest.err conftest.$ac_objext \
75652 conftest$ac_exeext conftest.$ac_ext
75656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_arc4random" >&5
75657 $as_echo "$glibcxx_cv_arc4random" >&6; }
75659 if test $glibcxx_cv_arc4random = yes; then
75661 $as_echo "#define HAVE_ARC4RANDOM 1" >>confdefs.h
75664 ac_ext=c
75665 ac_cpp='$CPP $CPPFLAGS'
75666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75672 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
75674 # Do checks for resource limit functions.
75677 ac_ext=cpp
75678 ac_cpp='$CXXCPP $CPPFLAGS'
75679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75683 setrlimit_have_headers=yes
75684 for ac_header in unistd.h sys/time.h sys/resource.h
75685 do :
75686 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
75687 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
75688 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
75689 cat >>confdefs.h <<_ACEOF
75690 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
75691 _ACEOF
75693 else
75694 setrlimit_have_headers=no
75697 done
75699 # If don't have the headers, then we can't run the tests now, and we
75700 # won't be seeing any of these during testsuite compilation.
75701 if test $setrlimit_have_headers = yes; then
75702 # Can't do these in a loop, else the resulting syntax is wrong.
75704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
75705 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
75706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75707 /* end confdefs.h. */
75708 #include <unistd.h>
75709 #include <sys/time.h>
75710 #include <sys/resource.h>
75713 main ()
75715 int f = RLIMIT_DATA ;
75717 return 0;
75719 _ACEOF
75720 if ac_fn_cxx_try_compile "$LINENO"; then :
75721 glibcxx_mresult=1
75722 else
75723 glibcxx_mresult=0
75725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75727 cat >>confdefs.h <<_ACEOF
75728 #define HAVE_LIMIT_DATA $glibcxx_mresult
75729 _ACEOF
75731 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75733 $as_echo "$res" >&6; }
75736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
75737 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
75738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75739 /* end confdefs.h. */
75740 #include <unistd.h>
75741 #include <sys/time.h>
75742 #include <sys/resource.h>
75745 main ()
75747 int f = RLIMIT_RSS ;
75749 return 0;
75751 _ACEOF
75752 if ac_fn_cxx_try_compile "$LINENO"; then :
75753 glibcxx_mresult=1
75754 else
75755 glibcxx_mresult=0
75757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75759 cat >>confdefs.h <<_ACEOF
75760 #define HAVE_LIMIT_RSS $glibcxx_mresult
75761 _ACEOF
75763 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75765 $as_echo "$res" >&6; }
75768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
75769 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
75770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75771 /* end confdefs.h. */
75772 #include <unistd.h>
75773 #include <sys/time.h>
75774 #include <sys/resource.h>
75777 main ()
75779 int f = RLIMIT_VMEM ;
75781 return 0;
75783 _ACEOF
75784 if ac_fn_cxx_try_compile "$LINENO"; then :
75785 glibcxx_mresult=1
75786 else
75787 glibcxx_mresult=0
75789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75791 cat >>confdefs.h <<_ACEOF
75792 #define HAVE_LIMIT_VMEM $glibcxx_mresult
75793 _ACEOF
75795 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75797 $as_echo "$res" >&6; }
75800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
75801 $as_echo_n "checking for RLIMIT_AS... " >&6; }
75802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75803 /* end confdefs.h. */
75804 #include <unistd.h>
75805 #include <sys/time.h>
75806 #include <sys/resource.h>
75809 main ()
75811 int f = RLIMIT_AS ;
75813 return 0;
75815 _ACEOF
75816 if ac_fn_cxx_try_compile "$LINENO"; then :
75817 glibcxx_mresult=1
75818 else
75819 glibcxx_mresult=0
75821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75823 cat >>confdefs.h <<_ACEOF
75824 #define HAVE_LIMIT_AS $glibcxx_mresult
75825 _ACEOF
75827 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75829 $as_echo "$res" >&6; }
75832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
75833 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
75834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75835 /* end confdefs.h. */
75836 #include <unistd.h>
75837 #include <sys/time.h>
75838 #include <sys/resource.h>
75841 main ()
75843 int f = RLIMIT_FSIZE ;
75845 return 0;
75847 _ACEOF
75848 if ac_fn_cxx_try_compile "$LINENO"; then :
75849 glibcxx_mresult=1
75850 else
75851 glibcxx_mresult=0
75853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75855 cat >>confdefs.h <<_ACEOF
75856 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
75857 _ACEOF
75859 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75861 $as_echo "$res" >&6; }
75864 # Check for rlimit, setrlimit.
75865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
75866 $as_echo_n "checking for testsuite resource limits support... " >&6; }
75867 if ${glibcxx_cv_setrlimit+:} false; then :
75868 $as_echo_n "(cached) " >&6
75869 else
75871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75872 /* end confdefs.h. */
75873 #include <unistd.h>
75874 #include <sys/time.h>
75875 #include <sys/resource.h>
75878 main ()
75880 struct rlimit r;
75881 setrlimit(0, &r);
75883 return 0;
75885 _ACEOF
75886 if ac_fn_cxx_try_compile "$LINENO"; then :
75887 glibcxx_cv_setrlimit=yes
75888 else
75889 glibcxx_cv_setrlimit=no
75891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_setrlimit" >&5
75895 $as_echo "$glibcxx_cv_setrlimit" >&6; }
75897 if test $glibcxx_cv_setrlimit = yes; then
75899 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
75903 ac_ext=c
75904 ac_cpp='$CPP $CPPFLAGS'
75905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75911 if $GLIBCXX_IS_NATIVE ; then
75912 # Look for setenv, so that extended locale tests can be performed.
75914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
75915 $as_echo_n "checking for setenv declaration... " >&6; }
75916 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
75917 if ${glibcxx_cv_func_setenv_use+:} false; then :
75918 $as_echo_n "(cached) " >&6
75919 else
75922 ac_ext=cpp
75923 ac_cpp='$CXXCPP $CPPFLAGS'
75924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75929 /* end confdefs.h. */
75930 #include <stdlib.h>
75932 main ()
75934 setenv(0, 0, 0);
75936 return 0;
75938 _ACEOF
75939 if ac_fn_cxx_try_compile "$LINENO"; then :
75940 glibcxx_cv_func_setenv_use=yes
75941 else
75942 glibcxx_cv_func_setenv_use=no
75944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75945 ac_ext=c
75946 ac_cpp='$CPP $CPPFLAGS'
75947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
75956 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
75957 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
75958 for ac_func in setenv
75959 do :
75960 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
75961 if test "x$ac_cv_func_setenv" = xyes; then :
75962 cat >>confdefs.h <<_ACEOF
75963 #define HAVE_SETENV 1
75964 _ACEOF
75967 done
75973 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
75974 test $enable_symvers != no; then
75975 case "$host" in
75976 *-*-cygwin*)
75977 enable_abi_check=no ;;
75979 enable_abi_check=yes ;;
75980 esac
75981 else
75982 # Only build this as native, since automake does not understand
75983 # CXX_FOR_BUILD.
75984 enable_abi_check=no
75987 # Export file names for ABI checking.
75988 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
75990 baseline_subdir_switch="$abi_baseline_subdir_switch"
75994 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
75996 # Check whether --enable-libstdcxx-threads was given.
75997 if test "${enable_libstdcxx_threads+set}" = set; then :
75998 enableval=$enable_libstdcxx_threads;
75999 case "$enableval" in
76000 yes|no) ;;
76001 *) as_fn_error $? "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
76002 esac
76004 else
76005 enable_libstdcxx_threads=auto
76010 if test x$enable_libstdcxx_threads = xauto ||
76011 test x$enable_libstdcxx_threads = xyes; then
76014 ac_ext=cpp
76015 ac_cpp='$CXXCPP $CPPFLAGS'
76016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76021 ac_save_CXXFLAGS="$CXXFLAGS"
76022 CXXFLAGS="$CXXFLAGS -fno-exceptions \
76023 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
76025 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
76026 case $target_thread_file in
76027 posix)
76028 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
76029 esac
76031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
76032 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
76034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76035 /* end confdefs.h. */
76036 #include <unistd.h>
76038 main ()
76041 // In case of POSIX threads check _POSIX_TIMEOUTS.
76042 #if (defined(_PTHREADS) \
76043 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
76044 #error
76045 #endif
76048 return 0;
76050 _ACEOF
76051 if ac_fn_cxx_try_compile "$LINENO"; then :
76052 ac_gthread_use_mutex_timedlock=1
76053 else
76054 ac_gthread_use_mutex_timedlock=0
76056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76059 cat >>confdefs.h <<_ACEOF
76060 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
76061 _ACEOF
76064 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
76065 else res_mutex_timedlock=no ; fi
76066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
76067 $as_echo "$res_mutex_timedlock" >&6; }
76069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
76070 $as_echo_n "checking for gthreads library... " >&6; }
76072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76073 /* end confdefs.h. */
76074 #include "gthr.h"
76076 main ()
76079 #ifndef __GTHREADS_CXX0X
76080 #error
76081 #endif
76084 return 0;
76086 _ACEOF
76087 if ac_fn_cxx_try_compile "$LINENO"; then :
76088 ac_has_gthreads=yes
76089 else
76090 ac_has_gthreads=no
76092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76093 else
76094 ac_has_gthreads=no
76097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
76098 $as_echo "$ac_has_gthreads" >&6; }
76100 if test x"$ac_has_gthreads" = x"yes"; then
76102 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
76105 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
76106 # but only do so if we're using pthread in the gthread library.
76107 # On VxWorks for example, pthread_rwlock_t is defined in sys/types.h
76108 # but the pthread library is not there by default and the gthread library
76109 # does not use it.
76110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76111 /* end confdefs.h. */
76112 #include "gthr.h"
76114 main ()
76117 #if (!defined(_PTHREADS))
76118 #error
76119 #endif
76122 return 0;
76124 _ACEOF
76125 if ac_fn_cxx_try_compile "$LINENO"; then :
76126 ac_gthread_use_pthreads=yes
76127 else
76128 ac_gthread_use_pthreads=no
76130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76131 if test x"$ac_gthread_use_pthreads" = x"yes"; then
76132 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
76134 if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
76136 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
76143 ac_fn_cxx_check_header_mongrel "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default"
76144 if test "x$ac_cv_header_semaphore_h" = xyes; then :
76146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX Semaphores and sem_timedwait" >&5
76147 $as_echo_n "checking for POSIX Semaphores and sem_timedwait... " >&6; }
76148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76149 /* end confdefs.h. */
76151 #include <unistd.h>
76152 #include <semaphore.h>
76153 #include <limits.h>
76156 main ()
76159 #if !defined _POSIX_TIMEOUTS || _POSIX_TIMEOUTS <= 0
76160 # error "POSIX Timeouts option not supported"
76161 #elif !defined _POSIX_SEMAPHORES || _POSIX_SEMAPHORES <= 0
76162 # error "POSIX Semaphores option not supported"
76163 #else
76164 #if defined SEM_VALUE_MAX
76165 constexpr int sem_value_max = SEM_VALUE_MAX;
76166 #elif defined _POSIX_SEM_VALUE_MAX
76167 constexpr int sem_value_max = _POSIX_SEM_VALUE_MAX;
76168 #else
76169 # error "SEM_VALUE_MAX not available"
76170 #endif
76171 sem_t sem;
76172 sem_init(&sem, 0, sem_value_max);
76173 struct timespec ts = { 0 };
76174 sem_timedwait(&sem, &ts);
76175 #endif
76178 return 0;
76180 _ACEOF
76181 if ac_fn_cxx_try_compile "$LINENO"; then :
76182 ac_have_posix_semaphore=yes
76183 else
76184 ac_have_posix_semaphore=no
76186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76187 else
76188 ac_have_posix_semaphore=no
76193 if test $ac_have_posix_semaphore = yes ; then
76195 $as_echo "#define HAVE_POSIX_SEMAPHORE 1" >>confdefs.h
76198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_have_posix_semaphore" >&5
76199 $as_echo "$ac_have_posix_semaphore" >&6; }
76201 CXXFLAGS="$ac_save_CXXFLAGS"
76202 ac_ext=c
76203 ac_cpp='$CPP $CPPFLAGS'
76204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76210 # For Filesystem TS.
76211 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
76212 do :
76213 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
76214 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
76215 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
76216 cat >>confdefs.h <<_ACEOF
76217 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
76218 _ACEOF
76222 done
76225 # Check whether --enable-libstdcxx-filesystem-ts was given.
76226 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
76227 enableval=$enable_libstdcxx_filesystem_ts;
76228 case "$enableval" in
76229 yes|no|auto) ;;
76230 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
76231 esac
76233 else
76234 enable_libstdcxx_filesystem_ts=auto
76239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
76240 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
76241 if test x"$ac_cv_header_dirent_h" != x"yes"; then
76242 enable_libstdcxx_filesystem_ts=no
76244 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
76245 case "${target_os}" in
76246 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
76247 enable_libstdcxx_filesystem_ts=yes
76249 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu | uclinux*)
76250 enable_libstdcxx_filesystem_ts=yes
76252 rtems*)
76253 enable_libstdcxx_filesystem_ts=yes
76255 solaris*)
76256 enable_libstdcxx_filesystem_ts=yes
76258 mingw*)
76259 enable_libstdcxx_filesystem_ts=yes
76262 enable_libstdcxx_filesystem_ts=no
76264 esac
76266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
76267 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
76271 ac_ext=cpp
76272 ac_cpp='$CXXCPP $CPPFLAGS'
76273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76277 ac_save_CXXFLAGS="$CXXFLAGS"
76278 CXXFLAGS="$CXXFLAGS -fno-exceptions"
76279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
76280 $as_echo_n "checking for struct dirent.d_type... " >&6; }
76281 if ${glibcxx_cv_dirent_d_type+:} false; then :
76282 $as_echo_n "(cached) " >&6
76283 else
76284 if test x$gcc_no_link = xyes; then
76285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76286 /* end confdefs.h. */
76287 #include <dirent.h>
76289 main ()
76292 struct dirent d;
76293 if (sizeof d.d_type) return 0;
76296 return 0;
76298 _ACEOF
76299 if ac_fn_cxx_try_compile "$LINENO"; then :
76300 glibcxx_cv_dirent_d_type=yes
76301 else
76302 glibcxx_cv_dirent_d_type=no
76304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76305 else
76306 if test x$gcc_no_link = xyes; then
76307 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76310 /* end confdefs.h. */
76311 #include <dirent.h>
76313 main ()
76316 struct dirent d;
76317 if (sizeof d.d_type) return 0;
76320 return 0;
76322 _ACEOF
76323 if ac_fn_cxx_try_link "$LINENO"; then :
76324 glibcxx_cv_dirent_d_type=yes
76325 else
76326 glibcxx_cv_dirent_d_type=no
76328 rm -f core conftest.err conftest.$ac_objext \
76329 conftest$ac_exeext conftest.$ac_ext
76333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
76334 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
76335 if test $glibcxx_cv_dirent_d_type = yes; then
76337 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
76340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
76341 $as_echo_n "checking for realpath... " >&6; }
76342 if ${glibcxx_cv_realpath+:} false; then :
76343 $as_echo_n "(cached) " >&6
76344 else
76345 if test x$gcc_no_link = xyes; then
76346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76347 /* end confdefs.h. */
76349 #include <limits.h>
76350 #include <stdlib.h>
76351 #include <unistd.h>
76354 main ()
76357 #if _XOPEN_VERSION < 500
76358 #error
76359 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
76360 char *tmp = realpath((const char*)NULL, (char*)NULL);
76361 #else
76362 #error
76363 #endif
76366 return 0;
76368 _ACEOF
76369 if ac_fn_cxx_try_compile "$LINENO"; then :
76370 glibcxx_cv_realpath=yes
76371 else
76372 glibcxx_cv_realpath=no
76374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76375 else
76376 if test x$gcc_no_link = xyes; then
76377 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76380 /* end confdefs.h. */
76382 #include <limits.h>
76383 #include <stdlib.h>
76384 #include <unistd.h>
76387 main ()
76390 #if _XOPEN_VERSION < 500
76391 #error
76392 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
76393 char *tmp = realpath((const char*)NULL, (char*)NULL);
76394 #else
76395 #error
76396 #endif
76399 return 0;
76401 _ACEOF
76402 if ac_fn_cxx_try_link "$LINENO"; then :
76403 glibcxx_cv_realpath=yes
76404 else
76405 glibcxx_cv_realpath=no
76407 rm -f core conftest.err conftest.$ac_objext \
76408 conftest$ac_exeext conftest.$ac_ext
76412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
76413 $as_echo "$glibcxx_cv_realpath" >&6; }
76414 if test $glibcxx_cv_realpath = yes; then
76416 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
76419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
76420 $as_echo_n "checking for utimensat... " >&6; }
76421 if ${glibcxx_cv_utimensat+:} false; then :
76422 $as_echo_n "(cached) " >&6
76423 else
76424 if test x$gcc_no_link = xyes; then
76425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76426 /* end confdefs.h. */
76428 #include <fcntl.h>
76429 #include <sys/stat.h>
76432 main ()
76435 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
76436 int i = utimensat(AT_FDCWD, "path", ts, 0);
76439 return 0;
76441 _ACEOF
76442 if ac_fn_cxx_try_compile "$LINENO"; then :
76443 glibcxx_cv_utimensat=yes
76444 else
76445 glibcxx_cv_utimensat=no
76447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76448 else
76449 if test x$gcc_no_link = xyes; then
76450 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76453 /* end confdefs.h. */
76455 #include <fcntl.h>
76456 #include <sys/stat.h>
76459 main ()
76462 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
76463 int i = utimensat(AT_FDCWD, "path", ts, 0);
76466 return 0;
76468 _ACEOF
76469 if ac_fn_cxx_try_link "$LINENO"; then :
76470 glibcxx_cv_utimensat=yes
76471 else
76472 glibcxx_cv_utimensat=no
76474 rm -f core conftest.err conftest.$ac_objext \
76475 conftest$ac_exeext conftest.$ac_ext
76479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
76480 $as_echo "$glibcxx_cv_utimensat" >&6; }
76481 if test $glibcxx_cv_utimensat = yes; then
76483 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
76486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utime" >&5
76487 $as_echo_n "checking for utime... " >&6; }
76488 if ${glibcxx_cv_utime+:} false; then :
76489 $as_echo_n "(cached) " >&6
76490 else
76491 if test x$gcc_no_link = xyes; then
76492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76493 /* end confdefs.h. */
76495 #include <utime.h>
76498 main ()
76501 struct utimbuf t = { 1, 1 };
76502 int i = utime("path", &t);
76505 return 0;
76507 _ACEOF
76508 if ac_fn_cxx_try_compile "$LINENO"; then :
76509 glibcxx_cv_utime=yes
76510 else
76511 glibcxx_cv_utime=no
76513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76514 else
76515 if test x$gcc_no_link = xyes; then
76516 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76519 /* end confdefs.h. */
76521 #include <utime.h>
76524 main ()
76527 struct utimbuf t = { 1, 1 };
76528 int i = utime("path", &t);
76531 return 0;
76533 _ACEOF
76534 if ac_fn_cxx_try_link "$LINENO"; then :
76535 glibcxx_cv_utime=yes
76536 else
76537 glibcxx_cv_utime=no
76539 rm -f core conftest.err conftest.$ac_objext \
76540 conftest$ac_exeext conftest.$ac_ext
76544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utime" >&5
76545 $as_echo "$glibcxx_cv_utime" >&6; }
76546 if test $glibcxx_cv_utime = yes; then
76548 $as_echo "#define _GLIBCXX_USE_UTIME 1" >>confdefs.h
76551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lstat" >&5
76552 $as_echo_n "checking for lstat... " >&6; }
76553 if ${glibcxx_cv_lstat+:} false; then :
76554 $as_echo_n "(cached) " >&6
76555 else
76556 if test x$gcc_no_link = xyes; then
76557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76558 /* end confdefs.h. */
76559 #include <sys/stat.h>
76561 main ()
76564 struct stat st;
76565 int i = lstat("path", &st);
76568 return 0;
76570 _ACEOF
76571 if ac_fn_cxx_try_compile "$LINENO"; then :
76572 glibcxx_cv_lstat=yes
76573 else
76574 glibcxx_cv_lstat=no
76576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76577 else
76578 if test x$gcc_no_link = xyes; then
76579 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76582 /* end confdefs.h. */
76583 #include <sys/stat.h>
76585 main ()
76588 struct stat st;
76589 int i = lstat("path", &st);
76592 return 0;
76594 _ACEOF
76595 if ac_fn_cxx_try_link "$LINENO"; then :
76596 glibcxx_cv_lstat=yes
76597 else
76598 glibcxx_cv_lstat=no
76600 rm -f core conftest.err conftest.$ac_objext \
76601 conftest$ac_exeext conftest.$ac_ext
76605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_lstat" >&5
76606 $as_echo "$glibcxx_cv_lstat" >&6; }
76607 if test $glibcxx_cv_lstat = yes; then
76609 $as_echo "#define _GLIBCXX_USE_LSTAT 1" >>confdefs.h
76612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
76613 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
76614 if ${glibcxx_cv_st_mtim+:} false; then :
76615 $as_echo_n "(cached) " >&6
76616 else
76617 if test x$gcc_no_link = xyes; then
76618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76619 /* end confdefs.h. */
76620 #include <sys/stat.h>
76622 main ()
76625 struct stat st;
76626 return st.st_mtim.tv_nsec;
76629 return 0;
76631 _ACEOF
76632 if ac_fn_cxx_try_compile "$LINENO"; then :
76633 glibcxx_cv_st_mtim=yes
76634 else
76635 glibcxx_cv_st_mtim=no
76637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76638 else
76639 if test x$gcc_no_link = xyes; then
76640 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76643 /* end confdefs.h. */
76644 #include <sys/stat.h>
76646 main ()
76649 struct stat st;
76650 return st.st_mtim.tv_nsec;
76653 return 0;
76655 _ACEOF
76656 if ac_fn_cxx_try_link "$LINENO"; then :
76657 glibcxx_cv_st_mtim=yes
76658 else
76659 glibcxx_cv_st_mtim=no
76661 rm -f core conftest.err conftest.$ac_objext \
76662 conftest$ac_exeext conftest.$ac_ext
76666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
76667 $as_echo "$glibcxx_cv_st_mtim" >&6; }
76668 if test $glibcxx_cv_st_mtim = yes; then
76670 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
76673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
76674 $as_echo_n "checking for fchmod... " >&6; }
76675 if ${glibcxx_cv_fchmod+:} false; then :
76676 $as_echo_n "(cached) " >&6
76677 else
76678 if test x$gcc_no_link = xyes; then
76679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76680 /* end confdefs.h. */
76681 #include <sys/stat.h>
76683 main ()
76685 fchmod(1, S_IWUSR);
76687 return 0;
76689 _ACEOF
76690 if ac_fn_cxx_try_compile "$LINENO"; then :
76691 glibcxx_cv_fchmod=yes
76692 else
76693 glibcxx_cv_fchmod=no
76695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76696 else
76697 if test x$gcc_no_link = xyes; then
76698 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76701 /* end confdefs.h. */
76702 #include <sys/stat.h>
76704 main ()
76706 fchmod(1, S_IWUSR);
76708 return 0;
76710 _ACEOF
76711 if ac_fn_cxx_try_link "$LINENO"; then :
76712 glibcxx_cv_fchmod=yes
76713 else
76714 glibcxx_cv_fchmod=no
76716 rm -f core conftest.err conftest.$ac_objext \
76717 conftest$ac_exeext conftest.$ac_ext
76721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
76722 $as_echo "$glibcxx_cv_fchmod" >&6; }
76723 if test $glibcxx_cv_fchmod = yes; then
76725 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
76728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
76729 $as_echo_n "checking for fchmodat... " >&6; }
76730 if ${glibcxx_cv_fchmodat+:} false; then :
76731 $as_echo_n "(cached) " >&6
76732 else
76733 if test x$gcc_no_link = xyes; then
76734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76735 /* end confdefs.h. */
76737 #include <fcntl.h>
76738 #include <sys/stat.h>
76741 main ()
76743 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
76745 return 0;
76747 _ACEOF
76748 if ac_fn_cxx_try_compile "$LINENO"; then :
76749 glibcxx_cv_fchmodat=yes
76750 else
76751 glibcxx_cv_fchmodat=no
76753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76754 else
76755 if test x$gcc_no_link = xyes; then
76756 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76759 /* end confdefs.h. */
76761 #include <fcntl.h>
76762 #include <sys/stat.h>
76765 main ()
76767 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
76769 return 0;
76771 _ACEOF
76772 if ac_fn_cxx_try_link "$LINENO"; then :
76773 glibcxx_cv_fchmodat=yes
76774 else
76775 glibcxx_cv_fchmodat=no
76777 rm -f core conftest.err conftest.$ac_objext \
76778 conftest$ac_exeext conftest.$ac_ext
76782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
76783 $as_echo "$glibcxx_cv_fchmodat" >&6; }
76784 if test $glibcxx_cv_fchmodat = yes; then
76786 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
76789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
76790 $as_echo_n "checking for sendfile that can copy files... " >&6; }
76791 if ${glibcxx_cv_sendfile+:} false; then :
76792 $as_echo_n "(cached) " >&6
76793 else
76794 case "${target_os}" in
76795 gnu* | linux* | solaris* | uclinux*)
76796 if test x$gcc_no_link = xyes; then
76797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76798 /* end confdefs.h. */
76799 #include <sys/sendfile.h>
76801 main ()
76803 sendfile(1, 2, (off_t*)0, sizeof 1);
76805 return 0;
76807 _ACEOF
76808 if ac_fn_cxx_try_compile "$LINENO"; then :
76809 glibcxx_cv_sendfile=yes
76810 else
76811 glibcxx_cv_sendfile=no
76813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76814 else
76815 if test x$gcc_no_link = xyes; then
76816 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76819 /* end confdefs.h. */
76820 #include <sys/sendfile.h>
76822 main ()
76824 sendfile(1, 2, (off_t*)0, sizeof 1);
76826 return 0;
76828 _ACEOF
76829 if ac_fn_cxx_try_link "$LINENO"; then :
76830 glibcxx_cv_sendfile=yes
76831 else
76832 glibcxx_cv_sendfile=no
76834 rm -f core conftest.err conftest.$ac_objext \
76835 conftest$ac_exeext conftest.$ac_ext
76839 glibcxx_cv_sendfile=no
76841 esac
76844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
76845 $as_echo "$glibcxx_cv_sendfile" >&6; }
76846 if test $glibcxx_cv_sendfile = yes; then
76848 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
76851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
76852 $as_echo_n "checking for link... " >&6; }
76853 if ${glibcxx_cv_link+:} false; then :
76854 $as_echo_n "(cached) " >&6
76855 else
76856 if test x$gcc_no_link = xyes; then
76857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76858 /* end confdefs.h. */
76859 #include <unistd.h>
76861 main ()
76863 link("", "");
76865 return 0;
76867 _ACEOF
76868 if ac_fn_cxx_try_compile "$LINENO"; then :
76869 glibcxx_cv_link=yes
76870 else
76871 glibcxx_cv_link=no
76873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76874 else
76875 if test x$gcc_no_link = xyes; then
76876 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76879 /* end confdefs.h. */
76880 #include <unistd.h>
76882 main ()
76884 link("", "");
76886 return 0;
76888 _ACEOF
76889 if ac_fn_cxx_try_link "$LINENO"; then :
76890 glibcxx_cv_link=yes
76891 else
76892 glibcxx_cv_link=no
76894 rm -f core conftest.err conftest.$ac_objext \
76895 conftest$ac_exeext conftest.$ac_ext
76899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_link" >&5
76900 $as_echo "$glibcxx_cv_link" >&6; }
76901 if test $glibcxx_cv_link = yes; then
76903 $as_echo "#define HAVE_LINK 1" >>confdefs.h
76906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readlink" >&5
76907 $as_echo_n "checking for readlink... " >&6; }
76908 if ${glibcxx_cv_readlink+:} false; then :
76909 $as_echo_n "(cached) " >&6
76910 else
76911 if test x$gcc_no_link = xyes; then
76912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76913 /* end confdefs.h. */
76914 #include <unistd.h>
76916 main ()
76918 char buf[32]; readlink("", buf, sizeof(buf));
76920 return 0;
76922 _ACEOF
76923 if ac_fn_cxx_try_compile "$LINENO"; then :
76924 glibcxx_cv_readlink=yes
76925 else
76926 glibcxx_cv_readlink=no
76928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76929 else
76930 if test x$gcc_no_link = xyes; then
76931 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76934 /* end confdefs.h. */
76935 #include <unistd.h>
76937 main ()
76939 char buf[32]; readlink("", buf, sizeof(buf));
76941 return 0;
76943 _ACEOF
76944 if ac_fn_cxx_try_link "$LINENO"; then :
76945 glibcxx_cv_readlink=yes
76946 else
76947 glibcxx_cv_readlink=no
76949 rm -f core conftest.err conftest.$ac_objext \
76950 conftest$ac_exeext conftest.$ac_ext
76954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_readlink" >&5
76955 $as_echo "$glibcxx_cv_readlink" >&6; }
76956 if test $glibcxx_cv_readlink = yes; then
76958 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
76961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
76962 $as_echo_n "checking for symlink... " >&6; }
76963 if ${glibcxx_cv_symlink+:} false; then :
76964 $as_echo_n "(cached) " >&6
76965 else
76966 if test x$gcc_no_link = xyes; then
76967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76968 /* end confdefs.h. */
76969 #include <unistd.h>
76971 main ()
76973 symlink("", "");
76975 return 0;
76977 _ACEOF
76978 if ac_fn_cxx_try_compile "$LINENO"; then :
76979 glibcxx_cv_symlink=yes
76980 else
76981 glibcxx_cv_symlink=no
76983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76984 else
76985 if test x$gcc_no_link = xyes; then
76986 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76989 /* end confdefs.h. */
76990 #include <unistd.h>
76992 main ()
76994 symlink("", "");
76996 return 0;
76998 _ACEOF
76999 if ac_fn_cxx_try_link "$LINENO"; then :
77000 glibcxx_cv_symlink=yes
77001 else
77002 glibcxx_cv_symlink=no
77004 rm -f core conftest.err conftest.$ac_objext \
77005 conftest$ac_exeext conftest.$ac_ext
77009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_symlink" >&5
77010 $as_echo "$glibcxx_cv_symlink" >&6; }
77011 if test $glibcxx_cv_symlink = yes; then
77013 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
77016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncate" >&5
77017 $as_echo_n "checking for truncate... " >&6; }
77018 if ${glibcxx_cv_truncate+:} false; then :
77019 $as_echo_n "(cached) " >&6
77020 else
77021 if test x$gcc_no_link = xyes; then
77022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77023 /* end confdefs.h. */
77024 #include <unistd.h>
77026 main ()
77028 truncate("", 99);
77030 return 0;
77032 _ACEOF
77033 if ac_fn_cxx_try_compile "$LINENO"; then :
77034 glibcxx_cv_truncate=yes
77035 else
77036 glibcxx_cv_truncate=no
77038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77039 else
77040 if test x$gcc_no_link = xyes; then
77041 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77044 /* end confdefs.h. */
77045 #include <unistd.h>
77047 main ()
77049 truncate("", 99);
77051 return 0;
77053 _ACEOF
77054 if ac_fn_cxx_try_link "$LINENO"; then :
77055 glibcxx_cv_truncate=yes
77056 else
77057 glibcxx_cv_truncate=no
77059 rm -f core conftest.err conftest.$ac_objext \
77060 conftest$ac_exeext conftest.$ac_ext
77064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_truncate" >&5
77065 $as_echo "$glibcxx_cv_truncate" >&6; }
77066 if test $glibcxx_cv_truncate = yes; then
77068 $as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
77071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fdopendir" >&5
77072 $as_echo_n "checking for fdopendir... " >&6; }
77073 if ${glibcxx_cv_fdopendir+:} false; then :
77074 $as_echo_n "(cached) " >&6
77075 else
77076 if test x$gcc_no_link = xyes; then
77077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77078 /* end confdefs.h. */
77079 #include <dirent.h>
77081 main ()
77083 ::DIR* dir = ::fdopendir(1);
77085 return 0;
77087 _ACEOF
77088 if ac_fn_cxx_try_compile "$LINENO"; then :
77089 glibcxx_cv_fdopendir=yes
77090 else
77091 glibcxx_cv_fdopendir=no
77093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77094 else
77095 if test x$gcc_no_link = xyes; then
77096 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77099 /* end confdefs.h. */
77100 #include <dirent.h>
77102 main ()
77104 ::DIR* dir = ::fdopendir(1);
77106 return 0;
77108 _ACEOF
77109 if ac_fn_cxx_try_link "$LINENO"; then :
77110 glibcxx_cv_fdopendir=yes
77111 else
77112 glibcxx_cv_fdopendir=no
77114 rm -f core conftest.err conftest.$ac_objext \
77115 conftest$ac_exeext conftest.$ac_ext
77119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fdopendir" >&5
77120 $as_echo "$glibcxx_cv_fdopendir" >&6; }
77121 if test $glibcxx_cv_fdopendir = yes; then
77123 $as_echo "#define HAVE_FDOPENDIR 1" >>confdefs.h
77126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dirfd" >&5
77127 $as_echo_n "checking for dirfd... " >&6; }
77128 if ${glibcxx_cv_dirfd+:} false; then :
77129 $as_echo_n "(cached) " >&6
77130 else
77131 if test x$gcc_no_link = xyes; then
77132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77133 /* end confdefs.h. */
77134 #include <dirent.h>
77136 main ()
77138 int fd = ::dirfd((::DIR*)0);
77140 return 0;
77142 _ACEOF
77143 if ac_fn_cxx_try_compile "$LINENO"; then :
77144 glibcxx_cv_dirfd=yes
77145 else
77146 glibcxx_cv_dirfd=no
77148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77149 else
77150 if test x$gcc_no_link = xyes; then
77151 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77154 /* end confdefs.h. */
77155 #include <dirent.h>
77157 main ()
77159 int fd = ::dirfd((::DIR*)0);
77161 return 0;
77163 _ACEOF
77164 if ac_fn_cxx_try_link "$LINENO"; then :
77165 glibcxx_cv_dirfd=yes
77166 else
77167 glibcxx_cv_dirfd=no
77169 rm -f core conftest.err conftest.$ac_objext \
77170 conftest$ac_exeext conftest.$ac_ext
77174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirfd" >&5
77175 $as_echo "$glibcxx_cv_dirfd" >&6; }
77176 if test $glibcxx_cv_dirfd = yes; then
77178 $as_echo "#define HAVE_DIRFD 1" >>confdefs.h
77181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unlinkat" >&5
77182 $as_echo_n "checking for unlinkat... " >&6; }
77183 if ${glibcxx_cv_unlinkat+:} false; then :
77184 $as_echo_n "(cached) " >&6
77185 else
77186 if test x$gcc_no_link = xyes; then
77187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77188 /* end confdefs.h. */
77189 #include <fcntl.h>
77190 #include <unistd.h>
77192 main ()
77194 ::unlinkat(AT_FDCWD, "", AT_REMOVEDIR);
77196 return 0;
77198 _ACEOF
77199 if ac_fn_cxx_try_compile "$LINENO"; then :
77200 glibcxx_cv_unlinkat=yes
77201 else
77202 glibcxx_cv_unlinkat=no
77204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77205 else
77206 if test x$gcc_no_link = xyes; then
77207 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77210 /* end confdefs.h. */
77211 #include <fcntl.h>
77212 #include <unistd.h>
77214 main ()
77216 ::unlinkat(AT_FDCWD, "", AT_REMOVEDIR);
77218 return 0;
77220 _ACEOF
77221 if ac_fn_cxx_try_link "$LINENO"; then :
77222 glibcxx_cv_unlinkat=yes
77223 else
77224 glibcxx_cv_unlinkat=no
77226 rm -f core conftest.err conftest.$ac_objext \
77227 conftest$ac_exeext conftest.$ac_ext
77231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_unlinkat" >&5
77232 $as_echo "$glibcxx_cv_unlinkat" >&6; }
77233 if test $glibcxx_cv_unlinkat = yes; then
77235 $as_echo "#define HAVE_UNLINKAT 1" >>confdefs.h
77238 CXXFLAGS="$ac_save_CXXFLAGS"
77239 ac_ext=c
77240 ac_cpp='$CPP $CPPFLAGS'
77241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77248 # Check whether --enable-libstdcxx-backtrace was given.
77249 if test "${enable_libstdcxx_backtrace+set}" = set; then :
77250 enableval=$enable_libstdcxx_backtrace;
77251 case "$enableval" in
77252 yes|no|auto) ;;
77253 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-backtrace" "$LINENO" 5 ;;
77254 esac
77256 else
77257 enable_libstdcxx_backtrace=auto
77262 # Most of this is adapted from libsanitizer/configure.ac
77264 BACKTRACE_CPPFLAGS=
77266 # libbacktrace only needs atomics for int, which we've already tested
77267 if test "$glibcxx_cv_atomic_int" = "yes"; then
77268 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_ATOMIC_FUNCTIONS=1"
77271 # Test for __sync support.
77272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __sync extensions" >&5
77273 $as_echo_n "checking __sync extensions... " >&6; }
77274 if ${glibcxx_cv_sys_sync+:} false; then :
77275 $as_echo_n "(cached) " >&6
77276 else
77277 if test x$gcc_no_link = xyes; then
77278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77279 /* end confdefs.h. */
77280 int i;
77282 main ()
77284 __sync_bool_compare_and_swap (&i, i, i);
77285 __sync_lock_test_and_set (&i, 1);
77286 __sync_lock_release (&i);
77288 return 0;
77290 _ACEOF
77291 if ac_fn_c_try_compile "$LINENO"; then :
77292 glibcxx_cv_sys_sync=yes
77293 else
77294 glibcxx_cv_sys_sync=no
77296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77297 else
77298 if test x$gcc_no_link = xyes; then
77299 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77302 /* end confdefs.h. */
77303 int i;
77305 main ()
77307 __sync_bool_compare_and_swap (&i, i, i);
77308 __sync_lock_test_and_set (&i, 1);
77309 __sync_lock_release (&i);
77311 return 0;
77313 _ACEOF
77314 if ac_fn_c_try_link "$LINENO"; then :
77315 glibcxx_cv_sys_sync=yes
77316 else
77317 glibcxx_cv_sys_sync=no
77319 rm -f core conftest.err conftest.$ac_objext \
77320 conftest$ac_exeext conftest.$ac_ext
77324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sync" >&5
77325 $as_echo "$glibcxx_cv_sys_sync" >&6; }
77326 if test "$glibcxx_cv_sys_sync" = "yes"; then
77327 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_SYNC_FUNCTIONS=1"
77330 # Check for dl_iterate_phdr.
77331 for ac_header in link.h
77332 do :
77333 ac_fn_c_check_header_mongrel "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
77334 if test "x$ac_cv_header_link_h" = xyes; then :
77335 cat >>confdefs.h <<_ACEOF
77336 #define HAVE_LINK_H 1
77337 _ACEOF
77341 done
77343 if test "$ac_cv_header_link_h" = "no"; then
77344 have_dl_iterate_phdr=no
77345 else
77346 # When built as a GCC target library, we can't do a link test.
77347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77348 /* end confdefs.h. */
77349 #include <link.h>
77351 _ACEOF
77352 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
77353 $EGREP "dl_iterate_phdr" >/dev/null 2>&1; then :
77354 have_dl_iterate_phdr=yes
77355 else
77356 have_dl_iterate_phdr=no
77358 rm -f conftest*
77361 if test "$have_dl_iterate_phdr" = "yes"; then
77362 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_DL_ITERATE_PHDR=1"
77365 # Check for the fcntl function.
77366 if test -n "${with_target_subdir}"; then
77367 case "${host}" in
77368 *-*-mingw*) have_fcntl=no ;;
77369 *) have_fcntl=yes ;;
77370 esac
77371 else
77372 ac_fn_c_check_func "$LINENO" "fcntl" "ac_cv_func_fcntl"
77373 if test "x$ac_cv_func_fcntl" = xyes; then :
77374 have_fcntl=yes
77375 else
77376 have_fcntl=no
77380 if test "$have_fcntl" = "yes"; then
77381 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_FCNTL=1"
77384 ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
77385 if test "x$ac_cv_have_decl_strnlen" = xyes; then :
77386 ac_have_decl=1
77387 else
77388 ac_have_decl=0
77391 cat >>confdefs.h <<_ACEOF
77392 #define HAVE_DECL_STRNLEN $ac_have_decl
77393 _ACEOF
77396 # Check for getexecname function.
77397 if test -n "${with_target_subdir}"; then
77398 case "${host}" in
77399 *-*-solaris2*) have_getexecname=yes ;;
77400 *) have_getexecname=no ;;
77401 esac
77402 else
77403 ac_fn_c_check_func "$LINENO" "getexecname" "ac_cv_func_getexecname"
77404 if test "x$ac_cv_func_getexecname" = xyes; then :
77405 have_getexecname=yes
77406 else
77407 have_getexecname=no
77411 if test "$have_getexecname" = "yes"; then
77412 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_GETEXECNAME=1"
77415 # The library needs to be able to read the executable itself. Compile
77416 # a file to determine the executable format. The awk script
77417 # filetype.awk prints out the file type.
77418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking output filetype" >&5
77419 $as_echo_n "checking output filetype... " >&6; }
77420 if ${glibcxx_cv_sys_filetype+:} false; then :
77421 $as_echo_n "(cached) " >&6
77422 else
77423 filetype=
77424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77425 /* end confdefs.h. */
77426 int i;
77428 main ()
77430 int j;
77432 return 0;
77434 _ACEOF
77435 if ac_fn_c_try_compile "$LINENO"; then :
77436 filetype=`${AWK} -f $srcdir/../libbacktrace/filetype.awk conftest.$ac_objext`
77437 else
77438 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77439 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77440 as_fn_error $? "compiler failed
77441 See \`config.log' for more details" "$LINENO" 5; }
77443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77444 glibcxx_cv_sys_filetype=$filetype
77446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_filetype" >&5
77447 $as_echo "$glibcxx_cv_sys_filetype" >&6; }
77449 # Match the file type to decide what files to compile.
77450 FORMAT_FILE=
77451 case "$glibcxx_cv_sys_filetype" in
77452 elf*) FORMAT_FILE="elf.lo" ;;
77453 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine output file type" >&5
77454 $as_echo "$as_me: WARNING: could not determine output file type" >&2;}
77455 FORMAT_FILE="unknown.lo"
77456 enable_libstdcxx_backtrace=no
77458 esac
77461 # ELF defines.
77462 elfsize=
77463 case "$glibcxx_cv_sys_filetype" in
77464 elf32) elfsize=32 ;;
77465 elf64) elfsize=64 ;;
77466 esac
77467 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DBACKTRACE_ELF_SIZE=$elfsize"
77469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build libbacktrace support" >&5
77470 $as_echo_n "checking whether to build libbacktrace support... " >&6; }
77471 if test "$enable_libstdcxx_backtrace" = "auto"; then
77472 enable_libstdcxx_backtrace=no
77474 if test "$enable_libstdcxx_backtrace" = "yes"; then
77475 BACKTRACE_SUPPORTED=1
77477 for ac_header in sys/mman.h
77478 do :
77479 ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
77480 if test "x$ac_cv_header_sys_mman_h" = xyes; then :
77481 cat >>confdefs.h <<_ACEOF
77482 #define HAVE_SYS_MMAN_H 1
77483 _ACEOF
77487 done
77489 case "${host}" in
77490 *-*-msdosdjgpp) # DJGPP has sys/man.h, but no mmap
77491 have_mmap=no ;;
77492 *-*-*)
77493 have_mmap="$ac_cv_header_sys_mman_h" ;;
77494 esac
77496 if test "$have_mmap" = "no"; then
77497 VIEW_FILE=read.lo
77498 ALLOC_FILE=alloc.lo
77499 else
77500 VIEW_FILE=mmapio.lo
77501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77502 /* end confdefs.h. */
77504 #include <sys/mman.h>
77505 #if !defined(MAP_ANONYMOUS) && !defined(MAP_ANON)
77506 #error no MAP_ANONYMOUS
77507 #endif
77509 _ACEOF
77510 if ac_fn_c_try_cpp "$LINENO"; then :
77511 ALLOC_FILE=mmap.lo
77512 else
77513 ALLOC_FILE=alloc.lo
77515 rm -f conftest.err conftest.i conftest.$ac_ext
77520 BACKTRACE_USES_MALLOC=0
77521 if test "$ALLOC_FILE" = "alloc.lo"; then
77522 BACKTRACE_USES_MALLOC=1
77525 if test "$ac_has_gthreads" = "yes"; then
77526 BACKTRACE_SUPPORTS_THREADS=1
77527 else
77528 BACKTRACE_SUPPORTS_THREADS=0
77535 $as_echo "#define HAVE_STACKTRACE 1" >>confdefs.h
77537 else
77538 BACKTRACE_SUPPORTED=0
77539 BACKTRACE_USES_MALLOC=0
77540 BACKTRACE_SUPPORTS_THREADS=0
77542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_backtrace" >&5
77543 $as_echo "$enable_libstdcxx_backtrace" >&6; }
77547 # For Networking TS.
77548 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
77549 do :
77550 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
77551 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
77552 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
77553 cat >>confdefs.h <<_ACEOF
77554 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
77555 _ACEOF
77559 done
77561 ac_fn_c_check_decl "$LINENO" "F_GETFL" "ac_cv_have_decl_F_GETFL" "#include <fcntl.h>
77563 if test "x$ac_cv_have_decl_F_GETFL" = xyes; then :
77567 ac_fn_c_check_decl "$LINENO" "F_SETFL" "ac_cv_have_decl_F_SETFL" "#include <fcntl.h>
77569 if test "x$ac_cv_have_decl_F_SETFL" = xyes; then :
77573 if test "$ac_cv_have_decl_F_GETFL$ac_cv_have_decl_F_SETFL" = yesyes ; then
77574 ac_fn_c_check_decl "$LINENO" "O_NONBLOCK" "ac_cv_have_decl_O_NONBLOCK" "#include <fcntl.h>
77576 if test "x$ac_cv_have_decl_O_NONBLOCK" = xyes; then :
77582 # For Transactional Memory TS
77584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
77585 $as_echo_n "checking how size_t is mangled... " >&6; }
77586 if ${glibcxx_cv_size_t_mangling+:} false; then :
77587 $as_echo_n "(cached) " >&6
77588 else
77590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77591 /* end confdefs.h. */
77594 main ()
77596 extern __SIZE_TYPE__ x; extern unsigned long x;
77598 return 0;
77600 _ACEOF
77601 if ac_fn_c_try_compile "$LINENO"; then :
77602 glibcxx_cv_size_t_mangling=m
77603 else
77605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77606 /* end confdefs.h. */
77609 main ()
77611 extern __SIZE_TYPE__ x; extern unsigned int x;
77613 return 0;
77615 _ACEOF
77616 if ac_fn_c_try_compile "$LINENO"; then :
77617 glibcxx_cv_size_t_mangling=j
77618 else
77620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77621 /* end confdefs.h. */
77624 main ()
77626 extern __SIZE_TYPE__ x; extern unsigned long long x;
77628 return 0;
77630 _ACEOF
77631 if ac_fn_c_try_compile "$LINENO"; then :
77632 glibcxx_cv_size_t_mangling=y
77633 else
77635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77636 /* end confdefs.h. */
77639 main ()
77641 extern __SIZE_TYPE__ x; extern unsigned short x;
77643 return 0;
77645 _ACEOF
77646 if ac_fn_c_try_compile "$LINENO"; then :
77647 glibcxx_cv_size_t_mangling=t
77648 else
77650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77651 /* end confdefs.h. */
77654 main ()
77656 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
77658 return 0;
77660 _ACEOF
77661 if ac_fn_c_try_compile "$LINENO"; then :
77662 glibcxx_cv_size_t_mangling=u6uint20
77663 else
77664 glibcxx_cv_size_t_mangling=x
77666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
77682 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
77683 if test $glibcxx_cv_size_t_mangling = x; then
77684 as_fn_error $? "Unknown underlying type for size_t" "$LINENO" 5
77687 cat >>confdefs.h <<_ACEOF
77688 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
77689 _ACEOF
77693 # Check which release added std::exception_ptr for the target
77695 if test $enable_symvers != no; then
77696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
77697 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
77698 case ${target} in
77699 aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
77700 m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
77701 ac_exception_ptr_since_gcc46=yes
77704 # If the value of this macro changes then we will need to hardcode
77705 # yes/no here for additional targets based on the original value.
77706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77707 /* end confdefs.h. */
77710 main ()
77713 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
77714 # error atomic int not always lock free
77715 #endif
77718 return 0;
77720 _ACEOF
77721 if ac_fn_c_try_compile "$LINENO"; then :
77722 ac_exception_ptr_since_gcc46=yes
77723 else
77724 ac_exception_ptr_since_gcc46=no
77726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77728 esac
77729 if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
77731 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
77733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
77734 $as_echo "4.6.0" >&6; }
77735 else
77736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
77737 $as_echo "7.1.0" >&6; }
77742 # Define documentation rules conditionally.
77744 # See if makeinfo has been installed and is modern enough
77745 # that we can use it.
77747 # Extract the first word of "makeinfo", so it can be a program name with args.
77748 set dummy makeinfo; ac_word=$2
77749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77750 $as_echo_n "checking for $ac_word... " >&6; }
77751 if ${ac_cv_prog_MAKEINFO+:} false; then :
77752 $as_echo_n "(cached) " >&6
77753 else
77754 if test -n "$MAKEINFO"; then
77755 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
77756 else
77757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77758 for as_dir in $PATH
77760 IFS=$as_save_IFS
77761 test -z "$as_dir" && as_dir=.
77762 for ac_exec_ext in '' $ac_executable_extensions; do
77763 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77764 ac_cv_prog_MAKEINFO="makeinfo"
77765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77766 break 2
77768 done
77769 done
77770 IFS=$as_save_IFS
77774 MAKEINFO=$ac_cv_prog_MAKEINFO
77775 if test -n "$MAKEINFO"; then
77776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
77777 $as_echo "$MAKEINFO" >&6; }
77778 else
77779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77780 $as_echo "no" >&6; }
77784 if test -n "$MAKEINFO"; then
77785 # Found it, now check the version.
77786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
77787 $as_echo_n "checking for modern makeinfo... " >&6; }
77788 if ${gcc_cv_prog_makeinfo_modern+:} false; then :
77789 $as_echo_n "(cached) " >&6
77790 else
77791 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
77792 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
77794 case $ac_prog_version in
77795 '') gcc_cv_prog_makeinfo_modern=no;;
77796 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
77797 *) gcc_cv_prog_makeinfo_modern=no;;
77798 esac
77801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
77802 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
77803 else
77804 gcc_cv_prog_makeinfo_modern=no
77806 if test $gcc_cv_prog_makeinfo_modern = no; then
77807 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
77810 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
77811 BUILD_INFO_TRUE=
77812 BUILD_INFO_FALSE='#'
77813 else
77814 BUILD_INFO_TRUE='#'
77815 BUILD_INFO_FALSE=
77819 # Check for doxygen
77820 # Extract the first word of "doxygen", so it can be a program name with args.
77821 set dummy doxygen; ac_word=$2
77822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77823 $as_echo_n "checking for $ac_word... " >&6; }
77824 if ${ac_cv_prog_DOXYGEN+:} false; then :
77825 $as_echo_n "(cached) " >&6
77826 else
77827 if test -n "$DOXYGEN"; then
77828 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
77829 else
77830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77831 for as_dir in $PATH
77833 IFS=$as_save_IFS
77834 test -z "$as_dir" && as_dir=.
77835 for ac_exec_ext in '' $ac_executable_extensions; do
77836 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77837 ac_cv_prog_DOXYGEN="yes"
77838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77839 break 2
77841 done
77842 done
77843 IFS=$as_save_IFS
77845 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
77848 DOXYGEN=$ac_cv_prog_DOXYGEN
77849 if test -n "$DOXYGEN"; then
77850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
77851 $as_echo "$DOXYGEN" >&6; }
77852 else
77853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77854 $as_echo "no" >&6; }
77858 # Extract the first word of "dot", so it can be a program name with args.
77859 set dummy dot; ac_word=$2
77860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77861 $as_echo_n "checking for $ac_word... " >&6; }
77862 if ${ac_cv_prog_DOT+:} false; then :
77863 $as_echo_n "(cached) " >&6
77864 else
77865 if test -n "$DOT"; then
77866 ac_cv_prog_DOT="$DOT" # Let the user override the test.
77867 else
77868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77869 for as_dir in $PATH
77871 IFS=$as_save_IFS
77872 test -z "$as_dir" && as_dir=.
77873 for ac_exec_ext in '' $ac_executable_extensions; do
77874 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77875 ac_cv_prog_DOT="yes"
77876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77877 break 2
77879 done
77880 done
77881 IFS=$as_save_IFS
77883 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
77886 DOT=$ac_cv_prog_DOT
77887 if test -n "$DOT"; then
77888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
77889 $as_echo "$DOT" >&6; }
77890 else
77891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77892 $as_echo "no" >&6; }
77897 # Check for docbook
77898 # Extract the first word of "xmlcatalog", so it can be a program name with args.
77899 set dummy xmlcatalog; ac_word=$2
77900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77901 $as_echo_n "checking for $ac_word... " >&6; }
77902 if ${ac_cv_prog_XMLCATALOG+:} false; then :
77903 $as_echo_n "(cached) " >&6
77904 else
77905 if test -n "$XMLCATALOG"; then
77906 ac_cv_prog_XMLCATALOG="$XMLCATALOG" # Let the user override the test.
77907 else
77908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77909 for as_dir in $PATH
77911 IFS=$as_save_IFS
77912 test -z "$as_dir" && as_dir=.
77913 for ac_exec_ext in '' $ac_executable_extensions; do
77914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77915 ac_cv_prog_XMLCATALOG="yes"
77916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77917 break 2
77919 done
77920 done
77921 IFS=$as_save_IFS
77923 test -z "$ac_cv_prog_XMLCATALOG" && ac_cv_prog_XMLCATALOG="no"
77926 XMLCATALOG=$ac_cv_prog_XMLCATALOG
77927 if test -n "$XMLCATALOG"; then
77928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLCATALOG" >&5
77929 $as_echo "$XMLCATALOG" >&6; }
77930 else
77931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77932 $as_echo "no" >&6; }
77936 # Extract the first word of "xsltproc", so it can be a program name with args.
77937 set dummy xsltproc; ac_word=$2
77938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77939 $as_echo_n "checking for $ac_word... " >&6; }
77940 if ${ac_cv_prog_XSLTPROC+:} false; then :
77941 $as_echo_n "(cached) " >&6
77942 else
77943 if test -n "$XSLTPROC"; then
77944 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
77945 else
77946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77947 for as_dir in $PATH
77949 IFS=$as_save_IFS
77950 test -z "$as_dir" && as_dir=.
77951 for ac_exec_ext in '' $ac_executable_extensions; do
77952 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77953 ac_cv_prog_XSLTPROC="yes"
77954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77955 break 2
77957 done
77958 done
77959 IFS=$as_save_IFS
77961 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
77964 XSLTPROC=$ac_cv_prog_XSLTPROC
77965 if test -n "$XSLTPROC"; then
77966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
77967 $as_echo "$XSLTPROC" >&6; }
77968 else
77969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77970 $as_echo "no" >&6; }
77974 # Extract the first word of "xmllint", so it can be a program name with args.
77975 set dummy xmllint; ac_word=$2
77976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77977 $as_echo_n "checking for $ac_word... " >&6; }
77978 if ${ac_cv_prog_XMLLINT+:} false; then :
77979 $as_echo_n "(cached) " >&6
77980 else
77981 if test -n "$XMLLINT"; then
77982 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
77983 else
77984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77985 for as_dir in $PATH
77987 IFS=$as_save_IFS
77988 test -z "$as_dir" && as_dir=.
77989 for ac_exec_ext in '' $ac_executable_extensions; do
77990 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77991 ac_cv_prog_XMLLINT="yes"
77992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77993 break 2
77995 done
77996 done
77997 IFS=$as_save_IFS
77999 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
78002 XMLLINT=$ac_cv_prog_XMLLINT
78003 if test -n "$XMLLINT"; then
78004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
78005 $as_echo "$XMLLINT" >&6; }
78006 else
78007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78008 $as_echo "no" >&6; }
78014 glibcxx_docbook_url=http://docbook.sourceforge.net/release/xsl-ns/current/
78016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
78017 $as_echo_n "checking for local stylesheet directory... " >&6; }
78018 glibcxx_local_stylesheets=no
78019 if test x${XMLCATALOG} = xyes && xsl_style_dir=`xmlcatalog "" $glibcxx_docbook_url 2>/dev/null`
78020 then
78021 XSL_STYLE_DIR=`echo $xsl_style_dir | sed -n 's;^file://;;p'`
78022 glibcxx_local_stylesheets=yes
78023 else
78024 for dir in \
78025 /usr/share/sgml/docbook/xsl-ns-stylesheets \
78026 /usr/share/xml/docbook/stylesheet/docbook-xsl-ns \
78027 /usr/share/xml/docbook/stylesheet/nwalsh5/current \
78028 /usr/share/xml/docbook/stylesheet/nwalsh/current
78030 if test -d $dir; then
78031 glibcxx_local_stylesheets=yes
78032 XSL_STYLE_DIR=$dir
78033 break
78035 done
78037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
78038 $as_echo "$glibcxx_local_stylesheets" >&6; }
78040 if test x"$glibcxx_local_stylesheets" = x"yes"; then
78042 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
78043 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
78045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
78046 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
78047 glibcxx_stylesheets=no
78048 if test x${XMLCATALOG} = xno || xmlcatalog "" $glibcxx_docbook_url/xhtml/docbook.xsl >/dev/null 2>&1; then
78049 if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude $glibcxx_docbook_url/xhtml/docbook.xsl - 2>/dev/null; then
78050 glibcxx_stylesheets=yes
78053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
78054 $as_echo "$glibcxx_stylesheets" >&6; }
78056 else
78057 glibcxx_stylesheets=no
78060 # Check for epub3 dependencies.
78061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
78062 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
78063 glibcxx_epub_stylesheets=no
78064 if test x"$glibcxx_local_stylesheets" = x"yes"; then
78065 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
78066 glibcxx_epub_stylesheets=yes
78069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
78070 $as_echo "$glibcxx_epub_stylesheets" >&6; }
78071 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
78072 BUILD_EPUB_TRUE=
78073 BUILD_EPUB_FALSE='#'
78074 else
78075 BUILD_EPUB_TRUE='#'
78076 BUILD_EPUB_FALSE=
78082 # Check for xml/html dependencies.
78083 if test $ac_cv_prog_DOXYGEN = "yes" &&
78084 test $ac_cv_prog_DOT = "yes" &&
78085 test $ac_cv_prog_XSLTPROC = "yes" &&
78086 test $ac_cv_prog_XMLLINT = "yes" &&
78087 test $glibcxx_stylesheets = "yes"; then
78088 BUILD_XML_TRUE=
78089 BUILD_XML_FALSE='#'
78090 else
78091 BUILD_XML_TRUE='#'
78092 BUILD_XML_FALSE=
78096 if test $ac_cv_prog_DOXYGEN = "yes" &&
78097 test $ac_cv_prog_DOT = "yes" &&
78098 test $ac_cv_prog_XSLTPROC = "yes" &&
78099 test $ac_cv_prog_XMLLINT = "yes" &&
78100 test $glibcxx_stylesheets = "yes"; then
78101 BUILD_HTML_TRUE=
78102 BUILD_HTML_FALSE='#'
78103 else
78104 BUILD_HTML_TRUE='#'
78105 BUILD_HTML_FALSE=
78109 # Check for man dependencies.
78110 if test $ac_cv_prog_DOXYGEN = "yes" &&
78111 test $ac_cv_prog_DOT = "yes"; then
78112 BUILD_MAN_TRUE=
78113 BUILD_MAN_FALSE='#'
78114 else
78115 BUILD_MAN_TRUE='#'
78116 BUILD_MAN_FALSE=
78120 # Check for pdf dependencies.
78121 # Extract the first word of "dblatex", so it can be a program name with args.
78122 set dummy dblatex; ac_word=$2
78123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78124 $as_echo_n "checking for $ac_word... " >&6; }
78125 if ${ac_cv_prog_DBLATEX+:} false; then :
78126 $as_echo_n "(cached) " >&6
78127 else
78128 if test -n "$DBLATEX"; then
78129 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
78130 else
78131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78132 for as_dir in $PATH
78134 IFS=$as_save_IFS
78135 test -z "$as_dir" && as_dir=.
78136 for ac_exec_ext in '' $ac_executable_extensions; do
78137 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
78138 ac_cv_prog_DBLATEX="yes"
78139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78140 break 2
78142 done
78143 done
78144 IFS=$as_save_IFS
78146 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
78149 DBLATEX=$ac_cv_prog_DBLATEX
78150 if test -n "$DBLATEX"; then
78151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
78152 $as_echo "$DBLATEX" >&6; }
78153 else
78154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78155 $as_echo "no" >&6; }
78159 # Extract the first word of "pdflatex", so it can be a program name with args.
78160 set dummy pdflatex; ac_word=$2
78161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78162 $as_echo_n "checking for $ac_word... " >&6; }
78163 if ${ac_cv_prog_PDFLATEX+:} false; then :
78164 $as_echo_n "(cached) " >&6
78165 else
78166 if test -n "$PDFLATEX"; then
78167 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
78168 else
78169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78170 for as_dir in $PATH
78172 IFS=$as_save_IFS
78173 test -z "$as_dir" && as_dir=.
78174 for ac_exec_ext in '' $ac_executable_extensions; do
78175 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
78176 ac_cv_prog_PDFLATEX="yes"
78177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78178 break 2
78180 done
78181 done
78182 IFS=$as_save_IFS
78184 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
78187 PDFLATEX=$ac_cv_prog_PDFLATEX
78188 if test -n "$PDFLATEX"; then
78189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
78190 $as_echo "$PDFLATEX" >&6; }
78191 else
78192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78193 $as_echo "no" >&6; }
78197 if test $ac_cv_prog_DOXYGEN = "yes" &&
78198 test $ac_cv_prog_DOT = "yes" &&
78199 test $ac_cv_prog_XSLTPROC = "yes" &&
78200 test $ac_cv_prog_XMLLINT = "yes" &&
78201 test $ac_cv_prog_DBLATEX = "yes" &&
78202 test $ac_cv_prog_PDFLATEX = "yes"; then
78203 BUILD_PDF_TRUE=
78204 BUILD_PDF_FALSE='#'
78205 else
78206 BUILD_PDF_TRUE='#'
78207 BUILD_PDF_FALSE=
78211 case "$build" in
78212 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
78213 * ) glibcxx_include_dir_notparallel=no ;;
78214 esac
78215 if test $glibcxx_include_dir_notparallel = "yes"; then
78216 INCLUDE_DIR_NOTPARALLEL_TRUE=
78217 INCLUDE_DIR_NOTPARALLEL_FALSE='#'
78218 else
78219 INCLUDE_DIR_NOTPARALLEL_TRUE='#'
78220 INCLUDE_DIR_NOTPARALLEL_FALSE=
78224 # Propagate the target-specific source directories through the build chain.
78225 ATOMICITY_SRCDIR=config/${atomicity_dir}
78226 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
78227 ATOMIC_FLAGS=${atomic_flags}
78228 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
78229 OS_INC_SRCDIR=config/${os_include_dir}
78230 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
78231 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
78232 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
78233 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
78244 # Conditionalize the makefile for this target machine.
78245 tmake_file_=
78246 for f in ${tmake_file}
78248 if test -f ${srcdir}/config/$f
78249 then
78250 tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
78252 done
78253 tmake_file="${tmake_file_}"
78256 # Add CET specific flags if Intel CET is enabled.
78257 # Check whether --enable-cet was given.
78258 if test "${enable_cet+set}" = set; then :
78259 enableval=$enable_cet;
78260 case "$enableval" in
78261 yes|no|auto) ;;
78262 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
78263 esac
78265 else
78266 enable_cet=auto
78270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
78271 $as_echo_n "checking for CET support... " >&6; }
78273 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
78274 case "$host" in
78275 i[34567]86-*-linux* | x86_64-*-linux*)
78276 case "$enable_cet" in
78277 auto)
78278 # Check if target supports multi-byte NOPs
78279 # and if compiler and assembler support CET insn.
78280 cet_save_CFLAGS="$CFLAGS"
78281 CFLAGS="$CFLAGS -fcf-protection"
78282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78283 /* end confdefs.h. */
78286 main ()
78289 #if !defined(__SSE2__)
78290 #error target does not support multi-byte NOPs
78291 #else
78292 asm ("setssbsy");
78293 #endif
78296 return 0;
78298 _ACEOF
78299 if ac_fn_c_try_compile "$LINENO"; then :
78300 enable_cet=yes
78301 else
78302 enable_cet=no
78304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78305 CFLAGS="$cet_save_CFLAGS"
78307 yes)
78308 # Check if assembler supports CET.
78309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78310 /* end confdefs.h. */
78313 main ()
78315 asm ("setssbsy");
78317 return 0;
78319 _ACEOF
78320 if ac_fn_c_try_compile "$LINENO"; then :
78322 else
78323 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
78325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78327 esac
78330 enable_cet=no
78332 esac
78333 if test x$enable_cet = xyes; then
78334 CET_FLAGS="-fcf-protection -mshstk"
78335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
78336 $as_echo "yes" >&6; }
78337 else
78338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78339 $as_echo "no" >&6; }
78342 EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
78343 EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
78347 # Determine cross-compile flags and AM_CONDITIONALs.
78348 #AC_SUBST(GLIBCXX_IS_NATIVE)
78349 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
78350 if test $is_hosted = yes; then
78351 GLIBCXX_HOSTED_TRUE=
78352 GLIBCXX_HOSTED_FALSE='#'
78353 else
78354 GLIBCXX_HOSTED_TRUE='#'
78355 GLIBCXX_HOSTED_FALSE=
78359 if test $enable_libstdcxx_pch = yes; then
78360 GLIBCXX_BUILD_PCH_TRUE=
78361 GLIBCXX_BUILD_PCH_FALSE='#'
78362 else
78363 GLIBCXX_BUILD_PCH_TRUE='#'
78364 GLIBCXX_BUILD_PCH_FALSE=
78368 if test $enable_float128 = yes; then
78369 ENABLE_FLOAT128_TRUE=
78370 ENABLE_FLOAT128_FALSE='#'
78371 else
78372 ENABLE_FLOAT128_TRUE='#'
78373 ENABLE_FLOAT128_FALSE=
78377 if test $enable_libstdcxx_allocator_flag = new; then
78378 ENABLE_ALLOCATOR_NEW_TRUE=
78379 ENABLE_ALLOCATOR_NEW_FALSE='#'
78380 else
78381 ENABLE_ALLOCATOR_NEW_TRUE='#'
78382 ENABLE_ALLOCATOR_NEW_FALSE=
78386 if test $enable_cheaders = c; then
78387 GLIBCXX_C_HEADERS_C_TRUE=
78388 GLIBCXX_C_HEADERS_C_FALSE='#'
78389 else
78390 GLIBCXX_C_HEADERS_C_TRUE='#'
78391 GLIBCXX_C_HEADERS_C_FALSE=
78395 if test $enable_cheaders = c_std; then
78396 GLIBCXX_C_HEADERS_C_STD_TRUE=
78397 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
78398 else
78399 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
78400 GLIBCXX_C_HEADERS_C_STD_FALSE=
78404 if test $enable_cheaders = c_global; then
78405 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
78406 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
78407 else
78408 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
78409 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
78413 if test $c_compatibility = yes; then
78414 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
78415 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
78416 else
78417 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
78418 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
78422 if test $enable_libstdcxx_debug = yes; then
78423 GLIBCXX_BUILD_DEBUG_TRUE=
78424 GLIBCXX_BUILD_DEBUG_FALSE='#'
78425 else
78426 GLIBCXX_BUILD_DEBUG_TRUE='#'
78427 GLIBCXX_BUILD_DEBUG_FALSE=
78431 if test $enable_extern_template = yes; then
78432 ENABLE_EXTERN_TEMPLATE_TRUE=
78433 ENABLE_EXTERN_TEMPLATE_FALSE='#'
78434 else
78435 ENABLE_EXTERN_TEMPLATE_TRUE='#'
78436 ENABLE_EXTERN_TEMPLATE_FALSE=
78440 if test $python_mod_dir != no; then
78441 ENABLE_PYTHONDIR_TRUE=
78442 ENABLE_PYTHONDIR_FALSE='#'
78443 else
78444 ENABLE_PYTHONDIR_TRUE='#'
78445 ENABLE_PYTHONDIR_FALSE=
78449 if test $enable_werror = yes; then
78450 ENABLE_WERROR_TRUE=
78451 ENABLE_WERROR_FALSE='#'
78452 else
78453 ENABLE_WERROR_TRUE='#'
78454 ENABLE_WERROR_FALSE=
78458 if test $enable_vtable_verify = yes; then
78459 ENABLE_VTABLE_VERIFY_TRUE=
78460 ENABLE_VTABLE_VERIFY_FALSE='#'
78461 else
78462 ENABLE_VTABLE_VERIFY_TRUE='#'
78463 ENABLE_VTABLE_VERIFY_FALSE=
78467 if test $enable_symvers != no; then
78468 ENABLE_SYMVERS_TRUE=
78469 ENABLE_SYMVERS_FALSE='#'
78470 else
78471 ENABLE_SYMVERS_TRUE='#'
78472 ENABLE_SYMVERS_FALSE=
78476 if test $enable_symvers = gnu; then
78477 ENABLE_SYMVERS_GNU_TRUE=
78478 ENABLE_SYMVERS_GNU_FALSE='#'
78479 else
78480 ENABLE_SYMVERS_GNU_TRUE='#'
78481 ENABLE_SYMVERS_GNU_FALSE=
78485 if test $enable_symvers = gnu-versioned-namespace; then
78486 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
78487 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
78488 else
78489 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
78490 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
78494 if test $enable_symvers = darwin; then
78495 ENABLE_SYMVERS_DARWIN_TRUE=
78496 ENABLE_SYMVERS_DARWIN_FALSE='#'
78497 else
78498 ENABLE_SYMVERS_DARWIN_TRUE='#'
78499 ENABLE_SYMVERS_DARWIN_FALSE=
78503 if test $enable_symvers = sun; then
78504 ENABLE_SYMVERS_SUN_TRUE=
78505 ENABLE_SYMVERS_SUN_FALSE='#'
78506 else
78507 ENABLE_SYMVERS_SUN_TRUE='#'
78508 ENABLE_SYMVERS_SUN_FALSE=
78512 if test $enable_libstdcxx_visibility = yes; then
78513 ENABLE_VISIBILITY_TRUE=
78514 ENABLE_VISIBILITY_FALSE='#'
78515 else
78516 ENABLE_VISIBILITY_TRUE='#'
78517 ENABLE_VISIBILITY_FALSE=
78521 if test $enable_libstdcxx_dual_abi = yes; then
78522 ENABLE_DUAL_ABI_TRUE=
78523 ENABLE_DUAL_ABI_FALSE='#'
78524 else
78525 ENABLE_DUAL_ABI_TRUE='#'
78526 ENABLE_DUAL_ABI_FALSE=
78530 if test $glibcxx_cxx11_abi = 1; then
78531 ENABLE_CXX11_ABI_TRUE=
78532 ENABLE_CXX11_ABI_FALSE='#'
78533 else
78534 ENABLE_CXX11_ABI_TRUE='#'
78535 ENABLE_CXX11_ABI_FALSE=
78539 if test $ac_ldbl_compat = yes; then
78540 GLIBCXX_LDBL_COMPAT_TRUE=
78541 GLIBCXX_LDBL_COMPAT_FALSE='#'
78542 else
78543 GLIBCXX_LDBL_COMPAT_TRUE='#'
78544 GLIBCXX_LDBL_COMPAT_FALSE=
78548 if test $ac_ldbl_alt128_compat = yes; then
78549 GLIBCXX_LDBL_ALT128_COMPAT_TRUE=
78550 GLIBCXX_LDBL_ALT128_COMPAT_FALSE='#'
78551 else
78552 GLIBCXX_LDBL_ALT128_COMPAT_TRUE='#'
78553 GLIBCXX_LDBL_ALT128_COMPAT_FALSE=
78557 if test $enable_libstdcxx_filesystem_ts = yes; then
78558 ENABLE_FILESYSTEM_TS_TRUE=
78559 ENABLE_FILESYSTEM_TS_FALSE='#'
78560 else
78561 ENABLE_FILESYSTEM_TS_TRUE='#'
78562 ENABLE_FILESYSTEM_TS_FALSE=
78566 if test "$enable_libstdcxx_backtrace" = yes; then
78567 ENABLE_BACKTRACE_TRUE=
78568 ENABLE_BACKTRACE_FALSE='#'
78569 else
78570 ENABLE_BACKTRACE_TRUE='#'
78571 ENABLE_BACKTRACE_FALSE=
78577 cat >confcache <<\_ACEOF
78578 # This file is a shell script that caches the results of configure
78579 # tests run on this system so they can be shared between configure
78580 # scripts and configure runs, see configure's option --config-cache.
78581 # It is not useful on other systems. If it contains results you don't
78582 # want to keep, you may remove or edit it.
78584 # config.status only pays attention to the cache file if you give it
78585 # the --recheck option to rerun configure.
78587 # `ac_cv_env_foo' variables (set or unset) will be overridden when
78588 # loading this file, other *unset* `ac_cv_foo' will be assigned the
78589 # following values.
78591 _ACEOF
78593 # The following way of writing the cache mishandles newlines in values,
78594 # but we know of no workaround that is simple, portable, and efficient.
78595 # So, we kill variables containing newlines.
78596 # Ultrix sh set writes to stderr and can't be redirected directly,
78597 # and sets the high bit in the cache file unless we assign to the vars.
78599 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
78600 eval ac_val=\$$ac_var
78601 case $ac_val in #(
78602 *${as_nl}*)
78603 case $ac_var in #(
78604 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
78605 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
78606 esac
78607 case $ac_var in #(
78608 _ | IFS | as_nl) ;; #(
78609 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
78610 *) { eval $ac_var=; unset $ac_var;} ;;
78611 esac ;;
78612 esac
78613 done
78615 (set) 2>&1 |
78616 case $as_nl`(ac_space=' '; set) 2>&1` in #(
78617 *${as_nl}ac_space=\ *)
78618 # `set' does not quote correctly, so add quotes: double-quote
78619 # substitution turns \\\\ into \\, and sed turns \\ into \.
78620 sed -n \
78621 "s/'/'\\\\''/g;
78622 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
78623 ;; #(
78625 # `set' quotes correctly as required by POSIX, so do not add quotes.
78626 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
78628 esac |
78629 sort
78631 sed '
78632 /^ac_cv_env_/b end
78633 t clear
78634 :clear
78635 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
78636 t end
78637 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
78638 :end' >>confcache
78639 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
78640 if test -w "$cache_file"; then
78641 if test "x$cache_file" != "x/dev/null"; then
78642 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
78643 $as_echo "$as_me: updating cache $cache_file" >&6;}
78644 if test ! -f "$cache_file" || test -h "$cache_file"; then
78645 cat confcache >"$cache_file"
78646 else
78647 case $cache_file in #(
78648 */* | ?:*)
78649 mv -f confcache "$cache_file"$$ &&
78650 mv -f "$cache_file"$$ "$cache_file" ;; #(
78652 mv -f confcache "$cache_file" ;;
78653 esac
78656 else
78657 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
78658 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
78661 rm -f confcache
78663 if test ${multilib} = yes; then
78664 multilib_arg="--enable-multilib"
78665 else
78666 multilib_arg=
78669 # Export all the install information.
78671 glibcxx_toolexecdir=no
78672 glibcxx_toolexeclibdir=no
78673 glibcxx_prefixdir=$prefix
78675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
78676 $as_echo_n "checking for gxx-include-dir... " >&6; }
78678 # Check whether --with-gxx-include-dir was given.
78679 if test "${with_gxx_include_dir+set}" = set; then :
78680 withval=$with_gxx_include_dir; case "$withval" in
78681 yes) as_fn_error $? "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
78682 no) gxx_include_dir=no ;;
78683 *) gxx_include_dir=$withval ;;
78684 esac
78685 else
78686 gxx_include_dir=no
78689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
78690 $as_echo "$gxx_include_dir" >&6; }
78692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
78693 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
78694 # Check whether --enable-version-specific-runtime-libs was given.
78695 if test "${enable_version_specific_runtime_libs+set}" = set; then :
78696 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
78697 yes) version_specific_libs=yes ;;
78698 no) version_specific_libs=no ;;
78699 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
78700 esac
78701 else
78702 version_specific_libs=no
78705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
78706 $as_echo "$version_specific_libs" >&6; }
78709 # Check whether --with-toolexeclibdir was given.
78710 if test "${with_toolexeclibdir+set}" = set; then :
78711 withval=$with_toolexeclibdir; case ${with_toolexeclibdir} in
78715 with_toolexeclibdir=`echo $with_toolexeclibdir | sed 's,/$,,'`
78717 esac
78718 else
78719 with_toolexeclibdir=no
78724 # Default case for install directory for include files.
78725 if test $version_specific_libs = no && test $gxx_include_dir = no; then
78726 gxx_include_dir='include/c++/${gcc_version}'
78727 if test -n "$with_cross_host" &&
78728 test x"$with_cross_host" != x"no"; then
78729 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
78730 else
78731 gxx_include_dir='${prefix}/'"$gxx_include_dir"
78735 # Version-specific runtime libs processing.
78736 if test $version_specific_libs = yes; then
78737 # Need the gcc compiler version to know where to install libraries
78738 # and header files if --enable-version-specific-runtime-libs option
78739 # is selected. FIXME: these variables are misnamed, there are
78740 # no executables installed in _toolexecdir or _toolexeclibdir.
78741 if test x"$gxx_include_dir" = x"no"; then
78742 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
78744 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
78745 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
78748 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
78749 # Install a library built with a cross compiler in tooldir, not libdir.
78750 if test x"$glibcxx_toolexecdir" = x"no"; then
78751 if test -n "$with_cross_host" &&
78752 test x"$with_cross_host" != x"no"; then
78753 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
78754 case ${with_toolexeclibdir} in
78756 glibcxx_toolexeclibdir='${toolexecdir}/lib'
78759 glibcxx_toolexeclibdir=${with_toolexeclibdir}
78761 esac
78762 else
78763 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
78764 glibcxx_toolexeclibdir='${libdir}'
78766 multi_os_directory=`$CXX -print-multi-os-directory`
78767 case $multi_os_directory in
78768 .) ;; # Avoid trailing /.
78769 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
78770 esac
78773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
78774 $as_echo_n "checking for install location... " >&6; }
78775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
78776 $as_echo "$gxx_include_dir" >&6; }
78784 # Export all the include and flag information to Makefiles.
78786 # Used for every C++ compile we perform.
78787 GLIBCXX_INCLUDES="\
78788 -I$glibcxx_builddir/include/$host_alias \
78789 -I$glibcxx_builddir/include \
78790 -I$glibcxx_srcdir/libsupc++"
78792 # For Canadian crosses, pick this up too.
78793 if test $CANADIAN = yes; then
78794 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
78797 # Stuff in the actual top level. Currently only used by libsupc++ to
78798 # get unwind* headers from the libgcc dir.
78799 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
78800 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
78802 # Now, export this to all the little Makefiles....
78807 # Optimization flags that are probably a good idea for thrill-seekers. Just
78808 # uncomment the lines below and make, everything else is ready to go...
78809 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
78810 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
78813 WARN_FLAGS="-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2"
78817 # Determine what GCC version number to use in filesystem paths.
78819 get_gcc_base_ver="cat"
78821 # Check whether --with-gcc-major-version-only was given.
78822 if test "${with_gcc_major_version_only+set}" = set; then :
78823 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
78824 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
78832 ac_config_files="$ac_config_files Makefile"
78834 ac_config_files="$ac_config_files scripts/testsuite_flags"
78836 ac_config_files="$ac_config_files scripts/extract_symvers"
78838 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
78840 ac_config_files="$ac_config_files src/libbacktrace/backtrace-supported.h"
78843 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
78844 # that multilib installs will end up installed in the correct place.
78845 # The testsuite needs it for multilib-aware ABI baseline files.
78846 # To work around this not being passed down from config-ml.in ->
78847 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
78848 # append it here. Only modify Makefiles that have just been created.
78850 # Also, get rid of this simulated-VPATH thing that automake does.
78851 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 doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
78854 ac_config_commands="$ac_config_commands generate-headers"
78857 cat >confcache <<\_ACEOF
78858 # This file is a shell script that caches the results of configure
78859 # tests run on this system so they can be shared between configure
78860 # scripts and configure runs, see configure's option --config-cache.
78861 # It is not useful on other systems. If it contains results you don't
78862 # want to keep, you may remove or edit it.
78864 # config.status only pays attention to the cache file if you give it
78865 # the --recheck option to rerun configure.
78867 # `ac_cv_env_foo' variables (set or unset) will be overridden when
78868 # loading this file, other *unset* `ac_cv_foo' will be assigned the
78869 # following values.
78871 _ACEOF
78873 # The following way of writing the cache mishandles newlines in values,
78874 # but we know of no workaround that is simple, portable, and efficient.
78875 # So, we kill variables containing newlines.
78876 # Ultrix sh set writes to stderr and can't be redirected directly,
78877 # and sets the high bit in the cache file unless we assign to the vars.
78879 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
78880 eval ac_val=\$$ac_var
78881 case $ac_val in #(
78882 *${as_nl}*)
78883 case $ac_var in #(
78884 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
78885 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
78886 esac
78887 case $ac_var in #(
78888 _ | IFS | as_nl) ;; #(
78889 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
78890 *) { eval $ac_var=; unset $ac_var;} ;;
78891 esac ;;
78892 esac
78893 done
78895 (set) 2>&1 |
78896 case $as_nl`(ac_space=' '; set) 2>&1` in #(
78897 *${as_nl}ac_space=\ *)
78898 # `set' does not quote correctly, so add quotes: double-quote
78899 # substitution turns \\\\ into \\, and sed turns \\ into \.
78900 sed -n \
78901 "s/'/'\\\\''/g;
78902 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
78903 ;; #(
78905 # `set' quotes correctly as required by POSIX, so do not add quotes.
78906 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
78908 esac |
78909 sort
78911 sed '
78912 /^ac_cv_env_/b end
78913 t clear
78914 :clear
78915 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
78916 t end
78917 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
78918 :end' >>confcache
78919 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
78920 if test -w "$cache_file"; then
78921 if test "x$cache_file" != "x/dev/null"; then
78922 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
78923 $as_echo "$as_me: updating cache $cache_file" >&6;}
78924 if test ! -f "$cache_file" || test -h "$cache_file"; then
78925 cat confcache >"$cache_file"
78926 else
78927 case $cache_file in #(
78928 */* | ?:*)
78929 mv -f confcache "$cache_file"$$ &&
78930 mv -f "$cache_file"$$ "$cache_file" ;; #(
78932 mv -f confcache "$cache_file" ;;
78933 esac
78936 else
78937 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
78938 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
78941 rm -f confcache
78943 test "x$prefix" = xNONE && prefix=$ac_default_prefix
78944 # Let make expand exec_prefix.
78945 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
78947 DEFS=-DHAVE_CONFIG_H
78949 ac_libobjs=
78950 ac_ltlibobjs=
78952 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
78953 # 1. Remove the extension, and $U if already installed.
78954 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
78955 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
78956 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
78957 # will be set to the directory where LIBOBJS objects are built.
78958 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
78959 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
78960 done
78961 LIBOBJS=$ac_libobjs
78963 LTLIBOBJS=$ac_ltlibobjs
78966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
78967 $as_echo_n "checking that generated files are newer than configure... " >&6; }
78968 if test -n "$am_sleep_pid"; then
78969 # Hide warnings about reused PIDs.
78970 wait $am_sleep_pid 2>/dev/null
78972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
78973 $as_echo "done" >&6; }
78974 if test -n "$EXEEXT"; then
78975 am__EXEEXT_TRUE=
78976 am__EXEEXT_FALSE='#'
78977 else
78978 am__EXEEXT_TRUE='#'
78979 am__EXEEXT_FALSE=
78982 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
78983 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
78984 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78986 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
78987 as_fn_error $? "conditional \"GLIBCXX_HOSTED\" was never defined.
78988 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78990 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
78991 as_fn_error $? "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
78992 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78994 if test -z "${ENABLE_FLOAT128_TRUE}" && test -z "${ENABLE_FLOAT128_FALSE}"; then
78995 as_fn_error $? "conditional \"ENABLE_FLOAT128\" was never defined.
78996 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78998 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
78999 as_fn_error $? "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
79000 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79002 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
79003 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
79004 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79006 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
79007 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
79008 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79010 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
79011 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
79012 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79014 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
79015 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
79016 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79018 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
79019 as_fn_error $? "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
79020 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79022 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
79023 as_fn_error $? "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
79024 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79026 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
79027 as_fn_error $? "conditional \"ENABLE_PYTHONDIR\" was never defined.
79028 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79030 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
79031 as_fn_error $? "conditional \"ENABLE_WERROR\" was never defined.
79032 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79034 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
79035 as_fn_error $? "conditional \"VTV_CYGMIN\" was never defined.
79036 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79038 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
79039 as_fn_error $? "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
79040 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79042 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
79043 as_fn_error $? "conditional \"ENABLE_SYMVERS\" was never defined.
79044 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79046 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
79047 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
79048 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79050 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
79051 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
79052 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79054 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
79055 as_fn_error $? "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
79056 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79058 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
79059 as_fn_error $? "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
79060 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79062 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
79063 as_fn_error $? "conditional \"ENABLE_VISIBILITY\" was never defined.
79064 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79066 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
79067 as_fn_error $? "conditional \"ENABLE_DUAL_ABI\" was never defined.
79068 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79070 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
79071 as_fn_error $? "conditional \"ENABLE_CXX11_ABI\" was never defined.
79072 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79074 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
79075 as_fn_error $? "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
79076 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79078 if test -z "${GLIBCXX_LDBL_ALT128_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_ALT128_COMPAT_FALSE}"; then
79079 as_fn_error $? "conditional \"GLIBCXX_LDBL_ALT128_COMPAT\" was never defined.
79080 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79082 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
79083 as_fn_error $? "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
79084 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79086 if test -z "${ENABLE_BACKTRACE_TRUE}" && test -z "${ENABLE_BACKTRACE_FALSE}"; then
79087 as_fn_error $? "conditional \"ENABLE_BACKTRACE\" was never defined.
79088 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79090 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
79091 as_fn_error $? "conditional \"BUILD_INFO\" was never defined.
79092 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79094 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
79095 as_fn_error $? "conditional \"BUILD_EPUB\" was never defined.
79096 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79098 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
79099 as_fn_error $? "conditional \"BUILD_XML\" was never defined.
79100 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79102 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
79103 as_fn_error $? "conditional \"BUILD_HTML\" was never defined.
79104 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79106 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
79107 as_fn_error $? "conditional \"BUILD_MAN\" was never defined.
79108 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79110 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
79111 as_fn_error $? "conditional \"BUILD_PDF\" was never defined.
79112 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79114 if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
79115 as_fn_error $? "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
79116 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79119 : "${CONFIG_STATUS=./config.status}"
79120 ac_write_fail=0
79121 ac_clean_files_save=$ac_clean_files
79122 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
79123 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
79124 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
79125 as_write_fail=0
79126 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
79127 #! $SHELL
79128 # Generated by $as_me.
79129 # Run this file to recreate the current configuration.
79130 # Compiler output produced by configure, useful for debugging
79131 # configure, is in config.log if it exists.
79133 debug=false
79134 ac_cs_recheck=false
79135 ac_cs_silent=false
79137 SHELL=\${CONFIG_SHELL-$SHELL}
79138 export SHELL
79139 _ASEOF
79140 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
79141 ## -------------------- ##
79142 ## M4sh Initialization. ##
79143 ## -------------------- ##
79145 # Be more Bourne compatible
79146 DUALCASE=1; export DUALCASE # for MKS sh
79147 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
79148 emulate sh
79149 NULLCMD=:
79150 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
79151 # is contrary to our usage. Disable this feature.
79152 alias -g '${1+"$@"}'='"$@"'
79153 setopt NO_GLOB_SUBST
79154 else
79155 case `(set -o) 2>/dev/null` in #(
79156 *posix*) :
79157 set -o posix ;; #(
79158 *) :
79160 esac
79164 as_nl='
79166 export as_nl
79167 # Printing a long string crashes Solaris 7 /usr/bin/printf.
79168 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
79169 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
79170 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
79171 # Prefer a ksh shell builtin over an external printf program on Solaris,
79172 # but without wasting forks for bash or zsh.
79173 if test -z "$BASH_VERSION$ZSH_VERSION" \
79174 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
79175 as_echo='print -r --'
79176 as_echo_n='print -rn --'
79177 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
79178 as_echo='printf %s\n'
79179 as_echo_n='printf %s'
79180 else
79181 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
79182 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
79183 as_echo_n='/usr/ucb/echo -n'
79184 else
79185 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
79186 as_echo_n_body='eval
79187 arg=$1;
79188 case $arg in #(
79189 *"$as_nl"*)
79190 expr "X$arg" : "X\\(.*\\)$as_nl";
79191 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
79192 esac;
79193 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
79195 export as_echo_n_body
79196 as_echo_n='sh -c $as_echo_n_body as_echo'
79198 export as_echo_body
79199 as_echo='sh -c $as_echo_body as_echo'
79202 # The user is always right.
79203 if test "${PATH_SEPARATOR+set}" != set; then
79204 PATH_SEPARATOR=:
79205 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79206 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79207 PATH_SEPARATOR=';'
79212 # IFS
79213 # We need space, tab and new line, in precisely that order. Quoting is
79214 # there to prevent editors from complaining about space-tab.
79215 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
79216 # splitting by setting IFS to empty value.)
79217 IFS=" "" $as_nl"
79219 # Find who we are. Look in the path if we contain no directory separator.
79220 as_myself=
79221 case $0 in #((
79222 *[\\/]* ) as_myself=$0 ;;
79223 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79224 for as_dir in $PATH
79226 IFS=$as_save_IFS
79227 test -z "$as_dir" && as_dir=.
79228 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79229 done
79230 IFS=$as_save_IFS
79233 esac
79234 # We did not find ourselves, most probably we were run as `sh COMMAND'
79235 # in which case we are not to be found in the path.
79236 if test "x$as_myself" = x; then
79237 as_myself=$0
79239 if test ! -f "$as_myself"; then
79240 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
79241 exit 1
79244 # Unset variables that we do not need and which cause bugs (e.g. in
79245 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
79246 # suppresses any "Segmentation fault" message there. '((' could
79247 # trigger a bug in pdksh 5.2.14.
79248 for as_var in BASH_ENV ENV MAIL MAILPATH
79249 do eval test x\${$as_var+set} = xset \
79250 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
79251 done
79252 PS1='$ '
79253 PS2='> '
79254 PS4='+ '
79256 # NLS nuisances.
79257 LC_ALL=C
79258 export LC_ALL
79259 LANGUAGE=C
79260 export LANGUAGE
79262 # CDPATH.
79263 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
79266 # as_fn_error STATUS ERROR [LINENO LOG_FD]
79267 # ----------------------------------------
79268 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
79269 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
79270 # script with STATUS, using 1 if that was 0.
79271 as_fn_error ()
79273 as_status=$1; test $as_status -eq 0 && as_status=1
79274 if test "$4"; then
79275 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
79276 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
79278 $as_echo "$as_me: error: $2" >&2
79279 as_fn_exit $as_status
79280 } # as_fn_error
79283 # as_fn_set_status STATUS
79284 # -----------------------
79285 # Set $? to STATUS, without forking.
79286 as_fn_set_status ()
79288 return $1
79289 } # as_fn_set_status
79291 # as_fn_exit STATUS
79292 # -----------------
79293 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
79294 as_fn_exit ()
79296 set +e
79297 as_fn_set_status $1
79298 exit $1
79299 } # as_fn_exit
79301 # as_fn_unset VAR
79302 # ---------------
79303 # Portably unset VAR.
79304 as_fn_unset ()
79306 { eval $1=; unset $1;}
79308 as_unset=as_fn_unset
79309 # as_fn_append VAR VALUE
79310 # ----------------------
79311 # Append the text in VALUE to the end of the definition contained in VAR. Take
79312 # advantage of any shell optimizations that allow amortized linear growth over
79313 # repeated appends, instead of the typical quadratic growth present in naive
79314 # implementations.
79315 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
79316 eval 'as_fn_append ()
79318 eval $1+=\$2
79320 else
79321 as_fn_append ()
79323 eval $1=\$$1\$2
79325 fi # as_fn_append
79327 # as_fn_arith ARG...
79328 # ------------------
79329 # Perform arithmetic evaluation on the ARGs, and store the result in the
79330 # global $as_val. Take advantage of shells that can avoid forks. The arguments
79331 # must be portable across $(()) and expr.
79332 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
79333 eval 'as_fn_arith ()
79335 as_val=$(( $* ))
79337 else
79338 as_fn_arith ()
79340 as_val=`expr "$@" || test $? -eq 1`
79342 fi # as_fn_arith
79345 if expr a : '\(a\)' >/dev/null 2>&1 &&
79346 test "X`expr 00001 : '.*\(...\)'`" = X001; then
79347 as_expr=expr
79348 else
79349 as_expr=false
79352 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
79353 as_basename=basename
79354 else
79355 as_basename=false
79358 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
79359 as_dirname=dirname
79360 else
79361 as_dirname=false
79364 as_me=`$as_basename -- "$0" ||
79365 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
79366 X"$0" : 'X\(//\)$' \| \
79367 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
79368 $as_echo X/"$0" |
79369 sed '/^.*\/\([^/][^/]*\)\/*$/{
79370 s//\1/
79373 /^X\/\(\/\/\)$/{
79374 s//\1/
79377 /^X\/\(\/\).*/{
79378 s//\1/
79381 s/.*/./; q'`
79383 # Avoid depending upon Character Ranges.
79384 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
79385 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
79386 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
79387 as_cr_digits='0123456789'
79388 as_cr_alnum=$as_cr_Letters$as_cr_digits
79390 ECHO_C= ECHO_N= ECHO_T=
79391 case `echo -n x` in #(((((
79392 -n*)
79393 case `echo 'xy\c'` in
79394 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
79395 xy) ECHO_C='\c';;
79396 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
79397 ECHO_T=' ';;
79398 esac;;
79400 ECHO_N='-n';;
79401 esac
79403 rm -f conf$$ conf$$.exe conf$$.file
79404 if test -d conf$$.dir; then
79405 rm -f conf$$.dir/conf$$.file
79406 else
79407 rm -f conf$$.dir
79408 mkdir conf$$.dir 2>/dev/null
79410 if (echo >conf$$.file) 2>/dev/null; then
79411 if ln -s conf$$.file conf$$ 2>/dev/null; then
79412 as_ln_s='ln -s'
79413 # ... but there are two gotchas:
79414 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
79415 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
79416 # In both cases, we have to default to `cp -pR'.
79417 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
79418 as_ln_s='cp -pR'
79419 elif ln conf$$.file conf$$ 2>/dev/null; then
79420 as_ln_s=ln
79421 else
79422 as_ln_s='cp -pR'
79424 else
79425 as_ln_s='cp -pR'
79427 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
79428 rmdir conf$$.dir 2>/dev/null
79431 # as_fn_mkdir_p
79432 # -------------
79433 # Create "$as_dir" as a directory, including parents if necessary.
79434 as_fn_mkdir_p ()
79437 case $as_dir in #(
79438 -*) as_dir=./$as_dir;;
79439 esac
79440 test -d "$as_dir" || eval $as_mkdir_p || {
79441 as_dirs=
79442 while :; do
79443 case $as_dir in #(
79444 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
79445 *) as_qdir=$as_dir;;
79446 esac
79447 as_dirs="'$as_qdir' $as_dirs"
79448 as_dir=`$as_dirname -- "$as_dir" ||
79449 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
79450 X"$as_dir" : 'X\(//\)[^/]' \| \
79451 X"$as_dir" : 'X\(//\)$' \| \
79452 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
79453 $as_echo X"$as_dir" |
79454 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
79455 s//\1/
79458 /^X\(\/\/\)[^/].*/{
79459 s//\1/
79462 /^X\(\/\/\)$/{
79463 s//\1/
79466 /^X\(\/\).*/{
79467 s//\1/
79470 s/.*/./; q'`
79471 test -d "$as_dir" && break
79472 done
79473 test -z "$as_dirs" || eval "mkdir $as_dirs"
79474 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
79477 } # as_fn_mkdir_p
79478 if mkdir -p . 2>/dev/null; then
79479 as_mkdir_p='mkdir -p "$as_dir"'
79480 else
79481 test -d ./-p && rmdir ./-p
79482 as_mkdir_p=false
79486 # as_fn_executable_p FILE
79487 # -----------------------
79488 # Test if FILE is an executable regular file.
79489 as_fn_executable_p ()
79491 test -f "$1" && test -x "$1"
79492 } # as_fn_executable_p
79493 as_test_x='test -x'
79494 as_executable_p=as_fn_executable_p
79496 # Sed expression to map a string onto a valid CPP name.
79497 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
79499 # Sed expression to map a string onto a valid variable name.
79500 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
79503 exec 6>&1
79504 ## ----------------------------------- ##
79505 ## Main body of $CONFIG_STATUS script. ##
79506 ## ----------------------------------- ##
79507 _ASEOF
79508 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
79510 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79511 # Save the log message, to keep $0 and so on meaningful, and to
79512 # report actual input values of CONFIG_FILES etc. instead of their
79513 # values after options handling.
79514 ac_log="
79515 This file was extended by package-unused $as_me version-unused, which was
79516 generated by GNU Autoconf 2.69. Invocation command line was
79518 CONFIG_FILES = $CONFIG_FILES
79519 CONFIG_HEADERS = $CONFIG_HEADERS
79520 CONFIG_LINKS = $CONFIG_LINKS
79521 CONFIG_COMMANDS = $CONFIG_COMMANDS
79522 $ $0 $@
79524 on `(hostname || uname -n) 2>/dev/null | sed 1q`
79527 _ACEOF
79529 case $ac_config_files in *"
79530 "*) set x $ac_config_files; shift; ac_config_files=$*;;
79531 esac
79533 case $ac_config_headers in *"
79534 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
79535 esac
79538 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79539 # Files that config.status was made for.
79540 config_files="$ac_config_files"
79541 config_headers="$ac_config_headers"
79542 config_commands="$ac_config_commands"
79544 _ACEOF
79546 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79547 ac_cs_usage="\
79548 \`$as_me' instantiates files and other configuration actions
79549 from templates according to the current configuration. Unless the files
79550 and actions are specified as TAGs, all are instantiated by default.
79552 Usage: $0 [OPTION]... [TAG]...
79554 -h, --help print this help, then exit
79555 -V, --version print version number and configuration settings, then exit
79556 --config print configuration, then exit
79557 -q, --quiet, --silent
79558 do not print progress messages
79559 -d, --debug don't remove temporary files
79560 --recheck update $as_me by reconfiguring in the same conditions
79561 --file=FILE[:TEMPLATE]
79562 instantiate the configuration file FILE
79563 --header=FILE[:TEMPLATE]
79564 instantiate the configuration header FILE
79566 Configuration files:
79567 $config_files
79569 Configuration headers:
79570 $config_headers
79572 Configuration commands:
79573 $config_commands
79575 Report bugs to the package provider."
79577 _ACEOF
79578 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79579 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
79580 ac_cs_version="\\
79581 package-unused config.status version-unused
79582 configured by $0, generated by GNU Autoconf 2.69,
79583 with options \\"\$ac_cs_config\\"
79585 Copyright (C) 2012 Free Software Foundation, Inc.
79586 This config.status script is free software; the Free Software Foundation
79587 gives unlimited permission to copy, distribute and modify it."
79589 ac_pwd='$ac_pwd'
79590 srcdir='$srcdir'
79591 INSTALL='$INSTALL'
79592 MKDIR_P='$MKDIR_P'
79593 AWK='$AWK'
79594 test -n "\$AWK" || AWK=awk
79595 _ACEOF
79597 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79598 # The default lists apply if the user does not specify any file.
79599 ac_need_defaults=:
79600 while test $# != 0
79602 case $1 in
79603 --*=?*)
79604 ac_option=`expr "X$1" : 'X\([^=]*\)='`
79605 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
79606 ac_shift=:
79608 --*=)
79609 ac_option=`expr "X$1" : 'X\([^=]*\)='`
79610 ac_optarg=
79611 ac_shift=:
79614 ac_option=$1
79615 ac_optarg=$2
79616 ac_shift=shift
79618 esac
79620 case $ac_option in
79621 # Handling of the options.
79622 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
79623 ac_cs_recheck=: ;;
79624 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
79625 $as_echo "$ac_cs_version"; exit ;;
79626 --config | --confi | --conf | --con | --co | --c )
79627 $as_echo "$ac_cs_config"; exit ;;
79628 --debug | --debu | --deb | --de | --d | -d )
79629 debug=: ;;
79630 --file | --fil | --fi | --f )
79631 $ac_shift
79632 case $ac_optarg in
79633 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
79634 '') as_fn_error $? "missing file argument" ;;
79635 esac
79636 as_fn_append CONFIG_FILES " '$ac_optarg'"
79637 ac_need_defaults=false;;
79638 --header | --heade | --head | --hea )
79639 $ac_shift
79640 case $ac_optarg in
79641 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
79642 esac
79643 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
79644 ac_need_defaults=false;;
79645 --he | --h)
79646 # Conflict between --help and --header
79647 as_fn_error $? "ambiguous option: \`$1'
79648 Try \`$0 --help' for more information.";;
79649 --help | --hel | -h )
79650 $as_echo "$ac_cs_usage"; exit ;;
79651 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
79652 | -silent | --silent | --silen | --sile | --sil | --si | --s)
79653 ac_cs_silent=: ;;
79655 # This is an error.
79656 -*) as_fn_error $? "unrecognized option: \`$1'
79657 Try \`$0 --help' for more information." ;;
79659 *) as_fn_append ac_config_targets " $1"
79660 ac_need_defaults=false ;;
79662 esac
79663 shift
79664 done
79666 ac_configure_extra_args=
79668 if $ac_cs_silent; then
79669 exec 6>/dev/null
79670 ac_configure_extra_args="$ac_configure_extra_args --silent"
79673 _ACEOF
79674 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79675 if \$ac_cs_recheck; then
79676 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
79677 shift
79678 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
79679 CONFIG_SHELL='$SHELL'
79680 export CONFIG_SHELL
79681 exec "\$@"
79684 _ACEOF
79685 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79686 exec 5>>config.log
79688 echo
79689 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
79690 ## Running $as_me. ##
79691 _ASBOX
79692 $as_echo "$ac_log"
79693 } >&5
79695 _ACEOF
79696 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79698 # INIT-COMMANDS
79701 srcdir="$srcdir"
79702 host="$host"
79703 target="$target"
79704 with_multisubdir="$with_multisubdir"
79705 with_multisrctop="$with_multisrctop"
79706 with_target_subdir="$with_target_subdir"
79707 ac_configure_args="${multilib_arg} ${ac_configure_args}"
79708 multi_basedir="$multi_basedir"
79709 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
79710 CC="$CC"
79711 CXX="$CXX"
79712 GFORTRAN="$GFORTRAN"
79713 GDC="$GDC"
79716 # The HP-UX ksh and POSIX shell print the target directory to stdout
79717 # if CDPATH is set.
79718 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
79720 sed_quote_subst='$sed_quote_subst'
79721 double_quote_subst='$double_quote_subst'
79722 delay_variable_subst='$delay_variable_subst'
79723 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
79724 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
79725 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
79726 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
79727 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
79728 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
79729 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
79730 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
79731 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
79732 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
79733 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
79734 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
79735 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
79736 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
79737 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
79738 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
79739 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
79740 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
79741 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
79742 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
79743 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
79744 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
79745 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
79746 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
79747 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
79748 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
79749 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
79750 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
79751 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
79752 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
79753 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
79754 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
79755 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
79756 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
79757 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
79758 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
79759 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
79760 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
79761 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
79762 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
79763 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
79764 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
79765 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
79766 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
79767 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
79768 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
79769 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
79770 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
79771 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"`'
79772 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
79773 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
79774 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
79775 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
79776 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
79777 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
79778 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
79779 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
79780 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
79781 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
79782 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
79783 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
79784 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
79785 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
79786 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
79787 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
79788 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
79789 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
79790 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
79791 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
79792 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
79793 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
79794 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
79795 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
79796 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
79797 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
79798 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
79799 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
79800 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
79801 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
79802 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
79803 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
79804 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
79805 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
79806 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
79807 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
79808 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
79809 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
79810 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
79811 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
79812 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
79813 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
79814 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
79815 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
79816 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
79817 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
79818 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
79819 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
79820 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
79821 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
79822 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
79823 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
79824 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
79825 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
79826 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
79827 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
79828 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
79829 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
79830 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
79831 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
79832 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
79833 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
79834 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
79835 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
79836 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
79837 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
79838 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
79839 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
79840 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
79841 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
79842 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
79843 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
79844 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
79845 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
79846 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
79847 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
79848 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
79849 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
79850 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
79851 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79852 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79853 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
79854 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
79855 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
79856 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
79857 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
79858 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
79859 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
79860 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
79861 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
79862 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
79863 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
79864 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
79865 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79866 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79867 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79868 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79869 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79870 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79871 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
79872 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
79873 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
79874 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
79875 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
79876 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
79877 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
79878 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
79879 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
79880 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
79881 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
79882 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
79883 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
79884 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
79885 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
79886 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79887 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
79888 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
79889 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79890 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
79891 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
79892 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
79893 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
79894 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
79895 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
79896 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
79897 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
79899 LTCC='$LTCC'
79900 LTCFLAGS='$LTCFLAGS'
79901 compiler='$compiler_DEFAULT'
79903 # A function that is used when there is no print builtin or printf.
79904 func_fallback_echo ()
79906 eval 'cat <<_LTECHO_EOF
79908 _LTECHO_EOF'
79911 # Quote evaled strings.
79912 for var in SHELL \
79913 ECHO \
79914 SED \
79915 GREP \
79916 EGREP \
79917 FGREP \
79918 LD \
79919 NM \
79920 LN_S \
79921 lt_SP2NL \
79922 lt_NL2SP \
79923 reload_flag \
79924 OBJDUMP \
79925 deplibs_check_method \
79926 file_magic_cmd \
79927 AR \
79928 AR_FLAGS \
79929 STRIP \
79930 RANLIB \
79931 CC \
79932 CFLAGS \
79933 compiler \
79934 lt_cv_sys_global_symbol_pipe \
79935 lt_cv_sys_global_symbol_to_cdecl \
79936 lt_cv_sys_global_symbol_to_c_name_address \
79937 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
79938 lt_prog_compiler_no_builtin_flag \
79939 lt_prog_compiler_wl \
79940 lt_prog_compiler_pic \
79941 lt_prog_compiler_static \
79942 lt_cv_prog_compiler_c_o \
79943 need_locks \
79944 DSYMUTIL \
79945 NMEDIT \
79946 LIPO \
79947 OTOOL \
79948 OTOOL64 \
79949 shrext_cmds \
79950 export_dynamic_flag_spec \
79951 whole_archive_flag_spec \
79952 compiler_needs_object \
79953 with_gnu_ld \
79954 allow_undefined_flag \
79955 no_undefined_flag \
79956 hardcode_libdir_flag_spec \
79957 hardcode_libdir_flag_spec_ld \
79958 hardcode_libdir_separator \
79959 fix_srcfile_path \
79960 exclude_expsyms \
79961 include_expsyms \
79962 file_list_spec \
79963 variables_saved_for_relink \
79964 libname_spec \
79965 library_names_spec \
79966 soname_spec \
79967 install_override_mode \
79968 finish_eval \
79969 old_striplib \
79970 striplib \
79971 compiler_lib_search_dirs \
79972 predep_objects \
79973 postdep_objects \
79974 predeps \
79975 postdeps \
79976 compiler_lib_search_path \
79977 LD_CXX \
79978 reload_flag_CXX \
79979 compiler_CXX \
79980 lt_prog_compiler_no_builtin_flag_CXX \
79981 lt_prog_compiler_wl_CXX \
79982 lt_prog_compiler_pic_CXX \
79983 lt_prog_compiler_static_CXX \
79984 lt_cv_prog_compiler_c_o_CXX \
79985 export_dynamic_flag_spec_CXX \
79986 whole_archive_flag_spec_CXX \
79987 compiler_needs_object_CXX \
79988 with_gnu_ld_CXX \
79989 allow_undefined_flag_CXX \
79990 no_undefined_flag_CXX \
79991 hardcode_libdir_flag_spec_CXX \
79992 hardcode_libdir_flag_spec_ld_CXX \
79993 hardcode_libdir_separator_CXX \
79994 fix_srcfile_path_CXX \
79995 exclude_expsyms_CXX \
79996 include_expsyms_CXX \
79997 file_list_spec_CXX \
79998 compiler_lib_search_dirs_CXX \
79999 predep_objects_CXX \
80000 postdep_objects_CXX \
80001 predeps_CXX \
80002 postdeps_CXX \
80003 compiler_lib_search_path_CXX; do
80004 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
80005 *[\\\\\\\`\\"\\\$]*)
80006 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
80009 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
80011 esac
80012 done
80014 # Double-quote double-evaled strings.
80015 for var in reload_cmds \
80016 old_postinstall_cmds \
80017 old_postuninstall_cmds \
80018 old_archive_cmds \
80019 extract_expsyms_cmds \
80020 old_archive_from_new_cmds \
80021 old_archive_from_expsyms_cmds \
80022 archive_cmds \
80023 archive_expsym_cmds \
80024 module_cmds \
80025 module_expsym_cmds \
80026 export_symbols_cmds \
80027 prelink_cmds \
80028 postinstall_cmds \
80029 postuninstall_cmds \
80030 finish_cmds \
80031 sys_lib_search_path_spec \
80032 sys_lib_dlsearch_path_spec \
80033 reload_cmds_CXX \
80034 old_archive_cmds_CXX \
80035 old_archive_from_new_cmds_CXX \
80036 old_archive_from_expsyms_cmds_CXX \
80037 archive_cmds_CXX \
80038 archive_expsym_cmds_CXX \
80039 module_cmds_CXX \
80040 module_expsym_cmds_CXX \
80041 export_symbols_cmds_CXX \
80042 prelink_cmds_CXX; do
80043 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
80044 *[\\\\\\\`\\"\\\$]*)
80045 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
80048 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
80050 esac
80051 done
80053 ac_aux_dir='$ac_aux_dir'
80054 xsi_shell='$xsi_shell'
80055 lt_shell_append='$lt_shell_append'
80057 # See if we are running on zsh, and set the options which allow our
80058 # commands through without removal of \ escapes INIT.
80059 if test -n "\${ZSH_VERSION+set}" ; then
80060 setopt NO_GLOB_SUBST
80064 PACKAGE='$PACKAGE'
80065 VERSION='$VERSION'
80066 TIMESTAMP='$TIMESTAMP'
80067 RM='$RM'
80068 ofile='$ofile'
80075 GCC="$GCC"
80076 CC="$CC"
80077 acx_cv_header_stdint="$acx_cv_header_stdint"
80078 acx_cv_type_int8_t="$acx_cv_type_int8_t"
80079 acx_cv_type_int16_t="$acx_cv_type_int16_t"
80080 acx_cv_type_int32_t="$acx_cv_type_int32_t"
80081 acx_cv_type_int64_t="$acx_cv_type_int64_t"
80082 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
80083 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
80084 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
80085 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
80086 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
80087 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
80088 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
80089 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
80090 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
80093 _ACEOF
80095 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80097 # Handling of arguments.
80098 for ac_config_target in $ac_config_targets
80100 case $ac_config_target in
80101 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
80102 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
80103 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
80104 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
80105 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
80106 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
80107 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
80108 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
80109 "src/libbacktrace/backtrace-supported.h") CONFIG_FILES="$CONFIG_FILES src/libbacktrace/backtrace-supported.h" ;;
80110 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
80111 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
80112 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
80113 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
80114 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
80115 "src/c++17/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++17/Makefile" ;;
80116 "src/c++20/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++20/Makefile" ;;
80117 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
80118 "src/libbacktrace/Makefile") CONFIG_FILES="$CONFIG_FILES src/libbacktrace/Makefile" ;;
80119 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
80120 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
80121 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
80122 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
80123 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
80125 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
80126 esac
80127 done
80130 # If the user did not use the arguments to specify the items to instantiate,
80131 # then the envvar interface is used. Set only those that are not.
80132 # We use the long form for the default assignment because of an extremely
80133 # bizarre bug on SunOS 4.1.3.
80134 if $ac_need_defaults; then
80135 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
80136 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
80137 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
80140 # Have a temporary directory for convenience. Make it in the build tree
80141 # simply because there is no reason against having it here, and in addition,
80142 # creating and moving files from /tmp can sometimes cause problems.
80143 # Hook for its removal unless debugging.
80144 # Note that there is a small window in which the directory will not be cleaned:
80145 # after its creation but before its name has been assigned to `$tmp'.
80146 $debug ||
80148 tmp= ac_tmp=
80149 trap 'exit_status=$?
80150 : "${ac_tmp:=$tmp}"
80151 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
80153 trap 'as_fn_exit 1' 1 2 13 15
80155 # Create a (secure) tmp directory for tmp files.
80158 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
80159 test -d "$tmp"
80160 } ||
80162 tmp=./conf$$-$RANDOM
80163 (umask 077 && mkdir "$tmp")
80164 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
80165 ac_tmp=$tmp
80167 # Set up the scripts for CONFIG_FILES section.
80168 # No need to generate them if there are no CONFIG_FILES.
80169 # This happens for instance with `./config.status config.h'.
80170 if test -n "$CONFIG_FILES"; then
80173 ac_cr=`echo X | tr X '\015'`
80174 # On cygwin, bash can eat \r inside `` if the user requested igncr.
80175 # But we know of no other shell where ac_cr would be empty at this
80176 # point, so we can use a bashism as a fallback.
80177 if test "x$ac_cr" = x; then
80178 eval ac_cr=\$\'\\r\'
80180 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
80181 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
80182 ac_cs_awk_cr='\\r'
80183 else
80184 ac_cs_awk_cr=$ac_cr
80187 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
80188 _ACEOF
80192 echo "cat >conf$$subs.awk <<_ACEOF" &&
80193 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
80194 echo "_ACEOF"
80195 } >conf$$subs.sh ||
80196 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
80197 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
80198 ac_delim='%!_!# '
80199 for ac_last_try in false false false false false :; do
80200 . ./conf$$subs.sh ||
80201 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
80203 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
80204 if test $ac_delim_n = $ac_delim_num; then
80205 break
80206 elif $ac_last_try; then
80207 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
80208 else
80209 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
80211 done
80212 rm -f conf$$subs.sh
80214 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80215 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
80216 _ACEOF
80217 sed -n '
80219 s/^/S["/; s/!.*/"]=/
80222 s/^[^!]*!//
80223 :repl
80224 t repl
80225 s/'"$ac_delim"'$//
80226 t delim
80229 s/\(.\{148\}\)..*/\1/
80230 t more1
80231 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
80234 b repl
80235 :more1
80236 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
80239 s/.\{148\}//
80240 t nl
80241 :delim
80243 s/\(.\{148\}\)..*/\1/
80244 t more2
80245 s/["\\]/\\&/g; s/^/"/; s/$/"/
80248 :more2
80249 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
80252 s/.\{148\}//
80253 t delim
80254 ' <conf$$subs.awk | sed '
80255 /^[^""]/{
80257 s/\n//
80259 ' >>$CONFIG_STATUS || ac_write_fail=1
80260 rm -f conf$$subs.awk
80261 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80262 _ACAWK
80263 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
80264 for (key in S) S_is_set[key] = 1
80265 FS = "\a"
80269 line = $ 0
80270 nfields = split(line, field, "@")
80271 substed = 0
80272 len = length(field[1])
80273 for (i = 2; i < nfields; i++) {
80274 key = field[i]
80275 keylen = length(key)
80276 if (S_is_set[key]) {
80277 value = S[key]
80278 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
80279 len += length(value) + length(field[++i])
80280 substed = 1
80281 } else
80282 len += 1 + keylen
80285 print line
80288 _ACAWK
80289 _ACEOF
80290 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80291 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
80292 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
80293 else
80295 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
80296 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
80297 _ACEOF
80299 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
80300 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
80301 # trailing colons and then remove the whole line if VPATH becomes empty
80302 # (actually we leave an empty line to preserve line numbers).
80303 if test "x$srcdir" = x.; then
80304 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
80306 s///
80307 s/^/:/
80308 s/[ ]*$/:/
80309 s/:\$(srcdir):/:/g
80310 s/:\${srcdir}:/:/g
80311 s/:@srcdir@:/:/g
80312 s/^:*//
80313 s/:*$//
80315 s/\(=[ ]*\).*/\1/
80317 s/\n//
80318 s/^[^=]*=[ ]*$//
80322 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80323 fi # test -n "$CONFIG_FILES"
80325 # Set up the scripts for CONFIG_HEADERS section.
80326 # No need to generate them if there are no CONFIG_HEADERS.
80327 # This happens for instance with `./config.status Makefile'.
80328 if test -n "$CONFIG_HEADERS"; then
80329 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
80330 BEGIN {
80331 _ACEOF
80333 # Transform confdefs.h into an awk script `defines.awk', embedded as
80334 # here-document in config.status, that substitutes the proper values into
80335 # config.h.in to produce config.h.
80337 # Create a delimiter string that does not exist in confdefs.h, to ease
80338 # handling of long lines.
80339 ac_delim='%!_!# '
80340 for ac_last_try in false false :; do
80341 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
80342 if test -z "$ac_tt"; then
80343 break
80344 elif $ac_last_try; then
80345 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
80346 else
80347 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
80349 done
80351 # For the awk script, D is an array of macro values keyed by name,
80352 # likewise P contains macro parameters if any. Preserve backslash
80353 # newline sequences.
80355 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
80356 sed -n '
80357 s/.\{148\}/&'"$ac_delim"'/g
80358 t rset
80359 :rset
80360 s/^[ ]*#[ ]*define[ ][ ]*/ /
80361 t def
80363 :def
80364 s/\\$//
80365 t bsnl
80366 s/["\\]/\\&/g
80367 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
80368 D["\1"]=" \3"/p
80369 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
80371 :bsnl
80372 s/["\\]/\\&/g
80373 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
80374 D["\1"]=" \3\\\\\\n"\\/p
80375 t cont
80376 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
80377 t cont
80379 :cont
80381 s/.\{148\}/&'"$ac_delim"'/g
80382 t clear
80383 :clear
80384 s/\\$//
80385 t bsnlc
80386 s/["\\]/\\&/g; s/^/"/; s/$/"/p
80388 :bsnlc
80389 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
80390 b cont
80391 ' <confdefs.h | sed '
80392 s/'"$ac_delim"'/"\\\
80393 "/g' >>$CONFIG_STATUS || ac_write_fail=1
80395 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80396 for (key in D) D_is_set[key] = 1
80397 FS = "\a"
80399 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
80400 line = \$ 0
80401 split(line, arg, " ")
80402 if (arg[1] == "#") {
80403 defundef = arg[2]
80404 mac1 = arg[3]
80405 } else {
80406 defundef = substr(arg[1], 2)
80407 mac1 = arg[2]
80409 split(mac1, mac2, "(") #)
80410 macro = mac2[1]
80411 prefix = substr(line, 1, index(line, defundef) - 1)
80412 if (D_is_set[macro]) {
80413 # Preserve the white space surrounding the "#".
80414 print prefix "define", macro P[macro] D[macro]
80415 next
80416 } else {
80417 # Replace #undef with comments. This is necessary, for example,
80418 # in the case of _POSIX_SOURCE, which is predefined and required
80419 # on some systems where configure will not decide to define it.
80420 if (defundef == "undef") {
80421 print "/*", prefix defundef, macro, "*/"
80422 next
80426 { print }
80427 _ACAWK
80428 _ACEOF
80429 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80430 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
80431 fi # test -n "$CONFIG_HEADERS"
80434 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
80435 shift
80436 for ac_tag
80438 case $ac_tag in
80439 :[FHLC]) ac_mode=$ac_tag; continue;;
80440 esac
80441 case $ac_mode$ac_tag in
80442 :[FHL]*:*);;
80443 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
80444 :[FH]-) ac_tag=-:-;;
80445 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
80446 esac
80447 ac_save_IFS=$IFS
80448 IFS=:
80449 set x $ac_tag
80450 IFS=$ac_save_IFS
80451 shift
80452 ac_file=$1
80453 shift
80455 case $ac_mode in
80456 :L) ac_source=$1;;
80457 :[FH])
80458 ac_file_inputs=
80459 for ac_f
80461 case $ac_f in
80462 -) ac_f="$ac_tmp/stdin";;
80463 *) # Look for the file first in the build tree, then in the source tree
80464 # (if the path is not absolute). The absolute path cannot be DOS-style,
80465 # because $ac_f cannot contain `:'.
80466 test -f "$ac_f" ||
80467 case $ac_f in
80468 [\\/$]*) false;;
80469 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
80470 esac ||
80471 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
80472 esac
80473 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
80474 as_fn_append ac_file_inputs " '$ac_f'"
80475 done
80477 # Let's still pretend it is `configure' which instantiates (i.e., don't
80478 # use $as_me), people would be surprised to read:
80479 # /* config.h. Generated by config.status. */
80480 configure_input='Generated from '`
80481 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
80482 `' by configure.'
80483 if test x"$ac_file" != x-; then
80484 configure_input="$ac_file. $configure_input"
80485 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
80486 $as_echo "$as_me: creating $ac_file" >&6;}
80488 # Neutralize special characters interpreted by sed in replacement strings.
80489 case $configure_input in #(
80490 *\&* | *\|* | *\\* )
80491 ac_sed_conf_input=`$as_echo "$configure_input" |
80492 sed 's/[\\\\&|]/\\\\&/g'`;; #(
80493 *) ac_sed_conf_input=$configure_input;;
80494 esac
80496 case $ac_tag in
80497 *:-:* | *:-) cat >"$ac_tmp/stdin" \
80498 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
80499 esac
80501 esac
80503 ac_dir=`$as_dirname -- "$ac_file" ||
80504 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
80505 X"$ac_file" : 'X\(//\)[^/]' \| \
80506 X"$ac_file" : 'X\(//\)$' \| \
80507 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
80508 $as_echo X"$ac_file" |
80509 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
80510 s//\1/
80513 /^X\(\/\/\)[^/].*/{
80514 s//\1/
80517 /^X\(\/\/\)$/{
80518 s//\1/
80521 /^X\(\/\).*/{
80522 s//\1/
80525 s/.*/./; q'`
80526 as_dir="$ac_dir"; as_fn_mkdir_p
80527 ac_builddir=.
80529 case "$ac_dir" in
80530 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
80532 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
80533 # A ".." for each directory in $ac_dir_suffix.
80534 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
80535 case $ac_top_builddir_sub in
80536 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
80537 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
80538 esac ;;
80539 esac
80540 ac_abs_top_builddir=$ac_pwd
80541 ac_abs_builddir=$ac_pwd$ac_dir_suffix
80542 # for backward compatibility:
80543 ac_top_builddir=$ac_top_build_prefix
80545 case $srcdir in
80546 .) # We are building in place.
80547 ac_srcdir=.
80548 ac_top_srcdir=$ac_top_builddir_sub
80549 ac_abs_top_srcdir=$ac_pwd ;;
80550 [\\/]* | ?:[\\/]* ) # Absolute name.
80551 ac_srcdir=$srcdir$ac_dir_suffix;
80552 ac_top_srcdir=$srcdir
80553 ac_abs_top_srcdir=$srcdir ;;
80554 *) # Relative name.
80555 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
80556 ac_top_srcdir=$ac_top_build_prefix$srcdir
80557 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
80558 esac
80559 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
80562 case $ac_mode in
80565 # CONFIG_FILE
80568 case $INSTALL in
80569 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
80570 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
80571 esac
80572 ac_MKDIR_P=$MKDIR_P
80573 case $MKDIR_P in
80574 [\\/$]* | ?:[\\/]* ) ;;
80575 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
80576 esac
80577 _ACEOF
80579 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80580 # If the template does not know about datarootdir, expand it.
80581 # FIXME: This hack should be removed a few years after 2.60.
80582 ac_datarootdir_hack=; ac_datarootdir_seen=
80583 ac_sed_dataroot='
80584 /datarootdir/ {
80588 /@datadir@/p
80589 /@docdir@/p
80590 /@infodir@/p
80591 /@localedir@/p
80592 /@mandir@/p'
80593 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
80594 *datarootdir*) ac_datarootdir_seen=yes;;
80595 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
80596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
80597 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
80598 _ACEOF
80599 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80600 ac_datarootdir_hack='
80601 s&@datadir@&$datadir&g
80602 s&@docdir@&$docdir&g
80603 s&@infodir@&$infodir&g
80604 s&@localedir@&$localedir&g
80605 s&@mandir@&$mandir&g
80606 s&\\\${datarootdir}&$datarootdir&g' ;;
80607 esac
80608 _ACEOF
80610 # Neutralize VPATH when `$srcdir' = `.'.
80611 # Shell code in configure.ac might set extrasub.
80612 # FIXME: do we really want to maintain this feature?
80613 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80614 ac_sed_extra="$ac_vpsub
80615 $extrasub
80616 _ACEOF
80617 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80619 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
80620 s|@configure_input@|$ac_sed_conf_input|;t t
80621 s&@top_builddir@&$ac_top_builddir_sub&;t t
80622 s&@top_build_prefix@&$ac_top_build_prefix&;t t
80623 s&@srcdir@&$ac_srcdir&;t t
80624 s&@abs_srcdir@&$ac_abs_srcdir&;t t
80625 s&@top_srcdir@&$ac_top_srcdir&;t t
80626 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
80627 s&@builddir@&$ac_builddir&;t t
80628 s&@abs_builddir@&$ac_abs_builddir&;t t
80629 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
80630 s&@INSTALL@&$ac_INSTALL&;t t
80631 s&@MKDIR_P@&$ac_MKDIR_P&;t t
80632 $ac_datarootdir_hack
80634 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
80635 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
80637 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
80638 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
80639 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
80640 "$ac_tmp/out"`; test -z "$ac_out"; } &&
80641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
80642 which seems to be undefined. Please make sure it is defined" >&5
80643 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
80644 which seems to be undefined. Please make sure it is defined" >&2;}
80646 rm -f "$ac_tmp/stdin"
80647 case $ac_file in
80648 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
80649 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
80650 esac \
80651 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
80655 # CONFIG_HEADER
80657 if test x"$ac_file" != x-; then
80659 $as_echo "/* $configure_input */" \
80660 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
80661 } >"$ac_tmp/config.h" \
80662 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
80663 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
80664 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
80665 $as_echo "$as_me: $ac_file is unchanged" >&6;}
80666 else
80667 rm -f "$ac_file"
80668 mv "$ac_tmp/config.h" "$ac_file" \
80669 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
80671 else
80672 $as_echo "/* $configure_input */" \
80673 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
80674 || as_fn_error $? "could not create -" "$LINENO" 5
80676 # Compute "$ac_file"'s index in $config_headers.
80677 _am_arg="$ac_file"
80678 _am_stamp_count=1
80679 for _am_header in $config_headers :; do
80680 case $_am_header in
80681 $_am_arg | $_am_arg:* )
80682 break ;;
80684 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
80685 esac
80686 done
80687 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
80688 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
80689 X"$_am_arg" : 'X\(//\)[^/]' \| \
80690 X"$_am_arg" : 'X\(//\)$' \| \
80691 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
80692 $as_echo X"$_am_arg" |
80693 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
80694 s//\1/
80697 /^X\(\/\/\)[^/].*/{
80698 s//\1/
80701 /^X\(\/\/\)$/{
80702 s//\1/
80705 /^X\(\/\).*/{
80706 s//\1/
80709 s/.*/./; q'`/stamp-h$_am_stamp_count
80712 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
80713 $as_echo "$as_me: executing $ac_file commands" >&6;}
80715 esac
80718 case $ac_file$ac_mode in
80719 "default-1":C)
80720 # Only add multilib support code if we just rebuilt the top-level
80721 # Makefile.
80722 case " $CONFIG_FILES " in
80723 *" Makefile "*)
80724 ac_file=Makefile . ${multi_basedir}/config-ml.in
80726 esac ;;
80727 "libtool":C)
80729 # See if we are running on zsh, and set the options which allow our
80730 # commands through without removal of \ escapes.
80731 if test -n "${ZSH_VERSION+set}" ; then
80732 setopt NO_GLOB_SUBST
80735 cfgfile="${ofile}T"
80736 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
80737 $RM "$cfgfile"
80739 cat <<_LT_EOF >> "$cfgfile"
80740 #! $SHELL
80742 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
80743 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
80744 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
80745 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
80747 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
80748 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
80749 # Written by Gordon Matzigkeit, 1996
80751 # This file is part of GNU Libtool.
80753 # GNU Libtool is free software; you can redistribute it and/or
80754 # modify it under the terms of the GNU General Public License as
80755 # published by the Free Software Foundation; either version 2 of
80756 # the License, or (at your option) any later version.
80758 # As a special exception to the GNU General Public License,
80759 # if you distribute this file as part of a program or library that
80760 # is built using GNU Libtool, you may include this file under the
80761 # same distribution terms that you use for the rest of that program.
80763 # GNU Libtool is distributed in the hope that it will be useful,
80764 # but WITHOUT ANY WARRANTY; without even the implied warranty of
80765 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
80766 # GNU General Public License for more details.
80768 # You should have received a copy of the GNU General Public License
80769 # along with GNU Libtool; see the file COPYING. If not, a copy
80770 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
80771 # obtained by writing to the Free Software Foundation, Inc.,
80772 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
80775 # The names of the tagged configurations supported by this script.
80776 available_tags="CXX "
80778 # ### BEGIN LIBTOOL CONFIG
80780 # Which release of libtool.m4 was used?
80781 macro_version=$macro_version
80782 macro_revision=$macro_revision
80784 # Whether or not to build shared libraries.
80785 build_libtool_libs=$enable_shared
80787 # Whether or not to build static libraries.
80788 build_old_libs=$enable_static
80790 # What type of objects to build.
80791 pic_mode=$pic_mode
80793 # Whether or not to optimize for fast installation.
80794 fast_install=$enable_fast_install
80796 # Shell to use when invoking shell scripts.
80797 SHELL=$lt_SHELL
80799 # An echo program that protects backslashes.
80800 ECHO=$lt_ECHO
80802 # The host system.
80803 host_alias=$host_alias
80804 host=$host
80805 host_os=$host_os
80807 # The build system.
80808 build_alias=$build_alias
80809 build=$build
80810 build_os=$build_os
80812 # A sed program that does not truncate output.
80813 SED=$lt_SED
80815 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
80816 Xsed="\$SED -e 1s/^X//"
80818 # A grep program that handles long lines.
80819 GREP=$lt_GREP
80821 # An ERE matcher.
80822 EGREP=$lt_EGREP
80824 # A literal string matcher.
80825 FGREP=$lt_FGREP
80827 # A BSD- or MS-compatible name lister.
80828 NM=$lt_NM
80830 # Whether we need soft or hard links.
80831 LN_S=$lt_LN_S
80833 # What is the maximum length of a command?
80834 max_cmd_len=$max_cmd_len
80836 # Object file suffix (normally "o").
80837 objext=$ac_objext
80839 # Executable file suffix (normally "").
80840 exeext=$exeext
80842 # whether the shell understands "unset".
80843 lt_unset=$lt_unset
80845 # turn spaces into newlines.
80846 SP2NL=$lt_lt_SP2NL
80848 # turn newlines into spaces.
80849 NL2SP=$lt_lt_NL2SP
80851 # An object symbol dumper.
80852 OBJDUMP=$lt_OBJDUMP
80854 # Method to check whether dependent libraries are shared objects.
80855 deplibs_check_method=$lt_deplibs_check_method
80857 # Command to use when deplibs_check_method == "file_magic".
80858 file_magic_cmd=$lt_file_magic_cmd
80860 # The archiver.
80861 AR=$lt_AR
80862 AR_FLAGS=$lt_AR_FLAGS
80864 # A symbol stripping program.
80865 STRIP=$lt_STRIP
80867 # Commands used to install an old-style archive.
80868 RANLIB=$lt_RANLIB
80869 old_postinstall_cmds=$lt_old_postinstall_cmds
80870 old_postuninstall_cmds=$lt_old_postuninstall_cmds
80872 # Whether to use a lock for old archive extraction.
80873 lock_old_archive_extraction=$lock_old_archive_extraction
80875 # A C compiler.
80876 LTCC=$lt_CC
80878 # LTCC compiler flags.
80879 LTCFLAGS=$lt_CFLAGS
80881 # Take the output of nm and produce a listing of raw symbols and C names.
80882 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
80884 # Transform the output of nm in a proper C declaration.
80885 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
80887 # Transform the output of nm in a C name address pair.
80888 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
80890 # Transform the output of nm in a C name address pair when lib prefix is needed.
80891 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
80893 # The name of the directory that contains temporary libtool files.
80894 objdir=$objdir
80896 # Used to examine libraries when file_magic_cmd begins with "file".
80897 MAGIC_CMD=$MAGIC_CMD
80899 # Must we lock files when doing compilation?
80900 need_locks=$lt_need_locks
80902 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
80903 DSYMUTIL=$lt_DSYMUTIL
80905 # Tool to change global to local symbols on Mac OS X.
80906 NMEDIT=$lt_NMEDIT
80908 # Tool to manipulate fat objects and archives on Mac OS X.
80909 LIPO=$lt_LIPO
80911 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
80912 OTOOL=$lt_OTOOL
80914 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
80915 OTOOL64=$lt_OTOOL64
80917 # Old archive suffix (normally "a").
80918 libext=$libext
80920 # Shared library suffix (normally ".so").
80921 shrext_cmds=$lt_shrext_cmds
80923 # The commands to extract the exported symbol list from a shared archive.
80924 extract_expsyms_cmds=$lt_extract_expsyms_cmds
80926 # Variables whose values should be saved in libtool wrapper scripts and
80927 # restored at link time.
80928 variables_saved_for_relink=$lt_variables_saved_for_relink
80930 # Do we need the "lib" prefix for modules?
80931 need_lib_prefix=$need_lib_prefix
80933 # Do we need a version for libraries?
80934 need_version=$need_version
80936 # Library versioning type.
80937 version_type=$version_type
80939 # Shared library runtime path variable.
80940 runpath_var=$runpath_var
80942 # Shared library path variable.
80943 shlibpath_var=$shlibpath_var
80945 # Is shlibpath searched before the hard-coded library search path?
80946 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
80948 # Format of library name prefix.
80949 libname_spec=$lt_libname_spec
80951 # List of archive names. First name is the real one, the rest are links.
80952 # The last name is the one that the linker finds with -lNAME
80953 library_names_spec=$lt_library_names_spec
80955 # The coded name of the library, if different from the real name.
80956 soname_spec=$lt_soname_spec
80958 # Permission mode override for installation of shared libraries.
80959 install_override_mode=$lt_install_override_mode
80961 # Command to use after installation of a shared archive.
80962 postinstall_cmds=$lt_postinstall_cmds
80964 # Command to use after uninstallation of a shared archive.
80965 postuninstall_cmds=$lt_postuninstall_cmds
80967 # Commands used to finish a libtool library installation in a directory.
80968 finish_cmds=$lt_finish_cmds
80970 # As "finish_cmds", except a single script fragment to be evaled but
80971 # not shown.
80972 finish_eval=$lt_finish_eval
80974 # Whether we should hardcode library paths into libraries.
80975 hardcode_into_libs=$hardcode_into_libs
80977 # Compile-time system search path for libraries.
80978 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
80980 # Run-time system search path for libraries.
80981 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
80983 # Whether dlopen is supported.
80984 dlopen_support=$enable_dlopen
80986 # Whether dlopen of programs is supported.
80987 dlopen_self=$enable_dlopen_self
80989 # Whether dlopen of statically linked programs is supported.
80990 dlopen_self_static=$enable_dlopen_self_static
80992 # Commands to strip libraries.
80993 old_striplib=$lt_old_striplib
80994 striplib=$lt_striplib
80997 # The linker used to build libraries.
80998 LD=$lt_LD
81000 # How to create reloadable object files.
81001 reload_flag=$lt_reload_flag
81002 reload_cmds=$lt_reload_cmds
81004 # Commands used to build an old-style archive.
81005 old_archive_cmds=$lt_old_archive_cmds
81007 # A language specific compiler.
81008 CC=$lt_compiler
81010 # Is the compiler the GNU compiler?
81011 with_gcc=$GCC
81013 # Compiler flag to turn off builtin functions.
81014 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
81016 # How to pass a linker flag through the compiler.
81017 wl=$lt_lt_prog_compiler_wl
81019 # Additional compiler flags for building library objects.
81020 pic_flag=$lt_lt_prog_compiler_pic
81022 # Compiler flag to prevent dynamic linking.
81023 link_static_flag=$lt_lt_prog_compiler_static
81025 # Does compiler simultaneously support -c and -o options?
81026 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
81028 # Whether or not to add -lc for building shared libraries.
81029 build_libtool_need_lc=$archive_cmds_need_lc
81031 # Whether or not to disallow shared libs when runtime libs are static.
81032 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
81034 # Compiler flag to allow reflexive dlopens.
81035 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
81037 # Compiler flag to generate shared objects directly from archives.
81038 whole_archive_flag_spec=$lt_whole_archive_flag_spec
81040 # Whether the compiler copes with passing no objects directly.
81041 compiler_needs_object=$lt_compiler_needs_object
81043 # Create an old-style archive from a shared archive.
81044 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
81046 # Create a temporary old-style archive to link instead of a shared archive.
81047 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
81049 # Commands used to build a shared archive.
81050 archive_cmds=$lt_archive_cmds
81051 archive_expsym_cmds=$lt_archive_expsym_cmds
81053 # Commands used to build a loadable module if different from building
81054 # a shared archive.
81055 module_cmds=$lt_module_cmds
81056 module_expsym_cmds=$lt_module_expsym_cmds
81058 # Whether we are building with GNU ld or not.
81059 with_gnu_ld=$lt_with_gnu_ld
81061 # Flag that allows shared libraries with undefined symbols to be built.
81062 allow_undefined_flag=$lt_allow_undefined_flag
81064 # Flag that enforces no undefined symbols.
81065 no_undefined_flag=$lt_no_undefined_flag
81067 # Flag to hardcode \$libdir into a binary during linking.
81068 # This must work even if \$libdir does not exist
81069 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
81071 # If ld is used when linking, flag to hardcode \$libdir into a binary
81072 # during linking. This must work even if \$libdir does not exist.
81073 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
81075 # Whether we need a single "-rpath" flag with a separated argument.
81076 hardcode_libdir_separator=$lt_hardcode_libdir_separator
81078 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81079 # DIR into the resulting binary.
81080 hardcode_direct=$hardcode_direct
81082 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81083 # DIR into the resulting binary and the resulting library dependency is
81084 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
81085 # library is relocated.
81086 hardcode_direct_absolute=$hardcode_direct_absolute
81088 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
81089 # into the resulting binary.
81090 hardcode_minus_L=$hardcode_minus_L
81092 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
81093 # into the resulting binary.
81094 hardcode_shlibpath_var=$hardcode_shlibpath_var
81096 # Set to "yes" if building a shared library automatically hardcodes DIR
81097 # into the library and all subsequent libraries and executables linked
81098 # against it.
81099 hardcode_automatic=$hardcode_automatic
81101 # Set to yes if linker adds runtime paths of dependent libraries
81102 # to runtime path list.
81103 inherit_rpath=$inherit_rpath
81105 # Whether libtool must link a program against all its dependency libraries.
81106 link_all_deplibs=$link_all_deplibs
81108 # Fix the shell variable \$srcfile for the compiler.
81109 fix_srcfile_path=$lt_fix_srcfile_path
81111 # Set to "yes" if exported symbols are required.
81112 always_export_symbols=$always_export_symbols
81114 # The commands to list exported symbols.
81115 export_symbols_cmds=$lt_export_symbols_cmds
81117 # Symbols that should not be listed in the preloaded symbols.
81118 exclude_expsyms=$lt_exclude_expsyms
81120 # Symbols that must always be exported.
81121 include_expsyms=$lt_include_expsyms
81123 # Commands necessary for linking programs (against libraries) with templates.
81124 prelink_cmds=$lt_prelink_cmds
81126 # Specify filename containing input files.
81127 file_list_spec=$lt_file_list_spec
81129 # How to hardcode a shared library path into an executable.
81130 hardcode_action=$hardcode_action
81132 # The directories searched by this compiler when creating a shared library.
81133 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
81135 # Dependencies to place before and after the objects being linked to
81136 # create a shared library.
81137 predep_objects=$lt_predep_objects
81138 postdep_objects=$lt_postdep_objects
81139 predeps=$lt_predeps
81140 postdeps=$lt_postdeps
81142 # The library search path used internally by the compiler when linking
81143 # a shared library.
81144 compiler_lib_search_path=$lt_compiler_lib_search_path
81146 # ### END LIBTOOL CONFIG
81148 _LT_EOF
81150 case $host_os in
81151 aix3*)
81152 cat <<\_LT_EOF >> "$cfgfile"
81153 # AIX sometimes has problems with the GCC collect2 program. For some
81154 # reason, if we set the COLLECT_NAMES environment variable, the problems
81155 # vanish in a puff of smoke.
81156 if test "X${COLLECT_NAMES+set}" != Xset; then
81157 COLLECT_NAMES=
81158 export COLLECT_NAMES
81160 _LT_EOF
81162 esac
81165 ltmain="$ac_aux_dir/ltmain.sh"
81168 # We use sed instead of cat because bash on DJGPP gets confused if
81169 # if finds mixed CR/LF and LF-only lines. Since sed operates in
81170 # text mode, it properly converts lines to CR/LF. This bash problem
81171 # is reportedly fixed, but why not run on old versions too?
81172 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
81173 || (rm -f "$cfgfile"; exit 1)
81175 case $xsi_shell in
81176 yes)
81177 cat << \_LT_EOF >> "$cfgfile"
81179 # func_dirname file append nondir_replacement
81180 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
81181 # otherwise set result to NONDIR_REPLACEMENT.
81182 func_dirname ()
81184 case ${1} in
81185 */*) func_dirname_result="${1%/*}${2}" ;;
81186 * ) func_dirname_result="${3}" ;;
81187 esac
81190 # func_basename file
81191 func_basename ()
81193 func_basename_result="${1##*/}"
81196 # func_dirname_and_basename file append nondir_replacement
81197 # perform func_basename and func_dirname in a single function
81198 # call:
81199 # dirname: Compute the dirname of FILE. If nonempty,
81200 # add APPEND to the result, otherwise set result
81201 # to NONDIR_REPLACEMENT.
81202 # value returned in "$func_dirname_result"
81203 # basename: Compute filename of FILE.
81204 # value retuned in "$func_basename_result"
81205 # Implementation must be kept synchronized with func_dirname
81206 # and func_basename. For efficiency, we do not delegate to
81207 # those functions but instead duplicate the functionality here.
81208 func_dirname_and_basename ()
81210 case ${1} in
81211 */*) func_dirname_result="${1%/*}${2}" ;;
81212 * ) func_dirname_result="${3}" ;;
81213 esac
81214 func_basename_result="${1##*/}"
81217 # func_stripname prefix suffix name
81218 # strip PREFIX and SUFFIX off of NAME.
81219 # PREFIX and SUFFIX must not contain globbing or regex special
81220 # characters, hashes, percent signs, but SUFFIX may contain a leading
81221 # dot (in which case that matches only a dot).
81222 func_stripname ()
81224 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
81225 # positional parameters, so assign one to ordinary parameter first.
81226 func_stripname_result=${3}
81227 func_stripname_result=${func_stripname_result#"${1}"}
81228 func_stripname_result=${func_stripname_result%"${2}"}
81231 # func_opt_split
81232 func_opt_split ()
81234 func_opt_split_opt=${1%%=*}
81235 func_opt_split_arg=${1#*=}
81238 # func_lo2o object
81239 func_lo2o ()
81241 case ${1} in
81242 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
81243 *) func_lo2o_result=${1} ;;
81244 esac
81247 # func_xform libobj-or-source
81248 func_xform ()
81250 func_xform_result=${1%.*}.lo
81253 # func_arith arithmetic-term...
81254 func_arith ()
81256 func_arith_result=$(( $* ))
81259 # func_len string
81260 # STRING may not start with a hyphen.
81261 func_len ()
81263 func_len_result=${#1}
81266 _LT_EOF
81268 *) # Bourne compatible functions.
81269 cat << \_LT_EOF >> "$cfgfile"
81271 # func_dirname file append nondir_replacement
81272 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
81273 # otherwise set result to NONDIR_REPLACEMENT.
81274 func_dirname ()
81276 # Extract subdirectory from the argument.
81277 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
81278 if test "X$func_dirname_result" = "X${1}"; then
81279 func_dirname_result="${3}"
81280 else
81281 func_dirname_result="$func_dirname_result${2}"
81285 # func_basename file
81286 func_basename ()
81288 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
81292 # func_stripname prefix suffix name
81293 # strip PREFIX and SUFFIX off of NAME.
81294 # PREFIX and SUFFIX must not contain globbing or regex special
81295 # characters, hashes, percent signs, but SUFFIX may contain a leading
81296 # dot (in which case that matches only a dot).
81297 # func_strip_suffix prefix name
81298 func_stripname ()
81300 case ${2} in
81301 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
81302 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
81303 esac
81306 # sed scripts:
81307 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
81308 my_sed_long_arg='1s/^-[^=]*=//'
81310 # func_opt_split
81311 func_opt_split ()
81313 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
81314 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
81317 # func_lo2o object
81318 func_lo2o ()
81320 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
81323 # func_xform libobj-or-source
81324 func_xform ()
81326 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
81329 # func_arith arithmetic-term...
81330 func_arith ()
81332 func_arith_result=`expr "$@"`
81335 # func_len string
81336 # STRING may not start with a hyphen.
81337 func_len ()
81339 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
81342 _LT_EOF
81343 esac
81345 case $lt_shell_append in
81346 yes)
81347 cat << \_LT_EOF >> "$cfgfile"
81349 # func_append var value
81350 # Append VALUE to the end of shell variable VAR.
81351 func_append ()
81353 eval "$1+=\$2"
81355 _LT_EOF
81358 cat << \_LT_EOF >> "$cfgfile"
81360 # func_append var value
81361 # Append VALUE to the end of shell variable VAR.
81362 func_append ()
81364 eval "$1=\$$1\$2"
81367 _LT_EOF
81369 esac
81372 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
81373 || (rm -f "$cfgfile"; exit 1)
81375 mv -f "$cfgfile" "$ofile" ||
81376 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
81377 chmod +x "$ofile"
81380 cat <<_LT_EOF >> "$ofile"
81382 # ### BEGIN LIBTOOL TAG CONFIG: CXX
81384 # The linker used to build libraries.
81385 LD=$lt_LD_CXX
81387 # How to create reloadable object files.
81388 reload_flag=$lt_reload_flag_CXX
81389 reload_cmds=$lt_reload_cmds_CXX
81391 # Commands used to build an old-style archive.
81392 old_archive_cmds=$lt_old_archive_cmds_CXX
81394 # A language specific compiler.
81395 CC=$lt_compiler_CXX
81397 # Is the compiler the GNU compiler?
81398 with_gcc=$GCC_CXX
81400 # Compiler flag to turn off builtin functions.
81401 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
81403 # How to pass a linker flag through the compiler.
81404 wl=$lt_lt_prog_compiler_wl_CXX
81406 # Additional compiler flags for building library objects.
81407 pic_flag=$lt_lt_prog_compiler_pic_CXX
81409 # Compiler flag to prevent dynamic linking.
81410 link_static_flag=$lt_lt_prog_compiler_static_CXX
81412 # Does compiler simultaneously support -c and -o options?
81413 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
81415 # Whether or not to add -lc for building shared libraries.
81416 build_libtool_need_lc=$archive_cmds_need_lc_CXX
81418 # Whether or not to disallow shared libs when runtime libs are static.
81419 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
81421 # Compiler flag to allow reflexive dlopens.
81422 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
81424 # Compiler flag to generate shared objects directly from archives.
81425 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
81427 # Whether the compiler copes with passing no objects directly.
81428 compiler_needs_object=$lt_compiler_needs_object_CXX
81430 # Create an old-style archive from a shared archive.
81431 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
81433 # Create a temporary old-style archive to link instead of a shared archive.
81434 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
81436 # Commands used to build a shared archive.
81437 archive_cmds=$lt_archive_cmds_CXX
81438 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
81440 # Commands used to build a loadable module if different from building
81441 # a shared archive.
81442 module_cmds=$lt_module_cmds_CXX
81443 module_expsym_cmds=$lt_module_expsym_cmds_CXX
81445 # Whether we are building with GNU ld or not.
81446 with_gnu_ld=$lt_with_gnu_ld_CXX
81448 # Flag that allows shared libraries with undefined symbols to be built.
81449 allow_undefined_flag=$lt_allow_undefined_flag_CXX
81451 # Flag that enforces no undefined symbols.
81452 no_undefined_flag=$lt_no_undefined_flag_CXX
81454 # Flag to hardcode \$libdir into a binary during linking.
81455 # This must work even if \$libdir does not exist
81456 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
81458 # If ld is used when linking, flag to hardcode \$libdir into a binary
81459 # during linking. This must work even if \$libdir does not exist.
81460 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
81462 # Whether we need a single "-rpath" flag with a separated argument.
81463 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
81465 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81466 # DIR into the resulting binary.
81467 hardcode_direct=$hardcode_direct_CXX
81469 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81470 # DIR into the resulting binary and the resulting library dependency is
81471 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
81472 # library is relocated.
81473 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
81475 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
81476 # into the resulting binary.
81477 hardcode_minus_L=$hardcode_minus_L_CXX
81479 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
81480 # into the resulting binary.
81481 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
81483 # Set to "yes" if building a shared library automatically hardcodes DIR
81484 # into the library and all subsequent libraries and executables linked
81485 # against it.
81486 hardcode_automatic=$hardcode_automatic_CXX
81488 # Set to yes if linker adds runtime paths of dependent libraries
81489 # to runtime path list.
81490 inherit_rpath=$inherit_rpath_CXX
81492 # Whether libtool must link a program against all its dependency libraries.
81493 link_all_deplibs=$link_all_deplibs_CXX
81495 # Fix the shell variable \$srcfile for the compiler.
81496 fix_srcfile_path=$lt_fix_srcfile_path_CXX
81498 # Set to "yes" if exported symbols are required.
81499 always_export_symbols=$always_export_symbols_CXX
81501 # The commands to list exported symbols.
81502 export_symbols_cmds=$lt_export_symbols_cmds_CXX
81504 # Symbols that should not be listed in the preloaded symbols.
81505 exclude_expsyms=$lt_exclude_expsyms_CXX
81507 # Symbols that must always be exported.
81508 include_expsyms=$lt_include_expsyms_CXX
81510 # Commands necessary for linking programs (against libraries) with templates.
81511 prelink_cmds=$lt_prelink_cmds_CXX
81513 # Specify filename containing input files.
81514 file_list_spec=$lt_file_list_spec_CXX
81516 # How to hardcode a shared library path into an executable.
81517 hardcode_action=$hardcode_action_CXX
81519 # The directories searched by this compiler when creating a shared library.
81520 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
81522 # Dependencies to place before and after the objects being linked to
81523 # create a shared library.
81524 predep_objects=$lt_predep_objects_CXX
81525 postdep_objects=$lt_postdep_objects_CXX
81526 predeps=$lt_predeps_CXX
81527 postdeps=$lt_postdeps_CXX
81529 # The library search path used internally by the compiler when linking
81530 # a shared library.
81531 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
81533 # ### END LIBTOOL TAG CONFIG: CXX
81534 _LT_EOF
81537 "include/gstdint.h":C)
81538 if test "$GCC" = yes; then
81539 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
81540 else
81541 echo "/* generated for $CC */" > tmp-stdint.h
81544 sed 's/^ *//' >> tmp-stdint.h <<EOF
81546 #ifndef GCC_GENERATED_STDINT_H
81547 #define GCC_GENERATED_STDINT_H 1
81549 #include <sys/types.h>
81552 if test "$acx_cv_header_stdint" != stdint.h; then
81553 echo "#include <stddef.h>" >> tmp-stdint.h
81555 if test "$acx_cv_header_stdint" != stddef.h; then
81556 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
81559 sed 's/^ *//' >> tmp-stdint.h <<EOF
81560 /* glibc uses these symbols as guards to prevent redefinitions. */
81561 #ifdef __int8_t_defined
81562 #define _INT8_T
81563 #define _INT16_T
81564 #define _INT32_T
81565 #endif
81566 #ifdef __uint32_t_defined
81567 #define _UINT32_T
81568 #endif
81572 # ----------------- done header, emit basic int types -------------
81573 if test "$acx_cv_header_stdint" = stddef.h; then
81574 sed 's/^ *//' >> tmp-stdint.h <<EOF
81576 #ifndef _UINT8_T
81577 #define _UINT8_T
81578 #ifndef __uint8_t_defined
81579 #define __uint8_t_defined
81580 #ifndef uint8_t
81581 typedef unsigned $acx_cv_type_int8_t uint8_t;
81582 #endif
81583 #endif
81584 #endif
81586 #ifndef _UINT16_T
81587 #define _UINT16_T
81588 #ifndef __uint16_t_defined
81589 #define __uint16_t_defined
81590 #ifndef uint16_t
81591 typedef unsigned $acx_cv_type_int16_t uint16_t;
81592 #endif
81593 #endif
81594 #endif
81596 #ifndef _UINT32_T
81597 #define _UINT32_T
81598 #ifndef __uint32_t_defined
81599 #define __uint32_t_defined
81600 #ifndef uint32_t
81601 typedef unsigned $acx_cv_type_int32_t uint32_t;
81602 #endif
81603 #endif
81604 #endif
81606 #ifndef _INT8_T
81607 #define _INT8_T
81608 #ifndef __int8_t_defined
81609 #define __int8_t_defined
81610 #ifndef int8_t
81611 typedef $acx_cv_type_int8_t int8_t;
81612 #endif
81613 #endif
81614 #endif
81616 #ifndef _INT16_T
81617 #define _INT16_T
81618 #ifndef __int16_t_defined
81619 #define __int16_t_defined
81620 #ifndef int16_t
81621 typedef $acx_cv_type_int16_t int16_t;
81622 #endif
81623 #endif
81624 #endif
81626 #ifndef _INT32_T
81627 #define _INT32_T
81628 #ifndef __int32_t_defined
81629 #define __int32_t_defined
81630 #ifndef int32_t
81631 typedef $acx_cv_type_int32_t int32_t;
81632 #endif
81633 #endif
81634 #endif
81636 elif test "$ac_cv_type_u_int32_t" = yes; then
81637 sed 's/^ *//' >> tmp-stdint.h <<EOF
81639 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
81640 #ifndef _INT8_T
81641 #define _INT8_T
81642 #endif
81643 #ifndef _INT16_T
81644 #define _INT16_T
81645 #endif
81646 #ifndef _INT32_T
81647 #define _INT32_T
81648 #endif
81650 #ifndef _UINT8_T
81651 #define _UINT8_T
81652 #ifndef __uint8_t_defined
81653 #define __uint8_t_defined
81654 #ifndef uint8_t
81655 typedef u_int8_t uint8_t;
81656 #endif
81657 #endif
81658 #endif
81660 #ifndef _UINT16_T
81661 #define _UINT16_T
81662 #ifndef __uint16_t_defined
81663 #define __uint16_t_defined
81664 #ifndef uint16_t
81665 typedef u_int16_t uint16_t;
81666 #endif
81667 #endif
81668 #endif
81670 #ifndef _UINT32_T
81671 #define _UINT32_T
81672 #ifndef __uint32_t_defined
81673 #define __uint32_t_defined
81674 #ifndef uint32_t
81675 typedef u_int32_t uint32_t;
81676 #endif
81677 #endif
81678 #endif
81680 else
81681 sed 's/^ *//' >> tmp-stdint.h <<EOF
81683 /* Some systems have guard macros to prevent redefinitions, define them. */
81684 #ifndef _INT8_T
81685 #define _INT8_T
81686 #endif
81687 #ifndef _INT16_T
81688 #define _INT16_T
81689 #endif
81690 #ifndef _INT32_T
81691 #define _INT32_T
81692 #endif
81693 #ifndef _UINT8_T
81694 #define _UINT8_T
81695 #endif
81696 #ifndef _UINT16_T
81697 #define _UINT16_T
81698 #endif
81699 #ifndef _UINT32_T
81700 #define _UINT32_T
81701 #endif
81705 # ------------- done basic int types, emit int64_t types ------------
81706 if test "$ac_cv_type_uint64_t" = yes; then
81707 sed 's/^ *//' >> tmp-stdint.h <<EOF
81709 /* system headers have good uint64_t and int64_t */
81710 #ifndef _INT64_T
81711 #define _INT64_T
81712 #endif
81713 #ifndef _UINT64_T
81714 #define _UINT64_T
81715 #endif
81717 elif test "$ac_cv_type_u_int64_t" = yes; then
81718 sed 's/^ *//' >> tmp-stdint.h <<EOF
81720 /* system headers have an u_int64_t (and int64_t) */
81721 #ifndef _INT64_T
81722 #define _INT64_T
81723 #endif
81724 #ifndef _UINT64_T
81725 #define _UINT64_T
81726 #ifndef __uint64_t_defined
81727 #define __uint64_t_defined
81728 #ifndef uint64_t
81729 typedef u_int64_t uint64_t;
81730 #endif
81731 #endif
81732 #endif
81734 elif test -n "$acx_cv_type_int64_t"; then
81735 sed 's/^ *//' >> tmp-stdint.h <<EOF
81737 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
81738 #ifndef _INT64_T
81739 #define _INT64_T
81740 #ifndef int64_t
81741 typedef $acx_cv_type_int64_t int64_t;
81742 #endif
81743 #endif
81744 #ifndef _UINT64_T
81745 #define _UINT64_T
81746 #ifndef __uint64_t_defined
81747 #define __uint64_t_defined
81748 #ifndef uint64_t
81749 typedef unsigned $acx_cv_type_int64_t uint64_t;
81750 #endif
81751 #endif
81752 #endif
81754 else
81755 sed 's/^ *//' >> tmp-stdint.h <<EOF
81757 /* some common heuristics for int64_t, using compiler-specific tests */
81758 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
81759 #ifndef _INT64_T
81760 #define _INT64_T
81761 #ifndef __int64_t_defined
81762 #ifndef int64_t
81763 typedef long long int64_t;
81764 #endif
81765 #endif
81766 #endif
81767 #ifndef _UINT64_T
81768 #define _UINT64_T
81769 #ifndef uint64_t
81770 typedef unsigned long long uint64_t;
81771 #endif
81772 #endif
81774 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
81775 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
81776 does not implement __extension__. But that compiler doesn't define
81777 __GNUC_MINOR__. */
81778 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
81779 # define __extension__
81780 # endif
81782 # ifndef _INT64_T
81783 # define _INT64_T
81784 # ifndef int64_t
81785 __extension__ typedef long long int64_t;
81786 # endif
81787 # endif
81788 # ifndef _UINT64_T
81789 # define _UINT64_T
81790 # ifndef uint64_t
81791 __extension__ typedef unsigned long long uint64_t;
81792 # endif
81793 # endif
81795 #elif !defined __STRICT_ANSI__
81796 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
81798 # ifndef _INT64_T
81799 # define _INT64_T
81800 # ifndef int64_t
81801 typedef __int64 int64_t;
81802 # endif
81803 # endif
81804 # ifndef _UINT64_T
81805 # define _UINT64_T
81806 # ifndef uint64_t
81807 typedef unsigned __int64 uint64_t;
81808 # endif
81809 # endif
81810 # endif /* compiler */
81812 #endif /* ANSI version */
81816 # ------------- done int64_t types, emit intptr types ------------
81817 if test "$ac_cv_type_uintptr_t" != yes; then
81818 sed 's/^ *//' >> tmp-stdint.h <<EOF
81820 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
81821 #ifndef __uintptr_t_defined
81822 #ifndef uintptr_t
81823 typedef u$acx_cv_type_intptr_t uintptr_t;
81824 #endif
81825 #endif
81826 #ifndef __intptr_t_defined
81827 #ifndef intptr_t
81828 typedef $acx_cv_type_intptr_t intptr_t;
81829 #endif
81830 #endif
81834 # ------------- done intptr types, emit int_least types ------------
81835 if test "$ac_cv_type_int_least32_t" != yes; then
81836 sed 's/^ *//' >> tmp-stdint.h <<EOF
81838 /* Define int_least types */
81839 typedef int8_t int_least8_t;
81840 typedef int16_t int_least16_t;
81841 typedef int32_t int_least32_t;
81842 #ifdef _INT64_T
81843 typedef int64_t int_least64_t;
81844 #endif
81846 typedef uint8_t uint_least8_t;
81847 typedef uint16_t uint_least16_t;
81848 typedef uint32_t uint_least32_t;
81849 #ifdef _UINT64_T
81850 typedef uint64_t uint_least64_t;
81851 #endif
81855 # ------------- done intptr types, emit int_fast types ------------
81856 if test "$ac_cv_type_int_fast32_t" != yes; then
81857 sed 's/^ *//' >> tmp-stdint.h <<EOF
81859 /* Define int_fast types. short is often slow */
81860 typedef int8_t int_fast8_t;
81861 typedef int int_fast16_t;
81862 typedef int32_t int_fast32_t;
81863 #ifdef _INT64_T
81864 typedef int64_t int_fast64_t;
81865 #endif
81867 typedef uint8_t uint_fast8_t;
81868 typedef unsigned int uint_fast16_t;
81869 typedef uint32_t uint_fast32_t;
81870 #ifdef _UINT64_T
81871 typedef uint64_t uint_fast64_t;
81872 #endif
81876 if test "$ac_cv_type_uintmax_t" != yes; then
81877 sed 's/^ *//' >> tmp-stdint.h <<EOF
81879 /* Define intmax based on what we found */
81880 #ifndef intmax_t
81881 #ifdef _INT64_T
81882 typedef int64_t intmax_t;
81883 #else
81884 typedef long intmax_t;
81885 #endif
81886 #endif
81887 #ifndef uintmax_t
81888 #ifdef _UINT64_T
81889 typedef uint64_t uintmax_t;
81890 #else
81891 typedef unsigned long uintmax_t;
81892 #endif
81893 #endif
81897 sed 's/^ *//' >> tmp-stdint.h <<EOF
81899 #endif /* GCC_GENERATED_STDINT_H */
81902 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
81903 rm -f tmp-stdint.h
81904 else
81905 mv -f tmp-stdint.h include/gstdint.h
81909 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
81910 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
81911 "include/Makefile":F) cat > vpsed$$ << \_EOF
81912 s!`test -f '$<' || echo '$(srcdir)/'`!!
81913 _EOF
81914 sed -f vpsed$$ $ac_file > tmp$$
81915 mv tmp$$ $ac_file
81916 rm vpsed$$
81917 echo 'MULTISUBDIR =' >> $ac_file
81918 ml_norecursion=yes
81919 . ${multi_basedir}/config-ml.in
81920 { ml_norecursion=; unset ml_norecursion;}
81922 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
81923 s!`test -f '$<' || echo '$(srcdir)/'`!!
81924 _EOF
81925 sed -f vpsed$$ $ac_file > tmp$$
81926 mv tmp$$ $ac_file
81927 rm vpsed$$
81928 echo 'MULTISUBDIR =' >> $ac_file
81929 ml_norecursion=yes
81930 . ${multi_basedir}/config-ml.in
81931 { ml_norecursion=; unset ml_norecursion;}
81933 "src/Makefile":F) cat > vpsed$$ << \_EOF
81934 s!`test -f '$<' || echo '$(srcdir)/'`!!
81935 _EOF
81936 sed -f vpsed$$ $ac_file > tmp$$
81937 mv tmp$$ $ac_file
81938 rm vpsed$$
81939 echo 'MULTISUBDIR =' >> $ac_file
81940 ml_norecursion=yes
81941 . ${multi_basedir}/config-ml.in
81942 { ml_norecursion=; unset ml_norecursion;}
81944 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
81945 s!`test -f '$<' || echo '$(srcdir)/'`!!
81946 _EOF
81947 sed -f vpsed$$ $ac_file > tmp$$
81948 mv tmp$$ $ac_file
81949 rm vpsed$$
81950 echo 'MULTISUBDIR =' >> $ac_file
81951 ml_norecursion=yes
81952 . ${multi_basedir}/config-ml.in
81953 { ml_norecursion=; unset ml_norecursion;}
81955 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
81956 s!`test -f '$<' || echo '$(srcdir)/'`!!
81957 _EOF
81958 sed -f vpsed$$ $ac_file > tmp$$
81959 mv tmp$$ $ac_file
81960 rm vpsed$$
81961 echo 'MULTISUBDIR =' >> $ac_file
81962 ml_norecursion=yes
81963 . ${multi_basedir}/config-ml.in
81964 { ml_norecursion=; unset ml_norecursion;}
81966 "src/c++17/Makefile":F) cat > vpsed$$ << \_EOF
81967 s!`test -f '$<' || echo '$(srcdir)/'`!!
81968 _EOF
81969 sed -f vpsed$$ $ac_file > tmp$$
81970 mv tmp$$ $ac_file
81971 rm vpsed$$
81972 echo 'MULTISUBDIR =' >> $ac_file
81973 ml_norecursion=yes
81974 . ${multi_basedir}/config-ml.in
81975 { ml_norecursion=; unset ml_norecursion;}
81977 "src/c++20/Makefile":F) cat > vpsed$$ << \_EOF
81978 s!`test -f '$<' || echo '$(srcdir)/'`!!
81979 _EOF
81980 sed -f vpsed$$ $ac_file > tmp$$
81981 mv tmp$$ $ac_file
81982 rm vpsed$$
81983 echo 'MULTISUBDIR =' >> $ac_file
81984 ml_norecursion=yes
81985 . ${multi_basedir}/config-ml.in
81986 { ml_norecursion=; unset ml_norecursion;}
81988 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
81989 s!`test -f '$<' || echo '$(srcdir)/'`!!
81990 _EOF
81991 sed -f vpsed$$ $ac_file > tmp$$
81992 mv tmp$$ $ac_file
81993 rm vpsed$$
81994 echo 'MULTISUBDIR =' >> $ac_file
81995 ml_norecursion=yes
81996 . ${multi_basedir}/config-ml.in
81997 { ml_norecursion=; unset ml_norecursion;}
81999 "src/libbacktrace/Makefile":F) cat > vpsed$$ << \_EOF
82000 s!`test -f '$<' || echo '$(srcdir)/'`!!
82001 _EOF
82002 sed -f vpsed$$ $ac_file > tmp$$
82003 mv tmp$$ $ac_file
82004 rm vpsed$$
82005 echo 'MULTISUBDIR =' >> $ac_file
82006 ml_norecursion=yes
82007 . ${multi_basedir}/config-ml.in
82008 { ml_norecursion=; unset ml_norecursion;}
82010 "doc/Makefile":F) cat > vpsed$$ << \_EOF
82011 s!`test -f '$<' || echo '$(srcdir)/'`!!
82012 _EOF
82013 sed -f vpsed$$ $ac_file > tmp$$
82014 mv tmp$$ $ac_file
82015 rm vpsed$$
82016 echo 'MULTISUBDIR =' >> $ac_file
82017 ml_norecursion=yes
82018 . ${multi_basedir}/config-ml.in
82019 { ml_norecursion=; unset ml_norecursion;}
82021 "po/Makefile":F) cat > vpsed$$ << \_EOF
82022 s!`test -f '$<' || echo '$(srcdir)/'`!!
82023 _EOF
82024 sed -f vpsed$$ $ac_file > tmp$$
82025 mv tmp$$ $ac_file
82026 rm vpsed$$
82027 echo 'MULTISUBDIR =' >> $ac_file
82028 ml_norecursion=yes
82029 . ${multi_basedir}/config-ml.in
82030 { ml_norecursion=; unset ml_norecursion;}
82032 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
82033 s!`test -f '$<' || echo '$(srcdir)/'`!!
82034 _EOF
82035 sed -f vpsed$$ $ac_file > tmp$$
82036 mv tmp$$ $ac_file
82037 rm vpsed$$
82038 echo 'MULTISUBDIR =' >> $ac_file
82039 ml_norecursion=yes
82040 . ${multi_basedir}/config-ml.in
82041 { ml_norecursion=; unset ml_norecursion;}
82043 "python/Makefile":F) cat > vpsed$$ << \_EOF
82044 s!`test -f '$<' || echo '$(srcdir)/'`!!
82045 _EOF
82046 sed -f vpsed$$ $ac_file > tmp$$
82047 mv tmp$$ $ac_file
82048 rm vpsed$$
82049 echo 'MULTISUBDIR =' >> $ac_file
82050 ml_norecursion=yes
82051 . ${multi_basedir}/config-ml.in
82052 { ml_norecursion=; unset ml_norecursion;}
82054 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
82056 esac
82057 done # for ac_tag
82060 as_fn_exit 0
82061 _ACEOF
82062 ac_clean_files=$ac_clean_files_save
82064 test $ac_write_fail = 0 ||
82065 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
82068 # configure is writing to config.log, and then calls config.status.
82069 # config.status does its own redirection, appending to config.log.
82070 # Unfortunately, on DOS this fails, as config.log is still kept open
82071 # by configure, so config.status won't be able to write to it; its
82072 # output is simply discarded. So we exec the FD to /dev/null,
82073 # effectively closing config.log, so it can be properly (re)opened and
82074 # appended to by config.status. When coming back to configure, we
82075 # need to make the FD available again.
82076 if test "$no_create" != yes; then
82077 ac_cs_success=:
82078 ac_config_status_args=
82079 test "$silent" = yes &&
82080 ac_config_status_args="$ac_config_status_args --quiet"
82081 exec 5>/dev/null
82082 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
82083 exec 5>>config.log
82084 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
82085 # would make configure fail if this is the last instruction.
82086 $ac_cs_success || as_fn_exit 1
82088 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
82089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
82090 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}