testsuite: Correct vec-rlmi-rlnm.c testsuite expected result
[official-gcc.git] / libstdc++-v3 / configure
blob0213c3c6bc42e09b9c305afc42707be640aafb67
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for package-unused version-unused.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
174 esac
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
190 else
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1
201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 PATH=/empty FPATH=/empty; export PATH FPATH
206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208 if (eval "$as_required") 2>/dev/null; then :
209 as_have_required=yes
210 else
211 as_have_required=no
213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
215 else
216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217 as_found=false
218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
220 IFS=$as_save_IFS
221 test -z "$as_dir" && as_dir=.
222 as_found=:
223 case $as_dir in #(
225 for as_base in sh bash ksh sh5; do
226 # Try only shells that exist, to save several forks.
227 as_shell=$as_dir/$as_base
228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230 CONFIG_SHELL=$as_shell as_have_required=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 break 2
235 done;;
236 esac
237 as_found=false
238 done
239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241 CONFIG_SHELL=$SHELL as_have_required=yes
242 fi; }
243 IFS=$as_save_IFS
246 if test "x$CONFIG_SHELL" != x; then :
247 export CONFIG_SHELL
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
252 BASH_ENV=/dev/null
253 ENV=/dev/null
254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255 case $- in # ((((
256 *v*x* | *x*v* ) as_opts=-vx ;;
257 *v* ) as_opts=-v ;;
258 *x* ) as_opts=-x ;;
259 * ) as_opts= ;;
260 esac
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265 exit 255
268 if test x$as_have_required = xno; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x${ZSH_VERSION+set} = xset ; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274 else
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
280 exit 1
284 SHELL=${CONFIG_SHELL-/bin/sh}
285 export SHELL
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE= GREP_OPTIONS=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
293 # as_fn_unset VAR
294 # ---------------
295 # Portably unset VAR.
296 as_fn_unset ()
298 { eval $1=; unset $1;}
300 as_unset=as_fn_unset
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
305 as_fn_set_status ()
307 return $1
308 } # as_fn_set_status
310 # as_fn_exit STATUS
311 # -----------------
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 as_fn_exit ()
315 set +e
316 as_fn_set_status $1
317 exit $1
318 } # as_fn_exit
320 # as_fn_mkdir_p
321 # -------------
322 # Create "$as_dir" as a directory, including parents if necessary.
323 as_fn_mkdir_p ()
326 case $as_dir in #(
327 -*) as_dir=./$as_dir;;
328 esac
329 test -d "$as_dir" || eval $as_mkdir_p || {
330 as_dirs=
331 while :; do
332 case $as_dir in #(
333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334 *) as_qdir=$as_dir;;
335 esac
336 as_dirs="'$as_qdir' $as_dirs"
337 as_dir=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344 s//\1/
347 /^X\(\/\/\)[^/].*/{
348 s//\1/
351 /^X\(\/\/\)$/{
352 s//\1/
355 /^X\(\/\).*/{
356 s//\1/
359 s/.*/./; q'`
360 test -d "$as_dir" && break
361 done
362 test -z "$as_dirs" || eval "mkdir $as_dirs"
363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
366 } # as_fn_mkdir_p
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p ()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
380 # implementations.
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382 eval 'as_fn_append ()
384 eval $1+=\$2
386 else
387 as_fn_append ()
389 eval $1=\$$1\$2
391 fi # as_fn_append
393 # as_fn_arith ARG...
394 # ------------------
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399 eval 'as_fn_arith ()
401 as_val=$(( $* ))
403 else
404 as_fn_arith ()
406 as_val=`expr "$@" || test $? -eq 1`
408 fi # as_fn_arith
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
416 as_fn_error ()
418 as_status=$1; test $as_status -eq 0 && as_status=1
419 if test "$4"; then
420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit $as_status
425 } # as_fn_error
427 if expr a : '\(a\)' >/dev/null 2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001; then
429 as_expr=expr
430 else
431 as_expr=false
434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 as_basename=basename
436 else
437 as_basename=false
440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441 as_dirname=dirname
442 else
443 as_dirname=false
446 as_me=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450 $as_echo X/"$0" |
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
452 s//\1/
455 /^X\/\(\/\/\)$/{
456 s//\1/
459 /^X\/\(\/\).*/{
460 s//\1/
463 s/.*/./; q'`
465 # Avoid depending upon Character Ranges.
466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits='0123456789'
470 as_cr_alnum=$as_cr_Letters$as_cr_digits
473 as_lineno_1=$LINENO as_lineno_1a=$LINENO
474 as_lineno_2=$LINENO as_lineno_2a=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
478 sed -n '
480 /[$]LINENO/=
481 ' <$as_myself |
482 sed '
483 s/[$]LINENO.*/&-/
484 t lineno
486 :lineno
488 :loop
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490 t loop
491 s/-\n.*//
492 ' >$as_me.lineno &&
493 chmod +x "$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec=no; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
503 . "./$as_me.lineno"
504 # Exit status is that of the last command.
505 exit
508 ECHO_C= ECHO_N= ECHO_T=
509 case `echo -n x` in #(((((
510 -n*)
511 case `echo 'xy\c'` in
512 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
513 xy) ECHO_C='\c';;
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
515 ECHO_T=' ';;
516 esac;;
518 ECHO_N='-n';;
519 esac
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523 rm -f conf$$.dir/conf$$.file
524 else
525 rm -f conf$$.dir
526 mkdir conf$$.dir 2>/dev/null
528 if (echo >conf$$.file) 2>/dev/null; then
529 if ln -s conf$$.file conf$$ 2>/dev/null; then
530 as_ln_s='ln -s'
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536 as_ln_s='cp -pR'
537 elif ln conf$$.file conf$$ 2>/dev/null; then
538 as_ln_s=ln
539 else
540 as_ln_s='cp -pR'
542 else
543 as_ln_s='cp -pR'
545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546 rmdir conf$$.dir 2>/dev/null
548 if mkdir -p . 2>/dev/null; then
549 as_mkdir_p='mkdir -p "$as_dir"'
550 else
551 test -d ./-p && rmdir ./-p
552 as_mkdir_p=false
555 as_test_x='test -x'
556 as_executable_p=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" || exec 7<&0 </dev/null
568 exec 6>&1
570 # Name of the host.
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
576 # Initializations.
578 ac_default_prefix=/usr/local
579 ac_clean_files=
580 ac_config_libobj_dir=.
581 LIBOBJS=
582 cross_compiling=no
583 subdirs=
584 MFLAGS=
585 MAKEFLAGS=
587 # Identity of this package.
588 PACKAGE_NAME='package-unused'
589 PACKAGE_TARNAME='libstdc++'
590 PACKAGE_VERSION='version-unused'
591 PACKAGE_STRING='package-unused version-unused'
592 PACKAGE_BUGREPORT=''
593 PACKAGE_URL=''
595 ac_unique_file="src/shared/hashtable-aux.cc"
596 # Factoring default headers for most tests.
597 ac_includes_default="\
598 #include <stdio.h>
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
601 #endif
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
604 #endif
605 #ifdef STDC_HEADERS
606 # include <stdlib.h>
607 # include <stddef.h>
608 #else
609 # ifdef HAVE_STDLIB_H
610 # include <stdlib.h>
611 # endif
612 #endif
613 #ifdef HAVE_STRING_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
615 # include <memory.h>
616 # endif
617 # include <string.h>
618 #endif
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
621 #endif
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
624 #endif
625 #ifdef HAVE_STDINT_H
626 # include <stdint.h>
627 #endif
628 #ifdef HAVE_UNISTD_H
629 # include <unistd.h>
630 #endif"
632 ac_subst_vars='am__EXEEXT_FALSE
633 am__EXEEXT_TRUE
634 LTLIBOBJS
635 LIBOBJS
636 get_gcc_base_ver
637 WARN_FLAGS
638 OPTIMIZE_CXXFLAGS
639 TOPLEVEL_INCLUDES
640 GLIBCXX_INCLUDES
641 glibcxx_toolexeclibdir
642 glibcxx_toolexecdir
643 gxx_include_dir
644 glibcxx_prefixdir
645 EXTRA_CFLAGS
646 tmake_file
647 CPU_OPT_BITS_RANDOM
648 CPU_OPT_EXT_RANDOM
649 ERROR_CONSTANTS_SRCDIR
650 OS_INC_SRCDIR
651 ABI_TWEAKS_SRCDIR
652 CPU_DEFINES_SRCDIR
653 ATOMIC_FLAGS
654 ATOMIC_WORD_SRCDIR
655 ATOMICITY_SRCDIR
656 INCLUDE_DIR_NOTPARALLEL_FALSE
657 INCLUDE_DIR_NOTPARALLEL_TRUE
658 BUILD_PDF_FALSE
659 BUILD_PDF_TRUE
660 PDFLATEX
661 DBLATEX
662 BUILD_MAN_FALSE
663 BUILD_MAN_TRUE
664 BUILD_HTML_FALSE
665 BUILD_HTML_TRUE
666 BUILD_XML_FALSE
667 BUILD_XML_TRUE
668 BUILD_EPUB_FALSE
669 BUILD_EPUB_TRUE
670 XSL_STYLE_DIR
671 XMLLINT
672 XSLTPROC
673 XMLCATALOG
675 DOXYGEN
676 BUILD_INFO_FALSE
677 BUILD_INFO_TRUE
678 ENABLE_FILESYSTEM_TS_FALSE
679 ENABLE_FILESYSTEM_TS_TRUE
680 baseline_subdir_switch
681 baseline_dir
682 HWCAP_CFLAGS
683 GLIBCXX_LDBL_COMPAT_FALSE
684 GLIBCXX_LDBL_COMPAT_TRUE
685 LONG_DOUBLE_COMPAT_FLAGS
686 ENABLE_CXX11_ABI_FALSE
687 ENABLE_CXX11_ABI_TRUE
688 glibcxx_cxx98_abi
689 ENABLE_DUAL_ABI_FALSE
690 ENABLE_DUAL_ABI_TRUE
691 ENABLE_VISIBILITY_FALSE
692 ENABLE_VISIBILITY_TRUE
693 libtool_VERSION
694 ENABLE_SYMVERS_SUN_FALSE
695 ENABLE_SYMVERS_SUN_TRUE
696 ENABLE_SYMVERS_DARWIN_FALSE
697 ENABLE_SYMVERS_DARWIN_TRUE
698 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
699 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
700 ENABLE_SYMVERS_GNU_FALSE
701 ENABLE_SYMVERS_GNU_TRUE
702 ENABLE_SYMVERS_FALSE
703 ENABLE_SYMVERS_TRUE
704 port_specific_symbol_files
705 SYMVER_FILE
706 CXXFILT
707 LTLIBICONV
708 LIBICONV
709 OPT_LDFLAGS
710 SECTION_LDFLAGS
711 GLIBCXX_LIBS
712 ENABLE_VTABLE_VERIFY_FALSE
713 ENABLE_VTABLE_VERIFY_TRUE
714 VTV_CYGMIN_FALSE
715 VTV_CYGMIN_TRUE
716 VTV_CXXLINKFLAGS
717 VTV_PCH_CXXFLAGS
718 VTV_CXXFLAGS
719 ENABLE_WERROR_FALSE
720 ENABLE_WERROR_TRUE
721 ENABLE_PYTHONDIR_FALSE
722 ENABLE_PYTHONDIR_TRUE
723 python_mod_dir
724 ENABLE_EXTERN_TEMPLATE_FALSE
725 ENABLE_EXTERN_TEMPLATE_TRUE
726 EXTRA_CXX_FLAGS
727 GLIBCXX_BUILD_DEBUG_FALSE
728 GLIBCXX_BUILD_DEBUG_TRUE
729 DEBUG_FLAGS
730 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
731 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
732 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
733 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
734 GLIBCXX_C_HEADERS_C_STD_FALSE
735 GLIBCXX_C_HEADERS_C_STD_TRUE
736 GLIBCXX_C_HEADERS_C_FALSE
737 GLIBCXX_C_HEADERS_C_TRUE
738 C_INCLUDE_DIR
739 ALLOCATOR_NAME
740 ALLOCATOR_H
741 ENABLE_ALLOCATOR_NEW_FALSE
742 ENABLE_ALLOCATOR_NEW_TRUE
743 CLOCALE_INTERNAL_H
744 CLOCALE_CC
745 CTIME_CC
746 CTIME_H
747 CNUMERIC_CC
748 CMONEY_CC
749 CMESSAGES_CC
750 CCTYPE_CC
751 CCOLLATE_CC
752 CCODECVT_CC
753 CMESSAGES_H
754 CLOCALE_H
755 USE_NLS
756 glibcxx_localedir
757 glibcxx_POFILES
758 glibcxx_MOFILES
759 check_msgfmt
760 BASIC_FILE_CC
761 BASIC_FILE_H
762 CSTDIO_H
763 SECTION_FLAGS
764 ENABLE_FLOAT128_FALSE
765 ENABLE_FLOAT128_TRUE
766 thread_header
767 glibcxx_PCHFLAGS
768 GLIBCXX_BUILD_PCH_FALSE
769 GLIBCXX_BUILD_PCH_TRUE
770 GLIBCXX_HOSTED_FALSE
771 GLIBCXX_HOSTED_TRUE
772 glibcxx_compiler_shared_flag
773 glibcxx_compiler_pic_flag
774 glibcxx_lt_pic_flag
775 enable_static
776 enable_shared
777 lt_host_flags
778 CXXCPP
779 OTOOL64
780 OTOOL
781 LIPO
782 NMEDIT
783 DSYMUTIL
784 OBJDUMP
786 ac_ct_DUMPBIN
787 DUMPBIN
789 FGREP
791 LIBTOOL
792 EGREP
793 GREP
795 MAINT
796 MAINTAINER_MODE_FALSE
797 MAINTAINER_MODE_TRUE
798 RANLIB
801 LN_S
802 toplevel_srcdir
803 toplevel_builddir
804 glibcxx_srcdir
805 glibcxx_builddir
806 ac_ct_CXX
807 CXXFLAGS
809 OBJEXT
810 EXEEXT
811 ac_ct_CC
812 CPPFLAGS
813 LDFLAGS
814 CFLAGS
816 AM_BACKSLASH
817 AM_DEFAULT_VERBOSITY
818 AM_DEFAULT_V
819 AM_V
820 am__untar
821 am__tar
822 AMTAR
823 am__leading_dot
824 SET_MAKE
826 mkdir_p
827 MKDIR_P
828 INSTALL_STRIP_PROGRAM
829 STRIP
830 install_sh
831 MAKEINFO
832 AUTOHEADER
833 AUTOMAKE
834 AUTOCONF
835 ACLOCAL
836 VERSION
837 PACKAGE
838 CYGPATH_W
839 am__isrc
840 INSTALL_DATA
841 INSTALL_SCRIPT
842 INSTALL_PROGRAM
843 target_os
844 target_vendor
845 target_cpu
846 target
847 host_os
848 host_vendor
849 host_cpu
850 host
851 build_os
852 build_vendor
853 build_cpu
854 build
855 multi_basedir
856 target_alias
857 host_alias
858 build_alias
859 LIBS
860 ECHO_T
861 ECHO_N
862 ECHO_C
863 DEFS
864 mandir
865 localedir
866 libdir
867 psdir
868 pdfdir
869 dvidir
870 htmldir
871 infodir
872 docdir
873 oldincludedir
874 includedir
875 localstatedir
876 sharedstatedir
877 sysconfdir
878 datadir
879 datarootdir
880 libexecdir
881 sbindir
882 bindir
883 program_transform_name
884 prefix
885 exec_prefix
886 PACKAGE_URL
887 PACKAGE_BUGREPORT
888 PACKAGE_STRING
889 PACKAGE_VERSION
890 PACKAGE_TARNAME
891 PACKAGE_NAME
892 PATH_SEPARATOR
893 SHELL'
894 ac_subst_files=''
895 ac_user_opts='
896 enable_option_checking
897 enable_multilib
898 enable_silent_rules
899 enable_largefile
900 with_target_subdir
901 with_cross_host
902 with_newlib
903 enable_maintainer_mode
904 enable_shared
905 enable_static
906 with_pic
907 enable_fast_install
908 with_gnu_ld
909 enable_libtool_lock
910 enable_hosted_libstdcxx
911 enable_libstdcxx_verbose
912 enable_libstdcxx_pch
913 with_libstdcxx_lock_policy
914 enable_cstdio
915 enable_clocale
916 enable_nls
917 enable_libstdcxx_allocator
918 enable_cheaders_obsolete
919 enable_cheaders
920 enable_long_long
921 enable_wchar_t
922 enable_c99
923 enable_concept_checks
924 enable_libstdcxx_debug_flags
925 enable_libstdcxx_debug
926 enable_cxx_flags
927 enable_fully_dynamic_string
928 enable_extern_template
929 with_python_dir
930 enable_werror
931 enable_vtable_verify
932 enable_libstdcxx_time
933 enable_tls
934 enable_rpath
935 with_libiconv_prefix
936 with_libiconv_type
937 with_system_libunwind
938 enable_linux_futex
939 enable_symvers
940 enable_libstdcxx_visibility
941 enable_libstdcxx_dual_abi
942 with_default_libstdcxx_abi
943 enable_libstdcxx_threads
944 enable_libstdcxx_filesystem_ts
945 enable_cet
946 with_gxx_include_dir
947 enable_version_specific_runtime_libs
948 with_toolexeclibdir
949 with_gcc_major_version_only
951 ac_precious_vars='build_alias
952 host_alias
953 target_alias
955 CFLAGS
956 LDFLAGS
957 LIBS
958 CPPFLAGS
960 CXXFLAGS
963 CXXCPP
964 CXXFILT'
967 # Initialize some variables set by options.
968 ac_init_help=
969 ac_init_version=false
970 ac_unrecognized_opts=
971 ac_unrecognized_sep=
972 # The variables have the same names as the options, with
973 # dashes changed to underlines.
974 cache_file=/dev/null
975 exec_prefix=NONE
976 no_create=
977 no_recursion=
978 prefix=NONE
979 program_prefix=NONE
980 program_suffix=NONE
981 program_transform_name=s,x,x,
982 silent=
983 site=
984 srcdir=
985 verbose=
986 x_includes=NONE
987 x_libraries=NONE
989 # Installation directory options.
990 # These are left unexpanded so users can "make install exec_prefix=/foo"
991 # and all the variables that are supposed to be based on exec_prefix
992 # by default will actually change.
993 # Use braces instead of parens because sh, perl, etc. also accept them.
994 # (The list follows the same order as the GNU Coding Standards.)
995 bindir='${exec_prefix}/bin'
996 sbindir='${exec_prefix}/sbin'
997 libexecdir='${exec_prefix}/libexec'
998 datarootdir='${prefix}/share'
999 datadir='${datarootdir}'
1000 sysconfdir='${prefix}/etc'
1001 sharedstatedir='${prefix}/com'
1002 localstatedir='${prefix}/var'
1003 includedir='${prefix}/include'
1004 oldincludedir='/usr/include'
1005 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1006 infodir='${datarootdir}/info'
1007 htmldir='${docdir}'
1008 dvidir='${docdir}'
1009 pdfdir='${docdir}'
1010 psdir='${docdir}'
1011 libdir='${exec_prefix}/lib'
1012 localedir='${datarootdir}/locale'
1013 mandir='${datarootdir}/man'
1015 ac_prev=
1016 ac_dashdash=
1017 for ac_option
1019 # If the previous option needs an argument, assign it.
1020 if test -n "$ac_prev"; then
1021 eval $ac_prev=\$ac_option
1022 ac_prev=
1023 continue
1026 case $ac_option in
1027 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1028 *=) ac_optarg= ;;
1029 *) ac_optarg=yes ;;
1030 esac
1032 # Accept the important Cygnus configure options, so we can diagnose typos.
1034 case $ac_dashdash$ac_option in
1036 ac_dashdash=yes ;;
1038 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1039 ac_prev=bindir ;;
1040 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1041 bindir=$ac_optarg ;;
1043 -build | --build | --buil | --bui | --bu)
1044 ac_prev=build_alias ;;
1045 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1046 build_alias=$ac_optarg ;;
1048 -cache-file | --cache-file | --cache-fil | --cache-fi \
1049 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1050 ac_prev=cache_file ;;
1051 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1052 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1053 cache_file=$ac_optarg ;;
1055 --config-cache | -C)
1056 cache_file=config.cache ;;
1058 -datadir | --datadir | --datadi | --datad)
1059 ac_prev=datadir ;;
1060 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1061 datadir=$ac_optarg ;;
1063 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1064 | --dataroo | --dataro | --datar)
1065 ac_prev=datarootdir ;;
1066 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1067 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1068 datarootdir=$ac_optarg ;;
1070 -disable-* | --disable-*)
1071 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1072 # Reject names that are not valid shell variable names.
1073 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1074 as_fn_error $? "invalid feature name: $ac_useropt"
1075 ac_useropt_orig=$ac_useropt
1076 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1077 case $ac_user_opts in
1079 "enable_$ac_useropt"
1080 "*) ;;
1081 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1082 ac_unrecognized_sep=', ';;
1083 esac
1084 eval enable_$ac_useropt=no ;;
1086 -docdir | --docdir | --docdi | --doc | --do)
1087 ac_prev=docdir ;;
1088 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1089 docdir=$ac_optarg ;;
1091 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1092 ac_prev=dvidir ;;
1093 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1094 dvidir=$ac_optarg ;;
1096 -enable-* | --enable-*)
1097 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1098 # Reject names that are not valid shell variable names.
1099 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1100 as_fn_error $? "invalid feature name: $ac_useropt"
1101 ac_useropt_orig=$ac_useropt
1102 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1103 case $ac_user_opts in
1105 "enable_$ac_useropt"
1106 "*) ;;
1107 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1108 ac_unrecognized_sep=', ';;
1109 esac
1110 eval enable_$ac_useropt=\$ac_optarg ;;
1112 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1113 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1114 | --exec | --exe | --ex)
1115 ac_prev=exec_prefix ;;
1116 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1117 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1118 | --exec=* | --exe=* | --ex=*)
1119 exec_prefix=$ac_optarg ;;
1121 -gas | --gas | --ga | --g)
1122 # Obsolete; use --with-gas.
1123 with_gas=yes ;;
1125 -help | --help | --hel | --he | -h)
1126 ac_init_help=long ;;
1127 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1128 ac_init_help=recursive ;;
1129 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1130 ac_init_help=short ;;
1132 -host | --host | --hos | --ho)
1133 ac_prev=host_alias ;;
1134 -host=* | --host=* | --hos=* | --ho=*)
1135 host_alias=$ac_optarg ;;
1137 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1138 ac_prev=htmldir ;;
1139 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1140 | --ht=*)
1141 htmldir=$ac_optarg ;;
1143 -includedir | --includedir | --includedi | --included | --include \
1144 | --includ | --inclu | --incl | --inc)
1145 ac_prev=includedir ;;
1146 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1147 | --includ=* | --inclu=* | --incl=* | --inc=*)
1148 includedir=$ac_optarg ;;
1150 -infodir | --infodir | --infodi | --infod | --info | --inf)
1151 ac_prev=infodir ;;
1152 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1153 infodir=$ac_optarg ;;
1155 -libdir | --libdir | --libdi | --libd)
1156 ac_prev=libdir ;;
1157 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1158 libdir=$ac_optarg ;;
1160 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1161 | --libexe | --libex | --libe)
1162 ac_prev=libexecdir ;;
1163 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1164 | --libexe=* | --libex=* | --libe=*)
1165 libexecdir=$ac_optarg ;;
1167 -localedir | --localedir | --localedi | --localed | --locale)
1168 ac_prev=localedir ;;
1169 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1170 localedir=$ac_optarg ;;
1172 -localstatedir | --localstatedir | --localstatedi | --localstated \
1173 | --localstate | --localstat | --localsta | --localst | --locals)
1174 ac_prev=localstatedir ;;
1175 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1176 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1177 localstatedir=$ac_optarg ;;
1179 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1180 ac_prev=mandir ;;
1181 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1182 mandir=$ac_optarg ;;
1184 -nfp | --nfp | --nf)
1185 # Obsolete; use --without-fp.
1186 with_fp=no ;;
1188 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1189 | --no-cr | --no-c | -n)
1190 no_create=yes ;;
1192 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1193 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1194 no_recursion=yes ;;
1196 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1197 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1198 | --oldin | --oldi | --old | --ol | --o)
1199 ac_prev=oldincludedir ;;
1200 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1201 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1202 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1203 oldincludedir=$ac_optarg ;;
1205 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1206 ac_prev=prefix ;;
1207 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1208 prefix=$ac_optarg ;;
1210 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1211 | --program-pre | --program-pr | --program-p)
1212 ac_prev=program_prefix ;;
1213 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1214 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1215 program_prefix=$ac_optarg ;;
1217 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1218 | --program-suf | --program-su | --program-s)
1219 ac_prev=program_suffix ;;
1220 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1221 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1222 program_suffix=$ac_optarg ;;
1224 -program-transform-name | --program-transform-name \
1225 | --program-transform-nam | --program-transform-na \
1226 | --program-transform-n | --program-transform- \
1227 | --program-transform | --program-transfor \
1228 | --program-transfo | --program-transf \
1229 | --program-trans | --program-tran \
1230 | --progr-tra | --program-tr | --program-t)
1231 ac_prev=program_transform_name ;;
1232 -program-transform-name=* | --program-transform-name=* \
1233 | --program-transform-nam=* | --program-transform-na=* \
1234 | --program-transform-n=* | --program-transform-=* \
1235 | --program-transform=* | --program-transfor=* \
1236 | --program-transfo=* | --program-transf=* \
1237 | --program-trans=* | --program-tran=* \
1238 | --progr-tra=* | --program-tr=* | --program-t=*)
1239 program_transform_name=$ac_optarg ;;
1241 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1242 ac_prev=pdfdir ;;
1243 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1244 pdfdir=$ac_optarg ;;
1246 -psdir | --psdir | --psdi | --psd | --ps)
1247 ac_prev=psdir ;;
1248 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1249 psdir=$ac_optarg ;;
1251 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1252 | -silent | --silent | --silen | --sile | --sil)
1253 silent=yes ;;
1255 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1256 ac_prev=sbindir ;;
1257 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1258 | --sbi=* | --sb=*)
1259 sbindir=$ac_optarg ;;
1261 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1262 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1263 | --sharedst | --shareds | --shared | --share | --shar \
1264 | --sha | --sh)
1265 ac_prev=sharedstatedir ;;
1266 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1267 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1268 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1269 | --sha=* | --sh=*)
1270 sharedstatedir=$ac_optarg ;;
1272 -site | --site | --sit)
1273 ac_prev=site ;;
1274 -site=* | --site=* | --sit=*)
1275 site=$ac_optarg ;;
1277 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1278 ac_prev=srcdir ;;
1279 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1280 srcdir=$ac_optarg ;;
1282 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1283 | --syscon | --sysco | --sysc | --sys | --sy)
1284 ac_prev=sysconfdir ;;
1285 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1286 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1287 sysconfdir=$ac_optarg ;;
1289 -target | --target | --targe | --targ | --tar | --ta | --t)
1290 ac_prev=target_alias ;;
1291 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1292 target_alias=$ac_optarg ;;
1294 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1295 verbose=yes ;;
1297 -version | --version | --versio | --versi | --vers | -V)
1298 ac_init_version=: ;;
1300 -with-* | --with-*)
1301 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1302 # Reject names that are not valid shell variable names.
1303 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1304 as_fn_error $? "invalid package name: $ac_useropt"
1305 ac_useropt_orig=$ac_useropt
1306 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1307 case $ac_user_opts in
1309 "with_$ac_useropt"
1310 "*) ;;
1311 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1312 ac_unrecognized_sep=', ';;
1313 esac
1314 eval with_$ac_useropt=\$ac_optarg ;;
1316 -without-* | --without-*)
1317 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1318 # Reject names that are not valid shell variable names.
1319 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1320 as_fn_error $? "invalid package name: $ac_useropt"
1321 ac_useropt_orig=$ac_useropt
1322 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1323 case $ac_user_opts in
1325 "with_$ac_useropt"
1326 "*) ;;
1327 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1328 ac_unrecognized_sep=', ';;
1329 esac
1330 eval with_$ac_useropt=no ;;
1332 --x)
1333 # Obsolete; use --with-x.
1334 with_x=yes ;;
1336 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1337 | --x-incl | --x-inc | --x-in | --x-i)
1338 ac_prev=x_includes ;;
1339 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1340 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1341 x_includes=$ac_optarg ;;
1343 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1344 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1345 ac_prev=x_libraries ;;
1346 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1347 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1348 x_libraries=$ac_optarg ;;
1350 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1351 Try \`$0 --help' for more information"
1354 *=*)
1355 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1356 # Reject names that are not valid shell variable names.
1357 case $ac_envvar in #(
1358 '' | [0-9]* | *[!_$as_cr_alnum]* )
1359 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1360 esac
1361 eval $ac_envvar=\$ac_optarg
1362 export $ac_envvar ;;
1365 # FIXME: should be removed in autoconf 3.0.
1366 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1367 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1368 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1369 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1372 esac
1373 done
1375 if test -n "$ac_prev"; then
1376 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1377 as_fn_error $? "missing argument to $ac_option"
1380 if test -n "$ac_unrecognized_opts"; then
1381 case $enable_option_checking in
1382 no) ;;
1383 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1384 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1385 esac
1388 # Check all directory arguments for consistency.
1389 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1390 datadir sysconfdir sharedstatedir localstatedir includedir \
1391 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1392 libdir localedir mandir
1394 eval ac_val=\$$ac_var
1395 # Remove trailing slashes.
1396 case $ac_val in
1397 */ )
1398 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1399 eval $ac_var=\$ac_val;;
1400 esac
1401 # Be sure to have absolute directory names.
1402 case $ac_val in
1403 [\\/$]* | ?:[\\/]* ) continue;;
1404 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1405 esac
1406 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1407 done
1409 # There might be people who depend on the old broken behavior: `$host'
1410 # used to hold the argument of --host etc.
1411 # FIXME: To remove some day.
1412 build=$build_alias
1413 host=$host_alias
1414 target=$target_alias
1416 # FIXME: To remove some day.
1417 if test "x$host_alias" != x; then
1418 if test "x$build_alias" = x; then
1419 cross_compiling=maybe
1420 elif test "x$build_alias" != "x$host_alias"; then
1421 cross_compiling=yes
1425 ac_tool_prefix=
1426 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1428 test "$silent" = yes && exec 6>/dev/null
1431 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1432 ac_ls_di=`ls -di .` &&
1433 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1434 as_fn_error $? "working directory cannot be determined"
1435 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1436 as_fn_error $? "pwd does not report name of working directory"
1439 # Find the source files, if location was not specified.
1440 if test -z "$srcdir"; then
1441 ac_srcdir_defaulted=yes
1442 # Try the directory containing this script, then the parent directory.
1443 ac_confdir=`$as_dirname -- "$as_myself" ||
1444 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1445 X"$as_myself" : 'X\(//\)[^/]' \| \
1446 X"$as_myself" : 'X\(//\)$' \| \
1447 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1448 $as_echo X"$as_myself" |
1449 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1450 s//\1/
1453 /^X\(\/\/\)[^/].*/{
1454 s//\1/
1457 /^X\(\/\/\)$/{
1458 s//\1/
1461 /^X\(\/\).*/{
1462 s//\1/
1465 s/.*/./; q'`
1466 srcdir=$ac_confdir
1467 if test ! -r "$srcdir/$ac_unique_file"; then
1468 srcdir=..
1470 else
1471 ac_srcdir_defaulted=no
1473 if test ! -r "$srcdir/$ac_unique_file"; then
1474 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1475 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1477 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1478 ac_abs_confdir=`(
1479 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1480 pwd)`
1481 # When building in place, set srcdir=.
1482 if test "$ac_abs_confdir" = "$ac_pwd"; then
1483 srcdir=.
1485 # Remove unnecessary trailing slashes from srcdir.
1486 # Double slashes in file names in object file debugging info
1487 # mess up M-x gdb in Emacs.
1488 case $srcdir in
1489 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1490 esac
1491 for ac_var in $ac_precious_vars; do
1492 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1493 eval ac_env_${ac_var}_value=\$${ac_var}
1494 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1495 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1496 done
1499 # Report the --help message.
1501 if test "$ac_init_help" = "long"; then
1502 # Omit some internal or obsolete options to make the list less imposing.
1503 # This message is too long to be a string in the A/UX 3.1 sh.
1504 cat <<_ACEOF
1505 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1507 Usage: $0 [OPTION]... [VAR=VALUE]...
1509 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1510 VAR=VALUE. See below for descriptions of some of the useful variables.
1512 Defaults for the options are specified in brackets.
1514 Configuration:
1515 -h, --help display this help and exit
1516 --help=short display options specific to this package
1517 --help=recursive display the short help of all the included packages
1518 -V, --version display version information and exit
1519 -q, --quiet, --silent do not print \`checking ...' messages
1520 --cache-file=FILE cache test results in FILE [disabled]
1521 -C, --config-cache alias for \`--cache-file=config.cache'
1522 -n, --no-create do not create output files
1523 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1525 Installation directories:
1526 --prefix=PREFIX install architecture-independent files in PREFIX
1527 [$ac_default_prefix]
1528 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1529 [PREFIX]
1531 By default, \`make install' will install all the files in
1532 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1533 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1534 for instance \`--prefix=\$HOME'.
1536 For better control, use the options below.
1538 Fine tuning of the installation directories:
1539 --bindir=DIR user executables [EPREFIX/bin]
1540 --sbindir=DIR system admin executables [EPREFIX/sbin]
1541 --libexecdir=DIR program executables [EPREFIX/libexec]
1542 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1543 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1544 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1545 --libdir=DIR object code libraries [EPREFIX/lib]
1546 --includedir=DIR C header files [PREFIX/include]
1547 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1548 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1549 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1550 --infodir=DIR info documentation [DATAROOTDIR/info]
1551 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1552 --mandir=DIR man documentation [DATAROOTDIR/man]
1553 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1554 --htmldir=DIR html documentation [DOCDIR]
1555 --dvidir=DIR dvi documentation [DOCDIR]
1556 --pdfdir=DIR pdf documentation [DOCDIR]
1557 --psdir=DIR ps documentation [DOCDIR]
1558 _ACEOF
1560 cat <<\_ACEOF
1562 Program names:
1563 --program-prefix=PREFIX prepend PREFIX to installed program names
1564 --program-suffix=SUFFIX append SUFFIX to installed program names
1565 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1567 System types:
1568 --build=BUILD configure for building on BUILD [guessed]
1569 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1570 --target=TARGET configure for building compilers for TARGET [HOST]
1571 _ACEOF
1574 if test -n "$ac_init_help"; then
1575 case $ac_init_help in
1576 short | recursive ) echo "Configuration of package-unused version-unused:";;
1577 esac
1578 cat <<\_ACEOF
1580 Optional Features:
1581 --disable-option-checking ignore unrecognized --enable/--with options
1582 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1583 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1584 --enable-multilib build many library versions (default)
1585 --enable-silent-rules less verbose build output (undo: "make V=1")
1586 --disable-silent-rules verbose build output (undo: "make V=0")
1587 --disable-largefile omit support for large files
1588 --enable-maintainer-mode
1589 enable make rules and dependencies not useful (and
1590 sometimes confusing) to the casual installer
1591 --enable-shared[=PKGS] build shared libraries [default=yes]
1592 --enable-static[=PKGS] build static libraries [default=yes]
1593 --enable-fast-install[=PKGS]
1594 optimize for fast installation [default=yes]
1595 --disable-libtool-lock avoid locking (might break parallel builds)
1596 --disable-hosted-libstdcxx
1597 only build freestanding C++ runtime support
1598 --disable-libstdcxx-verbose
1599 disable termination messages to standard error
1600 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1601 [default=$is_hosted]
1602 --enable-cstdio[=PACKAGE]
1603 use target-specific I/O package [default=stdio]
1604 --enable-clocale[=MODEL]
1605 use MODEL for target locale package [default=auto]
1606 --enable-nls use Native Language Support (default)
1607 --enable-libstdcxx-allocator[=KIND]
1608 use KIND for target std::allocator base
1609 [default=auto]
1610 --enable-cheaders-obsolete
1611 allow use of obsolete "C" headers for g++
1612 [default=no]
1613 --enable-cheaders[=KIND]
1614 construct "C" headers for g++ [default=$c_model]
1615 --enable-long-long enable template specializations for 'long long'
1616 [default=yes]
1617 --enable-wchar_t enable template specializations for 'wchar_t'
1618 [default=yes]
1619 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1620 --enable-concept-checks use Boost-derived template checks [default=no]
1621 --enable-libstdcxx-debug-flags=FLAGS
1622 pass compiler FLAGS when building debug library
1623 [default="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"]
1624 --enable-libstdcxx-debug
1625 build extra debug library [default=no]
1626 --enable-cxx-flags=FLAGS
1627 pass compiler FLAGS when building library [default=]
1628 --enable-fully-dynamic-string
1629 do not put empty strings in per-process static
1630 memory [default=no]
1631 --enable-extern-template
1632 enable extern template [default=yes]
1633 --enable-werror turns on -Werror [default=no]
1634 --enable-vtable-verify enable vtable verify [default=no]
1635 --enable-libstdcxx-time[=KIND]
1636 use KIND for check type [default=auto]
1637 --enable-tls Use thread-local storage [default=yes]
1638 --disable-rpath do not hardcode runtime library paths
1639 --enable-linux-futex use the Linux futex system call [default=default]
1640 --enable-symvers[=STYLE]
1641 enables symbol versioning of the shared library
1642 [default=yes]
1643 --enable-libstdcxx-visibility
1644 enables visibility safe usage [default=yes]
1645 --enable-libstdcxx-dual-abi
1646 support two versions of std::string [default=yes]
1647 --enable-libstdcxx-threads
1648 enable C++11 threads support [default=auto]
1649 --enable-libstdcxx-filesystem-ts
1650 turns on ISO/IEC TS 18822 support [default=auto]
1651 --enable-cet enable Intel CET in target libraries [default=auto]
1652 --enable-version-specific-runtime-libs
1653 Specify that runtime libraries should be installed
1654 in a compiler-specific directory
1656 Optional Packages:
1657 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1658 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1659 --with-target-subdir=SUBDIR
1660 configuring in a subdirectory
1661 --with-cross-host=HOST configuring with a cross compiler
1662 --with-newlib assume newlib as a system C library
1663 --with-pic try to use only PIC/non-PIC objects [default=use
1664 both]
1665 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1666 --with-libstdcxx-lock-policy={atomic,mutex,auto}
1667 synchronization policy for shared_ptr reference
1668 counting [default=auto]
1669 --with-python-dir the location to install Python modules. This path is
1670 relative starting from the prefix.
1671 --with-gnu-ld assume the C compiler uses GNU ld default=no
1672 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1673 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1674 --with-libiconv-type=TYPE type of library to search for (auto/static/shared)
1675 --with-system-libunwind use installed libunwind
1676 --with-default-libstdcxx-abi
1677 set the std::string ABI to use by default
1678 --with-gxx-include-dir=DIR
1679 installation directory for include files
1680 --with-toolexeclibdir=DIR
1681 install libraries built with a cross compiler within
1683 --with-gcc-major-version-only
1684 use only GCC major number in filesystem paths
1686 Some influential environment variables:
1687 CC C compiler command
1688 CFLAGS C compiler flags
1689 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1690 nonstandard directory <lib dir>
1691 LIBS libraries to pass to the linker, e.g. -l<library>
1692 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1693 you have headers in a nonstandard directory <include dir>
1694 CXX C++ compiler command
1695 CXXFLAGS C++ compiler flags
1696 CPP C preprocessor
1697 CXXCPP C++ preprocessor
1698 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1699 `c++filt', `gc++filt' on PATH.
1701 Use these variables to override the choices made by `configure' or to help
1702 it to find libraries and programs with nonstandard names/locations.
1704 Report bugs to the package provider.
1705 _ACEOF
1706 ac_status=$?
1709 if test "$ac_init_help" = "recursive"; then
1710 # If there are subdirs, report their specific --help.
1711 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1712 test -d "$ac_dir" ||
1713 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1714 continue
1715 ac_builddir=.
1717 case "$ac_dir" in
1718 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1720 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1721 # A ".." for each directory in $ac_dir_suffix.
1722 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1723 case $ac_top_builddir_sub in
1724 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1725 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1726 esac ;;
1727 esac
1728 ac_abs_top_builddir=$ac_pwd
1729 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1730 # for backward compatibility:
1731 ac_top_builddir=$ac_top_build_prefix
1733 case $srcdir in
1734 .) # We are building in place.
1735 ac_srcdir=.
1736 ac_top_srcdir=$ac_top_builddir_sub
1737 ac_abs_top_srcdir=$ac_pwd ;;
1738 [\\/]* | ?:[\\/]* ) # Absolute name.
1739 ac_srcdir=$srcdir$ac_dir_suffix;
1740 ac_top_srcdir=$srcdir
1741 ac_abs_top_srcdir=$srcdir ;;
1742 *) # Relative name.
1743 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1744 ac_top_srcdir=$ac_top_build_prefix$srcdir
1745 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1746 esac
1747 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1749 cd "$ac_dir" || { ac_status=$?; continue; }
1750 # Check for guested configure.
1751 if test -f "$ac_srcdir/configure.gnu"; then
1752 echo &&
1753 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1754 elif test -f "$ac_srcdir/configure"; then
1755 echo &&
1756 $SHELL "$ac_srcdir/configure" --help=recursive
1757 else
1758 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1759 fi || ac_status=$?
1760 cd "$ac_pwd" || { ac_status=$?; break; }
1761 done
1764 test -n "$ac_init_help" && exit $ac_status
1765 if $ac_init_version; then
1766 cat <<\_ACEOF
1767 package-unused configure version-unused
1768 generated by GNU Autoconf 2.69
1770 Copyright (C) 2012 Free Software Foundation, Inc.
1771 This configure script is free software; the Free Software Foundation
1772 gives unlimited permission to copy, distribute and modify it.
1773 _ACEOF
1774 exit
1777 ## ------------------------ ##
1778 ## Autoconf initialization. ##
1779 ## ------------------------ ##
1781 # ac_fn_c_try_compile LINENO
1782 # --------------------------
1783 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1784 ac_fn_c_try_compile ()
1786 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1787 rm -f conftest.$ac_objext
1788 if { { ac_try="$ac_compile"
1789 case "(($ac_try" in
1790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1791 *) ac_try_echo=$ac_try;;
1792 esac
1793 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1794 $as_echo "$ac_try_echo"; } >&5
1795 (eval "$ac_compile") 2>conftest.err
1796 ac_status=$?
1797 if test -s conftest.err; then
1798 grep -v '^ *+' conftest.err >conftest.er1
1799 cat conftest.er1 >&5
1800 mv -f conftest.er1 conftest.err
1802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1803 test $ac_status = 0; } && {
1804 test -z "$ac_c_werror_flag" ||
1805 test ! -s conftest.err
1806 } && test -s conftest.$ac_objext; then :
1807 ac_retval=0
1808 else
1809 $as_echo "$as_me: failed program was:" >&5
1810 sed 's/^/| /' conftest.$ac_ext >&5
1812 ac_retval=1
1814 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1815 as_fn_set_status $ac_retval
1817 } # ac_fn_c_try_compile
1819 # ac_fn_cxx_try_compile LINENO
1820 # ----------------------------
1821 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1822 ac_fn_cxx_try_compile ()
1824 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1825 rm -f conftest.$ac_objext
1826 if { { ac_try="$ac_compile"
1827 case "(($ac_try" in
1828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1829 *) ac_try_echo=$ac_try;;
1830 esac
1831 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1832 $as_echo "$ac_try_echo"; } >&5
1833 (eval "$ac_compile") 2>conftest.err
1834 ac_status=$?
1835 if test -s conftest.err; then
1836 grep -v '^ *+' conftest.err >conftest.er1
1837 cat conftest.er1 >&5
1838 mv -f conftest.er1 conftest.err
1840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1841 test $ac_status = 0; } && {
1842 test -z "$ac_cxx_werror_flag" ||
1843 test ! -s conftest.err
1844 } && test -s conftest.$ac_objext; then :
1845 ac_retval=0
1846 else
1847 $as_echo "$as_me: failed program was:" >&5
1848 sed 's/^/| /' conftest.$ac_ext >&5
1850 ac_retval=1
1852 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1853 as_fn_set_status $ac_retval
1855 } # ac_fn_cxx_try_compile
1857 # ac_fn_c_try_cpp LINENO
1858 # ----------------------
1859 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1860 ac_fn_c_try_cpp ()
1862 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1863 if { { ac_try="$ac_cpp conftest.$ac_ext"
1864 case "(($ac_try" in
1865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1866 *) ac_try_echo=$ac_try;;
1867 esac
1868 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1869 $as_echo "$ac_try_echo"; } >&5
1870 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1871 ac_status=$?
1872 if test -s conftest.err; then
1873 grep -v '^ *+' conftest.err >conftest.er1
1874 cat conftest.er1 >&5
1875 mv -f conftest.er1 conftest.err
1877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1878 test $ac_status = 0; } > conftest.i && {
1879 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1880 test ! -s conftest.err
1881 }; then :
1882 ac_retval=0
1883 else
1884 $as_echo "$as_me: failed program was:" >&5
1885 sed 's/^/| /' conftest.$ac_ext >&5
1887 ac_retval=1
1889 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1890 as_fn_set_status $ac_retval
1892 } # ac_fn_c_try_cpp
1894 # ac_fn_c_try_link LINENO
1895 # -----------------------
1896 # Try to link conftest.$ac_ext, and return whether this succeeded.
1897 ac_fn_c_try_link ()
1899 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1900 rm -f conftest.$ac_objext conftest$ac_exeext
1901 if { { ac_try="$ac_link"
1902 case "(($ac_try" in
1903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1904 *) ac_try_echo=$ac_try;;
1905 esac
1906 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1907 $as_echo "$ac_try_echo"; } >&5
1908 (eval "$ac_link") 2>conftest.err
1909 ac_status=$?
1910 if test -s conftest.err; then
1911 grep -v '^ *+' conftest.err >conftest.er1
1912 cat conftest.er1 >&5
1913 mv -f conftest.er1 conftest.err
1915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1916 test $ac_status = 0; } && {
1917 test -z "$ac_c_werror_flag" ||
1918 test ! -s conftest.err
1919 } && test -s conftest$ac_exeext && {
1920 test "$cross_compiling" = yes ||
1921 test -x conftest$ac_exeext
1922 }; then :
1923 ac_retval=0
1924 else
1925 $as_echo "$as_me: failed program was:" >&5
1926 sed 's/^/| /' conftest.$ac_ext >&5
1928 ac_retval=1
1930 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1931 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1932 # interfere with the next link command; also delete a directory that is
1933 # left behind by Apple's compiler. We do this before executing the actions.
1934 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1935 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1936 as_fn_set_status $ac_retval
1938 } # ac_fn_c_try_link
1940 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1941 # -------------------------------------------------------
1942 # Tests whether HEADER exists and can be compiled using the include files in
1943 # INCLUDES, setting the cache variable VAR accordingly.
1944 ac_fn_c_check_header_compile ()
1946 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1948 $as_echo_n "checking for $2... " >&6; }
1949 if eval \${$3+:} false; then :
1950 $as_echo_n "(cached) " >&6
1951 else
1952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1953 /* end confdefs.h. */
1955 #include <$2>
1956 _ACEOF
1957 if ac_fn_c_try_compile "$LINENO"; then :
1958 eval "$3=yes"
1959 else
1960 eval "$3=no"
1962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1964 eval ac_res=\$$3
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1966 $as_echo "$ac_res" >&6; }
1967 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1969 } # ac_fn_c_check_header_compile
1971 # ac_fn_c_try_run LINENO
1972 # ----------------------
1973 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1974 # that executables *can* be run.
1975 ac_fn_c_try_run ()
1977 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1978 if { { ac_try="$ac_link"
1979 case "(($ac_try" in
1980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1981 *) ac_try_echo=$ac_try;;
1982 esac
1983 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1984 $as_echo "$ac_try_echo"; } >&5
1985 (eval "$ac_link") 2>&5
1986 ac_status=$?
1987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1988 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1989 { { case "(($ac_try" in
1990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1991 *) ac_try_echo=$ac_try;;
1992 esac
1993 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1994 $as_echo "$ac_try_echo"; } >&5
1995 (eval "$ac_try") 2>&5
1996 ac_status=$?
1997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1998 test $ac_status = 0; }; }; then :
1999 ac_retval=0
2000 else
2001 $as_echo "$as_me: program exited with status $ac_status" >&5
2002 $as_echo "$as_me: failed program was:" >&5
2003 sed 's/^/| /' conftest.$ac_ext >&5
2005 ac_retval=$ac_status
2007 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2008 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2009 as_fn_set_status $ac_retval
2011 } # ac_fn_c_try_run
2013 # ac_fn_c_check_func LINENO FUNC VAR
2014 # ----------------------------------
2015 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2016 ac_fn_c_check_func ()
2018 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2020 $as_echo_n "checking for $2... " >&6; }
2021 if eval \${$3+:} false; then :
2022 $as_echo_n "(cached) " >&6
2023 else
2024 if test x$gcc_no_link = xyes; then
2025 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2028 /* end confdefs.h. */
2029 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2031 #define $2 innocuous_$2
2033 /* System header to define __stub macros and hopefully few prototypes,
2034 which can conflict with char $2 (); below.
2035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2036 <limits.h> exists even on freestanding compilers. */
2038 #ifdef __STDC__
2039 # include <limits.h>
2040 #else
2041 # include <assert.h>
2042 #endif
2044 #undef $2
2046 /* Override any GCC internal prototype to avoid an error.
2047 Use char because int might match the return type of a GCC
2048 builtin and then its argument prototype would still apply. */
2049 #ifdef __cplusplus
2050 extern "C"
2051 #endif
2052 char $2 ();
2053 /* The GNU C library defines this for functions which it implements
2054 to always fail with ENOSYS. Some functions are actually named
2055 something starting with __ and the normal name is an alias. */
2056 #if defined __stub_$2 || defined __stub___$2
2057 choke me
2058 #endif
2061 main ()
2063 return $2 ();
2065 return 0;
2067 _ACEOF
2068 if ac_fn_c_try_link "$LINENO"; then :
2069 eval "$3=yes"
2070 else
2071 eval "$3=no"
2073 rm -f core conftest.err conftest.$ac_objext \
2074 conftest$ac_exeext conftest.$ac_ext
2076 eval ac_res=\$$3
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2078 $as_echo "$ac_res" >&6; }
2079 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2081 } # ac_fn_c_check_func
2083 # ac_fn_cxx_try_cpp LINENO
2084 # ------------------------
2085 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2086 ac_fn_cxx_try_cpp ()
2088 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2089 if { { ac_try="$ac_cpp conftest.$ac_ext"
2090 case "(($ac_try" in
2091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2092 *) ac_try_echo=$ac_try;;
2093 esac
2094 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2095 $as_echo "$ac_try_echo"; } >&5
2096 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2097 ac_status=$?
2098 if test -s conftest.err; then
2099 grep -v '^ *+' conftest.err >conftest.er1
2100 cat conftest.er1 >&5
2101 mv -f conftest.er1 conftest.err
2103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2104 test $ac_status = 0; } > conftest.i && {
2105 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2106 test ! -s conftest.err
2107 }; then :
2108 ac_retval=0
2109 else
2110 $as_echo "$as_me: failed program was:" >&5
2111 sed 's/^/| /' conftest.$ac_ext >&5
2113 ac_retval=1
2115 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2116 as_fn_set_status $ac_retval
2118 } # ac_fn_cxx_try_cpp
2120 # ac_fn_cxx_try_link LINENO
2121 # -------------------------
2122 # Try to link conftest.$ac_ext, and return whether this succeeded.
2123 ac_fn_cxx_try_link ()
2125 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2126 rm -f conftest.$ac_objext conftest$ac_exeext
2127 if { { ac_try="$ac_link"
2128 case "(($ac_try" in
2129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2130 *) ac_try_echo=$ac_try;;
2131 esac
2132 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2133 $as_echo "$ac_try_echo"; } >&5
2134 (eval "$ac_link") 2>conftest.err
2135 ac_status=$?
2136 if test -s conftest.err; then
2137 grep -v '^ *+' conftest.err >conftest.er1
2138 cat conftest.er1 >&5
2139 mv -f conftest.er1 conftest.err
2141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2142 test $ac_status = 0; } && {
2143 test -z "$ac_cxx_werror_flag" ||
2144 test ! -s conftest.err
2145 } && test -s conftest$ac_exeext && {
2146 test "$cross_compiling" = yes ||
2147 test -x conftest$ac_exeext
2148 }; then :
2149 ac_retval=0
2150 else
2151 $as_echo "$as_me: failed program was:" >&5
2152 sed 's/^/| /' conftest.$ac_ext >&5
2154 ac_retval=1
2156 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2157 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2158 # interfere with the next link command; also delete a directory that is
2159 # left behind by Apple's compiler. We do this before executing the actions.
2160 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2161 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2162 as_fn_set_status $ac_retval
2164 } # ac_fn_cxx_try_link
2166 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2167 # -------------------------------------------------------
2168 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2169 # the include files in INCLUDES and setting the cache variable VAR
2170 # accordingly.
2171 ac_fn_c_check_header_mongrel ()
2173 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2174 if eval \${$3+:} false; then :
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2176 $as_echo_n "checking for $2... " >&6; }
2177 if eval \${$3+:} false; then :
2178 $as_echo_n "(cached) " >&6
2180 eval ac_res=\$$3
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2182 $as_echo "$ac_res" >&6; }
2183 else
2184 # Is the header compilable?
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2186 $as_echo_n "checking $2 usability... " >&6; }
2187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2188 /* end confdefs.h. */
2190 #include <$2>
2191 _ACEOF
2192 if ac_fn_c_try_compile "$LINENO"; then :
2193 ac_header_compiler=yes
2194 else
2195 ac_header_compiler=no
2197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2199 $as_echo "$ac_header_compiler" >&6; }
2201 # Is the header present?
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2203 $as_echo_n "checking $2 presence... " >&6; }
2204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2205 /* end confdefs.h. */
2206 #include <$2>
2207 _ACEOF
2208 if ac_fn_c_try_cpp "$LINENO"; then :
2209 ac_header_preproc=yes
2210 else
2211 ac_header_preproc=no
2213 rm -f conftest.err conftest.i conftest.$ac_ext
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2215 $as_echo "$ac_header_preproc" >&6; }
2217 # So? What about this header?
2218 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2219 yes:no: )
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2221 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2223 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2225 no:yes:* )
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2227 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2229 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2231 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2233 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2235 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2237 esac
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2239 $as_echo_n "checking for $2... " >&6; }
2240 if eval \${$3+:} false; then :
2241 $as_echo_n "(cached) " >&6
2242 else
2243 eval "$3=\$ac_header_compiler"
2245 eval ac_res=\$$3
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2247 $as_echo "$ac_res" >&6; }
2249 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2251 } # ac_fn_c_check_header_mongrel
2253 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2254 # ---------------------------------------------------------
2255 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2256 # the include files in INCLUDES and setting the cache variable VAR
2257 # accordingly.
2258 ac_fn_cxx_check_header_mongrel ()
2260 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2261 if eval \${$3+:} false; then :
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2263 $as_echo_n "checking for $2... " >&6; }
2264 if eval \${$3+:} false; then :
2265 $as_echo_n "(cached) " >&6
2267 eval ac_res=\$$3
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2269 $as_echo "$ac_res" >&6; }
2270 else
2271 # Is the header compilable?
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2273 $as_echo_n "checking $2 usability... " >&6; }
2274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2275 /* end confdefs.h. */
2277 #include <$2>
2278 _ACEOF
2279 if ac_fn_cxx_try_compile "$LINENO"; then :
2280 ac_header_compiler=yes
2281 else
2282 ac_header_compiler=no
2284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2286 $as_echo "$ac_header_compiler" >&6; }
2288 # Is the header present?
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2290 $as_echo_n "checking $2 presence... " >&6; }
2291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2292 /* end confdefs.h. */
2293 #include <$2>
2294 _ACEOF
2295 if ac_fn_cxx_try_cpp "$LINENO"; then :
2296 ac_header_preproc=yes
2297 else
2298 ac_header_preproc=no
2300 rm -f conftest.err conftest.i conftest.$ac_ext
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2302 $as_echo "$ac_header_preproc" >&6; }
2304 # So? What about this header?
2305 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2306 yes:no: )
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2308 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2310 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2312 no:yes:* )
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2314 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2316 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2318 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2320 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2322 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2324 esac
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2326 $as_echo_n "checking for $2... " >&6; }
2327 if eval \${$3+:} false; then :
2328 $as_echo_n "(cached) " >&6
2329 else
2330 eval "$3=\$ac_header_compiler"
2332 eval ac_res=\$$3
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2334 $as_echo "$ac_res" >&6; }
2336 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2338 } # ac_fn_cxx_check_header_mongrel
2340 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2341 # --------------------------------------------
2342 # Tries to find the compile-time value of EXPR in a program that includes
2343 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2344 # computed
2345 ac_fn_c_compute_int ()
2347 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2348 if test "$cross_compiling" = yes; then
2349 # Depending upon the size, compute the lo and hi bounds.
2350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2351 /* end confdefs.h. */
2354 main ()
2356 static int test_array [1 - 2 * !(($2) >= 0)];
2357 test_array [0] = 0;
2358 return test_array [0];
2361 return 0;
2363 _ACEOF
2364 if ac_fn_c_try_compile "$LINENO"; then :
2365 ac_lo=0 ac_mid=0
2366 while :; do
2367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2368 /* end confdefs.h. */
2371 main ()
2373 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
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_hi=$ac_mid; break
2383 else
2384 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2385 if test $ac_lo -le $ac_mid; then
2386 ac_lo= ac_hi=
2387 break
2389 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2392 done
2393 else
2394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2395 /* end confdefs.h. */
2398 main ()
2400 static int test_array [1 - 2 * !(($2) < 0)];
2401 test_array [0] = 0;
2402 return test_array [0];
2405 return 0;
2407 _ACEOF
2408 if ac_fn_c_try_compile "$LINENO"; then :
2409 ac_hi=-1 ac_mid=-1
2410 while :; do
2411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2412 /* end confdefs.h. */
2415 main ()
2417 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
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_lo=$ac_mid; break
2427 else
2428 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2429 if test $ac_mid -le $ac_hi; then
2430 ac_lo= ac_hi=
2431 break
2433 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2436 done
2437 else
2438 ac_lo= ac_hi=
2440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2443 # Binary search between lo and hi bounds.
2444 while test "x$ac_lo" != "x$ac_hi"; do
2445 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2447 /* end confdefs.h. */
2450 main ()
2452 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2453 test_array [0] = 0;
2454 return test_array [0];
2457 return 0;
2459 _ACEOF
2460 if ac_fn_c_try_compile "$LINENO"; then :
2461 ac_hi=$ac_mid
2462 else
2463 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2466 done
2467 case $ac_lo in #((
2468 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2469 '') ac_retval=1 ;;
2470 esac
2471 else
2472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2473 /* end confdefs.h. */
2475 static long int longval () { return $2; }
2476 static unsigned long int ulongval () { return $2; }
2477 #include <stdio.h>
2478 #include <stdlib.h>
2480 main ()
2483 FILE *f = fopen ("conftest.val", "w");
2484 if (! f)
2485 return 1;
2486 if (($2) < 0)
2488 long int i = longval ();
2489 if (i != ($2))
2490 return 1;
2491 fprintf (f, "%ld", i);
2493 else
2495 unsigned long int i = ulongval ();
2496 if (i != ($2))
2497 return 1;
2498 fprintf (f, "%lu", i);
2500 /* Do not output a trailing newline, as this causes \r\n confusion
2501 on some platforms. */
2502 return ferror (f) || fclose (f) != 0;
2505 return 0;
2507 _ACEOF
2508 if ac_fn_c_try_run "$LINENO"; then :
2509 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2510 else
2511 ac_retval=1
2513 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2514 conftest.$ac_objext conftest.beam conftest.$ac_ext
2515 rm -f conftest.val
2518 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2519 as_fn_set_status $ac_retval
2521 } # ac_fn_c_compute_int
2523 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2524 # -------------------------------------------
2525 # Tests whether TYPE exists after having included INCLUDES, setting cache
2526 # variable VAR accordingly.
2527 ac_fn_c_check_type ()
2529 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2531 $as_echo_n "checking for $2... " >&6; }
2532 if eval \${$3+:} false; then :
2533 $as_echo_n "(cached) " >&6
2534 else
2535 eval "$3=no"
2536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2537 /* end confdefs.h. */
2540 main ()
2542 if (sizeof ($2))
2543 return 0;
2545 return 0;
2547 _ACEOF
2548 if ac_fn_c_try_compile "$LINENO"; then :
2549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2550 /* end confdefs.h. */
2553 main ()
2555 if (sizeof (($2)))
2556 return 0;
2558 return 0;
2560 _ACEOF
2561 if ac_fn_c_try_compile "$LINENO"; then :
2563 else
2564 eval "$3=yes"
2566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2570 eval ac_res=\$$3
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2572 $as_echo "$ac_res" >&6; }
2573 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2575 } # ac_fn_c_check_type
2577 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2578 # ---------------------------------------------
2579 # Tests whether TYPE exists after having included INCLUDES, setting cache
2580 # variable VAR accordingly.
2581 ac_fn_cxx_check_type ()
2583 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2585 $as_echo_n "checking for $2... " >&6; }
2586 if eval \${$3+:} false; then :
2587 $as_echo_n "(cached) " >&6
2588 else
2589 eval "$3=no"
2590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2591 /* end confdefs.h. */
2594 main ()
2596 if (sizeof ($2))
2597 return 0;
2599 return 0;
2601 _ACEOF
2602 if ac_fn_cxx_try_compile "$LINENO"; then :
2603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2604 /* end confdefs.h. */
2607 main ()
2609 if (sizeof (($2)))
2610 return 0;
2612 return 0;
2614 _ACEOF
2615 if ac_fn_cxx_try_compile "$LINENO"; then :
2617 else
2618 eval "$3=yes"
2620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2624 eval ac_res=\$$3
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2626 $as_echo "$ac_res" >&6; }
2627 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2629 } # ac_fn_cxx_check_type
2630 cat >config.log <<_ACEOF
2631 This file contains any messages produced by compilers while
2632 running configure, to aid debugging if configure makes a mistake.
2634 It was created by package-unused $as_me version-unused, which was
2635 generated by GNU Autoconf 2.69. Invocation command line was
2637 $ $0 $@
2639 _ACEOF
2640 exec 5>>config.log
2642 cat <<_ASUNAME
2643 ## --------- ##
2644 ## Platform. ##
2645 ## --------- ##
2647 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2648 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2649 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2650 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2651 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2653 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2654 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2656 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2657 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2658 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2659 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2660 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2661 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2662 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2664 _ASUNAME
2666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2667 for as_dir in $PATH
2669 IFS=$as_save_IFS
2670 test -z "$as_dir" && as_dir=.
2671 $as_echo "PATH: $as_dir"
2672 done
2673 IFS=$as_save_IFS
2675 } >&5
2677 cat >&5 <<_ACEOF
2680 ## ----------- ##
2681 ## Core tests. ##
2682 ## ----------- ##
2684 _ACEOF
2687 # Keep a trace of the command line.
2688 # Strip out --no-create and --no-recursion so they do not pile up.
2689 # Strip out --silent because we don't want to record it for future runs.
2690 # Also quote any args containing shell meta-characters.
2691 # Make two passes to allow for proper duplicate-argument suppression.
2692 ac_configure_args=
2693 ac_configure_args0=
2694 ac_configure_args1=
2695 ac_must_keep_next=false
2696 for ac_pass in 1 2
2698 for ac_arg
2700 case $ac_arg in
2701 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2702 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2703 | -silent | --silent | --silen | --sile | --sil)
2704 continue ;;
2705 *\'*)
2706 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2707 esac
2708 case $ac_pass in
2709 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2711 as_fn_append ac_configure_args1 " '$ac_arg'"
2712 if test $ac_must_keep_next = true; then
2713 ac_must_keep_next=false # Got value, back to normal.
2714 else
2715 case $ac_arg in
2716 *=* | --config-cache | -C | -disable-* | --disable-* \
2717 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2718 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2719 | -with-* | --with-* | -without-* | --without-* | --x)
2720 case "$ac_configure_args0 " in
2721 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2722 esac
2724 -* ) ac_must_keep_next=true ;;
2725 esac
2727 as_fn_append ac_configure_args " '$ac_arg'"
2729 esac
2730 done
2731 done
2732 { ac_configure_args0=; unset ac_configure_args0;}
2733 { ac_configure_args1=; unset ac_configure_args1;}
2735 # When interrupted or exit'd, cleanup temporary files, and complete
2736 # config.log. We remove comments because anyway the quotes in there
2737 # would cause problems or look ugly.
2738 # WARNING: Use '\'' to represent an apostrophe within the trap.
2739 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2740 trap 'exit_status=$?
2741 # Save into config.log some information that might help in debugging.
2743 echo
2745 $as_echo "## ---------------- ##
2746 ## Cache variables. ##
2747 ## ---------------- ##"
2748 echo
2749 # The following way of writing the cache mishandles newlines in values,
2751 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2752 eval ac_val=\$$ac_var
2753 case $ac_val in #(
2754 *${as_nl}*)
2755 case $ac_var in #(
2756 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2757 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2758 esac
2759 case $ac_var in #(
2760 _ | IFS | as_nl) ;; #(
2761 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2762 *) { eval $ac_var=; unset $ac_var;} ;;
2763 esac ;;
2764 esac
2765 done
2766 (set) 2>&1 |
2767 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2768 *${as_nl}ac_space=\ *)
2769 sed -n \
2770 "s/'\''/'\''\\\\'\'''\''/g;
2771 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2772 ;; #(
2774 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2776 esac |
2777 sort
2779 echo
2781 $as_echo "## ----------------- ##
2782 ## Output variables. ##
2783 ## ----------------- ##"
2784 echo
2785 for ac_var in $ac_subst_vars
2787 eval ac_val=\$$ac_var
2788 case $ac_val in
2789 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2790 esac
2791 $as_echo "$ac_var='\''$ac_val'\''"
2792 done | sort
2793 echo
2795 if test -n "$ac_subst_files"; then
2796 $as_echo "## ------------------- ##
2797 ## File substitutions. ##
2798 ## ------------------- ##"
2799 echo
2800 for ac_var in $ac_subst_files
2802 eval ac_val=\$$ac_var
2803 case $ac_val in
2804 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2805 esac
2806 $as_echo "$ac_var='\''$ac_val'\''"
2807 done | sort
2808 echo
2811 if test -s confdefs.h; then
2812 $as_echo "## ----------- ##
2813 ## confdefs.h. ##
2814 ## ----------- ##"
2815 echo
2816 cat confdefs.h
2817 echo
2819 test "$ac_signal" != 0 &&
2820 $as_echo "$as_me: caught signal $ac_signal"
2821 $as_echo "$as_me: exit $exit_status"
2822 } >&5
2823 rm -f core *.core core.conftest.* &&
2824 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2825 exit $exit_status
2827 for ac_signal in 1 2 13 15; do
2828 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2829 done
2830 ac_signal=0
2832 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2833 rm -f -r conftest* confdefs.h
2835 $as_echo "/* confdefs.h */" > confdefs.h
2837 # Predefined preprocessor variables.
2839 cat >>confdefs.h <<_ACEOF
2840 #define PACKAGE_NAME "$PACKAGE_NAME"
2841 _ACEOF
2843 cat >>confdefs.h <<_ACEOF
2844 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2845 _ACEOF
2847 cat >>confdefs.h <<_ACEOF
2848 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2849 _ACEOF
2851 cat >>confdefs.h <<_ACEOF
2852 #define PACKAGE_STRING "$PACKAGE_STRING"
2853 _ACEOF
2855 cat >>confdefs.h <<_ACEOF
2856 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2857 _ACEOF
2859 cat >>confdefs.h <<_ACEOF
2860 #define PACKAGE_URL "$PACKAGE_URL"
2861 _ACEOF
2864 # Let the site file select an alternate cache file if it wants to.
2865 # Prefer an explicitly selected file to automatically selected ones.
2866 ac_site_file1=NONE
2867 ac_site_file2=NONE
2868 if test -n "$CONFIG_SITE"; then
2869 # We do not want a PATH search for config.site.
2870 case $CONFIG_SITE in #((
2871 -*) ac_site_file1=./$CONFIG_SITE;;
2872 */*) ac_site_file1=$CONFIG_SITE;;
2873 *) ac_site_file1=./$CONFIG_SITE;;
2874 esac
2875 elif test "x$prefix" != xNONE; then
2876 ac_site_file1=$prefix/share/config.site
2877 ac_site_file2=$prefix/etc/config.site
2878 else
2879 ac_site_file1=$ac_default_prefix/share/config.site
2880 ac_site_file2=$ac_default_prefix/etc/config.site
2882 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2884 test "x$ac_site_file" = xNONE && continue
2885 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2887 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2888 sed 's/^/| /' "$ac_site_file" >&5
2889 . "$ac_site_file" \
2890 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2891 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2892 as_fn_error $? "failed to load site script $ac_site_file
2893 See \`config.log' for more details" "$LINENO" 5; }
2895 done
2897 if test -r "$cache_file"; then
2898 # Some versions of bash will fail to source /dev/null (special files
2899 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2900 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2902 $as_echo "$as_me: loading cache $cache_file" >&6;}
2903 case $cache_file in
2904 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2905 *) . "./$cache_file";;
2906 esac
2908 else
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2910 $as_echo "$as_me: creating cache $cache_file" >&6;}
2911 >$cache_file
2914 # Check that the precious variables saved in the cache have kept the same
2915 # value.
2916 ac_cache_corrupted=false
2917 for ac_var in $ac_precious_vars; do
2918 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2919 eval ac_new_set=\$ac_env_${ac_var}_set
2920 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2921 eval ac_new_val=\$ac_env_${ac_var}_value
2922 case $ac_old_set,$ac_new_set in
2923 set,)
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2925 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2926 ac_cache_corrupted=: ;;
2927 ,set)
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2929 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2930 ac_cache_corrupted=: ;;
2931 ,);;
2933 if test "x$ac_old_val" != "x$ac_new_val"; then
2934 # differences in whitespace do not lead to failure.
2935 ac_old_val_w=`echo x $ac_old_val`
2936 ac_new_val_w=`echo x $ac_new_val`
2937 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2939 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2940 ac_cache_corrupted=:
2941 else
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2943 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2944 eval $ac_var=\$ac_old_val
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2947 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2949 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2950 fi;;
2951 esac
2952 # Pass precious variables to config.status.
2953 if test "$ac_new_set" = set; then
2954 case $ac_new_val in
2955 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2956 *) ac_arg=$ac_var=$ac_new_val ;;
2957 esac
2958 case " $ac_configure_args " in
2959 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2960 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2961 esac
2963 done
2964 if $ac_cache_corrupted; then
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2966 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2968 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2969 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2971 ## -------------------- ##
2972 ## Main body of script. ##
2973 ## -------------------- ##
2975 ac_ext=c
2976 ac_cpp='$CPP $CPPFLAGS'
2977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2986 ac_config_headers="$ac_config_headers config.h"
2989 # This works around the fact that libtool configuration may change LD
2990 # for this particular configuration, but some shells, instead of
2991 # keeping the changes in LD private, export them just because LD is
2992 # exported. Only used at the end of this file.
2993 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2995 # Find the rest of the source tree framework.
2996 # Default to --enable-multilib
2997 # Check whether --enable-multilib was given.
2998 if test "${enable_multilib+set}" = set; then :
2999 enableval=$enable_multilib; case "$enableval" in
3000 yes) multilib=yes ;;
3001 no) multilib=no ;;
3002 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
3003 esac
3004 else
3005 multilib=yes
3009 # We may get other options which we leave undocumented:
3010 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3011 # See config-ml.in if you want the gory details.
3013 if test "$srcdir" = "."; then
3014 if test "$with_target_subdir" != "."; then
3015 multi_basedir="$srcdir/$with_multisrctop../.."
3016 else
3017 multi_basedir="$srcdir/$with_multisrctop.."
3019 else
3020 multi_basedir="$srcdir/.."
3024 # Even if the default multilib is not a cross compilation,
3025 # it may be that some of the other multilibs are.
3026 if test $cross_compiling = no && test $multilib = yes \
3027 && test "x${with_multisubdir}" != x ; then
3028 cross_compiling=maybe
3031 ac_config_commands="$ac_config_commands default-1"
3034 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
3036 # You will slowly go insane if you do not grok the following fact: when
3037 # building v3 as part of the compiler, the top-level /target/ becomes the
3038 # library's /host/. configure then causes --target to default to --host,
3039 # exactly like any other package using autoconf. Therefore, 'target' and
3040 # 'host' will always be the same. This makes sense both for native and
3041 # cross compilers, just think about it for a little while. :-)
3043 # Also, if v3 is being configured as part of a cross compiler, the top-level
3044 # configure script will pass the "real" host as $with_cross_host.
3046 # Do not delete or change the following two lines. For why, see
3047 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
3048 ac_aux_dir=
3049 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3050 if test -f "$ac_dir/install-sh"; then
3051 ac_aux_dir=$ac_dir
3052 ac_install_sh="$ac_aux_dir/install-sh -c"
3053 break
3054 elif test -f "$ac_dir/install.sh"; then
3055 ac_aux_dir=$ac_dir
3056 ac_install_sh="$ac_aux_dir/install.sh -c"
3057 break
3058 elif test -f "$ac_dir/shtool"; then
3059 ac_aux_dir=$ac_dir
3060 ac_install_sh="$ac_aux_dir/shtool install -c"
3061 break
3063 done
3064 if test -z "$ac_aux_dir"; then
3065 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3068 # These three variables are undocumented and unsupported,
3069 # and are intended to be withdrawn in a future Autoconf release.
3070 # They can cause serious problems if a builder's source tree is in a directory
3071 # whose full name contains unusual characters.
3072 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3073 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3074 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3077 # Make sure we can run config.sub.
3078 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3079 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3082 $as_echo_n "checking build system type... " >&6; }
3083 if ${ac_cv_build+:} false; then :
3084 $as_echo_n "(cached) " >&6
3085 else
3086 ac_build_alias=$build_alias
3087 test "x$ac_build_alias" = x &&
3088 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3089 test "x$ac_build_alias" = x &&
3090 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3091 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3092 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3096 $as_echo "$ac_cv_build" >&6; }
3097 case $ac_cv_build in
3098 *-*-*) ;;
3099 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3100 esac
3101 build=$ac_cv_build
3102 ac_save_IFS=$IFS; IFS='-'
3103 set x $ac_cv_build
3104 shift
3105 build_cpu=$1
3106 build_vendor=$2
3107 shift; shift
3108 # Remember, the first character of IFS is used to create $*,
3109 # except with old shells:
3110 build_os=$*
3111 IFS=$ac_save_IFS
3112 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3116 $as_echo_n "checking host system type... " >&6; }
3117 if ${ac_cv_host+:} false; then :
3118 $as_echo_n "(cached) " >&6
3119 else
3120 if test "x$host_alias" = x; then
3121 ac_cv_host=$ac_cv_build
3122 else
3123 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3124 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3129 $as_echo "$ac_cv_host" >&6; }
3130 case $ac_cv_host in
3131 *-*-*) ;;
3132 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3133 esac
3134 host=$ac_cv_host
3135 ac_save_IFS=$IFS; IFS='-'
3136 set x $ac_cv_host
3137 shift
3138 host_cpu=$1
3139 host_vendor=$2
3140 shift; shift
3141 # Remember, the first character of IFS is used to create $*,
3142 # except with old shells:
3143 host_os=$*
3144 IFS=$ac_save_IFS
3145 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3149 $as_echo_n "checking target system type... " >&6; }
3150 if ${ac_cv_target+:} false; then :
3151 $as_echo_n "(cached) " >&6
3152 else
3153 if test "x$target_alias" = x; then
3154 ac_cv_target=$ac_cv_host
3155 else
3156 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3157 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3162 $as_echo "$ac_cv_target" >&6; }
3163 case $ac_cv_target in
3164 *-*-*) ;;
3165 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
3166 esac
3167 target=$ac_cv_target
3168 ac_save_IFS=$IFS; IFS='-'
3169 set x $ac_cv_target
3170 shift
3171 target_cpu=$1
3172 target_vendor=$2
3173 shift; shift
3174 # Remember, the first character of IFS is used to create $*,
3175 # except with old shells:
3176 target_os=$*
3177 IFS=$ac_save_IFS
3178 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3181 # The aliases save the names the user supplied, while $host etc.
3182 # will get canonicalized.
3183 test -n "$target_alias" &&
3184 test "$program_prefix$program_suffix$program_transform_name" = \
3185 NONENONEs,x,x, &&
3186 program_prefix=${target_alias}-
3188 target_alias=${target_alias-$host_alias}
3190 # Handy for debugging:
3191 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3193 if test "$build" != "$host"; then
3194 # We are being configured with some form of cross compiler.
3195 GLIBCXX_IS_NATIVE=false
3196 case "$host","$target" in
3197 # Darwin crosses can use the host system's libraries and headers,
3198 # because of the fat library support. Of course, it must be the
3199 # same version of Darwin on both sides. Allow the user to
3200 # just say --target=foo-darwin without a version number to mean
3201 # "the version on this system".
3202 *-*-darwin*,*-*-darwin*)
3203 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3204 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3205 if test $hostos = $targetos -o $targetos = darwin ; then
3206 GLIBCXX_IS_NATIVE=true
3213 esac
3214 else
3215 GLIBCXX_IS_NATIVE=true
3218 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3219 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3220 # 1.x: minimum required version
3221 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3222 # of other PACKAGE_* variables will, however, and there's nothing
3223 # we can do about that; they come from AC_INIT).
3224 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3225 # file in the top srcdir, etc, etc), so stop complaining.
3226 # no-dependencies: turns off auto dependency generation (just for now)
3227 # no-dist: we don't want 'dist' and related rules.
3228 # -Wall: turns on all automake warnings...
3229 # -Wno-portability: ...except this one, since GNU make is now required.
3230 am__api_version='1.15'
3232 # Find a good install program. We prefer a C program (faster),
3233 # so one script is as good as another. But avoid the broken or
3234 # incompatible versions:
3235 # SysV /etc/install, /usr/sbin/install
3236 # SunOS /usr/etc/install
3237 # IRIX /sbin/install
3238 # AIX /bin/install
3239 # AmigaOS /C/install, which installs bootblocks on floppy discs
3240 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3241 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3242 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3243 # OS/2's system install, which has a completely different semantic
3244 # ./install, which can be erroneously created by make from ./install.sh.
3245 # Reject install programs that cannot install multiple files.
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3247 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3248 if test -z "$INSTALL"; then
3249 if ${ac_cv_path_install+:} false; then :
3250 $as_echo_n "(cached) " >&6
3251 else
3252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3253 for as_dir in $PATH
3255 IFS=$as_save_IFS
3256 test -z "$as_dir" && as_dir=.
3257 # Account for people who put trailing slashes in PATH elements.
3258 case $as_dir/ in #((
3259 ./ | .// | /[cC]/* | \
3260 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3261 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3262 /usr/ucb/* ) ;;
3264 # OSF1 and SCO ODT 3.0 have their own names for install.
3265 # Don't use installbsd from OSF since it installs stuff as root
3266 # by default.
3267 for ac_prog in ginstall scoinst install; do
3268 for ac_exec_ext in '' $ac_executable_extensions; do
3269 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3270 if test $ac_prog = install &&
3271 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3272 # AIX install. It has an incompatible calling convention.
3274 elif test $ac_prog = install &&
3275 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3276 # program-specific install script used by HP pwplus--don't use.
3278 else
3279 rm -rf conftest.one conftest.two conftest.dir
3280 echo one > conftest.one
3281 echo two > conftest.two
3282 mkdir conftest.dir
3283 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3284 test -s conftest.one && test -s conftest.two &&
3285 test -s conftest.dir/conftest.one &&
3286 test -s conftest.dir/conftest.two
3287 then
3288 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3289 break 3
3293 done
3294 done
3296 esac
3298 done
3299 IFS=$as_save_IFS
3301 rm -rf conftest.one conftest.two conftest.dir
3304 if test "${ac_cv_path_install+set}" = set; then
3305 INSTALL=$ac_cv_path_install
3306 else
3307 # As a last resort, use the slow shell script. Don't cache a
3308 # value for INSTALL within a source directory, because that will
3309 # break other packages using the cache if that directory is
3310 # removed, or if the value is a relative name.
3311 INSTALL=$ac_install_sh
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3315 $as_echo "$INSTALL" >&6; }
3317 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3318 # It thinks the first close brace ends the variable substitution.
3319 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3321 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3323 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3326 $as_echo_n "checking whether build environment is sane... " >&6; }
3327 # Reject unsafe characters in $srcdir or the absolute working directory
3328 # name. Accept space and tab only in the latter.
3329 am_lf='
3331 case `pwd` in
3332 *[\\\"\#\$\&\'\`$am_lf]*)
3333 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3334 esac
3335 case $srcdir in
3336 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3337 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3338 esac
3340 # Do 'set' in a subshell so we don't clobber the current shell's
3341 # arguments. Must try -L first in case configure is actually a
3342 # symlink; some systems play weird games with the mod time of symlinks
3343 # (eg FreeBSD returns the mod time of the symlink's containing
3344 # directory).
3345 if (
3346 am_has_slept=no
3347 for am_try in 1 2; do
3348 echo "timestamp, slept: $am_has_slept" > conftest.file
3349 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3350 if test "$*" = "X"; then
3351 # -L didn't work.
3352 set X `ls -t "$srcdir/configure" conftest.file`
3354 if test "$*" != "X $srcdir/configure conftest.file" \
3355 && test "$*" != "X conftest.file $srcdir/configure"; then
3357 # If neither matched, then we have a broken ls. This can happen
3358 # if, for instance, CONFIG_SHELL is bash and it inherits a
3359 # broken ls alias from the environment. This has actually
3360 # happened. Such a system could not be considered "sane".
3361 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3362 alias in your environment" "$LINENO" 5
3364 if test "$2" = conftest.file || test $am_try -eq 2; then
3365 break
3367 # Just in case.
3368 sleep 1
3369 am_has_slept=yes
3370 done
3371 test "$2" = conftest.file
3373 then
3374 # Ok.
3376 else
3377 as_fn_error $? "newly created file is older than distributed files!
3378 Check your system clock" "$LINENO" 5
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3381 $as_echo "yes" >&6; }
3382 # If we didn't sleep, we still need to ensure time stamps of config.status and
3383 # generated files are strictly newer.
3384 am_sleep_pid=
3385 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3386 ( sleep 1 ) &
3387 am_sleep_pid=$!
3390 rm -f conftest.file
3392 test "$program_prefix" != NONE &&
3393 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3394 # Use a double $ so make ignores it.
3395 test "$program_suffix" != NONE &&
3396 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3397 # Double any \ or $.
3398 # By default was `s,x,x', remove it if useless.
3399 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3400 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3402 # Expand $ac_aux_dir to an absolute path.
3403 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3405 if test x"${MISSING+set}" != xset; then
3406 case $am_aux_dir in
3407 *\ * | *\ *)
3408 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3410 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3411 esac
3413 # Use eval to expand $SHELL
3414 if eval "$MISSING --is-lightweight"; then
3415 am_missing_run="$MISSING "
3416 else
3417 am_missing_run=
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3419 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3422 if test x"${install_sh+set}" != xset; then
3423 case $am_aux_dir in
3424 *\ * | *\ *)
3425 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3427 install_sh="\${SHELL} $am_aux_dir/install-sh"
3428 esac
3431 # Installed binaries are usually stripped using 'strip' when the user
3432 # run "make install-strip". However 'strip' might not be the right
3433 # tool to use in cross-compilation environments, therefore Automake
3434 # will honor the 'STRIP' environment variable to overrule this program.
3435 if test "$cross_compiling" != no; then
3436 if test -n "$ac_tool_prefix"; then
3437 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3438 set dummy ${ac_tool_prefix}strip; ac_word=$2
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3440 $as_echo_n "checking for $ac_word... " >&6; }
3441 if ${ac_cv_prog_STRIP+:} false; then :
3442 $as_echo_n "(cached) " >&6
3443 else
3444 if test -n "$STRIP"; then
3445 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3446 else
3447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3448 for as_dir in $PATH
3450 IFS=$as_save_IFS
3451 test -z "$as_dir" && as_dir=.
3452 for ac_exec_ext in '' $ac_executable_extensions; do
3453 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3454 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3456 break 2
3458 done
3459 done
3460 IFS=$as_save_IFS
3464 STRIP=$ac_cv_prog_STRIP
3465 if test -n "$STRIP"; then
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3467 $as_echo "$STRIP" >&6; }
3468 else
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3470 $as_echo "no" >&6; }
3475 if test -z "$ac_cv_prog_STRIP"; then
3476 ac_ct_STRIP=$STRIP
3477 # Extract the first word of "strip", so it can be a program name with args.
3478 set dummy strip; ac_word=$2
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3480 $as_echo_n "checking for $ac_word... " >&6; }
3481 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3482 $as_echo_n "(cached) " >&6
3483 else
3484 if test -n "$ac_ct_STRIP"; then
3485 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3486 else
3487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3488 for as_dir in $PATH
3490 IFS=$as_save_IFS
3491 test -z "$as_dir" && as_dir=.
3492 for ac_exec_ext in '' $ac_executable_extensions; do
3493 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3494 ac_cv_prog_ac_ct_STRIP="strip"
3495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3496 break 2
3498 done
3499 done
3500 IFS=$as_save_IFS
3504 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3505 if test -n "$ac_ct_STRIP"; then
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3507 $as_echo "$ac_ct_STRIP" >&6; }
3508 else
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3510 $as_echo "no" >&6; }
3513 if test "x$ac_ct_STRIP" = x; then
3514 STRIP=":"
3515 else
3516 case $cross_compiling:$ac_tool_warned in
3517 yes:)
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3519 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3520 ac_tool_warned=yes ;;
3521 esac
3522 STRIP=$ac_ct_STRIP
3524 else
3525 STRIP="$ac_cv_prog_STRIP"
3529 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3532 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3533 if test -z "$MKDIR_P"; then
3534 if ${ac_cv_path_mkdir+:} false; then :
3535 $as_echo_n "(cached) " >&6
3536 else
3537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3538 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3540 IFS=$as_save_IFS
3541 test -z "$as_dir" && as_dir=.
3542 for ac_prog in mkdir gmkdir; do
3543 for ac_exec_ext in '' $ac_executable_extensions; do
3544 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3545 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3546 'mkdir (GNU coreutils) '* | \
3547 'mkdir (coreutils) '* | \
3548 'mkdir (fileutils) '4.1*)
3549 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3550 break 3;;
3551 esac
3552 done
3553 done
3554 done
3555 IFS=$as_save_IFS
3559 test -d ./--version && rmdir ./--version
3560 if test "${ac_cv_path_mkdir+set}" = set; then
3561 MKDIR_P="$ac_cv_path_mkdir -p"
3562 else
3563 # As a last resort, use the slow shell script. Don't cache a
3564 # value for MKDIR_P within a source directory, because that will
3565 # break other packages using the cache if that directory is
3566 # removed, or if the value is a relative name.
3567 MKDIR_P="$ac_install_sh -d"
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3571 $as_echo "$MKDIR_P" >&6; }
3573 for ac_prog in gawk mawk nawk awk
3575 # Extract the first word of "$ac_prog", so it can be a program name with args.
3576 set dummy $ac_prog; ac_word=$2
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3578 $as_echo_n "checking for $ac_word... " >&6; }
3579 if ${ac_cv_prog_AWK+:} false; then :
3580 $as_echo_n "(cached) " >&6
3581 else
3582 if test -n "$AWK"; then
3583 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3584 else
3585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3586 for as_dir in $PATH
3588 IFS=$as_save_IFS
3589 test -z "$as_dir" && as_dir=.
3590 for ac_exec_ext in '' $ac_executable_extensions; do
3591 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3592 ac_cv_prog_AWK="$ac_prog"
3593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3594 break 2
3596 done
3597 done
3598 IFS=$as_save_IFS
3602 AWK=$ac_cv_prog_AWK
3603 if test -n "$AWK"; then
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3605 $as_echo "$AWK" >&6; }
3606 else
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3608 $as_echo "no" >&6; }
3612 test -n "$AWK" && break
3613 done
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3616 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3617 set x ${MAKE-make}
3618 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3619 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3620 $as_echo_n "(cached) " >&6
3621 else
3622 cat >conftest.make <<\_ACEOF
3623 SHELL = /bin/sh
3624 all:
3625 @echo '@@@%%%=$(MAKE)=@@@%%%'
3626 _ACEOF
3627 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3628 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3629 *@@@%%%=?*=@@@%%%*)
3630 eval ac_cv_prog_make_${ac_make}_set=yes;;
3632 eval ac_cv_prog_make_${ac_make}_set=no;;
3633 esac
3634 rm -f conftest.make
3636 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3638 $as_echo "yes" >&6; }
3639 SET_MAKE=
3640 else
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3642 $as_echo "no" >&6; }
3643 SET_MAKE="MAKE=${MAKE-make}"
3646 rm -rf .tst 2>/dev/null
3647 mkdir .tst 2>/dev/null
3648 if test -d .tst; then
3649 am__leading_dot=.
3650 else
3651 am__leading_dot=_
3653 rmdir .tst 2>/dev/null
3655 # Check whether --enable-silent-rules was given.
3656 if test "${enable_silent_rules+set}" = set; then :
3657 enableval=$enable_silent_rules;
3660 case $enable_silent_rules in # (((
3661 yes) AM_DEFAULT_VERBOSITY=0;;
3662 no) AM_DEFAULT_VERBOSITY=1;;
3663 *) AM_DEFAULT_VERBOSITY=1;;
3664 esac
3665 am_make=${MAKE-make}
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3667 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3668 if ${am_cv_make_support_nested_variables+:} false; then :
3669 $as_echo_n "(cached) " >&6
3670 else
3671 if $as_echo 'TRUE=$(BAR$(V))
3672 BAR0=false
3673 BAR1=true
3675 am__doit:
3676 @$(TRUE)
3677 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3678 am_cv_make_support_nested_variables=yes
3679 else
3680 am_cv_make_support_nested_variables=no
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3684 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3685 if test $am_cv_make_support_nested_variables = yes; then
3686 AM_V='$(V)'
3687 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3688 else
3689 AM_V=$AM_DEFAULT_VERBOSITY
3690 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3692 AM_BACKSLASH='\'
3694 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3695 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3696 # is not polluted with repeated "-I."
3697 am__isrc=' -I$(srcdir)'
3698 # test to see if srcdir already configured
3699 if test -f $srcdir/config.status; then
3700 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3704 # test whether we have cygpath
3705 if test -z "$CYGPATH_W"; then
3706 if (cygpath --version) >/dev/null 2>/dev/null; then
3707 CYGPATH_W='cygpath -w'
3708 else
3709 CYGPATH_W=echo
3714 # Define the identity of the package.
3715 PACKAGE='libstdc++'
3716 VERSION='version-unused'
3719 # Some tools Automake needs.
3721 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3724 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3727 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3730 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3733 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3735 # For better backward compatibility. To be removed once Automake 1.9.x
3736 # dies out for good. For more background, see:
3737 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3738 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3739 mkdir_p='$(MKDIR_P)'
3741 # We need awk for the "check" target (and possibly the TAP driver). The
3742 # system "awk" is bad on some platforms.
3743 # Always define AMTAR for backward compatibility. Yes, it's still used
3744 # in the wild :-( We should find a proper way to deprecate it ...
3745 AMTAR='$${TAR-tar}'
3748 # We'll loop over all known methods to create a tar archive until one works.
3749 _am_tools='gnutar pax cpio none'
3751 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3758 # POSIX will say in a future version that running "rm -f" with no argument
3759 # is OK; and we want to be able to make that assumption in our Makefile
3760 # recipes. So use an aggressive probe to check that the usage we want is
3761 # actually supported "in the wild" to an acceptable degree.
3762 # See automake bug#10828.
3763 # To make any issue more visible, cause the running configure to be aborted
3764 # by default if the 'rm' program in use doesn't match our expectations; the
3765 # user can still override this though.
3766 if rm -f && rm -fr && rm -rf; then : OK; else
3767 cat >&2 <<'END'
3768 Oops!
3770 Your 'rm' program seems unable to run without file operands specified
3771 on the command line, even when the '-f' option is present. This is contrary
3772 to the behaviour of most rm programs out there, and not conforming with
3773 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3775 Please tell bug-automake@gnu.org about your system, including the value
3776 of your $PATH and any error possibly output before this message. This
3777 can help us improve future automake versions.
3780 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3781 echo 'Configuration will proceed anyway, since you have set the' >&2
3782 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3783 echo >&2
3784 else
3785 cat >&2 <<'END'
3786 Aborting the configuration process, to ensure you take notice of the issue.
3788 You can download and install GNU coreutils to get an 'rm' implementation
3789 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3791 If you want to complete the configuration process using your problematic
3792 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3793 to "yes", and re-run configure.
3796 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3803 # -fno-builtin must be present here so that a non-conflicting form of
3804 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3806 save_CXXFLAGS="$CXXFLAGS"
3807 CXXFLAGS="$CXXFLAGS -fno-builtin"
3808 ac_ext=c
3809 ac_cpp='$CPP $CPPFLAGS'
3810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3813 if test -n "$ac_tool_prefix"; then
3814 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3815 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3817 $as_echo_n "checking for $ac_word... " >&6; }
3818 if ${ac_cv_prog_CC+:} false; then :
3819 $as_echo_n "(cached) " >&6
3820 else
3821 if test -n "$CC"; then
3822 ac_cv_prog_CC="$CC" # Let the user override the test.
3823 else
3824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3825 for as_dir in $PATH
3827 IFS=$as_save_IFS
3828 test -z "$as_dir" && as_dir=.
3829 for ac_exec_ext in '' $ac_executable_extensions; do
3830 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3831 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3833 break 2
3835 done
3836 done
3837 IFS=$as_save_IFS
3841 CC=$ac_cv_prog_CC
3842 if test -n "$CC"; then
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3844 $as_echo "$CC" >&6; }
3845 else
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3847 $as_echo "no" >&6; }
3852 if test -z "$ac_cv_prog_CC"; then
3853 ac_ct_CC=$CC
3854 # Extract the first word of "gcc", so it can be a program name with args.
3855 set dummy gcc; ac_word=$2
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3857 $as_echo_n "checking for $ac_word... " >&6; }
3858 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3859 $as_echo_n "(cached) " >&6
3860 else
3861 if test -n "$ac_ct_CC"; then
3862 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3863 else
3864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3865 for as_dir in $PATH
3867 IFS=$as_save_IFS
3868 test -z "$as_dir" && as_dir=.
3869 for ac_exec_ext in '' $ac_executable_extensions; do
3870 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3871 ac_cv_prog_ac_ct_CC="gcc"
3872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3873 break 2
3875 done
3876 done
3877 IFS=$as_save_IFS
3881 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3882 if test -n "$ac_ct_CC"; then
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3884 $as_echo "$ac_ct_CC" >&6; }
3885 else
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3887 $as_echo "no" >&6; }
3890 if test "x$ac_ct_CC" = x; then
3891 CC=""
3892 else
3893 case $cross_compiling:$ac_tool_warned in
3894 yes:)
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3896 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3897 ac_tool_warned=yes ;;
3898 esac
3899 CC=$ac_ct_CC
3901 else
3902 CC="$ac_cv_prog_CC"
3905 if test -z "$CC"; then
3906 if test -n "$ac_tool_prefix"; then
3907 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3908 set dummy ${ac_tool_prefix}cc; ac_word=$2
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3910 $as_echo_n "checking for $ac_word... " >&6; }
3911 if ${ac_cv_prog_CC+:} false; then :
3912 $as_echo_n "(cached) " >&6
3913 else
3914 if test -n "$CC"; then
3915 ac_cv_prog_CC="$CC" # Let the user override the test.
3916 else
3917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3918 for as_dir in $PATH
3920 IFS=$as_save_IFS
3921 test -z "$as_dir" && as_dir=.
3922 for ac_exec_ext in '' $ac_executable_extensions; do
3923 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3924 ac_cv_prog_CC="${ac_tool_prefix}cc"
3925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3926 break 2
3928 done
3929 done
3930 IFS=$as_save_IFS
3934 CC=$ac_cv_prog_CC
3935 if test -n "$CC"; then
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3937 $as_echo "$CC" >&6; }
3938 else
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3940 $as_echo "no" >&6; }
3946 if test -z "$CC"; then
3947 # Extract the first word of "cc", so it can be a program name with args.
3948 set dummy cc; 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 ac_prog_rejected=no
3958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3959 for as_dir in $PATH
3961 IFS=$as_save_IFS
3962 test -z "$as_dir" && as_dir=.
3963 for ac_exec_ext in '' $ac_executable_extensions; do
3964 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3965 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3966 ac_prog_rejected=yes
3967 continue
3969 ac_cv_prog_CC="cc"
3970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3971 break 2
3973 done
3974 done
3975 IFS=$as_save_IFS
3977 if test $ac_prog_rejected = yes; then
3978 # We found a bogon in the path, so make sure we never use it.
3979 set dummy $ac_cv_prog_CC
3980 shift
3981 if test $# != 0; then
3982 # We chose a different compiler from the bogus one.
3983 # However, it has the same basename, so the bogon will be chosen
3984 # first if we set CC to just the basename; use the full file name.
3985 shift
3986 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3991 CC=$ac_cv_prog_CC
3992 if test -n "$CC"; then
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3994 $as_echo "$CC" >&6; }
3995 else
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3997 $as_echo "no" >&6; }
4002 if test -z "$CC"; then
4003 if test -n "$ac_tool_prefix"; then
4004 for ac_prog in cl.exe
4006 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4007 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4009 $as_echo_n "checking for $ac_word... " >&6; }
4010 if ${ac_cv_prog_CC+:} false; then :
4011 $as_echo_n "(cached) " >&6
4012 else
4013 if test -n "$CC"; then
4014 ac_cv_prog_CC="$CC" # Let the user override the test.
4015 else
4016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4017 for as_dir in $PATH
4019 IFS=$as_save_IFS
4020 test -z "$as_dir" && as_dir=.
4021 for ac_exec_ext in '' $ac_executable_extensions; do
4022 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4023 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4025 break 2
4027 done
4028 done
4029 IFS=$as_save_IFS
4033 CC=$ac_cv_prog_CC
4034 if test -n "$CC"; then
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4036 $as_echo "$CC" >&6; }
4037 else
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4039 $as_echo "no" >&6; }
4043 test -n "$CC" && break
4044 done
4046 if test -z "$CC"; then
4047 ac_ct_CC=$CC
4048 for ac_prog in cl.exe
4050 # Extract the first word of "$ac_prog", so it can be a program name with args.
4051 set dummy $ac_prog; ac_word=$2
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4053 $as_echo_n "checking for $ac_word... " >&6; }
4054 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4055 $as_echo_n "(cached) " >&6
4056 else
4057 if test -n "$ac_ct_CC"; then
4058 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4059 else
4060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4061 for as_dir in $PATH
4063 IFS=$as_save_IFS
4064 test -z "$as_dir" && as_dir=.
4065 for ac_exec_ext in '' $ac_executable_extensions; do
4066 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4067 ac_cv_prog_ac_ct_CC="$ac_prog"
4068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4069 break 2
4071 done
4072 done
4073 IFS=$as_save_IFS
4077 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4078 if test -n "$ac_ct_CC"; then
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4080 $as_echo "$ac_ct_CC" >&6; }
4081 else
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4083 $as_echo "no" >&6; }
4087 test -n "$ac_ct_CC" && break
4088 done
4090 if test "x$ac_ct_CC" = x; then
4091 CC=""
4092 else
4093 case $cross_compiling:$ac_tool_warned in
4094 yes:)
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4096 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4097 ac_tool_warned=yes ;;
4098 esac
4099 CC=$ac_ct_CC
4106 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4107 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4108 as_fn_error $? "no acceptable C compiler found in \$PATH
4109 See \`config.log' for more details" "$LINENO" 5; }
4111 # Provide some information about the compiler.
4112 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4113 set X $ac_compile
4114 ac_compiler=$2
4115 for ac_option in --version -v -V -qversion; do
4116 { { ac_try="$ac_compiler $ac_option >&5"
4117 case "(($ac_try" in
4118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4119 *) ac_try_echo=$ac_try;;
4120 esac
4121 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4122 $as_echo "$ac_try_echo"; } >&5
4123 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4124 ac_status=$?
4125 if test -s conftest.err; then
4126 sed '10a\
4127 ... rest of stderr output deleted ...
4128 10q' conftest.err >conftest.er1
4129 cat conftest.er1 >&5
4131 rm -f conftest.er1 conftest.err
4132 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4133 test $ac_status = 0; }
4134 done
4136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4137 /* end confdefs.h. */
4138 #include <stdio.h>
4140 main ()
4142 printf ("hello world\n");
4144 return 0;
4146 _ACEOF
4147 # FIXME: Cleanup?
4148 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4149 (eval $ac_link) 2>&5
4150 ac_status=$?
4151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4152 test $ac_status = 0; }; then :
4153 gcc_no_link=no
4154 else
4155 gcc_no_link=yes
4157 if test x$gcc_no_link = xyes; then
4158 # Setting cross_compile will disable run tests; it will
4159 # also disable AC_CHECK_FILE but that's generally
4160 # correct if we can't link.
4161 cross_compiling=yes
4162 EXEEXT=
4163 else
4164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4165 /* end confdefs.h. */
4168 main ()
4172 return 0;
4174 _ACEOF
4175 ac_clean_files_save=$ac_clean_files
4176 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4177 # Try to create an executable without -o first, disregard a.out.
4178 # It will help us diagnose broken compilers, and finding out an intuition
4179 # of exeext.
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4181 $as_echo_n "checking whether the C compiler works... " >&6; }
4182 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4184 # The possible output files:
4185 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4187 ac_rmfiles=
4188 for ac_file in $ac_files
4190 case $ac_file in
4191 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4192 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4193 esac
4194 done
4195 rm -f $ac_rmfiles
4197 if { { ac_try="$ac_link_default"
4198 case "(($ac_try" in
4199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4200 *) ac_try_echo=$ac_try;;
4201 esac
4202 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4203 $as_echo "$ac_try_echo"; } >&5
4204 (eval "$ac_link_default") 2>&5
4205 ac_status=$?
4206 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4207 test $ac_status = 0; }; then :
4208 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4209 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4210 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4211 # so that the user can short-circuit this test for compilers unknown to
4212 # Autoconf.
4213 for ac_file in $ac_files ''
4215 test -f "$ac_file" || continue
4216 case $ac_file in
4217 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4219 [ab].out )
4220 # We found the default executable, but exeext='' is most
4221 # certainly right.
4222 break;;
4223 *.* )
4224 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4225 then :; else
4226 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4228 # We set ac_cv_exeext here because the later test for it is not
4229 # safe: cross compilers may not add the suffix if given an `-o'
4230 # argument, so we may need to know it at that point already.
4231 # Even if this section looks crufty: it has the advantage of
4232 # actually working.
4233 break;;
4235 break;;
4236 esac
4237 done
4238 test "$ac_cv_exeext" = no && ac_cv_exeext=
4240 else
4241 ac_file=''
4243 if test -z "$ac_file"; then :
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4245 $as_echo "no" >&6; }
4246 $as_echo "$as_me: failed program was:" >&5
4247 sed 's/^/| /' conftest.$ac_ext >&5
4249 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4250 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4251 as_fn_error 77 "C compiler cannot create executables
4252 See \`config.log' for more details" "$LINENO" 5; }
4253 else
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4255 $as_echo "yes" >&6; }
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4258 $as_echo_n "checking for C compiler default output file name... " >&6; }
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4260 $as_echo "$ac_file" >&6; }
4261 ac_exeext=$ac_cv_exeext
4263 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4264 ac_clean_files=$ac_clean_files_save
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4266 $as_echo_n "checking for suffix of executables... " >&6; }
4267 if { { ac_try="$ac_link"
4268 case "(($ac_try" in
4269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4270 *) ac_try_echo=$ac_try;;
4271 esac
4272 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4273 $as_echo "$ac_try_echo"; } >&5
4274 (eval "$ac_link") 2>&5
4275 ac_status=$?
4276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4277 test $ac_status = 0; }; then :
4278 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4279 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4280 # work properly (i.e., refer to `conftest.exe'), while it won't with
4281 # `rm'.
4282 for ac_file in conftest.exe conftest conftest.*; do
4283 test -f "$ac_file" || continue
4284 case $ac_file in
4285 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4286 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4287 break;;
4288 * ) break;;
4289 esac
4290 done
4291 else
4292 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4293 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4294 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4295 See \`config.log' for more details" "$LINENO" 5; }
4297 rm -f conftest conftest$ac_cv_exeext
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4299 $as_echo "$ac_cv_exeext" >&6; }
4301 rm -f conftest.$ac_ext
4302 EXEEXT=$ac_cv_exeext
4303 ac_exeext=$EXEEXT
4304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4305 /* end confdefs.h. */
4306 #include <stdio.h>
4308 main ()
4310 FILE *f = fopen ("conftest.out", "w");
4311 return ferror (f) || fclose (f) != 0;
4314 return 0;
4316 _ACEOF
4317 ac_clean_files="$ac_clean_files conftest.out"
4318 # Check that the compiler produces executables we can run. If not, either
4319 # the compiler is broken, or we cross compile.
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4321 $as_echo_n "checking whether we are cross compiling... " >&6; }
4322 if test "$cross_compiling" != yes; then
4323 { { ac_try="$ac_link"
4324 case "(($ac_try" in
4325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4326 *) ac_try_echo=$ac_try;;
4327 esac
4328 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4329 $as_echo "$ac_try_echo"; } >&5
4330 (eval "$ac_link") 2>&5
4331 ac_status=$?
4332 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4333 test $ac_status = 0; }
4334 if { ac_try='./conftest$ac_cv_exeext'
4335 { { case "(($ac_try" in
4336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4337 *) ac_try_echo=$ac_try;;
4338 esac
4339 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4340 $as_echo "$ac_try_echo"; } >&5
4341 (eval "$ac_try") 2>&5
4342 ac_status=$?
4343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4344 test $ac_status = 0; }; }; then
4345 cross_compiling=no
4346 else
4347 if test "$cross_compiling" = maybe; then
4348 cross_compiling=yes
4349 else
4350 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4351 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4352 as_fn_error $? "cannot run C compiled programs.
4353 If you meant to cross compile, use \`--host'.
4354 See \`config.log' for more details" "$LINENO" 5; }
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4359 $as_echo "$cross_compiling" >&6; }
4361 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4362 ac_clean_files=$ac_clean_files_save
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4365 $as_echo_n "checking for suffix of object files... " >&6; }
4366 if ${ac_cv_objext+:} false; then :
4367 $as_echo_n "(cached) " >&6
4368 else
4369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4370 /* end confdefs.h. */
4373 main ()
4377 return 0;
4379 _ACEOF
4380 rm -f conftest.o conftest.obj
4381 if { { ac_try="$ac_compile"
4382 case "(($ac_try" in
4383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4384 *) ac_try_echo=$ac_try;;
4385 esac
4386 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4387 $as_echo "$ac_try_echo"; } >&5
4388 (eval "$ac_compile") 2>&5
4389 ac_status=$?
4390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4391 test $ac_status = 0; }; then :
4392 for ac_file in conftest.o conftest.obj conftest.*; do
4393 test -f "$ac_file" || continue;
4394 case $ac_file in
4395 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4396 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4397 break;;
4398 esac
4399 done
4400 else
4401 $as_echo "$as_me: failed program was:" >&5
4402 sed 's/^/| /' conftest.$ac_ext >&5
4404 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4405 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4406 as_fn_error $? "cannot compute suffix of object files: cannot compile
4407 See \`config.log' for more details" "$LINENO" 5; }
4409 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4412 $as_echo "$ac_cv_objext" >&6; }
4413 OBJEXT=$ac_cv_objext
4414 ac_objext=$OBJEXT
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4416 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4417 if ${ac_cv_c_compiler_gnu+:} false; then :
4418 $as_echo_n "(cached) " >&6
4419 else
4420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4421 /* end confdefs.h. */
4424 main ()
4426 #ifndef __GNUC__
4427 choke me
4428 #endif
4431 return 0;
4433 _ACEOF
4434 if ac_fn_c_try_compile "$LINENO"; then :
4435 ac_compiler_gnu=yes
4436 else
4437 ac_compiler_gnu=no
4439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4440 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4444 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4445 if test $ac_compiler_gnu = yes; then
4446 GCC=yes
4447 else
4448 GCC=
4450 ac_test_CFLAGS=${CFLAGS+set}
4451 ac_save_CFLAGS=$CFLAGS
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4453 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4454 if ${ac_cv_prog_cc_g+:} false; then :
4455 $as_echo_n "(cached) " >&6
4456 else
4457 ac_save_c_werror_flag=$ac_c_werror_flag
4458 ac_c_werror_flag=yes
4459 ac_cv_prog_cc_g=no
4460 CFLAGS="-g"
4461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4462 /* end confdefs.h. */
4465 main ()
4469 return 0;
4471 _ACEOF
4472 if ac_fn_c_try_compile "$LINENO"; then :
4473 ac_cv_prog_cc_g=yes
4474 else
4475 CFLAGS=""
4476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4477 /* end confdefs.h. */
4480 main ()
4484 return 0;
4486 _ACEOF
4487 if ac_fn_c_try_compile "$LINENO"; then :
4489 else
4490 ac_c_werror_flag=$ac_save_c_werror_flag
4491 CFLAGS="-g"
4492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4493 /* end confdefs.h. */
4496 main ()
4500 return 0;
4502 _ACEOF
4503 if ac_fn_c_try_compile "$LINENO"; then :
4504 ac_cv_prog_cc_g=yes
4506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4511 ac_c_werror_flag=$ac_save_c_werror_flag
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4514 $as_echo "$ac_cv_prog_cc_g" >&6; }
4515 if test "$ac_test_CFLAGS" = set; then
4516 CFLAGS=$ac_save_CFLAGS
4517 elif test $ac_cv_prog_cc_g = yes; then
4518 if test "$GCC" = yes; then
4519 CFLAGS="-g -O2"
4520 else
4521 CFLAGS="-g"
4523 else
4524 if test "$GCC" = yes; then
4525 CFLAGS="-O2"
4526 else
4527 CFLAGS=
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4531 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4532 if ${ac_cv_prog_cc_c89+:} false; then :
4533 $as_echo_n "(cached) " >&6
4534 else
4535 ac_cv_prog_cc_c89=no
4536 ac_save_CC=$CC
4537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4538 /* end confdefs.h. */
4539 #include <stdarg.h>
4540 #include <stdio.h>
4541 struct stat;
4542 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4543 struct buf { int x; };
4544 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4545 static char *e (p, i)
4546 char **p;
4547 int i;
4549 return p[i];
4551 static char *f (char * (*g) (char **, int), char **p, ...)
4553 char *s;
4554 va_list v;
4555 va_start (v,p);
4556 s = g (p, va_arg (v,int));
4557 va_end (v);
4558 return s;
4561 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4562 function prototypes and stuff, but not '\xHH' hex character constants.
4563 These don't provoke an error unfortunately, instead are silently treated
4564 as 'x'. The following induces an error, until -std is added to get
4565 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4566 array size at least. It's necessary to write '\x00'==0 to get something
4567 that's true only with -std. */
4568 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4570 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4571 inside strings and character constants. */
4572 #define FOO(x) 'x'
4573 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4575 int test (int i, double x);
4576 struct s1 {int (*f) (int a);};
4577 struct s2 {int (*f) (double a);};
4578 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4579 int argc;
4580 char **argv;
4582 main ()
4584 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4586 return 0;
4588 _ACEOF
4589 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4590 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4592 CC="$ac_save_CC $ac_arg"
4593 if ac_fn_c_try_compile "$LINENO"; then :
4594 ac_cv_prog_cc_c89=$ac_arg
4596 rm -f core conftest.err conftest.$ac_objext
4597 test "x$ac_cv_prog_cc_c89" != "xno" && break
4598 done
4599 rm -f conftest.$ac_ext
4600 CC=$ac_save_CC
4603 # AC_CACHE_VAL
4604 case "x$ac_cv_prog_cc_c89" in
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4607 $as_echo "none needed" >&6; } ;;
4608 xno)
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4610 $as_echo "unsupported" >&6; } ;;
4612 CC="$CC $ac_cv_prog_cc_c89"
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4614 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4615 esac
4616 if test "x$ac_cv_prog_cc_c89" != xno; then :
4620 ac_ext=c
4621 ac_cpp='$CPP $CPPFLAGS'
4622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4626 ac_ext=c
4627 ac_cpp='$CPP $CPPFLAGS'
4628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4632 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4633 if ${am_cv_prog_cc_c_o+:} false; then :
4634 $as_echo_n "(cached) " >&6
4635 else
4636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4637 /* end confdefs.h. */
4640 main ()
4644 return 0;
4646 _ACEOF
4647 # Make sure it works both with $CC and with simple cc.
4648 # Following AC_PROG_CC_C_O, we do the test twice because some
4649 # compilers refuse to overwrite an existing .o file with -o,
4650 # though they will create one.
4651 am_cv_prog_cc_c_o=yes
4652 for am_i in 1 2; do
4653 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4654 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4655 ac_status=$?
4656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4657 (exit $ac_status); } \
4658 && test -f conftest2.$ac_objext; then
4659 : OK
4660 else
4661 am_cv_prog_cc_c_o=no
4662 break
4664 done
4665 rm -f core conftest*
4666 unset am_i
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4669 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4670 if test "$am_cv_prog_cc_c_o" != yes; then
4671 # Losing compiler, so override with the script.
4672 # FIXME: It is wrong to rewrite CC.
4673 # But if we don't then we get into trouble of one sort or another.
4674 # A longer-term fix would be to have automake use am__CC in this case,
4675 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4676 CC="$am_aux_dir/compile $CC"
4678 ac_ext=c
4679 ac_cpp='$CPP $CPPFLAGS'
4680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4685 ac_ext=cpp
4686 ac_cpp='$CXXCPP $CPPFLAGS'
4687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4690 if test -z "$CXX"; then
4691 if test -n "$CCC"; then
4692 CXX=$CCC
4693 else
4694 if test -n "$ac_tool_prefix"; then
4695 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4697 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4698 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4700 $as_echo_n "checking for $ac_word... " >&6; }
4701 if ${ac_cv_prog_CXX+:} false; then :
4702 $as_echo_n "(cached) " >&6
4703 else
4704 if test -n "$CXX"; then
4705 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4706 else
4707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4708 for as_dir in $PATH
4710 IFS=$as_save_IFS
4711 test -z "$as_dir" && as_dir=.
4712 for ac_exec_ext in '' $ac_executable_extensions; do
4713 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4714 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4716 break 2
4718 done
4719 done
4720 IFS=$as_save_IFS
4724 CXX=$ac_cv_prog_CXX
4725 if test -n "$CXX"; then
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4727 $as_echo "$CXX" >&6; }
4728 else
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4730 $as_echo "no" >&6; }
4734 test -n "$CXX" && break
4735 done
4737 if test -z "$CXX"; then
4738 ac_ct_CXX=$CXX
4739 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4741 # Extract the first word of "$ac_prog", so it can be a program name with args.
4742 set dummy $ac_prog; ac_word=$2
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4744 $as_echo_n "checking for $ac_word... " >&6; }
4745 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4746 $as_echo_n "(cached) " >&6
4747 else
4748 if test -n "$ac_ct_CXX"; then
4749 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4750 else
4751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4752 for as_dir in $PATH
4754 IFS=$as_save_IFS
4755 test -z "$as_dir" && as_dir=.
4756 for ac_exec_ext in '' $ac_executable_extensions; do
4757 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4758 ac_cv_prog_ac_ct_CXX="$ac_prog"
4759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4760 break 2
4762 done
4763 done
4764 IFS=$as_save_IFS
4768 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4769 if test -n "$ac_ct_CXX"; then
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4771 $as_echo "$ac_ct_CXX" >&6; }
4772 else
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4774 $as_echo "no" >&6; }
4778 test -n "$ac_ct_CXX" && break
4779 done
4781 if test "x$ac_ct_CXX" = x; then
4782 CXX="g++"
4783 else
4784 case $cross_compiling:$ac_tool_warned in
4785 yes:)
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4787 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4788 ac_tool_warned=yes ;;
4789 esac
4790 CXX=$ac_ct_CXX
4796 # Provide some information about the compiler.
4797 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4798 set X $ac_compile
4799 ac_compiler=$2
4800 for ac_option in --version -v -V -qversion; do
4801 { { ac_try="$ac_compiler $ac_option >&5"
4802 case "(($ac_try" in
4803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4804 *) ac_try_echo=$ac_try;;
4805 esac
4806 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4807 $as_echo "$ac_try_echo"; } >&5
4808 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4809 ac_status=$?
4810 if test -s conftest.err; then
4811 sed '10a\
4812 ... rest of stderr output deleted ...
4813 10q' conftest.err >conftest.er1
4814 cat conftest.er1 >&5
4816 rm -f conftest.er1 conftest.err
4817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4818 test $ac_status = 0; }
4819 done
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4822 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4823 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4824 $as_echo_n "(cached) " >&6
4825 else
4826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4827 /* end confdefs.h. */
4830 main ()
4832 #ifndef __GNUC__
4833 choke me
4834 #endif
4837 return 0;
4839 _ACEOF
4840 if ac_fn_cxx_try_compile "$LINENO"; then :
4841 ac_compiler_gnu=yes
4842 else
4843 ac_compiler_gnu=no
4845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4846 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4850 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4851 if test $ac_compiler_gnu = yes; then
4852 GXX=yes
4853 else
4854 GXX=
4856 ac_test_CXXFLAGS=${CXXFLAGS+set}
4857 ac_save_CXXFLAGS=$CXXFLAGS
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4859 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4860 if ${ac_cv_prog_cxx_g+:} false; then :
4861 $as_echo_n "(cached) " >&6
4862 else
4863 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4864 ac_cxx_werror_flag=yes
4865 ac_cv_prog_cxx_g=no
4866 CXXFLAGS="-g"
4867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4868 /* end confdefs.h. */
4871 main ()
4875 return 0;
4877 _ACEOF
4878 if ac_fn_cxx_try_compile "$LINENO"; then :
4879 ac_cv_prog_cxx_g=yes
4880 else
4881 CXXFLAGS=""
4882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4883 /* end confdefs.h. */
4886 main ()
4890 return 0;
4892 _ACEOF
4893 if ac_fn_cxx_try_compile "$LINENO"; then :
4895 else
4896 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4897 CXXFLAGS="-g"
4898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4899 /* end confdefs.h. */
4902 main ()
4906 return 0;
4908 _ACEOF
4909 if ac_fn_cxx_try_compile "$LINENO"; then :
4910 ac_cv_prog_cxx_g=yes
4912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4917 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4920 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4921 if test "$ac_test_CXXFLAGS" = set; then
4922 CXXFLAGS=$ac_save_CXXFLAGS
4923 elif test $ac_cv_prog_cxx_g = yes; then
4924 if test "$GXX" = yes; then
4925 CXXFLAGS="-g -O2"
4926 else
4927 CXXFLAGS="-g"
4929 else
4930 if test "$GXX" = yes; then
4931 CXXFLAGS="-O2"
4932 else
4933 CXXFLAGS=
4936 ac_ext=c
4937 ac_cpp='$CPP $CPPFLAGS'
4938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4942 CXXFLAGS="$save_CXXFLAGS"
4945 # Check whether --enable-largefile was given.
4946 if test "${enable_largefile+set}" = set; then :
4947 enableval=$enable_largefile;
4950 if test "$enable_largefile" != no; then
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4953 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4954 if ${ac_cv_sys_largefile_CC+:} false; then :
4955 $as_echo_n "(cached) " >&6
4956 else
4957 ac_cv_sys_largefile_CC=no
4958 if test "$GCC" != yes; then
4959 ac_save_CC=$CC
4960 while :; do
4961 # IRIX 6.2 and later do not support large files by default,
4962 # so use the C compiler's -n32 option if that helps.
4963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4964 /* end confdefs.h. */
4965 #include <sys/types.h>
4966 /* Check that off_t can represent 2**63 - 1 correctly.
4967 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4968 since some C++ compilers masquerading as C compilers
4969 incorrectly reject 9223372036854775807. */
4970 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4971 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4972 && LARGE_OFF_T % 2147483647 == 1)
4973 ? 1 : -1];
4975 main ()
4979 return 0;
4981 _ACEOF
4982 if ac_fn_c_try_compile "$LINENO"; then :
4983 break
4985 rm -f core conftest.err conftest.$ac_objext
4986 CC="$CC -n32"
4987 if ac_fn_c_try_compile "$LINENO"; then :
4988 ac_cv_sys_largefile_CC=' -n32'; break
4990 rm -f core conftest.err conftest.$ac_objext
4991 break
4992 done
4993 CC=$ac_save_CC
4994 rm -f conftest.$ac_ext
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4998 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4999 if test "$ac_cv_sys_largefile_CC" != no; then
5000 CC=$CC$ac_cv_sys_largefile_CC
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5004 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5005 if ${ac_cv_sys_file_offset_bits+:} false; then :
5006 $as_echo_n "(cached) " >&6
5007 else
5008 while :; do
5009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5010 /* end confdefs.h. */
5011 #include <sys/types.h>
5012 /* Check that off_t can represent 2**63 - 1 correctly.
5013 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5014 since some C++ compilers masquerading as C compilers
5015 incorrectly reject 9223372036854775807. */
5016 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5017 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5018 && LARGE_OFF_T % 2147483647 == 1)
5019 ? 1 : -1];
5021 main ()
5025 return 0;
5027 _ACEOF
5028 if ac_fn_c_try_compile "$LINENO"; then :
5029 ac_cv_sys_file_offset_bits=no; break
5031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5033 /* end confdefs.h. */
5034 #define _FILE_OFFSET_BITS 64
5035 #include <sys/types.h>
5036 /* Check that off_t can represent 2**63 - 1 correctly.
5037 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5038 since some C++ compilers masquerading as C compilers
5039 incorrectly reject 9223372036854775807. */
5040 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5041 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5042 && LARGE_OFF_T % 2147483647 == 1)
5043 ? 1 : -1];
5045 main ()
5049 return 0;
5051 _ACEOF
5052 if ac_fn_c_try_compile "$LINENO"; then :
5053 ac_cv_sys_file_offset_bits=64; break
5055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5056 ac_cv_sys_file_offset_bits=unknown
5057 break
5058 done
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5061 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5062 case $ac_cv_sys_file_offset_bits in #(
5063 no | unknown) ;;
5065 cat >>confdefs.h <<_ACEOF
5066 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5067 _ACEOF
5069 esac
5070 rm -rf conftest*
5071 if test $ac_cv_sys_file_offset_bits = unknown; then
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5073 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5074 if ${ac_cv_sys_large_files+:} false; then :
5075 $as_echo_n "(cached) " >&6
5076 else
5077 while :; do
5078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5079 /* end confdefs.h. */
5080 #include <sys/types.h>
5081 /* Check that off_t can represent 2**63 - 1 correctly.
5082 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5083 since some C++ compilers masquerading as C compilers
5084 incorrectly reject 9223372036854775807. */
5085 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5086 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5087 && LARGE_OFF_T % 2147483647 == 1)
5088 ? 1 : -1];
5090 main ()
5094 return 0;
5096 _ACEOF
5097 if ac_fn_c_try_compile "$LINENO"; then :
5098 ac_cv_sys_large_files=no; break
5100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5102 /* end confdefs.h. */
5103 #define _LARGE_FILES 1
5104 #include <sys/types.h>
5105 /* Check that off_t can represent 2**63 - 1 correctly.
5106 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5107 since some C++ compilers masquerading as C compilers
5108 incorrectly reject 9223372036854775807. */
5109 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5110 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5111 && LARGE_OFF_T % 2147483647 == 1)
5112 ? 1 : -1];
5114 main ()
5118 return 0;
5120 _ACEOF
5121 if ac_fn_c_try_compile "$LINENO"; then :
5122 ac_cv_sys_large_files=1; break
5124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5125 ac_cv_sys_large_files=unknown
5126 break
5127 done
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5130 $as_echo "$ac_cv_sys_large_files" >&6; }
5131 case $ac_cv_sys_large_files in #(
5132 no | unknown) ;;
5134 cat >>confdefs.h <<_ACEOF
5135 #define _LARGE_FILES $ac_cv_sys_large_files
5136 _ACEOF
5138 esac
5139 rm -rf conftest*
5146 # Runs configure.host, and assorted other critical bits. Sets
5147 # up critical shell variables.
5148 ac_ext=c
5149 ac_cpp='$CPP $CPPFLAGS'
5150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5154 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5155 # On Suns, sometimes $CPP names a directory.
5156 if test -n "$CPP" && test -d "$CPP"; then
5157 CPP=
5159 if test -z "$CPP"; then
5160 if ${ac_cv_prog_CPP+:} false; then :
5161 $as_echo_n "(cached) " >&6
5162 else
5163 # Double quotes because CPP needs to be expanded
5164 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5166 ac_preproc_ok=false
5167 for ac_c_preproc_warn_flag in '' yes
5169 # Use a header file that comes with gcc, so configuring glibc
5170 # with a fresh cross-compiler works.
5171 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5172 # <limits.h> exists even on freestanding compilers.
5173 # On the NeXT, cc -E runs the code through the compiler's parser,
5174 # not just through cpp. "Syntax error" is here to catch this case.
5175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5176 /* end confdefs.h. */
5177 #ifdef __STDC__
5178 # include <limits.h>
5179 #else
5180 # include <assert.h>
5181 #endif
5182 Syntax error
5183 _ACEOF
5184 if ac_fn_c_try_cpp "$LINENO"; then :
5186 else
5187 # Broken: fails on valid input.
5188 continue
5190 rm -f conftest.err conftest.i conftest.$ac_ext
5192 # OK, works on sane cases. Now check whether nonexistent headers
5193 # can be detected and how.
5194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5195 /* end confdefs.h. */
5196 #include <ac_nonexistent.h>
5197 _ACEOF
5198 if ac_fn_c_try_cpp "$LINENO"; then :
5199 # Broken: success on invalid input.
5200 continue
5201 else
5202 # Passes both tests.
5203 ac_preproc_ok=:
5204 break
5206 rm -f conftest.err conftest.i conftest.$ac_ext
5208 done
5209 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5210 rm -f conftest.i conftest.err conftest.$ac_ext
5211 if $ac_preproc_ok; then :
5212 break
5215 done
5216 ac_cv_prog_CPP=$CPP
5219 CPP=$ac_cv_prog_CPP
5220 else
5221 ac_cv_prog_CPP=$CPP
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5224 $as_echo "$CPP" >&6; }
5225 ac_preproc_ok=false
5226 for ac_c_preproc_warn_flag in '' yes
5228 # Use a header file that comes with gcc, so configuring glibc
5229 # with a fresh cross-compiler works.
5230 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5231 # <limits.h> exists even on freestanding compilers.
5232 # On the NeXT, cc -E runs the code through the compiler's parser,
5233 # not just through cpp. "Syntax error" is here to catch this case.
5234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5235 /* end confdefs.h. */
5236 #ifdef __STDC__
5237 # include <limits.h>
5238 #else
5239 # include <assert.h>
5240 #endif
5241 Syntax error
5242 _ACEOF
5243 if ac_fn_c_try_cpp "$LINENO"; then :
5245 else
5246 # Broken: fails on valid input.
5247 continue
5249 rm -f conftest.err conftest.i conftest.$ac_ext
5251 # OK, works on sane cases. Now check whether nonexistent headers
5252 # can be detected and how.
5253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5254 /* end confdefs.h. */
5255 #include <ac_nonexistent.h>
5256 _ACEOF
5257 if ac_fn_c_try_cpp "$LINENO"; then :
5258 # Broken: success on invalid input.
5259 continue
5260 else
5261 # Passes both tests.
5262 ac_preproc_ok=:
5263 break
5265 rm -f conftest.err conftest.i conftest.$ac_ext
5267 done
5268 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5269 rm -f conftest.i conftest.err conftest.$ac_ext
5270 if $ac_preproc_ok; then :
5272 else
5273 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5274 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5275 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5276 See \`config.log' for more details" "$LINENO" 5; }
5279 ac_ext=c
5280 ac_cpp='$CPP $CPPFLAGS'
5281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5287 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5288 if ${ac_cv_path_GREP+:} false; then :
5289 $as_echo_n "(cached) " >&6
5290 else
5291 if test -z "$GREP"; then
5292 ac_path_GREP_found=false
5293 # Loop through the user's path and test for each of PROGNAME-LIST
5294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5295 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5297 IFS=$as_save_IFS
5298 test -z "$as_dir" && as_dir=.
5299 for ac_prog in grep ggrep; do
5300 for ac_exec_ext in '' $ac_executable_extensions; do
5301 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5302 as_fn_executable_p "$ac_path_GREP" || continue
5303 # Check for GNU ac_path_GREP and select it if it is found.
5304 # Check for GNU $ac_path_GREP
5305 case `"$ac_path_GREP" --version 2>&1` in
5306 *GNU*)
5307 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5309 ac_count=0
5310 $as_echo_n 0123456789 >"conftest.in"
5311 while :
5313 cat "conftest.in" "conftest.in" >"conftest.tmp"
5314 mv "conftest.tmp" "conftest.in"
5315 cp "conftest.in" "conftest.nl"
5316 $as_echo 'GREP' >> "conftest.nl"
5317 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5318 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5319 as_fn_arith $ac_count + 1 && ac_count=$as_val
5320 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5321 # Best one so far, save it but keep looking for a better one
5322 ac_cv_path_GREP="$ac_path_GREP"
5323 ac_path_GREP_max=$ac_count
5325 # 10*(2^10) chars as input seems more than enough
5326 test $ac_count -gt 10 && break
5327 done
5328 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5329 esac
5331 $ac_path_GREP_found && break 3
5332 done
5333 done
5334 done
5335 IFS=$as_save_IFS
5336 if test -z "$ac_cv_path_GREP"; then
5337 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5339 else
5340 ac_cv_path_GREP=$GREP
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5345 $as_echo "$ac_cv_path_GREP" >&6; }
5346 GREP="$ac_cv_path_GREP"
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5350 $as_echo_n "checking for egrep... " >&6; }
5351 if ${ac_cv_path_EGREP+:} false; then :
5352 $as_echo_n "(cached) " >&6
5353 else
5354 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5355 then ac_cv_path_EGREP="$GREP -E"
5356 else
5357 if test -z "$EGREP"; then
5358 ac_path_EGREP_found=false
5359 # Loop through the user's path and test for each of PROGNAME-LIST
5360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5361 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5363 IFS=$as_save_IFS
5364 test -z "$as_dir" && as_dir=.
5365 for ac_prog in egrep; do
5366 for ac_exec_ext in '' $ac_executable_extensions; do
5367 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5368 as_fn_executable_p "$ac_path_EGREP" || continue
5369 # Check for GNU ac_path_EGREP and select it if it is found.
5370 # Check for GNU $ac_path_EGREP
5371 case `"$ac_path_EGREP" --version 2>&1` in
5372 *GNU*)
5373 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5375 ac_count=0
5376 $as_echo_n 0123456789 >"conftest.in"
5377 while :
5379 cat "conftest.in" "conftest.in" >"conftest.tmp"
5380 mv "conftest.tmp" "conftest.in"
5381 cp "conftest.in" "conftest.nl"
5382 $as_echo 'EGREP' >> "conftest.nl"
5383 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5384 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5385 as_fn_arith $ac_count + 1 && ac_count=$as_val
5386 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5387 # Best one so far, save it but keep looking for a better one
5388 ac_cv_path_EGREP="$ac_path_EGREP"
5389 ac_path_EGREP_max=$ac_count
5391 # 10*(2^10) chars as input seems more than enough
5392 test $ac_count -gt 10 && break
5393 done
5394 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5395 esac
5397 $ac_path_EGREP_found && break 3
5398 done
5399 done
5400 done
5401 IFS=$as_save_IFS
5402 if test -z "$ac_cv_path_EGREP"; then
5403 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5405 else
5406 ac_cv_path_EGREP=$EGREP
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5412 $as_echo "$ac_cv_path_EGREP" >&6; }
5413 EGREP="$ac_cv_path_EGREP"
5417 # Keep these sync'd with the list in Makefile.am. The first provides an
5418 # expandable list at autoconf time; the second provides an expandable list
5419 # (i.e., shell variable) at configure time.
5421 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/c++17 src/filesystem doc po testsuite python'
5423 # These need to be absolute paths, yet at the same time need to
5424 # canonicalize only relative paths, because then amd will not unmount
5425 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
5426 glibcxx_builddir=`${PWDCMD-pwd}`
5427 case $srcdir in
5428 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
5429 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
5430 esac
5431 toplevel_builddir=${glibcxx_builddir}/..
5432 toplevel_srcdir=${glibcxx_srcdir}/..
5438 # We use these options to decide which functions to include. They are
5439 # set from the top level.
5441 # Check whether --with-target-subdir was given.
5442 if test "${with_target_subdir+set}" = set; then :
5443 withval=$with_target_subdir;
5448 # Check whether --with-cross-host was given.
5449 if test "${with_cross_host+set}" = set; then :
5450 withval=$with_cross_host;
5455 # Check whether --with-newlib was given.
5456 if test "${with_newlib+set}" = set; then :
5457 withval=$with_newlib;
5461 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5462 # available). Uncomment the next line to force a particular method.
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5464 $as_echo_n "checking whether ln -s works... " >&6; }
5465 LN_S=$as_ln_s
5466 if test "$LN_S" = "ln -s"; then
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5468 $as_echo "yes" >&6; }
5469 else
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5471 $as_echo "no, using $LN_S" >&6; }
5474 #LN_S='cp -p'
5476 if test -n "$ac_tool_prefix"; then
5477 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5478 set dummy ${ac_tool_prefix}as; ac_word=$2
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5480 $as_echo_n "checking for $ac_word... " >&6; }
5481 if ${ac_cv_prog_AS+:} false; then :
5482 $as_echo_n "(cached) " >&6
5483 else
5484 if test -n "$AS"; then
5485 ac_cv_prog_AS="$AS" # Let the user override the test.
5486 else
5487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5488 for as_dir in $PATH
5490 IFS=$as_save_IFS
5491 test -z "$as_dir" && as_dir=.
5492 for ac_exec_ext in '' $ac_executable_extensions; do
5493 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5494 ac_cv_prog_AS="${ac_tool_prefix}as"
5495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5496 break 2
5498 done
5499 done
5500 IFS=$as_save_IFS
5504 AS=$ac_cv_prog_AS
5505 if test -n "$AS"; then
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5507 $as_echo "$AS" >&6; }
5508 else
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5510 $as_echo "no" >&6; }
5515 if test -z "$ac_cv_prog_AS"; then
5516 ac_ct_AS=$AS
5517 # Extract the first word of "as", so it can be a program name with args.
5518 set dummy as; ac_word=$2
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5520 $as_echo_n "checking for $ac_word... " >&6; }
5521 if ${ac_cv_prog_ac_ct_AS+:} false; then :
5522 $as_echo_n "(cached) " >&6
5523 else
5524 if test -n "$ac_ct_AS"; then
5525 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5526 else
5527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5528 for as_dir in $PATH
5530 IFS=$as_save_IFS
5531 test -z "$as_dir" && as_dir=.
5532 for ac_exec_ext in '' $ac_executable_extensions; do
5533 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5534 ac_cv_prog_ac_ct_AS="as"
5535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5536 break 2
5538 done
5539 done
5540 IFS=$as_save_IFS
5544 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5545 if test -n "$ac_ct_AS"; then
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5547 $as_echo "$ac_ct_AS" >&6; }
5548 else
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5550 $as_echo "no" >&6; }
5553 if test "x$ac_ct_AS" = x; then
5554 AS=""
5555 else
5556 case $cross_compiling:$ac_tool_warned in
5557 yes:)
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5559 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5560 ac_tool_warned=yes ;;
5561 esac
5562 AS=$ac_ct_AS
5564 else
5565 AS="$ac_cv_prog_AS"
5568 if test -n "$ac_tool_prefix"; then
5569 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5570 set dummy ${ac_tool_prefix}ar; ac_word=$2
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5572 $as_echo_n "checking for $ac_word... " >&6; }
5573 if ${ac_cv_prog_AR+:} false; then :
5574 $as_echo_n "(cached) " >&6
5575 else
5576 if test -n "$AR"; then
5577 ac_cv_prog_AR="$AR" # Let the user override the test.
5578 else
5579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5580 for as_dir in $PATH
5582 IFS=$as_save_IFS
5583 test -z "$as_dir" && as_dir=.
5584 for ac_exec_ext in '' $ac_executable_extensions; do
5585 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5586 ac_cv_prog_AR="${ac_tool_prefix}ar"
5587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5588 break 2
5590 done
5591 done
5592 IFS=$as_save_IFS
5596 AR=$ac_cv_prog_AR
5597 if test -n "$AR"; then
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5599 $as_echo "$AR" >&6; }
5600 else
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5602 $as_echo "no" >&6; }
5607 if test -z "$ac_cv_prog_AR"; then
5608 ac_ct_AR=$AR
5609 # Extract the first word of "ar", so it can be a program name with args.
5610 set dummy ar; ac_word=$2
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5612 $as_echo_n "checking for $ac_word... " >&6; }
5613 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5614 $as_echo_n "(cached) " >&6
5615 else
5616 if test -n "$ac_ct_AR"; then
5617 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5618 else
5619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5620 for as_dir in $PATH
5622 IFS=$as_save_IFS
5623 test -z "$as_dir" && as_dir=.
5624 for ac_exec_ext in '' $ac_executable_extensions; do
5625 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5626 ac_cv_prog_ac_ct_AR="ar"
5627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5628 break 2
5630 done
5631 done
5632 IFS=$as_save_IFS
5636 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5637 if test -n "$ac_ct_AR"; then
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5639 $as_echo "$ac_ct_AR" >&6; }
5640 else
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5642 $as_echo "no" >&6; }
5645 if test "x$ac_ct_AR" = x; then
5646 AR=""
5647 else
5648 case $cross_compiling:$ac_tool_warned in
5649 yes:)
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5651 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5652 ac_tool_warned=yes ;;
5653 esac
5654 AR=$ac_ct_AR
5656 else
5657 AR="$ac_cv_prog_AR"
5660 if test -n "$ac_tool_prefix"; then
5661 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5662 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5664 $as_echo_n "checking for $ac_word... " >&6; }
5665 if ${ac_cv_prog_RANLIB+:} false; then :
5666 $as_echo_n "(cached) " >&6
5667 else
5668 if test -n "$RANLIB"; then
5669 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5670 else
5671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5672 for as_dir in $PATH
5674 IFS=$as_save_IFS
5675 test -z "$as_dir" && as_dir=.
5676 for ac_exec_ext in '' $ac_executable_extensions; do
5677 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5678 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5680 break 2
5682 done
5683 done
5684 IFS=$as_save_IFS
5688 RANLIB=$ac_cv_prog_RANLIB
5689 if test -n "$RANLIB"; then
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5691 $as_echo "$RANLIB" >&6; }
5692 else
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5694 $as_echo "no" >&6; }
5699 if test -z "$ac_cv_prog_RANLIB"; then
5700 ac_ct_RANLIB=$RANLIB
5701 # Extract the first word of "ranlib", so it can be a program name with args.
5702 set dummy ranlib; ac_word=$2
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5704 $as_echo_n "checking for $ac_word... " >&6; }
5705 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5706 $as_echo_n "(cached) " >&6
5707 else
5708 if test -n "$ac_ct_RANLIB"; then
5709 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5710 else
5711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5712 for as_dir in $PATH
5714 IFS=$as_save_IFS
5715 test -z "$as_dir" && as_dir=.
5716 for ac_exec_ext in '' $ac_executable_extensions; do
5717 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5718 ac_cv_prog_ac_ct_RANLIB="ranlib"
5719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5720 break 2
5722 done
5723 done
5724 IFS=$as_save_IFS
5728 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5729 if test -n "$ac_ct_RANLIB"; then
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5731 $as_echo "$ac_ct_RANLIB" >&6; }
5732 else
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5734 $as_echo "no" >&6; }
5737 if test "x$ac_ct_RANLIB" = x; then
5738 RANLIB="ranlib-not-found-in-path-error"
5739 else
5740 case $cross_compiling:$ac_tool_warned in
5741 yes:)
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5743 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5744 ac_tool_warned=yes ;;
5745 esac
5746 RANLIB=$ac_ct_RANLIB
5748 else
5749 RANLIB="$ac_cv_prog_RANLIB"
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5755 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5756 # Check whether --enable-maintainer-mode was given.
5757 if test "${enable_maintainer_mode+set}" = set; then :
5758 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5759 else
5760 USE_MAINTAINER_MODE=no
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5764 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5765 if test $USE_MAINTAINER_MODE = yes; then
5766 MAINTAINER_MODE_TRUE=
5767 MAINTAINER_MODE_FALSE='#'
5768 else
5769 MAINTAINER_MODE_TRUE='#'
5770 MAINTAINER_MODE_FALSE=
5773 MAINT=$MAINTAINER_MODE_TRUE
5777 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5778 # which are themselves conditionally expanded.
5779 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5780 ## other macros from doing the same. This should be automated.) -pme
5782 # Check for C library flavor since GNU/Linux platforms use different
5783 # configuration directories depending on the C library in use.
5784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5785 /* end confdefs.h. */
5787 #include <stdio.h>
5788 #if __UCLIBC__
5789 _using_uclibc
5790 #endif
5792 _ACEOF
5793 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5794 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5795 uclibc=yes
5796 else
5797 uclibc=no
5799 rm -f conftest*
5802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5803 /* end confdefs.h. */
5805 #include <stdio.h>
5806 #if __BIONIC__
5807 _using_bionic
5808 #endif
5810 _ACEOF
5811 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5812 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5813 bionic=yes
5814 else
5815 bionic=no
5817 rm -f conftest*
5820 # Find platform-specific directories containing configuration info.
5821 # Also possibly modify flags used elsewhere, as needed by the platform.
5823 . $glibcxx_srcdir/configure.host
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5825 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5827 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5831 # Libtool setup.
5832 if test "x${with_newlib}" != "xyes"; then
5833 enable_dlopen=yes
5838 case `pwd` in
5839 *\ * | *\ *)
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5841 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5842 esac
5846 macro_version='2.2.7a'
5847 macro_revision='1.3134'
5861 ltmain="$ac_aux_dir/ltmain.sh"
5863 # Backslashify metacharacters that are still active within
5864 # double-quoted strings.
5865 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5867 # Same as above, but do not quote variable references.
5868 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5870 # Sed substitution to delay expansion of an escaped shell variable in a
5871 # double_quote_subst'ed string.
5872 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5874 # Sed substitution to delay expansion of an escaped single quote.
5875 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5877 # Sed substitution to avoid accidental globbing in evaled expressions
5878 no_glob_subst='s/\*/\\\*/g'
5880 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5881 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5882 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5885 $as_echo_n "checking how to print strings... " >&6; }
5886 # Test print first, because it will be a builtin if present.
5887 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5888 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5889 ECHO='print -r --'
5890 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5891 ECHO='printf %s\n'
5892 else
5893 # Use this function as a fallback that always works.
5894 func_fallback_echo ()
5896 eval 'cat <<_LTECHO_EOF
5898 _LTECHO_EOF'
5900 ECHO='func_fallback_echo'
5903 # func_echo_all arg...
5904 # Invoke $ECHO with all args, space-separated.
5905 func_echo_all ()
5907 $ECHO ""
5910 case "$ECHO" in
5911 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5912 $as_echo "printf" >&6; } ;;
5913 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5914 $as_echo "print -r" >&6; } ;;
5915 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5916 $as_echo "cat" >&6; } ;;
5917 esac
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5933 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5934 if ${ac_cv_path_SED+:} false; then :
5935 $as_echo_n "(cached) " >&6
5936 else
5937 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5938 for ac_i in 1 2 3 4 5 6 7; do
5939 ac_script="$ac_script$as_nl$ac_script"
5940 done
5941 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5942 { ac_script=; unset ac_script;}
5943 if test -z "$SED"; then
5944 ac_path_SED_found=false
5945 # Loop through the user's path and test for each of PROGNAME-LIST
5946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5947 for as_dir in $PATH
5949 IFS=$as_save_IFS
5950 test -z "$as_dir" && as_dir=.
5951 for ac_prog in sed gsed; do
5952 for ac_exec_ext in '' $ac_executable_extensions; do
5953 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5954 as_fn_executable_p "$ac_path_SED" || continue
5955 # Check for GNU ac_path_SED and select it if it is found.
5956 # Check for GNU $ac_path_SED
5957 case `"$ac_path_SED" --version 2>&1` in
5958 *GNU*)
5959 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5961 ac_count=0
5962 $as_echo_n 0123456789 >"conftest.in"
5963 while :
5965 cat "conftest.in" "conftest.in" >"conftest.tmp"
5966 mv "conftest.tmp" "conftest.in"
5967 cp "conftest.in" "conftest.nl"
5968 $as_echo '' >> "conftest.nl"
5969 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5970 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5971 as_fn_arith $ac_count + 1 && ac_count=$as_val
5972 if test $ac_count -gt ${ac_path_SED_max-0}; then
5973 # Best one so far, save it but keep looking for a better one
5974 ac_cv_path_SED="$ac_path_SED"
5975 ac_path_SED_max=$ac_count
5977 # 10*(2^10) chars as input seems more than enough
5978 test $ac_count -gt 10 && break
5979 done
5980 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5981 esac
5983 $ac_path_SED_found && break 3
5984 done
5985 done
5986 done
5987 IFS=$as_save_IFS
5988 if test -z "$ac_cv_path_SED"; then
5989 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5991 else
5992 ac_cv_path_SED=$SED
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5997 $as_echo "$ac_cv_path_SED" >&6; }
5998 SED="$ac_cv_path_SED"
5999 rm -f conftest.sed
6001 test -z "$SED" && SED=sed
6002 Xsed="$SED -e 1s/^X//"
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6015 $as_echo_n "checking for fgrep... " >&6; }
6016 if ${ac_cv_path_FGREP+:} false; then :
6017 $as_echo_n "(cached) " >&6
6018 else
6019 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6020 then ac_cv_path_FGREP="$GREP -F"
6021 else
6022 if test -z "$FGREP"; then
6023 ac_path_FGREP_found=false
6024 # Loop through the user's path and test for each of PROGNAME-LIST
6025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6026 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6028 IFS=$as_save_IFS
6029 test -z "$as_dir" && as_dir=.
6030 for ac_prog in fgrep; do
6031 for ac_exec_ext in '' $ac_executable_extensions; do
6032 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6033 as_fn_executable_p "$ac_path_FGREP" || continue
6034 # Check for GNU ac_path_FGREP and select it if it is found.
6035 # Check for GNU $ac_path_FGREP
6036 case `"$ac_path_FGREP" --version 2>&1` in
6037 *GNU*)
6038 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6040 ac_count=0
6041 $as_echo_n 0123456789 >"conftest.in"
6042 while :
6044 cat "conftest.in" "conftest.in" >"conftest.tmp"
6045 mv "conftest.tmp" "conftest.in"
6046 cp "conftest.in" "conftest.nl"
6047 $as_echo 'FGREP' >> "conftest.nl"
6048 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6049 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6050 as_fn_arith $ac_count + 1 && ac_count=$as_val
6051 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6052 # Best one so far, save it but keep looking for a better one
6053 ac_cv_path_FGREP="$ac_path_FGREP"
6054 ac_path_FGREP_max=$ac_count
6056 # 10*(2^10) chars as input seems more than enough
6057 test $ac_count -gt 10 && break
6058 done
6059 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6060 esac
6062 $ac_path_FGREP_found && break 3
6063 done
6064 done
6065 done
6066 IFS=$as_save_IFS
6067 if test -z "$ac_cv_path_FGREP"; then
6068 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6070 else
6071 ac_cv_path_FGREP=$FGREP
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6077 $as_echo "$ac_cv_path_FGREP" >&6; }
6078 FGREP="$ac_cv_path_FGREP"
6081 test -z "$GREP" && GREP=grep
6101 # Check whether --with-gnu-ld was given.
6102 if test "${with_gnu_ld+set}" = set; then :
6103 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6104 else
6105 with_gnu_ld=no
6108 ac_prog=ld
6109 if test "$GCC" = yes; then
6110 # Check if gcc -print-prog-name=ld gives a path.
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6112 $as_echo_n "checking for ld used by $CC... " >&6; }
6113 case $host in
6114 *-*-mingw*)
6115 # gcc leaves a trailing carriage return which upsets mingw
6116 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6118 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6119 esac
6120 case $ac_prog in
6121 # Accept absolute paths.
6122 [\\/]* | ?:[\\/]*)
6123 re_direlt='/[^/][^/]*/\.\./'
6124 # Canonicalize the pathname of ld
6125 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6126 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6127 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6128 done
6129 test -z "$LD" && LD="$ac_prog"
6132 # If it fails, then pretend we aren't using GCC.
6133 ac_prog=ld
6136 # If it is relative, then search for the first ld in PATH.
6137 with_gnu_ld=unknown
6139 esac
6140 elif test "$with_gnu_ld" = yes; then
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6142 $as_echo_n "checking for GNU ld... " >&6; }
6143 else
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6145 $as_echo_n "checking for non-GNU ld... " >&6; }
6147 if ${lt_cv_path_LD+:} false; then :
6148 $as_echo_n "(cached) " >&6
6149 else
6150 if test -z "$LD"; then
6151 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6152 for ac_dir in $PATH; do
6153 IFS="$lt_save_ifs"
6154 test -z "$ac_dir" && ac_dir=.
6155 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6156 lt_cv_path_LD="$ac_dir/$ac_prog"
6157 # Check to see if the program is GNU ld. I'd rather use --version,
6158 # but apparently some variants of GNU ld only accept -v.
6159 # Break only if it was the GNU/non-GNU ld that we prefer.
6160 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6161 *GNU* | *'with BFD'*)
6162 test "$with_gnu_ld" != no && break
6165 test "$with_gnu_ld" != yes && break
6167 esac
6169 done
6170 IFS="$lt_save_ifs"
6171 else
6172 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6176 LD="$lt_cv_path_LD"
6177 if test -n "$LD"; then
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6179 $as_echo "$LD" >&6; }
6180 else
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6182 $as_echo "no" >&6; }
6184 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6186 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6187 if ${lt_cv_prog_gnu_ld+:} false; then :
6188 $as_echo_n "(cached) " >&6
6189 else
6190 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6191 case `$LD -v 2>&1 </dev/null` in
6192 *GNU* | *'with BFD'*)
6193 lt_cv_prog_gnu_ld=yes
6196 lt_cv_prog_gnu_ld=no
6198 esac
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6201 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6202 with_gnu_ld=$lt_cv_prog_gnu_ld
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6213 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6214 if ${lt_cv_path_NM+:} false; then :
6215 $as_echo_n "(cached) " >&6
6216 else
6217 if test -n "$NM"; then
6218 # Let the user override the test.
6219 lt_cv_path_NM="$NM"
6220 else
6221 lt_nm_to_check="${ac_tool_prefix}nm"
6222 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6223 lt_nm_to_check="$lt_nm_to_check nm"
6225 for lt_tmp_nm in $lt_nm_to_check; do
6226 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6227 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6228 IFS="$lt_save_ifs"
6229 test -z "$ac_dir" && ac_dir=.
6230 tmp_nm="$ac_dir/$lt_tmp_nm"
6231 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6232 # Check to see if the nm accepts a BSD-compat flag.
6233 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6234 # nm: unknown option "B" ignored
6235 # Tru64's nm complains that /dev/null is an invalid object file
6236 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6237 */dev/null* | *'Invalid file or object type'*)
6238 lt_cv_path_NM="$tmp_nm -B"
6239 break
6242 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6243 */dev/null*)
6244 lt_cv_path_NM="$tmp_nm -p"
6245 break
6248 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6249 continue # so that we can try to find one that supports BSD flags
6251 esac
6253 esac
6255 done
6256 IFS="$lt_save_ifs"
6257 done
6258 : ${lt_cv_path_NM=no}
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6262 $as_echo "$lt_cv_path_NM" >&6; }
6263 if test "$lt_cv_path_NM" != "no"; then
6264 NM="$lt_cv_path_NM"
6265 else
6266 # Didn't find any BSD compatible name lister, look for dumpbin.
6267 if test -n "$DUMPBIN"; then :
6268 # Let the user override the test.
6269 else
6270 if test -n "$ac_tool_prefix"; then
6271 for ac_prog in dumpbin "link -dump"
6273 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6274 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6276 $as_echo_n "checking for $ac_word... " >&6; }
6277 if ${ac_cv_prog_DUMPBIN+:} false; then :
6278 $as_echo_n "(cached) " >&6
6279 else
6280 if test -n "$DUMPBIN"; then
6281 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6282 else
6283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6284 for as_dir in $PATH
6286 IFS=$as_save_IFS
6287 test -z "$as_dir" && as_dir=.
6288 for ac_exec_ext in '' $ac_executable_extensions; do
6289 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6290 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6292 break 2
6294 done
6295 done
6296 IFS=$as_save_IFS
6300 DUMPBIN=$ac_cv_prog_DUMPBIN
6301 if test -n "$DUMPBIN"; then
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6303 $as_echo "$DUMPBIN" >&6; }
6304 else
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6306 $as_echo "no" >&6; }
6310 test -n "$DUMPBIN" && break
6311 done
6313 if test -z "$DUMPBIN"; then
6314 ac_ct_DUMPBIN=$DUMPBIN
6315 for ac_prog in dumpbin "link -dump"
6317 # Extract the first word of "$ac_prog", so it can be a program name with args.
6318 set dummy $ac_prog; ac_word=$2
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6320 $as_echo_n "checking for $ac_word... " >&6; }
6321 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6322 $as_echo_n "(cached) " >&6
6323 else
6324 if test -n "$ac_ct_DUMPBIN"; then
6325 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6326 else
6327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6328 for as_dir in $PATH
6330 IFS=$as_save_IFS
6331 test -z "$as_dir" && as_dir=.
6332 for ac_exec_ext in '' $ac_executable_extensions; do
6333 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6334 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6336 break 2
6338 done
6339 done
6340 IFS=$as_save_IFS
6344 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6345 if test -n "$ac_ct_DUMPBIN"; then
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6347 $as_echo "$ac_ct_DUMPBIN" >&6; }
6348 else
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6350 $as_echo "no" >&6; }
6354 test -n "$ac_ct_DUMPBIN" && break
6355 done
6357 if test "x$ac_ct_DUMPBIN" = x; then
6358 DUMPBIN=":"
6359 else
6360 case $cross_compiling:$ac_tool_warned in
6361 yes:)
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6363 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6364 ac_tool_warned=yes ;;
6365 esac
6366 DUMPBIN=$ac_ct_DUMPBIN
6370 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6371 *COFF*)
6372 DUMPBIN="$DUMPBIN -symbols"
6375 DUMPBIN=:
6377 esac
6380 if test "$DUMPBIN" != ":"; then
6381 NM="$DUMPBIN"
6384 test -z "$NM" && NM=nm
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6392 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6393 if ${lt_cv_nm_interface+:} false; then :
6394 $as_echo_n "(cached) " >&6
6395 else
6396 lt_cv_nm_interface="BSD nm"
6397 echo "int some_variable = 0;" > conftest.$ac_ext
6398 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6399 (eval "$ac_compile" 2>conftest.err)
6400 cat conftest.err >&5
6401 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6402 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6403 cat conftest.err >&5
6404 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6405 cat conftest.out >&5
6406 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6407 lt_cv_nm_interface="MS dumpbin"
6409 rm -f conftest*
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6412 $as_echo "$lt_cv_nm_interface" >&6; }
6414 # find the maximum length of command line arguments
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6416 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6417 if ${lt_cv_sys_max_cmd_len+:} false; then :
6418 $as_echo_n "(cached) " >&6
6419 else
6421 teststring="ABCD"
6423 case $build_os in
6424 msdosdjgpp*)
6425 # On DJGPP, this test can blow up pretty badly due to problems in libc
6426 # (any single argument exceeding 2000 bytes causes a buffer overrun
6427 # during glob expansion). Even if it were fixed, the result of this
6428 # check would be larger than it should be.
6429 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6432 gnu*)
6433 # Under GNU Hurd, this test is not required because there is
6434 # no limit to the length of command line arguments.
6435 # Libtool will interpret -1 as no limit whatsoever
6436 lt_cv_sys_max_cmd_len=-1;
6439 cygwin* | mingw* | cegcc*)
6440 # On Win9x/ME, this test blows up -- it succeeds, but takes
6441 # about 5 minutes as the teststring grows exponentially.
6442 # Worse, since 9x/ME are not pre-emptively multitasking,
6443 # you end up with a "frozen" computer, even though with patience
6444 # the test eventually succeeds (with a max line length of 256k).
6445 # Instead, let's just punt: use the minimum linelength reported by
6446 # all of the supported platforms: 8192 (on NT/2K/XP).
6447 lt_cv_sys_max_cmd_len=8192;
6450 mint*)
6451 # On MiNT this can take a long time and run out of memory.
6452 lt_cv_sys_max_cmd_len=8192;
6455 amigaos*)
6456 # On AmigaOS with pdksh, this test takes hours, literally.
6457 # So we just punt and use a minimum line length of 8192.
6458 lt_cv_sys_max_cmd_len=8192;
6461 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6462 # This has been around since 386BSD, at least. Likely further.
6463 if test -x /sbin/sysctl; then
6464 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6465 elif test -x /usr/sbin/sysctl; then
6466 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6467 else
6468 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6470 # And add a safety zone
6471 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6472 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6475 interix*)
6476 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6477 lt_cv_sys_max_cmd_len=196608
6480 osf*)
6481 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6482 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6483 # nice to cause kernel panics so lets avoid the loop below.
6484 # First set a reasonable default.
6485 lt_cv_sys_max_cmd_len=16384
6487 if test -x /sbin/sysconfig; then
6488 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6489 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6490 esac
6493 sco3.2v5*)
6494 lt_cv_sys_max_cmd_len=102400
6496 sysv5* | sco5v6* | sysv4.2uw2*)
6497 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6498 if test -n "$kargmax"; then
6499 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6500 else
6501 lt_cv_sys_max_cmd_len=32768
6505 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6506 if test -n "$lt_cv_sys_max_cmd_len"; then
6507 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6508 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6509 else
6510 # Make teststring a little bigger before we do anything with it.
6511 # a 1K string should be a reasonable start.
6512 for i in 1 2 3 4 5 6 7 8 ; do
6513 teststring=$teststring$teststring
6514 done
6515 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6516 # If test is not a shell built-in, we'll probably end up computing a
6517 # maximum length that is only half of the actual maximum length, but
6518 # we can't tell.
6519 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6520 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6521 test $i != 17 # 1/2 MB should be enough
6523 i=`expr $i + 1`
6524 teststring=$teststring$teststring
6525 done
6526 # Only check the string length outside the loop.
6527 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6528 teststring=
6529 # Add a significant safety factor because C++ compilers can tack on
6530 # massive amounts of additional arguments before passing them to the
6531 # linker. It appears as though 1/2 is a usable value.
6532 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6535 esac
6539 if test -n $lt_cv_sys_max_cmd_len ; then
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6541 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6542 else
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6544 $as_echo "none" >&6; }
6546 max_cmd_len=$lt_cv_sys_max_cmd_len
6553 : ${CP="cp -f"}
6554 : ${MV="mv -f"}
6555 : ${RM="rm -f"}
6557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6558 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6559 # Try some XSI features
6560 xsi_shell=no
6561 ( _lt_dummy="a/b/c"
6562 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6563 = c,a/b,, \
6564 && eval 'test $(( 1 + 1 )) -eq 2 \
6565 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6566 && xsi_shell=yes
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6568 $as_echo "$xsi_shell" >&6; }
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6572 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6573 lt_shell_append=no
6574 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6575 >/dev/null 2>&1 \
6576 && lt_shell_append=yes
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6578 $as_echo "$lt_shell_append" >&6; }
6581 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6582 lt_unset=unset
6583 else
6584 lt_unset=false
6591 # test EBCDIC or ASCII
6592 case `echo X|tr X '\101'` in
6593 A) # ASCII based system
6594 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6595 lt_SP2NL='tr \040 \012'
6596 lt_NL2SP='tr \015\012 \040\040'
6598 *) # EBCDIC based system
6599 lt_SP2NL='tr \100 \n'
6600 lt_NL2SP='tr \r\n \100\100'
6602 esac
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6613 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6614 if ${lt_cv_ld_reload_flag+:} false; then :
6615 $as_echo_n "(cached) " >&6
6616 else
6617 lt_cv_ld_reload_flag='-r'
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6620 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6621 reload_flag=$lt_cv_ld_reload_flag
6622 case $reload_flag in
6623 "" | " "*) ;;
6624 *) reload_flag=" $reload_flag" ;;
6625 esac
6626 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6627 case $host_os in
6628 darwin*)
6629 if test "$GCC" = yes; then
6630 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6631 else
6632 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6635 esac
6645 if test -n "$ac_tool_prefix"; then
6646 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6647 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6649 $as_echo_n "checking for $ac_word... " >&6; }
6650 if ${ac_cv_prog_OBJDUMP+:} false; then :
6651 $as_echo_n "(cached) " >&6
6652 else
6653 if test -n "$OBJDUMP"; then
6654 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6655 else
6656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6657 for as_dir in $PATH
6659 IFS=$as_save_IFS
6660 test -z "$as_dir" && as_dir=.
6661 for ac_exec_ext in '' $ac_executable_extensions; do
6662 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6663 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6665 break 2
6667 done
6668 done
6669 IFS=$as_save_IFS
6673 OBJDUMP=$ac_cv_prog_OBJDUMP
6674 if test -n "$OBJDUMP"; then
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6676 $as_echo "$OBJDUMP" >&6; }
6677 else
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6679 $as_echo "no" >&6; }
6684 if test -z "$ac_cv_prog_OBJDUMP"; then
6685 ac_ct_OBJDUMP=$OBJDUMP
6686 # Extract the first word of "objdump", so it can be a program name with args.
6687 set dummy objdump; ac_word=$2
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6689 $as_echo_n "checking for $ac_word... " >&6; }
6690 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6691 $as_echo_n "(cached) " >&6
6692 else
6693 if test -n "$ac_ct_OBJDUMP"; then
6694 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6695 else
6696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6697 for as_dir in $PATH
6699 IFS=$as_save_IFS
6700 test -z "$as_dir" && as_dir=.
6701 for ac_exec_ext in '' $ac_executable_extensions; do
6702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6703 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6705 break 2
6707 done
6708 done
6709 IFS=$as_save_IFS
6713 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6714 if test -n "$ac_ct_OBJDUMP"; then
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6716 $as_echo "$ac_ct_OBJDUMP" >&6; }
6717 else
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6719 $as_echo "no" >&6; }
6722 if test "x$ac_ct_OBJDUMP" = x; then
6723 OBJDUMP="false"
6724 else
6725 case $cross_compiling:$ac_tool_warned in
6726 yes:)
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6728 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6729 ac_tool_warned=yes ;;
6730 esac
6731 OBJDUMP=$ac_ct_OBJDUMP
6733 else
6734 OBJDUMP="$ac_cv_prog_OBJDUMP"
6737 test -z "$OBJDUMP" && OBJDUMP=objdump
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6748 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6749 if ${lt_cv_deplibs_check_method+:} false; then :
6750 $as_echo_n "(cached) " >&6
6751 else
6752 lt_cv_file_magic_cmd='$MAGIC_CMD'
6753 lt_cv_file_magic_test_file=
6754 lt_cv_deplibs_check_method='unknown'
6755 # Need to set the preceding variable on all platforms that support
6756 # interlibrary dependencies.
6757 # 'none' -- dependencies not supported.
6758 # `unknown' -- same as none, but documents that we really don't know.
6759 # 'pass_all' -- all dependencies passed with no checks.
6760 # 'test_compile' -- check by making test program.
6761 # 'file_magic [[regex]]' -- check by looking for files in library path
6762 # which responds to the $file_magic_cmd with a given extended regex.
6763 # If you have `file' or equivalent on your system and you're not sure
6764 # whether `pass_all' will *always* work, you probably want this one.
6766 case $host_os in
6767 aix[4-9]*)
6768 lt_cv_deplibs_check_method=pass_all
6771 beos*)
6772 lt_cv_deplibs_check_method=pass_all
6775 bsdi[45]*)
6776 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6777 lt_cv_file_magic_cmd='/usr/bin/file -L'
6778 lt_cv_file_magic_test_file=/shlib/libc.so
6781 cygwin*)
6782 # func_win32_libid is a shell function defined in ltmain.sh
6783 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6784 lt_cv_file_magic_cmd='func_win32_libid'
6787 mingw* | pw32*)
6788 # Base MSYS/MinGW do not provide the 'file' command needed by
6789 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6790 # unless we find 'file', for example because we are cross-compiling.
6791 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6792 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6793 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6794 lt_cv_file_magic_cmd='func_win32_libid'
6795 else
6796 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6797 lt_cv_file_magic_cmd='$OBJDUMP -f'
6801 cegcc*)
6802 # use the weaker test based on 'objdump'. See mingw*.
6803 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6804 lt_cv_file_magic_cmd='$OBJDUMP -f'
6807 darwin* | rhapsody*)
6808 lt_cv_deplibs_check_method=pass_all
6811 freebsd* | dragonfly*)
6812 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6813 case $host_cpu in
6814 i*86 )
6815 # Not sure whether the presence of OpenBSD here was a mistake.
6816 # Let's accept both of them until this is cleared up.
6817 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6818 lt_cv_file_magic_cmd=/usr/bin/file
6819 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6821 esac
6822 else
6823 lt_cv_deplibs_check_method=pass_all
6827 gnu*)
6828 lt_cv_deplibs_check_method=pass_all
6831 haiku*)
6832 lt_cv_deplibs_check_method=pass_all
6835 hpux10.20* | hpux11*)
6836 lt_cv_file_magic_cmd=/usr/bin/file
6837 case $host_cpu in
6838 ia64*)
6839 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6840 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6842 hppa*64*)
6843 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]'
6844 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6847 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6848 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6850 esac
6853 interix[3-9]*)
6854 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6855 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6858 irix5* | irix6* | nonstopux*)
6859 case $LD in
6860 *-32|*"-32 ") libmagic=32-bit;;
6861 *-n32|*"-n32 ") libmagic=N32;;
6862 *-64|*"-64 ") libmagic=64-bit;;
6863 *) libmagic=never-match;;
6864 esac
6865 lt_cv_deplibs_check_method=pass_all
6868 # This must be Linux ELF.
6869 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
6870 lt_cv_deplibs_check_method=pass_all
6873 netbsd*)
6874 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6875 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6876 else
6877 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6881 newos6*)
6882 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6883 lt_cv_file_magic_cmd=/usr/bin/file
6884 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6887 *nto* | *qnx*)
6888 lt_cv_deplibs_check_method=pass_all
6891 openbsd*)
6892 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6893 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6894 else
6895 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6899 osf3* | osf4* | osf5*)
6900 lt_cv_deplibs_check_method=pass_all
6903 rdos*)
6904 lt_cv_deplibs_check_method=pass_all
6907 solaris*)
6908 lt_cv_deplibs_check_method=pass_all
6911 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6912 lt_cv_deplibs_check_method=pass_all
6915 sysv4 | sysv4.3*)
6916 case $host_vendor in
6917 motorola)
6918 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]'
6919 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6921 ncr)
6922 lt_cv_deplibs_check_method=pass_all
6924 sequent)
6925 lt_cv_file_magic_cmd='/bin/file'
6926 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6928 sni)
6929 lt_cv_file_magic_cmd='/bin/file'
6930 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6931 lt_cv_file_magic_test_file=/lib/libc.so
6933 siemens)
6934 lt_cv_deplibs_check_method=pass_all
6937 lt_cv_deplibs_check_method=pass_all
6939 esac
6942 tpf*)
6943 lt_cv_deplibs_check_method=pass_all
6945 esac
6948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6949 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6950 file_magic_cmd=$lt_cv_file_magic_cmd
6951 deplibs_check_method=$lt_cv_deplibs_check_method
6952 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6965 if test -n "$ac_tool_prefix"; then
6966 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6967 set dummy ${ac_tool_prefix}ar; ac_word=$2
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6969 $as_echo_n "checking for $ac_word... " >&6; }
6970 if ${ac_cv_prog_AR+:} false; then :
6971 $as_echo_n "(cached) " >&6
6972 else
6973 if test -n "$AR"; then
6974 ac_cv_prog_AR="$AR" # Let the user override the test.
6975 else
6976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6977 for as_dir in $PATH
6979 IFS=$as_save_IFS
6980 test -z "$as_dir" && as_dir=.
6981 for ac_exec_ext in '' $ac_executable_extensions; do
6982 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6983 ac_cv_prog_AR="${ac_tool_prefix}ar"
6984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6985 break 2
6987 done
6988 done
6989 IFS=$as_save_IFS
6993 AR=$ac_cv_prog_AR
6994 if test -n "$AR"; then
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6996 $as_echo "$AR" >&6; }
6997 else
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6999 $as_echo "no" >&6; }
7004 if test -z "$ac_cv_prog_AR"; then
7005 ac_ct_AR=$AR
7006 # Extract the first word of "ar", so it can be a program name with args.
7007 set dummy ar; ac_word=$2
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7009 $as_echo_n "checking for $ac_word... " >&6; }
7010 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7011 $as_echo_n "(cached) " >&6
7012 else
7013 if test -n "$ac_ct_AR"; then
7014 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7015 else
7016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7017 for as_dir in $PATH
7019 IFS=$as_save_IFS
7020 test -z "$as_dir" && as_dir=.
7021 for ac_exec_ext in '' $ac_executable_extensions; do
7022 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7023 ac_cv_prog_ac_ct_AR="ar"
7024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7025 break 2
7027 done
7028 done
7029 IFS=$as_save_IFS
7033 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7034 if test -n "$ac_ct_AR"; then
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7036 $as_echo "$ac_ct_AR" >&6; }
7037 else
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7039 $as_echo "no" >&6; }
7042 if test "x$ac_ct_AR" = x; then
7043 AR="false"
7044 else
7045 case $cross_compiling:$ac_tool_warned in
7046 yes:)
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7048 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7049 ac_tool_warned=yes ;;
7050 esac
7051 AR=$ac_ct_AR
7053 else
7054 AR="$ac_cv_prog_AR"
7057 test -z "$AR" && AR=ar
7058 test -z "$AR_FLAGS" && AR_FLAGS=cru
7070 if test -n "$ac_tool_prefix"; then
7071 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7072 set dummy ${ac_tool_prefix}strip; ac_word=$2
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7074 $as_echo_n "checking for $ac_word... " >&6; }
7075 if ${ac_cv_prog_STRIP+:} false; then :
7076 $as_echo_n "(cached) " >&6
7077 else
7078 if test -n "$STRIP"; then
7079 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7080 else
7081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7082 for as_dir in $PATH
7084 IFS=$as_save_IFS
7085 test -z "$as_dir" && as_dir=.
7086 for ac_exec_ext in '' $ac_executable_extensions; do
7087 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7088 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7090 break 2
7092 done
7093 done
7094 IFS=$as_save_IFS
7098 STRIP=$ac_cv_prog_STRIP
7099 if test -n "$STRIP"; then
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7101 $as_echo "$STRIP" >&6; }
7102 else
7103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7104 $as_echo "no" >&6; }
7109 if test -z "$ac_cv_prog_STRIP"; then
7110 ac_ct_STRIP=$STRIP
7111 # Extract the first word of "strip", so it can be a program name with args.
7112 set dummy strip; ac_word=$2
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7114 $as_echo_n "checking for $ac_word... " >&6; }
7115 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7116 $as_echo_n "(cached) " >&6
7117 else
7118 if test -n "$ac_ct_STRIP"; then
7119 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7120 else
7121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7122 for as_dir in $PATH
7124 IFS=$as_save_IFS
7125 test -z "$as_dir" && as_dir=.
7126 for ac_exec_ext in '' $ac_executable_extensions; do
7127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7128 ac_cv_prog_ac_ct_STRIP="strip"
7129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7130 break 2
7132 done
7133 done
7134 IFS=$as_save_IFS
7138 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7139 if test -n "$ac_ct_STRIP"; then
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7141 $as_echo "$ac_ct_STRIP" >&6; }
7142 else
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7144 $as_echo "no" >&6; }
7147 if test "x$ac_ct_STRIP" = x; then
7148 STRIP=":"
7149 else
7150 case $cross_compiling:$ac_tool_warned in
7151 yes:)
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7153 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7154 ac_tool_warned=yes ;;
7155 esac
7156 STRIP=$ac_ct_STRIP
7158 else
7159 STRIP="$ac_cv_prog_STRIP"
7162 test -z "$STRIP" && STRIP=:
7169 if test -n "$ac_tool_prefix"; then
7170 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7171 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7173 $as_echo_n "checking for $ac_word... " >&6; }
7174 if ${ac_cv_prog_RANLIB+:} false; then :
7175 $as_echo_n "(cached) " >&6
7176 else
7177 if test -n "$RANLIB"; then
7178 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7179 else
7180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7181 for as_dir in $PATH
7183 IFS=$as_save_IFS
7184 test -z "$as_dir" && as_dir=.
7185 for ac_exec_ext in '' $ac_executable_extensions; do
7186 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7187 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7189 break 2
7191 done
7192 done
7193 IFS=$as_save_IFS
7197 RANLIB=$ac_cv_prog_RANLIB
7198 if test -n "$RANLIB"; then
7199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7200 $as_echo "$RANLIB" >&6; }
7201 else
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7203 $as_echo "no" >&6; }
7208 if test -z "$ac_cv_prog_RANLIB"; then
7209 ac_ct_RANLIB=$RANLIB
7210 # Extract the first word of "ranlib", so it can be a program name with args.
7211 set dummy ranlib; ac_word=$2
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7213 $as_echo_n "checking for $ac_word... " >&6; }
7214 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7215 $as_echo_n "(cached) " >&6
7216 else
7217 if test -n "$ac_ct_RANLIB"; then
7218 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7219 else
7220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7221 for as_dir in $PATH
7223 IFS=$as_save_IFS
7224 test -z "$as_dir" && as_dir=.
7225 for ac_exec_ext in '' $ac_executable_extensions; do
7226 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7227 ac_cv_prog_ac_ct_RANLIB="ranlib"
7228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7229 break 2
7231 done
7232 done
7233 IFS=$as_save_IFS
7237 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7238 if test -n "$ac_ct_RANLIB"; then
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7240 $as_echo "$ac_ct_RANLIB" >&6; }
7241 else
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7243 $as_echo "no" >&6; }
7246 if test "x$ac_ct_RANLIB" = x; then
7247 RANLIB=":"
7248 else
7249 case $cross_compiling:$ac_tool_warned in
7250 yes:)
7251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7252 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7253 ac_tool_warned=yes ;;
7254 esac
7255 RANLIB=$ac_ct_RANLIB
7257 else
7258 RANLIB="$ac_cv_prog_RANLIB"
7261 test -z "$RANLIB" && RANLIB=:
7268 # Determine commands to create old-style static archives.
7269 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7270 old_postinstall_cmds='chmod 644 $oldlib'
7271 old_postuninstall_cmds=
7273 if test -n "$RANLIB"; then
7274 case $host_os in
7275 openbsd*)
7276 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7279 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7281 esac
7282 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7285 case $host_os in
7286 darwin*)
7287 lock_old_archive_extraction=yes ;;
7289 lock_old_archive_extraction=no ;;
7290 esac
7330 # If no C compiler was specified, use CC.
7331 LTCC=${LTCC-"$CC"}
7333 # If no C compiler flags were specified, use CFLAGS.
7334 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7336 # Allow CC to be a program name with arguments.
7337 compiler=$CC
7340 # Check for command to grab the raw symbol name followed by C symbol from nm.
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7342 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7343 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7344 $as_echo_n "(cached) " >&6
7345 else
7347 # These are sane defaults that work on at least a few old systems.
7348 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7350 # Character class describing NM global symbol codes.
7351 symcode='[BCDEGRST]'
7353 # Regexp to match symbols that can be accessed directly from C.
7354 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7356 # Define system-specific variables.
7357 case $host_os in
7358 aix*)
7359 symcode='[BCDT]'
7361 cygwin* | mingw* | pw32* | cegcc*)
7362 symcode='[ABCDGISTW]'
7364 hpux*)
7365 if test "$host_cpu" = ia64; then
7366 symcode='[ABCDEGRST]'
7369 irix* | nonstopux*)
7370 symcode='[BCDEGRST]'
7372 osf*)
7373 symcode='[BCDEGQRST]'
7375 solaris*)
7376 symcode='[BDRT]'
7378 sco3.2v5*)
7379 symcode='[DT]'
7381 sysv4.2uw2*)
7382 symcode='[DT]'
7384 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7385 symcode='[ABDT]'
7387 sysv4)
7388 symcode='[DFNSTU]'
7390 esac
7392 # If we're using GNU nm, then use its standard symbol codes.
7393 case `$NM -V 2>&1` in
7394 *GNU* | *'with BFD'*)
7395 symcode='[ABCDGIRSTW]' ;;
7396 esac
7398 # Transform an extracted symbol line into a proper C declaration.
7399 # Some systems (esp. on ia64) link data and code symbols differently,
7400 # so use this general approach.
7401 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7403 # Transform an extracted symbol line into symbol name and symbol address
7404 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7405 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'"
7407 # Handle CRLF in mingw tool chain
7408 opt_cr=
7409 case $build_os in
7410 mingw*)
7411 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7413 esac
7415 # Try without a prefix underscore, then with it.
7416 for ac_symprfx in "" "_"; do
7418 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7419 symxfrm="\\1 $ac_symprfx\\2 \\2"
7421 # Write the raw and C identifiers.
7422 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7423 # Fake it for dumpbin and say T for any non-static function
7424 # and D for any global variable.
7425 # Also find C++ and __fastcall symbols from MSVC++,
7426 # which start with @ or ?.
7427 lt_cv_sys_global_symbol_pipe="$AWK '"\
7428 " {last_section=section; section=\$ 3};"\
7429 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7430 " \$ 0!~/External *\|/{next};"\
7431 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7432 " {if(hide[section]) next};"\
7433 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7434 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7435 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7436 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7437 " ' prfx=^$ac_symprfx"
7438 else
7439 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7442 # Check to see that the pipe works correctly.
7443 pipe_works=no
7445 rm -f conftest*
7446 cat > conftest.$ac_ext <<_LT_EOF
7447 #ifdef __cplusplus
7448 extern "C" {
7449 #endif
7450 char nm_test_var;
7451 void nm_test_func(void);
7452 void nm_test_func(void){}
7453 #ifdef __cplusplus
7455 #endif
7456 int main(){nm_test_var='a';nm_test_func();return(0);}
7457 _LT_EOF
7459 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7460 (eval $ac_compile) 2>&5
7461 ac_status=$?
7462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7463 test $ac_status = 0; }; then
7464 # Now try to grab the symbols.
7465 nlist=conftest.nm
7466 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7467 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7468 ac_status=$?
7469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7470 test $ac_status = 0; } && test -s "$nlist"; then
7471 # Try sorting and uniquifying the output.
7472 if sort "$nlist" | uniq > "$nlist"T; then
7473 mv -f "$nlist"T "$nlist"
7474 else
7475 rm -f "$nlist"T
7478 # Make sure that we snagged all the symbols we need.
7479 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7480 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7481 cat <<_LT_EOF > conftest.$ac_ext
7482 #ifdef __cplusplus
7483 extern "C" {
7484 #endif
7486 _LT_EOF
7487 # Now generate the symbol file.
7488 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7490 cat <<_LT_EOF >> conftest.$ac_ext
7492 /* The mapping between symbol names and symbols. */
7493 const struct {
7494 const char *name;
7495 void *address;
7497 lt__PROGRAM__LTX_preloaded_symbols[] =
7499 { "@PROGRAM@", (void *) 0 },
7500 _LT_EOF
7501 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7502 cat <<\_LT_EOF >> conftest.$ac_ext
7503 {0, (void *) 0}
7506 /* This works around a problem in FreeBSD linker */
7507 #ifdef FREEBSD_WORKAROUND
7508 static const void *lt_preloaded_setup() {
7509 return lt__PROGRAM__LTX_preloaded_symbols;
7511 #endif
7513 #ifdef __cplusplus
7515 #endif
7516 _LT_EOF
7517 # Now try linking the two files.
7518 mv conftest.$ac_objext conftstm.$ac_objext
7519 lt_save_LIBS="$LIBS"
7520 lt_save_CFLAGS="$CFLAGS"
7521 LIBS="conftstm.$ac_objext"
7522 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7523 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7524 (eval $ac_link) 2>&5
7525 ac_status=$?
7526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7527 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7528 pipe_works=yes
7530 LIBS="$lt_save_LIBS"
7531 CFLAGS="$lt_save_CFLAGS"
7532 else
7533 echo "cannot find nm_test_func in $nlist" >&5
7535 else
7536 echo "cannot find nm_test_var in $nlist" >&5
7538 else
7539 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7541 else
7542 echo "$progname: failed program was:" >&5
7543 cat conftest.$ac_ext >&5
7545 rm -rf conftest* conftst*
7547 # Do not use the global_symbol_pipe unless it works.
7548 if test "$pipe_works" = yes; then
7549 break
7550 else
7551 lt_cv_sys_global_symbol_pipe=
7553 done
7557 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7558 lt_cv_sys_global_symbol_to_cdecl=
7560 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7562 $as_echo "failed" >&6; }
7563 else
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7565 $as_echo "ok" >&6; }
7589 # Check whether --enable-libtool-lock was given.
7590 if test "${enable_libtool_lock+set}" = set; then :
7591 enableval=$enable_libtool_lock;
7594 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7596 # Some flags need to be propagated to the compiler or linker for good
7597 # libtool support.
7598 case $host in
7599 ia64-*-hpux*)
7600 # Find out which ABI we are using.
7601 echo 'int i;' > conftest.$ac_ext
7602 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7603 (eval $ac_compile) 2>&5
7604 ac_status=$?
7605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7606 test $ac_status = 0; }; then
7607 case `/usr/bin/file conftest.$ac_objext` in
7608 *ELF-32*)
7609 HPUX_IA64_MODE="32"
7611 *ELF-64*)
7612 HPUX_IA64_MODE="64"
7614 esac
7616 rm -rf conftest*
7618 *-*-irix6*)
7619 # Find out which ABI we are using.
7620 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7621 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7622 (eval $ac_compile) 2>&5
7623 ac_status=$?
7624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7625 test $ac_status = 0; }; then
7626 if test "$lt_cv_prog_gnu_ld" = yes; then
7627 case `/usr/bin/file conftest.$ac_objext` in
7628 *32-bit*)
7629 LD="${LD-ld} -melf32bsmip"
7631 *N32*)
7632 LD="${LD-ld} -melf32bmipn32"
7634 *64-bit*)
7635 LD="${LD-ld} -melf64bmip"
7637 esac
7638 else
7639 case `/usr/bin/file conftest.$ac_objext` in
7640 *32-bit*)
7641 LD="${LD-ld} -32"
7643 *N32*)
7644 LD="${LD-ld} -n32"
7646 *64-bit*)
7647 LD="${LD-ld} -64"
7649 esac
7652 rm -rf conftest*
7655 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7656 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7657 # Find out which ABI we are using.
7658 echo 'int i;' > conftest.$ac_ext
7659 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7660 (eval $ac_compile) 2>&5
7661 ac_status=$?
7662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7663 test $ac_status = 0; }; then
7664 case `/usr/bin/file conftest.o` in
7665 *32-bit*)
7666 case $host in
7667 x86_64-*kfreebsd*-gnu)
7668 LD="${LD-ld} -m elf_i386_fbsd"
7670 x86_64-*linux*)
7671 case `/usr/bin/file conftest.o` in
7672 *x86-64*)
7673 LD="${LD-ld} -m elf32_x86_64"
7676 LD="${LD-ld} -m elf_i386"
7678 esac
7680 powerpc64le-*linux*)
7681 LD="${LD-ld} -m elf32lppclinux"
7683 powerpc64-*linux*)
7684 LD="${LD-ld} -m elf32ppclinux"
7686 s390x-*linux*)
7687 LD="${LD-ld} -m elf_s390"
7689 sparc64-*linux*)
7690 LD="${LD-ld} -m elf32_sparc"
7692 esac
7694 *64-bit*)
7695 case $host in
7696 x86_64-*kfreebsd*-gnu)
7697 LD="${LD-ld} -m elf_x86_64_fbsd"
7699 x86_64-*linux*)
7700 LD="${LD-ld} -m elf_x86_64"
7702 powerpcle-*linux*)
7703 LD="${LD-ld} -m elf64lppc"
7705 powerpc-*linux*)
7706 LD="${LD-ld} -m elf64ppc"
7708 s390*-*linux*|s390*-*tpf*)
7709 LD="${LD-ld} -m elf64_s390"
7711 sparc*-*linux*)
7712 LD="${LD-ld} -m elf64_sparc"
7714 esac
7716 esac
7718 rm -rf conftest*
7721 *-*-sco3.2v5*)
7722 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7723 SAVE_CFLAGS="$CFLAGS"
7724 CFLAGS="$CFLAGS -belf"
7725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7726 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7727 if ${lt_cv_cc_needs_belf+:} false; then :
7728 $as_echo_n "(cached) " >&6
7729 else
7730 ac_ext=c
7731 ac_cpp='$CPP $CPPFLAGS'
7732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7736 if test x$gcc_no_link = xyes; then
7737 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7740 /* end confdefs.h. */
7743 main ()
7747 return 0;
7749 _ACEOF
7750 if ac_fn_c_try_link "$LINENO"; then :
7751 lt_cv_cc_needs_belf=yes
7752 else
7753 lt_cv_cc_needs_belf=no
7755 rm -f core conftest.err conftest.$ac_objext \
7756 conftest$ac_exeext conftest.$ac_ext
7757 ac_ext=c
7758 ac_cpp='$CPP $CPPFLAGS'
7759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7765 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7766 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7767 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7768 CFLAGS="$SAVE_CFLAGS"
7771 sparc*-*solaris*)
7772 # Find out which ABI we are using.
7773 echo 'int i;' > conftest.$ac_ext
7774 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7775 (eval $ac_compile) 2>&5
7776 ac_status=$?
7777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7778 test $ac_status = 0; }; then
7779 case `/usr/bin/file conftest.o` in
7780 *64-bit*)
7781 case $lt_cv_prog_gnu_ld in
7782 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7784 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7785 LD="${LD-ld} -64"
7788 esac
7790 esac
7792 rm -rf conftest*
7794 esac
7796 need_locks="$enable_libtool_lock"
7799 case $host_os in
7800 rhapsody* | darwin*)
7801 if test -n "$ac_tool_prefix"; then
7802 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7803 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7805 $as_echo_n "checking for $ac_word... " >&6; }
7806 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7807 $as_echo_n "(cached) " >&6
7808 else
7809 if test -n "$DSYMUTIL"; then
7810 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7811 else
7812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7813 for as_dir in $PATH
7815 IFS=$as_save_IFS
7816 test -z "$as_dir" && as_dir=.
7817 for ac_exec_ext in '' $ac_executable_extensions; do
7818 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7819 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7821 break 2
7823 done
7824 done
7825 IFS=$as_save_IFS
7829 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7830 if test -n "$DSYMUTIL"; then
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7832 $as_echo "$DSYMUTIL" >&6; }
7833 else
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7835 $as_echo "no" >&6; }
7840 if test -z "$ac_cv_prog_DSYMUTIL"; then
7841 ac_ct_DSYMUTIL=$DSYMUTIL
7842 # Extract the first word of "dsymutil", so it can be a program name with args.
7843 set dummy dsymutil; ac_word=$2
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7845 $as_echo_n "checking for $ac_word... " >&6; }
7846 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7847 $as_echo_n "(cached) " >&6
7848 else
7849 if test -n "$ac_ct_DSYMUTIL"; then
7850 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7851 else
7852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7853 for as_dir in $PATH
7855 IFS=$as_save_IFS
7856 test -z "$as_dir" && as_dir=.
7857 for ac_exec_ext in '' $ac_executable_extensions; do
7858 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7859 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7861 break 2
7863 done
7864 done
7865 IFS=$as_save_IFS
7869 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7870 if test -n "$ac_ct_DSYMUTIL"; then
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7872 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7873 else
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7875 $as_echo "no" >&6; }
7878 if test "x$ac_ct_DSYMUTIL" = x; then
7879 DSYMUTIL=":"
7880 else
7881 case $cross_compiling:$ac_tool_warned in
7882 yes:)
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7884 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7885 ac_tool_warned=yes ;;
7886 esac
7887 DSYMUTIL=$ac_ct_DSYMUTIL
7889 else
7890 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7893 if test -n "$ac_tool_prefix"; then
7894 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7895 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7897 $as_echo_n "checking for $ac_word... " >&6; }
7898 if ${ac_cv_prog_NMEDIT+:} false; then :
7899 $as_echo_n "(cached) " >&6
7900 else
7901 if test -n "$NMEDIT"; then
7902 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7903 else
7904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7905 for as_dir in $PATH
7907 IFS=$as_save_IFS
7908 test -z "$as_dir" && as_dir=.
7909 for ac_exec_ext in '' $ac_executable_extensions; do
7910 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7911 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7913 break 2
7915 done
7916 done
7917 IFS=$as_save_IFS
7921 NMEDIT=$ac_cv_prog_NMEDIT
7922 if test -n "$NMEDIT"; then
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7924 $as_echo "$NMEDIT" >&6; }
7925 else
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7927 $as_echo "no" >&6; }
7932 if test -z "$ac_cv_prog_NMEDIT"; then
7933 ac_ct_NMEDIT=$NMEDIT
7934 # Extract the first word of "nmedit", so it can be a program name with args.
7935 set dummy nmedit; ac_word=$2
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7937 $as_echo_n "checking for $ac_word... " >&6; }
7938 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7939 $as_echo_n "(cached) " >&6
7940 else
7941 if test -n "$ac_ct_NMEDIT"; then
7942 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7943 else
7944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7945 for as_dir in $PATH
7947 IFS=$as_save_IFS
7948 test -z "$as_dir" && as_dir=.
7949 for ac_exec_ext in '' $ac_executable_extensions; do
7950 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7951 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7953 break 2
7955 done
7956 done
7957 IFS=$as_save_IFS
7961 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7962 if test -n "$ac_ct_NMEDIT"; then
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7964 $as_echo "$ac_ct_NMEDIT" >&6; }
7965 else
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7967 $as_echo "no" >&6; }
7970 if test "x$ac_ct_NMEDIT" = x; then
7971 NMEDIT=":"
7972 else
7973 case $cross_compiling:$ac_tool_warned in
7974 yes:)
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7976 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7977 ac_tool_warned=yes ;;
7978 esac
7979 NMEDIT=$ac_ct_NMEDIT
7981 else
7982 NMEDIT="$ac_cv_prog_NMEDIT"
7985 if test -n "$ac_tool_prefix"; then
7986 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7987 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7989 $as_echo_n "checking for $ac_word... " >&6; }
7990 if ${ac_cv_prog_LIPO+:} false; then :
7991 $as_echo_n "(cached) " >&6
7992 else
7993 if test -n "$LIPO"; then
7994 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7995 else
7996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7997 for as_dir in $PATH
7999 IFS=$as_save_IFS
8000 test -z "$as_dir" && as_dir=.
8001 for ac_exec_ext in '' $ac_executable_extensions; do
8002 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8003 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8005 break 2
8007 done
8008 done
8009 IFS=$as_save_IFS
8013 LIPO=$ac_cv_prog_LIPO
8014 if test -n "$LIPO"; then
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8016 $as_echo "$LIPO" >&6; }
8017 else
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8019 $as_echo "no" >&6; }
8024 if test -z "$ac_cv_prog_LIPO"; then
8025 ac_ct_LIPO=$LIPO
8026 # Extract the first word of "lipo", so it can be a program name with args.
8027 set dummy lipo; ac_word=$2
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8029 $as_echo_n "checking for $ac_word... " >&6; }
8030 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8031 $as_echo_n "(cached) " >&6
8032 else
8033 if test -n "$ac_ct_LIPO"; then
8034 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8035 else
8036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8037 for as_dir in $PATH
8039 IFS=$as_save_IFS
8040 test -z "$as_dir" && as_dir=.
8041 for ac_exec_ext in '' $ac_executable_extensions; do
8042 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8043 ac_cv_prog_ac_ct_LIPO="lipo"
8044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8045 break 2
8047 done
8048 done
8049 IFS=$as_save_IFS
8053 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8054 if test -n "$ac_ct_LIPO"; then
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8056 $as_echo "$ac_ct_LIPO" >&6; }
8057 else
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8059 $as_echo "no" >&6; }
8062 if test "x$ac_ct_LIPO" = x; then
8063 LIPO=":"
8064 else
8065 case $cross_compiling:$ac_tool_warned in
8066 yes:)
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8068 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8069 ac_tool_warned=yes ;;
8070 esac
8071 LIPO=$ac_ct_LIPO
8073 else
8074 LIPO="$ac_cv_prog_LIPO"
8077 if test -n "$ac_tool_prefix"; then
8078 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8079 set dummy ${ac_tool_prefix}otool; ac_word=$2
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8081 $as_echo_n "checking for $ac_word... " >&6; }
8082 if ${ac_cv_prog_OTOOL+:} false; then :
8083 $as_echo_n "(cached) " >&6
8084 else
8085 if test -n "$OTOOL"; then
8086 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8087 else
8088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8089 for as_dir in $PATH
8091 IFS=$as_save_IFS
8092 test -z "$as_dir" && as_dir=.
8093 for ac_exec_ext in '' $ac_executable_extensions; do
8094 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8095 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8097 break 2
8099 done
8100 done
8101 IFS=$as_save_IFS
8105 OTOOL=$ac_cv_prog_OTOOL
8106 if test -n "$OTOOL"; then
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8108 $as_echo "$OTOOL" >&6; }
8109 else
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8111 $as_echo "no" >&6; }
8116 if test -z "$ac_cv_prog_OTOOL"; then
8117 ac_ct_OTOOL=$OTOOL
8118 # Extract the first word of "otool", so it can be a program name with args.
8119 set dummy otool; ac_word=$2
8120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8121 $as_echo_n "checking for $ac_word... " >&6; }
8122 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8123 $as_echo_n "(cached) " >&6
8124 else
8125 if test -n "$ac_ct_OTOOL"; then
8126 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8127 else
8128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8129 for as_dir in $PATH
8131 IFS=$as_save_IFS
8132 test -z "$as_dir" && as_dir=.
8133 for ac_exec_ext in '' $ac_executable_extensions; do
8134 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8135 ac_cv_prog_ac_ct_OTOOL="otool"
8136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8137 break 2
8139 done
8140 done
8141 IFS=$as_save_IFS
8145 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8146 if test -n "$ac_ct_OTOOL"; then
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8148 $as_echo "$ac_ct_OTOOL" >&6; }
8149 else
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8151 $as_echo "no" >&6; }
8154 if test "x$ac_ct_OTOOL" = x; then
8155 OTOOL=":"
8156 else
8157 case $cross_compiling:$ac_tool_warned in
8158 yes:)
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8160 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8161 ac_tool_warned=yes ;;
8162 esac
8163 OTOOL=$ac_ct_OTOOL
8165 else
8166 OTOOL="$ac_cv_prog_OTOOL"
8169 if test -n "$ac_tool_prefix"; then
8170 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8171 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8173 $as_echo_n "checking for $ac_word... " >&6; }
8174 if ${ac_cv_prog_OTOOL64+:} false; then :
8175 $as_echo_n "(cached) " >&6
8176 else
8177 if test -n "$OTOOL64"; then
8178 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8179 else
8180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8181 for as_dir in $PATH
8183 IFS=$as_save_IFS
8184 test -z "$as_dir" && as_dir=.
8185 for ac_exec_ext in '' $ac_executable_extensions; do
8186 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8187 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8189 break 2
8191 done
8192 done
8193 IFS=$as_save_IFS
8197 OTOOL64=$ac_cv_prog_OTOOL64
8198 if test -n "$OTOOL64"; then
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8200 $as_echo "$OTOOL64" >&6; }
8201 else
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8203 $as_echo "no" >&6; }
8208 if test -z "$ac_cv_prog_OTOOL64"; then
8209 ac_ct_OTOOL64=$OTOOL64
8210 # Extract the first word of "otool64", so it can be a program name with args.
8211 set dummy otool64; ac_word=$2
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8213 $as_echo_n "checking for $ac_word... " >&6; }
8214 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8215 $as_echo_n "(cached) " >&6
8216 else
8217 if test -n "$ac_ct_OTOOL64"; then
8218 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8219 else
8220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8221 for as_dir in $PATH
8223 IFS=$as_save_IFS
8224 test -z "$as_dir" && as_dir=.
8225 for ac_exec_ext in '' $ac_executable_extensions; do
8226 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8227 ac_cv_prog_ac_ct_OTOOL64="otool64"
8228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8229 break 2
8231 done
8232 done
8233 IFS=$as_save_IFS
8237 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8238 if test -n "$ac_ct_OTOOL64"; then
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8240 $as_echo "$ac_ct_OTOOL64" >&6; }
8241 else
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8243 $as_echo "no" >&6; }
8246 if test "x$ac_ct_OTOOL64" = x; then
8247 OTOOL64=":"
8248 else
8249 case $cross_compiling:$ac_tool_warned in
8250 yes:)
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8252 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8253 ac_tool_warned=yes ;;
8254 esac
8255 OTOOL64=$ac_ct_OTOOL64
8257 else
8258 OTOOL64="$ac_cv_prog_OTOOL64"
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8288 $as_echo_n "checking for -single_module linker flag... " >&6; }
8289 if ${lt_cv_apple_cc_single_mod+:} false; then :
8290 $as_echo_n "(cached) " >&6
8291 else
8292 lt_cv_apple_cc_single_mod=no
8293 if test -z "${LT_MULTI_MODULE}"; then
8294 # By default we will add the -single_module flag. You can override
8295 # by either setting the environment variable LT_MULTI_MODULE
8296 # non-empty at configure time, or by adding -multi_module to the
8297 # link flags.
8298 rm -rf libconftest.dylib*
8299 echo "int foo(void){return 1;}" > conftest.c
8300 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8301 -dynamiclib -Wl,-single_module conftest.c" >&5
8302 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8303 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8304 _lt_result=$?
8305 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8306 lt_cv_apple_cc_single_mod=yes
8307 else
8308 cat conftest.err >&5
8310 rm -rf libconftest.dylib*
8311 rm -f conftest.*
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8315 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8317 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8318 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8319 $as_echo_n "(cached) " >&6
8320 else
8321 lt_cv_ld_exported_symbols_list=no
8322 save_LDFLAGS=$LDFLAGS
8323 echo "_main" > conftest.sym
8324 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8325 if test x$gcc_no_link = xyes; then
8326 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8329 /* end confdefs.h. */
8332 main ()
8336 return 0;
8338 _ACEOF
8339 if ac_fn_c_try_link "$LINENO"; then :
8340 lt_cv_ld_exported_symbols_list=yes
8341 else
8342 lt_cv_ld_exported_symbols_list=no
8344 rm -f core conftest.err conftest.$ac_objext \
8345 conftest$ac_exeext conftest.$ac_ext
8346 LDFLAGS="$save_LDFLAGS"
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8350 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8352 $as_echo_n "checking for -force_load linker flag... " >&6; }
8353 if ${lt_cv_ld_force_load+:} false; then :
8354 $as_echo_n "(cached) " >&6
8355 else
8356 lt_cv_ld_force_load=no
8357 cat > conftest.c << _LT_EOF
8358 int forced_loaded() { return 2;}
8359 _LT_EOF
8360 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8361 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8362 echo "$AR cru libconftest.a conftest.o" >&5
8363 $AR cru libconftest.a conftest.o 2>&5
8364 cat > conftest.c << _LT_EOF
8365 int main() { return 0;}
8366 _LT_EOF
8367 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8368 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8369 _lt_result=$?
8370 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8371 lt_cv_ld_force_load=yes
8372 else
8373 cat conftest.err >&5
8375 rm -f conftest.err libconftest.a conftest conftest.c
8376 rm -rf conftest.dSYM
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8380 $as_echo "$lt_cv_ld_force_load" >&6; }
8381 case $host_os in
8382 rhapsody* | darwin1.[012])
8383 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8384 darwin1.*)
8385 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8386 darwin*) # darwin 5.x on
8387 # if running on 10.5 or later, the deployment target defaults
8388 # to the OS version, if on x86, and 10.4, the deployment
8389 # target defaults to 10.4. Don't you love it?
8390 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8391 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8392 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8393 10.[012][,.]*)
8394 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8395 10.*)
8396 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8397 esac
8399 esac
8400 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8401 _lt_dar_single_mod='$single_module'
8403 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8404 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8405 else
8406 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8408 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8409 _lt_dsymutil='~$DSYMUTIL $lib || :'
8410 else
8411 _lt_dsymutil=
8414 esac
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8417 $as_echo_n "checking for ANSI C header files... " >&6; }
8418 if ${ac_cv_header_stdc+:} false; then :
8419 $as_echo_n "(cached) " >&6
8420 else
8421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8422 /* end confdefs.h. */
8423 #include <stdlib.h>
8424 #include <stdarg.h>
8425 #include <string.h>
8426 #include <float.h>
8429 main ()
8433 return 0;
8435 _ACEOF
8436 if ac_fn_c_try_compile "$LINENO"; then :
8437 ac_cv_header_stdc=yes
8438 else
8439 ac_cv_header_stdc=no
8441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8443 if test $ac_cv_header_stdc = yes; then
8444 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8446 /* end confdefs.h. */
8447 #include <string.h>
8449 _ACEOF
8450 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8451 $EGREP "memchr" >/dev/null 2>&1; then :
8453 else
8454 ac_cv_header_stdc=no
8456 rm -f conftest*
8460 if test $ac_cv_header_stdc = yes; then
8461 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8463 /* end confdefs.h. */
8464 #include <stdlib.h>
8466 _ACEOF
8467 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8468 $EGREP "free" >/dev/null 2>&1; then :
8470 else
8471 ac_cv_header_stdc=no
8473 rm -f conftest*
8477 if test $ac_cv_header_stdc = yes; then
8478 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8479 if test "$cross_compiling" = yes; then :
8481 else
8482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8483 /* end confdefs.h. */
8484 #include <ctype.h>
8485 #include <stdlib.h>
8486 #if ((' ' & 0x0FF) == 0x020)
8487 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8488 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8489 #else
8490 # define ISLOWER(c) \
8491 (('a' <= (c) && (c) <= 'i') \
8492 || ('j' <= (c) && (c) <= 'r') \
8493 || ('s' <= (c) && (c) <= 'z'))
8494 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8495 #endif
8497 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8499 main ()
8501 int i;
8502 for (i = 0; i < 256; i++)
8503 if (XOR (islower (i), ISLOWER (i))
8504 || toupper (i) != TOUPPER (i))
8505 return 2;
8506 return 0;
8508 _ACEOF
8509 if ac_fn_c_try_run "$LINENO"; then :
8511 else
8512 ac_cv_header_stdc=no
8514 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8515 conftest.$ac_objext conftest.beam conftest.$ac_ext
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8521 $as_echo "$ac_cv_header_stdc" >&6; }
8522 if test $ac_cv_header_stdc = yes; then
8524 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8528 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8529 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8530 inttypes.h stdint.h unistd.h
8531 do :
8532 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8533 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8535 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8536 cat >>confdefs.h <<_ACEOF
8537 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8538 _ACEOF
8542 done
8545 for ac_header in dlfcn.h
8546 do :
8547 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8549 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8550 cat >>confdefs.h <<_ACEOF
8551 #define HAVE_DLFCN_H 1
8552 _ACEOF
8556 done
8563 # Set options
8568 enable_win32_dll=no
8571 # Check whether --enable-shared was given.
8572 if test "${enable_shared+set}" = set; then :
8573 enableval=$enable_shared; p=${PACKAGE-default}
8574 case $enableval in
8575 yes) enable_shared=yes ;;
8576 no) enable_shared=no ;;
8578 enable_shared=no
8579 # Look at the argument we got. We use all the common list separators.
8580 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8581 for pkg in $enableval; do
8582 IFS="$lt_save_ifs"
8583 if test "X$pkg" = "X$p"; then
8584 enable_shared=yes
8586 done
8587 IFS="$lt_save_ifs"
8589 esac
8590 else
8591 enable_shared=yes
8602 # Check whether --enable-static was given.
8603 if test "${enable_static+set}" = set; then :
8604 enableval=$enable_static; p=${PACKAGE-default}
8605 case $enableval in
8606 yes) enable_static=yes ;;
8607 no) enable_static=no ;;
8609 enable_static=no
8610 # Look at the argument we got. We use all the common list separators.
8611 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8612 for pkg in $enableval; do
8613 IFS="$lt_save_ifs"
8614 if test "X$pkg" = "X$p"; then
8615 enable_static=yes
8617 done
8618 IFS="$lt_save_ifs"
8620 esac
8621 else
8622 enable_static=yes
8634 # Check whether --with-pic was given.
8635 if test "${with_pic+set}" = set; then :
8636 withval=$with_pic; pic_mode="$withval"
8637 else
8638 pic_mode=default
8642 test -z "$pic_mode" && pic_mode=default
8650 # Check whether --enable-fast-install was given.
8651 if test "${enable_fast_install+set}" = set; then :
8652 enableval=$enable_fast_install; p=${PACKAGE-default}
8653 case $enableval in
8654 yes) enable_fast_install=yes ;;
8655 no) enable_fast_install=no ;;
8657 enable_fast_install=no
8658 # Look at the argument we got. We use all the common list separators.
8659 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8660 for pkg in $enableval; do
8661 IFS="$lt_save_ifs"
8662 if test "X$pkg" = "X$p"; then
8663 enable_fast_install=yes
8665 done
8666 IFS="$lt_save_ifs"
8668 esac
8669 else
8670 enable_fast_install=yes
8683 # This can be used to rebuild libtool when needed
8684 LIBTOOL_DEPS="$ltmain"
8686 # Always use our own libtool.
8687 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8714 test -z "$LN_S" && LN_S="ln -s"
8729 if test -n "${ZSH_VERSION+set}" ; then
8730 setopt NO_GLOB_SUBST
8733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8734 $as_echo_n "checking for objdir... " >&6; }
8735 if ${lt_cv_objdir+:} false; then :
8736 $as_echo_n "(cached) " >&6
8737 else
8738 rm -f .libs 2>/dev/null
8739 mkdir .libs 2>/dev/null
8740 if test -d .libs; then
8741 lt_cv_objdir=.libs
8742 else
8743 # MS-DOS does not allow filenames that begin with a dot.
8744 lt_cv_objdir=_libs
8746 rmdir .libs 2>/dev/null
8748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8749 $as_echo "$lt_cv_objdir" >&6; }
8750 objdir=$lt_cv_objdir
8756 cat >>confdefs.h <<_ACEOF
8757 #define LT_OBJDIR "$lt_cv_objdir/"
8758 _ACEOF
8763 case $host_os in
8764 aix3*)
8765 # AIX sometimes has problems with the GCC collect2 program. For some
8766 # reason, if we set the COLLECT_NAMES environment variable, the problems
8767 # vanish in a puff of smoke.
8768 if test "X${COLLECT_NAMES+set}" != Xset; then
8769 COLLECT_NAMES=
8770 export COLLECT_NAMES
8773 esac
8775 # Global variables:
8776 ofile=libtool
8777 can_build_shared=yes
8779 # All known linkers require a `.a' archive for static linking (except MSVC,
8780 # which needs '.lib').
8781 libext=a
8783 with_gnu_ld="$lt_cv_prog_gnu_ld"
8785 old_CC="$CC"
8786 old_CFLAGS="$CFLAGS"
8788 # Set sane defaults for various variables
8789 test -z "$CC" && CC=cc
8790 test -z "$LTCC" && LTCC=$CC
8791 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8792 test -z "$LD" && LD=ld
8793 test -z "$ac_objext" && ac_objext=o
8795 for cc_temp in $compiler""; do
8796 case $cc_temp in
8797 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8798 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8799 \-*) ;;
8800 *) break;;
8801 esac
8802 done
8803 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8806 # Only perform the check for file, if the check method requires it
8807 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8808 case $deplibs_check_method in
8809 file_magic*)
8810 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8812 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8813 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8814 $as_echo_n "(cached) " >&6
8815 else
8816 case $MAGIC_CMD in
8817 [\\/*] | ?:[\\/]*)
8818 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8821 lt_save_MAGIC_CMD="$MAGIC_CMD"
8822 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8823 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8824 for ac_dir in $ac_dummy; do
8825 IFS="$lt_save_ifs"
8826 test -z "$ac_dir" && ac_dir=.
8827 if test -f $ac_dir/${ac_tool_prefix}file; then
8828 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8829 if test -n "$file_magic_test_file"; then
8830 case $deplibs_check_method in
8831 "file_magic "*)
8832 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8833 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8834 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8835 $EGREP "$file_magic_regex" > /dev/null; then
8837 else
8838 cat <<_LT_EOF 1>&2
8840 *** Warning: the command libtool uses to detect shared libraries,
8841 *** $file_magic_cmd, produces output that libtool cannot recognize.
8842 *** The result is that libtool may fail to recognize shared libraries
8843 *** as such. This will affect the creation of libtool libraries that
8844 *** depend on shared libraries, but programs linked with such libtool
8845 *** libraries will work regardless of this problem. Nevertheless, you
8846 *** may want to report the problem to your system manager and/or to
8847 *** bug-libtool@gnu.org
8849 _LT_EOF
8850 fi ;;
8851 esac
8853 break
8855 done
8856 IFS="$lt_save_ifs"
8857 MAGIC_CMD="$lt_save_MAGIC_CMD"
8859 esac
8862 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8863 if test -n "$MAGIC_CMD"; then
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8865 $as_echo "$MAGIC_CMD" >&6; }
8866 else
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8868 $as_echo "no" >&6; }
8875 if test -z "$lt_cv_path_MAGIC_CMD"; then
8876 if test -n "$ac_tool_prefix"; then
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8878 $as_echo_n "checking for file... " >&6; }
8879 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8880 $as_echo_n "(cached) " >&6
8881 else
8882 case $MAGIC_CMD in
8883 [\\/*] | ?:[\\/]*)
8884 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8887 lt_save_MAGIC_CMD="$MAGIC_CMD"
8888 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8889 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8890 for ac_dir in $ac_dummy; do
8891 IFS="$lt_save_ifs"
8892 test -z "$ac_dir" && ac_dir=.
8893 if test -f $ac_dir/file; then
8894 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8895 if test -n "$file_magic_test_file"; then
8896 case $deplibs_check_method in
8897 "file_magic "*)
8898 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8899 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8900 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8901 $EGREP "$file_magic_regex" > /dev/null; then
8903 else
8904 cat <<_LT_EOF 1>&2
8906 *** Warning: the command libtool uses to detect shared libraries,
8907 *** $file_magic_cmd, produces output that libtool cannot recognize.
8908 *** The result is that libtool may fail to recognize shared libraries
8909 *** as such. This will affect the creation of libtool libraries that
8910 *** depend on shared libraries, but programs linked with such libtool
8911 *** libraries will work regardless of this problem. Nevertheless, you
8912 *** may want to report the problem to your system manager and/or to
8913 *** bug-libtool@gnu.org
8915 _LT_EOF
8916 fi ;;
8917 esac
8919 break
8921 done
8922 IFS="$lt_save_ifs"
8923 MAGIC_CMD="$lt_save_MAGIC_CMD"
8925 esac
8928 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8929 if test -n "$MAGIC_CMD"; then
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8931 $as_echo "$MAGIC_CMD" >&6; }
8932 else
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8934 $as_echo "no" >&6; }
8938 else
8939 MAGIC_CMD=:
8945 esac
8947 # Use C for the default configuration in the libtool script
8949 lt_save_CC="$CC"
8950 ac_ext=c
8951 ac_cpp='$CPP $CPPFLAGS'
8952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8957 # Source file extension for C test sources.
8958 ac_ext=c
8960 # Object file extension for compiled C test sources.
8961 objext=o
8962 objext=$objext
8964 # Code to be used in simple compile tests
8965 lt_simple_compile_test_code="int some_variable = 0;"
8967 # Code to be used in simple link tests
8968 lt_simple_link_test_code='int main(){return(0);}'
8976 # If no C compiler was specified, use CC.
8977 LTCC=${LTCC-"$CC"}
8979 # If no C compiler flags were specified, use CFLAGS.
8980 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8982 # Allow CC to be a program name with arguments.
8983 compiler=$CC
8985 # Save the default compiler, since it gets overwritten when the other
8986 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8987 compiler_DEFAULT=$CC
8989 # save warnings/boilerplate of simple test code
8990 ac_outfile=conftest.$ac_objext
8991 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8992 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8993 _lt_compiler_boilerplate=`cat conftest.err`
8994 $RM conftest*
8996 ac_outfile=conftest.$ac_objext
8997 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8998 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8999 _lt_linker_boilerplate=`cat conftest.err`
9000 $RM -r conftest*
9003 ## CAVEAT EMPTOR:
9004 ## There is no encapsulation within the following macros, do not change
9005 ## the running order or otherwise move them around unless you know exactly
9006 ## what you are doing...
9007 if test -n "$compiler"; then
9009 lt_prog_compiler_no_builtin_flag=
9011 if test "$GCC" = yes; then
9012 case $cc_basename in
9013 nvcc*)
9014 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9016 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9017 esac
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9020 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9021 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9022 $as_echo_n "(cached) " >&6
9023 else
9024 lt_cv_prog_compiler_rtti_exceptions=no
9025 ac_outfile=conftest.$ac_objext
9026 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9027 lt_compiler_flag="-fno-rtti -fno-exceptions"
9028 # Insert the option either (1) after the last *FLAGS variable, or
9029 # (2) before a word containing "conftest.", or (3) at the end.
9030 # Note that $ac_compile itself does not contain backslashes and begins
9031 # with a dollar sign (not a hyphen), so the echo should work correctly.
9032 # The option is referenced via a variable to avoid confusing sed.
9033 lt_compile=`echo "$ac_compile" | $SED \
9034 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9035 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9036 -e 's:$: $lt_compiler_flag:'`
9037 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9038 (eval "$lt_compile" 2>conftest.err)
9039 ac_status=$?
9040 cat conftest.err >&5
9041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9042 if (exit $ac_status) && test -s "$ac_outfile"; then
9043 # The compiler can only warn and ignore the option if not recognized
9044 # So say no if there are warnings other than the usual output.
9045 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9046 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9047 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9048 lt_cv_prog_compiler_rtti_exceptions=yes
9051 $RM conftest*
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9055 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9057 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9058 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9059 else
9070 lt_prog_compiler_wl=
9071 lt_prog_compiler_pic=
9072 lt_prog_compiler_static=
9074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9075 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9077 if test "$GCC" = yes; then
9078 lt_prog_compiler_wl='-Wl,'
9079 lt_prog_compiler_static='-static'
9081 case $host_os in
9082 aix*)
9083 # All AIX code is PIC.
9084 if test "$host_cpu" = ia64; then
9085 # AIX 5 now supports IA64 processor
9086 lt_prog_compiler_static='-Bstatic'
9088 lt_prog_compiler_pic='-fPIC'
9091 amigaos*)
9092 case $host_cpu in
9093 powerpc)
9094 # see comment about AmigaOS4 .so support
9095 lt_prog_compiler_pic='-fPIC'
9097 m68k)
9098 # FIXME: we need at least 68020 code to build shared libraries, but
9099 # adding the `-m68020' flag to GCC prevents building anything better,
9100 # like `-m68040'.
9101 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9103 esac
9106 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9107 # PIC is the default for these OSes.
9110 mingw* | cygwin* | pw32* | os2* | cegcc*)
9111 # This hack is so that the source file can tell whether it is being
9112 # built for inclusion in a dll (and should export symbols for example).
9113 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9114 # (--disable-auto-import) libraries
9115 lt_prog_compiler_pic='-DDLL_EXPORT'
9118 darwin* | rhapsody*)
9119 # PIC is the default on this platform
9120 # Common symbols not allowed in MH_DYLIB files
9121 lt_prog_compiler_pic='-fno-common'
9124 haiku*)
9125 # PIC is the default for Haiku.
9126 # The "-static" flag exists, but is broken.
9127 lt_prog_compiler_static=
9130 hpux*)
9131 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9132 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9133 # sets the default TLS model and affects inlining.
9134 case $host_cpu in
9135 hppa*64*)
9136 # +Z the default
9139 lt_prog_compiler_pic='-fPIC'
9141 esac
9144 interix[3-9]*)
9145 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9146 # Instead, we relocate shared libraries at runtime.
9149 msdosdjgpp*)
9150 # Just because we use GCC doesn't mean we suddenly get shared libraries
9151 # on systems that don't support them.
9152 lt_prog_compiler_can_build_shared=no
9153 enable_shared=no
9156 *nto* | *qnx*)
9157 # QNX uses GNU C++, but need to define -shared option too, otherwise
9158 # it will coredump.
9159 lt_prog_compiler_pic='-fPIC -shared'
9162 sysv4*MP*)
9163 if test -d /usr/nec; then
9164 lt_prog_compiler_pic=-Kconform_pic
9169 lt_prog_compiler_pic='-fPIC'
9171 esac
9173 case $cc_basename in
9174 nvcc*) # Cuda Compiler Driver 2.2
9175 lt_prog_compiler_wl='-Xlinker '
9176 lt_prog_compiler_pic='-Xcompiler -fPIC'
9178 esac
9179 else
9180 # PORTME Check for flag to pass linker flags through the system compiler.
9181 case $host_os in
9182 aix*)
9183 lt_prog_compiler_wl='-Wl,'
9184 if test "$host_cpu" = ia64; then
9185 # AIX 5 now supports IA64 processor
9186 lt_prog_compiler_static='-Bstatic'
9187 else
9188 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9192 mingw* | cygwin* | pw32* | os2* | cegcc*)
9193 # This hack is so that the source file can tell whether it is being
9194 # built for inclusion in a dll (and should export symbols for example).
9195 lt_prog_compiler_pic='-DDLL_EXPORT'
9198 hpux9* | hpux10* | hpux11*)
9199 lt_prog_compiler_wl='-Wl,'
9200 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9201 # not for PA HP-UX.
9202 case $host_cpu in
9203 hppa*64*|ia64*)
9204 # +Z the default
9207 lt_prog_compiler_pic='+Z'
9209 esac
9210 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9211 lt_prog_compiler_static='${wl}-a ${wl}archive'
9214 irix5* | irix6* | nonstopux*)
9215 lt_prog_compiler_wl='-Wl,'
9216 # PIC (with -KPIC) is the default.
9217 lt_prog_compiler_static='-non_shared'
9220 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9221 case $cc_basename in
9222 # old Intel for x86_64 which still supported -KPIC.
9223 ecc*)
9224 lt_prog_compiler_wl='-Wl,'
9225 lt_prog_compiler_pic='-KPIC'
9226 lt_prog_compiler_static='-static'
9228 # icc used to be incompatible with GCC.
9229 # ICC 10 doesn't accept -KPIC any more.
9230 icc* | ifort*)
9231 lt_prog_compiler_wl='-Wl,'
9232 lt_prog_compiler_pic='-fPIC'
9233 lt_prog_compiler_static='-static'
9235 # Lahey Fortran 8.1.
9236 lf95*)
9237 lt_prog_compiler_wl='-Wl,'
9238 lt_prog_compiler_pic='--shared'
9239 lt_prog_compiler_static='--static'
9241 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9242 # Portland Group compilers (*not* the Pentium gcc compiler,
9243 # which looks to be a dead project)
9244 lt_prog_compiler_wl='-Wl,'
9245 lt_prog_compiler_pic='-fpic'
9246 lt_prog_compiler_static='-Bstatic'
9248 ccc*)
9249 lt_prog_compiler_wl='-Wl,'
9250 # All Alpha code is PIC.
9251 lt_prog_compiler_static='-non_shared'
9253 xl* | bgxl* | bgf* | mpixl*)
9254 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9255 lt_prog_compiler_wl='-Wl,'
9256 lt_prog_compiler_pic='-qpic'
9257 lt_prog_compiler_static='-qstaticlink'
9260 case `$CC -V 2>&1 | sed 5q` in
9261 *Sun\ F* | *Sun*Fortran*)
9262 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9263 lt_prog_compiler_pic='-KPIC'
9264 lt_prog_compiler_static='-Bstatic'
9265 lt_prog_compiler_wl=''
9267 *Sun\ C*)
9268 # Sun C 5.9
9269 lt_prog_compiler_pic='-KPIC'
9270 lt_prog_compiler_static='-Bstatic'
9271 lt_prog_compiler_wl='-Wl,'
9273 esac
9275 esac
9278 newsos6)
9279 lt_prog_compiler_pic='-KPIC'
9280 lt_prog_compiler_static='-Bstatic'
9283 *nto* | *qnx*)
9284 # QNX uses GNU C++, but need to define -shared option too, otherwise
9285 # it will coredump.
9286 lt_prog_compiler_pic='-fPIC -shared'
9289 osf3* | osf4* | osf5*)
9290 lt_prog_compiler_wl='-Wl,'
9291 # All OSF/1 code is PIC.
9292 lt_prog_compiler_static='-non_shared'
9295 rdos*)
9296 lt_prog_compiler_static='-non_shared'
9299 solaris*)
9300 lt_prog_compiler_pic='-KPIC'
9301 lt_prog_compiler_static='-Bstatic'
9302 case $cc_basename in
9303 f77* | f90* | f95*)
9304 lt_prog_compiler_wl='-Qoption ld ';;
9306 lt_prog_compiler_wl='-Wl,';;
9307 esac
9310 sunos4*)
9311 lt_prog_compiler_wl='-Qoption ld '
9312 lt_prog_compiler_pic='-PIC'
9313 lt_prog_compiler_static='-Bstatic'
9316 sysv4 | sysv4.2uw2* | sysv4.3*)
9317 lt_prog_compiler_wl='-Wl,'
9318 lt_prog_compiler_pic='-KPIC'
9319 lt_prog_compiler_static='-Bstatic'
9322 sysv4*MP*)
9323 if test -d /usr/nec ;then
9324 lt_prog_compiler_pic='-Kconform_pic'
9325 lt_prog_compiler_static='-Bstatic'
9329 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9330 lt_prog_compiler_wl='-Wl,'
9331 lt_prog_compiler_pic='-KPIC'
9332 lt_prog_compiler_static='-Bstatic'
9335 unicos*)
9336 lt_prog_compiler_wl='-Wl,'
9337 lt_prog_compiler_can_build_shared=no
9340 uts4*)
9341 lt_prog_compiler_pic='-pic'
9342 lt_prog_compiler_static='-Bstatic'
9346 lt_prog_compiler_can_build_shared=no
9348 esac
9351 case $host_os in
9352 # For platforms which do not support PIC, -DPIC is meaningless:
9353 *djgpp*)
9354 lt_prog_compiler_pic=
9357 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9359 esac
9360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9361 $as_echo "$lt_prog_compiler_pic" >&6; }
9369 # Check to make sure the PIC flag actually works.
9371 if test -n "$lt_prog_compiler_pic"; then
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9373 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9374 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9375 $as_echo_n "(cached) " >&6
9376 else
9377 lt_cv_prog_compiler_pic_works=no
9378 ac_outfile=conftest.$ac_objext
9379 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9380 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9381 # Insert the option either (1) after the last *FLAGS variable, or
9382 # (2) before a word containing "conftest.", or (3) at the end.
9383 # Note that $ac_compile itself does not contain backslashes and begins
9384 # with a dollar sign (not a hyphen), so the echo should work correctly.
9385 # The option is referenced via a variable to avoid confusing sed.
9386 lt_compile=`echo "$ac_compile" | $SED \
9387 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9388 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9389 -e 's:$: $lt_compiler_flag:'`
9390 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9391 (eval "$lt_compile" 2>conftest.err)
9392 ac_status=$?
9393 cat conftest.err >&5
9394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9395 if (exit $ac_status) && test -s "$ac_outfile"; then
9396 # The compiler can only warn and ignore the option if not recognized
9397 # So say no if there are warnings other than the usual output.
9398 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9399 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9400 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9401 lt_cv_prog_compiler_pic_works=yes
9404 $RM conftest*
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9408 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9410 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9411 case $lt_prog_compiler_pic in
9412 "" | " "*) ;;
9413 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9414 esac
9415 else
9416 lt_prog_compiler_pic=
9417 lt_prog_compiler_can_build_shared=no
9428 # Check to make sure the static flag actually works.
9430 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9432 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9433 if ${lt_cv_prog_compiler_static_works+:} false; then :
9434 $as_echo_n "(cached) " >&6
9435 else
9436 lt_cv_prog_compiler_static_works=no
9437 save_LDFLAGS="$LDFLAGS"
9438 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9439 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9440 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9441 # The linker can only warn and ignore the option if not recognized
9442 # So say no if there are warnings
9443 if test -s conftest.err; then
9444 # Append any errors to the config.log.
9445 cat conftest.err 1>&5
9446 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9447 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9448 if diff conftest.exp conftest.er2 >/dev/null; then
9449 lt_cv_prog_compiler_static_works=yes
9451 else
9452 lt_cv_prog_compiler_static_works=yes
9455 $RM -r conftest*
9456 LDFLAGS="$save_LDFLAGS"
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9460 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9462 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9464 else
9465 lt_prog_compiler_static=
9474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9475 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9476 if ${lt_cv_prog_compiler_c_o+:} false; then :
9477 $as_echo_n "(cached) " >&6
9478 else
9479 lt_cv_prog_compiler_c_o=no
9480 $RM -r conftest 2>/dev/null
9481 mkdir conftest
9482 cd conftest
9483 mkdir out
9484 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9486 lt_compiler_flag="-o out/conftest2.$ac_objext"
9487 # Insert the option either (1) after the last *FLAGS variable, or
9488 # (2) before a word containing "conftest.", or (3) at the end.
9489 # Note that $ac_compile itself does not contain backslashes and begins
9490 # with a dollar sign (not a hyphen), so the echo should work correctly.
9491 lt_compile=`echo "$ac_compile" | $SED \
9492 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9493 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9494 -e 's:$: $lt_compiler_flag:'`
9495 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9496 (eval "$lt_compile" 2>out/conftest.err)
9497 ac_status=$?
9498 cat out/conftest.err >&5
9499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9500 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9501 then
9502 # The compiler can only warn and ignore the option if not recognized
9503 # So say no if there are warnings
9504 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9505 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9506 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9507 lt_cv_prog_compiler_c_o=yes
9510 chmod u+w . 2>&5
9511 $RM conftest*
9512 # SGI C++ compiler will create directory out/ii_files/ for
9513 # template instantiation
9514 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9515 $RM out/* && rmdir out
9516 cd ..
9517 $RM -r conftest
9518 $RM conftest*
9521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9522 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9530 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9531 if ${lt_cv_prog_compiler_c_o+:} false; then :
9532 $as_echo_n "(cached) " >&6
9533 else
9534 lt_cv_prog_compiler_c_o=no
9535 $RM -r conftest 2>/dev/null
9536 mkdir conftest
9537 cd conftest
9538 mkdir out
9539 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9541 lt_compiler_flag="-o out/conftest2.$ac_objext"
9542 # Insert the option either (1) after the last *FLAGS variable, or
9543 # (2) before a word containing "conftest.", or (3) at the end.
9544 # Note that $ac_compile itself does not contain backslashes and begins
9545 # with a dollar sign (not a hyphen), so the echo should work correctly.
9546 lt_compile=`echo "$ac_compile" | $SED \
9547 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9548 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9549 -e 's:$: $lt_compiler_flag:'`
9550 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9551 (eval "$lt_compile" 2>out/conftest.err)
9552 ac_status=$?
9553 cat out/conftest.err >&5
9554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9555 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9556 then
9557 # The compiler can only warn and ignore the option if not recognized
9558 # So say no if there are warnings
9559 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9560 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9561 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9562 lt_cv_prog_compiler_c_o=yes
9565 chmod u+w . 2>&5
9566 $RM conftest*
9567 # SGI C++ compiler will create directory out/ii_files/ for
9568 # template instantiation
9569 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9570 $RM out/* && rmdir out
9571 cd ..
9572 $RM -r conftest
9573 $RM conftest*
9576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9577 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9582 hard_links="nottested"
9583 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9584 # do not overwrite the value of need_locks provided by the user
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9586 $as_echo_n "checking if we can lock with hard links... " >&6; }
9587 hard_links=yes
9588 $RM conftest*
9589 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9590 touch conftest.a
9591 ln conftest.a conftest.b 2>&5 || hard_links=no
9592 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9594 $as_echo "$hard_links" >&6; }
9595 if test "$hard_links" = no; then
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9597 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9598 need_locks=warn
9600 else
9601 need_locks=no
9609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9610 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9612 runpath_var=
9613 allow_undefined_flag=
9614 always_export_symbols=no
9615 archive_cmds=
9616 archive_expsym_cmds=
9617 compiler_needs_object=no
9618 enable_shared_with_static_runtimes=no
9619 export_dynamic_flag_spec=
9620 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9621 hardcode_automatic=no
9622 hardcode_direct=no
9623 hardcode_direct_absolute=no
9624 hardcode_libdir_flag_spec=
9625 hardcode_libdir_flag_spec_ld=
9626 hardcode_libdir_separator=
9627 hardcode_minus_L=no
9628 hardcode_shlibpath_var=unsupported
9629 inherit_rpath=no
9630 link_all_deplibs=unknown
9631 module_cmds=
9632 module_expsym_cmds=
9633 old_archive_from_new_cmds=
9634 old_archive_from_expsyms_cmds=
9635 thread_safe_flag_spec=
9636 whole_archive_flag_spec=
9637 # include_expsyms should be a list of space-separated symbols to be *always*
9638 # included in the symbol list
9639 include_expsyms=
9640 # exclude_expsyms can be an extended regexp of symbols to exclude
9641 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9642 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9643 # as well as any symbol that contains `d'.
9644 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9645 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9646 # platforms (ab)use it in PIC code, but their linkers get confused if
9647 # the symbol is explicitly referenced. Since portable code cannot
9648 # rely on this symbol name, it's probably fine to never include it in
9649 # preloaded symbol tables.
9650 # Exclude shared library initialization/finalization symbols.
9651 extract_expsyms_cmds=
9653 case $host_os in
9654 cygwin* | mingw* | pw32* | cegcc*)
9655 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9656 # When not using gcc, we currently assume that we are using
9657 # Microsoft Visual C++.
9658 if test "$GCC" != yes; then
9659 with_gnu_ld=no
9662 interix*)
9663 # we just hope/assume this is gcc and not c89 (= MSVC++)
9664 with_gnu_ld=yes
9666 openbsd*)
9667 with_gnu_ld=no
9669 esac
9671 ld_shlibs=yes
9673 # On some targets, GNU ld is compatible enough with the native linker
9674 # that we're better off using the native interface for both.
9675 lt_use_gnu_ld_interface=no
9676 if test "$with_gnu_ld" = yes; then
9677 case $host_os in
9678 aix*)
9679 # The AIX port of GNU ld has always aspired to compatibility
9680 # with the native linker. However, as the warning in the GNU ld
9681 # block says, versions before 2.19.5* couldn't really create working
9682 # shared libraries, regardless of the interface used.
9683 case `$LD -v 2>&1` in
9684 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9685 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9686 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9688 lt_use_gnu_ld_interface=yes
9690 esac
9693 lt_use_gnu_ld_interface=yes
9695 esac
9698 if test "$lt_use_gnu_ld_interface" = yes; then
9699 # If archive_cmds runs LD, not CC, wlarc should be empty
9700 wlarc='${wl}'
9702 # Set some defaults for GNU ld with shared library support. These
9703 # are reset later if shared libraries are not supported. Putting them
9704 # here allows them to be overridden if necessary.
9705 runpath_var=LD_RUN_PATH
9706 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9707 export_dynamic_flag_spec='${wl}--export-dynamic'
9708 # ancient GNU ld didn't support --whole-archive et. al.
9709 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9710 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9711 else
9712 whole_archive_flag_spec=
9714 supports_anon_versioning=no
9715 case `$LD -v 2>&1` in
9716 *GNU\ gold*) supports_anon_versioning=yes ;;
9717 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9718 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9719 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9720 *\ 2.11.*) ;; # other 2.11 versions
9721 *) supports_anon_versioning=yes ;;
9722 esac
9724 # See if GNU ld supports shared libraries.
9725 case $host_os in
9726 aix[3-9]*)
9727 # On AIX/PPC, the GNU linker is very broken
9728 if test "$host_cpu" != ia64; then
9729 ld_shlibs=no
9730 cat <<_LT_EOF 1>&2
9732 *** Warning: the GNU linker, at least up to release 2.19, is reported
9733 *** to be unable to reliably create shared libraries on AIX.
9734 *** Therefore, libtool is disabling shared libraries support. If you
9735 *** really care for shared libraries, you may want to install binutils
9736 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9737 *** You will then need to restart the configuration process.
9739 _LT_EOF
9743 amigaos*)
9744 case $host_cpu in
9745 powerpc)
9746 # see comment about AmigaOS4 .so support
9747 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9748 archive_expsym_cmds=''
9750 m68k)
9751 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)'
9752 hardcode_libdir_flag_spec='-L$libdir'
9753 hardcode_minus_L=yes
9755 esac
9758 beos*)
9759 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9760 allow_undefined_flag=unsupported
9761 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9762 # support --undefined. This deserves some investigation. FIXME
9763 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9764 else
9765 ld_shlibs=no
9769 cygwin* | mingw* | pw32* | cegcc*)
9770 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9771 # as there is no search path for DLLs.
9772 hardcode_libdir_flag_spec='-L$libdir'
9773 export_dynamic_flag_spec='${wl}--export-all-symbols'
9774 allow_undefined_flag=unsupported
9775 always_export_symbols=no
9776 enable_shared_with_static_runtimes=yes
9777 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9779 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9780 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9781 # If the export-symbols file already is a .def file (1st line
9782 # is EXPORTS), use it as is; otherwise, prepend...
9783 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9784 cp $export_symbols $output_objdir/$soname.def;
9785 else
9786 echo EXPORTS > $output_objdir/$soname.def;
9787 cat $export_symbols >> $output_objdir/$soname.def;
9789 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9790 else
9791 ld_shlibs=no
9795 haiku*)
9796 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9797 link_all_deplibs=yes
9800 interix[3-9]*)
9801 hardcode_direct=no
9802 hardcode_shlibpath_var=no
9803 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9804 export_dynamic_flag_spec='${wl}-E'
9805 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9806 # Instead, shared libraries are loaded at an image base (0x10000000 by
9807 # default) and relocated if they conflict, which is a slow very memory
9808 # consuming and fragmenting process. To avoid this, we pick a random,
9809 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9810 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9811 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9812 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'
9815 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
9816 tmp_diet=no
9817 if test "$host_os" = linux-dietlibc; then
9818 case $cc_basename in
9819 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9820 esac
9822 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9823 && test "$tmp_diet" = no
9824 then
9825 tmp_addflag=' $pic_flag'
9826 tmp_sharedflag='-shared'
9827 case $cc_basename,$host_cpu in
9828 pgcc*) # Portland Group C compiler
9829 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'
9830 tmp_addflag=' $pic_flag'
9832 pgf77* | pgf90* | pgf95* | pgfortran*)
9833 # Portland Group f77 and f90 compilers
9834 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'
9835 tmp_addflag=' $pic_flag -Mnomain' ;;
9836 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9837 tmp_addflag=' -i_dynamic' ;;
9838 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9839 tmp_addflag=' -i_dynamic -nofor_main' ;;
9840 ifc* | ifort*) # Intel Fortran compiler
9841 tmp_addflag=' -nofor_main' ;;
9842 lf95*) # Lahey Fortran 8.1
9843 whole_archive_flag_spec=
9844 tmp_sharedflag='--shared' ;;
9845 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9846 tmp_sharedflag='-qmkshrobj'
9847 tmp_addflag= ;;
9848 nvcc*) # Cuda Compiler Driver 2.2
9849 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'
9850 compiler_needs_object=yes
9852 esac
9853 case `$CC -V 2>&1 | sed 5q` in
9854 *Sun\ C*) # Sun C 5.9
9855 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'
9856 compiler_needs_object=yes
9857 tmp_sharedflag='-G' ;;
9858 *Sun\ F*) # Sun Fortran 8.3
9859 tmp_sharedflag='-G' ;;
9860 esac
9861 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9863 if test "x$supports_anon_versioning" = xyes; then
9864 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9865 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9866 echo "local: *; };" >> $output_objdir/$libname.ver~
9867 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9870 case $cc_basename in
9871 xlf* | bgf* | bgxlf* | mpixlf*)
9872 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9873 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9874 hardcode_libdir_flag_spec=
9875 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9876 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9877 if test "x$supports_anon_versioning" = xyes; then
9878 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9879 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9880 echo "local: *; };" >> $output_objdir/$libname.ver~
9881 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9884 esac
9885 else
9886 ld_shlibs=no
9890 netbsd*)
9891 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9892 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9893 wlarc=
9894 else
9895 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9896 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9900 solaris*)
9901 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9902 ld_shlibs=no
9903 cat <<_LT_EOF 1>&2
9905 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9906 *** create shared libraries on Solaris systems. Therefore, libtool
9907 *** is disabling shared libraries support. We urge you to upgrade GNU
9908 *** binutils to release 2.9.1 or newer. Another option is to modify
9909 *** your PATH or compiler configuration so that the native linker is
9910 *** used, and then restart.
9912 _LT_EOF
9913 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9914 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9915 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9916 else
9917 ld_shlibs=no
9921 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9922 case `$LD -v 2>&1` in
9923 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9924 ld_shlibs=no
9925 cat <<_LT_EOF 1>&2
9927 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9928 *** reliably create shared libraries on SCO systems. Therefore, libtool
9929 *** is disabling shared libraries support. We urge you to upgrade GNU
9930 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9931 *** your PATH or compiler configuration so that the native linker is
9932 *** used, and then restart.
9934 _LT_EOF
9937 # For security reasons, it is highly recommended that you always
9938 # use absolute paths for naming shared libraries, and exclude the
9939 # DT_RUNPATH tag from executables and libraries. But doing so
9940 # requires that you compile everything twice, which is a pain.
9941 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9942 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9943 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9944 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9945 else
9946 ld_shlibs=no
9949 esac
9952 sunos4*)
9953 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9954 wlarc=
9955 hardcode_direct=yes
9956 hardcode_shlibpath_var=no
9960 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9961 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9962 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9963 else
9964 ld_shlibs=no
9967 esac
9969 if test "$ld_shlibs" = no; then
9970 runpath_var=
9971 hardcode_libdir_flag_spec=
9972 export_dynamic_flag_spec=
9973 whole_archive_flag_spec=
9975 else
9976 # PORTME fill in a description of your system's linker (not GNU ld)
9977 case $host_os in
9978 aix3*)
9979 allow_undefined_flag=unsupported
9980 always_export_symbols=yes
9981 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'
9982 # Note: this linker hardcodes the directories in LIBPATH if there
9983 # are no directories specified by -L.
9984 hardcode_minus_L=yes
9985 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9986 # Neither direct hardcoding nor static linking is supported with a
9987 # broken collect2.
9988 hardcode_direct=unsupported
9992 aix[4-9]*)
9993 if test "$host_cpu" = ia64; then
9994 # On IA64, the linker does run time linking by default, so we don't
9995 # have to do anything special.
9996 aix_use_runtimelinking=no
9997 exp_sym_flag='-Bexport'
9998 no_entry_flag=""
9999 else
10000 # If we're using GNU nm, then we don't want the "-C" option.
10001 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10002 # Also, AIX nm treats weak defined symbols like other global
10003 # defined symbols, whereas GNU nm marks them as "W".
10004 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10005 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'
10006 else
10007 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'
10009 aix_use_runtimelinking=no
10011 # Test if we are trying to use run time linking or normal
10012 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10013 # need to do runtime linking.
10014 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10015 for ld_flag in $LDFLAGS; do
10016 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10017 aix_use_runtimelinking=yes
10018 break
10020 done
10022 esac
10024 exp_sym_flag='-bexport'
10025 no_entry_flag='-bnoentry'
10028 # When large executables or shared objects are built, AIX ld can
10029 # have problems creating the table of contents. If linking a library
10030 # or program results in "error TOC overflow" add -mminimal-toc to
10031 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10032 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10034 archive_cmds=''
10035 hardcode_direct=yes
10036 hardcode_direct_absolute=yes
10037 hardcode_libdir_separator=':'
10038 link_all_deplibs=yes
10039 file_list_spec='${wl}-f,'
10041 if test "$GCC" = yes; then
10042 case $host_os in aix4.[012]|aix4.[012].*)
10043 # We only want to do this on AIX 4.2 and lower, the check
10044 # below for broken collect2 doesn't work under 4.3+
10045 collect2name=`${CC} -print-prog-name=collect2`
10046 if test -f "$collect2name" &&
10047 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10048 then
10049 # We have reworked collect2
10051 else
10052 # We have old collect2
10053 hardcode_direct=unsupported
10054 # It fails to find uninstalled libraries when the uninstalled
10055 # path is not listed in the libpath. Setting hardcode_minus_L
10056 # to unsupported forces relinking
10057 hardcode_minus_L=yes
10058 hardcode_libdir_flag_spec='-L$libdir'
10059 hardcode_libdir_separator=
10062 esac
10063 shared_flag='-shared'
10064 if test "$aix_use_runtimelinking" = yes; then
10065 shared_flag="$shared_flag "'${wl}-G'
10067 else
10068 # not using gcc
10069 if test "$host_cpu" = ia64; then
10070 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10071 # chokes on -Wl,-G. The following line is correct:
10072 shared_flag='-G'
10073 else
10074 if test "$aix_use_runtimelinking" = yes; then
10075 shared_flag='${wl}-G'
10076 else
10077 shared_flag='${wl}-bM:SRE'
10082 export_dynamic_flag_spec='${wl}-bexpall'
10083 # It seems that -bexpall does not export symbols beginning with
10084 # underscore (_), so it is better to generate a list of symbols to export.
10085 always_export_symbols=yes
10086 if test "$aix_use_runtimelinking" = yes; then
10087 # Warning - without using the other runtime loading flags (-brtl),
10088 # -berok will link without error, but may produce a broken library.
10089 allow_undefined_flag='-berok'
10090 # Determine the default libpath from the value encoded in an
10091 # empty executable.
10092 if test x$gcc_no_link = xyes; then
10093 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10096 /* end confdefs.h. */
10099 main ()
10103 return 0;
10105 _ACEOF
10106 if ac_fn_c_try_link "$LINENO"; then :
10108 lt_aix_libpath_sed='
10109 /Import File Strings/,/^$/ {
10110 /^0/ {
10111 s/^0 *\(.*\)$/\1/
10115 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10116 # Check for a 64-bit object if we didn't find anything.
10117 if test -z "$aix_libpath"; then
10118 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10121 rm -f core conftest.err conftest.$ac_objext \
10122 conftest$ac_exeext conftest.$ac_ext
10123 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10125 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10126 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"
10127 else
10128 if test "$host_cpu" = ia64; then
10129 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10130 allow_undefined_flag="-z nodefs"
10131 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"
10132 else
10133 # Determine the default libpath from the value encoded in an
10134 # empty executable.
10135 if test x$gcc_no_link = xyes; then
10136 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10139 /* end confdefs.h. */
10142 main ()
10146 return 0;
10148 _ACEOF
10149 if ac_fn_c_try_link "$LINENO"; then :
10151 lt_aix_libpath_sed='
10152 /Import File Strings/,/^$/ {
10153 /^0/ {
10154 s/^0 *\(.*\)$/\1/
10158 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10159 # Check for a 64-bit object if we didn't find anything.
10160 if test -z "$aix_libpath"; then
10161 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10164 rm -f core conftest.err conftest.$ac_objext \
10165 conftest$ac_exeext conftest.$ac_ext
10166 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10168 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10169 # Warning - without using the other run time loading flags,
10170 # -berok will link without error, but may produce a broken library.
10171 no_undefined_flag=' ${wl}-bernotok'
10172 allow_undefined_flag=' ${wl}-berok'
10173 if test "$with_gnu_ld" = yes; then
10174 # We only use this code for GNU lds that support --whole-archive.
10175 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10176 else
10177 # Exported symbols can be pulled into shared objects from archives
10178 whole_archive_flag_spec='$convenience'
10180 archive_cmds_need_lc=yes
10181 # This is similar to how AIX traditionally builds its shared libraries.
10182 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'
10187 amigaos*)
10188 case $host_cpu in
10189 powerpc)
10190 # see comment about AmigaOS4 .so support
10191 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10192 archive_expsym_cmds=''
10194 m68k)
10195 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)'
10196 hardcode_libdir_flag_spec='-L$libdir'
10197 hardcode_minus_L=yes
10199 esac
10202 bsdi[45]*)
10203 export_dynamic_flag_spec=-rdynamic
10206 cygwin* | mingw* | pw32* | cegcc*)
10207 # When not using gcc, we currently assume that we are using
10208 # Microsoft Visual C++.
10209 # hardcode_libdir_flag_spec is actually meaningless, as there is
10210 # no search path for DLLs.
10211 hardcode_libdir_flag_spec=' '
10212 allow_undefined_flag=unsupported
10213 # Tell ltmain to make .lib files, not .a files.
10214 libext=lib
10215 # Tell ltmain to make .dll files, not .so files.
10216 shrext_cmds=".dll"
10217 # FIXME: Setting linknames here is a bad hack.
10218 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10219 # The linker will automatically build a .lib file if we build a DLL.
10220 old_archive_from_new_cmds='true'
10221 # FIXME: Should let the user specify the lib program.
10222 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10223 fix_srcfile_path='`cygpath -w "$srcfile"`'
10224 enable_shared_with_static_runtimes=yes
10227 darwin* | rhapsody*)
10230 archive_cmds_need_lc=no
10231 hardcode_direct=no
10232 hardcode_automatic=yes
10233 hardcode_shlibpath_var=unsupported
10234 if test "$lt_cv_ld_force_load" = "yes"; then
10235 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\"`'
10236 else
10237 whole_archive_flag_spec=''
10239 link_all_deplibs=yes
10240 allow_undefined_flag="$_lt_dar_allow_undefined"
10241 case $cc_basename in
10242 ifort*) _lt_dar_can_shared=yes ;;
10243 *) _lt_dar_can_shared=$GCC ;;
10244 esac
10245 if test "$_lt_dar_can_shared" = "yes"; then
10246 output_verbose_link_cmd=func_echo_all
10247 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10248 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10249 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}"
10250 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}"
10252 else
10253 ld_shlibs=no
10258 dgux*)
10259 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10260 hardcode_libdir_flag_spec='-L$libdir'
10261 hardcode_shlibpath_var=no
10264 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10265 # support. Future versions do this automatically, but an explicit c++rt0.o
10266 # does not break anything, and helps significantly (at the cost of a little
10267 # extra space).
10268 freebsd2.2*)
10269 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10270 hardcode_libdir_flag_spec='-R$libdir'
10271 hardcode_direct=yes
10272 hardcode_shlibpath_var=no
10275 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10276 freebsd2.*)
10277 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10278 hardcode_direct=yes
10279 hardcode_minus_L=yes
10280 hardcode_shlibpath_var=no
10283 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10284 freebsd* | dragonfly*)
10285 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10286 hardcode_libdir_flag_spec='-R$libdir'
10287 hardcode_direct=yes
10288 hardcode_shlibpath_var=no
10291 hpux9*)
10292 if test "$GCC" = yes; then
10293 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'
10294 else
10295 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'
10297 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10298 hardcode_libdir_separator=:
10299 hardcode_direct=yes
10301 # hardcode_minus_L: Not really in the search PATH,
10302 # but as the default location of the library.
10303 hardcode_minus_L=yes
10304 export_dynamic_flag_spec='${wl}-E'
10307 hpux10*)
10308 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10309 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10310 else
10311 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10313 if test "$with_gnu_ld" = no; then
10314 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10315 hardcode_libdir_flag_spec_ld='+b $libdir'
10316 hardcode_libdir_separator=:
10317 hardcode_direct=yes
10318 hardcode_direct_absolute=yes
10319 export_dynamic_flag_spec='${wl}-E'
10320 # hardcode_minus_L: Not really in the search PATH,
10321 # but as the default location of the library.
10322 hardcode_minus_L=yes
10326 hpux11*)
10327 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10328 case $host_cpu in
10329 hppa*64*)
10330 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10332 ia64*)
10333 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10336 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10338 esac
10339 else
10340 case $host_cpu in
10341 hppa*64*)
10342 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10344 ia64*)
10345 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10349 # Older versions of the 11.00 compiler do not understand -b yet
10350 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10352 $as_echo_n "checking if $CC understands -b... " >&6; }
10353 if ${lt_cv_prog_compiler__b+:} false; then :
10354 $as_echo_n "(cached) " >&6
10355 else
10356 lt_cv_prog_compiler__b=no
10357 save_LDFLAGS="$LDFLAGS"
10358 LDFLAGS="$LDFLAGS -b"
10359 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10360 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10361 # The linker can only warn and ignore the option if not recognized
10362 # So say no if there are warnings
10363 if test -s conftest.err; then
10364 # Append any errors to the config.log.
10365 cat conftest.err 1>&5
10366 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10367 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10368 if diff conftest.exp conftest.er2 >/dev/null; then
10369 lt_cv_prog_compiler__b=yes
10371 else
10372 lt_cv_prog_compiler__b=yes
10375 $RM -r conftest*
10376 LDFLAGS="$save_LDFLAGS"
10379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10380 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10382 if test x"$lt_cv_prog_compiler__b" = xyes; then
10383 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10384 else
10385 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10389 esac
10391 if test "$with_gnu_ld" = no; then
10392 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10393 hardcode_libdir_separator=:
10395 case $host_cpu in
10396 hppa*64*|ia64*)
10397 hardcode_direct=no
10398 hardcode_shlibpath_var=no
10401 hardcode_direct=yes
10402 hardcode_direct_absolute=yes
10403 export_dynamic_flag_spec='${wl}-E'
10405 # hardcode_minus_L: Not really in the search PATH,
10406 # but as the default location of the library.
10407 hardcode_minus_L=yes
10409 esac
10413 irix5* | irix6* | nonstopux*)
10414 if test "$GCC" = yes; then
10415 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'
10416 # Try to use the -exported_symbol ld option, if it does not
10417 # work, assume that -exports_file does not work either and
10418 # implicitly export all symbols.
10419 save_LDFLAGS="$LDFLAGS"
10420 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10421 if test x$gcc_no_link = xyes; then
10422 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10425 /* end confdefs.h. */
10426 int foo(void) {}
10427 _ACEOF
10428 if ac_fn_c_try_link "$LINENO"; then :
10429 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'
10432 rm -f core conftest.err conftest.$ac_objext \
10433 conftest$ac_exeext conftest.$ac_ext
10434 LDFLAGS="$save_LDFLAGS"
10435 else
10436 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'
10437 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'
10439 archive_cmds_need_lc='no'
10440 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10441 hardcode_libdir_separator=:
10442 inherit_rpath=yes
10443 link_all_deplibs=yes
10446 netbsd*)
10447 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10448 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10449 else
10450 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10452 hardcode_libdir_flag_spec='-R$libdir'
10453 hardcode_direct=yes
10454 hardcode_shlibpath_var=no
10457 newsos6)
10458 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10459 hardcode_direct=yes
10460 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10461 hardcode_libdir_separator=:
10462 hardcode_shlibpath_var=no
10465 *nto* | *qnx*)
10468 openbsd*)
10469 if test -f /usr/libexec/ld.so; then
10470 hardcode_direct=yes
10471 hardcode_shlibpath_var=no
10472 hardcode_direct_absolute=yes
10473 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10474 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10475 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10476 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10477 export_dynamic_flag_spec='${wl}-E'
10478 else
10479 case $host_os in
10480 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10481 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10482 hardcode_libdir_flag_spec='-R$libdir'
10485 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10486 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10488 esac
10490 else
10491 ld_shlibs=no
10495 os2*)
10496 hardcode_libdir_flag_spec='-L$libdir'
10497 hardcode_minus_L=yes
10498 allow_undefined_flag=unsupported
10499 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'
10500 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10503 osf3*)
10504 if test "$GCC" = yes; then
10505 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10506 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'
10507 else
10508 allow_undefined_flag=' -expect_unresolved \*'
10509 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'
10511 archive_cmds_need_lc='no'
10512 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10513 hardcode_libdir_separator=:
10516 osf4* | osf5*) # as osf3* with the addition of -msym flag
10517 if test "$GCC" = yes; then
10518 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10519 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'
10520 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10521 else
10522 allow_undefined_flag=' -expect_unresolved \*'
10523 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'
10524 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~
10525 $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'
10527 # Both c and cxx compiler support -rpath directly
10528 hardcode_libdir_flag_spec='-rpath $libdir'
10530 archive_cmds_need_lc='no'
10531 hardcode_libdir_separator=:
10534 solaris*)
10535 no_undefined_flag=' -z defs'
10536 if test "$GCC" = yes; then
10537 wlarc='${wl}'
10538 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10539 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10540 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10541 else
10542 case `$CC -V 2>&1` in
10543 *"Compilers 5.0"*)
10544 wlarc=''
10545 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10546 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10547 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10550 wlarc='${wl}'
10551 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10552 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10553 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10555 esac
10557 hardcode_libdir_flag_spec='-R$libdir'
10558 hardcode_shlibpath_var=no
10559 case $host_os in
10560 solaris2.[0-5] | solaris2.[0-5].*) ;;
10562 # The compiler driver will combine and reorder linker options,
10563 # but understands `-z linker_flag'. GCC discards it without `$wl',
10564 # but is careful enough not to reorder.
10565 # Supported since Solaris 2.6 (maybe 2.5.1?)
10566 if test "$GCC" = yes; then
10567 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10568 else
10569 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10572 esac
10573 link_all_deplibs=yes
10576 sunos4*)
10577 if test "x$host_vendor" = xsequent; then
10578 # Use $CC to link under sequent, because it throws in some extra .o
10579 # files that make .init and .fini sections work.
10580 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10581 else
10582 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10584 hardcode_libdir_flag_spec='-L$libdir'
10585 hardcode_direct=yes
10586 hardcode_minus_L=yes
10587 hardcode_shlibpath_var=no
10590 sysv4)
10591 case $host_vendor in
10592 sni)
10593 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10594 hardcode_direct=yes # is this really true???
10596 siemens)
10597 ## LD is ld it makes a PLAMLIB
10598 ## CC just makes a GrossModule.
10599 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10600 reload_cmds='$CC -r -o $output$reload_objs'
10601 hardcode_direct=no
10603 motorola)
10604 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10605 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10607 esac
10608 runpath_var='LD_RUN_PATH'
10609 hardcode_shlibpath_var=no
10612 sysv4.3*)
10613 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10614 hardcode_shlibpath_var=no
10615 export_dynamic_flag_spec='-Bexport'
10618 sysv4*MP*)
10619 if test -d /usr/nec; then
10620 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10621 hardcode_shlibpath_var=no
10622 runpath_var=LD_RUN_PATH
10623 hardcode_runpath_var=yes
10624 ld_shlibs=yes
10628 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10629 no_undefined_flag='${wl}-z,text'
10630 archive_cmds_need_lc=no
10631 hardcode_shlibpath_var=no
10632 runpath_var='LD_RUN_PATH'
10634 if test "$GCC" = yes; then
10635 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10636 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10637 else
10638 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10639 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10643 sysv5* | sco3.2v5* | sco5v6*)
10644 # Note: We can NOT use -z defs as we might desire, because we do not
10645 # link with -lc, and that would cause any symbols used from libc to
10646 # always be unresolved, which means just about no library would
10647 # ever link correctly. If we're not using GNU ld we use -z text
10648 # though, which does catch some bad symbols but isn't as heavy-handed
10649 # as -z defs.
10650 no_undefined_flag='${wl}-z,text'
10651 allow_undefined_flag='${wl}-z,nodefs'
10652 archive_cmds_need_lc=no
10653 hardcode_shlibpath_var=no
10654 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10655 hardcode_libdir_separator=':'
10656 link_all_deplibs=yes
10657 export_dynamic_flag_spec='${wl}-Bexport'
10658 runpath_var='LD_RUN_PATH'
10660 if test "$GCC" = yes; then
10661 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10662 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10663 else
10664 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10665 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10669 uts4*)
10670 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10671 hardcode_libdir_flag_spec='-L$libdir'
10672 hardcode_shlibpath_var=no
10676 ld_shlibs=no
10678 esac
10680 if test x$host_vendor = xsni; then
10681 case $host in
10682 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10683 export_dynamic_flag_spec='${wl}-Blargedynsym'
10685 esac
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10690 $as_echo "$ld_shlibs" >&6; }
10691 test "$ld_shlibs" = no && can_build_shared=no
10693 with_gnu_ld=$with_gnu_ld
10710 # Do we need to explicitly link libc?
10712 case "x$archive_cmds_need_lc" in
10713 x|xyes)
10714 # Assume -lc should be added
10715 archive_cmds_need_lc=yes
10717 if test "$enable_shared" = yes && test "$GCC" = yes; then
10718 case $archive_cmds in
10719 *'~'*)
10720 # FIXME: we may have to deal with multi-command sequences.
10722 '$CC '*)
10723 # Test whether the compiler implicitly links with -lc since on some
10724 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10725 # to ld, don't add -lc before -lgcc.
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10727 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10728 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10729 $as_echo_n "(cached) " >&6
10730 else
10731 $RM conftest*
10732 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10734 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10735 (eval $ac_compile) 2>&5
10736 ac_status=$?
10737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10738 test $ac_status = 0; } 2>conftest.err; then
10739 soname=conftest
10740 lib=conftest
10741 libobjs=conftest.$ac_objext
10742 deplibs=
10743 wl=$lt_prog_compiler_wl
10744 pic_flag=$lt_prog_compiler_pic
10745 compiler_flags=-v
10746 linker_flags=-v
10747 verstring=
10748 output_objdir=.
10749 libname=conftest
10750 lt_save_allow_undefined_flag=$allow_undefined_flag
10751 allow_undefined_flag=
10752 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10753 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10754 ac_status=$?
10755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10756 test $ac_status = 0; }
10757 then
10758 lt_cv_archive_cmds_need_lc=no
10759 else
10760 lt_cv_archive_cmds_need_lc=yes
10762 allow_undefined_flag=$lt_save_allow_undefined_flag
10763 else
10764 cat conftest.err 1>&5
10766 $RM conftest*
10769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10770 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10771 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10773 esac
10776 esac
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10935 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10937 if test "$GCC" = yes; then
10938 case $host_os in
10939 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10940 *) lt_awk_arg="/^libraries:/" ;;
10941 esac
10942 case $host_os in
10943 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10944 *) lt_sed_strip_eq="s,=/,/,g" ;;
10945 esac
10946 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10947 case $lt_search_path_spec in
10948 *\;*)
10949 # if the path contains ";" then we assume it to be the separator
10950 # otherwise default to the standard path separator (i.e. ":") - it is
10951 # assumed that no part of a normal pathname contains ";" but that should
10952 # okay in the real world where ";" in dirpaths is itself problematic.
10953 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10956 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10958 esac
10959 # Ok, now we have the path, separated by spaces, we can step through it
10960 # and add multilib dir if necessary.
10961 lt_tmp_lt_search_path_spec=
10962 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10963 for lt_sys_path in $lt_search_path_spec; do
10964 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10965 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10966 else
10967 test -d "$lt_sys_path" && \
10968 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10970 done
10971 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10972 BEGIN {RS=" "; FS="/|\n";} {
10973 lt_foo="";
10974 lt_count=0;
10975 for (lt_i = NF; lt_i > 0; lt_i--) {
10976 if ($lt_i != "" && $lt_i != ".") {
10977 if ($lt_i == "..") {
10978 lt_count++;
10979 } else {
10980 if (lt_count == 0) {
10981 lt_foo="/" $lt_i lt_foo;
10982 } else {
10983 lt_count--;
10988 if (lt_foo != "") { lt_freq[lt_foo]++; }
10989 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10991 # AWK program above erroneously prepends '/' to C:/dos/paths
10992 # for these hosts.
10993 case $host_os in
10994 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10995 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10996 esac
10997 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10998 else
10999 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11001 library_names_spec=
11002 libname_spec='lib$name'
11003 soname_spec=
11004 shrext_cmds=".so"
11005 postinstall_cmds=
11006 postuninstall_cmds=
11007 finish_cmds=
11008 finish_eval=
11009 shlibpath_var=
11010 shlibpath_overrides_runpath=unknown
11011 version_type=none
11012 dynamic_linker="$host_os ld.so"
11013 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11014 need_lib_prefix=unknown
11015 hardcode_into_libs=no
11017 # when you set need_version to no, make sure it does not cause -set_version
11018 # flags to be left without arguments
11019 need_version=unknown
11021 case $host_os in
11022 aix3*)
11023 version_type=linux
11024 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11025 shlibpath_var=LIBPATH
11027 # AIX 3 has no versioning support, so we append a major version to the name.
11028 soname_spec='${libname}${release}${shared_ext}$major'
11031 aix[4-9]*)
11032 version_type=linux
11033 need_lib_prefix=no
11034 need_version=no
11035 hardcode_into_libs=yes
11036 if test "$host_cpu" = ia64; then
11037 # AIX 5 supports IA64
11038 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11039 shlibpath_var=LD_LIBRARY_PATH
11040 else
11041 # With GCC up to 2.95.x, collect2 would create an import file
11042 # for dependence libraries. The import file would start with
11043 # the line `#! .'. This would cause the generated library to
11044 # depend on `.', always an invalid library. This was fixed in
11045 # development snapshots of GCC prior to 3.0.
11046 case $host_os in
11047 aix4 | aix4.[01] | aix4.[01].*)
11048 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11049 echo ' yes '
11050 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11052 else
11053 can_build_shared=no
11056 esac
11057 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11058 # soname into executable. Probably we can add versioning support to
11059 # collect2, so additional links can be useful in future.
11060 if test "$aix_use_runtimelinking" = yes; then
11061 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11062 # instead of lib<name>.a to let people know that these are not
11063 # typical AIX shared libraries.
11064 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11065 else
11066 # We preserve .a as extension for shared libraries through AIX4.2
11067 # and later when we are not doing run time linking.
11068 library_names_spec='${libname}${release}.a $libname.a'
11069 soname_spec='${libname}${release}${shared_ext}$major'
11071 shlibpath_var=LIBPATH
11075 amigaos*)
11076 case $host_cpu in
11077 powerpc)
11078 # Since July 2007 AmigaOS4 officially supports .so libraries.
11079 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11080 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11082 m68k)
11083 library_names_spec='$libname.ixlibrary $libname.a'
11084 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11085 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'
11087 esac
11090 beos*)
11091 library_names_spec='${libname}${shared_ext}'
11092 dynamic_linker="$host_os ld.so"
11093 shlibpath_var=LIBRARY_PATH
11096 bsdi[45]*)
11097 version_type=linux
11098 need_version=no
11099 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11100 soname_spec='${libname}${release}${shared_ext}$major'
11101 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11102 shlibpath_var=LD_LIBRARY_PATH
11103 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11104 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11105 # the default ld.so.conf also contains /usr/contrib/lib and
11106 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11107 # libtool to hard-code these into programs
11110 cygwin* | mingw* | pw32* | cegcc*)
11111 version_type=windows
11112 shrext_cmds=".dll"
11113 need_version=no
11114 need_lib_prefix=no
11116 case $GCC,$host_os in
11117 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11118 library_names_spec='$libname.dll.a'
11119 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11120 postinstall_cmds='base_file=`basename \${file}`~
11121 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11122 dldir=$destdir/`dirname \$dlpath`~
11123 test -d \$dldir || mkdir -p \$dldir~
11124 $install_prog $dir/$dlname \$dldir/$dlname~
11125 chmod a+x \$dldir/$dlname~
11126 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11127 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11129 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11130 dlpath=$dir/\$dldll~
11131 $RM \$dlpath'
11132 shlibpath_overrides_runpath=yes
11134 case $host_os in
11135 cygwin*)
11136 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11137 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11139 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11141 mingw* | cegcc*)
11142 # MinGW DLLs use traditional 'lib' prefix
11143 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11145 pw32*)
11146 # pw32 DLLs use 'pw' prefix rather than 'lib'
11147 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11149 esac
11153 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11155 esac
11156 dynamic_linker='Win32 ld.exe'
11157 # FIXME: first we should search . and the directory the executable is in
11158 shlibpath_var=PATH
11161 darwin* | rhapsody*)
11162 dynamic_linker="$host_os dyld"
11163 version_type=darwin
11164 need_lib_prefix=no
11165 need_version=no
11166 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11167 soname_spec='${libname}${release}${major}$shared_ext'
11168 shlibpath_overrides_runpath=yes
11169 shlibpath_var=DYLD_LIBRARY_PATH
11170 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11172 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11173 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11176 dgux*)
11177 version_type=linux
11178 need_lib_prefix=no
11179 need_version=no
11180 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11181 soname_spec='${libname}${release}${shared_ext}$major'
11182 shlibpath_var=LD_LIBRARY_PATH
11185 freebsd* | dragonfly*)
11186 # DragonFly does not have aout. When/if they implement a new
11187 # versioning mechanism, adjust this.
11188 if test -x /usr/bin/objformat; then
11189 objformat=`/usr/bin/objformat`
11190 else
11191 case $host_os in
11192 freebsd[23].*) objformat=aout ;;
11193 *) objformat=elf ;;
11194 esac
11196 version_type=freebsd-$objformat
11197 case $version_type in
11198 freebsd-elf*)
11199 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11200 need_version=no
11201 need_lib_prefix=no
11203 freebsd-*)
11204 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11205 need_version=yes
11207 esac
11208 shlibpath_var=LD_LIBRARY_PATH
11209 case $host_os in
11210 freebsd2.*)
11211 shlibpath_overrides_runpath=yes
11213 freebsd3.[01]* | freebsdelf3.[01]*)
11214 shlibpath_overrides_runpath=yes
11215 hardcode_into_libs=yes
11217 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11218 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11219 shlibpath_overrides_runpath=no
11220 hardcode_into_libs=yes
11222 *) # from 4.6 on, and DragonFly
11223 shlibpath_overrides_runpath=yes
11224 hardcode_into_libs=yes
11226 esac
11229 gnu*)
11230 version_type=linux
11231 need_lib_prefix=no
11232 need_version=no
11233 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11234 soname_spec='${libname}${release}${shared_ext}$major'
11235 shlibpath_var=LD_LIBRARY_PATH
11236 hardcode_into_libs=yes
11239 haiku*)
11240 version_type=linux
11241 need_lib_prefix=no
11242 need_version=no
11243 dynamic_linker="$host_os runtime_loader"
11244 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11245 soname_spec='${libname}${release}${shared_ext}$major'
11246 shlibpath_var=LIBRARY_PATH
11247 shlibpath_overrides_runpath=yes
11248 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11249 hardcode_into_libs=yes
11252 hpux9* | hpux10* | hpux11*)
11253 # Give a soname corresponding to the major version so that dld.sl refuses to
11254 # link against other versions.
11255 version_type=sunos
11256 need_lib_prefix=no
11257 need_version=no
11258 case $host_cpu in
11259 ia64*)
11260 shrext_cmds='.so'
11261 hardcode_into_libs=yes
11262 dynamic_linker="$host_os dld.so"
11263 shlibpath_var=LD_LIBRARY_PATH
11264 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11265 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11266 soname_spec='${libname}${release}${shared_ext}$major'
11267 if test "X$HPUX_IA64_MODE" = X32; then
11268 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11269 else
11270 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11272 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11274 hppa*64*)
11275 shrext_cmds='.sl'
11276 hardcode_into_libs=yes
11277 dynamic_linker="$host_os dld.sl"
11278 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11279 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11280 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11281 soname_spec='${libname}${release}${shared_ext}$major'
11282 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11283 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11286 shrext_cmds='.sl'
11287 dynamic_linker="$host_os dld.sl"
11288 shlibpath_var=SHLIB_PATH
11289 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11290 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11291 soname_spec='${libname}${release}${shared_ext}$major'
11293 esac
11294 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11295 postinstall_cmds='chmod 555 $lib'
11296 # or fails outright, so override atomically:
11297 install_override_mode=555
11300 interix[3-9]*)
11301 version_type=linux
11302 need_lib_prefix=no
11303 need_version=no
11304 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11305 soname_spec='${libname}${release}${shared_ext}$major'
11306 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11307 shlibpath_var=LD_LIBRARY_PATH
11308 shlibpath_overrides_runpath=no
11309 hardcode_into_libs=yes
11312 irix5* | irix6* | nonstopux*)
11313 case $host_os in
11314 nonstopux*) version_type=nonstopux ;;
11316 if test "$lt_cv_prog_gnu_ld" = yes; then
11317 version_type=linux
11318 else
11319 version_type=irix
11320 fi ;;
11321 esac
11322 need_lib_prefix=no
11323 need_version=no
11324 soname_spec='${libname}${release}${shared_ext}$major'
11325 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11326 case $host_os in
11327 irix5* | nonstopux*)
11328 libsuff= shlibsuff=
11331 case $LD in # libtool.m4 will add one of these switches to LD
11332 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11333 libsuff= shlibsuff= libmagic=32-bit;;
11334 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11335 libsuff=32 shlibsuff=N32 libmagic=N32;;
11336 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11337 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11338 *) libsuff= shlibsuff= libmagic=never-match;;
11339 esac
11341 esac
11342 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11343 shlibpath_overrides_runpath=no
11344 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11345 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11346 hardcode_into_libs=yes
11349 # No shared lib support for Linux oldld, aout, or coff.
11350 linux*oldld* | linux*aout* | linux*coff*)
11351 dynamic_linker=no
11354 # This must be Linux ELF.
11356 # uclinux* changes (here and below) have been submitted to the libtool
11357 # project, but have not yet been accepted: they are GCC-local changes
11358 # for the time being. (See
11359 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
11360 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
11361 version_type=linux
11362 need_lib_prefix=no
11363 need_version=no
11364 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11365 soname_spec='${libname}${release}${shared_ext}$major'
11366 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11367 shlibpath_var=LD_LIBRARY_PATH
11368 shlibpath_overrides_runpath=no
11370 # Some binutils ld are patched to set DT_RUNPATH
11371 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11372 $as_echo_n "(cached) " >&6
11373 else
11374 lt_cv_shlibpath_overrides_runpath=no
11375 save_LDFLAGS=$LDFLAGS
11376 save_libdir=$libdir
11377 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11378 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11379 if test x$gcc_no_link = xyes; then
11380 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11383 /* end confdefs.h. */
11386 main ()
11390 return 0;
11392 _ACEOF
11393 if ac_fn_c_try_link "$LINENO"; then :
11394 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11395 lt_cv_shlibpath_overrides_runpath=yes
11398 rm -f core conftest.err conftest.$ac_objext \
11399 conftest$ac_exeext conftest.$ac_ext
11400 LDFLAGS=$save_LDFLAGS
11401 libdir=$save_libdir
11405 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11407 # This implies no fast_install, which is unacceptable.
11408 # Some rework will be needed to allow for fast_install
11409 # before this can be enabled.
11410 hardcode_into_libs=yes
11412 # Append ld.so.conf contents to the search path
11413 if test -f /etc/ld.so.conf; then
11414 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' ' '`
11415 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11418 # We used to test for /lib/ld.so.1 and disable shared libraries on
11419 # powerpc, because MkLinux only supported shared libraries with the
11420 # GNU dynamic linker. Since this was broken with cross compilers,
11421 # most powerpc-linux boxes support dynamic linking these days and
11422 # people can always --disable-shared, the test was removed, and we
11423 # assume the GNU/Linux dynamic linker is in use.
11424 dynamic_linker='GNU/Linux ld.so'
11427 netbsd*)
11428 version_type=sunos
11429 need_lib_prefix=no
11430 need_version=no
11431 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11432 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11433 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11434 dynamic_linker='NetBSD (a.out) ld.so'
11435 else
11436 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11437 soname_spec='${libname}${release}${shared_ext}$major'
11438 dynamic_linker='NetBSD ld.elf_so'
11440 shlibpath_var=LD_LIBRARY_PATH
11441 shlibpath_overrides_runpath=yes
11442 hardcode_into_libs=yes
11445 newsos6)
11446 version_type=linux
11447 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11448 shlibpath_var=LD_LIBRARY_PATH
11449 shlibpath_overrides_runpath=yes
11452 *nto* | *qnx*)
11453 version_type=qnx
11454 need_lib_prefix=no
11455 need_version=no
11456 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11457 soname_spec='${libname}${release}${shared_ext}$major'
11458 shlibpath_var=LD_LIBRARY_PATH
11459 shlibpath_overrides_runpath=no
11460 hardcode_into_libs=yes
11461 dynamic_linker='ldqnx.so'
11464 openbsd*)
11465 version_type=sunos
11466 sys_lib_dlsearch_path_spec="/usr/lib"
11467 need_lib_prefix=no
11468 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11469 case $host_os in
11470 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11471 *) need_version=no ;;
11472 esac
11473 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11474 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11475 shlibpath_var=LD_LIBRARY_PATH
11476 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11477 case $host_os in
11478 openbsd2.[89] | openbsd2.[89].*)
11479 shlibpath_overrides_runpath=no
11482 shlibpath_overrides_runpath=yes
11484 esac
11485 else
11486 shlibpath_overrides_runpath=yes
11490 os2*)
11491 libname_spec='$name'
11492 shrext_cmds=".dll"
11493 need_lib_prefix=no
11494 library_names_spec='$libname${shared_ext} $libname.a'
11495 dynamic_linker='OS/2 ld.exe'
11496 shlibpath_var=LIBPATH
11499 osf3* | osf4* | osf5*)
11500 version_type=osf
11501 need_lib_prefix=no
11502 need_version=no
11503 soname_spec='${libname}${release}${shared_ext}$major'
11504 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11505 shlibpath_var=LD_LIBRARY_PATH
11506 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11507 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11510 rdos*)
11511 dynamic_linker=no
11514 solaris*)
11515 version_type=linux
11516 need_lib_prefix=no
11517 need_version=no
11518 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11519 soname_spec='${libname}${release}${shared_ext}$major'
11520 shlibpath_var=LD_LIBRARY_PATH
11521 shlibpath_overrides_runpath=yes
11522 hardcode_into_libs=yes
11523 # ldd complains unless libraries are executable
11524 postinstall_cmds='chmod +x $lib'
11527 sunos4*)
11528 version_type=sunos
11529 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11530 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11531 shlibpath_var=LD_LIBRARY_PATH
11532 shlibpath_overrides_runpath=yes
11533 if test "$with_gnu_ld" = yes; then
11534 need_lib_prefix=no
11536 need_version=yes
11539 sysv4 | sysv4.3*)
11540 version_type=linux
11541 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11542 soname_spec='${libname}${release}${shared_ext}$major'
11543 shlibpath_var=LD_LIBRARY_PATH
11544 case $host_vendor in
11545 sni)
11546 shlibpath_overrides_runpath=no
11547 need_lib_prefix=no
11548 runpath_var=LD_RUN_PATH
11550 siemens)
11551 need_lib_prefix=no
11553 motorola)
11554 need_lib_prefix=no
11555 need_version=no
11556 shlibpath_overrides_runpath=no
11557 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11559 esac
11562 sysv4*MP*)
11563 if test -d /usr/nec ;then
11564 version_type=linux
11565 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11566 soname_spec='$libname${shared_ext}.$major'
11567 shlibpath_var=LD_LIBRARY_PATH
11571 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11572 version_type=freebsd-elf
11573 need_lib_prefix=no
11574 need_version=no
11575 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11576 soname_spec='${libname}${release}${shared_ext}$major'
11577 shlibpath_var=LD_LIBRARY_PATH
11578 shlibpath_overrides_runpath=yes
11579 hardcode_into_libs=yes
11580 if test "$with_gnu_ld" = yes; then
11581 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11582 else
11583 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11584 case $host_os in
11585 sco3.2v5*)
11586 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11588 esac
11590 sys_lib_dlsearch_path_spec='/usr/lib'
11593 tpf*)
11594 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11595 version_type=linux
11596 need_lib_prefix=no
11597 need_version=no
11598 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11599 shlibpath_var=LD_LIBRARY_PATH
11600 shlibpath_overrides_runpath=no
11601 hardcode_into_libs=yes
11604 uts4*)
11605 version_type=linux
11606 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11607 soname_spec='${libname}${release}${shared_ext}$major'
11608 shlibpath_var=LD_LIBRARY_PATH
11612 dynamic_linker=no
11614 esac
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11616 $as_echo "$dynamic_linker" >&6; }
11617 test "$dynamic_linker" = no && can_build_shared=no
11619 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11620 if test "$GCC" = yes; then
11621 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11624 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11625 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11627 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11628 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11723 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11724 hardcode_action=
11725 if test -n "$hardcode_libdir_flag_spec" ||
11726 test -n "$runpath_var" ||
11727 test "X$hardcode_automatic" = "Xyes" ; then
11729 # We can hardcode non-existent directories.
11730 if test "$hardcode_direct" != no &&
11731 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11732 # have to relink, otherwise we might link with an installed library
11733 # when we should be linking with a yet-to-be-installed one
11734 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11735 test "$hardcode_minus_L" != no; then
11736 # Linking always hardcodes the temporary library directory.
11737 hardcode_action=relink
11738 else
11739 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11740 hardcode_action=immediate
11742 else
11743 # We cannot hardcode anything, or else we can only hardcode existing
11744 # directories.
11745 hardcode_action=unsupported
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11748 $as_echo "$hardcode_action" >&6; }
11750 if test "$hardcode_action" = relink ||
11751 test "$inherit_rpath" = yes; then
11752 # Fast installation is not supported
11753 enable_fast_install=no
11754 elif test "$shlibpath_overrides_runpath" = yes ||
11755 test "$enable_shared" = no; then
11756 # Fast installation is not necessary
11757 enable_fast_install=needless
11765 if test "x$enable_dlopen" != xyes; then
11766 enable_dlopen=unknown
11767 enable_dlopen_self=unknown
11768 enable_dlopen_self_static=unknown
11769 else
11770 lt_cv_dlopen=no
11771 lt_cv_dlopen_libs=
11773 case $host_os in
11774 beos*)
11775 lt_cv_dlopen="load_add_on"
11776 lt_cv_dlopen_libs=
11777 lt_cv_dlopen_self=yes
11780 mingw* | pw32* | cegcc*)
11781 lt_cv_dlopen="LoadLibrary"
11782 lt_cv_dlopen_libs=
11785 cygwin*)
11786 lt_cv_dlopen="dlopen"
11787 lt_cv_dlopen_libs=
11790 darwin*)
11791 # if libdl is installed we need to link against it
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11793 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11794 if ${ac_cv_lib_dl_dlopen+:} false; then :
11795 $as_echo_n "(cached) " >&6
11796 else
11797 ac_check_lib_save_LIBS=$LIBS
11798 LIBS="-ldl $LIBS"
11799 if test x$gcc_no_link = xyes; then
11800 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11803 /* end confdefs.h. */
11805 /* Override any GCC internal prototype to avoid an error.
11806 Use char because int might match the return type of a GCC
11807 builtin and then its argument prototype would still apply. */
11808 #ifdef __cplusplus
11809 extern "C"
11810 #endif
11811 char dlopen ();
11813 main ()
11815 return dlopen ();
11817 return 0;
11819 _ACEOF
11820 if ac_fn_c_try_link "$LINENO"; then :
11821 ac_cv_lib_dl_dlopen=yes
11822 else
11823 ac_cv_lib_dl_dlopen=no
11825 rm -f core conftest.err conftest.$ac_objext \
11826 conftest$ac_exeext conftest.$ac_ext
11827 LIBS=$ac_check_lib_save_LIBS
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11830 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11831 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11832 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11833 else
11835 lt_cv_dlopen="dyld"
11836 lt_cv_dlopen_libs=
11837 lt_cv_dlopen_self=yes
11844 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11845 if test "x$ac_cv_func_shl_load" = xyes; then :
11846 lt_cv_dlopen="shl_load"
11847 else
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11849 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11850 if ${ac_cv_lib_dld_shl_load+:} false; then :
11851 $as_echo_n "(cached) " >&6
11852 else
11853 ac_check_lib_save_LIBS=$LIBS
11854 LIBS="-ldld $LIBS"
11855 if test x$gcc_no_link = xyes; then
11856 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11859 /* end confdefs.h. */
11861 /* Override any GCC internal prototype to avoid an error.
11862 Use char because int might match the return type of a GCC
11863 builtin and then its argument prototype would still apply. */
11864 #ifdef __cplusplus
11865 extern "C"
11866 #endif
11867 char shl_load ();
11869 main ()
11871 return shl_load ();
11873 return 0;
11875 _ACEOF
11876 if ac_fn_c_try_link "$LINENO"; then :
11877 ac_cv_lib_dld_shl_load=yes
11878 else
11879 ac_cv_lib_dld_shl_load=no
11881 rm -f core conftest.err conftest.$ac_objext \
11882 conftest$ac_exeext conftest.$ac_ext
11883 LIBS=$ac_check_lib_save_LIBS
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11886 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11887 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11888 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11889 else
11890 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11891 if test "x$ac_cv_func_dlopen" = xyes; then :
11892 lt_cv_dlopen="dlopen"
11893 else
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11895 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11896 if ${ac_cv_lib_dl_dlopen+:} false; then :
11897 $as_echo_n "(cached) " >&6
11898 else
11899 ac_check_lib_save_LIBS=$LIBS
11900 LIBS="-ldl $LIBS"
11901 if test x$gcc_no_link = xyes; then
11902 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11905 /* end confdefs.h. */
11907 /* Override any GCC internal prototype to avoid an error.
11908 Use char because int might match the return type of a GCC
11909 builtin and then its argument prototype would still apply. */
11910 #ifdef __cplusplus
11911 extern "C"
11912 #endif
11913 char dlopen ();
11915 main ()
11917 return dlopen ();
11919 return 0;
11921 _ACEOF
11922 if ac_fn_c_try_link "$LINENO"; then :
11923 ac_cv_lib_dl_dlopen=yes
11924 else
11925 ac_cv_lib_dl_dlopen=no
11927 rm -f core conftest.err conftest.$ac_objext \
11928 conftest$ac_exeext conftest.$ac_ext
11929 LIBS=$ac_check_lib_save_LIBS
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11932 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11933 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11934 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11935 else
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11937 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11938 if ${ac_cv_lib_svld_dlopen+:} false; then :
11939 $as_echo_n "(cached) " >&6
11940 else
11941 ac_check_lib_save_LIBS=$LIBS
11942 LIBS="-lsvld $LIBS"
11943 if test x$gcc_no_link = xyes; then
11944 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11947 /* end confdefs.h. */
11949 /* Override any GCC internal prototype to avoid an error.
11950 Use char because int might match the return type of a GCC
11951 builtin and then its argument prototype would still apply. */
11952 #ifdef __cplusplus
11953 extern "C"
11954 #endif
11955 char dlopen ();
11957 main ()
11959 return dlopen ();
11961 return 0;
11963 _ACEOF
11964 if ac_fn_c_try_link "$LINENO"; then :
11965 ac_cv_lib_svld_dlopen=yes
11966 else
11967 ac_cv_lib_svld_dlopen=no
11969 rm -f core conftest.err conftest.$ac_objext \
11970 conftest$ac_exeext conftest.$ac_ext
11971 LIBS=$ac_check_lib_save_LIBS
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11974 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11975 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11976 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11977 else
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11979 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11980 if ${ac_cv_lib_dld_dld_link+:} false; then :
11981 $as_echo_n "(cached) " >&6
11982 else
11983 ac_check_lib_save_LIBS=$LIBS
11984 LIBS="-ldld $LIBS"
11985 if test x$gcc_no_link = xyes; then
11986 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11989 /* end confdefs.h. */
11991 /* Override any GCC internal prototype to avoid an error.
11992 Use char because int might match the return type of a GCC
11993 builtin and then its argument prototype would still apply. */
11994 #ifdef __cplusplus
11995 extern "C"
11996 #endif
11997 char dld_link ();
11999 main ()
12001 return dld_link ();
12003 return 0;
12005 _ACEOF
12006 if ac_fn_c_try_link "$LINENO"; then :
12007 ac_cv_lib_dld_dld_link=yes
12008 else
12009 ac_cv_lib_dld_dld_link=no
12011 rm -f core conftest.err conftest.$ac_objext \
12012 conftest$ac_exeext conftest.$ac_ext
12013 LIBS=$ac_check_lib_save_LIBS
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12016 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12017 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12018 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12037 esac
12039 if test "x$lt_cv_dlopen" != xno; then
12040 enable_dlopen=yes
12041 else
12042 enable_dlopen=no
12045 case $lt_cv_dlopen in
12046 dlopen)
12047 save_CPPFLAGS="$CPPFLAGS"
12048 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12050 save_LDFLAGS="$LDFLAGS"
12051 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12053 save_LIBS="$LIBS"
12054 LIBS="$lt_cv_dlopen_libs $LIBS"
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12057 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12058 if ${lt_cv_dlopen_self+:} false; then :
12059 $as_echo_n "(cached) " >&6
12060 else
12061 if test "$cross_compiling" = yes; then :
12062 lt_cv_dlopen_self=cross
12063 else
12064 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12065 lt_status=$lt_dlunknown
12066 cat > conftest.$ac_ext <<_LT_EOF
12067 #line 12067 "configure"
12068 #include "confdefs.h"
12070 #if HAVE_DLFCN_H
12071 #include <dlfcn.h>
12072 #endif
12074 #include <stdio.h>
12076 #ifdef RTLD_GLOBAL
12077 # define LT_DLGLOBAL RTLD_GLOBAL
12078 #else
12079 # ifdef DL_GLOBAL
12080 # define LT_DLGLOBAL DL_GLOBAL
12081 # else
12082 # define LT_DLGLOBAL 0
12083 # endif
12084 #endif
12086 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12087 find out it does not work in some platform. */
12088 #ifndef LT_DLLAZY_OR_NOW
12089 # ifdef RTLD_LAZY
12090 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12091 # else
12092 # ifdef DL_LAZY
12093 # define LT_DLLAZY_OR_NOW DL_LAZY
12094 # else
12095 # ifdef RTLD_NOW
12096 # define LT_DLLAZY_OR_NOW RTLD_NOW
12097 # else
12098 # ifdef DL_NOW
12099 # define LT_DLLAZY_OR_NOW DL_NOW
12100 # else
12101 # define LT_DLLAZY_OR_NOW 0
12102 # endif
12103 # endif
12104 # endif
12105 # endif
12106 #endif
12108 /* When -fvisbility=hidden is used, assume the code has been annotated
12109 correspondingly for the symbols needed. */
12110 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12111 void fnord () __attribute__((visibility("default")));
12112 #endif
12114 void fnord () { int i=42; }
12115 int main ()
12117 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12118 int status = $lt_dlunknown;
12120 if (self)
12122 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12123 else
12125 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12126 else puts (dlerror ());
12128 /* dlclose (self); */
12130 else
12131 puts (dlerror ());
12133 return status;
12135 _LT_EOF
12136 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12137 (eval $ac_link) 2>&5
12138 ac_status=$?
12139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12140 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12141 (./conftest; exit; ) >&5 2>/dev/null
12142 lt_status=$?
12143 case x$lt_status in
12144 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12145 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12146 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12147 esac
12148 else :
12149 # compilation failed
12150 lt_cv_dlopen_self=no
12153 rm -fr conftest*
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12158 $as_echo "$lt_cv_dlopen_self" >&6; }
12160 if test "x$lt_cv_dlopen_self" = xyes; then
12161 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12163 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12164 if ${lt_cv_dlopen_self_static+:} false; then :
12165 $as_echo_n "(cached) " >&6
12166 else
12167 if test "$cross_compiling" = yes; then :
12168 lt_cv_dlopen_self_static=cross
12169 else
12170 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12171 lt_status=$lt_dlunknown
12172 cat > conftest.$ac_ext <<_LT_EOF
12173 #line 12173 "configure"
12174 #include "confdefs.h"
12176 #if HAVE_DLFCN_H
12177 #include <dlfcn.h>
12178 #endif
12180 #include <stdio.h>
12182 #ifdef RTLD_GLOBAL
12183 # define LT_DLGLOBAL RTLD_GLOBAL
12184 #else
12185 # ifdef DL_GLOBAL
12186 # define LT_DLGLOBAL DL_GLOBAL
12187 # else
12188 # define LT_DLGLOBAL 0
12189 # endif
12190 #endif
12192 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12193 find out it does not work in some platform. */
12194 #ifndef LT_DLLAZY_OR_NOW
12195 # ifdef RTLD_LAZY
12196 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12197 # else
12198 # ifdef DL_LAZY
12199 # define LT_DLLAZY_OR_NOW DL_LAZY
12200 # else
12201 # ifdef RTLD_NOW
12202 # define LT_DLLAZY_OR_NOW RTLD_NOW
12203 # else
12204 # ifdef DL_NOW
12205 # define LT_DLLAZY_OR_NOW DL_NOW
12206 # else
12207 # define LT_DLLAZY_OR_NOW 0
12208 # endif
12209 # endif
12210 # endif
12211 # endif
12212 #endif
12214 /* When -fvisbility=hidden is used, assume the code has been annotated
12215 correspondingly for the symbols needed. */
12216 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12217 void fnord () __attribute__((visibility("default")));
12218 #endif
12220 void fnord () { int i=42; }
12221 int main ()
12223 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12224 int status = $lt_dlunknown;
12226 if (self)
12228 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12229 else
12231 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12232 else puts (dlerror ());
12234 /* dlclose (self); */
12236 else
12237 puts (dlerror ());
12239 return status;
12241 _LT_EOF
12242 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12243 (eval $ac_link) 2>&5
12244 ac_status=$?
12245 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12246 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12247 (./conftest; exit; ) >&5 2>/dev/null
12248 lt_status=$?
12249 case x$lt_status in
12250 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12251 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12252 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12253 esac
12254 else :
12255 # compilation failed
12256 lt_cv_dlopen_self_static=no
12259 rm -fr conftest*
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12264 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12267 CPPFLAGS="$save_CPPFLAGS"
12268 LDFLAGS="$save_LDFLAGS"
12269 LIBS="$save_LIBS"
12271 esac
12273 case $lt_cv_dlopen_self in
12274 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12275 *) enable_dlopen_self=unknown ;;
12276 esac
12278 case $lt_cv_dlopen_self_static in
12279 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12280 *) enable_dlopen_self_static=unknown ;;
12281 esac
12300 striplib=
12301 old_striplib=
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12303 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12304 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12305 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12306 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12308 $as_echo "yes" >&6; }
12309 else
12310 # FIXME - insert some real tests, host_os isn't really good enough
12311 case $host_os in
12312 darwin*)
12313 if test -n "$STRIP" ; then
12314 striplib="$STRIP -x"
12315 old_striplib="$STRIP -S"
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12317 $as_echo "yes" >&6; }
12318 else
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12320 $as_echo "no" >&6; }
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12325 $as_echo "no" >&6; }
12327 esac
12341 # Report which library types will actually be built
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12343 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12345 $as_echo "$can_build_shared" >&6; }
12347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12348 $as_echo_n "checking whether to build shared libraries... " >&6; }
12349 test "$can_build_shared" = "no" && enable_shared=no
12351 # On AIX, shared libraries and static libraries use the same namespace, and
12352 # are all built from PIC.
12353 case $host_os in
12354 aix3*)
12355 test "$enable_shared" = yes && enable_static=no
12356 if test -n "$RANLIB"; then
12357 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12358 postinstall_cmds='$RANLIB $lib'
12362 aix[4-9]*)
12363 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12364 test "$enable_shared" = yes && enable_static=no
12367 esac
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12369 $as_echo "$enable_shared" >&6; }
12371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12372 $as_echo_n "checking whether to build static libraries... " >&6; }
12373 # Make sure either enable_shared or enable_static is yes.
12374 test "$enable_shared" = yes || enable_static=yes
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12376 $as_echo "$enable_static" >&6; }
12382 ac_ext=c
12383 ac_cpp='$CPP $CPPFLAGS'
12384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12388 CC="$lt_save_CC"
12390 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12391 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12392 (test "X$CXX" != "Xg++"))) ; then
12393 ac_ext=cpp
12394 ac_cpp='$CXXCPP $CPPFLAGS'
12395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12399 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12400 if test -z "$CXXCPP"; then
12401 if ${ac_cv_prog_CXXCPP+:} false; then :
12402 $as_echo_n "(cached) " >&6
12403 else
12404 # Double quotes because CXXCPP needs to be expanded
12405 for CXXCPP in "$CXX -E" "/lib/cpp"
12407 ac_preproc_ok=false
12408 for ac_cxx_preproc_warn_flag in '' yes
12410 # Use a header file that comes with gcc, so configuring glibc
12411 # with a fresh cross-compiler works.
12412 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12413 # <limits.h> exists even on freestanding compilers.
12414 # On the NeXT, cc -E runs the code through the compiler's parser,
12415 # not just through cpp. "Syntax error" is here to catch this case.
12416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12417 /* end confdefs.h. */
12418 #ifdef __STDC__
12419 # include <limits.h>
12420 #else
12421 # include <assert.h>
12422 #endif
12423 Syntax error
12424 _ACEOF
12425 if ac_fn_cxx_try_cpp "$LINENO"; then :
12427 else
12428 # Broken: fails on valid input.
12429 continue
12431 rm -f conftest.err conftest.i conftest.$ac_ext
12433 # OK, works on sane cases. Now check whether nonexistent headers
12434 # can be detected and how.
12435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12436 /* end confdefs.h. */
12437 #include <ac_nonexistent.h>
12438 _ACEOF
12439 if ac_fn_cxx_try_cpp "$LINENO"; then :
12440 # Broken: success on invalid input.
12441 continue
12442 else
12443 # Passes both tests.
12444 ac_preproc_ok=:
12445 break
12447 rm -f conftest.err conftest.i conftest.$ac_ext
12449 done
12450 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12451 rm -f conftest.i conftest.err conftest.$ac_ext
12452 if $ac_preproc_ok; then :
12453 break
12456 done
12457 ac_cv_prog_CXXCPP=$CXXCPP
12460 CXXCPP=$ac_cv_prog_CXXCPP
12461 else
12462 ac_cv_prog_CXXCPP=$CXXCPP
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12465 $as_echo "$CXXCPP" >&6; }
12466 ac_preproc_ok=false
12467 for ac_cxx_preproc_warn_flag in '' yes
12469 # Use a header file that comes with gcc, so configuring glibc
12470 # with a fresh cross-compiler works.
12471 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12472 # <limits.h> exists even on freestanding compilers.
12473 # On the NeXT, cc -E runs the code through the compiler's parser,
12474 # not just through cpp. "Syntax error" is here to catch this case.
12475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12476 /* end confdefs.h. */
12477 #ifdef __STDC__
12478 # include <limits.h>
12479 #else
12480 # include <assert.h>
12481 #endif
12482 Syntax error
12483 _ACEOF
12484 if ac_fn_cxx_try_cpp "$LINENO"; then :
12486 else
12487 # Broken: fails on valid input.
12488 continue
12490 rm -f conftest.err conftest.i conftest.$ac_ext
12492 # OK, works on sane cases. Now check whether nonexistent headers
12493 # can be detected and how.
12494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12495 /* end confdefs.h. */
12496 #include <ac_nonexistent.h>
12497 _ACEOF
12498 if ac_fn_cxx_try_cpp "$LINENO"; then :
12499 # Broken: success on invalid input.
12500 continue
12501 else
12502 # Passes both tests.
12503 ac_preproc_ok=:
12504 break
12506 rm -f conftest.err conftest.i conftest.$ac_ext
12508 done
12509 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12510 rm -f conftest.i conftest.err conftest.$ac_ext
12511 if $ac_preproc_ok; then :
12513 else
12514 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12515 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12516 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12517 See \`config.log' for more details" "$LINENO" 5; }
12520 ac_ext=c
12521 ac_cpp='$CPP $CPPFLAGS'
12522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12526 else
12527 _lt_caught_CXX_error=yes
12530 ac_ext=cpp
12531 ac_cpp='$CXXCPP $CPPFLAGS'
12532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12536 archive_cmds_need_lc_CXX=no
12537 allow_undefined_flag_CXX=
12538 always_export_symbols_CXX=no
12539 archive_expsym_cmds_CXX=
12540 compiler_needs_object_CXX=no
12541 export_dynamic_flag_spec_CXX=
12542 hardcode_direct_CXX=no
12543 hardcode_direct_absolute_CXX=no
12544 hardcode_libdir_flag_spec_CXX=
12545 hardcode_libdir_flag_spec_ld_CXX=
12546 hardcode_libdir_separator_CXX=
12547 hardcode_minus_L_CXX=no
12548 hardcode_shlibpath_var_CXX=unsupported
12549 hardcode_automatic_CXX=no
12550 inherit_rpath_CXX=no
12551 module_cmds_CXX=
12552 module_expsym_cmds_CXX=
12553 link_all_deplibs_CXX=unknown
12554 old_archive_cmds_CXX=$old_archive_cmds
12555 reload_flag_CXX=$reload_flag
12556 reload_cmds_CXX=$reload_cmds
12557 no_undefined_flag_CXX=
12558 whole_archive_flag_spec_CXX=
12559 enable_shared_with_static_runtimes_CXX=no
12561 # Source file extension for C++ test sources.
12562 ac_ext=cpp
12564 # Object file extension for compiled C++ test sources.
12565 objext=o
12566 objext_CXX=$objext
12568 # No sense in running all these tests if we already determined that
12569 # the CXX compiler isn't working. Some variables (like enable_shared)
12570 # are currently assumed to apply to all compilers on this platform,
12571 # and will be corrupted by setting them based on a non-working compiler.
12572 if test "$_lt_caught_CXX_error" != yes; then
12573 # Code to be used in simple compile tests
12574 lt_simple_compile_test_code="int some_variable = 0;"
12576 # Code to be used in simple link tests
12577 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12579 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12586 # If no C compiler was specified, use CC.
12587 LTCC=${LTCC-"$CC"}
12589 # If no C compiler flags were specified, use CFLAGS.
12590 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12592 # Allow CC to be a program name with arguments.
12593 compiler=$CC
12596 # save warnings/boilerplate of simple test code
12597 ac_outfile=conftest.$ac_objext
12598 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12599 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12600 _lt_compiler_boilerplate=`cat conftest.err`
12601 $RM conftest*
12603 ac_outfile=conftest.$ac_objext
12604 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12605 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12606 _lt_linker_boilerplate=`cat conftest.err`
12607 $RM -r conftest*
12610 # Allow CC to be a program name with arguments.
12611 lt_save_CC=$CC
12612 lt_save_LD=$LD
12613 lt_save_GCC=$GCC
12614 GCC=$GXX
12615 lt_save_with_gnu_ld=$with_gnu_ld
12616 lt_save_path_LD=$lt_cv_path_LD
12617 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12618 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12619 else
12620 $as_unset lt_cv_prog_gnu_ld
12622 if test -n "${lt_cv_path_LDCXX+set}"; then
12623 lt_cv_path_LD=$lt_cv_path_LDCXX
12624 else
12625 $as_unset lt_cv_path_LD
12627 test -z "${LDCXX+set}" || LD=$LDCXX
12628 CC=${CXX-"c++"}
12629 compiler=$CC
12630 compiler_CXX=$CC
12631 for cc_temp in $compiler""; do
12632 case $cc_temp in
12633 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12634 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12635 \-*) ;;
12636 *) break;;
12637 esac
12638 done
12639 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12642 if test -n "$compiler"; then
12643 # We don't want -fno-exception when compiling C++ code, so set the
12644 # no_builtin_flag separately
12645 if test "$GXX" = yes; then
12646 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12647 else
12648 lt_prog_compiler_no_builtin_flag_CXX=
12651 if test "$GXX" = yes; then
12652 # Set up default GNU C++ configuration
12656 # Check whether --with-gnu-ld was given.
12657 if test "${with_gnu_ld+set}" = set; then :
12658 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12659 else
12660 with_gnu_ld=no
12663 ac_prog=ld
12664 if test "$GCC" = yes; then
12665 # Check if gcc -print-prog-name=ld gives a path.
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12667 $as_echo_n "checking for ld used by $CC... " >&6; }
12668 case $host in
12669 *-*-mingw*)
12670 # gcc leaves a trailing carriage return which upsets mingw
12671 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12673 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12674 esac
12675 case $ac_prog in
12676 # Accept absolute paths.
12677 [\\/]* | ?:[\\/]*)
12678 re_direlt='/[^/][^/]*/\.\./'
12679 # Canonicalize the pathname of ld
12680 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12681 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12682 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12683 done
12684 test -z "$LD" && LD="$ac_prog"
12687 # If it fails, then pretend we aren't using GCC.
12688 ac_prog=ld
12691 # If it is relative, then search for the first ld in PATH.
12692 with_gnu_ld=unknown
12694 esac
12695 elif test "$with_gnu_ld" = yes; then
12696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12697 $as_echo_n "checking for GNU ld... " >&6; }
12698 else
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12700 $as_echo_n "checking for non-GNU ld... " >&6; }
12702 if ${lt_cv_path_LD+:} false; then :
12703 $as_echo_n "(cached) " >&6
12704 else
12705 if test -z "$LD"; then
12706 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12707 for ac_dir in $PATH; do
12708 IFS="$lt_save_ifs"
12709 test -z "$ac_dir" && ac_dir=.
12710 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12711 lt_cv_path_LD="$ac_dir/$ac_prog"
12712 # Check to see if the program is GNU ld. I'd rather use --version,
12713 # but apparently some variants of GNU ld only accept -v.
12714 # Break only if it was the GNU/non-GNU ld that we prefer.
12715 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12716 *GNU* | *'with BFD'*)
12717 test "$with_gnu_ld" != no && break
12720 test "$with_gnu_ld" != yes && break
12722 esac
12724 done
12725 IFS="$lt_save_ifs"
12726 else
12727 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12731 LD="$lt_cv_path_LD"
12732 if test -n "$LD"; then
12733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12734 $as_echo "$LD" >&6; }
12735 else
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12737 $as_echo "no" >&6; }
12739 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12741 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12742 if ${lt_cv_prog_gnu_ld+:} false; then :
12743 $as_echo_n "(cached) " >&6
12744 else
12745 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12746 case `$LD -v 2>&1 </dev/null` in
12747 *GNU* | *'with BFD'*)
12748 lt_cv_prog_gnu_ld=yes
12751 lt_cv_prog_gnu_ld=no
12753 esac
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12756 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12757 with_gnu_ld=$lt_cv_prog_gnu_ld
12765 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12766 # archiving commands below assume that GNU ld is being used.
12767 if test "$with_gnu_ld" = yes; then
12768 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12769 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'
12771 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12772 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12774 # If archive_cmds runs LD, not CC, wlarc should be empty
12775 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12776 # investigate it a little bit more. (MM)
12777 wlarc='${wl}'
12779 # ancient GNU ld didn't support --whole-archive et. al.
12780 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12781 $GREP 'no-whole-archive' > /dev/null; then
12782 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12783 else
12784 whole_archive_flag_spec_CXX=
12786 else
12787 with_gnu_ld=no
12788 wlarc=
12790 # A generic and very simple default shared library creation
12791 # command for GNU C++ for the case where it uses the native
12792 # linker, instead of GNU ld. If possible, this setting should
12793 # overridden to take advantage of the native linker features on
12794 # the platform it is being used on.
12795 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12798 # Commands to make compiler produce verbose output that lists
12799 # what "hidden" libraries, object files and flags are used when
12800 # linking a shared library.
12801 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12803 else
12804 GXX=no
12805 with_gnu_ld=no
12806 wlarc=
12809 # PORTME: fill in a description of your system's C++ link characteristics
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12811 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12812 ld_shlibs_CXX=yes
12813 case $host_os in
12814 aix3*)
12815 # FIXME: insert proper C++ library support
12816 ld_shlibs_CXX=no
12818 aix[4-9]*)
12819 if test "$host_cpu" = ia64; then
12820 # On IA64, the linker does run time linking by default, so we don't
12821 # have to do anything special.
12822 aix_use_runtimelinking=no
12823 exp_sym_flag='-Bexport'
12824 no_entry_flag=""
12825 else
12826 aix_use_runtimelinking=no
12828 # Test if we are trying to use run time linking or normal
12829 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12830 # need to do runtime linking.
12831 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12832 for ld_flag in $LDFLAGS; do
12833 case $ld_flag in
12834 *-brtl*)
12835 aix_use_runtimelinking=yes
12836 break
12838 esac
12839 done
12841 esac
12843 exp_sym_flag='-bexport'
12844 no_entry_flag='-bnoentry'
12847 # When large executables or shared objects are built, AIX ld can
12848 # have problems creating the table of contents. If linking a library
12849 # or program results in "error TOC overflow" add -mminimal-toc to
12850 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12851 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12853 archive_cmds_CXX=''
12854 hardcode_direct_CXX=yes
12855 hardcode_direct_absolute_CXX=yes
12856 hardcode_libdir_separator_CXX=':'
12857 link_all_deplibs_CXX=yes
12858 file_list_spec_CXX='${wl}-f,'
12860 if test "$GXX" = yes; then
12861 case $host_os in aix4.[012]|aix4.[012].*)
12862 # We only want to do this on AIX 4.2 and lower, the check
12863 # below for broken collect2 doesn't work under 4.3+
12864 collect2name=`${CC} -print-prog-name=collect2`
12865 if test -f "$collect2name" &&
12866 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12867 then
12868 # We have reworked collect2
12870 else
12871 # We have old collect2
12872 hardcode_direct_CXX=unsupported
12873 # It fails to find uninstalled libraries when the uninstalled
12874 # path is not listed in the libpath. Setting hardcode_minus_L
12875 # to unsupported forces relinking
12876 hardcode_minus_L_CXX=yes
12877 hardcode_libdir_flag_spec_CXX='-L$libdir'
12878 hardcode_libdir_separator_CXX=
12880 esac
12881 shared_flag='-shared'
12882 if test "$aix_use_runtimelinking" = yes; then
12883 shared_flag="$shared_flag "'${wl}-G'
12885 else
12886 # not using gcc
12887 if test "$host_cpu" = ia64; then
12888 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12889 # chokes on -Wl,-G. The following line is correct:
12890 shared_flag='-G'
12891 else
12892 if test "$aix_use_runtimelinking" = yes; then
12893 shared_flag='${wl}-G'
12894 else
12895 shared_flag='${wl}-bM:SRE'
12900 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12901 # It seems that -bexpall does not export symbols beginning with
12902 # underscore (_), so it is better to generate a list of symbols to
12903 # export.
12904 always_export_symbols_CXX=yes
12905 if test "$aix_use_runtimelinking" = yes; then
12906 # Warning - without using the other runtime loading flags (-brtl),
12907 # -berok will link without error, but may produce a broken library.
12908 allow_undefined_flag_CXX='-berok'
12909 # Determine the default libpath from the value encoded in an empty
12910 # executable.
12911 if test x$gcc_no_link = xyes; then
12912 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12915 /* end confdefs.h. */
12918 main ()
12922 return 0;
12924 _ACEOF
12925 if ac_fn_cxx_try_link "$LINENO"; then :
12927 lt_aix_libpath_sed='
12928 /Import File Strings/,/^$/ {
12929 /^0/ {
12930 s/^0 *\(.*\)$/\1/
12934 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12935 # Check for a 64-bit object if we didn't find anything.
12936 if test -z "$aix_libpath"; then
12937 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12940 rm -f core conftest.err conftest.$ac_objext \
12941 conftest$ac_exeext conftest.$ac_ext
12942 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12944 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12946 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"
12947 else
12948 if test "$host_cpu" = ia64; then
12949 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12950 allow_undefined_flag_CXX="-z nodefs"
12951 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"
12952 else
12953 # Determine the default libpath from the value encoded in an
12954 # empty executable.
12955 if test x$gcc_no_link = xyes; then
12956 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12959 /* end confdefs.h. */
12962 main ()
12966 return 0;
12968 _ACEOF
12969 if ac_fn_cxx_try_link "$LINENO"; then :
12971 lt_aix_libpath_sed='
12972 /Import File Strings/,/^$/ {
12973 /^0/ {
12974 s/^0 *\(.*\)$/\1/
12978 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12979 # Check for a 64-bit object if we didn't find anything.
12980 if test -z "$aix_libpath"; then
12981 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12984 rm -f core conftest.err conftest.$ac_objext \
12985 conftest$ac_exeext conftest.$ac_ext
12986 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12988 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12989 # Warning - without using the other run time loading flags,
12990 # -berok will link without error, but may produce a broken library.
12991 no_undefined_flag_CXX=' ${wl}-bernotok'
12992 allow_undefined_flag_CXX=' ${wl}-berok'
12993 if test "$with_gnu_ld" = yes; then
12994 # We only use this code for GNU lds that support --whole-archive.
12995 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12996 else
12997 # Exported symbols can be pulled into shared objects from archives
12998 whole_archive_flag_spec_CXX='$convenience'
13000 archive_cmds_need_lc_CXX=yes
13001 # This is similar to how AIX traditionally builds its shared
13002 # libraries.
13003 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'
13008 beos*)
13009 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13010 allow_undefined_flag_CXX=unsupported
13011 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13012 # support --undefined. This deserves some investigation. FIXME
13013 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13014 else
13015 ld_shlibs_CXX=no
13019 chorus*)
13020 case $cc_basename in
13022 # FIXME: insert proper C++ library support
13023 ld_shlibs_CXX=no
13025 esac
13028 cygwin* | mingw* | pw32* | cegcc*)
13029 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13030 # as there is no search path for DLLs.
13031 hardcode_libdir_flag_spec_CXX='-L$libdir'
13032 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13033 allow_undefined_flag_CXX=unsupported
13034 always_export_symbols_CXX=no
13035 enable_shared_with_static_runtimes_CXX=yes
13037 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13038 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'
13039 # If the export-symbols file already is a .def file (1st line
13040 # is EXPORTS), use it as is; otherwise, prepend...
13041 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13042 cp $export_symbols $output_objdir/$soname.def;
13043 else
13044 echo EXPORTS > $output_objdir/$soname.def;
13045 cat $export_symbols >> $output_objdir/$soname.def;
13047 $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'
13048 else
13049 ld_shlibs_CXX=no
13052 darwin* | rhapsody*)
13055 archive_cmds_need_lc_CXX=no
13056 hardcode_direct_CXX=no
13057 hardcode_automatic_CXX=yes
13058 hardcode_shlibpath_var_CXX=unsupported
13059 if test "$lt_cv_ld_force_load" = "yes"; then
13060 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\"`'
13061 else
13062 whole_archive_flag_spec_CXX=''
13064 link_all_deplibs_CXX=yes
13065 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13066 case $cc_basename in
13067 ifort*) _lt_dar_can_shared=yes ;;
13068 *) _lt_dar_can_shared=$GCC ;;
13069 esac
13070 if test "$_lt_dar_can_shared" = "yes"; then
13071 output_verbose_link_cmd=func_echo_all
13072 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}"
13073 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13074 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}"
13075 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}"
13076 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13077 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}"
13078 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}"
13081 else
13082 ld_shlibs_CXX=no
13087 dgux*)
13088 case $cc_basename in
13089 ec++*)
13090 # FIXME: insert proper C++ library support
13091 ld_shlibs_CXX=no
13093 ghcx*)
13094 # Green Hills C++ Compiler
13095 # FIXME: insert proper C++ library support
13096 ld_shlibs_CXX=no
13099 # FIXME: insert proper C++ library support
13100 ld_shlibs_CXX=no
13102 esac
13105 freebsd2.*)
13106 # C++ shared libraries reported to be fairly broken before
13107 # switch to ELF
13108 ld_shlibs_CXX=no
13111 freebsd-elf*)
13112 archive_cmds_need_lc_CXX=no
13115 freebsd* | dragonfly*)
13116 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13117 # conventions
13118 ld_shlibs_CXX=yes
13121 gnu*)
13124 haiku*)
13125 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13126 link_all_deplibs_CXX=yes
13129 hpux9*)
13130 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13131 hardcode_libdir_separator_CXX=:
13132 export_dynamic_flag_spec_CXX='${wl}-E'
13133 hardcode_direct_CXX=yes
13134 hardcode_minus_L_CXX=yes # Not in the search PATH,
13135 # but as the default
13136 # location of the library.
13138 case $cc_basename in
13139 CC*)
13140 # FIXME: insert proper C++ library support
13141 ld_shlibs_CXX=no
13143 aCC*)
13144 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'
13145 # Commands to make compiler produce verbose output that lists
13146 # what "hidden" libraries, object files and flags are used when
13147 # linking a shared library.
13149 # There doesn't appear to be a way to prevent this compiler from
13150 # explicitly linking system object files so we need to strip them
13151 # from the output so that they don't get included in the library
13152 # dependencies.
13153 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"'
13156 if test "$GXX" = yes; then
13157 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'
13158 else
13159 # FIXME: insert proper C++ library support
13160 ld_shlibs_CXX=no
13163 esac
13166 hpux10*|hpux11*)
13167 if test $with_gnu_ld = no; then
13168 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13169 hardcode_libdir_separator_CXX=:
13171 case $host_cpu in
13172 hppa*64*|ia64*)
13175 export_dynamic_flag_spec_CXX='${wl}-E'
13177 esac
13179 case $host_cpu in
13180 hppa*64*|ia64*)
13181 hardcode_direct_CXX=no
13182 hardcode_shlibpath_var_CXX=no
13185 hardcode_direct_CXX=yes
13186 hardcode_direct_absolute_CXX=yes
13187 hardcode_minus_L_CXX=yes # Not in the search PATH,
13188 # but as the default
13189 # location of the library.
13191 esac
13193 case $cc_basename in
13194 CC*)
13195 # FIXME: insert proper C++ library support
13196 ld_shlibs_CXX=no
13198 aCC*)
13199 case $host_cpu in
13200 hppa*64*)
13201 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13203 ia64*)
13204 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13207 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13209 esac
13210 # Commands to make compiler produce verbose output that lists
13211 # what "hidden" libraries, object files and flags are used when
13212 # linking a shared library.
13214 # There doesn't appear to be a way to prevent this compiler from
13215 # explicitly linking system object files so we need to strip them
13216 # from the output so that they don't get included in the library
13217 # dependencies.
13218 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"'
13221 if test "$GXX" = yes; then
13222 if test $with_gnu_ld = no; then
13223 case $host_cpu in
13224 hppa*64*)
13225 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13227 ia64*)
13228 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13231 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'
13233 esac
13235 else
13236 # FIXME: insert proper C++ library support
13237 ld_shlibs_CXX=no
13240 esac
13243 interix[3-9]*)
13244 hardcode_direct_CXX=no
13245 hardcode_shlibpath_var_CXX=no
13246 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13247 export_dynamic_flag_spec_CXX='${wl}-E'
13248 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13249 # Instead, shared libraries are loaded at an image base (0x10000000 by
13250 # default) and relocated if they conflict, which is a slow very memory
13251 # consuming and fragmenting process. To avoid this, we pick a random,
13252 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13253 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13254 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'
13255 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'
13257 irix5* | irix6*)
13258 case $cc_basename in
13259 CC*)
13260 # SGI C++
13261 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'
13263 # Archives containing C++ object files must be created using
13264 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13265 # necessary to make sure instantiated templates are included
13266 # in the archive.
13267 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13270 if test "$GXX" = yes; then
13271 if test "$with_gnu_ld" = no; then
13272 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'
13273 else
13274 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'
13277 link_all_deplibs_CXX=yes
13279 esac
13280 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13281 hardcode_libdir_separator_CXX=:
13282 inherit_rpath_CXX=yes
13285 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13286 case $cc_basename in
13287 KCC*)
13288 # Kuck and Associates, Inc. (KAI) C++ Compiler
13290 # KCC will only create a shared library if the output file
13291 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13292 # to its proper name (with version) after linking.
13293 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'
13294 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'
13295 # Commands to make compiler produce verbose output that lists
13296 # what "hidden" libraries, object files and flags are used when
13297 # linking a shared library.
13299 # There doesn't appear to be a way to prevent this compiler from
13300 # explicitly linking system object files so we need to strip them
13301 # from the output so that they don't get included in the library
13302 # dependencies.
13303 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"'
13305 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13306 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13308 # Archives containing C++ object files must be created using
13309 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13310 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13312 icpc* | ecpc* )
13313 # Intel C++
13314 with_gnu_ld=yes
13315 # version 8.0 and above of icpc choke on multiply defined symbols
13316 # if we add $predep_objects and $postdep_objects, however 7.1 and
13317 # earlier do not add the objects themselves.
13318 case `$CC -V 2>&1` in
13319 *"Version 7."*)
13320 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13321 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'
13323 *) # Version 8.0 or newer
13324 tmp_idyn=
13325 case $host_cpu in
13326 ia64*) tmp_idyn=' -i_dynamic';;
13327 esac
13328 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13329 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'
13331 esac
13332 archive_cmds_need_lc_CXX=no
13333 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13334 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13335 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13337 pgCC* | pgcpp*)
13338 # Portland Group C++ compiler
13339 case `$CC -V` in
13340 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13341 prelink_cmds_CXX='tpldir=Template.dir~
13342 rm -rf $tpldir~
13343 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13344 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13345 old_archive_cmds_CXX='tpldir=Template.dir~
13346 rm -rf $tpldir~
13347 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13348 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13349 $RANLIB $oldlib'
13350 archive_cmds_CXX='tpldir=Template.dir~
13351 rm -rf $tpldir~
13352 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13353 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13354 archive_expsym_cmds_CXX='tpldir=Template.dir~
13355 rm -rf $tpldir~
13356 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13357 $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'
13359 *) # Version 6 and above use weak symbols
13360 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13361 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'
13363 esac
13365 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13366 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13367 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'
13369 cxx*)
13370 # Compaq C++
13371 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13372 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'
13374 runpath_var=LD_RUN_PATH
13375 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13376 hardcode_libdir_separator_CXX=:
13378 # Commands to make compiler produce verbose output that lists
13379 # what "hidden" libraries, object files and flags are used when
13380 # linking a shared library.
13382 # There doesn't appear to be a way to prevent this compiler from
13383 # explicitly linking system object files so we need to strip them
13384 # from the output so that they don't get included in the library
13385 # dependencies.
13386 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'
13388 xl* | mpixl* | bgxl*)
13389 # IBM XL 8.0 on PPC, with GNU ld
13390 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13391 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13392 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13393 if test "x$supports_anon_versioning" = xyes; then
13394 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13395 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13396 echo "local: *; };" >> $output_objdir/$libname.ver~
13397 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13401 case `$CC -V 2>&1 | sed 5q` in
13402 *Sun\ C*)
13403 # Sun C++ 5.9
13404 no_undefined_flag_CXX=' -zdefs'
13405 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13406 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'
13407 hardcode_libdir_flag_spec_CXX='-R$libdir'
13408 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'
13409 compiler_needs_object_CXX=yes
13411 # Not sure whether something based on
13412 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13413 # would be better.
13414 output_verbose_link_cmd='func_echo_all'
13416 # Archives containing C++ object files must be created using
13417 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13418 # necessary to make sure instantiated templates are included
13419 # in the archive.
13420 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13422 esac
13424 esac
13427 lynxos*)
13428 # FIXME: insert proper C++ library support
13429 ld_shlibs_CXX=no
13432 m88k*)
13433 # FIXME: insert proper C++ library support
13434 ld_shlibs_CXX=no
13437 mvs*)
13438 case $cc_basename in
13439 cxx*)
13440 # FIXME: insert proper C++ library support
13441 ld_shlibs_CXX=no
13444 # FIXME: insert proper C++ library support
13445 ld_shlibs_CXX=no
13447 esac
13450 netbsd*)
13451 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13452 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13453 wlarc=
13454 hardcode_libdir_flag_spec_CXX='-R$libdir'
13455 hardcode_direct_CXX=yes
13456 hardcode_shlibpath_var_CXX=no
13458 # Workaround some broken pre-1.5 toolchains
13459 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13462 *nto* | *qnx*)
13463 ld_shlibs_CXX=yes
13466 openbsd2*)
13467 # C++ shared libraries are fairly broken
13468 ld_shlibs_CXX=no
13471 openbsd*)
13472 if test -f /usr/libexec/ld.so; then
13473 hardcode_direct_CXX=yes
13474 hardcode_shlibpath_var_CXX=no
13475 hardcode_direct_absolute_CXX=yes
13476 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13477 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13478 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13479 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13480 export_dynamic_flag_spec_CXX='${wl}-E'
13481 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13483 output_verbose_link_cmd=func_echo_all
13484 else
13485 ld_shlibs_CXX=no
13489 osf3* | osf4* | osf5*)
13490 case $cc_basename in
13491 KCC*)
13492 # Kuck and Associates, Inc. (KAI) C++ Compiler
13494 # KCC will only create a shared library if the output file
13495 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13496 # to its proper name (with version) after linking.
13497 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'
13499 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13500 hardcode_libdir_separator_CXX=:
13502 # Archives containing C++ object files must be created using
13503 # the KAI C++ compiler.
13504 case $host in
13505 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13506 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13507 esac
13509 RCC*)
13510 # Rational C++ 2.4.1
13511 # FIXME: insert proper C++ library support
13512 ld_shlibs_CXX=no
13514 cxx*)
13515 case $host in
13516 osf3*)
13517 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13518 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'
13519 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13522 allow_undefined_flag_CXX=' -expect_unresolved \*'
13523 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'
13524 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13525 echo "-hidden">> $lib.exp~
13526 $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~
13527 $RM $lib.exp'
13528 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13530 esac
13532 hardcode_libdir_separator_CXX=:
13534 # Commands to make compiler produce verbose output that lists
13535 # what "hidden" libraries, object files and flags are used when
13536 # linking a shared library.
13538 # There doesn't appear to be a way to prevent this compiler from
13539 # explicitly linking system object files so we need to strip them
13540 # from the output so that they don't get included in the library
13541 # dependencies.
13542 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"'
13545 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13546 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13547 case $host in
13548 osf3*)
13549 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'
13552 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'
13554 esac
13556 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13557 hardcode_libdir_separator_CXX=:
13559 # Commands to make compiler produce verbose output that lists
13560 # what "hidden" libraries, object files and flags are used when
13561 # linking a shared library.
13562 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13564 else
13565 # FIXME: insert proper C++ library support
13566 ld_shlibs_CXX=no
13569 esac
13572 psos*)
13573 # FIXME: insert proper C++ library support
13574 ld_shlibs_CXX=no
13577 sunos4*)
13578 case $cc_basename in
13579 CC*)
13580 # Sun C++ 4.x
13581 # FIXME: insert proper C++ library support
13582 ld_shlibs_CXX=no
13584 lcc*)
13585 # Lucid
13586 # FIXME: insert proper C++ library support
13587 ld_shlibs_CXX=no
13590 # FIXME: insert proper C++ library support
13591 ld_shlibs_CXX=no
13593 esac
13596 solaris*)
13597 case $cc_basename in
13598 CC*)
13599 # Sun C++ 4.2, 5.x and Centerline C++
13600 archive_cmds_need_lc_CXX=yes
13601 no_undefined_flag_CXX=' -zdefs'
13602 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13603 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13604 $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'
13606 hardcode_libdir_flag_spec_CXX='-R$libdir'
13607 hardcode_shlibpath_var_CXX=no
13608 case $host_os in
13609 solaris2.[0-5] | solaris2.[0-5].*) ;;
13611 # The compiler driver will combine and reorder linker options,
13612 # but understands `-z linker_flag'.
13613 # Supported since Solaris 2.6 (maybe 2.5.1?)
13614 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13616 esac
13617 link_all_deplibs_CXX=yes
13619 output_verbose_link_cmd='func_echo_all'
13621 # Archives containing C++ object files must be created using
13622 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13623 # necessary to make sure instantiated templates are included
13624 # in the archive.
13625 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13627 gcx*)
13628 # Green Hills C++ Compiler
13629 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13631 # The C++ compiler must be used to create the archive.
13632 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13635 # GNU C++ compiler with Solaris linker
13636 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13637 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13638 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13639 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13640 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13641 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13643 # Commands to make compiler produce verbose output that lists
13644 # what "hidden" libraries, object files and flags are used when
13645 # linking a shared library.
13646 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13647 else
13648 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13649 # platform.
13650 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13651 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13652 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13654 # Commands to make compiler produce verbose output that lists
13655 # what "hidden" libraries, object files and flags are used when
13656 # linking a shared library.
13657 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13660 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13661 case $host_os in
13662 solaris2.[0-5] | solaris2.[0-5].*) ;;
13664 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13666 esac
13669 esac
13672 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13673 no_undefined_flag_CXX='${wl}-z,text'
13674 archive_cmds_need_lc_CXX=no
13675 hardcode_shlibpath_var_CXX=no
13676 runpath_var='LD_RUN_PATH'
13678 case $cc_basename in
13679 CC*)
13680 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13681 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13684 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13685 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13687 esac
13690 sysv5* | sco3.2v5* | sco5v6*)
13691 # Note: We can NOT use -z defs as we might desire, because we do not
13692 # link with -lc, and that would cause any symbols used from libc to
13693 # always be unresolved, which means just about no library would
13694 # ever link correctly. If we're not using GNU ld we use -z text
13695 # though, which does catch some bad symbols but isn't as heavy-handed
13696 # as -z defs.
13697 no_undefined_flag_CXX='${wl}-z,text'
13698 allow_undefined_flag_CXX='${wl}-z,nodefs'
13699 archive_cmds_need_lc_CXX=no
13700 hardcode_shlibpath_var_CXX=no
13701 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13702 hardcode_libdir_separator_CXX=':'
13703 link_all_deplibs_CXX=yes
13704 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13705 runpath_var='LD_RUN_PATH'
13707 case $cc_basename in
13708 CC*)
13709 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13710 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13711 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13712 '"$old_archive_cmds_CXX"
13713 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13714 '"$reload_cmds_CXX"
13717 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13718 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13720 esac
13723 tandem*)
13724 case $cc_basename in
13725 NCC*)
13726 # NonStop-UX NCC 3.20
13727 # FIXME: insert proper C++ library support
13728 ld_shlibs_CXX=no
13731 # FIXME: insert proper C++ library support
13732 ld_shlibs_CXX=no
13734 esac
13737 vxworks*)
13738 # FIXME: insert proper C++ library support
13739 ld_shlibs_CXX=no
13743 # FIXME: insert proper C++ library support
13744 ld_shlibs_CXX=no
13746 esac
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13749 $as_echo "$ld_shlibs_CXX" >&6; }
13750 test "$ld_shlibs_CXX" = no && can_build_shared=no
13752 GCC_CXX="$GXX"
13753 LD_CXX="$LD"
13755 ## CAVEAT EMPTOR:
13756 ## There is no encapsulation within the following macros, do not change
13757 ## the running order or otherwise move them around unless you know exactly
13758 ## what you are doing...
13759 # Dependencies to place before and after the object being linked:
13760 predep_objects_CXX=
13761 postdep_objects_CXX=
13762 predeps_CXX=
13763 postdeps_CXX=
13764 compiler_lib_search_path_CXX=
13766 cat > conftest.$ac_ext <<_LT_EOF
13767 class Foo
13769 public:
13770 Foo (void) { a = 0; }
13771 private:
13772 int a;
13774 _LT_EOF
13776 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13777 (eval $ac_compile) 2>&5
13778 ac_status=$?
13779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13780 test $ac_status = 0; }; then
13781 # Parse the compiler output and extract the necessary
13782 # objects, libraries and library flags.
13784 # Sentinel used to keep track of whether or not we are before
13785 # the conftest object file.
13786 pre_test_object_deps_done=no
13788 for p in `eval "$output_verbose_link_cmd"`; do
13789 case $p in
13791 -L* | -R* | -l*)
13792 # Some compilers place space between "-{L,R}" and the path.
13793 # Remove the space.
13794 if test $p = "-L" ||
13795 test $p = "-R"; then
13796 prev=$p
13797 continue
13798 else
13799 prev=
13802 if test "$pre_test_object_deps_done" = no; then
13803 case $p in
13804 -L* | -R*)
13805 # Internal compiler library paths should come after those
13806 # provided the user. The postdeps already come after the
13807 # user supplied libs so there is no need to process them.
13808 if test -z "$compiler_lib_search_path_CXX"; then
13809 compiler_lib_search_path_CXX="${prev}${p}"
13810 else
13811 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13814 # The "-l" case would never come before the object being
13815 # linked, so don't bother handling this case.
13816 esac
13817 else
13818 if test -z "$postdeps_CXX"; then
13819 postdeps_CXX="${prev}${p}"
13820 else
13821 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13826 *.$objext)
13827 # This assumes that the test object file only shows up
13828 # once in the compiler output.
13829 if test "$p" = "conftest.$objext"; then
13830 pre_test_object_deps_done=yes
13831 continue
13834 if test "$pre_test_object_deps_done" = no; then
13835 if test -z "$predep_objects_CXX"; then
13836 predep_objects_CXX="$p"
13837 else
13838 predep_objects_CXX="$predep_objects_CXX $p"
13840 else
13841 if test -z "$postdep_objects_CXX"; then
13842 postdep_objects_CXX="$p"
13843 else
13844 postdep_objects_CXX="$postdep_objects_CXX $p"
13849 *) ;; # Ignore the rest.
13851 esac
13852 done
13854 # Clean up.
13855 rm -f a.out a.exe
13856 else
13857 echo "libtool.m4: error: problem compiling CXX test program"
13860 $RM -f confest.$objext
13862 # PORTME: override above test on systems where it is broken
13863 case $host_os in
13864 interix[3-9]*)
13865 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13866 # hack all around it, let's just trust "g++" to DTRT.
13867 predep_objects_CXX=
13868 postdep_objects_CXX=
13869 postdeps_CXX=
13872 linux*)
13873 case `$CC -V 2>&1 | sed 5q` in
13874 *Sun\ C*)
13875 # Sun C++ 5.9
13877 # The more standards-conforming stlport4 library is
13878 # incompatible with the Cstd library. Avoid specifying
13879 # it if it's in CXXFLAGS. Ignore libCrun as
13880 # -library=stlport4 depends on it.
13881 case " $CXX $CXXFLAGS " in
13882 *" -library=stlport4 "*)
13883 solaris_use_stlport4=yes
13885 esac
13887 if test "$solaris_use_stlport4" != yes; then
13888 postdeps_CXX='-library=Cstd -library=Crun'
13891 esac
13894 solaris*)
13895 case $cc_basename in
13896 CC*)
13897 # The more standards-conforming stlport4 library is
13898 # incompatible with the Cstd library. Avoid specifying
13899 # it if it's in CXXFLAGS. Ignore libCrun as
13900 # -library=stlport4 depends on it.
13901 case " $CXX $CXXFLAGS " in
13902 *" -library=stlport4 "*)
13903 solaris_use_stlport4=yes
13905 esac
13907 # Adding this requires a known-good setup of shared libraries for
13908 # Sun compiler versions before 5.6, else PIC objects from an old
13909 # archive will be linked into the output, leading to subtle bugs.
13910 if test "$solaris_use_stlport4" != yes; then
13911 postdeps_CXX='-library=Cstd -library=Crun'
13914 esac
13916 esac
13919 case " $postdeps_CXX " in
13920 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13921 esac
13922 compiler_lib_search_dirs_CXX=
13923 if test -n "${compiler_lib_search_path_CXX}"; then
13924 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13957 lt_prog_compiler_wl_CXX=
13958 lt_prog_compiler_pic_CXX=
13959 lt_prog_compiler_static_CXX=
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13962 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13964 # C++ specific cases for pic, static, wl, etc.
13965 if test "$GXX" = yes; then
13966 lt_prog_compiler_wl_CXX='-Wl,'
13967 lt_prog_compiler_static_CXX='-static'
13969 case $host_os in
13970 aix*)
13971 # All AIX code is PIC.
13972 if test "$host_cpu" = ia64; then
13973 # AIX 5 now supports IA64 processor
13974 lt_prog_compiler_static_CXX='-Bstatic'
13976 lt_prog_compiler_pic_CXX='-fPIC'
13979 amigaos*)
13980 case $host_cpu in
13981 powerpc)
13982 # see comment about AmigaOS4 .so support
13983 lt_prog_compiler_pic_CXX='-fPIC'
13985 m68k)
13986 # FIXME: we need at least 68020 code to build shared libraries, but
13987 # adding the `-m68020' flag to GCC prevents building anything better,
13988 # like `-m68040'.
13989 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13991 esac
13994 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13995 # PIC is the default for these OSes.
13997 mingw* | cygwin* | os2* | pw32* | cegcc*)
13998 # This hack is so that the source file can tell whether it is being
13999 # built for inclusion in a dll (and should export symbols for example).
14000 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14001 # (--disable-auto-import) libraries
14002 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14004 darwin* | rhapsody*)
14005 # PIC is the default on this platform
14006 # Common symbols not allowed in MH_DYLIB files
14007 lt_prog_compiler_pic_CXX='-fno-common'
14009 *djgpp*)
14010 # DJGPP does not support shared libraries at all
14011 lt_prog_compiler_pic_CXX=
14013 haiku*)
14014 # PIC is the default for Haiku.
14015 # The "-static" flag exists, but is broken.
14016 lt_prog_compiler_static_CXX=
14018 interix[3-9]*)
14019 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14020 # Instead, we relocate shared libraries at runtime.
14022 sysv4*MP*)
14023 if test -d /usr/nec; then
14024 lt_prog_compiler_pic_CXX=-Kconform_pic
14027 hpux*)
14028 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14029 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14030 # sets the default TLS model and affects inlining.
14031 case $host_cpu in
14032 hppa*64*)
14035 lt_prog_compiler_pic_CXX='-fPIC'
14037 esac
14039 *qnx* | *nto*)
14040 # QNX uses GNU C++, but need to define -shared option too, otherwise
14041 # it will coredump.
14042 lt_prog_compiler_pic_CXX='-fPIC -shared'
14045 lt_prog_compiler_pic_CXX='-fPIC'
14047 esac
14048 else
14049 case $host_os in
14050 aix[4-9]*)
14051 # All AIX code is PIC.
14052 if test "$host_cpu" = ia64; then
14053 # AIX 5 now supports IA64 processor
14054 lt_prog_compiler_static_CXX='-Bstatic'
14055 else
14056 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14059 chorus*)
14060 case $cc_basename in
14061 cxch68*)
14062 # Green Hills C++ Compiler
14063 # _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"
14065 esac
14067 dgux*)
14068 case $cc_basename in
14069 ec++*)
14070 lt_prog_compiler_pic_CXX='-KPIC'
14072 ghcx*)
14073 # Green Hills C++ Compiler
14074 lt_prog_compiler_pic_CXX='-pic'
14078 esac
14080 freebsd* | dragonfly*)
14081 # FreeBSD uses GNU C++
14083 hpux9* | hpux10* | hpux11*)
14084 case $cc_basename in
14085 CC*)
14086 lt_prog_compiler_wl_CXX='-Wl,'
14087 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14088 if test "$host_cpu" != ia64; then
14089 lt_prog_compiler_pic_CXX='+Z'
14092 aCC*)
14093 lt_prog_compiler_wl_CXX='-Wl,'
14094 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14095 case $host_cpu in
14096 hppa*64*|ia64*)
14097 # +Z the default
14100 lt_prog_compiler_pic_CXX='+Z'
14102 esac
14106 esac
14108 interix*)
14109 # This is c89, which is MS Visual C++ (no shared libs)
14110 # Anyone wants to do a port?
14112 irix5* | irix6* | nonstopux*)
14113 case $cc_basename in
14114 CC*)
14115 lt_prog_compiler_wl_CXX='-Wl,'
14116 lt_prog_compiler_static_CXX='-non_shared'
14117 # CC pic flag -KPIC is the default.
14121 esac
14123 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14124 case $cc_basename in
14125 KCC*)
14126 # KAI C++ Compiler
14127 lt_prog_compiler_wl_CXX='--backend -Wl,'
14128 lt_prog_compiler_pic_CXX='-fPIC'
14130 ecpc* )
14131 # old Intel C++ for x86_64 which still supported -KPIC.
14132 lt_prog_compiler_wl_CXX='-Wl,'
14133 lt_prog_compiler_pic_CXX='-KPIC'
14134 lt_prog_compiler_static_CXX='-static'
14136 icpc* )
14137 # Intel C++, used to be incompatible with GCC.
14138 # ICC 10 doesn't accept -KPIC any more.
14139 lt_prog_compiler_wl_CXX='-Wl,'
14140 lt_prog_compiler_pic_CXX='-fPIC'
14141 lt_prog_compiler_static_CXX='-static'
14143 pgCC* | pgcpp*)
14144 # Portland Group C++ compiler
14145 lt_prog_compiler_wl_CXX='-Wl,'
14146 lt_prog_compiler_pic_CXX='-fpic'
14147 lt_prog_compiler_static_CXX='-Bstatic'
14149 cxx*)
14150 # Compaq C++
14151 # Make sure the PIC flag is empty. It appears that all Alpha
14152 # Linux and Compaq Tru64 Unix objects are PIC.
14153 lt_prog_compiler_pic_CXX=
14154 lt_prog_compiler_static_CXX='-non_shared'
14156 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14157 # IBM XL 8.0, 9.0 on PPC and BlueGene
14158 lt_prog_compiler_wl_CXX='-Wl,'
14159 lt_prog_compiler_pic_CXX='-qpic'
14160 lt_prog_compiler_static_CXX='-qstaticlink'
14163 case `$CC -V 2>&1 | sed 5q` in
14164 *Sun\ C*)
14165 # Sun C++ 5.9
14166 lt_prog_compiler_pic_CXX='-KPIC'
14167 lt_prog_compiler_static_CXX='-Bstatic'
14168 lt_prog_compiler_wl_CXX='-Qoption ld '
14170 esac
14172 esac
14174 lynxos*)
14176 m88k*)
14178 mvs*)
14179 case $cc_basename in
14180 cxx*)
14181 lt_prog_compiler_pic_CXX='-W c,exportall'
14185 esac
14187 netbsd*)
14189 *qnx* | *nto*)
14190 # QNX uses GNU C++, but need to define -shared option too, otherwise
14191 # it will coredump.
14192 lt_prog_compiler_pic_CXX='-fPIC -shared'
14194 osf3* | osf4* | osf5*)
14195 case $cc_basename in
14196 KCC*)
14197 lt_prog_compiler_wl_CXX='--backend -Wl,'
14199 RCC*)
14200 # Rational C++ 2.4.1
14201 lt_prog_compiler_pic_CXX='-pic'
14203 cxx*)
14204 # Digital/Compaq C++
14205 lt_prog_compiler_wl_CXX='-Wl,'
14206 # Make sure the PIC flag is empty. It appears that all Alpha
14207 # Linux and Compaq Tru64 Unix objects are PIC.
14208 lt_prog_compiler_pic_CXX=
14209 lt_prog_compiler_static_CXX='-non_shared'
14213 esac
14215 psos*)
14217 solaris*)
14218 case $cc_basename in
14219 CC*)
14220 # Sun C++ 4.2, 5.x and Centerline C++
14221 lt_prog_compiler_pic_CXX='-KPIC'
14222 lt_prog_compiler_static_CXX='-Bstatic'
14223 lt_prog_compiler_wl_CXX='-Qoption ld '
14225 gcx*)
14226 # Green Hills C++ Compiler
14227 lt_prog_compiler_pic_CXX='-PIC'
14231 esac
14233 sunos4*)
14234 case $cc_basename in
14235 CC*)
14236 # Sun C++ 4.x
14237 lt_prog_compiler_pic_CXX='-pic'
14238 lt_prog_compiler_static_CXX='-Bstatic'
14240 lcc*)
14241 # Lucid
14242 lt_prog_compiler_pic_CXX='-pic'
14246 esac
14248 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14249 case $cc_basename in
14250 CC*)
14251 lt_prog_compiler_wl_CXX='-Wl,'
14252 lt_prog_compiler_pic_CXX='-KPIC'
14253 lt_prog_compiler_static_CXX='-Bstatic'
14255 esac
14257 tandem*)
14258 case $cc_basename in
14259 NCC*)
14260 # NonStop-UX NCC 3.20
14261 lt_prog_compiler_pic_CXX='-KPIC'
14265 esac
14267 vxworks*)
14270 lt_prog_compiler_can_build_shared_CXX=no
14272 esac
14275 case $host_os in
14276 # For platforms which do not support PIC, -DPIC is meaningless:
14277 *djgpp*)
14278 lt_prog_compiler_pic_CXX=
14281 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14283 esac
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14285 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14290 # Check to make sure the PIC flag actually works.
14292 if test -n "$lt_prog_compiler_pic_CXX"; then
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14294 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14295 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14296 $as_echo_n "(cached) " >&6
14297 else
14298 lt_cv_prog_compiler_pic_works_CXX=no
14299 ac_outfile=conftest.$ac_objext
14300 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14301 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14302 # Insert the option either (1) after the last *FLAGS variable, or
14303 # (2) before a word containing "conftest.", or (3) at the end.
14304 # Note that $ac_compile itself does not contain backslashes and begins
14305 # with a dollar sign (not a hyphen), so the echo should work correctly.
14306 # The option is referenced via a variable to avoid confusing sed.
14307 lt_compile=`echo "$ac_compile" | $SED \
14308 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14309 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14310 -e 's:$: $lt_compiler_flag:'`
14311 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14312 (eval "$lt_compile" 2>conftest.err)
14313 ac_status=$?
14314 cat conftest.err >&5
14315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14316 if (exit $ac_status) && test -s "$ac_outfile"; then
14317 # The compiler can only warn and ignore the option if not recognized
14318 # So say no if there are warnings other than the usual output.
14319 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14320 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14321 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14322 lt_cv_prog_compiler_pic_works_CXX=yes
14325 $RM conftest*
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14329 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14331 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14332 case $lt_prog_compiler_pic_CXX in
14333 "" | " "*) ;;
14334 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14335 esac
14336 else
14337 lt_prog_compiler_pic_CXX=
14338 lt_prog_compiler_can_build_shared_CXX=no
14346 # Check to make sure the static flag actually works.
14348 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14350 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14351 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14352 $as_echo_n "(cached) " >&6
14353 else
14354 lt_cv_prog_compiler_static_works_CXX=no
14355 save_LDFLAGS="$LDFLAGS"
14356 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14357 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14358 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14359 # The linker can only warn and ignore the option if not recognized
14360 # So say no if there are warnings
14361 if test -s conftest.err; then
14362 # Append any errors to the config.log.
14363 cat conftest.err 1>&5
14364 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14365 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14366 if diff conftest.exp conftest.er2 >/dev/null; then
14367 lt_cv_prog_compiler_static_works_CXX=yes
14369 else
14370 lt_cv_prog_compiler_static_works_CXX=yes
14373 $RM -r conftest*
14374 LDFLAGS="$save_LDFLAGS"
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14378 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14380 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14382 else
14383 lt_prog_compiler_static_CXX=
14389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14390 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14391 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14392 $as_echo_n "(cached) " >&6
14393 else
14394 lt_cv_prog_compiler_c_o_CXX=no
14395 $RM -r conftest 2>/dev/null
14396 mkdir conftest
14397 cd conftest
14398 mkdir out
14399 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14401 lt_compiler_flag="-o out/conftest2.$ac_objext"
14402 # Insert the option either (1) after the last *FLAGS variable, or
14403 # (2) before a word containing "conftest.", or (3) at the end.
14404 # Note that $ac_compile itself does not contain backslashes and begins
14405 # with a dollar sign (not a hyphen), so the echo should work correctly.
14406 lt_compile=`echo "$ac_compile" | $SED \
14407 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14408 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14409 -e 's:$: $lt_compiler_flag:'`
14410 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14411 (eval "$lt_compile" 2>out/conftest.err)
14412 ac_status=$?
14413 cat out/conftest.err >&5
14414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14415 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14416 then
14417 # The compiler can only warn and ignore the option if not recognized
14418 # So say no if there are warnings
14419 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14420 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14421 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14422 lt_cv_prog_compiler_c_o_CXX=yes
14425 chmod u+w . 2>&5
14426 $RM conftest*
14427 # SGI C++ compiler will create directory out/ii_files/ for
14428 # template instantiation
14429 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14430 $RM out/* && rmdir out
14431 cd ..
14432 $RM -r conftest
14433 $RM conftest*
14436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14437 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14442 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14443 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14444 $as_echo_n "(cached) " >&6
14445 else
14446 lt_cv_prog_compiler_c_o_CXX=no
14447 $RM -r conftest 2>/dev/null
14448 mkdir conftest
14449 cd conftest
14450 mkdir out
14451 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14453 lt_compiler_flag="-o out/conftest2.$ac_objext"
14454 # Insert the option either (1) after the last *FLAGS variable, or
14455 # (2) before a word containing "conftest.", or (3) at the end.
14456 # Note that $ac_compile itself does not contain backslashes and begins
14457 # with a dollar sign (not a hyphen), so the echo should work correctly.
14458 lt_compile=`echo "$ac_compile" | $SED \
14459 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14460 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14461 -e 's:$: $lt_compiler_flag:'`
14462 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14463 (eval "$lt_compile" 2>out/conftest.err)
14464 ac_status=$?
14465 cat out/conftest.err >&5
14466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14467 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14468 then
14469 # The compiler can only warn and ignore the option if not recognized
14470 # So say no if there are warnings
14471 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14472 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14473 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14474 lt_cv_prog_compiler_c_o_CXX=yes
14477 chmod u+w . 2>&5
14478 $RM conftest*
14479 # SGI C++ compiler will create directory out/ii_files/ for
14480 # template instantiation
14481 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14482 $RM out/* && rmdir out
14483 cd ..
14484 $RM -r conftest
14485 $RM conftest*
14488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14489 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14494 hard_links="nottested"
14495 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14496 # do not overwrite the value of need_locks provided by the user
14497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14498 $as_echo_n "checking if we can lock with hard links... " >&6; }
14499 hard_links=yes
14500 $RM conftest*
14501 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14502 touch conftest.a
14503 ln conftest.a conftest.b 2>&5 || hard_links=no
14504 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14506 $as_echo "$hard_links" >&6; }
14507 if test "$hard_links" = no; then
14508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14509 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14510 need_locks=warn
14512 else
14513 need_locks=no
14518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14519 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14521 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14522 case $host_os in
14523 aix[4-9]*)
14524 # If we're using GNU nm, then we don't want the "-C" option.
14525 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14526 # Also, AIX nm treats weak defined symbols like other global defined
14527 # symbols, whereas GNU nm marks them as "W".
14528 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14529 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'
14530 else
14531 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'
14534 pw32*)
14535 export_symbols_cmds_CXX="$ltdll_cmds"
14537 cygwin* | mingw* | cegcc*)
14538 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'
14541 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14543 esac
14544 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14547 $as_echo "$ld_shlibs_CXX" >&6; }
14548 test "$ld_shlibs_CXX" = no && can_build_shared=no
14550 with_gnu_ld_CXX=$with_gnu_ld
14558 # Do we need to explicitly link libc?
14560 case "x$archive_cmds_need_lc_CXX" in
14561 x|xyes)
14562 # Assume -lc should be added
14563 archive_cmds_need_lc_CXX=yes
14565 if test "$enable_shared" = yes && test "$GCC" = yes; then
14566 case $archive_cmds_CXX in
14567 *'~'*)
14568 # FIXME: we may have to deal with multi-command sequences.
14570 '$CC '*)
14571 # Test whether the compiler implicitly links with -lc since on some
14572 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14573 # to ld, don't add -lc before -lgcc.
14574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14575 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14576 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14577 $as_echo_n "(cached) " >&6
14578 else
14579 $RM conftest*
14580 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14582 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14583 (eval $ac_compile) 2>&5
14584 ac_status=$?
14585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14586 test $ac_status = 0; } 2>conftest.err; then
14587 soname=conftest
14588 lib=conftest
14589 libobjs=conftest.$ac_objext
14590 deplibs=
14591 wl=$lt_prog_compiler_wl_CXX
14592 pic_flag=$lt_prog_compiler_pic_CXX
14593 compiler_flags=-v
14594 linker_flags=-v
14595 verstring=
14596 output_objdir=.
14597 libname=conftest
14598 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14599 allow_undefined_flag_CXX=
14600 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14601 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14602 ac_status=$?
14603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14604 test $ac_status = 0; }
14605 then
14606 lt_cv_archive_cmds_need_lc_CXX=no
14607 else
14608 lt_cv_archive_cmds_need_lc_CXX=yes
14610 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14611 else
14612 cat conftest.err 1>&5
14614 $RM conftest*
14617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14618 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14619 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14621 esac
14624 esac
14689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14690 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14692 library_names_spec=
14693 libname_spec='lib$name'
14694 soname_spec=
14695 shrext_cmds=".so"
14696 postinstall_cmds=
14697 postuninstall_cmds=
14698 finish_cmds=
14699 finish_eval=
14700 shlibpath_var=
14701 shlibpath_overrides_runpath=unknown
14702 version_type=none
14703 dynamic_linker="$host_os ld.so"
14704 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14705 need_lib_prefix=unknown
14706 hardcode_into_libs=no
14708 # when you set need_version to no, make sure it does not cause -set_version
14709 # flags to be left without arguments
14710 need_version=unknown
14712 case $host_os in
14713 aix3*)
14714 version_type=linux
14715 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14716 shlibpath_var=LIBPATH
14718 # AIX 3 has no versioning support, so we append a major version to the name.
14719 soname_spec='${libname}${release}${shared_ext}$major'
14722 aix[4-9]*)
14723 version_type=linux
14724 need_lib_prefix=no
14725 need_version=no
14726 hardcode_into_libs=yes
14727 if test "$host_cpu" = ia64; then
14728 # AIX 5 supports IA64
14729 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14730 shlibpath_var=LD_LIBRARY_PATH
14731 else
14732 # With GCC up to 2.95.x, collect2 would create an import file
14733 # for dependence libraries. The import file would start with
14734 # the line `#! .'. This would cause the generated library to
14735 # depend on `.', always an invalid library. This was fixed in
14736 # development snapshots of GCC prior to 3.0.
14737 case $host_os in
14738 aix4 | aix4.[01] | aix4.[01].*)
14739 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14740 echo ' yes '
14741 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14743 else
14744 can_build_shared=no
14747 esac
14748 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14749 # soname into executable. Probably we can add versioning support to
14750 # collect2, so additional links can be useful in future.
14751 if test "$aix_use_runtimelinking" = yes; then
14752 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14753 # instead of lib<name>.a to let people know that these are not
14754 # typical AIX shared libraries.
14755 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14756 else
14757 # We preserve .a as extension for shared libraries through AIX4.2
14758 # and later when we are not doing run time linking.
14759 library_names_spec='${libname}${release}.a $libname.a'
14760 soname_spec='${libname}${release}${shared_ext}$major'
14762 shlibpath_var=LIBPATH
14766 amigaos*)
14767 case $host_cpu in
14768 powerpc)
14769 # Since July 2007 AmigaOS4 officially supports .so libraries.
14770 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14771 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14773 m68k)
14774 library_names_spec='$libname.ixlibrary $libname.a'
14775 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14776 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'
14778 esac
14781 beos*)
14782 library_names_spec='${libname}${shared_ext}'
14783 dynamic_linker="$host_os ld.so"
14784 shlibpath_var=LIBRARY_PATH
14787 bsdi[45]*)
14788 version_type=linux
14789 need_version=no
14790 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14791 soname_spec='${libname}${release}${shared_ext}$major'
14792 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14793 shlibpath_var=LD_LIBRARY_PATH
14794 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14795 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14796 # the default ld.so.conf also contains /usr/contrib/lib and
14797 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14798 # libtool to hard-code these into programs
14801 cygwin* | mingw* | pw32* | cegcc*)
14802 version_type=windows
14803 shrext_cmds=".dll"
14804 need_version=no
14805 need_lib_prefix=no
14807 case $GCC,$host_os in
14808 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14809 library_names_spec='$libname.dll.a'
14810 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14811 postinstall_cmds='base_file=`basename \${file}`~
14812 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14813 dldir=$destdir/`dirname \$dlpath`~
14814 test -d \$dldir || mkdir -p \$dldir~
14815 $install_prog $dir/$dlname \$dldir/$dlname~
14816 chmod a+x \$dldir/$dlname~
14817 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14818 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14820 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14821 dlpath=$dir/\$dldll~
14822 $RM \$dlpath'
14823 shlibpath_overrides_runpath=yes
14825 case $host_os in
14826 cygwin*)
14827 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14828 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14831 mingw* | cegcc*)
14832 # MinGW DLLs use traditional 'lib' prefix
14833 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14835 pw32*)
14836 # pw32 DLLs use 'pw' prefix rather than 'lib'
14837 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14839 esac
14843 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14845 esac
14846 dynamic_linker='Win32 ld.exe'
14847 # FIXME: first we should search . and the directory the executable is in
14848 shlibpath_var=PATH
14851 darwin* | rhapsody*)
14852 dynamic_linker="$host_os dyld"
14853 version_type=darwin
14854 need_lib_prefix=no
14855 need_version=no
14856 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14857 soname_spec='${libname}${release}${major}$shared_ext'
14858 shlibpath_overrides_runpath=yes
14859 shlibpath_var=DYLD_LIBRARY_PATH
14860 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14862 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14865 dgux*)
14866 version_type=linux
14867 need_lib_prefix=no
14868 need_version=no
14869 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14870 soname_spec='${libname}${release}${shared_ext}$major'
14871 shlibpath_var=LD_LIBRARY_PATH
14874 freebsd* | dragonfly*)
14875 # DragonFly does not have aout. When/if they implement a new
14876 # versioning mechanism, adjust this.
14877 if test -x /usr/bin/objformat; then
14878 objformat=`/usr/bin/objformat`
14879 else
14880 case $host_os in
14881 freebsd[23].*) objformat=aout ;;
14882 *) objformat=elf ;;
14883 esac
14885 version_type=freebsd-$objformat
14886 case $version_type in
14887 freebsd-elf*)
14888 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14889 need_version=no
14890 need_lib_prefix=no
14892 freebsd-*)
14893 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14894 need_version=yes
14896 esac
14897 shlibpath_var=LD_LIBRARY_PATH
14898 case $host_os in
14899 freebsd2.*)
14900 shlibpath_overrides_runpath=yes
14902 freebsd3.[01]* | freebsdelf3.[01]*)
14903 shlibpath_overrides_runpath=yes
14904 hardcode_into_libs=yes
14906 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14907 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14908 shlibpath_overrides_runpath=no
14909 hardcode_into_libs=yes
14911 *) # from 4.6 on, and DragonFly
14912 shlibpath_overrides_runpath=yes
14913 hardcode_into_libs=yes
14915 esac
14918 gnu*)
14919 version_type=linux
14920 need_lib_prefix=no
14921 need_version=no
14922 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14923 soname_spec='${libname}${release}${shared_ext}$major'
14924 shlibpath_var=LD_LIBRARY_PATH
14925 hardcode_into_libs=yes
14928 haiku*)
14929 version_type=linux
14930 need_lib_prefix=no
14931 need_version=no
14932 dynamic_linker="$host_os runtime_loader"
14933 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14934 soname_spec='${libname}${release}${shared_ext}$major'
14935 shlibpath_var=LIBRARY_PATH
14936 shlibpath_overrides_runpath=yes
14937 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14938 hardcode_into_libs=yes
14941 hpux9* | hpux10* | hpux11*)
14942 # Give a soname corresponding to the major version so that dld.sl refuses to
14943 # link against other versions.
14944 version_type=sunos
14945 need_lib_prefix=no
14946 need_version=no
14947 case $host_cpu in
14948 ia64*)
14949 shrext_cmds='.so'
14950 hardcode_into_libs=yes
14951 dynamic_linker="$host_os dld.so"
14952 shlibpath_var=LD_LIBRARY_PATH
14953 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14954 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14955 soname_spec='${libname}${release}${shared_ext}$major'
14956 if test "X$HPUX_IA64_MODE" = X32; then
14957 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14958 else
14959 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14961 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14963 hppa*64*)
14964 shrext_cmds='.sl'
14965 hardcode_into_libs=yes
14966 dynamic_linker="$host_os dld.sl"
14967 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14968 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14969 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14970 soname_spec='${libname}${release}${shared_ext}$major'
14971 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14972 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14975 shrext_cmds='.sl'
14976 dynamic_linker="$host_os dld.sl"
14977 shlibpath_var=SHLIB_PATH
14978 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14979 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14980 soname_spec='${libname}${release}${shared_ext}$major'
14982 esac
14983 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14984 postinstall_cmds='chmod 555 $lib'
14985 # or fails outright, so override atomically:
14986 install_override_mode=555
14989 interix[3-9]*)
14990 version_type=linux
14991 need_lib_prefix=no
14992 need_version=no
14993 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14994 soname_spec='${libname}${release}${shared_ext}$major'
14995 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14996 shlibpath_var=LD_LIBRARY_PATH
14997 shlibpath_overrides_runpath=no
14998 hardcode_into_libs=yes
15001 irix5* | irix6* | nonstopux*)
15002 case $host_os in
15003 nonstopux*) version_type=nonstopux ;;
15005 if test "$lt_cv_prog_gnu_ld" = yes; then
15006 version_type=linux
15007 else
15008 version_type=irix
15009 fi ;;
15010 esac
15011 need_lib_prefix=no
15012 need_version=no
15013 soname_spec='${libname}${release}${shared_ext}$major'
15014 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15015 case $host_os in
15016 irix5* | nonstopux*)
15017 libsuff= shlibsuff=
15020 case $LD in # libtool.m4 will add one of these switches to LD
15021 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15022 libsuff= shlibsuff= libmagic=32-bit;;
15023 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15024 libsuff=32 shlibsuff=N32 libmagic=N32;;
15025 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15026 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15027 *) libsuff= shlibsuff= libmagic=never-match;;
15028 esac
15030 esac
15031 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15032 shlibpath_overrides_runpath=no
15033 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15034 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15035 hardcode_into_libs=yes
15038 # No shared lib support for Linux oldld, aout, or coff.
15039 linux*oldld* | linux*aout* | linux*coff*)
15040 dynamic_linker=no
15043 # This must be Linux ELF.
15045 # uclinux* changes (here and below) have been submitted to the libtool
15046 # project, but have not yet been accepted: they are GCC-local changes
15047 # for the time being. (See
15048 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15049 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
15050 version_type=linux
15051 need_lib_prefix=no
15052 need_version=no
15053 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15054 soname_spec='${libname}${release}${shared_ext}$major'
15055 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15056 shlibpath_var=LD_LIBRARY_PATH
15057 shlibpath_overrides_runpath=no
15059 # Some binutils ld are patched to set DT_RUNPATH
15060 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15061 $as_echo_n "(cached) " >&6
15062 else
15063 lt_cv_shlibpath_overrides_runpath=no
15064 save_LDFLAGS=$LDFLAGS
15065 save_libdir=$libdir
15066 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15067 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15068 if test x$gcc_no_link = xyes; then
15069 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15072 /* end confdefs.h. */
15075 main ()
15079 return 0;
15081 _ACEOF
15082 if ac_fn_cxx_try_link "$LINENO"; then :
15083 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15084 lt_cv_shlibpath_overrides_runpath=yes
15087 rm -f core conftest.err conftest.$ac_objext \
15088 conftest$ac_exeext conftest.$ac_ext
15089 LDFLAGS=$save_LDFLAGS
15090 libdir=$save_libdir
15094 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15096 # This implies no fast_install, which is unacceptable.
15097 # Some rework will be needed to allow for fast_install
15098 # before this can be enabled.
15099 hardcode_into_libs=yes
15101 # Append ld.so.conf contents to the search path
15102 if test -f /etc/ld.so.conf; then
15103 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' ' '`
15104 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15107 # We used to test for /lib/ld.so.1 and disable shared libraries on
15108 # powerpc, because MkLinux only supported shared libraries with the
15109 # GNU dynamic linker. Since this was broken with cross compilers,
15110 # most powerpc-linux boxes support dynamic linking these days and
15111 # people can always --disable-shared, the test was removed, and we
15112 # assume the GNU/Linux dynamic linker is in use.
15113 dynamic_linker='GNU/Linux ld.so'
15116 netbsd*)
15117 version_type=sunos
15118 need_lib_prefix=no
15119 need_version=no
15120 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15121 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15122 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15123 dynamic_linker='NetBSD (a.out) ld.so'
15124 else
15125 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15126 soname_spec='${libname}${release}${shared_ext}$major'
15127 dynamic_linker='NetBSD ld.elf_so'
15129 shlibpath_var=LD_LIBRARY_PATH
15130 shlibpath_overrides_runpath=yes
15131 hardcode_into_libs=yes
15134 newsos6)
15135 version_type=linux
15136 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15137 shlibpath_var=LD_LIBRARY_PATH
15138 shlibpath_overrides_runpath=yes
15141 *nto* | *qnx*)
15142 version_type=qnx
15143 need_lib_prefix=no
15144 need_version=no
15145 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15146 soname_spec='${libname}${release}${shared_ext}$major'
15147 shlibpath_var=LD_LIBRARY_PATH
15148 shlibpath_overrides_runpath=no
15149 hardcode_into_libs=yes
15150 dynamic_linker='ldqnx.so'
15153 openbsd*)
15154 version_type=sunos
15155 sys_lib_dlsearch_path_spec="/usr/lib"
15156 need_lib_prefix=no
15157 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15158 case $host_os in
15159 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15160 *) need_version=no ;;
15161 esac
15162 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15163 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15164 shlibpath_var=LD_LIBRARY_PATH
15165 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15166 case $host_os in
15167 openbsd2.[89] | openbsd2.[89].*)
15168 shlibpath_overrides_runpath=no
15171 shlibpath_overrides_runpath=yes
15173 esac
15174 else
15175 shlibpath_overrides_runpath=yes
15179 os2*)
15180 libname_spec='$name'
15181 shrext_cmds=".dll"
15182 need_lib_prefix=no
15183 library_names_spec='$libname${shared_ext} $libname.a'
15184 dynamic_linker='OS/2 ld.exe'
15185 shlibpath_var=LIBPATH
15188 osf3* | osf4* | osf5*)
15189 version_type=osf
15190 need_lib_prefix=no
15191 need_version=no
15192 soname_spec='${libname}${release}${shared_ext}$major'
15193 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15194 shlibpath_var=LD_LIBRARY_PATH
15195 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15196 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15199 rdos*)
15200 dynamic_linker=no
15203 solaris*)
15204 version_type=linux
15205 need_lib_prefix=no
15206 need_version=no
15207 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15208 soname_spec='${libname}${release}${shared_ext}$major'
15209 shlibpath_var=LD_LIBRARY_PATH
15210 shlibpath_overrides_runpath=yes
15211 hardcode_into_libs=yes
15212 # ldd complains unless libraries are executable
15213 postinstall_cmds='chmod +x $lib'
15216 sunos4*)
15217 version_type=sunos
15218 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15219 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15220 shlibpath_var=LD_LIBRARY_PATH
15221 shlibpath_overrides_runpath=yes
15222 if test "$with_gnu_ld" = yes; then
15223 need_lib_prefix=no
15225 need_version=yes
15228 sysv4 | sysv4.3*)
15229 version_type=linux
15230 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15231 soname_spec='${libname}${release}${shared_ext}$major'
15232 shlibpath_var=LD_LIBRARY_PATH
15233 case $host_vendor in
15234 sni)
15235 shlibpath_overrides_runpath=no
15236 need_lib_prefix=no
15237 runpath_var=LD_RUN_PATH
15239 siemens)
15240 need_lib_prefix=no
15242 motorola)
15243 need_lib_prefix=no
15244 need_version=no
15245 shlibpath_overrides_runpath=no
15246 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15248 esac
15251 sysv4*MP*)
15252 if test -d /usr/nec ;then
15253 version_type=linux
15254 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15255 soname_spec='$libname${shared_ext}.$major'
15256 shlibpath_var=LD_LIBRARY_PATH
15260 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15261 version_type=freebsd-elf
15262 need_lib_prefix=no
15263 need_version=no
15264 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15265 soname_spec='${libname}${release}${shared_ext}$major'
15266 shlibpath_var=LD_LIBRARY_PATH
15267 shlibpath_overrides_runpath=yes
15268 hardcode_into_libs=yes
15269 if test "$with_gnu_ld" = yes; then
15270 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15271 else
15272 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15273 case $host_os in
15274 sco3.2v5*)
15275 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15277 esac
15279 sys_lib_dlsearch_path_spec='/usr/lib'
15282 tpf*)
15283 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15284 version_type=linux
15285 need_lib_prefix=no
15286 need_version=no
15287 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15288 shlibpath_var=LD_LIBRARY_PATH
15289 shlibpath_overrides_runpath=no
15290 hardcode_into_libs=yes
15293 uts4*)
15294 version_type=linux
15295 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15296 soname_spec='${libname}${release}${shared_ext}$major'
15297 shlibpath_var=LD_LIBRARY_PATH
15301 dynamic_linker=no
15303 esac
15304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15305 $as_echo "$dynamic_linker" >&6; }
15306 test "$dynamic_linker" = no && can_build_shared=no
15308 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15309 if test "$GCC" = yes; then
15310 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15313 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15314 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15316 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15317 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15358 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15359 hardcode_action_CXX=
15360 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15361 test -n "$runpath_var_CXX" ||
15362 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15364 # We can hardcode non-existent directories.
15365 if test "$hardcode_direct_CXX" != no &&
15366 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15367 # have to relink, otherwise we might link with an installed library
15368 # when we should be linking with a yet-to-be-installed one
15369 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15370 test "$hardcode_minus_L_CXX" != no; then
15371 # Linking always hardcodes the temporary library directory.
15372 hardcode_action_CXX=relink
15373 else
15374 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15375 hardcode_action_CXX=immediate
15377 else
15378 # We cannot hardcode anything, or else we can only hardcode existing
15379 # directories.
15380 hardcode_action_CXX=unsupported
15382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15383 $as_echo "$hardcode_action_CXX" >&6; }
15385 if test "$hardcode_action_CXX" = relink ||
15386 test "$inherit_rpath_CXX" = yes; then
15387 # Fast installation is not supported
15388 enable_fast_install=no
15389 elif test "$shlibpath_overrides_runpath" = yes ||
15390 test "$enable_shared" = no; then
15391 # Fast installation is not necessary
15392 enable_fast_install=needless
15401 fi # test -n "$compiler"
15403 CC=$lt_save_CC
15404 LDCXX=$LD
15405 LD=$lt_save_LD
15406 GCC=$lt_save_GCC
15407 with_gnu_ld=$lt_save_with_gnu_ld
15408 lt_cv_path_LDCXX=$lt_cv_path_LD
15409 lt_cv_path_LD=$lt_save_path_LD
15410 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15411 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15412 fi # test "$_lt_caught_CXX_error" != yes
15414 ac_ext=c
15415 ac_cpp='$CPP $CPPFLAGS'
15416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15432 ac_config_commands="$ac_config_commands libtool"
15437 # Only expand once:
15443 case $host in
15444 *-cygwin* | *-mingw*)
15445 # 'host' will be top-level target in the case of a target lib,
15446 # we must compare to with_cross_host to decide if this is a native
15447 # or cross-compiler and select where to install dlls appropriately.
15448 if test -n "$with_cross_host" &&
15449 test x"$with_cross_host" != x"no"; then
15450 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
15451 else
15452 lt_host_flags='-no-undefined -bindir "$(bindir)"';
15456 lt_host_flags=
15458 esac
15465 if test "$enable_vtable_verify" = yes; then
15466 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15467 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15471 # libtool variables for C++ shared and position-independent compiles.
15473 # Use glibcxx_lt_pic_flag to designate the automake variable
15474 # used to encapsulate the default libtool approach to creating objects
15475 # with position-independent code. Default: -prefer-pic.
15477 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15478 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15480 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15481 # creating position-independent objects. This varies with the target
15482 # hardware and operating system, but is often: -DPIC -fPIC.
15483 if test "$enable_shared" = yes; then
15484 glibcxx_lt_pic_flag="-prefer-pic"
15485 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15486 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15488 else
15489 glibcxx_lt_pic_flag=
15490 glibcxx_compiler_pic_flag=
15491 glibcxx_compiler_shared_flag=
15497 # Override the libtool's pic_flag and pic_mode.
15498 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15499 # NB: this impacts --with-pic and --without-pic.
15500 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15501 pic_mode='default'
15503 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15504 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15506 # Possibly disable most of the library.
15507 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15508 ## than just ignoring the results. Faster /and/ more correct, win win.
15510 # Check whether --enable-hosted-libstdcxx was given.
15511 if test "${enable_hosted_libstdcxx+set}" = set; then :
15512 enableval=$enable_hosted_libstdcxx;
15513 else
15514 case "$host" in
15515 arm*-*-symbianelf*)
15516 enable_hosted_libstdcxx=no
15519 enable_hosted_libstdcxx=yes
15521 esac
15524 if test "$enable_hosted_libstdcxx" = no; then
15525 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15526 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15527 is_hosted=no
15528 hosted_define=0
15529 enable_abi_check=no
15530 enable_libstdcxx_pch=no
15531 else
15532 is_hosted=yes
15533 hosted_define=1
15537 cat >>confdefs.h <<_ACEOF
15538 #define _GLIBCXX_HOSTED $hosted_define
15539 _ACEOF
15543 # Enable descriptive messages to standard output on termination.
15545 # Check whether --enable-libstdcxx-verbose was given.
15546 if test "${enable_libstdcxx_verbose+set}" = set; then :
15547 enableval=$enable_libstdcxx_verbose;
15548 else
15549 enable_libstdcxx_verbose=yes
15552 if test x"$enable_libstdcxx_verbose" = xyes; then
15553 verbose_define=1
15554 else
15555 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15556 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15557 verbose_define=0
15560 cat >>confdefs.h <<_ACEOF
15561 #define _GLIBCXX_VERBOSE $verbose_define
15562 _ACEOF
15566 # Enable compiler support that doesn't require linking.
15568 # Check whether --enable-libstdcxx-pch was given.
15569 if test "${enable_libstdcxx_pch+set}" = set; then :
15570 enableval=$enable_libstdcxx_pch;
15571 case "$enableval" in
15572 yes|no) ;;
15573 *) as_fn_error $? "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15574 esac
15576 else
15577 enable_libstdcxx_pch=$is_hosted
15581 if test $enable_libstdcxx_pch = yes; then
15582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15583 $as_echo_n "checking for compiler with PCH support... " >&6; }
15584 if ${glibcxx_cv_prog_CXX_pch+:} false; then :
15585 $as_echo_n "(cached) " >&6
15586 else
15587 ac_save_CXXFLAGS="$CXXFLAGS"
15588 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15590 ac_ext=cpp
15591 ac_cpp='$CXXCPP $CPPFLAGS'
15592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15596 echo '#include <math.h>' > conftest.h
15597 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15598 -o conftest.h.gch 1>&5 2>&1 &&
15599 echo '#error "pch failed"' > conftest.h &&
15600 echo '#include "conftest.h"' > conftest.cc &&
15601 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15602 then
15603 glibcxx_cv_prog_CXX_pch=yes
15604 else
15605 glibcxx_cv_prog_CXX_pch=no
15607 rm -f conftest*
15608 CXXFLAGS=$ac_save_CXXFLAGS
15609 ac_ext=c
15610 ac_cpp='$CPP $CPPFLAGS'
15611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15618 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15619 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15623 $as_echo_n "checking for enabled PCH... " >&6; }
15624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15625 $as_echo "$enable_libstdcxx_pch" >&6; }
15628 if test $enable_libstdcxx_pch = yes; then
15629 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15630 else
15631 glibcxx_PCHFLAGS=""
15636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15637 $as_echo_n "checking for thread model used by GCC... " >&6; }
15638 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15640 $as_echo "$target_thread_file" >&6; }
15642 case $target_thread_file in
15643 aix) thread_header=config/rs6000/gthr-aix.h ;;
15644 dce) thread_header=config/pa/gthr-dce.h ;;
15645 gcn) thread_header=config/gcn/gthr-gcn.h ;;
15646 lynx) thread_header=config/gthr-lynx.h ;;
15647 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15648 posix) thread_header=gthr-posix.h ;;
15649 rtems) thread_header=config/gthr-rtems.h ;;
15650 single) thread_header=gthr-single.h ;;
15651 tpf) thread_header=config/s390/gthr-tpf.h ;;
15652 vxworks) thread_header=config/gthr-vxworks.h ;;
15653 win32) thread_header=config/i386/gthr-win32.h ;;
15654 esac
15660 ac_ext=cpp
15661 ac_cpp='$CXXCPP $CPPFLAGS'
15662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15666 old_CXXFLAGS="$CXXFLAGS"
15668 # Do link tests if possible, instead asm tests, limited to some platforms
15669 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15670 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15671 atomic_builtins_link_tests=no
15672 if test x$gcc_no_link != xyes; then
15673 # Can do link tests. Limit to some tested platforms
15674 case "$host" in
15675 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15676 atomic_builtins_link_tests=yes
15678 esac
15681 if test x$atomic_builtins_link_tests = xyes; then
15683 # Do link tests.
15685 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15688 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15689 if ${glibcxx_cv_atomic_bool+:} false; then :
15690 $as_echo_n "(cached) " >&6
15691 else
15693 if test x$gcc_no_link = xyes; then
15694 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15697 /* end confdefs.h. */
15700 main ()
15702 typedef bool atomic_type;
15703 atomic_type c1;
15704 atomic_type c2;
15705 atomic_type c3(0);
15706 // N.B. __atomic_fetch_add is not supported for bool.
15707 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15708 __ATOMIC_RELAXED);
15709 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15710 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15713 return 0;
15715 _ACEOF
15716 if ac_fn_cxx_try_link "$LINENO"; then :
15717 glibcxx_cv_atomic_bool=yes
15718 else
15719 glibcxx_cv_atomic_bool=no
15721 rm -f core conftest.err conftest.$ac_objext \
15722 conftest$ac_exeext conftest.$ac_ext
15726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15727 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15730 $as_echo_n "checking for atomic builtins for short... " >&6; }
15731 if ${glibcxx_cv_atomic_short+:} false; then :
15732 $as_echo_n "(cached) " >&6
15733 else
15735 if test x$gcc_no_link = xyes; then
15736 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15739 /* end confdefs.h. */
15742 main ()
15744 typedef short atomic_type;
15745 atomic_type c1;
15746 atomic_type c2;
15747 atomic_type c3(0);
15748 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15749 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15750 __ATOMIC_RELAXED);
15751 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15752 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15755 return 0;
15757 _ACEOF
15758 if ac_fn_cxx_try_link "$LINENO"; then :
15759 glibcxx_cv_atomic_short=yes
15760 else
15761 glibcxx_cv_atomic_short=no
15763 rm -f core conftest.err conftest.$ac_objext \
15764 conftest$ac_exeext conftest.$ac_ext
15768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15769 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15772 $as_echo_n "checking for atomic builtins for int... " >&6; }
15773 if ${glibcxx_cv_atomic_int+:} false; then :
15774 $as_echo_n "(cached) " >&6
15775 else
15777 if test x$gcc_no_link = xyes; then
15778 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15781 /* end confdefs.h. */
15784 main ()
15786 typedef int atomic_type;
15787 atomic_type c1;
15788 atomic_type c2;
15789 atomic_type c3(0);
15790 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15791 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15792 __ATOMIC_RELAXED);
15793 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15794 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15797 return 0;
15799 _ACEOF
15800 if ac_fn_cxx_try_link "$LINENO"; then :
15801 glibcxx_cv_atomic_int=yes
15802 else
15803 glibcxx_cv_atomic_int=no
15805 rm -f core conftest.err conftest.$ac_objext \
15806 conftest$ac_exeext conftest.$ac_ext
15810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15811 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15814 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15815 if ${glibcxx_cv_atomic_long_long+:} false; then :
15816 $as_echo_n "(cached) " >&6
15817 else
15819 if test x$gcc_no_link = xyes; then
15820 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15823 /* end confdefs.h. */
15826 main ()
15828 typedef long long atomic_type;
15829 atomic_type c1;
15830 atomic_type c2;
15831 atomic_type c3(0);
15832 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15833 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15834 __ATOMIC_RELAXED);
15835 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15836 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15839 return 0;
15841 _ACEOF
15842 if ac_fn_cxx_try_link "$LINENO"; then :
15843 glibcxx_cv_atomic_long_long=yes
15844 else
15845 glibcxx_cv_atomic_long_long=no
15847 rm -f core conftest.err conftest.$ac_objext \
15848 conftest$ac_exeext conftest.$ac_ext
15852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15853 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15855 else
15857 # Do asm tests.
15859 # Compile unoptimized.
15860 CXXFLAGS='-O0 -S'
15862 # Fake what AC_TRY_COMPILE does.
15864 cat > conftest.$ac_ext << EOF
15865 #line 15865 "configure"
15866 int main()
15868 typedef bool atomic_type;
15869 atomic_type c1;
15870 atomic_type c2;
15871 atomic_type c3(0);
15872 // N.B. __atomic_fetch_add is not supported for bool.
15873 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15874 __ATOMIC_RELAXED);
15875 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15876 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15878 return 0;
15882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15883 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15884 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15885 (eval $ac_compile) 2>&5
15886 ac_status=$?
15887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15888 test $ac_status = 0; }; then
15889 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15890 glibcxx_cv_atomic_bool=no
15891 else
15892 glibcxx_cv_atomic_bool=yes
15895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15896 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15897 rm -f conftest*
15899 cat > conftest.$ac_ext << EOF
15900 #line 15900 "configure"
15901 int main()
15903 typedef short atomic_type;
15904 atomic_type c1;
15905 atomic_type c2;
15906 atomic_type c3(0);
15907 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15908 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15909 __ATOMIC_RELAXED);
15910 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15911 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15913 return 0;
15917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15918 $as_echo_n "checking for atomic builtins for short... " >&6; }
15919 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15920 (eval $ac_compile) 2>&5
15921 ac_status=$?
15922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15923 test $ac_status = 0; }; then
15924 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15925 glibcxx_cv_atomic_short=no
15926 else
15927 glibcxx_cv_atomic_short=yes
15930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15931 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15932 rm -f conftest*
15934 cat > conftest.$ac_ext << EOF
15935 #line 15935 "configure"
15936 int main()
15938 // NB: _Atomic_word not necessarily int.
15939 typedef int atomic_type;
15940 atomic_type c1;
15941 atomic_type c2;
15942 atomic_type c3(0);
15943 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15944 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15945 __ATOMIC_RELAXED);
15946 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15947 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15949 return 0;
15953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15954 $as_echo_n "checking for atomic builtins for int... " >&6; }
15955 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15956 (eval $ac_compile) 2>&5
15957 ac_status=$?
15958 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15959 test $ac_status = 0; }; then
15960 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15961 glibcxx_cv_atomic_int=no
15962 else
15963 glibcxx_cv_atomic_int=yes
15966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15967 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15968 rm -f conftest*
15970 cat > conftest.$ac_ext << EOF
15971 #line 15971 "configure"
15972 int main()
15974 typedef long long atomic_type;
15975 atomic_type c1;
15976 atomic_type c2;
15977 atomic_type c3(0);
15978 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15979 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15980 __ATOMIC_RELAXED);
15981 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15982 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15984 return 0;
15988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15989 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15990 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15991 (eval $ac_compile) 2>&5
15992 ac_status=$?
15993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15994 test $ac_status = 0; }; then
15995 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15996 glibcxx_cv_atomic_long_long=no
15997 else
15998 glibcxx_cv_atomic_long_long=yes
16001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
16002 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
16003 rm -f conftest*
16007 CXXFLAGS="$old_CXXFLAGS"
16008 ac_ext=c
16009 ac_cpp='$CPP $CPPFLAGS'
16010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16015 # Set atomicity_dir to builtins if all but the long long test above passes,
16016 # or if the builtins were already chosen (e.g. by configure.host).
16017 if { test "$glibcxx_cv_atomic_bool" = yes \
16018 && test "$glibcxx_cv_atomic_short" = yes \
16019 && test "$glibcxx_cv_atomic_int" = yes; } \
16020 || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
16022 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
16024 atomicity_dir=cpu/generic/atomicity_builtins
16027 # If still generic, set to mutex.
16028 if test $atomicity_dir = "cpu/generic" ; then
16029 atomicity_dir=cpu/generic/atomicity_mutex
16030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
16031 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
16032 if test "x$target_thread_file" = xsingle; then
16033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
16034 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
16035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
16036 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
16037 else
16038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
16039 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
16040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
16041 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
16049 # Check whether --with-libstdcxx-lock-policy was given.
16050 if test "${with_libstdcxx_lock_policy+set}" = set; then :
16051 withval=$with_libstdcxx_lock_policy; libstdcxx_atomic_lock_policy=$withval
16052 else
16053 libstdcxx_atomic_lock_policy=auto
16057 case "$libstdcxx_atomic_lock_policy" in
16058 atomic|mutex|auto) ;;
16059 *) as_fn_error $? "Invalid argument for --with-libstdcxx-lock-policy" "$LINENO" 5 ;;
16060 esac
16061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lock policy for shared_ptr reference counts" >&5
16062 $as_echo_n "checking for lock policy for shared_ptr reference counts... " >&6; }
16064 if test x"$libstdcxx_atomic_lock_policy" = x"auto"; then
16066 ac_ext=cpp
16067 ac_cpp='$CXXCPP $CPPFLAGS'
16068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16072 ac_save_CXXFLAGS="$CXXFLAGS"
16074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16075 /* end confdefs.h. */
16077 #if ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
16078 # error "No 2-byte compare-and-swap"
16079 #elif ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
16080 # error "No 4-byte compare-and-swap"
16081 #endif
16084 main ()
16088 return 0;
16090 _ACEOF
16091 if ac_fn_cxx_try_compile "$LINENO"; then :
16092 libstdcxx_atomic_lock_policy=atomic
16093 else
16094 libstdcxx_atomic_lock_policy=mutex
16096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16097 ac_ext=c
16098 ac_cpp='$CPP $CPPFLAGS'
16099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16103 CXXFLAGS="$ac_save_CXXFLAGS"
16106 if test x"$libstdcxx_atomic_lock_policy" = x"atomic"; then
16107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: atomic" >&5
16108 $as_echo "atomic" >&6; }
16110 $as_echo "#define HAVE_ATOMIC_LOCK_POLICY 1" >>confdefs.h
16112 else
16113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mutex" >&5
16114 $as_echo "mutex" >&6; }
16120 # Fake what AC_TRY_COMPILE does, without linking as this is
16121 # unnecessary for this test.
16123 cat > conftest.$ac_ext << EOF
16124 #line 16124 "configure"
16125 int main()
16127 _Decimal32 d1;
16128 _Decimal64 d2;
16129 _Decimal128 d3;
16130 return 0;
16134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
16135 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
16136 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16137 (eval $ac_compile) 2>&5
16138 ac_status=$?
16139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16140 test $ac_status = 0; }; then
16142 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
16144 enable_dfp=yes
16145 else
16146 enable_dfp=no
16148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
16149 $as_echo "$enable_dfp" >&6; }
16150 rm -f conftest*
16155 ac_ext=cpp
16156 ac_cpp='$CXXCPP $CPPFLAGS'
16157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16162 # Fake what AC_TRY_COMPILE does, without linking as this is
16163 # unnecessary for this test.
16165 cat > conftest.$ac_ext << EOF
16166 #line 16166 "configure"
16167 template<typename T1, typename T2>
16168 struct same
16169 { typedef T2 type; };
16171 template<typename T>
16172 struct same<T, T>;
16174 int main()
16176 typename same<long, __int128>::type i1;
16177 typename same<long long, __int128>::type i2;
16181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
16182 $as_echo_n "checking for __int128... " >&6; }
16183 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16184 (eval $ac_compile) 2>&5
16185 ac_status=$?
16186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16187 test $ac_status = 0; }; then
16189 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
16191 enable_int128=yes
16192 else
16193 enable_int128=no
16195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
16196 $as_echo "$enable_int128" >&6; }
16197 rm -f conftest*
16199 cat > conftest.$ac_ext << EOF
16200 #line 16200 "configure"
16201 template<typename T1, typename T2>
16202 struct same
16203 { typedef T2 type; };
16205 template<typename T>
16206 struct same<T, T>;
16208 int main()
16210 typename same<double, __float128>::type f1;
16211 typename same<long double, __float128>::type f2;
16215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
16216 $as_echo_n "checking for __float128... " >&6; }
16217 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16218 (eval $ac_compile) 2>&5
16219 ac_status=$?
16220 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16221 test $ac_status = 0; }; then
16222 enable_float128=yes
16223 else
16224 enable_float128=no
16226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
16227 $as_echo "$enable_float128" >&6; }
16229 rm -f conftest*
16231 ac_ext=c
16232 ac_cpp='$CPP $CPPFLAGS'
16233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16238 if test "$enable_float128" = yes; then
16239 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
16242 # Checks for compiler support that doesn't require linking.
16244 # All these tests are for C++; save the language and the compiler flags.
16245 # The CXXFLAGS thing is suspicious, but based on similar bits previously
16246 # found in GLIBCXX_CONFIGURE.
16248 ac_ext=cpp
16249 ac_cpp='$CXXCPP $CPPFLAGS'
16250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16254 ac_test_CXXFLAGS="${CXXFLAGS+set}"
16255 ac_save_CXXFLAGS="$CXXFLAGS"
16257 # Check for -ffunction-sections -fdata-sections
16258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
16259 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
16260 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
16261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16262 /* end confdefs.h. */
16263 int foo; void bar() { };
16265 main ()
16269 return 0;
16271 _ACEOF
16272 if ac_fn_cxx_try_compile "$LINENO"; then :
16273 ac_fdsections=yes
16274 else
16275 ac_fdsections=no
16277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16278 if test "$ac_test_CXXFLAGS" = set; then
16279 CXXFLAGS="$ac_save_CXXFLAGS"
16280 else
16281 # this is the suspicious part
16282 CXXFLAGS=''
16284 if test x"$ac_fdsections" = x"yes"; then
16285 SECTION_FLAGS='-ffunction-sections -fdata-sections'
16287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
16288 $as_echo "$ac_fdsections" >&6; }
16290 ac_ext=c
16291 ac_cpp='$CPP $CPPFLAGS'
16292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16299 # Enable all the variable C++ runtime options that don't require linking.
16301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
16302 $as_echo_n "checking for underlying I/O to use... " >&6; }
16303 # Check whether --enable-cstdio was given.
16304 if test "${enable_cstdio+set}" = set; then :
16305 enableval=$enable_cstdio;
16306 case "$enableval" in
16307 stdio) ;;
16308 *) as_fn_error $? "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
16309 esac
16311 else
16312 enable_cstdio=stdio
16317 # Now that libio has been removed, you can have any color you want as long
16318 # as it's black. This is one big no-op until other packages are added, but
16319 # showing the framework never hurts.
16320 case ${enable_cstdio} in
16321 stdio)
16322 CSTDIO_H=config/io/c_io_stdio.h
16323 BASIC_FILE_H=config/io/basic_file_stdio.h
16324 BASIC_FILE_CC=config/io/basic_file_stdio.cc
16325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
16326 $as_echo "stdio" >&6; }
16328 esac
16335 # Check whether --enable-clocale was given.
16336 if test "${enable_clocale+set}" = set; then :
16337 enableval=$enable_clocale;
16338 case "$enableval" in
16339 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
16340 *) as_fn_error $? "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
16341 esac
16343 else
16344 enable_clocale=auto
16349 # Deal with gettext issues. Default to not using it (=no) until we detect
16350 # support for it later. Let the user turn it off via --e/d, but let that
16351 # default to on for easier handling.
16352 USE_NLS=no
16353 # Check whether --enable-nls was given.
16354 if test "${enable_nls+set}" = set; then :
16355 enableval=$enable_nls;
16356 else
16357 enable_nls=yes
16361 # Either a known package, or "auto"
16362 if test $enable_clocale = no || test $enable_clocale = yes; then
16363 enable_clocale=auto
16365 enable_clocale_flag=$enable_clocale
16367 # Probe for locale model to use if none specified.
16368 # Default to "generic".
16369 if test $enable_clocale_flag = auto; then
16370 case ${target_os} in
16371 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16372 enable_clocale_flag=gnu
16374 darwin*)
16375 enable_clocale_flag=darwin
16377 dragonfly* | freebsd*)
16378 enable_clocale_flag=dragonfly
16380 openbsd*)
16381 enable_clocale_flag=newlib
16384 if test x"$with_newlib" = x"yes"; then
16385 enable_clocale_flag=newlib
16386 else
16387 enable_clocale_flag=generic
16390 esac
16393 # Sanity check model, and test for special functionality.
16394 if test $enable_clocale_flag = gnu; then
16395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16396 /* end confdefs.h. */
16398 #include <features.h>
16399 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
16400 _GLIBCXX_ok
16401 #endif
16403 _ACEOF
16404 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16405 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
16406 enable_clocale_flag=gnu
16407 else
16408 enable_clocale_flag=generic
16410 rm -f conftest*
16413 # Set it to scream when it hurts.
16414 ac_save_CFLAGS="$CFLAGS"
16415 CFLAGS="-Wimplicit-function-declaration -Werror"
16417 # Use strxfrm_l if available.
16418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16419 /* end confdefs.h. */
16420 #define _GNU_SOURCE 1
16421 #include <string.h>
16422 #include <locale.h>
16424 main ()
16426 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
16428 return 0;
16430 _ACEOF
16431 if ac_fn_c_try_compile "$LINENO"; then :
16433 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
16436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16438 # Use strerror_l if available.
16439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16440 /* end confdefs.h. */
16441 #define _GNU_SOURCE 1
16442 #include <string.h>
16443 #include <locale.h>
16445 main ()
16447 __locale_t loc; strerror_l(5, loc);
16449 return 0;
16451 _ACEOF
16452 if ac_fn_c_try_compile "$LINENO"; then :
16454 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
16457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16459 CFLAGS="$ac_save_CFLAGS"
16462 # Perhaps use strerror_r if available, and strerror_l isn't.
16463 ac_save_CFLAGS="$CFLAGS"
16464 CFLAGS="-Wimplicit-function-declaration -Werror"
16465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16466 /* end confdefs.h. */
16467 #define _GNU_SOURCE 1
16468 #include <string.h>
16469 #include <locale.h>
16471 main ()
16473 char s[128]; strerror_r(5, s, 128);
16475 return 0;
16477 _ACEOF
16478 if ac_fn_c_try_compile "$LINENO"; then :
16480 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16484 CFLAGS="$ac_save_CFLAGS"
16486 # Set configure bits for specified locale package
16487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
16488 $as_echo_n "checking for C locale to use... " >&6; }
16489 case ${enable_clocale_flag} in
16490 generic)
16491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
16492 $as_echo "generic" >&6; }
16494 CLOCALE_H=config/locale/generic/c_locale.h
16495 CLOCALE_CC=config/locale/generic/c_locale.cc
16496 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16497 CCOLLATE_CC=config/locale/generic/collate_members.cc
16498 CCTYPE_CC=config/locale/generic/ctype_members.cc
16499 CMESSAGES_H=config/locale/generic/messages_members.h
16500 CMESSAGES_CC=config/locale/generic/messages_members.cc
16501 CMONEY_CC=config/locale/generic/monetary_members.cc
16502 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16503 CTIME_H=config/locale/generic/time_members.h
16504 CTIME_CC=config/locale/generic/time_members.cc
16505 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16507 darwin)
16508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
16509 $as_echo "darwin" >&6; }
16511 CLOCALE_H=config/locale/generic/c_locale.h
16512 CLOCALE_CC=config/locale/generic/c_locale.cc
16513 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16514 CCOLLATE_CC=config/locale/generic/collate_members.cc
16515 CCTYPE_CC=config/locale/darwin/ctype_members.cc
16516 CMESSAGES_H=config/locale/generic/messages_members.h
16517 CMESSAGES_CC=config/locale/generic/messages_members.cc
16518 CMONEY_CC=config/locale/generic/monetary_members.cc
16519 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16520 CTIME_H=config/locale/generic/time_members.h
16521 CTIME_CC=config/locale/generic/time_members.cc
16522 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16525 dragonfly)
16526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
16527 $as_echo "dragonfly or freebsd" >&6; }
16529 CLOCALE_H=config/locale/dragonfly/c_locale.h
16530 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16531 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16532 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16533 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16534 CMESSAGES_H=config/locale/generic/messages_members.h
16535 CMESSAGES_CC=config/locale/generic/messages_members.cc
16536 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16537 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16538 CTIME_H=config/locale/dragonfly/time_members.h
16539 CTIME_CC=config/locale/dragonfly/time_members.cc
16540 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16543 gnu)
16544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16545 $as_echo "gnu" >&6; }
16547 # Declare intention to use gettext, and add support for specific
16548 # languages.
16549 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16550 ALL_LINGUAS="de fr"
16552 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16553 # Extract the first word of "msgfmt", so it can be a program name with args.
16554 set dummy msgfmt; ac_word=$2
16555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16556 $as_echo_n "checking for $ac_word... " >&6; }
16557 if ${ac_cv_prog_check_msgfmt+:} false; then :
16558 $as_echo_n "(cached) " >&6
16559 else
16560 if test -n "$check_msgfmt"; then
16561 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16562 else
16563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16564 for as_dir in $PATH
16566 IFS=$as_save_IFS
16567 test -z "$as_dir" && as_dir=.
16568 for ac_exec_ext in '' $ac_executable_extensions; do
16569 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16570 ac_cv_prog_check_msgfmt="yes"
16571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16572 break 2
16574 done
16575 done
16576 IFS=$as_save_IFS
16578 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16581 check_msgfmt=$ac_cv_prog_check_msgfmt
16582 if test -n "$check_msgfmt"; then
16583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16584 $as_echo "$check_msgfmt" >&6; }
16585 else
16586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16587 $as_echo "no" >&6; }
16591 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16592 USE_NLS=yes
16594 # Export the build objects.
16595 for ling in $ALL_LINGUAS; do \
16596 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16597 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16598 done
16602 CLOCALE_H=config/locale/gnu/c_locale.h
16603 CLOCALE_CC=config/locale/gnu/c_locale.cc
16604 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16605 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16606 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16607 CMESSAGES_H=config/locale/gnu/messages_members.h
16608 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16609 CMONEY_CC=config/locale/gnu/monetary_members.cc
16610 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16611 CTIME_H=config/locale/gnu/time_members.h
16612 CTIME_CC=config/locale/gnu/time_members.cc
16613 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16615 ieee_1003.1-2001)
16616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16617 $as_echo "IEEE 1003.1" >&6; }
16619 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16620 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16621 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16622 CCOLLATE_CC=config/locale/generic/collate_members.cc
16623 CCTYPE_CC=config/locale/generic/ctype_members.cc
16624 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16625 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16626 CMONEY_CC=config/locale/generic/monetary_members.cc
16627 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16628 CTIME_H=config/locale/generic/time_members.h
16629 CTIME_CC=config/locale/generic/time_members.cc
16630 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16632 newlib)
16633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16634 $as_echo "newlib" >&6; }
16636 CLOCALE_H=config/locale/generic/c_locale.h
16637 CLOCALE_CC=config/locale/generic/c_locale.cc
16638 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16639 CCOLLATE_CC=config/locale/generic/collate_members.cc
16640 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16641 CMESSAGES_H=config/locale/generic/messages_members.h
16642 CMESSAGES_CC=config/locale/generic/messages_members.cc
16643 CMONEY_CC=config/locale/generic/monetary_members.cc
16644 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16645 CTIME_H=config/locale/generic/time_members.h
16646 CTIME_CC=config/locale/generic/time_members.cc
16647 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16649 esac
16651 # This is where the testsuite looks for locale catalogs, using the
16652 # -DLOCALEDIR define during testsuite compilation.
16653 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16656 # A standalone libintl (e.g., GNU libintl) may be in use.
16657 if test $USE_NLS = yes; then
16658 for ac_header in libintl.h
16659 do :
16660 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16661 if test "x$ac_cv_header_libintl_h" = xyes; then :
16662 cat >>confdefs.h <<_ACEOF
16663 #define HAVE_LIBINTL_H 1
16664 _ACEOF
16666 else
16667 USE_NLS=no
16670 done
16672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16673 $as_echo_n "checking for library containing gettext... " >&6; }
16674 if ${ac_cv_search_gettext+:} false; then :
16675 $as_echo_n "(cached) " >&6
16676 else
16677 ac_func_search_save_LIBS=$LIBS
16678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16679 /* end confdefs.h. */
16681 /* Override any GCC internal prototype to avoid an error.
16682 Use char because int might match the return type of a GCC
16683 builtin and then its argument prototype would still apply. */
16684 #ifdef __cplusplus
16685 extern "C"
16686 #endif
16687 char gettext ();
16689 main ()
16691 return gettext ();
16693 return 0;
16695 _ACEOF
16696 for ac_lib in '' intl; do
16697 if test -z "$ac_lib"; then
16698 ac_res="none required"
16699 else
16700 ac_res=-l$ac_lib
16701 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16703 if test x$gcc_no_link = xyes; then
16704 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16706 if ac_fn_c_try_link "$LINENO"; then :
16707 ac_cv_search_gettext=$ac_res
16709 rm -f core conftest.err conftest.$ac_objext \
16710 conftest$ac_exeext
16711 if ${ac_cv_search_gettext+:} false; then :
16712 break
16714 done
16715 if ${ac_cv_search_gettext+:} false; then :
16717 else
16718 ac_cv_search_gettext=no
16720 rm conftest.$ac_ext
16721 LIBS=$ac_func_search_save_LIBS
16723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16724 $as_echo "$ac_cv_search_gettext" >&6; }
16725 ac_res=$ac_cv_search_gettext
16726 if test "$ac_res" != no; then :
16727 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16729 else
16730 USE_NLS=no
16734 if test $USE_NLS = yes; then
16736 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16756 $as_echo_n "checking for std::allocator base class... " >&6; }
16757 # Check whether --enable-libstdcxx-allocator was given.
16758 if test "${enable_libstdcxx_allocator+set}" = set; then :
16759 enableval=$enable_libstdcxx_allocator;
16760 case "$enableval" in
16761 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16762 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16763 esac
16765 else
16766 enable_libstdcxx_allocator=auto
16771 # If they didn't use this option switch, or if they specified --enable
16772 # with no specific model, we'll have to look for one. If they
16773 # specified --disable (???), do likewise.
16774 if test $enable_libstdcxx_allocator = no ||
16775 test $enable_libstdcxx_allocator = yes;
16776 then
16777 enable_libstdcxx_allocator=auto
16780 # Either a known package, or "auto". Auto implies the default choice
16781 # for a particular platform.
16782 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16784 # Probe for host-specific support if no specific model is specified.
16785 # Default to "new".
16786 if test $enable_libstdcxx_allocator_flag = auto; then
16787 case ${target_os} in
16788 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16789 enable_libstdcxx_allocator_flag=new
16792 enable_libstdcxx_allocator_flag=new
16794 esac
16796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16797 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16800 # Set configure bits for specified locale package
16801 case ${enable_libstdcxx_allocator_flag} in
16802 bitmap)
16803 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16804 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16806 malloc)
16807 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16808 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16811 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16812 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16814 new)
16815 ALLOCATOR_H=config/allocator/new_allocator_base.h
16816 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16818 pool)
16819 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16820 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16822 esac
16829 # Check whether --enable-cheaders-obsolete was given.
16830 if test "${enable_cheaders_obsolete+set}" = set; then :
16831 enableval=$enable_cheaders_obsolete;
16832 case "$enableval" in
16833 yes|no) ;;
16834 *) as_fn_error $? "Argument to enable/disable cheaders-obsolete must be yes or no" "$LINENO" 5 ;;
16835 esac
16837 else
16838 enable_cheaders_obsolete=no
16842 # Check whether --enable-cheaders was given.
16843 if test "${enable_cheaders+set}" = set; then :
16844 enableval=$enable_cheaders;
16845 case "$enableval" in
16846 c|c_global|c_std) ;;
16847 *) as_fn_error $? "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16848 esac
16850 else
16851 enable_cheaders=$c_model
16855 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16856 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16857 if test $enable_cheaders = c_std ; then
16858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: the --enable-cheaders=c_std configuration is obsolete, c_global should be used instead" >&5
16859 $as_echo "$as_me: WARNING: the --enable-cheaders=c_std configuration is obsolete, c_global should be used instead" >&2;}
16860 { $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
16861 $as_echo "$as_me: WARNING: if you are unable to use c_global please report a bug or inform libstdc++@gcc.gnu.org" >&2;}
16862 if test $enable_cheaders_obsolete != yes ; then
16863 as_fn_error $? "use --enable-cheaders-obsolete to use c_std \"C\" headers" "$LINENO" 5
16867 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16869 # Allow overrides to configure.host here.
16870 if test $enable_cheaders = c_global; then
16871 c_compatibility=yes
16880 # Check whether --enable-long-long was given.
16881 if test "${enable_long_long+set}" = set; then :
16882 enableval=$enable_long_long;
16883 case "$enableval" in
16884 yes|no) ;;
16885 *) as_fn_error $? "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16886 esac
16888 else
16889 enable_long_long=yes
16893 if test $enable_long_long = yes; then
16895 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16899 $as_echo_n "checking for enabled long long specializations... " >&6; }
16900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16901 $as_echo "$enable_long_long" >&6; }
16904 # Check whether --enable-wchar_t was given.
16905 if test "${enable_wchar_t+set}" = set; then :
16906 enableval=$enable_wchar_t;
16907 case "$enableval" in
16908 yes|no) ;;
16909 *) as_fn_error $? "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16910 esac
16912 else
16913 enable_wchar_t=yes
16918 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16919 for ac_header in wchar.h
16920 do :
16921 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16922 if test "x$ac_cv_header_wchar_h" = xyes; then :
16923 cat >>confdefs.h <<_ACEOF
16924 #define HAVE_WCHAR_H 1
16925 _ACEOF
16926 ac_has_wchar_h=yes
16927 else
16928 ac_has_wchar_h=no
16931 done
16933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16934 $as_echo_n "checking for mbstate_t... " >&6; }
16935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16936 /* end confdefs.h. */
16937 #include <wchar.h>
16939 main ()
16941 mbstate_t teststate;
16943 return 0;
16945 _ACEOF
16946 if ac_fn_c_try_compile "$LINENO"; then :
16947 have_mbstate_t=yes
16948 else
16949 have_mbstate_t=no
16951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16953 $as_echo "$have_mbstate_t" >&6; }
16954 if test x"$have_mbstate_t" = xyes; then
16956 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16960 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16961 # ac_has_wchar_h.
16962 for ac_header in wctype.h
16963 do :
16964 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16965 if test "x$ac_cv_header_wctype_h" = xyes; then :
16966 cat >>confdefs.h <<_ACEOF
16967 #define HAVE_WCTYPE_H 1
16968 _ACEOF
16969 ac_has_wctype_h=yes
16970 else
16971 ac_has_wctype_h=no
16974 done
16977 if test x"$enable_wchar_t" = x"yes"; then
16980 ac_ext=cpp
16981 ac_cpp='$CXXCPP $CPPFLAGS'
16982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16987 if test x"$ac_has_wchar_h" = xyes &&
16988 test x"$ac_has_wctype_h" = xyes; then
16989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16990 /* end confdefs.h. */
16991 #include <wchar.h>
16992 #include <stddef.h>
16993 wint_t i;
16994 long l = WEOF;
16995 long j = WCHAR_MIN;
16996 long k = WCHAR_MAX;
16997 namespace test
16999 using ::btowc;
17000 using ::fgetwc;
17001 using ::fgetws;
17002 using ::fputwc;
17003 using ::fputws;
17004 using ::fwide;
17005 using ::fwprintf;
17006 using ::fwscanf;
17007 using ::getwc;
17008 using ::getwchar;
17009 using ::mbrlen;
17010 using ::mbrtowc;
17011 using ::mbsinit;
17012 using ::mbsrtowcs;
17013 using ::putwc;
17014 using ::putwchar;
17015 using ::swprintf;
17016 using ::swscanf;
17017 using ::ungetwc;
17018 using ::vfwprintf;
17019 using ::vswprintf;
17020 using ::vwprintf;
17021 using ::wcrtomb;
17022 using ::wcscat;
17023 using ::wcschr;
17024 using ::wcscmp;
17025 using ::wcscoll;
17026 using ::wcscpy;
17027 using ::wcscspn;
17028 using ::wcsftime;
17029 using ::wcslen;
17030 using ::wcsncat;
17031 using ::wcsncmp;
17032 using ::wcsncpy;
17033 using ::wcspbrk;
17034 using ::wcsrchr;
17035 using ::wcsrtombs;
17036 using ::wcsspn;
17037 using ::wcsstr;
17038 using ::wcstod;
17039 using ::wcstok;
17040 using ::wcstol;
17041 using ::wcstoul;
17042 using ::wcsxfrm;
17043 using ::wctob;
17044 using ::wmemchr;
17045 using ::wmemcmp;
17046 using ::wmemcpy;
17047 using ::wmemmove;
17048 using ::wmemset;
17049 using ::wprintf;
17050 using ::wscanf;
17054 main ()
17058 return 0;
17060 _ACEOF
17061 if ac_fn_cxx_try_compile "$LINENO"; then :
17063 else
17064 enable_wchar_t=no
17066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17067 else
17068 enable_wchar_t=no
17071 ac_ext=c
17072 ac_cpp='$CPP $CPPFLAGS'
17073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17079 if test x"$enable_wchar_t" = x"yes"; then
17081 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
17085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
17086 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
17087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
17088 $as_echo "$enable_wchar_t" >&6; }
17092 # Check whether --enable-c99 was given.
17093 if test "${enable_c99+set}" = set; then :
17094 enableval=$enable_c99;
17095 case "$enableval" in
17096 yes|no) ;;
17097 *) as_fn_error $? "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
17098 esac
17100 else
17101 enable_c99=yes
17106 if test x"$enable_c99" = x"yes"; then
17108 ac_ext=cpp
17109 ac_cpp='$CXXCPP $CPPFLAGS'
17110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17115 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
17116 # undefined may cause fake C99 facilities, like pre-standard snprintf,
17117 # to be spuriously enabled.
17118 ac_save_CXXFLAGS="$CXXFLAGS"
17119 CXXFLAGS="$CXXFLAGS -std=c++98"
17120 ac_save_LIBS="$LIBS"
17121 ac_save_gcc_no_link="$gcc_no_link"
17123 if test x$gcc_no_link != xyes; then
17124 # Use -fno-exceptions to that the C driver can link these tests without
17125 # hitting undefined references to personality routines.
17126 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17128 $as_echo_n "checking for sin in -lm... " >&6; }
17129 if ${ac_cv_lib_m_sin+:} false; then :
17130 $as_echo_n "(cached) " >&6
17131 else
17132 ac_check_lib_save_LIBS=$LIBS
17133 LIBS="-lm $LIBS"
17134 if test x$gcc_no_link = xyes; then
17135 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17138 /* end confdefs.h. */
17140 /* Override any GCC internal prototype to avoid an error.
17141 Use char because int might match the return type of a GCC
17142 builtin and then its argument prototype would still apply. */
17143 #ifdef __cplusplus
17144 extern "C"
17145 #endif
17146 char sin ();
17148 main ()
17150 return sin ();
17152 return 0;
17154 _ACEOF
17155 if ac_fn_cxx_try_link "$LINENO"; then :
17156 ac_cv_lib_m_sin=yes
17157 else
17158 ac_cv_lib_m_sin=no
17160 rm -f core conftest.err conftest.$ac_objext \
17161 conftest$ac_exeext conftest.$ac_ext
17162 LIBS=$ac_check_lib_save_LIBS
17164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17165 $as_echo "$ac_cv_lib_m_sin" >&6; }
17166 if test "x$ac_cv_lib_m_sin" = xyes; then :
17167 LIBS="$LIBS -lm"
17168 else
17170 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17171 gcc_no_link=yes
17177 # Check for the existence of <math.h> functions used if C99 is enabled.
17178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
17179 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
17180 if ${glibcxx_cv_c99_math_cxx98+:} false; then :
17181 $as_echo_n "(cached) " >&6
17182 else
17184 if test x$gcc_no_link = xyes; then
17185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17186 /* end confdefs.h. */
17187 #include <math.h>
17188 volatile double d1, d2;
17189 volatile int i;
17191 main ()
17193 i = fpclassify(d1);
17194 i = isfinite(d1);
17195 i = isinf(d1);
17196 i = isnan(d1);
17197 i = isnormal(d1);
17198 i = signbit(d1);
17199 i = isgreater(d1, d2);
17200 i = isgreaterequal(d1, d2);
17201 i = isless(d1, d2);
17202 i = islessequal(d1, d2);
17203 i = islessgreater(d1, d2);
17204 i = islessgreater(d1, d2);
17205 i = isunordered(d1, d2);
17208 return 0;
17210 _ACEOF
17211 if ac_fn_cxx_try_compile "$LINENO"; then :
17212 glibcxx_cv_c99_math_cxx98=yes
17213 else
17214 glibcxx_cv_c99_math_cxx98=no
17216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17217 else
17218 if test x$gcc_no_link = xyes; then
17219 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17222 /* end confdefs.h. */
17223 #include <math.h>
17224 volatile double d1, d2;
17225 volatile int i;
17227 main ()
17229 i = fpclassify(d1);
17230 i = isfinite(d1);
17231 i = isinf(d1);
17232 i = isnan(d1);
17233 i = isnormal(d1);
17234 i = signbit(d1);
17235 i = isgreater(d1, d2);
17236 i = isgreaterequal(d1, d2);
17237 i = isless(d1, d2);
17238 i = islessequal(d1, d2);
17239 i = islessgreater(d1, d2);
17240 i = islessgreater(d1, d2);
17241 i = isunordered(d1, d2);
17244 return 0;
17246 _ACEOF
17247 if ac_fn_cxx_try_link "$LINENO"; then :
17248 glibcxx_cv_c99_math_cxx98=yes
17249 else
17250 glibcxx_cv_c99_math_cxx98=no
17252 rm -f core conftest.err conftest.$ac_objext \
17253 conftest$ac_exeext conftest.$ac_ext
17258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
17259 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
17260 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
17262 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
17266 # Check for the existence of <complex.h> complex math functions.
17267 # This is necessary even though libstdc++ uses the builtin versions
17268 # of these functions, because if the builtin cannot be used, a reference
17269 # to the library function is emitted.
17270 for ac_header in tgmath.h
17271 do :
17272 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17273 if test "x$ac_cv_header_tgmath_h" = xyes; then :
17274 cat >>confdefs.h <<_ACEOF
17275 #define HAVE_TGMATH_H 1
17276 _ACEOF
17277 ac_has_tgmath_h=yes
17278 else
17279 ac_has_tgmath_h=no
17282 done
17284 for ac_header in complex.h
17285 do :
17286 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17287 if test "x$ac_cv_header_complex_h" = xyes; then :
17288 cat >>confdefs.h <<_ACEOF
17289 #define HAVE_COMPLEX_H 1
17290 _ACEOF
17291 ac_has_complex_h=yes
17292 else
17293 ac_has_complex_h=no
17296 done
17298 if test x"$ac_has_complex_h" = x"yes"; then
17299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
17300 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
17301 if ${glibcxx_cv_c99_complex_cxx98+:} false; then :
17302 $as_echo_n "(cached) " >&6
17303 else
17305 if test x$gcc_no_link = xyes; then
17306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17307 /* end confdefs.h. */
17308 #include <complex.h>
17309 typedef __complex__ float float_type;
17310 typedef __complex__ double double_type;
17311 typedef __complex__ long double ld_type;
17312 volatile float_type tmpf;
17313 volatile double_type tmpd;
17314 volatile ld_type tmpld;
17315 volatile float f;
17316 volatile double d;
17317 volatile long double ld;
17319 main ()
17321 f = cabsf(tmpf);
17322 f = cargf(tmpf);
17323 tmpf = ccosf(tmpf);
17324 tmpf = ccoshf(tmpf);
17325 tmpf = cexpf(tmpf);
17326 tmpf = clogf(tmpf);
17327 tmpf = csinf(tmpf);
17328 tmpf = csinhf(tmpf);
17329 tmpf = csqrtf(tmpf);
17330 tmpf = ctanf(tmpf);
17331 tmpf = ctanhf(tmpf);
17332 tmpf = cpowf(tmpf, tmpf);
17333 tmpf = cprojf(tmpf);
17334 d = cabs(tmpd);
17335 d = carg(tmpd);
17336 tmpd = ccos(tmpd);
17337 tmpd = ccosh(tmpd);
17338 tmpd = cexp(tmpd);
17339 tmpd = clog(tmpd);
17340 tmpd = csin(tmpd);
17341 tmpd = csinh(tmpd);
17342 tmpd = csqrt(tmpd);
17343 tmpd = ctan(tmpd);
17344 tmpd = ctanh(tmpd);
17345 tmpd = cpow(tmpd, tmpd);
17346 tmpd = cproj(tmpd);
17347 ld = cabsl(tmpld);
17348 ld = cargl(tmpld);
17349 tmpld = ccosl(tmpld);
17350 tmpld = ccoshl(tmpld);
17351 tmpld = cexpl(tmpld);
17352 tmpld = clogl(tmpld);
17353 tmpld = csinl(tmpld);
17354 tmpld = csinhl(tmpld);
17355 tmpld = csqrtl(tmpld);
17356 tmpld = ctanl(tmpld);
17357 tmpld = ctanhl(tmpld);
17358 tmpld = cpowl(tmpld, tmpld);
17359 tmpld = cprojl(tmpld);
17362 return 0;
17364 _ACEOF
17365 if ac_fn_cxx_try_compile "$LINENO"; then :
17366 glibcxx_cv_c99_complex_cxx98=yes
17367 else
17368 glibcxx_cv_c99_complex_cxx98=no
17370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17371 else
17372 if test x$gcc_no_link = xyes; then
17373 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17376 /* end confdefs.h. */
17377 #include <complex.h>
17378 typedef __complex__ float float_type;
17379 typedef __complex__ double double_type;
17380 typedef __complex__ long double ld_type;
17381 volatile float_type tmpf;
17382 volatile double_type tmpd;
17383 volatile ld_type tmpld;
17384 volatile float f;
17385 volatile double d;
17386 volatile long double ld;
17388 main ()
17390 f = cabsf(tmpf);
17391 f = cargf(tmpf);
17392 tmpf = ccosf(tmpf);
17393 tmpf = ccoshf(tmpf);
17394 tmpf = cexpf(tmpf);
17395 tmpf = clogf(tmpf);
17396 tmpf = csinf(tmpf);
17397 tmpf = csinhf(tmpf);
17398 tmpf = csqrtf(tmpf);
17399 tmpf = ctanf(tmpf);
17400 tmpf = ctanhf(tmpf);
17401 tmpf = cpowf(tmpf, tmpf);
17402 tmpf = cprojf(tmpf);
17403 d = cabs(tmpd);
17404 d = carg(tmpd);
17405 tmpd = ccos(tmpd);
17406 tmpd = ccosh(tmpd);
17407 tmpd = cexp(tmpd);
17408 tmpd = clog(tmpd);
17409 tmpd = csin(tmpd);
17410 tmpd = csinh(tmpd);
17411 tmpd = csqrt(tmpd);
17412 tmpd = ctan(tmpd);
17413 tmpd = ctanh(tmpd);
17414 tmpd = cpow(tmpd, tmpd);
17415 tmpd = cproj(tmpd);
17416 ld = cabsl(tmpld);
17417 ld = cargl(tmpld);
17418 tmpld = ccosl(tmpld);
17419 tmpld = ccoshl(tmpld);
17420 tmpld = cexpl(tmpld);
17421 tmpld = clogl(tmpld);
17422 tmpld = csinl(tmpld);
17423 tmpld = csinhl(tmpld);
17424 tmpld = csqrtl(tmpld);
17425 tmpld = ctanl(tmpld);
17426 tmpld = ctanhl(tmpld);
17427 tmpld = cpowl(tmpld, tmpld);
17428 tmpld = cprojl(tmpld);
17431 return 0;
17433 _ACEOF
17434 if ac_fn_cxx_try_link "$LINENO"; then :
17435 glibcxx_cv_c99_complex_cxx98=yes
17436 else
17437 glibcxx_cv_c99_complex_cxx98=no
17439 rm -f core conftest.err conftest.$ac_objext \
17440 conftest$ac_exeext conftest.$ac_ext
17446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
17447 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
17448 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
17450 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
17454 # Check for the existence in <stdio.h> of vscanf, et. al.
17455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
17456 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
17457 if ${glibcxx_cv_c99_stdio_cxx98+:} false; then :
17458 $as_echo_n "(cached) " >&6
17459 else
17461 if test x$gcc_no_link = xyes; then
17462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17463 /* end confdefs.h. */
17464 #include <stdio.h>
17465 #include <stdarg.h>
17466 void foo(char* fmt, ...)
17468 va_list args; va_start(args, fmt);
17469 vfscanf(stderr, "%i", args);
17470 vscanf("%i", args);
17471 vsnprintf(fmt, 0, "%i", args);
17472 vsscanf(fmt, "%i", args);
17473 snprintf(fmt, 0, "%i");
17476 main ()
17480 return 0;
17482 _ACEOF
17483 if ac_fn_cxx_try_compile "$LINENO"; then :
17484 glibcxx_cv_c99_stdio_cxx98=yes
17485 else
17486 glibcxx_cv_c99_stdio_cxx98=no
17488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17489 else
17490 if test x$gcc_no_link = xyes; then
17491 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17494 /* end confdefs.h. */
17495 #include <stdio.h>
17496 #include <stdarg.h>
17497 void foo(char* fmt, ...)
17499 va_list args; va_start(args, fmt);
17500 vfscanf(stderr, "%i", args);
17501 vscanf("%i", args);
17502 vsnprintf(fmt, 0, "%i", args);
17503 vsscanf(fmt, "%i", args);
17504 snprintf(fmt, 0, "%i");
17507 main ()
17511 return 0;
17513 _ACEOF
17514 if ac_fn_cxx_try_link "$LINENO"; then :
17515 glibcxx_cv_c99_stdio_cxx98=yes
17516 else
17517 glibcxx_cv_c99_stdio_cxx98=no
17519 rm -f core conftest.err conftest.$ac_objext \
17520 conftest$ac_exeext conftest.$ac_ext
17525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
17526 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
17527 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
17529 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
17533 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
17535 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
17536 if ${glibcxx_cv_c99_stdlib_cxx98+:} false; then :
17537 $as_echo_n "(cached) " >&6
17538 else
17540 if test x$gcc_no_link = xyes; then
17541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17542 /* end confdefs.h. */
17543 #include <stdlib.h>
17544 volatile float f;
17545 volatile long double ld;
17546 volatile unsigned long long ll;
17547 lldiv_t mydivt;
17549 main ()
17551 char* tmp;
17552 f = strtof("gnu", &tmp);
17553 ld = strtold("gnu", &tmp);
17554 ll = strtoll("gnu", &tmp, 10);
17555 ll = strtoull("gnu", &tmp, 10);
17556 ll = llabs(10);
17557 mydivt = lldiv(10,1);
17558 ll = mydivt.quot;
17559 ll = mydivt.rem;
17560 ll = atoll("10");
17561 _Exit(0);
17564 return 0;
17566 _ACEOF
17567 if ac_fn_cxx_try_compile "$LINENO"; then :
17568 glibcxx_cv_c99_stdlib_cxx98=yes
17569 else
17570 glibcxx_cv_c99_stdlib_cxx98=no
17572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17573 else
17574 if test x$gcc_no_link = xyes; then
17575 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17578 /* end confdefs.h. */
17579 #include <stdlib.h>
17580 volatile float f;
17581 volatile long double ld;
17582 volatile unsigned long long ll;
17583 lldiv_t mydivt;
17585 main ()
17587 char* tmp;
17588 f = strtof("gnu", &tmp);
17589 ld = strtold("gnu", &tmp);
17590 ll = strtoll("gnu", &tmp, 10);
17591 ll = strtoull("gnu", &tmp, 10);
17592 ll = llabs(10);
17593 mydivt = lldiv(10,1);
17594 ll = mydivt.quot;
17595 ll = mydivt.rem;
17596 ll = atoll("10");
17597 _Exit(0);
17600 return 0;
17602 _ACEOF
17603 if ac_fn_cxx_try_link "$LINENO"; then :
17604 glibcxx_cv_c99_stdlib_cxx98=yes
17605 else
17606 glibcxx_cv_c99_stdlib_cxx98=no
17608 rm -f core conftest.err conftest.$ac_objext \
17609 conftest$ac_exeext conftest.$ac_ext
17614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17615 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17616 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17618 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17622 # Check for the existence in <wchar.h> of wcstold, etc.
17623 if test x"$ac_has_wchar_h" = xyes &&
17624 test x"$ac_has_wctype_h" = xyes; then
17625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17626 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17627 if ${glibcxx_cv_c99_wchar_cxx98+:} false; then :
17628 $as_echo_n "(cached) " >&6
17629 else
17631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17632 /* end confdefs.h. */
17633 #include <wchar.h>
17634 namespace test
17636 using ::wcstold;
17637 using ::wcstoll;
17638 using ::wcstoull;
17642 main ()
17646 return 0;
17648 _ACEOF
17649 if ac_fn_cxx_try_compile "$LINENO"; then :
17650 glibcxx_cv_c99_wchar_cxx98=yes
17651 else
17652 glibcxx_cv_c99_wchar_cxx98=no
17654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17659 # Checks for wide character functions that may not be present.
17660 # Injection of these is wrapped with guard macros.
17661 # NB: only put functions here, instead of immediately above, if
17662 # absolutely necessary.
17663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17664 /* end confdefs.h. */
17665 #include <wchar.h>
17666 namespace test { using ::vfwscanf; }
17668 main ()
17672 return 0;
17674 _ACEOF
17675 if ac_fn_cxx_try_compile "$LINENO"; then :
17677 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17683 /* end confdefs.h. */
17684 #include <wchar.h>
17685 namespace test { using ::vswscanf; }
17687 main ()
17691 return 0;
17693 _ACEOF
17694 if ac_fn_cxx_try_compile "$LINENO"; then :
17696 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17702 /* end confdefs.h. */
17703 #include <wchar.h>
17704 namespace test { using ::vwscanf; }
17706 main ()
17710 return 0;
17712 _ACEOF
17713 if ac_fn_cxx_try_compile "$LINENO"; then :
17715 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17721 /* end confdefs.h. */
17722 #include <wchar.h>
17723 namespace test { using ::wcstof; }
17725 main ()
17729 return 0;
17731 _ACEOF
17732 if ac_fn_cxx_try_compile "$LINENO"; then :
17734 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17740 /* end confdefs.h. */
17741 #include <wctype.h>
17743 main ()
17745 wint_t t; int i = iswblank(t);
17747 return 0;
17749 _ACEOF
17750 if ac_fn_cxx_try_compile "$LINENO"; then :
17752 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17758 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17759 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17761 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17766 # Option parsed, now set things appropriately.
17767 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17768 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17769 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17770 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17771 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17772 enable_c99=no;
17773 else
17775 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17779 gcc_no_link="$ac_save_gcc_no_link"
17780 LIBS="$ac_save_LIBS"
17781 CXXFLAGS="$ac_save_CXXFLAGS"
17782 ac_ext=c
17783 ac_cpp='$CPP $CPPFLAGS'
17784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17790 ac_ext=cpp
17791 ac_cpp='$CXXCPP $CPPFLAGS'
17792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17797 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17798 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17799 ac_save_CXXFLAGS="$CXXFLAGS"
17800 CXXFLAGS="$CXXFLAGS -std=c++11"
17801 ac_save_LIBS="$LIBS"
17802 ac_save_gcc_no_link="$gcc_no_link"
17804 if test x$gcc_no_link != xyes; then
17805 # Use -fno-exceptions to that the C driver can link these tests without
17806 # hitting undefined references to personality routines.
17807 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17809 $as_echo_n "checking for sin in -lm... " >&6; }
17810 if ${ac_cv_lib_m_sin+:} false; then :
17811 $as_echo_n "(cached) " >&6
17812 else
17813 ac_check_lib_save_LIBS=$LIBS
17814 LIBS="-lm $LIBS"
17815 if test x$gcc_no_link = xyes; then
17816 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17819 /* end confdefs.h. */
17821 /* Override any GCC internal prototype to avoid an error.
17822 Use char because int might match the return type of a GCC
17823 builtin and then its argument prototype would still apply. */
17824 #ifdef __cplusplus
17825 extern "C"
17826 #endif
17827 char sin ();
17829 main ()
17831 return sin ();
17833 return 0;
17835 _ACEOF
17836 if ac_fn_cxx_try_link "$LINENO"; then :
17837 ac_cv_lib_m_sin=yes
17838 else
17839 ac_cv_lib_m_sin=no
17841 rm -f core conftest.err conftest.$ac_objext \
17842 conftest$ac_exeext conftest.$ac_ext
17843 LIBS=$ac_check_lib_save_LIBS
17845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17846 $as_echo "$ac_cv_lib_m_sin" >&6; }
17847 if test "x$ac_cv_lib_m_sin" = xyes; then :
17848 LIBS="$LIBS -lm"
17849 else
17851 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17852 gcc_no_link=yes
17858 # Check for the existence of <math.h> functions used if C99 is enabled.
17859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17860 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17861 if ${glibcxx_cv_c99_math_cxx11+:} false; then :
17862 $as_echo_n "(cached) " >&6
17863 else
17865 if test x$gcc_no_link = xyes; then
17866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17867 /* end confdefs.h. */
17868 #include <math.h>
17869 volatile double d1, d2;
17870 volatile int i;
17872 main ()
17874 i = fpclassify(d1);
17875 i = isfinite(d1);
17876 i = isinf(d1);
17877 i = isnan(d1);
17878 i = isnormal(d1);
17879 i = signbit(d1);
17880 i = isgreater(d1, d2);
17881 i = isgreaterequal(d1, d2);
17882 i = isless(d1, d2);
17883 i = islessequal(d1, d2);
17884 i = islessgreater(d1, d2);
17885 i = islessgreater(d1, d2);
17886 i = isunordered(d1, d2);
17889 return 0;
17891 _ACEOF
17892 if ac_fn_cxx_try_compile "$LINENO"; then :
17893 glibcxx_cv_c99_math_cxx11=yes
17894 else
17895 glibcxx_cv_c99_math_cxx11=no
17897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17898 else
17899 if test x$gcc_no_link = xyes; then
17900 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17903 /* end confdefs.h. */
17904 #include <math.h>
17905 volatile double d1, d2;
17906 volatile int i;
17908 main ()
17910 i = fpclassify(d1);
17911 i = isfinite(d1);
17912 i = isinf(d1);
17913 i = isnan(d1);
17914 i = isnormal(d1);
17915 i = signbit(d1);
17916 i = isgreater(d1, d2);
17917 i = isgreaterequal(d1, d2);
17918 i = isless(d1, d2);
17919 i = islessequal(d1, d2);
17920 i = islessgreater(d1, d2);
17921 i = islessgreater(d1, d2);
17922 i = isunordered(d1, d2);
17925 return 0;
17927 _ACEOF
17928 if ac_fn_cxx_try_link "$LINENO"; then :
17929 glibcxx_cv_c99_math_cxx11=yes
17930 else
17931 glibcxx_cv_c99_math_cxx11=no
17933 rm -f core conftest.err conftest.$ac_objext \
17934 conftest$ac_exeext conftest.$ac_ext
17939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
17940 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
17941 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
17943 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
17947 # Check for the existence of <complex.h> complex math functions.
17948 # This is necessary even though libstdc++ uses the builtin versions
17949 # of these functions, because if the builtin cannot be used, a reference
17950 # to the library function is emitted.
17951 for ac_header in tgmath.h
17952 do :
17953 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17954 if test "x$ac_cv_header_tgmath_h" = xyes; then :
17955 cat >>confdefs.h <<_ACEOF
17956 #define HAVE_TGMATH_H 1
17957 _ACEOF
17958 ac_has_tgmath_h=yes
17959 else
17960 ac_has_tgmath_h=no
17963 done
17965 for ac_header in complex.h
17966 do :
17967 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17968 if test "x$ac_cv_header_complex_h" = xyes; then :
17969 cat >>confdefs.h <<_ACEOF
17970 #define HAVE_COMPLEX_H 1
17971 _ACEOF
17972 ac_has_complex_h=yes
17973 else
17974 ac_has_complex_h=no
17977 done
17979 if test x"$ac_has_complex_h" = x"yes"; then
17980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
17981 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
17982 if ${glibcxx_cv_c99_complex_cxx11+:} false; then :
17983 $as_echo_n "(cached) " >&6
17984 else
17986 if test x$gcc_no_link = xyes; then
17987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17988 /* end confdefs.h. */
17989 #include <complex.h>
17990 typedef __complex__ float float_type;
17991 typedef __complex__ double double_type;
17992 typedef __complex__ long double ld_type;
17993 volatile float_type tmpf;
17994 volatile double_type tmpd;
17995 volatile ld_type tmpld;
17996 volatile float f;
17997 volatile double d;
17998 volatile long double ld;
18000 main ()
18002 f = cabsf(tmpf);
18003 f = cargf(tmpf);
18004 tmpf = ccosf(tmpf);
18005 tmpf = ccoshf(tmpf);
18006 tmpf = cexpf(tmpf);
18007 tmpf = clogf(tmpf);
18008 tmpf = csinf(tmpf);
18009 tmpf = csinhf(tmpf);
18010 tmpf = csqrtf(tmpf);
18011 tmpf = ctanf(tmpf);
18012 tmpf = ctanhf(tmpf);
18013 tmpf = cpowf(tmpf, tmpf);
18014 tmpf = cprojf(tmpf);
18015 d = cabs(tmpd);
18016 d = carg(tmpd);
18017 tmpd = ccos(tmpd);
18018 tmpd = ccosh(tmpd);
18019 tmpd = cexp(tmpd);
18020 tmpd = clog(tmpd);
18021 tmpd = csin(tmpd);
18022 tmpd = csinh(tmpd);
18023 tmpd = csqrt(tmpd);
18024 tmpd = ctan(tmpd);
18025 tmpd = ctanh(tmpd);
18026 tmpd = cpow(tmpd, tmpd);
18027 tmpd = cproj(tmpd);
18028 ld = cabsl(tmpld);
18029 ld = cargl(tmpld);
18030 tmpld = ccosl(tmpld);
18031 tmpld = ccoshl(tmpld);
18032 tmpld = cexpl(tmpld);
18033 tmpld = clogl(tmpld);
18034 tmpld = csinl(tmpld);
18035 tmpld = csinhl(tmpld);
18036 tmpld = csqrtl(tmpld);
18037 tmpld = ctanl(tmpld);
18038 tmpld = ctanhl(tmpld);
18039 tmpld = cpowl(tmpld, tmpld);
18040 tmpld = cprojl(tmpld);
18043 return 0;
18045 _ACEOF
18046 if ac_fn_cxx_try_compile "$LINENO"; then :
18047 glibcxx_cv_c99_complex_cxx11=yes
18048 else
18049 glibcxx_cv_c99_complex_cxx11=no
18051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18052 else
18053 if test x$gcc_no_link = xyes; then
18054 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18057 /* end confdefs.h. */
18058 #include <complex.h>
18059 typedef __complex__ float float_type;
18060 typedef __complex__ double double_type;
18061 typedef __complex__ long double ld_type;
18062 volatile float_type tmpf;
18063 volatile double_type tmpd;
18064 volatile ld_type tmpld;
18065 volatile float f;
18066 volatile double d;
18067 volatile long double ld;
18069 main ()
18071 f = cabsf(tmpf);
18072 f = cargf(tmpf);
18073 tmpf = ccosf(tmpf);
18074 tmpf = ccoshf(tmpf);
18075 tmpf = cexpf(tmpf);
18076 tmpf = clogf(tmpf);
18077 tmpf = csinf(tmpf);
18078 tmpf = csinhf(tmpf);
18079 tmpf = csqrtf(tmpf);
18080 tmpf = ctanf(tmpf);
18081 tmpf = ctanhf(tmpf);
18082 tmpf = cpowf(tmpf, tmpf);
18083 tmpf = cprojf(tmpf);
18084 d = cabs(tmpd);
18085 d = carg(tmpd);
18086 tmpd = ccos(tmpd);
18087 tmpd = ccosh(tmpd);
18088 tmpd = cexp(tmpd);
18089 tmpd = clog(tmpd);
18090 tmpd = csin(tmpd);
18091 tmpd = csinh(tmpd);
18092 tmpd = csqrt(tmpd);
18093 tmpd = ctan(tmpd);
18094 tmpd = ctanh(tmpd);
18095 tmpd = cpow(tmpd, tmpd);
18096 tmpd = cproj(tmpd);
18097 ld = cabsl(tmpld);
18098 ld = cargl(tmpld);
18099 tmpld = ccosl(tmpld);
18100 tmpld = ccoshl(tmpld);
18101 tmpld = cexpl(tmpld);
18102 tmpld = clogl(tmpld);
18103 tmpld = csinl(tmpld);
18104 tmpld = csinhl(tmpld);
18105 tmpld = csqrtl(tmpld);
18106 tmpld = ctanl(tmpld);
18107 tmpld = ctanhl(tmpld);
18108 tmpld = cpowl(tmpld, tmpld);
18109 tmpld = cprojl(tmpld);
18112 return 0;
18114 _ACEOF
18115 if ac_fn_cxx_try_link "$LINENO"; then :
18116 glibcxx_cv_c99_complex_cxx11=yes
18117 else
18118 glibcxx_cv_c99_complex_cxx11=no
18120 rm -f core conftest.err conftest.$ac_objext \
18121 conftest$ac_exeext conftest.$ac_ext
18127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
18128 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
18129 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
18131 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
18135 # Check for the existence in <stdio.h> of vscanf, et. al.
18136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
18137 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
18138 if ${glibcxx_cv_c99_stdio_cxx11+:} false; then :
18139 $as_echo_n "(cached) " >&6
18140 else
18142 if test x$gcc_no_link = xyes; then
18143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18144 /* end confdefs.h. */
18145 #include <stdio.h>
18146 #include <stdarg.h>
18147 void foo(char* fmt, ...)
18149 va_list args; va_start(args, fmt);
18150 vfscanf(stderr, "%i", args);
18151 vscanf("%i", args);
18152 vsnprintf(fmt, 0, "%i", args);
18153 vsscanf(fmt, "%i", args);
18154 snprintf(fmt, 0, "%i");
18157 main ()
18161 return 0;
18163 _ACEOF
18164 if ac_fn_cxx_try_compile "$LINENO"; then :
18165 glibcxx_cv_c99_stdio_cxx11=yes
18166 else
18167 glibcxx_cv_c99_stdio_cxx11=no
18169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18170 else
18171 if test x$gcc_no_link = xyes; then
18172 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18175 /* end confdefs.h. */
18176 #include <stdio.h>
18177 #include <stdarg.h>
18178 void foo(char* fmt, ...)
18180 va_list args; va_start(args, fmt);
18181 vfscanf(stderr, "%i", args);
18182 vscanf("%i", args);
18183 vsnprintf(fmt, 0, "%i", args);
18184 vsscanf(fmt, "%i", args);
18185 snprintf(fmt, 0, "%i");
18188 main ()
18192 return 0;
18194 _ACEOF
18195 if ac_fn_cxx_try_link "$LINENO"; then :
18196 glibcxx_cv_c99_stdio_cxx11=yes
18197 else
18198 glibcxx_cv_c99_stdio_cxx11=no
18200 rm -f core conftest.err conftest.$ac_objext \
18201 conftest$ac_exeext conftest.$ac_ext
18206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
18207 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
18208 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
18210 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
18214 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
18215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
18216 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
18217 if ${glibcxx_cv_c99_stdlib_cxx11+:} false; then :
18218 $as_echo_n "(cached) " >&6
18219 else
18221 if test x$gcc_no_link = xyes; then
18222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18223 /* end confdefs.h. */
18224 #include <stdlib.h>
18225 volatile float f;
18226 volatile long double ld;
18227 volatile unsigned long long ll;
18228 lldiv_t mydivt;
18230 main ()
18232 char* tmp;
18233 f = strtof("gnu", &tmp);
18234 ld = strtold("gnu", &tmp);
18235 ll = strtoll("gnu", &tmp, 10);
18236 ll = strtoull("gnu", &tmp, 10);
18237 ll = llabs(10);
18238 mydivt = lldiv(10,1);
18239 ll = mydivt.quot;
18240 ll = mydivt.rem;
18241 ll = atoll("10");
18242 _Exit(0);
18245 return 0;
18247 _ACEOF
18248 if ac_fn_cxx_try_compile "$LINENO"; then :
18249 glibcxx_cv_c99_stdlib_cxx11=yes
18250 else
18251 glibcxx_cv_c99_stdlib_cxx11=no
18253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18254 else
18255 if test x$gcc_no_link = xyes; then
18256 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18259 /* end confdefs.h. */
18260 #include <stdlib.h>
18261 volatile float f;
18262 volatile long double ld;
18263 volatile unsigned long long ll;
18264 lldiv_t mydivt;
18266 main ()
18268 char* tmp;
18269 f = strtof("gnu", &tmp);
18270 ld = strtold("gnu", &tmp);
18271 ll = strtoll("gnu", &tmp, 10);
18272 ll = strtoull("gnu", &tmp, 10);
18273 ll = llabs(10);
18274 mydivt = lldiv(10,1);
18275 ll = mydivt.quot;
18276 ll = mydivt.rem;
18277 ll = atoll("10");
18278 _Exit(0);
18281 return 0;
18283 _ACEOF
18284 if ac_fn_cxx_try_link "$LINENO"; then :
18285 glibcxx_cv_c99_stdlib_cxx11=yes
18286 else
18287 glibcxx_cv_c99_stdlib_cxx11=no
18289 rm -f core conftest.err conftest.$ac_objext \
18290 conftest$ac_exeext conftest.$ac_ext
18295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
18296 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
18297 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
18299 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
18303 # Check for the existence in <wchar.h> of wcstold, etc.
18304 if test x"$ac_has_wchar_h" = xyes &&
18305 test x"$ac_has_wctype_h" = xyes; then
18306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
18307 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
18308 if ${glibcxx_cv_c99_wchar_cxx11+:} false; then :
18309 $as_echo_n "(cached) " >&6
18310 else
18312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18313 /* end confdefs.h. */
18314 #include <wchar.h>
18315 namespace test
18317 using ::wcstold;
18318 using ::wcstoll;
18319 using ::wcstoull;
18323 main ()
18327 return 0;
18329 _ACEOF
18330 if ac_fn_cxx_try_compile "$LINENO"; then :
18331 glibcxx_cv_c99_wchar_cxx11=yes
18332 else
18333 glibcxx_cv_c99_wchar_cxx11=no
18335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18340 # Checks for wide character functions that may not be present.
18341 # Injection of these is wrapped with guard macros.
18342 # NB: only put functions here, instead of immediately above, if
18343 # absolutely necessary.
18344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18345 /* end confdefs.h. */
18346 #include <wchar.h>
18347 namespace test { using ::vfwscanf; }
18349 main ()
18353 return 0;
18355 _ACEOF
18356 if ac_fn_cxx_try_compile "$LINENO"; then :
18358 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
18361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18364 /* end confdefs.h. */
18365 #include <wchar.h>
18366 namespace test { using ::vswscanf; }
18368 main ()
18372 return 0;
18374 _ACEOF
18375 if ac_fn_cxx_try_compile "$LINENO"; then :
18377 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
18380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18383 /* end confdefs.h. */
18384 #include <wchar.h>
18385 namespace test { using ::vwscanf; }
18387 main ()
18391 return 0;
18393 _ACEOF
18394 if ac_fn_cxx_try_compile "$LINENO"; then :
18396 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
18399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18402 /* end confdefs.h. */
18403 #include <wchar.h>
18404 namespace test { using ::wcstof; }
18406 main ()
18410 return 0;
18412 _ACEOF
18413 if ac_fn_cxx_try_compile "$LINENO"; then :
18415 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
18418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18421 /* end confdefs.h. */
18422 #include <wctype.h>
18424 main ()
18426 wint_t t; int i = iswblank(t);
18428 return 0;
18430 _ACEOF
18431 if ac_fn_cxx_try_compile "$LINENO"; then :
18433 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
18436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
18439 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
18440 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
18442 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
18447 gcc_no_link="$ac_save_gcc_no_link"
18448 LIBS="$ac_save_LIBS"
18449 CXXFLAGS="$ac_save_CXXFLAGS"
18450 ac_ext=c
18451 ac_cpp='$CPP $CPPFLAGS'
18452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
18459 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
18460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
18461 $as_echo "$enable_c99" >&6; }
18464 # Check whether --enable-concept-checks was given.
18465 if test "${enable_concept_checks+set}" = set; then :
18466 enableval=$enable_concept_checks;
18467 case "$enableval" in
18468 yes|no) ;;
18469 *) as_fn_error $? "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
18470 esac
18472 else
18473 enable_concept_checks=no
18477 if test $enable_concept_checks = yes; then
18479 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
18484 # Check whether --enable-libstdcxx-debug-flags was given.
18485 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
18486 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
18487 xno | x) enable_libstdcxx_debug_flags= ;;
18488 x-*) ;;
18489 *) as_fn_error $? "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18490 esac
18491 else
18492 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"
18497 # Option parsed, now set things appropriately
18498 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
18501 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
18502 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
18505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
18506 $as_echo_n "checking for additional debug build... " >&6; }
18507 skip_debug_build=
18508 # Check whether --enable-libstdcxx-debug was given.
18509 if test "${enable_libstdcxx_debug+set}" = set; then :
18510 enableval=$enable_libstdcxx_debug;
18511 case "$enableval" in
18512 yes|no) ;;
18513 *) as_fn_error $? "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
18514 esac
18516 else
18517 enable_libstdcxx_debug=no
18521 if test x$enable_libstdcxx_debug = xyes; then
18522 if test -f $toplevel_builddir/../stage_final \
18523 && test -f $toplevel_builddir/../stage_current; then
18524 stage_final=`cat $toplevel_builddir/../stage_final`
18525 stage_current=`cat $toplevel_builddir/../stage_current`
18526 if test x$stage_current != x$stage_final ; then
18527 skip_debug_build=" (skipped for bootstrap stage $stage_current)"
18528 enable_libstdcxx_debug=no
18532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug$skip_debug_build" >&5
18533 $as_echo "$enable_libstdcxx_debug$skip_debug_build" >&6; }
18538 enable_parallel=no;
18540 # See if configured libgomp/omp.h exists. (libgomp may be in
18541 # noconfigdirs but not explicitly disabled.)
18542 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
18543 enable_parallel=yes;
18544 else
18545 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
18546 $as_echo "$as_me: target-libgomp not built" >&6;}
18549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
18550 $as_echo_n "checking for parallel mode support... " >&6; }
18551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
18552 $as_echo "$enable_parallel" >&6; }
18554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
18555 $as_echo_n "checking for extra compiler flags for building... " >&6; }
18556 # Check whether --enable-cxx-flags was given.
18557 if test "${enable_cxx_flags+set}" = set; then :
18558 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
18559 xno | x) enable_cxx_flags= ;;
18560 x-*) ;;
18561 *) as_fn_error $? "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18562 esac
18563 else
18564 enable_cxx_flags=
18569 # Run through flags (either default or command-line) and set anything
18570 # extra (e.g., #defines) that must accompany particular g++ options.
18571 if test -n "$enable_cxx_flags"; then
18572 for f in $enable_cxx_flags; do
18573 case "$f" in
18574 -fhonor-std) ;;
18575 -*) ;;
18576 *) # and we're trying to pass /what/ exactly?
18577 as_fn_error $? "compiler flags start with a -" "$LINENO" 5 ;;
18578 esac
18579 done
18582 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18584 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18588 # Check whether --enable-fully-dynamic-string was given.
18589 if test "${enable_fully_dynamic_string+set}" = set; then :
18590 enableval=$enable_fully_dynamic_string;
18591 case "$enableval" in
18592 yes|no) ;;
18593 *) as_fn_error $? "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
18594 esac
18596 else
18597 enable_fully_dynamic_string=no
18601 if test $enable_fully_dynamic_string = yes; then
18602 enable_fully_dynamic_string_def=1
18603 else
18604 enable_fully_dynamic_string_def=0
18607 cat >>confdefs.h <<_ACEOF
18608 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18609 _ACEOF
18614 # Check whether --enable-extern-template was given.
18615 if test "${enable_extern_template+set}" = set; then :
18616 enableval=$enable_extern_template;
18617 case "$enableval" in
18618 yes|no) ;;
18619 *) as_fn_error $? "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18620 esac
18622 else
18623 enable_extern_template=yes
18628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18629 $as_echo_n "checking for extern template support... " >&6; }
18630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18631 $as_echo "$enable_extern_template" >&6; }
18637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18638 $as_echo_n "checking for custom python install directory... " >&6; }
18640 # Check whether --with-python-dir was given.
18641 if test "${with_python_dir+set}" = set; then :
18642 withval=$with_python_dir; with_python_dir=$withval
18643 else
18644 with_python_dir="no"
18647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18648 $as_echo "${with_python_dir}" >&6; }
18650 # Needed for installing Python modules during make install.
18651 python_mod_dir="${with_python_dir}"
18656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18657 $as_echo_n "checking for -Werror... " >&6; }
18658 # Check whether --enable-werror was given.
18659 if test "${enable_werror+set}" = set; then :
18660 enableval=$enable_werror;
18661 case "$enableval" in
18662 yes|no) ;;
18663 *) as_fn_error $? "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18664 esac
18666 else
18667 enable_werror=no
18671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18672 $as_echo "$enable_werror" >&6; }
18677 # Check whether --enable-vtable-verify was given.
18678 if test "${enable_vtable_verify+set}" = set; then :
18679 enableval=$enable_vtable_verify;
18680 case "$enableval" in
18681 yes|no) ;;
18682 *) as_fn_error $? "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18683 esac
18685 else
18686 enable_vtable_verify=no
18691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18692 $as_echo_n "checking for vtable verify support... " >&6; }
18693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18694 $as_echo "$enable_vtable_verify" >&6; }
18696 vtv_cygmin=no
18697 if test $enable_vtable_verify = yes; then
18698 case ${target_os} in
18699 cygwin*|mingw32*)
18700 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18701 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18702 vtv_cygmin=yes
18704 darwin*)
18705 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18706 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18708 solaris2*)
18709 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18710 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18713 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18714 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18716 esac
18717 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18718 else
18719 VTV_CXXFLAGS=
18720 VTV_PCH_CXXFLAGS=
18721 VTV_CXXLINKFLAGS=
18727 if test x$vtv_cygmin = xyes; then
18728 VTV_CYGMIN_TRUE=
18729 VTV_CYGMIN_FALSE='#'
18730 else
18731 VTV_CYGMIN_TRUE='#'
18732 VTV_CYGMIN_FALSE=
18738 # Checks for operating systems support that doesn't require linking.
18742 ac_ext=cpp
18743 ac_cpp='$CXXCPP $CPPFLAGS'
18744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18748 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18749 # and we don't need a declaration for C++14 anyway.
18750 ac_save_CXXFLAGS="$CXXFLAGS"
18751 CXXFLAGS="$CXXFLAGS -std=gnu++11"
18753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18754 $as_echo_n "checking for gets declaration... " >&6; }
18755 if ${glibcxx_cv_gets+:} false; then :
18756 $as_echo_n "(cached) " >&6
18757 else
18759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18760 /* end confdefs.h. */
18761 #include <stdio.h>
18762 namespace test
18764 using ::gets;
18767 _ACEOF
18768 if ac_fn_cxx_try_compile "$LINENO"; then :
18769 glibcxx_cv_gets=yes
18770 else
18771 glibcxx_cv_gets=no
18774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18778 if test $glibcxx_cv_gets = yes; then
18780 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18784 $as_echo "$glibcxx_cv_gets" >&6; }
18786 CXXFLAGS="$ac_save_CXXFLAGS"
18787 ac_ext=c
18788 ac_cpp='$CPP $CPPFLAGS'
18789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18797 ac_ext=cpp
18798 ac_cpp='$CXXCPP $CPPFLAGS'
18799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18803 ac_save_CXXFLAGS="$CXXFLAGS"
18804 CXXFLAGS="$CXXFLAGS -std=c++11"
18806 case "$host" in
18807 *-*-solaris2.*)
18808 # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18809 # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18811 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18812 if ${glibcxx_cv_math11_fp_overload+:} false; then :
18813 $as_echo_n "(cached) " >&6
18814 else
18816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18817 /* end confdefs.h. */
18818 #include <math.h>
18819 #undef isfinite
18820 namespace std {
18821 inline bool isfinite(float __x)
18822 { return __builtin_isfinite(__x); }
18825 _ACEOF
18826 if ac_fn_cxx_try_compile "$LINENO"; then :
18827 glibcxx_cv_math11_fp_overload=no
18828 else
18829 glibcxx_cv_math11_fp_overload=yes
18832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18836 # autoheader cannot handle indented templates.
18839 if test $glibcxx_cv_math11_fp_overload = yes; then
18840 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
18843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
18844 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
18846 # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
18847 # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
18848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
18849 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
18850 if ${glibcxx_cv_math11_int_overload+:} false; then :
18851 $as_echo_n "(cached) " >&6
18852 else
18854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18855 /* end confdefs.h. */
18856 #include <math.h>
18857 namespace std {
18858 template<typename _Tp>
18859 struct __is_integer;
18860 template<>
18861 struct __is_integer<int>
18863 enum { __value = 1 };
18866 namespace __gnu_cxx {
18867 template<bool, typename>
18868 struct __enable_if;
18869 template<typename _Tp>
18870 struct __enable_if<true, _Tp>
18871 { typedef _Tp __type; };
18873 namespace std {
18874 template<typename _Tp>
18875 constexpr typename __gnu_cxx::__enable_if
18876 <__is_integer<_Tp>::__value, double>::__type
18877 log2(_Tp __x)
18878 { return __builtin_log2(__x); }
18881 main (void)
18883 int i = 1000;
18884 return std::log2(i);
18887 _ACEOF
18888 if ac_fn_cxx_try_compile "$LINENO"; then :
18889 glibcxx_cv_math11_int_overload=no
18890 else
18891 glibcxx_cv_math11_int_overload=yes
18894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18898 # autoheader cannot handle indented templates.
18901 if test $glibcxx_cv_math11_int_overload = yes; then
18902 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
18905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
18906 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
18909 # If <math.h> defines the obsolete isinf(double) and isnan(double)
18910 # functions (instead of or as well as the C99 generic macros) then we
18911 # can't define std::isinf(double) and std::isnan(double) in <cmath>
18912 # and must use the ones from <math.h> instead.
18913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
18914 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
18915 if ${glibcxx_cv_obsolete_isinf+:} false; then :
18916 $as_echo_n "(cached) " >&6
18917 else
18919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18920 /* end confdefs.h. */
18921 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18922 #include <math.h>
18923 #undef isinf
18924 namespace std {
18925 using ::isinf;
18926 bool isinf(float);
18927 bool isinf(long double);
18929 using std::isinf;
18930 bool b = isinf(0.0);
18932 _ACEOF
18933 if ac_fn_cxx_try_compile "$LINENO"; then :
18934 glibcxx_cv_obsolete_isinf=yes
18935 else
18936 glibcxx_cv_obsolete_isinf=no
18939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
18943 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
18944 if test $glibcxx_cv_obsolete_isinf = yes; then
18946 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
18950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
18951 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
18952 if ${glibcxx_cv_obsolete_isnan+:} false; then :
18953 $as_echo_n "(cached) " >&6
18954 else
18956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18957 /* end confdefs.h. */
18958 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18959 #include <math.h>
18960 #undef isnan
18961 namespace std {
18962 using ::isnan;
18963 bool isnan(float);
18964 bool isnan(long double);
18966 using std::isnan;
18967 bool b = isnan(0.0);
18969 _ACEOF
18970 if ac_fn_cxx_try_compile "$LINENO"; then :
18971 glibcxx_cv_obsolete_isnan=yes
18972 else
18973 glibcxx_cv_obsolete_isnan=no
18976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
18980 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
18981 if test $glibcxx_cv_obsolete_isnan = yes; then
18983 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
18987 esac
18989 CXXFLAGS="$ac_save_CXXFLAGS"
18990 ac_ext=c
18991 ac_cpp='$CPP $CPPFLAGS'
18992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
19000 $as_echo_n "checking for EOWNERDEAD... " >&6; }
19001 if ${glibcxx_cv_system_error1+:} false; then :
19002 $as_echo_n "(cached) " >&6
19003 else
19005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19006 /* end confdefs.h. */
19007 #include <errno.h>
19009 main ()
19011 int i = EOWNERDEAD;
19013 return 0;
19015 _ACEOF
19016 if ac_fn_c_try_compile "$LINENO"; then :
19017 glibcxx_cv_system_error1=yes
19018 else
19019 glibcxx_cv_system_error1=no
19021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
19026 $as_echo "$glibcxx_cv_system_error1" >&6; }
19027 if test x"$glibcxx_cv_system_error1" = x"yes"; then
19029 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
19032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
19033 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
19034 if ${glibcxx_cv_system_error2+:} false; then :
19035 $as_echo_n "(cached) " >&6
19036 else
19038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19039 /* end confdefs.h. */
19040 #include <errno.h>
19042 main ()
19044 int i = ENOTRECOVERABLE;
19046 return 0;
19048 _ACEOF
19049 if ac_fn_c_try_compile "$LINENO"; then :
19050 glibcxx_cv_system_error2=yes
19051 else
19052 glibcxx_cv_system_error2=no
19054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
19059 $as_echo "$glibcxx_cv_system_error2" >&6; }
19060 if test x"$glibcxx_cv_system_error2" = x"yes"; then
19062 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
19065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
19066 $as_echo_n "checking for ENOLINK... " >&6; }
19067 if ${glibcxx_cv_system_error3+:} false; then :
19068 $as_echo_n "(cached) " >&6
19069 else
19071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19072 /* end confdefs.h. */
19073 #include <errno.h>
19075 main ()
19077 int i = ENOLINK;
19079 return 0;
19081 _ACEOF
19082 if ac_fn_c_try_compile "$LINENO"; then :
19083 glibcxx_cv_system_error3=yes
19084 else
19085 glibcxx_cv_system_error3=no
19087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
19092 $as_echo "$glibcxx_cv_system_error3" >&6; }
19093 if test x"$glibcxx_cv_system_error3" = x"yes"; then
19095 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
19098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
19099 $as_echo_n "checking for EPROTO... " >&6; }
19100 if ${glibcxx_cv_system_error4+:} false; then :
19101 $as_echo_n "(cached) " >&6
19102 else
19104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19105 /* end confdefs.h. */
19106 #include <errno.h>
19108 main ()
19110 int i = EPROTO;
19112 return 0;
19114 _ACEOF
19115 if ac_fn_c_try_compile "$LINENO"; then :
19116 glibcxx_cv_system_error4=yes
19117 else
19118 glibcxx_cv_system_error4=no
19120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
19125 $as_echo "$glibcxx_cv_system_error4" >&6; }
19126 if test x"$glibcxx_cv_system_error4" = x"yes"; then
19128 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
19131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
19132 $as_echo_n "checking for ENODATA... " >&6; }
19133 if ${glibcxx_cv_system_error5+:} false; then :
19134 $as_echo_n "(cached) " >&6
19135 else
19137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19138 /* end confdefs.h. */
19139 #include <errno.h>
19141 main ()
19143 int i = ENODATA;
19145 return 0;
19147 _ACEOF
19148 if ac_fn_c_try_compile "$LINENO"; then :
19149 glibcxx_cv_system_error5=yes
19150 else
19151 glibcxx_cv_system_error5=no
19153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
19158 $as_echo "$glibcxx_cv_system_error5" >&6; }
19159 if test x"$glibcxx_cv_system_error5" = x"yes"; then
19161 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
19164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
19165 $as_echo_n "checking for ENOSR... " >&6; }
19166 if ${glibcxx_cv_system_error6+:} false; then :
19167 $as_echo_n "(cached) " >&6
19168 else
19170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19171 /* end confdefs.h. */
19172 #include <errno.h>
19174 main ()
19176 int i = ENOSR;
19178 return 0;
19180 _ACEOF
19181 if ac_fn_c_try_compile "$LINENO"; then :
19182 glibcxx_cv_system_error6=yes
19183 else
19184 glibcxx_cv_system_error6=no
19186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
19191 $as_echo "$glibcxx_cv_system_error6" >&6; }
19192 if test x"$glibcxx_cv_system_error6" = x"yes"; then
19194 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
19197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
19198 $as_echo_n "checking for ENOSTR... " >&6; }
19199 if ${glibcxx_cv_system_error7+:} false; then :
19200 $as_echo_n "(cached) " >&6
19201 else
19203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19204 /* end confdefs.h. */
19205 #include <errno.h>
19207 main ()
19209 int i = ENOSTR;
19211 return 0;
19213 _ACEOF
19214 if ac_fn_c_try_compile "$LINENO"; then :
19215 glibcxx_cv_system_error7=yes
19216 else
19217 glibcxx_cv_system_error7=no
19219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
19224 $as_echo "$glibcxx_cv_system_error7" >&6; }
19225 if test x"$glibcxx_cv_system_error7" = x"yes"; then
19227 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
19230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
19231 $as_echo_n "checking for ETIME... " >&6; }
19232 if ${glibcxx_cv_system_error8+:} false; then :
19233 $as_echo_n "(cached) " >&6
19234 else
19236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19237 /* end confdefs.h. */
19238 #include <errno.h>
19240 main ()
19242 int i = ETIME;
19244 return 0;
19246 _ACEOF
19247 if ac_fn_c_try_compile "$LINENO"; then :
19248 glibcxx_cv_system_error8=yes
19249 else
19250 glibcxx_cv_system_error8=no
19252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
19257 $as_echo "$glibcxx_cv_system_error8" >&6; }
19258 if test x"$glibcxx_cv_system_error8" = x"yes"; then
19260 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
19263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
19264 $as_echo_n "checking for EBADMSG... " >&6; }
19265 if ${glibcxx_cv_system_error9+:} false; then :
19266 $as_echo_n "(cached) " >&6
19267 else
19269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19270 /* end confdefs.h. */
19271 #include <errno.h>
19273 main ()
19275 int i = EBADMSG;
19277 return 0;
19279 _ACEOF
19280 if ac_fn_c_try_compile "$LINENO"; then :
19281 glibcxx_cv_system_error9=yes
19282 else
19283 glibcxx_cv_system_error9=no
19285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
19290 $as_echo "$glibcxx_cv_system_error9" >&6; }
19291 if test x"$glibcxx_cv_system_error9" = x"yes"; then
19293 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
19296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
19297 $as_echo_n "checking for ECANCELED... " >&6; }
19298 if ${glibcxx_cv_system_error10+:} false; then :
19299 $as_echo_n "(cached) " >&6
19300 else
19302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19303 /* end confdefs.h. */
19304 #include <errno.h>
19306 main ()
19308 int i = ECANCELED;
19310 return 0;
19312 _ACEOF
19313 if ac_fn_c_try_compile "$LINENO"; then :
19314 glibcxx_cv_system_error10=yes
19315 else
19316 glibcxx_cv_system_error10=no
19318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
19323 $as_echo "$glibcxx_cv_system_error10" >&6; }
19324 if test x"$glibcxx_cv_system_error10" = x"yes"; then
19326 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
19329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
19330 $as_echo_n "checking for EOVERFLOW... " >&6; }
19331 if ${glibcxx_cv_system_error11+:} false; then :
19332 $as_echo_n "(cached) " >&6
19333 else
19335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19336 /* end confdefs.h. */
19337 #include <errno.h>
19339 main ()
19341 int i = EOVERFLOW;
19343 return 0;
19345 _ACEOF
19346 if ac_fn_c_try_compile "$LINENO"; then :
19347 glibcxx_cv_system_error11=yes
19348 else
19349 glibcxx_cv_system_error11=no
19351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
19356 $as_echo "$glibcxx_cv_system_error11" >&6; }
19357 if test x"$glibcxx_cv_system_error11" = x"yes"; then
19359 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
19362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
19363 $as_echo_n "checking for ENOTSUP... " >&6; }
19364 if ${glibcxx_cv_system_error12+:} false; then :
19365 $as_echo_n "(cached) " >&6
19366 else
19368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19369 /* end confdefs.h. */
19370 #include <errno.h>
19372 main ()
19374 int i = ENOTSUP;
19376 return 0;
19378 _ACEOF
19379 if ac_fn_c_try_compile "$LINENO"; then :
19380 glibcxx_cv_system_error12=yes
19381 else
19382 glibcxx_cv_system_error12=no
19384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
19389 $as_echo "$glibcxx_cv_system_error12" >&6; }
19390 if test x"$glibcxx_cv_system_error12" = x"yes"; then
19392 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
19395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
19396 $as_echo_n "checking for EIDRM... " >&6; }
19397 if ${glibcxx_cv_system_error13+:} false; then :
19398 $as_echo_n "(cached) " >&6
19399 else
19401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19402 /* end confdefs.h. */
19403 #include <errno.h>
19405 main ()
19407 int i = EIDRM;
19409 return 0;
19411 _ACEOF
19412 if ac_fn_c_try_compile "$LINENO"; then :
19413 glibcxx_cv_system_error13=yes
19414 else
19415 glibcxx_cv_system_error13=no
19417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
19422 $as_echo "$glibcxx_cv_system_error13" >&6; }
19423 if test x"$glibcxx_cv_system_error13" = x"yes"; then
19425 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
19428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
19429 $as_echo_n "checking for ETXTBSY... " >&6; }
19430 if ${glibcxx_cv_system_error14+:} false; then :
19431 $as_echo_n "(cached) " >&6
19432 else
19434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19435 /* end confdefs.h. */
19436 #include <errno.h>
19438 main ()
19440 int i = ETXTBSY;
19442 return 0;
19444 _ACEOF
19445 if ac_fn_c_try_compile "$LINENO"; then :
19446 glibcxx_cv_system_error14=yes
19447 else
19448 glibcxx_cv_system_error14=no
19450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
19455 $as_echo "$glibcxx_cv_system_error14" >&6; }
19456 if test x"$glibcxx_cv_system_error14" = x"yes"; then
19458 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
19461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
19462 $as_echo_n "checking for ECHILD... " >&6; }
19463 if ${glibcxx_cv_system_error15+:} false; then :
19464 $as_echo_n "(cached) " >&6
19465 else
19467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19468 /* end confdefs.h. */
19469 #include <errno.h>
19471 main ()
19473 int i = ECHILD;
19475 return 0;
19477 _ACEOF
19478 if ac_fn_c_try_compile "$LINENO"; then :
19479 glibcxx_cv_system_error15=yes
19480 else
19481 glibcxx_cv_system_error15=no
19483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
19488 $as_echo "$glibcxx_cv_system_error15" >&6; }
19489 if test x"$glibcxx_cv_system_error15" = x"yes"; then
19491 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
19494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
19495 $as_echo_n "checking for ENOSPC... " >&6; }
19496 if ${glibcxx_cv_system_error16+:} false; then :
19497 $as_echo_n "(cached) " >&6
19498 else
19500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19501 /* end confdefs.h. */
19502 #include <errno.h>
19504 main ()
19506 int i = ENOSPC;
19508 return 0;
19510 _ACEOF
19511 if ac_fn_c_try_compile "$LINENO"; then :
19512 glibcxx_cv_system_error16=yes
19513 else
19514 glibcxx_cv_system_error16=no
19516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
19521 $as_echo "$glibcxx_cv_system_error16" >&6; }
19522 if test x"$glibcxx_cv_system_error16" = x"yes"; then
19524 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
19527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
19528 $as_echo_n "checking for EPERM... " >&6; }
19529 if ${glibcxx_cv_system_error17+:} false; then :
19530 $as_echo_n "(cached) " >&6
19531 else
19533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19534 /* end confdefs.h. */
19535 #include <errno.h>
19537 main ()
19539 int i = EPERM;
19541 return 0;
19543 _ACEOF
19544 if ac_fn_c_try_compile "$LINENO"; then :
19545 glibcxx_cv_system_error17=yes
19546 else
19547 glibcxx_cv_system_error17=no
19549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
19554 $as_echo "$glibcxx_cv_system_error17" >&6; }
19555 if test x"$glibcxx_cv_system_error17" = x"yes"; then
19557 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
19560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
19561 $as_echo_n "checking for ETIMEDOUT... " >&6; }
19562 if ${glibcxx_cv_system_error18+:} false; then :
19563 $as_echo_n "(cached) " >&6
19564 else
19566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19567 /* end confdefs.h. */
19568 #include <errno.h>
19570 main ()
19572 int i = ETIMEDOUT;
19574 return 0;
19576 _ACEOF
19577 if ac_fn_c_try_compile "$LINENO"; then :
19578 glibcxx_cv_system_error18=yes
19579 else
19580 glibcxx_cv_system_error18=no
19582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
19587 $as_echo "$glibcxx_cv_system_error18" >&6; }
19588 if test x"$glibcxx_cv_system_error18" = x"yes"; then
19590 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
19593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
19594 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
19595 if ${glibcxx_cv_system_error19+:} false; then :
19596 $as_echo_n "(cached) " >&6
19597 else
19599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19600 /* end confdefs.h. */
19601 #include <errno.h>
19603 main ()
19605 int i = EWOULDBLOCK;
19607 return 0;
19609 _ACEOF
19610 if ac_fn_c_try_compile "$LINENO"; then :
19611 glibcxx_cv_system_error19=yes
19612 else
19613 glibcxx_cv_system_error19=no
19615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
19620 $as_echo "$glibcxx_cv_system_error19" >&6; }
19621 if test x"$glibcxx_cv_system_error19" = x"yes"; then
19623 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
19630 # Test uchar.h.
19631 for ac_header in uchar.h
19632 do :
19633 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19634 if test "x$ac_cv_header_uchar_h" = xyes; then :
19635 cat >>confdefs.h <<_ACEOF
19636 #define HAVE_UCHAR_H 1
19637 _ACEOF
19638 ac_has_uchar_h=yes
19639 else
19640 ac_has_uchar_h=no
19643 done
19647 ac_ext=cpp
19648 ac_cpp='$CXXCPP $CPPFLAGS'
19649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19653 ac_save_CXXFLAGS="$CXXFLAGS"
19654 CXXFLAGS="$CXXFLAGS -std=c++11"
19656 if test x"$ac_has_uchar_h" = x"yes"; then
19657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19658 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19660 /* end confdefs.h. */
19661 #include <uchar.h>
19662 #ifdef __STDC_UTF_16__
19663 long i = __STDC_UTF_16__;
19664 #endif
19665 #ifdef __STDC_UTF_32__
19666 long j = __STDC_UTF_32__;
19667 #endif
19668 namespace test
19670 using ::c16rtomb;
19671 using ::c32rtomb;
19672 using ::mbrtoc16;
19673 using ::mbrtoc32;
19677 main ()
19681 return 0;
19683 _ACEOF
19684 if ac_fn_cxx_try_compile "$LINENO"; then :
19685 ac_c11_uchar_cxx11=yes
19686 else
19687 ac_c11_uchar_cxx11=no
19689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19690 else
19691 ac_c11_uchar_cxx11=no
19693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19694 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19695 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19697 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19701 CXXFLAGS="$ac_save_CXXFLAGS"
19702 ac_ext=c
19703 ac_cpp='$CPP $CPPFLAGS'
19704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19710 # For the streamoff typedef.
19714 ac_ext=cpp
19715 ac_cpp='$CXXCPP $CPPFLAGS'
19716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
19722 $as_echo_n "checking for int64_t... " >&6; }
19723 if ${glibcxx_cv_INT64_T+:} false; then :
19724 $as_echo_n "(cached) " >&6
19725 else
19727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19728 /* end confdefs.h. */
19729 #include <stdint.h>
19731 main ()
19733 int64_t var;
19735 return 0;
19737 _ACEOF
19738 if ac_fn_cxx_try_compile "$LINENO"; then :
19739 glibcxx_cv_INT64_T=yes
19740 else
19741 glibcxx_cv_INT64_T=no
19743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19748 if test $glibcxx_cv_INT64_T = yes; then
19750 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
19752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
19753 $as_echo "$glibcxx_cv_INT64_T" >&6; }
19755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
19756 $as_echo_n "checking for int64_t as long... " >&6; }
19757 if ${glibcxx_cv_int64_t_long+:} false; then :
19758 $as_echo_n "(cached) " >&6
19759 else
19761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19762 /* end confdefs.h. */
19763 #include <stdint.h>
19764 template<typename, typename> struct same { enum { value = -1 }; };
19765 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19766 int array[same<int64_t, long>::value];
19768 main ()
19772 return 0;
19774 _ACEOF
19775 if ac_fn_cxx_try_compile "$LINENO"; then :
19776 glibcxx_cv_int64_t_long=yes
19777 else
19778 glibcxx_cv_int64_t_long=no
19780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19785 if test $glibcxx_cv_int64_t_long = yes; then
19787 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
19789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
19790 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
19793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
19794 $as_echo_n "checking for int64_t as long long... " >&6; }
19795 if ${glibcxx_cv_int64_t_long_long+:} false; then :
19796 $as_echo_n "(cached) " >&6
19797 else
19799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19800 /* end confdefs.h. */
19801 #include <stdint.h>
19802 template<typename, typename> struct same { enum { value = -1 }; };
19803 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19804 int array[same<int64_t, long long>::value];
19806 main ()
19810 return 0;
19812 _ACEOF
19813 if ac_fn_cxx_try_compile "$LINENO"; then :
19814 glibcxx_cv_int64_t_long_long=yes
19815 else
19816 glibcxx_cv_int64_t_long_long=no
19818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19823 if test $glibcxx_cv_int64_t_long_long = yes; then
19825 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
19827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
19828 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
19832 ac_ext=c
19833 ac_cpp='$CPP $CPPFLAGS'
19834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19840 # For LFS support.
19843 ac_ext=cpp
19844 ac_cpp='$CXXCPP $CPPFLAGS'
19845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19849 ac_save_CXXFLAGS="$CXXFLAGS"
19850 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19852 $as_echo_n "checking for LFS support... " >&6; }
19853 if ${glibcxx_cv_LFS+:} false; then :
19854 $as_echo_n "(cached) " >&6
19855 else
19857 if test x$gcc_no_link = xyes; then
19858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19859 /* end confdefs.h. */
19860 #include <unistd.h>
19861 #include <stdio.h>
19862 #include <sys/stat.h>
19865 main ()
19867 FILE* fp;
19868 fopen64("t", "w");
19869 fseeko64(fp, 0, SEEK_CUR);
19870 ftello64(fp);
19871 lseek64(1, 0, SEEK_CUR);
19872 struct stat64 buf;
19873 fstat64(1, &buf);
19875 return 0;
19877 _ACEOF
19878 if ac_fn_cxx_try_compile "$LINENO"; then :
19879 glibcxx_cv_LFS=yes
19880 else
19881 glibcxx_cv_LFS=no
19883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19884 else
19885 if test x$gcc_no_link = xyes; then
19886 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19889 /* end confdefs.h. */
19890 #include <unistd.h>
19891 #include <stdio.h>
19892 #include <sys/stat.h>
19895 main ()
19897 FILE* fp;
19898 fopen64("t", "w");
19899 fseeko64(fp, 0, SEEK_CUR);
19900 ftello64(fp);
19901 lseek64(1, 0, SEEK_CUR);
19902 struct stat64 buf;
19903 fstat64(1, &buf);
19905 return 0;
19907 _ACEOF
19908 if ac_fn_cxx_try_link "$LINENO"; then :
19909 glibcxx_cv_LFS=yes
19910 else
19911 glibcxx_cv_LFS=no
19913 rm -f core conftest.err conftest.$ac_objext \
19914 conftest$ac_exeext conftest.$ac_ext
19919 if test $glibcxx_cv_LFS = yes; then
19921 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19925 $as_echo "$glibcxx_cv_LFS" >&6; }
19926 CXXFLAGS="$ac_save_CXXFLAGS"
19927 ac_ext=c
19928 ac_cpp='$CPP $CPPFLAGS'
19929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19935 # For showmanyc_helper().
19936 for ac_header in sys/ioctl.h sys/filio.h
19937 do :
19938 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19939 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19940 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19941 cat >>confdefs.h <<_ACEOF
19942 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19943 _ACEOF
19947 done
19952 ac_ext=cpp
19953 ac_cpp='$CXXCPP $CPPFLAGS'
19954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19958 ac_save_CXXFLAGS="$CXXFLAGS"
19959 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19962 $as_echo_n "checking for poll... " >&6; }
19963 if ${glibcxx_cv_POLL+:} false; then :
19964 $as_echo_n "(cached) " >&6
19965 else
19967 if test x$gcc_no_link = xyes; then
19968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19969 /* end confdefs.h. */
19970 #include <poll.h>
19972 main ()
19974 struct pollfd pfd[1];
19975 pfd[0].events = POLLIN;
19976 poll(pfd, 1, 0);
19978 return 0;
19980 _ACEOF
19981 if ac_fn_cxx_try_compile "$LINENO"; then :
19982 glibcxx_cv_POLL=yes
19983 else
19984 glibcxx_cv_POLL=no
19986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19987 else
19988 if test x$gcc_no_link = xyes; then
19989 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19992 /* end confdefs.h. */
19993 #include <poll.h>
19995 main ()
19997 struct pollfd pfd[1];
19998 pfd[0].events = POLLIN;
19999 poll(pfd, 1, 0);
20001 return 0;
20003 _ACEOF
20004 if ac_fn_cxx_try_link "$LINENO"; then :
20005 glibcxx_cv_POLL=yes
20006 else
20007 glibcxx_cv_POLL=no
20009 rm -f core conftest.err conftest.$ac_objext \
20010 conftest$ac_exeext conftest.$ac_ext
20015 if test $glibcxx_cv_POLL = yes; then
20017 $as_echo "#define HAVE_POLL 1" >>confdefs.h
20020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
20021 $as_echo "$glibcxx_cv_POLL" >&6; }
20023 CXXFLAGS="$ac_save_CXXFLAGS"
20024 ac_ext=c
20025 ac_cpp='$CPP $CPPFLAGS'
20026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20034 ac_ext=cpp
20035 ac_cpp='$CXXCPP $CPPFLAGS'
20036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20040 ac_save_CXXFLAGS="$CXXFLAGS"
20041 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
20044 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
20045 if ${glibcxx_cv_S_ISREG+:} false; then :
20046 $as_echo_n "(cached) " >&6
20047 else
20049 if test x$gcc_no_link = xyes; then
20050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20051 /* end confdefs.h. */
20052 #include <sys/stat.h>
20054 main ()
20056 struct stat buffer;
20057 fstat(0, &buffer);
20058 S_ISREG(buffer.st_mode);
20060 return 0;
20062 _ACEOF
20063 if ac_fn_cxx_try_compile "$LINENO"; then :
20064 glibcxx_cv_S_ISREG=yes
20065 else
20066 glibcxx_cv_S_ISREG=no
20068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20069 else
20070 if test x$gcc_no_link = xyes; then
20071 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20074 /* end confdefs.h. */
20075 #include <sys/stat.h>
20077 main ()
20079 struct stat buffer;
20080 fstat(0, &buffer);
20081 S_ISREG(buffer.st_mode);
20083 return 0;
20085 _ACEOF
20086 if ac_fn_cxx_try_link "$LINENO"; then :
20087 glibcxx_cv_S_ISREG=yes
20088 else
20089 glibcxx_cv_S_ISREG=no
20091 rm -f core conftest.err conftest.$ac_objext \
20092 conftest$ac_exeext conftest.$ac_ext
20097 if ${glibcxx_cv_S_IFREG+:} false; then :
20098 $as_echo_n "(cached) " >&6
20099 else
20101 if test x$gcc_no_link = xyes; then
20102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20103 /* end confdefs.h. */
20104 #include <sys/stat.h>
20106 main ()
20108 struct stat buffer;
20109 fstat(0, &buffer);
20110 S_IFREG & buffer.st_mode;
20112 return 0;
20114 _ACEOF
20115 if ac_fn_cxx_try_compile "$LINENO"; then :
20116 glibcxx_cv_S_IFREG=yes
20117 else
20118 glibcxx_cv_S_IFREG=no
20120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20121 else
20122 if test x$gcc_no_link = xyes; then
20123 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20126 /* end confdefs.h. */
20127 #include <sys/stat.h>
20129 main ()
20131 struct stat buffer;
20132 fstat(0, &buffer);
20133 S_IFREG & buffer.st_mode;
20135 return 0;
20137 _ACEOF
20138 if ac_fn_cxx_try_link "$LINENO"; then :
20139 glibcxx_cv_S_IFREG=yes
20140 else
20141 glibcxx_cv_S_IFREG=no
20143 rm -f core conftest.err conftest.$ac_objext \
20144 conftest$ac_exeext conftest.$ac_ext
20149 res=no
20150 if test $glibcxx_cv_S_ISREG = yes; then
20152 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
20154 res=S_ISREG
20155 elif test $glibcxx_cv_S_IFREG = yes; then
20157 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
20159 res=S_IFREG
20161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
20162 $as_echo "$res" >&6; }
20164 CXXFLAGS="$ac_save_CXXFLAGS"
20165 ac_ext=c
20166 ac_cpp='$CPP $CPPFLAGS'
20167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20173 # For xsputn_2().
20174 for ac_header in sys/uio.h
20175 do :
20176 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
20177 if test "x$ac_cv_header_sys_uio_h" = xyes; then :
20178 cat >>confdefs.h <<_ACEOF
20179 #define HAVE_SYS_UIO_H 1
20180 _ACEOF
20184 done
20189 ac_ext=cpp
20190 ac_cpp='$CXXCPP $CPPFLAGS'
20191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20195 ac_save_CXXFLAGS="$CXXFLAGS"
20196 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
20199 $as_echo_n "checking for writev... " >&6; }
20200 if ${glibcxx_cv_WRITEV+:} false; then :
20201 $as_echo_n "(cached) " >&6
20202 else
20204 if test x$gcc_no_link = xyes; then
20205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20206 /* end confdefs.h. */
20207 #include <sys/uio.h>
20209 main ()
20211 struct iovec iov[2];
20212 writev(0, iov, 0);
20214 return 0;
20216 _ACEOF
20217 if ac_fn_cxx_try_compile "$LINENO"; then :
20218 glibcxx_cv_WRITEV=yes
20219 else
20220 glibcxx_cv_WRITEV=no
20222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20223 else
20224 if test x$gcc_no_link = xyes; then
20225 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20228 /* end confdefs.h. */
20229 #include <sys/uio.h>
20231 main ()
20233 struct iovec iov[2];
20234 writev(0, iov, 0);
20236 return 0;
20238 _ACEOF
20239 if ac_fn_cxx_try_link "$LINENO"; then :
20240 glibcxx_cv_WRITEV=yes
20241 else
20242 glibcxx_cv_WRITEV=no
20244 rm -f core conftest.err conftest.$ac_objext \
20245 conftest$ac_exeext conftest.$ac_ext
20250 if test $glibcxx_cv_WRITEV = yes; then
20252 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
20255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
20256 $as_echo "$glibcxx_cv_WRITEV" >&6; }
20258 CXXFLAGS="$ac_save_CXXFLAGS"
20259 ac_ext=c
20260 ac_cpp='$CPP $CPPFLAGS'
20261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20267 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
20268 # so that the check is done with the C compiler (not C++).
20269 # Checking with C++ can break a canadian cross build if either
20270 # file does not exist in C but does in C++.
20271 for ac_header in fenv.h complex.h
20272 do :
20273 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20274 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20275 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20276 cat >>confdefs.h <<_ACEOF
20277 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20278 _ACEOF
20282 done
20285 # For C99 support to TR1.
20289 ac_ext=cpp
20290 ac_cpp='$CXXCPP $CPPFLAGS'
20291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20296 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
20297 # undefined and fake C99 facilities may be spuriously enabled.
20298 ac_save_CXXFLAGS="$CXXFLAGS"
20299 CXXFLAGS="$CXXFLAGS -std=c++98"
20301 # Check for the existence of <complex.h> complex math functions used
20302 # by tr1/complex.
20303 for ac_header in complex.h
20304 do :
20305 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
20306 if test "x$ac_cv_header_complex_h" = xyes; then :
20307 cat >>confdefs.h <<_ACEOF
20308 #define HAVE_COMPLEX_H 1
20309 _ACEOF
20310 ac_has_complex_h=yes
20311 else
20312 ac_has_complex_h=no
20315 done
20317 ac_c99_complex_tr1=no;
20318 if test x"$ac_has_complex_h" = x"yes"; then
20319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
20320 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
20321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20322 /* end confdefs.h. */
20323 #include <complex.h>
20325 main ()
20327 typedef __complex__ float float_type; float_type tmpf;
20328 cacosf(tmpf);
20329 casinf(tmpf);
20330 catanf(tmpf);
20331 cacoshf(tmpf);
20332 casinhf(tmpf);
20333 catanhf(tmpf);
20334 typedef __complex__ double double_type; double_type tmpd;
20335 cacos(tmpd);
20336 casin(tmpd);
20337 catan(tmpd);
20338 cacosh(tmpd);
20339 casinh(tmpd);
20340 catanh(tmpd);
20341 typedef __complex__ long double ld_type; ld_type tmpld;
20342 cacosl(tmpld);
20343 casinl(tmpld);
20344 catanl(tmpld);
20345 cacoshl(tmpld);
20346 casinhl(tmpld);
20347 catanhl(tmpld);
20350 return 0;
20352 _ACEOF
20353 if ac_fn_cxx_try_compile "$LINENO"; then :
20354 ac_c99_complex_tr1=yes
20355 else
20356 ac_c99_complex_tr1=no
20358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
20361 $as_echo "$ac_c99_complex_tr1" >&6; }
20362 if test x"$ac_c99_complex_tr1" = x"yes"; then
20364 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
20368 # Check for the existence of <ctype.h> functions.
20369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
20370 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
20371 if ${glibcxx_cv_c99_ctype_tr1+:} false; then :
20372 $as_echo_n "(cached) " >&6
20373 else
20375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20376 /* end confdefs.h. */
20377 #include <ctype.h>
20379 main ()
20381 int ch;
20382 int ret;
20383 ret = isblank(ch);
20386 return 0;
20388 _ACEOF
20389 if ac_fn_cxx_try_compile "$LINENO"; then :
20390 glibcxx_cv_c99_ctype_tr1=yes
20391 else
20392 glibcxx_cv_c99_ctype_tr1=no
20394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
20399 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
20400 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
20402 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
20406 # Check for the existence of <fenv.h> functions.
20407 for ac_header in fenv.h
20408 do :
20409 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
20410 if test "x$ac_cv_header_fenv_h" = xyes; then :
20411 cat >>confdefs.h <<_ACEOF
20412 #define HAVE_FENV_H 1
20413 _ACEOF
20414 ac_has_fenv_h=yes
20415 else
20416 ac_has_fenv_h=no
20419 done
20421 ac_c99_fenv_tr1=no;
20422 if test x"$ac_has_fenv_h" = x"yes"; then
20423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
20424 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
20425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20426 /* end confdefs.h. */
20427 #include <fenv.h>
20429 main ()
20431 int except, mode;
20432 fexcept_t* pflag;
20433 fenv_t* penv;
20434 int ret;
20435 ret = feclearexcept(except);
20436 ret = fegetexceptflag(pflag, except);
20437 ret = feraiseexcept(except);
20438 ret = fesetexceptflag(pflag, except);
20439 ret = fetestexcept(except);
20440 ret = fegetround();
20441 ret = fesetround(mode);
20442 ret = fegetenv(penv);
20443 ret = feholdexcept(penv);
20444 ret = fesetenv(penv);
20445 ret = feupdateenv(penv);
20448 return 0;
20450 _ACEOF
20451 if ac_fn_cxx_try_compile "$LINENO"; then :
20452 ac_c99_fenv_tr1=yes
20453 else
20454 ac_c99_fenv_tr1=no
20456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
20459 $as_echo "$ac_c99_fenv_tr1" >&6; }
20460 if test x"$ac_c99_fenv_tr1" = x"yes"; then
20462 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
20466 # Check for the existence of <stdint.h> types.
20467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
20468 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
20469 if ${glibcxx_cv_c99_stdint_tr1+:} false; then :
20470 $as_echo_n "(cached) " >&6
20471 else
20473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20474 /* end confdefs.h. */
20475 #define __STDC_LIMIT_MACROS
20476 #define __STDC_CONSTANT_MACROS
20477 #include <stdint.h>
20479 main ()
20481 typedef int8_t my_int8_t;
20482 my_int8_t i8 = INT8_MIN;
20483 i8 = INT8_MAX;
20484 typedef int16_t my_int16_t;
20485 my_int16_t i16 = INT16_MIN;
20486 i16 = INT16_MAX;
20487 typedef int32_t my_int32_t;
20488 my_int32_t i32 = INT32_MIN;
20489 i32 = INT32_MAX;
20490 typedef int64_t my_int64_t;
20491 my_int64_t i64 = INT64_MIN;
20492 i64 = INT64_MAX;
20493 typedef int_fast8_t my_int_fast8_t;
20494 my_int_fast8_t if8 = INT_FAST8_MIN;
20495 if8 = INT_FAST8_MAX;
20496 typedef int_fast16_t my_int_fast16_t;
20497 my_int_fast16_t if16 = INT_FAST16_MIN;
20498 if16 = INT_FAST16_MAX;
20499 typedef int_fast32_t my_int_fast32_t;
20500 my_int_fast32_t if32 = INT_FAST32_MIN;
20501 if32 = INT_FAST32_MAX;
20502 typedef int_fast64_t my_int_fast64_t;
20503 my_int_fast64_t if64 = INT_FAST64_MIN;
20504 if64 = INT_FAST64_MAX;
20505 typedef int_least8_t my_int_least8_t;
20506 my_int_least8_t il8 = INT_LEAST8_MIN;
20507 il8 = INT_LEAST8_MAX;
20508 typedef int_least16_t my_int_least16_t;
20509 my_int_least16_t il16 = INT_LEAST16_MIN;
20510 il16 = INT_LEAST16_MAX;
20511 typedef int_least32_t my_int_least32_t;
20512 my_int_least32_t il32 = INT_LEAST32_MIN;
20513 il32 = INT_LEAST32_MAX;
20514 typedef int_least64_t my_int_least64_t;
20515 my_int_least64_t il64 = INT_LEAST64_MIN;
20516 il64 = INT_LEAST64_MAX;
20517 typedef intmax_t my_intmax_t;
20518 my_intmax_t im = INTMAX_MAX;
20519 im = INTMAX_MIN;
20520 typedef intptr_t my_intptr_t;
20521 my_intptr_t ip = INTPTR_MAX;
20522 ip = INTPTR_MIN;
20523 typedef uint8_t my_uint8_t;
20524 my_uint8_t ui8 = UINT8_MAX;
20525 ui8 = UINT8_MAX;
20526 typedef uint16_t my_uint16_t;
20527 my_uint16_t ui16 = UINT16_MAX;
20528 ui16 = UINT16_MAX;
20529 typedef uint32_t my_uint32_t;
20530 my_uint32_t ui32 = UINT32_MAX;
20531 ui32 = UINT32_MAX;
20532 typedef uint64_t my_uint64_t;
20533 my_uint64_t ui64 = UINT64_MAX;
20534 ui64 = UINT64_MAX;
20535 typedef uint_fast8_t my_uint_fast8_t;
20536 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
20537 uif8 = UINT_FAST8_MAX;
20538 typedef uint_fast16_t my_uint_fast16_t;
20539 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
20540 uif16 = UINT_FAST16_MAX;
20541 typedef uint_fast32_t my_uint_fast32_t;
20542 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
20543 uif32 = UINT_FAST32_MAX;
20544 typedef uint_fast64_t my_uint_fast64_t;
20545 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
20546 uif64 = UINT_FAST64_MAX;
20547 typedef uint_least8_t my_uint_least8_t;
20548 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
20549 uil8 = UINT_LEAST8_MAX;
20550 typedef uint_least16_t my_uint_least16_t;
20551 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
20552 uil16 = UINT_LEAST16_MAX;
20553 typedef uint_least32_t my_uint_least32_t;
20554 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
20555 uil32 = UINT_LEAST32_MAX;
20556 typedef uint_least64_t my_uint_least64_t;
20557 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
20558 uil64 = UINT_LEAST64_MAX;
20559 typedef uintmax_t my_uintmax_t;
20560 my_uintmax_t uim = UINTMAX_MAX;
20561 uim = UINTMAX_MAX;
20562 typedef uintptr_t my_uintptr_t;
20563 my_uintptr_t uip = UINTPTR_MAX;
20564 uip = UINTPTR_MAX;
20567 return 0;
20569 _ACEOF
20570 if ac_fn_cxx_try_compile "$LINENO"; then :
20571 glibcxx_cv_c99_stdint_tr1=yes
20572 else
20573 glibcxx_cv_c99_stdint_tr1=no
20575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
20580 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
20581 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20583 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
20587 # Check for the existence of <math.h> functions.
20588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
20589 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
20590 if ${glibcxx_cv_c99_math_tr1+:} false; then :
20591 $as_echo_n "(cached) " >&6
20592 else
20594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20595 /* end confdefs.h. */
20596 #include <math.h>
20598 main ()
20600 typedef double_t my_double_t;
20601 typedef float_t my_float_t;
20602 acosh(0.0);
20603 acoshf(0.0f);
20604 acoshl(0.0l);
20605 asinh(0.0);
20606 asinhf(0.0f);
20607 asinhl(0.0l);
20608 atanh(0.0);
20609 atanhf(0.0f);
20610 atanhl(0.0l);
20611 cbrt(0.0);
20612 cbrtf(0.0f);
20613 cbrtl(0.0l);
20614 copysign(0.0, 0.0);
20615 copysignf(0.0f, 0.0f);
20616 copysignl(0.0l, 0.0l);
20617 erf(0.0);
20618 erff(0.0f);
20619 erfl(0.0l);
20620 erfc(0.0);
20621 erfcf(0.0f);
20622 erfcl(0.0l);
20623 exp2(0.0);
20624 exp2f(0.0f);
20625 exp2l(0.0l);
20626 expm1(0.0);
20627 expm1f(0.0f);
20628 expm1l(0.0l);
20629 fdim(0.0, 0.0);
20630 fdimf(0.0f, 0.0f);
20631 fdiml(0.0l, 0.0l);
20632 fma(0.0, 0.0, 0.0);
20633 fmaf(0.0f, 0.0f, 0.0f);
20634 fmal(0.0l, 0.0l, 0.0l);
20635 fmax(0.0, 0.0);
20636 fmaxf(0.0f, 0.0f);
20637 fmaxl(0.0l, 0.0l);
20638 fmin(0.0, 0.0);
20639 fminf(0.0f, 0.0f);
20640 fminl(0.0l, 0.0l);
20641 hypot(0.0, 0.0);
20642 hypotf(0.0f, 0.0f);
20643 hypotl(0.0l, 0.0l);
20644 ilogb(0.0);
20645 ilogbf(0.0f);
20646 ilogbl(0.0l);
20647 lgamma(0.0);
20648 lgammaf(0.0f);
20649 lgammal(0.0l);
20650 #ifndef __APPLE__ /* see below */
20651 llrint(0.0);
20652 llrintf(0.0f);
20653 llrintl(0.0l);
20654 llround(0.0);
20655 llroundf(0.0f);
20656 llroundl(0.0l);
20657 #endif
20658 log1p(0.0);
20659 log1pf(0.0f);
20660 log1pl(0.0l);
20661 log2(0.0);
20662 log2f(0.0f);
20663 log2l(0.0l);
20664 logb(0.0);
20665 logbf(0.0f);
20666 logbl(0.0l);
20667 lrint(0.0);
20668 lrintf(0.0f);
20669 lrintl(0.0l);
20670 lround(0.0);
20671 lroundf(0.0f);
20672 lroundl(0.0l);
20673 nan(0);
20674 nanf(0);
20675 nanl(0);
20676 nearbyint(0.0);
20677 nearbyintf(0.0f);
20678 nearbyintl(0.0l);
20679 nextafter(0.0, 0.0);
20680 nextafterf(0.0f, 0.0f);
20681 nextafterl(0.0l, 0.0l);
20682 nexttoward(0.0, 0.0);
20683 nexttowardf(0.0f, 0.0f);
20684 nexttowardl(0.0l, 0.0l);
20685 remainder(0.0, 0.0);
20686 remainderf(0.0f, 0.0f);
20687 remainderl(0.0l, 0.0l);
20688 remquo(0.0, 0.0, 0);
20689 remquof(0.0f, 0.0f, 0);
20690 remquol(0.0l, 0.0l, 0);
20691 rint(0.0);
20692 rintf(0.0f);
20693 rintl(0.0l);
20694 round(0.0);
20695 roundf(0.0f);
20696 roundl(0.0l);
20697 scalbln(0.0, 0l);
20698 scalblnf(0.0f, 0l);
20699 scalblnl(0.0l, 0l);
20700 scalbn(0.0, 0);
20701 scalbnf(0.0f, 0);
20702 scalbnl(0.0l, 0);
20703 tgamma(0.0);
20704 tgammaf(0.0f);
20705 tgammal(0.0l);
20706 trunc(0.0);
20707 truncf(0.0f);
20708 truncl(0.0l);
20711 return 0;
20713 _ACEOF
20714 if ac_fn_cxx_try_compile "$LINENO"; then :
20715 glibcxx_cv_c99_math_tr1=yes
20716 else
20717 glibcxx_cv_c99_math_tr1=no
20719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20724 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20725 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20727 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20730 case "${target_os}" in
20731 darwin*)
20732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20733 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20734 if ${glibcxx_cv_c99_math_llround+:} false; then :
20735 $as_echo_n "(cached) " >&6
20736 else
20738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20739 /* end confdefs.h. */
20740 #include <math.h>
20742 main ()
20744 llrint(0.0);
20745 llrintf(0.0f);
20746 llrintl(0.0l);
20747 llround(0.0);
20748 llroundf(0.0f);
20749 llroundl(0.0l);
20752 return 0;
20754 _ACEOF
20755 if ac_fn_cxx_try_compile "$LINENO"; then :
20756 glibcxx_cv_c99_math_llround=yes
20757 else
20758 glibcxx_cv_c99_math_llround=no
20760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20765 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20767 esac
20768 if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20770 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20775 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20776 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20777 ac_c99_inttypes_tr1=no;
20778 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20780 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20782 /* end confdefs.h. */
20783 #include <inttypes.h>
20785 main ()
20787 intmax_t i, numer, denom, base;
20788 const char* s;
20789 char** endptr;
20790 intmax_t ret = imaxabs(i);
20791 imaxdiv_t dret = imaxdiv(numer, denom);
20792 ret = strtoimax(s, endptr, base);
20793 uintmax_t uret = strtoumax(s, endptr, base);
20796 return 0;
20798 _ACEOF
20799 if ac_fn_cxx_try_compile "$LINENO"; then :
20800 ac_c99_inttypes_tr1=yes
20801 else
20802 ac_c99_inttypes_tr1=no
20804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20807 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20808 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20810 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20814 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20815 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20816 ac_c99_inttypes_wchar_t_tr1=no;
20817 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20819 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20821 /* end confdefs.h. */
20822 #include <inttypes.h>
20824 main ()
20826 intmax_t base;
20827 const wchar_t* s;
20828 wchar_t** endptr;
20829 intmax_t ret = wcstoimax(s, endptr, base);
20830 uintmax_t uret = wcstoumax(s, endptr, base);
20833 return 0;
20835 _ACEOF
20836 if ac_fn_cxx_try_compile "$LINENO"; then :
20837 ac_c99_inttypes_wchar_t_tr1=yes
20838 else
20839 ac_c99_inttypes_wchar_t_tr1=no
20841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20844 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20845 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20847 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20851 # Check for the existence of the <stdbool.h> header.
20852 for ac_header in stdbool.h
20853 do :
20854 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20855 if test "x$ac_cv_header_stdbool_h" = xyes; then :
20856 cat >>confdefs.h <<_ACEOF
20857 #define HAVE_STDBOOL_H 1
20858 _ACEOF
20862 done
20865 # Check for the existence of the <stdalign.h> header.
20866 for ac_header in stdalign.h
20867 do :
20868 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20869 if test "x$ac_cv_header_stdalign_h" = xyes; then :
20870 cat >>confdefs.h <<_ACEOF
20871 #define HAVE_STDALIGN_H 1
20872 _ACEOF
20876 done
20879 CXXFLAGS="$ac_save_CXXFLAGS"
20880 ac_ext=c
20881 ac_cpp='$CPP $CPPFLAGS'
20882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20888 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20892 $as_echo_n "checking for the value of EOF... " >&6; }
20893 if ${glibcxx_cv_stdio_eof+:} false; then :
20894 $as_echo_n "(cached) " >&6
20895 else
20897 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20899 else
20900 as_fn_error $? "computing EOF failed" "$LINENO" 5
20905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20906 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20908 cat >>confdefs.h <<_ACEOF
20909 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20910 _ACEOF
20913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20914 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20915 if ${glibcxx_cv_stdio_seek_cur+:} false; then :
20916 $as_echo_n "(cached) " >&6
20917 else
20919 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20921 else
20922 as_fn_error $? "computing SEEK_CUR failed" "$LINENO" 5
20927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20928 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20930 cat >>confdefs.h <<_ACEOF
20931 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20932 _ACEOF
20935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20936 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20937 if ${glibcxx_cv_stdio_seek_end+:} false; then :
20938 $as_echo_n "(cached) " >&6
20939 else
20941 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20943 else
20944 as_fn_error $? "computing SEEK_END failed" "$LINENO" 5
20949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20950 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20952 cat >>confdefs.h <<_ACEOF
20953 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20954 _ACEOF
20958 # For gettimeofday support.
20961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20962 $as_echo_n "checking for gettimeofday... " >&6; }
20965 ac_ext=cpp
20966 ac_cpp='$CXXCPP $CPPFLAGS'
20967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20971 ac_save_CXXFLAGS="$CXXFLAGS"
20972 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20974 ac_has_gettimeofday=no;
20975 for ac_header in sys/time.h
20976 do :
20977 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20978 if test "x$ac_cv_header_sys_time_h" = xyes; then :
20979 cat >>confdefs.h <<_ACEOF
20980 #define HAVE_SYS_TIME_H 1
20981 _ACEOF
20982 ac_has_sys_time_h=yes
20983 else
20984 ac_has_sys_time_h=no
20987 done
20989 if test x"$ac_has_sys_time_h" = x"yes"; then
20990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20991 $as_echo_n "checking for gettimeofday... " >&6; }
20992 if test x$gcc_no_link = xyes; then
20993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20994 /* end confdefs.h. */
20995 #include <sys/time.h>
20997 main ()
20999 timeval tv; gettimeofday(&tv, 0);
21001 return 0;
21003 _ACEOF
21004 if ac_fn_cxx_try_compile "$LINENO"; then :
21005 ac_has_gettimeofday=yes
21006 else
21007 ac_has_gettimeofday=no
21009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21010 else
21011 if test x$gcc_no_link = xyes; then
21012 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21015 /* end confdefs.h. */
21016 #include <sys/time.h>
21018 main ()
21020 timeval tv; gettimeofday(&tv, 0);
21022 return 0;
21024 _ACEOF
21025 if ac_fn_cxx_try_link "$LINENO"; then :
21026 ac_has_gettimeofday=yes
21027 else
21028 ac_has_gettimeofday=no
21030 rm -f core conftest.err conftest.$ac_objext \
21031 conftest$ac_exeext conftest.$ac_ext
21034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
21035 $as_echo "$ac_has_gettimeofday" >&6; }
21038 if test x"$ac_has_gettimeofday" = x"yes"; then
21040 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
21044 CXXFLAGS="$ac_save_CXXFLAGS"
21045 ac_ext=c
21046 ac_cpp='$CPP $CPPFLAGS'
21047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21053 # For clock_gettime, nanosleep and sched_yield support.
21056 # Check whether --enable-libstdcxx-time was given.
21057 if test "${enable_libstdcxx_time+set}" = set; then :
21058 enableval=$enable_libstdcxx_time;
21059 case "$enableval" in
21060 yes|no|rt) ;;
21061 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
21062 esac
21064 else
21065 enable_libstdcxx_time=auto
21071 ac_ext=cpp
21072 ac_cpp='$CXXCPP $CPPFLAGS'
21073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21077 ac_save_CXXFLAGS="$CXXFLAGS"
21078 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21079 ac_save_LIBS="$LIBS"
21081 ac_has_clock_monotonic=no
21082 ac_has_clock_realtime=no
21083 ac_has_nanosleep=no
21084 ac_has_sched_yield=no
21086 if test x"$enable_libstdcxx_time" = x"auto"; then
21088 case "${target_os}" in
21089 cygwin*)
21090 ac_has_nanosleep=yes
21092 darwin*)
21093 ac_has_nanosleep=yes
21094 ac_has_sched_yield=yes
21096 # VxWorks has nanosleep as soon as the kernel is configured with
21097 # INCLUDE_POSIX_TIMERS, which is normally/most-often the case.
21098 vxworks*)
21099 ac_has_nanosleep=yes
21101 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
21102 # Don't use link test for freestanding library, in case gcc_no_link=yes
21103 if test x"$is_hosted" = xyes; then
21104 # Versions of glibc before 2.17 needed -lrt for clock_gettime.
21105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
21106 $as_echo_n "checking for library containing clock_gettime... " >&6; }
21107 if ${ac_cv_search_clock_gettime+:} false; then :
21108 $as_echo_n "(cached) " >&6
21109 else
21110 ac_func_search_save_LIBS=$LIBS
21111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21112 /* end confdefs.h. */
21114 /* Override any GCC internal prototype to avoid an error.
21115 Use char because int might match the return type of a GCC
21116 builtin and then its argument prototype would still apply. */
21117 #ifdef __cplusplus
21118 extern "C"
21119 #endif
21120 char clock_gettime ();
21122 main ()
21124 return clock_gettime ();
21126 return 0;
21128 _ACEOF
21129 for ac_lib in '' rt; do
21130 if test -z "$ac_lib"; then
21131 ac_res="none required"
21132 else
21133 ac_res=-l$ac_lib
21134 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21136 if test x$gcc_no_link = xyes; then
21137 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21139 if ac_fn_cxx_try_link "$LINENO"; then :
21140 ac_cv_search_clock_gettime=$ac_res
21142 rm -f core conftest.err conftest.$ac_objext \
21143 conftest$ac_exeext
21144 if ${ac_cv_search_clock_gettime+:} false; then :
21145 break
21147 done
21148 if ${ac_cv_search_clock_gettime+:} false; then :
21150 else
21151 ac_cv_search_clock_gettime=no
21153 rm conftest.$ac_ext
21154 LIBS=$ac_func_search_save_LIBS
21156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
21157 $as_echo "$ac_cv_search_clock_gettime" >&6; }
21158 ac_res=$ac_cv_search_clock_gettime
21159 if test "$ac_res" != no; then :
21160 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21164 if test x"$ac_cv_search_clock_gettime" = x"none required"; then
21165 ac_has_clock_monotonic=yes
21166 ac_has_clock_realtime=yes
21169 ac_has_nanosleep=yes
21170 ac_has_sched_yield=yes
21172 freebsd*|netbsd*|dragonfly*|rtems*)
21173 ac_has_clock_monotonic=yes
21174 ac_has_clock_realtime=yes
21175 ac_has_nanosleep=yes
21176 ac_has_sched_yield=yes
21178 openbsd*)
21179 ac_has_clock_monotonic=yes
21180 ac_has_clock_realtime=yes
21181 ac_has_nanosleep=yes
21183 solaris*)
21184 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
21185 ac_has_clock_monotonic=yes
21186 ac_has_clock_realtime=yes
21187 ac_has_nanosleep=yes
21188 ac_has_sched_yield=yes
21190 uclinux*)
21191 ac_has_nanosleep=yes
21192 ac_has_sched_yield=yes
21193 esac
21195 elif test x"$enable_libstdcxx_time" != x"no"; then
21197 if test x"$enable_libstdcxx_time" = x"rt"; then
21198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
21199 $as_echo_n "checking for library containing clock_gettime... " >&6; }
21200 if ${ac_cv_search_clock_gettime+:} false; then :
21201 $as_echo_n "(cached) " >&6
21202 else
21203 ac_func_search_save_LIBS=$LIBS
21204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21205 /* end confdefs.h. */
21207 /* Override any GCC internal prototype to avoid an error.
21208 Use char because int might match the return type of a GCC
21209 builtin and then its argument prototype would still apply. */
21210 #ifdef __cplusplus
21211 extern "C"
21212 #endif
21213 char clock_gettime ();
21215 main ()
21217 return clock_gettime ();
21219 return 0;
21221 _ACEOF
21222 for ac_lib in '' rt posix4; do
21223 if test -z "$ac_lib"; then
21224 ac_res="none required"
21225 else
21226 ac_res=-l$ac_lib
21227 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21229 if test x$gcc_no_link = xyes; then
21230 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21232 if ac_fn_cxx_try_link "$LINENO"; then :
21233 ac_cv_search_clock_gettime=$ac_res
21235 rm -f core conftest.err conftest.$ac_objext \
21236 conftest$ac_exeext
21237 if ${ac_cv_search_clock_gettime+:} false; then :
21238 break
21240 done
21241 if ${ac_cv_search_clock_gettime+:} false; then :
21243 else
21244 ac_cv_search_clock_gettime=no
21246 rm conftest.$ac_ext
21247 LIBS=$ac_func_search_save_LIBS
21249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
21250 $as_echo "$ac_cv_search_clock_gettime" >&6; }
21251 ac_res=$ac_cv_search_clock_gettime
21252 if test "$ac_res" != no; then :
21253 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
21258 $as_echo_n "checking for library containing nanosleep... " >&6; }
21259 if ${ac_cv_search_nanosleep+:} false; then :
21260 $as_echo_n "(cached) " >&6
21261 else
21262 ac_func_search_save_LIBS=$LIBS
21263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21264 /* end confdefs.h. */
21266 /* Override any GCC internal prototype to avoid an error.
21267 Use char because int might match the return type of a GCC
21268 builtin and then its argument prototype would still apply. */
21269 #ifdef __cplusplus
21270 extern "C"
21271 #endif
21272 char nanosleep ();
21274 main ()
21276 return nanosleep ();
21278 return 0;
21280 _ACEOF
21281 for ac_lib in '' rt posix4; do
21282 if test -z "$ac_lib"; then
21283 ac_res="none required"
21284 else
21285 ac_res=-l$ac_lib
21286 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21288 if test x$gcc_no_link = xyes; then
21289 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21291 if ac_fn_cxx_try_link "$LINENO"; then :
21292 ac_cv_search_nanosleep=$ac_res
21294 rm -f core conftest.err conftest.$ac_objext \
21295 conftest$ac_exeext
21296 if ${ac_cv_search_nanosleep+:} false; then :
21297 break
21299 done
21300 if ${ac_cv_search_nanosleep+:} false; then :
21302 else
21303 ac_cv_search_nanosleep=no
21305 rm conftest.$ac_ext
21306 LIBS=$ac_func_search_save_LIBS
21308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
21309 $as_echo "$ac_cv_search_nanosleep" >&6; }
21310 ac_res=$ac_cv_search_nanosleep
21311 if test "$ac_res" != no; then :
21312 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21316 else
21317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
21318 $as_echo_n "checking for library containing clock_gettime... " >&6; }
21319 if ${ac_cv_search_clock_gettime+:} false; then :
21320 $as_echo_n "(cached) " >&6
21321 else
21322 ac_func_search_save_LIBS=$LIBS
21323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21324 /* end confdefs.h. */
21326 /* Override any GCC internal prototype to avoid an error.
21327 Use char because int might match the return type of a GCC
21328 builtin and then its argument prototype would still apply. */
21329 #ifdef __cplusplus
21330 extern "C"
21331 #endif
21332 char clock_gettime ();
21334 main ()
21336 return clock_gettime ();
21338 return 0;
21340 _ACEOF
21341 for ac_lib in '' posix4; do
21342 if test -z "$ac_lib"; then
21343 ac_res="none required"
21344 else
21345 ac_res=-l$ac_lib
21346 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21348 if test x$gcc_no_link = xyes; then
21349 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21351 if ac_fn_cxx_try_link "$LINENO"; then :
21352 ac_cv_search_clock_gettime=$ac_res
21354 rm -f core conftest.err conftest.$ac_objext \
21355 conftest$ac_exeext
21356 if ${ac_cv_search_clock_gettime+:} false; then :
21357 break
21359 done
21360 if ${ac_cv_search_clock_gettime+:} false; then :
21362 else
21363 ac_cv_search_clock_gettime=no
21365 rm conftest.$ac_ext
21366 LIBS=$ac_func_search_save_LIBS
21368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
21369 $as_echo "$ac_cv_search_clock_gettime" >&6; }
21370 ac_res=$ac_cv_search_clock_gettime
21371 if test "$ac_res" != no; then :
21372 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
21377 $as_echo_n "checking for library containing nanosleep... " >&6; }
21378 if ${ac_cv_search_nanosleep+:} false; then :
21379 $as_echo_n "(cached) " >&6
21380 else
21381 ac_func_search_save_LIBS=$LIBS
21382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21383 /* end confdefs.h. */
21385 /* Override any GCC internal prototype to avoid an error.
21386 Use char because int might match the return type of a GCC
21387 builtin and then its argument prototype would still apply. */
21388 #ifdef __cplusplus
21389 extern "C"
21390 #endif
21391 char nanosleep ();
21393 main ()
21395 return nanosleep ();
21397 return 0;
21399 _ACEOF
21400 for ac_lib in '' posix4; do
21401 if test -z "$ac_lib"; then
21402 ac_res="none required"
21403 else
21404 ac_res=-l$ac_lib
21405 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21407 if test x$gcc_no_link = xyes; then
21408 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21410 if ac_fn_cxx_try_link "$LINENO"; then :
21411 ac_cv_search_nanosleep=$ac_res
21413 rm -f core conftest.err conftest.$ac_objext \
21414 conftest$ac_exeext
21415 if ${ac_cv_search_nanosleep+:} false; then :
21416 break
21418 done
21419 if ${ac_cv_search_nanosleep+:} false; then :
21421 else
21422 ac_cv_search_nanosleep=no
21424 rm conftest.$ac_ext
21425 LIBS=$ac_func_search_save_LIBS
21427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
21428 $as_echo "$ac_cv_search_nanosleep" >&6; }
21429 ac_res=$ac_cv_search_nanosleep
21430 if test "$ac_res" != no; then :
21431 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21437 case "$ac_cv_search_clock_gettime" in
21438 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
21440 esac
21441 case "$ac_cv_search_nanosleep" in
21442 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
21444 esac
21446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
21447 $as_echo_n "checking for library containing sched_yield... " >&6; }
21448 if ${ac_cv_search_sched_yield+:} false; then :
21449 $as_echo_n "(cached) " >&6
21450 else
21451 ac_func_search_save_LIBS=$LIBS
21452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21453 /* end confdefs.h. */
21455 /* Override any GCC internal prototype to avoid an error.
21456 Use char because int might match the return type of a GCC
21457 builtin and then its argument prototype would still apply. */
21458 #ifdef __cplusplus
21459 extern "C"
21460 #endif
21461 char sched_yield ();
21463 main ()
21465 return sched_yield ();
21467 return 0;
21469 _ACEOF
21470 for ac_lib in '' rt posix4; do
21471 if test -z "$ac_lib"; then
21472 ac_res="none required"
21473 else
21474 ac_res=-l$ac_lib
21475 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21477 if test x$gcc_no_link = xyes; then
21478 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21480 if ac_fn_cxx_try_link "$LINENO"; then :
21481 ac_cv_search_sched_yield=$ac_res
21483 rm -f core conftest.err conftest.$ac_objext \
21484 conftest$ac_exeext
21485 if ${ac_cv_search_sched_yield+:} false; then :
21486 break
21488 done
21489 if ${ac_cv_search_sched_yield+:} false; then :
21491 else
21492 ac_cv_search_sched_yield=no
21494 rm conftest.$ac_ext
21495 LIBS=$ac_func_search_save_LIBS
21497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
21498 $as_echo "$ac_cv_search_sched_yield" >&6; }
21499 ac_res=$ac_cv_search_sched_yield
21500 if test "$ac_res" != no; then :
21501 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21506 case "$ac_cv_search_sched_yield" in
21507 -lposix4*)
21508 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
21509 ac_has_sched_yield=yes
21511 -lrt*)
21512 if test x"$enable_libstdcxx_time" = x"rt"; then
21513 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
21514 ac_has_sched_yield=yes
21518 ac_has_sched_yield=yes
21520 esac
21522 for ac_header in unistd.h
21523 do :
21524 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21525 if test "x$ac_cv_header_unistd_h" = xyes; then :
21526 cat >>confdefs.h <<_ACEOF
21527 #define HAVE_UNISTD_H 1
21528 _ACEOF
21529 ac_has_unistd_h=yes
21530 else
21531 ac_has_unistd_h=no
21534 done
21537 if test x"$ac_has_unistd_h" = x"yes"; then
21538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
21539 $as_echo_n "checking for monotonic clock... " >&6; }
21540 if test x$gcc_no_link = xyes; then
21541 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21544 /* end confdefs.h. */
21545 #include <unistd.h>
21546 #include <time.h>
21549 main ()
21551 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21552 timespec tp;
21553 #endif
21554 clock_gettime(CLOCK_MONOTONIC, &tp);
21557 return 0;
21559 _ACEOF
21560 if ac_fn_cxx_try_link "$LINENO"; then :
21561 ac_has_clock_monotonic=yes
21562 else
21563 ac_has_clock_monotonic=no
21565 rm -f core conftest.err conftest.$ac_objext \
21566 conftest$ac_exeext conftest.$ac_ext
21568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
21569 $as_echo "$ac_has_clock_monotonic" >&6; }
21571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
21572 $as_echo_n "checking for realtime clock... " >&6; }
21573 if test x$gcc_no_link = xyes; then
21574 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21577 /* end confdefs.h. */
21578 #include <unistd.h>
21579 #include <time.h>
21582 main ()
21584 #if _POSIX_TIMERS > 0
21585 timespec tp;
21586 #endif
21587 clock_gettime(CLOCK_REALTIME, &tp);
21590 return 0;
21592 _ACEOF
21593 if ac_fn_cxx_try_link "$LINENO"; then :
21594 ac_has_clock_realtime=yes
21595 else
21596 ac_has_clock_realtime=no
21598 rm -f core conftest.err conftest.$ac_objext \
21599 conftest$ac_exeext conftest.$ac_ext
21601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
21602 $as_echo "$ac_has_clock_realtime" >&6; }
21604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
21605 $as_echo_n "checking for nanosleep... " >&6; }
21606 if test x$gcc_no_link = xyes; then
21607 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21610 /* end confdefs.h. */
21611 #include <unistd.h>
21612 #include <time.h>
21615 main ()
21617 #if _POSIX_TIMERS > 0
21618 timespec tp;
21619 #endif
21620 nanosleep(&tp, 0);
21623 return 0;
21625 _ACEOF
21626 if ac_fn_cxx_try_link "$LINENO"; then :
21627 ac_has_nanosleep=yes
21628 else
21629 ac_has_nanosleep=no
21631 rm -f core conftest.err conftest.$ac_objext \
21632 conftest$ac_exeext conftest.$ac_ext
21634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
21635 $as_echo "$ac_has_nanosleep" >&6; }
21639 if test x"$ac_has_clock_monotonic" != x"yes"; then
21640 case ${target_os} in
21641 linux* | uclinux*)
21642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
21643 $as_echo_n "checking for clock_gettime syscall... " >&6; }
21644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21645 /* end confdefs.h. */
21646 #include <unistd.h>
21647 #include <time.h>
21648 #include <sys/syscall.h>
21651 main ()
21653 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21654 timespec tp;
21655 #endif
21656 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
21657 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
21660 return 0;
21662 _ACEOF
21663 if ac_fn_cxx_try_compile "$LINENO"; then :
21664 ac_has_clock_monotonic_syscall=yes
21665 else
21666 ac_has_clock_monotonic_syscall=no
21668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
21670 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
21671 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
21673 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
21675 ac_has_clock_monotonic=yes
21676 ac_has_clock_realtime=yes
21677 fi;;
21678 esac
21681 if test x"$ac_has_clock_monotonic" = x"yes"; then
21683 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21687 if test x"$ac_has_clock_realtime" = x"yes"; then
21689 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21693 if test x"$ac_has_sched_yield" = x"yes"; then
21695 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21699 if test x"$ac_has_nanosleep" = x"yes"; then
21701 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21703 else
21704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21705 $as_echo_n "checking for sleep... " >&6; }
21706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21707 /* end confdefs.h. */
21708 #include <unistd.h>
21710 main ()
21712 sleep(1)
21714 return 0;
21716 _ACEOF
21717 if ac_fn_cxx_try_compile "$LINENO"; then :
21718 ac_has_sleep=yes
21719 else
21720 ac_has_sleep=no
21722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21723 if test x"$ac_has_sleep" = x"yes"; then
21725 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21729 $as_echo "$ac_has_sleep" >&6; }
21730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21731 $as_echo_n "checking for usleep... " >&6; }
21732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21733 /* end confdefs.h. */
21734 #include <unistd.h>
21736 main ()
21738 sleep(1);
21739 usleep(100);
21741 return 0;
21743 _ACEOF
21744 if ac_fn_cxx_try_compile "$LINENO"; then :
21745 ac_has_usleep=yes
21746 else
21747 ac_has_usleep=no
21749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21750 if test x"$ac_has_usleep" = x"yes"; then
21752 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21756 $as_echo "$ac_has_usleep" >&6; }
21759 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21761 $as_echo_n "checking for Sleep... " >&6; }
21762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21763 /* end confdefs.h. */
21764 #include <windows.h>
21766 main ()
21768 Sleep(1)
21770 return 0;
21772 _ACEOF
21773 if ac_fn_cxx_try_compile "$LINENO"; then :
21774 ac_has_win32_sleep=yes
21775 else
21776 ac_has_win32_sleep=no
21778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21779 if test x"$ac_has_win32_sleep" = x"yes"; then
21781 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21785 $as_echo "$ac_has_win32_sleep" >&6; }
21790 CXXFLAGS="$ac_save_CXXFLAGS"
21791 LIBS="$ac_save_LIBS"
21792 ac_ext=c
21793 ac_cpp='$CPP $CPPFLAGS'
21794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21800 # Check for tmpnam which is obsolescent in POSIX.1-2008
21802 ac_ext=cpp
21803 ac_cpp='$CXXCPP $CPPFLAGS'
21804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21808 ac_save_CXXFLAGS="$CXXFLAGS"
21809 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21811 $as_echo_n "checking for tmpnam... " >&6; }
21812 if ${glibcxx_cv_TMPNAM+:} false; then :
21813 $as_echo_n "(cached) " >&6
21814 else
21815 if test x$gcc_no_link = xyes; then
21816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21817 /* end confdefs.h. */
21818 #include <stdio.h>
21820 main ()
21822 char *tmp = tmpnam(NULL);
21824 return 0;
21826 _ACEOF
21827 if ac_fn_cxx_try_compile "$LINENO"; then :
21828 glibcxx_cv_TMPNAM=yes
21829 else
21830 glibcxx_cv_TMPNAM=no
21832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21833 else
21834 if test x$gcc_no_link = xyes; then
21835 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21838 /* end confdefs.h. */
21839 #include <stdio.h>
21841 main ()
21843 char *tmp = tmpnam(NULL);
21845 return 0;
21847 _ACEOF
21848 if ac_fn_cxx_try_link "$LINENO"; then :
21849 glibcxx_cv_TMPNAM=yes
21850 else
21851 glibcxx_cv_TMPNAM=no
21853 rm -f core conftest.err conftest.$ac_objext \
21854 conftest$ac_exeext conftest.$ac_ext
21859 if test $glibcxx_cv_TMPNAM = yes; then
21861 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21865 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21866 CXXFLAGS="$ac_save_CXXFLAGS"
21867 ac_ext=c
21868 ac_cpp='$CPP $CPPFLAGS'
21869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21875 # For pthread_cond_clockwait
21879 ac_ext=cpp
21880 ac_cpp='$CXXCPP $CPPFLAGS'
21881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21885 ac_save_CXXFLAGS="$CXXFLAGS"
21886 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21887 ac_save_LIBS="$LIBS"
21888 LIBS="$LIBS -lpthread"
21890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_clockwait" >&5
21891 $as_echo_n "checking for pthread_cond_clockwait... " >&6; }
21892 if ${glibcxx_cv_PTHREAD_COND_CLOCKWAIT+:} false; then :
21893 $as_echo_n "(cached) " >&6
21894 else
21896 if test x$gcc_no_link = xyes; then
21897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21898 /* end confdefs.h. */
21899 #include <pthread.h>
21901 main ()
21903 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21905 return 0;
21907 _ACEOF
21908 if ac_fn_cxx_try_compile "$LINENO"; then :
21909 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21910 else
21911 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21914 else
21915 if test x$gcc_no_link = xyes; then
21916 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21919 /* end confdefs.h. */
21920 #include <pthread.h>
21922 main ()
21924 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21926 return 0;
21928 _ACEOF
21929 if ac_fn_cxx_try_link "$LINENO"; then :
21930 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21931 else
21932 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21934 rm -f core conftest.err conftest.$ac_objext \
21935 conftest$ac_exeext conftest.$ac_ext
21940 if test $glibcxx_cv_PTHREAD_COND_CLOCKWAIT = yes; then
21942 $as_echo "#define _GLIBCXX_USE_PTHREAD_COND_CLOCKWAIT 1" >>confdefs.h
21945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&5
21946 $as_echo "$glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&6; }
21948 CXXFLAGS="$ac_save_CXXFLAGS"
21949 LIBS="$ac_save_LIBS"
21950 ac_ext=c
21951 ac_cpp='$CPP $CPPFLAGS'
21952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21958 # For pthread_mutex_clocklock
21962 ac_ext=cpp
21963 ac_cpp='$CXXCPP $CPPFLAGS'
21964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21968 ac_save_CXXFLAGS="$CXXFLAGS"
21969 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21970 ac_save_LIBS="$LIBS"
21971 LIBS="$LIBS -lpthread"
21973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_clocklock" >&5
21974 $as_echo_n "checking for pthread_mutex_clocklock... " >&6; }
21975 if ${glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK+:} false; then :
21976 $as_echo_n "(cached) " >&6
21977 else
21979 if test x$gcc_no_link = xyes; then
21980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21981 /* end confdefs.h. */
21982 #include <pthread.h>
21984 main ()
21986 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21988 return 0;
21990 _ACEOF
21991 if ac_fn_cxx_try_compile "$LINENO"; then :
21992 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21993 else
21994 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21997 else
21998 if test x$gcc_no_link = xyes; then
21999 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22002 /* end confdefs.h. */
22003 #include <pthread.h>
22005 main ()
22007 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
22009 return 0;
22011 _ACEOF
22012 if ac_fn_cxx_try_link "$LINENO"; then :
22013 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
22014 else
22015 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
22017 rm -f core conftest.err conftest.$ac_objext \
22018 conftest$ac_exeext conftest.$ac_ext
22023 if test $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK = yes; then
22025 $as_echo "#define _GLIBCXX_USE_PTHREAD_MUTEX_CLOCKLOCK 1" >>confdefs.h
22028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&5
22029 $as_echo "$glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&6; }
22031 CXXFLAGS="$ac_save_CXXFLAGS"
22032 LIBS="$ac_save_LIBS"
22033 ac_ext=c
22034 ac_cpp='$CPP $CPPFLAGS'
22035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22041 # For pthread_rwlock_clockrdlock and pthread_rwlock_clockwrlock
22045 ac_ext=cpp
22046 ac_cpp='$CXXCPP $CPPFLAGS'
22047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22051 ac_save_CXXFLAGS="$CXXFLAGS"
22052 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22053 ac_save_LIBS="$LIBS"
22054 LIBS="$LIBS -lpthread"
22056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock" >&5
22057 $as_echo_n "checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock... " >&6; }
22058 if ${glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK+:} false; then :
22059 $as_echo_n "(cached) " >&6
22060 else
22062 if test x$gcc_no_link = xyes; then
22063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22064 /* end confdefs.h. */
22065 #include <pthread.h>
22067 main ()
22069 pthread_rwlock_t rwl; struct timespec ts;
22070 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
22071 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
22073 return 0;
22075 _ACEOF
22076 if ac_fn_cxx_try_compile "$LINENO"; then :
22077 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
22078 else
22079 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
22081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22082 else
22083 if test x$gcc_no_link = xyes; then
22084 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22087 /* end confdefs.h. */
22088 #include <pthread.h>
22090 main ()
22092 pthread_rwlock_t rwl; struct timespec ts;
22093 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
22094 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
22096 return 0;
22098 _ACEOF
22099 if ac_fn_cxx_try_link "$LINENO"; then :
22100 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
22101 else
22102 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
22104 rm -f core conftest.err conftest.$ac_objext \
22105 conftest$ac_exeext conftest.$ac_ext
22110 if test $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK = yes; then
22112 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_CLOCKLOCK 1" >>confdefs.h
22115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&5
22116 $as_echo "$glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&6; }
22118 CXXFLAGS="$ac_save_CXXFLAGS"
22119 LIBS="$ac_save_LIBS"
22120 ac_ext=c
22121 ac_cpp='$CPP $CPPFLAGS'
22122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22129 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
22130 if test "x$ac_cv_header_locale_h" = xyes; then :
22132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
22133 $as_echo_n "checking for LC_MESSAGES... " >&6; }
22134 if ${ac_cv_val_LC_MESSAGES+:} false; then :
22135 $as_echo_n "(cached) " >&6
22136 else
22137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22138 /* end confdefs.h. */
22139 #include <locale.h>
22141 main ()
22143 return LC_MESSAGES
22145 return 0;
22147 _ACEOF
22148 if ac_fn_c_try_compile "$LINENO"; then :
22149 ac_cv_val_LC_MESSAGES=yes
22150 else
22151 ac_cv_val_LC_MESSAGES=no
22153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
22156 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
22157 if test $ac_cv_val_LC_MESSAGES = yes; then
22159 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
22168 # For hardware_concurrency
22169 for ac_header in sys/sysinfo.h
22170 do :
22171 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
22172 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
22173 cat >>confdefs.h <<_ACEOF
22174 #define HAVE_SYS_SYSINFO_H 1
22175 _ACEOF
22179 done
22184 ac_ext=cpp
22185 ac_cpp='$CXXCPP $CPPFLAGS'
22186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22190 ac_save_CXXFLAGS="$CXXFLAGS"
22191 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
22194 $as_echo_n "checking for get_nprocs... " >&6; }
22195 if ${glibcxx_cv_GET_NPROCS+:} false; then :
22196 $as_echo_n "(cached) " >&6
22197 else
22199 if test x$gcc_no_link = xyes; then
22200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22201 /* end confdefs.h. */
22202 #include <sys/sysinfo.h>
22204 main ()
22206 int n = get_nprocs();
22208 return 0;
22210 _ACEOF
22211 if ac_fn_cxx_try_compile "$LINENO"; then :
22212 glibcxx_cv_GET_NPROCS=yes
22213 else
22214 glibcxx_cv_GET_NPROCS=no
22216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22217 else
22218 if test x$gcc_no_link = xyes; then
22219 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22222 /* end confdefs.h. */
22223 #include <sys/sysinfo.h>
22225 main ()
22227 int n = get_nprocs();
22229 return 0;
22231 _ACEOF
22232 if ac_fn_cxx_try_link "$LINENO"; then :
22233 glibcxx_cv_GET_NPROCS=yes
22234 else
22235 glibcxx_cv_GET_NPROCS=no
22237 rm -f core conftest.err conftest.$ac_objext \
22238 conftest$ac_exeext conftest.$ac_ext
22243 if test $glibcxx_cv_GET_NPROCS = yes; then
22245 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
22248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
22249 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
22251 CXXFLAGS="$ac_save_CXXFLAGS"
22252 ac_ext=c
22253 ac_cpp='$CPP $CPPFLAGS'
22254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22259 for ac_header in unistd.h
22260 do :
22261 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
22262 if test "x$ac_cv_header_unistd_h" = xyes; then :
22263 cat >>confdefs.h <<_ACEOF
22264 #define HAVE_UNISTD_H 1
22265 _ACEOF
22269 done
22274 ac_ext=cpp
22275 ac_cpp='$CXXCPP $CPPFLAGS'
22276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22280 ac_save_CXXFLAGS="$CXXFLAGS"
22281 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
22284 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
22285 if ${glibcxx_cv_SC_NPROCESSORS_ONLN+:} false; then :
22286 $as_echo_n "(cached) " >&6
22287 else
22289 if test x$gcc_no_link = xyes; then
22290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22291 /* end confdefs.h. */
22292 #include <unistd.h>
22294 main ()
22296 int n = sysconf(_SC_NPROCESSORS_ONLN);
22298 return 0;
22300 _ACEOF
22301 if ac_fn_cxx_try_compile "$LINENO"; then :
22302 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
22303 else
22304 glibcxx_cv_SC_NPROCESSORS_ONLN=no
22306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22307 else
22308 if test x$gcc_no_link = xyes; then
22309 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22312 /* end confdefs.h. */
22313 #include <unistd.h>
22315 main ()
22317 int n = sysconf(_SC_NPROCESSORS_ONLN);
22319 return 0;
22321 _ACEOF
22322 if ac_fn_cxx_try_link "$LINENO"; then :
22323 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
22324 else
22325 glibcxx_cv_SC_NPROCESSORS_ONLN=no
22327 rm -f core conftest.err conftest.$ac_objext \
22328 conftest$ac_exeext conftest.$ac_ext
22333 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
22335 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
22338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
22339 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
22341 CXXFLAGS="$ac_save_CXXFLAGS"
22342 ac_ext=c
22343 ac_cpp='$CPP $CPPFLAGS'
22344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22352 ac_ext=cpp
22353 ac_cpp='$CXXCPP $CPPFLAGS'
22354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22358 ac_save_CXXFLAGS="$CXXFLAGS"
22359 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
22362 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
22363 if ${glibcxx_cv_SC_NPROC_ONLN+:} false; then :
22364 $as_echo_n "(cached) " >&6
22365 else
22367 if test x$gcc_no_link = xyes; then
22368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22369 /* end confdefs.h. */
22370 #include <unistd.h>
22372 main ()
22374 int n = sysconf(_SC_NPROC_ONLN);
22376 return 0;
22378 _ACEOF
22379 if ac_fn_cxx_try_compile "$LINENO"; then :
22380 glibcxx_cv_SC_NPROC_ONLN=yes
22381 else
22382 glibcxx_cv_SC_NPROC_ONLN=no
22384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22385 else
22386 if test x$gcc_no_link = xyes; then
22387 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22390 /* end confdefs.h. */
22391 #include <unistd.h>
22393 main ()
22395 int n = sysconf(_SC_NPROC_ONLN);
22397 return 0;
22399 _ACEOF
22400 if ac_fn_cxx_try_link "$LINENO"; then :
22401 glibcxx_cv_SC_NPROC_ONLN=yes
22402 else
22403 glibcxx_cv_SC_NPROC_ONLN=no
22405 rm -f core conftest.err conftest.$ac_objext \
22406 conftest$ac_exeext conftest.$ac_ext
22411 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
22413 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
22416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
22417 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
22419 CXXFLAGS="$ac_save_CXXFLAGS"
22420 ac_ext=c
22421 ac_cpp='$CPP $CPPFLAGS'
22422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22430 ac_ext=cpp
22431 ac_cpp='$CXXCPP $CPPFLAGS'
22432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22436 ac_save_CXXFLAGS="$CXXFLAGS"
22437 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
22440 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
22441 if ${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+:} false; then :
22442 $as_echo_n "(cached) " >&6
22443 else
22445 if test x$gcc_no_link = xyes; then
22446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22447 /* end confdefs.h. */
22448 #include <pthread.h>
22450 main ()
22452 int n = pthread_num_processors_np();
22454 return 0;
22456 _ACEOF
22457 if ac_fn_cxx_try_compile "$LINENO"; then :
22458 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
22459 else
22460 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
22462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22463 else
22464 if test x$gcc_no_link = xyes; then
22465 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22468 /* end confdefs.h. */
22469 #include <pthread.h>
22471 main ()
22473 int n = pthread_num_processors_np();
22475 return 0;
22477 _ACEOF
22478 if ac_fn_cxx_try_link "$LINENO"; then :
22479 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
22480 else
22481 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
22483 rm -f core conftest.err conftest.$ac_objext \
22484 conftest$ac_exeext conftest.$ac_ext
22489 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
22491 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
22494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
22495 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
22497 CXXFLAGS="$ac_save_CXXFLAGS"
22498 ac_ext=c
22499 ac_cpp='$CPP $CPPFLAGS'
22500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22508 ac_ext=cpp
22509 ac_cpp='$CXXCPP $CPPFLAGS'
22510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22514 ac_save_CXXFLAGS="$CXXFLAGS"
22515 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
22518 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
22519 if ${glibcxx_cv_SYSCTL_HW_NCPU+:} false; then :
22520 $as_echo_n "(cached) " >&6
22521 else
22523 if test x$gcc_no_link = xyes; then
22524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22525 /* end confdefs.h. */
22527 #include <stddef.h>
22528 #include <sys/sysctl.h>
22531 main ()
22534 int count;
22535 size_t size = sizeof(count);
22536 int mib[] = { CTL_HW, HW_NCPU };
22537 sysctl(mib, 2, &count, &size, NULL, 0);
22540 return 0;
22542 _ACEOF
22543 if ac_fn_cxx_try_compile "$LINENO"; then :
22544 glibcxx_cv_SYSCTL_HW_NCPU=yes
22545 else
22546 glibcxx_cv_SYSCTL_HW_NCPU=no
22548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22549 else
22550 if test x$gcc_no_link = xyes; then
22551 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22554 /* end confdefs.h. */
22556 #include <stddef.h>
22557 #include <sys/sysctl.h>
22560 main ()
22563 int count;
22564 size_t size = sizeof(count);
22565 int mib[] = { CTL_HW, HW_NCPU };
22566 sysctl(mib, 2, &count, &size, NULL, 0);
22569 return 0;
22571 _ACEOF
22572 if ac_fn_cxx_try_link "$LINENO"; then :
22573 glibcxx_cv_SYSCTL_HW_NCPU=yes
22574 else
22575 glibcxx_cv_SYSCTL_HW_NCPU=no
22577 rm -f core conftest.err conftest.$ac_objext \
22578 conftest$ac_exeext conftest.$ac_ext
22583 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
22585 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
22588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
22589 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
22591 CXXFLAGS="$ac_save_CXXFLAGS"
22592 ac_ext=c
22593 ac_cpp='$CPP $CPPFLAGS'
22594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
22601 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
22602 # Note that this test has to be run with the C language.
22603 # Otherwise, sdt.h will try to include some headers from
22604 # libstdc++ itself.
22606 ac_ext=c
22607 ac_cpp='$CPP $CPPFLAGS'
22608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22612 if ${glibcxx_cv_sys_sdt_h+:} false; then :
22613 $as_echo_n "(cached) " >&6
22614 else
22616 # Because we have to run the test in C, we use grep rather
22617 # than the compiler to check for the bug. The bug is that
22618 # were strings without trailing whitespace, causing g++
22619 # to look for operator"". The pattern searches for the fixed
22620 # output.
22621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22622 /* end confdefs.h. */
22624 #include <sys/sdt.h>
22625 int f() { STAP_PROBE(hi, bob); }
22627 _ACEOF
22628 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22629 $EGREP " \",\" " >/dev/null 2>&1; then :
22630 glibcxx_cv_sys_sdt_h=yes
22631 else
22632 glibcxx_cv_sys_sdt_h=no
22634 rm -f conftest*
22639 ac_ext=c
22640 ac_cpp='$CPP $CPPFLAGS'
22641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22645 if test $glibcxx_cv_sys_sdt_h = yes; then
22647 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
22650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
22651 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
22654 # Check for available headers.
22655 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
22656 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
22657 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
22658 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
22659 wchar.h wctype.h linux/types.h
22660 do :
22661 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22662 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
22663 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
22664 cat >>confdefs.h <<_ACEOF
22665 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22666 _ACEOF
22670 done
22673 for ac_header in linux/random.h
22674 do :
22675 ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
22676 # include <linux/types.h>
22677 #endif
22680 if test "x$ac_cv_header_linux_random_h" = xyes; then :
22681 cat >>confdefs.h <<_ACEOF
22682 #define HAVE_LINUX_RANDOM_H 1
22683 _ACEOF
22687 done
22690 for ac_header in xlocale.h
22691 do :
22692 ac_fn_c_check_header_mongrel "$LINENO" "xlocale.h" "ac_cv_header_xlocale_h" "$ac_includes_default"
22693 if test "x$ac_cv_header_xlocale_h" = xyes; then :
22694 cat >>confdefs.h <<_ACEOF
22695 #define HAVE_XLOCALE_H 1
22696 _ACEOF
22700 done
22703 # Only do link tests if native. Else, hardcode.
22704 if $GLIBCXX_IS_NATIVE; then
22706 # We can do more elaborate tests that assume a working linker.
22707 CANADIAN=no
22711 # Check whether --with-gnu-ld was given.
22712 if test "${with_gnu_ld+set}" = set; then :
22713 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
22714 else
22715 with_gnu_ld=no
22718 ac_prog=ld
22719 if test "$GCC" = yes; then
22720 # Check if gcc -print-prog-name=ld gives a path.
22721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
22722 $as_echo_n "checking for ld used by $CC... " >&6; }
22723 case $host in
22724 *-*-mingw*)
22725 # gcc leaves a trailing carriage return which upsets mingw
22726 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
22728 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
22729 esac
22730 case $ac_prog in
22731 # Accept absolute paths.
22732 [\\/]* | ?:[\\/]*)
22733 re_direlt='/[^/][^/]*/\.\./'
22734 # Canonicalize the pathname of ld
22735 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
22736 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
22737 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
22738 done
22739 test -z "$LD" && LD="$ac_prog"
22742 # If it fails, then pretend we aren't using GCC.
22743 ac_prog=ld
22746 # If it is relative, then search for the first ld in PATH.
22747 with_gnu_ld=unknown
22749 esac
22750 elif test "$with_gnu_ld" = yes; then
22751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
22752 $as_echo_n "checking for GNU ld... " >&6; }
22753 else
22754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
22755 $as_echo_n "checking for non-GNU ld... " >&6; }
22757 if ${lt_cv_path_LD+:} false; then :
22758 $as_echo_n "(cached) " >&6
22759 else
22760 if test -z "$LD"; then
22761 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
22762 for ac_dir in $PATH; do
22763 IFS="$lt_save_ifs"
22764 test -z "$ac_dir" && ac_dir=.
22765 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
22766 lt_cv_path_LD="$ac_dir/$ac_prog"
22767 # Check to see if the program is GNU ld. I'd rather use --version,
22768 # but apparently some variants of GNU ld only accept -v.
22769 # Break only if it was the GNU/non-GNU ld that we prefer.
22770 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
22771 *GNU* | *'with BFD'*)
22772 test "$with_gnu_ld" != no && break
22775 test "$with_gnu_ld" != yes && break
22777 esac
22779 done
22780 IFS="$lt_save_ifs"
22781 else
22782 lt_cv_path_LD="$LD" # Let the user override the test with a path.
22786 LD="$lt_cv_path_LD"
22787 if test -n "$LD"; then
22788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
22789 $as_echo "$LD" >&6; }
22790 else
22791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22792 $as_echo "no" >&6; }
22794 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
22795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
22796 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
22797 if ${lt_cv_prog_gnu_ld+:} false; then :
22798 $as_echo_n "(cached) " >&6
22799 else
22800 # I'd rather use --version here, but apparently some GNU lds only accept -v.
22801 case `$LD -v 2>&1 </dev/null` in
22802 *GNU* | *'with BFD'*)
22803 lt_cv_prog_gnu_ld=yes
22806 lt_cv_prog_gnu_ld=no
22808 esac
22810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
22811 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
22812 with_gnu_ld=$lt_cv_prog_gnu_ld
22820 # If we're not using GNU ld, then there's no point in even trying these
22821 # tests. Check for that first. We should have already tested for gld
22822 # by now (in libtool), but require it now just to be safe...
22823 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
22824 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
22828 # The name set by libtool depends on the version of libtool. Shame on us
22829 # for depending on an impl detail, but c'est la vie. Older versions used
22830 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
22831 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
22832 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
22833 # set (hence we're using an older libtool), then set it.
22834 if test x${with_gnu_ld+set} != xset; then
22835 if test x${ac_cv_prog_gnu_ld+set} != xset; then
22836 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
22837 with_gnu_ld=no
22838 else
22839 with_gnu_ld=$ac_cv_prog_gnu_ld
22843 # Start by getting the version number. I think the libtool test already
22844 # does some of this, but throws away the result.
22845 glibcxx_ld_is_gold=no
22846 if test x"$with_gnu_ld" = x"yes"; then
22847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
22848 $as_echo_n "checking for ld version... " >&6; }
22850 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
22851 glibcxx_ld_is_gold=yes
22853 ldver=`$LD --version 2>/dev/null |
22854 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
22856 glibcxx_gnu_ld_version=`echo $ldver | \
22857 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
22858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
22859 $as_echo "$glibcxx_gnu_ld_version" >&6; }
22862 # Set --gc-sections.
22863 glibcxx_have_gc_sections=no
22864 if test "$glibcxx_ld_is_gold" = "yes"; then
22865 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
22866 glibcxx_have_gc_sections=yes
22868 else
22869 glibcxx_gcsections_min_ld=21602
22870 if test x"$with_gnu_ld" = x"yes" &&
22871 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
22872 glibcxx_have_gc_sections=yes
22875 if test "$glibcxx_have_gc_sections" = "yes"; then
22876 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
22877 # NB: This flag only works reliably after 2.16.1. Configure tests
22878 # for this are difficult, so hard wire a value that should work.
22880 ac_test_CFLAGS="${CFLAGS+set}"
22881 ac_save_CFLAGS="$CFLAGS"
22882 CFLAGS='-Wl,--gc-sections'
22884 # Check for -Wl,--gc-sections
22885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22886 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22887 if test x$gcc_no_link = xyes; then
22888 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22891 /* end confdefs.h. */
22892 int one(void) { return 1; }
22893 int two(void) { return 2; }
22896 main ()
22898 two();
22900 return 0;
22902 _ACEOF
22903 if ac_fn_c_try_link "$LINENO"; then :
22904 ac_gcsections=yes
22905 else
22906 ac_gcsections=no
22908 rm -f core conftest.err conftest.$ac_objext \
22909 conftest$ac_exeext conftest.$ac_ext
22910 if test "$ac_gcsections" = "yes"; then
22911 rm -f conftest.c
22912 touch conftest.c
22913 if $CC -c conftest.c; then
22914 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22915 grep "Warning: gc-sections option ignored" > /dev/null; then
22916 ac_gcsections=no
22919 rm -f conftest.c conftest.o conftest
22921 if test "$ac_gcsections" = "yes"; then
22922 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22925 $as_echo "$ac_gcsections" >&6; }
22927 if test "$ac_test_CFLAGS" = set; then
22928 CFLAGS="$ac_save_CFLAGS"
22929 else
22930 # this is the suspicious part
22931 CFLAGS=''
22935 # Set -z,relro.
22936 # Note this is only for shared objects.
22937 ac_ld_relro=no
22938 if test x"$with_gnu_ld" = x"yes"; then
22939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22940 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22941 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22942 if test -n "$cxx_z_relo"; then
22943 OPT_LDFLAGS="-Wl,-z,relro"
22944 ac_ld_relro=yes
22946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22947 $as_echo "$ac_ld_relro" >&6; }
22950 # Set linker optimization flags.
22951 if test x"$with_gnu_ld" = x"yes"; then
22952 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22959 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22960 ac_save_CXXFLAGS="$CXXFLAGS"
22961 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22964 $as_echo_n "checking for sin in -lm... " >&6; }
22965 if ${ac_cv_lib_m_sin+:} false; then :
22966 $as_echo_n "(cached) " >&6
22967 else
22968 ac_check_lib_save_LIBS=$LIBS
22969 LIBS="-lm $LIBS"
22970 if test x$gcc_no_link = xyes; then
22971 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22974 /* end confdefs.h. */
22976 /* Override any GCC internal prototype to avoid an error.
22977 Use char because int might match the return type of a GCC
22978 builtin and then its argument prototype would still apply. */
22979 #ifdef __cplusplus
22980 extern "C"
22981 #endif
22982 char sin ();
22984 main ()
22986 return sin ();
22988 return 0;
22990 _ACEOF
22991 if ac_fn_c_try_link "$LINENO"; then :
22992 ac_cv_lib_m_sin=yes
22993 else
22994 ac_cv_lib_m_sin=no
22996 rm -f core conftest.err conftest.$ac_objext \
22997 conftest$ac_exeext conftest.$ac_ext
22998 LIBS=$ac_check_lib_save_LIBS
23000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
23001 $as_echo "$ac_cv_lib_m_sin" >&6; }
23002 if test "x$ac_cv_lib_m_sin" = xyes; then :
23003 libm="-lm"
23006 ac_save_LIBS="$LIBS"
23007 LIBS="$LIBS $libm"
23011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
23012 $as_echo_n "checking for isinf declaration... " >&6; }
23013 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
23014 if ${glibcxx_cv_func_isinf_use+:} false; then :
23015 $as_echo_n "(cached) " >&6
23016 else
23019 ac_ext=cpp
23020 ac_cpp='$CXXCPP $CPPFLAGS'
23021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23026 /* end confdefs.h. */
23027 #include <math.h>
23028 #ifdef HAVE_IEEEFP_H
23029 #include <ieeefp.h>
23030 #endif
23033 main ()
23035 isinf(0);
23037 return 0;
23039 _ACEOF
23040 if ac_fn_cxx_try_compile "$LINENO"; then :
23041 glibcxx_cv_func_isinf_use=yes
23042 else
23043 glibcxx_cv_func_isinf_use=no
23045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23046 ac_ext=c
23047 ac_cpp='$CPP $CPPFLAGS'
23048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
23057 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
23059 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
23060 for ac_func in isinf
23061 do :
23062 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
23063 if test "x$ac_cv_func_isinf" = xyes; then :
23064 cat >>confdefs.h <<_ACEOF
23065 #define HAVE_ISINF 1
23066 _ACEOF
23069 done
23071 else
23073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
23074 $as_echo_n "checking for _isinf declaration... " >&6; }
23075 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
23076 if ${glibcxx_cv_func__isinf_use+:} false; then :
23077 $as_echo_n "(cached) " >&6
23078 else
23081 ac_ext=cpp
23082 ac_cpp='$CXXCPP $CPPFLAGS'
23083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23088 /* end confdefs.h. */
23089 #include <math.h>
23090 #ifdef HAVE_IEEEFP_H
23091 #include <ieeefp.h>
23092 #endif
23095 main ()
23097 _isinf(0);
23099 return 0;
23101 _ACEOF
23102 if ac_fn_cxx_try_compile "$LINENO"; then :
23103 glibcxx_cv_func__isinf_use=yes
23104 else
23105 glibcxx_cv_func__isinf_use=no
23107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23108 ac_ext=c
23109 ac_cpp='$CPP $CPPFLAGS'
23110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
23119 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
23121 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
23122 for ac_func in _isinf
23123 do :
23124 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
23125 if test "x$ac_cv_func__isinf" = xyes; then :
23126 cat >>confdefs.h <<_ACEOF
23127 #define HAVE__ISINF 1
23128 _ACEOF
23131 done
23140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
23141 $as_echo_n "checking for isnan declaration... " >&6; }
23142 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
23143 if ${glibcxx_cv_func_isnan_use+:} false; then :
23144 $as_echo_n "(cached) " >&6
23145 else
23148 ac_ext=cpp
23149 ac_cpp='$CXXCPP $CPPFLAGS'
23150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23155 /* end confdefs.h. */
23156 #include <math.h>
23157 #ifdef HAVE_IEEEFP_H
23158 #include <ieeefp.h>
23159 #endif
23162 main ()
23164 isnan(0);
23166 return 0;
23168 _ACEOF
23169 if ac_fn_cxx_try_compile "$LINENO"; then :
23170 glibcxx_cv_func_isnan_use=yes
23171 else
23172 glibcxx_cv_func_isnan_use=no
23174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23175 ac_ext=c
23176 ac_cpp='$CPP $CPPFLAGS'
23177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
23186 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
23188 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
23189 for ac_func in isnan
23190 do :
23191 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
23192 if test "x$ac_cv_func_isnan" = xyes; then :
23193 cat >>confdefs.h <<_ACEOF
23194 #define HAVE_ISNAN 1
23195 _ACEOF
23198 done
23200 else
23202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
23203 $as_echo_n "checking for _isnan declaration... " >&6; }
23204 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
23205 if ${glibcxx_cv_func__isnan_use+:} false; then :
23206 $as_echo_n "(cached) " >&6
23207 else
23210 ac_ext=cpp
23211 ac_cpp='$CXXCPP $CPPFLAGS'
23212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23217 /* end confdefs.h. */
23218 #include <math.h>
23219 #ifdef HAVE_IEEEFP_H
23220 #include <ieeefp.h>
23221 #endif
23224 main ()
23226 _isnan(0);
23228 return 0;
23230 _ACEOF
23231 if ac_fn_cxx_try_compile "$LINENO"; then :
23232 glibcxx_cv_func__isnan_use=yes
23233 else
23234 glibcxx_cv_func__isnan_use=no
23236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23237 ac_ext=c
23238 ac_cpp='$CPP $CPPFLAGS'
23239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
23248 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
23250 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
23251 for ac_func in _isnan
23252 do :
23253 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
23254 if test "x$ac_cv_func__isnan" = xyes; then :
23255 cat >>confdefs.h <<_ACEOF
23256 #define HAVE__ISNAN 1
23257 _ACEOF
23260 done
23269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
23270 $as_echo_n "checking for finite declaration... " >&6; }
23271 if test x${glibcxx_cv_func_finite_use+set} != xset; then
23272 if ${glibcxx_cv_func_finite_use+:} false; then :
23273 $as_echo_n "(cached) " >&6
23274 else
23277 ac_ext=cpp
23278 ac_cpp='$CXXCPP $CPPFLAGS'
23279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23284 /* end confdefs.h. */
23285 #include <math.h>
23286 #ifdef HAVE_IEEEFP_H
23287 #include <ieeefp.h>
23288 #endif
23291 main ()
23293 finite(0);
23295 return 0;
23297 _ACEOF
23298 if ac_fn_cxx_try_compile "$LINENO"; then :
23299 glibcxx_cv_func_finite_use=yes
23300 else
23301 glibcxx_cv_func_finite_use=no
23303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23304 ac_ext=c
23305 ac_cpp='$CPP $CPPFLAGS'
23306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
23315 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
23317 if test x$glibcxx_cv_func_finite_use = x"yes"; then
23318 for ac_func in finite
23319 do :
23320 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
23321 if test "x$ac_cv_func_finite" = xyes; then :
23322 cat >>confdefs.h <<_ACEOF
23323 #define HAVE_FINITE 1
23324 _ACEOF
23327 done
23329 else
23331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
23332 $as_echo_n "checking for _finite declaration... " >&6; }
23333 if test x${glibcxx_cv_func__finite_use+set} != xset; then
23334 if ${glibcxx_cv_func__finite_use+:} false; then :
23335 $as_echo_n "(cached) " >&6
23336 else
23339 ac_ext=cpp
23340 ac_cpp='$CXXCPP $CPPFLAGS'
23341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23346 /* end confdefs.h. */
23347 #include <math.h>
23348 #ifdef HAVE_IEEEFP_H
23349 #include <ieeefp.h>
23350 #endif
23353 main ()
23355 _finite(0);
23357 return 0;
23359 _ACEOF
23360 if ac_fn_cxx_try_compile "$LINENO"; then :
23361 glibcxx_cv_func__finite_use=yes
23362 else
23363 glibcxx_cv_func__finite_use=no
23365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23366 ac_ext=c
23367 ac_cpp='$CPP $CPPFLAGS'
23368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
23377 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
23379 if test x$glibcxx_cv_func__finite_use = x"yes"; then
23380 for ac_func in _finite
23381 do :
23382 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
23383 if test "x$ac_cv_func__finite" = xyes; then :
23384 cat >>confdefs.h <<_ACEOF
23385 #define HAVE__FINITE 1
23386 _ACEOF
23389 done
23398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
23399 $as_echo_n "checking for sincos declaration... " >&6; }
23400 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
23401 if ${glibcxx_cv_func_sincos_use+:} false; then :
23402 $as_echo_n "(cached) " >&6
23403 else
23406 ac_ext=cpp
23407 ac_cpp='$CXXCPP $CPPFLAGS'
23408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23413 /* end confdefs.h. */
23414 #include <math.h>
23416 main ()
23418 sincos(0, 0, 0);
23420 return 0;
23422 _ACEOF
23423 if ac_fn_cxx_try_compile "$LINENO"; then :
23424 glibcxx_cv_func_sincos_use=yes
23425 else
23426 glibcxx_cv_func_sincos_use=no
23428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23429 ac_ext=c
23430 ac_cpp='$CPP $CPPFLAGS'
23431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
23440 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
23442 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
23443 for ac_func in sincos
23444 do :
23445 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
23446 if test "x$ac_cv_func_sincos" = xyes; then :
23447 cat >>confdefs.h <<_ACEOF
23448 #define HAVE_SINCOS 1
23449 _ACEOF
23452 done
23454 else
23456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
23457 $as_echo_n "checking for _sincos declaration... " >&6; }
23458 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
23459 if ${glibcxx_cv_func__sincos_use+:} false; then :
23460 $as_echo_n "(cached) " >&6
23461 else
23464 ac_ext=cpp
23465 ac_cpp='$CXXCPP $CPPFLAGS'
23466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23471 /* end confdefs.h. */
23472 #include <math.h>
23474 main ()
23476 _sincos(0, 0, 0);
23478 return 0;
23480 _ACEOF
23481 if ac_fn_cxx_try_compile "$LINENO"; then :
23482 glibcxx_cv_func__sincos_use=yes
23483 else
23484 glibcxx_cv_func__sincos_use=no
23486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23487 ac_ext=c
23488 ac_cpp='$CPP $CPPFLAGS'
23489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
23498 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
23500 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
23501 for ac_func in _sincos
23502 do :
23503 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
23504 if test "x$ac_cv_func__sincos" = xyes; then :
23505 cat >>confdefs.h <<_ACEOF
23506 #define HAVE__SINCOS 1
23507 _ACEOF
23510 done
23519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
23520 $as_echo_n "checking for fpclass declaration... " >&6; }
23521 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
23522 if ${glibcxx_cv_func_fpclass_use+:} false; then :
23523 $as_echo_n "(cached) " >&6
23524 else
23527 ac_ext=cpp
23528 ac_cpp='$CXXCPP $CPPFLAGS'
23529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23534 /* end confdefs.h. */
23535 #include <math.h>
23536 #ifdef HAVE_IEEEFP_H
23537 #include <ieeefp.h>
23538 #endif
23541 main ()
23543 fpclass(0);
23545 return 0;
23547 _ACEOF
23548 if ac_fn_cxx_try_compile "$LINENO"; then :
23549 glibcxx_cv_func_fpclass_use=yes
23550 else
23551 glibcxx_cv_func_fpclass_use=no
23553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23554 ac_ext=c
23555 ac_cpp='$CPP $CPPFLAGS'
23556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
23565 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
23567 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
23568 for ac_func in fpclass
23569 do :
23570 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
23571 if test "x$ac_cv_func_fpclass" = xyes; then :
23572 cat >>confdefs.h <<_ACEOF
23573 #define HAVE_FPCLASS 1
23574 _ACEOF
23577 done
23579 else
23581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
23582 $as_echo_n "checking for _fpclass declaration... " >&6; }
23583 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
23584 if ${glibcxx_cv_func__fpclass_use+:} false; then :
23585 $as_echo_n "(cached) " >&6
23586 else
23589 ac_ext=cpp
23590 ac_cpp='$CXXCPP $CPPFLAGS'
23591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23596 /* end confdefs.h. */
23597 #include <math.h>
23598 #ifdef HAVE_IEEEFP_H
23599 #include <ieeefp.h>
23600 #endif
23603 main ()
23605 _fpclass(0);
23607 return 0;
23609 _ACEOF
23610 if ac_fn_cxx_try_compile "$LINENO"; then :
23611 glibcxx_cv_func__fpclass_use=yes
23612 else
23613 glibcxx_cv_func__fpclass_use=no
23615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23616 ac_ext=c
23617 ac_cpp='$CPP $CPPFLAGS'
23618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
23627 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
23629 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
23630 for ac_func in _fpclass
23631 do :
23632 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
23633 if test "x$ac_cv_func__fpclass" = xyes; then :
23634 cat >>confdefs.h <<_ACEOF
23635 #define HAVE__FPCLASS 1
23636 _ACEOF
23639 done
23648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
23649 $as_echo_n "checking for qfpclass declaration... " >&6; }
23650 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
23651 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
23652 $as_echo_n "(cached) " >&6
23653 else
23656 ac_ext=cpp
23657 ac_cpp='$CXXCPP $CPPFLAGS'
23658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23663 /* end confdefs.h. */
23664 #include <math.h>
23665 #ifdef HAVE_IEEEFP_H
23666 #include <ieeefp.h>
23667 #endif
23670 main ()
23672 qfpclass(0);
23674 return 0;
23676 _ACEOF
23677 if ac_fn_cxx_try_compile "$LINENO"; then :
23678 glibcxx_cv_func_qfpclass_use=yes
23679 else
23680 glibcxx_cv_func_qfpclass_use=no
23682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23683 ac_ext=c
23684 ac_cpp='$CPP $CPPFLAGS'
23685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
23694 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
23696 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
23697 for ac_func in qfpclass
23698 do :
23699 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
23700 if test "x$ac_cv_func_qfpclass" = xyes; then :
23701 cat >>confdefs.h <<_ACEOF
23702 #define HAVE_QFPCLASS 1
23703 _ACEOF
23706 done
23708 else
23710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
23711 $as_echo_n "checking for _qfpclass declaration... " >&6; }
23712 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
23713 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
23714 $as_echo_n "(cached) " >&6
23715 else
23718 ac_ext=cpp
23719 ac_cpp='$CXXCPP $CPPFLAGS'
23720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23725 /* end confdefs.h. */
23726 #include <math.h>
23727 #ifdef HAVE_IEEEFP_H
23728 #include <ieeefp.h>
23729 #endif
23732 main ()
23734 _qfpclass(0);
23736 return 0;
23738 _ACEOF
23739 if ac_fn_cxx_try_compile "$LINENO"; then :
23740 glibcxx_cv_func__qfpclass_use=yes
23741 else
23742 glibcxx_cv_func__qfpclass_use=no
23744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23745 ac_ext=c
23746 ac_cpp='$CPP $CPPFLAGS'
23747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
23756 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
23758 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
23759 for ac_func in _qfpclass
23760 do :
23761 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
23762 if test "x$ac_cv_func__qfpclass" = xyes; then :
23763 cat >>confdefs.h <<_ACEOF
23764 #define HAVE__QFPCLASS 1
23765 _ACEOF
23768 done
23777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
23778 $as_echo_n "checking for hypot declaration... " >&6; }
23779 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
23780 if ${glibcxx_cv_func_hypot_use+:} false; then :
23781 $as_echo_n "(cached) " >&6
23782 else
23785 ac_ext=cpp
23786 ac_cpp='$CXXCPP $CPPFLAGS'
23787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23792 /* end confdefs.h. */
23793 #include <math.h>
23795 main ()
23797 hypot(0, 0);
23799 return 0;
23801 _ACEOF
23802 if ac_fn_cxx_try_compile "$LINENO"; then :
23803 glibcxx_cv_func_hypot_use=yes
23804 else
23805 glibcxx_cv_func_hypot_use=no
23807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23808 ac_ext=c
23809 ac_cpp='$CPP $CPPFLAGS'
23810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
23819 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
23821 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
23822 for ac_func in hypot
23823 do :
23824 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
23825 if test "x$ac_cv_func_hypot" = xyes; then :
23826 cat >>confdefs.h <<_ACEOF
23827 #define HAVE_HYPOT 1
23828 _ACEOF
23831 done
23833 else
23835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
23836 $as_echo_n "checking for _hypot declaration... " >&6; }
23837 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
23838 if ${glibcxx_cv_func__hypot_use+:} false; then :
23839 $as_echo_n "(cached) " >&6
23840 else
23843 ac_ext=cpp
23844 ac_cpp='$CXXCPP $CPPFLAGS'
23845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23850 /* end confdefs.h. */
23851 #include <math.h>
23853 main ()
23855 _hypot(0, 0);
23857 return 0;
23859 _ACEOF
23860 if ac_fn_cxx_try_compile "$LINENO"; then :
23861 glibcxx_cv_func__hypot_use=yes
23862 else
23863 glibcxx_cv_func__hypot_use=no
23865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23866 ac_ext=c
23867 ac_cpp='$CPP $CPPFLAGS'
23868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23877 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23879 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23880 for ac_func in _hypot
23881 do :
23882 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23883 if test "x$ac_cv_func__hypot" = xyes; then :
23884 cat >>confdefs.h <<_ACEOF
23885 #define HAVE__HYPOT 1
23886 _ACEOF
23889 done
23898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23899 $as_echo_n "checking for float trig functions... " >&6; }
23900 if ${glibcxx_cv_func_float_trig_use+:} false; then :
23901 $as_echo_n "(cached) " >&6
23902 else
23905 ac_ext=cpp
23906 ac_cpp='$CXXCPP $CPPFLAGS'
23907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23912 /* end confdefs.h. */
23913 #include <math.h>
23915 main ()
23917 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23919 return 0;
23921 _ACEOF
23922 if ac_fn_cxx_try_compile "$LINENO"; then :
23923 glibcxx_cv_func_float_trig_use=yes
23924 else
23925 glibcxx_cv_func_float_trig_use=no
23927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23928 ac_ext=c
23929 ac_cpp='$CPP $CPPFLAGS'
23930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23937 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23938 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23939 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23940 do :
23941 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23942 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23943 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23944 cat >>confdefs.h <<_ACEOF
23945 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23946 _ACEOF
23949 done
23951 else
23952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23953 $as_echo_n "checking for _float trig functions... " >&6; }
23954 if ${glibcxx_cv_func__float_trig_use+:} false; then :
23955 $as_echo_n "(cached) " >&6
23956 else
23959 ac_ext=cpp
23960 ac_cpp='$CXXCPP $CPPFLAGS'
23961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23966 /* end confdefs.h. */
23967 #include <math.h>
23969 main ()
23971 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23973 return 0;
23975 _ACEOF
23976 if ac_fn_cxx_try_compile "$LINENO"; then :
23977 glibcxx_cv_func__float_trig_use=yes
23978 else
23979 glibcxx_cv_func__float_trig_use=no
23981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23982 ac_ext=c
23983 ac_cpp='$CPP $CPPFLAGS'
23984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23991 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23992 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23993 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23994 do :
23995 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23996 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23997 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23998 cat >>confdefs.h <<_ACEOF
23999 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24000 _ACEOF
24003 done
24012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
24013 $as_echo_n "checking for float round functions... " >&6; }
24014 if ${glibcxx_cv_func_float_round_use+:} false; then :
24015 $as_echo_n "(cached) " >&6
24016 else
24019 ac_ext=cpp
24020 ac_cpp='$CXXCPP $CPPFLAGS'
24021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24026 /* end confdefs.h. */
24027 #include <math.h>
24029 main ()
24031 ceilf (0); floorf (0);
24033 return 0;
24035 _ACEOF
24036 if ac_fn_cxx_try_compile "$LINENO"; then :
24037 glibcxx_cv_func_float_round_use=yes
24038 else
24039 glibcxx_cv_func_float_round_use=no
24041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24042 ac_ext=c
24043 ac_cpp='$CPP $CPPFLAGS'
24044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
24051 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
24052 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
24053 for ac_func in ceilf floorf
24054 do :
24055 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24056 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24057 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
24058 cat >>confdefs.h <<_ACEOF
24059 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24060 _ACEOF
24063 done
24065 else
24066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
24067 $as_echo_n "checking for _float round functions... " >&6; }
24068 if ${glibcxx_cv_func__float_round_use+:} false; then :
24069 $as_echo_n "(cached) " >&6
24070 else
24073 ac_ext=cpp
24074 ac_cpp='$CXXCPP $CPPFLAGS'
24075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24080 /* end confdefs.h. */
24081 #include <math.h>
24083 main ()
24085 _ceilf (0); _floorf (0);
24087 return 0;
24089 _ACEOF
24090 if ac_fn_cxx_try_compile "$LINENO"; then :
24091 glibcxx_cv_func__float_round_use=yes
24092 else
24093 glibcxx_cv_func__float_round_use=no
24095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24096 ac_ext=c
24097 ac_cpp='$CPP $CPPFLAGS'
24098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
24105 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
24106 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
24107 for ac_func in _ceilf _floorf
24108 do :
24109 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24110 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24111 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
24112 cat >>confdefs.h <<_ACEOF
24113 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24114 _ACEOF
24117 done
24127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
24128 $as_echo_n "checking for expf declaration... " >&6; }
24129 if test x${glibcxx_cv_func_expf_use+set} != xset; then
24130 if ${glibcxx_cv_func_expf_use+:} false; then :
24131 $as_echo_n "(cached) " >&6
24132 else
24135 ac_ext=cpp
24136 ac_cpp='$CXXCPP $CPPFLAGS'
24137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24142 /* end confdefs.h. */
24143 #include <math.h>
24144 #ifdef HAVE_IEEEFP_H
24145 #include <ieeefp.h>
24146 #endif
24149 main ()
24151 expf(0);
24153 return 0;
24155 _ACEOF
24156 if ac_fn_cxx_try_compile "$LINENO"; then :
24157 glibcxx_cv_func_expf_use=yes
24158 else
24159 glibcxx_cv_func_expf_use=no
24161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24162 ac_ext=c
24163 ac_cpp='$CPP $CPPFLAGS'
24164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
24173 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
24175 if test x$glibcxx_cv_func_expf_use = x"yes"; then
24176 for ac_func in expf
24177 do :
24178 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
24179 if test "x$ac_cv_func_expf" = xyes; then :
24180 cat >>confdefs.h <<_ACEOF
24181 #define HAVE_EXPF 1
24182 _ACEOF
24185 done
24187 else
24189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
24190 $as_echo_n "checking for _expf declaration... " >&6; }
24191 if test x${glibcxx_cv_func__expf_use+set} != xset; then
24192 if ${glibcxx_cv_func__expf_use+:} false; then :
24193 $as_echo_n "(cached) " >&6
24194 else
24197 ac_ext=cpp
24198 ac_cpp='$CXXCPP $CPPFLAGS'
24199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24204 /* end confdefs.h. */
24205 #include <math.h>
24206 #ifdef HAVE_IEEEFP_H
24207 #include <ieeefp.h>
24208 #endif
24211 main ()
24213 _expf(0);
24215 return 0;
24217 _ACEOF
24218 if ac_fn_cxx_try_compile "$LINENO"; then :
24219 glibcxx_cv_func__expf_use=yes
24220 else
24221 glibcxx_cv_func__expf_use=no
24223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24224 ac_ext=c
24225 ac_cpp='$CPP $CPPFLAGS'
24226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
24235 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
24237 if test x$glibcxx_cv_func__expf_use = x"yes"; then
24238 for ac_func in _expf
24239 do :
24240 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
24241 if test "x$ac_cv_func__expf" = xyes; then :
24242 cat >>confdefs.h <<_ACEOF
24243 #define HAVE__EXPF 1
24244 _ACEOF
24247 done
24256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
24257 $as_echo_n "checking for isnanf declaration... " >&6; }
24258 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
24259 if ${glibcxx_cv_func_isnanf_use+:} false; then :
24260 $as_echo_n "(cached) " >&6
24261 else
24264 ac_ext=cpp
24265 ac_cpp='$CXXCPP $CPPFLAGS'
24266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24271 /* end confdefs.h. */
24272 #include <math.h>
24273 #ifdef HAVE_IEEEFP_H
24274 #include <ieeefp.h>
24275 #endif
24278 main ()
24280 isnanf(0);
24282 return 0;
24284 _ACEOF
24285 if ac_fn_cxx_try_compile "$LINENO"; then :
24286 glibcxx_cv_func_isnanf_use=yes
24287 else
24288 glibcxx_cv_func_isnanf_use=no
24290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24291 ac_ext=c
24292 ac_cpp='$CPP $CPPFLAGS'
24293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
24302 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
24304 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
24305 for ac_func in isnanf
24306 do :
24307 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
24308 if test "x$ac_cv_func_isnanf" = xyes; then :
24309 cat >>confdefs.h <<_ACEOF
24310 #define HAVE_ISNANF 1
24311 _ACEOF
24314 done
24316 else
24318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
24319 $as_echo_n "checking for _isnanf declaration... " >&6; }
24320 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
24321 if ${glibcxx_cv_func__isnanf_use+:} false; then :
24322 $as_echo_n "(cached) " >&6
24323 else
24326 ac_ext=cpp
24327 ac_cpp='$CXXCPP $CPPFLAGS'
24328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24333 /* end confdefs.h. */
24334 #include <math.h>
24335 #ifdef HAVE_IEEEFP_H
24336 #include <ieeefp.h>
24337 #endif
24340 main ()
24342 _isnanf(0);
24344 return 0;
24346 _ACEOF
24347 if ac_fn_cxx_try_compile "$LINENO"; then :
24348 glibcxx_cv_func__isnanf_use=yes
24349 else
24350 glibcxx_cv_func__isnanf_use=no
24352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24353 ac_ext=c
24354 ac_cpp='$CPP $CPPFLAGS'
24355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
24364 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
24366 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
24367 for ac_func in _isnanf
24368 do :
24369 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
24370 if test "x$ac_cv_func__isnanf" = xyes; then :
24371 cat >>confdefs.h <<_ACEOF
24372 #define HAVE__ISNANF 1
24373 _ACEOF
24376 done
24385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
24386 $as_echo_n "checking for isinff declaration... " >&6; }
24387 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
24388 if ${glibcxx_cv_func_isinff_use+:} false; then :
24389 $as_echo_n "(cached) " >&6
24390 else
24393 ac_ext=cpp
24394 ac_cpp='$CXXCPP $CPPFLAGS'
24395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24400 /* end confdefs.h. */
24401 #include <math.h>
24402 #ifdef HAVE_IEEEFP_H
24403 #include <ieeefp.h>
24404 #endif
24407 main ()
24409 isinff(0);
24411 return 0;
24413 _ACEOF
24414 if ac_fn_cxx_try_compile "$LINENO"; then :
24415 glibcxx_cv_func_isinff_use=yes
24416 else
24417 glibcxx_cv_func_isinff_use=no
24419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24420 ac_ext=c
24421 ac_cpp='$CPP $CPPFLAGS'
24422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
24431 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
24433 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
24434 for ac_func in isinff
24435 do :
24436 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
24437 if test "x$ac_cv_func_isinff" = xyes; then :
24438 cat >>confdefs.h <<_ACEOF
24439 #define HAVE_ISINFF 1
24440 _ACEOF
24443 done
24445 else
24447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
24448 $as_echo_n "checking for _isinff declaration... " >&6; }
24449 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
24450 if ${glibcxx_cv_func__isinff_use+:} false; then :
24451 $as_echo_n "(cached) " >&6
24452 else
24455 ac_ext=cpp
24456 ac_cpp='$CXXCPP $CPPFLAGS'
24457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24462 /* end confdefs.h. */
24463 #include <math.h>
24464 #ifdef HAVE_IEEEFP_H
24465 #include <ieeefp.h>
24466 #endif
24469 main ()
24471 _isinff(0);
24473 return 0;
24475 _ACEOF
24476 if ac_fn_cxx_try_compile "$LINENO"; then :
24477 glibcxx_cv_func__isinff_use=yes
24478 else
24479 glibcxx_cv_func__isinff_use=no
24481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24482 ac_ext=c
24483 ac_cpp='$CPP $CPPFLAGS'
24484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
24493 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
24495 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
24496 for ac_func in _isinff
24497 do :
24498 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
24499 if test "x$ac_cv_func__isinff" = xyes; then :
24500 cat >>confdefs.h <<_ACEOF
24501 #define HAVE__ISINFF 1
24502 _ACEOF
24505 done
24514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
24515 $as_echo_n "checking for atan2f declaration... " >&6; }
24516 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
24517 if ${glibcxx_cv_func_atan2f_use+:} false; then :
24518 $as_echo_n "(cached) " >&6
24519 else
24522 ac_ext=cpp
24523 ac_cpp='$CXXCPP $CPPFLAGS'
24524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24529 /* end confdefs.h. */
24530 #include <math.h>
24532 main ()
24534 atan2f(0, 0);
24536 return 0;
24538 _ACEOF
24539 if ac_fn_cxx_try_compile "$LINENO"; then :
24540 glibcxx_cv_func_atan2f_use=yes
24541 else
24542 glibcxx_cv_func_atan2f_use=no
24544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24545 ac_ext=c
24546 ac_cpp='$CPP $CPPFLAGS'
24547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
24556 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
24558 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
24559 for ac_func in atan2f
24560 do :
24561 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
24562 if test "x$ac_cv_func_atan2f" = xyes; then :
24563 cat >>confdefs.h <<_ACEOF
24564 #define HAVE_ATAN2F 1
24565 _ACEOF
24568 done
24570 else
24572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
24573 $as_echo_n "checking for _atan2f declaration... " >&6; }
24574 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
24575 if ${glibcxx_cv_func__atan2f_use+:} false; then :
24576 $as_echo_n "(cached) " >&6
24577 else
24580 ac_ext=cpp
24581 ac_cpp='$CXXCPP $CPPFLAGS'
24582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24587 /* end confdefs.h. */
24588 #include <math.h>
24590 main ()
24592 _atan2f(0, 0);
24594 return 0;
24596 _ACEOF
24597 if ac_fn_cxx_try_compile "$LINENO"; then :
24598 glibcxx_cv_func__atan2f_use=yes
24599 else
24600 glibcxx_cv_func__atan2f_use=no
24602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24603 ac_ext=c
24604 ac_cpp='$CPP $CPPFLAGS'
24605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
24614 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
24616 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
24617 for ac_func in _atan2f
24618 do :
24619 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
24620 if test "x$ac_cv_func__atan2f" = xyes; then :
24621 cat >>confdefs.h <<_ACEOF
24622 #define HAVE__ATAN2F 1
24623 _ACEOF
24626 done
24635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
24636 $as_echo_n "checking for fabsf declaration... " >&6; }
24637 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
24638 if ${glibcxx_cv_func_fabsf_use+:} false; then :
24639 $as_echo_n "(cached) " >&6
24640 else
24643 ac_ext=cpp
24644 ac_cpp='$CXXCPP $CPPFLAGS'
24645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24650 /* end confdefs.h. */
24651 #include <math.h>
24652 #ifdef HAVE_IEEEFP_H
24653 #include <ieeefp.h>
24654 #endif
24657 main ()
24659 fabsf(0);
24661 return 0;
24663 _ACEOF
24664 if ac_fn_cxx_try_compile "$LINENO"; then :
24665 glibcxx_cv_func_fabsf_use=yes
24666 else
24667 glibcxx_cv_func_fabsf_use=no
24669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24670 ac_ext=c
24671 ac_cpp='$CPP $CPPFLAGS'
24672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
24681 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
24683 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
24684 for ac_func in fabsf
24685 do :
24686 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
24687 if test "x$ac_cv_func_fabsf" = xyes; then :
24688 cat >>confdefs.h <<_ACEOF
24689 #define HAVE_FABSF 1
24690 _ACEOF
24693 done
24695 else
24697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
24698 $as_echo_n "checking for _fabsf declaration... " >&6; }
24699 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
24700 if ${glibcxx_cv_func__fabsf_use+:} false; then :
24701 $as_echo_n "(cached) " >&6
24702 else
24705 ac_ext=cpp
24706 ac_cpp='$CXXCPP $CPPFLAGS'
24707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24712 /* end confdefs.h. */
24713 #include <math.h>
24714 #ifdef HAVE_IEEEFP_H
24715 #include <ieeefp.h>
24716 #endif
24719 main ()
24721 _fabsf(0);
24723 return 0;
24725 _ACEOF
24726 if ac_fn_cxx_try_compile "$LINENO"; then :
24727 glibcxx_cv_func__fabsf_use=yes
24728 else
24729 glibcxx_cv_func__fabsf_use=no
24731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24732 ac_ext=c
24733 ac_cpp='$CPP $CPPFLAGS'
24734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
24743 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
24745 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24746 for ac_func in _fabsf
24747 do :
24748 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
24749 if test "x$ac_cv_func__fabsf" = xyes; then :
24750 cat >>confdefs.h <<_ACEOF
24751 #define HAVE__FABSF 1
24752 _ACEOF
24755 done
24764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
24765 $as_echo_n "checking for fmodf declaration... " >&6; }
24766 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24767 if ${glibcxx_cv_func_fmodf_use+:} false; then :
24768 $as_echo_n "(cached) " >&6
24769 else
24772 ac_ext=cpp
24773 ac_cpp='$CXXCPP $CPPFLAGS'
24774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24779 /* end confdefs.h. */
24780 #include <math.h>
24782 main ()
24784 fmodf(0, 0);
24786 return 0;
24788 _ACEOF
24789 if ac_fn_cxx_try_compile "$LINENO"; then :
24790 glibcxx_cv_func_fmodf_use=yes
24791 else
24792 glibcxx_cv_func_fmodf_use=no
24794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24795 ac_ext=c
24796 ac_cpp='$CPP $CPPFLAGS'
24797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
24806 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
24808 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24809 for ac_func in fmodf
24810 do :
24811 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
24812 if test "x$ac_cv_func_fmodf" = xyes; then :
24813 cat >>confdefs.h <<_ACEOF
24814 #define HAVE_FMODF 1
24815 _ACEOF
24818 done
24820 else
24822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
24823 $as_echo_n "checking for _fmodf declaration... " >&6; }
24824 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24825 if ${glibcxx_cv_func__fmodf_use+:} false; then :
24826 $as_echo_n "(cached) " >&6
24827 else
24830 ac_ext=cpp
24831 ac_cpp='$CXXCPP $CPPFLAGS'
24832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24837 /* end confdefs.h. */
24838 #include <math.h>
24840 main ()
24842 _fmodf(0, 0);
24844 return 0;
24846 _ACEOF
24847 if ac_fn_cxx_try_compile "$LINENO"; then :
24848 glibcxx_cv_func__fmodf_use=yes
24849 else
24850 glibcxx_cv_func__fmodf_use=no
24852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24853 ac_ext=c
24854 ac_cpp='$CPP $CPPFLAGS'
24855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
24864 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
24866 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24867 for ac_func in _fmodf
24868 do :
24869 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
24870 if test "x$ac_cv_func__fmodf" = xyes; then :
24871 cat >>confdefs.h <<_ACEOF
24872 #define HAVE__FMODF 1
24873 _ACEOF
24876 done
24885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24886 $as_echo_n "checking for frexpf declaration... " >&6; }
24887 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24888 if ${glibcxx_cv_func_frexpf_use+:} false; then :
24889 $as_echo_n "(cached) " >&6
24890 else
24893 ac_ext=cpp
24894 ac_cpp='$CXXCPP $CPPFLAGS'
24895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24900 /* end confdefs.h. */
24901 #include <math.h>
24903 main ()
24905 frexpf(0, 0);
24907 return 0;
24909 _ACEOF
24910 if ac_fn_cxx_try_compile "$LINENO"; then :
24911 glibcxx_cv_func_frexpf_use=yes
24912 else
24913 glibcxx_cv_func_frexpf_use=no
24915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24916 ac_ext=c
24917 ac_cpp='$CPP $CPPFLAGS'
24918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24927 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24929 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24930 for ac_func in frexpf
24931 do :
24932 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24933 if test "x$ac_cv_func_frexpf" = xyes; then :
24934 cat >>confdefs.h <<_ACEOF
24935 #define HAVE_FREXPF 1
24936 _ACEOF
24939 done
24941 else
24943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24944 $as_echo_n "checking for _frexpf declaration... " >&6; }
24945 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24946 if ${glibcxx_cv_func__frexpf_use+:} false; then :
24947 $as_echo_n "(cached) " >&6
24948 else
24951 ac_ext=cpp
24952 ac_cpp='$CXXCPP $CPPFLAGS'
24953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24958 /* end confdefs.h. */
24959 #include <math.h>
24961 main ()
24963 _frexpf(0, 0);
24965 return 0;
24967 _ACEOF
24968 if ac_fn_cxx_try_compile "$LINENO"; then :
24969 glibcxx_cv_func__frexpf_use=yes
24970 else
24971 glibcxx_cv_func__frexpf_use=no
24973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24974 ac_ext=c
24975 ac_cpp='$CPP $CPPFLAGS'
24976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24985 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24987 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24988 for ac_func in _frexpf
24989 do :
24990 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24991 if test "x$ac_cv_func__frexpf" = xyes; then :
24992 cat >>confdefs.h <<_ACEOF
24993 #define HAVE__FREXPF 1
24994 _ACEOF
24997 done
25006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
25007 $as_echo_n "checking for hypotf declaration... " >&6; }
25008 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
25009 if ${glibcxx_cv_func_hypotf_use+:} false; then :
25010 $as_echo_n "(cached) " >&6
25011 else
25014 ac_ext=cpp
25015 ac_cpp='$CXXCPP $CPPFLAGS'
25016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25021 /* end confdefs.h. */
25022 #include <math.h>
25024 main ()
25026 hypotf(0, 0);
25028 return 0;
25030 _ACEOF
25031 if ac_fn_cxx_try_compile "$LINENO"; then :
25032 glibcxx_cv_func_hypotf_use=yes
25033 else
25034 glibcxx_cv_func_hypotf_use=no
25036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25037 ac_ext=c
25038 ac_cpp='$CPP $CPPFLAGS'
25039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
25048 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
25050 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
25051 for ac_func in hypotf
25052 do :
25053 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
25054 if test "x$ac_cv_func_hypotf" = xyes; then :
25055 cat >>confdefs.h <<_ACEOF
25056 #define HAVE_HYPOTF 1
25057 _ACEOF
25060 done
25062 else
25064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
25065 $as_echo_n "checking for _hypotf declaration... " >&6; }
25066 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
25067 if ${glibcxx_cv_func__hypotf_use+:} false; then :
25068 $as_echo_n "(cached) " >&6
25069 else
25072 ac_ext=cpp
25073 ac_cpp='$CXXCPP $CPPFLAGS'
25074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25079 /* end confdefs.h. */
25080 #include <math.h>
25082 main ()
25084 _hypotf(0, 0);
25086 return 0;
25088 _ACEOF
25089 if ac_fn_cxx_try_compile "$LINENO"; then :
25090 glibcxx_cv_func__hypotf_use=yes
25091 else
25092 glibcxx_cv_func__hypotf_use=no
25094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25095 ac_ext=c
25096 ac_cpp='$CPP $CPPFLAGS'
25097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
25106 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
25108 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
25109 for ac_func in _hypotf
25110 do :
25111 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
25112 if test "x$ac_cv_func__hypotf" = xyes; then :
25113 cat >>confdefs.h <<_ACEOF
25114 #define HAVE__HYPOTF 1
25115 _ACEOF
25118 done
25127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
25128 $as_echo_n "checking for ldexpf declaration... " >&6; }
25129 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
25130 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
25131 $as_echo_n "(cached) " >&6
25132 else
25135 ac_ext=cpp
25136 ac_cpp='$CXXCPP $CPPFLAGS'
25137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25142 /* end confdefs.h. */
25143 #include <math.h>
25145 main ()
25147 ldexpf(0, 0);
25149 return 0;
25151 _ACEOF
25152 if ac_fn_cxx_try_compile "$LINENO"; then :
25153 glibcxx_cv_func_ldexpf_use=yes
25154 else
25155 glibcxx_cv_func_ldexpf_use=no
25157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25158 ac_ext=c
25159 ac_cpp='$CPP $CPPFLAGS'
25160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
25169 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
25171 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
25172 for ac_func in ldexpf
25173 do :
25174 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
25175 if test "x$ac_cv_func_ldexpf" = xyes; then :
25176 cat >>confdefs.h <<_ACEOF
25177 #define HAVE_LDEXPF 1
25178 _ACEOF
25181 done
25183 else
25185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
25186 $as_echo_n "checking for _ldexpf declaration... " >&6; }
25187 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
25188 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
25189 $as_echo_n "(cached) " >&6
25190 else
25193 ac_ext=cpp
25194 ac_cpp='$CXXCPP $CPPFLAGS'
25195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25200 /* end confdefs.h. */
25201 #include <math.h>
25203 main ()
25205 _ldexpf(0, 0);
25207 return 0;
25209 _ACEOF
25210 if ac_fn_cxx_try_compile "$LINENO"; then :
25211 glibcxx_cv_func__ldexpf_use=yes
25212 else
25213 glibcxx_cv_func__ldexpf_use=no
25215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25216 ac_ext=c
25217 ac_cpp='$CPP $CPPFLAGS'
25218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
25227 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
25229 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
25230 for ac_func in _ldexpf
25231 do :
25232 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
25233 if test "x$ac_cv_func__ldexpf" = xyes; then :
25234 cat >>confdefs.h <<_ACEOF
25235 #define HAVE__LDEXPF 1
25236 _ACEOF
25239 done
25248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
25249 $as_echo_n "checking for logf declaration... " >&6; }
25250 if test x${glibcxx_cv_func_logf_use+set} != xset; then
25251 if ${glibcxx_cv_func_logf_use+:} false; then :
25252 $as_echo_n "(cached) " >&6
25253 else
25256 ac_ext=cpp
25257 ac_cpp='$CXXCPP $CPPFLAGS'
25258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25263 /* end confdefs.h. */
25264 #include <math.h>
25265 #ifdef HAVE_IEEEFP_H
25266 #include <ieeefp.h>
25267 #endif
25270 main ()
25272 logf(0);
25274 return 0;
25276 _ACEOF
25277 if ac_fn_cxx_try_compile "$LINENO"; then :
25278 glibcxx_cv_func_logf_use=yes
25279 else
25280 glibcxx_cv_func_logf_use=no
25282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25283 ac_ext=c
25284 ac_cpp='$CPP $CPPFLAGS'
25285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
25294 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
25296 if test x$glibcxx_cv_func_logf_use = x"yes"; then
25297 for ac_func in logf
25298 do :
25299 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
25300 if test "x$ac_cv_func_logf" = xyes; then :
25301 cat >>confdefs.h <<_ACEOF
25302 #define HAVE_LOGF 1
25303 _ACEOF
25306 done
25308 else
25310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
25311 $as_echo_n "checking for _logf declaration... " >&6; }
25312 if test x${glibcxx_cv_func__logf_use+set} != xset; then
25313 if ${glibcxx_cv_func__logf_use+:} false; then :
25314 $as_echo_n "(cached) " >&6
25315 else
25318 ac_ext=cpp
25319 ac_cpp='$CXXCPP $CPPFLAGS'
25320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25325 /* end confdefs.h. */
25326 #include <math.h>
25327 #ifdef HAVE_IEEEFP_H
25328 #include <ieeefp.h>
25329 #endif
25332 main ()
25334 _logf(0);
25336 return 0;
25338 _ACEOF
25339 if ac_fn_cxx_try_compile "$LINENO"; then :
25340 glibcxx_cv_func__logf_use=yes
25341 else
25342 glibcxx_cv_func__logf_use=no
25344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25345 ac_ext=c
25346 ac_cpp='$CPP $CPPFLAGS'
25347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
25356 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
25358 if test x$glibcxx_cv_func__logf_use = x"yes"; then
25359 for ac_func in _logf
25360 do :
25361 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
25362 if test "x$ac_cv_func__logf" = xyes; then :
25363 cat >>confdefs.h <<_ACEOF
25364 #define HAVE__LOGF 1
25365 _ACEOF
25368 done
25377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
25378 $as_echo_n "checking for log10f declaration... " >&6; }
25379 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
25380 if ${glibcxx_cv_func_log10f_use+:} false; then :
25381 $as_echo_n "(cached) " >&6
25382 else
25385 ac_ext=cpp
25386 ac_cpp='$CXXCPP $CPPFLAGS'
25387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25392 /* end confdefs.h. */
25393 #include <math.h>
25394 #ifdef HAVE_IEEEFP_H
25395 #include <ieeefp.h>
25396 #endif
25399 main ()
25401 log10f(0);
25403 return 0;
25405 _ACEOF
25406 if ac_fn_cxx_try_compile "$LINENO"; then :
25407 glibcxx_cv_func_log10f_use=yes
25408 else
25409 glibcxx_cv_func_log10f_use=no
25411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25412 ac_ext=c
25413 ac_cpp='$CPP $CPPFLAGS'
25414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
25423 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
25425 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
25426 for ac_func in log10f
25427 do :
25428 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
25429 if test "x$ac_cv_func_log10f" = xyes; then :
25430 cat >>confdefs.h <<_ACEOF
25431 #define HAVE_LOG10F 1
25432 _ACEOF
25435 done
25437 else
25439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
25440 $as_echo_n "checking for _log10f declaration... " >&6; }
25441 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
25442 if ${glibcxx_cv_func__log10f_use+:} false; then :
25443 $as_echo_n "(cached) " >&6
25444 else
25447 ac_ext=cpp
25448 ac_cpp='$CXXCPP $CPPFLAGS'
25449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25454 /* end confdefs.h. */
25455 #include <math.h>
25456 #ifdef HAVE_IEEEFP_H
25457 #include <ieeefp.h>
25458 #endif
25461 main ()
25463 _log10f(0);
25465 return 0;
25467 _ACEOF
25468 if ac_fn_cxx_try_compile "$LINENO"; then :
25469 glibcxx_cv_func__log10f_use=yes
25470 else
25471 glibcxx_cv_func__log10f_use=no
25473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25474 ac_ext=c
25475 ac_cpp='$CPP $CPPFLAGS'
25476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
25485 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
25487 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
25488 for ac_func in _log10f
25489 do :
25490 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
25491 if test "x$ac_cv_func__log10f" = xyes; then :
25492 cat >>confdefs.h <<_ACEOF
25493 #define HAVE__LOG10F 1
25494 _ACEOF
25497 done
25506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
25507 $as_echo_n "checking for modff declaration... " >&6; }
25508 if test x${glibcxx_cv_func_modff_use+set} != xset; then
25509 if ${glibcxx_cv_func_modff_use+:} false; then :
25510 $as_echo_n "(cached) " >&6
25511 else
25514 ac_ext=cpp
25515 ac_cpp='$CXXCPP $CPPFLAGS'
25516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25521 /* end confdefs.h. */
25522 #include <math.h>
25524 main ()
25526 modff(0, 0);
25528 return 0;
25530 _ACEOF
25531 if ac_fn_cxx_try_compile "$LINENO"; then :
25532 glibcxx_cv_func_modff_use=yes
25533 else
25534 glibcxx_cv_func_modff_use=no
25536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25537 ac_ext=c
25538 ac_cpp='$CPP $CPPFLAGS'
25539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
25548 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
25550 if test x$glibcxx_cv_func_modff_use = x"yes"; then
25551 for ac_func in modff
25552 do :
25553 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
25554 if test "x$ac_cv_func_modff" = xyes; then :
25555 cat >>confdefs.h <<_ACEOF
25556 #define HAVE_MODFF 1
25557 _ACEOF
25560 done
25562 else
25564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
25565 $as_echo_n "checking for _modff declaration... " >&6; }
25566 if test x${glibcxx_cv_func__modff_use+set} != xset; then
25567 if ${glibcxx_cv_func__modff_use+:} false; then :
25568 $as_echo_n "(cached) " >&6
25569 else
25572 ac_ext=cpp
25573 ac_cpp='$CXXCPP $CPPFLAGS'
25574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25579 /* end confdefs.h. */
25580 #include <math.h>
25582 main ()
25584 _modff(0, 0);
25586 return 0;
25588 _ACEOF
25589 if ac_fn_cxx_try_compile "$LINENO"; then :
25590 glibcxx_cv_func__modff_use=yes
25591 else
25592 glibcxx_cv_func__modff_use=no
25594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25595 ac_ext=c
25596 ac_cpp='$CPP $CPPFLAGS'
25597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
25606 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
25608 if test x$glibcxx_cv_func__modff_use = x"yes"; then
25609 for ac_func in _modff
25610 do :
25611 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
25612 if test "x$ac_cv_func__modff" = xyes; then :
25613 cat >>confdefs.h <<_ACEOF
25614 #define HAVE__MODFF 1
25615 _ACEOF
25618 done
25627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
25628 $as_echo_n "checking for modf declaration... " >&6; }
25629 if test x${glibcxx_cv_func_modf_use+set} != xset; then
25630 if ${glibcxx_cv_func_modf_use+:} false; then :
25631 $as_echo_n "(cached) " >&6
25632 else
25635 ac_ext=cpp
25636 ac_cpp='$CXXCPP $CPPFLAGS'
25637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25642 /* end confdefs.h. */
25643 #include <math.h>
25645 main ()
25647 modf(0, 0);
25649 return 0;
25651 _ACEOF
25652 if ac_fn_cxx_try_compile "$LINENO"; then :
25653 glibcxx_cv_func_modf_use=yes
25654 else
25655 glibcxx_cv_func_modf_use=no
25657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25658 ac_ext=c
25659 ac_cpp='$CPP $CPPFLAGS'
25660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
25669 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
25671 if test x$glibcxx_cv_func_modf_use = x"yes"; then
25672 for ac_func in modf
25673 do :
25674 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
25675 if test "x$ac_cv_func_modf" = xyes; then :
25676 cat >>confdefs.h <<_ACEOF
25677 #define HAVE_MODF 1
25678 _ACEOF
25681 done
25683 else
25685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
25686 $as_echo_n "checking for _modf declaration... " >&6; }
25687 if test x${glibcxx_cv_func__modf_use+set} != xset; then
25688 if ${glibcxx_cv_func__modf_use+:} false; then :
25689 $as_echo_n "(cached) " >&6
25690 else
25693 ac_ext=cpp
25694 ac_cpp='$CXXCPP $CPPFLAGS'
25695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25700 /* end confdefs.h. */
25701 #include <math.h>
25703 main ()
25705 _modf(0, 0);
25707 return 0;
25709 _ACEOF
25710 if ac_fn_cxx_try_compile "$LINENO"; then :
25711 glibcxx_cv_func__modf_use=yes
25712 else
25713 glibcxx_cv_func__modf_use=no
25715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25716 ac_ext=c
25717 ac_cpp='$CPP $CPPFLAGS'
25718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
25727 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
25729 if test x$glibcxx_cv_func__modf_use = x"yes"; then
25730 for ac_func in _modf
25731 do :
25732 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
25733 if test "x$ac_cv_func__modf" = xyes; then :
25734 cat >>confdefs.h <<_ACEOF
25735 #define HAVE__MODF 1
25736 _ACEOF
25739 done
25748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
25749 $as_echo_n "checking for powf declaration... " >&6; }
25750 if test x${glibcxx_cv_func_powf_use+set} != xset; then
25751 if ${glibcxx_cv_func_powf_use+:} false; then :
25752 $as_echo_n "(cached) " >&6
25753 else
25756 ac_ext=cpp
25757 ac_cpp='$CXXCPP $CPPFLAGS'
25758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25763 /* end confdefs.h. */
25764 #include <math.h>
25766 main ()
25768 powf(0, 0);
25770 return 0;
25772 _ACEOF
25773 if ac_fn_cxx_try_compile "$LINENO"; then :
25774 glibcxx_cv_func_powf_use=yes
25775 else
25776 glibcxx_cv_func_powf_use=no
25778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25779 ac_ext=c
25780 ac_cpp='$CPP $CPPFLAGS'
25781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
25790 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
25792 if test x$glibcxx_cv_func_powf_use = x"yes"; then
25793 for ac_func in powf
25794 do :
25795 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
25796 if test "x$ac_cv_func_powf" = xyes; then :
25797 cat >>confdefs.h <<_ACEOF
25798 #define HAVE_POWF 1
25799 _ACEOF
25802 done
25804 else
25806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
25807 $as_echo_n "checking for _powf declaration... " >&6; }
25808 if test x${glibcxx_cv_func__powf_use+set} != xset; then
25809 if ${glibcxx_cv_func__powf_use+:} false; then :
25810 $as_echo_n "(cached) " >&6
25811 else
25814 ac_ext=cpp
25815 ac_cpp='$CXXCPP $CPPFLAGS'
25816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25821 /* end confdefs.h. */
25822 #include <math.h>
25824 main ()
25826 _powf(0, 0);
25828 return 0;
25830 _ACEOF
25831 if ac_fn_cxx_try_compile "$LINENO"; then :
25832 glibcxx_cv_func__powf_use=yes
25833 else
25834 glibcxx_cv_func__powf_use=no
25836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25837 ac_ext=c
25838 ac_cpp='$CPP $CPPFLAGS'
25839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
25848 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
25850 if test x$glibcxx_cv_func__powf_use = x"yes"; then
25851 for ac_func in _powf
25852 do :
25853 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
25854 if test "x$ac_cv_func__powf" = xyes; then :
25855 cat >>confdefs.h <<_ACEOF
25856 #define HAVE__POWF 1
25857 _ACEOF
25860 done
25869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
25870 $as_echo_n "checking for sqrtf declaration... " >&6; }
25871 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
25872 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
25873 $as_echo_n "(cached) " >&6
25874 else
25877 ac_ext=cpp
25878 ac_cpp='$CXXCPP $CPPFLAGS'
25879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25884 /* end confdefs.h. */
25885 #include <math.h>
25886 #ifdef HAVE_IEEEFP_H
25887 #include <ieeefp.h>
25888 #endif
25891 main ()
25893 sqrtf(0);
25895 return 0;
25897 _ACEOF
25898 if ac_fn_cxx_try_compile "$LINENO"; then :
25899 glibcxx_cv_func_sqrtf_use=yes
25900 else
25901 glibcxx_cv_func_sqrtf_use=no
25903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25904 ac_ext=c
25905 ac_cpp='$CPP $CPPFLAGS'
25906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25915 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25917 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25918 for ac_func in sqrtf
25919 do :
25920 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25921 if test "x$ac_cv_func_sqrtf" = xyes; then :
25922 cat >>confdefs.h <<_ACEOF
25923 #define HAVE_SQRTF 1
25924 _ACEOF
25927 done
25929 else
25931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25932 $as_echo_n "checking for _sqrtf declaration... " >&6; }
25933 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25934 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
25935 $as_echo_n "(cached) " >&6
25936 else
25939 ac_ext=cpp
25940 ac_cpp='$CXXCPP $CPPFLAGS'
25941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25946 /* end confdefs.h. */
25947 #include <math.h>
25948 #ifdef HAVE_IEEEFP_H
25949 #include <ieeefp.h>
25950 #endif
25953 main ()
25955 _sqrtf(0);
25957 return 0;
25959 _ACEOF
25960 if ac_fn_cxx_try_compile "$LINENO"; then :
25961 glibcxx_cv_func__sqrtf_use=yes
25962 else
25963 glibcxx_cv_func__sqrtf_use=no
25965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25966 ac_ext=c
25967 ac_cpp='$CPP $CPPFLAGS'
25968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25977 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25979 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25980 for ac_func in _sqrtf
25981 do :
25982 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25983 if test "x$ac_cv_func__sqrtf" = xyes; then :
25984 cat >>confdefs.h <<_ACEOF
25985 #define HAVE__SQRTF 1
25986 _ACEOF
25989 done
25998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25999 $as_echo_n "checking for sincosf declaration... " >&6; }
26000 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
26001 if ${glibcxx_cv_func_sincosf_use+:} false; then :
26002 $as_echo_n "(cached) " >&6
26003 else
26006 ac_ext=cpp
26007 ac_cpp='$CXXCPP $CPPFLAGS'
26008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26013 /* end confdefs.h. */
26014 #include <math.h>
26016 main ()
26018 sincosf(0, 0, 0);
26020 return 0;
26022 _ACEOF
26023 if ac_fn_cxx_try_compile "$LINENO"; then :
26024 glibcxx_cv_func_sincosf_use=yes
26025 else
26026 glibcxx_cv_func_sincosf_use=no
26028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26029 ac_ext=c
26030 ac_cpp='$CPP $CPPFLAGS'
26031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
26040 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
26042 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
26043 for ac_func in sincosf
26044 do :
26045 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
26046 if test "x$ac_cv_func_sincosf" = xyes; then :
26047 cat >>confdefs.h <<_ACEOF
26048 #define HAVE_SINCOSF 1
26049 _ACEOF
26052 done
26054 else
26056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
26057 $as_echo_n "checking for _sincosf declaration... " >&6; }
26058 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
26059 if ${glibcxx_cv_func__sincosf_use+:} false; then :
26060 $as_echo_n "(cached) " >&6
26061 else
26064 ac_ext=cpp
26065 ac_cpp='$CXXCPP $CPPFLAGS'
26066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26071 /* end confdefs.h. */
26072 #include <math.h>
26074 main ()
26076 _sincosf(0, 0, 0);
26078 return 0;
26080 _ACEOF
26081 if ac_fn_cxx_try_compile "$LINENO"; then :
26082 glibcxx_cv_func__sincosf_use=yes
26083 else
26084 glibcxx_cv_func__sincosf_use=no
26086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26087 ac_ext=c
26088 ac_cpp='$CPP $CPPFLAGS'
26089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
26098 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
26100 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
26101 for ac_func in _sincosf
26102 do :
26103 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
26104 if test "x$ac_cv_func__sincosf" = xyes; then :
26105 cat >>confdefs.h <<_ACEOF
26106 #define HAVE__SINCOSF 1
26107 _ACEOF
26110 done
26119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
26120 $as_echo_n "checking for finitef declaration... " >&6; }
26121 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
26122 if ${glibcxx_cv_func_finitef_use+:} false; then :
26123 $as_echo_n "(cached) " >&6
26124 else
26127 ac_ext=cpp
26128 ac_cpp='$CXXCPP $CPPFLAGS'
26129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26134 /* end confdefs.h. */
26135 #include <math.h>
26136 #ifdef HAVE_IEEEFP_H
26137 #include <ieeefp.h>
26138 #endif
26141 main ()
26143 finitef(0);
26145 return 0;
26147 _ACEOF
26148 if ac_fn_cxx_try_compile "$LINENO"; then :
26149 glibcxx_cv_func_finitef_use=yes
26150 else
26151 glibcxx_cv_func_finitef_use=no
26153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26154 ac_ext=c
26155 ac_cpp='$CPP $CPPFLAGS'
26156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
26165 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
26167 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
26168 for ac_func in finitef
26169 do :
26170 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
26171 if test "x$ac_cv_func_finitef" = xyes; then :
26172 cat >>confdefs.h <<_ACEOF
26173 #define HAVE_FINITEF 1
26174 _ACEOF
26177 done
26179 else
26181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
26182 $as_echo_n "checking for _finitef declaration... " >&6; }
26183 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
26184 if ${glibcxx_cv_func__finitef_use+:} false; then :
26185 $as_echo_n "(cached) " >&6
26186 else
26189 ac_ext=cpp
26190 ac_cpp='$CXXCPP $CPPFLAGS'
26191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26196 /* end confdefs.h. */
26197 #include <math.h>
26198 #ifdef HAVE_IEEEFP_H
26199 #include <ieeefp.h>
26200 #endif
26203 main ()
26205 _finitef(0);
26207 return 0;
26209 _ACEOF
26210 if ac_fn_cxx_try_compile "$LINENO"; then :
26211 glibcxx_cv_func__finitef_use=yes
26212 else
26213 glibcxx_cv_func__finitef_use=no
26215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26216 ac_ext=c
26217 ac_cpp='$CPP $CPPFLAGS'
26218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
26227 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
26229 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
26230 for ac_func in _finitef
26231 do :
26232 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
26233 if test "x$ac_cv_func__finitef" = xyes; then :
26234 cat >>confdefs.h <<_ACEOF
26235 #define HAVE__FINITEF 1
26236 _ACEOF
26239 done
26248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
26249 $as_echo_n "checking for long double trig functions... " >&6; }
26250 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
26251 $as_echo_n "(cached) " >&6
26252 else
26255 ac_ext=cpp
26256 ac_cpp='$CXXCPP $CPPFLAGS'
26257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26262 /* end confdefs.h. */
26263 #include <math.h>
26265 main ()
26267 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
26269 return 0;
26271 _ACEOF
26272 if ac_fn_cxx_try_compile "$LINENO"; then :
26273 glibcxx_cv_func_long_double_trig_use=yes
26274 else
26275 glibcxx_cv_func_long_double_trig_use=no
26277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26278 ac_ext=c
26279 ac_cpp='$CPP $CPPFLAGS'
26280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
26287 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
26288 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
26289 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
26290 do :
26291 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26292 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26293 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26294 cat >>confdefs.h <<_ACEOF
26295 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26296 _ACEOF
26299 done
26301 else
26302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
26303 $as_echo_n "checking for _long double trig functions... " >&6; }
26304 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
26305 $as_echo_n "(cached) " >&6
26306 else
26309 ac_ext=cpp
26310 ac_cpp='$CXXCPP $CPPFLAGS'
26311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26316 /* end confdefs.h. */
26317 #include <math.h>
26319 main ()
26321 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
26323 return 0;
26325 _ACEOF
26326 if ac_fn_cxx_try_compile "$LINENO"; then :
26327 glibcxx_cv_func__long_double_trig_use=yes
26328 else
26329 glibcxx_cv_func__long_double_trig_use=no
26331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26332 ac_ext=c
26333 ac_cpp='$CPP $CPPFLAGS'
26334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
26341 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
26342 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
26343 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
26344 do :
26345 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26346 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26347 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26348 cat >>confdefs.h <<_ACEOF
26349 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26350 _ACEOF
26353 done
26362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
26363 $as_echo_n "checking for long double round functions... " >&6; }
26364 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
26365 $as_echo_n "(cached) " >&6
26366 else
26369 ac_ext=cpp
26370 ac_cpp='$CXXCPP $CPPFLAGS'
26371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26376 /* end confdefs.h. */
26377 #include <math.h>
26379 main ()
26381 ceill (0); floorl (0);
26383 return 0;
26385 _ACEOF
26386 if ac_fn_cxx_try_compile "$LINENO"; then :
26387 glibcxx_cv_func_long_double_round_use=yes
26388 else
26389 glibcxx_cv_func_long_double_round_use=no
26391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26392 ac_ext=c
26393 ac_cpp='$CPP $CPPFLAGS'
26394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
26401 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
26402 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
26403 for ac_func in ceill floorl
26404 do :
26405 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26406 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26407 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26408 cat >>confdefs.h <<_ACEOF
26409 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26410 _ACEOF
26413 done
26415 else
26416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
26417 $as_echo_n "checking for _long double round functions... " >&6; }
26418 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
26419 $as_echo_n "(cached) " >&6
26420 else
26423 ac_ext=cpp
26424 ac_cpp='$CXXCPP $CPPFLAGS'
26425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26430 /* end confdefs.h. */
26431 #include <math.h>
26433 main ()
26435 _ceill (0); _floorl (0);
26437 return 0;
26439 _ACEOF
26440 if ac_fn_cxx_try_compile "$LINENO"; then :
26441 glibcxx_cv_func__long_double_round_use=yes
26442 else
26443 glibcxx_cv_func__long_double_round_use=no
26445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26446 ac_ext=c
26447 ac_cpp='$CPP $CPPFLAGS'
26448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
26455 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
26456 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
26457 for ac_func in _ceill _floorl
26458 do :
26459 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26460 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26461 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26462 cat >>confdefs.h <<_ACEOF
26463 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26464 _ACEOF
26467 done
26477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
26478 $as_echo_n "checking for isnanl declaration... " >&6; }
26479 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
26480 if ${glibcxx_cv_func_isnanl_use+:} false; then :
26481 $as_echo_n "(cached) " >&6
26482 else
26485 ac_ext=cpp
26486 ac_cpp='$CXXCPP $CPPFLAGS'
26487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26492 /* end confdefs.h. */
26493 #include <math.h>
26494 #ifdef HAVE_IEEEFP_H
26495 #include <ieeefp.h>
26496 #endif
26499 main ()
26501 isnanl(0);
26503 return 0;
26505 _ACEOF
26506 if ac_fn_cxx_try_compile "$LINENO"; then :
26507 glibcxx_cv_func_isnanl_use=yes
26508 else
26509 glibcxx_cv_func_isnanl_use=no
26511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26512 ac_ext=c
26513 ac_cpp='$CPP $CPPFLAGS'
26514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
26523 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
26525 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
26526 for ac_func in isnanl
26527 do :
26528 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
26529 if test "x$ac_cv_func_isnanl" = xyes; then :
26530 cat >>confdefs.h <<_ACEOF
26531 #define HAVE_ISNANL 1
26532 _ACEOF
26535 done
26537 else
26539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
26540 $as_echo_n "checking for _isnanl declaration... " >&6; }
26541 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
26542 if ${glibcxx_cv_func__isnanl_use+:} false; then :
26543 $as_echo_n "(cached) " >&6
26544 else
26547 ac_ext=cpp
26548 ac_cpp='$CXXCPP $CPPFLAGS'
26549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26554 /* end confdefs.h. */
26555 #include <math.h>
26556 #ifdef HAVE_IEEEFP_H
26557 #include <ieeefp.h>
26558 #endif
26561 main ()
26563 _isnanl(0);
26565 return 0;
26567 _ACEOF
26568 if ac_fn_cxx_try_compile "$LINENO"; then :
26569 glibcxx_cv_func__isnanl_use=yes
26570 else
26571 glibcxx_cv_func__isnanl_use=no
26573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26574 ac_ext=c
26575 ac_cpp='$CPP $CPPFLAGS'
26576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
26585 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
26587 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
26588 for ac_func in _isnanl
26589 do :
26590 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
26591 if test "x$ac_cv_func__isnanl" = xyes; then :
26592 cat >>confdefs.h <<_ACEOF
26593 #define HAVE__ISNANL 1
26594 _ACEOF
26597 done
26606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
26607 $as_echo_n "checking for isinfl declaration... " >&6; }
26608 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
26609 if ${glibcxx_cv_func_isinfl_use+:} false; then :
26610 $as_echo_n "(cached) " >&6
26611 else
26614 ac_ext=cpp
26615 ac_cpp='$CXXCPP $CPPFLAGS'
26616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26621 /* end confdefs.h. */
26622 #include <math.h>
26623 #ifdef HAVE_IEEEFP_H
26624 #include <ieeefp.h>
26625 #endif
26628 main ()
26630 isinfl(0);
26632 return 0;
26634 _ACEOF
26635 if ac_fn_cxx_try_compile "$LINENO"; then :
26636 glibcxx_cv_func_isinfl_use=yes
26637 else
26638 glibcxx_cv_func_isinfl_use=no
26640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26641 ac_ext=c
26642 ac_cpp='$CPP $CPPFLAGS'
26643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
26652 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
26654 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
26655 for ac_func in isinfl
26656 do :
26657 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
26658 if test "x$ac_cv_func_isinfl" = xyes; then :
26659 cat >>confdefs.h <<_ACEOF
26660 #define HAVE_ISINFL 1
26661 _ACEOF
26664 done
26666 else
26668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
26669 $as_echo_n "checking for _isinfl declaration... " >&6; }
26670 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
26671 if ${glibcxx_cv_func__isinfl_use+:} false; then :
26672 $as_echo_n "(cached) " >&6
26673 else
26676 ac_ext=cpp
26677 ac_cpp='$CXXCPP $CPPFLAGS'
26678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26683 /* end confdefs.h. */
26684 #include <math.h>
26685 #ifdef HAVE_IEEEFP_H
26686 #include <ieeefp.h>
26687 #endif
26690 main ()
26692 _isinfl(0);
26694 return 0;
26696 _ACEOF
26697 if ac_fn_cxx_try_compile "$LINENO"; then :
26698 glibcxx_cv_func__isinfl_use=yes
26699 else
26700 glibcxx_cv_func__isinfl_use=no
26702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26703 ac_ext=c
26704 ac_cpp='$CPP $CPPFLAGS'
26705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
26714 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
26716 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
26717 for ac_func in _isinfl
26718 do :
26719 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
26720 if test "x$ac_cv_func__isinfl" = xyes; then :
26721 cat >>confdefs.h <<_ACEOF
26722 #define HAVE__ISINFL 1
26723 _ACEOF
26726 done
26735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
26736 $as_echo_n "checking for atan2l declaration... " >&6; }
26737 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
26738 if ${glibcxx_cv_func_atan2l_use+:} false; then :
26739 $as_echo_n "(cached) " >&6
26740 else
26743 ac_ext=cpp
26744 ac_cpp='$CXXCPP $CPPFLAGS'
26745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26750 /* end confdefs.h. */
26751 #include <math.h>
26753 main ()
26755 atan2l(0, 0);
26757 return 0;
26759 _ACEOF
26760 if ac_fn_cxx_try_compile "$LINENO"; then :
26761 glibcxx_cv_func_atan2l_use=yes
26762 else
26763 glibcxx_cv_func_atan2l_use=no
26765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26766 ac_ext=c
26767 ac_cpp='$CPP $CPPFLAGS'
26768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
26777 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
26779 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
26780 for ac_func in atan2l
26781 do :
26782 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
26783 if test "x$ac_cv_func_atan2l" = xyes; then :
26784 cat >>confdefs.h <<_ACEOF
26785 #define HAVE_ATAN2L 1
26786 _ACEOF
26789 done
26791 else
26793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
26794 $as_echo_n "checking for _atan2l declaration... " >&6; }
26795 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
26796 if ${glibcxx_cv_func__atan2l_use+:} false; then :
26797 $as_echo_n "(cached) " >&6
26798 else
26801 ac_ext=cpp
26802 ac_cpp='$CXXCPP $CPPFLAGS'
26803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26808 /* end confdefs.h. */
26809 #include <math.h>
26811 main ()
26813 _atan2l(0, 0);
26815 return 0;
26817 _ACEOF
26818 if ac_fn_cxx_try_compile "$LINENO"; then :
26819 glibcxx_cv_func__atan2l_use=yes
26820 else
26821 glibcxx_cv_func__atan2l_use=no
26823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26824 ac_ext=c
26825 ac_cpp='$CPP $CPPFLAGS'
26826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
26835 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
26837 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
26838 for ac_func in _atan2l
26839 do :
26840 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
26841 if test "x$ac_cv_func__atan2l" = xyes; then :
26842 cat >>confdefs.h <<_ACEOF
26843 #define HAVE__ATAN2L 1
26844 _ACEOF
26847 done
26856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
26857 $as_echo_n "checking for expl declaration... " >&6; }
26858 if test x${glibcxx_cv_func_expl_use+set} != xset; then
26859 if ${glibcxx_cv_func_expl_use+:} false; then :
26860 $as_echo_n "(cached) " >&6
26861 else
26864 ac_ext=cpp
26865 ac_cpp='$CXXCPP $CPPFLAGS'
26866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26871 /* end confdefs.h. */
26872 #include <math.h>
26873 #ifdef HAVE_IEEEFP_H
26874 #include <ieeefp.h>
26875 #endif
26878 main ()
26880 expl(0);
26882 return 0;
26884 _ACEOF
26885 if ac_fn_cxx_try_compile "$LINENO"; then :
26886 glibcxx_cv_func_expl_use=yes
26887 else
26888 glibcxx_cv_func_expl_use=no
26890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26891 ac_ext=c
26892 ac_cpp='$CPP $CPPFLAGS'
26893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26902 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26904 if test x$glibcxx_cv_func_expl_use = x"yes"; then
26905 for ac_func in expl
26906 do :
26907 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26908 if test "x$ac_cv_func_expl" = xyes; then :
26909 cat >>confdefs.h <<_ACEOF
26910 #define HAVE_EXPL 1
26911 _ACEOF
26914 done
26916 else
26918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26919 $as_echo_n "checking for _expl declaration... " >&6; }
26920 if test x${glibcxx_cv_func__expl_use+set} != xset; then
26921 if ${glibcxx_cv_func__expl_use+:} false; then :
26922 $as_echo_n "(cached) " >&6
26923 else
26926 ac_ext=cpp
26927 ac_cpp='$CXXCPP $CPPFLAGS'
26928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26933 /* end confdefs.h. */
26934 #include <math.h>
26935 #ifdef HAVE_IEEEFP_H
26936 #include <ieeefp.h>
26937 #endif
26940 main ()
26942 _expl(0);
26944 return 0;
26946 _ACEOF
26947 if ac_fn_cxx_try_compile "$LINENO"; then :
26948 glibcxx_cv_func__expl_use=yes
26949 else
26950 glibcxx_cv_func__expl_use=no
26952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26953 ac_ext=c
26954 ac_cpp='$CPP $CPPFLAGS'
26955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26964 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26966 if test x$glibcxx_cv_func__expl_use = x"yes"; then
26967 for ac_func in _expl
26968 do :
26969 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26970 if test "x$ac_cv_func__expl" = xyes; then :
26971 cat >>confdefs.h <<_ACEOF
26972 #define HAVE__EXPL 1
26973 _ACEOF
26976 done
26985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26986 $as_echo_n "checking for fabsl declaration... " >&6; }
26987 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26988 if ${glibcxx_cv_func_fabsl_use+:} false; then :
26989 $as_echo_n "(cached) " >&6
26990 else
26993 ac_ext=cpp
26994 ac_cpp='$CXXCPP $CPPFLAGS'
26995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27000 /* end confdefs.h. */
27001 #include <math.h>
27002 #ifdef HAVE_IEEEFP_H
27003 #include <ieeefp.h>
27004 #endif
27007 main ()
27009 fabsl(0);
27011 return 0;
27013 _ACEOF
27014 if ac_fn_cxx_try_compile "$LINENO"; then :
27015 glibcxx_cv_func_fabsl_use=yes
27016 else
27017 glibcxx_cv_func_fabsl_use=no
27019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27020 ac_ext=c
27021 ac_cpp='$CPP $CPPFLAGS'
27022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
27031 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
27033 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
27034 for ac_func in fabsl
27035 do :
27036 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
27037 if test "x$ac_cv_func_fabsl" = xyes; then :
27038 cat >>confdefs.h <<_ACEOF
27039 #define HAVE_FABSL 1
27040 _ACEOF
27043 done
27045 else
27047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
27048 $as_echo_n "checking for _fabsl declaration... " >&6; }
27049 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
27050 if ${glibcxx_cv_func__fabsl_use+:} false; then :
27051 $as_echo_n "(cached) " >&6
27052 else
27055 ac_ext=cpp
27056 ac_cpp='$CXXCPP $CPPFLAGS'
27057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27062 /* end confdefs.h. */
27063 #include <math.h>
27064 #ifdef HAVE_IEEEFP_H
27065 #include <ieeefp.h>
27066 #endif
27069 main ()
27071 _fabsl(0);
27073 return 0;
27075 _ACEOF
27076 if ac_fn_cxx_try_compile "$LINENO"; then :
27077 glibcxx_cv_func__fabsl_use=yes
27078 else
27079 glibcxx_cv_func__fabsl_use=no
27081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27082 ac_ext=c
27083 ac_cpp='$CPP $CPPFLAGS'
27084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
27093 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
27095 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
27096 for ac_func in _fabsl
27097 do :
27098 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
27099 if test "x$ac_cv_func__fabsl" = xyes; then :
27100 cat >>confdefs.h <<_ACEOF
27101 #define HAVE__FABSL 1
27102 _ACEOF
27105 done
27114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
27115 $as_echo_n "checking for fmodl declaration... " >&6; }
27116 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
27117 if ${glibcxx_cv_func_fmodl_use+:} false; then :
27118 $as_echo_n "(cached) " >&6
27119 else
27122 ac_ext=cpp
27123 ac_cpp='$CXXCPP $CPPFLAGS'
27124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27129 /* end confdefs.h. */
27130 #include <math.h>
27132 main ()
27134 fmodl(0, 0);
27136 return 0;
27138 _ACEOF
27139 if ac_fn_cxx_try_compile "$LINENO"; then :
27140 glibcxx_cv_func_fmodl_use=yes
27141 else
27142 glibcxx_cv_func_fmodl_use=no
27144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27145 ac_ext=c
27146 ac_cpp='$CPP $CPPFLAGS'
27147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
27156 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
27158 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
27159 for ac_func in fmodl
27160 do :
27161 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
27162 if test "x$ac_cv_func_fmodl" = xyes; then :
27163 cat >>confdefs.h <<_ACEOF
27164 #define HAVE_FMODL 1
27165 _ACEOF
27168 done
27170 else
27172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
27173 $as_echo_n "checking for _fmodl declaration... " >&6; }
27174 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
27175 if ${glibcxx_cv_func__fmodl_use+:} false; then :
27176 $as_echo_n "(cached) " >&6
27177 else
27180 ac_ext=cpp
27181 ac_cpp='$CXXCPP $CPPFLAGS'
27182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27187 /* end confdefs.h. */
27188 #include <math.h>
27190 main ()
27192 _fmodl(0, 0);
27194 return 0;
27196 _ACEOF
27197 if ac_fn_cxx_try_compile "$LINENO"; then :
27198 glibcxx_cv_func__fmodl_use=yes
27199 else
27200 glibcxx_cv_func__fmodl_use=no
27202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27203 ac_ext=c
27204 ac_cpp='$CPP $CPPFLAGS'
27205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
27214 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
27216 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
27217 for ac_func in _fmodl
27218 do :
27219 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
27220 if test "x$ac_cv_func__fmodl" = xyes; then :
27221 cat >>confdefs.h <<_ACEOF
27222 #define HAVE__FMODL 1
27223 _ACEOF
27226 done
27235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
27236 $as_echo_n "checking for frexpl declaration... " >&6; }
27237 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
27238 if ${glibcxx_cv_func_frexpl_use+:} false; then :
27239 $as_echo_n "(cached) " >&6
27240 else
27243 ac_ext=cpp
27244 ac_cpp='$CXXCPP $CPPFLAGS'
27245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27250 /* end confdefs.h. */
27251 #include <math.h>
27253 main ()
27255 frexpl(0, 0);
27257 return 0;
27259 _ACEOF
27260 if ac_fn_cxx_try_compile "$LINENO"; then :
27261 glibcxx_cv_func_frexpl_use=yes
27262 else
27263 glibcxx_cv_func_frexpl_use=no
27265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27266 ac_ext=c
27267 ac_cpp='$CPP $CPPFLAGS'
27268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
27277 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
27279 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
27280 for ac_func in frexpl
27281 do :
27282 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
27283 if test "x$ac_cv_func_frexpl" = xyes; then :
27284 cat >>confdefs.h <<_ACEOF
27285 #define HAVE_FREXPL 1
27286 _ACEOF
27289 done
27291 else
27293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
27294 $as_echo_n "checking for _frexpl declaration... " >&6; }
27295 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
27296 if ${glibcxx_cv_func__frexpl_use+:} false; then :
27297 $as_echo_n "(cached) " >&6
27298 else
27301 ac_ext=cpp
27302 ac_cpp='$CXXCPP $CPPFLAGS'
27303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27308 /* end confdefs.h. */
27309 #include <math.h>
27311 main ()
27313 _frexpl(0, 0);
27315 return 0;
27317 _ACEOF
27318 if ac_fn_cxx_try_compile "$LINENO"; then :
27319 glibcxx_cv_func__frexpl_use=yes
27320 else
27321 glibcxx_cv_func__frexpl_use=no
27323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27324 ac_ext=c
27325 ac_cpp='$CPP $CPPFLAGS'
27326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
27335 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
27337 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
27338 for ac_func in _frexpl
27339 do :
27340 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
27341 if test "x$ac_cv_func__frexpl" = xyes; then :
27342 cat >>confdefs.h <<_ACEOF
27343 #define HAVE__FREXPL 1
27344 _ACEOF
27347 done
27356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
27357 $as_echo_n "checking for hypotl declaration... " >&6; }
27358 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
27359 if ${glibcxx_cv_func_hypotl_use+:} false; then :
27360 $as_echo_n "(cached) " >&6
27361 else
27364 ac_ext=cpp
27365 ac_cpp='$CXXCPP $CPPFLAGS'
27366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27371 /* end confdefs.h. */
27372 #include <math.h>
27374 main ()
27376 hypotl(0, 0);
27378 return 0;
27380 _ACEOF
27381 if ac_fn_cxx_try_compile "$LINENO"; then :
27382 glibcxx_cv_func_hypotl_use=yes
27383 else
27384 glibcxx_cv_func_hypotl_use=no
27386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27387 ac_ext=c
27388 ac_cpp='$CPP $CPPFLAGS'
27389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
27398 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
27400 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
27401 for ac_func in hypotl
27402 do :
27403 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
27404 if test "x$ac_cv_func_hypotl" = xyes; then :
27405 cat >>confdefs.h <<_ACEOF
27406 #define HAVE_HYPOTL 1
27407 _ACEOF
27410 done
27412 else
27414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
27415 $as_echo_n "checking for _hypotl declaration... " >&6; }
27416 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
27417 if ${glibcxx_cv_func__hypotl_use+:} false; then :
27418 $as_echo_n "(cached) " >&6
27419 else
27422 ac_ext=cpp
27423 ac_cpp='$CXXCPP $CPPFLAGS'
27424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27429 /* end confdefs.h. */
27430 #include <math.h>
27432 main ()
27434 _hypotl(0, 0);
27436 return 0;
27438 _ACEOF
27439 if ac_fn_cxx_try_compile "$LINENO"; then :
27440 glibcxx_cv_func__hypotl_use=yes
27441 else
27442 glibcxx_cv_func__hypotl_use=no
27444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27445 ac_ext=c
27446 ac_cpp='$CPP $CPPFLAGS'
27447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
27456 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
27458 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
27459 for ac_func in _hypotl
27460 do :
27461 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
27462 if test "x$ac_cv_func__hypotl" = xyes; then :
27463 cat >>confdefs.h <<_ACEOF
27464 #define HAVE__HYPOTL 1
27465 _ACEOF
27468 done
27477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
27478 $as_echo_n "checking for ldexpl declaration... " >&6; }
27479 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
27480 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
27481 $as_echo_n "(cached) " >&6
27482 else
27485 ac_ext=cpp
27486 ac_cpp='$CXXCPP $CPPFLAGS'
27487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27492 /* end confdefs.h. */
27493 #include <math.h>
27495 main ()
27497 ldexpl(0, 0);
27499 return 0;
27501 _ACEOF
27502 if ac_fn_cxx_try_compile "$LINENO"; then :
27503 glibcxx_cv_func_ldexpl_use=yes
27504 else
27505 glibcxx_cv_func_ldexpl_use=no
27507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27508 ac_ext=c
27509 ac_cpp='$CPP $CPPFLAGS'
27510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
27519 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
27521 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
27522 for ac_func in ldexpl
27523 do :
27524 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
27525 if test "x$ac_cv_func_ldexpl" = xyes; then :
27526 cat >>confdefs.h <<_ACEOF
27527 #define HAVE_LDEXPL 1
27528 _ACEOF
27531 done
27533 else
27535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
27536 $as_echo_n "checking for _ldexpl declaration... " >&6; }
27537 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
27538 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
27539 $as_echo_n "(cached) " >&6
27540 else
27543 ac_ext=cpp
27544 ac_cpp='$CXXCPP $CPPFLAGS'
27545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27550 /* end confdefs.h. */
27551 #include <math.h>
27553 main ()
27555 _ldexpl(0, 0);
27557 return 0;
27559 _ACEOF
27560 if ac_fn_cxx_try_compile "$LINENO"; then :
27561 glibcxx_cv_func__ldexpl_use=yes
27562 else
27563 glibcxx_cv_func__ldexpl_use=no
27565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27566 ac_ext=c
27567 ac_cpp='$CPP $CPPFLAGS'
27568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
27577 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
27579 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
27580 for ac_func in _ldexpl
27581 do :
27582 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
27583 if test "x$ac_cv_func__ldexpl" = xyes; then :
27584 cat >>confdefs.h <<_ACEOF
27585 #define HAVE__LDEXPL 1
27586 _ACEOF
27589 done
27598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
27599 $as_echo_n "checking for logl declaration... " >&6; }
27600 if test x${glibcxx_cv_func_logl_use+set} != xset; then
27601 if ${glibcxx_cv_func_logl_use+:} false; then :
27602 $as_echo_n "(cached) " >&6
27603 else
27606 ac_ext=cpp
27607 ac_cpp='$CXXCPP $CPPFLAGS'
27608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27613 /* end confdefs.h. */
27614 #include <math.h>
27615 #ifdef HAVE_IEEEFP_H
27616 #include <ieeefp.h>
27617 #endif
27620 main ()
27622 logl(0);
27624 return 0;
27626 _ACEOF
27627 if ac_fn_cxx_try_compile "$LINENO"; then :
27628 glibcxx_cv_func_logl_use=yes
27629 else
27630 glibcxx_cv_func_logl_use=no
27632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27633 ac_ext=c
27634 ac_cpp='$CPP $CPPFLAGS'
27635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
27644 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
27646 if test x$glibcxx_cv_func_logl_use = x"yes"; then
27647 for ac_func in logl
27648 do :
27649 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
27650 if test "x$ac_cv_func_logl" = xyes; then :
27651 cat >>confdefs.h <<_ACEOF
27652 #define HAVE_LOGL 1
27653 _ACEOF
27656 done
27658 else
27660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
27661 $as_echo_n "checking for _logl declaration... " >&6; }
27662 if test x${glibcxx_cv_func__logl_use+set} != xset; then
27663 if ${glibcxx_cv_func__logl_use+:} false; then :
27664 $as_echo_n "(cached) " >&6
27665 else
27668 ac_ext=cpp
27669 ac_cpp='$CXXCPP $CPPFLAGS'
27670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27675 /* end confdefs.h. */
27676 #include <math.h>
27677 #ifdef HAVE_IEEEFP_H
27678 #include <ieeefp.h>
27679 #endif
27682 main ()
27684 _logl(0);
27686 return 0;
27688 _ACEOF
27689 if ac_fn_cxx_try_compile "$LINENO"; then :
27690 glibcxx_cv_func__logl_use=yes
27691 else
27692 glibcxx_cv_func__logl_use=no
27694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27695 ac_ext=c
27696 ac_cpp='$CPP $CPPFLAGS'
27697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
27706 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
27708 if test x$glibcxx_cv_func__logl_use = x"yes"; then
27709 for ac_func in _logl
27710 do :
27711 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
27712 if test "x$ac_cv_func__logl" = xyes; then :
27713 cat >>confdefs.h <<_ACEOF
27714 #define HAVE__LOGL 1
27715 _ACEOF
27718 done
27727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
27728 $as_echo_n "checking for log10l declaration... " >&6; }
27729 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
27730 if ${glibcxx_cv_func_log10l_use+:} false; then :
27731 $as_echo_n "(cached) " >&6
27732 else
27735 ac_ext=cpp
27736 ac_cpp='$CXXCPP $CPPFLAGS'
27737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27742 /* end confdefs.h. */
27743 #include <math.h>
27744 #ifdef HAVE_IEEEFP_H
27745 #include <ieeefp.h>
27746 #endif
27749 main ()
27751 log10l(0);
27753 return 0;
27755 _ACEOF
27756 if ac_fn_cxx_try_compile "$LINENO"; then :
27757 glibcxx_cv_func_log10l_use=yes
27758 else
27759 glibcxx_cv_func_log10l_use=no
27761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27762 ac_ext=c
27763 ac_cpp='$CPP $CPPFLAGS'
27764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
27773 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
27775 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
27776 for ac_func in log10l
27777 do :
27778 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
27779 if test "x$ac_cv_func_log10l" = xyes; then :
27780 cat >>confdefs.h <<_ACEOF
27781 #define HAVE_LOG10L 1
27782 _ACEOF
27785 done
27787 else
27789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
27790 $as_echo_n "checking for _log10l declaration... " >&6; }
27791 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
27792 if ${glibcxx_cv_func__log10l_use+:} false; then :
27793 $as_echo_n "(cached) " >&6
27794 else
27797 ac_ext=cpp
27798 ac_cpp='$CXXCPP $CPPFLAGS'
27799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27804 /* end confdefs.h. */
27805 #include <math.h>
27806 #ifdef HAVE_IEEEFP_H
27807 #include <ieeefp.h>
27808 #endif
27811 main ()
27813 _log10l(0);
27815 return 0;
27817 _ACEOF
27818 if ac_fn_cxx_try_compile "$LINENO"; then :
27819 glibcxx_cv_func__log10l_use=yes
27820 else
27821 glibcxx_cv_func__log10l_use=no
27823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27824 ac_ext=c
27825 ac_cpp='$CPP $CPPFLAGS'
27826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
27835 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
27837 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
27838 for ac_func in _log10l
27839 do :
27840 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
27841 if test "x$ac_cv_func__log10l" = xyes; then :
27842 cat >>confdefs.h <<_ACEOF
27843 #define HAVE__LOG10L 1
27844 _ACEOF
27847 done
27856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
27857 $as_echo_n "checking for modfl declaration... " >&6; }
27858 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
27859 if ${glibcxx_cv_func_modfl_use+:} false; then :
27860 $as_echo_n "(cached) " >&6
27861 else
27864 ac_ext=cpp
27865 ac_cpp='$CXXCPP $CPPFLAGS'
27866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27871 /* end confdefs.h. */
27872 #include <math.h>
27874 main ()
27876 modfl(0, 0);
27878 return 0;
27880 _ACEOF
27881 if ac_fn_cxx_try_compile "$LINENO"; then :
27882 glibcxx_cv_func_modfl_use=yes
27883 else
27884 glibcxx_cv_func_modfl_use=no
27886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27887 ac_ext=c
27888 ac_cpp='$CPP $CPPFLAGS'
27889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27898 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27900 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27901 for ac_func in modfl
27902 do :
27903 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27904 if test "x$ac_cv_func_modfl" = xyes; then :
27905 cat >>confdefs.h <<_ACEOF
27906 #define HAVE_MODFL 1
27907 _ACEOF
27910 done
27912 else
27914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27915 $as_echo_n "checking for _modfl declaration... " >&6; }
27916 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27917 if ${glibcxx_cv_func__modfl_use+:} false; then :
27918 $as_echo_n "(cached) " >&6
27919 else
27922 ac_ext=cpp
27923 ac_cpp='$CXXCPP $CPPFLAGS'
27924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27929 /* end confdefs.h. */
27930 #include <math.h>
27932 main ()
27934 _modfl(0, 0);
27936 return 0;
27938 _ACEOF
27939 if ac_fn_cxx_try_compile "$LINENO"; then :
27940 glibcxx_cv_func__modfl_use=yes
27941 else
27942 glibcxx_cv_func__modfl_use=no
27944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27945 ac_ext=c
27946 ac_cpp='$CPP $CPPFLAGS'
27947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27956 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27958 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27959 for ac_func in _modfl
27960 do :
27961 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27962 if test "x$ac_cv_func__modfl" = xyes; then :
27963 cat >>confdefs.h <<_ACEOF
27964 #define HAVE__MODFL 1
27965 _ACEOF
27968 done
27977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27978 $as_echo_n "checking for powl declaration... " >&6; }
27979 if test x${glibcxx_cv_func_powl_use+set} != xset; then
27980 if ${glibcxx_cv_func_powl_use+:} false; then :
27981 $as_echo_n "(cached) " >&6
27982 else
27985 ac_ext=cpp
27986 ac_cpp='$CXXCPP $CPPFLAGS'
27987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27992 /* end confdefs.h. */
27993 #include <math.h>
27995 main ()
27997 powl(0, 0);
27999 return 0;
28001 _ACEOF
28002 if ac_fn_cxx_try_compile "$LINENO"; then :
28003 glibcxx_cv_func_powl_use=yes
28004 else
28005 glibcxx_cv_func_powl_use=no
28007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28008 ac_ext=c
28009 ac_cpp='$CPP $CPPFLAGS'
28010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
28019 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
28021 if test x$glibcxx_cv_func_powl_use = x"yes"; then
28022 for ac_func in powl
28023 do :
28024 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
28025 if test "x$ac_cv_func_powl" = xyes; then :
28026 cat >>confdefs.h <<_ACEOF
28027 #define HAVE_POWL 1
28028 _ACEOF
28031 done
28033 else
28035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
28036 $as_echo_n "checking for _powl declaration... " >&6; }
28037 if test x${glibcxx_cv_func__powl_use+set} != xset; then
28038 if ${glibcxx_cv_func__powl_use+:} false; then :
28039 $as_echo_n "(cached) " >&6
28040 else
28043 ac_ext=cpp
28044 ac_cpp='$CXXCPP $CPPFLAGS'
28045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28050 /* end confdefs.h. */
28051 #include <math.h>
28053 main ()
28055 _powl(0, 0);
28057 return 0;
28059 _ACEOF
28060 if ac_fn_cxx_try_compile "$LINENO"; then :
28061 glibcxx_cv_func__powl_use=yes
28062 else
28063 glibcxx_cv_func__powl_use=no
28065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28066 ac_ext=c
28067 ac_cpp='$CPP $CPPFLAGS'
28068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
28077 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
28079 if test x$glibcxx_cv_func__powl_use = x"yes"; then
28080 for ac_func in _powl
28081 do :
28082 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
28083 if test "x$ac_cv_func__powl" = xyes; then :
28084 cat >>confdefs.h <<_ACEOF
28085 #define HAVE__POWL 1
28086 _ACEOF
28089 done
28098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
28099 $as_echo_n "checking for sqrtl declaration... " >&6; }
28100 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
28101 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
28102 $as_echo_n "(cached) " >&6
28103 else
28106 ac_ext=cpp
28107 ac_cpp='$CXXCPP $CPPFLAGS'
28108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28113 /* end confdefs.h. */
28114 #include <math.h>
28115 #ifdef HAVE_IEEEFP_H
28116 #include <ieeefp.h>
28117 #endif
28120 main ()
28122 sqrtl(0);
28124 return 0;
28126 _ACEOF
28127 if ac_fn_cxx_try_compile "$LINENO"; then :
28128 glibcxx_cv_func_sqrtl_use=yes
28129 else
28130 glibcxx_cv_func_sqrtl_use=no
28132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28133 ac_ext=c
28134 ac_cpp='$CPP $CPPFLAGS'
28135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
28144 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
28146 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
28147 for ac_func in sqrtl
28148 do :
28149 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
28150 if test "x$ac_cv_func_sqrtl" = xyes; then :
28151 cat >>confdefs.h <<_ACEOF
28152 #define HAVE_SQRTL 1
28153 _ACEOF
28156 done
28158 else
28160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
28161 $as_echo_n "checking for _sqrtl declaration... " >&6; }
28162 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
28163 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
28164 $as_echo_n "(cached) " >&6
28165 else
28168 ac_ext=cpp
28169 ac_cpp='$CXXCPP $CPPFLAGS'
28170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28175 /* end confdefs.h. */
28176 #include <math.h>
28177 #ifdef HAVE_IEEEFP_H
28178 #include <ieeefp.h>
28179 #endif
28182 main ()
28184 _sqrtl(0);
28186 return 0;
28188 _ACEOF
28189 if ac_fn_cxx_try_compile "$LINENO"; then :
28190 glibcxx_cv_func__sqrtl_use=yes
28191 else
28192 glibcxx_cv_func__sqrtl_use=no
28194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28195 ac_ext=c
28196 ac_cpp='$CPP $CPPFLAGS'
28197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
28206 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
28208 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
28209 for ac_func in _sqrtl
28210 do :
28211 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
28212 if test "x$ac_cv_func__sqrtl" = xyes; then :
28213 cat >>confdefs.h <<_ACEOF
28214 #define HAVE__SQRTL 1
28215 _ACEOF
28218 done
28227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
28228 $as_echo_n "checking for sincosl declaration... " >&6; }
28229 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
28230 if ${glibcxx_cv_func_sincosl_use+:} false; then :
28231 $as_echo_n "(cached) " >&6
28232 else
28235 ac_ext=cpp
28236 ac_cpp='$CXXCPP $CPPFLAGS'
28237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28242 /* end confdefs.h. */
28243 #include <math.h>
28245 main ()
28247 sincosl(0, 0, 0);
28249 return 0;
28251 _ACEOF
28252 if ac_fn_cxx_try_compile "$LINENO"; then :
28253 glibcxx_cv_func_sincosl_use=yes
28254 else
28255 glibcxx_cv_func_sincosl_use=no
28257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28258 ac_ext=c
28259 ac_cpp='$CPP $CPPFLAGS'
28260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
28269 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
28271 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
28272 for ac_func in sincosl
28273 do :
28274 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
28275 if test "x$ac_cv_func_sincosl" = xyes; then :
28276 cat >>confdefs.h <<_ACEOF
28277 #define HAVE_SINCOSL 1
28278 _ACEOF
28281 done
28283 else
28285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
28286 $as_echo_n "checking for _sincosl declaration... " >&6; }
28287 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
28288 if ${glibcxx_cv_func__sincosl_use+:} false; then :
28289 $as_echo_n "(cached) " >&6
28290 else
28293 ac_ext=cpp
28294 ac_cpp='$CXXCPP $CPPFLAGS'
28295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28300 /* end confdefs.h. */
28301 #include <math.h>
28303 main ()
28305 _sincosl(0, 0, 0);
28307 return 0;
28309 _ACEOF
28310 if ac_fn_cxx_try_compile "$LINENO"; then :
28311 glibcxx_cv_func__sincosl_use=yes
28312 else
28313 glibcxx_cv_func__sincosl_use=no
28315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28316 ac_ext=c
28317 ac_cpp='$CPP $CPPFLAGS'
28318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
28327 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
28329 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
28330 for ac_func in _sincosl
28331 do :
28332 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
28333 if test "x$ac_cv_func__sincosl" = xyes; then :
28334 cat >>confdefs.h <<_ACEOF
28335 #define HAVE__SINCOSL 1
28336 _ACEOF
28339 done
28348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
28349 $as_echo_n "checking for finitel declaration... " >&6; }
28350 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
28351 if ${glibcxx_cv_func_finitel_use+:} false; then :
28352 $as_echo_n "(cached) " >&6
28353 else
28356 ac_ext=cpp
28357 ac_cpp='$CXXCPP $CPPFLAGS'
28358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28363 /* end confdefs.h. */
28364 #include <math.h>
28365 #ifdef HAVE_IEEEFP_H
28366 #include <ieeefp.h>
28367 #endif
28370 main ()
28372 finitel(0);
28374 return 0;
28376 _ACEOF
28377 if ac_fn_cxx_try_compile "$LINENO"; then :
28378 glibcxx_cv_func_finitel_use=yes
28379 else
28380 glibcxx_cv_func_finitel_use=no
28382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28383 ac_ext=c
28384 ac_cpp='$CPP $CPPFLAGS'
28385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
28394 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
28396 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
28397 for ac_func in finitel
28398 do :
28399 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
28400 if test "x$ac_cv_func_finitel" = xyes; then :
28401 cat >>confdefs.h <<_ACEOF
28402 #define HAVE_FINITEL 1
28403 _ACEOF
28406 done
28408 else
28410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
28411 $as_echo_n "checking for _finitel declaration... " >&6; }
28412 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
28413 if ${glibcxx_cv_func__finitel_use+:} false; then :
28414 $as_echo_n "(cached) " >&6
28415 else
28418 ac_ext=cpp
28419 ac_cpp='$CXXCPP $CPPFLAGS'
28420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28425 /* end confdefs.h. */
28426 #include <math.h>
28427 #ifdef HAVE_IEEEFP_H
28428 #include <ieeefp.h>
28429 #endif
28432 main ()
28434 _finitel(0);
28436 return 0;
28438 _ACEOF
28439 if ac_fn_cxx_try_compile "$LINENO"; then :
28440 glibcxx_cv_func__finitel_use=yes
28441 else
28442 glibcxx_cv_func__finitel_use=no
28444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28445 ac_ext=c
28446 ac_cpp='$CPP $CPPFLAGS'
28447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
28456 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
28458 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
28459 for ac_func in _finitel
28460 do :
28461 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
28462 if test "x$ac_cv_func__finitel" = xyes; then :
28463 cat >>confdefs.h <<_ACEOF
28464 #define HAVE__FINITEL 1
28465 _ACEOF
28468 done
28476 LIBS="$ac_save_LIBS"
28477 CXXFLAGS="$ac_save_CXXFLAGS"
28480 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28481 ac_save_CXXFLAGS="$CXXFLAGS"
28482 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
28486 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
28487 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
28488 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
28489 $as_echo_n "(cached) " >&6
28490 else
28493 ac_ext=cpp
28494 ac_cpp='$CXXCPP $CPPFLAGS'
28495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28500 /* end confdefs.h. */
28501 #include <stdlib.h>
28503 main ()
28505 at_quick_exit(0);
28507 return 0;
28509 _ACEOF
28510 if ac_fn_cxx_try_compile "$LINENO"; then :
28511 glibcxx_cv_func_at_quick_exit_use=yes
28512 else
28513 glibcxx_cv_func_at_quick_exit_use=no
28515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28516 ac_ext=c
28517 ac_cpp='$CPP $CPPFLAGS'
28518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
28527 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
28528 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
28529 for ac_func in at_quick_exit
28530 do :
28531 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
28532 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
28533 cat >>confdefs.h <<_ACEOF
28534 #define HAVE_AT_QUICK_EXIT 1
28535 _ACEOF
28538 done
28543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
28544 $as_echo_n "checking for quick_exit declaration... " >&6; }
28545 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
28546 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
28547 $as_echo_n "(cached) " >&6
28548 else
28551 ac_ext=cpp
28552 ac_cpp='$CXXCPP $CPPFLAGS'
28553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28558 /* end confdefs.h. */
28559 #include <stdlib.h>
28561 main ()
28563 quick_exit(0);
28565 return 0;
28567 _ACEOF
28568 if ac_fn_cxx_try_compile "$LINENO"; then :
28569 glibcxx_cv_func_quick_exit_use=yes
28570 else
28571 glibcxx_cv_func_quick_exit_use=no
28573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28574 ac_ext=c
28575 ac_cpp='$CPP $CPPFLAGS'
28576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
28585 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
28586 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
28587 for ac_func in quick_exit
28588 do :
28589 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
28590 if test "x$ac_cv_func_quick_exit" = xyes; then :
28591 cat >>confdefs.h <<_ACEOF
28592 #define HAVE_QUICK_EXIT 1
28593 _ACEOF
28596 done
28601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
28602 $as_echo_n "checking for strtold declaration... " >&6; }
28603 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
28604 if ${glibcxx_cv_func_strtold_use+:} false; then :
28605 $as_echo_n "(cached) " >&6
28606 else
28609 ac_ext=cpp
28610 ac_cpp='$CXXCPP $CPPFLAGS'
28611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28616 /* end confdefs.h. */
28617 #include <stdlib.h>
28619 main ()
28621 strtold(0, 0);
28623 return 0;
28625 _ACEOF
28626 if ac_fn_cxx_try_compile "$LINENO"; then :
28627 glibcxx_cv_func_strtold_use=yes
28628 else
28629 glibcxx_cv_func_strtold_use=no
28631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28632 ac_ext=c
28633 ac_cpp='$CPP $CPPFLAGS'
28634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
28643 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
28644 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28645 for ac_func in strtold
28646 do :
28647 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
28648 if test "x$ac_cv_func_strtold" = xyes; then :
28649 cat >>confdefs.h <<_ACEOF
28650 #define HAVE_STRTOLD 1
28651 _ACEOF
28654 done
28661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
28662 $as_echo_n "checking for strtof declaration... " >&6; }
28663 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
28664 if ${glibcxx_cv_func_strtof_use+:} false; then :
28665 $as_echo_n "(cached) " >&6
28666 else
28669 ac_ext=cpp
28670 ac_cpp='$CXXCPP $CPPFLAGS'
28671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28676 /* end confdefs.h. */
28677 #include <stdlib.h>
28679 main ()
28681 strtof(0, 0);
28683 return 0;
28685 _ACEOF
28686 if ac_fn_cxx_try_compile "$LINENO"; then :
28687 glibcxx_cv_func_strtof_use=yes
28688 else
28689 glibcxx_cv_func_strtof_use=no
28691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28692 ac_ext=c
28693 ac_cpp='$CPP $CPPFLAGS'
28694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
28703 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
28704 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
28705 for ac_func in strtof
28706 do :
28707 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
28708 if test "x$ac_cv_func_strtof" = xyes; then :
28709 cat >>confdefs.h <<_ACEOF
28710 #define HAVE_STRTOF 1
28711 _ACEOF
28714 done
28721 CXXFLAGS="$ac_save_CXXFLAGS"
28724 # For /dev/random and /dev/urandom for std::random_device.
28727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device" >&5
28728 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device... " >&6; }
28729 if ${glibcxx_cv_dev_random+:} false; then :
28730 $as_echo_n "(cached) " >&6
28731 else
28733 if test -r /dev/random && test -r /dev/urandom; then
28734 ## For MSys environment the test above is detected as false-positive
28735 ## on mingw-targets. So disable it explicitly for them.
28736 case ${target_os} in
28737 *mingw*) glibcxx_cv_dev_random=no ;;
28738 *) glibcxx_cv_dev_random=yes ;;
28739 esac
28740 else
28741 glibcxx_cv_dev_random=no;
28746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dev_random" >&5
28747 $as_echo "$glibcxx_cv_dev_random" >&6; }
28749 if test x"$glibcxx_cv_dev_random" = x"yes"; then
28751 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
28754 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
28760 # For TLS support.
28763 # Check whether --enable-tls was given.
28764 if test "${enable_tls+set}" = set; then :
28765 enableval=$enable_tls;
28766 case "$enableval" in
28767 yes|no) ;;
28768 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
28769 esac
28771 else
28772 enable_tls=yes
28776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
28777 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
28778 if ${gcc_cv_have_tls+:} false; then :
28779 $as_echo_n "(cached) " >&6
28780 else
28782 if test "$cross_compiling" = yes; then :
28783 if test x$gcc_no_link = xyes; then
28784 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28787 /* end confdefs.h. */
28788 __thread int a; int b; int main() { return a = b; }
28789 _ACEOF
28790 if ac_fn_c_try_link "$LINENO"; then :
28791 chktls_save_LDFLAGS="$LDFLAGS"
28792 case $host in
28793 *-*-linux* | -*-uclinuxfdpic*)
28794 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
28796 esac
28797 chktls_save_CFLAGS="$CFLAGS"
28798 CFLAGS="-fPIC $CFLAGS"
28799 if test x$gcc_no_link = xyes; then
28800 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28803 /* end confdefs.h. */
28804 int f() { return 0; }
28805 _ACEOF
28806 if ac_fn_c_try_link "$LINENO"; then :
28807 if test x$gcc_no_link = xyes; then
28808 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28811 /* end confdefs.h. */
28812 __thread int a; int b; int f() { return a = b; }
28813 _ACEOF
28814 if ac_fn_c_try_link "$LINENO"; then :
28815 gcc_cv_have_tls=yes
28816 else
28817 gcc_cv_have_tls=no
28819 rm -f core conftest.err conftest.$ac_objext \
28820 conftest$ac_exeext conftest.$ac_ext
28821 else
28822 gcc_cv_have_tls=yes
28824 rm -f core conftest.err conftest.$ac_objext \
28825 conftest$ac_exeext conftest.$ac_ext
28826 CFLAGS="$chktls_save_CFLAGS"
28827 LDFLAGS="$chktls_save_LDFLAGS"
28828 else
28829 gcc_cv_have_tls=no
28831 rm -f core conftest.err conftest.$ac_objext \
28832 conftest$ac_exeext conftest.$ac_ext
28835 else
28836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28837 /* end confdefs.h. */
28838 __thread int a; int b; int main() { return a = b; }
28839 _ACEOF
28840 if ac_fn_c_try_run "$LINENO"; then :
28841 chktls_save_LDFLAGS="$LDFLAGS"
28842 LDFLAGS="-static $LDFLAGS"
28843 if test x$gcc_no_link = xyes; then
28844 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28847 /* end confdefs.h. */
28848 int main() { return 0; }
28849 _ACEOF
28850 if ac_fn_c_try_link "$LINENO"; then :
28851 if test "$cross_compiling" = yes; then :
28852 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28853 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28854 as_fn_error $? "cannot run test program while cross compiling
28855 See \`config.log' for more details" "$LINENO" 5; }
28856 else
28857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28858 /* end confdefs.h. */
28859 __thread int a; int b; int main() { return a = b; }
28860 _ACEOF
28861 if ac_fn_c_try_run "$LINENO"; then :
28862 gcc_cv_have_tls=yes
28863 else
28864 gcc_cv_have_tls=no
28866 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28867 conftest.$ac_objext conftest.beam conftest.$ac_ext
28870 else
28871 gcc_cv_have_tls=yes
28873 rm -f core conftest.err conftest.$ac_objext \
28874 conftest$ac_exeext conftest.$ac_ext
28875 LDFLAGS="$chktls_save_LDFLAGS"
28876 if test $gcc_cv_have_tls = yes; then
28877 chktls_save_CFLAGS="$CFLAGS"
28878 thread_CFLAGS=failed
28879 for flag in '' '-pthread' '-lpthread'; do
28880 CFLAGS="$flag $chktls_save_CFLAGS"
28881 if test x$gcc_no_link = xyes; then
28882 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28885 /* end confdefs.h. */
28886 #include <pthread.h>
28887 void *g(void *d) { return NULL; }
28889 main ()
28891 pthread_t t; pthread_create(&t,NULL,g,NULL);
28893 return 0;
28895 _ACEOF
28896 if ac_fn_c_try_link "$LINENO"; then :
28897 thread_CFLAGS="$flag"
28899 rm -f core conftest.err conftest.$ac_objext \
28900 conftest$ac_exeext conftest.$ac_ext
28901 if test "X$thread_CFLAGS" != Xfailed; then
28902 break
28904 done
28905 CFLAGS="$chktls_save_CFLAGS"
28906 if test "X$thread_CFLAGS" != Xfailed; then
28907 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28908 if test "$cross_compiling" = yes; then :
28909 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28910 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28911 as_fn_error $? "cannot run test program while cross compiling
28912 See \`config.log' for more details" "$LINENO" 5; }
28913 else
28914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28915 /* end confdefs.h. */
28916 #include <pthread.h>
28917 __thread int a;
28918 static int *volatile a_in_other_thread;
28919 static void *
28920 thread_func (void *arg)
28922 a_in_other_thread = &a;
28923 return (void *)0;
28926 main ()
28928 pthread_t thread;
28929 void *thread_retval;
28930 int *volatile a_in_main_thread;
28931 a_in_main_thread = &a;
28932 if (pthread_create (&thread, (pthread_attr_t *)0,
28933 thread_func, (void *)0))
28934 return 0;
28935 if (pthread_join (thread, &thread_retval))
28936 return 0;
28937 return (a_in_other_thread == a_in_main_thread);
28939 return 0;
28941 _ACEOF
28942 if ac_fn_c_try_run "$LINENO"; then :
28943 gcc_cv_have_tls=yes
28944 else
28945 gcc_cv_have_tls=no
28947 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28948 conftest.$ac_objext conftest.beam conftest.$ac_ext
28951 CFLAGS="$chktls_save_CFLAGS"
28954 else
28955 gcc_cv_have_tls=no
28957 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28958 conftest.$ac_objext conftest.beam conftest.$ac_ext
28962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28963 $as_echo "$gcc_cv_have_tls" >&6; }
28964 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28966 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28970 for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28971 do :
28972 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28973 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28974 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28975 cat >>confdefs.h <<_ACEOF
28976 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28977 _ACEOF
28980 done
28982 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28983 do :
28984 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28985 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28986 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28987 cat >>confdefs.h <<_ACEOF
28988 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28989 _ACEOF
28992 done
28994 for ac_func in _wfopen
28995 do :
28996 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
28997 if test "x$ac_cv_func__wfopen" = xyes; then :
28998 cat >>confdefs.h <<_ACEOF
28999 #define HAVE__WFOPEN 1
29000 _ACEOF
29003 done
29006 # C11 functions for C++17 library
29007 for ac_func in timespec_get
29008 do :
29009 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
29010 if test "x$ac_cv_func_timespec_get" = xyes; then :
29011 cat >>confdefs.h <<_ACEOF
29012 #define HAVE_TIMESPEC_GET 1
29013 _ACEOF
29016 done
29019 # For Networking TS.
29020 for ac_func in sockatmark
29021 do :
29022 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
29023 if test "x$ac_cv_func_sockatmark" = xyes; then :
29024 cat >>confdefs.h <<_ACEOF
29025 #define HAVE_SOCKATMARK 1
29026 _ACEOF
29029 done
29032 # Non-standard functions used by C++17 std::from_chars
29033 for ac_func in uselocale
29034 do :
29035 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
29036 if test "x$ac_cv_func_uselocale" = xyes; then :
29037 cat >>confdefs.h <<_ACEOF
29038 #define HAVE_USELOCALE 1
29039 _ACEOF
29042 done
29045 # For iconv support.
29047 if test "X$prefix" = "XNONE"; then
29048 acl_final_prefix="$ac_default_prefix"
29049 else
29050 acl_final_prefix="$prefix"
29052 if test "X$exec_prefix" = "XNONE"; then
29053 acl_final_exec_prefix='${prefix}'
29054 else
29055 acl_final_exec_prefix="$exec_prefix"
29057 acl_save_prefix="$prefix"
29058 prefix="$acl_final_prefix"
29059 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
29060 prefix="$acl_save_prefix"
29063 # Check whether --with-gnu-ld was given.
29064 if test "${with_gnu_ld+set}" = set; then :
29065 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
29066 else
29067 with_gnu_ld=no
29070 # Prepare PATH_SEPARATOR.
29071 # The user is always right.
29072 if test "${PATH_SEPARATOR+set}" != set; then
29073 echo "#! /bin/sh" >conf$$.sh
29074 echo "exit 0" >>conf$$.sh
29075 chmod +x conf$$.sh
29076 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
29077 PATH_SEPARATOR=';'
29078 else
29079 PATH_SEPARATOR=:
29081 rm -f conf$$.sh
29083 ac_prog=ld
29084 if test "$GCC" = yes; then
29085 # Check if gcc -print-prog-name=ld gives a path.
29086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
29087 $as_echo_n "checking for ld used by GCC... " >&6; }
29088 case $host in
29089 *-*-mingw*)
29090 # gcc leaves a trailing carriage return which upsets mingw
29091 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
29093 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
29094 esac
29095 case $ac_prog in
29096 # Accept absolute paths.
29097 [\\/]* | [A-Za-z]:[\\/]*)
29098 re_direlt='/[^/][^/]*/\.\./'
29099 # Canonicalize the path of ld
29100 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
29101 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
29102 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
29103 done
29104 test -z "$LD" && LD="$ac_prog"
29107 # If it fails, then pretend we aren't using GCC.
29108 ac_prog=ld
29111 # If it is relative, then search for the first ld in PATH.
29112 with_gnu_ld=unknown
29114 esac
29115 elif test "$with_gnu_ld" = yes; then
29116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
29117 $as_echo_n "checking for GNU ld... " >&6; }
29118 else
29119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
29120 $as_echo_n "checking for non-GNU ld... " >&6; }
29122 if ${acl_cv_path_LD+:} false; then :
29123 $as_echo_n "(cached) " >&6
29124 else
29125 if test -z "$LD"; then
29126 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
29127 for ac_dir in $PATH; do
29128 test -z "$ac_dir" && ac_dir=.
29129 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
29130 acl_cv_path_LD="$ac_dir/$ac_prog"
29131 # Check to see if the program is GNU ld. I'd rather use --version,
29132 # but apparently some GNU ld's only accept -v.
29133 # Break only if it was the GNU/non-GNU ld that we prefer.
29134 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
29135 test "$with_gnu_ld" != no && break
29136 else
29137 test "$with_gnu_ld" != yes && break
29140 done
29141 IFS="$ac_save_ifs"
29142 else
29143 acl_cv_path_LD="$LD" # Let the user override the test with a path.
29147 LD="$acl_cv_path_LD"
29148 if test -n "$LD"; then
29149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
29150 $as_echo "$LD" >&6; }
29151 else
29152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29153 $as_echo "no" >&6; }
29155 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
29156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
29157 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
29158 if ${acl_cv_prog_gnu_ld+:} false; then :
29159 $as_echo_n "(cached) " >&6
29160 else
29161 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
29162 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
29163 acl_cv_prog_gnu_ld=yes
29164 else
29165 acl_cv_prog_gnu_ld=no
29168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
29169 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
29170 with_gnu_ld=$acl_cv_prog_gnu_ld
29174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
29175 $as_echo_n "checking for shared library run path origin... " >&6; }
29176 if ${acl_cv_rpath+:} false; then :
29177 $as_echo_n "(cached) " >&6
29178 else
29180 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
29181 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
29182 . ./conftest.sh
29183 rm -f ./conftest.sh
29184 acl_cv_rpath=done
29187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
29188 $as_echo "$acl_cv_rpath" >&6; }
29189 wl="$acl_cv_wl"
29190 libext="$acl_cv_libext"
29191 shlibext="$acl_cv_shlibext"
29192 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
29193 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
29194 hardcode_direct="$acl_cv_hardcode_direct"
29195 hardcode_minus_L="$acl_cv_hardcode_minus_L"
29196 # Check whether --enable-rpath was given.
29197 if test "${enable_rpath+set}" = set; then :
29198 enableval=$enable_rpath; :
29199 else
29200 enable_rpath=yes
29210 use_additional=yes
29212 acl_save_prefix="$prefix"
29213 prefix="$acl_final_prefix"
29214 acl_save_exec_prefix="$exec_prefix"
29215 exec_prefix="$acl_final_exec_prefix"
29217 eval additional_includedir=\"$includedir\"
29218 eval additional_libdir=\"$libdir\"
29220 exec_prefix="$acl_save_exec_prefix"
29221 prefix="$acl_save_prefix"
29224 # Check whether --with-libiconv-prefix was given.
29225 if test "${with_libiconv_prefix+set}" = set; then :
29226 withval=$with_libiconv_prefix;
29227 if test "X$withval" = "Xno"; then
29228 use_additional=no
29229 else
29230 if test "X$withval" = "X"; then
29232 acl_save_prefix="$prefix"
29233 prefix="$acl_final_prefix"
29234 acl_save_exec_prefix="$exec_prefix"
29235 exec_prefix="$acl_final_exec_prefix"
29237 eval additional_includedir=\"$includedir\"
29238 eval additional_libdir=\"$libdir\"
29240 exec_prefix="$acl_save_exec_prefix"
29241 prefix="$acl_save_prefix"
29243 else
29244 additional_includedir="$withval/include"
29245 additional_libdir="$withval/lib"
29252 # Check whether --with-libiconv-type was given.
29253 if test "${with_libiconv_type+set}" = set; then :
29254 withval=$with_libiconv_type; with_libiconv_type=$withval
29255 else
29256 with_libiconv_type=auto
29259 lib_type=`eval echo \$with_libiconv_type`
29261 LIBICONV=
29262 LTLIBICONV=
29263 INCICONV=
29264 rpathdirs=
29265 ltrpathdirs=
29266 names_already_handled=
29267 names_next_round='iconv '
29268 while test -n "$names_next_round"; do
29269 names_this_round="$names_next_round"
29270 names_next_round=
29271 for name in $names_this_round; do
29272 already_handled=
29273 for n in $names_already_handled; do
29274 if test "$n" = "$name"; then
29275 already_handled=yes
29276 break
29278 done
29279 if test -z "$already_handled"; then
29280 names_already_handled="$names_already_handled $name"
29281 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
29282 eval value=\"\$HAVE_LIB$uppername\"
29283 if test -n "$value"; then
29284 if test "$value" = yes; then
29285 eval value=\"\$LIB$uppername\"
29286 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
29287 eval value=\"\$LTLIB$uppername\"
29288 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
29289 else
29292 else
29293 found_dir=
29294 found_la=
29295 found_so=
29296 found_a=
29297 if test $use_additional = yes; then
29298 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x$lib_type != xstatic; then
29299 found_dir="$additional_libdir"
29300 found_so="$additional_libdir/lib$name.$shlibext"
29301 if test -f "$additional_libdir/lib$name.la"; then
29302 found_la="$additional_libdir/lib$name.la"
29304 elif test x$lib_type != xshared; then
29305 if test -f "$additional_libdir/lib$name.$libext"; then
29306 found_dir="$additional_libdir"
29307 found_a="$additional_libdir/lib$name.$libext"
29308 if test -f "$additional_libdir/lib$name.la"; then
29309 found_la="$additional_libdir/lib$name.la"
29314 if test "X$found_dir" = "X"; then
29315 for x in $LDFLAGS $LTLIBICONV; do
29317 acl_save_prefix="$prefix"
29318 prefix="$acl_final_prefix"
29319 acl_save_exec_prefix="$exec_prefix"
29320 exec_prefix="$acl_final_exec_prefix"
29321 eval x=\"$x\"
29322 exec_prefix="$acl_save_exec_prefix"
29323 prefix="$acl_save_prefix"
29325 case "$x" in
29326 -L*)
29327 dir=`echo "X$x" | sed -e 's/^X-L//'`
29328 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x$lib_type != xstatic; then
29329 found_dir="$dir"
29330 found_so="$dir/lib$name.$shlibext"
29331 if test -f "$dir/lib$name.la"; then
29332 found_la="$dir/lib$name.la"
29334 elif test x$lib_type != xshared; then
29335 if test -f "$dir/lib$name.$libext"; then
29336 found_dir="$dir"
29337 found_a="$dir/lib$name.$libext"
29338 if test -f "$dir/lib$name.la"; then
29339 found_la="$dir/lib$name.la"
29344 esac
29345 if test "X$found_dir" != "X"; then
29346 break
29348 done
29350 if test "X$found_dir" != "X"; then
29351 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
29352 if test "X$found_so" != "X"; then
29353 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
29354 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29355 else
29356 haveit=
29357 for x in $ltrpathdirs; do
29358 if test "X$x" = "X$found_dir"; then
29359 haveit=yes
29360 break
29362 done
29363 if test -z "$haveit"; then
29364 ltrpathdirs="$ltrpathdirs $found_dir"
29366 if test "$hardcode_direct" = yes; then
29367 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29368 else
29369 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
29370 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29371 haveit=
29372 for x in $rpathdirs; do
29373 if test "X$x" = "X$found_dir"; then
29374 haveit=yes
29375 break
29377 done
29378 if test -z "$haveit"; then
29379 rpathdirs="$rpathdirs $found_dir"
29381 else
29382 haveit=
29383 for x in $LDFLAGS $LIBICONV; do
29385 acl_save_prefix="$prefix"
29386 prefix="$acl_final_prefix"
29387 acl_save_exec_prefix="$exec_prefix"
29388 exec_prefix="$acl_final_exec_prefix"
29389 eval x=\"$x\"
29390 exec_prefix="$acl_save_exec_prefix"
29391 prefix="$acl_save_prefix"
29393 if test "X$x" = "X-L$found_dir"; then
29394 haveit=yes
29395 break
29397 done
29398 if test -z "$haveit"; then
29399 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
29401 if test "$hardcode_minus_L" != no; then
29402 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29403 else
29404 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
29409 else
29410 if test "X$found_a" != "X"; then
29411 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
29412 else
29413 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
29416 additional_includedir=
29417 case "$found_dir" in
29418 */lib | */lib/)
29419 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
29420 additional_includedir="$basedir/include"
29422 esac
29423 if test "X$additional_includedir" != "X"; then
29424 if test "X$additional_includedir" != "X/usr/include"; then
29425 haveit=
29426 if test "X$additional_includedir" = "X/usr/local/include"; then
29427 if test -n "$GCC"; then
29428 case $host_os in
29429 linux*) haveit=yes;;
29430 esac
29433 if test -z "$haveit"; then
29434 for x in $CPPFLAGS $INCICONV; do
29436 acl_save_prefix="$prefix"
29437 prefix="$acl_final_prefix"
29438 acl_save_exec_prefix="$exec_prefix"
29439 exec_prefix="$acl_final_exec_prefix"
29440 eval x=\"$x\"
29441 exec_prefix="$acl_save_exec_prefix"
29442 prefix="$acl_save_prefix"
29444 if test "X$x" = "X-I$additional_includedir"; then
29445 haveit=yes
29446 break
29448 done
29449 if test -z "$haveit"; then
29450 if test -d "$additional_includedir"; then
29451 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
29457 if test -n "$found_la"; then
29458 save_libdir="$libdir"
29459 case "$found_la" in
29460 */* | *\\*) . "$found_la" ;;
29461 *) . "./$found_la" ;;
29462 esac
29463 libdir="$save_libdir"
29464 for dep in $dependency_libs; do
29465 case "$dep" in
29466 -L*)
29467 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
29468 if test "X$additional_libdir" != "X/usr/lib"; then
29469 haveit=
29470 if test "X$additional_libdir" = "X/usr/local/lib"; then
29471 if test -n "$GCC"; then
29472 case $host_os in
29473 linux*) haveit=yes;;
29474 esac
29477 if test -z "$haveit"; then
29478 haveit=
29479 for x in $LDFLAGS $LIBICONV; do
29481 acl_save_prefix="$prefix"
29482 prefix="$acl_final_prefix"
29483 acl_save_exec_prefix="$exec_prefix"
29484 exec_prefix="$acl_final_exec_prefix"
29485 eval x=\"$x\"
29486 exec_prefix="$acl_save_exec_prefix"
29487 prefix="$acl_save_prefix"
29489 if test "X$x" = "X-L$additional_libdir"; then
29490 haveit=yes
29491 break
29493 done
29494 if test -z "$haveit"; then
29495 if test -d "$additional_libdir"; then
29496 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
29499 haveit=
29500 for x in $LDFLAGS $LTLIBICONV; do
29502 acl_save_prefix="$prefix"
29503 prefix="$acl_final_prefix"
29504 acl_save_exec_prefix="$exec_prefix"
29505 exec_prefix="$acl_final_exec_prefix"
29506 eval x=\"$x\"
29507 exec_prefix="$acl_save_exec_prefix"
29508 prefix="$acl_save_prefix"
29510 if test "X$x" = "X-L$additional_libdir"; then
29511 haveit=yes
29512 break
29514 done
29515 if test -z "$haveit"; then
29516 if test -d "$additional_libdir"; then
29517 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
29523 -R*)
29524 dir=`echo "X$dep" | sed -e 's/^X-R//'`
29525 if test "$enable_rpath" != no; then
29526 haveit=
29527 for x in $rpathdirs; do
29528 if test "X$x" = "X$dir"; then
29529 haveit=yes
29530 break
29532 done
29533 if test -z "$haveit"; then
29534 rpathdirs="$rpathdirs $dir"
29536 haveit=
29537 for x in $ltrpathdirs; do
29538 if test "X$x" = "X$dir"; then
29539 haveit=yes
29540 break
29542 done
29543 if test -z "$haveit"; then
29544 ltrpathdirs="$ltrpathdirs $dir"
29548 -l*)
29549 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
29551 *.la)
29552 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
29555 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
29556 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
29558 esac
29559 done
29561 else
29562 if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then
29563 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
29564 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
29565 else
29566 LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext"
29567 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext"
29572 done
29573 done
29574 if test "X$rpathdirs" != "X"; then
29575 if test -n "$hardcode_libdir_separator"; then
29576 alldirs=
29577 for found_dir in $rpathdirs; do
29578 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
29579 done
29580 acl_save_libdir="$libdir"
29581 libdir="$alldirs"
29582 eval flag=\"$hardcode_libdir_flag_spec\"
29583 libdir="$acl_save_libdir"
29584 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
29585 else
29586 for found_dir in $rpathdirs; do
29587 acl_save_libdir="$libdir"
29588 libdir="$found_dir"
29589 eval flag=\"$hardcode_libdir_flag_spec\"
29590 libdir="$acl_save_libdir"
29591 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
29592 done
29595 if test "X$ltrpathdirs" != "X"; then
29596 for found_dir in $ltrpathdirs; do
29597 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
29598 done
29607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
29608 $as_echo_n "checking for iconv... " >&6; }
29609 if ${am_cv_func_iconv+:} false; then :
29610 $as_echo_n "(cached) " >&6
29611 else
29613 am_cv_func_iconv="no, consider installing GNU libiconv"
29614 am_cv_lib_iconv=no
29615 am_save_CPPFLAGS="$CPPFLAGS"
29616 CPPFLAGS="$CPPFLAGS $INCICONV"
29617 if test x$gcc_no_link = xyes; then
29618 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29621 /* end confdefs.h. */
29622 #include <stdlib.h>
29623 #include <iconv.h>
29625 main ()
29627 iconv_t cd = iconv_open("","");
29628 iconv(cd,NULL,NULL,NULL,NULL);
29629 iconv_close(cd);
29631 return 0;
29633 _ACEOF
29634 if ac_fn_c_try_link "$LINENO"; then :
29635 am_cv_func_iconv=yes
29637 rm -f core conftest.err conftest.$ac_objext \
29638 conftest$ac_exeext conftest.$ac_ext
29639 CPPFLAGS="$am_save_CPPFLAGS"
29641 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
29642 for _libs in .libs _libs; do
29643 am_save_CPPFLAGS="$CPPFLAGS"
29644 am_save_LIBS="$LIBS"
29645 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
29646 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
29647 if test x$gcc_no_link = xyes; then
29648 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29651 /* end confdefs.h. */
29652 #include <stdlib.h>
29653 #include <iconv.h>
29655 main ()
29657 iconv_t cd = iconv_open("","");
29658 iconv(cd,NULL,NULL,NULL,NULL);
29659 iconv_close(cd);
29661 return 0;
29663 _ACEOF
29664 if ac_fn_c_try_link "$LINENO"; then :
29665 INCICONV="-I../libiconv/include"
29666 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
29667 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
29668 am_cv_lib_iconv=yes
29669 am_cv_func_iconv=yes
29671 rm -f core conftest.err conftest.$ac_objext \
29672 conftest$ac_exeext conftest.$ac_ext
29673 CPPFLAGS="$am_save_CPPFLAGS"
29674 LIBS="$am_save_LIBS"
29675 if test "$am_cv_func_iconv" = "yes"; then
29676 break
29678 done
29681 if test "$am_cv_func_iconv" != yes; then
29682 am_save_CPPFLAGS="$CPPFLAGS"
29683 am_save_LIBS="$LIBS"
29684 CPPFLAGS="$CPPFLAGS $INCICONV"
29685 LIBS="$LIBS $LIBICONV"
29686 if test x$gcc_no_link = xyes; then
29687 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29690 /* end confdefs.h. */
29691 #include <stdlib.h>
29692 #include <iconv.h>
29694 main ()
29696 iconv_t cd = iconv_open("","");
29697 iconv(cd,NULL,NULL,NULL,NULL);
29698 iconv_close(cd);
29700 return 0;
29702 _ACEOF
29703 if ac_fn_c_try_link "$LINENO"; then :
29704 am_cv_lib_iconv=yes
29705 am_cv_func_iconv=yes
29707 rm -f core conftest.err conftest.$ac_objext \
29708 conftest$ac_exeext conftest.$ac_ext
29709 CPPFLAGS="$am_save_CPPFLAGS"
29710 LIBS="$am_save_LIBS"
29714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
29715 $as_echo "$am_cv_func_iconv" >&6; }
29716 if test "$am_cv_func_iconv" = yes; then
29718 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29721 if test "$am_cv_lib_iconv" = yes; then
29723 for element in $INCICONV; do
29724 haveit=
29725 for x in $CPPFLAGS; do
29727 acl_save_prefix="$prefix"
29728 prefix="$acl_final_prefix"
29729 acl_save_exec_prefix="$exec_prefix"
29730 exec_prefix="$acl_final_exec_prefix"
29731 eval x=\"$x\"
29732 exec_prefix="$acl_save_exec_prefix"
29733 prefix="$acl_save_prefix"
29735 if test "X$x" = "X$element"; then
29736 haveit=yes
29737 break
29739 done
29740 if test -z "$haveit"; then
29741 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
29743 done
29745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
29746 $as_echo_n "checking how to link with libiconv... " >&6; }
29747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
29748 $as_echo "$LIBICONV" >&6; }
29749 else
29750 LIBICONV=
29751 LTLIBICONV=
29756 if test "$am_cv_func_iconv" = yes; then
29757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
29758 $as_echo_n "checking for iconv declaration... " >&6; }
29759 if ${am_cv_proto_iconv+:} false; then :
29760 $as_echo_n "(cached) " >&6
29761 else
29763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29764 /* end confdefs.h. */
29766 #include <stdlib.h>
29767 #include <iconv.h>
29768 extern
29769 #ifdef __cplusplus
29771 #endif
29772 #if defined(__STDC__) || defined(__cplusplus)
29773 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29774 #else
29775 size_t iconv();
29776 #endif
29779 main ()
29783 return 0;
29785 _ACEOF
29786 if ac_fn_c_try_compile "$LINENO"; then :
29787 am_cv_proto_iconv_arg1=""
29788 else
29789 am_cv_proto_iconv_arg1="const"
29791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29792 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);"
29795 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
29796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
29797 }$am_cv_proto_iconv" >&5
29798 $as_echo "${ac_t:-
29799 }$am_cv_proto_iconv" >&6; }
29801 cat >>confdefs.h <<_ACEOF
29802 #define ICONV_CONST $am_cv_proto_iconv_arg1
29803 _ACEOF
29808 else
29810 # This lets us hard-code the functionality we know we'll have in the cross
29811 # target environment. "Let" is a sugar-coated word placed on an especially
29812 # dull and tedious hack, actually.
29814 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
29815 # that involve linking, can't be used:
29816 # "cannot open sim-crt0.o"
29817 # "cannot open crt0.o"
29818 # etc. All this is because there currently exists no unified, consistent
29819 # way for top level CC information to be passed down to target directories:
29820 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
29821 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
29822 # crosses can be removed.
29824 # If Canadian cross, then don't pick up tools from the build directory.
29825 # Used only in GLIBCXX_EXPORT_INCLUDES.
29826 if test -n "$with_cross_host" &&
29827 test x"$build_alias" != x"$with_cross_host" &&
29828 test x"$build" != x"$target";
29829 then
29830 CANADIAN=yes
29831 else
29832 CANADIAN=no
29835 # Construct crosses by hand, eliminating bits that need ld...
29836 # GLIBCXX_CHECK_MATH_SUPPORT
29838 # First, test for "known" system libraries. We may be using newlib even
29839 # on a hosted environment.
29840 if test "x${with_newlib}" = "xyes"; then
29841 os_include_dir="os/newlib"
29842 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
29845 # GLIBCXX_CHECK_STDLIB_SUPPORT
29846 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
29849 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29851 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29853 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29855 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29857 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29859 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29861 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29863 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29865 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29867 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29869 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29871 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29873 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29875 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29877 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29879 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29881 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29883 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29885 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29887 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29889 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29891 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29894 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29896 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
29898 else
29900 # Base decisions on target environment.
29901 case "${host}" in
29902 arm*-*-symbianelf*)
29903 # This is a freestanding configuration; there is nothing to do here.
29906 avr*-*-*)
29907 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29909 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29911 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29913 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29915 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29917 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29919 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29921 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29923 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29925 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29927 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29929 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29931 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29933 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29935 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29937 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29939 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29941 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29943 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29945 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29947 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29949 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29951 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29955 mips*-sde-elf*)
29956 # These definitions are for the SDE C library rather than newlib.
29957 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29960 # All these tests are for C++; save the language and the compiler flags.
29961 # The CXXFLAGS thing is suspicious, but based on similar bits previously
29962 # found in GLIBCXX_CONFIGURE.
29964 ac_ext=cpp
29965 ac_cpp='$CXXCPP $CPPFLAGS'
29966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29970 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29971 ac_save_CXXFLAGS="$CXXFLAGS"
29973 # Check for -ffunction-sections -fdata-sections
29974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29975 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29976 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29978 /* end confdefs.h. */
29979 int foo; void bar() { };
29981 main ()
29985 return 0;
29987 _ACEOF
29988 if ac_fn_cxx_try_compile "$LINENO"; then :
29989 ac_fdsections=yes
29990 else
29991 ac_fdsections=no
29993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29994 if test "$ac_test_CXXFLAGS" = set; then
29995 CXXFLAGS="$ac_save_CXXFLAGS"
29996 else
29997 # this is the suspicious part
29998 CXXFLAGS=''
30000 if test x"$ac_fdsections" = x"yes"; then
30001 SECTION_FLAGS='-ffunction-sections -fdata-sections'
30003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
30004 $as_echo "$ac_fdsections" >&6; }
30006 ac_ext=c
30007 ac_cpp='$CPP $CPPFLAGS'
30008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30015 # If we're not using GNU ld, then there's no point in even trying these
30016 # tests. Check for that first. We should have already tested for gld
30017 # by now (in libtool), but require it now just to be safe...
30018 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
30019 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
30023 # The name set by libtool depends on the version of libtool. Shame on us
30024 # for depending on an impl detail, but c'est la vie. Older versions used
30025 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
30026 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
30027 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
30028 # set (hence we're using an older libtool), then set it.
30029 if test x${with_gnu_ld+set} != xset; then
30030 if test x${ac_cv_prog_gnu_ld+set} != xset; then
30031 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
30032 with_gnu_ld=no
30033 else
30034 with_gnu_ld=$ac_cv_prog_gnu_ld
30038 # Start by getting the version number. I think the libtool test already
30039 # does some of this, but throws away the result.
30040 glibcxx_ld_is_gold=no
30041 if test x"$with_gnu_ld" = x"yes"; then
30042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
30043 $as_echo_n "checking for ld version... " >&6; }
30045 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
30046 glibcxx_ld_is_gold=yes
30048 ldver=`$LD --version 2>/dev/null |
30049 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
30051 glibcxx_gnu_ld_version=`echo $ldver | \
30052 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
30053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
30054 $as_echo "$glibcxx_gnu_ld_version" >&6; }
30057 # Set --gc-sections.
30058 glibcxx_have_gc_sections=no
30059 if test "$glibcxx_ld_is_gold" = "yes"; then
30060 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
30061 glibcxx_have_gc_sections=yes
30063 else
30064 glibcxx_gcsections_min_ld=21602
30065 if test x"$with_gnu_ld" = x"yes" &&
30066 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
30067 glibcxx_have_gc_sections=yes
30070 if test "$glibcxx_have_gc_sections" = "yes"; then
30071 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
30072 # NB: This flag only works reliably after 2.16.1. Configure tests
30073 # for this are difficult, so hard wire a value that should work.
30075 ac_test_CFLAGS="${CFLAGS+set}"
30076 ac_save_CFLAGS="$CFLAGS"
30077 CFLAGS='-Wl,--gc-sections'
30079 # Check for -Wl,--gc-sections
30080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
30081 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
30082 if test x$gcc_no_link = xyes; then
30083 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30086 /* end confdefs.h. */
30087 int one(void) { return 1; }
30088 int two(void) { return 2; }
30091 main ()
30093 two();
30095 return 0;
30097 _ACEOF
30098 if ac_fn_c_try_link "$LINENO"; then :
30099 ac_gcsections=yes
30100 else
30101 ac_gcsections=no
30103 rm -f core conftest.err conftest.$ac_objext \
30104 conftest$ac_exeext conftest.$ac_ext
30105 if test "$ac_gcsections" = "yes"; then
30106 rm -f conftest.c
30107 touch conftest.c
30108 if $CC -c conftest.c; then
30109 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
30110 grep "Warning: gc-sections option ignored" > /dev/null; then
30111 ac_gcsections=no
30114 rm -f conftest.c conftest.o conftest
30116 if test "$ac_gcsections" = "yes"; then
30117 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
30119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
30120 $as_echo "$ac_gcsections" >&6; }
30122 if test "$ac_test_CFLAGS" = set; then
30123 CFLAGS="$ac_save_CFLAGS"
30124 else
30125 # this is the suspicious part
30126 CFLAGS=''
30130 # Set -z,relro.
30131 # Note this is only for shared objects.
30132 ac_ld_relro=no
30133 if test x"$with_gnu_ld" = x"yes"; then
30134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
30135 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
30136 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
30137 if test -n "$cxx_z_relo"; then
30138 OPT_LDFLAGS="-Wl,-z,relro"
30139 ac_ld_relro=yes
30141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
30142 $as_echo "$ac_ld_relro" >&6; }
30145 # Set linker optimization flags.
30146 if test x"$with_gnu_ld" = x"yes"; then
30147 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
30154 ac_test_CXXFLAGS="${CXXFLAGS+set}"
30155 ac_save_CXXFLAGS="$CXXFLAGS"
30156 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
30158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
30159 $as_echo_n "checking for sin in -lm... " >&6; }
30160 if ${ac_cv_lib_m_sin+:} false; then :
30161 $as_echo_n "(cached) " >&6
30162 else
30163 ac_check_lib_save_LIBS=$LIBS
30164 LIBS="-lm $LIBS"
30165 if test x$gcc_no_link = xyes; then
30166 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30169 /* end confdefs.h. */
30171 /* Override any GCC internal prototype to avoid an error.
30172 Use char because int might match the return type of a GCC
30173 builtin and then its argument prototype would still apply. */
30174 #ifdef __cplusplus
30175 extern "C"
30176 #endif
30177 char sin ();
30179 main ()
30181 return sin ();
30183 return 0;
30185 _ACEOF
30186 if ac_fn_c_try_link "$LINENO"; then :
30187 ac_cv_lib_m_sin=yes
30188 else
30189 ac_cv_lib_m_sin=no
30191 rm -f core conftest.err conftest.$ac_objext \
30192 conftest$ac_exeext conftest.$ac_ext
30193 LIBS=$ac_check_lib_save_LIBS
30195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
30196 $as_echo "$ac_cv_lib_m_sin" >&6; }
30197 if test "x$ac_cv_lib_m_sin" = xyes; then :
30198 libm="-lm"
30201 ac_save_LIBS="$LIBS"
30202 LIBS="$LIBS $libm"
30206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
30207 $as_echo_n "checking for isinf declaration... " >&6; }
30208 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
30209 if ${glibcxx_cv_func_isinf_use+:} false; then :
30210 $as_echo_n "(cached) " >&6
30211 else
30214 ac_ext=cpp
30215 ac_cpp='$CXXCPP $CPPFLAGS'
30216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30221 /* end confdefs.h. */
30222 #include <math.h>
30223 #ifdef HAVE_IEEEFP_H
30224 #include <ieeefp.h>
30225 #endif
30228 main ()
30230 isinf(0);
30232 return 0;
30234 _ACEOF
30235 if ac_fn_cxx_try_compile "$LINENO"; then :
30236 glibcxx_cv_func_isinf_use=yes
30237 else
30238 glibcxx_cv_func_isinf_use=no
30240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30241 ac_ext=c
30242 ac_cpp='$CPP $CPPFLAGS'
30243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
30252 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
30254 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
30255 for ac_func in isinf
30256 do :
30257 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
30258 if test "x$ac_cv_func_isinf" = xyes; then :
30259 cat >>confdefs.h <<_ACEOF
30260 #define HAVE_ISINF 1
30261 _ACEOF
30264 done
30266 else
30268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
30269 $as_echo_n "checking for _isinf declaration... " >&6; }
30270 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
30271 if ${glibcxx_cv_func__isinf_use+:} false; then :
30272 $as_echo_n "(cached) " >&6
30273 else
30276 ac_ext=cpp
30277 ac_cpp='$CXXCPP $CPPFLAGS'
30278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30283 /* end confdefs.h. */
30284 #include <math.h>
30285 #ifdef HAVE_IEEEFP_H
30286 #include <ieeefp.h>
30287 #endif
30290 main ()
30292 _isinf(0);
30294 return 0;
30296 _ACEOF
30297 if ac_fn_cxx_try_compile "$LINENO"; then :
30298 glibcxx_cv_func__isinf_use=yes
30299 else
30300 glibcxx_cv_func__isinf_use=no
30302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30303 ac_ext=c
30304 ac_cpp='$CPP $CPPFLAGS'
30305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
30314 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
30316 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
30317 for ac_func in _isinf
30318 do :
30319 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
30320 if test "x$ac_cv_func__isinf" = xyes; then :
30321 cat >>confdefs.h <<_ACEOF
30322 #define HAVE__ISINF 1
30323 _ACEOF
30326 done
30335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
30336 $as_echo_n "checking for isnan declaration... " >&6; }
30337 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
30338 if ${glibcxx_cv_func_isnan_use+:} false; then :
30339 $as_echo_n "(cached) " >&6
30340 else
30343 ac_ext=cpp
30344 ac_cpp='$CXXCPP $CPPFLAGS'
30345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30350 /* end confdefs.h. */
30351 #include <math.h>
30352 #ifdef HAVE_IEEEFP_H
30353 #include <ieeefp.h>
30354 #endif
30357 main ()
30359 isnan(0);
30361 return 0;
30363 _ACEOF
30364 if ac_fn_cxx_try_compile "$LINENO"; then :
30365 glibcxx_cv_func_isnan_use=yes
30366 else
30367 glibcxx_cv_func_isnan_use=no
30369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30370 ac_ext=c
30371 ac_cpp='$CPP $CPPFLAGS'
30372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
30381 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
30383 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
30384 for ac_func in isnan
30385 do :
30386 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
30387 if test "x$ac_cv_func_isnan" = xyes; then :
30388 cat >>confdefs.h <<_ACEOF
30389 #define HAVE_ISNAN 1
30390 _ACEOF
30393 done
30395 else
30397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
30398 $as_echo_n "checking for _isnan declaration... " >&6; }
30399 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
30400 if ${glibcxx_cv_func__isnan_use+:} false; then :
30401 $as_echo_n "(cached) " >&6
30402 else
30405 ac_ext=cpp
30406 ac_cpp='$CXXCPP $CPPFLAGS'
30407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30412 /* end confdefs.h. */
30413 #include <math.h>
30414 #ifdef HAVE_IEEEFP_H
30415 #include <ieeefp.h>
30416 #endif
30419 main ()
30421 _isnan(0);
30423 return 0;
30425 _ACEOF
30426 if ac_fn_cxx_try_compile "$LINENO"; then :
30427 glibcxx_cv_func__isnan_use=yes
30428 else
30429 glibcxx_cv_func__isnan_use=no
30431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30432 ac_ext=c
30433 ac_cpp='$CPP $CPPFLAGS'
30434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
30443 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
30445 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
30446 for ac_func in _isnan
30447 do :
30448 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
30449 if test "x$ac_cv_func__isnan" = xyes; then :
30450 cat >>confdefs.h <<_ACEOF
30451 #define HAVE__ISNAN 1
30452 _ACEOF
30455 done
30464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
30465 $as_echo_n "checking for finite declaration... " >&6; }
30466 if test x${glibcxx_cv_func_finite_use+set} != xset; then
30467 if ${glibcxx_cv_func_finite_use+:} false; then :
30468 $as_echo_n "(cached) " >&6
30469 else
30472 ac_ext=cpp
30473 ac_cpp='$CXXCPP $CPPFLAGS'
30474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30479 /* end confdefs.h. */
30480 #include <math.h>
30481 #ifdef HAVE_IEEEFP_H
30482 #include <ieeefp.h>
30483 #endif
30486 main ()
30488 finite(0);
30490 return 0;
30492 _ACEOF
30493 if ac_fn_cxx_try_compile "$LINENO"; then :
30494 glibcxx_cv_func_finite_use=yes
30495 else
30496 glibcxx_cv_func_finite_use=no
30498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30499 ac_ext=c
30500 ac_cpp='$CPP $CPPFLAGS'
30501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
30510 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
30512 if test x$glibcxx_cv_func_finite_use = x"yes"; then
30513 for ac_func in finite
30514 do :
30515 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
30516 if test "x$ac_cv_func_finite" = xyes; then :
30517 cat >>confdefs.h <<_ACEOF
30518 #define HAVE_FINITE 1
30519 _ACEOF
30522 done
30524 else
30526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
30527 $as_echo_n "checking for _finite declaration... " >&6; }
30528 if test x${glibcxx_cv_func__finite_use+set} != xset; then
30529 if ${glibcxx_cv_func__finite_use+:} false; then :
30530 $as_echo_n "(cached) " >&6
30531 else
30534 ac_ext=cpp
30535 ac_cpp='$CXXCPP $CPPFLAGS'
30536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30541 /* end confdefs.h. */
30542 #include <math.h>
30543 #ifdef HAVE_IEEEFP_H
30544 #include <ieeefp.h>
30545 #endif
30548 main ()
30550 _finite(0);
30552 return 0;
30554 _ACEOF
30555 if ac_fn_cxx_try_compile "$LINENO"; then :
30556 glibcxx_cv_func__finite_use=yes
30557 else
30558 glibcxx_cv_func__finite_use=no
30560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30561 ac_ext=c
30562 ac_cpp='$CPP $CPPFLAGS'
30563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
30572 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
30574 if test x$glibcxx_cv_func__finite_use = x"yes"; then
30575 for ac_func in _finite
30576 do :
30577 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
30578 if test "x$ac_cv_func__finite" = xyes; then :
30579 cat >>confdefs.h <<_ACEOF
30580 #define HAVE__FINITE 1
30581 _ACEOF
30584 done
30593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
30594 $as_echo_n "checking for sincos declaration... " >&6; }
30595 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
30596 if ${glibcxx_cv_func_sincos_use+:} false; then :
30597 $as_echo_n "(cached) " >&6
30598 else
30601 ac_ext=cpp
30602 ac_cpp='$CXXCPP $CPPFLAGS'
30603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30608 /* end confdefs.h. */
30609 #include <math.h>
30611 main ()
30613 sincos(0, 0, 0);
30615 return 0;
30617 _ACEOF
30618 if ac_fn_cxx_try_compile "$LINENO"; then :
30619 glibcxx_cv_func_sincos_use=yes
30620 else
30621 glibcxx_cv_func_sincos_use=no
30623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30624 ac_ext=c
30625 ac_cpp='$CPP $CPPFLAGS'
30626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
30635 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
30637 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
30638 for ac_func in sincos
30639 do :
30640 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
30641 if test "x$ac_cv_func_sincos" = xyes; then :
30642 cat >>confdefs.h <<_ACEOF
30643 #define HAVE_SINCOS 1
30644 _ACEOF
30647 done
30649 else
30651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
30652 $as_echo_n "checking for _sincos declaration... " >&6; }
30653 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
30654 if ${glibcxx_cv_func__sincos_use+:} false; then :
30655 $as_echo_n "(cached) " >&6
30656 else
30659 ac_ext=cpp
30660 ac_cpp='$CXXCPP $CPPFLAGS'
30661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30666 /* end confdefs.h. */
30667 #include <math.h>
30669 main ()
30671 _sincos(0, 0, 0);
30673 return 0;
30675 _ACEOF
30676 if ac_fn_cxx_try_compile "$LINENO"; then :
30677 glibcxx_cv_func__sincos_use=yes
30678 else
30679 glibcxx_cv_func__sincos_use=no
30681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30682 ac_ext=c
30683 ac_cpp='$CPP $CPPFLAGS'
30684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
30693 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
30695 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
30696 for ac_func in _sincos
30697 do :
30698 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
30699 if test "x$ac_cv_func__sincos" = xyes; then :
30700 cat >>confdefs.h <<_ACEOF
30701 #define HAVE__SINCOS 1
30702 _ACEOF
30705 done
30714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
30715 $as_echo_n "checking for fpclass declaration... " >&6; }
30716 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
30717 if ${glibcxx_cv_func_fpclass_use+:} false; then :
30718 $as_echo_n "(cached) " >&6
30719 else
30722 ac_ext=cpp
30723 ac_cpp='$CXXCPP $CPPFLAGS'
30724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30729 /* end confdefs.h. */
30730 #include <math.h>
30731 #ifdef HAVE_IEEEFP_H
30732 #include <ieeefp.h>
30733 #endif
30736 main ()
30738 fpclass(0);
30740 return 0;
30742 _ACEOF
30743 if ac_fn_cxx_try_compile "$LINENO"; then :
30744 glibcxx_cv_func_fpclass_use=yes
30745 else
30746 glibcxx_cv_func_fpclass_use=no
30748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30749 ac_ext=c
30750 ac_cpp='$CPP $CPPFLAGS'
30751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
30760 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
30762 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
30763 for ac_func in fpclass
30764 do :
30765 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
30766 if test "x$ac_cv_func_fpclass" = xyes; then :
30767 cat >>confdefs.h <<_ACEOF
30768 #define HAVE_FPCLASS 1
30769 _ACEOF
30772 done
30774 else
30776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
30777 $as_echo_n "checking for _fpclass declaration... " >&6; }
30778 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
30779 if ${glibcxx_cv_func__fpclass_use+:} false; then :
30780 $as_echo_n "(cached) " >&6
30781 else
30784 ac_ext=cpp
30785 ac_cpp='$CXXCPP $CPPFLAGS'
30786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30791 /* end confdefs.h. */
30792 #include <math.h>
30793 #ifdef HAVE_IEEEFP_H
30794 #include <ieeefp.h>
30795 #endif
30798 main ()
30800 _fpclass(0);
30802 return 0;
30804 _ACEOF
30805 if ac_fn_cxx_try_compile "$LINENO"; then :
30806 glibcxx_cv_func__fpclass_use=yes
30807 else
30808 glibcxx_cv_func__fpclass_use=no
30810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30811 ac_ext=c
30812 ac_cpp='$CPP $CPPFLAGS'
30813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
30822 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
30824 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
30825 for ac_func in _fpclass
30826 do :
30827 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
30828 if test "x$ac_cv_func__fpclass" = xyes; then :
30829 cat >>confdefs.h <<_ACEOF
30830 #define HAVE__FPCLASS 1
30831 _ACEOF
30834 done
30843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
30844 $as_echo_n "checking for qfpclass declaration... " >&6; }
30845 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
30846 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
30847 $as_echo_n "(cached) " >&6
30848 else
30851 ac_ext=cpp
30852 ac_cpp='$CXXCPP $CPPFLAGS'
30853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30858 /* end confdefs.h. */
30859 #include <math.h>
30860 #ifdef HAVE_IEEEFP_H
30861 #include <ieeefp.h>
30862 #endif
30865 main ()
30867 qfpclass(0);
30869 return 0;
30871 _ACEOF
30872 if ac_fn_cxx_try_compile "$LINENO"; then :
30873 glibcxx_cv_func_qfpclass_use=yes
30874 else
30875 glibcxx_cv_func_qfpclass_use=no
30877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30878 ac_ext=c
30879 ac_cpp='$CPP $CPPFLAGS'
30880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
30889 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
30891 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
30892 for ac_func in qfpclass
30893 do :
30894 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
30895 if test "x$ac_cv_func_qfpclass" = xyes; then :
30896 cat >>confdefs.h <<_ACEOF
30897 #define HAVE_QFPCLASS 1
30898 _ACEOF
30901 done
30903 else
30905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
30906 $as_echo_n "checking for _qfpclass declaration... " >&6; }
30907 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
30908 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
30909 $as_echo_n "(cached) " >&6
30910 else
30913 ac_ext=cpp
30914 ac_cpp='$CXXCPP $CPPFLAGS'
30915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30920 /* end confdefs.h. */
30921 #include <math.h>
30922 #ifdef HAVE_IEEEFP_H
30923 #include <ieeefp.h>
30924 #endif
30927 main ()
30929 _qfpclass(0);
30931 return 0;
30933 _ACEOF
30934 if ac_fn_cxx_try_compile "$LINENO"; then :
30935 glibcxx_cv_func__qfpclass_use=yes
30936 else
30937 glibcxx_cv_func__qfpclass_use=no
30939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30940 ac_ext=c
30941 ac_cpp='$CPP $CPPFLAGS'
30942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30951 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30953 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30954 for ac_func in _qfpclass
30955 do :
30956 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30957 if test "x$ac_cv_func__qfpclass" = xyes; then :
30958 cat >>confdefs.h <<_ACEOF
30959 #define HAVE__QFPCLASS 1
30960 _ACEOF
30963 done
30972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30973 $as_echo_n "checking for hypot declaration... " >&6; }
30974 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30975 if ${glibcxx_cv_func_hypot_use+:} false; then :
30976 $as_echo_n "(cached) " >&6
30977 else
30980 ac_ext=cpp
30981 ac_cpp='$CXXCPP $CPPFLAGS'
30982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30987 /* end confdefs.h. */
30988 #include <math.h>
30990 main ()
30992 hypot(0, 0);
30994 return 0;
30996 _ACEOF
30997 if ac_fn_cxx_try_compile "$LINENO"; then :
30998 glibcxx_cv_func_hypot_use=yes
30999 else
31000 glibcxx_cv_func_hypot_use=no
31002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31003 ac_ext=c
31004 ac_cpp='$CPP $CPPFLAGS'
31005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
31014 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
31016 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
31017 for ac_func in hypot
31018 do :
31019 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
31020 if test "x$ac_cv_func_hypot" = xyes; then :
31021 cat >>confdefs.h <<_ACEOF
31022 #define HAVE_HYPOT 1
31023 _ACEOF
31026 done
31028 else
31030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
31031 $as_echo_n "checking for _hypot declaration... " >&6; }
31032 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
31033 if ${glibcxx_cv_func__hypot_use+:} false; then :
31034 $as_echo_n "(cached) " >&6
31035 else
31038 ac_ext=cpp
31039 ac_cpp='$CXXCPP $CPPFLAGS'
31040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31045 /* end confdefs.h. */
31046 #include <math.h>
31048 main ()
31050 _hypot(0, 0);
31052 return 0;
31054 _ACEOF
31055 if ac_fn_cxx_try_compile "$LINENO"; then :
31056 glibcxx_cv_func__hypot_use=yes
31057 else
31058 glibcxx_cv_func__hypot_use=no
31060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31061 ac_ext=c
31062 ac_cpp='$CPP $CPPFLAGS'
31063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
31072 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
31074 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
31075 for ac_func in _hypot
31076 do :
31077 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
31078 if test "x$ac_cv_func__hypot" = xyes; then :
31079 cat >>confdefs.h <<_ACEOF
31080 #define HAVE__HYPOT 1
31081 _ACEOF
31084 done
31093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
31094 $as_echo_n "checking for float trig functions... " >&6; }
31095 if ${glibcxx_cv_func_float_trig_use+:} false; then :
31096 $as_echo_n "(cached) " >&6
31097 else
31100 ac_ext=cpp
31101 ac_cpp='$CXXCPP $CPPFLAGS'
31102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31107 /* end confdefs.h. */
31108 #include <math.h>
31110 main ()
31112 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
31114 return 0;
31116 _ACEOF
31117 if ac_fn_cxx_try_compile "$LINENO"; then :
31118 glibcxx_cv_func_float_trig_use=yes
31119 else
31120 glibcxx_cv_func_float_trig_use=no
31122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31123 ac_ext=c
31124 ac_cpp='$CPP $CPPFLAGS'
31125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
31132 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
31133 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
31134 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
31135 do :
31136 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31137 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31138 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
31139 cat >>confdefs.h <<_ACEOF
31140 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31141 _ACEOF
31144 done
31146 else
31147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
31148 $as_echo_n "checking for _float trig functions... " >&6; }
31149 if ${glibcxx_cv_func__float_trig_use+:} false; then :
31150 $as_echo_n "(cached) " >&6
31151 else
31154 ac_ext=cpp
31155 ac_cpp='$CXXCPP $CPPFLAGS'
31156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31161 /* end confdefs.h. */
31162 #include <math.h>
31164 main ()
31166 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
31168 return 0;
31170 _ACEOF
31171 if ac_fn_cxx_try_compile "$LINENO"; then :
31172 glibcxx_cv_func__float_trig_use=yes
31173 else
31174 glibcxx_cv_func__float_trig_use=no
31176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31177 ac_ext=c
31178 ac_cpp='$CPP $CPPFLAGS'
31179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
31186 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
31187 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
31188 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
31189 do :
31190 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31191 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31192 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
31193 cat >>confdefs.h <<_ACEOF
31194 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31195 _ACEOF
31198 done
31207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
31208 $as_echo_n "checking for float round functions... " >&6; }
31209 if ${glibcxx_cv_func_float_round_use+:} false; then :
31210 $as_echo_n "(cached) " >&6
31211 else
31214 ac_ext=cpp
31215 ac_cpp='$CXXCPP $CPPFLAGS'
31216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31221 /* end confdefs.h. */
31222 #include <math.h>
31224 main ()
31226 ceilf (0); floorf (0);
31228 return 0;
31230 _ACEOF
31231 if ac_fn_cxx_try_compile "$LINENO"; then :
31232 glibcxx_cv_func_float_round_use=yes
31233 else
31234 glibcxx_cv_func_float_round_use=no
31236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31237 ac_ext=c
31238 ac_cpp='$CPP $CPPFLAGS'
31239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
31246 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
31247 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
31248 for ac_func in ceilf floorf
31249 do :
31250 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31251 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31252 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
31253 cat >>confdefs.h <<_ACEOF
31254 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31255 _ACEOF
31258 done
31260 else
31261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
31262 $as_echo_n "checking for _float round functions... " >&6; }
31263 if ${glibcxx_cv_func__float_round_use+:} false; then :
31264 $as_echo_n "(cached) " >&6
31265 else
31268 ac_ext=cpp
31269 ac_cpp='$CXXCPP $CPPFLAGS'
31270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31275 /* end confdefs.h. */
31276 #include <math.h>
31278 main ()
31280 _ceilf (0); _floorf (0);
31282 return 0;
31284 _ACEOF
31285 if ac_fn_cxx_try_compile "$LINENO"; then :
31286 glibcxx_cv_func__float_round_use=yes
31287 else
31288 glibcxx_cv_func__float_round_use=no
31290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31291 ac_ext=c
31292 ac_cpp='$CPP $CPPFLAGS'
31293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
31300 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
31301 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
31302 for ac_func in _ceilf _floorf
31303 do :
31304 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31305 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31306 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
31307 cat >>confdefs.h <<_ACEOF
31308 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31309 _ACEOF
31312 done
31322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
31323 $as_echo_n "checking for expf declaration... " >&6; }
31324 if test x${glibcxx_cv_func_expf_use+set} != xset; then
31325 if ${glibcxx_cv_func_expf_use+:} false; then :
31326 $as_echo_n "(cached) " >&6
31327 else
31330 ac_ext=cpp
31331 ac_cpp='$CXXCPP $CPPFLAGS'
31332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31337 /* end confdefs.h. */
31338 #include <math.h>
31339 #ifdef HAVE_IEEEFP_H
31340 #include <ieeefp.h>
31341 #endif
31344 main ()
31346 expf(0);
31348 return 0;
31350 _ACEOF
31351 if ac_fn_cxx_try_compile "$LINENO"; then :
31352 glibcxx_cv_func_expf_use=yes
31353 else
31354 glibcxx_cv_func_expf_use=no
31356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31357 ac_ext=c
31358 ac_cpp='$CPP $CPPFLAGS'
31359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
31368 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
31370 if test x$glibcxx_cv_func_expf_use = x"yes"; then
31371 for ac_func in expf
31372 do :
31373 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
31374 if test "x$ac_cv_func_expf" = xyes; then :
31375 cat >>confdefs.h <<_ACEOF
31376 #define HAVE_EXPF 1
31377 _ACEOF
31380 done
31382 else
31384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
31385 $as_echo_n "checking for _expf declaration... " >&6; }
31386 if test x${glibcxx_cv_func__expf_use+set} != xset; then
31387 if ${glibcxx_cv_func__expf_use+:} false; then :
31388 $as_echo_n "(cached) " >&6
31389 else
31392 ac_ext=cpp
31393 ac_cpp='$CXXCPP $CPPFLAGS'
31394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31399 /* end confdefs.h. */
31400 #include <math.h>
31401 #ifdef HAVE_IEEEFP_H
31402 #include <ieeefp.h>
31403 #endif
31406 main ()
31408 _expf(0);
31410 return 0;
31412 _ACEOF
31413 if ac_fn_cxx_try_compile "$LINENO"; then :
31414 glibcxx_cv_func__expf_use=yes
31415 else
31416 glibcxx_cv_func__expf_use=no
31418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31419 ac_ext=c
31420 ac_cpp='$CPP $CPPFLAGS'
31421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
31430 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
31432 if test x$glibcxx_cv_func__expf_use = x"yes"; then
31433 for ac_func in _expf
31434 do :
31435 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
31436 if test "x$ac_cv_func__expf" = xyes; then :
31437 cat >>confdefs.h <<_ACEOF
31438 #define HAVE__EXPF 1
31439 _ACEOF
31442 done
31451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
31452 $as_echo_n "checking for isnanf declaration... " >&6; }
31453 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
31454 if ${glibcxx_cv_func_isnanf_use+:} false; then :
31455 $as_echo_n "(cached) " >&6
31456 else
31459 ac_ext=cpp
31460 ac_cpp='$CXXCPP $CPPFLAGS'
31461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31466 /* end confdefs.h. */
31467 #include <math.h>
31468 #ifdef HAVE_IEEEFP_H
31469 #include <ieeefp.h>
31470 #endif
31473 main ()
31475 isnanf(0);
31477 return 0;
31479 _ACEOF
31480 if ac_fn_cxx_try_compile "$LINENO"; then :
31481 glibcxx_cv_func_isnanf_use=yes
31482 else
31483 glibcxx_cv_func_isnanf_use=no
31485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31486 ac_ext=c
31487 ac_cpp='$CPP $CPPFLAGS'
31488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
31497 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
31499 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
31500 for ac_func in isnanf
31501 do :
31502 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
31503 if test "x$ac_cv_func_isnanf" = xyes; then :
31504 cat >>confdefs.h <<_ACEOF
31505 #define HAVE_ISNANF 1
31506 _ACEOF
31509 done
31511 else
31513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
31514 $as_echo_n "checking for _isnanf declaration... " >&6; }
31515 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
31516 if ${glibcxx_cv_func__isnanf_use+:} false; then :
31517 $as_echo_n "(cached) " >&6
31518 else
31521 ac_ext=cpp
31522 ac_cpp='$CXXCPP $CPPFLAGS'
31523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31528 /* end confdefs.h. */
31529 #include <math.h>
31530 #ifdef HAVE_IEEEFP_H
31531 #include <ieeefp.h>
31532 #endif
31535 main ()
31537 _isnanf(0);
31539 return 0;
31541 _ACEOF
31542 if ac_fn_cxx_try_compile "$LINENO"; then :
31543 glibcxx_cv_func__isnanf_use=yes
31544 else
31545 glibcxx_cv_func__isnanf_use=no
31547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31548 ac_ext=c
31549 ac_cpp='$CPP $CPPFLAGS'
31550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
31559 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
31561 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
31562 for ac_func in _isnanf
31563 do :
31564 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
31565 if test "x$ac_cv_func__isnanf" = xyes; then :
31566 cat >>confdefs.h <<_ACEOF
31567 #define HAVE__ISNANF 1
31568 _ACEOF
31571 done
31580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
31581 $as_echo_n "checking for isinff declaration... " >&6; }
31582 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
31583 if ${glibcxx_cv_func_isinff_use+:} false; then :
31584 $as_echo_n "(cached) " >&6
31585 else
31588 ac_ext=cpp
31589 ac_cpp='$CXXCPP $CPPFLAGS'
31590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31595 /* end confdefs.h. */
31596 #include <math.h>
31597 #ifdef HAVE_IEEEFP_H
31598 #include <ieeefp.h>
31599 #endif
31602 main ()
31604 isinff(0);
31606 return 0;
31608 _ACEOF
31609 if ac_fn_cxx_try_compile "$LINENO"; then :
31610 glibcxx_cv_func_isinff_use=yes
31611 else
31612 glibcxx_cv_func_isinff_use=no
31614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31615 ac_ext=c
31616 ac_cpp='$CPP $CPPFLAGS'
31617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
31626 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
31628 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
31629 for ac_func in isinff
31630 do :
31631 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
31632 if test "x$ac_cv_func_isinff" = xyes; then :
31633 cat >>confdefs.h <<_ACEOF
31634 #define HAVE_ISINFF 1
31635 _ACEOF
31638 done
31640 else
31642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
31643 $as_echo_n "checking for _isinff declaration... " >&6; }
31644 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
31645 if ${glibcxx_cv_func__isinff_use+:} false; then :
31646 $as_echo_n "(cached) " >&6
31647 else
31650 ac_ext=cpp
31651 ac_cpp='$CXXCPP $CPPFLAGS'
31652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31657 /* end confdefs.h. */
31658 #include <math.h>
31659 #ifdef HAVE_IEEEFP_H
31660 #include <ieeefp.h>
31661 #endif
31664 main ()
31666 _isinff(0);
31668 return 0;
31670 _ACEOF
31671 if ac_fn_cxx_try_compile "$LINENO"; then :
31672 glibcxx_cv_func__isinff_use=yes
31673 else
31674 glibcxx_cv_func__isinff_use=no
31676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31677 ac_ext=c
31678 ac_cpp='$CPP $CPPFLAGS'
31679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
31688 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
31690 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
31691 for ac_func in _isinff
31692 do :
31693 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
31694 if test "x$ac_cv_func__isinff" = xyes; then :
31695 cat >>confdefs.h <<_ACEOF
31696 #define HAVE__ISINFF 1
31697 _ACEOF
31700 done
31709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
31710 $as_echo_n "checking for atan2f declaration... " >&6; }
31711 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
31712 if ${glibcxx_cv_func_atan2f_use+:} false; then :
31713 $as_echo_n "(cached) " >&6
31714 else
31717 ac_ext=cpp
31718 ac_cpp='$CXXCPP $CPPFLAGS'
31719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31724 /* end confdefs.h. */
31725 #include <math.h>
31727 main ()
31729 atan2f(0, 0);
31731 return 0;
31733 _ACEOF
31734 if ac_fn_cxx_try_compile "$LINENO"; then :
31735 glibcxx_cv_func_atan2f_use=yes
31736 else
31737 glibcxx_cv_func_atan2f_use=no
31739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31740 ac_ext=c
31741 ac_cpp='$CPP $CPPFLAGS'
31742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
31751 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
31753 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
31754 for ac_func in atan2f
31755 do :
31756 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
31757 if test "x$ac_cv_func_atan2f" = xyes; then :
31758 cat >>confdefs.h <<_ACEOF
31759 #define HAVE_ATAN2F 1
31760 _ACEOF
31763 done
31765 else
31767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
31768 $as_echo_n "checking for _atan2f declaration... " >&6; }
31769 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
31770 if ${glibcxx_cv_func__atan2f_use+:} false; then :
31771 $as_echo_n "(cached) " >&6
31772 else
31775 ac_ext=cpp
31776 ac_cpp='$CXXCPP $CPPFLAGS'
31777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31782 /* end confdefs.h. */
31783 #include <math.h>
31785 main ()
31787 _atan2f(0, 0);
31789 return 0;
31791 _ACEOF
31792 if ac_fn_cxx_try_compile "$LINENO"; then :
31793 glibcxx_cv_func__atan2f_use=yes
31794 else
31795 glibcxx_cv_func__atan2f_use=no
31797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31798 ac_ext=c
31799 ac_cpp='$CPP $CPPFLAGS'
31800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
31809 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
31811 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
31812 for ac_func in _atan2f
31813 do :
31814 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
31815 if test "x$ac_cv_func__atan2f" = xyes; then :
31816 cat >>confdefs.h <<_ACEOF
31817 #define HAVE__ATAN2F 1
31818 _ACEOF
31821 done
31830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
31831 $as_echo_n "checking for fabsf declaration... " >&6; }
31832 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
31833 if ${glibcxx_cv_func_fabsf_use+:} false; then :
31834 $as_echo_n "(cached) " >&6
31835 else
31838 ac_ext=cpp
31839 ac_cpp='$CXXCPP $CPPFLAGS'
31840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31845 /* end confdefs.h. */
31846 #include <math.h>
31847 #ifdef HAVE_IEEEFP_H
31848 #include <ieeefp.h>
31849 #endif
31852 main ()
31854 fabsf(0);
31856 return 0;
31858 _ACEOF
31859 if ac_fn_cxx_try_compile "$LINENO"; then :
31860 glibcxx_cv_func_fabsf_use=yes
31861 else
31862 glibcxx_cv_func_fabsf_use=no
31864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31865 ac_ext=c
31866 ac_cpp='$CPP $CPPFLAGS'
31867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
31876 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
31878 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
31879 for ac_func in fabsf
31880 do :
31881 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
31882 if test "x$ac_cv_func_fabsf" = xyes; then :
31883 cat >>confdefs.h <<_ACEOF
31884 #define HAVE_FABSF 1
31885 _ACEOF
31888 done
31890 else
31892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
31893 $as_echo_n "checking for _fabsf declaration... " >&6; }
31894 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
31895 if ${glibcxx_cv_func__fabsf_use+:} false; then :
31896 $as_echo_n "(cached) " >&6
31897 else
31900 ac_ext=cpp
31901 ac_cpp='$CXXCPP $CPPFLAGS'
31902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31907 /* end confdefs.h. */
31908 #include <math.h>
31909 #ifdef HAVE_IEEEFP_H
31910 #include <ieeefp.h>
31911 #endif
31914 main ()
31916 _fabsf(0);
31918 return 0;
31920 _ACEOF
31921 if ac_fn_cxx_try_compile "$LINENO"; then :
31922 glibcxx_cv_func__fabsf_use=yes
31923 else
31924 glibcxx_cv_func__fabsf_use=no
31926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31927 ac_ext=c
31928 ac_cpp='$CPP $CPPFLAGS'
31929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31938 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31940 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31941 for ac_func in _fabsf
31942 do :
31943 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31944 if test "x$ac_cv_func__fabsf" = xyes; then :
31945 cat >>confdefs.h <<_ACEOF
31946 #define HAVE__FABSF 1
31947 _ACEOF
31950 done
31959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31960 $as_echo_n "checking for fmodf declaration... " >&6; }
31961 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31962 if ${glibcxx_cv_func_fmodf_use+:} false; then :
31963 $as_echo_n "(cached) " >&6
31964 else
31967 ac_ext=cpp
31968 ac_cpp='$CXXCPP $CPPFLAGS'
31969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31974 /* end confdefs.h. */
31975 #include <math.h>
31977 main ()
31979 fmodf(0, 0);
31981 return 0;
31983 _ACEOF
31984 if ac_fn_cxx_try_compile "$LINENO"; then :
31985 glibcxx_cv_func_fmodf_use=yes
31986 else
31987 glibcxx_cv_func_fmodf_use=no
31989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31990 ac_ext=c
31991 ac_cpp='$CPP $CPPFLAGS'
31992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
32001 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
32003 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
32004 for ac_func in fmodf
32005 do :
32006 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
32007 if test "x$ac_cv_func_fmodf" = xyes; then :
32008 cat >>confdefs.h <<_ACEOF
32009 #define HAVE_FMODF 1
32010 _ACEOF
32013 done
32015 else
32017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
32018 $as_echo_n "checking for _fmodf declaration... " >&6; }
32019 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
32020 if ${glibcxx_cv_func__fmodf_use+:} false; then :
32021 $as_echo_n "(cached) " >&6
32022 else
32025 ac_ext=cpp
32026 ac_cpp='$CXXCPP $CPPFLAGS'
32027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32032 /* end confdefs.h. */
32033 #include <math.h>
32035 main ()
32037 _fmodf(0, 0);
32039 return 0;
32041 _ACEOF
32042 if ac_fn_cxx_try_compile "$LINENO"; then :
32043 glibcxx_cv_func__fmodf_use=yes
32044 else
32045 glibcxx_cv_func__fmodf_use=no
32047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32048 ac_ext=c
32049 ac_cpp='$CPP $CPPFLAGS'
32050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
32059 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
32061 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
32062 for ac_func in _fmodf
32063 do :
32064 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
32065 if test "x$ac_cv_func__fmodf" = xyes; then :
32066 cat >>confdefs.h <<_ACEOF
32067 #define HAVE__FMODF 1
32068 _ACEOF
32071 done
32080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
32081 $as_echo_n "checking for frexpf declaration... " >&6; }
32082 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
32083 if ${glibcxx_cv_func_frexpf_use+:} false; then :
32084 $as_echo_n "(cached) " >&6
32085 else
32088 ac_ext=cpp
32089 ac_cpp='$CXXCPP $CPPFLAGS'
32090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32095 /* end confdefs.h. */
32096 #include <math.h>
32098 main ()
32100 frexpf(0, 0);
32102 return 0;
32104 _ACEOF
32105 if ac_fn_cxx_try_compile "$LINENO"; then :
32106 glibcxx_cv_func_frexpf_use=yes
32107 else
32108 glibcxx_cv_func_frexpf_use=no
32110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32111 ac_ext=c
32112 ac_cpp='$CPP $CPPFLAGS'
32113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
32122 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
32124 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
32125 for ac_func in frexpf
32126 do :
32127 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
32128 if test "x$ac_cv_func_frexpf" = xyes; then :
32129 cat >>confdefs.h <<_ACEOF
32130 #define HAVE_FREXPF 1
32131 _ACEOF
32134 done
32136 else
32138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
32139 $as_echo_n "checking for _frexpf declaration... " >&6; }
32140 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
32141 if ${glibcxx_cv_func__frexpf_use+:} false; then :
32142 $as_echo_n "(cached) " >&6
32143 else
32146 ac_ext=cpp
32147 ac_cpp='$CXXCPP $CPPFLAGS'
32148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32153 /* end confdefs.h. */
32154 #include <math.h>
32156 main ()
32158 _frexpf(0, 0);
32160 return 0;
32162 _ACEOF
32163 if ac_fn_cxx_try_compile "$LINENO"; then :
32164 glibcxx_cv_func__frexpf_use=yes
32165 else
32166 glibcxx_cv_func__frexpf_use=no
32168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32169 ac_ext=c
32170 ac_cpp='$CPP $CPPFLAGS'
32171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
32180 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
32182 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
32183 for ac_func in _frexpf
32184 do :
32185 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
32186 if test "x$ac_cv_func__frexpf" = xyes; then :
32187 cat >>confdefs.h <<_ACEOF
32188 #define HAVE__FREXPF 1
32189 _ACEOF
32192 done
32201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
32202 $as_echo_n "checking for hypotf declaration... " >&6; }
32203 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
32204 if ${glibcxx_cv_func_hypotf_use+:} false; then :
32205 $as_echo_n "(cached) " >&6
32206 else
32209 ac_ext=cpp
32210 ac_cpp='$CXXCPP $CPPFLAGS'
32211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32216 /* end confdefs.h. */
32217 #include <math.h>
32219 main ()
32221 hypotf(0, 0);
32223 return 0;
32225 _ACEOF
32226 if ac_fn_cxx_try_compile "$LINENO"; then :
32227 glibcxx_cv_func_hypotf_use=yes
32228 else
32229 glibcxx_cv_func_hypotf_use=no
32231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32232 ac_ext=c
32233 ac_cpp='$CPP $CPPFLAGS'
32234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
32243 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
32245 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
32246 for ac_func in hypotf
32247 do :
32248 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
32249 if test "x$ac_cv_func_hypotf" = xyes; then :
32250 cat >>confdefs.h <<_ACEOF
32251 #define HAVE_HYPOTF 1
32252 _ACEOF
32255 done
32257 else
32259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
32260 $as_echo_n "checking for _hypotf declaration... " >&6; }
32261 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
32262 if ${glibcxx_cv_func__hypotf_use+:} false; then :
32263 $as_echo_n "(cached) " >&6
32264 else
32267 ac_ext=cpp
32268 ac_cpp='$CXXCPP $CPPFLAGS'
32269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32274 /* end confdefs.h. */
32275 #include <math.h>
32277 main ()
32279 _hypotf(0, 0);
32281 return 0;
32283 _ACEOF
32284 if ac_fn_cxx_try_compile "$LINENO"; then :
32285 glibcxx_cv_func__hypotf_use=yes
32286 else
32287 glibcxx_cv_func__hypotf_use=no
32289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32290 ac_ext=c
32291 ac_cpp='$CPP $CPPFLAGS'
32292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
32301 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
32303 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
32304 for ac_func in _hypotf
32305 do :
32306 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
32307 if test "x$ac_cv_func__hypotf" = xyes; then :
32308 cat >>confdefs.h <<_ACEOF
32309 #define HAVE__HYPOTF 1
32310 _ACEOF
32313 done
32322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
32323 $as_echo_n "checking for ldexpf declaration... " >&6; }
32324 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
32325 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
32326 $as_echo_n "(cached) " >&6
32327 else
32330 ac_ext=cpp
32331 ac_cpp='$CXXCPP $CPPFLAGS'
32332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32337 /* end confdefs.h. */
32338 #include <math.h>
32340 main ()
32342 ldexpf(0, 0);
32344 return 0;
32346 _ACEOF
32347 if ac_fn_cxx_try_compile "$LINENO"; then :
32348 glibcxx_cv_func_ldexpf_use=yes
32349 else
32350 glibcxx_cv_func_ldexpf_use=no
32352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32353 ac_ext=c
32354 ac_cpp='$CPP $CPPFLAGS'
32355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
32364 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
32366 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
32367 for ac_func in ldexpf
32368 do :
32369 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
32370 if test "x$ac_cv_func_ldexpf" = xyes; then :
32371 cat >>confdefs.h <<_ACEOF
32372 #define HAVE_LDEXPF 1
32373 _ACEOF
32376 done
32378 else
32380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
32381 $as_echo_n "checking for _ldexpf declaration... " >&6; }
32382 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
32383 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
32384 $as_echo_n "(cached) " >&6
32385 else
32388 ac_ext=cpp
32389 ac_cpp='$CXXCPP $CPPFLAGS'
32390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32395 /* end confdefs.h. */
32396 #include <math.h>
32398 main ()
32400 _ldexpf(0, 0);
32402 return 0;
32404 _ACEOF
32405 if ac_fn_cxx_try_compile "$LINENO"; then :
32406 glibcxx_cv_func__ldexpf_use=yes
32407 else
32408 glibcxx_cv_func__ldexpf_use=no
32410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32411 ac_ext=c
32412 ac_cpp='$CPP $CPPFLAGS'
32413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
32422 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
32424 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
32425 for ac_func in _ldexpf
32426 do :
32427 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
32428 if test "x$ac_cv_func__ldexpf" = xyes; then :
32429 cat >>confdefs.h <<_ACEOF
32430 #define HAVE__LDEXPF 1
32431 _ACEOF
32434 done
32443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
32444 $as_echo_n "checking for logf declaration... " >&6; }
32445 if test x${glibcxx_cv_func_logf_use+set} != xset; then
32446 if ${glibcxx_cv_func_logf_use+:} false; then :
32447 $as_echo_n "(cached) " >&6
32448 else
32451 ac_ext=cpp
32452 ac_cpp='$CXXCPP $CPPFLAGS'
32453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32458 /* end confdefs.h. */
32459 #include <math.h>
32460 #ifdef HAVE_IEEEFP_H
32461 #include <ieeefp.h>
32462 #endif
32465 main ()
32467 logf(0);
32469 return 0;
32471 _ACEOF
32472 if ac_fn_cxx_try_compile "$LINENO"; then :
32473 glibcxx_cv_func_logf_use=yes
32474 else
32475 glibcxx_cv_func_logf_use=no
32477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32478 ac_ext=c
32479 ac_cpp='$CPP $CPPFLAGS'
32480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
32489 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
32491 if test x$glibcxx_cv_func_logf_use = x"yes"; then
32492 for ac_func in logf
32493 do :
32494 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
32495 if test "x$ac_cv_func_logf" = xyes; then :
32496 cat >>confdefs.h <<_ACEOF
32497 #define HAVE_LOGF 1
32498 _ACEOF
32501 done
32503 else
32505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
32506 $as_echo_n "checking for _logf declaration... " >&6; }
32507 if test x${glibcxx_cv_func__logf_use+set} != xset; then
32508 if ${glibcxx_cv_func__logf_use+:} false; then :
32509 $as_echo_n "(cached) " >&6
32510 else
32513 ac_ext=cpp
32514 ac_cpp='$CXXCPP $CPPFLAGS'
32515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32520 /* end confdefs.h. */
32521 #include <math.h>
32522 #ifdef HAVE_IEEEFP_H
32523 #include <ieeefp.h>
32524 #endif
32527 main ()
32529 _logf(0);
32531 return 0;
32533 _ACEOF
32534 if ac_fn_cxx_try_compile "$LINENO"; then :
32535 glibcxx_cv_func__logf_use=yes
32536 else
32537 glibcxx_cv_func__logf_use=no
32539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32540 ac_ext=c
32541 ac_cpp='$CPP $CPPFLAGS'
32542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
32551 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
32553 if test x$glibcxx_cv_func__logf_use = x"yes"; then
32554 for ac_func in _logf
32555 do :
32556 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
32557 if test "x$ac_cv_func__logf" = xyes; then :
32558 cat >>confdefs.h <<_ACEOF
32559 #define HAVE__LOGF 1
32560 _ACEOF
32563 done
32572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
32573 $as_echo_n "checking for log10f declaration... " >&6; }
32574 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
32575 if ${glibcxx_cv_func_log10f_use+:} false; then :
32576 $as_echo_n "(cached) " >&6
32577 else
32580 ac_ext=cpp
32581 ac_cpp='$CXXCPP $CPPFLAGS'
32582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32587 /* end confdefs.h. */
32588 #include <math.h>
32589 #ifdef HAVE_IEEEFP_H
32590 #include <ieeefp.h>
32591 #endif
32594 main ()
32596 log10f(0);
32598 return 0;
32600 _ACEOF
32601 if ac_fn_cxx_try_compile "$LINENO"; then :
32602 glibcxx_cv_func_log10f_use=yes
32603 else
32604 glibcxx_cv_func_log10f_use=no
32606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32607 ac_ext=c
32608 ac_cpp='$CPP $CPPFLAGS'
32609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
32618 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
32620 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
32621 for ac_func in log10f
32622 do :
32623 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
32624 if test "x$ac_cv_func_log10f" = xyes; then :
32625 cat >>confdefs.h <<_ACEOF
32626 #define HAVE_LOG10F 1
32627 _ACEOF
32630 done
32632 else
32634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
32635 $as_echo_n "checking for _log10f declaration... " >&6; }
32636 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
32637 if ${glibcxx_cv_func__log10f_use+:} false; then :
32638 $as_echo_n "(cached) " >&6
32639 else
32642 ac_ext=cpp
32643 ac_cpp='$CXXCPP $CPPFLAGS'
32644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32649 /* end confdefs.h. */
32650 #include <math.h>
32651 #ifdef HAVE_IEEEFP_H
32652 #include <ieeefp.h>
32653 #endif
32656 main ()
32658 _log10f(0);
32660 return 0;
32662 _ACEOF
32663 if ac_fn_cxx_try_compile "$LINENO"; then :
32664 glibcxx_cv_func__log10f_use=yes
32665 else
32666 glibcxx_cv_func__log10f_use=no
32668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32669 ac_ext=c
32670 ac_cpp='$CPP $CPPFLAGS'
32671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
32680 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
32682 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
32683 for ac_func in _log10f
32684 do :
32685 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
32686 if test "x$ac_cv_func__log10f" = xyes; then :
32687 cat >>confdefs.h <<_ACEOF
32688 #define HAVE__LOG10F 1
32689 _ACEOF
32692 done
32701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
32702 $as_echo_n "checking for modff declaration... " >&6; }
32703 if test x${glibcxx_cv_func_modff_use+set} != xset; then
32704 if ${glibcxx_cv_func_modff_use+:} false; then :
32705 $as_echo_n "(cached) " >&6
32706 else
32709 ac_ext=cpp
32710 ac_cpp='$CXXCPP $CPPFLAGS'
32711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32716 /* end confdefs.h. */
32717 #include <math.h>
32719 main ()
32721 modff(0, 0);
32723 return 0;
32725 _ACEOF
32726 if ac_fn_cxx_try_compile "$LINENO"; then :
32727 glibcxx_cv_func_modff_use=yes
32728 else
32729 glibcxx_cv_func_modff_use=no
32731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32732 ac_ext=c
32733 ac_cpp='$CPP $CPPFLAGS'
32734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
32743 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
32745 if test x$glibcxx_cv_func_modff_use = x"yes"; then
32746 for ac_func in modff
32747 do :
32748 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
32749 if test "x$ac_cv_func_modff" = xyes; then :
32750 cat >>confdefs.h <<_ACEOF
32751 #define HAVE_MODFF 1
32752 _ACEOF
32755 done
32757 else
32759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
32760 $as_echo_n "checking for _modff declaration... " >&6; }
32761 if test x${glibcxx_cv_func__modff_use+set} != xset; then
32762 if ${glibcxx_cv_func__modff_use+:} false; then :
32763 $as_echo_n "(cached) " >&6
32764 else
32767 ac_ext=cpp
32768 ac_cpp='$CXXCPP $CPPFLAGS'
32769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32774 /* end confdefs.h. */
32775 #include <math.h>
32777 main ()
32779 _modff(0, 0);
32781 return 0;
32783 _ACEOF
32784 if ac_fn_cxx_try_compile "$LINENO"; then :
32785 glibcxx_cv_func__modff_use=yes
32786 else
32787 glibcxx_cv_func__modff_use=no
32789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32790 ac_ext=c
32791 ac_cpp='$CPP $CPPFLAGS'
32792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
32801 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
32803 if test x$glibcxx_cv_func__modff_use = x"yes"; then
32804 for ac_func in _modff
32805 do :
32806 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
32807 if test "x$ac_cv_func__modff" = xyes; then :
32808 cat >>confdefs.h <<_ACEOF
32809 #define HAVE__MODFF 1
32810 _ACEOF
32813 done
32822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
32823 $as_echo_n "checking for modf declaration... " >&6; }
32824 if test x${glibcxx_cv_func_modf_use+set} != xset; then
32825 if ${glibcxx_cv_func_modf_use+:} false; then :
32826 $as_echo_n "(cached) " >&6
32827 else
32830 ac_ext=cpp
32831 ac_cpp='$CXXCPP $CPPFLAGS'
32832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32837 /* end confdefs.h. */
32838 #include <math.h>
32840 main ()
32842 modf(0, 0);
32844 return 0;
32846 _ACEOF
32847 if ac_fn_cxx_try_compile "$LINENO"; then :
32848 glibcxx_cv_func_modf_use=yes
32849 else
32850 glibcxx_cv_func_modf_use=no
32852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32853 ac_ext=c
32854 ac_cpp='$CPP $CPPFLAGS'
32855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
32864 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
32866 if test x$glibcxx_cv_func_modf_use = x"yes"; then
32867 for ac_func in modf
32868 do :
32869 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
32870 if test "x$ac_cv_func_modf" = xyes; then :
32871 cat >>confdefs.h <<_ACEOF
32872 #define HAVE_MODF 1
32873 _ACEOF
32876 done
32878 else
32880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
32881 $as_echo_n "checking for _modf declaration... " >&6; }
32882 if test x${glibcxx_cv_func__modf_use+set} != xset; then
32883 if ${glibcxx_cv_func__modf_use+:} false; then :
32884 $as_echo_n "(cached) " >&6
32885 else
32888 ac_ext=cpp
32889 ac_cpp='$CXXCPP $CPPFLAGS'
32890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32895 /* end confdefs.h. */
32896 #include <math.h>
32898 main ()
32900 _modf(0, 0);
32902 return 0;
32904 _ACEOF
32905 if ac_fn_cxx_try_compile "$LINENO"; then :
32906 glibcxx_cv_func__modf_use=yes
32907 else
32908 glibcxx_cv_func__modf_use=no
32910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32911 ac_ext=c
32912 ac_cpp='$CPP $CPPFLAGS'
32913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
32922 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
32924 if test x$glibcxx_cv_func__modf_use = x"yes"; then
32925 for ac_func in _modf
32926 do :
32927 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
32928 if test "x$ac_cv_func__modf" = xyes; then :
32929 cat >>confdefs.h <<_ACEOF
32930 #define HAVE__MODF 1
32931 _ACEOF
32934 done
32943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32944 $as_echo_n "checking for powf declaration... " >&6; }
32945 if test x${glibcxx_cv_func_powf_use+set} != xset; then
32946 if ${glibcxx_cv_func_powf_use+:} false; then :
32947 $as_echo_n "(cached) " >&6
32948 else
32951 ac_ext=cpp
32952 ac_cpp='$CXXCPP $CPPFLAGS'
32953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32958 /* end confdefs.h. */
32959 #include <math.h>
32961 main ()
32963 powf(0, 0);
32965 return 0;
32967 _ACEOF
32968 if ac_fn_cxx_try_compile "$LINENO"; then :
32969 glibcxx_cv_func_powf_use=yes
32970 else
32971 glibcxx_cv_func_powf_use=no
32973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32974 ac_ext=c
32975 ac_cpp='$CPP $CPPFLAGS'
32976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32985 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
32987 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32988 for ac_func in powf
32989 do :
32990 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32991 if test "x$ac_cv_func_powf" = xyes; then :
32992 cat >>confdefs.h <<_ACEOF
32993 #define HAVE_POWF 1
32994 _ACEOF
32997 done
32999 else
33001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
33002 $as_echo_n "checking for _powf declaration... " >&6; }
33003 if test x${glibcxx_cv_func__powf_use+set} != xset; then
33004 if ${glibcxx_cv_func__powf_use+:} false; then :
33005 $as_echo_n "(cached) " >&6
33006 else
33009 ac_ext=cpp
33010 ac_cpp='$CXXCPP $CPPFLAGS'
33011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33016 /* end confdefs.h. */
33017 #include <math.h>
33019 main ()
33021 _powf(0, 0);
33023 return 0;
33025 _ACEOF
33026 if ac_fn_cxx_try_compile "$LINENO"; then :
33027 glibcxx_cv_func__powf_use=yes
33028 else
33029 glibcxx_cv_func__powf_use=no
33031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33032 ac_ext=c
33033 ac_cpp='$CPP $CPPFLAGS'
33034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
33043 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
33045 if test x$glibcxx_cv_func__powf_use = x"yes"; then
33046 for ac_func in _powf
33047 do :
33048 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
33049 if test "x$ac_cv_func__powf" = xyes; then :
33050 cat >>confdefs.h <<_ACEOF
33051 #define HAVE__POWF 1
33052 _ACEOF
33055 done
33064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
33065 $as_echo_n "checking for sqrtf declaration... " >&6; }
33066 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
33067 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
33068 $as_echo_n "(cached) " >&6
33069 else
33072 ac_ext=cpp
33073 ac_cpp='$CXXCPP $CPPFLAGS'
33074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33079 /* end confdefs.h. */
33080 #include <math.h>
33081 #ifdef HAVE_IEEEFP_H
33082 #include <ieeefp.h>
33083 #endif
33086 main ()
33088 sqrtf(0);
33090 return 0;
33092 _ACEOF
33093 if ac_fn_cxx_try_compile "$LINENO"; then :
33094 glibcxx_cv_func_sqrtf_use=yes
33095 else
33096 glibcxx_cv_func_sqrtf_use=no
33098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33099 ac_ext=c
33100 ac_cpp='$CPP $CPPFLAGS'
33101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
33110 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
33112 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
33113 for ac_func in sqrtf
33114 do :
33115 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
33116 if test "x$ac_cv_func_sqrtf" = xyes; then :
33117 cat >>confdefs.h <<_ACEOF
33118 #define HAVE_SQRTF 1
33119 _ACEOF
33122 done
33124 else
33126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
33127 $as_echo_n "checking for _sqrtf declaration... " >&6; }
33128 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
33129 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
33130 $as_echo_n "(cached) " >&6
33131 else
33134 ac_ext=cpp
33135 ac_cpp='$CXXCPP $CPPFLAGS'
33136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33141 /* end confdefs.h. */
33142 #include <math.h>
33143 #ifdef HAVE_IEEEFP_H
33144 #include <ieeefp.h>
33145 #endif
33148 main ()
33150 _sqrtf(0);
33152 return 0;
33154 _ACEOF
33155 if ac_fn_cxx_try_compile "$LINENO"; then :
33156 glibcxx_cv_func__sqrtf_use=yes
33157 else
33158 glibcxx_cv_func__sqrtf_use=no
33160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33161 ac_ext=c
33162 ac_cpp='$CPP $CPPFLAGS'
33163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
33172 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
33174 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
33175 for ac_func in _sqrtf
33176 do :
33177 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
33178 if test "x$ac_cv_func__sqrtf" = xyes; then :
33179 cat >>confdefs.h <<_ACEOF
33180 #define HAVE__SQRTF 1
33181 _ACEOF
33184 done
33193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
33194 $as_echo_n "checking for sincosf declaration... " >&6; }
33195 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
33196 if ${glibcxx_cv_func_sincosf_use+:} false; then :
33197 $as_echo_n "(cached) " >&6
33198 else
33201 ac_ext=cpp
33202 ac_cpp='$CXXCPP $CPPFLAGS'
33203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33208 /* end confdefs.h. */
33209 #include <math.h>
33211 main ()
33213 sincosf(0, 0, 0);
33215 return 0;
33217 _ACEOF
33218 if ac_fn_cxx_try_compile "$LINENO"; then :
33219 glibcxx_cv_func_sincosf_use=yes
33220 else
33221 glibcxx_cv_func_sincosf_use=no
33223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33224 ac_ext=c
33225 ac_cpp='$CPP $CPPFLAGS'
33226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
33235 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
33237 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
33238 for ac_func in sincosf
33239 do :
33240 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
33241 if test "x$ac_cv_func_sincosf" = xyes; then :
33242 cat >>confdefs.h <<_ACEOF
33243 #define HAVE_SINCOSF 1
33244 _ACEOF
33247 done
33249 else
33251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
33252 $as_echo_n "checking for _sincosf declaration... " >&6; }
33253 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
33254 if ${glibcxx_cv_func__sincosf_use+:} false; then :
33255 $as_echo_n "(cached) " >&6
33256 else
33259 ac_ext=cpp
33260 ac_cpp='$CXXCPP $CPPFLAGS'
33261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33266 /* end confdefs.h. */
33267 #include <math.h>
33269 main ()
33271 _sincosf(0, 0, 0);
33273 return 0;
33275 _ACEOF
33276 if ac_fn_cxx_try_compile "$LINENO"; then :
33277 glibcxx_cv_func__sincosf_use=yes
33278 else
33279 glibcxx_cv_func__sincosf_use=no
33281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33282 ac_ext=c
33283 ac_cpp='$CPP $CPPFLAGS'
33284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
33293 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
33295 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
33296 for ac_func in _sincosf
33297 do :
33298 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
33299 if test "x$ac_cv_func__sincosf" = xyes; then :
33300 cat >>confdefs.h <<_ACEOF
33301 #define HAVE__SINCOSF 1
33302 _ACEOF
33305 done
33314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
33315 $as_echo_n "checking for finitef declaration... " >&6; }
33316 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
33317 if ${glibcxx_cv_func_finitef_use+:} false; then :
33318 $as_echo_n "(cached) " >&6
33319 else
33322 ac_ext=cpp
33323 ac_cpp='$CXXCPP $CPPFLAGS'
33324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33329 /* end confdefs.h. */
33330 #include <math.h>
33331 #ifdef HAVE_IEEEFP_H
33332 #include <ieeefp.h>
33333 #endif
33336 main ()
33338 finitef(0);
33340 return 0;
33342 _ACEOF
33343 if ac_fn_cxx_try_compile "$LINENO"; then :
33344 glibcxx_cv_func_finitef_use=yes
33345 else
33346 glibcxx_cv_func_finitef_use=no
33348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33349 ac_ext=c
33350 ac_cpp='$CPP $CPPFLAGS'
33351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
33360 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
33362 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
33363 for ac_func in finitef
33364 do :
33365 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
33366 if test "x$ac_cv_func_finitef" = xyes; then :
33367 cat >>confdefs.h <<_ACEOF
33368 #define HAVE_FINITEF 1
33369 _ACEOF
33372 done
33374 else
33376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
33377 $as_echo_n "checking for _finitef declaration... " >&6; }
33378 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
33379 if ${glibcxx_cv_func__finitef_use+:} false; then :
33380 $as_echo_n "(cached) " >&6
33381 else
33384 ac_ext=cpp
33385 ac_cpp='$CXXCPP $CPPFLAGS'
33386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33391 /* end confdefs.h. */
33392 #include <math.h>
33393 #ifdef HAVE_IEEEFP_H
33394 #include <ieeefp.h>
33395 #endif
33398 main ()
33400 _finitef(0);
33402 return 0;
33404 _ACEOF
33405 if ac_fn_cxx_try_compile "$LINENO"; then :
33406 glibcxx_cv_func__finitef_use=yes
33407 else
33408 glibcxx_cv_func__finitef_use=no
33410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33411 ac_ext=c
33412 ac_cpp='$CPP $CPPFLAGS'
33413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
33422 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
33424 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
33425 for ac_func in _finitef
33426 do :
33427 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
33428 if test "x$ac_cv_func__finitef" = xyes; then :
33429 cat >>confdefs.h <<_ACEOF
33430 #define HAVE__FINITEF 1
33431 _ACEOF
33434 done
33443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
33444 $as_echo_n "checking for long double trig functions... " >&6; }
33445 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
33446 $as_echo_n "(cached) " >&6
33447 else
33450 ac_ext=cpp
33451 ac_cpp='$CXXCPP $CPPFLAGS'
33452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33457 /* end confdefs.h. */
33458 #include <math.h>
33460 main ()
33462 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
33464 return 0;
33466 _ACEOF
33467 if ac_fn_cxx_try_compile "$LINENO"; then :
33468 glibcxx_cv_func_long_double_trig_use=yes
33469 else
33470 glibcxx_cv_func_long_double_trig_use=no
33472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33473 ac_ext=c
33474 ac_cpp='$CPP $CPPFLAGS'
33475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
33482 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
33483 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
33484 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
33485 do :
33486 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33487 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33488 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33489 cat >>confdefs.h <<_ACEOF
33490 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33491 _ACEOF
33494 done
33496 else
33497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
33498 $as_echo_n "checking for _long double trig functions... " >&6; }
33499 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
33500 $as_echo_n "(cached) " >&6
33501 else
33504 ac_ext=cpp
33505 ac_cpp='$CXXCPP $CPPFLAGS'
33506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33511 /* end confdefs.h. */
33512 #include <math.h>
33514 main ()
33516 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
33518 return 0;
33520 _ACEOF
33521 if ac_fn_cxx_try_compile "$LINENO"; then :
33522 glibcxx_cv_func__long_double_trig_use=yes
33523 else
33524 glibcxx_cv_func__long_double_trig_use=no
33526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33527 ac_ext=c
33528 ac_cpp='$CPP $CPPFLAGS'
33529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
33536 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
33537 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
33538 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
33539 do :
33540 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33541 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33542 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33543 cat >>confdefs.h <<_ACEOF
33544 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33545 _ACEOF
33548 done
33557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
33558 $as_echo_n "checking for long double round functions... " >&6; }
33559 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
33560 $as_echo_n "(cached) " >&6
33561 else
33564 ac_ext=cpp
33565 ac_cpp='$CXXCPP $CPPFLAGS'
33566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33571 /* end confdefs.h. */
33572 #include <math.h>
33574 main ()
33576 ceill (0); floorl (0);
33578 return 0;
33580 _ACEOF
33581 if ac_fn_cxx_try_compile "$LINENO"; then :
33582 glibcxx_cv_func_long_double_round_use=yes
33583 else
33584 glibcxx_cv_func_long_double_round_use=no
33586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33587 ac_ext=c
33588 ac_cpp='$CPP $CPPFLAGS'
33589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
33596 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
33597 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
33598 for ac_func in ceill floorl
33599 do :
33600 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33601 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33602 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33603 cat >>confdefs.h <<_ACEOF
33604 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33605 _ACEOF
33608 done
33610 else
33611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
33612 $as_echo_n "checking for _long double round functions... " >&6; }
33613 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
33614 $as_echo_n "(cached) " >&6
33615 else
33618 ac_ext=cpp
33619 ac_cpp='$CXXCPP $CPPFLAGS'
33620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33625 /* end confdefs.h. */
33626 #include <math.h>
33628 main ()
33630 _ceill (0); _floorl (0);
33632 return 0;
33634 _ACEOF
33635 if ac_fn_cxx_try_compile "$LINENO"; then :
33636 glibcxx_cv_func__long_double_round_use=yes
33637 else
33638 glibcxx_cv_func__long_double_round_use=no
33640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33641 ac_ext=c
33642 ac_cpp='$CPP $CPPFLAGS'
33643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
33650 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
33651 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
33652 for ac_func in _ceill _floorl
33653 do :
33654 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33655 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33656 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33657 cat >>confdefs.h <<_ACEOF
33658 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33659 _ACEOF
33662 done
33672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
33673 $as_echo_n "checking for isnanl declaration... " >&6; }
33674 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
33675 if ${glibcxx_cv_func_isnanl_use+:} false; then :
33676 $as_echo_n "(cached) " >&6
33677 else
33680 ac_ext=cpp
33681 ac_cpp='$CXXCPP $CPPFLAGS'
33682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33687 /* end confdefs.h. */
33688 #include <math.h>
33689 #ifdef HAVE_IEEEFP_H
33690 #include <ieeefp.h>
33691 #endif
33694 main ()
33696 isnanl(0);
33698 return 0;
33700 _ACEOF
33701 if ac_fn_cxx_try_compile "$LINENO"; then :
33702 glibcxx_cv_func_isnanl_use=yes
33703 else
33704 glibcxx_cv_func_isnanl_use=no
33706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33707 ac_ext=c
33708 ac_cpp='$CPP $CPPFLAGS'
33709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
33718 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
33720 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
33721 for ac_func in isnanl
33722 do :
33723 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
33724 if test "x$ac_cv_func_isnanl" = xyes; then :
33725 cat >>confdefs.h <<_ACEOF
33726 #define HAVE_ISNANL 1
33727 _ACEOF
33730 done
33732 else
33734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
33735 $as_echo_n "checking for _isnanl declaration... " >&6; }
33736 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
33737 if ${glibcxx_cv_func__isnanl_use+:} false; then :
33738 $as_echo_n "(cached) " >&6
33739 else
33742 ac_ext=cpp
33743 ac_cpp='$CXXCPP $CPPFLAGS'
33744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33749 /* end confdefs.h. */
33750 #include <math.h>
33751 #ifdef HAVE_IEEEFP_H
33752 #include <ieeefp.h>
33753 #endif
33756 main ()
33758 _isnanl(0);
33760 return 0;
33762 _ACEOF
33763 if ac_fn_cxx_try_compile "$LINENO"; then :
33764 glibcxx_cv_func__isnanl_use=yes
33765 else
33766 glibcxx_cv_func__isnanl_use=no
33768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33769 ac_ext=c
33770 ac_cpp='$CPP $CPPFLAGS'
33771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
33780 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
33782 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
33783 for ac_func in _isnanl
33784 do :
33785 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
33786 if test "x$ac_cv_func__isnanl" = xyes; then :
33787 cat >>confdefs.h <<_ACEOF
33788 #define HAVE__ISNANL 1
33789 _ACEOF
33792 done
33801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
33802 $as_echo_n "checking for isinfl declaration... " >&6; }
33803 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
33804 if ${glibcxx_cv_func_isinfl_use+:} false; then :
33805 $as_echo_n "(cached) " >&6
33806 else
33809 ac_ext=cpp
33810 ac_cpp='$CXXCPP $CPPFLAGS'
33811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33816 /* end confdefs.h. */
33817 #include <math.h>
33818 #ifdef HAVE_IEEEFP_H
33819 #include <ieeefp.h>
33820 #endif
33823 main ()
33825 isinfl(0);
33827 return 0;
33829 _ACEOF
33830 if ac_fn_cxx_try_compile "$LINENO"; then :
33831 glibcxx_cv_func_isinfl_use=yes
33832 else
33833 glibcxx_cv_func_isinfl_use=no
33835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33836 ac_ext=c
33837 ac_cpp='$CPP $CPPFLAGS'
33838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
33847 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
33849 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
33850 for ac_func in isinfl
33851 do :
33852 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
33853 if test "x$ac_cv_func_isinfl" = xyes; then :
33854 cat >>confdefs.h <<_ACEOF
33855 #define HAVE_ISINFL 1
33856 _ACEOF
33859 done
33861 else
33863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
33864 $as_echo_n "checking for _isinfl declaration... " >&6; }
33865 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
33866 if ${glibcxx_cv_func__isinfl_use+:} false; then :
33867 $as_echo_n "(cached) " >&6
33868 else
33871 ac_ext=cpp
33872 ac_cpp='$CXXCPP $CPPFLAGS'
33873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33878 /* end confdefs.h. */
33879 #include <math.h>
33880 #ifdef HAVE_IEEEFP_H
33881 #include <ieeefp.h>
33882 #endif
33885 main ()
33887 _isinfl(0);
33889 return 0;
33891 _ACEOF
33892 if ac_fn_cxx_try_compile "$LINENO"; then :
33893 glibcxx_cv_func__isinfl_use=yes
33894 else
33895 glibcxx_cv_func__isinfl_use=no
33897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33898 ac_ext=c
33899 ac_cpp='$CPP $CPPFLAGS'
33900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
33909 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
33911 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
33912 for ac_func in _isinfl
33913 do :
33914 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
33915 if test "x$ac_cv_func__isinfl" = xyes; then :
33916 cat >>confdefs.h <<_ACEOF
33917 #define HAVE__ISINFL 1
33918 _ACEOF
33921 done
33930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33931 $as_echo_n "checking for atan2l declaration... " >&6; }
33932 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33933 if ${glibcxx_cv_func_atan2l_use+:} false; then :
33934 $as_echo_n "(cached) " >&6
33935 else
33938 ac_ext=cpp
33939 ac_cpp='$CXXCPP $CPPFLAGS'
33940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33945 /* end confdefs.h. */
33946 #include <math.h>
33948 main ()
33950 atan2l(0, 0);
33952 return 0;
33954 _ACEOF
33955 if ac_fn_cxx_try_compile "$LINENO"; then :
33956 glibcxx_cv_func_atan2l_use=yes
33957 else
33958 glibcxx_cv_func_atan2l_use=no
33960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33961 ac_ext=c
33962 ac_cpp='$CPP $CPPFLAGS'
33963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33972 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33974 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33975 for ac_func in atan2l
33976 do :
33977 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33978 if test "x$ac_cv_func_atan2l" = xyes; then :
33979 cat >>confdefs.h <<_ACEOF
33980 #define HAVE_ATAN2L 1
33981 _ACEOF
33984 done
33986 else
33988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33989 $as_echo_n "checking for _atan2l declaration... " >&6; }
33990 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33991 if ${glibcxx_cv_func__atan2l_use+:} false; then :
33992 $as_echo_n "(cached) " >&6
33993 else
33996 ac_ext=cpp
33997 ac_cpp='$CXXCPP $CPPFLAGS'
33998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34003 /* end confdefs.h. */
34004 #include <math.h>
34006 main ()
34008 _atan2l(0, 0);
34010 return 0;
34012 _ACEOF
34013 if ac_fn_cxx_try_compile "$LINENO"; then :
34014 glibcxx_cv_func__atan2l_use=yes
34015 else
34016 glibcxx_cv_func__atan2l_use=no
34018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34019 ac_ext=c
34020 ac_cpp='$CPP $CPPFLAGS'
34021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
34030 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
34032 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
34033 for ac_func in _atan2l
34034 do :
34035 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
34036 if test "x$ac_cv_func__atan2l" = xyes; then :
34037 cat >>confdefs.h <<_ACEOF
34038 #define HAVE__ATAN2L 1
34039 _ACEOF
34042 done
34051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
34052 $as_echo_n "checking for expl declaration... " >&6; }
34053 if test x${glibcxx_cv_func_expl_use+set} != xset; then
34054 if ${glibcxx_cv_func_expl_use+:} false; then :
34055 $as_echo_n "(cached) " >&6
34056 else
34059 ac_ext=cpp
34060 ac_cpp='$CXXCPP $CPPFLAGS'
34061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34066 /* end confdefs.h. */
34067 #include <math.h>
34068 #ifdef HAVE_IEEEFP_H
34069 #include <ieeefp.h>
34070 #endif
34073 main ()
34075 expl(0);
34077 return 0;
34079 _ACEOF
34080 if ac_fn_cxx_try_compile "$LINENO"; then :
34081 glibcxx_cv_func_expl_use=yes
34082 else
34083 glibcxx_cv_func_expl_use=no
34085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34086 ac_ext=c
34087 ac_cpp='$CPP $CPPFLAGS'
34088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
34097 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
34099 if test x$glibcxx_cv_func_expl_use = x"yes"; then
34100 for ac_func in expl
34101 do :
34102 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
34103 if test "x$ac_cv_func_expl" = xyes; then :
34104 cat >>confdefs.h <<_ACEOF
34105 #define HAVE_EXPL 1
34106 _ACEOF
34109 done
34111 else
34113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
34114 $as_echo_n "checking for _expl declaration... " >&6; }
34115 if test x${glibcxx_cv_func__expl_use+set} != xset; then
34116 if ${glibcxx_cv_func__expl_use+:} false; then :
34117 $as_echo_n "(cached) " >&6
34118 else
34121 ac_ext=cpp
34122 ac_cpp='$CXXCPP $CPPFLAGS'
34123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34128 /* end confdefs.h. */
34129 #include <math.h>
34130 #ifdef HAVE_IEEEFP_H
34131 #include <ieeefp.h>
34132 #endif
34135 main ()
34137 _expl(0);
34139 return 0;
34141 _ACEOF
34142 if ac_fn_cxx_try_compile "$LINENO"; then :
34143 glibcxx_cv_func__expl_use=yes
34144 else
34145 glibcxx_cv_func__expl_use=no
34147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34148 ac_ext=c
34149 ac_cpp='$CPP $CPPFLAGS'
34150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
34159 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
34161 if test x$glibcxx_cv_func__expl_use = x"yes"; then
34162 for ac_func in _expl
34163 do :
34164 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
34165 if test "x$ac_cv_func__expl" = xyes; then :
34166 cat >>confdefs.h <<_ACEOF
34167 #define HAVE__EXPL 1
34168 _ACEOF
34171 done
34180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
34181 $as_echo_n "checking for fabsl declaration... " >&6; }
34182 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
34183 if ${glibcxx_cv_func_fabsl_use+:} false; then :
34184 $as_echo_n "(cached) " >&6
34185 else
34188 ac_ext=cpp
34189 ac_cpp='$CXXCPP $CPPFLAGS'
34190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34195 /* end confdefs.h. */
34196 #include <math.h>
34197 #ifdef HAVE_IEEEFP_H
34198 #include <ieeefp.h>
34199 #endif
34202 main ()
34204 fabsl(0);
34206 return 0;
34208 _ACEOF
34209 if ac_fn_cxx_try_compile "$LINENO"; then :
34210 glibcxx_cv_func_fabsl_use=yes
34211 else
34212 glibcxx_cv_func_fabsl_use=no
34214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34215 ac_ext=c
34216 ac_cpp='$CPP $CPPFLAGS'
34217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
34226 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
34228 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
34229 for ac_func in fabsl
34230 do :
34231 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
34232 if test "x$ac_cv_func_fabsl" = xyes; then :
34233 cat >>confdefs.h <<_ACEOF
34234 #define HAVE_FABSL 1
34235 _ACEOF
34238 done
34240 else
34242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
34243 $as_echo_n "checking for _fabsl declaration... " >&6; }
34244 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
34245 if ${glibcxx_cv_func__fabsl_use+:} false; then :
34246 $as_echo_n "(cached) " >&6
34247 else
34250 ac_ext=cpp
34251 ac_cpp='$CXXCPP $CPPFLAGS'
34252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34257 /* end confdefs.h. */
34258 #include <math.h>
34259 #ifdef HAVE_IEEEFP_H
34260 #include <ieeefp.h>
34261 #endif
34264 main ()
34266 _fabsl(0);
34268 return 0;
34270 _ACEOF
34271 if ac_fn_cxx_try_compile "$LINENO"; then :
34272 glibcxx_cv_func__fabsl_use=yes
34273 else
34274 glibcxx_cv_func__fabsl_use=no
34276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34277 ac_ext=c
34278 ac_cpp='$CPP $CPPFLAGS'
34279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
34288 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
34290 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
34291 for ac_func in _fabsl
34292 do :
34293 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
34294 if test "x$ac_cv_func__fabsl" = xyes; then :
34295 cat >>confdefs.h <<_ACEOF
34296 #define HAVE__FABSL 1
34297 _ACEOF
34300 done
34309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
34310 $as_echo_n "checking for fmodl declaration... " >&6; }
34311 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
34312 if ${glibcxx_cv_func_fmodl_use+:} false; then :
34313 $as_echo_n "(cached) " >&6
34314 else
34317 ac_ext=cpp
34318 ac_cpp='$CXXCPP $CPPFLAGS'
34319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34324 /* end confdefs.h. */
34325 #include <math.h>
34327 main ()
34329 fmodl(0, 0);
34331 return 0;
34333 _ACEOF
34334 if ac_fn_cxx_try_compile "$LINENO"; then :
34335 glibcxx_cv_func_fmodl_use=yes
34336 else
34337 glibcxx_cv_func_fmodl_use=no
34339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34340 ac_ext=c
34341 ac_cpp='$CPP $CPPFLAGS'
34342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
34351 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
34353 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
34354 for ac_func in fmodl
34355 do :
34356 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
34357 if test "x$ac_cv_func_fmodl" = xyes; then :
34358 cat >>confdefs.h <<_ACEOF
34359 #define HAVE_FMODL 1
34360 _ACEOF
34363 done
34365 else
34367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
34368 $as_echo_n "checking for _fmodl declaration... " >&6; }
34369 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
34370 if ${glibcxx_cv_func__fmodl_use+:} false; then :
34371 $as_echo_n "(cached) " >&6
34372 else
34375 ac_ext=cpp
34376 ac_cpp='$CXXCPP $CPPFLAGS'
34377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34382 /* end confdefs.h. */
34383 #include <math.h>
34385 main ()
34387 _fmodl(0, 0);
34389 return 0;
34391 _ACEOF
34392 if ac_fn_cxx_try_compile "$LINENO"; then :
34393 glibcxx_cv_func__fmodl_use=yes
34394 else
34395 glibcxx_cv_func__fmodl_use=no
34397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34398 ac_ext=c
34399 ac_cpp='$CPP $CPPFLAGS'
34400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
34409 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
34411 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
34412 for ac_func in _fmodl
34413 do :
34414 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
34415 if test "x$ac_cv_func__fmodl" = xyes; then :
34416 cat >>confdefs.h <<_ACEOF
34417 #define HAVE__FMODL 1
34418 _ACEOF
34421 done
34430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
34431 $as_echo_n "checking for frexpl declaration... " >&6; }
34432 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
34433 if ${glibcxx_cv_func_frexpl_use+:} false; then :
34434 $as_echo_n "(cached) " >&6
34435 else
34438 ac_ext=cpp
34439 ac_cpp='$CXXCPP $CPPFLAGS'
34440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34445 /* end confdefs.h. */
34446 #include <math.h>
34448 main ()
34450 frexpl(0, 0);
34452 return 0;
34454 _ACEOF
34455 if ac_fn_cxx_try_compile "$LINENO"; then :
34456 glibcxx_cv_func_frexpl_use=yes
34457 else
34458 glibcxx_cv_func_frexpl_use=no
34460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34461 ac_ext=c
34462 ac_cpp='$CPP $CPPFLAGS'
34463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
34472 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
34474 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
34475 for ac_func in frexpl
34476 do :
34477 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
34478 if test "x$ac_cv_func_frexpl" = xyes; then :
34479 cat >>confdefs.h <<_ACEOF
34480 #define HAVE_FREXPL 1
34481 _ACEOF
34484 done
34486 else
34488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
34489 $as_echo_n "checking for _frexpl declaration... " >&6; }
34490 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
34491 if ${glibcxx_cv_func__frexpl_use+:} false; then :
34492 $as_echo_n "(cached) " >&6
34493 else
34496 ac_ext=cpp
34497 ac_cpp='$CXXCPP $CPPFLAGS'
34498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34503 /* end confdefs.h. */
34504 #include <math.h>
34506 main ()
34508 _frexpl(0, 0);
34510 return 0;
34512 _ACEOF
34513 if ac_fn_cxx_try_compile "$LINENO"; then :
34514 glibcxx_cv_func__frexpl_use=yes
34515 else
34516 glibcxx_cv_func__frexpl_use=no
34518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34519 ac_ext=c
34520 ac_cpp='$CPP $CPPFLAGS'
34521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
34530 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
34532 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
34533 for ac_func in _frexpl
34534 do :
34535 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
34536 if test "x$ac_cv_func__frexpl" = xyes; then :
34537 cat >>confdefs.h <<_ACEOF
34538 #define HAVE__FREXPL 1
34539 _ACEOF
34542 done
34551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
34552 $as_echo_n "checking for hypotl declaration... " >&6; }
34553 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
34554 if ${glibcxx_cv_func_hypotl_use+:} false; then :
34555 $as_echo_n "(cached) " >&6
34556 else
34559 ac_ext=cpp
34560 ac_cpp='$CXXCPP $CPPFLAGS'
34561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34566 /* end confdefs.h. */
34567 #include <math.h>
34569 main ()
34571 hypotl(0, 0);
34573 return 0;
34575 _ACEOF
34576 if ac_fn_cxx_try_compile "$LINENO"; then :
34577 glibcxx_cv_func_hypotl_use=yes
34578 else
34579 glibcxx_cv_func_hypotl_use=no
34581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34582 ac_ext=c
34583 ac_cpp='$CPP $CPPFLAGS'
34584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
34593 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
34595 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
34596 for ac_func in hypotl
34597 do :
34598 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
34599 if test "x$ac_cv_func_hypotl" = xyes; then :
34600 cat >>confdefs.h <<_ACEOF
34601 #define HAVE_HYPOTL 1
34602 _ACEOF
34605 done
34607 else
34609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
34610 $as_echo_n "checking for _hypotl declaration... " >&6; }
34611 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
34612 if ${glibcxx_cv_func__hypotl_use+:} false; then :
34613 $as_echo_n "(cached) " >&6
34614 else
34617 ac_ext=cpp
34618 ac_cpp='$CXXCPP $CPPFLAGS'
34619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34624 /* end confdefs.h. */
34625 #include <math.h>
34627 main ()
34629 _hypotl(0, 0);
34631 return 0;
34633 _ACEOF
34634 if ac_fn_cxx_try_compile "$LINENO"; then :
34635 glibcxx_cv_func__hypotl_use=yes
34636 else
34637 glibcxx_cv_func__hypotl_use=no
34639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34640 ac_ext=c
34641 ac_cpp='$CPP $CPPFLAGS'
34642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
34651 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
34653 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
34654 for ac_func in _hypotl
34655 do :
34656 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
34657 if test "x$ac_cv_func__hypotl" = xyes; then :
34658 cat >>confdefs.h <<_ACEOF
34659 #define HAVE__HYPOTL 1
34660 _ACEOF
34663 done
34672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
34673 $as_echo_n "checking for ldexpl declaration... " >&6; }
34674 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
34675 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
34676 $as_echo_n "(cached) " >&6
34677 else
34680 ac_ext=cpp
34681 ac_cpp='$CXXCPP $CPPFLAGS'
34682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34687 /* end confdefs.h. */
34688 #include <math.h>
34690 main ()
34692 ldexpl(0, 0);
34694 return 0;
34696 _ACEOF
34697 if ac_fn_cxx_try_compile "$LINENO"; then :
34698 glibcxx_cv_func_ldexpl_use=yes
34699 else
34700 glibcxx_cv_func_ldexpl_use=no
34702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34703 ac_ext=c
34704 ac_cpp='$CPP $CPPFLAGS'
34705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
34714 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
34716 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
34717 for ac_func in ldexpl
34718 do :
34719 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
34720 if test "x$ac_cv_func_ldexpl" = xyes; then :
34721 cat >>confdefs.h <<_ACEOF
34722 #define HAVE_LDEXPL 1
34723 _ACEOF
34726 done
34728 else
34730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
34731 $as_echo_n "checking for _ldexpl declaration... " >&6; }
34732 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
34733 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
34734 $as_echo_n "(cached) " >&6
34735 else
34738 ac_ext=cpp
34739 ac_cpp='$CXXCPP $CPPFLAGS'
34740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34745 /* end confdefs.h. */
34746 #include <math.h>
34748 main ()
34750 _ldexpl(0, 0);
34752 return 0;
34754 _ACEOF
34755 if ac_fn_cxx_try_compile "$LINENO"; then :
34756 glibcxx_cv_func__ldexpl_use=yes
34757 else
34758 glibcxx_cv_func__ldexpl_use=no
34760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34761 ac_ext=c
34762 ac_cpp='$CPP $CPPFLAGS'
34763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
34772 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
34774 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
34775 for ac_func in _ldexpl
34776 do :
34777 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
34778 if test "x$ac_cv_func__ldexpl" = xyes; then :
34779 cat >>confdefs.h <<_ACEOF
34780 #define HAVE__LDEXPL 1
34781 _ACEOF
34784 done
34793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
34794 $as_echo_n "checking for logl declaration... " >&6; }
34795 if test x${glibcxx_cv_func_logl_use+set} != xset; then
34796 if ${glibcxx_cv_func_logl_use+:} false; then :
34797 $as_echo_n "(cached) " >&6
34798 else
34801 ac_ext=cpp
34802 ac_cpp='$CXXCPP $CPPFLAGS'
34803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34808 /* end confdefs.h. */
34809 #include <math.h>
34810 #ifdef HAVE_IEEEFP_H
34811 #include <ieeefp.h>
34812 #endif
34815 main ()
34817 logl(0);
34819 return 0;
34821 _ACEOF
34822 if ac_fn_cxx_try_compile "$LINENO"; then :
34823 glibcxx_cv_func_logl_use=yes
34824 else
34825 glibcxx_cv_func_logl_use=no
34827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34828 ac_ext=c
34829 ac_cpp='$CPP $CPPFLAGS'
34830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
34839 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
34841 if test x$glibcxx_cv_func_logl_use = x"yes"; then
34842 for ac_func in logl
34843 do :
34844 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
34845 if test "x$ac_cv_func_logl" = xyes; then :
34846 cat >>confdefs.h <<_ACEOF
34847 #define HAVE_LOGL 1
34848 _ACEOF
34851 done
34853 else
34855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
34856 $as_echo_n "checking for _logl declaration... " >&6; }
34857 if test x${glibcxx_cv_func__logl_use+set} != xset; then
34858 if ${glibcxx_cv_func__logl_use+:} false; then :
34859 $as_echo_n "(cached) " >&6
34860 else
34863 ac_ext=cpp
34864 ac_cpp='$CXXCPP $CPPFLAGS'
34865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34870 /* end confdefs.h. */
34871 #include <math.h>
34872 #ifdef HAVE_IEEEFP_H
34873 #include <ieeefp.h>
34874 #endif
34877 main ()
34879 _logl(0);
34881 return 0;
34883 _ACEOF
34884 if ac_fn_cxx_try_compile "$LINENO"; then :
34885 glibcxx_cv_func__logl_use=yes
34886 else
34887 glibcxx_cv_func__logl_use=no
34889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34890 ac_ext=c
34891 ac_cpp='$CPP $CPPFLAGS'
34892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
34901 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
34903 if test x$glibcxx_cv_func__logl_use = x"yes"; then
34904 for ac_func in _logl
34905 do :
34906 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
34907 if test "x$ac_cv_func__logl" = xyes; then :
34908 cat >>confdefs.h <<_ACEOF
34909 #define HAVE__LOGL 1
34910 _ACEOF
34913 done
34922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
34923 $as_echo_n "checking for log10l declaration... " >&6; }
34924 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
34925 if ${glibcxx_cv_func_log10l_use+:} false; then :
34926 $as_echo_n "(cached) " >&6
34927 else
34930 ac_ext=cpp
34931 ac_cpp='$CXXCPP $CPPFLAGS'
34932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34937 /* end confdefs.h. */
34938 #include <math.h>
34939 #ifdef HAVE_IEEEFP_H
34940 #include <ieeefp.h>
34941 #endif
34944 main ()
34946 log10l(0);
34948 return 0;
34950 _ACEOF
34951 if ac_fn_cxx_try_compile "$LINENO"; then :
34952 glibcxx_cv_func_log10l_use=yes
34953 else
34954 glibcxx_cv_func_log10l_use=no
34956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34957 ac_ext=c
34958 ac_cpp='$CPP $CPPFLAGS'
34959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34968 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34970 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34971 for ac_func in log10l
34972 do :
34973 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34974 if test "x$ac_cv_func_log10l" = xyes; then :
34975 cat >>confdefs.h <<_ACEOF
34976 #define HAVE_LOG10L 1
34977 _ACEOF
34980 done
34982 else
34984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34985 $as_echo_n "checking for _log10l declaration... " >&6; }
34986 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34987 if ${glibcxx_cv_func__log10l_use+:} false; then :
34988 $as_echo_n "(cached) " >&6
34989 else
34992 ac_ext=cpp
34993 ac_cpp='$CXXCPP $CPPFLAGS'
34994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34999 /* end confdefs.h. */
35000 #include <math.h>
35001 #ifdef HAVE_IEEEFP_H
35002 #include <ieeefp.h>
35003 #endif
35006 main ()
35008 _log10l(0);
35010 return 0;
35012 _ACEOF
35013 if ac_fn_cxx_try_compile "$LINENO"; then :
35014 glibcxx_cv_func__log10l_use=yes
35015 else
35016 glibcxx_cv_func__log10l_use=no
35018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35019 ac_ext=c
35020 ac_cpp='$CPP $CPPFLAGS'
35021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
35030 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
35032 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
35033 for ac_func in _log10l
35034 do :
35035 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
35036 if test "x$ac_cv_func__log10l" = xyes; then :
35037 cat >>confdefs.h <<_ACEOF
35038 #define HAVE__LOG10L 1
35039 _ACEOF
35042 done
35051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
35052 $as_echo_n "checking for modfl declaration... " >&6; }
35053 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
35054 if ${glibcxx_cv_func_modfl_use+:} false; then :
35055 $as_echo_n "(cached) " >&6
35056 else
35059 ac_ext=cpp
35060 ac_cpp='$CXXCPP $CPPFLAGS'
35061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35066 /* end confdefs.h. */
35067 #include <math.h>
35069 main ()
35071 modfl(0, 0);
35073 return 0;
35075 _ACEOF
35076 if ac_fn_cxx_try_compile "$LINENO"; then :
35077 glibcxx_cv_func_modfl_use=yes
35078 else
35079 glibcxx_cv_func_modfl_use=no
35081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35082 ac_ext=c
35083 ac_cpp='$CPP $CPPFLAGS'
35084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
35093 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
35095 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
35096 for ac_func in modfl
35097 do :
35098 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
35099 if test "x$ac_cv_func_modfl" = xyes; then :
35100 cat >>confdefs.h <<_ACEOF
35101 #define HAVE_MODFL 1
35102 _ACEOF
35105 done
35107 else
35109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
35110 $as_echo_n "checking for _modfl declaration... " >&6; }
35111 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
35112 if ${glibcxx_cv_func__modfl_use+:} false; then :
35113 $as_echo_n "(cached) " >&6
35114 else
35117 ac_ext=cpp
35118 ac_cpp='$CXXCPP $CPPFLAGS'
35119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35124 /* end confdefs.h. */
35125 #include <math.h>
35127 main ()
35129 _modfl(0, 0);
35131 return 0;
35133 _ACEOF
35134 if ac_fn_cxx_try_compile "$LINENO"; then :
35135 glibcxx_cv_func__modfl_use=yes
35136 else
35137 glibcxx_cv_func__modfl_use=no
35139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35140 ac_ext=c
35141 ac_cpp='$CPP $CPPFLAGS'
35142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
35151 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
35153 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
35154 for ac_func in _modfl
35155 do :
35156 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
35157 if test "x$ac_cv_func__modfl" = xyes; then :
35158 cat >>confdefs.h <<_ACEOF
35159 #define HAVE__MODFL 1
35160 _ACEOF
35163 done
35172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
35173 $as_echo_n "checking for powl declaration... " >&6; }
35174 if test x${glibcxx_cv_func_powl_use+set} != xset; then
35175 if ${glibcxx_cv_func_powl_use+:} false; then :
35176 $as_echo_n "(cached) " >&6
35177 else
35180 ac_ext=cpp
35181 ac_cpp='$CXXCPP $CPPFLAGS'
35182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35187 /* end confdefs.h. */
35188 #include <math.h>
35190 main ()
35192 powl(0, 0);
35194 return 0;
35196 _ACEOF
35197 if ac_fn_cxx_try_compile "$LINENO"; then :
35198 glibcxx_cv_func_powl_use=yes
35199 else
35200 glibcxx_cv_func_powl_use=no
35202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35203 ac_ext=c
35204 ac_cpp='$CPP $CPPFLAGS'
35205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
35214 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
35216 if test x$glibcxx_cv_func_powl_use = x"yes"; then
35217 for ac_func in powl
35218 do :
35219 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
35220 if test "x$ac_cv_func_powl" = xyes; then :
35221 cat >>confdefs.h <<_ACEOF
35222 #define HAVE_POWL 1
35223 _ACEOF
35226 done
35228 else
35230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
35231 $as_echo_n "checking for _powl declaration... " >&6; }
35232 if test x${glibcxx_cv_func__powl_use+set} != xset; then
35233 if ${glibcxx_cv_func__powl_use+:} false; then :
35234 $as_echo_n "(cached) " >&6
35235 else
35238 ac_ext=cpp
35239 ac_cpp='$CXXCPP $CPPFLAGS'
35240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35245 /* end confdefs.h. */
35246 #include <math.h>
35248 main ()
35250 _powl(0, 0);
35252 return 0;
35254 _ACEOF
35255 if ac_fn_cxx_try_compile "$LINENO"; then :
35256 glibcxx_cv_func__powl_use=yes
35257 else
35258 glibcxx_cv_func__powl_use=no
35260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35261 ac_ext=c
35262 ac_cpp='$CPP $CPPFLAGS'
35263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
35272 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
35274 if test x$glibcxx_cv_func__powl_use = x"yes"; then
35275 for ac_func in _powl
35276 do :
35277 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
35278 if test "x$ac_cv_func__powl" = xyes; then :
35279 cat >>confdefs.h <<_ACEOF
35280 #define HAVE__POWL 1
35281 _ACEOF
35284 done
35293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
35294 $as_echo_n "checking for sqrtl declaration... " >&6; }
35295 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
35296 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
35297 $as_echo_n "(cached) " >&6
35298 else
35301 ac_ext=cpp
35302 ac_cpp='$CXXCPP $CPPFLAGS'
35303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35308 /* end confdefs.h. */
35309 #include <math.h>
35310 #ifdef HAVE_IEEEFP_H
35311 #include <ieeefp.h>
35312 #endif
35315 main ()
35317 sqrtl(0);
35319 return 0;
35321 _ACEOF
35322 if ac_fn_cxx_try_compile "$LINENO"; then :
35323 glibcxx_cv_func_sqrtl_use=yes
35324 else
35325 glibcxx_cv_func_sqrtl_use=no
35327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35328 ac_ext=c
35329 ac_cpp='$CPP $CPPFLAGS'
35330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
35339 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
35341 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
35342 for ac_func in sqrtl
35343 do :
35344 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
35345 if test "x$ac_cv_func_sqrtl" = xyes; then :
35346 cat >>confdefs.h <<_ACEOF
35347 #define HAVE_SQRTL 1
35348 _ACEOF
35351 done
35353 else
35355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
35356 $as_echo_n "checking for _sqrtl declaration... " >&6; }
35357 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
35358 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
35359 $as_echo_n "(cached) " >&6
35360 else
35363 ac_ext=cpp
35364 ac_cpp='$CXXCPP $CPPFLAGS'
35365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35370 /* end confdefs.h. */
35371 #include <math.h>
35372 #ifdef HAVE_IEEEFP_H
35373 #include <ieeefp.h>
35374 #endif
35377 main ()
35379 _sqrtl(0);
35381 return 0;
35383 _ACEOF
35384 if ac_fn_cxx_try_compile "$LINENO"; then :
35385 glibcxx_cv_func__sqrtl_use=yes
35386 else
35387 glibcxx_cv_func__sqrtl_use=no
35389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35390 ac_ext=c
35391 ac_cpp='$CPP $CPPFLAGS'
35392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
35401 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
35403 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
35404 for ac_func in _sqrtl
35405 do :
35406 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
35407 if test "x$ac_cv_func__sqrtl" = xyes; then :
35408 cat >>confdefs.h <<_ACEOF
35409 #define HAVE__SQRTL 1
35410 _ACEOF
35413 done
35422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
35423 $as_echo_n "checking for sincosl declaration... " >&6; }
35424 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
35425 if ${glibcxx_cv_func_sincosl_use+:} false; then :
35426 $as_echo_n "(cached) " >&6
35427 else
35430 ac_ext=cpp
35431 ac_cpp='$CXXCPP $CPPFLAGS'
35432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35437 /* end confdefs.h. */
35438 #include <math.h>
35440 main ()
35442 sincosl(0, 0, 0);
35444 return 0;
35446 _ACEOF
35447 if ac_fn_cxx_try_compile "$LINENO"; then :
35448 glibcxx_cv_func_sincosl_use=yes
35449 else
35450 glibcxx_cv_func_sincosl_use=no
35452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35453 ac_ext=c
35454 ac_cpp='$CPP $CPPFLAGS'
35455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
35464 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
35466 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
35467 for ac_func in sincosl
35468 do :
35469 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
35470 if test "x$ac_cv_func_sincosl" = xyes; then :
35471 cat >>confdefs.h <<_ACEOF
35472 #define HAVE_SINCOSL 1
35473 _ACEOF
35476 done
35478 else
35480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
35481 $as_echo_n "checking for _sincosl declaration... " >&6; }
35482 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
35483 if ${glibcxx_cv_func__sincosl_use+:} false; then :
35484 $as_echo_n "(cached) " >&6
35485 else
35488 ac_ext=cpp
35489 ac_cpp='$CXXCPP $CPPFLAGS'
35490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35495 /* end confdefs.h. */
35496 #include <math.h>
35498 main ()
35500 _sincosl(0, 0, 0);
35502 return 0;
35504 _ACEOF
35505 if ac_fn_cxx_try_compile "$LINENO"; then :
35506 glibcxx_cv_func__sincosl_use=yes
35507 else
35508 glibcxx_cv_func__sincosl_use=no
35510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35511 ac_ext=c
35512 ac_cpp='$CPP $CPPFLAGS'
35513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
35522 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
35524 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
35525 for ac_func in _sincosl
35526 do :
35527 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
35528 if test "x$ac_cv_func__sincosl" = xyes; then :
35529 cat >>confdefs.h <<_ACEOF
35530 #define HAVE__SINCOSL 1
35531 _ACEOF
35534 done
35543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
35544 $as_echo_n "checking for finitel declaration... " >&6; }
35545 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
35546 if ${glibcxx_cv_func_finitel_use+:} false; then :
35547 $as_echo_n "(cached) " >&6
35548 else
35551 ac_ext=cpp
35552 ac_cpp='$CXXCPP $CPPFLAGS'
35553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35558 /* end confdefs.h. */
35559 #include <math.h>
35560 #ifdef HAVE_IEEEFP_H
35561 #include <ieeefp.h>
35562 #endif
35565 main ()
35567 finitel(0);
35569 return 0;
35571 _ACEOF
35572 if ac_fn_cxx_try_compile "$LINENO"; then :
35573 glibcxx_cv_func_finitel_use=yes
35574 else
35575 glibcxx_cv_func_finitel_use=no
35577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35578 ac_ext=c
35579 ac_cpp='$CPP $CPPFLAGS'
35580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
35589 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
35591 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
35592 for ac_func in finitel
35593 do :
35594 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
35595 if test "x$ac_cv_func_finitel" = xyes; then :
35596 cat >>confdefs.h <<_ACEOF
35597 #define HAVE_FINITEL 1
35598 _ACEOF
35601 done
35603 else
35605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
35606 $as_echo_n "checking for _finitel declaration... " >&6; }
35607 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
35608 if ${glibcxx_cv_func__finitel_use+:} false; then :
35609 $as_echo_n "(cached) " >&6
35610 else
35613 ac_ext=cpp
35614 ac_cpp='$CXXCPP $CPPFLAGS'
35615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35620 /* end confdefs.h. */
35621 #include <math.h>
35622 #ifdef HAVE_IEEEFP_H
35623 #include <ieeefp.h>
35624 #endif
35627 main ()
35629 _finitel(0);
35631 return 0;
35633 _ACEOF
35634 if ac_fn_cxx_try_compile "$LINENO"; then :
35635 glibcxx_cv_func__finitel_use=yes
35636 else
35637 glibcxx_cv_func__finitel_use=no
35639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35640 ac_ext=c
35641 ac_cpp='$CPP $CPPFLAGS'
35642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
35651 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
35653 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
35654 for ac_func in _finitel
35655 do :
35656 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
35657 if test "x$ac_cv_func__finitel" = xyes; then :
35658 cat >>confdefs.h <<_ACEOF
35659 #define HAVE__FINITEL 1
35660 _ACEOF
35663 done
35671 LIBS="$ac_save_LIBS"
35672 CXXFLAGS="$ac_save_CXXFLAGS"
35675 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35676 ac_save_CXXFLAGS="$CXXFLAGS"
35677 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
35681 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
35682 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
35683 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
35684 $as_echo_n "(cached) " >&6
35685 else
35688 ac_ext=cpp
35689 ac_cpp='$CXXCPP $CPPFLAGS'
35690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35695 /* end confdefs.h. */
35696 #include <stdlib.h>
35698 main ()
35700 at_quick_exit(0);
35702 return 0;
35704 _ACEOF
35705 if ac_fn_cxx_try_compile "$LINENO"; then :
35706 glibcxx_cv_func_at_quick_exit_use=yes
35707 else
35708 glibcxx_cv_func_at_quick_exit_use=no
35710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35711 ac_ext=c
35712 ac_cpp='$CPP $CPPFLAGS'
35713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
35722 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
35723 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
35724 for ac_func in at_quick_exit
35725 do :
35726 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
35727 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
35728 cat >>confdefs.h <<_ACEOF
35729 #define HAVE_AT_QUICK_EXIT 1
35730 _ACEOF
35733 done
35738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
35739 $as_echo_n "checking for quick_exit declaration... " >&6; }
35740 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
35741 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
35742 $as_echo_n "(cached) " >&6
35743 else
35746 ac_ext=cpp
35747 ac_cpp='$CXXCPP $CPPFLAGS'
35748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35753 /* end confdefs.h. */
35754 #include <stdlib.h>
35756 main ()
35758 quick_exit(0);
35760 return 0;
35762 _ACEOF
35763 if ac_fn_cxx_try_compile "$LINENO"; then :
35764 glibcxx_cv_func_quick_exit_use=yes
35765 else
35766 glibcxx_cv_func_quick_exit_use=no
35768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35769 ac_ext=c
35770 ac_cpp='$CPP $CPPFLAGS'
35771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
35780 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
35781 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
35782 for ac_func in quick_exit
35783 do :
35784 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
35785 if test "x$ac_cv_func_quick_exit" = xyes; then :
35786 cat >>confdefs.h <<_ACEOF
35787 #define HAVE_QUICK_EXIT 1
35788 _ACEOF
35791 done
35796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
35797 $as_echo_n "checking for strtold declaration... " >&6; }
35798 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
35799 if ${glibcxx_cv_func_strtold_use+:} false; then :
35800 $as_echo_n "(cached) " >&6
35801 else
35804 ac_ext=cpp
35805 ac_cpp='$CXXCPP $CPPFLAGS'
35806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35811 /* end confdefs.h. */
35812 #include <stdlib.h>
35814 main ()
35816 strtold(0, 0);
35818 return 0;
35820 _ACEOF
35821 if ac_fn_cxx_try_compile "$LINENO"; then :
35822 glibcxx_cv_func_strtold_use=yes
35823 else
35824 glibcxx_cv_func_strtold_use=no
35826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35827 ac_ext=c
35828 ac_cpp='$CPP $CPPFLAGS'
35829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
35838 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
35839 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
35840 for ac_func in strtold
35841 do :
35842 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
35843 if test "x$ac_cv_func_strtold" = xyes; then :
35844 cat >>confdefs.h <<_ACEOF
35845 #define HAVE_STRTOLD 1
35846 _ACEOF
35849 done
35856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
35857 $as_echo_n "checking for strtof declaration... " >&6; }
35858 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
35859 if ${glibcxx_cv_func_strtof_use+:} false; then :
35860 $as_echo_n "(cached) " >&6
35861 else
35864 ac_ext=cpp
35865 ac_cpp='$CXXCPP $CPPFLAGS'
35866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35871 /* end confdefs.h. */
35872 #include <stdlib.h>
35874 main ()
35876 strtof(0, 0);
35878 return 0;
35880 _ACEOF
35881 if ac_fn_cxx_try_compile "$LINENO"; then :
35882 glibcxx_cv_func_strtof_use=yes
35883 else
35884 glibcxx_cv_func_strtof_use=no
35886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35887 ac_ext=c
35888 ac_cpp='$CPP $CPPFLAGS'
35889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
35898 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
35899 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
35900 for ac_func in strtof
35901 do :
35902 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
35903 if test "x$ac_cv_func_strtof" = xyes; then :
35904 cat >>confdefs.h <<_ACEOF
35905 #define HAVE_STRTOF 1
35906 _ACEOF
35909 done
35916 CXXFLAGS="$ac_save_CXXFLAGS"
35919 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
35921 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
35923 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
35925 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
35928 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35930 $as_echo "#define HAVE_MODF 1" >>confdefs.h
35932 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35936 *-aix*)
35938 # If we're not using GNU ld, then there's no point in even trying these
35939 # tests. Check for that first. We should have already tested for gld
35940 # by now (in libtool), but require it now just to be safe...
35941 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35942 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35946 # The name set by libtool depends on the version of libtool. Shame on us
35947 # for depending on an impl detail, but c'est la vie. Older versions used
35948 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35949 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35950 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
35951 # set (hence we're using an older libtool), then set it.
35952 if test x${with_gnu_ld+set} != xset; then
35953 if test x${ac_cv_prog_gnu_ld+set} != xset; then
35954 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
35955 with_gnu_ld=no
35956 else
35957 with_gnu_ld=$ac_cv_prog_gnu_ld
35961 # Start by getting the version number. I think the libtool test already
35962 # does some of this, but throws away the result.
35963 glibcxx_ld_is_gold=no
35964 if test x"$with_gnu_ld" = x"yes"; then
35965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35966 $as_echo_n "checking for ld version... " >&6; }
35968 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35969 glibcxx_ld_is_gold=yes
35971 ldver=`$LD --version 2>/dev/null |
35972 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
35974 glibcxx_gnu_ld_version=`echo $ldver | \
35975 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35977 $as_echo "$glibcxx_gnu_ld_version" >&6; }
35980 # Set --gc-sections.
35981 glibcxx_have_gc_sections=no
35982 if test "$glibcxx_ld_is_gold" = "yes"; then
35983 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35984 glibcxx_have_gc_sections=yes
35986 else
35987 glibcxx_gcsections_min_ld=21602
35988 if test x"$with_gnu_ld" = x"yes" &&
35989 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35990 glibcxx_have_gc_sections=yes
35993 if test "$glibcxx_have_gc_sections" = "yes"; then
35994 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
35995 # NB: This flag only works reliably after 2.16.1. Configure tests
35996 # for this are difficult, so hard wire a value that should work.
35998 ac_test_CFLAGS="${CFLAGS+set}"
35999 ac_save_CFLAGS="$CFLAGS"
36000 CFLAGS='-Wl,--gc-sections'
36002 # Check for -Wl,--gc-sections
36003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
36004 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
36005 if test x$gcc_no_link = xyes; then
36006 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
36008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36009 /* end confdefs.h. */
36010 int one(void) { return 1; }
36011 int two(void) { return 2; }
36014 main ()
36016 two();
36018 return 0;
36020 _ACEOF
36021 if ac_fn_c_try_link "$LINENO"; then :
36022 ac_gcsections=yes
36023 else
36024 ac_gcsections=no
36026 rm -f core conftest.err conftest.$ac_objext \
36027 conftest$ac_exeext conftest.$ac_ext
36028 if test "$ac_gcsections" = "yes"; then
36029 rm -f conftest.c
36030 touch conftest.c
36031 if $CC -c conftest.c; then
36032 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
36033 grep "Warning: gc-sections option ignored" > /dev/null; then
36034 ac_gcsections=no
36037 rm -f conftest.c conftest.o conftest
36039 if test "$ac_gcsections" = "yes"; then
36040 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
36042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
36043 $as_echo "$ac_gcsections" >&6; }
36045 if test "$ac_test_CFLAGS" = set; then
36046 CFLAGS="$ac_save_CFLAGS"
36047 else
36048 # this is the suspicious part
36049 CFLAGS=''
36053 # Set -z,relro.
36054 # Note this is only for shared objects.
36055 ac_ld_relro=no
36056 if test x"$with_gnu_ld" = x"yes"; then
36057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
36058 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
36059 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
36060 if test -n "$cxx_z_relo"; then
36061 OPT_LDFLAGS="-Wl,-z,relro"
36062 ac_ld_relro=yes
36064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
36065 $as_echo "$ac_ld_relro" >&6; }
36068 # Set linker optimization flags.
36069 if test x"$with_gnu_ld" = x"yes"; then
36070 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
36077 ac_test_CXXFLAGS="${CXXFLAGS+set}"
36078 ac_save_CXXFLAGS="$CXXFLAGS"
36079 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
36081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
36082 $as_echo_n "checking for sin in -lm... " >&6; }
36083 if ${ac_cv_lib_m_sin+:} false; then :
36084 $as_echo_n "(cached) " >&6
36085 else
36086 ac_check_lib_save_LIBS=$LIBS
36087 LIBS="-lm $LIBS"
36088 if test x$gcc_no_link = xyes; then
36089 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
36091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36092 /* end confdefs.h. */
36094 /* Override any GCC internal prototype to avoid an error.
36095 Use char because int might match the return type of a GCC
36096 builtin and then its argument prototype would still apply. */
36097 #ifdef __cplusplus
36098 extern "C"
36099 #endif
36100 char sin ();
36102 main ()
36104 return sin ();
36106 return 0;
36108 _ACEOF
36109 if ac_fn_c_try_link "$LINENO"; then :
36110 ac_cv_lib_m_sin=yes
36111 else
36112 ac_cv_lib_m_sin=no
36114 rm -f core conftest.err conftest.$ac_objext \
36115 conftest$ac_exeext conftest.$ac_ext
36116 LIBS=$ac_check_lib_save_LIBS
36118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
36119 $as_echo "$ac_cv_lib_m_sin" >&6; }
36120 if test "x$ac_cv_lib_m_sin" = xyes; then :
36121 libm="-lm"
36124 ac_save_LIBS="$LIBS"
36125 LIBS="$LIBS $libm"
36129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
36130 $as_echo_n "checking for isinf declaration... " >&6; }
36131 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
36132 if ${glibcxx_cv_func_isinf_use+:} false; then :
36133 $as_echo_n "(cached) " >&6
36134 else
36137 ac_ext=cpp
36138 ac_cpp='$CXXCPP $CPPFLAGS'
36139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36144 /* end confdefs.h. */
36145 #include <math.h>
36146 #ifdef HAVE_IEEEFP_H
36147 #include <ieeefp.h>
36148 #endif
36151 main ()
36153 isinf(0);
36155 return 0;
36157 _ACEOF
36158 if ac_fn_cxx_try_compile "$LINENO"; then :
36159 glibcxx_cv_func_isinf_use=yes
36160 else
36161 glibcxx_cv_func_isinf_use=no
36163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36164 ac_ext=c
36165 ac_cpp='$CPP $CPPFLAGS'
36166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
36175 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
36177 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
36178 for ac_func in isinf
36179 do :
36180 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
36181 if test "x$ac_cv_func_isinf" = xyes; then :
36182 cat >>confdefs.h <<_ACEOF
36183 #define HAVE_ISINF 1
36184 _ACEOF
36187 done
36189 else
36191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
36192 $as_echo_n "checking for _isinf declaration... " >&6; }
36193 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
36194 if ${glibcxx_cv_func__isinf_use+:} false; then :
36195 $as_echo_n "(cached) " >&6
36196 else
36199 ac_ext=cpp
36200 ac_cpp='$CXXCPP $CPPFLAGS'
36201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36206 /* end confdefs.h. */
36207 #include <math.h>
36208 #ifdef HAVE_IEEEFP_H
36209 #include <ieeefp.h>
36210 #endif
36213 main ()
36215 _isinf(0);
36217 return 0;
36219 _ACEOF
36220 if ac_fn_cxx_try_compile "$LINENO"; then :
36221 glibcxx_cv_func__isinf_use=yes
36222 else
36223 glibcxx_cv_func__isinf_use=no
36225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36226 ac_ext=c
36227 ac_cpp='$CPP $CPPFLAGS'
36228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
36237 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
36239 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
36240 for ac_func in _isinf
36241 do :
36242 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
36243 if test "x$ac_cv_func__isinf" = xyes; then :
36244 cat >>confdefs.h <<_ACEOF
36245 #define HAVE__ISINF 1
36246 _ACEOF
36249 done
36258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
36259 $as_echo_n "checking for isnan declaration... " >&6; }
36260 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
36261 if ${glibcxx_cv_func_isnan_use+:} false; then :
36262 $as_echo_n "(cached) " >&6
36263 else
36266 ac_ext=cpp
36267 ac_cpp='$CXXCPP $CPPFLAGS'
36268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36273 /* end confdefs.h. */
36274 #include <math.h>
36275 #ifdef HAVE_IEEEFP_H
36276 #include <ieeefp.h>
36277 #endif
36280 main ()
36282 isnan(0);
36284 return 0;
36286 _ACEOF
36287 if ac_fn_cxx_try_compile "$LINENO"; then :
36288 glibcxx_cv_func_isnan_use=yes
36289 else
36290 glibcxx_cv_func_isnan_use=no
36292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36293 ac_ext=c
36294 ac_cpp='$CPP $CPPFLAGS'
36295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
36304 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
36306 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
36307 for ac_func in isnan
36308 do :
36309 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
36310 if test "x$ac_cv_func_isnan" = xyes; then :
36311 cat >>confdefs.h <<_ACEOF
36312 #define HAVE_ISNAN 1
36313 _ACEOF
36316 done
36318 else
36320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
36321 $as_echo_n "checking for _isnan declaration... " >&6; }
36322 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
36323 if ${glibcxx_cv_func__isnan_use+:} false; then :
36324 $as_echo_n "(cached) " >&6
36325 else
36328 ac_ext=cpp
36329 ac_cpp='$CXXCPP $CPPFLAGS'
36330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36335 /* end confdefs.h. */
36336 #include <math.h>
36337 #ifdef HAVE_IEEEFP_H
36338 #include <ieeefp.h>
36339 #endif
36342 main ()
36344 _isnan(0);
36346 return 0;
36348 _ACEOF
36349 if ac_fn_cxx_try_compile "$LINENO"; then :
36350 glibcxx_cv_func__isnan_use=yes
36351 else
36352 glibcxx_cv_func__isnan_use=no
36354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36355 ac_ext=c
36356 ac_cpp='$CPP $CPPFLAGS'
36357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
36366 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
36368 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
36369 for ac_func in _isnan
36370 do :
36371 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
36372 if test "x$ac_cv_func__isnan" = xyes; then :
36373 cat >>confdefs.h <<_ACEOF
36374 #define HAVE__ISNAN 1
36375 _ACEOF
36378 done
36387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
36388 $as_echo_n "checking for finite declaration... " >&6; }
36389 if test x${glibcxx_cv_func_finite_use+set} != xset; then
36390 if ${glibcxx_cv_func_finite_use+:} false; then :
36391 $as_echo_n "(cached) " >&6
36392 else
36395 ac_ext=cpp
36396 ac_cpp='$CXXCPP $CPPFLAGS'
36397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36402 /* end confdefs.h. */
36403 #include <math.h>
36404 #ifdef HAVE_IEEEFP_H
36405 #include <ieeefp.h>
36406 #endif
36409 main ()
36411 finite(0);
36413 return 0;
36415 _ACEOF
36416 if ac_fn_cxx_try_compile "$LINENO"; then :
36417 glibcxx_cv_func_finite_use=yes
36418 else
36419 glibcxx_cv_func_finite_use=no
36421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36422 ac_ext=c
36423 ac_cpp='$CPP $CPPFLAGS'
36424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
36433 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
36435 if test x$glibcxx_cv_func_finite_use = x"yes"; then
36436 for ac_func in finite
36437 do :
36438 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
36439 if test "x$ac_cv_func_finite" = xyes; then :
36440 cat >>confdefs.h <<_ACEOF
36441 #define HAVE_FINITE 1
36442 _ACEOF
36445 done
36447 else
36449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
36450 $as_echo_n "checking for _finite declaration... " >&6; }
36451 if test x${glibcxx_cv_func__finite_use+set} != xset; then
36452 if ${glibcxx_cv_func__finite_use+:} false; then :
36453 $as_echo_n "(cached) " >&6
36454 else
36457 ac_ext=cpp
36458 ac_cpp='$CXXCPP $CPPFLAGS'
36459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36464 /* end confdefs.h. */
36465 #include <math.h>
36466 #ifdef HAVE_IEEEFP_H
36467 #include <ieeefp.h>
36468 #endif
36471 main ()
36473 _finite(0);
36475 return 0;
36477 _ACEOF
36478 if ac_fn_cxx_try_compile "$LINENO"; then :
36479 glibcxx_cv_func__finite_use=yes
36480 else
36481 glibcxx_cv_func__finite_use=no
36483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36484 ac_ext=c
36485 ac_cpp='$CPP $CPPFLAGS'
36486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
36495 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
36497 if test x$glibcxx_cv_func__finite_use = x"yes"; then
36498 for ac_func in _finite
36499 do :
36500 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
36501 if test "x$ac_cv_func__finite" = xyes; then :
36502 cat >>confdefs.h <<_ACEOF
36503 #define HAVE__FINITE 1
36504 _ACEOF
36507 done
36516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
36517 $as_echo_n "checking for sincos declaration... " >&6; }
36518 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
36519 if ${glibcxx_cv_func_sincos_use+:} false; then :
36520 $as_echo_n "(cached) " >&6
36521 else
36524 ac_ext=cpp
36525 ac_cpp='$CXXCPP $CPPFLAGS'
36526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36531 /* end confdefs.h. */
36532 #include <math.h>
36534 main ()
36536 sincos(0, 0, 0);
36538 return 0;
36540 _ACEOF
36541 if ac_fn_cxx_try_compile "$LINENO"; then :
36542 glibcxx_cv_func_sincos_use=yes
36543 else
36544 glibcxx_cv_func_sincos_use=no
36546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36547 ac_ext=c
36548 ac_cpp='$CPP $CPPFLAGS'
36549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
36558 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
36560 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
36561 for ac_func in sincos
36562 do :
36563 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
36564 if test "x$ac_cv_func_sincos" = xyes; then :
36565 cat >>confdefs.h <<_ACEOF
36566 #define HAVE_SINCOS 1
36567 _ACEOF
36570 done
36572 else
36574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
36575 $as_echo_n "checking for _sincos declaration... " >&6; }
36576 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
36577 if ${glibcxx_cv_func__sincos_use+:} false; then :
36578 $as_echo_n "(cached) " >&6
36579 else
36582 ac_ext=cpp
36583 ac_cpp='$CXXCPP $CPPFLAGS'
36584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36589 /* end confdefs.h. */
36590 #include <math.h>
36592 main ()
36594 _sincos(0, 0, 0);
36596 return 0;
36598 _ACEOF
36599 if ac_fn_cxx_try_compile "$LINENO"; then :
36600 glibcxx_cv_func__sincos_use=yes
36601 else
36602 glibcxx_cv_func__sincos_use=no
36604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36605 ac_ext=c
36606 ac_cpp='$CPP $CPPFLAGS'
36607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
36616 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
36618 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
36619 for ac_func in _sincos
36620 do :
36621 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
36622 if test "x$ac_cv_func__sincos" = xyes; then :
36623 cat >>confdefs.h <<_ACEOF
36624 #define HAVE__SINCOS 1
36625 _ACEOF
36628 done
36637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
36638 $as_echo_n "checking for fpclass declaration... " >&6; }
36639 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
36640 if ${glibcxx_cv_func_fpclass_use+:} false; then :
36641 $as_echo_n "(cached) " >&6
36642 else
36645 ac_ext=cpp
36646 ac_cpp='$CXXCPP $CPPFLAGS'
36647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36652 /* end confdefs.h. */
36653 #include <math.h>
36654 #ifdef HAVE_IEEEFP_H
36655 #include <ieeefp.h>
36656 #endif
36659 main ()
36661 fpclass(0);
36663 return 0;
36665 _ACEOF
36666 if ac_fn_cxx_try_compile "$LINENO"; then :
36667 glibcxx_cv_func_fpclass_use=yes
36668 else
36669 glibcxx_cv_func_fpclass_use=no
36671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36672 ac_ext=c
36673 ac_cpp='$CPP $CPPFLAGS'
36674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
36683 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
36685 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
36686 for ac_func in fpclass
36687 do :
36688 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
36689 if test "x$ac_cv_func_fpclass" = xyes; then :
36690 cat >>confdefs.h <<_ACEOF
36691 #define HAVE_FPCLASS 1
36692 _ACEOF
36695 done
36697 else
36699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
36700 $as_echo_n "checking for _fpclass declaration... " >&6; }
36701 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
36702 if ${glibcxx_cv_func__fpclass_use+:} false; then :
36703 $as_echo_n "(cached) " >&6
36704 else
36707 ac_ext=cpp
36708 ac_cpp='$CXXCPP $CPPFLAGS'
36709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36714 /* end confdefs.h. */
36715 #include <math.h>
36716 #ifdef HAVE_IEEEFP_H
36717 #include <ieeefp.h>
36718 #endif
36721 main ()
36723 _fpclass(0);
36725 return 0;
36727 _ACEOF
36728 if ac_fn_cxx_try_compile "$LINENO"; then :
36729 glibcxx_cv_func__fpclass_use=yes
36730 else
36731 glibcxx_cv_func__fpclass_use=no
36733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36734 ac_ext=c
36735 ac_cpp='$CPP $CPPFLAGS'
36736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
36745 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
36747 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
36748 for ac_func in _fpclass
36749 do :
36750 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
36751 if test "x$ac_cv_func__fpclass" = xyes; then :
36752 cat >>confdefs.h <<_ACEOF
36753 #define HAVE__FPCLASS 1
36754 _ACEOF
36757 done
36766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
36767 $as_echo_n "checking for qfpclass declaration... " >&6; }
36768 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
36769 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
36770 $as_echo_n "(cached) " >&6
36771 else
36774 ac_ext=cpp
36775 ac_cpp='$CXXCPP $CPPFLAGS'
36776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36781 /* end confdefs.h. */
36782 #include <math.h>
36783 #ifdef HAVE_IEEEFP_H
36784 #include <ieeefp.h>
36785 #endif
36788 main ()
36790 qfpclass(0);
36792 return 0;
36794 _ACEOF
36795 if ac_fn_cxx_try_compile "$LINENO"; then :
36796 glibcxx_cv_func_qfpclass_use=yes
36797 else
36798 glibcxx_cv_func_qfpclass_use=no
36800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36801 ac_ext=c
36802 ac_cpp='$CPP $CPPFLAGS'
36803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
36812 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
36814 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
36815 for ac_func in qfpclass
36816 do :
36817 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
36818 if test "x$ac_cv_func_qfpclass" = xyes; then :
36819 cat >>confdefs.h <<_ACEOF
36820 #define HAVE_QFPCLASS 1
36821 _ACEOF
36824 done
36826 else
36828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
36829 $as_echo_n "checking for _qfpclass declaration... " >&6; }
36830 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
36831 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
36832 $as_echo_n "(cached) " >&6
36833 else
36836 ac_ext=cpp
36837 ac_cpp='$CXXCPP $CPPFLAGS'
36838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36843 /* end confdefs.h. */
36844 #include <math.h>
36845 #ifdef HAVE_IEEEFP_H
36846 #include <ieeefp.h>
36847 #endif
36850 main ()
36852 _qfpclass(0);
36854 return 0;
36856 _ACEOF
36857 if ac_fn_cxx_try_compile "$LINENO"; then :
36858 glibcxx_cv_func__qfpclass_use=yes
36859 else
36860 glibcxx_cv_func__qfpclass_use=no
36862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36863 ac_ext=c
36864 ac_cpp='$CPP $CPPFLAGS'
36865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36874 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36876 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36877 for ac_func in _qfpclass
36878 do :
36879 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36880 if test "x$ac_cv_func__qfpclass" = xyes; then :
36881 cat >>confdefs.h <<_ACEOF
36882 #define HAVE__QFPCLASS 1
36883 _ACEOF
36886 done
36895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36896 $as_echo_n "checking for hypot declaration... " >&6; }
36897 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36898 if ${glibcxx_cv_func_hypot_use+:} false; then :
36899 $as_echo_n "(cached) " >&6
36900 else
36903 ac_ext=cpp
36904 ac_cpp='$CXXCPP $CPPFLAGS'
36905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36910 /* end confdefs.h. */
36911 #include <math.h>
36913 main ()
36915 hypot(0, 0);
36917 return 0;
36919 _ACEOF
36920 if ac_fn_cxx_try_compile "$LINENO"; then :
36921 glibcxx_cv_func_hypot_use=yes
36922 else
36923 glibcxx_cv_func_hypot_use=no
36925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36926 ac_ext=c
36927 ac_cpp='$CPP $CPPFLAGS'
36928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36937 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36939 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36940 for ac_func in hypot
36941 do :
36942 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36943 if test "x$ac_cv_func_hypot" = xyes; then :
36944 cat >>confdefs.h <<_ACEOF
36945 #define HAVE_HYPOT 1
36946 _ACEOF
36949 done
36951 else
36953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36954 $as_echo_n "checking for _hypot declaration... " >&6; }
36955 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36956 if ${glibcxx_cv_func__hypot_use+:} false; then :
36957 $as_echo_n "(cached) " >&6
36958 else
36961 ac_ext=cpp
36962 ac_cpp='$CXXCPP $CPPFLAGS'
36963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36968 /* end confdefs.h. */
36969 #include <math.h>
36971 main ()
36973 _hypot(0, 0);
36975 return 0;
36977 _ACEOF
36978 if ac_fn_cxx_try_compile "$LINENO"; then :
36979 glibcxx_cv_func__hypot_use=yes
36980 else
36981 glibcxx_cv_func__hypot_use=no
36983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36984 ac_ext=c
36985 ac_cpp='$CPP $CPPFLAGS'
36986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36995 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36997 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36998 for ac_func in _hypot
36999 do :
37000 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
37001 if test "x$ac_cv_func__hypot" = xyes; then :
37002 cat >>confdefs.h <<_ACEOF
37003 #define HAVE__HYPOT 1
37004 _ACEOF
37007 done
37016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
37017 $as_echo_n "checking for float trig functions... " >&6; }
37018 if ${glibcxx_cv_func_float_trig_use+:} false; then :
37019 $as_echo_n "(cached) " >&6
37020 else
37023 ac_ext=cpp
37024 ac_cpp='$CXXCPP $CPPFLAGS'
37025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37030 /* end confdefs.h. */
37031 #include <math.h>
37033 main ()
37035 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
37037 return 0;
37039 _ACEOF
37040 if ac_fn_cxx_try_compile "$LINENO"; then :
37041 glibcxx_cv_func_float_trig_use=yes
37042 else
37043 glibcxx_cv_func_float_trig_use=no
37045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37046 ac_ext=c
37047 ac_cpp='$CPP $CPPFLAGS'
37048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
37055 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
37056 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
37057 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
37058 do :
37059 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37060 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37061 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
37062 cat >>confdefs.h <<_ACEOF
37063 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37064 _ACEOF
37067 done
37069 else
37070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
37071 $as_echo_n "checking for _float trig functions... " >&6; }
37072 if ${glibcxx_cv_func__float_trig_use+:} false; then :
37073 $as_echo_n "(cached) " >&6
37074 else
37077 ac_ext=cpp
37078 ac_cpp='$CXXCPP $CPPFLAGS'
37079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37084 /* end confdefs.h. */
37085 #include <math.h>
37087 main ()
37089 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
37091 return 0;
37093 _ACEOF
37094 if ac_fn_cxx_try_compile "$LINENO"; then :
37095 glibcxx_cv_func__float_trig_use=yes
37096 else
37097 glibcxx_cv_func__float_trig_use=no
37099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37100 ac_ext=c
37101 ac_cpp='$CPP $CPPFLAGS'
37102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
37109 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
37110 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
37111 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
37112 do :
37113 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37114 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37115 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
37116 cat >>confdefs.h <<_ACEOF
37117 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37118 _ACEOF
37121 done
37130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
37131 $as_echo_n "checking for float round functions... " >&6; }
37132 if ${glibcxx_cv_func_float_round_use+:} false; then :
37133 $as_echo_n "(cached) " >&6
37134 else
37137 ac_ext=cpp
37138 ac_cpp='$CXXCPP $CPPFLAGS'
37139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37144 /* end confdefs.h. */
37145 #include <math.h>
37147 main ()
37149 ceilf (0); floorf (0);
37151 return 0;
37153 _ACEOF
37154 if ac_fn_cxx_try_compile "$LINENO"; then :
37155 glibcxx_cv_func_float_round_use=yes
37156 else
37157 glibcxx_cv_func_float_round_use=no
37159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37160 ac_ext=c
37161 ac_cpp='$CPP $CPPFLAGS'
37162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
37169 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
37170 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
37171 for ac_func in ceilf floorf
37172 do :
37173 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37174 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37175 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
37176 cat >>confdefs.h <<_ACEOF
37177 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37178 _ACEOF
37181 done
37183 else
37184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
37185 $as_echo_n "checking for _float round functions... " >&6; }
37186 if ${glibcxx_cv_func__float_round_use+:} false; then :
37187 $as_echo_n "(cached) " >&6
37188 else
37191 ac_ext=cpp
37192 ac_cpp='$CXXCPP $CPPFLAGS'
37193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37198 /* end confdefs.h. */
37199 #include <math.h>
37201 main ()
37203 _ceilf (0); _floorf (0);
37205 return 0;
37207 _ACEOF
37208 if ac_fn_cxx_try_compile "$LINENO"; then :
37209 glibcxx_cv_func__float_round_use=yes
37210 else
37211 glibcxx_cv_func__float_round_use=no
37213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37214 ac_ext=c
37215 ac_cpp='$CPP $CPPFLAGS'
37216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
37223 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
37224 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
37225 for ac_func in _ceilf _floorf
37226 do :
37227 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37228 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37229 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
37230 cat >>confdefs.h <<_ACEOF
37231 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37232 _ACEOF
37235 done
37245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
37246 $as_echo_n "checking for expf declaration... " >&6; }
37247 if test x${glibcxx_cv_func_expf_use+set} != xset; then
37248 if ${glibcxx_cv_func_expf_use+:} false; then :
37249 $as_echo_n "(cached) " >&6
37250 else
37253 ac_ext=cpp
37254 ac_cpp='$CXXCPP $CPPFLAGS'
37255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37260 /* end confdefs.h. */
37261 #include <math.h>
37262 #ifdef HAVE_IEEEFP_H
37263 #include <ieeefp.h>
37264 #endif
37267 main ()
37269 expf(0);
37271 return 0;
37273 _ACEOF
37274 if ac_fn_cxx_try_compile "$LINENO"; then :
37275 glibcxx_cv_func_expf_use=yes
37276 else
37277 glibcxx_cv_func_expf_use=no
37279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37280 ac_ext=c
37281 ac_cpp='$CPP $CPPFLAGS'
37282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
37291 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
37293 if test x$glibcxx_cv_func_expf_use = x"yes"; then
37294 for ac_func in expf
37295 do :
37296 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
37297 if test "x$ac_cv_func_expf" = xyes; then :
37298 cat >>confdefs.h <<_ACEOF
37299 #define HAVE_EXPF 1
37300 _ACEOF
37303 done
37305 else
37307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
37308 $as_echo_n "checking for _expf declaration... " >&6; }
37309 if test x${glibcxx_cv_func__expf_use+set} != xset; then
37310 if ${glibcxx_cv_func__expf_use+:} false; then :
37311 $as_echo_n "(cached) " >&6
37312 else
37315 ac_ext=cpp
37316 ac_cpp='$CXXCPP $CPPFLAGS'
37317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37322 /* end confdefs.h. */
37323 #include <math.h>
37324 #ifdef HAVE_IEEEFP_H
37325 #include <ieeefp.h>
37326 #endif
37329 main ()
37331 _expf(0);
37333 return 0;
37335 _ACEOF
37336 if ac_fn_cxx_try_compile "$LINENO"; then :
37337 glibcxx_cv_func__expf_use=yes
37338 else
37339 glibcxx_cv_func__expf_use=no
37341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37342 ac_ext=c
37343 ac_cpp='$CPP $CPPFLAGS'
37344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
37353 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
37355 if test x$glibcxx_cv_func__expf_use = x"yes"; then
37356 for ac_func in _expf
37357 do :
37358 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
37359 if test "x$ac_cv_func__expf" = xyes; then :
37360 cat >>confdefs.h <<_ACEOF
37361 #define HAVE__EXPF 1
37362 _ACEOF
37365 done
37374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
37375 $as_echo_n "checking for isnanf declaration... " >&6; }
37376 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
37377 if ${glibcxx_cv_func_isnanf_use+:} false; then :
37378 $as_echo_n "(cached) " >&6
37379 else
37382 ac_ext=cpp
37383 ac_cpp='$CXXCPP $CPPFLAGS'
37384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37389 /* end confdefs.h. */
37390 #include <math.h>
37391 #ifdef HAVE_IEEEFP_H
37392 #include <ieeefp.h>
37393 #endif
37396 main ()
37398 isnanf(0);
37400 return 0;
37402 _ACEOF
37403 if ac_fn_cxx_try_compile "$LINENO"; then :
37404 glibcxx_cv_func_isnanf_use=yes
37405 else
37406 glibcxx_cv_func_isnanf_use=no
37408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37409 ac_ext=c
37410 ac_cpp='$CPP $CPPFLAGS'
37411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
37420 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
37422 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
37423 for ac_func in isnanf
37424 do :
37425 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
37426 if test "x$ac_cv_func_isnanf" = xyes; then :
37427 cat >>confdefs.h <<_ACEOF
37428 #define HAVE_ISNANF 1
37429 _ACEOF
37432 done
37434 else
37436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
37437 $as_echo_n "checking for _isnanf declaration... " >&6; }
37438 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
37439 if ${glibcxx_cv_func__isnanf_use+:} false; then :
37440 $as_echo_n "(cached) " >&6
37441 else
37444 ac_ext=cpp
37445 ac_cpp='$CXXCPP $CPPFLAGS'
37446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37451 /* end confdefs.h. */
37452 #include <math.h>
37453 #ifdef HAVE_IEEEFP_H
37454 #include <ieeefp.h>
37455 #endif
37458 main ()
37460 _isnanf(0);
37462 return 0;
37464 _ACEOF
37465 if ac_fn_cxx_try_compile "$LINENO"; then :
37466 glibcxx_cv_func__isnanf_use=yes
37467 else
37468 glibcxx_cv_func__isnanf_use=no
37470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37471 ac_ext=c
37472 ac_cpp='$CPP $CPPFLAGS'
37473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
37482 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
37484 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
37485 for ac_func in _isnanf
37486 do :
37487 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
37488 if test "x$ac_cv_func__isnanf" = xyes; then :
37489 cat >>confdefs.h <<_ACEOF
37490 #define HAVE__ISNANF 1
37491 _ACEOF
37494 done
37503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
37504 $as_echo_n "checking for isinff declaration... " >&6; }
37505 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
37506 if ${glibcxx_cv_func_isinff_use+:} false; then :
37507 $as_echo_n "(cached) " >&6
37508 else
37511 ac_ext=cpp
37512 ac_cpp='$CXXCPP $CPPFLAGS'
37513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37518 /* end confdefs.h. */
37519 #include <math.h>
37520 #ifdef HAVE_IEEEFP_H
37521 #include <ieeefp.h>
37522 #endif
37525 main ()
37527 isinff(0);
37529 return 0;
37531 _ACEOF
37532 if ac_fn_cxx_try_compile "$LINENO"; then :
37533 glibcxx_cv_func_isinff_use=yes
37534 else
37535 glibcxx_cv_func_isinff_use=no
37537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37538 ac_ext=c
37539 ac_cpp='$CPP $CPPFLAGS'
37540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
37549 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
37551 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
37552 for ac_func in isinff
37553 do :
37554 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
37555 if test "x$ac_cv_func_isinff" = xyes; then :
37556 cat >>confdefs.h <<_ACEOF
37557 #define HAVE_ISINFF 1
37558 _ACEOF
37561 done
37563 else
37565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
37566 $as_echo_n "checking for _isinff declaration... " >&6; }
37567 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
37568 if ${glibcxx_cv_func__isinff_use+:} false; then :
37569 $as_echo_n "(cached) " >&6
37570 else
37573 ac_ext=cpp
37574 ac_cpp='$CXXCPP $CPPFLAGS'
37575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37580 /* end confdefs.h. */
37581 #include <math.h>
37582 #ifdef HAVE_IEEEFP_H
37583 #include <ieeefp.h>
37584 #endif
37587 main ()
37589 _isinff(0);
37591 return 0;
37593 _ACEOF
37594 if ac_fn_cxx_try_compile "$LINENO"; then :
37595 glibcxx_cv_func__isinff_use=yes
37596 else
37597 glibcxx_cv_func__isinff_use=no
37599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37600 ac_ext=c
37601 ac_cpp='$CPP $CPPFLAGS'
37602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
37611 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
37613 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
37614 for ac_func in _isinff
37615 do :
37616 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
37617 if test "x$ac_cv_func__isinff" = xyes; then :
37618 cat >>confdefs.h <<_ACEOF
37619 #define HAVE__ISINFF 1
37620 _ACEOF
37623 done
37632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
37633 $as_echo_n "checking for atan2f declaration... " >&6; }
37634 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
37635 if ${glibcxx_cv_func_atan2f_use+:} false; then :
37636 $as_echo_n "(cached) " >&6
37637 else
37640 ac_ext=cpp
37641 ac_cpp='$CXXCPP $CPPFLAGS'
37642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37647 /* end confdefs.h. */
37648 #include <math.h>
37650 main ()
37652 atan2f(0, 0);
37654 return 0;
37656 _ACEOF
37657 if ac_fn_cxx_try_compile "$LINENO"; then :
37658 glibcxx_cv_func_atan2f_use=yes
37659 else
37660 glibcxx_cv_func_atan2f_use=no
37662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37663 ac_ext=c
37664 ac_cpp='$CPP $CPPFLAGS'
37665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
37674 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
37676 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
37677 for ac_func in atan2f
37678 do :
37679 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
37680 if test "x$ac_cv_func_atan2f" = xyes; then :
37681 cat >>confdefs.h <<_ACEOF
37682 #define HAVE_ATAN2F 1
37683 _ACEOF
37686 done
37688 else
37690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
37691 $as_echo_n "checking for _atan2f declaration... " >&6; }
37692 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
37693 if ${glibcxx_cv_func__atan2f_use+:} false; then :
37694 $as_echo_n "(cached) " >&6
37695 else
37698 ac_ext=cpp
37699 ac_cpp='$CXXCPP $CPPFLAGS'
37700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37705 /* end confdefs.h. */
37706 #include <math.h>
37708 main ()
37710 _atan2f(0, 0);
37712 return 0;
37714 _ACEOF
37715 if ac_fn_cxx_try_compile "$LINENO"; then :
37716 glibcxx_cv_func__atan2f_use=yes
37717 else
37718 glibcxx_cv_func__atan2f_use=no
37720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37721 ac_ext=c
37722 ac_cpp='$CPP $CPPFLAGS'
37723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
37732 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
37734 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
37735 for ac_func in _atan2f
37736 do :
37737 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
37738 if test "x$ac_cv_func__atan2f" = xyes; then :
37739 cat >>confdefs.h <<_ACEOF
37740 #define HAVE__ATAN2F 1
37741 _ACEOF
37744 done
37753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
37754 $as_echo_n "checking for fabsf declaration... " >&6; }
37755 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
37756 if ${glibcxx_cv_func_fabsf_use+:} false; then :
37757 $as_echo_n "(cached) " >&6
37758 else
37761 ac_ext=cpp
37762 ac_cpp='$CXXCPP $CPPFLAGS'
37763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37768 /* end confdefs.h. */
37769 #include <math.h>
37770 #ifdef HAVE_IEEEFP_H
37771 #include <ieeefp.h>
37772 #endif
37775 main ()
37777 fabsf(0);
37779 return 0;
37781 _ACEOF
37782 if ac_fn_cxx_try_compile "$LINENO"; then :
37783 glibcxx_cv_func_fabsf_use=yes
37784 else
37785 glibcxx_cv_func_fabsf_use=no
37787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37788 ac_ext=c
37789 ac_cpp='$CPP $CPPFLAGS'
37790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
37799 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
37801 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
37802 for ac_func in fabsf
37803 do :
37804 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
37805 if test "x$ac_cv_func_fabsf" = xyes; then :
37806 cat >>confdefs.h <<_ACEOF
37807 #define HAVE_FABSF 1
37808 _ACEOF
37811 done
37813 else
37815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
37816 $as_echo_n "checking for _fabsf declaration... " >&6; }
37817 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
37818 if ${glibcxx_cv_func__fabsf_use+:} false; then :
37819 $as_echo_n "(cached) " >&6
37820 else
37823 ac_ext=cpp
37824 ac_cpp='$CXXCPP $CPPFLAGS'
37825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37830 /* end confdefs.h. */
37831 #include <math.h>
37832 #ifdef HAVE_IEEEFP_H
37833 #include <ieeefp.h>
37834 #endif
37837 main ()
37839 _fabsf(0);
37841 return 0;
37843 _ACEOF
37844 if ac_fn_cxx_try_compile "$LINENO"; then :
37845 glibcxx_cv_func__fabsf_use=yes
37846 else
37847 glibcxx_cv_func__fabsf_use=no
37849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37850 ac_ext=c
37851 ac_cpp='$CPP $CPPFLAGS'
37852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37861 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37863 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37864 for ac_func in _fabsf
37865 do :
37866 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37867 if test "x$ac_cv_func__fabsf" = xyes; then :
37868 cat >>confdefs.h <<_ACEOF
37869 #define HAVE__FABSF 1
37870 _ACEOF
37873 done
37882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37883 $as_echo_n "checking for fmodf declaration... " >&6; }
37884 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37885 if ${glibcxx_cv_func_fmodf_use+:} false; then :
37886 $as_echo_n "(cached) " >&6
37887 else
37890 ac_ext=cpp
37891 ac_cpp='$CXXCPP $CPPFLAGS'
37892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37897 /* end confdefs.h. */
37898 #include <math.h>
37900 main ()
37902 fmodf(0, 0);
37904 return 0;
37906 _ACEOF
37907 if ac_fn_cxx_try_compile "$LINENO"; then :
37908 glibcxx_cv_func_fmodf_use=yes
37909 else
37910 glibcxx_cv_func_fmodf_use=no
37912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37913 ac_ext=c
37914 ac_cpp='$CPP $CPPFLAGS'
37915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37924 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37926 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37927 for ac_func in fmodf
37928 do :
37929 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37930 if test "x$ac_cv_func_fmodf" = xyes; then :
37931 cat >>confdefs.h <<_ACEOF
37932 #define HAVE_FMODF 1
37933 _ACEOF
37936 done
37938 else
37940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37941 $as_echo_n "checking for _fmodf declaration... " >&6; }
37942 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37943 if ${glibcxx_cv_func__fmodf_use+:} false; then :
37944 $as_echo_n "(cached) " >&6
37945 else
37948 ac_ext=cpp
37949 ac_cpp='$CXXCPP $CPPFLAGS'
37950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37955 /* end confdefs.h. */
37956 #include <math.h>
37958 main ()
37960 _fmodf(0, 0);
37962 return 0;
37964 _ACEOF
37965 if ac_fn_cxx_try_compile "$LINENO"; then :
37966 glibcxx_cv_func__fmodf_use=yes
37967 else
37968 glibcxx_cv_func__fmodf_use=no
37970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37971 ac_ext=c
37972 ac_cpp='$CPP $CPPFLAGS'
37973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37982 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37984 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37985 for ac_func in _fmodf
37986 do :
37987 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37988 if test "x$ac_cv_func__fmodf" = xyes; then :
37989 cat >>confdefs.h <<_ACEOF
37990 #define HAVE__FMODF 1
37991 _ACEOF
37994 done
38003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
38004 $as_echo_n "checking for frexpf declaration... " >&6; }
38005 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
38006 if ${glibcxx_cv_func_frexpf_use+:} false; then :
38007 $as_echo_n "(cached) " >&6
38008 else
38011 ac_ext=cpp
38012 ac_cpp='$CXXCPP $CPPFLAGS'
38013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38018 /* end confdefs.h. */
38019 #include <math.h>
38021 main ()
38023 frexpf(0, 0);
38025 return 0;
38027 _ACEOF
38028 if ac_fn_cxx_try_compile "$LINENO"; then :
38029 glibcxx_cv_func_frexpf_use=yes
38030 else
38031 glibcxx_cv_func_frexpf_use=no
38033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38034 ac_ext=c
38035 ac_cpp='$CPP $CPPFLAGS'
38036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
38045 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
38047 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
38048 for ac_func in frexpf
38049 do :
38050 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
38051 if test "x$ac_cv_func_frexpf" = xyes; then :
38052 cat >>confdefs.h <<_ACEOF
38053 #define HAVE_FREXPF 1
38054 _ACEOF
38057 done
38059 else
38061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
38062 $as_echo_n "checking for _frexpf declaration... " >&6; }
38063 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
38064 if ${glibcxx_cv_func__frexpf_use+:} false; then :
38065 $as_echo_n "(cached) " >&6
38066 else
38069 ac_ext=cpp
38070 ac_cpp='$CXXCPP $CPPFLAGS'
38071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38076 /* end confdefs.h. */
38077 #include <math.h>
38079 main ()
38081 _frexpf(0, 0);
38083 return 0;
38085 _ACEOF
38086 if ac_fn_cxx_try_compile "$LINENO"; then :
38087 glibcxx_cv_func__frexpf_use=yes
38088 else
38089 glibcxx_cv_func__frexpf_use=no
38091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38092 ac_ext=c
38093 ac_cpp='$CPP $CPPFLAGS'
38094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
38103 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
38105 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
38106 for ac_func in _frexpf
38107 do :
38108 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
38109 if test "x$ac_cv_func__frexpf" = xyes; then :
38110 cat >>confdefs.h <<_ACEOF
38111 #define HAVE__FREXPF 1
38112 _ACEOF
38115 done
38124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
38125 $as_echo_n "checking for hypotf declaration... " >&6; }
38126 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
38127 if ${glibcxx_cv_func_hypotf_use+:} false; then :
38128 $as_echo_n "(cached) " >&6
38129 else
38132 ac_ext=cpp
38133 ac_cpp='$CXXCPP $CPPFLAGS'
38134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38139 /* end confdefs.h. */
38140 #include <math.h>
38142 main ()
38144 hypotf(0, 0);
38146 return 0;
38148 _ACEOF
38149 if ac_fn_cxx_try_compile "$LINENO"; then :
38150 glibcxx_cv_func_hypotf_use=yes
38151 else
38152 glibcxx_cv_func_hypotf_use=no
38154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38155 ac_ext=c
38156 ac_cpp='$CPP $CPPFLAGS'
38157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
38166 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
38168 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
38169 for ac_func in hypotf
38170 do :
38171 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
38172 if test "x$ac_cv_func_hypotf" = xyes; then :
38173 cat >>confdefs.h <<_ACEOF
38174 #define HAVE_HYPOTF 1
38175 _ACEOF
38178 done
38180 else
38182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
38183 $as_echo_n "checking for _hypotf declaration... " >&6; }
38184 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
38185 if ${glibcxx_cv_func__hypotf_use+:} false; then :
38186 $as_echo_n "(cached) " >&6
38187 else
38190 ac_ext=cpp
38191 ac_cpp='$CXXCPP $CPPFLAGS'
38192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38197 /* end confdefs.h. */
38198 #include <math.h>
38200 main ()
38202 _hypotf(0, 0);
38204 return 0;
38206 _ACEOF
38207 if ac_fn_cxx_try_compile "$LINENO"; then :
38208 glibcxx_cv_func__hypotf_use=yes
38209 else
38210 glibcxx_cv_func__hypotf_use=no
38212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38213 ac_ext=c
38214 ac_cpp='$CPP $CPPFLAGS'
38215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
38224 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
38226 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
38227 for ac_func in _hypotf
38228 do :
38229 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
38230 if test "x$ac_cv_func__hypotf" = xyes; then :
38231 cat >>confdefs.h <<_ACEOF
38232 #define HAVE__HYPOTF 1
38233 _ACEOF
38236 done
38245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
38246 $as_echo_n "checking for ldexpf declaration... " >&6; }
38247 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
38248 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
38249 $as_echo_n "(cached) " >&6
38250 else
38253 ac_ext=cpp
38254 ac_cpp='$CXXCPP $CPPFLAGS'
38255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38260 /* end confdefs.h. */
38261 #include <math.h>
38263 main ()
38265 ldexpf(0, 0);
38267 return 0;
38269 _ACEOF
38270 if ac_fn_cxx_try_compile "$LINENO"; then :
38271 glibcxx_cv_func_ldexpf_use=yes
38272 else
38273 glibcxx_cv_func_ldexpf_use=no
38275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38276 ac_ext=c
38277 ac_cpp='$CPP $CPPFLAGS'
38278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
38287 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
38289 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
38290 for ac_func in ldexpf
38291 do :
38292 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
38293 if test "x$ac_cv_func_ldexpf" = xyes; then :
38294 cat >>confdefs.h <<_ACEOF
38295 #define HAVE_LDEXPF 1
38296 _ACEOF
38299 done
38301 else
38303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
38304 $as_echo_n "checking for _ldexpf declaration... " >&6; }
38305 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
38306 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
38307 $as_echo_n "(cached) " >&6
38308 else
38311 ac_ext=cpp
38312 ac_cpp='$CXXCPP $CPPFLAGS'
38313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38318 /* end confdefs.h. */
38319 #include <math.h>
38321 main ()
38323 _ldexpf(0, 0);
38325 return 0;
38327 _ACEOF
38328 if ac_fn_cxx_try_compile "$LINENO"; then :
38329 glibcxx_cv_func__ldexpf_use=yes
38330 else
38331 glibcxx_cv_func__ldexpf_use=no
38333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38334 ac_ext=c
38335 ac_cpp='$CPP $CPPFLAGS'
38336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
38345 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
38347 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
38348 for ac_func in _ldexpf
38349 do :
38350 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
38351 if test "x$ac_cv_func__ldexpf" = xyes; then :
38352 cat >>confdefs.h <<_ACEOF
38353 #define HAVE__LDEXPF 1
38354 _ACEOF
38357 done
38366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
38367 $as_echo_n "checking for logf declaration... " >&6; }
38368 if test x${glibcxx_cv_func_logf_use+set} != xset; then
38369 if ${glibcxx_cv_func_logf_use+:} false; then :
38370 $as_echo_n "(cached) " >&6
38371 else
38374 ac_ext=cpp
38375 ac_cpp='$CXXCPP $CPPFLAGS'
38376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38381 /* end confdefs.h. */
38382 #include <math.h>
38383 #ifdef HAVE_IEEEFP_H
38384 #include <ieeefp.h>
38385 #endif
38388 main ()
38390 logf(0);
38392 return 0;
38394 _ACEOF
38395 if ac_fn_cxx_try_compile "$LINENO"; then :
38396 glibcxx_cv_func_logf_use=yes
38397 else
38398 glibcxx_cv_func_logf_use=no
38400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38401 ac_ext=c
38402 ac_cpp='$CPP $CPPFLAGS'
38403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
38412 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
38414 if test x$glibcxx_cv_func_logf_use = x"yes"; then
38415 for ac_func in logf
38416 do :
38417 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
38418 if test "x$ac_cv_func_logf" = xyes; then :
38419 cat >>confdefs.h <<_ACEOF
38420 #define HAVE_LOGF 1
38421 _ACEOF
38424 done
38426 else
38428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
38429 $as_echo_n "checking for _logf declaration... " >&6; }
38430 if test x${glibcxx_cv_func__logf_use+set} != xset; then
38431 if ${glibcxx_cv_func__logf_use+:} false; then :
38432 $as_echo_n "(cached) " >&6
38433 else
38436 ac_ext=cpp
38437 ac_cpp='$CXXCPP $CPPFLAGS'
38438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38443 /* end confdefs.h. */
38444 #include <math.h>
38445 #ifdef HAVE_IEEEFP_H
38446 #include <ieeefp.h>
38447 #endif
38450 main ()
38452 _logf(0);
38454 return 0;
38456 _ACEOF
38457 if ac_fn_cxx_try_compile "$LINENO"; then :
38458 glibcxx_cv_func__logf_use=yes
38459 else
38460 glibcxx_cv_func__logf_use=no
38462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38463 ac_ext=c
38464 ac_cpp='$CPP $CPPFLAGS'
38465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
38474 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
38476 if test x$glibcxx_cv_func__logf_use = x"yes"; then
38477 for ac_func in _logf
38478 do :
38479 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
38480 if test "x$ac_cv_func__logf" = xyes; then :
38481 cat >>confdefs.h <<_ACEOF
38482 #define HAVE__LOGF 1
38483 _ACEOF
38486 done
38495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
38496 $as_echo_n "checking for log10f declaration... " >&6; }
38497 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
38498 if ${glibcxx_cv_func_log10f_use+:} false; then :
38499 $as_echo_n "(cached) " >&6
38500 else
38503 ac_ext=cpp
38504 ac_cpp='$CXXCPP $CPPFLAGS'
38505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38510 /* end confdefs.h. */
38511 #include <math.h>
38512 #ifdef HAVE_IEEEFP_H
38513 #include <ieeefp.h>
38514 #endif
38517 main ()
38519 log10f(0);
38521 return 0;
38523 _ACEOF
38524 if ac_fn_cxx_try_compile "$LINENO"; then :
38525 glibcxx_cv_func_log10f_use=yes
38526 else
38527 glibcxx_cv_func_log10f_use=no
38529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38530 ac_ext=c
38531 ac_cpp='$CPP $CPPFLAGS'
38532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
38541 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
38543 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
38544 for ac_func in log10f
38545 do :
38546 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
38547 if test "x$ac_cv_func_log10f" = xyes; then :
38548 cat >>confdefs.h <<_ACEOF
38549 #define HAVE_LOG10F 1
38550 _ACEOF
38553 done
38555 else
38557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
38558 $as_echo_n "checking for _log10f declaration... " >&6; }
38559 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
38560 if ${glibcxx_cv_func__log10f_use+:} false; then :
38561 $as_echo_n "(cached) " >&6
38562 else
38565 ac_ext=cpp
38566 ac_cpp='$CXXCPP $CPPFLAGS'
38567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38572 /* end confdefs.h. */
38573 #include <math.h>
38574 #ifdef HAVE_IEEEFP_H
38575 #include <ieeefp.h>
38576 #endif
38579 main ()
38581 _log10f(0);
38583 return 0;
38585 _ACEOF
38586 if ac_fn_cxx_try_compile "$LINENO"; then :
38587 glibcxx_cv_func__log10f_use=yes
38588 else
38589 glibcxx_cv_func__log10f_use=no
38591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38592 ac_ext=c
38593 ac_cpp='$CPP $CPPFLAGS'
38594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
38603 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
38605 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
38606 for ac_func in _log10f
38607 do :
38608 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
38609 if test "x$ac_cv_func__log10f" = xyes; then :
38610 cat >>confdefs.h <<_ACEOF
38611 #define HAVE__LOG10F 1
38612 _ACEOF
38615 done
38624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
38625 $as_echo_n "checking for modff declaration... " >&6; }
38626 if test x${glibcxx_cv_func_modff_use+set} != xset; then
38627 if ${glibcxx_cv_func_modff_use+:} false; then :
38628 $as_echo_n "(cached) " >&6
38629 else
38632 ac_ext=cpp
38633 ac_cpp='$CXXCPP $CPPFLAGS'
38634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38639 /* end confdefs.h. */
38640 #include <math.h>
38642 main ()
38644 modff(0, 0);
38646 return 0;
38648 _ACEOF
38649 if ac_fn_cxx_try_compile "$LINENO"; then :
38650 glibcxx_cv_func_modff_use=yes
38651 else
38652 glibcxx_cv_func_modff_use=no
38654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38655 ac_ext=c
38656 ac_cpp='$CPP $CPPFLAGS'
38657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
38666 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
38668 if test x$glibcxx_cv_func_modff_use = x"yes"; then
38669 for ac_func in modff
38670 do :
38671 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
38672 if test "x$ac_cv_func_modff" = xyes; then :
38673 cat >>confdefs.h <<_ACEOF
38674 #define HAVE_MODFF 1
38675 _ACEOF
38678 done
38680 else
38682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
38683 $as_echo_n "checking for _modff declaration... " >&6; }
38684 if test x${glibcxx_cv_func__modff_use+set} != xset; then
38685 if ${glibcxx_cv_func__modff_use+:} false; then :
38686 $as_echo_n "(cached) " >&6
38687 else
38690 ac_ext=cpp
38691 ac_cpp='$CXXCPP $CPPFLAGS'
38692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38697 /* end confdefs.h. */
38698 #include <math.h>
38700 main ()
38702 _modff(0, 0);
38704 return 0;
38706 _ACEOF
38707 if ac_fn_cxx_try_compile "$LINENO"; then :
38708 glibcxx_cv_func__modff_use=yes
38709 else
38710 glibcxx_cv_func__modff_use=no
38712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38713 ac_ext=c
38714 ac_cpp='$CPP $CPPFLAGS'
38715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
38724 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
38726 if test x$glibcxx_cv_func__modff_use = x"yes"; then
38727 for ac_func in _modff
38728 do :
38729 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
38730 if test "x$ac_cv_func__modff" = xyes; then :
38731 cat >>confdefs.h <<_ACEOF
38732 #define HAVE__MODFF 1
38733 _ACEOF
38736 done
38745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
38746 $as_echo_n "checking for modf declaration... " >&6; }
38747 if test x${glibcxx_cv_func_modf_use+set} != xset; then
38748 if ${glibcxx_cv_func_modf_use+:} false; then :
38749 $as_echo_n "(cached) " >&6
38750 else
38753 ac_ext=cpp
38754 ac_cpp='$CXXCPP $CPPFLAGS'
38755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38760 /* end confdefs.h. */
38761 #include <math.h>
38763 main ()
38765 modf(0, 0);
38767 return 0;
38769 _ACEOF
38770 if ac_fn_cxx_try_compile "$LINENO"; then :
38771 glibcxx_cv_func_modf_use=yes
38772 else
38773 glibcxx_cv_func_modf_use=no
38775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38776 ac_ext=c
38777 ac_cpp='$CPP $CPPFLAGS'
38778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
38787 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
38789 if test x$glibcxx_cv_func_modf_use = x"yes"; then
38790 for ac_func in modf
38791 do :
38792 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
38793 if test "x$ac_cv_func_modf" = xyes; then :
38794 cat >>confdefs.h <<_ACEOF
38795 #define HAVE_MODF 1
38796 _ACEOF
38799 done
38801 else
38803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
38804 $as_echo_n "checking for _modf declaration... " >&6; }
38805 if test x${glibcxx_cv_func__modf_use+set} != xset; then
38806 if ${glibcxx_cv_func__modf_use+:} false; then :
38807 $as_echo_n "(cached) " >&6
38808 else
38811 ac_ext=cpp
38812 ac_cpp='$CXXCPP $CPPFLAGS'
38813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38818 /* end confdefs.h. */
38819 #include <math.h>
38821 main ()
38823 _modf(0, 0);
38825 return 0;
38827 _ACEOF
38828 if ac_fn_cxx_try_compile "$LINENO"; then :
38829 glibcxx_cv_func__modf_use=yes
38830 else
38831 glibcxx_cv_func__modf_use=no
38833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38834 ac_ext=c
38835 ac_cpp='$CPP $CPPFLAGS'
38836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
38845 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
38847 if test x$glibcxx_cv_func__modf_use = x"yes"; then
38848 for ac_func in _modf
38849 do :
38850 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
38851 if test "x$ac_cv_func__modf" = xyes; then :
38852 cat >>confdefs.h <<_ACEOF
38853 #define HAVE__MODF 1
38854 _ACEOF
38857 done
38866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38867 $as_echo_n "checking for powf declaration... " >&6; }
38868 if test x${glibcxx_cv_func_powf_use+set} != xset; then
38869 if ${glibcxx_cv_func_powf_use+:} false; then :
38870 $as_echo_n "(cached) " >&6
38871 else
38874 ac_ext=cpp
38875 ac_cpp='$CXXCPP $CPPFLAGS'
38876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38881 /* end confdefs.h. */
38882 #include <math.h>
38884 main ()
38886 powf(0, 0);
38888 return 0;
38890 _ACEOF
38891 if ac_fn_cxx_try_compile "$LINENO"; then :
38892 glibcxx_cv_func_powf_use=yes
38893 else
38894 glibcxx_cv_func_powf_use=no
38896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38897 ac_ext=c
38898 ac_cpp='$CPP $CPPFLAGS'
38899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38908 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
38910 if test x$glibcxx_cv_func_powf_use = x"yes"; then
38911 for ac_func in powf
38912 do :
38913 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38914 if test "x$ac_cv_func_powf" = xyes; then :
38915 cat >>confdefs.h <<_ACEOF
38916 #define HAVE_POWF 1
38917 _ACEOF
38920 done
38922 else
38924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38925 $as_echo_n "checking for _powf declaration... " >&6; }
38926 if test x${glibcxx_cv_func__powf_use+set} != xset; then
38927 if ${glibcxx_cv_func__powf_use+:} false; then :
38928 $as_echo_n "(cached) " >&6
38929 else
38932 ac_ext=cpp
38933 ac_cpp='$CXXCPP $CPPFLAGS'
38934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38939 /* end confdefs.h. */
38940 #include <math.h>
38942 main ()
38944 _powf(0, 0);
38946 return 0;
38948 _ACEOF
38949 if ac_fn_cxx_try_compile "$LINENO"; then :
38950 glibcxx_cv_func__powf_use=yes
38951 else
38952 glibcxx_cv_func__powf_use=no
38954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38955 ac_ext=c
38956 ac_cpp='$CPP $CPPFLAGS'
38957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38966 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
38968 if test x$glibcxx_cv_func__powf_use = x"yes"; then
38969 for ac_func in _powf
38970 do :
38971 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38972 if test "x$ac_cv_func__powf" = xyes; then :
38973 cat >>confdefs.h <<_ACEOF
38974 #define HAVE__POWF 1
38975 _ACEOF
38978 done
38987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38988 $as_echo_n "checking for sqrtf declaration... " >&6; }
38989 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38990 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
38991 $as_echo_n "(cached) " >&6
38992 else
38995 ac_ext=cpp
38996 ac_cpp='$CXXCPP $CPPFLAGS'
38997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39002 /* end confdefs.h. */
39003 #include <math.h>
39004 #ifdef HAVE_IEEEFP_H
39005 #include <ieeefp.h>
39006 #endif
39009 main ()
39011 sqrtf(0);
39013 return 0;
39015 _ACEOF
39016 if ac_fn_cxx_try_compile "$LINENO"; then :
39017 glibcxx_cv_func_sqrtf_use=yes
39018 else
39019 glibcxx_cv_func_sqrtf_use=no
39021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39022 ac_ext=c
39023 ac_cpp='$CPP $CPPFLAGS'
39024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
39033 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
39035 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
39036 for ac_func in sqrtf
39037 do :
39038 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
39039 if test "x$ac_cv_func_sqrtf" = xyes; then :
39040 cat >>confdefs.h <<_ACEOF
39041 #define HAVE_SQRTF 1
39042 _ACEOF
39045 done
39047 else
39049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
39050 $as_echo_n "checking for _sqrtf declaration... " >&6; }
39051 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
39052 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
39053 $as_echo_n "(cached) " >&6
39054 else
39057 ac_ext=cpp
39058 ac_cpp='$CXXCPP $CPPFLAGS'
39059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39064 /* end confdefs.h. */
39065 #include <math.h>
39066 #ifdef HAVE_IEEEFP_H
39067 #include <ieeefp.h>
39068 #endif
39071 main ()
39073 _sqrtf(0);
39075 return 0;
39077 _ACEOF
39078 if ac_fn_cxx_try_compile "$LINENO"; then :
39079 glibcxx_cv_func__sqrtf_use=yes
39080 else
39081 glibcxx_cv_func__sqrtf_use=no
39083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39084 ac_ext=c
39085 ac_cpp='$CPP $CPPFLAGS'
39086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
39095 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
39097 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
39098 for ac_func in _sqrtf
39099 do :
39100 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
39101 if test "x$ac_cv_func__sqrtf" = xyes; then :
39102 cat >>confdefs.h <<_ACEOF
39103 #define HAVE__SQRTF 1
39104 _ACEOF
39107 done
39116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
39117 $as_echo_n "checking for sincosf declaration... " >&6; }
39118 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
39119 if ${glibcxx_cv_func_sincosf_use+:} false; then :
39120 $as_echo_n "(cached) " >&6
39121 else
39124 ac_ext=cpp
39125 ac_cpp='$CXXCPP $CPPFLAGS'
39126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39131 /* end confdefs.h. */
39132 #include <math.h>
39134 main ()
39136 sincosf(0, 0, 0);
39138 return 0;
39140 _ACEOF
39141 if ac_fn_cxx_try_compile "$LINENO"; then :
39142 glibcxx_cv_func_sincosf_use=yes
39143 else
39144 glibcxx_cv_func_sincosf_use=no
39146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39147 ac_ext=c
39148 ac_cpp='$CPP $CPPFLAGS'
39149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
39158 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
39160 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
39161 for ac_func in sincosf
39162 do :
39163 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
39164 if test "x$ac_cv_func_sincosf" = xyes; then :
39165 cat >>confdefs.h <<_ACEOF
39166 #define HAVE_SINCOSF 1
39167 _ACEOF
39170 done
39172 else
39174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
39175 $as_echo_n "checking for _sincosf declaration... " >&6; }
39176 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
39177 if ${glibcxx_cv_func__sincosf_use+:} false; then :
39178 $as_echo_n "(cached) " >&6
39179 else
39182 ac_ext=cpp
39183 ac_cpp='$CXXCPP $CPPFLAGS'
39184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39189 /* end confdefs.h. */
39190 #include <math.h>
39192 main ()
39194 _sincosf(0, 0, 0);
39196 return 0;
39198 _ACEOF
39199 if ac_fn_cxx_try_compile "$LINENO"; then :
39200 glibcxx_cv_func__sincosf_use=yes
39201 else
39202 glibcxx_cv_func__sincosf_use=no
39204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39205 ac_ext=c
39206 ac_cpp='$CPP $CPPFLAGS'
39207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
39216 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
39218 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
39219 for ac_func in _sincosf
39220 do :
39221 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
39222 if test "x$ac_cv_func__sincosf" = xyes; then :
39223 cat >>confdefs.h <<_ACEOF
39224 #define HAVE__SINCOSF 1
39225 _ACEOF
39228 done
39237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
39238 $as_echo_n "checking for finitef declaration... " >&6; }
39239 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
39240 if ${glibcxx_cv_func_finitef_use+:} false; then :
39241 $as_echo_n "(cached) " >&6
39242 else
39245 ac_ext=cpp
39246 ac_cpp='$CXXCPP $CPPFLAGS'
39247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39252 /* end confdefs.h. */
39253 #include <math.h>
39254 #ifdef HAVE_IEEEFP_H
39255 #include <ieeefp.h>
39256 #endif
39259 main ()
39261 finitef(0);
39263 return 0;
39265 _ACEOF
39266 if ac_fn_cxx_try_compile "$LINENO"; then :
39267 glibcxx_cv_func_finitef_use=yes
39268 else
39269 glibcxx_cv_func_finitef_use=no
39271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39272 ac_ext=c
39273 ac_cpp='$CPP $CPPFLAGS'
39274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
39283 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
39285 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
39286 for ac_func in finitef
39287 do :
39288 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
39289 if test "x$ac_cv_func_finitef" = xyes; then :
39290 cat >>confdefs.h <<_ACEOF
39291 #define HAVE_FINITEF 1
39292 _ACEOF
39295 done
39297 else
39299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
39300 $as_echo_n "checking for _finitef declaration... " >&6; }
39301 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
39302 if ${glibcxx_cv_func__finitef_use+:} false; then :
39303 $as_echo_n "(cached) " >&6
39304 else
39307 ac_ext=cpp
39308 ac_cpp='$CXXCPP $CPPFLAGS'
39309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39314 /* end confdefs.h. */
39315 #include <math.h>
39316 #ifdef HAVE_IEEEFP_H
39317 #include <ieeefp.h>
39318 #endif
39321 main ()
39323 _finitef(0);
39325 return 0;
39327 _ACEOF
39328 if ac_fn_cxx_try_compile "$LINENO"; then :
39329 glibcxx_cv_func__finitef_use=yes
39330 else
39331 glibcxx_cv_func__finitef_use=no
39333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39334 ac_ext=c
39335 ac_cpp='$CPP $CPPFLAGS'
39336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
39345 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
39347 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
39348 for ac_func in _finitef
39349 do :
39350 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
39351 if test "x$ac_cv_func__finitef" = xyes; then :
39352 cat >>confdefs.h <<_ACEOF
39353 #define HAVE__FINITEF 1
39354 _ACEOF
39357 done
39366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
39367 $as_echo_n "checking for long double trig functions... " >&6; }
39368 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
39369 $as_echo_n "(cached) " >&6
39370 else
39373 ac_ext=cpp
39374 ac_cpp='$CXXCPP $CPPFLAGS'
39375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39380 /* end confdefs.h. */
39381 #include <math.h>
39383 main ()
39385 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
39387 return 0;
39389 _ACEOF
39390 if ac_fn_cxx_try_compile "$LINENO"; then :
39391 glibcxx_cv_func_long_double_trig_use=yes
39392 else
39393 glibcxx_cv_func_long_double_trig_use=no
39395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39396 ac_ext=c
39397 ac_cpp='$CPP $CPPFLAGS'
39398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
39405 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
39406 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
39407 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
39408 do :
39409 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39410 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39411 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
39412 cat >>confdefs.h <<_ACEOF
39413 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39414 _ACEOF
39417 done
39419 else
39420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
39421 $as_echo_n "checking for _long double trig functions... " >&6; }
39422 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
39423 $as_echo_n "(cached) " >&6
39424 else
39427 ac_ext=cpp
39428 ac_cpp='$CXXCPP $CPPFLAGS'
39429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39434 /* end confdefs.h. */
39435 #include <math.h>
39437 main ()
39439 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
39441 return 0;
39443 _ACEOF
39444 if ac_fn_cxx_try_compile "$LINENO"; then :
39445 glibcxx_cv_func__long_double_trig_use=yes
39446 else
39447 glibcxx_cv_func__long_double_trig_use=no
39449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39450 ac_ext=c
39451 ac_cpp='$CPP $CPPFLAGS'
39452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
39459 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
39460 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
39461 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
39462 do :
39463 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39464 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39465 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
39466 cat >>confdefs.h <<_ACEOF
39467 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39468 _ACEOF
39471 done
39480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
39481 $as_echo_n "checking for long double round functions... " >&6; }
39482 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
39483 $as_echo_n "(cached) " >&6
39484 else
39487 ac_ext=cpp
39488 ac_cpp='$CXXCPP $CPPFLAGS'
39489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39494 /* end confdefs.h. */
39495 #include <math.h>
39497 main ()
39499 ceill (0); floorl (0);
39501 return 0;
39503 _ACEOF
39504 if ac_fn_cxx_try_compile "$LINENO"; then :
39505 glibcxx_cv_func_long_double_round_use=yes
39506 else
39507 glibcxx_cv_func_long_double_round_use=no
39509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39510 ac_ext=c
39511 ac_cpp='$CPP $CPPFLAGS'
39512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
39519 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
39520 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
39521 for ac_func in ceill floorl
39522 do :
39523 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39524 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39525 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
39526 cat >>confdefs.h <<_ACEOF
39527 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39528 _ACEOF
39531 done
39533 else
39534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
39535 $as_echo_n "checking for _long double round functions... " >&6; }
39536 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
39537 $as_echo_n "(cached) " >&6
39538 else
39541 ac_ext=cpp
39542 ac_cpp='$CXXCPP $CPPFLAGS'
39543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39548 /* end confdefs.h. */
39549 #include <math.h>
39551 main ()
39553 _ceill (0); _floorl (0);
39555 return 0;
39557 _ACEOF
39558 if ac_fn_cxx_try_compile "$LINENO"; then :
39559 glibcxx_cv_func__long_double_round_use=yes
39560 else
39561 glibcxx_cv_func__long_double_round_use=no
39563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39564 ac_ext=c
39565 ac_cpp='$CPP $CPPFLAGS'
39566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
39573 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
39574 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
39575 for ac_func in _ceill _floorl
39576 do :
39577 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39578 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39579 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
39580 cat >>confdefs.h <<_ACEOF
39581 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39582 _ACEOF
39585 done
39595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
39596 $as_echo_n "checking for isnanl declaration... " >&6; }
39597 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
39598 if ${glibcxx_cv_func_isnanl_use+:} false; then :
39599 $as_echo_n "(cached) " >&6
39600 else
39603 ac_ext=cpp
39604 ac_cpp='$CXXCPP $CPPFLAGS'
39605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39610 /* end confdefs.h. */
39611 #include <math.h>
39612 #ifdef HAVE_IEEEFP_H
39613 #include <ieeefp.h>
39614 #endif
39617 main ()
39619 isnanl(0);
39621 return 0;
39623 _ACEOF
39624 if ac_fn_cxx_try_compile "$LINENO"; then :
39625 glibcxx_cv_func_isnanl_use=yes
39626 else
39627 glibcxx_cv_func_isnanl_use=no
39629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39630 ac_ext=c
39631 ac_cpp='$CPP $CPPFLAGS'
39632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
39641 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
39643 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
39644 for ac_func in isnanl
39645 do :
39646 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
39647 if test "x$ac_cv_func_isnanl" = xyes; then :
39648 cat >>confdefs.h <<_ACEOF
39649 #define HAVE_ISNANL 1
39650 _ACEOF
39653 done
39655 else
39657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
39658 $as_echo_n "checking for _isnanl declaration... " >&6; }
39659 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
39660 if ${glibcxx_cv_func__isnanl_use+:} false; then :
39661 $as_echo_n "(cached) " >&6
39662 else
39665 ac_ext=cpp
39666 ac_cpp='$CXXCPP $CPPFLAGS'
39667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39672 /* end confdefs.h. */
39673 #include <math.h>
39674 #ifdef HAVE_IEEEFP_H
39675 #include <ieeefp.h>
39676 #endif
39679 main ()
39681 _isnanl(0);
39683 return 0;
39685 _ACEOF
39686 if ac_fn_cxx_try_compile "$LINENO"; then :
39687 glibcxx_cv_func__isnanl_use=yes
39688 else
39689 glibcxx_cv_func__isnanl_use=no
39691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39692 ac_ext=c
39693 ac_cpp='$CPP $CPPFLAGS'
39694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
39703 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
39705 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
39706 for ac_func in _isnanl
39707 do :
39708 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
39709 if test "x$ac_cv_func__isnanl" = xyes; then :
39710 cat >>confdefs.h <<_ACEOF
39711 #define HAVE__ISNANL 1
39712 _ACEOF
39715 done
39724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
39725 $as_echo_n "checking for isinfl declaration... " >&6; }
39726 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
39727 if ${glibcxx_cv_func_isinfl_use+:} false; then :
39728 $as_echo_n "(cached) " >&6
39729 else
39732 ac_ext=cpp
39733 ac_cpp='$CXXCPP $CPPFLAGS'
39734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39739 /* end confdefs.h. */
39740 #include <math.h>
39741 #ifdef HAVE_IEEEFP_H
39742 #include <ieeefp.h>
39743 #endif
39746 main ()
39748 isinfl(0);
39750 return 0;
39752 _ACEOF
39753 if ac_fn_cxx_try_compile "$LINENO"; then :
39754 glibcxx_cv_func_isinfl_use=yes
39755 else
39756 glibcxx_cv_func_isinfl_use=no
39758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39759 ac_ext=c
39760 ac_cpp='$CPP $CPPFLAGS'
39761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
39770 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
39772 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
39773 for ac_func in isinfl
39774 do :
39775 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
39776 if test "x$ac_cv_func_isinfl" = xyes; then :
39777 cat >>confdefs.h <<_ACEOF
39778 #define HAVE_ISINFL 1
39779 _ACEOF
39782 done
39784 else
39786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
39787 $as_echo_n "checking for _isinfl declaration... " >&6; }
39788 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
39789 if ${glibcxx_cv_func__isinfl_use+:} false; then :
39790 $as_echo_n "(cached) " >&6
39791 else
39794 ac_ext=cpp
39795 ac_cpp='$CXXCPP $CPPFLAGS'
39796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39801 /* end confdefs.h. */
39802 #include <math.h>
39803 #ifdef HAVE_IEEEFP_H
39804 #include <ieeefp.h>
39805 #endif
39808 main ()
39810 _isinfl(0);
39812 return 0;
39814 _ACEOF
39815 if ac_fn_cxx_try_compile "$LINENO"; then :
39816 glibcxx_cv_func__isinfl_use=yes
39817 else
39818 glibcxx_cv_func__isinfl_use=no
39820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39821 ac_ext=c
39822 ac_cpp='$CPP $CPPFLAGS'
39823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
39832 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
39834 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
39835 for ac_func in _isinfl
39836 do :
39837 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
39838 if test "x$ac_cv_func__isinfl" = xyes; then :
39839 cat >>confdefs.h <<_ACEOF
39840 #define HAVE__ISINFL 1
39841 _ACEOF
39844 done
39853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
39854 $as_echo_n "checking for atan2l declaration... " >&6; }
39855 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
39856 if ${glibcxx_cv_func_atan2l_use+:} false; then :
39857 $as_echo_n "(cached) " >&6
39858 else
39861 ac_ext=cpp
39862 ac_cpp='$CXXCPP $CPPFLAGS'
39863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39868 /* end confdefs.h. */
39869 #include <math.h>
39871 main ()
39873 atan2l(0, 0);
39875 return 0;
39877 _ACEOF
39878 if ac_fn_cxx_try_compile "$LINENO"; then :
39879 glibcxx_cv_func_atan2l_use=yes
39880 else
39881 glibcxx_cv_func_atan2l_use=no
39883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39884 ac_ext=c
39885 ac_cpp='$CPP $CPPFLAGS'
39886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39895 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39897 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39898 for ac_func in atan2l
39899 do :
39900 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39901 if test "x$ac_cv_func_atan2l" = xyes; then :
39902 cat >>confdefs.h <<_ACEOF
39903 #define HAVE_ATAN2L 1
39904 _ACEOF
39907 done
39909 else
39911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39912 $as_echo_n "checking for _atan2l declaration... " >&6; }
39913 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39914 if ${glibcxx_cv_func__atan2l_use+:} false; then :
39915 $as_echo_n "(cached) " >&6
39916 else
39919 ac_ext=cpp
39920 ac_cpp='$CXXCPP $CPPFLAGS'
39921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39926 /* end confdefs.h. */
39927 #include <math.h>
39929 main ()
39931 _atan2l(0, 0);
39933 return 0;
39935 _ACEOF
39936 if ac_fn_cxx_try_compile "$LINENO"; then :
39937 glibcxx_cv_func__atan2l_use=yes
39938 else
39939 glibcxx_cv_func__atan2l_use=no
39941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39942 ac_ext=c
39943 ac_cpp='$CPP $CPPFLAGS'
39944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39953 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39955 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39956 for ac_func in _atan2l
39957 do :
39958 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39959 if test "x$ac_cv_func__atan2l" = xyes; then :
39960 cat >>confdefs.h <<_ACEOF
39961 #define HAVE__ATAN2L 1
39962 _ACEOF
39965 done
39974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39975 $as_echo_n "checking for expl declaration... " >&6; }
39976 if test x${glibcxx_cv_func_expl_use+set} != xset; then
39977 if ${glibcxx_cv_func_expl_use+:} false; then :
39978 $as_echo_n "(cached) " >&6
39979 else
39982 ac_ext=cpp
39983 ac_cpp='$CXXCPP $CPPFLAGS'
39984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39989 /* end confdefs.h. */
39990 #include <math.h>
39991 #ifdef HAVE_IEEEFP_H
39992 #include <ieeefp.h>
39993 #endif
39996 main ()
39998 expl(0);
40000 return 0;
40002 _ACEOF
40003 if ac_fn_cxx_try_compile "$LINENO"; then :
40004 glibcxx_cv_func_expl_use=yes
40005 else
40006 glibcxx_cv_func_expl_use=no
40008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40009 ac_ext=c
40010 ac_cpp='$CPP $CPPFLAGS'
40011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
40020 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
40022 if test x$glibcxx_cv_func_expl_use = x"yes"; then
40023 for ac_func in expl
40024 do :
40025 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
40026 if test "x$ac_cv_func_expl" = xyes; then :
40027 cat >>confdefs.h <<_ACEOF
40028 #define HAVE_EXPL 1
40029 _ACEOF
40032 done
40034 else
40036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
40037 $as_echo_n "checking for _expl declaration... " >&6; }
40038 if test x${glibcxx_cv_func__expl_use+set} != xset; then
40039 if ${glibcxx_cv_func__expl_use+:} false; then :
40040 $as_echo_n "(cached) " >&6
40041 else
40044 ac_ext=cpp
40045 ac_cpp='$CXXCPP $CPPFLAGS'
40046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40051 /* end confdefs.h. */
40052 #include <math.h>
40053 #ifdef HAVE_IEEEFP_H
40054 #include <ieeefp.h>
40055 #endif
40058 main ()
40060 _expl(0);
40062 return 0;
40064 _ACEOF
40065 if ac_fn_cxx_try_compile "$LINENO"; then :
40066 glibcxx_cv_func__expl_use=yes
40067 else
40068 glibcxx_cv_func__expl_use=no
40070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40071 ac_ext=c
40072 ac_cpp='$CPP $CPPFLAGS'
40073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
40082 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
40084 if test x$glibcxx_cv_func__expl_use = x"yes"; then
40085 for ac_func in _expl
40086 do :
40087 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
40088 if test "x$ac_cv_func__expl" = xyes; then :
40089 cat >>confdefs.h <<_ACEOF
40090 #define HAVE__EXPL 1
40091 _ACEOF
40094 done
40103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
40104 $as_echo_n "checking for fabsl declaration... " >&6; }
40105 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
40106 if ${glibcxx_cv_func_fabsl_use+:} false; then :
40107 $as_echo_n "(cached) " >&6
40108 else
40111 ac_ext=cpp
40112 ac_cpp='$CXXCPP $CPPFLAGS'
40113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40118 /* end confdefs.h. */
40119 #include <math.h>
40120 #ifdef HAVE_IEEEFP_H
40121 #include <ieeefp.h>
40122 #endif
40125 main ()
40127 fabsl(0);
40129 return 0;
40131 _ACEOF
40132 if ac_fn_cxx_try_compile "$LINENO"; then :
40133 glibcxx_cv_func_fabsl_use=yes
40134 else
40135 glibcxx_cv_func_fabsl_use=no
40137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40138 ac_ext=c
40139 ac_cpp='$CPP $CPPFLAGS'
40140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
40149 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
40151 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
40152 for ac_func in fabsl
40153 do :
40154 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
40155 if test "x$ac_cv_func_fabsl" = xyes; then :
40156 cat >>confdefs.h <<_ACEOF
40157 #define HAVE_FABSL 1
40158 _ACEOF
40161 done
40163 else
40165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
40166 $as_echo_n "checking for _fabsl declaration... " >&6; }
40167 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
40168 if ${glibcxx_cv_func__fabsl_use+:} false; then :
40169 $as_echo_n "(cached) " >&6
40170 else
40173 ac_ext=cpp
40174 ac_cpp='$CXXCPP $CPPFLAGS'
40175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40180 /* end confdefs.h. */
40181 #include <math.h>
40182 #ifdef HAVE_IEEEFP_H
40183 #include <ieeefp.h>
40184 #endif
40187 main ()
40189 _fabsl(0);
40191 return 0;
40193 _ACEOF
40194 if ac_fn_cxx_try_compile "$LINENO"; then :
40195 glibcxx_cv_func__fabsl_use=yes
40196 else
40197 glibcxx_cv_func__fabsl_use=no
40199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40200 ac_ext=c
40201 ac_cpp='$CPP $CPPFLAGS'
40202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
40211 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
40213 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
40214 for ac_func in _fabsl
40215 do :
40216 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
40217 if test "x$ac_cv_func__fabsl" = xyes; then :
40218 cat >>confdefs.h <<_ACEOF
40219 #define HAVE__FABSL 1
40220 _ACEOF
40223 done
40232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
40233 $as_echo_n "checking for fmodl declaration... " >&6; }
40234 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
40235 if ${glibcxx_cv_func_fmodl_use+:} false; then :
40236 $as_echo_n "(cached) " >&6
40237 else
40240 ac_ext=cpp
40241 ac_cpp='$CXXCPP $CPPFLAGS'
40242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40247 /* end confdefs.h. */
40248 #include <math.h>
40250 main ()
40252 fmodl(0, 0);
40254 return 0;
40256 _ACEOF
40257 if ac_fn_cxx_try_compile "$LINENO"; then :
40258 glibcxx_cv_func_fmodl_use=yes
40259 else
40260 glibcxx_cv_func_fmodl_use=no
40262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40263 ac_ext=c
40264 ac_cpp='$CPP $CPPFLAGS'
40265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
40274 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
40276 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
40277 for ac_func in fmodl
40278 do :
40279 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
40280 if test "x$ac_cv_func_fmodl" = xyes; then :
40281 cat >>confdefs.h <<_ACEOF
40282 #define HAVE_FMODL 1
40283 _ACEOF
40286 done
40288 else
40290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
40291 $as_echo_n "checking for _fmodl declaration... " >&6; }
40292 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
40293 if ${glibcxx_cv_func__fmodl_use+:} false; then :
40294 $as_echo_n "(cached) " >&6
40295 else
40298 ac_ext=cpp
40299 ac_cpp='$CXXCPP $CPPFLAGS'
40300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40305 /* end confdefs.h. */
40306 #include <math.h>
40308 main ()
40310 _fmodl(0, 0);
40312 return 0;
40314 _ACEOF
40315 if ac_fn_cxx_try_compile "$LINENO"; then :
40316 glibcxx_cv_func__fmodl_use=yes
40317 else
40318 glibcxx_cv_func__fmodl_use=no
40320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40321 ac_ext=c
40322 ac_cpp='$CPP $CPPFLAGS'
40323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
40332 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
40334 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
40335 for ac_func in _fmodl
40336 do :
40337 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
40338 if test "x$ac_cv_func__fmodl" = xyes; then :
40339 cat >>confdefs.h <<_ACEOF
40340 #define HAVE__FMODL 1
40341 _ACEOF
40344 done
40353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
40354 $as_echo_n "checking for frexpl declaration... " >&6; }
40355 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
40356 if ${glibcxx_cv_func_frexpl_use+:} false; then :
40357 $as_echo_n "(cached) " >&6
40358 else
40361 ac_ext=cpp
40362 ac_cpp='$CXXCPP $CPPFLAGS'
40363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40368 /* end confdefs.h. */
40369 #include <math.h>
40371 main ()
40373 frexpl(0, 0);
40375 return 0;
40377 _ACEOF
40378 if ac_fn_cxx_try_compile "$LINENO"; then :
40379 glibcxx_cv_func_frexpl_use=yes
40380 else
40381 glibcxx_cv_func_frexpl_use=no
40383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40384 ac_ext=c
40385 ac_cpp='$CPP $CPPFLAGS'
40386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
40395 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
40397 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
40398 for ac_func in frexpl
40399 do :
40400 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
40401 if test "x$ac_cv_func_frexpl" = xyes; then :
40402 cat >>confdefs.h <<_ACEOF
40403 #define HAVE_FREXPL 1
40404 _ACEOF
40407 done
40409 else
40411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
40412 $as_echo_n "checking for _frexpl declaration... " >&6; }
40413 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
40414 if ${glibcxx_cv_func__frexpl_use+:} false; then :
40415 $as_echo_n "(cached) " >&6
40416 else
40419 ac_ext=cpp
40420 ac_cpp='$CXXCPP $CPPFLAGS'
40421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40426 /* end confdefs.h. */
40427 #include <math.h>
40429 main ()
40431 _frexpl(0, 0);
40433 return 0;
40435 _ACEOF
40436 if ac_fn_cxx_try_compile "$LINENO"; then :
40437 glibcxx_cv_func__frexpl_use=yes
40438 else
40439 glibcxx_cv_func__frexpl_use=no
40441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40442 ac_ext=c
40443 ac_cpp='$CPP $CPPFLAGS'
40444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
40453 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
40455 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
40456 for ac_func in _frexpl
40457 do :
40458 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
40459 if test "x$ac_cv_func__frexpl" = xyes; then :
40460 cat >>confdefs.h <<_ACEOF
40461 #define HAVE__FREXPL 1
40462 _ACEOF
40465 done
40474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
40475 $as_echo_n "checking for hypotl declaration... " >&6; }
40476 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
40477 if ${glibcxx_cv_func_hypotl_use+:} false; then :
40478 $as_echo_n "(cached) " >&6
40479 else
40482 ac_ext=cpp
40483 ac_cpp='$CXXCPP $CPPFLAGS'
40484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40489 /* end confdefs.h. */
40490 #include <math.h>
40492 main ()
40494 hypotl(0, 0);
40496 return 0;
40498 _ACEOF
40499 if ac_fn_cxx_try_compile "$LINENO"; then :
40500 glibcxx_cv_func_hypotl_use=yes
40501 else
40502 glibcxx_cv_func_hypotl_use=no
40504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40505 ac_ext=c
40506 ac_cpp='$CPP $CPPFLAGS'
40507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
40516 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
40518 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
40519 for ac_func in hypotl
40520 do :
40521 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
40522 if test "x$ac_cv_func_hypotl" = xyes; then :
40523 cat >>confdefs.h <<_ACEOF
40524 #define HAVE_HYPOTL 1
40525 _ACEOF
40528 done
40530 else
40532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
40533 $as_echo_n "checking for _hypotl declaration... " >&6; }
40534 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
40535 if ${glibcxx_cv_func__hypotl_use+:} false; then :
40536 $as_echo_n "(cached) " >&6
40537 else
40540 ac_ext=cpp
40541 ac_cpp='$CXXCPP $CPPFLAGS'
40542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40547 /* end confdefs.h. */
40548 #include <math.h>
40550 main ()
40552 _hypotl(0, 0);
40554 return 0;
40556 _ACEOF
40557 if ac_fn_cxx_try_compile "$LINENO"; then :
40558 glibcxx_cv_func__hypotl_use=yes
40559 else
40560 glibcxx_cv_func__hypotl_use=no
40562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40563 ac_ext=c
40564 ac_cpp='$CPP $CPPFLAGS'
40565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
40574 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
40576 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
40577 for ac_func in _hypotl
40578 do :
40579 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
40580 if test "x$ac_cv_func__hypotl" = xyes; then :
40581 cat >>confdefs.h <<_ACEOF
40582 #define HAVE__HYPOTL 1
40583 _ACEOF
40586 done
40595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
40596 $as_echo_n "checking for ldexpl declaration... " >&6; }
40597 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
40598 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
40599 $as_echo_n "(cached) " >&6
40600 else
40603 ac_ext=cpp
40604 ac_cpp='$CXXCPP $CPPFLAGS'
40605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40610 /* end confdefs.h. */
40611 #include <math.h>
40613 main ()
40615 ldexpl(0, 0);
40617 return 0;
40619 _ACEOF
40620 if ac_fn_cxx_try_compile "$LINENO"; then :
40621 glibcxx_cv_func_ldexpl_use=yes
40622 else
40623 glibcxx_cv_func_ldexpl_use=no
40625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40626 ac_ext=c
40627 ac_cpp='$CPP $CPPFLAGS'
40628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
40637 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
40639 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
40640 for ac_func in ldexpl
40641 do :
40642 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
40643 if test "x$ac_cv_func_ldexpl" = xyes; then :
40644 cat >>confdefs.h <<_ACEOF
40645 #define HAVE_LDEXPL 1
40646 _ACEOF
40649 done
40651 else
40653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
40654 $as_echo_n "checking for _ldexpl declaration... " >&6; }
40655 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
40656 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
40657 $as_echo_n "(cached) " >&6
40658 else
40661 ac_ext=cpp
40662 ac_cpp='$CXXCPP $CPPFLAGS'
40663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40668 /* end confdefs.h. */
40669 #include <math.h>
40671 main ()
40673 _ldexpl(0, 0);
40675 return 0;
40677 _ACEOF
40678 if ac_fn_cxx_try_compile "$LINENO"; then :
40679 glibcxx_cv_func__ldexpl_use=yes
40680 else
40681 glibcxx_cv_func__ldexpl_use=no
40683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40684 ac_ext=c
40685 ac_cpp='$CPP $CPPFLAGS'
40686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
40695 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
40697 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
40698 for ac_func in _ldexpl
40699 do :
40700 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
40701 if test "x$ac_cv_func__ldexpl" = xyes; then :
40702 cat >>confdefs.h <<_ACEOF
40703 #define HAVE__LDEXPL 1
40704 _ACEOF
40707 done
40716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
40717 $as_echo_n "checking for logl declaration... " >&6; }
40718 if test x${glibcxx_cv_func_logl_use+set} != xset; then
40719 if ${glibcxx_cv_func_logl_use+:} false; then :
40720 $as_echo_n "(cached) " >&6
40721 else
40724 ac_ext=cpp
40725 ac_cpp='$CXXCPP $CPPFLAGS'
40726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40731 /* end confdefs.h. */
40732 #include <math.h>
40733 #ifdef HAVE_IEEEFP_H
40734 #include <ieeefp.h>
40735 #endif
40738 main ()
40740 logl(0);
40742 return 0;
40744 _ACEOF
40745 if ac_fn_cxx_try_compile "$LINENO"; then :
40746 glibcxx_cv_func_logl_use=yes
40747 else
40748 glibcxx_cv_func_logl_use=no
40750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40751 ac_ext=c
40752 ac_cpp='$CPP $CPPFLAGS'
40753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
40762 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
40764 if test x$glibcxx_cv_func_logl_use = x"yes"; then
40765 for ac_func in logl
40766 do :
40767 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
40768 if test "x$ac_cv_func_logl" = xyes; then :
40769 cat >>confdefs.h <<_ACEOF
40770 #define HAVE_LOGL 1
40771 _ACEOF
40774 done
40776 else
40778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
40779 $as_echo_n "checking for _logl declaration... " >&6; }
40780 if test x${glibcxx_cv_func__logl_use+set} != xset; then
40781 if ${glibcxx_cv_func__logl_use+:} false; then :
40782 $as_echo_n "(cached) " >&6
40783 else
40786 ac_ext=cpp
40787 ac_cpp='$CXXCPP $CPPFLAGS'
40788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40793 /* end confdefs.h. */
40794 #include <math.h>
40795 #ifdef HAVE_IEEEFP_H
40796 #include <ieeefp.h>
40797 #endif
40800 main ()
40802 _logl(0);
40804 return 0;
40806 _ACEOF
40807 if ac_fn_cxx_try_compile "$LINENO"; then :
40808 glibcxx_cv_func__logl_use=yes
40809 else
40810 glibcxx_cv_func__logl_use=no
40812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40813 ac_ext=c
40814 ac_cpp='$CPP $CPPFLAGS'
40815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
40824 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
40826 if test x$glibcxx_cv_func__logl_use = x"yes"; then
40827 for ac_func in _logl
40828 do :
40829 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
40830 if test "x$ac_cv_func__logl" = xyes; then :
40831 cat >>confdefs.h <<_ACEOF
40832 #define HAVE__LOGL 1
40833 _ACEOF
40836 done
40845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
40846 $as_echo_n "checking for log10l declaration... " >&6; }
40847 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
40848 if ${glibcxx_cv_func_log10l_use+:} false; then :
40849 $as_echo_n "(cached) " >&6
40850 else
40853 ac_ext=cpp
40854 ac_cpp='$CXXCPP $CPPFLAGS'
40855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40860 /* end confdefs.h. */
40861 #include <math.h>
40862 #ifdef HAVE_IEEEFP_H
40863 #include <ieeefp.h>
40864 #endif
40867 main ()
40869 log10l(0);
40871 return 0;
40873 _ACEOF
40874 if ac_fn_cxx_try_compile "$LINENO"; then :
40875 glibcxx_cv_func_log10l_use=yes
40876 else
40877 glibcxx_cv_func_log10l_use=no
40879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40880 ac_ext=c
40881 ac_cpp='$CPP $CPPFLAGS'
40882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40891 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40893 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40894 for ac_func in log10l
40895 do :
40896 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40897 if test "x$ac_cv_func_log10l" = xyes; then :
40898 cat >>confdefs.h <<_ACEOF
40899 #define HAVE_LOG10L 1
40900 _ACEOF
40903 done
40905 else
40907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40908 $as_echo_n "checking for _log10l declaration... " >&6; }
40909 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40910 if ${glibcxx_cv_func__log10l_use+:} false; then :
40911 $as_echo_n "(cached) " >&6
40912 else
40915 ac_ext=cpp
40916 ac_cpp='$CXXCPP $CPPFLAGS'
40917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40922 /* end confdefs.h. */
40923 #include <math.h>
40924 #ifdef HAVE_IEEEFP_H
40925 #include <ieeefp.h>
40926 #endif
40929 main ()
40931 _log10l(0);
40933 return 0;
40935 _ACEOF
40936 if ac_fn_cxx_try_compile "$LINENO"; then :
40937 glibcxx_cv_func__log10l_use=yes
40938 else
40939 glibcxx_cv_func__log10l_use=no
40941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40942 ac_ext=c
40943 ac_cpp='$CPP $CPPFLAGS'
40944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40953 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40955 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40956 for ac_func in _log10l
40957 do :
40958 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40959 if test "x$ac_cv_func__log10l" = xyes; then :
40960 cat >>confdefs.h <<_ACEOF
40961 #define HAVE__LOG10L 1
40962 _ACEOF
40965 done
40974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40975 $as_echo_n "checking for modfl declaration... " >&6; }
40976 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40977 if ${glibcxx_cv_func_modfl_use+:} false; then :
40978 $as_echo_n "(cached) " >&6
40979 else
40982 ac_ext=cpp
40983 ac_cpp='$CXXCPP $CPPFLAGS'
40984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40989 /* end confdefs.h. */
40990 #include <math.h>
40992 main ()
40994 modfl(0, 0);
40996 return 0;
40998 _ACEOF
40999 if ac_fn_cxx_try_compile "$LINENO"; then :
41000 glibcxx_cv_func_modfl_use=yes
41001 else
41002 glibcxx_cv_func_modfl_use=no
41004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41005 ac_ext=c
41006 ac_cpp='$CPP $CPPFLAGS'
41007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
41016 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
41018 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
41019 for ac_func in modfl
41020 do :
41021 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
41022 if test "x$ac_cv_func_modfl" = xyes; then :
41023 cat >>confdefs.h <<_ACEOF
41024 #define HAVE_MODFL 1
41025 _ACEOF
41028 done
41030 else
41032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
41033 $as_echo_n "checking for _modfl declaration... " >&6; }
41034 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
41035 if ${glibcxx_cv_func__modfl_use+:} false; then :
41036 $as_echo_n "(cached) " >&6
41037 else
41040 ac_ext=cpp
41041 ac_cpp='$CXXCPP $CPPFLAGS'
41042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41047 /* end confdefs.h. */
41048 #include <math.h>
41050 main ()
41052 _modfl(0, 0);
41054 return 0;
41056 _ACEOF
41057 if ac_fn_cxx_try_compile "$LINENO"; then :
41058 glibcxx_cv_func__modfl_use=yes
41059 else
41060 glibcxx_cv_func__modfl_use=no
41062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41063 ac_ext=c
41064 ac_cpp='$CPP $CPPFLAGS'
41065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
41074 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
41076 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
41077 for ac_func in _modfl
41078 do :
41079 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
41080 if test "x$ac_cv_func__modfl" = xyes; then :
41081 cat >>confdefs.h <<_ACEOF
41082 #define HAVE__MODFL 1
41083 _ACEOF
41086 done
41095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
41096 $as_echo_n "checking for powl declaration... " >&6; }
41097 if test x${glibcxx_cv_func_powl_use+set} != xset; then
41098 if ${glibcxx_cv_func_powl_use+:} false; then :
41099 $as_echo_n "(cached) " >&6
41100 else
41103 ac_ext=cpp
41104 ac_cpp='$CXXCPP $CPPFLAGS'
41105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41110 /* end confdefs.h. */
41111 #include <math.h>
41113 main ()
41115 powl(0, 0);
41117 return 0;
41119 _ACEOF
41120 if ac_fn_cxx_try_compile "$LINENO"; then :
41121 glibcxx_cv_func_powl_use=yes
41122 else
41123 glibcxx_cv_func_powl_use=no
41125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41126 ac_ext=c
41127 ac_cpp='$CPP $CPPFLAGS'
41128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
41137 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
41139 if test x$glibcxx_cv_func_powl_use = x"yes"; then
41140 for ac_func in powl
41141 do :
41142 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
41143 if test "x$ac_cv_func_powl" = xyes; then :
41144 cat >>confdefs.h <<_ACEOF
41145 #define HAVE_POWL 1
41146 _ACEOF
41149 done
41151 else
41153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
41154 $as_echo_n "checking for _powl declaration... " >&6; }
41155 if test x${glibcxx_cv_func__powl_use+set} != xset; then
41156 if ${glibcxx_cv_func__powl_use+:} false; then :
41157 $as_echo_n "(cached) " >&6
41158 else
41161 ac_ext=cpp
41162 ac_cpp='$CXXCPP $CPPFLAGS'
41163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41168 /* end confdefs.h. */
41169 #include <math.h>
41171 main ()
41173 _powl(0, 0);
41175 return 0;
41177 _ACEOF
41178 if ac_fn_cxx_try_compile "$LINENO"; then :
41179 glibcxx_cv_func__powl_use=yes
41180 else
41181 glibcxx_cv_func__powl_use=no
41183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41184 ac_ext=c
41185 ac_cpp='$CPP $CPPFLAGS'
41186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
41195 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
41197 if test x$glibcxx_cv_func__powl_use = x"yes"; then
41198 for ac_func in _powl
41199 do :
41200 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
41201 if test "x$ac_cv_func__powl" = xyes; then :
41202 cat >>confdefs.h <<_ACEOF
41203 #define HAVE__POWL 1
41204 _ACEOF
41207 done
41216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
41217 $as_echo_n "checking for sqrtl declaration... " >&6; }
41218 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
41219 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
41220 $as_echo_n "(cached) " >&6
41221 else
41224 ac_ext=cpp
41225 ac_cpp='$CXXCPP $CPPFLAGS'
41226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41231 /* end confdefs.h. */
41232 #include <math.h>
41233 #ifdef HAVE_IEEEFP_H
41234 #include <ieeefp.h>
41235 #endif
41238 main ()
41240 sqrtl(0);
41242 return 0;
41244 _ACEOF
41245 if ac_fn_cxx_try_compile "$LINENO"; then :
41246 glibcxx_cv_func_sqrtl_use=yes
41247 else
41248 glibcxx_cv_func_sqrtl_use=no
41250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41251 ac_ext=c
41252 ac_cpp='$CPP $CPPFLAGS'
41253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
41262 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
41264 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
41265 for ac_func in sqrtl
41266 do :
41267 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
41268 if test "x$ac_cv_func_sqrtl" = xyes; then :
41269 cat >>confdefs.h <<_ACEOF
41270 #define HAVE_SQRTL 1
41271 _ACEOF
41274 done
41276 else
41278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
41279 $as_echo_n "checking for _sqrtl declaration... " >&6; }
41280 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
41281 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
41282 $as_echo_n "(cached) " >&6
41283 else
41286 ac_ext=cpp
41287 ac_cpp='$CXXCPP $CPPFLAGS'
41288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41293 /* end confdefs.h. */
41294 #include <math.h>
41295 #ifdef HAVE_IEEEFP_H
41296 #include <ieeefp.h>
41297 #endif
41300 main ()
41302 _sqrtl(0);
41304 return 0;
41306 _ACEOF
41307 if ac_fn_cxx_try_compile "$LINENO"; then :
41308 glibcxx_cv_func__sqrtl_use=yes
41309 else
41310 glibcxx_cv_func__sqrtl_use=no
41312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41313 ac_ext=c
41314 ac_cpp='$CPP $CPPFLAGS'
41315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
41324 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
41326 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
41327 for ac_func in _sqrtl
41328 do :
41329 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
41330 if test "x$ac_cv_func__sqrtl" = xyes; then :
41331 cat >>confdefs.h <<_ACEOF
41332 #define HAVE__SQRTL 1
41333 _ACEOF
41336 done
41345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
41346 $as_echo_n "checking for sincosl declaration... " >&6; }
41347 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
41348 if ${glibcxx_cv_func_sincosl_use+:} false; then :
41349 $as_echo_n "(cached) " >&6
41350 else
41353 ac_ext=cpp
41354 ac_cpp='$CXXCPP $CPPFLAGS'
41355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41360 /* end confdefs.h. */
41361 #include <math.h>
41363 main ()
41365 sincosl(0, 0, 0);
41367 return 0;
41369 _ACEOF
41370 if ac_fn_cxx_try_compile "$LINENO"; then :
41371 glibcxx_cv_func_sincosl_use=yes
41372 else
41373 glibcxx_cv_func_sincosl_use=no
41375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41376 ac_ext=c
41377 ac_cpp='$CPP $CPPFLAGS'
41378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
41387 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
41389 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
41390 for ac_func in sincosl
41391 do :
41392 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
41393 if test "x$ac_cv_func_sincosl" = xyes; then :
41394 cat >>confdefs.h <<_ACEOF
41395 #define HAVE_SINCOSL 1
41396 _ACEOF
41399 done
41401 else
41403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
41404 $as_echo_n "checking for _sincosl declaration... " >&6; }
41405 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
41406 if ${glibcxx_cv_func__sincosl_use+:} false; then :
41407 $as_echo_n "(cached) " >&6
41408 else
41411 ac_ext=cpp
41412 ac_cpp='$CXXCPP $CPPFLAGS'
41413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41418 /* end confdefs.h. */
41419 #include <math.h>
41421 main ()
41423 _sincosl(0, 0, 0);
41425 return 0;
41427 _ACEOF
41428 if ac_fn_cxx_try_compile "$LINENO"; then :
41429 glibcxx_cv_func__sincosl_use=yes
41430 else
41431 glibcxx_cv_func__sincosl_use=no
41433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41434 ac_ext=c
41435 ac_cpp='$CPP $CPPFLAGS'
41436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
41445 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
41447 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
41448 for ac_func in _sincosl
41449 do :
41450 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
41451 if test "x$ac_cv_func__sincosl" = xyes; then :
41452 cat >>confdefs.h <<_ACEOF
41453 #define HAVE__SINCOSL 1
41454 _ACEOF
41457 done
41466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
41467 $as_echo_n "checking for finitel declaration... " >&6; }
41468 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
41469 if ${glibcxx_cv_func_finitel_use+:} false; then :
41470 $as_echo_n "(cached) " >&6
41471 else
41474 ac_ext=cpp
41475 ac_cpp='$CXXCPP $CPPFLAGS'
41476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41481 /* end confdefs.h. */
41482 #include <math.h>
41483 #ifdef HAVE_IEEEFP_H
41484 #include <ieeefp.h>
41485 #endif
41488 main ()
41490 finitel(0);
41492 return 0;
41494 _ACEOF
41495 if ac_fn_cxx_try_compile "$LINENO"; then :
41496 glibcxx_cv_func_finitel_use=yes
41497 else
41498 glibcxx_cv_func_finitel_use=no
41500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41501 ac_ext=c
41502 ac_cpp='$CPP $CPPFLAGS'
41503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
41512 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
41514 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
41515 for ac_func in finitel
41516 do :
41517 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
41518 if test "x$ac_cv_func_finitel" = xyes; then :
41519 cat >>confdefs.h <<_ACEOF
41520 #define HAVE_FINITEL 1
41521 _ACEOF
41524 done
41526 else
41528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
41529 $as_echo_n "checking for _finitel declaration... " >&6; }
41530 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
41531 if ${glibcxx_cv_func__finitel_use+:} false; then :
41532 $as_echo_n "(cached) " >&6
41533 else
41536 ac_ext=cpp
41537 ac_cpp='$CXXCPP $CPPFLAGS'
41538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41543 /* end confdefs.h. */
41544 #include <math.h>
41545 #ifdef HAVE_IEEEFP_H
41546 #include <ieeefp.h>
41547 #endif
41550 main ()
41552 _finitel(0);
41554 return 0;
41556 _ACEOF
41557 if ac_fn_cxx_try_compile "$LINENO"; then :
41558 glibcxx_cv_func__finitel_use=yes
41559 else
41560 glibcxx_cv_func__finitel_use=no
41562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41563 ac_ext=c
41564 ac_cpp='$CPP $CPPFLAGS'
41565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
41574 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
41576 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
41577 for ac_func in _finitel
41578 do :
41579 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
41580 if test "x$ac_cv_func__finitel" = xyes; then :
41581 cat >>confdefs.h <<_ACEOF
41582 #define HAVE__FINITEL 1
41583 _ACEOF
41586 done
41594 LIBS="$ac_save_LIBS"
41595 CXXFLAGS="$ac_save_CXXFLAGS"
41598 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41599 ac_save_CXXFLAGS="$CXXFLAGS"
41600 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
41604 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
41605 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
41606 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
41607 $as_echo_n "(cached) " >&6
41608 else
41611 ac_ext=cpp
41612 ac_cpp='$CXXCPP $CPPFLAGS'
41613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41618 /* end confdefs.h. */
41619 #include <stdlib.h>
41621 main ()
41623 at_quick_exit(0);
41625 return 0;
41627 _ACEOF
41628 if ac_fn_cxx_try_compile "$LINENO"; then :
41629 glibcxx_cv_func_at_quick_exit_use=yes
41630 else
41631 glibcxx_cv_func_at_quick_exit_use=no
41633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41634 ac_ext=c
41635 ac_cpp='$CPP $CPPFLAGS'
41636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
41645 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
41646 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
41647 for ac_func in at_quick_exit
41648 do :
41649 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
41650 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
41651 cat >>confdefs.h <<_ACEOF
41652 #define HAVE_AT_QUICK_EXIT 1
41653 _ACEOF
41656 done
41661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
41662 $as_echo_n "checking for quick_exit declaration... " >&6; }
41663 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
41664 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
41665 $as_echo_n "(cached) " >&6
41666 else
41669 ac_ext=cpp
41670 ac_cpp='$CXXCPP $CPPFLAGS'
41671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41676 /* end confdefs.h. */
41677 #include <stdlib.h>
41679 main ()
41681 quick_exit(0);
41683 return 0;
41685 _ACEOF
41686 if ac_fn_cxx_try_compile "$LINENO"; then :
41687 glibcxx_cv_func_quick_exit_use=yes
41688 else
41689 glibcxx_cv_func_quick_exit_use=no
41691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41692 ac_ext=c
41693 ac_cpp='$CPP $CPPFLAGS'
41694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
41703 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
41704 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
41705 for ac_func in quick_exit
41706 do :
41707 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
41708 if test "x$ac_cv_func_quick_exit" = xyes; then :
41709 cat >>confdefs.h <<_ACEOF
41710 #define HAVE_QUICK_EXIT 1
41711 _ACEOF
41714 done
41719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
41720 $as_echo_n "checking for strtold declaration... " >&6; }
41721 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
41722 if ${glibcxx_cv_func_strtold_use+:} false; then :
41723 $as_echo_n "(cached) " >&6
41724 else
41727 ac_ext=cpp
41728 ac_cpp='$CXXCPP $CPPFLAGS'
41729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41734 /* end confdefs.h. */
41735 #include <stdlib.h>
41737 main ()
41739 strtold(0, 0);
41741 return 0;
41743 _ACEOF
41744 if ac_fn_cxx_try_compile "$LINENO"; then :
41745 glibcxx_cv_func_strtold_use=yes
41746 else
41747 glibcxx_cv_func_strtold_use=no
41749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41750 ac_ext=c
41751 ac_cpp='$CPP $CPPFLAGS'
41752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
41761 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
41762 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
41763 for ac_func in strtold
41764 do :
41765 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
41766 if test "x$ac_cv_func_strtold" = xyes; then :
41767 cat >>confdefs.h <<_ACEOF
41768 #define HAVE_STRTOLD 1
41769 _ACEOF
41772 done
41779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
41780 $as_echo_n "checking for strtof declaration... " >&6; }
41781 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
41782 if ${glibcxx_cv_func_strtof_use+:} false; then :
41783 $as_echo_n "(cached) " >&6
41784 else
41787 ac_ext=cpp
41788 ac_cpp='$CXXCPP $CPPFLAGS'
41789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41794 /* end confdefs.h. */
41795 #include <stdlib.h>
41797 main ()
41799 strtof(0, 0);
41801 return 0;
41803 _ACEOF
41804 if ac_fn_cxx_try_compile "$LINENO"; then :
41805 glibcxx_cv_func_strtof_use=yes
41806 else
41807 glibcxx_cv_func_strtof_use=no
41809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41810 ac_ext=c
41811 ac_cpp='$CPP $CPPFLAGS'
41812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
41821 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
41822 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
41823 for ac_func in strtof
41824 do :
41825 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
41826 if test "x$ac_cv_func_strtof" = xyes; then :
41827 cat >>confdefs.h <<_ACEOF
41828 #define HAVE_STRTOF 1
41829 _ACEOF
41832 done
41839 CXXFLAGS="$ac_save_CXXFLAGS"
41841 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
41843 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
41845 # We don't yet support AIX's TLS ABI.
41846 #GCC_CHECK_TLS
41852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
41853 $as_echo_n "checking for iconv... " >&6; }
41854 if ${am_cv_func_iconv+:} false; then :
41855 $as_echo_n "(cached) " >&6
41856 else
41858 am_cv_func_iconv="no, consider installing GNU libiconv"
41859 am_cv_lib_iconv=no
41860 am_save_CPPFLAGS="$CPPFLAGS"
41861 CPPFLAGS="$CPPFLAGS $INCICONV"
41862 if test x$gcc_no_link = xyes; then
41863 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41866 /* end confdefs.h. */
41867 #include <stdlib.h>
41868 #include <iconv.h>
41870 main ()
41872 iconv_t cd = iconv_open("","");
41873 iconv(cd,NULL,NULL,NULL,NULL);
41874 iconv_close(cd);
41876 return 0;
41878 _ACEOF
41879 if ac_fn_c_try_link "$LINENO"; then :
41880 am_cv_func_iconv=yes
41882 rm -f core conftest.err conftest.$ac_objext \
41883 conftest$ac_exeext conftest.$ac_ext
41884 CPPFLAGS="$am_save_CPPFLAGS"
41886 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41887 for _libs in .libs _libs; do
41888 am_save_CPPFLAGS="$CPPFLAGS"
41889 am_save_LIBS="$LIBS"
41890 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41891 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41892 if test x$gcc_no_link = xyes; then
41893 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41896 /* end confdefs.h. */
41897 #include <stdlib.h>
41898 #include <iconv.h>
41900 main ()
41902 iconv_t cd = iconv_open("","");
41903 iconv(cd,NULL,NULL,NULL,NULL);
41904 iconv_close(cd);
41906 return 0;
41908 _ACEOF
41909 if ac_fn_c_try_link "$LINENO"; then :
41910 INCICONV="-I../libiconv/include"
41911 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41912 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41913 am_cv_lib_iconv=yes
41914 am_cv_func_iconv=yes
41916 rm -f core conftest.err conftest.$ac_objext \
41917 conftest$ac_exeext conftest.$ac_ext
41918 CPPFLAGS="$am_save_CPPFLAGS"
41919 LIBS="$am_save_LIBS"
41920 if test "$am_cv_func_iconv" = "yes"; then
41921 break
41923 done
41926 if test "$am_cv_func_iconv" != yes; then
41927 am_save_CPPFLAGS="$CPPFLAGS"
41928 am_save_LIBS="$LIBS"
41929 CPPFLAGS="$CPPFLAGS $INCICONV"
41930 LIBS="$LIBS $LIBICONV"
41931 if test x$gcc_no_link = xyes; then
41932 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41935 /* end confdefs.h. */
41936 #include <stdlib.h>
41937 #include <iconv.h>
41939 main ()
41941 iconv_t cd = iconv_open("","");
41942 iconv(cd,NULL,NULL,NULL,NULL);
41943 iconv_close(cd);
41945 return 0;
41947 _ACEOF
41948 if ac_fn_c_try_link "$LINENO"; then :
41949 am_cv_lib_iconv=yes
41950 am_cv_func_iconv=yes
41952 rm -f core conftest.err conftest.$ac_objext \
41953 conftest$ac_exeext conftest.$ac_ext
41954 CPPFLAGS="$am_save_CPPFLAGS"
41955 LIBS="$am_save_LIBS"
41959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41960 $as_echo "$am_cv_func_iconv" >&6; }
41961 if test "$am_cv_func_iconv" = yes; then
41963 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
41966 if test "$am_cv_lib_iconv" = yes; then
41968 for element in $INCICONV; do
41969 haveit=
41970 for x in $CPPFLAGS; do
41972 acl_save_prefix="$prefix"
41973 prefix="$acl_final_prefix"
41974 acl_save_exec_prefix="$exec_prefix"
41975 exec_prefix="$acl_final_exec_prefix"
41976 eval x=\"$x\"
41977 exec_prefix="$acl_save_exec_prefix"
41978 prefix="$acl_save_prefix"
41980 if test "X$x" = "X$element"; then
41981 haveit=yes
41982 break
41984 done
41985 if test -z "$haveit"; then
41986 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41988 done
41990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41991 $as_echo_n "checking how to link with libiconv... " >&6; }
41992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41993 $as_echo "$LIBICONV" >&6; }
41994 else
41995 LIBICONV=
41996 LTLIBICONV=
42001 if test "$am_cv_func_iconv" = yes; then
42002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
42003 $as_echo_n "checking for iconv declaration... " >&6; }
42004 if ${am_cv_proto_iconv+:} false; then :
42005 $as_echo_n "(cached) " >&6
42006 else
42008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42009 /* end confdefs.h. */
42011 #include <stdlib.h>
42012 #include <iconv.h>
42013 extern
42014 #ifdef __cplusplus
42016 #endif
42017 #if defined(__STDC__) || defined(__cplusplus)
42018 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
42019 #else
42020 size_t iconv();
42021 #endif
42024 main ()
42028 return 0;
42030 _ACEOF
42031 if ac_fn_c_try_compile "$LINENO"; then :
42032 am_cv_proto_iconv_arg1=""
42033 else
42034 am_cv_proto_iconv_arg1="const"
42036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42037 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);"
42040 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
42041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
42042 }$am_cv_proto_iconv" >&5
42043 $as_echo "${ac_t:-
42044 }$am_cv_proto_iconv" >&6; }
42046 cat >>confdefs.h <<_ACEOF
42047 #define ICONV_CONST $am_cv_proto_iconv_arg1
42048 _ACEOF
42053 $as_echo "#define HAVE_USELOCALE 1" >>confdefs.h
42057 *-darwin*)
42058 # Darwin versions vary, but the linker should work in a cross environment,
42059 # so we just check for all the features here.
42060 # Check for available headers.
42062 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
42064 ac_test_CXXFLAGS="${CXXFLAGS+set}"
42065 ac_save_CXXFLAGS="$CXXFLAGS"
42066 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
42068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
42069 $as_echo_n "checking for sin in -lm... " >&6; }
42070 if ${ac_cv_lib_m_sin+:} false; then :
42071 $as_echo_n "(cached) " >&6
42072 else
42073 ac_check_lib_save_LIBS=$LIBS
42074 LIBS="-lm $LIBS"
42075 if test x$gcc_no_link = xyes; then
42076 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
42078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42079 /* end confdefs.h. */
42081 /* Override any GCC internal prototype to avoid an error.
42082 Use char because int might match the return type of a GCC
42083 builtin and then its argument prototype would still apply. */
42084 #ifdef __cplusplus
42085 extern "C"
42086 #endif
42087 char sin ();
42089 main ()
42091 return sin ();
42093 return 0;
42095 _ACEOF
42096 if ac_fn_c_try_link "$LINENO"; then :
42097 ac_cv_lib_m_sin=yes
42098 else
42099 ac_cv_lib_m_sin=no
42101 rm -f core conftest.err conftest.$ac_objext \
42102 conftest$ac_exeext conftest.$ac_ext
42103 LIBS=$ac_check_lib_save_LIBS
42105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
42106 $as_echo "$ac_cv_lib_m_sin" >&6; }
42107 if test "x$ac_cv_lib_m_sin" = xyes; then :
42108 libm="-lm"
42111 ac_save_LIBS="$LIBS"
42112 LIBS="$LIBS $libm"
42116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
42117 $as_echo_n "checking for isinf declaration... " >&6; }
42118 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
42119 if ${glibcxx_cv_func_isinf_use+:} false; then :
42120 $as_echo_n "(cached) " >&6
42121 else
42124 ac_ext=cpp
42125 ac_cpp='$CXXCPP $CPPFLAGS'
42126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42131 /* end confdefs.h. */
42132 #include <math.h>
42133 #ifdef HAVE_IEEEFP_H
42134 #include <ieeefp.h>
42135 #endif
42138 main ()
42140 isinf(0);
42142 return 0;
42144 _ACEOF
42145 if ac_fn_cxx_try_compile "$LINENO"; then :
42146 glibcxx_cv_func_isinf_use=yes
42147 else
42148 glibcxx_cv_func_isinf_use=no
42150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42151 ac_ext=c
42152 ac_cpp='$CPP $CPPFLAGS'
42153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
42162 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
42164 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
42165 for ac_func in isinf
42166 do :
42167 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
42168 if test "x$ac_cv_func_isinf" = xyes; then :
42169 cat >>confdefs.h <<_ACEOF
42170 #define HAVE_ISINF 1
42171 _ACEOF
42174 done
42176 else
42178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
42179 $as_echo_n "checking for _isinf declaration... " >&6; }
42180 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
42181 if ${glibcxx_cv_func__isinf_use+:} false; then :
42182 $as_echo_n "(cached) " >&6
42183 else
42186 ac_ext=cpp
42187 ac_cpp='$CXXCPP $CPPFLAGS'
42188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42193 /* end confdefs.h. */
42194 #include <math.h>
42195 #ifdef HAVE_IEEEFP_H
42196 #include <ieeefp.h>
42197 #endif
42200 main ()
42202 _isinf(0);
42204 return 0;
42206 _ACEOF
42207 if ac_fn_cxx_try_compile "$LINENO"; then :
42208 glibcxx_cv_func__isinf_use=yes
42209 else
42210 glibcxx_cv_func__isinf_use=no
42212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42213 ac_ext=c
42214 ac_cpp='$CPP $CPPFLAGS'
42215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
42224 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
42226 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
42227 for ac_func in _isinf
42228 do :
42229 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
42230 if test "x$ac_cv_func__isinf" = xyes; then :
42231 cat >>confdefs.h <<_ACEOF
42232 #define HAVE__ISINF 1
42233 _ACEOF
42236 done
42245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
42246 $as_echo_n "checking for isnan declaration... " >&6; }
42247 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
42248 if ${glibcxx_cv_func_isnan_use+:} false; then :
42249 $as_echo_n "(cached) " >&6
42250 else
42253 ac_ext=cpp
42254 ac_cpp='$CXXCPP $CPPFLAGS'
42255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42260 /* end confdefs.h. */
42261 #include <math.h>
42262 #ifdef HAVE_IEEEFP_H
42263 #include <ieeefp.h>
42264 #endif
42267 main ()
42269 isnan(0);
42271 return 0;
42273 _ACEOF
42274 if ac_fn_cxx_try_compile "$LINENO"; then :
42275 glibcxx_cv_func_isnan_use=yes
42276 else
42277 glibcxx_cv_func_isnan_use=no
42279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42280 ac_ext=c
42281 ac_cpp='$CPP $CPPFLAGS'
42282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
42291 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
42293 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
42294 for ac_func in isnan
42295 do :
42296 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
42297 if test "x$ac_cv_func_isnan" = xyes; then :
42298 cat >>confdefs.h <<_ACEOF
42299 #define HAVE_ISNAN 1
42300 _ACEOF
42303 done
42305 else
42307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
42308 $as_echo_n "checking for _isnan declaration... " >&6; }
42309 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
42310 if ${glibcxx_cv_func__isnan_use+:} false; then :
42311 $as_echo_n "(cached) " >&6
42312 else
42315 ac_ext=cpp
42316 ac_cpp='$CXXCPP $CPPFLAGS'
42317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42322 /* end confdefs.h. */
42323 #include <math.h>
42324 #ifdef HAVE_IEEEFP_H
42325 #include <ieeefp.h>
42326 #endif
42329 main ()
42331 _isnan(0);
42333 return 0;
42335 _ACEOF
42336 if ac_fn_cxx_try_compile "$LINENO"; then :
42337 glibcxx_cv_func__isnan_use=yes
42338 else
42339 glibcxx_cv_func__isnan_use=no
42341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42342 ac_ext=c
42343 ac_cpp='$CPP $CPPFLAGS'
42344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
42353 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
42355 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
42356 for ac_func in _isnan
42357 do :
42358 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
42359 if test "x$ac_cv_func__isnan" = xyes; then :
42360 cat >>confdefs.h <<_ACEOF
42361 #define HAVE__ISNAN 1
42362 _ACEOF
42365 done
42374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
42375 $as_echo_n "checking for finite declaration... " >&6; }
42376 if test x${glibcxx_cv_func_finite_use+set} != xset; then
42377 if ${glibcxx_cv_func_finite_use+:} false; then :
42378 $as_echo_n "(cached) " >&6
42379 else
42382 ac_ext=cpp
42383 ac_cpp='$CXXCPP $CPPFLAGS'
42384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42389 /* end confdefs.h. */
42390 #include <math.h>
42391 #ifdef HAVE_IEEEFP_H
42392 #include <ieeefp.h>
42393 #endif
42396 main ()
42398 finite(0);
42400 return 0;
42402 _ACEOF
42403 if ac_fn_cxx_try_compile "$LINENO"; then :
42404 glibcxx_cv_func_finite_use=yes
42405 else
42406 glibcxx_cv_func_finite_use=no
42408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42409 ac_ext=c
42410 ac_cpp='$CPP $CPPFLAGS'
42411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
42420 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
42422 if test x$glibcxx_cv_func_finite_use = x"yes"; then
42423 for ac_func in finite
42424 do :
42425 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
42426 if test "x$ac_cv_func_finite" = xyes; then :
42427 cat >>confdefs.h <<_ACEOF
42428 #define HAVE_FINITE 1
42429 _ACEOF
42432 done
42434 else
42436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
42437 $as_echo_n "checking for _finite declaration... " >&6; }
42438 if test x${glibcxx_cv_func__finite_use+set} != xset; then
42439 if ${glibcxx_cv_func__finite_use+:} false; then :
42440 $as_echo_n "(cached) " >&6
42441 else
42444 ac_ext=cpp
42445 ac_cpp='$CXXCPP $CPPFLAGS'
42446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42451 /* end confdefs.h. */
42452 #include <math.h>
42453 #ifdef HAVE_IEEEFP_H
42454 #include <ieeefp.h>
42455 #endif
42458 main ()
42460 _finite(0);
42462 return 0;
42464 _ACEOF
42465 if ac_fn_cxx_try_compile "$LINENO"; then :
42466 glibcxx_cv_func__finite_use=yes
42467 else
42468 glibcxx_cv_func__finite_use=no
42470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42471 ac_ext=c
42472 ac_cpp='$CPP $CPPFLAGS'
42473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
42482 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
42484 if test x$glibcxx_cv_func__finite_use = x"yes"; then
42485 for ac_func in _finite
42486 do :
42487 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
42488 if test "x$ac_cv_func__finite" = xyes; then :
42489 cat >>confdefs.h <<_ACEOF
42490 #define HAVE__FINITE 1
42491 _ACEOF
42494 done
42503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
42504 $as_echo_n "checking for sincos declaration... " >&6; }
42505 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
42506 if ${glibcxx_cv_func_sincos_use+:} false; then :
42507 $as_echo_n "(cached) " >&6
42508 else
42511 ac_ext=cpp
42512 ac_cpp='$CXXCPP $CPPFLAGS'
42513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42518 /* end confdefs.h. */
42519 #include <math.h>
42521 main ()
42523 sincos(0, 0, 0);
42525 return 0;
42527 _ACEOF
42528 if ac_fn_cxx_try_compile "$LINENO"; then :
42529 glibcxx_cv_func_sincos_use=yes
42530 else
42531 glibcxx_cv_func_sincos_use=no
42533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42534 ac_ext=c
42535 ac_cpp='$CPP $CPPFLAGS'
42536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
42545 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
42547 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
42548 for ac_func in sincos
42549 do :
42550 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
42551 if test "x$ac_cv_func_sincos" = xyes; then :
42552 cat >>confdefs.h <<_ACEOF
42553 #define HAVE_SINCOS 1
42554 _ACEOF
42557 done
42559 else
42561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
42562 $as_echo_n "checking for _sincos declaration... " >&6; }
42563 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
42564 if ${glibcxx_cv_func__sincos_use+:} false; then :
42565 $as_echo_n "(cached) " >&6
42566 else
42569 ac_ext=cpp
42570 ac_cpp='$CXXCPP $CPPFLAGS'
42571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42576 /* end confdefs.h. */
42577 #include <math.h>
42579 main ()
42581 _sincos(0, 0, 0);
42583 return 0;
42585 _ACEOF
42586 if ac_fn_cxx_try_compile "$LINENO"; then :
42587 glibcxx_cv_func__sincos_use=yes
42588 else
42589 glibcxx_cv_func__sincos_use=no
42591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42592 ac_ext=c
42593 ac_cpp='$CPP $CPPFLAGS'
42594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
42603 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
42605 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
42606 for ac_func in _sincos
42607 do :
42608 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
42609 if test "x$ac_cv_func__sincos" = xyes; then :
42610 cat >>confdefs.h <<_ACEOF
42611 #define HAVE__SINCOS 1
42612 _ACEOF
42615 done
42624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
42625 $as_echo_n "checking for fpclass declaration... " >&6; }
42626 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
42627 if ${glibcxx_cv_func_fpclass_use+:} false; then :
42628 $as_echo_n "(cached) " >&6
42629 else
42632 ac_ext=cpp
42633 ac_cpp='$CXXCPP $CPPFLAGS'
42634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42639 /* end confdefs.h. */
42640 #include <math.h>
42641 #ifdef HAVE_IEEEFP_H
42642 #include <ieeefp.h>
42643 #endif
42646 main ()
42648 fpclass(0);
42650 return 0;
42652 _ACEOF
42653 if ac_fn_cxx_try_compile "$LINENO"; then :
42654 glibcxx_cv_func_fpclass_use=yes
42655 else
42656 glibcxx_cv_func_fpclass_use=no
42658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42659 ac_ext=c
42660 ac_cpp='$CPP $CPPFLAGS'
42661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
42670 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
42672 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
42673 for ac_func in fpclass
42674 do :
42675 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
42676 if test "x$ac_cv_func_fpclass" = xyes; then :
42677 cat >>confdefs.h <<_ACEOF
42678 #define HAVE_FPCLASS 1
42679 _ACEOF
42682 done
42684 else
42686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
42687 $as_echo_n "checking for _fpclass declaration... " >&6; }
42688 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
42689 if ${glibcxx_cv_func__fpclass_use+:} false; then :
42690 $as_echo_n "(cached) " >&6
42691 else
42694 ac_ext=cpp
42695 ac_cpp='$CXXCPP $CPPFLAGS'
42696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42701 /* end confdefs.h. */
42702 #include <math.h>
42703 #ifdef HAVE_IEEEFP_H
42704 #include <ieeefp.h>
42705 #endif
42708 main ()
42710 _fpclass(0);
42712 return 0;
42714 _ACEOF
42715 if ac_fn_cxx_try_compile "$LINENO"; then :
42716 glibcxx_cv_func__fpclass_use=yes
42717 else
42718 glibcxx_cv_func__fpclass_use=no
42720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42721 ac_ext=c
42722 ac_cpp='$CPP $CPPFLAGS'
42723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
42732 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
42734 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
42735 for ac_func in _fpclass
42736 do :
42737 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
42738 if test "x$ac_cv_func__fpclass" = xyes; then :
42739 cat >>confdefs.h <<_ACEOF
42740 #define HAVE__FPCLASS 1
42741 _ACEOF
42744 done
42753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42754 $as_echo_n "checking for qfpclass declaration... " >&6; }
42755 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42756 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
42757 $as_echo_n "(cached) " >&6
42758 else
42761 ac_ext=cpp
42762 ac_cpp='$CXXCPP $CPPFLAGS'
42763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42768 /* end confdefs.h. */
42769 #include <math.h>
42770 #ifdef HAVE_IEEEFP_H
42771 #include <ieeefp.h>
42772 #endif
42775 main ()
42777 qfpclass(0);
42779 return 0;
42781 _ACEOF
42782 if ac_fn_cxx_try_compile "$LINENO"; then :
42783 glibcxx_cv_func_qfpclass_use=yes
42784 else
42785 glibcxx_cv_func_qfpclass_use=no
42787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42788 ac_ext=c
42789 ac_cpp='$CPP $CPPFLAGS'
42790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42799 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42801 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42802 for ac_func in qfpclass
42803 do :
42804 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42805 if test "x$ac_cv_func_qfpclass" = xyes; then :
42806 cat >>confdefs.h <<_ACEOF
42807 #define HAVE_QFPCLASS 1
42808 _ACEOF
42811 done
42813 else
42815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42816 $as_echo_n "checking for _qfpclass declaration... " >&6; }
42817 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42818 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
42819 $as_echo_n "(cached) " >&6
42820 else
42823 ac_ext=cpp
42824 ac_cpp='$CXXCPP $CPPFLAGS'
42825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42830 /* end confdefs.h. */
42831 #include <math.h>
42832 #ifdef HAVE_IEEEFP_H
42833 #include <ieeefp.h>
42834 #endif
42837 main ()
42839 _qfpclass(0);
42841 return 0;
42843 _ACEOF
42844 if ac_fn_cxx_try_compile "$LINENO"; then :
42845 glibcxx_cv_func__qfpclass_use=yes
42846 else
42847 glibcxx_cv_func__qfpclass_use=no
42849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42850 ac_ext=c
42851 ac_cpp='$CPP $CPPFLAGS'
42852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42861 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42863 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42864 for ac_func in _qfpclass
42865 do :
42866 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42867 if test "x$ac_cv_func__qfpclass" = xyes; then :
42868 cat >>confdefs.h <<_ACEOF
42869 #define HAVE__QFPCLASS 1
42870 _ACEOF
42873 done
42882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42883 $as_echo_n "checking for hypot declaration... " >&6; }
42884 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42885 if ${glibcxx_cv_func_hypot_use+:} false; then :
42886 $as_echo_n "(cached) " >&6
42887 else
42890 ac_ext=cpp
42891 ac_cpp='$CXXCPP $CPPFLAGS'
42892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42897 /* end confdefs.h. */
42898 #include <math.h>
42900 main ()
42902 hypot(0, 0);
42904 return 0;
42906 _ACEOF
42907 if ac_fn_cxx_try_compile "$LINENO"; then :
42908 glibcxx_cv_func_hypot_use=yes
42909 else
42910 glibcxx_cv_func_hypot_use=no
42912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42913 ac_ext=c
42914 ac_cpp='$CPP $CPPFLAGS'
42915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42924 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42926 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42927 for ac_func in hypot
42928 do :
42929 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42930 if test "x$ac_cv_func_hypot" = xyes; then :
42931 cat >>confdefs.h <<_ACEOF
42932 #define HAVE_HYPOT 1
42933 _ACEOF
42936 done
42938 else
42940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42941 $as_echo_n "checking for _hypot declaration... " >&6; }
42942 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42943 if ${glibcxx_cv_func__hypot_use+:} false; then :
42944 $as_echo_n "(cached) " >&6
42945 else
42948 ac_ext=cpp
42949 ac_cpp='$CXXCPP $CPPFLAGS'
42950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42955 /* end confdefs.h. */
42956 #include <math.h>
42958 main ()
42960 _hypot(0, 0);
42962 return 0;
42964 _ACEOF
42965 if ac_fn_cxx_try_compile "$LINENO"; then :
42966 glibcxx_cv_func__hypot_use=yes
42967 else
42968 glibcxx_cv_func__hypot_use=no
42970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42971 ac_ext=c
42972 ac_cpp='$CPP $CPPFLAGS'
42973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42982 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42984 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42985 for ac_func in _hypot
42986 do :
42987 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42988 if test "x$ac_cv_func__hypot" = xyes; then :
42989 cat >>confdefs.h <<_ACEOF
42990 #define HAVE__HYPOT 1
42991 _ACEOF
42994 done
43003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
43004 $as_echo_n "checking for float trig functions... " >&6; }
43005 if ${glibcxx_cv_func_float_trig_use+:} false; then :
43006 $as_echo_n "(cached) " >&6
43007 else
43010 ac_ext=cpp
43011 ac_cpp='$CXXCPP $CPPFLAGS'
43012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43017 /* end confdefs.h. */
43018 #include <math.h>
43020 main ()
43022 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
43024 return 0;
43026 _ACEOF
43027 if ac_fn_cxx_try_compile "$LINENO"; then :
43028 glibcxx_cv_func_float_trig_use=yes
43029 else
43030 glibcxx_cv_func_float_trig_use=no
43032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43033 ac_ext=c
43034 ac_cpp='$CPP $CPPFLAGS'
43035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
43042 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
43043 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
43044 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
43045 do :
43046 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43047 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43048 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
43049 cat >>confdefs.h <<_ACEOF
43050 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43051 _ACEOF
43054 done
43056 else
43057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
43058 $as_echo_n "checking for _float trig functions... " >&6; }
43059 if ${glibcxx_cv_func__float_trig_use+:} false; then :
43060 $as_echo_n "(cached) " >&6
43061 else
43064 ac_ext=cpp
43065 ac_cpp='$CXXCPP $CPPFLAGS'
43066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43071 /* end confdefs.h. */
43072 #include <math.h>
43074 main ()
43076 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
43078 return 0;
43080 _ACEOF
43081 if ac_fn_cxx_try_compile "$LINENO"; then :
43082 glibcxx_cv_func__float_trig_use=yes
43083 else
43084 glibcxx_cv_func__float_trig_use=no
43086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43087 ac_ext=c
43088 ac_cpp='$CPP $CPPFLAGS'
43089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
43096 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
43097 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
43098 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
43099 do :
43100 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43101 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43102 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
43103 cat >>confdefs.h <<_ACEOF
43104 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43105 _ACEOF
43108 done
43117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
43118 $as_echo_n "checking for float round functions... " >&6; }
43119 if ${glibcxx_cv_func_float_round_use+:} false; then :
43120 $as_echo_n "(cached) " >&6
43121 else
43124 ac_ext=cpp
43125 ac_cpp='$CXXCPP $CPPFLAGS'
43126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43131 /* end confdefs.h. */
43132 #include <math.h>
43134 main ()
43136 ceilf (0); floorf (0);
43138 return 0;
43140 _ACEOF
43141 if ac_fn_cxx_try_compile "$LINENO"; then :
43142 glibcxx_cv_func_float_round_use=yes
43143 else
43144 glibcxx_cv_func_float_round_use=no
43146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43147 ac_ext=c
43148 ac_cpp='$CPP $CPPFLAGS'
43149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
43156 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
43157 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
43158 for ac_func in ceilf floorf
43159 do :
43160 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43161 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43162 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
43163 cat >>confdefs.h <<_ACEOF
43164 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43165 _ACEOF
43168 done
43170 else
43171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
43172 $as_echo_n "checking for _float round functions... " >&6; }
43173 if ${glibcxx_cv_func__float_round_use+:} false; then :
43174 $as_echo_n "(cached) " >&6
43175 else
43178 ac_ext=cpp
43179 ac_cpp='$CXXCPP $CPPFLAGS'
43180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43185 /* end confdefs.h. */
43186 #include <math.h>
43188 main ()
43190 _ceilf (0); _floorf (0);
43192 return 0;
43194 _ACEOF
43195 if ac_fn_cxx_try_compile "$LINENO"; then :
43196 glibcxx_cv_func__float_round_use=yes
43197 else
43198 glibcxx_cv_func__float_round_use=no
43200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43201 ac_ext=c
43202 ac_cpp='$CPP $CPPFLAGS'
43203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
43210 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
43211 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
43212 for ac_func in _ceilf _floorf
43213 do :
43214 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43215 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43216 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
43217 cat >>confdefs.h <<_ACEOF
43218 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43219 _ACEOF
43222 done
43232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
43233 $as_echo_n "checking for expf declaration... " >&6; }
43234 if test x${glibcxx_cv_func_expf_use+set} != xset; then
43235 if ${glibcxx_cv_func_expf_use+:} false; then :
43236 $as_echo_n "(cached) " >&6
43237 else
43240 ac_ext=cpp
43241 ac_cpp='$CXXCPP $CPPFLAGS'
43242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43247 /* end confdefs.h. */
43248 #include <math.h>
43249 #ifdef HAVE_IEEEFP_H
43250 #include <ieeefp.h>
43251 #endif
43254 main ()
43256 expf(0);
43258 return 0;
43260 _ACEOF
43261 if ac_fn_cxx_try_compile "$LINENO"; then :
43262 glibcxx_cv_func_expf_use=yes
43263 else
43264 glibcxx_cv_func_expf_use=no
43266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43267 ac_ext=c
43268 ac_cpp='$CPP $CPPFLAGS'
43269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
43278 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
43280 if test x$glibcxx_cv_func_expf_use = x"yes"; then
43281 for ac_func in expf
43282 do :
43283 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
43284 if test "x$ac_cv_func_expf" = xyes; then :
43285 cat >>confdefs.h <<_ACEOF
43286 #define HAVE_EXPF 1
43287 _ACEOF
43290 done
43292 else
43294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
43295 $as_echo_n "checking for _expf declaration... " >&6; }
43296 if test x${glibcxx_cv_func__expf_use+set} != xset; then
43297 if ${glibcxx_cv_func__expf_use+:} false; then :
43298 $as_echo_n "(cached) " >&6
43299 else
43302 ac_ext=cpp
43303 ac_cpp='$CXXCPP $CPPFLAGS'
43304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43309 /* end confdefs.h. */
43310 #include <math.h>
43311 #ifdef HAVE_IEEEFP_H
43312 #include <ieeefp.h>
43313 #endif
43316 main ()
43318 _expf(0);
43320 return 0;
43322 _ACEOF
43323 if ac_fn_cxx_try_compile "$LINENO"; then :
43324 glibcxx_cv_func__expf_use=yes
43325 else
43326 glibcxx_cv_func__expf_use=no
43328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43329 ac_ext=c
43330 ac_cpp='$CPP $CPPFLAGS'
43331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
43340 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
43342 if test x$glibcxx_cv_func__expf_use = x"yes"; then
43343 for ac_func in _expf
43344 do :
43345 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
43346 if test "x$ac_cv_func__expf" = xyes; then :
43347 cat >>confdefs.h <<_ACEOF
43348 #define HAVE__EXPF 1
43349 _ACEOF
43352 done
43361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
43362 $as_echo_n "checking for isnanf declaration... " >&6; }
43363 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
43364 if ${glibcxx_cv_func_isnanf_use+:} false; then :
43365 $as_echo_n "(cached) " >&6
43366 else
43369 ac_ext=cpp
43370 ac_cpp='$CXXCPP $CPPFLAGS'
43371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43376 /* end confdefs.h. */
43377 #include <math.h>
43378 #ifdef HAVE_IEEEFP_H
43379 #include <ieeefp.h>
43380 #endif
43383 main ()
43385 isnanf(0);
43387 return 0;
43389 _ACEOF
43390 if ac_fn_cxx_try_compile "$LINENO"; then :
43391 glibcxx_cv_func_isnanf_use=yes
43392 else
43393 glibcxx_cv_func_isnanf_use=no
43395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43396 ac_ext=c
43397 ac_cpp='$CPP $CPPFLAGS'
43398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
43407 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
43409 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
43410 for ac_func in isnanf
43411 do :
43412 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
43413 if test "x$ac_cv_func_isnanf" = xyes; then :
43414 cat >>confdefs.h <<_ACEOF
43415 #define HAVE_ISNANF 1
43416 _ACEOF
43419 done
43421 else
43423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
43424 $as_echo_n "checking for _isnanf declaration... " >&6; }
43425 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
43426 if ${glibcxx_cv_func__isnanf_use+:} false; then :
43427 $as_echo_n "(cached) " >&6
43428 else
43431 ac_ext=cpp
43432 ac_cpp='$CXXCPP $CPPFLAGS'
43433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43438 /* end confdefs.h. */
43439 #include <math.h>
43440 #ifdef HAVE_IEEEFP_H
43441 #include <ieeefp.h>
43442 #endif
43445 main ()
43447 _isnanf(0);
43449 return 0;
43451 _ACEOF
43452 if ac_fn_cxx_try_compile "$LINENO"; then :
43453 glibcxx_cv_func__isnanf_use=yes
43454 else
43455 glibcxx_cv_func__isnanf_use=no
43457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43458 ac_ext=c
43459 ac_cpp='$CPP $CPPFLAGS'
43460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
43469 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
43471 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
43472 for ac_func in _isnanf
43473 do :
43474 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
43475 if test "x$ac_cv_func__isnanf" = xyes; then :
43476 cat >>confdefs.h <<_ACEOF
43477 #define HAVE__ISNANF 1
43478 _ACEOF
43481 done
43490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
43491 $as_echo_n "checking for isinff declaration... " >&6; }
43492 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
43493 if ${glibcxx_cv_func_isinff_use+:} false; then :
43494 $as_echo_n "(cached) " >&6
43495 else
43498 ac_ext=cpp
43499 ac_cpp='$CXXCPP $CPPFLAGS'
43500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43505 /* end confdefs.h. */
43506 #include <math.h>
43507 #ifdef HAVE_IEEEFP_H
43508 #include <ieeefp.h>
43509 #endif
43512 main ()
43514 isinff(0);
43516 return 0;
43518 _ACEOF
43519 if ac_fn_cxx_try_compile "$LINENO"; then :
43520 glibcxx_cv_func_isinff_use=yes
43521 else
43522 glibcxx_cv_func_isinff_use=no
43524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43525 ac_ext=c
43526 ac_cpp='$CPP $CPPFLAGS'
43527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
43536 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
43538 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
43539 for ac_func in isinff
43540 do :
43541 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
43542 if test "x$ac_cv_func_isinff" = xyes; then :
43543 cat >>confdefs.h <<_ACEOF
43544 #define HAVE_ISINFF 1
43545 _ACEOF
43548 done
43550 else
43552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
43553 $as_echo_n "checking for _isinff declaration... " >&6; }
43554 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
43555 if ${glibcxx_cv_func__isinff_use+:} false; then :
43556 $as_echo_n "(cached) " >&6
43557 else
43560 ac_ext=cpp
43561 ac_cpp='$CXXCPP $CPPFLAGS'
43562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43567 /* end confdefs.h. */
43568 #include <math.h>
43569 #ifdef HAVE_IEEEFP_H
43570 #include <ieeefp.h>
43571 #endif
43574 main ()
43576 _isinff(0);
43578 return 0;
43580 _ACEOF
43581 if ac_fn_cxx_try_compile "$LINENO"; then :
43582 glibcxx_cv_func__isinff_use=yes
43583 else
43584 glibcxx_cv_func__isinff_use=no
43586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43587 ac_ext=c
43588 ac_cpp='$CPP $CPPFLAGS'
43589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
43598 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
43600 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
43601 for ac_func in _isinff
43602 do :
43603 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
43604 if test "x$ac_cv_func__isinff" = xyes; then :
43605 cat >>confdefs.h <<_ACEOF
43606 #define HAVE__ISINFF 1
43607 _ACEOF
43610 done
43619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
43620 $as_echo_n "checking for atan2f declaration... " >&6; }
43621 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
43622 if ${glibcxx_cv_func_atan2f_use+:} false; then :
43623 $as_echo_n "(cached) " >&6
43624 else
43627 ac_ext=cpp
43628 ac_cpp='$CXXCPP $CPPFLAGS'
43629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43634 /* end confdefs.h. */
43635 #include <math.h>
43637 main ()
43639 atan2f(0, 0);
43641 return 0;
43643 _ACEOF
43644 if ac_fn_cxx_try_compile "$LINENO"; then :
43645 glibcxx_cv_func_atan2f_use=yes
43646 else
43647 glibcxx_cv_func_atan2f_use=no
43649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43650 ac_ext=c
43651 ac_cpp='$CPP $CPPFLAGS'
43652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
43661 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
43663 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
43664 for ac_func in atan2f
43665 do :
43666 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
43667 if test "x$ac_cv_func_atan2f" = xyes; then :
43668 cat >>confdefs.h <<_ACEOF
43669 #define HAVE_ATAN2F 1
43670 _ACEOF
43673 done
43675 else
43677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
43678 $as_echo_n "checking for _atan2f declaration... " >&6; }
43679 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
43680 if ${glibcxx_cv_func__atan2f_use+:} false; then :
43681 $as_echo_n "(cached) " >&6
43682 else
43685 ac_ext=cpp
43686 ac_cpp='$CXXCPP $CPPFLAGS'
43687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43692 /* end confdefs.h. */
43693 #include <math.h>
43695 main ()
43697 _atan2f(0, 0);
43699 return 0;
43701 _ACEOF
43702 if ac_fn_cxx_try_compile "$LINENO"; then :
43703 glibcxx_cv_func__atan2f_use=yes
43704 else
43705 glibcxx_cv_func__atan2f_use=no
43707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43708 ac_ext=c
43709 ac_cpp='$CPP $CPPFLAGS'
43710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
43719 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
43721 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
43722 for ac_func in _atan2f
43723 do :
43724 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
43725 if test "x$ac_cv_func__atan2f" = xyes; then :
43726 cat >>confdefs.h <<_ACEOF
43727 #define HAVE__ATAN2F 1
43728 _ACEOF
43731 done
43740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43741 $as_echo_n "checking for fabsf declaration... " >&6; }
43742 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43743 if ${glibcxx_cv_func_fabsf_use+:} false; then :
43744 $as_echo_n "(cached) " >&6
43745 else
43748 ac_ext=cpp
43749 ac_cpp='$CXXCPP $CPPFLAGS'
43750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43755 /* end confdefs.h. */
43756 #include <math.h>
43757 #ifdef HAVE_IEEEFP_H
43758 #include <ieeefp.h>
43759 #endif
43762 main ()
43764 fabsf(0);
43766 return 0;
43768 _ACEOF
43769 if ac_fn_cxx_try_compile "$LINENO"; then :
43770 glibcxx_cv_func_fabsf_use=yes
43771 else
43772 glibcxx_cv_func_fabsf_use=no
43774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43775 ac_ext=c
43776 ac_cpp='$CPP $CPPFLAGS'
43777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43786 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43788 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43789 for ac_func in fabsf
43790 do :
43791 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43792 if test "x$ac_cv_func_fabsf" = xyes; then :
43793 cat >>confdefs.h <<_ACEOF
43794 #define HAVE_FABSF 1
43795 _ACEOF
43798 done
43800 else
43802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43803 $as_echo_n "checking for _fabsf declaration... " >&6; }
43804 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43805 if ${glibcxx_cv_func__fabsf_use+:} false; then :
43806 $as_echo_n "(cached) " >&6
43807 else
43810 ac_ext=cpp
43811 ac_cpp='$CXXCPP $CPPFLAGS'
43812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43817 /* end confdefs.h. */
43818 #include <math.h>
43819 #ifdef HAVE_IEEEFP_H
43820 #include <ieeefp.h>
43821 #endif
43824 main ()
43826 _fabsf(0);
43828 return 0;
43830 _ACEOF
43831 if ac_fn_cxx_try_compile "$LINENO"; then :
43832 glibcxx_cv_func__fabsf_use=yes
43833 else
43834 glibcxx_cv_func__fabsf_use=no
43836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43837 ac_ext=c
43838 ac_cpp='$CPP $CPPFLAGS'
43839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43848 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43850 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43851 for ac_func in _fabsf
43852 do :
43853 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43854 if test "x$ac_cv_func__fabsf" = xyes; then :
43855 cat >>confdefs.h <<_ACEOF
43856 #define HAVE__FABSF 1
43857 _ACEOF
43860 done
43869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43870 $as_echo_n "checking for fmodf declaration... " >&6; }
43871 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43872 if ${glibcxx_cv_func_fmodf_use+:} false; then :
43873 $as_echo_n "(cached) " >&6
43874 else
43877 ac_ext=cpp
43878 ac_cpp='$CXXCPP $CPPFLAGS'
43879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43884 /* end confdefs.h. */
43885 #include <math.h>
43887 main ()
43889 fmodf(0, 0);
43891 return 0;
43893 _ACEOF
43894 if ac_fn_cxx_try_compile "$LINENO"; then :
43895 glibcxx_cv_func_fmodf_use=yes
43896 else
43897 glibcxx_cv_func_fmodf_use=no
43899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43900 ac_ext=c
43901 ac_cpp='$CPP $CPPFLAGS'
43902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43911 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43913 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43914 for ac_func in fmodf
43915 do :
43916 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43917 if test "x$ac_cv_func_fmodf" = xyes; then :
43918 cat >>confdefs.h <<_ACEOF
43919 #define HAVE_FMODF 1
43920 _ACEOF
43923 done
43925 else
43927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43928 $as_echo_n "checking for _fmodf declaration... " >&6; }
43929 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43930 if ${glibcxx_cv_func__fmodf_use+:} false; then :
43931 $as_echo_n "(cached) " >&6
43932 else
43935 ac_ext=cpp
43936 ac_cpp='$CXXCPP $CPPFLAGS'
43937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43942 /* end confdefs.h. */
43943 #include <math.h>
43945 main ()
43947 _fmodf(0, 0);
43949 return 0;
43951 _ACEOF
43952 if ac_fn_cxx_try_compile "$LINENO"; then :
43953 glibcxx_cv_func__fmodf_use=yes
43954 else
43955 glibcxx_cv_func__fmodf_use=no
43957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43958 ac_ext=c
43959 ac_cpp='$CPP $CPPFLAGS'
43960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43969 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43971 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43972 for ac_func in _fmodf
43973 do :
43974 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43975 if test "x$ac_cv_func__fmodf" = xyes; then :
43976 cat >>confdefs.h <<_ACEOF
43977 #define HAVE__FMODF 1
43978 _ACEOF
43981 done
43990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43991 $as_echo_n "checking for frexpf declaration... " >&6; }
43992 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43993 if ${glibcxx_cv_func_frexpf_use+:} false; then :
43994 $as_echo_n "(cached) " >&6
43995 else
43998 ac_ext=cpp
43999 ac_cpp='$CXXCPP $CPPFLAGS'
44000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44005 /* end confdefs.h. */
44006 #include <math.h>
44008 main ()
44010 frexpf(0, 0);
44012 return 0;
44014 _ACEOF
44015 if ac_fn_cxx_try_compile "$LINENO"; then :
44016 glibcxx_cv_func_frexpf_use=yes
44017 else
44018 glibcxx_cv_func_frexpf_use=no
44020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44021 ac_ext=c
44022 ac_cpp='$CPP $CPPFLAGS'
44023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
44032 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
44034 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
44035 for ac_func in frexpf
44036 do :
44037 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
44038 if test "x$ac_cv_func_frexpf" = xyes; then :
44039 cat >>confdefs.h <<_ACEOF
44040 #define HAVE_FREXPF 1
44041 _ACEOF
44044 done
44046 else
44048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
44049 $as_echo_n "checking for _frexpf declaration... " >&6; }
44050 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
44051 if ${glibcxx_cv_func__frexpf_use+:} false; then :
44052 $as_echo_n "(cached) " >&6
44053 else
44056 ac_ext=cpp
44057 ac_cpp='$CXXCPP $CPPFLAGS'
44058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44063 /* end confdefs.h. */
44064 #include <math.h>
44066 main ()
44068 _frexpf(0, 0);
44070 return 0;
44072 _ACEOF
44073 if ac_fn_cxx_try_compile "$LINENO"; then :
44074 glibcxx_cv_func__frexpf_use=yes
44075 else
44076 glibcxx_cv_func__frexpf_use=no
44078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44079 ac_ext=c
44080 ac_cpp='$CPP $CPPFLAGS'
44081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
44090 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
44092 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
44093 for ac_func in _frexpf
44094 do :
44095 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
44096 if test "x$ac_cv_func__frexpf" = xyes; then :
44097 cat >>confdefs.h <<_ACEOF
44098 #define HAVE__FREXPF 1
44099 _ACEOF
44102 done
44111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
44112 $as_echo_n "checking for hypotf declaration... " >&6; }
44113 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
44114 if ${glibcxx_cv_func_hypotf_use+:} false; then :
44115 $as_echo_n "(cached) " >&6
44116 else
44119 ac_ext=cpp
44120 ac_cpp='$CXXCPP $CPPFLAGS'
44121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44126 /* end confdefs.h. */
44127 #include <math.h>
44129 main ()
44131 hypotf(0, 0);
44133 return 0;
44135 _ACEOF
44136 if ac_fn_cxx_try_compile "$LINENO"; then :
44137 glibcxx_cv_func_hypotf_use=yes
44138 else
44139 glibcxx_cv_func_hypotf_use=no
44141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44142 ac_ext=c
44143 ac_cpp='$CPP $CPPFLAGS'
44144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
44153 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
44155 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
44156 for ac_func in hypotf
44157 do :
44158 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
44159 if test "x$ac_cv_func_hypotf" = xyes; then :
44160 cat >>confdefs.h <<_ACEOF
44161 #define HAVE_HYPOTF 1
44162 _ACEOF
44165 done
44167 else
44169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
44170 $as_echo_n "checking for _hypotf declaration... " >&6; }
44171 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
44172 if ${glibcxx_cv_func__hypotf_use+:} false; then :
44173 $as_echo_n "(cached) " >&6
44174 else
44177 ac_ext=cpp
44178 ac_cpp='$CXXCPP $CPPFLAGS'
44179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44184 /* end confdefs.h. */
44185 #include <math.h>
44187 main ()
44189 _hypotf(0, 0);
44191 return 0;
44193 _ACEOF
44194 if ac_fn_cxx_try_compile "$LINENO"; then :
44195 glibcxx_cv_func__hypotf_use=yes
44196 else
44197 glibcxx_cv_func__hypotf_use=no
44199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44200 ac_ext=c
44201 ac_cpp='$CPP $CPPFLAGS'
44202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
44211 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
44213 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
44214 for ac_func in _hypotf
44215 do :
44216 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
44217 if test "x$ac_cv_func__hypotf" = xyes; then :
44218 cat >>confdefs.h <<_ACEOF
44219 #define HAVE__HYPOTF 1
44220 _ACEOF
44223 done
44232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
44233 $as_echo_n "checking for ldexpf declaration... " >&6; }
44234 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
44235 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
44236 $as_echo_n "(cached) " >&6
44237 else
44240 ac_ext=cpp
44241 ac_cpp='$CXXCPP $CPPFLAGS'
44242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44247 /* end confdefs.h. */
44248 #include <math.h>
44250 main ()
44252 ldexpf(0, 0);
44254 return 0;
44256 _ACEOF
44257 if ac_fn_cxx_try_compile "$LINENO"; then :
44258 glibcxx_cv_func_ldexpf_use=yes
44259 else
44260 glibcxx_cv_func_ldexpf_use=no
44262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44263 ac_ext=c
44264 ac_cpp='$CPP $CPPFLAGS'
44265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
44274 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
44276 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
44277 for ac_func in ldexpf
44278 do :
44279 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
44280 if test "x$ac_cv_func_ldexpf" = xyes; then :
44281 cat >>confdefs.h <<_ACEOF
44282 #define HAVE_LDEXPF 1
44283 _ACEOF
44286 done
44288 else
44290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
44291 $as_echo_n "checking for _ldexpf declaration... " >&6; }
44292 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
44293 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
44294 $as_echo_n "(cached) " >&6
44295 else
44298 ac_ext=cpp
44299 ac_cpp='$CXXCPP $CPPFLAGS'
44300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44305 /* end confdefs.h. */
44306 #include <math.h>
44308 main ()
44310 _ldexpf(0, 0);
44312 return 0;
44314 _ACEOF
44315 if ac_fn_cxx_try_compile "$LINENO"; then :
44316 glibcxx_cv_func__ldexpf_use=yes
44317 else
44318 glibcxx_cv_func__ldexpf_use=no
44320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44321 ac_ext=c
44322 ac_cpp='$CPP $CPPFLAGS'
44323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
44332 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
44334 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
44335 for ac_func in _ldexpf
44336 do :
44337 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
44338 if test "x$ac_cv_func__ldexpf" = xyes; then :
44339 cat >>confdefs.h <<_ACEOF
44340 #define HAVE__LDEXPF 1
44341 _ACEOF
44344 done
44353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
44354 $as_echo_n "checking for logf declaration... " >&6; }
44355 if test x${glibcxx_cv_func_logf_use+set} != xset; then
44356 if ${glibcxx_cv_func_logf_use+:} false; then :
44357 $as_echo_n "(cached) " >&6
44358 else
44361 ac_ext=cpp
44362 ac_cpp='$CXXCPP $CPPFLAGS'
44363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44368 /* end confdefs.h. */
44369 #include <math.h>
44370 #ifdef HAVE_IEEEFP_H
44371 #include <ieeefp.h>
44372 #endif
44375 main ()
44377 logf(0);
44379 return 0;
44381 _ACEOF
44382 if ac_fn_cxx_try_compile "$LINENO"; then :
44383 glibcxx_cv_func_logf_use=yes
44384 else
44385 glibcxx_cv_func_logf_use=no
44387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44388 ac_ext=c
44389 ac_cpp='$CPP $CPPFLAGS'
44390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
44399 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
44401 if test x$glibcxx_cv_func_logf_use = x"yes"; then
44402 for ac_func in logf
44403 do :
44404 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
44405 if test "x$ac_cv_func_logf" = xyes; then :
44406 cat >>confdefs.h <<_ACEOF
44407 #define HAVE_LOGF 1
44408 _ACEOF
44411 done
44413 else
44415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
44416 $as_echo_n "checking for _logf declaration... " >&6; }
44417 if test x${glibcxx_cv_func__logf_use+set} != xset; then
44418 if ${glibcxx_cv_func__logf_use+:} false; then :
44419 $as_echo_n "(cached) " >&6
44420 else
44423 ac_ext=cpp
44424 ac_cpp='$CXXCPP $CPPFLAGS'
44425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44430 /* end confdefs.h. */
44431 #include <math.h>
44432 #ifdef HAVE_IEEEFP_H
44433 #include <ieeefp.h>
44434 #endif
44437 main ()
44439 _logf(0);
44441 return 0;
44443 _ACEOF
44444 if ac_fn_cxx_try_compile "$LINENO"; then :
44445 glibcxx_cv_func__logf_use=yes
44446 else
44447 glibcxx_cv_func__logf_use=no
44449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44450 ac_ext=c
44451 ac_cpp='$CPP $CPPFLAGS'
44452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
44461 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
44463 if test x$glibcxx_cv_func__logf_use = x"yes"; then
44464 for ac_func in _logf
44465 do :
44466 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
44467 if test "x$ac_cv_func__logf" = xyes; then :
44468 cat >>confdefs.h <<_ACEOF
44469 #define HAVE__LOGF 1
44470 _ACEOF
44473 done
44482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
44483 $as_echo_n "checking for log10f declaration... " >&6; }
44484 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
44485 if ${glibcxx_cv_func_log10f_use+:} false; then :
44486 $as_echo_n "(cached) " >&6
44487 else
44490 ac_ext=cpp
44491 ac_cpp='$CXXCPP $CPPFLAGS'
44492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44497 /* end confdefs.h. */
44498 #include <math.h>
44499 #ifdef HAVE_IEEEFP_H
44500 #include <ieeefp.h>
44501 #endif
44504 main ()
44506 log10f(0);
44508 return 0;
44510 _ACEOF
44511 if ac_fn_cxx_try_compile "$LINENO"; then :
44512 glibcxx_cv_func_log10f_use=yes
44513 else
44514 glibcxx_cv_func_log10f_use=no
44516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44517 ac_ext=c
44518 ac_cpp='$CPP $CPPFLAGS'
44519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
44528 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
44530 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
44531 for ac_func in log10f
44532 do :
44533 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
44534 if test "x$ac_cv_func_log10f" = xyes; then :
44535 cat >>confdefs.h <<_ACEOF
44536 #define HAVE_LOG10F 1
44537 _ACEOF
44540 done
44542 else
44544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
44545 $as_echo_n "checking for _log10f declaration... " >&6; }
44546 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
44547 if ${glibcxx_cv_func__log10f_use+:} false; then :
44548 $as_echo_n "(cached) " >&6
44549 else
44552 ac_ext=cpp
44553 ac_cpp='$CXXCPP $CPPFLAGS'
44554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44559 /* end confdefs.h. */
44560 #include <math.h>
44561 #ifdef HAVE_IEEEFP_H
44562 #include <ieeefp.h>
44563 #endif
44566 main ()
44568 _log10f(0);
44570 return 0;
44572 _ACEOF
44573 if ac_fn_cxx_try_compile "$LINENO"; then :
44574 glibcxx_cv_func__log10f_use=yes
44575 else
44576 glibcxx_cv_func__log10f_use=no
44578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44579 ac_ext=c
44580 ac_cpp='$CPP $CPPFLAGS'
44581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
44590 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
44592 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
44593 for ac_func in _log10f
44594 do :
44595 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
44596 if test "x$ac_cv_func__log10f" = xyes; then :
44597 cat >>confdefs.h <<_ACEOF
44598 #define HAVE__LOG10F 1
44599 _ACEOF
44602 done
44611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
44612 $as_echo_n "checking for modff declaration... " >&6; }
44613 if test x${glibcxx_cv_func_modff_use+set} != xset; then
44614 if ${glibcxx_cv_func_modff_use+:} false; then :
44615 $as_echo_n "(cached) " >&6
44616 else
44619 ac_ext=cpp
44620 ac_cpp='$CXXCPP $CPPFLAGS'
44621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44626 /* end confdefs.h. */
44627 #include <math.h>
44629 main ()
44631 modff(0, 0);
44633 return 0;
44635 _ACEOF
44636 if ac_fn_cxx_try_compile "$LINENO"; then :
44637 glibcxx_cv_func_modff_use=yes
44638 else
44639 glibcxx_cv_func_modff_use=no
44641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44642 ac_ext=c
44643 ac_cpp='$CPP $CPPFLAGS'
44644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
44653 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
44655 if test x$glibcxx_cv_func_modff_use = x"yes"; then
44656 for ac_func in modff
44657 do :
44658 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
44659 if test "x$ac_cv_func_modff" = xyes; then :
44660 cat >>confdefs.h <<_ACEOF
44661 #define HAVE_MODFF 1
44662 _ACEOF
44665 done
44667 else
44669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
44670 $as_echo_n "checking for _modff declaration... " >&6; }
44671 if test x${glibcxx_cv_func__modff_use+set} != xset; then
44672 if ${glibcxx_cv_func__modff_use+:} false; then :
44673 $as_echo_n "(cached) " >&6
44674 else
44677 ac_ext=cpp
44678 ac_cpp='$CXXCPP $CPPFLAGS'
44679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44684 /* end confdefs.h. */
44685 #include <math.h>
44687 main ()
44689 _modff(0, 0);
44691 return 0;
44693 _ACEOF
44694 if ac_fn_cxx_try_compile "$LINENO"; then :
44695 glibcxx_cv_func__modff_use=yes
44696 else
44697 glibcxx_cv_func__modff_use=no
44699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44700 ac_ext=c
44701 ac_cpp='$CPP $CPPFLAGS'
44702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
44711 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
44713 if test x$glibcxx_cv_func__modff_use = x"yes"; then
44714 for ac_func in _modff
44715 do :
44716 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
44717 if test "x$ac_cv_func__modff" = xyes; then :
44718 cat >>confdefs.h <<_ACEOF
44719 #define HAVE__MODFF 1
44720 _ACEOF
44723 done
44732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
44733 $as_echo_n "checking for modf declaration... " >&6; }
44734 if test x${glibcxx_cv_func_modf_use+set} != xset; then
44735 if ${glibcxx_cv_func_modf_use+:} false; then :
44736 $as_echo_n "(cached) " >&6
44737 else
44740 ac_ext=cpp
44741 ac_cpp='$CXXCPP $CPPFLAGS'
44742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44747 /* end confdefs.h. */
44748 #include <math.h>
44750 main ()
44752 modf(0, 0);
44754 return 0;
44756 _ACEOF
44757 if ac_fn_cxx_try_compile "$LINENO"; then :
44758 glibcxx_cv_func_modf_use=yes
44759 else
44760 glibcxx_cv_func_modf_use=no
44762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44763 ac_ext=c
44764 ac_cpp='$CPP $CPPFLAGS'
44765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44774 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
44776 if test x$glibcxx_cv_func_modf_use = x"yes"; then
44777 for ac_func in modf
44778 do :
44779 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44780 if test "x$ac_cv_func_modf" = xyes; then :
44781 cat >>confdefs.h <<_ACEOF
44782 #define HAVE_MODF 1
44783 _ACEOF
44786 done
44788 else
44790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44791 $as_echo_n "checking for _modf declaration... " >&6; }
44792 if test x${glibcxx_cv_func__modf_use+set} != xset; then
44793 if ${glibcxx_cv_func__modf_use+:} false; then :
44794 $as_echo_n "(cached) " >&6
44795 else
44798 ac_ext=cpp
44799 ac_cpp='$CXXCPP $CPPFLAGS'
44800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44805 /* end confdefs.h. */
44806 #include <math.h>
44808 main ()
44810 _modf(0, 0);
44812 return 0;
44814 _ACEOF
44815 if ac_fn_cxx_try_compile "$LINENO"; then :
44816 glibcxx_cv_func__modf_use=yes
44817 else
44818 glibcxx_cv_func__modf_use=no
44820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44821 ac_ext=c
44822 ac_cpp='$CPP $CPPFLAGS'
44823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44832 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
44834 if test x$glibcxx_cv_func__modf_use = x"yes"; then
44835 for ac_func in _modf
44836 do :
44837 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44838 if test "x$ac_cv_func__modf" = xyes; then :
44839 cat >>confdefs.h <<_ACEOF
44840 #define HAVE__MODF 1
44841 _ACEOF
44844 done
44853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44854 $as_echo_n "checking for powf declaration... " >&6; }
44855 if test x${glibcxx_cv_func_powf_use+set} != xset; then
44856 if ${glibcxx_cv_func_powf_use+:} false; then :
44857 $as_echo_n "(cached) " >&6
44858 else
44861 ac_ext=cpp
44862 ac_cpp='$CXXCPP $CPPFLAGS'
44863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44868 /* end confdefs.h. */
44869 #include <math.h>
44871 main ()
44873 powf(0, 0);
44875 return 0;
44877 _ACEOF
44878 if ac_fn_cxx_try_compile "$LINENO"; then :
44879 glibcxx_cv_func_powf_use=yes
44880 else
44881 glibcxx_cv_func_powf_use=no
44883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44884 ac_ext=c
44885 ac_cpp='$CPP $CPPFLAGS'
44886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44895 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
44897 if test x$glibcxx_cv_func_powf_use = x"yes"; then
44898 for ac_func in powf
44899 do :
44900 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44901 if test "x$ac_cv_func_powf" = xyes; then :
44902 cat >>confdefs.h <<_ACEOF
44903 #define HAVE_POWF 1
44904 _ACEOF
44907 done
44909 else
44911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44912 $as_echo_n "checking for _powf declaration... " >&6; }
44913 if test x${glibcxx_cv_func__powf_use+set} != xset; then
44914 if ${glibcxx_cv_func__powf_use+:} false; then :
44915 $as_echo_n "(cached) " >&6
44916 else
44919 ac_ext=cpp
44920 ac_cpp='$CXXCPP $CPPFLAGS'
44921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44926 /* end confdefs.h. */
44927 #include <math.h>
44929 main ()
44931 _powf(0, 0);
44933 return 0;
44935 _ACEOF
44936 if ac_fn_cxx_try_compile "$LINENO"; then :
44937 glibcxx_cv_func__powf_use=yes
44938 else
44939 glibcxx_cv_func__powf_use=no
44941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44942 ac_ext=c
44943 ac_cpp='$CPP $CPPFLAGS'
44944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44953 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44955 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44956 for ac_func in _powf
44957 do :
44958 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44959 if test "x$ac_cv_func__powf" = xyes; then :
44960 cat >>confdefs.h <<_ACEOF
44961 #define HAVE__POWF 1
44962 _ACEOF
44965 done
44974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44975 $as_echo_n "checking for sqrtf declaration... " >&6; }
44976 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44977 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
44978 $as_echo_n "(cached) " >&6
44979 else
44982 ac_ext=cpp
44983 ac_cpp='$CXXCPP $CPPFLAGS'
44984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44989 /* end confdefs.h. */
44990 #include <math.h>
44991 #ifdef HAVE_IEEEFP_H
44992 #include <ieeefp.h>
44993 #endif
44996 main ()
44998 sqrtf(0);
45000 return 0;
45002 _ACEOF
45003 if ac_fn_cxx_try_compile "$LINENO"; then :
45004 glibcxx_cv_func_sqrtf_use=yes
45005 else
45006 glibcxx_cv_func_sqrtf_use=no
45008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45009 ac_ext=c
45010 ac_cpp='$CPP $CPPFLAGS'
45011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
45020 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
45022 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
45023 for ac_func in sqrtf
45024 do :
45025 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
45026 if test "x$ac_cv_func_sqrtf" = xyes; then :
45027 cat >>confdefs.h <<_ACEOF
45028 #define HAVE_SQRTF 1
45029 _ACEOF
45032 done
45034 else
45036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
45037 $as_echo_n "checking for _sqrtf declaration... " >&6; }
45038 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
45039 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
45040 $as_echo_n "(cached) " >&6
45041 else
45044 ac_ext=cpp
45045 ac_cpp='$CXXCPP $CPPFLAGS'
45046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45051 /* end confdefs.h. */
45052 #include <math.h>
45053 #ifdef HAVE_IEEEFP_H
45054 #include <ieeefp.h>
45055 #endif
45058 main ()
45060 _sqrtf(0);
45062 return 0;
45064 _ACEOF
45065 if ac_fn_cxx_try_compile "$LINENO"; then :
45066 glibcxx_cv_func__sqrtf_use=yes
45067 else
45068 glibcxx_cv_func__sqrtf_use=no
45070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45071 ac_ext=c
45072 ac_cpp='$CPP $CPPFLAGS'
45073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
45082 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
45084 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
45085 for ac_func in _sqrtf
45086 do :
45087 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
45088 if test "x$ac_cv_func__sqrtf" = xyes; then :
45089 cat >>confdefs.h <<_ACEOF
45090 #define HAVE__SQRTF 1
45091 _ACEOF
45094 done
45103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
45104 $as_echo_n "checking for sincosf declaration... " >&6; }
45105 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
45106 if ${glibcxx_cv_func_sincosf_use+:} false; then :
45107 $as_echo_n "(cached) " >&6
45108 else
45111 ac_ext=cpp
45112 ac_cpp='$CXXCPP $CPPFLAGS'
45113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45118 /* end confdefs.h. */
45119 #include <math.h>
45121 main ()
45123 sincosf(0, 0, 0);
45125 return 0;
45127 _ACEOF
45128 if ac_fn_cxx_try_compile "$LINENO"; then :
45129 glibcxx_cv_func_sincosf_use=yes
45130 else
45131 glibcxx_cv_func_sincosf_use=no
45133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45134 ac_ext=c
45135 ac_cpp='$CPP $CPPFLAGS'
45136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
45145 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
45147 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
45148 for ac_func in sincosf
45149 do :
45150 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
45151 if test "x$ac_cv_func_sincosf" = xyes; then :
45152 cat >>confdefs.h <<_ACEOF
45153 #define HAVE_SINCOSF 1
45154 _ACEOF
45157 done
45159 else
45161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
45162 $as_echo_n "checking for _sincosf declaration... " >&6; }
45163 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
45164 if ${glibcxx_cv_func__sincosf_use+:} false; then :
45165 $as_echo_n "(cached) " >&6
45166 else
45169 ac_ext=cpp
45170 ac_cpp='$CXXCPP $CPPFLAGS'
45171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45176 /* end confdefs.h. */
45177 #include <math.h>
45179 main ()
45181 _sincosf(0, 0, 0);
45183 return 0;
45185 _ACEOF
45186 if ac_fn_cxx_try_compile "$LINENO"; then :
45187 glibcxx_cv_func__sincosf_use=yes
45188 else
45189 glibcxx_cv_func__sincosf_use=no
45191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45192 ac_ext=c
45193 ac_cpp='$CPP $CPPFLAGS'
45194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
45203 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
45205 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
45206 for ac_func in _sincosf
45207 do :
45208 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
45209 if test "x$ac_cv_func__sincosf" = xyes; then :
45210 cat >>confdefs.h <<_ACEOF
45211 #define HAVE__SINCOSF 1
45212 _ACEOF
45215 done
45224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
45225 $as_echo_n "checking for finitef declaration... " >&6; }
45226 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
45227 if ${glibcxx_cv_func_finitef_use+:} false; then :
45228 $as_echo_n "(cached) " >&6
45229 else
45232 ac_ext=cpp
45233 ac_cpp='$CXXCPP $CPPFLAGS'
45234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45239 /* end confdefs.h. */
45240 #include <math.h>
45241 #ifdef HAVE_IEEEFP_H
45242 #include <ieeefp.h>
45243 #endif
45246 main ()
45248 finitef(0);
45250 return 0;
45252 _ACEOF
45253 if ac_fn_cxx_try_compile "$LINENO"; then :
45254 glibcxx_cv_func_finitef_use=yes
45255 else
45256 glibcxx_cv_func_finitef_use=no
45258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45259 ac_ext=c
45260 ac_cpp='$CPP $CPPFLAGS'
45261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
45270 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
45272 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
45273 for ac_func in finitef
45274 do :
45275 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
45276 if test "x$ac_cv_func_finitef" = xyes; then :
45277 cat >>confdefs.h <<_ACEOF
45278 #define HAVE_FINITEF 1
45279 _ACEOF
45282 done
45284 else
45286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
45287 $as_echo_n "checking for _finitef declaration... " >&6; }
45288 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
45289 if ${glibcxx_cv_func__finitef_use+:} false; then :
45290 $as_echo_n "(cached) " >&6
45291 else
45294 ac_ext=cpp
45295 ac_cpp='$CXXCPP $CPPFLAGS'
45296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45301 /* end confdefs.h. */
45302 #include <math.h>
45303 #ifdef HAVE_IEEEFP_H
45304 #include <ieeefp.h>
45305 #endif
45308 main ()
45310 _finitef(0);
45312 return 0;
45314 _ACEOF
45315 if ac_fn_cxx_try_compile "$LINENO"; then :
45316 glibcxx_cv_func__finitef_use=yes
45317 else
45318 glibcxx_cv_func__finitef_use=no
45320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45321 ac_ext=c
45322 ac_cpp='$CPP $CPPFLAGS'
45323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
45332 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
45334 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
45335 for ac_func in _finitef
45336 do :
45337 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
45338 if test "x$ac_cv_func__finitef" = xyes; then :
45339 cat >>confdefs.h <<_ACEOF
45340 #define HAVE__FINITEF 1
45341 _ACEOF
45344 done
45353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
45354 $as_echo_n "checking for long double trig functions... " >&6; }
45355 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
45356 $as_echo_n "(cached) " >&6
45357 else
45360 ac_ext=cpp
45361 ac_cpp='$CXXCPP $CPPFLAGS'
45362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45367 /* end confdefs.h. */
45368 #include <math.h>
45370 main ()
45372 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
45374 return 0;
45376 _ACEOF
45377 if ac_fn_cxx_try_compile "$LINENO"; then :
45378 glibcxx_cv_func_long_double_trig_use=yes
45379 else
45380 glibcxx_cv_func_long_double_trig_use=no
45382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45383 ac_ext=c
45384 ac_cpp='$CPP $CPPFLAGS'
45385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
45392 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
45393 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
45394 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
45395 do :
45396 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45397 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45398 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45399 cat >>confdefs.h <<_ACEOF
45400 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45401 _ACEOF
45404 done
45406 else
45407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
45408 $as_echo_n "checking for _long double trig functions... " >&6; }
45409 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
45410 $as_echo_n "(cached) " >&6
45411 else
45414 ac_ext=cpp
45415 ac_cpp='$CXXCPP $CPPFLAGS'
45416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45421 /* end confdefs.h. */
45422 #include <math.h>
45424 main ()
45426 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
45428 return 0;
45430 _ACEOF
45431 if ac_fn_cxx_try_compile "$LINENO"; then :
45432 glibcxx_cv_func__long_double_trig_use=yes
45433 else
45434 glibcxx_cv_func__long_double_trig_use=no
45436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45437 ac_ext=c
45438 ac_cpp='$CPP $CPPFLAGS'
45439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
45446 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
45447 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
45448 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
45449 do :
45450 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45451 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45452 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45453 cat >>confdefs.h <<_ACEOF
45454 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45455 _ACEOF
45458 done
45467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
45468 $as_echo_n "checking for long double round functions... " >&6; }
45469 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
45470 $as_echo_n "(cached) " >&6
45471 else
45474 ac_ext=cpp
45475 ac_cpp='$CXXCPP $CPPFLAGS'
45476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45481 /* end confdefs.h. */
45482 #include <math.h>
45484 main ()
45486 ceill (0); floorl (0);
45488 return 0;
45490 _ACEOF
45491 if ac_fn_cxx_try_compile "$LINENO"; then :
45492 glibcxx_cv_func_long_double_round_use=yes
45493 else
45494 glibcxx_cv_func_long_double_round_use=no
45496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45497 ac_ext=c
45498 ac_cpp='$CPP $CPPFLAGS'
45499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
45506 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
45507 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
45508 for ac_func in ceill floorl
45509 do :
45510 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45511 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45512 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45513 cat >>confdefs.h <<_ACEOF
45514 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45515 _ACEOF
45518 done
45520 else
45521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
45522 $as_echo_n "checking for _long double round functions... " >&6; }
45523 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
45524 $as_echo_n "(cached) " >&6
45525 else
45528 ac_ext=cpp
45529 ac_cpp='$CXXCPP $CPPFLAGS'
45530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45535 /* end confdefs.h. */
45536 #include <math.h>
45538 main ()
45540 _ceill (0); _floorl (0);
45542 return 0;
45544 _ACEOF
45545 if ac_fn_cxx_try_compile "$LINENO"; then :
45546 glibcxx_cv_func__long_double_round_use=yes
45547 else
45548 glibcxx_cv_func__long_double_round_use=no
45550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45551 ac_ext=c
45552 ac_cpp='$CPP $CPPFLAGS'
45553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
45560 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
45561 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
45562 for ac_func in _ceill _floorl
45563 do :
45564 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45565 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45566 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45567 cat >>confdefs.h <<_ACEOF
45568 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45569 _ACEOF
45572 done
45582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
45583 $as_echo_n "checking for isnanl declaration... " >&6; }
45584 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
45585 if ${glibcxx_cv_func_isnanl_use+:} false; then :
45586 $as_echo_n "(cached) " >&6
45587 else
45590 ac_ext=cpp
45591 ac_cpp='$CXXCPP $CPPFLAGS'
45592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45597 /* end confdefs.h. */
45598 #include <math.h>
45599 #ifdef HAVE_IEEEFP_H
45600 #include <ieeefp.h>
45601 #endif
45604 main ()
45606 isnanl(0);
45608 return 0;
45610 _ACEOF
45611 if ac_fn_cxx_try_compile "$LINENO"; then :
45612 glibcxx_cv_func_isnanl_use=yes
45613 else
45614 glibcxx_cv_func_isnanl_use=no
45616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45617 ac_ext=c
45618 ac_cpp='$CPP $CPPFLAGS'
45619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
45628 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
45630 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
45631 for ac_func in isnanl
45632 do :
45633 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
45634 if test "x$ac_cv_func_isnanl" = xyes; then :
45635 cat >>confdefs.h <<_ACEOF
45636 #define HAVE_ISNANL 1
45637 _ACEOF
45640 done
45642 else
45644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
45645 $as_echo_n "checking for _isnanl declaration... " >&6; }
45646 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
45647 if ${glibcxx_cv_func__isnanl_use+:} false; then :
45648 $as_echo_n "(cached) " >&6
45649 else
45652 ac_ext=cpp
45653 ac_cpp='$CXXCPP $CPPFLAGS'
45654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45659 /* end confdefs.h. */
45660 #include <math.h>
45661 #ifdef HAVE_IEEEFP_H
45662 #include <ieeefp.h>
45663 #endif
45666 main ()
45668 _isnanl(0);
45670 return 0;
45672 _ACEOF
45673 if ac_fn_cxx_try_compile "$LINENO"; then :
45674 glibcxx_cv_func__isnanl_use=yes
45675 else
45676 glibcxx_cv_func__isnanl_use=no
45678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45679 ac_ext=c
45680 ac_cpp='$CPP $CPPFLAGS'
45681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
45690 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
45692 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
45693 for ac_func in _isnanl
45694 do :
45695 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
45696 if test "x$ac_cv_func__isnanl" = xyes; then :
45697 cat >>confdefs.h <<_ACEOF
45698 #define HAVE__ISNANL 1
45699 _ACEOF
45702 done
45711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
45712 $as_echo_n "checking for isinfl declaration... " >&6; }
45713 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
45714 if ${glibcxx_cv_func_isinfl_use+:} false; then :
45715 $as_echo_n "(cached) " >&6
45716 else
45719 ac_ext=cpp
45720 ac_cpp='$CXXCPP $CPPFLAGS'
45721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45726 /* end confdefs.h. */
45727 #include <math.h>
45728 #ifdef HAVE_IEEEFP_H
45729 #include <ieeefp.h>
45730 #endif
45733 main ()
45735 isinfl(0);
45737 return 0;
45739 _ACEOF
45740 if ac_fn_cxx_try_compile "$LINENO"; then :
45741 glibcxx_cv_func_isinfl_use=yes
45742 else
45743 glibcxx_cv_func_isinfl_use=no
45745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45746 ac_ext=c
45747 ac_cpp='$CPP $CPPFLAGS'
45748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45757 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45759 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45760 for ac_func in isinfl
45761 do :
45762 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45763 if test "x$ac_cv_func_isinfl" = xyes; then :
45764 cat >>confdefs.h <<_ACEOF
45765 #define HAVE_ISINFL 1
45766 _ACEOF
45769 done
45771 else
45773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45774 $as_echo_n "checking for _isinfl declaration... " >&6; }
45775 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45776 if ${glibcxx_cv_func__isinfl_use+:} false; then :
45777 $as_echo_n "(cached) " >&6
45778 else
45781 ac_ext=cpp
45782 ac_cpp='$CXXCPP $CPPFLAGS'
45783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45788 /* end confdefs.h. */
45789 #include <math.h>
45790 #ifdef HAVE_IEEEFP_H
45791 #include <ieeefp.h>
45792 #endif
45795 main ()
45797 _isinfl(0);
45799 return 0;
45801 _ACEOF
45802 if ac_fn_cxx_try_compile "$LINENO"; then :
45803 glibcxx_cv_func__isinfl_use=yes
45804 else
45805 glibcxx_cv_func__isinfl_use=no
45807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45808 ac_ext=c
45809 ac_cpp='$CPP $CPPFLAGS'
45810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45819 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45821 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45822 for ac_func in _isinfl
45823 do :
45824 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45825 if test "x$ac_cv_func__isinfl" = xyes; then :
45826 cat >>confdefs.h <<_ACEOF
45827 #define HAVE__ISINFL 1
45828 _ACEOF
45831 done
45840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45841 $as_echo_n "checking for atan2l declaration... " >&6; }
45842 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45843 if ${glibcxx_cv_func_atan2l_use+:} false; then :
45844 $as_echo_n "(cached) " >&6
45845 else
45848 ac_ext=cpp
45849 ac_cpp='$CXXCPP $CPPFLAGS'
45850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45855 /* end confdefs.h. */
45856 #include <math.h>
45858 main ()
45860 atan2l(0, 0);
45862 return 0;
45864 _ACEOF
45865 if ac_fn_cxx_try_compile "$LINENO"; then :
45866 glibcxx_cv_func_atan2l_use=yes
45867 else
45868 glibcxx_cv_func_atan2l_use=no
45870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45871 ac_ext=c
45872 ac_cpp='$CPP $CPPFLAGS'
45873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45882 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45884 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45885 for ac_func in atan2l
45886 do :
45887 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45888 if test "x$ac_cv_func_atan2l" = xyes; then :
45889 cat >>confdefs.h <<_ACEOF
45890 #define HAVE_ATAN2L 1
45891 _ACEOF
45894 done
45896 else
45898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45899 $as_echo_n "checking for _atan2l declaration... " >&6; }
45900 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45901 if ${glibcxx_cv_func__atan2l_use+:} false; then :
45902 $as_echo_n "(cached) " >&6
45903 else
45906 ac_ext=cpp
45907 ac_cpp='$CXXCPP $CPPFLAGS'
45908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45913 /* end confdefs.h. */
45914 #include <math.h>
45916 main ()
45918 _atan2l(0, 0);
45920 return 0;
45922 _ACEOF
45923 if ac_fn_cxx_try_compile "$LINENO"; then :
45924 glibcxx_cv_func__atan2l_use=yes
45925 else
45926 glibcxx_cv_func__atan2l_use=no
45928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45929 ac_ext=c
45930 ac_cpp='$CPP $CPPFLAGS'
45931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45940 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45942 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45943 for ac_func in _atan2l
45944 do :
45945 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45946 if test "x$ac_cv_func__atan2l" = xyes; then :
45947 cat >>confdefs.h <<_ACEOF
45948 #define HAVE__ATAN2L 1
45949 _ACEOF
45952 done
45961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45962 $as_echo_n "checking for expl declaration... " >&6; }
45963 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45964 if ${glibcxx_cv_func_expl_use+:} false; then :
45965 $as_echo_n "(cached) " >&6
45966 else
45969 ac_ext=cpp
45970 ac_cpp='$CXXCPP $CPPFLAGS'
45971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45976 /* end confdefs.h. */
45977 #include <math.h>
45978 #ifdef HAVE_IEEEFP_H
45979 #include <ieeefp.h>
45980 #endif
45983 main ()
45985 expl(0);
45987 return 0;
45989 _ACEOF
45990 if ac_fn_cxx_try_compile "$LINENO"; then :
45991 glibcxx_cv_func_expl_use=yes
45992 else
45993 glibcxx_cv_func_expl_use=no
45995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45996 ac_ext=c
45997 ac_cpp='$CPP $CPPFLAGS'
45998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
46007 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
46009 if test x$glibcxx_cv_func_expl_use = x"yes"; then
46010 for ac_func in expl
46011 do :
46012 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
46013 if test "x$ac_cv_func_expl" = xyes; then :
46014 cat >>confdefs.h <<_ACEOF
46015 #define HAVE_EXPL 1
46016 _ACEOF
46019 done
46021 else
46023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
46024 $as_echo_n "checking for _expl declaration... " >&6; }
46025 if test x${glibcxx_cv_func__expl_use+set} != xset; then
46026 if ${glibcxx_cv_func__expl_use+:} false; then :
46027 $as_echo_n "(cached) " >&6
46028 else
46031 ac_ext=cpp
46032 ac_cpp='$CXXCPP $CPPFLAGS'
46033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46038 /* end confdefs.h. */
46039 #include <math.h>
46040 #ifdef HAVE_IEEEFP_H
46041 #include <ieeefp.h>
46042 #endif
46045 main ()
46047 _expl(0);
46049 return 0;
46051 _ACEOF
46052 if ac_fn_cxx_try_compile "$LINENO"; then :
46053 glibcxx_cv_func__expl_use=yes
46054 else
46055 glibcxx_cv_func__expl_use=no
46057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46058 ac_ext=c
46059 ac_cpp='$CPP $CPPFLAGS'
46060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
46069 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
46071 if test x$glibcxx_cv_func__expl_use = x"yes"; then
46072 for ac_func in _expl
46073 do :
46074 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
46075 if test "x$ac_cv_func__expl" = xyes; then :
46076 cat >>confdefs.h <<_ACEOF
46077 #define HAVE__EXPL 1
46078 _ACEOF
46081 done
46090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
46091 $as_echo_n "checking for fabsl declaration... " >&6; }
46092 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
46093 if ${glibcxx_cv_func_fabsl_use+:} false; then :
46094 $as_echo_n "(cached) " >&6
46095 else
46098 ac_ext=cpp
46099 ac_cpp='$CXXCPP $CPPFLAGS'
46100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46105 /* end confdefs.h. */
46106 #include <math.h>
46107 #ifdef HAVE_IEEEFP_H
46108 #include <ieeefp.h>
46109 #endif
46112 main ()
46114 fabsl(0);
46116 return 0;
46118 _ACEOF
46119 if ac_fn_cxx_try_compile "$LINENO"; then :
46120 glibcxx_cv_func_fabsl_use=yes
46121 else
46122 glibcxx_cv_func_fabsl_use=no
46124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46125 ac_ext=c
46126 ac_cpp='$CPP $CPPFLAGS'
46127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
46136 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
46138 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
46139 for ac_func in fabsl
46140 do :
46141 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
46142 if test "x$ac_cv_func_fabsl" = xyes; then :
46143 cat >>confdefs.h <<_ACEOF
46144 #define HAVE_FABSL 1
46145 _ACEOF
46148 done
46150 else
46152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
46153 $as_echo_n "checking for _fabsl declaration... " >&6; }
46154 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
46155 if ${glibcxx_cv_func__fabsl_use+:} false; then :
46156 $as_echo_n "(cached) " >&6
46157 else
46160 ac_ext=cpp
46161 ac_cpp='$CXXCPP $CPPFLAGS'
46162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46167 /* end confdefs.h. */
46168 #include <math.h>
46169 #ifdef HAVE_IEEEFP_H
46170 #include <ieeefp.h>
46171 #endif
46174 main ()
46176 _fabsl(0);
46178 return 0;
46180 _ACEOF
46181 if ac_fn_cxx_try_compile "$LINENO"; then :
46182 glibcxx_cv_func__fabsl_use=yes
46183 else
46184 glibcxx_cv_func__fabsl_use=no
46186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46187 ac_ext=c
46188 ac_cpp='$CPP $CPPFLAGS'
46189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
46198 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
46200 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
46201 for ac_func in _fabsl
46202 do :
46203 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
46204 if test "x$ac_cv_func__fabsl" = xyes; then :
46205 cat >>confdefs.h <<_ACEOF
46206 #define HAVE__FABSL 1
46207 _ACEOF
46210 done
46219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
46220 $as_echo_n "checking for fmodl declaration... " >&6; }
46221 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
46222 if ${glibcxx_cv_func_fmodl_use+:} false; then :
46223 $as_echo_n "(cached) " >&6
46224 else
46227 ac_ext=cpp
46228 ac_cpp='$CXXCPP $CPPFLAGS'
46229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46234 /* end confdefs.h. */
46235 #include <math.h>
46237 main ()
46239 fmodl(0, 0);
46241 return 0;
46243 _ACEOF
46244 if ac_fn_cxx_try_compile "$LINENO"; then :
46245 glibcxx_cv_func_fmodl_use=yes
46246 else
46247 glibcxx_cv_func_fmodl_use=no
46249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46250 ac_ext=c
46251 ac_cpp='$CPP $CPPFLAGS'
46252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
46261 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
46263 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
46264 for ac_func in fmodl
46265 do :
46266 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
46267 if test "x$ac_cv_func_fmodl" = xyes; then :
46268 cat >>confdefs.h <<_ACEOF
46269 #define HAVE_FMODL 1
46270 _ACEOF
46273 done
46275 else
46277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
46278 $as_echo_n "checking for _fmodl declaration... " >&6; }
46279 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
46280 if ${glibcxx_cv_func__fmodl_use+:} false; then :
46281 $as_echo_n "(cached) " >&6
46282 else
46285 ac_ext=cpp
46286 ac_cpp='$CXXCPP $CPPFLAGS'
46287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46292 /* end confdefs.h. */
46293 #include <math.h>
46295 main ()
46297 _fmodl(0, 0);
46299 return 0;
46301 _ACEOF
46302 if ac_fn_cxx_try_compile "$LINENO"; then :
46303 glibcxx_cv_func__fmodl_use=yes
46304 else
46305 glibcxx_cv_func__fmodl_use=no
46307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46308 ac_ext=c
46309 ac_cpp='$CPP $CPPFLAGS'
46310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
46319 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
46321 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
46322 for ac_func in _fmodl
46323 do :
46324 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
46325 if test "x$ac_cv_func__fmodl" = xyes; then :
46326 cat >>confdefs.h <<_ACEOF
46327 #define HAVE__FMODL 1
46328 _ACEOF
46331 done
46340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
46341 $as_echo_n "checking for frexpl declaration... " >&6; }
46342 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
46343 if ${glibcxx_cv_func_frexpl_use+:} false; then :
46344 $as_echo_n "(cached) " >&6
46345 else
46348 ac_ext=cpp
46349 ac_cpp='$CXXCPP $CPPFLAGS'
46350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46355 /* end confdefs.h. */
46356 #include <math.h>
46358 main ()
46360 frexpl(0, 0);
46362 return 0;
46364 _ACEOF
46365 if ac_fn_cxx_try_compile "$LINENO"; then :
46366 glibcxx_cv_func_frexpl_use=yes
46367 else
46368 glibcxx_cv_func_frexpl_use=no
46370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46371 ac_ext=c
46372 ac_cpp='$CPP $CPPFLAGS'
46373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
46382 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
46384 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
46385 for ac_func in frexpl
46386 do :
46387 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
46388 if test "x$ac_cv_func_frexpl" = xyes; then :
46389 cat >>confdefs.h <<_ACEOF
46390 #define HAVE_FREXPL 1
46391 _ACEOF
46394 done
46396 else
46398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
46399 $as_echo_n "checking for _frexpl declaration... " >&6; }
46400 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
46401 if ${glibcxx_cv_func__frexpl_use+:} false; then :
46402 $as_echo_n "(cached) " >&6
46403 else
46406 ac_ext=cpp
46407 ac_cpp='$CXXCPP $CPPFLAGS'
46408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46413 /* end confdefs.h. */
46414 #include <math.h>
46416 main ()
46418 _frexpl(0, 0);
46420 return 0;
46422 _ACEOF
46423 if ac_fn_cxx_try_compile "$LINENO"; then :
46424 glibcxx_cv_func__frexpl_use=yes
46425 else
46426 glibcxx_cv_func__frexpl_use=no
46428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46429 ac_ext=c
46430 ac_cpp='$CPP $CPPFLAGS'
46431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
46440 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
46442 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
46443 for ac_func in _frexpl
46444 do :
46445 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
46446 if test "x$ac_cv_func__frexpl" = xyes; then :
46447 cat >>confdefs.h <<_ACEOF
46448 #define HAVE__FREXPL 1
46449 _ACEOF
46452 done
46461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
46462 $as_echo_n "checking for hypotl declaration... " >&6; }
46463 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
46464 if ${glibcxx_cv_func_hypotl_use+:} false; then :
46465 $as_echo_n "(cached) " >&6
46466 else
46469 ac_ext=cpp
46470 ac_cpp='$CXXCPP $CPPFLAGS'
46471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46476 /* end confdefs.h. */
46477 #include <math.h>
46479 main ()
46481 hypotl(0, 0);
46483 return 0;
46485 _ACEOF
46486 if ac_fn_cxx_try_compile "$LINENO"; then :
46487 glibcxx_cv_func_hypotl_use=yes
46488 else
46489 glibcxx_cv_func_hypotl_use=no
46491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46492 ac_ext=c
46493 ac_cpp='$CPP $CPPFLAGS'
46494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
46503 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
46505 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
46506 for ac_func in hypotl
46507 do :
46508 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
46509 if test "x$ac_cv_func_hypotl" = xyes; then :
46510 cat >>confdefs.h <<_ACEOF
46511 #define HAVE_HYPOTL 1
46512 _ACEOF
46515 done
46517 else
46519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
46520 $as_echo_n "checking for _hypotl declaration... " >&6; }
46521 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
46522 if ${glibcxx_cv_func__hypotl_use+:} false; then :
46523 $as_echo_n "(cached) " >&6
46524 else
46527 ac_ext=cpp
46528 ac_cpp='$CXXCPP $CPPFLAGS'
46529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46534 /* end confdefs.h. */
46535 #include <math.h>
46537 main ()
46539 _hypotl(0, 0);
46541 return 0;
46543 _ACEOF
46544 if ac_fn_cxx_try_compile "$LINENO"; then :
46545 glibcxx_cv_func__hypotl_use=yes
46546 else
46547 glibcxx_cv_func__hypotl_use=no
46549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46550 ac_ext=c
46551 ac_cpp='$CPP $CPPFLAGS'
46552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
46561 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
46563 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
46564 for ac_func in _hypotl
46565 do :
46566 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
46567 if test "x$ac_cv_func__hypotl" = xyes; then :
46568 cat >>confdefs.h <<_ACEOF
46569 #define HAVE__HYPOTL 1
46570 _ACEOF
46573 done
46582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
46583 $as_echo_n "checking for ldexpl declaration... " >&6; }
46584 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
46585 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
46586 $as_echo_n "(cached) " >&6
46587 else
46590 ac_ext=cpp
46591 ac_cpp='$CXXCPP $CPPFLAGS'
46592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46597 /* end confdefs.h. */
46598 #include <math.h>
46600 main ()
46602 ldexpl(0, 0);
46604 return 0;
46606 _ACEOF
46607 if ac_fn_cxx_try_compile "$LINENO"; then :
46608 glibcxx_cv_func_ldexpl_use=yes
46609 else
46610 glibcxx_cv_func_ldexpl_use=no
46612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46613 ac_ext=c
46614 ac_cpp='$CPP $CPPFLAGS'
46615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
46624 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
46626 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
46627 for ac_func in ldexpl
46628 do :
46629 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
46630 if test "x$ac_cv_func_ldexpl" = xyes; then :
46631 cat >>confdefs.h <<_ACEOF
46632 #define HAVE_LDEXPL 1
46633 _ACEOF
46636 done
46638 else
46640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
46641 $as_echo_n "checking for _ldexpl declaration... " >&6; }
46642 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
46643 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
46644 $as_echo_n "(cached) " >&6
46645 else
46648 ac_ext=cpp
46649 ac_cpp='$CXXCPP $CPPFLAGS'
46650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46655 /* end confdefs.h. */
46656 #include <math.h>
46658 main ()
46660 _ldexpl(0, 0);
46662 return 0;
46664 _ACEOF
46665 if ac_fn_cxx_try_compile "$LINENO"; then :
46666 glibcxx_cv_func__ldexpl_use=yes
46667 else
46668 glibcxx_cv_func__ldexpl_use=no
46670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46671 ac_ext=c
46672 ac_cpp='$CPP $CPPFLAGS'
46673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
46682 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
46684 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
46685 for ac_func in _ldexpl
46686 do :
46687 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
46688 if test "x$ac_cv_func__ldexpl" = xyes; then :
46689 cat >>confdefs.h <<_ACEOF
46690 #define HAVE__LDEXPL 1
46691 _ACEOF
46694 done
46703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
46704 $as_echo_n "checking for logl declaration... " >&6; }
46705 if test x${glibcxx_cv_func_logl_use+set} != xset; then
46706 if ${glibcxx_cv_func_logl_use+:} false; then :
46707 $as_echo_n "(cached) " >&6
46708 else
46711 ac_ext=cpp
46712 ac_cpp='$CXXCPP $CPPFLAGS'
46713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46718 /* end confdefs.h. */
46719 #include <math.h>
46720 #ifdef HAVE_IEEEFP_H
46721 #include <ieeefp.h>
46722 #endif
46725 main ()
46727 logl(0);
46729 return 0;
46731 _ACEOF
46732 if ac_fn_cxx_try_compile "$LINENO"; then :
46733 glibcxx_cv_func_logl_use=yes
46734 else
46735 glibcxx_cv_func_logl_use=no
46737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46738 ac_ext=c
46739 ac_cpp='$CPP $CPPFLAGS'
46740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46749 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
46751 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46752 for ac_func in logl
46753 do :
46754 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46755 if test "x$ac_cv_func_logl" = xyes; then :
46756 cat >>confdefs.h <<_ACEOF
46757 #define HAVE_LOGL 1
46758 _ACEOF
46761 done
46763 else
46765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46766 $as_echo_n "checking for _logl declaration... " >&6; }
46767 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46768 if ${glibcxx_cv_func__logl_use+:} false; then :
46769 $as_echo_n "(cached) " >&6
46770 else
46773 ac_ext=cpp
46774 ac_cpp='$CXXCPP $CPPFLAGS'
46775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46780 /* end confdefs.h. */
46781 #include <math.h>
46782 #ifdef HAVE_IEEEFP_H
46783 #include <ieeefp.h>
46784 #endif
46787 main ()
46789 _logl(0);
46791 return 0;
46793 _ACEOF
46794 if ac_fn_cxx_try_compile "$LINENO"; then :
46795 glibcxx_cv_func__logl_use=yes
46796 else
46797 glibcxx_cv_func__logl_use=no
46799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46800 ac_ext=c
46801 ac_cpp='$CPP $CPPFLAGS'
46802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46811 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
46813 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46814 for ac_func in _logl
46815 do :
46816 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46817 if test "x$ac_cv_func__logl" = xyes; then :
46818 cat >>confdefs.h <<_ACEOF
46819 #define HAVE__LOGL 1
46820 _ACEOF
46823 done
46832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46833 $as_echo_n "checking for log10l declaration... " >&6; }
46834 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46835 if ${glibcxx_cv_func_log10l_use+:} false; then :
46836 $as_echo_n "(cached) " >&6
46837 else
46840 ac_ext=cpp
46841 ac_cpp='$CXXCPP $CPPFLAGS'
46842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46847 /* end confdefs.h. */
46848 #include <math.h>
46849 #ifdef HAVE_IEEEFP_H
46850 #include <ieeefp.h>
46851 #endif
46854 main ()
46856 log10l(0);
46858 return 0;
46860 _ACEOF
46861 if ac_fn_cxx_try_compile "$LINENO"; then :
46862 glibcxx_cv_func_log10l_use=yes
46863 else
46864 glibcxx_cv_func_log10l_use=no
46866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46867 ac_ext=c
46868 ac_cpp='$CPP $CPPFLAGS'
46869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46878 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46880 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46881 for ac_func in log10l
46882 do :
46883 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46884 if test "x$ac_cv_func_log10l" = xyes; then :
46885 cat >>confdefs.h <<_ACEOF
46886 #define HAVE_LOG10L 1
46887 _ACEOF
46890 done
46892 else
46894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46895 $as_echo_n "checking for _log10l declaration... " >&6; }
46896 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46897 if ${glibcxx_cv_func__log10l_use+:} false; then :
46898 $as_echo_n "(cached) " >&6
46899 else
46902 ac_ext=cpp
46903 ac_cpp='$CXXCPP $CPPFLAGS'
46904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46909 /* end confdefs.h. */
46910 #include <math.h>
46911 #ifdef HAVE_IEEEFP_H
46912 #include <ieeefp.h>
46913 #endif
46916 main ()
46918 _log10l(0);
46920 return 0;
46922 _ACEOF
46923 if ac_fn_cxx_try_compile "$LINENO"; then :
46924 glibcxx_cv_func__log10l_use=yes
46925 else
46926 glibcxx_cv_func__log10l_use=no
46928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46929 ac_ext=c
46930 ac_cpp='$CPP $CPPFLAGS'
46931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46940 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46942 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46943 for ac_func in _log10l
46944 do :
46945 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46946 if test "x$ac_cv_func__log10l" = xyes; then :
46947 cat >>confdefs.h <<_ACEOF
46948 #define HAVE__LOG10L 1
46949 _ACEOF
46952 done
46961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46962 $as_echo_n "checking for modfl declaration... " >&6; }
46963 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46964 if ${glibcxx_cv_func_modfl_use+:} false; then :
46965 $as_echo_n "(cached) " >&6
46966 else
46969 ac_ext=cpp
46970 ac_cpp='$CXXCPP $CPPFLAGS'
46971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46976 /* end confdefs.h. */
46977 #include <math.h>
46979 main ()
46981 modfl(0, 0);
46983 return 0;
46985 _ACEOF
46986 if ac_fn_cxx_try_compile "$LINENO"; then :
46987 glibcxx_cv_func_modfl_use=yes
46988 else
46989 glibcxx_cv_func_modfl_use=no
46991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46992 ac_ext=c
46993 ac_cpp='$CPP $CPPFLAGS'
46994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
47003 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
47005 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
47006 for ac_func in modfl
47007 do :
47008 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
47009 if test "x$ac_cv_func_modfl" = xyes; then :
47010 cat >>confdefs.h <<_ACEOF
47011 #define HAVE_MODFL 1
47012 _ACEOF
47015 done
47017 else
47019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
47020 $as_echo_n "checking for _modfl declaration... " >&6; }
47021 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
47022 if ${glibcxx_cv_func__modfl_use+:} false; then :
47023 $as_echo_n "(cached) " >&6
47024 else
47027 ac_ext=cpp
47028 ac_cpp='$CXXCPP $CPPFLAGS'
47029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47034 /* end confdefs.h. */
47035 #include <math.h>
47037 main ()
47039 _modfl(0, 0);
47041 return 0;
47043 _ACEOF
47044 if ac_fn_cxx_try_compile "$LINENO"; then :
47045 glibcxx_cv_func__modfl_use=yes
47046 else
47047 glibcxx_cv_func__modfl_use=no
47049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47050 ac_ext=c
47051 ac_cpp='$CPP $CPPFLAGS'
47052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
47061 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
47063 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
47064 for ac_func in _modfl
47065 do :
47066 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
47067 if test "x$ac_cv_func__modfl" = xyes; then :
47068 cat >>confdefs.h <<_ACEOF
47069 #define HAVE__MODFL 1
47070 _ACEOF
47073 done
47082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
47083 $as_echo_n "checking for powl declaration... " >&6; }
47084 if test x${glibcxx_cv_func_powl_use+set} != xset; then
47085 if ${glibcxx_cv_func_powl_use+:} false; then :
47086 $as_echo_n "(cached) " >&6
47087 else
47090 ac_ext=cpp
47091 ac_cpp='$CXXCPP $CPPFLAGS'
47092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47097 /* end confdefs.h. */
47098 #include <math.h>
47100 main ()
47102 powl(0, 0);
47104 return 0;
47106 _ACEOF
47107 if ac_fn_cxx_try_compile "$LINENO"; then :
47108 glibcxx_cv_func_powl_use=yes
47109 else
47110 glibcxx_cv_func_powl_use=no
47112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47113 ac_ext=c
47114 ac_cpp='$CPP $CPPFLAGS'
47115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
47124 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
47126 if test x$glibcxx_cv_func_powl_use = x"yes"; then
47127 for ac_func in powl
47128 do :
47129 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
47130 if test "x$ac_cv_func_powl" = xyes; then :
47131 cat >>confdefs.h <<_ACEOF
47132 #define HAVE_POWL 1
47133 _ACEOF
47136 done
47138 else
47140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
47141 $as_echo_n "checking for _powl declaration... " >&6; }
47142 if test x${glibcxx_cv_func__powl_use+set} != xset; then
47143 if ${glibcxx_cv_func__powl_use+:} false; then :
47144 $as_echo_n "(cached) " >&6
47145 else
47148 ac_ext=cpp
47149 ac_cpp='$CXXCPP $CPPFLAGS'
47150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47155 /* end confdefs.h. */
47156 #include <math.h>
47158 main ()
47160 _powl(0, 0);
47162 return 0;
47164 _ACEOF
47165 if ac_fn_cxx_try_compile "$LINENO"; then :
47166 glibcxx_cv_func__powl_use=yes
47167 else
47168 glibcxx_cv_func__powl_use=no
47170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47171 ac_ext=c
47172 ac_cpp='$CPP $CPPFLAGS'
47173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
47182 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
47184 if test x$glibcxx_cv_func__powl_use = x"yes"; then
47185 for ac_func in _powl
47186 do :
47187 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
47188 if test "x$ac_cv_func__powl" = xyes; then :
47189 cat >>confdefs.h <<_ACEOF
47190 #define HAVE__POWL 1
47191 _ACEOF
47194 done
47203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
47204 $as_echo_n "checking for sqrtl declaration... " >&6; }
47205 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
47206 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
47207 $as_echo_n "(cached) " >&6
47208 else
47211 ac_ext=cpp
47212 ac_cpp='$CXXCPP $CPPFLAGS'
47213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47218 /* end confdefs.h. */
47219 #include <math.h>
47220 #ifdef HAVE_IEEEFP_H
47221 #include <ieeefp.h>
47222 #endif
47225 main ()
47227 sqrtl(0);
47229 return 0;
47231 _ACEOF
47232 if ac_fn_cxx_try_compile "$LINENO"; then :
47233 glibcxx_cv_func_sqrtl_use=yes
47234 else
47235 glibcxx_cv_func_sqrtl_use=no
47237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47238 ac_ext=c
47239 ac_cpp='$CPP $CPPFLAGS'
47240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
47249 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
47251 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
47252 for ac_func in sqrtl
47253 do :
47254 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
47255 if test "x$ac_cv_func_sqrtl" = xyes; then :
47256 cat >>confdefs.h <<_ACEOF
47257 #define HAVE_SQRTL 1
47258 _ACEOF
47261 done
47263 else
47265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
47266 $as_echo_n "checking for _sqrtl declaration... " >&6; }
47267 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
47268 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
47269 $as_echo_n "(cached) " >&6
47270 else
47273 ac_ext=cpp
47274 ac_cpp='$CXXCPP $CPPFLAGS'
47275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47280 /* end confdefs.h. */
47281 #include <math.h>
47282 #ifdef HAVE_IEEEFP_H
47283 #include <ieeefp.h>
47284 #endif
47287 main ()
47289 _sqrtl(0);
47291 return 0;
47293 _ACEOF
47294 if ac_fn_cxx_try_compile "$LINENO"; then :
47295 glibcxx_cv_func__sqrtl_use=yes
47296 else
47297 glibcxx_cv_func__sqrtl_use=no
47299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47300 ac_ext=c
47301 ac_cpp='$CPP $CPPFLAGS'
47302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
47311 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
47313 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
47314 for ac_func in _sqrtl
47315 do :
47316 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
47317 if test "x$ac_cv_func__sqrtl" = xyes; then :
47318 cat >>confdefs.h <<_ACEOF
47319 #define HAVE__SQRTL 1
47320 _ACEOF
47323 done
47332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
47333 $as_echo_n "checking for sincosl declaration... " >&6; }
47334 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
47335 if ${glibcxx_cv_func_sincosl_use+:} false; then :
47336 $as_echo_n "(cached) " >&6
47337 else
47340 ac_ext=cpp
47341 ac_cpp='$CXXCPP $CPPFLAGS'
47342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47347 /* end confdefs.h. */
47348 #include <math.h>
47350 main ()
47352 sincosl(0, 0, 0);
47354 return 0;
47356 _ACEOF
47357 if ac_fn_cxx_try_compile "$LINENO"; then :
47358 glibcxx_cv_func_sincosl_use=yes
47359 else
47360 glibcxx_cv_func_sincosl_use=no
47362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47363 ac_ext=c
47364 ac_cpp='$CPP $CPPFLAGS'
47365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
47374 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
47376 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
47377 for ac_func in sincosl
47378 do :
47379 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
47380 if test "x$ac_cv_func_sincosl" = xyes; then :
47381 cat >>confdefs.h <<_ACEOF
47382 #define HAVE_SINCOSL 1
47383 _ACEOF
47386 done
47388 else
47390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
47391 $as_echo_n "checking for _sincosl declaration... " >&6; }
47392 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
47393 if ${glibcxx_cv_func__sincosl_use+:} false; then :
47394 $as_echo_n "(cached) " >&6
47395 else
47398 ac_ext=cpp
47399 ac_cpp='$CXXCPP $CPPFLAGS'
47400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47405 /* end confdefs.h. */
47406 #include <math.h>
47408 main ()
47410 _sincosl(0, 0, 0);
47412 return 0;
47414 _ACEOF
47415 if ac_fn_cxx_try_compile "$LINENO"; then :
47416 glibcxx_cv_func__sincosl_use=yes
47417 else
47418 glibcxx_cv_func__sincosl_use=no
47420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47421 ac_ext=c
47422 ac_cpp='$CPP $CPPFLAGS'
47423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
47432 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
47434 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
47435 for ac_func in _sincosl
47436 do :
47437 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
47438 if test "x$ac_cv_func__sincosl" = xyes; then :
47439 cat >>confdefs.h <<_ACEOF
47440 #define HAVE__SINCOSL 1
47441 _ACEOF
47444 done
47453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
47454 $as_echo_n "checking for finitel declaration... " >&6; }
47455 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
47456 if ${glibcxx_cv_func_finitel_use+:} false; then :
47457 $as_echo_n "(cached) " >&6
47458 else
47461 ac_ext=cpp
47462 ac_cpp='$CXXCPP $CPPFLAGS'
47463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47468 /* end confdefs.h. */
47469 #include <math.h>
47470 #ifdef HAVE_IEEEFP_H
47471 #include <ieeefp.h>
47472 #endif
47475 main ()
47477 finitel(0);
47479 return 0;
47481 _ACEOF
47482 if ac_fn_cxx_try_compile "$LINENO"; then :
47483 glibcxx_cv_func_finitel_use=yes
47484 else
47485 glibcxx_cv_func_finitel_use=no
47487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47488 ac_ext=c
47489 ac_cpp='$CPP $CPPFLAGS'
47490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
47499 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
47501 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
47502 for ac_func in finitel
47503 do :
47504 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
47505 if test "x$ac_cv_func_finitel" = xyes; then :
47506 cat >>confdefs.h <<_ACEOF
47507 #define HAVE_FINITEL 1
47508 _ACEOF
47511 done
47513 else
47515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
47516 $as_echo_n "checking for _finitel declaration... " >&6; }
47517 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
47518 if ${glibcxx_cv_func__finitel_use+:} false; then :
47519 $as_echo_n "(cached) " >&6
47520 else
47523 ac_ext=cpp
47524 ac_cpp='$CXXCPP $CPPFLAGS'
47525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47530 /* end confdefs.h. */
47531 #include <math.h>
47532 #ifdef HAVE_IEEEFP_H
47533 #include <ieeefp.h>
47534 #endif
47537 main ()
47539 _finitel(0);
47541 return 0;
47543 _ACEOF
47544 if ac_fn_cxx_try_compile "$LINENO"; then :
47545 glibcxx_cv_func__finitel_use=yes
47546 else
47547 glibcxx_cv_func__finitel_use=no
47549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47550 ac_ext=c
47551 ac_cpp='$CPP $CPPFLAGS'
47552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
47561 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
47563 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
47564 for ac_func in _finitel
47565 do :
47566 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
47567 if test "x$ac_cv_func__finitel" = xyes; then :
47568 cat >>confdefs.h <<_ACEOF
47569 #define HAVE__FINITEL 1
47570 _ACEOF
47573 done
47581 LIBS="$ac_save_LIBS"
47582 CXXFLAGS="$ac_save_CXXFLAGS"
47585 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47586 ac_save_CXXFLAGS="$CXXFLAGS"
47587 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
47591 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
47592 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
47593 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
47594 $as_echo_n "(cached) " >&6
47595 else
47598 ac_ext=cpp
47599 ac_cpp='$CXXCPP $CPPFLAGS'
47600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47605 /* end confdefs.h. */
47606 #include <stdlib.h>
47608 main ()
47610 at_quick_exit(0);
47612 return 0;
47614 _ACEOF
47615 if ac_fn_cxx_try_compile "$LINENO"; then :
47616 glibcxx_cv_func_at_quick_exit_use=yes
47617 else
47618 glibcxx_cv_func_at_quick_exit_use=no
47620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47621 ac_ext=c
47622 ac_cpp='$CPP $CPPFLAGS'
47623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
47632 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
47633 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
47634 for ac_func in at_quick_exit
47635 do :
47636 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
47637 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
47638 cat >>confdefs.h <<_ACEOF
47639 #define HAVE_AT_QUICK_EXIT 1
47640 _ACEOF
47643 done
47648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
47649 $as_echo_n "checking for quick_exit declaration... " >&6; }
47650 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
47651 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
47652 $as_echo_n "(cached) " >&6
47653 else
47656 ac_ext=cpp
47657 ac_cpp='$CXXCPP $CPPFLAGS'
47658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47663 /* end confdefs.h. */
47664 #include <stdlib.h>
47666 main ()
47668 quick_exit(0);
47670 return 0;
47672 _ACEOF
47673 if ac_fn_cxx_try_compile "$LINENO"; then :
47674 glibcxx_cv_func_quick_exit_use=yes
47675 else
47676 glibcxx_cv_func_quick_exit_use=no
47678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47679 ac_ext=c
47680 ac_cpp='$CPP $CPPFLAGS'
47681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
47690 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
47691 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
47692 for ac_func in quick_exit
47693 do :
47694 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
47695 if test "x$ac_cv_func_quick_exit" = xyes; then :
47696 cat >>confdefs.h <<_ACEOF
47697 #define HAVE_QUICK_EXIT 1
47698 _ACEOF
47701 done
47706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
47707 $as_echo_n "checking for strtold declaration... " >&6; }
47708 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
47709 if ${glibcxx_cv_func_strtold_use+:} false; then :
47710 $as_echo_n "(cached) " >&6
47711 else
47714 ac_ext=cpp
47715 ac_cpp='$CXXCPP $CPPFLAGS'
47716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47721 /* end confdefs.h. */
47722 #include <stdlib.h>
47724 main ()
47726 strtold(0, 0);
47728 return 0;
47730 _ACEOF
47731 if ac_fn_cxx_try_compile "$LINENO"; then :
47732 glibcxx_cv_func_strtold_use=yes
47733 else
47734 glibcxx_cv_func_strtold_use=no
47736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47737 ac_ext=c
47738 ac_cpp='$CPP $CPPFLAGS'
47739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47748 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47749 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47750 for ac_func in strtold
47751 do :
47752 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47753 if test "x$ac_cv_func_strtold" = xyes; then :
47754 cat >>confdefs.h <<_ACEOF
47755 #define HAVE_STRTOLD 1
47756 _ACEOF
47759 done
47766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47767 $as_echo_n "checking for strtof declaration... " >&6; }
47768 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47769 if ${glibcxx_cv_func_strtof_use+:} false; then :
47770 $as_echo_n "(cached) " >&6
47771 else
47774 ac_ext=cpp
47775 ac_cpp='$CXXCPP $CPPFLAGS'
47776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47781 /* end confdefs.h. */
47782 #include <stdlib.h>
47784 main ()
47786 strtof(0, 0);
47788 return 0;
47790 _ACEOF
47791 if ac_fn_cxx_try_compile "$LINENO"; then :
47792 glibcxx_cv_func_strtof_use=yes
47793 else
47794 glibcxx_cv_func_strtof_use=no
47796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47797 ac_ext=c
47798 ac_cpp='$CPP $CPPFLAGS'
47799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47808 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47809 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47810 for ac_func in strtof
47811 do :
47812 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47813 if test "x$ac_cv_func_strtof" = xyes; then :
47814 cat >>confdefs.h <<_ACEOF
47815 #define HAVE_STRTOF 1
47816 _ACEOF
47819 done
47826 CXXFLAGS="$ac_save_CXXFLAGS"
47829 for ac_func in uselocale
47830 do :
47831 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
47832 if test "x$ac_cv_func_uselocale" = xyes; then :
47833 cat >>confdefs.h <<_ACEOF
47834 #define HAVE_USELOCALE 1
47835 _ACEOF
47838 done
47842 *djgpp)
47843 # GLIBCXX_CHECK_MATH_SUPPORT
47844 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47846 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47848 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47850 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
47852 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47856 *-freebsd*)
47857 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47860 # If we're not using GNU ld, then there's no point in even trying these
47861 # tests. Check for that first. We should have already tested for gld
47862 # by now (in libtool), but require it now just to be safe...
47863 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47864 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47868 # The name set by libtool depends on the version of libtool. Shame on us
47869 # for depending on an impl detail, but c'est la vie. Older versions used
47870 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47871 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47872 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
47873 # set (hence we're using an older libtool), then set it.
47874 if test x${with_gnu_ld+set} != xset; then
47875 if test x${ac_cv_prog_gnu_ld+set} != xset; then
47876 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
47877 with_gnu_ld=no
47878 else
47879 with_gnu_ld=$ac_cv_prog_gnu_ld
47883 # Start by getting the version number. I think the libtool test already
47884 # does some of this, but throws away the result.
47885 glibcxx_ld_is_gold=no
47886 if test x"$with_gnu_ld" = x"yes"; then
47887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47888 $as_echo_n "checking for ld version... " >&6; }
47890 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47891 glibcxx_ld_is_gold=yes
47893 ldver=`$LD --version 2>/dev/null |
47894 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47896 glibcxx_gnu_ld_version=`echo $ldver | \
47897 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47899 $as_echo "$glibcxx_gnu_ld_version" >&6; }
47902 # Set --gc-sections.
47903 glibcxx_have_gc_sections=no
47904 if test "$glibcxx_ld_is_gold" = "yes"; then
47905 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47906 glibcxx_have_gc_sections=yes
47908 else
47909 glibcxx_gcsections_min_ld=21602
47910 if test x"$with_gnu_ld" = x"yes" &&
47911 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47912 glibcxx_have_gc_sections=yes
47915 if test "$glibcxx_have_gc_sections" = "yes"; then
47916 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
47917 # NB: This flag only works reliably after 2.16.1. Configure tests
47918 # for this are difficult, so hard wire a value that should work.
47920 ac_test_CFLAGS="${CFLAGS+set}"
47921 ac_save_CFLAGS="$CFLAGS"
47922 CFLAGS='-Wl,--gc-sections'
47924 # Check for -Wl,--gc-sections
47925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47926 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47927 if test x$gcc_no_link = xyes; then
47928 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47931 /* end confdefs.h. */
47932 int one(void) { return 1; }
47933 int two(void) { return 2; }
47936 main ()
47938 two();
47940 return 0;
47942 _ACEOF
47943 if ac_fn_c_try_link "$LINENO"; then :
47944 ac_gcsections=yes
47945 else
47946 ac_gcsections=no
47948 rm -f core conftest.err conftest.$ac_objext \
47949 conftest$ac_exeext conftest.$ac_ext
47950 if test "$ac_gcsections" = "yes"; then
47951 rm -f conftest.c
47952 touch conftest.c
47953 if $CC -c conftest.c; then
47954 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
47955 grep "Warning: gc-sections option ignored" > /dev/null; then
47956 ac_gcsections=no
47959 rm -f conftest.c conftest.o conftest
47961 if test "$ac_gcsections" = "yes"; then
47962 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
47965 $as_echo "$ac_gcsections" >&6; }
47967 if test "$ac_test_CFLAGS" = set; then
47968 CFLAGS="$ac_save_CFLAGS"
47969 else
47970 # this is the suspicious part
47971 CFLAGS=''
47975 # Set -z,relro.
47976 # Note this is only for shared objects.
47977 ac_ld_relro=no
47978 if test x"$with_gnu_ld" = x"yes"; then
47979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
47980 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
47981 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
47982 if test -n "$cxx_z_relo"; then
47983 OPT_LDFLAGS="-Wl,-z,relro"
47984 ac_ld_relro=yes
47986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
47987 $as_echo "$ac_ld_relro" >&6; }
47990 # Set linker optimization flags.
47991 if test x"$with_gnu_ld" = x"yes"; then
47992 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
47998 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
48000 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
48002 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
48004 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
48006 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
48008 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
48010 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
48012 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
48014 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
48017 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
48019 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
48021 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
48023 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
48025 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
48027 $as_echo "#define HAVE_COSF 1" >>confdefs.h
48029 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
48031 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
48033 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
48035 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
48037 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
48039 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
48041 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
48043 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
48045 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
48047 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
48049 $as_echo "#define HAVE_POWF 1" >>confdefs.h
48051 $as_echo "#define HAVE_SINF 1" >>confdefs.h
48053 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
48055 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
48057 $as_echo "#define HAVE_TANF 1" >>confdefs.h
48059 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
48061 if test x"long_double_math_on_this_cpu" = x"yes"; then
48062 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
48064 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
48066 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
48069 for ac_func in __cxa_thread_atexit
48070 do :
48071 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
48072 if test "x$ac_cv_func___cxa_thread_atexit" = xyes; then :
48073 cat >>confdefs.h <<_ACEOF
48074 #define HAVE___CXA_THREAD_ATEXIT 1
48075 _ACEOF
48078 done
48080 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
48081 do :
48082 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48083 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48084 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
48085 cat >>confdefs.h <<_ACEOF
48086 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48087 _ACEOF
48090 done
48092 for ac_func in timespec_get
48093 do :
48094 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
48095 if test "x$ac_cv_func_timespec_get" = xyes; then :
48096 cat >>confdefs.h <<_ACEOF
48097 #define HAVE_TIMESPEC_GET 1
48098 _ACEOF
48101 done
48103 for ac_func in sockatmark
48104 do :
48105 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
48106 if test "x$ac_cv_func_sockatmark" = xyes; then :
48107 cat >>confdefs.h <<_ACEOF
48108 #define HAVE_SOCKATMARK 1
48109 _ACEOF
48112 done
48114 for ac_func in uselocale
48115 do :
48116 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
48117 if test "x$ac_cv_func_uselocale" = xyes; then :
48118 cat >>confdefs.h <<_ACEOF
48119 #define HAVE_USELOCALE 1
48120 _ACEOF
48123 done
48127 *-fuchsia*)
48128 SECTION_FLAGS='-ffunction-sections -fdata-sections'
48132 *-hpux*)
48133 SECTION_FLAGS='-ffunction-sections -fdata-sections'
48136 # If we're not using GNU ld, then there's no point in even trying these
48137 # tests. Check for that first. We should have already tested for gld
48138 # by now (in libtool), but require it now just to be safe...
48139 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
48140 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
48144 # The name set by libtool depends on the version of libtool. Shame on us
48145 # for depending on an impl detail, but c'est la vie. Older versions used
48146 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
48147 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
48148 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
48149 # set (hence we're using an older libtool), then set it.
48150 if test x${with_gnu_ld+set} != xset; then
48151 if test x${ac_cv_prog_gnu_ld+set} != xset; then
48152 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
48153 with_gnu_ld=no
48154 else
48155 with_gnu_ld=$ac_cv_prog_gnu_ld
48159 # Start by getting the version number. I think the libtool test already
48160 # does some of this, but throws away the result.
48161 glibcxx_ld_is_gold=no
48162 if test x"$with_gnu_ld" = x"yes"; then
48163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
48164 $as_echo_n "checking for ld version... " >&6; }
48166 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
48167 glibcxx_ld_is_gold=yes
48169 ldver=`$LD --version 2>/dev/null |
48170 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
48172 glibcxx_gnu_ld_version=`echo $ldver | \
48173 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
48174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
48175 $as_echo "$glibcxx_gnu_ld_version" >&6; }
48178 # Set --gc-sections.
48179 glibcxx_have_gc_sections=no
48180 if test "$glibcxx_ld_is_gold" = "yes"; then
48181 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
48182 glibcxx_have_gc_sections=yes
48184 else
48185 glibcxx_gcsections_min_ld=21602
48186 if test x"$with_gnu_ld" = x"yes" &&
48187 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
48188 glibcxx_have_gc_sections=yes
48191 if test "$glibcxx_have_gc_sections" = "yes"; then
48192 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
48193 # NB: This flag only works reliably after 2.16.1. Configure tests
48194 # for this are difficult, so hard wire a value that should work.
48196 ac_test_CFLAGS="${CFLAGS+set}"
48197 ac_save_CFLAGS="$CFLAGS"
48198 CFLAGS='-Wl,--gc-sections'
48200 # Check for -Wl,--gc-sections
48201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
48202 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
48203 if test x$gcc_no_link = xyes; then
48204 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48207 /* end confdefs.h. */
48208 int one(void) { return 1; }
48209 int two(void) { return 2; }
48212 main ()
48214 two();
48216 return 0;
48218 _ACEOF
48219 if ac_fn_c_try_link "$LINENO"; then :
48220 ac_gcsections=yes
48221 else
48222 ac_gcsections=no
48224 rm -f core conftest.err conftest.$ac_objext \
48225 conftest$ac_exeext conftest.$ac_ext
48226 if test "$ac_gcsections" = "yes"; then
48227 rm -f conftest.c
48228 touch conftest.c
48229 if $CC -c conftest.c; then
48230 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
48231 grep "Warning: gc-sections option ignored" > /dev/null; then
48232 ac_gcsections=no
48235 rm -f conftest.c conftest.o conftest
48237 if test "$ac_gcsections" = "yes"; then
48238 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
48240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
48241 $as_echo "$ac_gcsections" >&6; }
48243 if test "$ac_test_CFLAGS" = set; then
48244 CFLAGS="$ac_save_CFLAGS"
48245 else
48246 # this is the suspicious part
48247 CFLAGS=''
48251 # Set -z,relro.
48252 # Note this is only for shared objects.
48253 ac_ld_relro=no
48254 if test x"$with_gnu_ld" = x"yes"; then
48255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
48256 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
48257 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
48258 if test -n "$cxx_z_relo"; then
48259 OPT_LDFLAGS="-Wl,-z,relro"
48260 ac_ld_relro=yes
48262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
48263 $as_echo "$ac_ld_relro" >&6; }
48266 # Set linker optimization flags.
48267 if test x"$with_gnu_ld" = x"yes"; then
48268 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
48275 # GLIBCXX_CHECK_MATH_SUPPORT
48276 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
48278 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
48280 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
48282 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
48284 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
48286 $as_echo "#define HAVE_COSF 1" >>confdefs.h
48288 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
48290 $as_echo "#define HAVE_SINF 1" >>confdefs.h
48292 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
48294 $as_echo "#define HAVE_TANF 1" >>confdefs.h
48296 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
48298 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
48300 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
48302 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
48304 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
48306 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
48308 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
48310 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
48312 $as_echo "#define HAVE_MODF 1" >>confdefs.h
48314 $as_echo "#define HAVE_POWF 1" >>confdefs.h
48316 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
48319 # GLIBCXX_CHECK_STDLIB_SUPPORT
48320 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
48325 # Check whether --enable-tls was given.
48326 if test "${enable_tls+set}" = set; then :
48327 enableval=$enable_tls;
48328 case "$enableval" in
48329 yes|no) ;;
48330 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
48331 esac
48333 else
48334 enable_tls=yes
48338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
48339 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
48340 if ${gcc_cv_have_tls+:} false; then :
48341 $as_echo_n "(cached) " >&6
48342 else
48344 if test "$cross_compiling" = yes; then :
48345 if test x$gcc_no_link = xyes; then
48346 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48349 /* end confdefs.h. */
48350 __thread int a; int b; int main() { return a = b; }
48351 _ACEOF
48352 if ac_fn_c_try_link "$LINENO"; then :
48353 chktls_save_LDFLAGS="$LDFLAGS"
48354 case $host in
48355 *-*-linux* | -*-uclinuxfdpic*)
48356 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
48358 esac
48359 chktls_save_CFLAGS="$CFLAGS"
48360 CFLAGS="-fPIC $CFLAGS"
48361 if test x$gcc_no_link = xyes; then
48362 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48365 /* end confdefs.h. */
48366 int f() { return 0; }
48367 _ACEOF
48368 if ac_fn_c_try_link "$LINENO"; then :
48369 if test x$gcc_no_link = xyes; then
48370 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48373 /* end confdefs.h. */
48374 __thread int a; int b; int f() { return a = b; }
48375 _ACEOF
48376 if ac_fn_c_try_link "$LINENO"; then :
48377 gcc_cv_have_tls=yes
48378 else
48379 gcc_cv_have_tls=no
48381 rm -f core conftest.err conftest.$ac_objext \
48382 conftest$ac_exeext conftest.$ac_ext
48383 else
48384 gcc_cv_have_tls=yes
48386 rm -f core conftest.err conftest.$ac_objext \
48387 conftest$ac_exeext conftest.$ac_ext
48388 CFLAGS="$chktls_save_CFLAGS"
48389 LDFLAGS="$chktls_save_LDFLAGS"
48390 else
48391 gcc_cv_have_tls=no
48393 rm -f core conftest.err conftest.$ac_objext \
48394 conftest$ac_exeext conftest.$ac_ext
48397 else
48398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48399 /* end confdefs.h. */
48400 __thread int a; int b; int main() { return a = b; }
48401 _ACEOF
48402 if ac_fn_c_try_run "$LINENO"; then :
48403 chktls_save_LDFLAGS="$LDFLAGS"
48404 LDFLAGS="-static $LDFLAGS"
48405 if test x$gcc_no_link = xyes; then
48406 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48409 /* end confdefs.h. */
48410 int main() { return 0; }
48411 _ACEOF
48412 if ac_fn_c_try_link "$LINENO"; then :
48413 if test "$cross_compiling" = yes; then :
48414 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
48415 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
48416 as_fn_error $? "cannot run test program while cross compiling
48417 See \`config.log' for more details" "$LINENO" 5; }
48418 else
48419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48420 /* end confdefs.h. */
48421 __thread int a; int b; int main() { return a = b; }
48422 _ACEOF
48423 if ac_fn_c_try_run "$LINENO"; then :
48424 gcc_cv_have_tls=yes
48425 else
48426 gcc_cv_have_tls=no
48428 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
48429 conftest.$ac_objext conftest.beam conftest.$ac_ext
48432 else
48433 gcc_cv_have_tls=yes
48435 rm -f core conftest.err conftest.$ac_objext \
48436 conftest$ac_exeext conftest.$ac_ext
48437 LDFLAGS="$chktls_save_LDFLAGS"
48438 if test $gcc_cv_have_tls = yes; then
48439 chktls_save_CFLAGS="$CFLAGS"
48440 thread_CFLAGS=failed
48441 for flag in '' '-pthread' '-lpthread'; do
48442 CFLAGS="$flag $chktls_save_CFLAGS"
48443 if test x$gcc_no_link = xyes; then
48444 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48447 /* end confdefs.h. */
48448 #include <pthread.h>
48449 void *g(void *d) { return NULL; }
48451 main ()
48453 pthread_t t; pthread_create(&t,NULL,g,NULL);
48455 return 0;
48457 _ACEOF
48458 if ac_fn_c_try_link "$LINENO"; then :
48459 thread_CFLAGS="$flag"
48461 rm -f core conftest.err conftest.$ac_objext \
48462 conftest$ac_exeext conftest.$ac_ext
48463 if test "X$thread_CFLAGS" != Xfailed; then
48464 break
48466 done
48467 CFLAGS="$chktls_save_CFLAGS"
48468 if test "X$thread_CFLAGS" != Xfailed; then
48469 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
48470 if test "$cross_compiling" = yes; then :
48471 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
48472 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
48473 as_fn_error $? "cannot run test program while cross compiling
48474 See \`config.log' for more details" "$LINENO" 5; }
48475 else
48476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48477 /* end confdefs.h. */
48478 #include <pthread.h>
48479 __thread int a;
48480 static int *volatile a_in_other_thread;
48481 static void *
48482 thread_func (void *arg)
48484 a_in_other_thread = &a;
48485 return (void *)0;
48488 main ()
48490 pthread_t thread;
48491 void *thread_retval;
48492 int *volatile a_in_main_thread;
48493 a_in_main_thread = &a;
48494 if (pthread_create (&thread, (pthread_attr_t *)0,
48495 thread_func, (void *)0))
48496 return 0;
48497 if (pthread_join (thread, &thread_retval))
48498 return 0;
48499 return (a_in_other_thread == a_in_main_thread);
48501 return 0;
48503 _ACEOF
48504 if ac_fn_c_try_run "$LINENO"; then :
48505 gcc_cv_have_tls=yes
48506 else
48507 gcc_cv_have_tls=no
48509 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
48510 conftest.$ac_objext conftest.beam conftest.$ac_ext
48513 CFLAGS="$chktls_save_CFLAGS"
48516 else
48517 gcc_cv_have_tls=no
48519 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
48520 conftest.$ac_objext conftest.beam conftest.$ac_ext
48524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
48525 $as_echo "$gcc_cv_have_tls" >&6; }
48526 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
48528 $as_echo "#define HAVE_TLS 1" >>confdefs.h
48531 case "$target" in
48532 *-hpux10*)
48533 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
48535 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
48537 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
48539 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
48541 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
48544 esac
48546 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
48548 # All these tests are for C++; save the language and the compiler flags.
48549 # The CXXFLAGS thing is suspicious, but based on similar bits previously
48550 # found in GLIBCXX_CONFIGURE.
48552 ac_ext=cpp
48553 ac_cpp='$CXXCPP $CPPFLAGS'
48554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48558 ac_test_CXXFLAGS="${CXXFLAGS+set}"
48559 ac_save_CXXFLAGS="$CXXFLAGS"
48561 # Check for -ffunction-sections -fdata-sections
48562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
48563 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
48564 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
48565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48566 /* end confdefs.h. */
48567 int foo; void bar() { };
48569 main ()
48573 return 0;
48575 _ACEOF
48576 if ac_fn_cxx_try_compile "$LINENO"; then :
48577 ac_fdsections=yes
48578 else
48579 ac_fdsections=no
48581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48582 if test "$ac_test_CXXFLAGS" = set; then
48583 CXXFLAGS="$ac_save_CXXFLAGS"
48584 else
48585 # this is the suspicious part
48586 CXXFLAGS=''
48588 if test x"$ac_fdsections" = x"yes"; then
48589 SECTION_FLAGS='-ffunction-sections -fdata-sections'
48591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
48592 $as_echo "$ac_fdsections" >&6; }
48594 ac_ext=c
48595 ac_cpp='$CPP $CPPFLAGS'
48596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48603 # If we're not using GNU ld, then there's no point in even trying these
48604 # tests. Check for that first. We should have already tested for gld
48605 # by now (in libtool), but require it now just to be safe...
48606 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
48607 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
48611 # The name set by libtool depends on the version of libtool. Shame on us
48612 # for depending on an impl detail, but c'est la vie. Older versions used
48613 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
48614 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
48615 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
48616 # set (hence we're using an older libtool), then set it.
48617 if test x${with_gnu_ld+set} != xset; then
48618 if test x${ac_cv_prog_gnu_ld+set} != xset; then
48619 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
48620 with_gnu_ld=no
48621 else
48622 with_gnu_ld=$ac_cv_prog_gnu_ld
48626 # Start by getting the version number. I think the libtool test already
48627 # does some of this, but throws away the result.
48628 glibcxx_ld_is_gold=no
48629 if test x"$with_gnu_ld" = x"yes"; then
48630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
48631 $as_echo_n "checking for ld version... " >&6; }
48633 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
48634 glibcxx_ld_is_gold=yes
48636 ldver=`$LD --version 2>/dev/null |
48637 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
48639 glibcxx_gnu_ld_version=`echo $ldver | \
48640 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
48641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
48642 $as_echo "$glibcxx_gnu_ld_version" >&6; }
48645 # Set --gc-sections.
48646 glibcxx_have_gc_sections=no
48647 if test "$glibcxx_ld_is_gold" = "yes"; then
48648 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
48649 glibcxx_have_gc_sections=yes
48651 else
48652 glibcxx_gcsections_min_ld=21602
48653 if test x"$with_gnu_ld" = x"yes" &&
48654 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
48655 glibcxx_have_gc_sections=yes
48658 if test "$glibcxx_have_gc_sections" = "yes"; then
48659 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
48660 # NB: This flag only works reliably after 2.16.1. Configure tests
48661 # for this are difficult, so hard wire a value that should work.
48663 ac_test_CFLAGS="${CFLAGS+set}"
48664 ac_save_CFLAGS="$CFLAGS"
48665 CFLAGS='-Wl,--gc-sections'
48667 # Check for -Wl,--gc-sections
48668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
48669 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
48670 if test x$gcc_no_link = xyes; then
48671 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48674 /* end confdefs.h. */
48675 int one(void) { return 1; }
48676 int two(void) { return 2; }
48679 main ()
48681 two();
48683 return 0;
48685 _ACEOF
48686 if ac_fn_c_try_link "$LINENO"; then :
48687 ac_gcsections=yes
48688 else
48689 ac_gcsections=no
48691 rm -f core conftest.err conftest.$ac_objext \
48692 conftest$ac_exeext conftest.$ac_ext
48693 if test "$ac_gcsections" = "yes"; then
48694 rm -f conftest.c
48695 touch conftest.c
48696 if $CC -c conftest.c; then
48697 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
48698 grep "Warning: gc-sections option ignored" > /dev/null; then
48699 ac_gcsections=no
48702 rm -f conftest.c conftest.o conftest
48704 if test "$ac_gcsections" = "yes"; then
48705 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
48707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
48708 $as_echo "$ac_gcsections" >&6; }
48710 if test "$ac_test_CFLAGS" = set; then
48711 CFLAGS="$ac_save_CFLAGS"
48712 else
48713 # this is the suspicious part
48714 CFLAGS=''
48718 # Set -z,relro.
48719 # Note this is only for shared objects.
48720 ac_ld_relro=no
48721 if test x"$with_gnu_ld" = x"yes"; then
48722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
48723 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
48724 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
48725 if test -n "$cxx_z_relo"; then
48726 OPT_LDFLAGS="-Wl,-z,relro"
48727 ac_ld_relro=yes
48729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
48730 $as_echo "$ac_ld_relro" >&6; }
48733 # Set linker optimization flags.
48734 if test x"$with_gnu_ld" = x"yes"; then
48735 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
48742 ac_test_CXXFLAGS="${CXXFLAGS+set}"
48743 ac_save_CXXFLAGS="$CXXFLAGS"
48744 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
48746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
48747 $as_echo_n "checking for sin in -lm... " >&6; }
48748 if ${ac_cv_lib_m_sin+:} false; then :
48749 $as_echo_n "(cached) " >&6
48750 else
48751 ac_check_lib_save_LIBS=$LIBS
48752 LIBS="-lm $LIBS"
48753 if test x$gcc_no_link = xyes; then
48754 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48757 /* end confdefs.h. */
48759 /* Override any GCC internal prototype to avoid an error.
48760 Use char because int might match the return type of a GCC
48761 builtin and then its argument prototype would still apply. */
48762 #ifdef __cplusplus
48763 extern "C"
48764 #endif
48765 char sin ();
48767 main ()
48769 return sin ();
48771 return 0;
48773 _ACEOF
48774 if ac_fn_c_try_link "$LINENO"; then :
48775 ac_cv_lib_m_sin=yes
48776 else
48777 ac_cv_lib_m_sin=no
48779 rm -f core conftest.err conftest.$ac_objext \
48780 conftest$ac_exeext conftest.$ac_ext
48781 LIBS=$ac_check_lib_save_LIBS
48783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
48784 $as_echo "$ac_cv_lib_m_sin" >&6; }
48785 if test "x$ac_cv_lib_m_sin" = xyes; then :
48786 libm="-lm"
48789 ac_save_LIBS="$LIBS"
48790 LIBS="$LIBS $libm"
48794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
48795 $as_echo_n "checking for isinf declaration... " >&6; }
48796 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
48797 if ${glibcxx_cv_func_isinf_use+:} false; then :
48798 $as_echo_n "(cached) " >&6
48799 else
48802 ac_ext=cpp
48803 ac_cpp='$CXXCPP $CPPFLAGS'
48804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48809 /* end confdefs.h. */
48810 #include <math.h>
48811 #ifdef HAVE_IEEEFP_H
48812 #include <ieeefp.h>
48813 #endif
48816 main ()
48818 isinf(0);
48820 return 0;
48822 _ACEOF
48823 if ac_fn_cxx_try_compile "$LINENO"; then :
48824 glibcxx_cv_func_isinf_use=yes
48825 else
48826 glibcxx_cv_func_isinf_use=no
48828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48829 ac_ext=c
48830 ac_cpp='$CPP $CPPFLAGS'
48831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
48840 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
48842 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
48843 for ac_func in isinf
48844 do :
48845 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
48846 if test "x$ac_cv_func_isinf" = xyes; then :
48847 cat >>confdefs.h <<_ACEOF
48848 #define HAVE_ISINF 1
48849 _ACEOF
48852 done
48854 else
48856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
48857 $as_echo_n "checking for _isinf declaration... " >&6; }
48858 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
48859 if ${glibcxx_cv_func__isinf_use+:} false; then :
48860 $as_echo_n "(cached) " >&6
48861 else
48864 ac_ext=cpp
48865 ac_cpp='$CXXCPP $CPPFLAGS'
48866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48871 /* end confdefs.h. */
48872 #include <math.h>
48873 #ifdef HAVE_IEEEFP_H
48874 #include <ieeefp.h>
48875 #endif
48878 main ()
48880 _isinf(0);
48882 return 0;
48884 _ACEOF
48885 if ac_fn_cxx_try_compile "$LINENO"; then :
48886 glibcxx_cv_func__isinf_use=yes
48887 else
48888 glibcxx_cv_func__isinf_use=no
48890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48891 ac_ext=c
48892 ac_cpp='$CPP $CPPFLAGS'
48893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
48902 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
48904 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
48905 for ac_func in _isinf
48906 do :
48907 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
48908 if test "x$ac_cv_func__isinf" = xyes; then :
48909 cat >>confdefs.h <<_ACEOF
48910 #define HAVE__ISINF 1
48911 _ACEOF
48914 done
48923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
48924 $as_echo_n "checking for isnan declaration... " >&6; }
48925 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
48926 if ${glibcxx_cv_func_isnan_use+:} false; then :
48927 $as_echo_n "(cached) " >&6
48928 else
48931 ac_ext=cpp
48932 ac_cpp='$CXXCPP $CPPFLAGS'
48933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48938 /* end confdefs.h. */
48939 #include <math.h>
48940 #ifdef HAVE_IEEEFP_H
48941 #include <ieeefp.h>
48942 #endif
48945 main ()
48947 isnan(0);
48949 return 0;
48951 _ACEOF
48952 if ac_fn_cxx_try_compile "$LINENO"; then :
48953 glibcxx_cv_func_isnan_use=yes
48954 else
48955 glibcxx_cv_func_isnan_use=no
48957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48958 ac_ext=c
48959 ac_cpp='$CPP $CPPFLAGS'
48960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
48969 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
48971 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
48972 for ac_func in isnan
48973 do :
48974 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
48975 if test "x$ac_cv_func_isnan" = xyes; then :
48976 cat >>confdefs.h <<_ACEOF
48977 #define HAVE_ISNAN 1
48978 _ACEOF
48981 done
48983 else
48985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
48986 $as_echo_n "checking for _isnan declaration... " >&6; }
48987 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
48988 if ${glibcxx_cv_func__isnan_use+:} false; then :
48989 $as_echo_n "(cached) " >&6
48990 else
48993 ac_ext=cpp
48994 ac_cpp='$CXXCPP $CPPFLAGS'
48995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49000 /* end confdefs.h. */
49001 #include <math.h>
49002 #ifdef HAVE_IEEEFP_H
49003 #include <ieeefp.h>
49004 #endif
49007 main ()
49009 _isnan(0);
49011 return 0;
49013 _ACEOF
49014 if ac_fn_cxx_try_compile "$LINENO"; then :
49015 glibcxx_cv_func__isnan_use=yes
49016 else
49017 glibcxx_cv_func__isnan_use=no
49019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49020 ac_ext=c
49021 ac_cpp='$CPP $CPPFLAGS'
49022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
49031 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
49033 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
49034 for ac_func in _isnan
49035 do :
49036 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
49037 if test "x$ac_cv_func__isnan" = xyes; then :
49038 cat >>confdefs.h <<_ACEOF
49039 #define HAVE__ISNAN 1
49040 _ACEOF
49043 done
49052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
49053 $as_echo_n "checking for finite declaration... " >&6; }
49054 if test x${glibcxx_cv_func_finite_use+set} != xset; then
49055 if ${glibcxx_cv_func_finite_use+:} false; then :
49056 $as_echo_n "(cached) " >&6
49057 else
49060 ac_ext=cpp
49061 ac_cpp='$CXXCPP $CPPFLAGS'
49062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49067 /* end confdefs.h. */
49068 #include <math.h>
49069 #ifdef HAVE_IEEEFP_H
49070 #include <ieeefp.h>
49071 #endif
49074 main ()
49076 finite(0);
49078 return 0;
49080 _ACEOF
49081 if ac_fn_cxx_try_compile "$LINENO"; then :
49082 glibcxx_cv_func_finite_use=yes
49083 else
49084 glibcxx_cv_func_finite_use=no
49086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49087 ac_ext=c
49088 ac_cpp='$CPP $CPPFLAGS'
49089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
49098 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
49100 if test x$glibcxx_cv_func_finite_use = x"yes"; then
49101 for ac_func in finite
49102 do :
49103 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
49104 if test "x$ac_cv_func_finite" = xyes; then :
49105 cat >>confdefs.h <<_ACEOF
49106 #define HAVE_FINITE 1
49107 _ACEOF
49110 done
49112 else
49114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
49115 $as_echo_n "checking for _finite declaration... " >&6; }
49116 if test x${glibcxx_cv_func__finite_use+set} != xset; then
49117 if ${glibcxx_cv_func__finite_use+:} false; then :
49118 $as_echo_n "(cached) " >&6
49119 else
49122 ac_ext=cpp
49123 ac_cpp='$CXXCPP $CPPFLAGS'
49124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49129 /* end confdefs.h. */
49130 #include <math.h>
49131 #ifdef HAVE_IEEEFP_H
49132 #include <ieeefp.h>
49133 #endif
49136 main ()
49138 _finite(0);
49140 return 0;
49142 _ACEOF
49143 if ac_fn_cxx_try_compile "$LINENO"; then :
49144 glibcxx_cv_func__finite_use=yes
49145 else
49146 glibcxx_cv_func__finite_use=no
49148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49149 ac_ext=c
49150 ac_cpp='$CPP $CPPFLAGS'
49151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
49160 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
49162 if test x$glibcxx_cv_func__finite_use = x"yes"; then
49163 for ac_func in _finite
49164 do :
49165 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
49166 if test "x$ac_cv_func__finite" = xyes; then :
49167 cat >>confdefs.h <<_ACEOF
49168 #define HAVE__FINITE 1
49169 _ACEOF
49172 done
49181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
49182 $as_echo_n "checking for sincos declaration... " >&6; }
49183 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
49184 if ${glibcxx_cv_func_sincos_use+:} false; then :
49185 $as_echo_n "(cached) " >&6
49186 else
49189 ac_ext=cpp
49190 ac_cpp='$CXXCPP $CPPFLAGS'
49191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49196 /* end confdefs.h. */
49197 #include <math.h>
49199 main ()
49201 sincos(0, 0, 0);
49203 return 0;
49205 _ACEOF
49206 if ac_fn_cxx_try_compile "$LINENO"; then :
49207 glibcxx_cv_func_sincos_use=yes
49208 else
49209 glibcxx_cv_func_sincos_use=no
49211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49212 ac_ext=c
49213 ac_cpp='$CPP $CPPFLAGS'
49214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
49223 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
49225 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
49226 for ac_func in sincos
49227 do :
49228 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
49229 if test "x$ac_cv_func_sincos" = xyes; then :
49230 cat >>confdefs.h <<_ACEOF
49231 #define HAVE_SINCOS 1
49232 _ACEOF
49235 done
49237 else
49239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
49240 $as_echo_n "checking for _sincos declaration... " >&6; }
49241 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
49242 if ${glibcxx_cv_func__sincos_use+:} false; then :
49243 $as_echo_n "(cached) " >&6
49244 else
49247 ac_ext=cpp
49248 ac_cpp='$CXXCPP $CPPFLAGS'
49249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49254 /* end confdefs.h. */
49255 #include <math.h>
49257 main ()
49259 _sincos(0, 0, 0);
49261 return 0;
49263 _ACEOF
49264 if ac_fn_cxx_try_compile "$LINENO"; then :
49265 glibcxx_cv_func__sincos_use=yes
49266 else
49267 glibcxx_cv_func__sincos_use=no
49269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49270 ac_ext=c
49271 ac_cpp='$CPP $CPPFLAGS'
49272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
49281 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
49283 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
49284 for ac_func in _sincos
49285 do :
49286 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
49287 if test "x$ac_cv_func__sincos" = xyes; then :
49288 cat >>confdefs.h <<_ACEOF
49289 #define HAVE__SINCOS 1
49290 _ACEOF
49293 done
49302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
49303 $as_echo_n "checking for fpclass declaration... " >&6; }
49304 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
49305 if ${glibcxx_cv_func_fpclass_use+:} false; then :
49306 $as_echo_n "(cached) " >&6
49307 else
49310 ac_ext=cpp
49311 ac_cpp='$CXXCPP $CPPFLAGS'
49312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49317 /* end confdefs.h. */
49318 #include <math.h>
49319 #ifdef HAVE_IEEEFP_H
49320 #include <ieeefp.h>
49321 #endif
49324 main ()
49326 fpclass(0);
49328 return 0;
49330 _ACEOF
49331 if ac_fn_cxx_try_compile "$LINENO"; then :
49332 glibcxx_cv_func_fpclass_use=yes
49333 else
49334 glibcxx_cv_func_fpclass_use=no
49336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49337 ac_ext=c
49338 ac_cpp='$CPP $CPPFLAGS'
49339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
49348 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
49350 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
49351 for ac_func in fpclass
49352 do :
49353 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
49354 if test "x$ac_cv_func_fpclass" = xyes; then :
49355 cat >>confdefs.h <<_ACEOF
49356 #define HAVE_FPCLASS 1
49357 _ACEOF
49360 done
49362 else
49364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
49365 $as_echo_n "checking for _fpclass declaration... " >&6; }
49366 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
49367 if ${glibcxx_cv_func__fpclass_use+:} false; then :
49368 $as_echo_n "(cached) " >&6
49369 else
49372 ac_ext=cpp
49373 ac_cpp='$CXXCPP $CPPFLAGS'
49374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49379 /* end confdefs.h. */
49380 #include <math.h>
49381 #ifdef HAVE_IEEEFP_H
49382 #include <ieeefp.h>
49383 #endif
49386 main ()
49388 _fpclass(0);
49390 return 0;
49392 _ACEOF
49393 if ac_fn_cxx_try_compile "$LINENO"; then :
49394 glibcxx_cv_func__fpclass_use=yes
49395 else
49396 glibcxx_cv_func__fpclass_use=no
49398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49399 ac_ext=c
49400 ac_cpp='$CPP $CPPFLAGS'
49401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
49410 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
49412 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
49413 for ac_func in _fpclass
49414 do :
49415 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
49416 if test "x$ac_cv_func__fpclass" = xyes; then :
49417 cat >>confdefs.h <<_ACEOF
49418 #define HAVE__FPCLASS 1
49419 _ACEOF
49422 done
49431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
49432 $as_echo_n "checking for qfpclass declaration... " >&6; }
49433 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
49434 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
49435 $as_echo_n "(cached) " >&6
49436 else
49439 ac_ext=cpp
49440 ac_cpp='$CXXCPP $CPPFLAGS'
49441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49446 /* end confdefs.h. */
49447 #include <math.h>
49448 #ifdef HAVE_IEEEFP_H
49449 #include <ieeefp.h>
49450 #endif
49453 main ()
49455 qfpclass(0);
49457 return 0;
49459 _ACEOF
49460 if ac_fn_cxx_try_compile "$LINENO"; then :
49461 glibcxx_cv_func_qfpclass_use=yes
49462 else
49463 glibcxx_cv_func_qfpclass_use=no
49465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49466 ac_ext=c
49467 ac_cpp='$CPP $CPPFLAGS'
49468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
49477 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
49479 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
49480 for ac_func in qfpclass
49481 do :
49482 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
49483 if test "x$ac_cv_func_qfpclass" = xyes; then :
49484 cat >>confdefs.h <<_ACEOF
49485 #define HAVE_QFPCLASS 1
49486 _ACEOF
49489 done
49491 else
49493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
49494 $as_echo_n "checking for _qfpclass declaration... " >&6; }
49495 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
49496 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
49497 $as_echo_n "(cached) " >&6
49498 else
49501 ac_ext=cpp
49502 ac_cpp='$CXXCPP $CPPFLAGS'
49503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49508 /* end confdefs.h. */
49509 #include <math.h>
49510 #ifdef HAVE_IEEEFP_H
49511 #include <ieeefp.h>
49512 #endif
49515 main ()
49517 _qfpclass(0);
49519 return 0;
49521 _ACEOF
49522 if ac_fn_cxx_try_compile "$LINENO"; then :
49523 glibcxx_cv_func__qfpclass_use=yes
49524 else
49525 glibcxx_cv_func__qfpclass_use=no
49527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49528 ac_ext=c
49529 ac_cpp='$CPP $CPPFLAGS'
49530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
49539 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
49541 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
49542 for ac_func in _qfpclass
49543 do :
49544 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
49545 if test "x$ac_cv_func__qfpclass" = xyes; then :
49546 cat >>confdefs.h <<_ACEOF
49547 #define HAVE__QFPCLASS 1
49548 _ACEOF
49551 done
49560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
49561 $as_echo_n "checking for hypot declaration... " >&6; }
49562 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
49563 if ${glibcxx_cv_func_hypot_use+:} false; then :
49564 $as_echo_n "(cached) " >&6
49565 else
49568 ac_ext=cpp
49569 ac_cpp='$CXXCPP $CPPFLAGS'
49570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49575 /* end confdefs.h. */
49576 #include <math.h>
49578 main ()
49580 hypot(0, 0);
49582 return 0;
49584 _ACEOF
49585 if ac_fn_cxx_try_compile "$LINENO"; then :
49586 glibcxx_cv_func_hypot_use=yes
49587 else
49588 glibcxx_cv_func_hypot_use=no
49590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49591 ac_ext=c
49592 ac_cpp='$CPP $CPPFLAGS'
49593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
49602 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
49604 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
49605 for ac_func in hypot
49606 do :
49607 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
49608 if test "x$ac_cv_func_hypot" = xyes; then :
49609 cat >>confdefs.h <<_ACEOF
49610 #define HAVE_HYPOT 1
49611 _ACEOF
49614 done
49616 else
49618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
49619 $as_echo_n "checking for _hypot declaration... " >&6; }
49620 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
49621 if ${glibcxx_cv_func__hypot_use+:} false; then :
49622 $as_echo_n "(cached) " >&6
49623 else
49626 ac_ext=cpp
49627 ac_cpp='$CXXCPP $CPPFLAGS'
49628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49633 /* end confdefs.h. */
49634 #include <math.h>
49636 main ()
49638 _hypot(0, 0);
49640 return 0;
49642 _ACEOF
49643 if ac_fn_cxx_try_compile "$LINENO"; then :
49644 glibcxx_cv_func__hypot_use=yes
49645 else
49646 glibcxx_cv_func__hypot_use=no
49648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49649 ac_ext=c
49650 ac_cpp='$CPP $CPPFLAGS'
49651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
49660 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
49662 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
49663 for ac_func in _hypot
49664 do :
49665 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
49666 if test "x$ac_cv_func__hypot" = xyes; then :
49667 cat >>confdefs.h <<_ACEOF
49668 #define HAVE__HYPOT 1
49669 _ACEOF
49672 done
49681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
49682 $as_echo_n "checking for float trig functions... " >&6; }
49683 if ${glibcxx_cv_func_float_trig_use+:} false; then :
49684 $as_echo_n "(cached) " >&6
49685 else
49688 ac_ext=cpp
49689 ac_cpp='$CXXCPP $CPPFLAGS'
49690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49695 /* end confdefs.h. */
49696 #include <math.h>
49698 main ()
49700 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
49702 return 0;
49704 _ACEOF
49705 if ac_fn_cxx_try_compile "$LINENO"; then :
49706 glibcxx_cv_func_float_trig_use=yes
49707 else
49708 glibcxx_cv_func_float_trig_use=no
49710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49711 ac_ext=c
49712 ac_cpp='$CPP $CPPFLAGS'
49713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
49720 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
49721 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
49722 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
49723 do :
49724 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49725 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49726 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49727 cat >>confdefs.h <<_ACEOF
49728 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49729 _ACEOF
49732 done
49734 else
49735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
49736 $as_echo_n "checking for _float trig functions... " >&6; }
49737 if ${glibcxx_cv_func__float_trig_use+:} false; then :
49738 $as_echo_n "(cached) " >&6
49739 else
49742 ac_ext=cpp
49743 ac_cpp='$CXXCPP $CPPFLAGS'
49744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49749 /* end confdefs.h. */
49750 #include <math.h>
49752 main ()
49754 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
49756 return 0;
49758 _ACEOF
49759 if ac_fn_cxx_try_compile "$LINENO"; then :
49760 glibcxx_cv_func__float_trig_use=yes
49761 else
49762 glibcxx_cv_func__float_trig_use=no
49764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49765 ac_ext=c
49766 ac_cpp='$CPP $CPPFLAGS'
49767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
49774 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
49775 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
49776 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
49777 do :
49778 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49779 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49780 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49781 cat >>confdefs.h <<_ACEOF
49782 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49783 _ACEOF
49786 done
49795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
49796 $as_echo_n "checking for float round functions... " >&6; }
49797 if ${glibcxx_cv_func_float_round_use+:} false; then :
49798 $as_echo_n "(cached) " >&6
49799 else
49802 ac_ext=cpp
49803 ac_cpp='$CXXCPP $CPPFLAGS'
49804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49809 /* end confdefs.h. */
49810 #include <math.h>
49812 main ()
49814 ceilf (0); floorf (0);
49816 return 0;
49818 _ACEOF
49819 if ac_fn_cxx_try_compile "$LINENO"; then :
49820 glibcxx_cv_func_float_round_use=yes
49821 else
49822 glibcxx_cv_func_float_round_use=no
49824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49825 ac_ext=c
49826 ac_cpp='$CPP $CPPFLAGS'
49827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
49834 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
49835 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
49836 for ac_func in ceilf floorf
49837 do :
49838 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49839 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49840 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49841 cat >>confdefs.h <<_ACEOF
49842 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49843 _ACEOF
49846 done
49848 else
49849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
49850 $as_echo_n "checking for _float round functions... " >&6; }
49851 if ${glibcxx_cv_func__float_round_use+:} false; then :
49852 $as_echo_n "(cached) " >&6
49853 else
49856 ac_ext=cpp
49857 ac_cpp='$CXXCPP $CPPFLAGS'
49858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49863 /* end confdefs.h. */
49864 #include <math.h>
49866 main ()
49868 _ceilf (0); _floorf (0);
49870 return 0;
49872 _ACEOF
49873 if ac_fn_cxx_try_compile "$LINENO"; then :
49874 glibcxx_cv_func__float_round_use=yes
49875 else
49876 glibcxx_cv_func__float_round_use=no
49878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49879 ac_ext=c
49880 ac_cpp='$CPP $CPPFLAGS'
49881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
49888 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
49889 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
49890 for ac_func in _ceilf _floorf
49891 do :
49892 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49893 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49894 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49895 cat >>confdefs.h <<_ACEOF
49896 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49897 _ACEOF
49900 done
49910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
49911 $as_echo_n "checking for expf declaration... " >&6; }
49912 if test x${glibcxx_cv_func_expf_use+set} != xset; then
49913 if ${glibcxx_cv_func_expf_use+:} false; then :
49914 $as_echo_n "(cached) " >&6
49915 else
49918 ac_ext=cpp
49919 ac_cpp='$CXXCPP $CPPFLAGS'
49920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49925 /* end confdefs.h. */
49926 #include <math.h>
49927 #ifdef HAVE_IEEEFP_H
49928 #include <ieeefp.h>
49929 #endif
49932 main ()
49934 expf(0);
49936 return 0;
49938 _ACEOF
49939 if ac_fn_cxx_try_compile "$LINENO"; then :
49940 glibcxx_cv_func_expf_use=yes
49941 else
49942 glibcxx_cv_func_expf_use=no
49944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49945 ac_ext=c
49946 ac_cpp='$CPP $CPPFLAGS'
49947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
49956 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
49958 if test x$glibcxx_cv_func_expf_use = x"yes"; then
49959 for ac_func in expf
49960 do :
49961 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
49962 if test "x$ac_cv_func_expf" = xyes; then :
49963 cat >>confdefs.h <<_ACEOF
49964 #define HAVE_EXPF 1
49965 _ACEOF
49968 done
49970 else
49972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
49973 $as_echo_n "checking for _expf declaration... " >&6; }
49974 if test x${glibcxx_cv_func__expf_use+set} != xset; then
49975 if ${glibcxx_cv_func__expf_use+:} false; then :
49976 $as_echo_n "(cached) " >&6
49977 else
49980 ac_ext=cpp
49981 ac_cpp='$CXXCPP $CPPFLAGS'
49982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49987 /* end confdefs.h. */
49988 #include <math.h>
49989 #ifdef HAVE_IEEEFP_H
49990 #include <ieeefp.h>
49991 #endif
49994 main ()
49996 _expf(0);
49998 return 0;
50000 _ACEOF
50001 if ac_fn_cxx_try_compile "$LINENO"; then :
50002 glibcxx_cv_func__expf_use=yes
50003 else
50004 glibcxx_cv_func__expf_use=no
50006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50007 ac_ext=c
50008 ac_cpp='$CPP $CPPFLAGS'
50009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
50018 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
50020 if test x$glibcxx_cv_func__expf_use = x"yes"; then
50021 for ac_func in _expf
50022 do :
50023 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
50024 if test "x$ac_cv_func__expf" = xyes; then :
50025 cat >>confdefs.h <<_ACEOF
50026 #define HAVE__EXPF 1
50027 _ACEOF
50030 done
50039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
50040 $as_echo_n "checking for isnanf declaration... " >&6; }
50041 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
50042 if ${glibcxx_cv_func_isnanf_use+:} false; then :
50043 $as_echo_n "(cached) " >&6
50044 else
50047 ac_ext=cpp
50048 ac_cpp='$CXXCPP $CPPFLAGS'
50049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50054 /* end confdefs.h. */
50055 #include <math.h>
50056 #ifdef HAVE_IEEEFP_H
50057 #include <ieeefp.h>
50058 #endif
50061 main ()
50063 isnanf(0);
50065 return 0;
50067 _ACEOF
50068 if ac_fn_cxx_try_compile "$LINENO"; then :
50069 glibcxx_cv_func_isnanf_use=yes
50070 else
50071 glibcxx_cv_func_isnanf_use=no
50073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50074 ac_ext=c
50075 ac_cpp='$CPP $CPPFLAGS'
50076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
50085 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
50087 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
50088 for ac_func in isnanf
50089 do :
50090 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
50091 if test "x$ac_cv_func_isnanf" = xyes; then :
50092 cat >>confdefs.h <<_ACEOF
50093 #define HAVE_ISNANF 1
50094 _ACEOF
50097 done
50099 else
50101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
50102 $as_echo_n "checking for _isnanf declaration... " >&6; }
50103 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
50104 if ${glibcxx_cv_func__isnanf_use+:} false; then :
50105 $as_echo_n "(cached) " >&6
50106 else
50109 ac_ext=cpp
50110 ac_cpp='$CXXCPP $CPPFLAGS'
50111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50116 /* end confdefs.h. */
50117 #include <math.h>
50118 #ifdef HAVE_IEEEFP_H
50119 #include <ieeefp.h>
50120 #endif
50123 main ()
50125 _isnanf(0);
50127 return 0;
50129 _ACEOF
50130 if ac_fn_cxx_try_compile "$LINENO"; then :
50131 glibcxx_cv_func__isnanf_use=yes
50132 else
50133 glibcxx_cv_func__isnanf_use=no
50135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50136 ac_ext=c
50137 ac_cpp='$CPP $CPPFLAGS'
50138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
50147 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
50149 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
50150 for ac_func in _isnanf
50151 do :
50152 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
50153 if test "x$ac_cv_func__isnanf" = xyes; then :
50154 cat >>confdefs.h <<_ACEOF
50155 #define HAVE__ISNANF 1
50156 _ACEOF
50159 done
50168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
50169 $as_echo_n "checking for isinff declaration... " >&6; }
50170 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
50171 if ${glibcxx_cv_func_isinff_use+:} false; then :
50172 $as_echo_n "(cached) " >&6
50173 else
50176 ac_ext=cpp
50177 ac_cpp='$CXXCPP $CPPFLAGS'
50178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50183 /* end confdefs.h. */
50184 #include <math.h>
50185 #ifdef HAVE_IEEEFP_H
50186 #include <ieeefp.h>
50187 #endif
50190 main ()
50192 isinff(0);
50194 return 0;
50196 _ACEOF
50197 if ac_fn_cxx_try_compile "$LINENO"; then :
50198 glibcxx_cv_func_isinff_use=yes
50199 else
50200 glibcxx_cv_func_isinff_use=no
50202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50203 ac_ext=c
50204 ac_cpp='$CPP $CPPFLAGS'
50205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
50214 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
50216 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
50217 for ac_func in isinff
50218 do :
50219 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
50220 if test "x$ac_cv_func_isinff" = xyes; then :
50221 cat >>confdefs.h <<_ACEOF
50222 #define HAVE_ISINFF 1
50223 _ACEOF
50226 done
50228 else
50230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
50231 $as_echo_n "checking for _isinff declaration... " >&6; }
50232 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
50233 if ${glibcxx_cv_func__isinff_use+:} false; then :
50234 $as_echo_n "(cached) " >&6
50235 else
50238 ac_ext=cpp
50239 ac_cpp='$CXXCPP $CPPFLAGS'
50240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50245 /* end confdefs.h. */
50246 #include <math.h>
50247 #ifdef HAVE_IEEEFP_H
50248 #include <ieeefp.h>
50249 #endif
50252 main ()
50254 _isinff(0);
50256 return 0;
50258 _ACEOF
50259 if ac_fn_cxx_try_compile "$LINENO"; then :
50260 glibcxx_cv_func__isinff_use=yes
50261 else
50262 glibcxx_cv_func__isinff_use=no
50264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50265 ac_ext=c
50266 ac_cpp='$CPP $CPPFLAGS'
50267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
50276 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
50278 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
50279 for ac_func in _isinff
50280 do :
50281 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
50282 if test "x$ac_cv_func__isinff" = xyes; then :
50283 cat >>confdefs.h <<_ACEOF
50284 #define HAVE__ISINFF 1
50285 _ACEOF
50288 done
50297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
50298 $as_echo_n "checking for atan2f declaration... " >&6; }
50299 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
50300 if ${glibcxx_cv_func_atan2f_use+:} false; then :
50301 $as_echo_n "(cached) " >&6
50302 else
50305 ac_ext=cpp
50306 ac_cpp='$CXXCPP $CPPFLAGS'
50307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50312 /* end confdefs.h. */
50313 #include <math.h>
50315 main ()
50317 atan2f(0, 0);
50319 return 0;
50321 _ACEOF
50322 if ac_fn_cxx_try_compile "$LINENO"; then :
50323 glibcxx_cv_func_atan2f_use=yes
50324 else
50325 glibcxx_cv_func_atan2f_use=no
50327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50328 ac_ext=c
50329 ac_cpp='$CPP $CPPFLAGS'
50330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
50339 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
50341 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
50342 for ac_func in atan2f
50343 do :
50344 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
50345 if test "x$ac_cv_func_atan2f" = xyes; then :
50346 cat >>confdefs.h <<_ACEOF
50347 #define HAVE_ATAN2F 1
50348 _ACEOF
50351 done
50353 else
50355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
50356 $as_echo_n "checking for _atan2f declaration... " >&6; }
50357 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
50358 if ${glibcxx_cv_func__atan2f_use+:} false; then :
50359 $as_echo_n "(cached) " >&6
50360 else
50363 ac_ext=cpp
50364 ac_cpp='$CXXCPP $CPPFLAGS'
50365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50370 /* end confdefs.h. */
50371 #include <math.h>
50373 main ()
50375 _atan2f(0, 0);
50377 return 0;
50379 _ACEOF
50380 if ac_fn_cxx_try_compile "$LINENO"; then :
50381 glibcxx_cv_func__atan2f_use=yes
50382 else
50383 glibcxx_cv_func__atan2f_use=no
50385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50386 ac_ext=c
50387 ac_cpp='$CPP $CPPFLAGS'
50388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
50397 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
50399 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
50400 for ac_func in _atan2f
50401 do :
50402 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
50403 if test "x$ac_cv_func__atan2f" = xyes; then :
50404 cat >>confdefs.h <<_ACEOF
50405 #define HAVE__ATAN2F 1
50406 _ACEOF
50409 done
50418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
50419 $as_echo_n "checking for fabsf declaration... " >&6; }
50420 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
50421 if ${glibcxx_cv_func_fabsf_use+:} false; then :
50422 $as_echo_n "(cached) " >&6
50423 else
50426 ac_ext=cpp
50427 ac_cpp='$CXXCPP $CPPFLAGS'
50428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50433 /* end confdefs.h. */
50434 #include <math.h>
50435 #ifdef HAVE_IEEEFP_H
50436 #include <ieeefp.h>
50437 #endif
50440 main ()
50442 fabsf(0);
50444 return 0;
50446 _ACEOF
50447 if ac_fn_cxx_try_compile "$LINENO"; then :
50448 glibcxx_cv_func_fabsf_use=yes
50449 else
50450 glibcxx_cv_func_fabsf_use=no
50452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50453 ac_ext=c
50454 ac_cpp='$CPP $CPPFLAGS'
50455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
50464 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
50466 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
50467 for ac_func in fabsf
50468 do :
50469 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
50470 if test "x$ac_cv_func_fabsf" = xyes; then :
50471 cat >>confdefs.h <<_ACEOF
50472 #define HAVE_FABSF 1
50473 _ACEOF
50476 done
50478 else
50480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
50481 $as_echo_n "checking for _fabsf declaration... " >&6; }
50482 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
50483 if ${glibcxx_cv_func__fabsf_use+:} false; then :
50484 $as_echo_n "(cached) " >&6
50485 else
50488 ac_ext=cpp
50489 ac_cpp='$CXXCPP $CPPFLAGS'
50490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50495 /* end confdefs.h. */
50496 #include <math.h>
50497 #ifdef HAVE_IEEEFP_H
50498 #include <ieeefp.h>
50499 #endif
50502 main ()
50504 _fabsf(0);
50506 return 0;
50508 _ACEOF
50509 if ac_fn_cxx_try_compile "$LINENO"; then :
50510 glibcxx_cv_func__fabsf_use=yes
50511 else
50512 glibcxx_cv_func__fabsf_use=no
50514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50515 ac_ext=c
50516 ac_cpp='$CPP $CPPFLAGS'
50517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
50526 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
50528 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
50529 for ac_func in _fabsf
50530 do :
50531 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
50532 if test "x$ac_cv_func__fabsf" = xyes; then :
50533 cat >>confdefs.h <<_ACEOF
50534 #define HAVE__FABSF 1
50535 _ACEOF
50538 done
50547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
50548 $as_echo_n "checking for fmodf declaration... " >&6; }
50549 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
50550 if ${glibcxx_cv_func_fmodf_use+:} false; then :
50551 $as_echo_n "(cached) " >&6
50552 else
50555 ac_ext=cpp
50556 ac_cpp='$CXXCPP $CPPFLAGS'
50557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50562 /* end confdefs.h. */
50563 #include <math.h>
50565 main ()
50567 fmodf(0, 0);
50569 return 0;
50571 _ACEOF
50572 if ac_fn_cxx_try_compile "$LINENO"; then :
50573 glibcxx_cv_func_fmodf_use=yes
50574 else
50575 glibcxx_cv_func_fmodf_use=no
50577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50578 ac_ext=c
50579 ac_cpp='$CPP $CPPFLAGS'
50580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
50589 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
50591 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
50592 for ac_func in fmodf
50593 do :
50594 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
50595 if test "x$ac_cv_func_fmodf" = xyes; then :
50596 cat >>confdefs.h <<_ACEOF
50597 #define HAVE_FMODF 1
50598 _ACEOF
50601 done
50603 else
50605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
50606 $as_echo_n "checking for _fmodf declaration... " >&6; }
50607 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
50608 if ${glibcxx_cv_func__fmodf_use+:} false; then :
50609 $as_echo_n "(cached) " >&6
50610 else
50613 ac_ext=cpp
50614 ac_cpp='$CXXCPP $CPPFLAGS'
50615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50620 /* end confdefs.h. */
50621 #include <math.h>
50623 main ()
50625 _fmodf(0, 0);
50627 return 0;
50629 _ACEOF
50630 if ac_fn_cxx_try_compile "$LINENO"; then :
50631 glibcxx_cv_func__fmodf_use=yes
50632 else
50633 glibcxx_cv_func__fmodf_use=no
50635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50636 ac_ext=c
50637 ac_cpp='$CPP $CPPFLAGS'
50638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
50647 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
50649 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
50650 for ac_func in _fmodf
50651 do :
50652 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
50653 if test "x$ac_cv_func__fmodf" = xyes; then :
50654 cat >>confdefs.h <<_ACEOF
50655 #define HAVE__FMODF 1
50656 _ACEOF
50659 done
50668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
50669 $as_echo_n "checking for frexpf declaration... " >&6; }
50670 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
50671 if ${glibcxx_cv_func_frexpf_use+:} false; then :
50672 $as_echo_n "(cached) " >&6
50673 else
50676 ac_ext=cpp
50677 ac_cpp='$CXXCPP $CPPFLAGS'
50678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50683 /* end confdefs.h. */
50684 #include <math.h>
50686 main ()
50688 frexpf(0, 0);
50690 return 0;
50692 _ACEOF
50693 if ac_fn_cxx_try_compile "$LINENO"; then :
50694 glibcxx_cv_func_frexpf_use=yes
50695 else
50696 glibcxx_cv_func_frexpf_use=no
50698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50699 ac_ext=c
50700 ac_cpp='$CPP $CPPFLAGS'
50701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
50710 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
50712 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
50713 for ac_func in frexpf
50714 do :
50715 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
50716 if test "x$ac_cv_func_frexpf" = xyes; then :
50717 cat >>confdefs.h <<_ACEOF
50718 #define HAVE_FREXPF 1
50719 _ACEOF
50722 done
50724 else
50726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
50727 $as_echo_n "checking for _frexpf declaration... " >&6; }
50728 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
50729 if ${glibcxx_cv_func__frexpf_use+:} false; then :
50730 $as_echo_n "(cached) " >&6
50731 else
50734 ac_ext=cpp
50735 ac_cpp='$CXXCPP $CPPFLAGS'
50736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50741 /* end confdefs.h. */
50742 #include <math.h>
50744 main ()
50746 _frexpf(0, 0);
50748 return 0;
50750 _ACEOF
50751 if ac_fn_cxx_try_compile "$LINENO"; then :
50752 glibcxx_cv_func__frexpf_use=yes
50753 else
50754 glibcxx_cv_func__frexpf_use=no
50756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50757 ac_ext=c
50758 ac_cpp='$CPP $CPPFLAGS'
50759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
50768 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
50770 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
50771 for ac_func in _frexpf
50772 do :
50773 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
50774 if test "x$ac_cv_func__frexpf" = xyes; then :
50775 cat >>confdefs.h <<_ACEOF
50776 #define HAVE__FREXPF 1
50777 _ACEOF
50780 done
50789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
50790 $as_echo_n "checking for hypotf declaration... " >&6; }
50791 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
50792 if ${glibcxx_cv_func_hypotf_use+:} false; then :
50793 $as_echo_n "(cached) " >&6
50794 else
50797 ac_ext=cpp
50798 ac_cpp='$CXXCPP $CPPFLAGS'
50799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50804 /* end confdefs.h. */
50805 #include <math.h>
50807 main ()
50809 hypotf(0, 0);
50811 return 0;
50813 _ACEOF
50814 if ac_fn_cxx_try_compile "$LINENO"; then :
50815 glibcxx_cv_func_hypotf_use=yes
50816 else
50817 glibcxx_cv_func_hypotf_use=no
50819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50820 ac_ext=c
50821 ac_cpp='$CPP $CPPFLAGS'
50822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
50831 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
50833 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
50834 for ac_func in hypotf
50835 do :
50836 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
50837 if test "x$ac_cv_func_hypotf" = xyes; then :
50838 cat >>confdefs.h <<_ACEOF
50839 #define HAVE_HYPOTF 1
50840 _ACEOF
50843 done
50845 else
50847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
50848 $as_echo_n "checking for _hypotf declaration... " >&6; }
50849 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
50850 if ${glibcxx_cv_func__hypotf_use+:} false; then :
50851 $as_echo_n "(cached) " >&6
50852 else
50855 ac_ext=cpp
50856 ac_cpp='$CXXCPP $CPPFLAGS'
50857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50862 /* end confdefs.h. */
50863 #include <math.h>
50865 main ()
50867 _hypotf(0, 0);
50869 return 0;
50871 _ACEOF
50872 if ac_fn_cxx_try_compile "$LINENO"; then :
50873 glibcxx_cv_func__hypotf_use=yes
50874 else
50875 glibcxx_cv_func__hypotf_use=no
50877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50878 ac_ext=c
50879 ac_cpp='$CPP $CPPFLAGS'
50880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
50889 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
50891 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
50892 for ac_func in _hypotf
50893 do :
50894 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
50895 if test "x$ac_cv_func__hypotf" = xyes; then :
50896 cat >>confdefs.h <<_ACEOF
50897 #define HAVE__HYPOTF 1
50898 _ACEOF
50901 done
50910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
50911 $as_echo_n "checking for ldexpf declaration... " >&6; }
50912 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
50913 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
50914 $as_echo_n "(cached) " >&6
50915 else
50918 ac_ext=cpp
50919 ac_cpp='$CXXCPP $CPPFLAGS'
50920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50925 /* end confdefs.h. */
50926 #include <math.h>
50928 main ()
50930 ldexpf(0, 0);
50932 return 0;
50934 _ACEOF
50935 if ac_fn_cxx_try_compile "$LINENO"; then :
50936 glibcxx_cv_func_ldexpf_use=yes
50937 else
50938 glibcxx_cv_func_ldexpf_use=no
50940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50941 ac_ext=c
50942 ac_cpp='$CPP $CPPFLAGS'
50943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
50952 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
50954 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
50955 for ac_func in ldexpf
50956 do :
50957 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
50958 if test "x$ac_cv_func_ldexpf" = xyes; then :
50959 cat >>confdefs.h <<_ACEOF
50960 #define HAVE_LDEXPF 1
50961 _ACEOF
50964 done
50966 else
50968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
50969 $as_echo_n "checking for _ldexpf declaration... " >&6; }
50970 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
50971 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
50972 $as_echo_n "(cached) " >&6
50973 else
50976 ac_ext=cpp
50977 ac_cpp='$CXXCPP $CPPFLAGS'
50978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50983 /* end confdefs.h. */
50984 #include <math.h>
50986 main ()
50988 _ldexpf(0, 0);
50990 return 0;
50992 _ACEOF
50993 if ac_fn_cxx_try_compile "$LINENO"; then :
50994 glibcxx_cv_func__ldexpf_use=yes
50995 else
50996 glibcxx_cv_func__ldexpf_use=no
50998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50999 ac_ext=c
51000 ac_cpp='$CPP $CPPFLAGS'
51001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
51010 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
51012 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
51013 for ac_func in _ldexpf
51014 do :
51015 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
51016 if test "x$ac_cv_func__ldexpf" = xyes; then :
51017 cat >>confdefs.h <<_ACEOF
51018 #define HAVE__LDEXPF 1
51019 _ACEOF
51022 done
51031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
51032 $as_echo_n "checking for logf declaration... " >&6; }
51033 if test x${glibcxx_cv_func_logf_use+set} != xset; then
51034 if ${glibcxx_cv_func_logf_use+:} false; then :
51035 $as_echo_n "(cached) " >&6
51036 else
51039 ac_ext=cpp
51040 ac_cpp='$CXXCPP $CPPFLAGS'
51041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51046 /* end confdefs.h. */
51047 #include <math.h>
51048 #ifdef HAVE_IEEEFP_H
51049 #include <ieeefp.h>
51050 #endif
51053 main ()
51055 logf(0);
51057 return 0;
51059 _ACEOF
51060 if ac_fn_cxx_try_compile "$LINENO"; then :
51061 glibcxx_cv_func_logf_use=yes
51062 else
51063 glibcxx_cv_func_logf_use=no
51065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51066 ac_ext=c
51067 ac_cpp='$CPP $CPPFLAGS'
51068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
51077 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
51079 if test x$glibcxx_cv_func_logf_use = x"yes"; then
51080 for ac_func in logf
51081 do :
51082 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
51083 if test "x$ac_cv_func_logf" = xyes; then :
51084 cat >>confdefs.h <<_ACEOF
51085 #define HAVE_LOGF 1
51086 _ACEOF
51089 done
51091 else
51093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
51094 $as_echo_n "checking for _logf declaration... " >&6; }
51095 if test x${glibcxx_cv_func__logf_use+set} != xset; then
51096 if ${glibcxx_cv_func__logf_use+:} false; then :
51097 $as_echo_n "(cached) " >&6
51098 else
51101 ac_ext=cpp
51102 ac_cpp='$CXXCPP $CPPFLAGS'
51103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51108 /* end confdefs.h. */
51109 #include <math.h>
51110 #ifdef HAVE_IEEEFP_H
51111 #include <ieeefp.h>
51112 #endif
51115 main ()
51117 _logf(0);
51119 return 0;
51121 _ACEOF
51122 if ac_fn_cxx_try_compile "$LINENO"; then :
51123 glibcxx_cv_func__logf_use=yes
51124 else
51125 glibcxx_cv_func__logf_use=no
51127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51128 ac_ext=c
51129 ac_cpp='$CPP $CPPFLAGS'
51130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
51139 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
51141 if test x$glibcxx_cv_func__logf_use = x"yes"; then
51142 for ac_func in _logf
51143 do :
51144 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
51145 if test "x$ac_cv_func__logf" = xyes; then :
51146 cat >>confdefs.h <<_ACEOF
51147 #define HAVE__LOGF 1
51148 _ACEOF
51151 done
51160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
51161 $as_echo_n "checking for log10f declaration... " >&6; }
51162 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
51163 if ${glibcxx_cv_func_log10f_use+:} false; then :
51164 $as_echo_n "(cached) " >&6
51165 else
51168 ac_ext=cpp
51169 ac_cpp='$CXXCPP $CPPFLAGS'
51170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51175 /* end confdefs.h. */
51176 #include <math.h>
51177 #ifdef HAVE_IEEEFP_H
51178 #include <ieeefp.h>
51179 #endif
51182 main ()
51184 log10f(0);
51186 return 0;
51188 _ACEOF
51189 if ac_fn_cxx_try_compile "$LINENO"; then :
51190 glibcxx_cv_func_log10f_use=yes
51191 else
51192 glibcxx_cv_func_log10f_use=no
51194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51195 ac_ext=c
51196 ac_cpp='$CPP $CPPFLAGS'
51197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
51206 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
51208 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
51209 for ac_func in log10f
51210 do :
51211 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
51212 if test "x$ac_cv_func_log10f" = xyes; then :
51213 cat >>confdefs.h <<_ACEOF
51214 #define HAVE_LOG10F 1
51215 _ACEOF
51218 done
51220 else
51222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
51223 $as_echo_n "checking for _log10f declaration... " >&6; }
51224 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
51225 if ${glibcxx_cv_func__log10f_use+:} false; then :
51226 $as_echo_n "(cached) " >&6
51227 else
51230 ac_ext=cpp
51231 ac_cpp='$CXXCPP $CPPFLAGS'
51232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51237 /* end confdefs.h. */
51238 #include <math.h>
51239 #ifdef HAVE_IEEEFP_H
51240 #include <ieeefp.h>
51241 #endif
51244 main ()
51246 _log10f(0);
51248 return 0;
51250 _ACEOF
51251 if ac_fn_cxx_try_compile "$LINENO"; then :
51252 glibcxx_cv_func__log10f_use=yes
51253 else
51254 glibcxx_cv_func__log10f_use=no
51256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51257 ac_ext=c
51258 ac_cpp='$CPP $CPPFLAGS'
51259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
51268 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
51270 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
51271 for ac_func in _log10f
51272 do :
51273 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
51274 if test "x$ac_cv_func__log10f" = xyes; then :
51275 cat >>confdefs.h <<_ACEOF
51276 #define HAVE__LOG10F 1
51277 _ACEOF
51280 done
51289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
51290 $as_echo_n "checking for modff declaration... " >&6; }
51291 if test x${glibcxx_cv_func_modff_use+set} != xset; then
51292 if ${glibcxx_cv_func_modff_use+:} false; then :
51293 $as_echo_n "(cached) " >&6
51294 else
51297 ac_ext=cpp
51298 ac_cpp='$CXXCPP $CPPFLAGS'
51299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51304 /* end confdefs.h. */
51305 #include <math.h>
51307 main ()
51309 modff(0, 0);
51311 return 0;
51313 _ACEOF
51314 if ac_fn_cxx_try_compile "$LINENO"; then :
51315 glibcxx_cv_func_modff_use=yes
51316 else
51317 glibcxx_cv_func_modff_use=no
51319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51320 ac_ext=c
51321 ac_cpp='$CPP $CPPFLAGS'
51322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
51331 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
51333 if test x$glibcxx_cv_func_modff_use = x"yes"; then
51334 for ac_func in modff
51335 do :
51336 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
51337 if test "x$ac_cv_func_modff" = xyes; then :
51338 cat >>confdefs.h <<_ACEOF
51339 #define HAVE_MODFF 1
51340 _ACEOF
51343 done
51345 else
51347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
51348 $as_echo_n "checking for _modff declaration... " >&6; }
51349 if test x${glibcxx_cv_func__modff_use+set} != xset; then
51350 if ${glibcxx_cv_func__modff_use+:} false; then :
51351 $as_echo_n "(cached) " >&6
51352 else
51355 ac_ext=cpp
51356 ac_cpp='$CXXCPP $CPPFLAGS'
51357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51362 /* end confdefs.h. */
51363 #include <math.h>
51365 main ()
51367 _modff(0, 0);
51369 return 0;
51371 _ACEOF
51372 if ac_fn_cxx_try_compile "$LINENO"; then :
51373 glibcxx_cv_func__modff_use=yes
51374 else
51375 glibcxx_cv_func__modff_use=no
51377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51378 ac_ext=c
51379 ac_cpp='$CPP $CPPFLAGS'
51380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
51389 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
51391 if test x$glibcxx_cv_func__modff_use = x"yes"; then
51392 for ac_func in _modff
51393 do :
51394 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
51395 if test "x$ac_cv_func__modff" = xyes; then :
51396 cat >>confdefs.h <<_ACEOF
51397 #define HAVE__MODFF 1
51398 _ACEOF
51401 done
51410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
51411 $as_echo_n "checking for modf declaration... " >&6; }
51412 if test x${glibcxx_cv_func_modf_use+set} != xset; then
51413 if ${glibcxx_cv_func_modf_use+:} false; then :
51414 $as_echo_n "(cached) " >&6
51415 else
51418 ac_ext=cpp
51419 ac_cpp='$CXXCPP $CPPFLAGS'
51420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51425 /* end confdefs.h. */
51426 #include <math.h>
51428 main ()
51430 modf(0, 0);
51432 return 0;
51434 _ACEOF
51435 if ac_fn_cxx_try_compile "$LINENO"; then :
51436 glibcxx_cv_func_modf_use=yes
51437 else
51438 glibcxx_cv_func_modf_use=no
51440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51441 ac_ext=c
51442 ac_cpp='$CPP $CPPFLAGS'
51443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
51452 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
51454 if test x$glibcxx_cv_func_modf_use = x"yes"; then
51455 for ac_func in modf
51456 do :
51457 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
51458 if test "x$ac_cv_func_modf" = xyes; then :
51459 cat >>confdefs.h <<_ACEOF
51460 #define HAVE_MODF 1
51461 _ACEOF
51464 done
51466 else
51468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
51469 $as_echo_n "checking for _modf declaration... " >&6; }
51470 if test x${glibcxx_cv_func__modf_use+set} != xset; then
51471 if ${glibcxx_cv_func__modf_use+:} false; then :
51472 $as_echo_n "(cached) " >&6
51473 else
51476 ac_ext=cpp
51477 ac_cpp='$CXXCPP $CPPFLAGS'
51478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51483 /* end confdefs.h. */
51484 #include <math.h>
51486 main ()
51488 _modf(0, 0);
51490 return 0;
51492 _ACEOF
51493 if ac_fn_cxx_try_compile "$LINENO"; then :
51494 glibcxx_cv_func__modf_use=yes
51495 else
51496 glibcxx_cv_func__modf_use=no
51498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51499 ac_ext=c
51500 ac_cpp='$CPP $CPPFLAGS'
51501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
51510 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
51512 if test x$glibcxx_cv_func__modf_use = x"yes"; then
51513 for ac_func in _modf
51514 do :
51515 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
51516 if test "x$ac_cv_func__modf" = xyes; then :
51517 cat >>confdefs.h <<_ACEOF
51518 #define HAVE__MODF 1
51519 _ACEOF
51522 done
51531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
51532 $as_echo_n "checking for powf declaration... " >&6; }
51533 if test x${glibcxx_cv_func_powf_use+set} != xset; then
51534 if ${glibcxx_cv_func_powf_use+:} false; then :
51535 $as_echo_n "(cached) " >&6
51536 else
51539 ac_ext=cpp
51540 ac_cpp='$CXXCPP $CPPFLAGS'
51541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51546 /* end confdefs.h. */
51547 #include <math.h>
51549 main ()
51551 powf(0, 0);
51553 return 0;
51555 _ACEOF
51556 if ac_fn_cxx_try_compile "$LINENO"; then :
51557 glibcxx_cv_func_powf_use=yes
51558 else
51559 glibcxx_cv_func_powf_use=no
51561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51562 ac_ext=c
51563 ac_cpp='$CPP $CPPFLAGS'
51564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
51573 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
51575 if test x$glibcxx_cv_func_powf_use = x"yes"; then
51576 for ac_func in powf
51577 do :
51578 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
51579 if test "x$ac_cv_func_powf" = xyes; then :
51580 cat >>confdefs.h <<_ACEOF
51581 #define HAVE_POWF 1
51582 _ACEOF
51585 done
51587 else
51589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
51590 $as_echo_n "checking for _powf declaration... " >&6; }
51591 if test x${glibcxx_cv_func__powf_use+set} != xset; then
51592 if ${glibcxx_cv_func__powf_use+:} false; then :
51593 $as_echo_n "(cached) " >&6
51594 else
51597 ac_ext=cpp
51598 ac_cpp='$CXXCPP $CPPFLAGS'
51599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51604 /* end confdefs.h. */
51605 #include <math.h>
51607 main ()
51609 _powf(0, 0);
51611 return 0;
51613 _ACEOF
51614 if ac_fn_cxx_try_compile "$LINENO"; then :
51615 glibcxx_cv_func__powf_use=yes
51616 else
51617 glibcxx_cv_func__powf_use=no
51619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51620 ac_ext=c
51621 ac_cpp='$CPP $CPPFLAGS'
51622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
51631 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
51633 if test x$glibcxx_cv_func__powf_use = x"yes"; then
51634 for ac_func in _powf
51635 do :
51636 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
51637 if test "x$ac_cv_func__powf" = xyes; then :
51638 cat >>confdefs.h <<_ACEOF
51639 #define HAVE__POWF 1
51640 _ACEOF
51643 done
51652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
51653 $as_echo_n "checking for sqrtf declaration... " >&6; }
51654 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
51655 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
51656 $as_echo_n "(cached) " >&6
51657 else
51660 ac_ext=cpp
51661 ac_cpp='$CXXCPP $CPPFLAGS'
51662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51667 /* end confdefs.h. */
51668 #include <math.h>
51669 #ifdef HAVE_IEEEFP_H
51670 #include <ieeefp.h>
51671 #endif
51674 main ()
51676 sqrtf(0);
51678 return 0;
51680 _ACEOF
51681 if ac_fn_cxx_try_compile "$LINENO"; then :
51682 glibcxx_cv_func_sqrtf_use=yes
51683 else
51684 glibcxx_cv_func_sqrtf_use=no
51686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51687 ac_ext=c
51688 ac_cpp='$CPP $CPPFLAGS'
51689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
51698 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
51700 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
51701 for ac_func in sqrtf
51702 do :
51703 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
51704 if test "x$ac_cv_func_sqrtf" = xyes; then :
51705 cat >>confdefs.h <<_ACEOF
51706 #define HAVE_SQRTF 1
51707 _ACEOF
51710 done
51712 else
51714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
51715 $as_echo_n "checking for _sqrtf declaration... " >&6; }
51716 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
51717 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
51718 $as_echo_n "(cached) " >&6
51719 else
51722 ac_ext=cpp
51723 ac_cpp='$CXXCPP $CPPFLAGS'
51724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51729 /* end confdefs.h. */
51730 #include <math.h>
51731 #ifdef HAVE_IEEEFP_H
51732 #include <ieeefp.h>
51733 #endif
51736 main ()
51738 _sqrtf(0);
51740 return 0;
51742 _ACEOF
51743 if ac_fn_cxx_try_compile "$LINENO"; then :
51744 glibcxx_cv_func__sqrtf_use=yes
51745 else
51746 glibcxx_cv_func__sqrtf_use=no
51748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51749 ac_ext=c
51750 ac_cpp='$CPP $CPPFLAGS'
51751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
51760 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
51762 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
51763 for ac_func in _sqrtf
51764 do :
51765 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
51766 if test "x$ac_cv_func__sqrtf" = xyes; then :
51767 cat >>confdefs.h <<_ACEOF
51768 #define HAVE__SQRTF 1
51769 _ACEOF
51772 done
51781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
51782 $as_echo_n "checking for sincosf declaration... " >&6; }
51783 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
51784 if ${glibcxx_cv_func_sincosf_use+:} false; then :
51785 $as_echo_n "(cached) " >&6
51786 else
51789 ac_ext=cpp
51790 ac_cpp='$CXXCPP $CPPFLAGS'
51791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51796 /* end confdefs.h. */
51797 #include <math.h>
51799 main ()
51801 sincosf(0, 0, 0);
51803 return 0;
51805 _ACEOF
51806 if ac_fn_cxx_try_compile "$LINENO"; then :
51807 glibcxx_cv_func_sincosf_use=yes
51808 else
51809 glibcxx_cv_func_sincosf_use=no
51811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51812 ac_ext=c
51813 ac_cpp='$CPP $CPPFLAGS'
51814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
51823 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
51825 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
51826 for ac_func in sincosf
51827 do :
51828 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
51829 if test "x$ac_cv_func_sincosf" = xyes; then :
51830 cat >>confdefs.h <<_ACEOF
51831 #define HAVE_SINCOSF 1
51832 _ACEOF
51835 done
51837 else
51839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
51840 $as_echo_n "checking for _sincosf declaration... " >&6; }
51841 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
51842 if ${glibcxx_cv_func__sincosf_use+:} false; then :
51843 $as_echo_n "(cached) " >&6
51844 else
51847 ac_ext=cpp
51848 ac_cpp='$CXXCPP $CPPFLAGS'
51849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51854 /* end confdefs.h. */
51855 #include <math.h>
51857 main ()
51859 _sincosf(0, 0, 0);
51861 return 0;
51863 _ACEOF
51864 if ac_fn_cxx_try_compile "$LINENO"; then :
51865 glibcxx_cv_func__sincosf_use=yes
51866 else
51867 glibcxx_cv_func__sincosf_use=no
51869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51870 ac_ext=c
51871 ac_cpp='$CPP $CPPFLAGS'
51872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
51881 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
51883 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
51884 for ac_func in _sincosf
51885 do :
51886 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
51887 if test "x$ac_cv_func__sincosf" = xyes; then :
51888 cat >>confdefs.h <<_ACEOF
51889 #define HAVE__SINCOSF 1
51890 _ACEOF
51893 done
51902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
51903 $as_echo_n "checking for finitef declaration... " >&6; }
51904 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
51905 if ${glibcxx_cv_func_finitef_use+:} false; then :
51906 $as_echo_n "(cached) " >&6
51907 else
51910 ac_ext=cpp
51911 ac_cpp='$CXXCPP $CPPFLAGS'
51912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51917 /* end confdefs.h. */
51918 #include <math.h>
51919 #ifdef HAVE_IEEEFP_H
51920 #include <ieeefp.h>
51921 #endif
51924 main ()
51926 finitef(0);
51928 return 0;
51930 _ACEOF
51931 if ac_fn_cxx_try_compile "$LINENO"; then :
51932 glibcxx_cv_func_finitef_use=yes
51933 else
51934 glibcxx_cv_func_finitef_use=no
51936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51937 ac_ext=c
51938 ac_cpp='$CPP $CPPFLAGS'
51939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
51948 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
51950 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
51951 for ac_func in finitef
51952 do :
51953 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
51954 if test "x$ac_cv_func_finitef" = xyes; then :
51955 cat >>confdefs.h <<_ACEOF
51956 #define HAVE_FINITEF 1
51957 _ACEOF
51960 done
51962 else
51964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
51965 $as_echo_n "checking for _finitef declaration... " >&6; }
51966 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
51967 if ${glibcxx_cv_func__finitef_use+:} false; then :
51968 $as_echo_n "(cached) " >&6
51969 else
51972 ac_ext=cpp
51973 ac_cpp='$CXXCPP $CPPFLAGS'
51974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51979 /* end confdefs.h. */
51980 #include <math.h>
51981 #ifdef HAVE_IEEEFP_H
51982 #include <ieeefp.h>
51983 #endif
51986 main ()
51988 _finitef(0);
51990 return 0;
51992 _ACEOF
51993 if ac_fn_cxx_try_compile "$LINENO"; then :
51994 glibcxx_cv_func__finitef_use=yes
51995 else
51996 glibcxx_cv_func__finitef_use=no
51998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51999 ac_ext=c
52000 ac_cpp='$CPP $CPPFLAGS'
52001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
52010 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
52012 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
52013 for ac_func in _finitef
52014 do :
52015 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
52016 if test "x$ac_cv_func__finitef" = xyes; then :
52017 cat >>confdefs.h <<_ACEOF
52018 #define HAVE__FINITEF 1
52019 _ACEOF
52022 done
52031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
52032 $as_echo_n "checking for long double trig functions... " >&6; }
52033 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
52034 $as_echo_n "(cached) " >&6
52035 else
52038 ac_ext=cpp
52039 ac_cpp='$CXXCPP $CPPFLAGS'
52040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52045 /* end confdefs.h. */
52046 #include <math.h>
52048 main ()
52050 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
52052 return 0;
52054 _ACEOF
52055 if ac_fn_cxx_try_compile "$LINENO"; then :
52056 glibcxx_cv_func_long_double_trig_use=yes
52057 else
52058 glibcxx_cv_func_long_double_trig_use=no
52060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52061 ac_ext=c
52062 ac_cpp='$CPP $CPPFLAGS'
52063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
52070 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
52071 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
52072 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
52073 do :
52074 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52075 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52076 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
52077 cat >>confdefs.h <<_ACEOF
52078 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52079 _ACEOF
52082 done
52084 else
52085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
52086 $as_echo_n "checking for _long double trig functions... " >&6; }
52087 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
52088 $as_echo_n "(cached) " >&6
52089 else
52092 ac_ext=cpp
52093 ac_cpp='$CXXCPP $CPPFLAGS'
52094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52099 /* end confdefs.h. */
52100 #include <math.h>
52102 main ()
52104 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
52106 return 0;
52108 _ACEOF
52109 if ac_fn_cxx_try_compile "$LINENO"; then :
52110 glibcxx_cv_func__long_double_trig_use=yes
52111 else
52112 glibcxx_cv_func__long_double_trig_use=no
52114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52115 ac_ext=c
52116 ac_cpp='$CPP $CPPFLAGS'
52117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
52124 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
52125 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
52126 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
52127 do :
52128 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52129 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52130 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
52131 cat >>confdefs.h <<_ACEOF
52132 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52133 _ACEOF
52136 done
52145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
52146 $as_echo_n "checking for long double round functions... " >&6; }
52147 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
52148 $as_echo_n "(cached) " >&6
52149 else
52152 ac_ext=cpp
52153 ac_cpp='$CXXCPP $CPPFLAGS'
52154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52159 /* end confdefs.h. */
52160 #include <math.h>
52162 main ()
52164 ceill (0); floorl (0);
52166 return 0;
52168 _ACEOF
52169 if ac_fn_cxx_try_compile "$LINENO"; then :
52170 glibcxx_cv_func_long_double_round_use=yes
52171 else
52172 glibcxx_cv_func_long_double_round_use=no
52174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52175 ac_ext=c
52176 ac_cpp='$CPP $CPPFLAGS'
52177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
52184 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
52185 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
52186 for ac_func in ceill floorl
52187 do :
52188 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52189 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52190 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
52191 cat >>confdefs.h <<_ACEOF
52192 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52193 _ACEOF
52196 done
52198 else
52199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
52200 $as_echo_n "checking for _long double round functions... " >&6; }
52201 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
52202 $as_echo_n "(cached) " >&6
52203 else
52206 ac_ext=cpp
52207 ac_cpp='$CXXCPP $CPPFLAGS'
52208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52213 /* end confdefs.h. */
52214 #include <math.h>
52216 main ()
52218 _ceill (0); _floorl (0);
52220 return 0;
52222 _ACEOF
52223 if ac_fn_cxx_try_compile "$LINENO"; then :
52224 glibcxx_cv_func__long_double_round_use=yes
52225 else
52226 glibcxx_cv_func__long_double_round_use=no
52228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52229 ac_ext=c
52230 ac_cpp='$CPP $CPPFLAGS'
52231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
52238 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
52239 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
52240 for ac_func in _ceill _floorl
52241 do :
52242 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52243 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52244 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
52245 cat >>confdefs.h <<_ACEOF
52246 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52247 _ACEOF
52250 done
52260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
52261 $as_echo_n "checking for isnanl declaration... " >&6; }
52262 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
52263 if ${glibcxx_cv_func_isnanl_use+:} false; then :
52264 $as_echo_n "(cached) " >&6
52265 else
52268 ac_ext=cpp
52269 ac_cpp='$CXXCPP $CPPFLAGS'
52270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52275 /* end confdefs.h. */
52276 #include <math.h>
52277 #ifdef HAVE_IEEEFP_H
52278 #include <ieeefp.h>
52279 #endif
52282 main ()
52284 isnanl(0);
52286 return 0;
52288 _ACEOF
52289 if ac_fn_cxx_try_compile "$LINENO"; then :
52290 glibcxx_cv_func_isnanl_use=yes
52291 else
52292 glibcxx_cv_func_isnanl_use=no
52294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52295 ac_ext=c
52296 ac_cpp='$CPP $CPPFLAGS'
52297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
52306 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
52308 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
52309 for ac_func in isnanl
52310 do :
52311 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
52312 if test "x$ac_cv_func_isnanl" = xyes; then :
52313 cat >>confdefs.h <<_ACEOF
52314 #define HAVE_ISNANL 1
52315 _ACEOF
52318 done
52320 else
52322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
52323 $as_echo_n "checking for _isnanl declaration... " >&6; }
52324 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
52325 if ${glibcxx_cv_func__isnanl_use+:} false; then :
52326 $as_echo_n "(cached) " >&6
52327 else
52330 ac_ext=cpp
52331 ac_cpp='$CXXCPP $CPPFLAGS'
52332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52337 /* end confdefs.h. */
52338 #include <math.h>
52339 #ifdef HAVE_IEEEFP_H
52340 #include <ieeefp.h>
52341 #endif
52344 main ()
52346 _isnanl(0);
52348 return 0;
52350 _ACEOF
52351 if ac_fn_cxx_try_compile "$LINENO"; then :
52352 glibcxx_cv_func__isnanl_use=yes
52353 else
52354 glibcxx_cv_func__isnanl_use=no
52356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52357 ac_ext=c
52358 ac_cpp='$CPP $CPPFLAGS'
52359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
52368 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
52370 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
52371 for ac_func in _isnanl
52372 do :
52373 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
52374 if test "x$ac_cv_func__isnanl" = xyes; then :
52375 cat >>confdefs.h <<_ACEOF
52376 #define HAVE__ISNANL 1
52377 _ACEOF
52380 done
52389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
52390 $as_echo_n "checking for isinfl declaration... " >&6; }
52391 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
52392 if ${glibcxx_cv_func_isinfl_use+:} false; then :
52393 $as_echo_n "(cached) " >&6
52394 else
52397 ac_ext=cpp
52398 ac_cpp='$CXXCPP $CPPFLAGS'
52399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52404 /* end confdefs.h. */
52405 #include <math.h>
52406 #ifdef HAVE_IEEEFP_H
52407 #include <ieeefp.h>
52408 #endif
52411 main ()
52413 isinfl(0);
52415 return 0;
52417 _ACEOF
52418 if ac_fn_cxx_try_compile "$LINENO"; then :
52419 glibcxx_cv_func_isinfl_use=yes
52420 else
52421 glibcxx_cv_func_isinfl_use=no
52423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52424 ac_ext=c
52425 ac_cpp='$CPP $CPPFLAGS'
52426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
52435 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
52437 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
52438 for ac_func in isinfl
52439 do :
52440 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
52441 if test "x$ac_cv_func_isinfl" = xyes; then :
52442 cat >>confdefs.h <<_ACEOF
52443 #define HAVE_ISINFL 1
52444 _ACEOF
52447 done
52449 else
52451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
52452 $as_echo_n "checking for _isinfl declaration... " >&6; }
52453 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
52454 if ${glibcxx_cv_func__isinfl_use+:} false; then :
52455 $as_echo_n "(cached) " >&6
52456 else
52459 ac_ext=cpp
52460 ac_cpp='$CXXCPP $CPPFLAGS'
52461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52466 /* end confdefs.h. */
52467 #include <math.h>
52468 #ifdef HAVE_IEEEFP_H
52469 #include <ieeefp.h>
52470 #endif
52473 main ()
52475 _isinfl(0);
52477 return 0;
52479 _ACEOF
52480 if ac_fn_cxx_try_compile "$LINENO"; then :
52481 glibcxx_cv_func__isinfl_use=yes
52482 else
52483 glibcxx_cv_func__isinfl_use=no
52485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52486 ac_ext=c
52487 ac_cpp='$CPP $CPPFLAGS'
52488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
52497 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
52499 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
52500 for ac_func in _isinfl
52501 do :
52502 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
52503 if test "x$ac_cv_func__isinfl" = xyes; then :
52504 cat >>confdefs.h <<_ACEOF
52505 #define HAVE__ISINFL 1
52506 _ACEOF
52509 done
52518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
52519 $as_echo_n "checking for atan2l declaration... " >&6; }
52520 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
52521 if ${glibcxx_cv_func_atan2l_use+:} false; then :
52522 $as_echo_n "(cached) " >&6
52523 else
52526 ac_ext=cpp
52527 ac_cpp='$CXXCPP $CPPFLAGS'
52528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52533 /* end confdefs.h. */
52534 #include <math.h>
52536 main ()
52538 atan2l(0, 0);
52540 return 0;
52542 _ACEOF
52543 if ac_fn_cxx_try_compile "$LINENO"; then :
52544 glibcxx_cv_func_atan2l_use=yes
52545 else
52546 glibcxx_cv_func_atan2l_use=no
52548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52549 ac_ext=c
52550 ac_cpp='$CPP $CPPFLAGS'
52551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
52560 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
52562 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
52563 for ac_func in atan2l
52564 do :
52565 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
52566 if test "x$ac_cv_func_atan2l" = xyes; then :
52567 cat >>confdefs.h <<_ACEOF
52568 #define HAVE_ATAN2L 1
52569 _ACEOF
52572 done
52574 else
52576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
52577 $as_echo_n "checking for _atan2l declaration... " >&6; }
52578 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
52579 if ${glibcxx_cv_func__atan2l_use+:} false; then :
52580 $as_echo_n "(cached) " >&6
52581 else
52584 ac_ext=cpp
52585 ac_cpp='$CXXCPP $CPPFLAGS'
52586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52591 /* end confdefs.h. */
52592 #include <math.h>
52594 main ()
52596 _atan2l(0, 0);
52598 return 0;
52600 _ACEOF
52601 if ac_fn_cxx_try_compile "$LINENO"; then :
52602 glibcxx_cv_func__atan2l_use=yes
52603 else
52604 glibcxx_cv_func__atan2l_use=no
52606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52607 ac_ext=c
52608 ac_cpp='$CPP $CPPFLAGS'
52609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
52618 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
52620 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
52621 for ac_func in _atan2l
52622 do :
52623 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
52624 if test "x$ac_cv_func__atan2l" = xyes; then :
52625 cat >>confdefs.h <<_ACEOF
52626 #define HAVE__ATAN2L 1
52627 _ACEOF
52630 done
52639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
52640 $as_echo_n "checking for expl declaration... " >&6; }
52641 if test x${glibcxx_cv_func_expl_use+set} != xset; then
52642 if ${glibcxx_cv_func_expl_use+:} false; then :
52643 $as_echo_n "(cached) " >&6
52644 else
52647 ac_ext=cpp
52648 ac_cpp='$CXXCPP $CPPFLAGS'
52649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52654 /* end confdefs.h. */
52655 #include <math.h>
52656 #ifdef HAVE_IEEEFP_H
52657 #include <ieeefp.h>
52658 #endif
52661 main ()
52663 expl(0);
52665 return 0;
52667 _ACEOF
52668 if ac_fn_cxx_try_compile "$LINENO"; then :
52669 glibcxx_cv_func_expl_use=yes
52670 else
52671 glibcxx_cv_func_expl_use=no
52673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52674 ac_ext=c
52675 ac_cpp='$CPP $CPPFLAGS'
52676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
52685 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
52687 if test x$glibcxx_cv_func_expl_use = x"yes"; then
52688 for ac_func in expl
52689 do :
52690 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
52691 if test "x$ac_cv_func_expl" = xyes; then :
52692 cat >>confdefs.h <<_ACEOF
52693 #define HAVE_EXPL 1
52694 _ACEOF
52697 done
52699 else
52701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
52702 $as_echo_n "checking for _expl declaration... " >&6; }
52703 if test x${glibcxx_cv_func__expl_use+set} != xset; then
52704 if ${glibcxx_cv_func__expl_use+:} false; then :
52705 $as_echo_n "(cached) " >&6
52706 else
52709 ac_ext=cpp
52710 ac_cpp='$CXXCPP $CPPFLAGS'
52711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52716 /* end confdefs.h. */
52717 #include <math.h>
52718 #ifdef HAVE_IEEEFP_H
52719 #include <ieeefp.h>
52720 #endif
52723 main ()
52725 _expl(0);
52727 return 0;
52729 _ACEOF
52730 if ac_fn_cxx_try_compile "$LINENO"; then :
52731 glibcxx_cv_func__expl_use=yes
52732 else
52733 glibcxx_cv_func__expl_use=no
52735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52736 ac_ext=c
52737 ac_cpp='$CPP $CPPFLAGS'
52738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
52747 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
52749 if test x$glibcxx_cv_func__expl_use = x"yes"; then
52750 for ac_func in _expl
52751 do :
52752 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
52753 if test "x$ac_cv_func__expl" = xyes; then :
52754 cat >>confdefs.h <<_ACEOF
52755 #define HAVE__EXPL 1
52756 _ACEOF
52759 done
52768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
52769 $as_echo_n "checking for fabsl declaration... " >&6; }
52770 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
52771 if ${glibcxx_cv_func_fabsl_use+:} false; then :
52772 $as_echo_n "(cached) " >&6
52773 else
52776 ac_ext=cpp
52777 ac_cpp='$CXXCPP $CPPFLAGS'
52778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52783 /* end confdefs.h. */
52784 #include <math.h>
52785 #ifdef HAVE_IEEEFP_H
52786 #include <ieeefp.h>
52787 #endif
52790 main ()
52792 fabsl(0);
52794 return 0;
52796 _ACEOF
52797 if ac_fn_cxx_try_compile "$LINENO"; then :
52798 glibcxx_cv_func_fabsl_use=yes
52799 else
52800 glibcxx_cv_func_fabsl_use=no
52802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52803 ac_ext=c
52804 ac_cpp='$CPP $CPPFLAGS'
52805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
52814 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
52816 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
52817 for ac_func in fabsl
52818 do :
52819 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
52820 if test "x$ac_cv_func_fabsl" = xyes; then :
52821 cat >>confdefs.h <<_ACEOF
52822 #define HAVE_FABSL 1
52823 _ACEOF
52826 done
52828 else
52830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
52831 $as_echo_n "checking for _fabsl declaration... " >&6; }
52832 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
52833 if ${glibcxx_cv_func__fabsl_use+:} false; then :
52834 $as_echo_n "(cached) " >&6
52835 else
52838 ac_ext=cpp
52839 ac_cpp='$CXXCPP $CPPFLAGS'
52840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52845 /* end confdefs.h. */
52846 #include <math.h>
52847 #ifdef HAVE_IEEEFP_H
52848 #include <ieeefp.h>
52849 #endif
52852 main ()
52854 _fabsl(0);
52856 return 0;
52858 _ACEOF
52859 if ac_fn_cxx_try_compile "$LINENO"; then :
52860 glibcxx_cv_func__fabsl_use=yes
52861 else
52862 glibcxx_cv_func__fabsl_use=no
52864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52865 ac_ext=c
52866 ac_cpp='$CPP $CPPFLAGS'
52867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
52876 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
52878 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
52879 for ac_func in _fabsl
52880 do :
52881 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
52882 if test "x$ac_cv_func__fabsl" = xyes; then :
52883 cat >>confdefs.h <<_ACEOF
52884 #define HAVE__FABSL 1
52885 _ACEOF
52888 done
52897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
52898 $as_echo_n "checking for fmodl declaration... " >&6; }
52899 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
52900 if ${glibcxx_cv_func_fmodl_use+:} false; then :
52901 $as_echo_n "(cached) " >&6
52902 else
52905 ac_ext=cpp
52906 ac_cpp='$CXXCPP $CPPFLAGS'
52907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52912 /* end confdefs.h. */
52913 #include <math.h>
52915 main ()
52917 fmodl(0, 0);
52919 return 0;
52921 _ACEOF
52922 if ac_fn_cxx_try_compile "$LINENO"; then :
52923 glibcxx_cv_func_fmodl_use=yes
52924 else
52925 glibcxx_cv_func_fmodl_use=no
52927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52928 ac_ext=c
52929 ac_cpp='$CPP $CPPFLAGS'
52930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
52939 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
52941 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
52942 for ac_func in fmodl
52943 do :
52944 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
52945 if test "x$ac_cv_func_fmodl" = xyes; then :
52946 cat >>confdefs.h <<_ACEOF
52947 #define HAVE_FMODL 1
52948 _ACEOF
52951 done
52953 else
52955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
52956 $as_echo_n "checking for _fmodl declaration... " >&6; }
52957 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
52958 if ${glibcxx_cv_func__fmodl_use+:} false; then :
52959 $as_echo_n "(cached) " >&6
52960 else
52963 ac_ext=cpp
52964 ac_cpp='$CXXCPP $CPPFLAGS'
52965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52970 /* end confdefs.h. */
52971 #include <math.h>
52973 main ()
52975 _fmodl(0, 0);
52977 return 0;
52979 _ACEOF
52980 if ac_fn_cxx_try_compile "$LINENO"; then :
52981 glibcxx_cv_func__fmodl_use=yes
52982 else
52983 glibcxx_cv_func__fmodl_use=no
52985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52986 ac_ext=c
52987 ac_cpp='$CPP $CPPFLAGS'
52988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
52997 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
52999 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
53000 for ac_func in _fmodl
53001 do :
53002 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
53003 if test "x$ac_cv_func__fmodl" = xyes; then :
53004 cat >>confdefs.h <<_ACEOF
53005 #define HAVE__FMODL 1
53006 _ACEOF
53009 done
53018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
53019 $as_echo_n "checking for frexpl declaration... " >&6; }
53020 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
53021 if ${glibcxx_cv_func_frexpl_use+:} false; then :
53022 $as_echo_n "(cached) " >&6
53023 else
53026 ac_ext=cpp
53027 ac_cpp='$CXXCPP $CPPFLAGS'
53028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53033 /* end confdefs.h. */
53034 #include <math.h>
53036 main ()
53038 frexpl(0, 0);
53040 return 0;
53042 _ACEOF
53043 if ac_fn_cxx_try_compile "$LINENO"; then :
53044 glibcxx_cv_func_frexpl_use=yes
53045 else
53046 glibcxx_cv_func_frexpl_use=no
53048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53049 ac_ext=c
53050 ac_cpp='$CPP $CPPFLAGS'
53051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
53060 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
53062 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
53063 for ac_func in frexpl
53064 do :
53065 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
53066 if test "x$ac_cv_func_frexpl" = xyes; then :
53067 cat >>confdefs.h <<_ACEOF
53068 #define HAVE_FREXPL 1
53069 _ACEOF
53072 done
53074 else
53076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
53077 $as_echo_n "checking for _frexpl declaration... " >&6; }
53078 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
53079 if ${glibcxx_cv_func__frexpl_use+:} false; then :
53080 $as_echo_n "(cached) " >&6
53081 else
53084 ac_ext=cpp
53085 ac_cpp='$CXXCPP $CPPFLAGS'
53086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53091 /* end confdefs.h. */
53092 #include <math.h>
53094 main ()
53096 _frexpl(0, 0);
53098 return 0;
53100 _ACEOF
53101 if ac_fn_cxx_try_compile "$LINENO"; then :
53102 glibcxx_cv_func__frexpl_use=yes
53103 else
53104 glibcxx_cv_func__frexpl_use=no
53106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53107 ac_ext=c
53108 ac_cpp='$CPP $CPPFLAGS'
53109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
53118 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
53120 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
53121 for ac_func in _frexpl
53122 do :
53123 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
53124 if test "x$ac_cv_func__frexpl" = xyes; then :
53125 cat >>confdefs.h <<_ACEOF
53126 #define HAVE__FREXPL 1
53127 _ACEOF
53130 done
53139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
53140 $as_echo_n "checking for hypotl declaration... " >&6; }
53141 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
53142 if ${glibcxx_cv_func_hypotl_use+:} false; then :
53143 $as_echo_n "(cached) " >&6
53144 else
53147 ac_ext=cpp
53148 ac_cpp='$CXXCPP $CPPFLAGS'
53149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53154 /* end confdefs.h. */
53155 #include <math.h>
53157 main ()
53159 hypotl(0, 0);
53161 return 0;
53163 _ACEOF
53164 if ac_fn_cxx_try_compile "$LINENO"; then :
53165 glibcxx_cv_func_hypotl_use=yes
53166 else
53167 glibcxx_cv_func_hypotl_use=no
53169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53170 ac_ext=c
53171 ac_cpp='$CPP $CPPFLAGS'
53172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
53181 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
53183 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
53184 for ac_func in hypotl
53185 do :
53186 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
53187 if test "x$ac_cv_func_hypotl" = xyes; then :
53188 cat >>confdefs.h <<_ACEOF
53189 #define HAVE_HYPOTL 1
53190 _ACEOF
53193 done
53195 else
53197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
53198 $as_echo_n "checking for _hypotl declaration... " >&6; }
53199 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
53200 if ${glibcxx_cv_func__hypotl_use+:} false; then :
53201 $as_echo_n "(cached) " >&6
53202 else
53205 ac_ext=cpp
53206 ac_cpp='$CXXCPP $CPPFLAGS'
53207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53212 /* end confdefs.h. */
53213 #include <math.h>
53215 main ()
53217 _hypotl(0, 0);
53219 return 0;
53221 _ACEOF
53222 if ac_fn_cxx_try_compile "$LINENO"; then :
53223 glibcxx_cv_func__hypotl_use=yes
53224 else
53225 glibcxx_cv_func__hypotl_use=no
53227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53228 ac_ext=c
53229 ac_cpp='$CPP $CPPFLAGS'
53230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
53239 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
53241 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
53242 for ac_func in _hypotl
53243 do :
53244 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
53245 if test "x$ac_cv_func__hypotl" = xyes; then :
53246 cat >>confdefs.h <<_ACEOF
53247 #define HAVE__HYPOTL 1
53248 _ACEOF
53251 done
53260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
53261 $as_echo_n "checking for ldexpl declaration... " >&6; }
53262 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
53263 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
53264 $as_echo_n "(cached) " >&6
53265 else
53268 ac_ext=cpp
53269 ac_cpp='$CXXCPP $CPPFLAGS'
53270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53275 /* end confdefs.h. */
53276 #include <math.h>
53278 main ()
53280 ldexpl(0, 0);
53282 return 0;
53284 _ACEOF
53285 if ac_fn_cxx_try_compile "$LINENO"; then :
53286 glibcxx_cv_func_ldexpl_use=yes
53287 else
53288 glibcxx_cv_func_ldexpl_use=no
53290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53291 ac_ext=c
53292 ac_cpp='$CPP $CPPFLAGS'
53293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
53302 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
53304 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
53305 for ac_func in ldexpl
53306 do :
53307 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
53308 if test "x$ac_cv_func_ldexpl" = xyes; then :
53309 cat >>confdefs.h <<_ACEOF
53310 #define HAVE_LDEXPL 1
53311 _ACEOF
53314 done
53316 else
53318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
53319 $as_echo_n "checking for _ldexpl declaration... " >&6; }
53320 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
53321 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
53322 $as_echo_n "(cached) " >&6
53323 else
53326 ac_ext=cpp
53327 ac_cpp='$CXXCPP $CPPFLAGS'
53328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53333 /* end confdefs.h. */
53334 #include <math.h>
53336 main ()
53338 _ldexpl(0, 0);
53340 return 0;
53342 _ACEOF
53343 if ac_fn_cxx_try_compile "$LINENO"; then :
53344 glibcxx_cv_func__ldexpl_use=yes
53345 else
53346 glibcxx_cv_func__ldexpl_use=no
53348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53349 ac_ext=c
53350 ac_cpp='$CPP $CPPFLAGS'
53351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
53360 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
53362 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
53363 for ac_func in _ldexpl
53364 do :
53365 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
53366 if test "x$ac_cv_func__ldexpl" = xyes; then :
53367 cat >>confdefs.h <<_ACEOF
53368 #define HAVE__LDEXPL 1
53369 _ACEOF
53372 done
53381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
53382 $as_echo_n "checking for logl declaration... " >&6; }
53383 if test x${glibcxx_cv_func_logl_use+set} != xset; then
53384 if ${glibcxx_cv_func_logl_use+:} false; then :
53385 $as_echo_n "(cached) " >&6
53386 else
53389 ac_ext=cpp
53390 ac_cpp='$CXXCPP $CPPFLAGS'
53391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53396 /* end confdefs.h. */
53397 #include <math.h>
53398 #ifdef HAVE_IEEEFP_H
53399 #include <ieeefp.h>
53400 #endif
53403 main ()
53405 logl(0);
53407 return 0;
53409 _ACEOF
53410 if ac_fn_cxx_try_compile "$LINENO"; then :
53411 glibcxx_cv_func_logl_use=yes
53412 else
53413 glibcxx_cv_func_logl_use=no
53415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53416 ac_ext=c
53417 ac_cpp='$CPP $CPPFLAGS'
53418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
53427 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
53429 if test x$glibcxx_cv_func_logl_use = x"yes"; then
53430 for ac_func in logl
53431 do :
53432 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
53433 if test "x$ac_cv_func_logl" = xyes; then :
53434 cat >>confdefs.h <<_ACEOF
53435 #define HAVE_LOGL 1
53436 _ACEOF
53439 done
53441 else
53443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
53444 $as_echo_n "checking for _logl declaration... " >&6; }
53445 if test x${glibcxx_cv_func__logl_use+set} != xset; then
53446 if ${glibcxx_cv_func__logl_use+:} false; then :
53447 $as_echo_n "(cached) " >&6
53448 else
53451 ac_ext=cpp
53452 ac_cpp='$CXXCPP $CPPFLAGS'
53453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53458 /* end confdefs.h. */
53459 #include <math.h>
53460 #ifdef HAVE_IEEEFP_H
53461 #include <ieeefp.h>
53462 #endif
53465 main ()
53467 _logl(0);
53469 return 0;
53471 _ACEOF
53472 if ac_fn_cxx_try_compile "$LINENO"; then :
53473 glibcxx_cv_func__logl_use=yes
53474 else
53475 glibcxx_cv_func__logl_use=no
53477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53478 ac_ext=c
53479 ac_cpp='$CPP $CPPFLAGS'
53480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
53489 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
53491 if test x$glibcxx_cv_func__logl_use = x"yes"; then
53492 for ac_func in _logl
53493 do :
53494 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
53495 if test "x$ac_cv_func__logl" = xyes; then :
53496 cat >>confdefs.h <<_ACEOF
53497 #define HAVE__LOGL 1
53498 _ACEOF
53501 done
53510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
53511 $as_echo_n "checking for log10l declaration... " >&6; }
53512 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
53513 if ${glibcxx_cv_func_log10l_use+:} false; then :
53514 $as_echo_n "(cached) " >&6
53515 else
53518 ac_ext=cpp
53519 ac_cpp='$CXXCPP $CPPFLAGS'
53520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53525 /* end confdefs.h. */
53526 #include <math.h>
53527 #ifdef HAVE_IEEEFP_H
53528 #include <ieeefp.h>
53529 #endif
53532 main ()
53534 log10l(0);
53536 return 0;
53538 _ACEOF
53539 if ac_fn_cxx_try_compile "$LINENO"; then :
53540 glibcxx_cv_func_log10l_use=yes
53541 else
53542 glibcxx_cv_func_log10l_use=no
53544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53545 ac_ext=c
53546 ac_cpp='$CPP $CPPFLAGS'
53547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
53556 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
53558 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
53559 for ac_func in log10l
53560 do :
53561 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
53562 if test "x$ac_cv_func_log10l" = xyes; then :
53563 cat >>confdefs.h <<_ACEOF
53564 #define HAVE_LOG10L 1
53565 _ACEOF
53568 done
53570 else
53572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
53573 $as_echo_n "checking for _log10l declaration... " >&6; }
53574 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
53575 if ${glibcxx_cv_func__log10l_use+:} false; then :
53576 $as_echo_n "(cached) " >&6
53577 else
53580 ac_ext=cpp
53581 ac_cpp='$CXXCPP $CPPFLAGS'
53582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53587 /* end confdefs.h. */
53588 #include <math.h>
53589 #ifdef HAVE_IEEEFP_H
53590 #include <ieeefp.h>
53591 #endif
53594 main ()
53596 _log10l(0);
53598 return 0;
53600 _ACEOF
53601 if ac_fn_cxx_try_compile "$LINENO"; then :
53602 glibcxx_cv_func__log10l_use=yes
53603 else
53604 glibcxx_cv_func__log10l_use=no
53606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53607 ac_ext=c
53608 ac_cpp='$CPP $CPPFLAGS'
53609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
53618 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
53620 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
53621 for ac_func in _log10l
53622 do :
53623 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
53624 if test "x$ac_cv_func__log10l" = xyes; then :
53625 cat >>confdefs.h <<_ACEOF
53626 #define HAVE__LOG10L 1
53627 _ACEOF
53630 done
53639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
53640 $as_echo_n "checking for modfl declaration... " >&6; }
53641 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
53642 if ${glibcxx_cv_func_modfl_use+:} false; then :
53643 $as_echo_n "(cached) " >&6
53644 else
53647 ac_ext=cpp
53648 ac_cpp='$CXXCPP $CPPFLAGS'
53649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53654 /* end confdefs.h. */
53655 #include <math.h>
53657 main ()
53659 modfl(0, 0);
53661 return 0;
53663 _ACEOF
53664 if ac_fn_cxx_try_compile "$LINENO"; then :
53665 glibcxx_cv_func_modfl_use=yes
53666 else
53667 glibcxx_cv_func_modfl_use=no
53669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53670 ac_ext=c
53671 ac_cpp='$CPP $CPPFLAGS'
53672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
53681 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
53683 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
53684 for ac_func in modfl
53685 do :
53686 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
53687 if test "x$ac_cv_func_modfl" = xyes; then :
53688 cat >>confdefs.h <<_ACEOF
53689 #define HAVE_MODFL 1
53690 _ACEOF
53693 done
53695 else
53697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
53698 $as_echo_n "checking for _modfl declaration... " >&6; }
53699 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
53700 if ${glibcxx_cv_func__modfl_use+:} false; then :
53701 $as_echo_n "(cached) " >&6
53702 else
53705 ac_ext=cpp
53706 ac_cpp='$CXXCPP $CPPFLAGS'
53707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53712 /* end confdefs.h. */
53713 #include <math.h>
53715 main ()
53717 _modfl(0, 0);
53719 return 0;
53721 _ACEOF
53722 if ac_fn_cxx_try_compile "$LINENO"; then :
53723 glibcxx_cv_func__modfl_use=yes
53724 else
53725 glibcxx_cv_func__modfl_use=no
53727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53728 ac_ext=c
53729 ac_cpp='$CPP $CPPFLAGS'
53730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
53739 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
53741 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
53742 for ac_func in _modfl
53743 do :
53744 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
53745 if test "x$ac_cv_func__modfl" = xyes; then :
53746 cat >>confdefs.h <<_ACEOF
53747 #define HAVE__MODFL 1
53748 _ACEOF
53751 done
53760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
53761 $as_echo_n "checking for powl declaration... " >&6; }
53762 if test x${glibcxx_cv_func_powl_use+set} != xset; then
53763 if ${glibcxx_cv_func_powl_use+:} false; then :
53764 $as_echo_n "(cached) " >&6
53765 else
53768 ac_ext=cpp
53769 ac_cpp='$CXXCPP $CPPFLAGS'
53770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53775 /* end confdefs.h. */
53776 #include <math.h>
53778 main ()
53780 powl(0, 0);
53782 return 0;
53784 _ACEOF
53785 if ac_fn_cxx_try_compile "$LINENO"; then :
53786 glibcxx_cv_func_powl_use=yes
53787 else
53788 glibcxx_cv_func_powl_use=no
53790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53791 ac_ext=c
53792 ac_cpp='$CPP $CPPFLAGS'
53793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
53802 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
53804 if test x$glibcxx_cv_func_powl_use = x"yes"; then
53805 for ac_func in powl
53806 do :
53807 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
53808 if test "x$ac_cv_func_powl" = xyes; then :
53809 cat >>confdefs.h <<_ACEOF
53810 #define HAVE_POWL 1
53811 _ACEOF
53814 done
53816 else
53818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
53819 $as_echo_n "checking for _powl declaration... " >&6; }
53820 if test x${glibcxx_cv_func__powl_use+set} != xset; then
53821 if ${glibcxx_cv_func__powl_use+:} false; then :
53822 $as_echo_n "(cached) " >&6
53823 else
53826 ac_ext=cpp
53827 ac_cpp='$CXXCPP $CPPFLAGS'
53828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53833 /* end confdefs.h. */
53834 #include <math.h>
53836 main ()
53838 _powl(0, 0);
53840 return 0;
53842 _ACEOF
53843 if ac_fn_cxx_try_compile "$LINENO"; then :
53844 glibcxx_cv_func__powl_use=yes
53845 else
53846 glibcxx_cv_func__powl_use=no
53848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53849 ac_ext=c
53850 ac_cpp='$CPP $CPPFLAGS'
53851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
53860 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
53862 if test x$glibcxx_cv_func__powl_use = x"yes"; then
53863 for ac_func in _powl
53864 do :
53865 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
53866 if test "x$ac_cv_func__powl" = xyes; then :
53867 cat >>confdefs.h <<_ACEOF
53868 #define HAVE__POWL 1
53869 _ACEOF
53872 done
53881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
53882 $as_echo_n "checking for sqrtl declaration... " >&6; }
53883 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
53884 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
53885 $as_echo_n "(cached) " >&6
53886 else
53889 ac_ext=cpp
53890 ac_cpp='$CXXCPP $CPPFLAGS'
53891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53896 /* end confdefs.h. */
53897 #include <math.h>
53898 #ifdef HAVE_IEEEFP_H
53899 #include <ieeefp.h>
53900 #endif
53903 main ()
53905 sqrtl(0);
53907 return 0;
53909 _ACEOF
53910 if ac_fn_cxx_try_compile "$LINENO"; then :
53911 glibcxx_cv_func_sqrtl_use=yes
53912 else
53913 glibcxx_cv_func_sqrtl_use=no
53915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53916 ac_ext=c
53917 ac_cpp='$CPP $CPPFLAGS'
53918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
53927 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
53929 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
53930 for ac_func in sqrtl
53931 do :
53932 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
53933 if test "x$ac_cv_func_sqrtl" = xyes; then :
53934 cat >>confdefs.h <<_ACEOF
53935 #define HAVE_SQRTL 1
53936 _ACEOF
53939 done
53941 else
53943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
53944 $as_echo_n "checking for _sqrtl declaration... " >&6; }
53945 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
53946 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
53947 $as_echo_n "(cached) " >&6
53948 else
53951 ac_ext=cpp
53952 ac_cpp='$CXXCPP $CPPFLAGS'
53953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53958 /* end confdefs.h. */
53959 #include <math.h>
53960 #ifdef HAVE_IEEEFP_H
53961 #include <ieeefp.h>
53962 #endif
53965 main ()
53967 _sqrtl(0);
53969 return 0;
53971 _ACEOF
53972 if ac_fn_cxx_try_compile "$LINENO"; then :
53973 glibcxx_cv_func__sqrtl_use=yes
53974 else
53975 glibcxx_cv_func__sqrtl_use=no
53977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53978 ac_ext=c
53979 ac_cpp='$CPP $CPPFLAGS'
53980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
53989 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
53991 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
53992 for ac_func in _sqrtl
53993 do :
53994 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
53995 if test "x$ac_cv_func__sqrtl" = xyes; then :
53996 cat >>confdefs.h <<_ACEOF
53997 #define HAVE__SQRTL 1
53998 _ACEOF
54001 done
54010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
54011 $as_echo_n "checking for sincosl declaration... " >&6; }
54012 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
54013 if ${glibcxx_cv_func_sincosl_use+:} false; then :
54014 $as_echo_n "(cached) " >&6
54015 else
54018 ac_ext=cpp
54019 ac_cpp='$CXXCPP $CPPFLAGS'
54020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54025 /* end confdefs.h. */
54026 #include <math.h>
54028 main ()
54030 sincosl(0, 0, 0);
54032 return 0;
54034 _ACEOF
54035 if ac_fn_cxx_try_compile "$LINENO"; then :
54036 glibcxx_cv_func_sincosl_use=yes
54037 else
54038 glibcxx_cv_func_sincosl_use=no
54040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54041 ac_ext=c
54042 ac_cpp='$CPP $CPPFLAGS'
54043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
54052 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
54054 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
54055 for ac_func in sincosl
54056 do :
54057 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
54058 if test "x$ac_cv_func_sincosl" = xyes; then :
54059 cat >>confdefs.h <<_ACEOF
54060 #define HAVE_SINCOSL 1
54061 _ACEOF
54064 done
54066 else
54068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
54069 $as_echo_n "checking for _sincosl declaration... " >&6; }
54070 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
54071 if ${glibcxx_cv_func__sincosl_use+:} false; then :
54072 $as_echo_n "(cached) " >&6
54073 else
54076 ac_ext=cpp
54077 ac_cpp='$CXXCPP $CPPFLAGS'
54078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54083 /* end confdefs.h. */
54084 #include <math.h>
54086 main ()
54088 _sincosl(0, 0, 0);
54090 return 0;
54092 _ACEOF
54093 if ac_fn_cxx_try_compile "$LINENO"; then :
54094 glibcxx_cv_func__sincosl_use=yes
54095 else
54096 glibcxx_cv_func__sincosl_use=no
54098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54099 ac_ext=c
54100 ac_cpp='$CPP $CPPFLAGS'
54101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
54110 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
54112 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
54113 for ac_func in _sincosl
54114 do :
54115 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
54116 if test "x$ac_cv_func__sincosl" = xyes; then :
54117 cat >>confdefs.h <<_ACEOF
54118 #define HAVE__SINCOSL 1
54119 _ACEOF
54122 done
54131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
54132 $as_echo_n "checking for finitel declaration... " >&6; }
54133 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
54134 if ${glibcxx_cv_func_finitel_use+:} false; then :
54135 $as_echo_n "(cached) " >&6
54136 else
54139 ac_ext=cpp
54140 ac_cpp='$CXXCPP $CPPFLAGS'
54141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54146 /* end confdefs.h. */
54147 #include <math.h>
54148 #ifdef HAVE_IEEEFP_H
54149 #include <ieeefp.h>
54150 #endif
54153 main ()
54155 finitel(0);
54157 return 0;
54159 _ACEOF
54160 if ac_fn_cxx_try_compile "$LINENO"; then :
54161 glibcxx_cv_func_finitel_use=yes
54162 else
54163 glibcxx_cv_func_finitel_use=no
54165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54166 ac_ext=c
54167 ac_cpp='$CPP $CPPFLAGS'
54168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
54177 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
54179 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
54180 for ac_func in finitel
54181 do :
54182 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
54183 if test "x$ac_cv_func_finitel" = xyes; then :
54184 cat >>confdefs.h <<_ACEOF
54185 #define HAVE_FINITEL 1
54186 _ACEOF
54189 done
54191 else
54193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
54194 $as_echo_n "checking for _finitel declaration... " >&6; }
54195 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
54196 if ${glibcxx_cv_func__finitel_use+:} false; then :
54197 $as_echo_n "(cached) " >&6
54198 else
54201 ac_ext=cpp
54202 ac_cpp='$CXXCPP $CPPFLAGS'
54203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54208 /* end confdefs.h. */
54209 #include <math.h>
54210 #ifdef HAVE_IEEEFP_H
54211 #include <ieeefp.h>
54212 #endif
54215 main ()
54217 _finitel(0);
54219 return 0;
54221 _ACEOF
54222 if ac_fn_cxx_try_compile "$LINENO"; then :
54223 glibcxx_cv_func__finitel_use=yes
54224 else
54225 glibcxx_cv_func__finitel_use=no
54227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54228 ac_ext=c
54229 ac_cpp='$CPP $CPPFLAGS'
54230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
54239 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
54241 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
54242 for ac_func in _finitel
54243 do :
54244 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
54245 if test "x$ac_cv_func__finitel" = xyes; then :
54246 cat >>confdefs.h <<_ACEOF
54247 #define HAVE__FINITEL 1
54248 _ACEOF
54251 done
54259 LIBS="$ac_save_LIBS"
54260 CXXFLAGS="$ac_save_CXXFLAGS"
54263 ac_test_CXXFLAGS="${CXXFLAGS+set}"
54264 ac_save_CXXFLAGS="$CXXFLAGS"
54265 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
54269 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
54270 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
54271 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
54272 $as_echo_n "(cached) " >&6
54273 else
54276 ac_ext=cpp
54277 ac_cpp='$CXXCPP $CPPFLAGS'
54278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54283 /* end confdefs.h. */
54284 #include <stdlib.h>
54286 main ()
54288 at_quick_exit(0);
54290 return 0;
54292 _ACEOF
54293 if ac_fn_cxx_try_compile "$LINENO"; then :
54294 glibcxx_cv_func_at_quick_exit_use=yes
54295 else
54296 glibcxx_cv_func_at_quick_exit_use=no
54298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54299 ac_ext=c
54300 ac_cpp='$CPP $CPPFLAGS'
54301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
54310 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
54311 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
54312 for ac_func in at_quick_exit
54313 do :
54314 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
54315 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
54316 cat >>confdefs.h <<_ACEOF
54317 #define HAVE_AT_QUICK_EXIT 1
54318 _ACEOF
54321 done
54326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
54327 $as_echo_n "checking for quick_exit declaration... " >&6; }
54328 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
54329 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
54330 $as_echo_n "(cached) " >&6
54331 else
54334 ac_ext=cpp
54335 ac_cpp='$CXXCPP $CPPFLAGS'
54336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54341 /* end confdefs.h. */
54342 #include <stdlib.h>
54344 main ()
54346 quick_exit(0);
54348 return 0;
54350 _ACEOF
54351 if ac_fn_cxx_try_compile "$LINENO"; then :
54352 glibcxx_cv_func_quick_exit_use=yes
54353 else
54354 glibcxx_cv_func_quick_exit_use=no
54356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54357 ac_ext=c
54358 ac_cpp='$CPP $CPPFLAGS'
54359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
54368 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
54369 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
54370 for ac_func in quick_exit
54371 do :
54372 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
54373 if test "x$ac_cv_func_quick_exit" = xyes; then :
54374 cat >>confdefs.h <<_ACEOF
54375 #define HAVE_QUICK_EXIT 1
54376 _ACEOF
54379 done
54384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
54385 $as_echo_n "checking for strtold declaration... " >&6; }
54386 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
54387 if ${glibcxx_cv_func_strtold_use+:} false; then :
54388 $as_echo_n "(cached) " >&6
54389 else
54392 ac_ext=cpp
54393 ac_cpp='$CXXCPP $CPPFLAGS'
54394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54399 /* end confdefs.h. */
54400 #include <stdlib.h>
54402 main ()
54404 strtold(0, 0);
54406 return 0;
54408 _ACEOF
54409 if ac_fn_cxx_try_compile "$LINENO"; then :
54410 glibcxx_cv_func_strtold_use=yes
54411 else
54412 glibcxx_cv_func_strtold_use=no
54414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54415 ac_ext=c
54416 ac_cpp='$CPP $CPPFLAGS'
54417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
54426 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
54427 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
54428 for ac_func in strtold
54429 do :
54430 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
54431 if test "x$ac_cv_func_strtold" = xyes; then :
54432 cat >>confdefs.h <<_ACEOF
54433 #define HAVE_STRTOLD 1
54434 _ACEOF
54437 done
54444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
54445 $as_echo_n "checking for strtof declaration... " >&6; }
54446 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
54447 if ${glibcxx_cv_func_strtof_use+:} false; then :
54448 $as_echo_n "(cached) " >&6
54449 else
54452 ac_ext=cpp
54453 ac_cpp='$CXXCPP $CPPFLAGS'
54454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54459 /* end confdefs.h. */
54460 #include <stdlib.h>
54462 main ()
54464 strtof(0, 0);
54466 return 0;
54468 _ACEOF
54469 if ac_fn_cxx_try_compile "$LINENO"; then :
54470 glibcxx_cv_func_strtof_use=yes
54471 else
54472 glibcxx_cv_func_strtof_use=no
54474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54475 ac_ext=c
54476 ac_cpp='$CPP $CPPFLAGS'
54477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
54486 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
54487 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
54488 for ac_func in strtof
54489 do :
54490 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
54491 if test "x$ac_cv_func_strtof" = xyes; then :
54492 cat >>confdefs.h <<_ACEOF
54493 #define HAVE_STRTOF 1
54494 _ACEOF
54497 done
54504 CXXFLAGS="$ac_save_CXXFLAGS"
54506 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
54508 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
54512 # Check whether --enable-tls was given.
54513 if test "${enable_tls+set}" = set; then :
54514 enableval=$enable_tls;
54515 case "$enableval" in
54516 yes|no) ;;
54517 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
54518 esac
54520 else
54521 enable_tls=yes
54525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
54526 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
54527 if ${gcc_cv_have_tls+:} false; then :
54528 $as_echo_n "(cached) " >&6
54529 else
54531 if test "$cross_compiling" = yes; then :
54532 if test x$gcc_no_link = xyes; then
54533 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54536 /* end confdefs.h. */
54537 __thread int a; int b; int main() { return a = b; }
54538 _ACEOF
54539 if ac_fn_c_try_link "$LINENO"; then :
54540 chktls_save_LDFLAGS="$LDFLAGS"
54541 case $host in
54542 *-*-linux* | -*-uclinuxfdpic*)
54543 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
54545 esac
54546 chktls_save_CFLAGS="$CFLAGS"
54547 CFLAGS="-fPIC $CFLAGS"
54548 if test x$gcc_no_link = xyes; then
54549 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54552 /* end confdefs.h. */
54553 int f() { return 0; }
54554 _ACEOF
54555 if ac_fn_c_try_link "$LINENO"; then :
54556 if test x$gcc_no_link = xyes; then
54557 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54560 /* end confdefs.h. */
54561 __thread int a; int b; int f() { return a = b; }
54562 _ACEOF
54563 if ac_fn_c_try_link "$LINENO"; then :
54564 gcc_cv_have_tls=yes
54565 else
54566 gcc_cv_have_tls=no
54568 rm -f core conftest.err conftest.$ac_objext \
54569 conftest$ac_exeext conftest.$ac_ext
54570 else
54571 gcc_cv_have_tls=yes
54573 rm -f core conftest.err conftest.$ac_objext \
54574 conftest$ac_exeext conftest.$ac_ext
54575 CFLAGS="$chktls_save_CFLAGS"
54576 LDFLAGS="$chktls_save_LDFLAGS"
54577 else
54578 gcc_cv_have_tls=no
54580 rm -f core conftest.err conftest.$ac_objext \
54581 conftest$ac_exeext conftest.$ac_ext
54584 else
54585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54586 /* end confdefs.h. */
54587 __thread int a; int b; int main() { return a = b; }
54588 _ACEOF
54589 if ac_fn_c_try_run "$LINENO"; then :
54590 chktls_save_LDFLAGS="$LDFLAGS"
54591 LDFLAGS="-static $LDFLAGS"
54592 if test x$gcc_no_link = xyes; then
54593 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54596 /* end confdefs.h. */
54597 int main() { return 0; }
54598 _ACEOF
54599 if ac_fn_c_try_link "$LINENO"; then :
54600 if test "$cross_compiling" = yes; then :
54601 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
54602 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
54603 as_fn_error $? "cannot run test program while cross compiling
54604 See \`config.log' for more details" "$LINENO" 5; }
54605 else
54606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54607 /* end confdefs.h. */
54608 __thread int a; int b; int main() { return a = b; }
54609 _ACEOF
54610 if ac_fn_c_try_run "$LINENO"; then :
54611 gcc_cv_have_tls=yes
54612 else
54613 gcc_cv_have_tls=no
54615 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54616 conftest.$ac_objext conftest.beam conftest.$ac_ext
54619 else
54620 gcc_cv_have_tls=yes
54622 rm -f core conftest.err conftest.$ac_objext \
54623 conftest$ac_exeext conftest.$ac_ext
54624 LDFLAGS="$chktls_save_LDFLAGS"
54625 if test $gcc_cv_have_tls = yes; then
54626 chktls_save_CFLAGS="$CFLAGS"
54627 thread_CFLAGS=failed
54628 for flag in '' '-pthread' '-lpthread'; do
54629 CFLAGS="$flag $chktls_save_CFLAGS"
54630 if test x$gcc_no_link = xyes; then
54631 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54634 /* end confdefs.h. */
54635 #include <pthread.h>
54636 void *g(void *d) { return NULL; }
54638 main ()
54640 pthread_t t; pthread_create(&t,NULL,g,NULL);
54642 return 0;
54644 _ACEOF
54645 if ac_fn_c_try_link "$LINENO"; then :
54646 thread_CFLAGS="$flag"
54648 rm -f core conftest.err conftest.$ac_objext \
54649 conftest$ac_exeext conftest.$ac_ext
54650 if test "X$thread_CFLAGS" != Xfailed; then
54651 break
54653 done
54654 CFLAGS="$chktls_save_CFLAGS"
54655 if test "X$thread_CFLAGS" != Xfailed; then
54656 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
54657 if test "$cross_compiling" = yes; then :
54658 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
54659 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
54660 as_fn_error $? "cannot run test program while cross compiling
54661 See \`config.log' for more details" "$LINENO" 5; }
54662 else
54663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54664 /* end confdefs.h. */
54665 #include <pthread.h>
54666 __thread int a;
54667 static int *volatile a_in_other_thread;
54668 static void *
54669 thread_func (void *arg)
54671 a_in_other_thread = &a;
54672 return (void *)0;
54675 main ()
54677 pthread_t thread;
54678 void *thread_retval;
54679 int *volatile a_in_main_thread;
54680 a_in_main_thread = &a;
54681 if (pthread_create (&thread, (pthread_attr_t *)0,
54682 thread_func, (void *)0))
54683 return 0;
54684 if (pthread_join (thread, &thread_retval))
54685 return 0;
54686 return (a_in_other_thread == a_in_main_thread);
54688 return 0;
54690 _ACEOF
54691 if ac_fn_c_try_run "$LINENO"; then :
54692 gcc_cv_have_tls=yes
54693 else
54694 gcc_cv_have_tls=no
54696 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54697 conftest.$ac_objext conftest.beam conftest.$ac_ext
54700 CFLAGS="$chktls_save_CFLAGS"
54703 else
54704 gcc_cv_have_tls=no
54706 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54707 conftest.$ac_objext conftest.beam conftest.$ac_ext
54711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
54712 $as_echo "$gcc_cv_have_tls" >&6; }
54713 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
54715 $as_echo "#define HAVE_TLS 1" >>confdefs.h
54718 for ac_func in __cxa_thread_atexit_impl
54719 do :
54720 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
54721 if test "x$ac_cv_func___cxa_thread_atexit_impl" = xyes; then :
54722 cat >>confdefs.h <<_ACEOF
54723 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
54724 _ACEOF
54727 done
54729 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
54730 do :
54731 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54732 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54733 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
54734 cat >>confdefs.h <<_ACEOF
54735 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54736 _ACEOF
54739 done
54741 for ac_func in timespec_get
54742 do :
54743 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
54744 if test "x$ac_cv_func_timespec_get" = xyes; then :
54745 cat >>confdefs.h <<_ACEOF
54746 #define HAVE_TIMESPEC_GET 1
54747 _ACEOF
54750 done
54752 for ac_func in sockatmark
54753 do :
54754 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
54755 if test "x$ac_cv_func_sockatmark" = xyes; then :
54756 cat >>confdefs.h <<_ACEOF
54757 #define HAVE_SOCKATMARK 1
54758 _ACEOF
54761 done
54763 for ac_func in uselocale
54764 do :
54765 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
54766 if test "x$ac_cv_func_uselocale" = xyes; then :
54767 cat >>confdefs.h <<_ACEOF
54768 #define HAVE_USELOCALE 1
54769 _ACEOF
54772 done
54779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
54780 $as_echo_n "checking for iconv... " >&6; }
54781 if ${am_cv_func_iconv+:} false; then :
54782 $as_echo_n "(cached) " >&6
54783 else
54785 am_cv_func_iconv="no, consider installing GNU libiconv"
54786 am_cv_lib_iconv=no
54787 am_save_CPPFLAGS="$CPPFLAGS"
54788 CPPFLAGS="$CPPFLAGS $INCICONV"
54789 if test x$gcc_no_link = xyes; then
54790 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54793 /* end confdefs.h. */
54794 #include <stdlib.h>
54795 #include <iconv.h>
54797 main ()
54799 iconv_t cd = iconv_open("","");
54800 iconv(cd,NULL,NULL,NULL,NULL);
54801 iconv_close(cd);
54803 return 0;
54805 _ACEOF
54806 if ac_fn_c_try_link "$LINENO"; then :
54807 am_cv_func_iconv=yes
54809 rm -f core conftest.err conftest.$ac_objext \
54810 conftest$ac_exeext conftest.$ac_ext
54811 CPPFLAGS="$am_save_CPPFLAGS"
54813 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
54814 for _libs in .libs _libs; do
54815 am_save_CPPFLAGS="$CPPFLAGS"
54816 am_save_LIBS="$LIBS"
54817 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
54818 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
54819 if test x$gcc_no_link = xyes; then
54820 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54823 /* end confdefs.h. */
54824 #include <stdlib.h>
54825 #include <iconv.h>
54827 main ()
54829 iconv_t cd = iconv_open("","");
54830 iconv(cd,NULL,NULL,NULL,NULL);
54831 iconv_close(cd);
54833 return 0;
54835 _ACEOF
54836 if ac_fn_c_try_link "$LINENO"; then :
54837 INCICONV="-I../libiconv/include"
54838 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
54839 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
54840 am_cv_lib_iconv=yes
54841 am_cv_func_iconv=yes
54843 rm -f core conftest.err conftest.$ac_objext \
54844 conftest$ac_exeext conftest.$ac_ext
54845 CPPFLAGS="$am_save_CPPFLAGS"
54846 LIBS="$am_save_LIBS"
54847 if test "$am_cv_func_iconv" = "yes"; then
54848 break
54850 done
54853 if test "$am_cv_func_iconv" != yes; then
54854 am_save_CPPFLAGS="$CPPFLAGS"
54855 am_save_LIBS="$LIBS"
54856 CPPFLAGS="$CPPFLAGS $INCICONV"
54857 LIBS="$LIBS $LIBICONV"
54858 if test x$gcc_no_link = xyes; then
54859 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54862 /* end confdefs.h. */
54863 #include <stdlib.h>
54864 #include <iconv.h>
54866 main ()
54868 iconv_t cd = iconv_open("","");
54869 iconv(cd,NULL,NULL,NULL,NULL);
54870 iconv_close(cd);
54872 return 0;
54874 _ACEOF
54875 if ac_fn_c_try_link "$LINENO"; then :
54876 am_cv_lib_iconv=yes
54877 am_cv_func_iconv=yes
54879 rm -f core conftest.err conftest.$ac_objext \
54880 conftest$ac_exeext conftest.$ac_ext
54881 CPPFLAGS="$am_save_CPPFLAGS"
54882 LIBS="$am_save_LIBS"
54886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
54887 $as_echo "$am_cv_func_iconv" >&6; }
54888 if test "$am_cv_func_iconv" = yes; then
54890 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
54893 if test "$am_cv_lib_iconv" = yes; then
54895 for element in $INCICONV; do
54896 haveit=
54897 for x in $CPPFLAGS; do
54899 acl_save_prefix="$prefix"
54900 prefix="$acl_final_prefix"
54901 acl_save_exec_prefix="$exec_prefix"
54902 exec_prefix="$acl_final_exec_prefix"
54903 eval x=\"$x\"
54904 exec_prefix="$acl_save_exec_prefix"
54905 prefix="$acl_save_prefix"
54907 if test "X$x" = "X$element"; then
54908 haveit=yes
54909 break
54911 done
54912 if test -z "$haveit"; then
54913 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
54915 done
54917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
54918 $as_echo_n "checking how to link with libiconv... " >&6; }
54919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
54920 $as_echo "$LIBICONV" >&6; }
54921 else
54922 LIBICONV=
54923 LTLIBICONV=
54928 if test "$am_cv_func_iconv" = yes; then
54929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
54930 $as_echo_n "checking for iconv declaration... " >&6; }
54931 if ${am_cv_proto_iconv+:} false; then :
54932 $as_echo_n "(cached) " >&6
54933 else
54935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54936 /* end confdefs.h. */
54938 #include <stdlib.h>
54939 #include <iconv.h>
54940 extern
54941 #ifdef __cplusplus
54943 #endif
54944 #if defined(__STDC__) || defined(__cplusplus)
54945 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
54946 #else
54947 size_t iconv();
54948 #endif
54951 main ()
54955 return 0;
54957 _ACEOF
54958 if ac_fn_c_try_compile "$LINENO"; then :
54959 am_cv_proto_iconv_arg1=""
54960 else
54961 am_cv_proto_iconv_arg1="const"
54963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54964 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);"
54967 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
54968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
54969 }$am_cv_proto_iconv" >&5
54970 $as_echo "${ac_t:-
54971 }$am_cv_proto_iconv" >&6; }
54973 cat >>confdefs.h <<_ACEOF
54974 #define ICONV_CONST $am_cv_proto_iconv_arg1
54975 _ACEOF
54980 *-mingw32*)
54982 # If we're not using GNU ld, then there's no point in even trying these
54983 # tests. Check for that first. We should have already tested for gld
54984 # by now (in libtool), but require it now just to be safe...
54985 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54986 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54990 # The name set by libtool depends on the version of libtool. Shame on us
54991 # for depending on an impl detail, but c'est la vie. Older versions used
54992 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54993 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54994 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
54995 # set (hence we're using an older libtool), then set it.
54996 if test x${with_gnu_ld+set} != xset; then
54997 if test x${ac_cv_prog_gnu_ld+set} != xset; then
54998 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
54999 with_gnu_ld=no
55000 else
55001 with_gnu_ld=$ac_cv_prog_gnu_ld
55005 # Start by getting the version number. I think the libtool test already
55006 # does some of this, but throws away the result.
55007 glibcxx_ld_is_gold=no
55008 if test x"$with_gnu_ld" = x"yes"; then
55009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
55010 $as_echo_n "checking for ld version... " >&6; }
55012 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
55013 glibcxx_ld_is_gold=yes
55015 ldver=`$LD --version 2>/dev/null |
55016 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
55018 glibcxx_gnu_ld_version=`echo $ldver | \
55019 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
55020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
55021 $as_echo "$glibcxx_gnu_ld_version" >&6; }
55024 # Set --gc-sections.
55025 glibcxx_have_gc_sections=no
55026 if test "$glibcxx_ld_is_gold" = "yes"; then
55027 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
55028 glibcxx_have_gc_sections=yes
55030 else
55031 glibcxx_gcsections_min_ld=21602
55032 if test x"$with_gnu_ld" = x"yes" &&
55033 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
55034 glibcxx_have_gc_sections=yes
55037 if test "$glibcxx_have_gc_sections" = "yes"; then
55038 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
55039 # NB: This flag only works reliably after 2.16.1. Configure tests
55040 # for this are difficult, so hard wire a value that should work.
55042 ac_test_CFLAGS="${CFLAGS+set}"
55043 ac_save_CFLAGS="$CFLAGS"
55044 CFLAGS='-Wl,--gc-sections'
55046 # Check for -Wl,--gc-sections
55047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
55048 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
55049 if test x$gcc_no_link = xyes; then
55050 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
55052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55053 /* end confdefs.h. */
55054 int one(void) { return 1; }
55055 int two(void) { return 2; }
55058 main ()
55060 two();
55062 return 0;
55064 _ACEOF
55065 if ac_fn_c_try_link "$LINENO"; then :
55066 ac_gcsections=yes
55067 else
55068 ac_gcsections=no
55070 rm -f core conftest.err conftest.$ac_objext \
55071 conftest$ac_exeext conftest.$ac_ext
55072 if test "$ac_gcsections" = "yes"; then
55073 rm -f conftest.c
55074 touch conftest.c
55075 if $CC -c conftest.c; then
55076 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
55077 grep "Warning: gc-sections option ignored" > /dev/null; then
55078 ac_gcsections=no
55081 rm -f conftest.c conftest.o conftest
55083 if test "$ac_gcsections" = "yes"; then
55084 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
55086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
55087 $as_echo "$ac_gcsections" >&6; }
55089 if test "$ac_test_CFLAGS" = set; then
55090 CFLAGS="$ac_save_CFLAGS"
55091 else
55092 # this is the suspicious part
55093 CFLAGS=''
55097 # Set -z,relro.
55098 # Note this is only for shared objects.
55099 ac_ld_relro=no
55100 if test x"$with_gnu_ld" = x"yes"; then
55101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
55102 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
55103 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
55104 if test -n "$cxx_z_relo"; then
55105 OPT_LDFLAGS="-Wl,-z,relro"
55106 ac_ld_relro=yes
55108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
55109 $as_echo "$ac_ld_relro" >&6; }
55112 # Set linker optimization flags.
55113 if test x"$with_gnu_ld" = x"yes"; then
55114 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
55121 ac_test_CXXFLAGS="${CXXFLAGS+set}"
55122 ac_save_CXXFLAGS="$CXXFLAGS"
55123 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
55125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
55126 $as_echo_n "checking for sin in -lm... " >&6; }
55127 if ${ac_cv_lib_m_sin+:} false; then :
55128 $as_echo_n "(cached) " >&6
55129 else
55130 ac_check_lib_save_LIBS=$LIBS
55131 LIBS="-lm $LIBS"
55132 if test x$gcc_no_link = xyes; then
55133 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
55135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55136 /* end confdefs.h. */
55138 /* Override any GCC internal prototype to avoid an error.
55139 Use char because int might match the return type of a GCC
55140 builtin and then its argument prototype would still apply. */
55141 #ifdef __cplusplus
55142 extern "C"
55143 #endif
55144 char sin ();
55146 main ()
55148 return sin ();
55150 return 0;
55152 _ACEOF
55153 if ac_fn_c_try_link "$LINENO"; then :
55154 ac_cv_lib_m_sin=yes
55155 else
55156 ac_cv_lib_m_sin=no
55158 rm -f core conftest.err conftest.$ac_objext \
55159 conftest$ac_exeext conftest.$ac_ext
55160 LIBS=$ac_check_lib_save_LIBS
55162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
55163 $as_echo "$ac_cv_lib_m_sin" >&6; }
55164 if test "x$ac_cv_lib_m_sin" = xyes; then :
55165 libm="-lm"
55168 ac_save_LIBS="$LIBS"
55169 LIBS="$LIBS $libm"
55173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
55174 $as_echo_n "checking for isinf declaration... " >&6; }
55175 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
55176 if ${glibcxx_cv_func_isinf_use+:} false; then :
55177 $as_echo_n "(cached) " >&6
55178 else
55181 ac_ext=cpp
55182 ac_cpp='$CXXCPP $CPPFLAGS'
55183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55188 /* end confdefs.h. */
55189 #include <math.h>
55190 #ifdef HAVE_IEEEFP_H
55191 #include <ieeefp.h>
55192 #endif
55195 main ()
55197 isinf(0);
55199 return 0;
55201 _ACEOF
55202 if ac_fn_cxx_try_compile "$LINENO"; then :
55203 glibcxx_cv_func_isinf_use=yes
55204 else
55205 glibcxx_cv_func_isinf_use=no
55207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55208 ac_ext=c
55209 ac_cpp='$CPP $CPPFLAGS'
55210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
55219 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
55221 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
55222 for ac_func in isinf
55223 do :
55224 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
55225 if test "x$ac_cv_func_isinf" = xyes; then :
55226 cat >>confdefs.h <<_ACEOF
55227 #define HAVE_ISINF 1
55228 _ACEOF
55231 done
55233 else
55235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
55236 $as_echo_n "checking for _isinf declaration... " >&6; }
55237 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
55238 if ${glibcxx_cv_func__isinf_use+:} false; then :
55239 $as_echo_n "(cached) " >&6
55240 else
55243 ac_ext=cpp
55244 ac_cpp='$CXXCPP $CPPFLAGS'
55245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55250 /* end confdefs.h. */
55251 #include <math.h>
55252 #ifdef HAVE_IEEEFP_H
55253 #include <ieeefp.h>
55254 #endif
55257 main ()
55259 _isinf(0);
55261 return 0;
55263 _ACEOF
55264 if ac_fn_cxx_try_compile "$LINENO"; then :
55265 glibcxx_cv_func__isinf_use=yes
55266 else
55267 glibcxx_cv_func__isinf_use=no
55269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55270 ac_ext=c
55271 ac_cpp='$CPP $CPPFLAGS'
55272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
55281 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
55283 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
55284 for ac_func in _isinf
55285 do :
55286 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
55287 if test "x$ac_cv_func__isinf" = xyes; then :
55288 cat >>confdefs.h <<_ACEOF
55289 #define HAVE__ISINF 1
55290 _ACEOF
55293 done
55302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
55303 $as_echo_n "checking for isnan declaration... " >&6; }
55304 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
55305 if ${glibcxx_cv_func_isnan_use+:} false; then :
55306 $as_echo_n "(cached) " >&6
55307 else
55310 ac_ext=cpp
55311 ac_cpp='$CXXCPP $CPPFLAGS'
55312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55317 /* end confdefs.h. */
55318 #include <math.h>
55319 #ifdef HAVE_IEEEFP_H
55320 #include <ieeefp.h>
55321 #endif
55324 main ()
55326 isnan(0);
55328 return 0;
55330 _ACEOF
55331 if ac_fn_cxx_try_compile "$LINENO"; then :
55332 glibcxx_cv_func_isnan_use=yes
55333 else
55334 glibcxx_cv_func_isnan_use=no
55336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55337 ac_ext=c
55338 ac_cpp='$CPP $CPPFLAGS'
55339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
55348 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
55350 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
55351 for ac_func in isnan
55352 do :
55353 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
55354 if test "x$ac_cv_func_isnan" = xyes; then :
55355 cat >>confdefs.h <<_ACEOF
55356 #define HAVE_ISNAN 1
55357 _ACEOF
55360 done
55362 else
55364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
55365 $as_echo_n "checking for _isnan declaration... " >&6; }
55366 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
55367 if ${glibcxx_cv_func__isnan_use+:} false; then :
55368 $as_echo_n "(cached) " >&6
55369 else
55372 ac_ext=cpp
55373 ac_cpp='$CXXCPP $CPPFLAGS'
55374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55379 /* end confdefs.h. */
55380 #include <math.h>
55381 #ifdef HAVE_IEEEFP_H
55382 #include <ieeefp.h>
55383 #endif
55386 main ()
55388 _isnan(0);
55390 return 0;
55392 _ACEOF
55393 if ac_fn_cxx_try_compile "$LINENO"; then :
55394 glibcxx_cv_func__isnan_use=yes
55395 else
55396 glibcxx_cv_func__isnan_use=no
55398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55399 ac_ext=c
55400 ac_cpp='$CPP $CPPFLAGS'
55401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
55410 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
55412 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
55413 for ac_func in _isnan
55414 do :
55415 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
55416 if test "x$ac_cv_func__isnan" = xyes; then :
55417 cat >>confdefs.h <<_ACEOF
55418 #define HAVE__ISNAN 1
55419 _ACEOF
55422 done
55431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
55432 $as_echo_n "checking for finite declaration... " >&6; }
55433 if test x${glibcxx_cv_func_finite_use+set} != xset; then
55434 if ${glibcxx_cv_func_finite_use+:} false; then :
55435 $as_echo_n "(cached) " >&6
55436 else
55439 ac_ext=cpp
55440 ac_cpp='$CXXCPP $CPPFLAGS'
55441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55446 /* end confdefs.h. */
55447 #include <math.h>
55448 #ifdef HAVE_IEEEFP_H
55449 #include <ieeefp.h>
55450 #endif
55453 main ()
55455 finite(0);
55457 return 0;
55459 _ACEOF
55460 if ac_fn_cxx_try_compile "$LINENO"; then :
55461 glibcxx_cv_func_finite_use=yes
55462 else
55463 glibcxx_cv_func_finite_use=no
55465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55466 ac_ext=c
55467 ac_cpp='$CPP $CPPFLAGS'
55468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
55477 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
55479 if test x$glibcxx_cv_func_finite_use = x"yes"; then
55480 for ac_func in finite
55481 do :
55482 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
55483 if test "x$ac_cv_func_finite" = xyes; then :
55484 cat >>confdefs.h <<_ACEOF
55485 #define HAVE_FINITE 1
55486 _ACEOF
55489 done
55491 else
55493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
55494 $as_echo_n "checking for _finite declaration... " >&6; }
55495 if test x${glibcxx_cv_func__finite_use+set} != xset; then
55496 if ${glibcxx_cv_func__finite_use+:} false; then :
55497 $as_echo_n "(cached) " >&6
55498 else
55501 ac_ext=cpp
55502 ac_cpp='$CXXCPP $CPPFLAGS'
55503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55508 /* end confdefs.h. */
55509 #include <math.h>
55510 #ifdef HAVE_IEEEFP_H
55511 #include <ieeefp.h>
55512 #endif
55515 main ()
55517 _finite(0);
55519 return 0;
55521 _ACEOF
55522 if ac_fn_cxx_try_compile "$LINENO"; then :
55523 glibcxx_cv_func__finite_use=yes
55524 else
55525 glibcxx_cv_func__finite_use=no
55527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55528 ac_ext=c
55529 ac_cpp='$CPP $CPPFLAGS'
55530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
55539 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
55541 if test x$glibcxx_cv_func__finite_use = x"yes"; then
55542 for ac_func in _finite
55543 do :
55544 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
55545 if test "x$ac_cv_func__finite" = xyes; then :
55546 cat >>confdefs.h <<_ACEOF
55547 #define HAVE__FINITE 1
55548 _ACEOF
55551 done
55560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
55561 $as_echo_n "checking for sincos declaration... " >&6; }
55562 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
55563 if ${glibcxx_cv_func_sincos_use+:} false; then :
55564 $as_echo_n "(cached) " >&6
55565 else
55568 ac_ext=cpp
55569 ac_cpp='$CXXCPP $CPPFLAGS'
55570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55575 /* end confdefs.h. */
55576 #include <math.h>
55578 main ()
55580 sincos(0, 0, 0);
55582 return 0;
55584 _ACEOF
55585 if ac_fn_cxx_try_compile "$LINENO"; then :
55586 glibcxx_cv_func_sincos_use=yes
55587 else
55588 glibcxx_cv_func_sincos_use=no
55590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55591 ac_ext=c
55592 ac_cpp='$CPP $CPPFLAGS'
55593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
55602 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
55604 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
55605 for ac_func in sincos
55606 do :
55607 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
55608 if test "x$ac_cv_func_sincos" = xyes; then :
55609 cat >>confdefs.h <<_ACEOF
55610 #define HAVE_SINCOS 1
55611 _ACEOF
55614 done
55616 else
55618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
55619 $as_echo_n "checking for _sincos declaration... " >&6; }
55620 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
55621 if ${glibcxx_cv_func__sincos_use+:} false; then :
55622 $as_echo_n "(cached) " >&6
55623 else
55626 ac_ext=cpp
55627 ac_cpp='$CXXCPP $CPPFLAGS'
55628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55633 /* end confdefs.h. */
55634 #include <math.h>
55636 main ()
55638 _sincos(0, 0, 0);
55640 return 0;
55642 _ACEOF
55643 if ac_fn_cxx_try_compile "$LINENO"; then :
55644 glibcxx_cv_func__sincos_use=yes
55645 else
55646 glibcxx_cv_func__sincos_use=no
55648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55649 ac_ext=c
55650 ac_cpp='$CPP $CPPFLAGS'
55651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
55660 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
55662 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
55663 for ac_func in _sincos
55664 do :
55665 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
55666 if test "x$ac_cv_func__sincos" = xyes; then :
55667 cat >>confdefs.h <<_ACEOF
55668 #define HAVE__SINCOS 1
55669 _ACEOF
55672 done
55681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
55682 $as_echo_n "checking for fpclass declaration... " >&6; }
55683 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
55684 if ${glibcxx_cv_func_fpclass_use+:} false; then :
55685 $as_echo_n "(cached) " >&6
55686 else
55689 ac_ext=cpp
55690 ac_cpp='$CXXCPP $CPPFLAGS'
55691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55696 /* end confdefs.h. */
55697 #include <math.h>
55698 #ifdef HAVE_IEEEFP_H
55699 #include <ieeefp.h>
55700 #endif
55703 main ()
55705 fpclass(0);
55707 return 0;
55709 _ACEOF
55710 if ac_fn_cxx_try_compile "$LINENO"; then :
55711 glibcxx_cv_func_fpclass_use=yes
55712 else
55713 glibcxx_cv_func_fpclass_use=no
55715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55716 ac_ext=c
55717 ac_cpp='$CPP $CPPFLAGS'
55718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
55727 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
55729 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55730 for ac_func in fpclass
55731 do :
55732 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
55733 if test "x$ac_cv_func_fpclass" = xyes; then :
55734 cat >>confdefs.h <<_ACEOF
55735 #define HAVE_FPCLASS 1
55736 _ACEOF
55739 done
55741 else
55743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
55744 $as_echo_n "checking for _fpclass declaration... " >&6; }
55745 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55746 if ${glibcxx_cv_func__fpclass_use+:} false; then :
55747 $as_echo_n "(cached) " >&6
55748 else
55751 ac_ext=cpp
55752 ac_cpp='$CXXCPP $CPPFLAGS'
55753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55758 /* end confdefs.h. */
55759 #include <math.h>
55760 #ifdef HAVE_IEEEFP_H
55761 #include <ieeefp.h>
55762 #endif
55765 main ()
55767 _fpclass(0);
55769 return 0;
55771 _ACEOF
55772 if ac_fn_cxx_try_compile "$LINENO"; then :
55773 glibcxx_cv_func__fpclass_use=yes
55774 else
55775 glibcxx_cv_func__fpclass_use=no
55777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55778 ac_ext=c
55779 ac_cpp='$CPP $CPPFLAGS'
55780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
55789 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
55791 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55792 for ac_func in _fpclass
55793 do :
55794 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
55795 if test "x$ac_cv_func__fpclass" = xyes; then :
55796 cat >>confdefs.h <<_ACEOF
55797 #define HAVE__FPCLASS 1
55798 _ACEOF
55801 done
55810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
55811 $as_echo_n "checking for qfpclass declaration... " >&6; }
55812 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55813 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
55814 $as_echo_n "(cached) " >&6
55815 else
55818 ac_ext=cpp
55819 ac_cpp='$CXXCPP $CPPFLAGS'
55820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55825 /* end confdefs.h. */
55826 #include <math.h>
55827 #ifdef HAVE_IEEEFP_H
55828 #include <ieeefp.h>
55829 #endif
55832 main ()
55834 qfpclass(0);
55836 return 0;
55838 _ACEOF
55839 if ac_fn_cxx_try_compile "$LINENO"; then :
55840 glibcxx_cv_func_qfpclass_use=yes
55841 else
55842 glibcxx_cv_func_qfpclass_use=no
55844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55845 ac_ext=c
55846 ac_cpp='$CPP $CPPFLAGS'
55847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
55856 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
55858 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
55859 for ac_func in qfpclass
55860 do :
55861 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
55862 if test "x$ac_cv_func_qfpclass" = xyes; then :
55863 cat >>confdefs.h <<_ACEOF
55864 #define HAVE_QFPCLASS 1
55865 _ACEOF
55868 done
55870 else
55872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
55873 $as_echo_n "checking for _qfpclass declaration... " >&6; }
55874 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
55875 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
55876 $as_echo_n "(cached) " >&6
55877 else
55880 ac_ext=cpp
55881 ac_cpp='$CXXCPP $CPPFLAGS'
55882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55887 /* end confdefs.h. */
55888 #include <math.h>
55889 #ifdef HAVE_IEEEFP_H
55890 #include <ieeefp.h>
55891 #endif
55894 main ()
55896 _qfpclass(0);
55898 return 0;
55900 _ACEOF
55901 if ac_fn_cxx_try_compile "$LINENO"; then :
55902 glibcxx_cv_func__qfpclass_use=yes
55903 else
55904 glibcxx_cv_func__qfpclass_use=no
55906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55907 ac_ext=c
55908 ac_cpp='$CPP $CPPFLAGS'
55909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
55918 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
55920 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
55921 for ac_func in _qfpclass
55922 do :
55923 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
55924 if test "x$ac_cv_func__qfpclass" = xyes; then :
55925 cat >>confdefs.h <<_ACEOF
55926 #define HAVE__QFPCLASS 1
55927 _ACEOF
55930 done
55939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
55940 $as_echo_n "checking for hypot declaration... " >&6; }
55941 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
55942 if ${glibcxx_cv_func_hypot_use+:} false; then :
55943 $as_echo_n "(cached) " >&6
55944 else
55947 ac_ext=cpp
55948 ac_cpp='$CXXCPP $CPPFLAGS'
55949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55954 /* end confdefs.h. */
55955 #include <math.h>
55957 main ()
55959 hypot(0, 0);
55961 return 0;
55963 _ACEOF
55964 if ac_fn_cxx_try_compile "$LINENO"; then :
55965 glibcxx_cv_func_hypot_use=yes
55966 else
55967 glibcxx_cv_func_hypot_use=no
55969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55970 ac_ext=c
55971 ac_cpp='$CPP $CPPFLAGS'
55972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
55981 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
55983 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
55984 for ac_func in hypot
55985 do :
55986 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
55987 if test "x$ac_cv_func_hypot" = xyes; then :
55988 cat >>confdefs.h <<_ACEOF
55989 #define HAVE_HYPOT 1
55990 _ACEOF
55993 done
55995 else
55997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
55998 $as_echo_n "checking for _hypot declaration... " >&6; }
55999 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
56000 if ${glibcxx_cv_func__hypot_use+:} false; then :
56001 $as_echo_n "(cached) " >&6
56002 else
56005 ac_ext=cpp
56006 ac_cpp='$CXXCPP $CPPFLAGS'
56007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56012 /* end confdefs.h. */
56013 #include <math.h>
56015 main ()
56017 _hypot(0, 0);
56019 return 0;
56021 _ACEOF
56022 if ac_fn_cxx_try_compile "$LINENO"; then :
56023 glibcxx_cv_func__hypot_use=yes
56024 else
56025 glibcxx_cv_func__hypot_use=no
56027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56028 ac_ext=c
56029 ac_cpp='$CPP $CPPFLAGS'
56030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
56039 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
56041 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
56042 for ac_func in _hypot
56043 do :
56044 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
56045 if test "x$ac_cv_func__hypot" = xyes; then :
56046 cat >>confdefs.h <<_ACEOF
56047 #define HAVE__HYPOT 1
56048 _ACEOF
56051 done
56060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
56061 $as_echo_n "checking for float trig functions... " >&6; }
56062 if ${glibcxx_cv_func_float_trig_use+:} false; then :
56063 $as_echo_n "(cached) " >&6
56064 else
56067 ac_ext=cpp
56068 ac_cpp='$CXXCPP $CPPFLAGS'
56069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56074 /* end confdefs.h. */
56075 #include <math.h>
56077 main ()
56079 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
56081 return 0;
56083 _ACEOF
56084 if ac_fn_cxx_try_compile "$LINENO"; then :
56085 glibcxx_cv_func_float_trig_use=yes
56086 else
56087 glibcxx_cv_func_float_trig_use=no
56089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56090 ac_ext=c
56091 ac_cpp='$CPP $CPPFLAGS'
56092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
56099 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
56100 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
56101 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
56102 do :
56103 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56104 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56105 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
56106 cat >>confdefs.h <<_ACEOF
56107 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56108 _ACEOF
56111 done
56113 else
56114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
56115 $as_echo_n "checking for _float trig functions... " >&6; }
56116 if ${glibcxx_cv_func__float_trig_use+:} false; then :
56117 $as_echo_n "(cached) " >&6
56118 else
56121 ac_ext=cpp
56122 ac_cpp='$CXXCPP $CPPFLAGS'
56123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56128 /* end confdefs.h. */
56129 #include <math.h>
56131 main ()
56133 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
56135 return 0;
56137 _ACEOF
56138 if ac_fn_cxx_try_compile "$LINENO"; then :
56139 glibcxx_cv_func__float_trig_use=yes
56140 else
56141 glibcxx_cv_func__float_trig_use=no
56143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56144 ac_ext=c
56145 ac_cpp='$CPP $CPPFLAGS'
56146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
56153 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
56154 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
56155 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
56156 do :
56157 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56158 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56159 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
56160 cat >>confdefs.h <<_ACEOF
56161 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56162 _ACEOF
56165 done
56174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
56175 $as_echo_n "checking for float round functions... " >&6; }
56176 if ${glibcxx_cv_func_float_round_use+:} false; then :
56177 $as_echo_n "(cached) " >&6
56178 else
56181 ac_ext=cpp
56182 ac_cpp='$CXXCPP $CPPFLAGS'
56183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56188 /* end confdefs.h. */
56189 #include <math.h>
56191 main ()
56193 ceilf (0); floorf (0);
56195 return 0;
56197 _ACEOF
56198 if ac_fn_cxx_try_compile "$LINENO"; then :
56199 glibcxx_cv_func_float_round_use=yes
56200 else
56201 glibcxx_cv_func_float_round_use=no
56203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56204 ac_ext=c
56205 ac_cpp='$CPP $CPPFLAGS'
56206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
56213 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
56214 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
56215 for ac_func in ceilf floorf
56216 do :
56217 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56218 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56219 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
56220 cat >>confdefs.h <<_ACEOF
56221 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56222 _ACEOF
56225 done
56227 else
56228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
56229 $as_echo_n "checking for _float round functions... " >&6; }
56230 if ${glibcxx_cv_func__float_round_use+:} false; then :
56231 $as_echo_n "(cached) " >&6
56232 else
56235 ac_ext=cpp
56236 ac_cpp='$CXXCPP $CPPFLAGS'
56237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56242 /* end confdefs.h. */
56243 #include <math.h>
56245 main ()
56247 _ceilf (0); _floorf (0);
56249 return 0;
56251 _ACEOF
56252 if ac_fn_cxx_try_compile "$LINENO"; then :
56253 glibcxx_cv_func__float_round_use=yes
56254 else
56255 glibcxx_cv_func__float_round_use=no
56257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56258 ac_ext=c
56259 ac_cpp='$CPP $CPPFLAGS'
56260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
56267 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
56268 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
56269 for ac_func in _ceilf _floorf
56270 do :
56271 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56272 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56273 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
56274 cat >>confdefs.h <<_ACEOF
56275 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56276 _ACEOF
56279 done
56289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
56290 $as_echo_n "checking for expf declaration... " >&6; }
56291 if test x${glibcxx_cv_func_expf_use+set} != xset; then
56292 if ${glibcxx_cv_func_expf_use+:} false; then :
56293 $as_echo_n "(cached) " >&6
56294 else
56297 ac_ext=cpp
56298 ac_cpp='$CXXCPP $CPPFLAGS'
56299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56304 /* end confdefs.h. */
56305 #include <math.h>
56306 #ifdef HAVE_IEEEFP_H
56307 #include <ieeefp.h>
56308 #endif
56311 main ()
56313 expf(0);
56315 return 0;
56317 _ACEOF
56318 if ac_fn_cxx_try_compile "$LINENO"; then :
56319 glibcxx_cv_func_expf_use=yes
56320 else
56321 glibcxx_cv_func_expf_use=no
56323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56324 ac_ext=c
56325 ac_cpp='$CPP $CPPFLAGS'
56326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
56335 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
56337 if test x$glibcxx_cv_func_expf_use = x"yes"; then
56338 for ac_func in expf
56339 do :
56340 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
56341 if test "x$ac_cv_func_expf" = xyes; then :
56342 cat >>confdefs.h <<_ACEOF
56343 #define HAVE_EXPF 1
56344 _ACEOF
56347 done
56349 else
56351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
56352 $as_echo_n "checking for _expf declaration... " >&6; }
56353 if test x${glibcxx_cv_func__expf_use+set} != xset; then
56354 if ${glibcxx_cv_func__expf_use+:} false; then :
56355 $as_echo_n "(cached) " >&6
56356 else
56359 ac_ext=cpp
56360 ac_cpp='$CXXCPP $CPPFLAGS'
56361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56366 /* end confdefs.h. */
56367 #include <math.h>
56368 #ifdef HAVE_IEEEFP_H
56369 #include <ieeefp.h>
56370 #endif
56373 main ()
56375 _expf(0);
56377 return 0;
56379 _ACEOF
56380 if ac_fn_cxx_try_compile "$LINENO"; then :
56381 glibcxx_cv_func__expf_use=yes
56382 else
56383 glibcxx_cv_func__expf_use=no
56385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56386 ac_ext=c
56387 ac_cpp='$CPP $CPPFLAGS'
56388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
56397 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
56399 if test x$glibcxx_cv_func__expf_use = x"yes"; then
56400 for ac_func in _expf
56401 do :
56402 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
56403 if test "x$ac_cv_func__expf" = xyes; then :
56404 cat >>confdefs.h <<_ACEOF
56405 #define HAVE__EXPF 1
56406 _ACEOF
56409 done
56418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
56419 $as_echo_n "checking for isnanf declaration... " >&6; }
56420 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
56421 if ${glibcxx_cv_func_isnanf_use+:} false; then :
56422 $as_echo_n "(cached) " >&6
56423 else
56426 ac_ext=cpp
56427 ac_cpp='$CXXCPP $CPPFLAGS'
56428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56433 /* end confdefs.h. */
56434 #include <math.h>
56435 #ifdef HAVE_IEEEFP_H
56436 #include <ieeefp.h>
56437 #endif
56440 main ()
56442 isnanf(0);
56444 return 0;
56446 _ACEOF
56447 if ac_fn_cxx_try_compile "$LINENO"; then :
56448 glibcxx_cv_func_isnanf_use=yes
56449 else
56450 glibcxx_cv_func_isnanf_use=no
56452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56453 ac_ext=c
56454 ac_cpp='$CPP $CPPFLAGS'
56455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
56464 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
56466 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
56467 for ac_func in isnanf
56468 do :
56469 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
56470 if test "x$ac_cv_func_isnanf" = xyes; then :
56471 cat >>confdefs.h <<_ACEOF
56472 #define HAVE_ISNANF 1
56473 _ACEOF
56476 done
56478 else
56480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
56481 $as_echo_n "checking for _isnanf declaration... " >&6; }
56482 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
56483 if ${glibcxx_cv_func__isnanf_use+:} false; then :
56484 $as_echo_n "(cached) " >&6
56485 else
56488 ac_ext=cpp
56489 ac_cpp='$CXXCPP $CPPFLAGS'
56490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56495 /* end confdefs.h. */
56496 #include <math.h>
56497 #ifdef HAVE_IEEEFP_H
56498 #include <ieeefp.h>
56499 #endif
56502 main ()
56504 _isnanf(0);
56506 return 0;
56508 _ACEOF
56509 if ac_fn_cxx_try_compile "$LINENO"; then :
56510 glibcxx_cv_func__isnanf_use=yes
56511 else
56512 glibcxx_cv_func__isnanf_use=no
56514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56515 ac_ext=c
56516 ac_cpp='$CPP $CPPFLAGS'
56517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
56526 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
56528 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
56529 for ac_func in _isnanf
56530 do :
56531 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
56532 if test "x$ac_cv_func__isnanf" = xyes; then :
56533 cat >>confdefs.h <<_ACEOF
56534 #define HAVE__ISNANF 1
56535 _ACEOF
56538 done
56547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
56548 $as_echo_n "checking for isinff declaration... " >&6; }
56549 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
56550 if ${glibcxx_cv_func_isinff_use+:} false; then :
56551 $as_echo_n "(cached) " >&6
56552 else
56555 ac_ext=cpp
56556 ac_cpp='$CXXCPP $CPPFLAGS'
56557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56562 /* end confdefs.h. */
56563 #include <math.h>
56564 #ifdef HAVE_IEEEFP_H
56565 #include <ieeefp.h>
56566 #endif
56569 main ()
56571 isinff(0);
56573 return 0;
56575 _ACEOF
56576 if ac_fn_cxx_try_compile "$LINENO"; then :
56577 glibcxx_cv_func_isinff_use=yes
56578 else
56579 glibcxx_cv_func_isinff_use=no
56581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56582 ac_ext=c
56583 ac_cpp='$CPP $CPPFLAGS'
56584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
56593 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
56595 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
56596 for ac_func in isinff
56597 do :
56598 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
56599 if test "x$ac_cv_func_isinff" = xyes; then :
56600 cat >>confdefs.h <<_ACEOF
56601 #define HAVE_ISINFF 1
56602 _ACEOF
56605 done
56607 else
56609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
56610 $as_echo_n "checking for _isinff declaration... " >&6; }
56611 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
56612 if ${glibcxx_cv_func__isinff_use+:} false; then :
56613 $as_echo_n "(cached) " >&6
56614 else
56617 ac_ext=cpp
56618 ac_cpp='$CXXCPP $CPPFLAGS'
56619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56624 /* end confdefs.h. */
56625 #include <math.h>
56626 #ifdef HAVE_IEEEFP_H
56627 #include <ieeefp.h>
56628 #endif
56631 main ()
56633 _isinff(0);
56635 return 0;
56637 _ACEOF
56638 if ac_fn_cxx_try_compile "$LINENO"; then :
56639 glibcxx_cv_func__isinff_use=yes
56640 else
56641 glibcxx_cv_func__isinff_use=no
56643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56644 ac_ext=c
56645 ac_cpp='$CPP $CPPFLAGS'
56646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
56655 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
56657 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
56658 for ac_func in _isinff
56659 do :
56660 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
56661 if test "x$ac_cv_func__isinff" = xyes; then :
56662 cat >>confdefs.h <<_ACEOF
56663 #define HAVE__ISINFF 1
56664 _ACEOF
56667 done
56676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
56677 $as_echo_n "checking for atan2f declaration... " >&6; }
56678 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
56679 if ${glibcxx_cv_func_atan2f_use+:} false; then :
56680 $as_echo_n "(cached) " >&6
56681 else
56684 ac_ext=cpp
56685 ac_cpp='$CXXCPP $CPPFLAGS'
56686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56691 /* end confdefs.h. */
56692 #include <math.h>
56694 main ()
56696 atan2f(0, 0);
56698 return 0;
56700 _ACEOF
56701 if ac_fn_cxx_try_compile "$LINENO"; then :
56702 glibcxx_cv_func_atan2f_use=yes
56703 else
56704 glibcxx_cv_func_atan2f_use=no
56706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56707 ac_ext=c
56708 ac_cpp='$CPP $CPPFLAGS'
56709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
56718 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
56720 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
56721 for ac_func in atan2f
56722 do :
56723 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
56724 if test "x$ac_cv_func_atan2f" = xyes; then :
56725 cat >>confdefs.h <<_ACEOF
56726 #define HAVE_ATAN2F 1
56727 _ACEOF
56730 done
56732 else
56734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
56735 $as_echo_n "checking for _atan2f declaration... " >&6; }
56736 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
56737 if ${glibcxx_cv_func__atan2f_use+:} false; then :
56738 $as_echo_n "(cached) " >&6
56739 else
56742 ac_ext=cpp
56743 ac_cpp='$CXXCPP $CPPFLAGS'
56744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56749 /* end confdefs.h. */
56750 #include <math.h>
56752 main ()
56754 _atan2f(0, 0);
56756 return 0;
56758 _ACEOF
56759 if ac_fn_cxx_try_compile "$LINENO"; then :
56760 glibcxx_cv_func__atan2f_use=yes
56761 else
56762 glibcxx_cv_func__atan2f_use=no
56764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56765 ac_ext=c
56766 ac_cpp='$CPP $CPPFLAGS'
56767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
56776 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
56778 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
56779 for ac_func in _atan2f
56780 do :
56781 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
56782 if test "x$ac_cv_func__atan2f" = xyes; then :
56783 cat >>confdefs.h <<_ACEOF
56784 #define HAVE__ATAN2F 1
56785 _ACEOF
56788 done
56797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
56798 $as_echo_n "checking for fabsf declaration... " >&6; }
56799 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
56800 if ${glibcxx_cv_func_fabsf_use+:} false; then :
56801 $as_echo_n "(cached) " >&6
56802 else
56805 ac_ext=cpp
56806 ac_cpp='$CXXCPP $CPPFLAGS'
56807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56812 /* end confdefs.h. */
56813 #include <math.h>
56814 #ifdef HAVE_IEEEFP_H
56815 #include <ieeefp.h>
56816 #endif
56819 main ()
56821 fabsf(0);
56823 return 0;
56825 _ACEOF
56826 if ac_fn_cxx_try_compile "$LINENO"; then :
56827 glibcxx_cv_func_fabsf_use=yes
56828 else
56829 glibcxx_cv_func_fabsf_use=no
56831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56832 ac_ext=c
56833 ac_cpp='$CPP $CPPFLAGS'
56834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
56843 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
56845 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
56846 for ac_func in fabsf
56847 do :
56848 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
56849 if test "x$ac_cv_func_fabsf" = xyes; then :
56850 cat >>confdefs.h <<_ACEOF
56851 #define HAVE_FABSF 1
56852 _ACEOF
56855 done
56857 else
56859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
56860 $as_echo_n "checking for _fabsf declaration... " >&6; }
56861 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
56862 if ${glibcxx_cv_func__fabsf_use+:} false; then :
56863 $as_echo_n "(cached) " >&6
56864 else
56867 ac_ext=cpp
56868 ac_cpp='$CXXCPP $CPPFLAGS'
56869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56874 /* end confdefs.h. */
56875 #include <math.h>
56876 #ifdef HAVE_IEEEFP_H
56877 #include <ieeefp.h>
56878 #endif
56881 main ()
56883 _fabsf(0);
56885 return 0;
56887 _ACEOF
56888 if ac_fn_cxx_try_compile "$LINENO"; then :
56889 glibcxx_cv_func__fabsf_use=yes
56890 else
56891 glibcxx_cv_func__fabsf_use=no
56893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56894 ac_ext=c
56895 ac_cpp='$CPP $CPPFLAGS'
56896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
56905 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
56907 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
56908 for ac_func in _fabsf
56909 do :
56910 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
56911 if test "x$ac_cv_func__fabsf" = xyes; then :
56912 cat >>confdefs.h <<_ACEOF
56913 #define HAVE__FABSF 1
56914 _ACEOF
56917 done
56926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
56927 $as_echo_n "checking for fmodf declaration... " >&6; }
56928 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
56929 if ${glibcxx_cv_func_fmodf_use+:} false; then :
56930 $as_echo_n "(cached) " >&6
56931 else
56934 ac_ext=cpp
56935 ac_cpp='$CXXCPP $CPPFLAGS'
56936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56941 /* end confdefs.h. */
56942 #include <math.h>
56944 main ()
56946 fmodf(0, 0);
56948 return 0;
56950 _ACEOF
56951 if ac_fn_cxx_try_compile "$LINENO"; then :
56952 glibcxx_cv_func_fmodf_use=yes
56953 else
56954 glibcxx_cv_func_fmodf_use=no
56956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56957 ac_ext=c
56958 ac_cpp='$CPP $CPPFLAGS'
56959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
56968 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
56970 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
56971 for ac_func in fmodf
56972 do :
56973 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
56974 if test "x$ac_cv_func_fmodf" = xyes; then :
56975 cat >>confdefs.h <<_ACEOF
56976 #define HAVE_FMODF 1
56977 _ACEOF
56980 done
56982 else
56984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
56985 $as_echo_n "checking for _fmodf declaration... " >&6; }
56986 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
56987 if ${glibcxx_cv_func__fmodf_use+:} false; then :
56988 $as_echo_n "(cached) " >&6
56989 else
56992 ac_ext=cpp
56993 ac_cpp='$CXXCPP $CPPFLAGS'
56994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56999 /* end confdefs.h. */
57000 #include <math.h>
57002 main ()
57004 _fmodf(0, 0);
57006 return 0;
57008 _ACEOF
57009 if ac_fn_cxx_try_compile "$LINENO"; then :
57010 glibcxx_cv_func__fmodf_use=yes
57011 else
57012 glibcxx_cv_func__fmodf_use=no
57014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57015 ac_ext=c
57016 ac_cpp='$CPP $CPPFLAGS'
57017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
57026 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
57028 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
57029 for ac_func in _fmodf
57030 do :
57031 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
57032 if test "x$ac_cv_func__fmodf" = xyes; then :
57033 cat >>confdefs.h <<_ACEOF
57034 #define HAVE__FMODF 1
57035 _ACEOF
57038 done
57047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
57048 $as_echo_n "checking for frexpf declaration... " >&6; }
57049 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
57050 if ${glibcxx_cv_func_frexpf_use+:} false; then :
57051 $as_echo_n "(cached) " >&6
57052 else
57055 ac_ext=cpp
57056 ac_cpp='$CXXCPP $CPPFLAGS'
57057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57062 /* end confdefs.h. */
57063 #include <math.h>
57065 main ()
57067 frexpf(0, 0);
57069 return 0;
57071 _ACEOF
57072 if ac_fn_cxx_try_compile "$LINENO"; then :
57073 glibcxx_cv_func_frexpf_use=yes
57074 else
57075 glibcxx_cv_func_frexpf_use=no
57077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57078 ac_ext=c
57079 ac_cpp='$CPP $CPPFLAGS'
57080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
57089 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
57091 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
57092 for ac_func in frexpf
57093 do :
57094 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
57095 if test "x$ac_cv_func_frexpf" = xyes; then :
57096 cat >>confdefs.h <<_ACEOF
57097 #define HAVE_FREXPF 1
57098 _ACEOF
57101 done
57103 else
57105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
57106 $as_echo_n "checking for _frexpf declaration... " >&6; }
57107 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
57108 if ${glibcxx_cv_func__frexpf_use+:} false; then :
57109 $as_echo_n "(cached) " >&6
57110 else
57113 ac_ext=cpp
57114 ac_cpp='$CXXCPP $CPPFLAGS'
57115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57120 /* end confdefs.h. */
57121 #include <math.h>
57123 main ()
57125 _frexpf(0, 0);
57127 return 0;
57129 _ACEOF
57130 if ac_fn_cxx_try_compile "$LINENO"; then :
57131 glibcxx_cv_func__frexpf_use=yes
57132 else
57133 glibcxx_cv_func__frexpf_use=no
57135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57136 ac_ext=c
57137 ac_cpp='$CPP $CPPFLAGS'
57138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
57147 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
57149 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
57150 for ac_func in _frexpf
57151 do :
57152 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
57153 if test "x$ac_cv_func__frexpf" = xyes; then :
57154 cat >>confdefs.h <<_ACEOF
57155 #define HAVE__FREXPF 1
57156 _ACEOF
57159 done
57168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
57169 $as_echo_n "checking for hypotf declaration... " >&6; }
57170 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
57171 if ${glibcxx_cv_func_hypotf_use+:} false; then :
57172 $as_echo_n "(cached) " >&6
57173 else
57176 ac_ext=cpp
57177 ac_cpp='$CXXCPP $CPPFLAGS'
57178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57183 /* end confdefs.h. */
57184 #include <math.h>
57186 main ()
57188 hypotf(0, 0);
57190 return 0;
57192 _ACEOF
57193 if ac_fn_cxx_try_compile "$LINENO"; then :
57194 glibcxx_cv_func_hypotf_use=yes
57195 else
57196 glibcxx_cv_func_hypotf_use=no
57198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57199 ac_ext=c
57200 ac_cpp='$CPP $CPPFLAGS'
57201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
57210 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
57212 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
57213 for ac_func in hypotf
57214 do :
57215 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
57216 if test "x$ac_cv_func_hypotf" = xyes; then :
57217 cat >>confdefs.h <<_ACEOF
57218 #define HAVE_HYPOTF 1
57219 _ACEOF
57222 done
57224 else
57226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
57227 $as_echo_n "checking for _hypotf declaration... " >&6; }
57228 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
57229 if ${glibcxx_cv_func__hypotf_use+:} false; then :
57230 $as_echo_n "(cached) " >&6
57231 else
57234 ac_ext=cpp
57235 ac_cpp='$CXXCPP $CPPFLAGS'
57236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57241 /* end confdefs.h. */
57242 #include <math.h>
57244 main ()
57246 _hypotf(0, 0);
57248 return 0;
57250 _ACEOF
57251 if ac_fn_cxx_try_compile "$LINENO"; then :
57252 glibcxx_cv_func__hypotf_use=yes
57253 else
57254 glibcxx_cv_func__hypotf_use=no
57256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57257 ac_ext=c
57258 ac_cpp='$CPP $CPPFLAGS'
57259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
57268 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
57270 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
57271 for ac_func in _hypotf
57272 do :
57273 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
57274 if test "x$ac_cv_func__hypotf" = xyes; then :
57275 cat >>confdefs.h <<_ACEOF
57276 #define HAVE__HYPOTF 1
57277 _ACEOF
57280 done
57289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
57290 $as_echo_n "checking for ldexpf declaration... " >&6; }
57291 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
57292 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
57293 $as_echo_n "(cached) " >&6
57294 else
57297 ac_ext=cpp
57298 ac_cpp='$CXXCPP $CPPFLAGS'
57299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57304 /* end confdefs.h. */
57305 #include <math.h>
57307 main ()
57309 ldexpf(0, 0);
57311 return 0;
57313 _ACEOF
57314 if ac_fn_cxx_try_compile "$LINENO"; then :
57315 glibcxx_cv_func_ldexpf_use=yes
57316 else
57317 glibcxx_cv_func_ldexpf_use=no
57319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57320 ac_ext=c
57321 ac_cpp='$CPP $CPPFLAGS'
57322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
57331 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
57333 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
57334 for ac_func in ldexpf
57335 do :
57336 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
57337 if test "x$ac_cv_func_ldexpf" = xyes; then :
57338 cat >>confdefs.h <<_ACEOF
57339 #define HAVE_LDEXPF 1
57340 _ACEOF
57343 done
57345 else
57347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
57348 $as_echo_n "checking for _ldexpf declaration... " >&6; }
57349 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
57350 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
57351 $as_echo_n "(cached) " >&6
57352 else
57355 ac_ext=cpp
57356 ac_cpp='$CXXCPP $CPPFLAGS'
57357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57362 /* end confdefs.h. */
57363 #include <math.h>
57365 main ()
57367 _ldexpf(0, 0);
57369 return 0;
57371 _ACEOF
57372 if ac_fn_cxx_try_compile "$LINENO"; then :
57373 glibcxx_cv_func__ldexpf_use=yes
57374 else
57375 glibcxx_cv_func__ldexpf_use=no
57377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57378 ac_ext=c
57379 ac_cpp='$CPP $CPPFLAGS'
57380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
57389 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
57391 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
57392 for ac_func in _ldexpf
57393 do :
57394 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
57395 if test "x$ac_cv_func__ldexpf" = xyes; then :
57396 cat >>confdefs.h <<_ACEOF
57397 #define HAVE__LDEXPF 1
57398 _ACEOF
57401 done
57410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
57411 $as_echo_n "checking for logf declaration... " >&6; }
57412 if test x${glibcxx_cv_func_logf_use+set} != xset; then
57413 if ${glibcxx_cv_func_logf_use+:} false; then :
57414 $as_echo_n "(cached) " >&6
57415 else
57418 ac_ext=cpp
57419 ac_cpp='$CXXCPP $CPPFLAGS'
57420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57425 /* end confdefs.h. */
57426 #include <math.h>
57427 #ifdef HAVE_IEEEFP_H
57428 #include <ieeefp.h>
57429 #endif
57432 main ()
57434 logf(0);
57436 return 0;
57438 _ACEOF
57439 if ac_fn_cxx_try_compile "$LINENO"; then :
57440 glibcxx_cv_func_logf_use=yes
57441 else
57442 glibcxx_cv_func_logf_use=no
57444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57445 ac_ext=c
57446 ac_cpp='$CPP $CPPFLAGS'
57447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
57456 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
57458 if test x$glibcxx_cv_func_logf_use = x"yes"; then
57459 for ac_func in logf
57460 do :
57461 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
57462 if test "x$ac_cv_func_logf" = xyes; then :
57463 cat >>confdefs.h <<_ACEOF
57464 #define HAVE_LOGF 1
57465 _ACEOF
57468 done
57470 else
57472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
57473 $as_echo_n "checking for _logf declaration... " >&6; }
57474 if test x${glibcxx_cv_func__logf_use+set} != xset; then
57475 if ${glibcxx_cv_func__logf_use+:} false; then :
57476 $as_echo_n "(cached) " >&6
57477 else
57480 ac_ext=cpp
57481 ac_cpp='$CXXCPP $CPPFLAGS'
57482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57487 /* end confdefs.h. */
57488 #include <math.h>
57489 #ifdef HAVE_IEEEFP_H
57490 #include <ieeefp.h>
57491 #endif
57494 main ()
57496 _logf(0);
57498 return 0;
57500 _ACEOF
57501 if ac_fn_cxx_try_compile "$LINENO"; then :
57502 glibcxx_cv_func__logf_use=yes
57503 else
57504 glibcxx_cv_func__logf_use=no
57506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57507 ac_ext=c
57508 ac_cpp='$CPP $CPPFLAGS'
57509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
57518 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
57520 if test x$glibcxx_cv_func__logf_use = x"yes"; then
57521 for ac_func in _logf
57522 do :
57523 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
57524 if test "x$ac_cv_func__logf" = xyes; then :
57525 cat >>confdefs.h <<_ACEOF
57526 #define HAVE__LOGF 1
57527 _ACEOF
57530 done
57539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
57540 $as_echo_n "checking for log10f declaration... " >&6; }
57541 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
57542 if ${glibcxx_cv_func_log10f_use+:} false; then :
57543 $as_echo_n "(cached) " >&6
57544 else
57547 ac_ext=cpp
57548 ac_cpp='$CXXCPP $CPPFLAGS'
57549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57554 /* end confdefs.h. */
57555 #include <math.h>
57556 #ifdef HAVE_IEEEFP_H
57557 #include <ieeefp.h>
57558 #endif
57561 main ()
57563 log10f(0);
57565 return 0;
57567 _ACEOF
57568 if ac_fn_cxx_try_compile "$LINENO"; then :
57569 glibcxx_cv_func_log10f_use=yes
57570 else
57571 glibcxx_cv_func_log10f_use=no
57573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57574 ac_ext=c
57575 ac_cpp='$CPP $CPPFLAGS'
57576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
57585 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
57587 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
57588 for ac_func in log10f
57589 do :
57590 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
57591 if test "x$ac_cv_func_log10f" = xyes; then :
57592 cat >>confdefs.h <<_ACEOF
57593 #define HAVE_LOG10F 1
57594 _ACEOF
57597 done
57599 else
57601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
57602 $as_echo_n "checking for _log10f declaration... " >&6; }
57603 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
57604 if ${glibcxx_cv_func__log10f_use+:} false; then :
57605 $as_echo_n "(cached) " >&6
57606 else
57609 ac_ext=cpp
57610 ac_cpp='$CXXCPP $CPPFLAGS'
57611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57616 /* end confdefs.h. */
57617 #include <math.h>
57618 #ifdef HAVE_IEEEFP_H
57619 #include <ieeefp.h>
57620 #endif
57623 main ()
57625 _log10f(0);
57627 return 0;
57629 _ACEOF
57630 if ac_fn_cxx_try_compile "$LINENO"; then :
57631 glibcxx_cv_func__log10f_use=yes
57632 else
57633 glibcxx_cv_func__log10f_use=no
57635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57636 ac_ext=c
57637 ac_cpp='$CPP $CPPFLAGS'
57638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
57647 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
57649 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
57650 for ac_func in _log10f
57651 do :
57652 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
57653 if test "x$ac_cv_func__log10f" = xyes; then :
57654 cat >>confdefs.h <<_ACEOF
57655 #define HAVE__LOG10F 1
57656 _ACEOF
57659 done
57668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
57669 $as_echo_n "checking for modff declaration... " >&6; }
57670 if test x${glibcxx_cv_func_modff_use+set} != xset; then
57671 if ${glibcxx_cv_func_modff_use+:} false; then :
57672 $as_echo_n "(cached) " >&6
57673 else
57676 ac_ext=cpp
57677 ac_cpp='$CXXCPP $CPPFLAGS'
57678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57683 /* end confdefs.h. */
57684 #include <math.h>
57686 main ()
57688 modff(0, 0);
57690 return 0;
57692 _ACEOF
57693 if ac_fn_cxx_try_compile "$LINENO"; then :
57694 glibcxx_cv_func_modff_use=yes
57695 else
57696 glibcxx_cv_func_modff_use=no
57698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57699 ac_ext=c
57700 ac_cpp='$CPP $CPPFLAGS'
57701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
57710 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
57712 if test x$glibcxx_cv_func_modff_use = x"yes"; then
57713 for ac_func in modff
57714 do :
57715 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
57716 if test "x$ac_cv_func_modff" = xyes; then :
57717 cat >>confdefs.h <<_ACEOF
57718 #define HAVE_MODFF 1
57719 _ACEOF
57722 done
57724 else
57726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
57727 $as_echo_n "checking for _modff declaration... " >&6; }
57728 if test x${glibcxx_cv_func__modff_use+set} != xset; then
57729 if ${glibcxx_cv_func__modff_use+:} false; then :
57730 $as_echo_n "(cached) " >&6
57731 else
57734 ac_ext=cpp
57735 ac_cpp='$CXXCPP $CPPFLAGS'
57736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57741 /* end confdefs.h. */
57742 #include <math.h>
57744 main ()
57746 _modff(0, 0);
57748 return 0;
57750 _ACEOF
57751 if ac_fn_cxx_try_compile "$LINENO"; then :
57752 glibcxx_cv_func__modff_use=yes
57753 else
57754 glibcxx_cv_func__modff_use=no
57756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57757 ac_ext=c
57758 ac_cpp='$CPP $CPPFLAGS'
57759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
57768 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
57770 if test x$glibcxx_cv_func__modff_use = x"yes"; then
57771 for ac_func in _modff
57772 do :
57773 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
57774 if test "x$ac_cv_func__modff" = xyes; then :
57775 cat >>confdefs.h <<_ACEOF
57776 #define HAVE__MODFF 1
57777 _ACEOF
57780 done
57789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
57790 $as_echo_n "checking for modf declaration... " >&6; }
57791 if test x${glibcxx_cv_func_modf_use+set} != xset; then
57792 if ${glibcxx_cv_func_modf_use+:} false; then :
57793 $as_echo_n "(cached) " >&6
57794 else
57797 ac_ext=cpp
57798 ac_cpp='$CXXCPP $CPPFLAGS'
57799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57804 /* end confdefs.h. */
57805 #include <math.h>
57807 main ()
57809 modf(0, 0);
57811 return 0;
57813 _ACEOF
57814 if ac_fn_cxx_try_compile "$LINENO"; then :
57815 glibcxx_cv_func_modf_use=yes
57816 else
57817 glibcxx_cv_func_modf_use=no
57819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57820 ac_ext=c
57821 ac_cpp='$CPP $CPPFLAGS'
57822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
57831 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
57833 if test x$glibcxx_cv_func_modf_use = x"yes"; then
57834 for ac_func in modf
57835 do :
57836 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
57837 if test "x$ac_cv_func_modf" = xyes; then :
57838 cat >>confdefs.h <<_ACEOF
57839 #define HAVE_MODF 1
57840 _ACEOF
57843 done
57845 else
57847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
57848 $as_echo_n "checking for _modf declaration... " >&6; }
57849 if test x${glibcxx_cv_func__modf_use+set} != xset; then
57850 if ${glibcxx_cv_func__modf_use+:} false; then :
57851 $as_echo_n "(cached) " >&6
57852 else
57855 ac_ext=cpp
57856 ac_cpp='$CXXCPP $CPPFLAGS'
57857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57862 /* end confdefs.h. */
57863 #include <math.h>
57865 main ()
57867 _modf(0, 0);
57869 return 0;
57871 _ACEOF
57872 if ac_fn_cxx_try_compile "$LINENO"; then :
57873 glibcxx_cv_func__modf_use=yes
57874 else
57875 glibcxx_cv_func__modf_use=no
57877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57878 ac_ext=c
57879 ac_cpp='$CPP $CPPFLAGS'
57880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
57889 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
57891 if test x$glibcxx_cv_func__modf_use = x"yes"; then
57892 for ac_func in _modf
57893 do :
57894 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
57895 if test "x$ac_cv_func__modf" = xyes; then :
57896 cat >>confdefs.h <<_ACEOF
57897 #define HAVE__MODF 1
57898 _ACEOF
57901 done
57910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
57911 $as_echo_n "checking for powf declaration... " >&6; }
57912 if test x${glibcxx_cv_func_powf_use+set} != xset; then
57913 if ${glibcxx_cv_func_powf_use+:} false; then :
57914 $as_echo_n "(cached) " >&6
57915 else
57918 ac_ext=cpp
57919 ac_cpp='$CXXCPP $CPPFLAGS'
57920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57925 /* end confdefs.h. */
57926 #include <math.h>
57928 main ()
57930 powf(0, 0);
57932 return 0;
57934 _ACEOF
57935 if ac_fn_cxx_try_compile "$LINENO"; then :
57936 glibcxx_cv_func_powf_use=yes
57937 else
57938 glibcxx_cv_func_powf_use=no
57940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57941 ac_ext=c
57942 ac_cpp='$CPP $CPPFLAGS'
57943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
57952 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
57954 if test x$glibcxx_cv_func_powf_use = x"yes"; then
57955 for ac_func in powf
57956 do :
57957 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
57958 if test "x$ac_cv_func_powf" = xyes; then :
57959 cat >>confdefs.h <<_ACEOF
57960 #define HAVE_POWF 1
57961 _ACEOF
57964 done
57966 else
57968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
57969 $as_echo_n "checking for _powf declaration... " >&6; }
57970 if test x${glibcxx_cv_func__powf_use+set} != xset; then
57971 if ${glibcxx_cv_func__powf_use+:} false; then :
57972 $as_echo_n "(cached) " >&6
57973 else
57976 ac_ext=cpp
57977 ac_cpp='$CXXCPP $CPPFLAGS'
57978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57983 /* end confdefs.h. */
57984 #include <math.h>
57986 main ()
57988 _powf(0, 0);
57990 return 0;
57992 _ACEOF
57993 if ac_fn_cxx_try_compile "$LINENO"; then :
57994 glibcxx_cv_func__powf_use=yes
57995 else
57996 glibcxx_cv_func__powf_use=no
57998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57999 ac_ext=c
58000 ac_cpp='$CPP $CPPFLAGS'
58001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
58010 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
58012 if test x$glibcxx_cv_func__powf_use = x"yes"; then
58013 for ac_func in _powf
58014 do :
58015 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
58016 if test "x$ac_cv_func__powf" = xyes; then :
58017 cat >>confdefs.h <<_ACEOF
58018 #define HAVE__POWF 1
58019 _ACEOF
58022 done
58031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
58032 $as_echo_n "checking for sqrtf declaration... " >&6; }
58033 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
58034 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
58035 $as_echo_n "(cached) " >&6
58036 else
58039 ac_ext=cpp
58040 ac_cpp='$CXXCPP $CPPFLAGS'
58041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58046 /* end confdefs.h. */
58047 #include <math.h>
58048 #ifdef HAVE_IEEEFP_H
58049 #include <ieeefp.h>
58050 #endif
58053 main ()
58055 sqrtf(0);
58057 return 0;
58059 _ACEOF
58060 if ac_fn_cxx_try_compile "$LINENO"; then :
58061 glibcxx_cv_func_sqrtf_use=yes
58062 else
58063 glibcxx_cv_func_sqrtf_use=no
58065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58066 ac_ext=c
58067 ac_cpp='$CPP $CPPFLAGS'
58068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
58077 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
58079 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
58080 for ac_func in sqrtf
58081 do :
58082 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
58083 if test "x$ac_cv_func_sqrtf" = xyes; then :
58084 cat >>confdefs.h <<_ACEOF
58085 #define HAVE_SQRTF 1
58086 _ACEOF
58089 done
58091 else
58093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
58094 $as_echo_n "checking for _sqrtf declaration... " >&6; }
58095 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
58096 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
58097 $as_echo_n "(cached) " >&6
58098 else
58101 ac_ext=cpp
58102 ac_cpp='$CXXCPP $CPPFLAGS'
58103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58108 /* end confdefs.h. */
58109 #include <math.h>
58110 #ifdef HAVE_IEEEFP_H
58111 #include <ieeefp.h>
58112 #endif
58115 main ()
58117 _sqrtf(0);
58119 return 0;
58121 _ACEOF
58122 if ac_fn_cxx_try_compile "$LINENO"; then :
58123 glibcxx_cv_func__sqrtf_use=yes
58124 else
58125 glibcxx_cv_func__sqrtf_use=no
58127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58128 ac_ext=c
58129 ac_cpp='$CPP $CPPFLAGS'
58130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
58139 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
58141 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
58142 for ac_func in _sqrtf
58143 do :
58144 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
58145 if test "x$ac_cv_func__sqrtf" = xyes; then :
58146 cat >>confdefs.h <<_ACEOF
58147 #define HAVE__SQRTF 1
58148 _ACEOF
58151 done
58160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
58161 $as_echo_n "checking for sincosf declaration... " >&6; }
58162 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
58163 if ${glibcxx_cv_func_sincosf_use+:} false; then :
58164 $as_echo_n "(cached) " >&6
58165 else
58168 ac_ext=cpp
58169 ac_cpp='$CXXCPP $CPPFLAGS'
58170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58175 /* end confdefs.h. */
58176 #include <math.h>
58178 main ()
58180 sincosf(0, 0, 0);
58182 return 0;
58184 _ACEOF
58185 if ac_fn_cxx_try_compile "$LINENO"; then :
58186 glibcxx_cv_func_sincosf_use=yes
58187 else
58188 glibcxx_cv_func_sincosf_use=no
58190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58191 ac_ext=c
58192 ac_cpp='$CPP $CPPFLAGS'
58193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
58202 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
58204 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
58205 for ac_func in sincosf
58206 do :
58207 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
58208 if test "x$ac_cv_func_sincosf" = xyes; then :
58209 cat >>confdefs.h <<_ACEOF
58210 #define HAVE_SINCOSF 1
58211 _ACEOF
58214 done
58216 else
58218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
58219 $as_echo_n "checking for _sincosf declaration... " >&6; }
58220 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
58221 if ${glibcxx_cv_func__sincosf_use+:} false; then :
58222 $as_echo_n "(cached) " >&6
58223 else
58226 ac_ext=cpp
58227 ac_cpp='$CXXCPP $CPPFLAGS'
58228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58233 /* end confdefs.h. */
58234 #include <math.h>
58236 main ()
58238 _sincosf(0, 0, 0);
58240 return 0;
58242 _ACEOF
58243 if ac_fn_cxx_try_compile "$LINENO"; then :
58244 glibcxx_cv_func__sincosf_use=yes
58245 else
58246 glibcxx_cv_func__sincosf_use=no
58248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58249 ac_ext=c
58250 ac_cpp='$CPP $CPPFLAGS'
58251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
58260 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
58262 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
58263 for ac_func in _sincosf
58264 do :
58265 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
58266 if test "x$ac_cv_func__sincosf" = xyes; then :
58267 cat >>confdefs.h <<_ACEOF
58268 #define HAVE__SINCOSF 1
58269 _ACEOF
58272 done
58281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
58282 $as_echo_n "checking for finitef declaration... " >&6; }
58283 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
58284 if ${glibcxx_cv_func_finitef_use+:} false; then :
58285 $as_echo_n "(cached) " >&6
58286 else
58289 ac_ext=cpp
58290 ac_cpp='$CXXCPP $CPPFLAGS'
58291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58296 /* end confdefs.h. */
58297 #include <math.h>
58298 #ifdef HAVE_IEEEFP_H
58299 #include <ieeefp.h>
58300 #endif
58303 main ()
58305 finitef(0);
58307 return 0;
58309 _ACEOF
58310 if ac_fn_cxx_try_compile "$LINENO"; then :
58311 glibcxx_cv_func_finitef_use=yes
58312 else
58313 glibcxx_cv_func_finitef_use=no
58315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58316 ac_ext=c
58317 ac_cpp='$CPP $CPPFLAGS'
58318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
58327 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
58329 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
58330 for ac_func in finitef
58331 do :
58332 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
58333 if test "x$ac_cv_func_finitef" = xyes; then :
58334 cat >>confdefs.h <<_ACEOF
58335 #define HAVE_FINITEF 1
58336 _ACEOF
58339 done
58341 else
58343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
58344 $as_echo_n "checking for _finitef declaration... " >&6; }
58345 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
58346 if ${glibcxx_cv_func__finitef_use+:} false; then :
58347 $as_echo_n "(cached) " >&6
58348 else
58351 ac_ext=cpp
58352 ac_cpp='$CXXCPP $CPPFLAGS'
58353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58358 /* end confdefs.h. */
58359 #include <math.h>
58360 #ifdef HAVE_IEEEFP_H
58361 #include <ieeefp.h>
58362 #endif
58365 main ()
58367 _finitef(0);
58369 return 0;
58371 _ACEOF
58372 if ac_fn_cxx_try_compile "$LINENO"; then :
58373 glibcxx_cv_func__finitef_use=yes
58374 else
58375 glibcxx_cv_func__finitef_use=no
58377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58378 ac_ext=c
58379 ac_cpp='$CPP $CPPFLAGS'
58380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
58389 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
58391 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
58392 for ac_func in _finitef
58393 do :
58394 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
58395 if test "x$ac_cv_func__finitef" = xyes; then :
58396 cat >>confdefs.h <<_ACEOF
58397 #define HAVE__FINITEF 1
58398 _ACEOF
58401 done
58410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
58411 $as_echo_n "checking for long double trig functions... " >&6; }
58412 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
58413 $as_echo_n "(cached) " >&6
58414 else
58417 ac_ext=cpp
58418 ac_cpp='$CXXCPP $CPPFLAGS'
58419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58424 /* end confdefs.h. */
58425 #include <math.h>
58427 main ()
58429 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
58431 return 0;
58433 _ACEOF
58434 if ac_fn_cxx_try_compile "$LINENO"; then :
58435 glibcxx_cv_func_long_double_trig_use=yes
58436 else
58437 glibcxx_cv_func_long_double_trig_use=no
58439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58440 ac_ext=c
58441 ac_cpp='$CPP $CPPFLAGS'
58442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
58449 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
58450 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
58451 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
58452 do :
58453 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58454 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58455 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58456 cat >>confdefs.h <<_ACEOF
58457 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58458 _ACEOF
58461 done
58463 else
58464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
58465 $as_echo_n "checking for _long double trig functions... " >&6; }
58466 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
58467 $as_echo_n "(cached) " >&6
58468 else
58471 ac_ext=cpp
58472 ac_cpp='$CXXCPP $CPPFLAGS'
58473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58478 /* end confdefs.h. */
58479 #include <math.h>
58481 main ()
58483 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
58485 return 0;
58487 _ACEOF
58488 if ac_fn_cxx_try_compile "$LINENO"; then :
58489 glibcxx_cv_func__long_double_trig_use=yes
58490 else
58491 glibcxx_cv_func__long_double_trig_use=no
58493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58494 ac_ext=c
58495 ac_cpp='$CPP $CPPFLAGS'
58496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
58503 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
58504 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
58505 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
58506 do :
58507 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58508 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58509 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58510 cat >>confdefs.h <<_ACEOF
58511 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58512 _ACEOF
58515 done
58524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
58525 $as_echo_n "checking for long double round functions... " >&6; }
58526 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
58527 $as_echo_n "(cached) " >&6
58528 else
58531 ac_ext=cpp
58532 ac_cpp='$CXXCPP $CPPFLAGS'
58533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58538 /* end confdefs.h. */
58539 #include <math.h>
58541 main ()
58543 ceill (0); floorl (0);
58545 return 0;
58547 _ACEOF
58548 if ac_fn_cxx_try_compile "$LINENO"; then :
58549 glibcxx_cv_func_long_double_round_use=yes
58550 else
58551 glibcxx_cv_func_long_double_round_use=no
58553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58554 ac_ext=c
58555 ac_cpp='$CPP $CPPFLAGS'
58556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
58563 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
58564 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
58565 for ac_func in ceill floorl
58566 do :
58567 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58568 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58569 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58570 cat >>confdefs.h <<_ACEOF
58571 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58572 _ACEOF
58575 done
58577 else
58578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
58579 $as_echo_n "checking for _long double round functions... " >&6; }
58580 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
58581 $as_echo_n "(cached) " >&6
58582 else
58585 ac_ext=cpp
58586 ac_cpp='$CXXCPP $CPPFLAGS'
58587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58592 /* end confdefs.h. */
58593 #include <math.h>
58595 main ()
58597 _ceill (0); _floorl (0);
58599 return 0;
58601 _ACEOF
58602 if ac_fn_cxx_try_compile "$LINENO"; then :
58603 glibcxx_cv_func__long_double_round_use=yes
58604 else
58605 glibcxx_cv_func__long_double_round_use=no
58607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58608 ac_ext=c
58609 ac_cpp='$CPP $CPPFLAGS'
58610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
58617 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
58618 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
58619 for ac_func in _ceill _floorl
58620 do :
58621 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58622 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58623 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58624 cat >>confdefs.h <<_ACEOF
58625 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58626 _ACEOF
58629 done
58639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
58640 $as_echo_n "checking for isnanl declaration... " >&6; }
58641 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
58642 if ${glibcxx_cv_func_isnanl_use+:} false; then :
58643 $as_echo_n "(cached) " >&6
58644 else
58647 ac_ext=cpp
58648 ac_cpp='$CXXCPP $CPPFLAGS'
58649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58654 /* end confdefs.h. */
58655 #include <math.h>
58656 #ifdef HAVE_IEEEFP_H
58657 #include <ieeefp.h>
58658 #endif
58661 main ()
58663 isnanl(0);
58665 return 0;
58667 _ACEOF
58668 if ac_fn_cxx_try_compile "$LINENO"; then :
58669 glibcxx_cv_func_isnanl_use=yes
58670 else
58671 glibcxx_cv_func_isnanl_use=no
58673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58674 ac_ext=c
58675 ac_cpp='$CPP $CPPFLAGS'
58676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
58685 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
58687 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
58688 for ac_func in isnanl
58689 do :
58690 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
58691 if test "x$ac_cv_func_isnanl" = xyes; then :
58692 cat >>confdefs.h <<_ACEOF
58693 #define HAVE_ISNANL 1
58694 _ACEOF
58697 done
58699 else
58701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
58702 $as_echo_n "checking for _isnanl declaration... " >&6; }
58703 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
58704 if ${glibcxx_cv_func__isnanl_use+:} false; then :
58705 $as_echo_n "(cached) " >&6
58706 else
58709 ac_ext=cpp
58710 ac_cpp='$CXXCPP $CPPFLAGS'
58711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58716 /* end confdefs.h. */
58717 #include <math.h>
58718 #ifdef HAVE_IEEEFP_H
58719 #include <ieeefp.h>
58720 #endif
58723 main ()
58725 _isnanl(0);
58727 return 0;
58729 _ACEOF
58730 if ac_fn_cxx_try_compile "$LINENO"; then :
58731 glibcxx_cv_func__isnanl_use=yes
58732 else
58733 glibcxx_cv_func__isnanl_use=no
58735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58736 ac_ext=c
58737 ac_cpp='$CPP $CPPFLAGS'
58738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
58747 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
58749 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
58750 for ac_func in _isnanl
58751 do :
58752 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
58753 if test "x$ac_cv_func__isnanl" = xyes; then :
58754 cat >>confdefs.h <<_ACEOF
58755 #define HAVE__ISNANL 1
58756 _ACEOF
58759 done
58768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
58769 $as_echo_n "checking for isinfl declaration... " >&6; }
58770 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
58771 if ${glibcxx_cv_func_isinfl_use+:} false; then :
58772 $as_echo_n "(cached) " >&6
58773 else
58776 ac_ext=cpp
58777 ac_cpp='$CXXCPP $CPPFLAGS'
58778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58783 /* end confdefs.h. */
58784 #include <math.h>
58785 #ifdef HAVE_IEEEFP_H
58786 #include <ieeefp.h>
58787 #endif
58790 main ()
58792 isinfl(0);
58794 return 0;
58796 _ACEOF
58797 if ac_fn_cxx_try_compile "$LINENO"; then :
58798 glibcxx_cv_func_isinfl_use=yes
58799 else
58800 glibcxx_cv_func_isinfl_use=no
58802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58803 ac_ext=c
58804 ac_cpp='$CPP $CPPFLAGS'
58805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
58814 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
58816 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
58817 for ac_func in isinfl
58818 do :
58819 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
58820 if test "x$ac_cv_func_isinfl" = xyes; then :
58821 cat >>confdefs.h <<_ACEOF
58822 #define HAVE_ISINFL 1
58823 _ACEOF
58826 done
58828 else
58830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
58831 $as_echo_n "checking for _isinfl declaration... " >&6; }
58832 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
58833 if ${glibcxx_cv_func__isinfl_use+:} false; then :
58834 $as_echo_n "(cached) " >&6
58835 else
58838 ac_ext=cpp
58839 ac_cpp='$CXXCPP $CPPFLAGS'
58840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58845 /* end confdefs.h. */
58846 #include <math.h>
58847 #ifdef HAVE_IEEEFP_H
58848 #include <ieeefp.h>
58849 #endif
58852 main ()
58854 _isinfl(0);
58856 return 0;
58858 _ACEOF
58859 if ac_fn_cxx_try_compile "$LINENO"; then :
58860 glibcxx_cv_func__isinfl_use=yes
58861 else
58862 glibcxx_cv_func__isinfl_use=no
58864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58865 ac_ext=c
58866 ac_cpp='$CPP $CPPFLAGS'
58867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
58876 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
58878 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
58879 for ac_func in _isinfl
58880 do :
58881 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
58882 if test "x$ac_cv_func__isinfl" = xyes; then :
58883 cat >>confdefs.h <<_ACEOF
58884 #define HAVE__ISINFL 1
58885 _ACEOF
58888 done
58897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
58898 $as_echo_n "checking for atan2l declaration... " >&6; }
58899 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
58900 if ${glibcxx_cv_func_atan2l_use+:} false; then :
58901 $as_echo_n "(cached) " >&6
58902 else
58905 ac_ext=cpp
58906 ac_cpp='$CXXCPP $CPPFLAGS'
58907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58912 /* end confdefs.h. */
58913 #include <math.h>
58915 main ()
58917 atan2l(0, 0);
58919 return 0;
58921 _ACEOF
58922 if ac_fn_cxx_try_compile "$LINENO"; then :
58923 glibcxx_cv_func_atan2l_use=yes
58924 else
58925 glibcxx_cv_func_atan2l_use=no
58927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58928 ac_ext=c
58929 ac_cpp='$CPP $CPPFLAGS'
58930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
58939 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
58941 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
58942 for ac_func in atan2l
58943 do :
58944 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
58945 if test "x$ac_cv_func_atan2l" = xyes; then :
58946 cat >>confdefs.h <<_ACEOF
58947 #define HAVE_ATAN2L 1
58948 _ACEOF
58951 done
58953 else
58955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
58956 $as_echo_n "checking for _atan2l declaration... " >&6; }
58957 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
58958 if ${glibcxx_cv_func__atan2l_use+:} false; then :
58959 $as_echo_n "(cached) " >&6
58960 else
58963 ac_ext=cpp
58964 ac_cpp='$CXXCPP $CPPFLAGS'
58965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58970 /* end confdefs.h. */
58971 #include <math.h>
58973 main ()
58975 _atan2l(0, 0);
58977 return 0;
58979 _ACEOF
58980 if ac_fn_cxx_try_compile "$LINENO"; then :
58981 glibcxx_cv_func__atan2l_use=yes
58982 else
58983 glibcxx_cv_func__atan2l_use=no
58985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58986 ac_ext=c
58987 ac_cpp='$CPP $CPPFLAGS'
58988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
58997 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
58999 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
59000 for ac_func in _atan2l
59001 do :
59002 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
59003 if test "x$ac_cv_func__atan2l" = xyes; then :
59004 cat >>confdefs.h <<_ACEOF
59005 #define HAVE__ATAN2L 1
59006 _ACEOF
59009 done
59018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
59019 $as_echo_n "checking for expl declaration... " >&6; }
59020 if test x${glibcxx_cv_func_expl_use+set} != xset; then
59021 if ${glibcxx_cv_func_expl_use+:} false; then :
59022 $as_echo_n "(cached) " >&6
59023 else
59026 ac_ext=cpp
59027 ac_cpp='$CXXCPP $CPPFLAGS'
59028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59033 /* end confdefs.h. */
59034 #include <math.h>
59035 #ifdef HAVE_IEEEFP_H
59036 #include <ieeefp.h>
59037 #endif
59040 main ()
59042 expl(0);
59044 return 0;
59046 _ACEOF
59047 if ac_fn_cxx_try_compile "$LINENO"; then :
59048 glibcxx_cv_func_expl_use=yes
59049 else
59050 glibcxx_cv_func_expl_use=no
59052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59053 ac_ext=c
59054 ac_cpp='$CPP $CPPFLAGS'
59055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
59064 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
59066 if test x$glibcxx_cv_func_expl_use = x"yes"; then
59067 for ac_func in expl
59068 do :
59069 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
59070 if test "x$ac_cv_func_expl" = xyes; then :
59071 cat >>confdefs.h <<_ACEOF
59072 #define HAVE_EXPL 1
59073 _ACEOF
59076 done
59078 else
59080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
59081 $as_echo_n "checking for _expl declaration... " >&6; }
59082 if test x${glibcxx_cv_func__expl_use+set} != xset; then
59083 if ${glibcxx_cv_func__expl_use+:} false; then :
59084 $as_echo_n "(cached) " >&6
59085 else
59088 ac_ext=cpp
59089 ac_cpp='$CXXCPP $CPPFLAGS'
59090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59095 /* end confdefs.h. */
59096 #include <math.h>
59097 #ifdef HAVE_IEEEFP_H
59098 #include <ieeefp.h>
59099 #endif
59102 main ()
59104 _expl(0);
59106 return 0;
59108 _ACEOF
59109 if ac_fn_cxx_try_compile "$LINENO"; then :
59110 glibcxx_cv_func__expl_use=yes
59111 else
59112 glibcxx_cv_func__expl_use=no
59114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59115 ac_ext=c
59116 ac_cpp='$CPP $CPPFLAGS'
59117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
59126 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
59128 if test x$glibcxx_cv_func__expl_use = x"yes"; then
59129 for ac_func in _expl
59130 do :
59131 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
59132 if test "x$ac_cv_func__expl" = xyes; then :
59133 cat >>confdefs.h <<_ACEOF
59134 #define HAVE__EXPL 1
59135 _ACEOF
59138 done
59147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
59148 $as_echo_n "checking for fabsl declaration... " >&6; }
59149 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
59150 if ${glibcxx_cv_func_fabsl_use+:} false; then :
59151 $as_echo_n "(cached) " >&6
59152 else
59155 ac_ext=cpp
59156 ac_cpp='$CXXCPP $CPPFLAGS'
59157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59162 /* end confdefs.h. */
59163 #include <math.h>
59164 #ifdef HAVE_IEEEFP_H
59165 #include <ieeefp.h>
59166 #endif
59169 main ()
59171 fabsl(0);
59173 return 0;
59175 _ACEOF
59176 if ac_fn_cxx_try_compile "$LINENO"; then :
59177 glibcxx_cv_func_fabsl_use=yes
59178 else
59179 glibcxx_cv_func_fabsl_use=no
59181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59182 ac_ext=c
59183 ac_cpp='$CPP $CPPFLAGS'
59184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
59193 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
59195 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
59196 for ac_func in fabsl
59197 do :
59198 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
59199 if test "x$ac_cv_func_fabsl" = xyes; then :
59200 cat >>confdefs.h <<_ACEOF
59201 #define HAVE_FABSL 1
59202 _ACEOF
59205 done
59207 else
59209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
59210 $as_echo_n "checking for _fabsl declaration... " >&6; }
59211 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
59212 if ${glibcxx_cv_func__fabsl_use+:} false; then :
59213 $as_echo_n "(cached) " >&6
59214 else
59217 ac_ext=cpp
59218 ac_cpp='$CXXCPP $CPPFLAGS'
59219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59224 /* end confdefs.h. */
59225 #include <math.h>
59226 #ifdef HAVE_IEEEFP_H
59227 #include <ieeefp.h>
59228 #endif
59231 main ()
59233 _fabsl(0);
59235 return 0;
59237 _ACEOF
59238 if ac_fn_cxx_try_compile "$LINENO"; then :
59239 glibcxx_cv_func__fabsl_use=yes
59240 else
59241 glibcxx_cv_func__fabsl_use=no
59243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59244 ac_ext=c
59245 ac_cpp='$CPP $CPPFLAGS'
59246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
59255 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
59257 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
59258 for ac_func in _fabsl
59259 do :
59260 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
59261 if test "x$ac_cv_func__fabsl" = xyes; then :
59262 cat >>confdefs.h <<_ACEOF
59263 #define HAVE__FABSL 1
59264 _ACEOF
59267 done
59276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
59277 $as_echo_n "checking for fmodl declaration... " >&6; }
59278 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
59279 if ${glibcxx_cv_func_fmodl_use+:} false; then :
59280 $as_echo_n "(cached) " >&6
59281 else
59284 ac_ext=cpp
59285 ac_cpp='$CXXCPP $CPPFLAGS'
59286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59291 /* end confdefs.h. */
59292 #include <math.h>
59294 main ()
59296 fmodl(0, 0);
59298 return 0;
59300 _ACEOF
59301 if ac_fn_cxx_try_compile "$LINENO"; then :
59302 glibcxx_cv_func_fmodl_use=yes
59303 else
59304 glibcxx_cv_func_fmodl_use=no
59306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59307 ac_ext=c
59308 ac_cpp='$CPP $CPPFLAGS'
59309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
59318 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
59320 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
59321 for ac_func in fmodl
59322 do :
59323 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
59324 if test "x$ac_cv_func_fmodl" = xyes; then :
59325 cat >>confdefs.h <<_ACEOF
59326 #define HAVE_FMODL 1
59327 _ACEOF
59330 done
59332 else
59334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
59335 $as_echo_n "checking for _fmodl declaration... " >&6; }
59336 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
59337 if ${glibcxx_cv_func__fmodl_use+:} false; then :
59338 $as_echo_n "(cached) " >&6
59339 else
59342 ac_ext=cpp
59343 ac_cpp='$CXXCPP $CPPFLAGS'
59344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59349 /* end confdefs.h. */
59350 #include <math.h>
59352 main ()
59354 _fmodl(0, 0);
59356 return 0;
59358 _ACEOF
59359 if ac_fn_cxx_try_compile "$LINENO"; then :
59360 glibcxx_cv_func__fmodl_use=yes
59361 else
59362 glibcxx_cv_func__fmodl_use=no
59364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59365 ac_ext=c
59366 ac_cpp='$CPP $CPPFLAGS'
59367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
59376 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
59378 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
59379 for ac_func in _fmodl
59380 do :
59381 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
59382 if test "x$ac_cv_func__fmodl" = xyes; then :
59383 cat >>confdefs.h <<_ACEOF
59384 #define HAVE__FMODL 1
59385 _ACEOF
59388 done
59397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
59398 $as_echo_n "checking for frexpl declaration... " >&6; }
59399 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
59400 if ${glibcxx_cv_func_frexpl_use+:} false; then :
59401 $as_echo_n "(cached) " >&6
59402 else
59405 ac_ext=cpp
59406 ac_cpp='$CXXCPP $CPPFLAGS'
59407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59412 /* end confdefs.h. */
59413 #include <math.h>
59415 main ()
59417 frexpl(0, 0);
59419 return 0;
59421 _ACEOF
59422 if ac_fn_cxx_try_compile "$LINENO"; then :
59423 glibcxx_cv_func_frexpl_use=yes
59424 else
59425 glibcxx_cv_func_frexpl_use=no
59427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59428 ac_ext=c
59429 ac_cpp='$CPP $CPPFLAGS'
59430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
59439 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
59441 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
59442 for ac_func in frexpl
59443 do :
59444 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
59445 if test "x$ac_cv_func_frexpl" = xyes; then :
59446 cat >>confdefs.h <<_ACEOF
59447 #define HAVE_FREXPL 1
59448 _ACEOF
59451 done
59453 else
59455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
59456 $as_echo_n "checking for _frexpl declaration... " >&6; }
59457 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
59458 if ${glibcxx_cv_func__frexpl_use+:} false; then :
59459 $as_echo_n "(cached) " >&6
59460 else
59463 ac_ext=cpp
59464 ac_cpp='$CXXCPP $CPPFLAGS'
59465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59470 /* end confdefs.h. */
59471 #include <math.h>
59473 main ()
59475 _frexpl(0, 0);
59477 return 0;
59479 _ACEOF
59480 if ac_fn_cxx_try_compile "$LINENO"; then :
59481 glibcxx_cv_func__frexpl_use=yes
59482 else
59483 glibcxx_cv_func__frexpl_use=no
59485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59486 ac_ext=c
59487 ac_cpp='$CPP $CPPFLAGS'
59488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
59497 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
59499 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
59500 for ac_func in _frexpl
59501 do :
59502 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
59503 if test "x$ac_cv_func__frexpl" = xyes; then :
59504 cat >>confdefs.h <<_ACEOF
59505 #define HAVE__FREXPL 1
59506 _ACEOF
59509 done
59518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
59519 $as_echo_n "checking for hypotl declaration... " >&6; }
59520 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
59521 if ${glibcxx_cv_func_hypotl_use+:} false; then :
59522 $as_echo_n "(cached) " >&6
59523 else
59526 ac_ext=cpp
59527 ac_cpp='$CXXCPP $CPPFLAGS'
59528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59533 /* end confdefs.h. */
59534 #include <math.h>
59536 main ()
59538 hypotl(0, 0);
59540 return 0;
59542 _ACEOF
59543 if ac_fn_cxx_try_compile "$LINENO"; then :
59544 glibcxx_cv_func_hypotl_use=yes
59545 else
59546 glibcxx_cv_func_hypotl_use=no
59548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59549 ac_ext=c
59550 ac_cpp='$CPP $CPPFLAGS'
59551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
59560 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
59562 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
59563 for ac_func in hypotl
59564 do :
59565 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
59566 if test "x$ac_cv_func_hypotl" = xyes; then :
59567 cat >>confdefs.h <<_ACEOF
59568 #define HAVE_HYPOTL 1
59569 _ACEOF
59572 done
59574 else
59576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
59577 $as_echo_n "checking for _hypotl declaration... " >&6; }
59578 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
59579 if ${glibcxx_cv_func__hypotl_use+:} false; then :
59580 $as_echo_n "(cached) " >&6
59581 else
59584 ac_ext=cpp
59585 ac_cpp='$CXXCPP $CPPFLAGS'
59586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59591 /* end confdefs.h. */
59592 #include <math.h>
59594 main ()
59596 _hypotl(0, 0);
59598 return 0;
59600 _ACEOF
59601 if ac_fn_cxx_try_compile "$LINENO"; then :
59602 glibcxx_cv_func__hypotl_use=yes
59603 else
59604 glibcxx_cv_func__hypotl_use=no
59606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59607 ac_ext=c
59608 ac_cpp='$CPP $CPPFLAGS'
59609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
59618 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
59620 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
59621 for ac_func in _hypotl
59622 do :
59623 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
59624 if test "x$ac_cv_func__hypotl" = xyes; then :
59625 cat >>confdefs.h <<_ACEOF
59626 #define HAVE__HYPOTL 1
59627 _ACEOF
59630 done
59639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
59640 $as_echo_n "checking for ldexpl declaration... " >&6; }
59641 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
59642 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
59643 $as_echo_n "(cached) " >&6
59644 else
59647 ac_ext=cpp
59648 ac_cpp='$CXXCPP $CPPFLAGS'
59649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59654 /* end confdefs.h. */
59655 #include <math.h>
59657 main ()
59659 ldexpl(0, 0);
59661 return 0;
59663 _ACEOF
59664 if ac_fn_cxx_try_compile "$LINENO"; then :
59665 glibcxx_cv_func_ldexpl_use=yes
59666 else
59667 glibcxx_cv_func_ldexpl_use=no
59669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59670 ac_ext=c
59671 ac_cpp='$CPP $CPPFLAGS'
59672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
59681 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
59683 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
59684 for ac_func in ldexpl
59685 do :
59686 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
59687 if test "x$ac_cv_func_ldexpl" = xyes; then :
59688 cat >>confdefs.h <<_ACEOF
59689 #define HAVE_LDEXPL 1
59690 _ACEOF
59693 done
59695 else
59697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
59698 $as_echo_n "checking for _ldexpl declaration... " >&6; }
59699 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
59700 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
59701 $as_echo_n "(cached) " >&6
59702 else
59705 ac_ext=cpp
59706 ac_cpp='$CXXCPP $CPPFLAGS'
59707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59712 /* end confdefs.h. */
59713 #include <math.h>
59715 main ()
59717 _ldexpl(0, 0);
59719 return 0;
59721 _ACEOF
59722 if ac_fn_cxx_try_compile "$LINENO"; then :
59723 glibcxx_cv_func__ldexpl_use=yes
59724 else
59725 glibcxx_cv_func__ldexpl_use=no
59727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59728 ac_ext=c
59729 ac_cpp='$CPP $CPPFLAGS'
59730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
59739 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
59741 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
59742 for ac_func in _ldexpl
59743 do :
59744 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
59745 if test "x$ac_cv_func__ldexpl" = xyes; then :
59746 cat >>confdefs.h <<_ACEOF
59747 #define HAVE__LDEXPL 1
59748 _ACEOF
59751 done
59760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
59761 $as_echo_n "checking for logl declaration... " >&6; }
59762 if test x${glibcxx_cv_func_logl_use+set} != xset; then
59763 if ${glibcxx_cv_func_logl_use+:} false; then :
59764 $as_echo_n "(cached) " >&6
59765 else
59768 ac_ext=cpp
59769 ac_cpp='$CXXCPP $CPPFLAGS'
59770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59775 /* end confdefs.h. */
59776 #include <math.h>
59777 #ifdef HAVE_IEEEFP_H
59778 #include <ieeefp.h>
59779 #endif
59782 main ()
59784 logl(0);
59786 return 0;
59788 _ACEOF
59789 if ac_fn_cxx_try_compile "$LINENO"; then :
59790 glibcxx_cv_func_logl_use=yes
59791 else
59792 glibcxx_cv_func_logl_use=no
59794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59795 ac_ext=c
59796 ac_cpp='$CPP $CPPFLAGS'
59797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
59806 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
59808 if test x$glibcxx_cv_func_logl_use = x"yes"; then
59809 for ac_func in logl
59810 do :
59811 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
59812 if test "x$ac_cv_func_logl" = xyes; then :
59813 cat >>confdefs.h <<_ACEOF
59814 #define HAVE_LOGL 1
59815 _ACEOF
59818 done
59820 else
59822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
59823 $as_echo_n "checking for _logl declaration... " >&6; }
59824 if test x${glibcxx_cv_func__logl_use+set} != xset; then
59825 if ${glibcxx_cv_func__logl_use+:} false; then :
59826 $as_echo_n "(cached) " >&6
59827 else
59830 ac_ext=cpp
59831 ac_cpp='$CXXCPP $CPPFLAGS'
59832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59837 /* end confdefs.h. */
59838 #include <math.h>
59839 #ifdef HAVE_IEEEFP_H
59840 #include <ieeefp.h>
59841 #endif
59844 main ()
59846 _logl(0);
59848 return 0;
59850 _ACEOF
59851 if ac_fn_cxx_try_compile "$LINENO"; then :
59852 glibcxx_cv_func__logl_use=yes
59853 else
59854 glibcxx_cv_func__logl_use=no
59856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59857 ac_ext=c
59858 ac_cpp='$CPP $CPPFLAGS'
59859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
59868 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
59870 if test x$glibcxx_cv_func__logl_use = x"yes"; then
59871 for ac_func in _logl
59872 do :
59873 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
59874 if test "x$ac_cv_func__logl" = xyes; then :
59875 cat >>confdefs.h <<_ACEOF
59876 #define HAVE__LOGL 1
59877 _ACEOF
59880 done
59889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
59890 $as_echo_n "checking for log10l declaration... " >&6; }
59891 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
59892 if ${glibcxx_cv_func_log10l_use+:} false; then :
59893 $as_echo_n "(cached) " >&6
59894 else
59897 ac_ext=cpp
59898 ac_cpp='$CXXCPP $CPPFLAGS'
59899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59904 /* end confdefs.h. */
59905 #include <math.h>
59906 #ifdef HAVE_IEEEFP_H
59907 #include <ieeefp.h>
59908 #endif
59911 main ()
59913 log10l(0);
59915 return 0;
59917 _ACEOF
59918 if ac_fn_cxx_try_compile "$LINENO"; then :
59919 glibcxx_cv_func_log10l_use=yes
59920 else
59921 glibcxx_cv_func_log10l_use=no
59923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59924 ac_ext=c
59925 ac_cpp='$CPP $CPPFLAGS'
59926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
59935 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
59937 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
59938 for ac_func in log10l
59939 do :
59940 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
59941 if test "x$ac_cv_func_log10l" = xyes; then :
59942 cat >>confdefs.h <<_ACEOF
59943 #define HAVE_LOG10L 1
59944 _ACEOF
59947 done
59949 else
59951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
59952 $as_echo_n "checking for _log10l declaration... " >&6; }
59953 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
59954 if ${glibcxx_cv_func__log10l_use+:} false; then :
59955 $as_echo_n "(cached) " >&6
59956 else
59959 ac_ext=cpp
59960 ac_cpp='$CXXCPP $CPPFLAGS'
59961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59966 /* end confdefs.h. */
59967 #include <math.h>
59968 #ifdef HAVE_IEEEFP_H
59969 #include <ieeefp.h>
59970 #endif
59973 main ()
59975 _log10l(0);
59977 return 0;
59979 _ACEOF
59980 if ac_fn_cxx_try_compile "$LINENO"; then :
59981 glibcxx_cv_func__log10l_use=yes
59982 else
59983 glibcxx_cv_func__log10l_use=no
59985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59986 ac_ext=c
59987 ac_cpp='$CPP $CPPFLAGS'
59988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
59997 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
59999 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
60000 for ac_func in _log10l
60001 do :
60002 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
60003 if test "x$ac_cv_func__log10l" = xyes; then :
60004 cat >>confdefs.h <<_ACEOF
60005 #define HAVE__LOG10L 1
60006 _ACEOF
60009 done
60018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
60019 $as_echo_n "checking for modfl declaration... " >&6; }
60020 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
60021 if ${glibcxx_cv_func_modfl_use+:} false; then :
60022 $as_echo_n "(cached) " >&6
60023 else
60026 ac_ext=cpp
60027 ac_cpp='$CXXCPP $CPPFLAGS'
60028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60033 /* end confdefs.h. */
60034 #include <math.h>
60036 main ()
60038 modfl(0, 0);
60040 return 0;
60042 _ACEOF
60043 if ac_fn_cxx_try_compile "$LINENO"; then :
60044 glibcxx_cv_func_modfl_use=yes
60045 else
60046 glibcxx_cv_func_modfl_use=no
60048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60049 ac_ext=c
60050 ac_cpp='$CPP $CPPFLAGS'
60051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
60060 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
60062 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
60063 for ac_func in modfl
60064 do :
60065 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
60066 if test "x$ac_cv_func_modfl" = xyes; then :
60067 cat >>confdefs.h <<_ACEOF
60068 #define HAVE_MODFL 1
60069 _ACEOF
60072 done
60074 else
60076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
60077 $as_echo_n "checking for _modfl declaration... " >&6; }
60078 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
60079 if ${glibcxx_cv_func__modfl_use+:} false; then :
60080 $as_echo_n "(cached) " >&6
60081 else
60084 ac_ext=cpp
60085 ac_cpp='$CXXCPP $CPPFLAGS'
60086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60091 /* end confdefs.h. */
60092 #include <math.h>
60094 main ()
60096 _modfl(0, 0);
60098 return 0;
60100 _ACEOF
60101 if ac_fn_cxx_try_compile "$LINENO"; then :
60102 glibcxx_cv_func__modfl_use=yes
60103 else
60104 glibcxx_cv_func__modfl_use=no
60106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60107 ac_ext=c
60108 ac_cpp='$CPP $CPPFLAGS'
60109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
60118 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
60120 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
60121 for ac_func in _modfl
60122 do :
60123 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
60124 if test "x$ac_cv_func__modfl" = xyes; then :
60125 cat >>confdefs.h <<_ACEOF
60126 #define HAVE__MODFL 1
60127 _ACEOF
60130 done
60139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
60140 $as_echo_n "checking for powl declaration... " >&6; }
60141 if test x${glibcxx_cv_func_powl_use+set} != xset; then
60142 if ${glibcxx_cv_func_powl_use+:} false; then :
60143 $as_echo_n "(cached) " >&6
60144 else
60147 ac_ext=cpp
60148 ac_cpp='$CXXCPP $CPPFLAGS'
60149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60154 /* end confdefs.h. */
60155 #include <math.h>
60157 main ()
60159 powl(0, 0);
60161 return 0;
60163 _ACEOF
60164 if ac_fn_cxx_try_compile "$LINENO"; then :
60165 glibcxx_cv_func_powl_use=yes
60166 else
60167 glibcxx_cv_func_powl_use=no
60169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60170 ac_ext=c
60171 ac_cpp='$CPP $CPPFLAGS'
60172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
60181 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
60183 if test x$glibcxx_cv_func_powl_use = x"yes"; then
60184 for ac_func in powl
60185 do :
60186 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
60187 if test "x$ac_cv_func_powl" = xyes; then :
60188 cat >>confdefs.h <<_ACEOF
60189 #define HAVE_POWL 1
60190 _ACEOF
60193 done
60195 else
60197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
60198 $as_echo_n "checking for _powl declaration... " >&6; }
60199 if test x${glibcxx_cv_func__powl_use+set} != xset; then
60200 if ${glibcxx_cv_func__powl_use+:} false; then :
60201 $as_echo_n "(cached) " >&6
60202 else
60205 ac_ext=cpp
60206 ac_cpp='$CXXCPP $CPPFLAGS'
60207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60212 /* end confdefs.h. */
60213 #include <math.h>
60215 main ()
60217 _powl(0, 0);
60219 return 0;
60221 _ACEOF
60222 if ac_fn_cxx_try_compile "$LINENO"; then :
60223 glibcxx_cv_func__powl_use=yes
60224 else
60225 glibcxx_cv_func__powl_use=no
60227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60228 ac_ext=c
60229 ac_cpp='$CPP $CPPFLAGS'
60230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
60239 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
60241 if test x$glibcxx_cv_func__powl_use = x"yes"; then
60242 for ac_func in _powl
60243 do :
60244 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
60245 if test "x$ac_cv_func__powl" = xyes; then :
60246 cat >>confdefs.h <<_ACEOF
60247 #define HAVE__POWL 1
60248 _ACEOF
60251 done
60260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
60261 $as_echo_n "checking for sqrtl declaration... " >&6; }
60262 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
60263 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
60264 $as_echo_n "(cached) " >&6
60265 else
60268 ac_ext=cpp
60269 ac_cpp='$CXXCPP $CPPFLAGS'
60270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60275 /* end confdefs.h. */
60276 #include <math.h>
60277 #ifdef HAVE_IEEEFP_H
60278 #include <ieeefp.h>
60279 #endif
60282 main ()
60284 sqrtl(0);
60286 return 0;
60288 _ACEOF
60289 if ac_fn_cxx_try_compile "$LINENO"; then :
60290 glibcxx_cv_func_sqrtl_use=yes
60291 else
60292 glibcxx_cv_func_sqrtl_use=no
60294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60295 ac_ext=c
60296 ac_cpp='$CPP $CPPFLAGS'
60297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
60306 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
60308 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
60309 for ac_func in sqrtl
60310 do :
60311 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
60312 if test "x$ac_cv_func_sqrtl" = xyes; then :
60313 cat >>confdefs.h <<_ACEOF
60314 #define HAVE_SQRTL 1
60315 _ACEOF
60318 done
60320 else
60322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
60323 $as_echo_n "checking for _sqrtl declaration... " >&6; }
60324 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
60325 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
60326 $as_echo_n "(cached) " >&6
60327 else
60330 ac_ext=cpp
60331 ac_cpp='$CXXCPP $CPPFLAGS'
60332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60337 /* end confdefs.h. */
60338 #include <math.h>
60339 #ifdef HAVE_IEEEFP_H
60340 #include <ieeefp.h>
60341 #endif
60344 main ()
60346 _sqrtl(0);
60348 return 0;
60350 _ACEOF
60351 if ac_fn_cxx_try_compile "$LINENO"; then :
60352 glibcxx_cv_func__sqrtl_use=yes
60353 else
60354 glibcxx_cv_func__sqrtl_use=no
60356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60357 ac_ext=c
60358 ac_cpp='$CPP $CPPFLAGS'
60359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
60368 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
60370 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
60371 for ac_func in _sqrtl
60372 do :
60373 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
60374 if test "x$ac_cv_func__sqrtl" = xyes; then :
60375 cat >>confdefs.h <<_ACEOF
60376 #define HAVE__SQRTL 1
60377 _ACEOF
60380 done
60389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
60390 $as_echo_n "checking for sincosl declaration... " >&6; }
60391 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
60392 if ${glibcxx_cv_func_sincosl_use+:} false; then :
60393 $as_echo_n "(cached) " >&6
60394 else
60397 ac_ext=cpp
60398 ac_cpp='$CXXCPP $CPPFLAGS'
60399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60404 /* end confdefs.h. */
60405 #include <math.h>
60407 main ()
60409 sincosl(0, 0, 0);
60411 return 0;
60413 _ACEOF
60414 if ac_fn_cxx_try_compile "$LINENO"; then :
60415 glibcxx_cv_func_sincosl_use=yes
60416 else
60417 glibcxx_cv_func_sincosl_use=no
60419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60420 ac_ext=c
60421 ac_cpp='$CPP $CPPFLAGS'
60422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
60431 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
60433 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
60434 for ac_func in sincosl
60435 do :
60436 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
60437 if test "x$ac_cv_func_sincosl" = xyes; then :
60438 cat >>confdefs.h <<_ACEOF
60439 #define HAVE_SINCOSL 1
60440 _ACEOF
60443 done
60445 else
60447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
60448 $as_echo_n "checking for _sincosl declaration... " >&6; }
60449 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
60450 if ${glibcxx_cv_func__sincosl_use+:} false; then :
60451 $as_echo_n "(cached) " >&6
60452 else
60455 ac_ext=cpp
60456 ac_cpp='$CXXCPP $CPPFLAGS'
60457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60462 /* end confdefs.h. */
60463 #include <math.h>
60465 main ()
60467 _sincosl(0, 0, 0);
60469 return 0;
60471 _ACEOF
60472 if ac_fn_cxx_try_compile "$LINENO"; then :
60473 glibcxx_cv_func__sincosl_use=yes
60474 else
60475 glibcxx_cv_func__sincosl_use=no
60477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60478 ac_ext=c
60479 ac_cpp='$CPP $CPPFLAGS'
60480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
60489 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
60491 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
60492 for ac_func in _sincosl
60493 do :
60494 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
60495 if test "x$ac_cv_func__sincosl" = xyes; then :
60496 cat >>confdefs.h <<_ACEOF
60497 #define HAVE__SINCOSL 1
60498 _ACEOF
60501 done
60510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
60511 $as_echo_n "checking for finitel declaration... " >&6; }
60512 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
60513 if ${glibcxx_cv_func_finitel_use+:} false; then :
60514 $as_echo_n "(cached) " >&6
60515 else
60518 ac_ext=cpp
60519 ac_cpp='$CXXCPP $CPPFLAGS'
60520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60525 /* end confdefs.h. */
60526 #include <math.h>
60527 #ifdef HAVE_IEEEFP_H
60528 #include <ieeefp.h>
60529 #endif
60532 main ()
60534 finitel(0);
60536 return 0;
60538 _ACEOF
60539 if ac_fn_cxx_try_compile "$LINENO"; then :
60540 glibcxx_cv_func_finitel_use=yes
60541 else
60542 glibcxx_cv_func_finitel_use=no
60544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60545 ac_ext=c
60546 ac_cpp='$CPP $CPPFLAGS'
60547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
60556 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
60558 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
60559 for ac_func in finitel
60560 do :
60561 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
60562 if test "x$ac_cv_func_finitel" = xyes; then :
60563 cat >>confdefs.h <<_ACEOF
60564 #define HAVE_FINITEL 1
60565 _ACEOF
60568 done
60570 else
60572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
60573 $as_echo_n "checking for _finitel declaration... " >&6; }
60574 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
60575 if ${glibcxx_cv_func__finitel_use+:} false; then :
60576 $as_echo_n "(cached) " >&6
60577 else
60580 ac_ext=cpp
60581 ac_cpp='$CXXCPP $CPPFLAGS'
60582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60587 /* end confdefs.h. */
60588 #include <math.h>
60589 #ifdef HAVE_IEEEFP_H
60590 #include <ieeefp.h>
60591 #endif
60594 main ()
60596 _finitel(0);
60598 return 0;
60600 _ACEOF
60601 if ac_fn_cxx_try_compile "$LINENO"; then :
60602 glibcxx_cv_func__finitel_use=yes
60603 else
60604 glibcxx_cv_func__finitel_use=no
60606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60607 ac_ext=c
60608 ac_cpp='$CPP $CPPFLAGS'
60609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
60618 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
60620 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
60621 for ac_func in _finitel
60622 do :
60623 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
60624 if test "x$ac_cv_func__finitel" = xyes; then :
60625 cat >>confdefs.h <<_ACEOF
60626 #define HAVE__FINITEL 1
60627 _ACEOF
60630 done
60638 LIBS="$ac_save_LIBS"
60639 CXXFLAGS="$ac_save_CXXFLAGS"
60642 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60643 ac_save_CXXFLAGS="$CXXFLAGS"
60644 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
60648 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
60649 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
60650 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
60651 $as_echo_n "(cached) " >&6
60652 else
60655 ac_ext=cpp
60656 ac_cpp='$CXXCPP $CPPFLAGS'
60657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60662 /* end confdefs.h. */
60663 #include <stdlib.h>
60665 main ()
60667 at_quick_exit(0);
60669 return 0;
60671 _ACEOF
60672 if ac_fn_cxx_try_compile "$LINENO"; then :
60673 glibcxx_cv_func_at_quick_exit_use=yes
60674 else
60675 glibcxx_cv_func_at_quick_exit_use=no
60677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60678 ac_ext=c
60679 ac_cpp='$CPP $CPPFLAGS'
60680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
60689 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
60690 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
60691 for ac_func in at_quick_exit
60692 do :
60693 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
60694 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
60695 cat >>confdefs.h <<_ACEOF
60696 #define HAVE_AT_QUICK_EXIT 1
60697 _ACEOF
60700 done
60705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
60706 $as_echo_n "checking for quick_exit declaration... " >&6; }
60707 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
60708 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
60709 $as_echo_n "(cached) " >&6
60710 else
60713 ac_ext=cpp
60714 ac_cpp='$CXXCPP $CPPFLAGS'
60715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60720 /* end confdefs.h. */
60721 #include <stdlib.h>
60723 main ()
60725 quick_exit(0);
60727 return 0;
60729 _ACEOF
60730 if ac_fn_cxx_try_compile "$LINENO"; then :
60731 glibcxx_cv_func_quick_exit_use=yes
60732 else
60733 glibcxx_cv_func_quick_exit_use=no
60735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60736 ac_ext=c
60737 ac_cpp='$CPP $CPPFLAGS'
60738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
60747 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
60748 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
60749 for ac_func in quick_exit
60750 do :
60751 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
60752 if test "x$ac_cv_func_quick_exit" = xyes; then :
60753 cat >>confdefs.h <<_ACEOF
60754 #define HAVE_QUICK_EXIT 1
60755 _ACEOF
60758 done
60763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
60764 $as_echo_n "checking for strtold declaration... " >&6; }
60765 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
60766 if ${glibcxx_cv_func_strtold_use+:} false; then :
60767 $as_echo_n "(cached) " >&6
60768 else
60771 ac_ext=cpp
60772 ac_cpp='$CXXCPP $CPPFLAGS'
60773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60778 /* end confdefs.h. */
60779 #include <stdlib.h>
60781 main ()
60783 strtold(0, 0);
60785 return 0;
60787 _ACEOF
60788 if ac_fn_cxx_try_compile "$LINENO"; then :
60789 glibcxx_cv_func_strtold_use=yes
60790 else
60791 glibcxx_cv_func_strtold_use=no
60793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60794 ac_ext=c
60795 ac_cpp='$CPP $CPPFLAGS'
60796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
60805 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
60806 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
60807 for ac_func in strtold
60808 do :
60809 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
60810 if test "x$ac_cv_func_strtold" = xyes; then :
60811 cat >>confdefs.h <<_ACEOF
60812 #define HAVE_STRTOLD 1
60813 _ACEOF
60816 done
60823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
60824 $as_echo_n "checking for strtof declaration... " >&6; }
60825 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
60826 if ${glibcxx_cv_func_strtof_use+:} false; then :
60827 $as_echo_n "(cached) " >&6
60828 else
60831 ac_ext=cpp
60832 ac_cpp='$CXXCPP $CPPFLAGS'
60833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60838 /* end confdefs.h. */
60839 #include <stdlib.h>
60841 main ()
60843 strtof(0, 0);
60845 return 0;
60847 _ACEOF
60848 if ac_fn_cxx_try_compile "$LINENO"; then :
60849 glibcxx_cv_func_strtof_use=yes
60850 else
60851 glibcxx_cv_func_strtof_use=no
60853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60854 ac_ext=c
60855 ac_cpp='$CPP $CPPFLAGS'
60856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
60865 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
60866 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
60867 for ac_func in strtof
60868 do :
60869 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
60870 if test "x$ac_cv_func_strtof" = xyes; then :
60871 cat >>confdefs.h <<_ACEOF
60872 #define HAVE_STRTOF 1
60873 _ACEOF
60876 done
60883 CXXFLAGS="$ac_save_CXXFLAGS"
60885 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60886 do :
60887 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60888 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60889 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60890 cat >>confdefs.h <<_ACEOF
60891 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60892 _ACEOF
60895 done
60897 for ac_func in _wfopen
60898 do :
60899 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
60900 if test "x$ac_cv_func__wfopen" = xyes; then :
60901 cat >>confdefs.h <<_ACEOF
60902 #define HAVE__WFOPEN 1
60903 _ACEOF
60906 done
60909 *-netbsd* | *-openbsd*)
60910 SECTION_FLAGS='-ffunction-sections -fdata-sections'
60913 # If we're not using GNU ld, then there's no point in even trying these
60914 # tests. Check for that first. We should have already tested for gld
60915 # by now (in libtool), but require it now just to be safe...
60916 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60917 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60921 # The name set by libtool depends on the version of libtool. Shame on us
60922 # for depending on an impl detail, but c'est la vie. Older versions used
60923 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60924 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60925 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60926 # set (hence we're using an older libtool), then set it.
60927 if test x${with_gnu_ld+set} != xset; then
60928 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60929 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60930 with_gnu_ld=no
60931 else
60932 with_gnu_ld=$ac_cv_prog_gnu_ld
60936 # Start by getting the version number. I think the libtool test already
60937 # does some of this, but throws away the result.
60938 glibcxx_ld_is_gold=no
60939 if test x"$with_gnu_ld" = x"yes"; then
60940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60941 $as_echo_n "checking for ld version... " >&6; }
60943 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60944 glibcxx_ld_is_gold=yes
60946 ldver=`$LD --version 2>/dev/null |
60947 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60949 glibcxx_gnu_ld_version=`echo $ldver | \
60950 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60952 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60955 # Set --gc-sections.
60956 glibcxx_have_gc_sections=no
60957 if test "$glibcxx_ld_is_gold" = "yes"; then
60958 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60959 glibcxx_have_gc_sections=yes
60961 else
60962 glibcxx_gcsections_min_ld=21602
60963 if test x"$with_gnu_ld" = x"yes" &&
60964 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60965 glibcxx_have_gc_sections=yes
60968 if test "$glibcxx_have_gc_sections" = "yes"; then
60969 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60970 # NB: This flag only works reliably after 2.16.1. Configure tests
60971 # for this are difficult, so hard wire a value that should work.
60973 ac_test_CFLAGS="${CFLAGS+set}"
60974 ac_save_CFLAGS="$CFLAGS"
60975 CFLAGS='-Wl,--gc-sections'
60977 # Check for -Wl,--gc-sections
60978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60979 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60980 if test x$gcc_no_link = xyes; then
60981 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60984 /* end confdefs.h. */
60985 int one(void) { return 1; }
60986 int two(void) { return 2; }
60989 main ()
60991 two();
60993 return 0;
60995 _ACEOF
60996 if ac_fn_c_try_link "$LINENO"; then :
60997 ac_gcsections=yes
60998 else
60999 ac_gcsections=no
61001 rm -f core conftest.err conftest.$ac_objext \
61002 conftest$ac_exeext conftest.$ac_ext
61003 if test "$ac_gcsections" = "yes"; then
61004 rm -f conftest.c
61005 touch conftest.c
61006 if $CC -c conftest.c; then
61007 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
61008 grep "Warning: gc-sections option ignored" > /dev/null; then
61009 ac_gcsections=no
61012 rm -f conftest.c conftest.o conftest
61014 if test "$ac_gcsections" = "yes"; then
61015 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
61017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
61018 $as_echo "$ac_gcsections" >&6; }
61020 if test "$ac_test_CFLAGS" = set; then
61021 CFLAGS="$ac_save_CFLAGS"
61022 else
61023 # this is the suspicious part
61024 CFLAGS=''
61028 # Set -z,relro.
61029 # Note this is only for shared objects.
61030 ac_ld_relro=no
61031 if test x"$with_gnu_ld" = x"yes"; then
61032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
61033 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
61034 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
61035 if test -n "$cxx_z_relo"; then
61036 OPT_LDFLAGS="-Wl,-z,relro"
61037 ac_ld_relro=yes
61039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
61040 $as_echo "$ac_ld_relro" >&6; }
61043 # Set linker optimization flags.
61044 if test x"$with_gnu_ld" = x"yes"; then
61045 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
61051 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
61053 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
61055 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
61057 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
61059 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
61061 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
61063 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
61065 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
61067 if test x"long_double_math_on_this_cpu" = x"yes"; then
61068 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
61070 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
61072 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
61075 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
61076 do :
61077 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61078 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61079 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61080 cat >>confdefs.h <<_ACEOF
61081 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61082 _ACEOF
61085 done
61087 for ac_func in timespec_get
61088 do :
61089 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
61090 if test "x$ac_cv_func_timespec_get" = xyes; then :
61091 cat >>confdefs.h <<_ACEOF
61092 #define HAVE_TIMESPEC_GET 1
61093 _ACEOF
61096 done
61098 for ac_func in sockatmark
61099 do :
61100 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
61101 if test "x$ac_cv_func_sockatmark" = xyes; then :
61102 cat >>confdefs.h <<_ACEOF
61103 #define HAVE_SOCKATMARK 1
61104 _ACEOF
61107 done
61110 *-qnx6.1* | *-qnx6.2*)
61111 SECTION_FLAGS='-ffunction-sections -fdata-sections'
61114 # If we're not using GNU ld, then there's no point in even trying these
61115 # tests. Check for that first. We should have already tested for gld
61116 # by now (in libtool), but require it now just to be safe...
61117 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
61118 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
61122 # The name set by libtool depends on the version of libtool. Shame on us
61123 # for depending on an impl detail, but c'est la vie. Older versions used
61124 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
61125 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
61126 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
61127 # set (hence we're using an older libtool), then set it.
61128 if test x${with_gnu_ld+set} != xset; then
61129 if test x${ac_cv_prog_gnu_ld+set} != xset; then
61130 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
61131 with_gnu_ld=no
61132 else
61133 with_gnu_ld=$ac_cv_prog_gnu_ld
61137 # Start by getting the version number. I think the libtool test already
61138 # does some of this, but throws away the result.
61139 glibcxx_ld_is_gold=no
61140 if test x"$with_gnu_ld" = x"yes"; then
61141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
61142 $as_echo_n "checking for ld version... " >&6; }
61144 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
61145 glibcxx_ld_is_gold=yes
61147 ldver=`$LD --version 2>/dev/null |
61148 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
61150 glibcxx_gnu_ld_version=`echo $ldver | \
61151 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
61152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
61153 $as_echo "$glibcxx_gnu_ld_version" >&6; }
61156 # Set --gc-sections.
61157 glibcxx_have_gc_sections=no
61158 if test "$glibcxx_ld_is_gold" = "yes"; then
61159 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
61160 glibcxx_have_gc_sections=yes
61162 else
61163 glibcxx_gcsections_min_ld=21602
61164 if test x"$with_gnu_ld" = x"yes" &&
61165 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
61166 glibcxx_have_gc_sections=yes
61169 if test "$glibcxx_have_gc_sections" = "yes"; then
61170 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
61171 # NB: This flag only works reliably after 2.16.1. Configure tests
61172 # for this are difficult, so hard wire a value that should work.
61174 ac_test_CFLAGS="${CFLAGS+set}"
61175 ac_save_CFLAGS="$CFLAGS"
61176 CFLAGS='-Wl,--gc-sections'
61178 # Check for -Wl,--gc-sections
61179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
61180 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
61181 if test x$gcc_no_link = xyes; then
61182 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
61184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61185 /* end confdefs.h. */
61186 int one(void) { return 1; }
61187 int two(void) { return 2; }
61190 main ()
61192 two();
61194 return 0;
61196 _ACEOF
61197 if ac_fn_c_try_link "$LINENO"; then :
61198 ac_gcsections=yes
61199 else
61200 ac_gcsections=no
61202 rm -f core conftest.err conftest.$ac_objext \
61203 conftest$ac_exeext conftest.$ac_ext
61204 if test "$ac_gcsections" = "yes"; then
61205 rm -f conftest.c
61206 touch conftest.c
61207 if $CC -c conftest.c; then
61208 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
61209 grep "Warning: gc-sections option ignored" > /dev/null; then
61210 ac_gcsections=no
61213 rm -f conftest.c conftest.o conftest
61215 if test "$ac_gcsections" = "yes"; then
61216 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
61218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
61219 $as_echo "$ac_gcsections" >&6; }
61221 if test "$ac_test_CFLAGS" = set; then
61222 CFLAGS="$ac_save_CFLAGS"
61223 else
61224 # this is the suspicious part
61225 CFLAGS=''
61229 # Set -z,relro.
61230 # Note this is only for shared objects.
61231 ac_ld_relro=no
61232 if test x"$with_gnu_ld" = x"yes"; then
61233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
61234 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
61235 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
61236 if test -n "$cxx_z_relo"; then
61237 OPT_LDFLAGS="-Wl,-z,relro"
61238 ac_ld_relro=yes
61240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
61241 $as_echo "$ac_ld_relro" >&6; }
61244 # Set linker optimization flags.
61245 if test x"$with_gnu_ld" = x"yes"; then
61246 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
61252 $as_echo "#define HAVE_COSF 1" >>confdefs.h
61254 $as_echo "#define HAVE_COSL 1" >>confdefs.h
61256 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
61258 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
61260 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
61262 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
61264 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
61266 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
61268 $as_echo "#define HAVE_SINF 1" >>confdefs.h
61270 $as_echo "#define HAVE_SINL 1" >>confdefs.h
61272 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
61274 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
61277 *-rtems*)
61279 # All these tests are for C++; save the language and the compiler flags.
61280 # The CXXFLAGS thing is suspicious, but based on similar bits previously
61281 # found in GLIBCXX_CONFIGURE.
61283 ac_ext=cpp
61284 ac_cpp='$CXXCPP $CPPFLAGS'
61285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61289 ac_test_CXXFLAGS="${CXXFLAGS+set}"
61290 ac_save_CXXFLAGS="$CXXFLAGS"
61292 # Check for -ffunction-sections -fdata-sections
61293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
61294 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
61295 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
61296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61297 /* end confdefs.h. */
61298 int foo; void bar() { };
61300 main ()
61304 return 0;
61306 _ACEOF
61307 if ac_fn_cxx_try_compile "$LINENO"; then :
61308 ac_fdsections=yes
61309 else
61310 ac_fdsections=no
61312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61313 if test "$ac_test_CXXFLAGS" = set; then
61314 CXXFLAGS="$ac_save_CXXFLAGS"
61315 else
61316 # this is the suspicious part
61317 CXXFLAGS=''
61319 if test x"$ac_fdsections" = x"yes"; then
61320 SECTION_FLAGS='-ffunction-sections -fdata-sections'
61322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
61323 $as_echo "$ac_fdsections" >&6; }
61325 ac_ext=c
61326 ac_cpp='$CPP $CPPFLAGS'
61327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61334 # If we're not using GNU ld, then there's no point in even trying these
61335 # tests. Check for that first. We should have already tested for gld
61336 # by now (in libtool), but require it now just to be safe...
61337 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
61338 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
61342 # The name set by libtool depends on the version of libtool. Shame on us
61343 # for depending on an impl detail, but c'est la vie. Older versions used
61344 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
61345 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
61346 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
61347 # set (hence we're using an older libtool), then set it.
61348 if test x${with_gnu_ld+set} != xset; then
61349 if test x${ac_cv_prog_gnu_ld+set} != xset; then
61350 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
61351 with_gnu_ld=no
61352 else
61353 with_gnu_ld=$ac_cv_prog_gnu_ld
61357 # Start by getting the version number. I think the libtool test already
61358 # does some of this, but throws away the result.
61359 glibcxx_ld_is_gold=no
61360 if test x"$with_gnu_ld" = x"yes"; then
61361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
61362 $as_echo_n "checking for ld version... " >&6; }
61364 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
61365 glibcxx_ld_is_gold=yes
61367 ldver=`$LD --version 2>/dev/null |
61368 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
61370 glibcxx_gnu_ld_version=`echo $ldver | \
61371 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
61372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
61373 $as_echo "$glibcxx_gnu_ld_version" >&6; }
61376 # Set --gc-sections.
61377 glibcxx_have_gc_sections=no
61378 if test "$glibcxx_ld_is_gold" = "yes"; then
61379 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
61380 glibcxx_have_gc_sections=yes
61382 else
61383 glibcxx_gcsections_min_ld=21602
61384 if test x"$with_gnu_ld" = x"yes" &&
61385 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
61386 glibcxx_have_gc_sections=yes
61389 if test "$glibcxx_have_gc_sections" = "yes"; then
61390 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
61391 # NB: This flag only works reliably after 2.16.1. Configure tests
61392 # for this are difficult, so hard wire a value that should work.
61394 ac_test_CFLAGS="${CFLAGS+set}"
61395 ac_save_CFLAGS="$CFLAGS"
61396 CFLAGS='-Wl,--gc-sections'
61398 # Check for -Wl,--gc-sections
61399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
61400 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
61401 if test x$gcc_no_link = xyes; then
61402 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
61404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61405 /* end confdefs.h. */
61406 int one(void) { return 1; }
61407 int two(void) { return 2; }
61410 main ()
61412 two();
61414 return 0;
61416 _ACEOF
61417 if ac_fn_c_try_link "$LINENO"; then :
61418 ac_gcsections=yes
61419 else
61420 ac_gcsections=no
61422 rm -f core conftest.err conftest.$ac_objext \
61423 conftest$ac_exeext conftest.$ac_ext
61424 if test "$ac_gcsections" = "yes"; then
61425 rm -f conftest.c
61426 touch conftest.c
61427 if $CC -c conftest.c; then
61428 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
61429 grep "Warning: gc-sections option ignored" > /dev/null; then
61430 ac_gcsections=no
61433 rm -f conftest.c conftest.o conftest
61435 if test "$ac_gcsections" = "yes"; then
61436 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
61438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
61439 $as_echo "$ac_gcsections" >&6; }
61441 if test "$ac_test_CFLAGS" = set; then
61442 CFLAGS="$ac_save_CFLAGS"
61443 else
61444 # this is the suspicious part
61445 CFLAGS=''
61449 # Set -z,relro.
61450 # Note this is only for shared objects.
61451 ac_ld_relro=no
61452 if test x"$with_gnu_ld" = x"yes"; then
61453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
61454 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
61455 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
61456 if test -n "$cxx_z_relo"; then
61457 OPT_LDFLAGS="-Wl,-z,relro"
61458 ac_ld_relro=yes
61460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
61461 $as_echo "$ac_ld_relro" >&6; }
61464 # Set linker optimization flags.
61465 if test x"$with_gnu_ld" = x"yes"; then
61466 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
61473 ac_test_CXXFLAGS="${CXXFLAGS+set}"
61474 ac_save_CXXFLAGS="$CXXFLAGS"
61475 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
61477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
61478 $as_echo_n "checking for sin in -lm... " >&6; }
61479 if ${ac_cv_lib_m_sin+:} false; then :
61480 $as_echo_n "(cached) " >&6
61481 else
61482 ac_check_lib_save_LIBS=$LIBS
61483 LIBS="-lm $LIBS"
61484 if test x$gcc_no_link = xyes; then
61485 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
61487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61488 /* end confdefs.h. */
61490 /* Override any GCC internal prototype to avoid an error.
61491 Use char because int might match the return type of a GCC
61492 builtin and then its argument prototype would still apply. */
61493 #ifdef __cplusplus
61494 extern "C"
61495 #endif
61496 char sin ();
61498 main ()
61500 return sin ();
61502 return 0;
61504 _ACEOF
61505 if ac_fn_c_try_link "$LINENO"; then :
61506 ac_cv_lib_m_sin=yes
61507 else
61508 ac_cv_lib_m_sin=no
61510 rm -f core conftest.err conftest.$ac_objext \
61511 conftest$ac_exeext conftest.$ac_ext
61512 LIBS=$ac_check_lib_save_LIBS
61514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
61515 $as_echo "$ac_cv_lib_m_sin" >&6; }
61516 if test "x$ac_cv_lib_m_sin" = xyes; then :
61517 libm="-lm"
61520 ac_save_LIBS="$LIBS"
61521 LIBS="$LIBS $libm"
61525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
61526 $as_echo_n "checking for isinf declaration... " >&6; }
61527 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
61528 if ${glibcxx_cv_func_isinf_use+:} false; then :
61529 $as_echo_n "(cached) " >&6
61530 else
61533 ac_ext=cpp
61534 ac_cpp='$CXXCPP $CPPFLAGS'
61535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61540 /* end confdefs.h. */
61541 #include <math.h>
61542 #ifdef HAVE_IEEEFP_H
61543 #include <ieeefp.h>
61544 #endif
61547 main ()
61549 isinf(0);
61551 return 0;
61553 _ACEOF
61554 if ac_fn_cxx_try_compile "$LINENO"; then :
61555 glibcxx_cv_func_isinf_use=yes
61556 else
61557 glibcxx_cv_func_isinf_use=no
61559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61560 ac_ext=c
61561 ac_cpp='$CPP $CPPFLAGS'
61562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
61571 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
61573 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
61574 for ac_func in isinf
61575 do :
61576 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
61577 if test "x$ac_cv_func_isinf" = xyes; then :
61578 cat >>confdefs.h <<_ACEOF
61579 #define HAVE_ISINF 1
61580 _ACEOF
61583 done
61585 else
61587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
61588 $as_echo_n "checking for _isinf declaration... " >&6; }
61589 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
61590 if ${glibcxx_cv_func__isinf_use+:} false; then :
61591 $as_echo_n "(cached) " >&6
61592 else
61595 ac_ext=cpp
61596 ac_cpp='$CXXCPP $CPPFLAGS'
61597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61602 /* end confdefs.h. */
61603 #include <math.h>
61604 #ifdef HAVE_IEEEFP_H
61605 #include <ieeefp.h>
61606 #endif
61609 main ()
61611 _isinf(0);
61613 return 0;
61615 _ACEOF
61616 if ac_fn_cxx_try_compile "$LINENO"; then :
61617 glibcxx_cv_func__isinf_use=yes
61618 else
61619 glibcxx_cv_func__isinf_use=no
61621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61622 ac_ext=c
61623 ac_cpp='$CPP $CPPFLAGS'
61624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
61633 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
61635 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
61636 for ac_func in _isinf
61637 do :
61638 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
61639 if test "x$ac_cv_func__isinf" = xyes; then :
61640 cat >>confdefs.h <<_ACEOF
61641 #define HAVE__ISINF 1
61642 _ACEOF
61645 done
61654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
61655 $as_echo_n "checking for isnan declaration... " >&6; }
61656 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
61657 if ${glibcxx_cv_func_isnan_use+:} false; then :
61658 $as_echo_n "(cached) " >&6
61659 else
61662 ac_ext=cpp
61663 ac_cpp='$CXXCPP $CPPFLAGS'
61664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61669 /* end confdefs.h. */
61670 #include <math.h>
61671 #ifdef HAVE_IEEEFP_H
61672 #include <ieeefp.h>
61673 #endif
61676 main ()
61678 isnan(0);
61680 return 0;
61682 _ACEOF
61683 if ac_fn_cxx_try_compile "$LINENO"; then :
61684 glibcxx_cv_func_isnan_use=yes
61685 else
61686 glibcxx_cv_func_isnan_use=no
61688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61689 ac_ext=c
61690 ac_cpp='$CPP $CPPFLAGS'
61691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
61700 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
61702 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
61703 for ac_func in isnan
61704 do :
61705 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
61706 if test "x$ac_cv_func_isnan" = xyes; then :
61707 cat >>confdefs.h <<_ACEOF
61708 #define HAVE_ISNAN 1
61709 _ACEOF
61712 done
61714 else
61716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
61717 $as_echo_n "checking for _isnan declaration... " >&6; }
61718 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
61719 if ${glibcxx_cv_func__isnan_use+:} false; then :
61720 $as_echo_n "(cached) " >&6
61721 else
61724 ac_ext=cpp
61725 ac_cpp='$CXXCPP $CPPFLAGS'
61726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61731 /* end confdefs.h. */
61732 #include <math.h>
61733 #ifdef HAVE_IEEEFP_H
61734 #include <ieeefp.h>
61735 #endif
61738 main ()
61740 _isnan(0);
61742 return 0;
61744 _ACEOF
61745 if ac_fn_cxx_try_compile "$LINENO"; then :
61746 glibcxx_cv_func__isnan_use=yes
61747 else
61748 glibcxx_cv_func__isnan_use=no
61750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61751 ac_ext=c
61752 ac_cpp='$CPP $CPPFLAGS'
61753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
61762 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
61764 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
61765 for ac_func in _isnan
61766 do :
61767 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
61768 if test "x$ac_cv_func__isnan" = xyes; then :
61769 cat >>confdefs.h <<_ACEOF
61770 #define HAVE__ISNAN 1
61771 _ACEOF
61774 done
61783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
61784 $as_echo_n "checking for finite declaration... " >&6; }
61785 if test x${glibcxx_cv_func_finite_use+set} != xset; then
61786 if ${glibcxx_cv_func_finite_use+:} false; then :
61787 $as_echo_n "(cached) " >&6
61788 else
61791 ac_ext=cpp
61792 ac_cpp='$CXXCPP $CPPFLAGS'
61793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61798 /* end confdefs.h. */
61799 #include <math.h>
61800 #ifdef HAVE_IEEEFP_H
61801 #include <ieeefp.h>
61802 #endif
61805 main ()
61807 finite(0);
61809 return 0;
61811 _ACEOF
61812 if ac_fn_cxx_try_compile "$LINENO"; then :
61813 glibcxx_cv_func_finite_use=yes
61814 else
61815 glibcxx_cv_func_finite_use=no
61817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61818 ac_ext=c
61819 ac_cpp='$CPP $CPPFLAGS'
61820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
61829 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
61831 if test x$glibcxx_cv_func_finite_use = x"yes"; then
61832 for ac_func in finite
61833 do :
61834 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
61835 if test "x$ac_cv_func_finite" = xyes; then :
61836 cat >>confdefs.h <<_ACEOF
61837 #define HAVE_FINITE 1
61838 _ACEOF
61841 done
61843 else
61845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
61846 $as_echo_n "checking for _finite declaration... " >&6; }
61847 if test x${glibcxx_cv_func__finite_use+set} != xset; then
61848 if ${glibcxx_cv_func__finite_use+:} false; then :
61849 $as_echo_n "(cached) " >&6
61850 else
61853 ac_ext=cpp
61854 ac_cpp='$CXXCPP $CPPFLAGS'
61855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61860 /* end confdefs.h. */
61861 #include <math.h>
61862 #ifdef HAVE_IEEEFP_H
61863 #include <ieeefp.h>
61864 #endif
61867 main ()
61869 _finite(0);
61871 return 0;
61873 _ACEOF
61874 if ac_fn_cxx_try_compile "$LINENO"; then :
61875 glibcxx_cv_func__finite_use=yes
61876 else
61877 glibcxx_cv_func__finite_use=no
61879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61880 ac_ext=c
61881 ac_cpp='$CPP $CPPFLAGS'
61882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
61891 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
61893 if test x$glibcxx_cv_func__finite_use = x"yes"; then
61894 for ac_func in _finite
61895 do :
61896 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
61897 if test "x$ac_cv_func__finite" = xyes; then :
61898 cat >>confdefs.h <<_ACEOF
61899 #define HAVE__FINITE 1
61900 _ACEOF
61903 done
61912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
61913 $as_echo_n "checking for sincos declaration... " >&6; }
61914 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
61915 if ${glibcxx_cv_func_sincos_use+:} false; then :
61916 $as_echo_n "(cached) " >&6
61917 else
61920 ac_ext=cpp
61921 ac_cpp='$CXXCPP $CPPFLAGS'
61922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61927 /* end confdefs.h. */
61928 #include <math.h>
61930 main ()
61932 sincos(0, 0, 0);
61934 return 0;
61936 _ACEOF
61937 if ac_fn_cxx_try_compile "$LINENO"; then :
61938 glibcxx_cv_func_sincos_use=yes
61939 else
61940 glibcxx_cv_func_sincos_use=no
61942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61943 ac_ext=c
61944 ac_cpp='$CPP $CPPFLAGS'
61945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
61954 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
61956 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
61957 for ac_func in sincos
61958 do :
61959 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
61960 if test "x$ac_cv_func_sincos" = xyes; then :
61961 cat >>confdefs.h <<_ACEOF
61962 #define HAVE_SINCOS 1
61963 _ACEOF
61966 done
61968 else
61970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
61971 $as_echo_n "checking for _sincos declaration... " >&6; }
61972 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
61973 if ${glibcxx_cv_func__sincos_use+:} false; then :
61974 $as_echo_n "(cached) " >&6
61975 else
61978 ac_ext=cpp
61979 ac_cpp='$CXXCPP $CPPFLAGS'
61980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61985 /* end confdefs.h. */
61986 #include <math.h>
61988 main ()
61990 _sincos(0, 0, 0);
61992 return 0;
61994 _ACEOF
61995 if ac_fn_cxx_try_compile "$LINENO"; then :
61996 glibcxx_cv_func__sincos_use=yes
61997 else
61998 glibcxx_cv_func__sincos_use=no
62000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62001 ac_ext=c
62002 ac_cpp='$CPP $CPPFLAGS'
62003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
62012 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
62014 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
62015 for ac_func in _sincos
62016 do :
62017 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
62018 if test "x$ac_cv_func__sincos" = xyes; then :
62019 cat >>confdefs.h <<_ACEOF
62020 #define HAVE__SINCOS 1
62021 _ACEOF
62024 done
62033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
62034 $as_echo_n "checking for fpclass declaration... " >&6; }
62035 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
62036 if ${glibcxx_cv_func_fpclass_use+:} false; then :
62037 $as_echo_n "(cached) " >&6
62038 else
62041 ac_ext=cpp
62042 ac_cpp='$CXXCPP $CPPFLAGS'
62043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62048 /* end confdefs.h. */
62049 #include <math.h>
62050 #ifdef HAVE_IEEEFP_H
62051 #include <ieeefp.h>
62052 #endif
62055 main ()
62057 fpclass(0);
62059 return 0;
62061 _ACEOF
62062 if ac_fn_cxx_try_compile "$LINENO"; then :
62063 glibcxx_cv_func_fpclass_use=yes
62064 else
62065 glibcxx_cv_func_fpclass_use=no
62067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62068 ac_ext=c
62069 ac_cpp='$CPP $CPPFLAGS'
62070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
62079 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
62081 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
62082 for ac_func in fpclass
62083 do :
62084 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
62085 if test "x$ac_cv_func_fpclass" = xyes; then :
62086 cat >>confdefs.h <<_ACEOF
62087 #define HAVE_FPCLASS 1
62088 _ACEOF
62091 done
62093 else
62095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
62096 $as_echo_n "checking for _fpclass declaration... " >&6; }
62097 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
62098 if ${glibcxx_cv_func__fpclass_use+:} false; then :
62099 $as_echo_n "(cached) " >&6
62100 else
62103 ac_ext=cpp
62104 ac_cpp='$CXXCPP $CPPFLAGS'
62105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62110 /* end confdefs.h. */
62111 #include <math.h>
62112 #ifdef HAVE_IEEEFP_H
62113 #include <ieeefp.h>
62114 #endif
62117 main ()
62119 _fpclass(0);
62121 return 0;
62123 _ACEOF
62124 if ac_fn_cxx_try_compile "$LINENO"; then :
62125 glibcxx_cv_func__fpclass_use=yes
62126 else
62127 glibcxx_cv_func__fpclass_use=no
62129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62130 ac_ext=c
62131 ac_cpp='$CPP $CPPFLAGS'
62132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
62141 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
62143 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
62144 for ac_func in _fpclass
62145 do :
62146 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
62147 if test "x$ac_cv_func__fpclass" = xyes; then :
62148 cat >>confdefs.h <<_ACEOF
62149 #define HAVE__FPCLASS 1
62150 _ACEOF
62153 done
62162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
62163 $as_echo_n "checking for qfpclass declaration... " >&6; }
62164 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
62165 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
62166 $as_echo_n "(cached) " >&6
62167 else
62170 ac_ext=cpp
62171 ac_cpp='$CXXCPP $CPPFLAGS'
62172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62177 /* end confdefs.h. */
62178 #include <math.h>
62179 #ifdef HAVE_IEEEFP_H
62180 #include <ieeefp.h>
62181 #endif
62184 main ()
62186 qfpclass(0);
62188 return 0;
62190 _ACEOF
62191 if ac_fn_cxx_try_compile "$LINENO"; then :
62192 glibcxx_cv_func_qfpclass_use=yes
62193 else
62194 glibcxx_cv_func_qfpclass_use=no
62196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62197 ac_ext=c
62198 ac_cpp='$CPP $CPPFLAGS'
62199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
62208 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
62210 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
62211 for ac_func in qfpclass
62212 do :
62213 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
62214 if test "x$ac_cv_func_qfpclass" = xyes; then :
62215 cat >>confdefs.h <<_ACEOF
62216 #define HAVE_QFPCLASS 1
62217 _ACEOF
62220 done
62222 else
62224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
62225 $as_echo_n "checking for _qfpclass declaration... " >&6; }
62226 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
62227 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
62228 $as_echo_n "(cached) " >&6
62229 else
62232 ac_ext=cpp
62233 ac_cpp='$CXXCPP $CPPFLAGS'
62234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62239 /* end confdefs.h. */
62240 #include <math.h>
62241 #ifdef HAVE_IEEEFP_H
62242 #include <ieeefp.h>
62243 #endif
62246 main ()
62248 _qfpclass(0);
62250 return 0;
62252 _ACEOF
62253 if ac_fn_cxx_try_compile "$LINENO"; then :
62254 glibcxx_cv_func__qfpclass_use=yes
62255 else
62256 glibcxx_cv_func__qfpclass_use=no
62258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62259 ac_ext=c
62260 ac_cpp='$CPP $CPPFLAGS'
62261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
62270 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
62272 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
62273 for ac_func in _qfpclass
62274 do :
62275 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
62276 if test "x$ac_cv_func__qfpclass" = xyes; then :
62277 cat >>confdefs.h <<_ACEOF
62278 #define HAVE__QFPCLASS 1
62279 _ACEOF
62282 done
62291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
62292 $as_echo_n "checking for hypot declaration... " >&6; }
62293 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
62294 if ${glibcxx_cv_func_hypot_use+:} false; then :
62295 $as_echo_n "(cached) " >&6
62296 else
62299 ac_ext=cpp
62300 ac_cpp='$CXXCPP $CPPFLAGS'
62301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62306 /* end confdefs.h. */
62307 #include <math.h>
62309 main ()
62311 hypot(0, 0);
62313 return 0;
62315 _ACEOF
62316 if ac_fn_cxx_try_compile "$LINENO"; then :
62317 glibcxx_cv_func_hypot_use=yes
62318 else
62319 glibcxx_cv_func_hypot_use=no
62321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62322 ac_ext=c
62323 ac_cpp='$CPP $CPPFLAGS'
62324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
62333 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
62335 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
62336 for ac_func in hypot
62337 do :
62338 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
62339 if test "x$ac_cv_func_hypot" = xyes; then :
62340 cat >>confdefs.h <<_ACEOF
62341 #define HAVE_HYPOT 1
62342 _ACEOF
62345 done
62347 else
62349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
62350 $as_echo_n "checking for _hypot declaration... " >&6; }
62351 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
62352 if ${glibcxx_cv_func__hypot_use+:} false; then :
62353 $as_echo_n "(cached) " >&6
62354 else
62357 ac_ext=cpp
62358 ac_cpp='$CXXCPP $CPPFLAGS'
62359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62364 /* end confdefs.h. */
62365 #include <math.h>
62367 main ()
62369 _hypot(0, 0);
62371 return 0;
62373 _ACEOF
62374 if ac_fn_cxx_try_compile "$LINENO"; then :
62375 glibcxx_cv_func__hypot_use=yes
62376 else
62377 glibcxx_cv_func__hypot_use=no
62379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62380 ac_ext=c
62381 ac_cpp='$CPP $CPPFLAGS'
62382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
62391 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
62393 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
62394 for ac_func in _hypot
62395 do :
62396 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
62397 if test "x$ac_cv_func__hypot" = xyes; then :
62398 cat >>confdefs.h <<_ACEOF
62399 #define HAVE__HYPOT 1
62400 _ACEOF
62403 done
62412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
62413 $as_echo_n "checking for float trig functions... " >&6; }
62414 if ${glibcxx_cv_func_float_trig_use+:} false; then :
62415 $as_echo_n "(cached) " >&6
62416 else
62419 ac_ext=cpp
62420 ac_cpp='$CXXCPP $CPPFLAGS'
62421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62426 /* end confdefs.h. */
62427 #include <math.h>
62429 main ()
62431 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
62433 return 0;
62435 _ACEOF
62436 if ac_fn_cxx_try_compile "$LINENO"; then :
62437 glibcxx_cv_func_float_trig_use=yes
62438 else
62439 glibcxx_cv_func_float_trig_use=no
62441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62442 ac_ext=c
62443 ac_cpp='$CPP $CPPFLAGS'
62444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
62451 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
62452 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
62453 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
62454 do :
62455 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62456 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62457 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62458 cat >>confdefs.h <<_ACEOF
62459 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62460 _ACEOF
62463 done
62465 else
62466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
62467 $as_echo_n "checking for _float trig functions... " >&6; }
62468 if ${glibcxx_cv_func__float_trig_use+:} false; then :
62469 $as_echo_n "(cached) " >&6
62470 else
62473 ac_ext=cpp
62474 ac_cpp='$CXXCPP $CPPFLAGS'
62475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62480 /* end confdefs.h. */
62481 #include <math.h>
62483 main ()
62485 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
62487 return 0;
62489 _ACEOF
62490 if ac_fn_cxx_try_compile "$LINENO"; then :
62491 glibcxx_cv_func__float_trig_use=yes
62492 else
62493 glibcxx_cv_func__float_trig_use=no
62495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62496 ac_ext=c
62497 ac_cpp='$CPP $CPPFLAGS'
62498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
62505 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
62506 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
62507 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
62508 do :
62509 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62510 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62511 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62512 cat >>confdefs.h <<_ACEOF
62513 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62514 _ACEOF
62517 done
62526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
62527 $as_echo_n "checking for float round functions... " >&6; }
62528 if ${glibcxx_cv_func_float_round_use+:} false; then :
62529 $as_echo_n "(cached) " >&6
62530 else
62533 ac_ext=cpp
62534 ac_cpp='$CXXCPP $CPPFLAGS'
62535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62540 /* end confdefs.h. */
62541 #include <math.h>
62543 main ()
62545 ceilf (0); floorf (0);
62547 return 0;
62549 _ACEOF
62550 if ac_fn_cxx_try_compile "$LINENO"; then :
62551 glibcxx_cv_func_float_round_use=yes
62552 else
62553 glibcxx_cv_func_float_round_use=no
62555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62556 ac_ext=c
62557 ac_cpp='$CPP $CPPFLAGS'
62558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
62565 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
62566 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
62567 for ac_func in ceilf floorf
62568 do :
62569 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62570 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62571 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62572 cat >>confdefs.h <<_ACEOF
62573 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62574 _ACEOF
62577 done
62579 else
62580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
62581 $as_echo_n "checking for _float round functions... " >&6; }
62582 if ${glibcxx_cv_func__float_round_use+:} false; then :
62583 $as_echo_n "(cached) " >&6
62584 else
62587 ac_ext=cpp
62588 ac_cpp='$CXXCPP $CPPFLAGS'
62589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62594 /* end confdefs.h. */
62595 #include <math.h>
62597 main ()
62599 _ceilf (0); _floorf (0);
62601 return 0;
62603 _ACEOF
62604 if ac_fn_cxx_try_compile "$LINENO"; then :
62605 glibcxx_cv_func__float_round_use=yes
62606 else
62607 glibcxx_cv_func__float_round_use=no
62609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62610 ac_ext=c
62611 ac_cpp='$CPP $CPPFLAGS'
62612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
62619 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
62620 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
62621 for ac_func in _ceilf _floorf
62622 do :
62623 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62624 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62625 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62626 cat >>confdefs.h <<_ACEOF
62627 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62628 _ACEOF
62631 done
62641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
62642 $as_echo_n "checking for expf declaration... " >&6; }
62643 if test x${glibcxx_cv_func_expf_use+set} != xset; then
62644 if ${glibcxx_cv_func_expf_use+:} false; then :
62645 $as_echo_n "(cached) " >&6
62646 else
62649 ac_ext=cpp
62650 ac_cpp='$CXXCPP $CPPFLAGS'
62651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62656 /* end confdefs.h. */
62657 #include <math.h>
62658 #ifdef HAVE_IEEEFP_H
62659 #include <ieeefp.h>
62660 #endif
62663 main ()
62665 expf(0);
62667 return 0;
62669 _ACEOF
62670 if ac_fn_cxx_try_compile "$LINENO"; then :
62671 glibcxx_cv_func_expf_use=yes
62672 else
62673 glibcxx_cv_func_expf_use=no
62675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62676 ac_ext=c
62677 ac_cpp='$CPP $CPPFLAGS'
62678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
62687 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
62689 if test x$glibcxx_cv_func_expf_use = x"yes"; then
62690 for ac_func in expf
62691 do :
62692 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
62693 if test "x$ac_cv_func_expf" = xyes; then :
62694 cat >>confdefs.h <<_ACEOF
62695 #define HAVE_EXPF 1
62696 _ACEOF
62699 done
62701 else
62703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
62704 $as_echo_n "checking for _expf declaration... " >&6; }
62705 if test x${glibcxx_cv_func__expf_use+set} != xset; then
62706 if ${glibcxx_cv_func__expf_use+:} false; then :
62707 $as_echo_n "(cached) " >&6
62708 else
62711 ac_ext=cpp
62712 ac_cpp='$CXXCPP $CPPFLAGS'
62713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62718 /* end confdefs.h. */
62719 #include <math.h>
62720 #ifdef HAVE_IEEEFP_H
62721 #include <ieeefp.h>
62722 #endif
62725 main ()
62727 _expf(0);
62729 return 0;
62731 _ACEOF
62732 if ac_fn_cxx_try_compile "$LINENO"; then :
62733 glibcxx_cv_func__expf_use=yes
62734 else
62735 glibcxx_cv_func__expf_use=no
62737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62738 ac_ext=c
62739 ac_cpp='$CPP $CPPFLAGS'
62740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
62749 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
62751 if test x$glibcxx_cv_func__expf_use = x"yes"; then
62752 for ac_func in _expf
62753 do :
62754 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
62755 if test "x$ac_cv_func__expf" = xyes; then :
62756 cat >>confdefs.h <<_ACEOF
62757 #define HAVE__EXPF 1
62758 _ACEOF
62761 done
62770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
62771 $as_echo_n "checking for isnanf declaration... " >&6; }
62772 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
62773 if ${glibcxx_cv_func_isnanf_use+:} false; then :
62774 $as_echo_n "(cached) " >&6
62775 else
62778 ac_ext=cpp
62779 ac_cpp='$CXXCPP $CPPFLAGS'
62780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62785 /* end confdefs.h. */
62786 #include <math.h>
62787 #ifdef HAVE_IEEEFP_H
62788 #include <ieeefp.h>
62789 #endif
62792 main ()
62794 isnanf(0);
62796 return 0;
62798 _ACEOF
62799 if ac_fn_cxx_try_compile "$LINENO"; then :
62800 glibcxx_cv_func_isnanf_use=yes
62801 else
62802 glibcxx_cv_func_isnanf_use=no
62804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62805 ac_ext=c
62806 ac_cpp='$CPP $CPPFLAGS'
62807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
62816 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
62818 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
62819 for ac_func in isnanf
62820 do :
62821 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
62822 if test "x$ac_cv_func_isnanf" = xyes; then :
62823 cat >>confdefs.h <<_ACEOF
62824 #define HAVE_ISNANF 1
62825 _ACEOF
62828 done
62830 else
62832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
62833 $as_echo_n "checking for _isnanf declaration... " >&6; }
62834 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
62835 if ${glibcxx_cv_func__isnanf_use+:} false; then :
62836 $as_echo_n "(cached) " >&6
62837 else
62840 ac_ext=cpp
62841 ac_cpp='$CXXCPP $CPPFLAGS'
62842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62847 /* end confdefs.h. */
62848 #include <math.h>
62849 #ifdef HAVE_IEEEFP_H
62850 #include <ieeefp.h>
62851 #endif
62854 main ()
62856 _isnanf(0);
62858 return 0;
62860 _ACEOF
62861 if ac_fn_cxx_try_compile "$LINENO"; then :
62862 glibcxx_cv_func__isnanf_use=yes
62863 else
62864 glibcxx_cv_func__isnanf_use=no
62866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62867 ac_ext=c
62868 ac_cpp='$CPP $CPPFLAGS'
62869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
62878 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
62880 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
62881 for ac_func in _isnanf
62882 do :
62883 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
62884 if test "x$ac_cv_func__isnanf" = xyes; then :
62885 cat >>confdefs.h <<_ACEOF
62886 #define HAVE__ISNANF 1
62887 _ACEOF
62890 done
62899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
62900 $as_echo_n "checking for isinff declaration... " >&6; }
62901 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
62902 if ${glibcxx_cv_func_isinff_use+:} false; then :
62903 $as_echo_n "(cached) " >&6
62904 else
62907 ac_ext=cpp
62908 ac_cpp='$CXXCPP $CPPFLAGS'
62909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62914 /* end confdefs.h. */
62915 #include <math.h>
62916 #ifdef HAVE_IEEEFP_H
62917 #include <ieeefp.h>
62918 #endif
62921 main ()
62923 isinff(0);
62925 return 0;
62927 _ACEOF
62928 if ac_fn_cxx_try_compile "$LINENO"; then :
62929 glibcxx_cv_func_isinff_use=yes
62930 else
62931 glibcxx_cv_func_isinff_use=no
62933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62934 ac_ext=c
62935 ac_cpp='$CPP $CPPFLAGS'
62936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
62945 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
62947 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
62948 for ac_func in isinff
62949 do :
62950 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
62951 if test "x$ac_cv_func_isinff" = xyes; then :
62952 cat >>confdefs.h <<_ACEOF
62953 #define HAVE_ISINFF 1
62954 _ACEOF
62957 done
62959 else
62961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
62962 $as_echo_n "checking for _isinff declaration... " >&6; }
62963 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
62964 if ${glibcxx_cv_func__isinff_use+:} false; then :
62965 $as_echo_n "(cached) " >&6
62966 else
62969 ac_ext=cpp
62970 ac_cpp='$CXXCPP $CPPFLAGS'
62971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62976 /* end confdefs.h. */
62977 #include <math.h>
62978 #ifdef HAVE_IEEEFP_H
62979 #include <ieeefp.h>
62980 #endif
62983 main ()
62985 _isinff(0);
62987 return 0;
62989 _ACEOF
62990 if ac_fn_cxx_try_compile "$LINENO"; then :
62991 glibcxx_cv_func__isinff_use=yes
62992 else
62993 glibcxx_cv_func__isinff_use=no
62995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62996 ac_ext=c
62997 ac_cpp='$CPP $CPPFLAGS'
62998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
63007 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
63009 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
63010 for ac_func in _isinff
63011 do :
63012 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
63013 if test "x$ac_cv_func__isinff" = xyes; then :
63014 cat >>confdefs.h <<_ACEOF
63015 #define HAVE__ISINFF 1
63016 _ACEOF
63019 done
63028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
63029 $as_echo_n "checking for atan2f declaration... " >&6; }
63030 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
63031 if ${glibcxx_cv_func_atan2f_use+:} false; then :
63032 $as_echo_n "(cached) " >&6
63033 else
63036 ac_ext=cpp
63037 ac_cpp='$CXXCPP $CPPFLAGS'
63038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63043 /* end confdefs.h. */
63044 #include <math.h>
63046 main ()
63048 atan2f(0, 0);
63050 return 0;
63052 _ACEOF
63053 if ac_fn_cxx_try_compile "$LINENO"; then :
63054 glibcxx_cv_func_atan2f_use=yes
63055 else
63056 glibcxx_cv_func_atan2f_use=no
63058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63059 ac_ext=c
63060 ac_cpp='$CPP $CPPFLAGS'
63061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
63070 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
63072 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
63073 for ac_func in atan2f
63074 do :
63075 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
63076 if test "x$ac_cv_func_atan2f" = xyes; then :
63077 cat >>confdefs.h <<_ACEOF
63078 #define HAVE_ATAN2F 1
63079 _ACEOF
63082 done
63084 else
63086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
63087 $as_echo_n "checking for _atan2f declaration... " >&6; }
63088 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
63089 if ${glibcxx_cv_func__atan2f_use+:} false; then :
63090 $as_echo_n "(cached) " >&6
63091 else
63094 ac_ext=cpp
63095 ac_cpp='$CXXCPP $CPPFLAGS'
63096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63101 /* end confdefs.h. */
63102 #include <math.h>
63104 main ()
63106 _atan2f(0, 0);
63108 return 0;
63110 _ACEOF
63111 if ac_fn_cxx_try_compile "$LINENO"; then :
63112 glibcxx_cv_func__atan2f_use=yes
63113 else
63114 glibcxx_cv_func__atan2f_use=no
63116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63117 ac_ext=c
63118 ac_cpp='$CPP $CPPFLAGS'
63119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
63128 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
63130 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
63131 for ac_func in _atan2f
63132 do :
63133 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
63134 if test "x$ac_cv_func__atan2f" = xyes; then :
63135 cat >>confdefs.h <<_ACEOF
63136 #define HAVE__ATAN2F 1
63137 _ACEOF
63140 done
63149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
63150 $as_echo_n "checking for fabsf declaration... " >&6; }
63151 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
63152 if ${glibcxx_cv_func_fabsf_use+:} false; then :
63153 $as_echo_n "(cached) " >&6
63154 else
63157 ac_ext=cpp
63158 ac_cpp='$CXXCPP $CPPFLAGS'
63159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63164 /* end confdefs.h. */
63165 #include <math.h>
63166 #ifdef HAVE_IEEEFP_H
63167 #include <ieeefp.h>
63168 #endif
63171 main ()
63173 fabsf(0);
63175 return 0;
63177 _ACEOF
63178 if ac_fn_cxx_try_compile "$LINENO"; then :
63179 glibcxx_cv_func_fabsf_use=yes
63180 else
63181 glibcxx_cv_func_fabsf_use=no
63183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63184 ac_ext=c
63185 ac_cpp='$CPP $CPPFLAGS'
63186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
63195 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
63197 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
63198 for ac_func in fabsf
63199 do :
63200 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
63201 if test "x$ac_cv_func_fabsf" = xyes; then :
63202 cat >>confdefs.h <<_ACEOF
63203 #define HAVE_FABSF 1
63204 _ACEOF
63207 done
63209 else
63211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
63212 $as_echo_n "checking for _fabsf declaration... " >&6; }
63213 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
63214 if ${glibcxx_cv_func__fabsf_use+:} false; then :
63215 $as_echo_n "(cached) " >&6
63216 else
63219 ac_ext=cpp
63220 ac_cpp='$CXXCPP $CPPFLAGS'
63221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63226 /* end confdefs.h. */
63227 #include <math.h>
63228 #ifdef HAVE_IEEEFP_H
63229 #include <ieeefp.h>
63230 #endif
63233 main ()
63235 _fabsf(0);
63237 return 0;
63239 _ACEOF
63240 if ac_fn_cxx_try_compile "$LINENO"; then :
63241 glibcxx_cv_func__fabsf_use=yes
63242 else
63243 glibcxx_cv_func__fabsf_use=no
63245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63246 ac_ext=c
63247 ac_cpp='$CPP $CPPFLAGS'
63248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
63257 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
63259 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
63260 for ac_func in _fabsf
63261 do :
63262 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
63263 if test "x$ac_cv_func__fabsf" = xyes; then :
63264 cat >>confdefs.h <<_ACEOF
63265 #define HAVE__FABSF 1
63266 _ACEOF
63269 done
63278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
63279 $as_echo_n "checking for fmodf declaration... " >&6; }
63280 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
63281 if ${glibcxx_cv_func_fmodf_use+:} false; then :
63282 $as_echo_n "(cached) " >&6
63283 else
63286 ac_ext=cpp
63287 ac_cpp='$CXXCPP $CPPFLAGS'
63288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63293 /* end confdefs.h. */
63294 #include <math.h>
63296 main ()
63298 fmodf(0, 0);
63300 return 0;
63302 _ACEOF
63303 if ac_fn_cxx_try_compile "$LINENO"; then :
63304 glibcxx_cv_func_fmodf_use=yes
63305 else
63306 glibcxx_cv_func_fmodf_use=no
63308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63309 ac_ext=c
63310 ac_cpp='$CPP $CPPFLAGS'
63311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
63320 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
63322 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
63323 for ac_func in fmodf
63324 do :
63325 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
63326 if test "x$ac_cv_func_fmodf" = xyes; then :
63327 cat >>confdefs.h <<_ACEOF
63328 #define HAVE_FMODF 1
63329 _ACEOF
63332 done
63334 else
63336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
63337 $as_echo_n "checking for _fmodf declaration... " >&6; }
63338 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
63339 if ${glibcxx_cv_func__fmodf_use+:} false; then :
63340 $as_echo_n "(cached) " >&6
63341 else
63344 ac_ext=cpp
63345 ac_cpp='$CXXCPP $CPPFLAGS'
63346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63351 /* end confdefs.h. */
63352 #include <math.h>
63354 main ()
63356 _fmodf(0, 0);
63358 return 0;
63360 _ACEOF
63361 if ac_fn_cxx_try_compile "$LINENO"; then :
63362 glibcxx_cv_func__fmodf_use=yes
63363 else
63364 glibcxx_cv_func__fmodf_use=no
63366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63367 ac_ext=c
63368 ac_cpp='$CPP $CPPFLAGS'
63369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
63378 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
63380 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
63381 for ac_func in _fmodf
63382 do :
63383 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
63384 if test "x$ac_cv_func__fmodf" = xyes; then :
63385 cat >>confdefs.h <<_ACEOF
63386 #define HAVE__FMODF 1
63387 _ACEOF
63390 done
63399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
63400 $as_echo_n "checking for frexpf declaration... " >&6; }
63401 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
63402 if ${glibcxx_cv_func_frexpf_use+:} false; then :
63403 $as_echo_n "(cached) " >&6
63404 else
63407 ac_ext=cpp
63408 ac_cpp='$CXXCPP $CPPFLAGS'
63409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63414 /* end confdefs.h. */
63415 #include <math.h>
63417 main ()
63419 frexpf(0, 0);
63421 return 0;
63423 _ACEOF
63424 if ac_fn_cxx_try_compile "$LINENO"; then :
63425 glibcxx_cv_func_frexpf_use=yes
63426 else
63427 glibcxx_cv_func_frexpf_use=no
63429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63430 ac_ext=c
63431 ac_cpp='$CPP $CPPFLAGS'
63432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
63441 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
63443 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
63444 for ac_func in frexpf
63445 do :
63446 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
63447 if test "x$ac_cv_func_frexpf" = xyes; then :
63448 cat >>confdefs.h <<_ACEOF
63449 #define HAVE_FREXPF 1
63450 _ACEOF
63453 done
63455 else
63457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
63458 $as_echo_n "checking for _frexpf declaration... " >&6; }
63459 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
63460 if ${glibcxx_cv_func__frexpf_use+:} false; then :
63461 $as_echo_n "(cached) " >&6
63462 else
63465 ac_ext=cpp
63466 ac_cpp='$CXXCPP $CPPFLAGS'
63467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63472 /* end confdefs.h. */
63473 #include <math.h>
63475 main ()
63477 _frexpf(0, 0);
63479 return 0;
63481 _ACEOF
63482 if ac_fn_cxx_try_compile "$LINENO"; then :
63483 glibcxx_cv_func__frexpf_use=yes
63484 else
63485 glibcxx_cv_func__frexpf_use=no
63487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63488 ac_ext=c
63489 ac_cpp='$CPP $CPPFLAGS'
63490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
63499 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
63501 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
63502 for ac_func in _frexpf
63503 do :
63504 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
63505 if test "x$ac_cv_func__frexpf" = xyes; then :
63506 cat >>confdefs.h <<_ACEOF
63507 #define HAVE__FREXPF 1
63508 _ACEOF
63511 done
63520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
63521 $as_echo_n "checking for hypotf declaration... " >&6; }
63522 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
63523 if ${glibcxx_cv_func_hypotf_use+:} false; then :
63524 $as_echo_n "(cached) " >&6
63525 else
63528 ac_ext=cpp
63529 ac_cpp='$CXXCPP $CPPFLAGS'
63530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63535 /* end confdefs.h. */
63536 #include <math.h>
63538 main ()
63540 hypotf(0, 0);
63542 return 0;
63544 _ACEOF
63545 if ac_fn_cxx_try_compile "$LINENO"; then :
63546 glibcxx_cv_func_hypotf_use=yes
63547 else
63548 glibcxx_cv_func_hypotf_use=no
63550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63551 ac_ext=c
63552 ac_cpp='$CPP $CPPFLAGS'
63553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
63562 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
63564 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
63565 for ac_func in hypotf
63566 do :
63567 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
63568 if test "x$ac_cv_func_hypotf" = xyes; then :
63569 cat >>confdefs.h <<_ACEOF
63570 #define HAVE_HYPOTF 1
63571 _ACEOF
63574 done
63576 else
63578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
63579 $as_echo_n "checking for _hypotf declaration... " >&6; }
63580 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
63581 if ${glibcxx_cv_func__hypotf_use+:} false; then :
63582 $as_echo_n "(cached) " >&6
63583 else
63586 ac_ext=cpp
63587 ac_cpp='$CXXCPP $CPPFLAGS'
63588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63593 /* end confdefs.h. */
63594 #include <math.h>
63596 main ()
63598 _hypotf(0, 0);
63600 return 0;
63602 _ACEOF
63603 if ac_fn_cxx_try_compile "$LINENO"; then :
63604 glibcxx_cv_func__hypotf_use=yes
63605 else
63606 glibcxx_cv_func__hypotf_use=no
63608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63609 ac_ext=c
63610 ac_cpp='$CPP $CPPFLAGS'
63611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
63620 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
63622 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
63623 for ac_func in _hypotf
63624 do :
63625 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
63626 if test "x$ac_cv_func__hypotf" = xyes; then :
63627 cat >>confdefs.h <<_ACEOF
63628 #define HAVE__HYPOTF 1
63629 _ACEOF
63632 done
63641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
63642 $as_echo_n "checking for ldexpf declaration... " >&6; }
63643 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
63644 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
63645 $as_echo_n "(cached) " >&6
63646 else
63649 ac_ext=cpp
63650 ac_cpp='$CXXCPP $CPPFLAGS'
63651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63656 /* end confdefs.h. */
63657 #include <math.h>
63659 main ()
63661 ldexpf(0, 0);
63663 return 0;
63665 _ACEOF
63666 if ac_fn_cxx_try_compile "$LINENO"; then :
63667 glibcxx_cv_func_ldexpf_use=yes
63668 else
63669 glibcxx_cv_func_ldexpf_use=no
63671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63672 ac_ext=c
63673 ac_cpp='$CPP $CPPFLAGS'
63674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
63683 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
63685 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
63686 for ac_func in ldexpf
63687 do :
63688 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
63689 if test "x$ac_cv_func_ldexpf" = xyes; then :
63690 cat >>confdefs.h <<_ACEOF
63691 #define HAVE_LDEXPF 1
63692 _ACEOF
63695 done
63697 else
63699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
63700 $as_echo_n "checking for _ldexpf declaration... " >&6; }
63701 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
63702 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
63703 $as_echo_n "(cached) " >&6
63704 else
63707 ac_ext=cpp
63708 ac_cpp='$CXXCPP $CPPFLAGS'
63709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63714 /* end confdefs.h. */
63715 #include <math.h>
63717 main ()
63719 _ldexpf(0, 0);
63721 return 0;
63723 _ACEOF
63724 if ac_fn_cxx_try_compile "$LINENO"; then :
63725 glibcxx_cv_func__ldexpf_use=yes
63726 else
63727 glibcxx_cv_func__ldexpf_use=no
63729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63730 ac_ext=c
63731 ac_cpp='$CPP $CPPFLAGS'
63732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
63741 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
63743 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
63744 for ac_func in _ldexpf
63745 do :
63746 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
63747 if test "x$ac_cv_func__ldexpf" = xyes; then :
63748 cat >>confdefs.h <<_ACEOF
63749 #define HAVE__LDEXPF 1
63750 _ACEOF
63753 done
63762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
63763 $as_echo_n "checking for logf declaration... " >&6; }
63764 if test x${glibcxx_cv_func_logf_use+set} != xset; then
63765 if ${glibcxx_cv_func_logf_use+:} false; then :
63766 $as_echo_n "(cached) " >&6
63767 else
63770 ac_ext=cpp
63771 ac_cpp='$CXXCPP $CPPFLAGS'
63772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63777 /* end confdefs.h. */
63778 #include <math.h>
63779 #ifdef HAVE_IEEEFP_H
63780 #include <ieeefp.h>
63781 #endif
63784 main ()
63786 logf(0);
63788 return 0;
63790 _ACEOF
63791 if ac_fn_cxx_try_compile "$LINENO"; then :
63792 glibcxx_cv_func_logf_use=yes
63793 else
63794 glibcxx_cv_func_logf_use=no
63796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63797 ac_ext=c
63798 ac_cpp='$CPP $CPPFLAGS'
63799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
63808 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
63810 if test x$glibcxx_cv_func_logf_use = x"yes"; then
63811 for ac_func in logf
63812 do :
63813 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
63814 if test "x$ac_cv_func_logf" = xyes; then :
63815 cat >>confdefs.h <<_ACEOF
63816 #define HAVE_LOGF 1
63817 _ACEOF
63820 done
63822 else
63824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
63825 $as_echo_n "checking for _logf declaration... " >&6; }
63826 if test x${glibcxx_cv_func__logf_use+set} != xset; then
63827 if ${glibcxx_cv_func__logf_use+:} false; then :
63828 $as_echo_n "(cached) " >&6
63829 else
63832 ac_ext=cpp
63833 ac_cpp='$CXXCPP $CPPFLAGS'
63834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63839 /* end confdefs.h. */
63840 #include <math.h>
63841 #ifdef HAVE_IEEEFP_H
63842 #include <ieeefp.h>
63843 #endif
63846 main ()
63848 _logf(0);
63850 return 0;
63852 _ACEOF
63853 if ac_fn_cxx_try_compile "$LINENO"; then :
63854 glibcxx_cv_func__logf_use=yes
63855 else
63856 glibcxx_cv_func__logf_use=no
63858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63859 ac_ext=c
63860 ac_cpp='$CPP $CPPFLAGS'
63861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
63870 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
63872 if test x$glibcxx_cv_func__logf_use = x"yes"; then
63873 for ac_func in _logf
63874 do :
63875 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
63876 if test "x$ac_cv_func__logf" = xyes; then :
63877 cat >>confdefs.h <<_ACEOF
63878 #define HAVE__LOGF 1
63879 _ACEOF
63882 done
63891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
63892 $as_echo_n "checking for log10f declaration... " >&6; }
63893 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
63894 if ${glibcxx_cv_func_log10f_use+:} false; then :
63895 $as_echo_n "(cached) " >&6
63896 else
63899 ac_ext=cpp
63900 ac_cpp='$CXXCPP $CPPFLAGS'
63901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63906 /* end confdefs.h. */
63907 #include <math.h>
63908 #ifdef HAVE_IEEEFP_H
63909 #include <ieeefp.h>
63910 #endif
63913 main ()
63915 log10f(0);
63917 return 0;
63919 _ACEOF
63920 if ac_fn_cxx_try_compile "$LINENO"; then :
63921 glibcxx_cv_func_log10f_use=yes
63922 else
63923 glibcxx_cv_func_log10f_use=no
63925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63926 ac_ext=c
63927 ac_cpp='$CPP $CPPFLAGS'
63928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
63937 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
63939 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
63940 for ac_func in log10f
63941 do :
63942 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
63943 if test "x$ac_cv_func_log10f" = xyes; then :
63944 cat >>confdefs.h <<_ACEOF
63945 #define HAVE_LOG10F 1
63946 _ACEOF
63949 done
63951 else
63953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
63954 $as_echo_n "checking for _log10f declaration... " >&6; }
63955 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
63956 if ${glibcxx_cv_func__log10f_use+:} false; then :
63957 $as_echo_n "(cached) " >&6
63958 else
63961 ac_ext=cpp
63962 ac_cpp='$CXXCPP $CPPFLAGS'
63963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63968 /* end confdefs.h. */
63969 #include <math.h>
63970 #ifdef HAVE_IEEEFP_H
63971 #include <ieeefp.h>
63972 #endif
63975 main ()
63977 _log10f(0);
63979 return 0;
63981 _ACEOF
63982 if ac_fn_cxx_try_compile "$LINENO"; then :
63983 glibcxx_cv_func__log10f_use=yes
63984 else
63985 glibcxx_cv_func__log10f_use=no
63987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63988 ac_ext=c
63989 ac_cpp='$CPP $CPPFLAGS'
63990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
63999 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
64001 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
64002 for ac_func in _log10f
64003 do :
64004 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
64005 if test "x$ac_cv_func__log10f" = xyes; then :
64006 cat >>confdefs.h <<_ACEOF
64007 #define HAVE__LOG10F 1
64008 _ACEOF
64011 done
64020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
64021 $as_echo_n "checking for modff declaration... " >&6; }
64022 if test x${glibcxx_cv_func_modff_use+set} != xset; then
64023 if ${glibcxx_cv_func_modff_use+:} false; then :
64024 $as_echo_n "(cached) " >&6
64025 else
64028 ac_ext=cpp
64029 ac_cpp='$CXXCPP $CPPFLAGS'
64030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64035 /* end confdefs.h. */
64036 #include <math.h>
64038 main ()
64040 modff(0, 0);
64042 return 0;
64044 _ACEOF
64045 if ac_fn_cxx_try_compile "$LINENO"; then :
64046 glibcxx_cv_func_modff_use=yes
64047 else
64048 glibcxx_cv_func_modff_use=no
64050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64051 ac_ext=c
64052 ac_cpp='$CPP $CPPFLAGS'
64053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
64062 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
64064 if test x$glibcxx_cv_func_modff_use = x"yes"; then
64065 for ac_func in modff
64066 do :
64067 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
64068 if test "x$ac_cv_func_modff" = xyes; then :
64069 cat >>confdefs.h <<_ACEOF
64070 #define HAVE_MODFF 1
64071 _ACEOF
64074 done
64076 else
64078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
64079 $as_echo_n "checking for _modff declaration... " >&6; }
64080 if test x${glibcxx_cv_func__modff_use+set} != xset; then
64081 if ${glibcxx_cv_func__modff_use+:} false; then :
64082 $as_echo_n "(cached) " >&6
64083 else
64086 ac_ext=cpp
64087 ac_cpp='$CXXCPP $CPPFLAGS'
64088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64093 /* end confdefs.h. */
64094 #include <math.h>
64096 main ()
64098 _modff(0, 0);
64100 return 0;
64102 _ACEOF
64103 if ac_fn_cxx_try_compile "$LINENO"; then :
64104 glibcxx_cv_func__modff_use=yes
64105 else
64106 glibcxx_cv_func__modff_use=no
64108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64109 ac_ext=c
64110 ac_cpp='$CPP $CPPFLAGS'
64111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
64120 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
64122 if test x$glibcxx_cv_func__modff_use = x"yes"; then
64123 for ac_func in _modff
64124 do :
64125 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
64126 if test "x$ac_cv_func__modff" = xyes; then :
64127 cat >>confdefs.h <<_ACEOF
64128 #define HAVE__MODFF 1
64129 _ACEOF
64132 done
64141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
64142 $as_echo_n "checking for modf declaration... " >&6; }
64143 if test x${glibcxx_cv_func_modf_use+set} != xset; then
64144 if ${glibcxx_cv_func_modf_use+:} false; then :
64145 $as_echo_n "(cached) " >&6
64146 else
64149 ac_ext=cpp
64150 ac_cpp='$CXXCPP $CPPFLAGS'
64151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64156 /* end confdefs.h. */
64157 #include <math.h>
64159 main ()
64161 modf(0, 0);
64163 return 0;
64165 _ACEOF
64166 if ac_fn_cxx_try_compile "$LINENO"; then :
64167 glibcxx_cv_func_modf_use=yes
64168 else
64169 glibcxx_cv_func_modf_use=no
64171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64172 ac_ext=c
64173 ac_cpp='$CPP $CPPFLAGS'
64174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
64183 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
64185 if test x$glibcxx_cv_func_modf_use = x"yes"; then
64186 for ac_func in modf
64187 do :
64188 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
64189 if test "x$ac_cv_func_modf" = xyes; then :
64190 cat >>confdefs.h <<_ACEOF
64191 #define HAVE_MODF 1
64192 _ACEOF
64195 done
64197 else
64199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
64200 $as_echo_n "checking for _modf declaration... " >&6; }
64201 if test x${glibcxx_cv_func__modf_use+set} != xset; then
64202 if ${glibcxx_cv_func__modf_use+:} false; then :
64203 $as_echo_n "(cached) " >&6
64204 else
64207 ac_ext=cpp
64208 ac_cpp='$CXXCPP $CPPFLAGS'
64209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64214 /* end confdefs.h. */
64215 #include <math.h>
64217 main ()
64219 _modf(0, 0);
64221 return 0;
64223 _ACEOF
64224 if ac_fn_cxx_try_compile "$LINENO"; then :
64225 glibcxx_cv_func__modf_use=yes
64226 else
64227 glibcxx_cv_func__modf_use=no
64229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64230 ac_ext=c
64231 ac_cpp='$CPP $CPPFLAGS'
64232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
64241 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
64243 if test x$glibcxx_cv_func__modf_use = x"yes"; then
64244 for ac_func in _modf
64245 do :
64246 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
64247 if test "x$ac_cv_func__modf" = xyes; then :
64248 cat >>confdefs.h <<_ACEOF
64249 #define HAVE__MODF 1
64250 _ACEOF
64253 done
64262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
64263 $as_echo_n "checking for powf declaration... " >&6; }
64264 if test x${glibcxx_cv_func_powf_use+set} != xset; then
64265 if ${glibcxx_cv_func_powf_use+:} false; then :
64266 $as_echo_n "(cached) " >&6
64267 else
64270 ac_ext=cpp
64271 ac_cpp='$CXXCPP $CPPFLAGS'
64272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64277 /* end confdefs.h. */
64278 #include <math.h>
64280 main ()
64282 powf(0, 0);
64284 return 0;
64286 _ACEOF
64287 if ac_fn_cxx_try_compile "$LINENO"; then :
64288 glibcxx_cv_func_powf_use=yes
64289 else
64290 glibcxx_cv_func_powf_use=no
64292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64293 ac_ext=c
64294 ac_cpp='$CPP $CPPFLAGS'
64295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
64304 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
64306 if test x$glibcxx_cv_func_powf_use = x"yes"; then
64307 for ac_func in powf
64308 do :
64309 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
64310 if test "x$ac_cv_func_powf" = xyes; then :
64311 cat >>confdefs.h <<_ACEOF
64312 #define HAVE_POWF 1
64313 _ACEOF
64316 done
64318 else
64320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
64321 $as_echo_n "checking for _powf declaration... " >&6; }
64322 if test x${glibcxx_cv_func__powf_use+set} != xset; then
64323 if ${glibcxx_cv_func__powf_use+:} false; then :
64324 $as_echo_n "(cached) " >&6
64325 else
64328 ac_ext=cpp
64329 ac_cpp='$CXXCPP $CPPFLAGS'
64330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64335 /* end confdefs.h. */
64336 #include <math.h>
64338 main ()
64340 _powf(0, 0);
64342 return 0;
64344 _ACEOF
64345 if ac_fn_cxx_try_compile "$LINENO"; then :
64346 glibcxx_cv_func__powf_use=yes
64347 else
64348 glibcxx_cv_func__powf_use=no
64350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64351 ac_ext=c
64352 ac_cpp='$CPP $CPPFLAGS'
64353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
64362 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
64364 if test x$glibcxx_cv_func__powf_use = x"yes"; then
64365 for ac_func in _powf
64366 do :
64367 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
64368 if test "x$ac_cv_func__powf" = xyes; then :
64369 cat >>confdefs.h <<_ACEOF
64370 #define HAVE__POWF 1
64371 _ACEOF
64374 done
64383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
64384 $as_echo_n "checking for sqrtf declaration... " >&6; }
64385 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
64386 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
64387 $as_echo_n "(cached) " >&6
64388 else
64391 ac_ext=cpp
64392 ac_cpp='$CXXCPP $CPPFLAGS'
64393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64398 /* end confdefs.h. */
64399 #include <math.h>
64400 #ifdef HAVE_IEEEFP_H
64401 #include <ieeefp.h>
64402 #endif
64405 main ()
64407 sqrtf(0);
64409 return 0;
64411 _ACEOF
64412 if ac_fn_cxx_try_compile "$LINENO"; then :
64413 glibcxx_cv_func_sqrtf_use=yes
64414 else
64415 glibcxx_cv_func_sqrtf_use=no
64417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64418 ac_ext=c
64419 ac_cpp='$CPP $CPPFLAGS'
64420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
64429 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
64431 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
64432 for ac_func in sqrtf
64433 do :
64434 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
64435 if test "x$ac_cv_func_sqrtf" = xyes; then :
64436 cat >>confdefs.h <<_ACEOF
64437 #define HAVE_SQRTF 1
64438 _ACEOF
64441 done
64443 else
64445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
64446 $as_echo_n "checking for _sqrtf declaration... " >&6; }
64447 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
64448 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
64449 $as_echo_n "(cached) " >&6
64450 else
64453 ac_ext=cpp
64454 ac_cpp='$CXXCPP $CPPFLAGS'
64455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64460 /* end confdefs.h. */
64461 #include <math.h>
64462 #ifdef HAVE_IEEEFP_H
64463 #include <ieeefp.h>
64464 #endif
64467 main ()
64469 _sqrtf(0);
64471 return 0;
64473 _ACEOF
64474 if ac_fn_cxx_try_compile "$LINENO"; then :
64475 glibcxx_cv_func__sqrtf_use=yes
64476 else
64477 glibcxx_cv_func__sqrtf_use=no
64479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64480 ac_ext=c
64481 ac_cpp='$CPP $CPPFLAGS'
64482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
64491 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
64493 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
64494 for ac_func in _sqrtf
64495 do :
64496 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
64497 if test "x$ac_cv_func__sqrtf" = xyes; then :
64498 cat >>confdefs.h <<_ACEOF
64499 #define HAVE__SQRTF 1
64500 _ACEOF
64503 done
64512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
64513 $as_echo_n "checking for sincosf declaration... " >&6; }
64514 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
64515 if ${glibcxx_cv_func_sincosf_use+:} false; then :
64516 $as_echo_n "(cached) " >&6
64517 else
64520 ac_ext=cpp
64521 ac_cpp='$CXXCPP $CPPFLAGS'
64522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64527 /* end confdefs.h. */
64528 #include <math.h>
64530 main ()
64532 sincosf(0, 0, 0);
64534 return 0;
64536 _ACEOF
64537 if ac_fn_cxx_try_compile "$LINENO"; then :
64538 glibcxx_cv_func_sincosf_use=yes
64539 else
64540 glibcxx_cv_func_sincosf_use=no
64542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64543 ac_ext=c
64544 ac_cpp='$CPP $CPPFLAGS'
64545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
64554 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
64556 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
64557 for ac_func in sincosf
64558 do :
64559 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
64560 if test "x$ac_cv_func_sincosf" = xyes; then :
64561 cat >>confdefs.h <<_ACEOF
64562 #define HAVE_SINCOSF 1
64563 _ACEOF
64566 done
64568 else
64570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
64571 $as_echo_n "checking for _sincosf declaration... " >&6; }
64572 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
64573 if ${glibcxx_cv_func__sincosf_use+:} false; then :
64574 $as_echo_n "(cached) " >&6
64575 else
64578 ac_ext=cpp
64579 ac_cpp='$CXXCPP $CPPFLAGS'
64580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64585 /* end confdefs.h. */
64586 #include <math.h>
64588 main ()
64590 _sincosf(0, 0, 0);
64592 return 0;
64594 _ACEOF
64595 if ac_fn_cxx_try_compile "$LINENO"; then :
64596 glibcxx_cv_func__sincosf_use=yes
64597 else
64598 glibcxx_cv_func__sincosf_use=no
64600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64601 ac_ext=c
64602 ac_cpp='$CPP $CPPFLAGS'
64603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
64612 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
64614 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
64615 for ac_func in _sincosf
64616 do :
64617 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
64618 if test "x$ac_cv_func__sincosf" = xyes; then :
64619 cat >>confdefs.h <<_ACEOF
64620 #define HAVE__SINCOSF 1
64621 _ACEOF
64624 done
64633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
64634 $as_echo_n "checking for finitef declaration... " >&6; }
64635 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
64636 if ${glibcxx_cv_func_finitef_use+:} false; then :
64637 $as_echo_n "(cached) " >&6
64638 else
64641 ac_ext=cpp
64642 ac_cpp='$CXXCPP $CPPFLAGS'
64643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64648 /* end confdefs.h. */
64649 #include <math.h>
64650 #ifdef HAVE_IEEEFP_H
64651 #include <ieeefp.h>
64652 #endif
64655 main ()
64657 finitef(0);
64659 return 0;
64661 _ACEOF
64662 if ac_fn_cxx_try_compile "$LINENO"; then :
64663 glibcxx_cv_func_finitef_use=yes
64664 else
64665 glibcxx_cv_func_finitef_use=no
64667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64668 ac_ext=c
64669 ac_cpp='$CPP $CPPFLAGS'
64670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
64679 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
64681 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
64682 for ac_func in finitef
64683 do :
64684 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
64685 if test "x$ac_cv_func_finitef" = xyes; then :
64686 cat >>confdefs.h <<_ACEOF
64687 #define HAVE_FINITEF 1
64688 _ACEOF
64691 done
64693 else
64695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
64696 $as_echo_n "checking for _finitef declaration... " >&6; }
64697 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
64698 if ${glibcxx_cv_func__finitef_use+:} false; then :
64699 $as_echo_n "(cached) " >&6
64700 else
64703 ac_ext=cpp
64704 ac_cpp='$CXXCPP $CPPFLAGS'
64705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64710 /* end confdefs.h. */
64711 #include <math.h>
64712 #ifdef HAVE_IEEEFP_H
64713 #include <ieeefp.h>
64714 #endif
64717 main ()
64719 _finitef(0);
64721 return 0;
64723 _ACEOF
64724 if ac_fn_cxx_try_compile "$LINENO"; then :
64725 glibcxx_cv_func__finitef_use=yes
64726 else
64727 glibcxx_cv_func__finitef_use=no
64729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64730 ac_ext=c
64731 ac_cpp='$CPP $CPPFLAGS'
64732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
64741 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
64743 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
64744 for ac_func in _finitef
64745 do :
64746 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
64747 if test "x$ac_cv_func__finitef" = xyes; then :
64748 cat >>confdefs.h <<_ACEOF
64749 #define HAVE__FINITEF 1
64750 _ACEOF
64753 done
64762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
64763 $as_echo_n "checking for long double trig functions... " >&6; }
64764 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
64765 $as_echo_n "(cached) " >&6
64766 else
64769 ac_ext=cpp
64770 ac_cpp='$CXXCPP $CPPFLAGS'
64771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64776 /* end confdefs.h. */
64777 #include <math.h>
64779 main ()
64781 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
64783 return 0;
64785 _ACEOF
64786 if ac_fn_cxx_try_compile "$LINENO"; then :
64787 glibcxx_cv_func_long_double_trig_use=yes
64788 else
64789 glibcxx_cv_func_long_double_trig_use=no
64791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64792 ac_ext=c
64793 ac_cpp='$CPP $CPPFLAGS'
64794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
64801 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
64802 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
64803 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
64804 do :
64805 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64806 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64807 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64808 cat >>confdefs.h <<_ACEOF
64809 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64810 _ACEOF
64813 done
64815 else
64816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
64817 $as_echo_n "checking for _long double trig functions... " >&6; }
64818 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
64819 $as_echo_n "(cached) " >&6
64820 else
64823 ac_ext=cpp
64824 ac_cpp='$CXXCPP $CPPFLAGS'
64825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64830 /* end confdefs.h. */
64831 #include <math.h>
64833 main ()
64835 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
64837 return 0;
64839 _ACEOF
64840 if ac_fn_cxx_try_compile "$LINENO"; then :
64841 glibcxx_cv_func__long_double_trig_use=yes
64842 else
64843 glibcxx_cv_func__long_double_trig_use=no
64845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64846 ac_ext=c
64847 ac_cpp='$CPP $CPPFLAGS'
64848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
64855 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
64856 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
64857 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
64858 do :
64859 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64860 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64861 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64862 cat >>confdefs.h <<_ACEOF
64863 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64864 _ACEOF
64867 done
64876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
64877 $as_echo_n "checking for long double round functions... " >&6; }
64878 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
64879 $as_echo_n "(cached) " >&6
64880 else
64883 ac_ext=cpp
64884 ac_cpp='$CXXCPP $CPPFLAGS'
64885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64890 /* end confdefs.h. */
64891 #include <math.h>
64893 main ()
64895 ceill (0); floorl (0);
64897 return 0;
64899 _ACEOF
64900 if ac_fn_cxx_try_compile "$LINENO"; then :
64901 glibcxx_cv_func_long_double_round_use=yes
64902 else
64903 glibcxx_cv_func_long_double_round_use=no
64905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64906 ac_ext=c
64907 ac_cpp='$CPP $CPPFLAGS'
64908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
64915 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
64916 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
64917 for ac_func in ceill floorl
64918 do :
64919 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64920 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64921 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64922 cat >>confdefs.h <<_ACEOF
64923 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64924 _ACEOF
64927 done
64929 else
64930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
64931 $as_echo_n "checking for _long double round functions... " >&6; }
64932 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
64933 $as_echo_n "(cached) " >&6
64934 else
64937 ac_ext=cpp
64938 ac_cpp='$CXXCPP $CPPFLAGS'
64939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64944 /* end confdefs.h. */
64945 #include <math.h>
64947 main ()
64949 _ceill (0); _floorl (0);
64951 return 0;
64953 _ACEOF
64954 if ac_fn_cxx_try_compile "$LINENO"; then :
64955 glibcxx_cv_func__long_double_round_use=yes
64956 else
64957 glibcxx_cv_func__long_double_round_use=no
64959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64960 ac_ext=c
64961 ac_cpp='$CPP $CPPFLAGS'
64962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
64969 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
64970 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
64971 for ac_func in _ceill _floorl
64972 do :
64973 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64974 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64975 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64976 cat >>confdefs.h <<_ACEOF
64977 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64978 _ACEOF
64981 done
64991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
64992 $as_echo_n "checking for isnanl declaration... " >&6; }
64993 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
64994 if ${glibcxx_cv_func_isnanl_use+:} false; then :
64995 $as_echo_n "(cached) " >&6
64996 else
64999 ac_ext=cpp
65000 ac_cpp='$CXXCPP $CPPFLAGS'
65001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65006 /* end confdefs.h. */
65007 #include <math.h>
65008 #ifdef HAVE_IEEEFP_H
65009 #include <ieeefp.h>
65010 #endif
65013 main ()
65015 isnanl(0);
65017 return 0;
65019 _ACEOF
65020 if ac_fn_cxx_try_compile "$LINENO"; then :
65021 glibcxx_cv_func_isnanl_use=yes
65022 else
65023 glibcxx_cv_func_isnanl_use=no
65025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65026 ac_ext=c
65027 ac_cpp='$CPP $CPPFLAGS'
65028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
65037 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
65039 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
65040 for ac_func in isnanl
65041 do :
65042 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
65043 if test "x$ac_cv_func_isnanl" = xyes; then :
65044 cat >>confdefs.h <<_ACEOF
65045 #define HAVE_ISNANL 1
65046 _ACEOF
65049 done
65051 else
65053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
65054 $as_echo_n "checking for _isnanl declaration... " >&6; }
65055 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
65056 if ${glibcxx_cv_func__isnanl_use+:} false; then :
65057 $as_echo_n "(cached) " >&6
65058 else
65061 ac_ext=cpp
65062 ac_cpp='$CXXCPP $CPPFLAGS'
65063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65068 /* end confdefs.h. */
65069 #include <math.h>
65070 #ifdef HAVE_IEEEFP_H
65071 #include <ieeefp.h>
65072 #endif
65075 main ()
65077 _isnanl(0);
65079 return 0;
65081 _ACEOF
65082 if ac_fn_cxx_try_compile "$LINENO"; then :
65083 glibcxx_cv_func__isnanl_use=yes
65084 else
65085 glibcxx_cv_func__isnanl_use=no
65087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65088 ac_ext=c
65089 ac_cpp='$CPP $CPPFLAGS'
65090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
65099 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
65101 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
65102 for ac_func in _isnanl
65103 do :
65104 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
65105 if test "x$ac_cv_func__isnanl" = xyes; then :
65106 cat >>confdefs.h <<_ACEOF
65107 #define HAVE__ISNANL 1
65108 _ACEOF
65111 done
65120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
65121 $as_echo_n "checking for isinfl declaration... " >&6; }
65122 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
65123 if ${glibcxx_cv_func_isinfl_use+:} false; then :
65124 $as_echo_n "(cached) " >&6
65125 else
65128 ac_ext=cpp
65129 ac_cpp='$CXXCPP $CPPFLAGS'
65130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65135 /* end confdefs.h. */
65136 #include <math.h>
65137 #ifdef HAVE_IEEEFP_H
65138 #include <ieeefp.h>
65139 #endif
65142 main ()
65144 isinfl(0);
65146 return 0;
65148 _ACEOF
65149 if ac_fn_cxx_try_compile "$LINENO"; then :
65150 glibcxx_cv_func_isinfl_use=yes
65151 else
65152 glibcxx_cv_func_isinfl_use=no
65154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65155 ac_ext=c
65156 ac_cpp='$CPP $CPPFLAGS'
65157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
65166 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
65168 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
65169 for ac_func in isinfl
65170 do :
65171 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
65172 if test "x$ac_cv_func_isinfl" = xyes; then :
65173 cat >>confdefs.h <<_ACEOF
65174 #define HAVE_ISINFL 1
65175 _ACEOF
65178 done
65180 else
65182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
65183 $as_echo_n "checking for _isinfl declaration... " >&6; }
65184 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
65185 if ${glibcxx_cv_func__isinfl_use+:} false; then :
65186 $as_echo_n "(cached) " >&6
65187 else
65190 ac_ext=cpp
65191 ac_cpp='$CXXCPP $CPPFLAGS'
65192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65197 /* end confdefs.h. */
65198 #include <math.h>
65199 #ifdef HAVE_IEEEFP_H
65200 #include <ieeefp.h>
65201 #endif
65204 main ()
65206 _isinfl(0);
65208 return 0;
65210 _ACEOF
65211 if ac_fn_cxx_try_compile "$LINENO"; then :
65212 glibcxx_cv_func__isinfl_use=yes
65213 else
65214 glibcxx_cv_func__isinfl_use=no
65216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65217 ac_ext=c
65218 ac_cpp='$CPP $CPPFLAGS'
65219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
65228 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
65230 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
65231 for ac_func in _isinfl
65232 do :
65233 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
65234 if test "x$ac_cv_func__isinfl" = xyes; then :
65235 cat >>confdefs.h <<_ACEOF
65236 #define HAVE__ISINFL 1
65237 _ACEOF
65240 done
65249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
65250 $as_echo_n "checking for atan2l declaration... " >&6; }
65251 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
65252 if ${glibcxx_cv_func_atan2l_use+:} false; then :
65253 $as_echo_n "(cached) " >&6
65254 else
65257 ac_ext=cpp
65258 ac_cpp='$CXXCPP $CPPFLAGS'
65259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65264 /* end confdefs.h. */
65265 #include <math.h>
65267 main ()
65269 atan2l(0, 0);
65271 return 0;
65273 _ACEOF
65274 if ac_fn_cxx_try_compile "$LINENO"; then :
65275 glibcxx_cv_func_atan2l_use=yes
65276 else
65277 glibcxx_cv_func_atan2l_use=no
65279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65280 ac_ext=c
65281 ac_cpp='$CPP $CPPFLAGS'
65282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
65291 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
65293 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
65294 for ac_func in atan2l
65295 do :
65296 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
65297 if test "x$ac_cv_func_atan2l" = xyes; then :
65298 cat >>confdefs.h <<_ACEOF
65299 #define HAVE_ATAN2L 1
65300 _ACEOF
65303 done
65305 else
65307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
65308 $as_echo_n "checking for _atan2l declaration... " >&6; }
65309 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
65310 if ${glibcxx_cv_func__atan2l_use+:} false; then :
65311 $as_echo_n "(cached) " >&6
65312 else
65315 ac_ext=cpp
65316 ac_cpp='$CXXCPP $CPPFLAGS'
65317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65322 /* end confdefs.h. */
65323 #include <math.h>
65325 main ()
65327 _atan2l(0, 0);
65329 return 0;
65331 _ACEOF
65332 if ac_fn_cxx_try_compile "$LINENO"; then :
65333 glibcxx_cv_func__atan2l_use=yes
65334 else
65335 glibcxx_cv_func__atan2l_use=no
65337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65338 ac_ext=c
65339 ac_cpp='$CPP $CPPFLAGS'
65340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
65349 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
65351 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
65352 for ac_func in _atan2l
65353 do :
65354 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
65355 if test "x$ac_cv_func__atan2l" = xyes; then :
65356 cat >>confdefs.h <<_ACEOF
65357 #define HAVE__ATAN2L 1
65358 _ACEOF
65361 done
65370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
65371 $as_echo_n "checking for expl declaration... " >&6; }
65372 if test x${glibcxx_cv_func_expl_use+set} != xset; then
65373 if ${glibcxx_cv_func_expl_use+:} false; then :
65374 $as_echo_n "(cached) " >&6
65375 else
65378 ac_ext=cpp
65379 ac_cpp='$CXXCPP $CPPFLAGS'
65380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65385 /* end confdefs.h. */
65386 #include <math.h>
65387 #ifdef HAVE_IEEEFP_H
65388 #include <ieeefp.h>
65389 #endif
65392 main ()
65394 expl(0);
65396 return 0;
65398 _ACEOF
65399 if ac_fn_cxx_try_compile "$LINENO"; then :
65400 glibcxx_cv_func_expl_use=yes
65401 else
65402 glibcxx_cv_func_expl_use=no
65404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65405 ac_ext=c
65406 ac_cpp='$CPP $CPPFLAGS'
65407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
65416 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
65418 if test x$glibcxx_cv_func_expl_use = x"yes"; then
65419 for ac_func in expl
65420 do :
65421 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
65422 if test "x$ac_cv_func_expl" = xyes; then :
65423 cat >>confdefs.h <<_ACEOF
65424 #define HAVE_EXPL 1
65425 _ACEOF
65428 done
65430 else
65432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
65433 $as_echo_n "checking for _expl declaration... " >&6; }
65434 if test x${glibcxx_cv_func__expl_use+set} != xset; then
65435 if ${glibcxx_cv_func__expl_use+:} false; then :
65436 $as_echo_n "(cached) " >&6
65437 else
65440 ac_ext=cpp
65441 ac_cpp='$CXXCPP $CPPFLAGS'
65442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65447 /* end confdefs.h. */
65448 #include <math.h>
65449 #ifdef HAVE_IEEEFP_H
65450 #include <ieeefp.h>
65451 #endif
65454 main ()
65456 _expl(0);
65458 return 0;
65460 _ACEOF
65461 if ac_fn_cxx_try_compile "$LINENO"; then :
65462 glibcxx_cv_func__expl_use=yes
65463 else
65464 glibcxx_cv_func__expl_use=no
65466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65467 ac_ext=c
65468 ac_cpp='$CPP $CPPFLAGS'
65469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
65478 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
65480 if test x$glibcxx_cv_func__expl_use = x"yes"; then
65481 for ac_func in _expl
65482 do :
65483 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
65484 if test "x$ac_cv_func__expl" = xyes; then :
65485 cat >>confdefs.h <<_ACEOF
65486 #define HAVE__EXPL 1
65487 _ACEOF
65490 done
65499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
65500 $as_echo_n "checking for fabsl declaration... " >&6; }
65501 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
65502 if ${glibcxx_cv_func_fabsl_use+:} false; then :
65503 $as_echo_n "(cached) " >&6
65504 else
65507 ac_ext=cpp
65508 ac_cpp='$CXXCPP $CPPFLAGS'
65509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65514 /* end confdefs.h. */
65515 #include <math.h>
65516 #ifdef HAVE_IEEEFP_H
65517 #include <ieeefp.h>
65518 #endif
65521 main ()
65523 fabsl(0);
65525 return 0;
65527 _ACEOF
65528 if ac_fn_cxx_try_compile "$LINENO"; then :
65529 glibcxx_cv_func_fabsl_use=yes
65530 else
65531 glibcxx_cv_func_fabsl_use=no
65533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65534 ac_ext=c
65535 ac_cpp='$CPP $CPPFLAGS'
65536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
65545 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
65547 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
65548 for ac_func in fabsl
65549 do :
65550 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
65551 if test "x$ac_cv_func_fabsl" = xyes; then :
65552 cat >>confdefs.h <<_ACEOF
65553 #define HAVE_FABSL 1
65554 _ACEOF
65557 done
65559 else
65561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
65562 $as_echo_n "checking for _fabsl declaration... " >&6; }
65563 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
65564 if ${glibcxx_cv_func__fabsl_use+:} false; then :
65565 $as_echo_n "(cached) " >&6
65566 else
65569 ac_ext=cpp
65570 ac_cpp='$CXXCPP $CPPFLAGS'
65571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65576 /* end confdefs.h. */
65577 #include <math.h>
65578 #ifdef HAVE_IEEEFP_H
65579 #include <ieeefp.h>
65580 #endif
65583 main ()
65585 _fabsl(0);
65587 return 0;
65589 _ACEOF
65590 if ac_fn_cxx_try_compile "$LINENO"; then :
65591 glibcxx_cv_func__fabsl_use=yes
65592 else
65593 glibcxx_cv_func__fabsl_use=no
65595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65596 ac_ext=c
65597 ac_cpp='$CPP $CPPFLAGS'
65598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
65607 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
65609 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
65610 for ac_func in _fabsl
65611 do :
65612 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
65613 if test "x$ac_cv_func__fabsl" = xyes; then :
65614 cat >>confdefs.h <<_ACEOF
65615 #define HAVE__FABSL 1
65616 _ACEOF
65619 done
65628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
65629 $as_echo_n "checking for fmodl declaration... " >&6; }
65630 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
65631 if ${glibcxx_cv_func_fmodl_use+:} false; then :
65632 $as_echo_n "(cached) " >&6
65633 else
65636 ac_ext=cpp
65637 ac_cpp='$CXXCPP $CPPFLAGS'
65638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65643 /* end confdefs.h. */
65644 #include <math.h>
65646 main ()
65648 fmodl(0, 0);
65650 return 0;
65652 _ACEOF
65653 if ac_fn_cxx_try_compile "$LINENO"; then :
65654 glibcxx_cv_func_fmodl_use=yes
65655 else
65656 glibcxx_cv_func_fmodl_use=no
65658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65659 ac_ext=c
65660 ac_cpp='$CPP $CPPFLAGS'
65661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
65670 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
65672 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
65673 for ac_func in fmodl
65674 do :
65675 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
65676 if test "x$ac_cv_func_fmodl" = xyes; then :
65677 cat >>confdefs.h <<_ACEOF
65678 #define HAVE_FMODL 1
65679 _ACEOF
65682 done
65684 else
65686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
65687 $as_echo_n "checking for _fmodl declaration... " >&6; }
65688 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
65689 if ${glibcxx_cv_func__fmodl_use+:} false; then :
65690 $as_echo_n "(cached) " >&6
65691 else
65694 ac_ext=cpp
65695 ac_cpp='$CXXCPP $CPPFLAGS'
65696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65701 /* end confdefs.h. */
65702 #include <math.h>
65704 main ()
65706 _fmodl(0, 0);
65708 return 0;
65710 _ACEOF
65711 if ac_fn_cxx_try_compile "$LINENO"; then :
65712 glibcxx_cv_func__fmodl_use=yes
65713 else
65714 glibcxx_cv_func__fmodl_use=no
65716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65717 ac_ext=c
65718 ac_cpp='$CPP $CPPFLAGS'
65719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
65728 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
65730 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
65731 for ac_func in _fmodl
65732 do :
65733 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
65734 if test "x$ac_cv_func__fmodl" = xyes; then :
65735 cat >>confdefs.h <<_ACEOF
65736 #define HAVE__FMODL 1
65737 _ACEOF
65740 done
65749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
65750 $as_echo_n "checking for frexpl declaration... " >&6; }
65751 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
65752 if ${glibcxx_cv_func_frexpl_use+:} false; then :
65753 $as_echo_n "(cached) " >&6
65754 else
65757 ac_ext=cpp
65758 ac_cpp='$CXXCPP $CPPFLAGS'
65759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65764 /* end confdefs.h. */
65765 #include <math.h>
65767 main ()
65769 frexpl(0, 0);
65771 return 0;
65773 _ACEOF
65774 if ac_fn_cxx_try_compile "$LINENO"; then :
65775 glibcxx_cv_func_frexpl_use=yes
65776 else
65777 glibcxx_cv_func_frexpl_use=no
65779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65780 ac_ext=c
65781 ac_cpp='$CPP $CPPFLAGS'
65782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
65791 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
65793 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
65794 for ac_func in frexpl
65795 do :
65796 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
65797 if test "x$ac_cv_func_frexpl" = xyes; then :
65798 cat >>confdefs.h <<_ACEOF
65799 #define HAVE_FREXPL 1
65800 _ACEOF
65803 done
65805 else
65807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
65808 $as_echo_n "checking for _frexpl declaration... " >&6; }
65809 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
65810 if ${glibcxx_cv_func__frexpl_use+:} false; then :
65811 $as_echo_n "(cached) " >&6
65812 else
65815 ac_ext=cpp
65816 ac_cpp='$CXXCPP $CPPFLAGS'
65817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65822 /* end confdefs.h. */
65823 #include <math.h>
65825 main ()
65827 _frexpl(0, 0);
65829 return 0;
65831 _ACEOF
65832 if ac_fn_cxx_try_compile "$LINENO"; then :
65833 glibcxx_cv_func__frexpl_use=yes
65834 else
65835 glibcxx_cv_func__frexpl_use=no
65837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65838 ac_ext=c
65839 ac_cpp='$CPP $CPPFLAGS'
65840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
65849 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
65851 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
65852 for ac_func in _frexpl
65853 do :
65854 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
65855 if test "x$ac_cv_func__frexpl" = xyes; then :
65856 cat >>confdefs.h <<_ACEOF
65857 #define HAVE__FREXPL 1
65858 _ACEOF
65861 done
65870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
65871 $as_echo_n "checking for hypotl declaration... " >&6; }
65872 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
65873 if ${glibcxx_cv_func_hypotl_use+:} false; then :
65874 $as_echo_n "(cached) " >&6
65875 else
65878 ac_ext=cpp
65879 ac_cpp='$CXXCPP $CPPFLAGS'
65880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65885 /* end confdefs.h. */
65886 #include <math.h>
65888 main ()
65890 hypotl(0, 0);
65892 return 0;
65894 _ACEOF
65895 if ac_fn_cxx_try_compile "$LINENO"; then :
65896 glibcxx_cv_func_hypotl_use=yes
65897 else
65898 glibcxx_cv_func_hypotl_use=no
65900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65901 ac_ext=c
65902 ac_cpp='$CPP $CPPFLAGS'
65903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
65912 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
65914 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
65915 for ac_func in hypotl
65916 do :
65917 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
65918 if test "x$ac_cv_func_hypotl" = xyes; then :
65919 cat >>confdefs.h <<_ACEOF
65920 #define HAVE_HYPOTL 1
65921 _ACEOF
65924 done
65926 else
65928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
65929 $as_echo_n "checking for _hypotl declaration... " >&6; }
65930 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
65931 if ${glibcxx_cv_func__hypotl_use+:} false; then :
65932 $as_echo_n "(cached) " >&6
65933 else
65936 ac_ext=cpp
65937 ac_cpp='$CXXCPP $CPPFLAGS'
65938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65943 /* end confdefs.h. */
65944 #include <math.h>
65946 main ()
65948 _hypotl(0, 0);
65950 return 0;
65952 _ACEOF
65953 if ac_fn_cxx_try_compile "$LINENO"; then :
65954 glibcxx_cv_func__hypotl_use=yes
65955 else
65956 glibcxx_cv_func__hypotl_use=no
65958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65959 ac_ext=c
65960 ac_cpp='$CPP $CPPFLAGS'
65961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
65970 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
65972 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
65973 for ac_func in _hypotl
65974 do :
65975 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
65976 if test "x$ac_cv_func__hypotl" = xyes; then :
65977 cat >>confdefs.h <<_ACEOF
65978 #define HAVE__HYPOTL 1
65979 _ACEOF
65982 done
65991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
65992 $as_echo_n "checking for ldexpl declaration... " >&6; }
65993 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
65994 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
65995 $as_echo_n "(cached) " >&6
65996 else
65999 ac_ext=cpp
66000 ac_cpp='$CXXCPP $CPPFLAGS'
66001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66006 /* end confdefs.h. */
66007 #include <math.h>
66009 main ()
66011 ldexpl(0, 0);
66013 return 0;
66015 _ACEOF
66016 if ac_fn_cxx_try_compile "$LINENO"; then :
66017 glibcxx_cv_func_ldexpl_use=yes
66018 else
66019 glibcxx_cv_func_ldexpl_use=no
66021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66022 ac_ext=c
66023 ac_cpp='$CPP $CPPFLAGS'
66024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
66033 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
66035 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
66036 for ac_func in ldexpl
66037 do :
66038 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
66039 if test "x$ac_cv_func_ldexpl" = xyes; then :
66040 cat >>confdefs.h <<_ACEOF
66041 #define HAVE_LDEXPL 1
66042 _ACEOF
66045 done
66047 else
66049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
66050 $as_echo_n "checking for _ldexpl declaration... " >&6; }
66051 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
66052 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
66053 $as_echo_n "(cached) " >&6
66054 else
66057 ac_ext=cpp
66058 ac_cpp='$CXXCPP $CPPFLAGS'
66059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66064 /* end confdefs.h. */
66065 #include <math.h>
66067 main ()
66069 _ldexpl(0, 0);
66071 return 0;
66073 _ACEOF
66074 if ac_fn_cxx_try_compile "$LINENO"; then :
66075 glibcxx_cv_func__ldexpl_use=yes
66076 else
66077 glibcxx_cv_func__ldexpl_use=no
66079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66080 ac_ext=c
66081 ac_cpp='$CPP $CPPFLAGS'
66082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
66091 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
66093 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
66094 for ac_func in _ldexpl
66095 do :
66096 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
66097 if test "x$ac_cv_func__ldexpl" = xyes; then :
66098 cat >>confdefs.h <<_ACEOF
66099 #define HAVE__LDEXPL 1
66100 _ACEOF
66103 done
66112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
66113 $as_echo_n "checking for logl declaration... " >&6; }
66114 if test x${glibcxx_cv_func_logl_use+set} != xset; then
66115 if ${glibcxx_cv_func_logl_use+:} false; then :
66116 $as_echo_n "(cached) " >&6
66117 else
66120 ac_ext=cpp
66121 ac_cpp='$CXXCPP $CPPFLAGS'
66122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66127 /* end confdefs.h. */
66128 #include <math.h>
66129 #ifdef HAVE_IEEEFP_H
66130 #include <ieeefp.h>
66131 #endif
66134 main ()
66136 logl(0);
66138 return 0;
66140 _ACEOF
66141 if ac_fn_cxx_try_compile "$LINENO"; then :
66142 glibcxx_cv_func_logl_use=yes
66143 else
66144 glibcxx_cv_func_logl_use=no
66146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66147 ac_ext=c
66148 ac_cpp='$CPP $CPPFLAGS'
66149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
66158 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
66160 if test x$glibcxx_cv_func_logl_use = x"yes"; then
66161 for ac_func in logl
66162 do :
66163 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
66164 if test "x$ac_cv_func_logl" = xyes; then :
66165 cat >>confdefs.h <<_ACEOF
66166 #define HAVE_LOGL 1
66167 _ACEOF
66170 done
66172 else
66174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
66175 $as_echo_n "checking for _logl declaration... " >&6; }
66176 if test x${glibcxx_cv_func__logl_use+set} != xset; then
66177 if ${glibcxx_cv_func__logl_use+:} false; then :
66178 $as_echo_n "(cached) " >&6
66179 else
66182 ac_ext=cpp
66183 ac_cpp='$CXXCPP $CPPFLAGS'
66184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66189 /* end confdefs.h. */
66190 #include <math.h>
66191 #ifdef HAVE_IEEEFP_H
66192 #include <ieeefp.h>
66193 #endif
66196 main ()
66198 _logl(0);
66200 return 0;
66202 _ACEOF
66203 if ac_fn_cxx_try_compile "$LINENO"; then :
66204 glibcxx_cv_func__logl_use=yes
66205 else
66206 glibcxx_cv_func__logl_use=no
66208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66209 ac_ext=c
66210 ac_cpp='$CPP $CPPFLAGS'
66211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
66220 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
66222 if test x$glibcxx_cv_func__logl_use = x"yes"; then
66223 for ac_func in _logl
66224 do :
66225 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
66226 if test "x$ac_cv_func__logl" = xyes; then :
66227 cat >>confdefs.h <<_ACEOF
66228 #define HAVE__LOGL 1
66229 _ACEOF
66232 done
66241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
66242 $as_echo_n "checking for log10l declaration... " >&6; }
66243 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
66244 if ${glibcxx_cv_func_log10l_use+:} false; then :
66245 $as_echo_n "(cached) " >&6
66246 else
66249 ac_ext=cpp
66250 ac_cpp='$CXXCPP $CPPFLAGS'
66251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66256 /* end confdefs.h. */
66257 #include <math.h>
66258 #ifdef HAVE_IEEEFP_H
66259 #include <ieeefp.h>
66260 #endif
66263 main ()
66265 log10l(0);
66267 return 0;
66269 _ACEOF
66270 if ac_fn_cxx_try_compile "$LINENO"; then :
66271 glibcxx_cv_func_log10l_use=yes
66272 else
66273 glibcxx_cv_func_log10l_use=no
66275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66276 ac_ext=c
66277 ac_cpp='$CPP $CPPFLAGS'
66278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
66287 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
66289 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
66290 for ac_func in log10l
66291 do :
66292 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
66293 if test "x$ac_cv_func_log10l" = xyes; then :
66294 cat >>confdefs.h <<_ACEOF
66295 #define HAVE_LOG10L 1
66296 _ACEOF
66299 done
66301 else
66303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
66304 $as_echo_n "checking for _log10l declaration... " >&6; }
66305 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
66306 if ${glibcxx_cv_func__log10l_use+:} false; then :
66307 $as_echo_n "(cached) " >&6
66308 else
66311 ac_ext=cpp
66312 ac_cpp='$CXXCPP $CPPFLAGS'
66313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66318 /* end confdefs.h. */
66319 #include <math.h>
66320 #ifdef HAVE_IEEEFP_H
66321 #include <ieeefp.h>
66322 #endif
66325 main ()
66327 _log10l(0);
66329 return 0;
66331 _ACEOF
66332 if ac_fn_cxx_try_compile "$LINENO"; then :
66333 glibcxx_cv_func__log10l_use=yes
66334 else
66335 glibcxx_cv_func__log10l_use=no
66337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66338 ac_ext=c
66339 ac_cpp='$CPP $CPPFLAGS'
66340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
66349 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
66351 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
66352 for ac_func in _log10l
66353 do :
66354 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
66355 if test "x$ac_cv_func__log10l" = xyes; then :
66356 cat >>confdefs.h <<_ACEOF
66357 #define HAVE__LOG10L 1
66358 _ACEOF
66361 done
66370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
66371 $as_echo_n "checking for modfl declaration... " >&6; }
66372 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
66373 if ${glibcxx_cv_func_modfl_use+:} false; then :
66374 $as_echo_n "(cached) " >&6
66375 else
66378 ac_ext=cpp
66379 ac_cpp='$CXXCPP $CPPFLAGS'
66380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66385 /* end confdefs.h. */
66386 #include <math.h>
66388 main ()
66390 modfl(0, 0);
66392 return 0;
66394 _ACEOF
66395 if ac_fn_cxx_try_compile "$LINENO"; then :
66396 glibcxx_cv_func_modfl_use=yes
66397 else
66398 glibcxx_cv_func_modfl_use=no
66400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66401 ac_ext=c
66402 ac_cpp='$CPP $CPPFLAGS'
66403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
66412 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
66414 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
66415 for ac_func in modfl
66416 do :
66417 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
66418 if test "x$ac_cv_func_modfl" = xyes; then :
66419 cat >>confdefs.h <<_ACEOF
66420 #define HAVE_MODFL 1
66421 _ACEOF
66424 done
66426 else
66428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
66429 $as_echo_n "checking for _modfl declaration... " >&6; }
66430 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
66431 if ${glibcxx_cv_func__modfl_use+:} false; then :
66432 $as_echo_n "(cached) " >&6
66433 else
66436 ac_ext=cpp
66437 ac_cpp='$CXXCPP $CPPFLAGS'
66438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66443 /* end confdefs.h. */
66444 #include <math.h>
66446 main ()
66448 _modfl(0, 0);
66450 return 0;
66452 _ACEOF
66453 if ac_fn_cxx_try_compile "$LINENO"; then :
66454 glibcxx_cv_func__modfl_use=yes
66455 else
66456 glibcxx_cv_func__modfl_use=no
66458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66459 ac_ext=c
66460 ac_cpp='$CPP $CPPFLAGS'
66461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
66470 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
66472 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
66473 for ac_func in _modfl
66474 do :
66475 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
66476 if test "x$ac_cv_func__modfl" = xyes; then :
66477 cat >>confdefs.h <<_ACEOF
66478 #define HAVE__MODFL 1
66479 _ACEOF
66482 done
66491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
66492 $as_echo_n "checking for powl declaration... " >&6; }
66493 if test x${glibcxx_cv_func_powl_use+set} != xset; then
66494 if ${glibcxx_cv_func_powl_use+:} false; then :
66495 $as_echo_n "(cached) " >&6
66496 else
66499 ac_ext=cpp
66500 ac_cpp='$CXXCPP $CPPFLAGS'
66501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66506 /* end confdefs.h. */
66507 #include <math.h>
66509 main ()
66511 powl(0, 0);
66513 return 0;
66515 _ACEOF
66516 if ac_fn_cxx_try_compile "$LINENO"; then :
66517 glibcxx_cv_func_powl_use=yes
66518 else
66519 glibcxx_cv_func_powl_use=no
66521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66522 ac_ext=c
66523 ac_cpp='$CPP $CPPFLAGS'
66524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
66533 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
66535 if test x$glibcxx_cv_func_powl_use = x"yes"; then
66536 for ac_func in powl
66537 do :
66538 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
66539 if test "x$ac_cv_func_powl" = xyes; then :
66540 cat >>confdefs.h <<_ACEOF
66541 #define HAVE_POWL 1
66542 _ACEOF
66545 done
66547 else
66549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
66550 $as_echo_n "checking for _powl declaration... " >&6; }
66551 if test x${glibcxx_cv_func__powl_use+set} != xset; then
66552 if ${glibcxx_cv_func__powl_use+:} false; then :
66553 $as_echo_n "(cached) " >&6
66554 else
66557 ac_ext=cpp
66558 ac_cpp='$CXXCPP $CPPFLAGS'
66559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66564 /* end confdefs.h. */
66565 #include <math.h>
66567 main ()
66569 _powl(0, 0);
66571 return 0;
66573 _ACEOF
66574 if ac_fn_cxx_try_compile "$LINENO"; then :
66575 glibcxx_cv_func__powl_use=yes
66576 else
66577 glibcxx_cv_func__powl_use=no
66579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66580 ac_ext=c
66581 ac_cpp='$CPP $CPPFLAGS'
66582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
66591 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
66593 if test x$glibcxx_cv_func__powl_use = x"yes"; then
66594 for ac_func in _powl
66595 do :
66596 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
66597 if test "x$ac_cv_func__powl" = xyes; then :
66598 cat >>confdefs.h <<_ACEOF
66599 #define HAVE__POWL 1
66600 _ACEOF
66603 done
66612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
66613 $as_echo_n "checking for sqrtl declaration... " >&6; }
66614 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
66615 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
66616 $as_echo_n "(cached) " >&6
66617 else
66620 ac_ext=cpp
66621 ac_cpp='$CXXCPP $CPPFLAGS'
66622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66627 /* end confdefs.h. */
66628 #include <math.h>
66629 #ifdef HAVE_IEEEFP_H
66630 #include <ieeefp.h>
66631 #endif
66634 main ()
66636 sqrtl(0);
66638 return 0;
66640 _ACEOF
66641 if ac_fn_cxx_try_compile "$LINENO"; then :
66642 glibcxx_cv_func_sqrtl_use=yes
66643 else
66644 glibcxx_cv_func_sqrtl_use=no
66646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66647 ac_ext=c
66648 ac_cpp='$CPP $CPPFLAGS'
66649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
66658 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
66660 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
66661 for ac_func in sqrtl
66662 do :
66663 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
66664 if test "x$ac_cv_func_sqrtl" = xyes; then :
66665 cat >>confdefs.h <<_ACEOF
66666 #define HAVE_SQRTL 1
66667 _ACEOF
66670 done
66672 else
66674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
66675 $as_echo_n "checking for _sqrtl declaration... " >&6; }
66676 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
66677 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
66678 $as_echo_n "(cached) " >&6
66679 else
66682 ac_ext=cpp
66683 ac_cpp='$CXXCPP $CPPFLAGS'
66684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66689 /* end confdefs.h. */
66690 #include <math.h>
66691 #ifdef HAVE_IEEEFP_H
66692 #include <ieeefp.h>
66693 #endif
66696 main ()
66698 _sqrtl(0);
66700 return 0;
66702 _ACEOF
66703 if ac_fn_cxx_try_compile "$LINENO"; then :
66704 glibcxx_cv_func__sqrtl_use=yes
66705 else
66706 glibcxx_cv_func__sqrtl_use=no
66708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66709 ac_ext=c
66710 ac_cpp='$CPP $CPPFLAGS'
66711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
66720 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
66722 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
66723 for ac_func in _sqrtl
66724 do :
66725 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
66726 if test "x$ac_cv_func__sqrtl" = xyes; then :
66727 cat >>confdefs.h <<_ACEOF
66728 #define HAVE__SQRTL 1
66729 _ACEOF
66732 done
66741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
66742 $as_echo_n "checking for sincosl declaration... " >&6; }
66743 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
66744 if ${glibcxx_cv_func_sincosl_use+:} false; then :
66745 $as_echo_n "(cached) " >&6
66746 else
66749 ac_ext=cpp
66750 ac_cpp='$CXXCPP $CPPFLAGS'
66751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66756 /* end confdefs.h. */
66757 #include <math.h>
66759 main ()
66761 sincosl(0, 0, 0);
66763 return 0;
66765 _ACEOF
66766 if ac_fn_cxx_try_compile "$LINENO"; then :
66767 glibcxx_cv_func_sincosl_use=yes
66768 else
66769 glibcxx_cv_func_sincosl_use=no
66771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66772 ac_ext=c
66773 ac_cpp='$CPP $CPPFLAGS'
66774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
66783 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
66785 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
66786 for ac_func in sincosl
66787 do :
66788 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
66789 if test "x$ac_cv_func_sincosl" = xyes; then :
66790 cat >>confdefs.h <<_ACEOF
66791 #define HAVE_SINCOSL 1
66792 _ACEOF
66795 done
66797 else
66799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
66800 $as_echo_n "checking for _sincosl declaration... " >&6; }
66801 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
66802 if ${glibcxx_cv_func__sincosl_use+:} false; then :
66803 $as_echo_n "(cached) " >&6
66804 else
66807 ac_ext=cpp
66808 ac_cpp='$CXXCPP $CPPFLAGS'
66809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66814 /* end confdefs.h. */
66815 #include <math.h>
66817 main ()
66819 _sincosl(0, 0, 0);
66821 return 0;
66823 _ACEOF
66824 if ac_fn_cxx_try_compile "$LINENO"; then :
66825 glibcxx_cv_func__sincosl_use=yes
66826 else
66827 glibcxx_cv_func__sincosl_use=no
66829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66830 ac_ext=c
66831 ac_cpp='$CPP $CPPFLAGS'
66832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
66841 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
66843 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
66844 for ac_func in _sincosl
66845 do :
66846 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
66847 if test "x$ac_cv_func__sincosl" = xyes; then :
66848 cat >>confdefs.h <<_ACEOF
66849 #define HAVE__SINCOSL 1
66850 _ACEOF
66853 done
66862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
66863 $as_echo_n "checking for finitel declaration... " >&6; }
66864 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
66865 if ${glibcxx_cv_func_finitel_use+:} false; then :
66866 $as_echo_n "(cached) " >&6
66867 else
66870 ac_ext=cpp
66871 ac_cpp='$CXXCPP $CPPFLAGS'
66872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66877 /* end confdefs.h. */
66878 #include <math.h>
66879 #ifdef HAVE_IEEEFP_H
66880 #include <ieeefp.h>
66881 #endif
66884 main ()
66886 finitel(0);
66888 return 0;
66890 _ACEOF
66891 if ac_fn_cxx_try_compile "$LINENO"; then :
66892 glibcxx_cv_func_finitel_use=yes
66893 else
66894 glibcxx_cv_func_finitel_use=no
66896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66897 ac_ext=c
66898 ac_cpp='$CPP $CPPFLAGS'
66899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
66908 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
66910 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
66911 for ac_func in finitel
66912 do :
66913 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
66914 if test "x$ac_cv_func_finitel" = xyes; then :
66915 cat >>confdefs.h <<_ACEOF
66916 #define HAVE_FINITEL 1
66917 _ACEOF
66920 done
66922 else
66924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
66925 $as_echo_n "checking for _finitel declaration... " >&6; }
66926 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
66927 if ${glibcxx_cv_func__finitel_use+:} false; then :
66928 $as_echo_n "(cached) " >&6
66929 else
66932 ac_ext=cpp
66933 ac_cpp='$CXXCPP $CPPFLAGS'
66934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66939 /* end confdefs.h. */
66940 #include <math.h>
66941 #ifdef HAVE_IEEEFP_H
66942 #include <ieeefp.h>
66943 #endif
66946 main ()
66948 _finitel(0);
66950 return 0;
66952 _ACEOF
66953 if ac_fn_cxx_try_compile "$LINENO"; then :
66954 glibcxx_cv_func__finitel_use=yes
66955 else
66956 glibcxx_cv_func__finitel_use=no
66958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66959 ac_ext=c
66960 ac_cpp='$CPP $CPPFLAGS'
66961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
66970 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
66972 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
66973 for ac_func in _finitel
66974 do :
66975 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
66976 if test "x$ac_cv_func__finitel" = xyes; then :
66977 cat >>confdefs.h <<_ACEOF
66978 #define HAVE__FINITEL 1
66979 _ACEOF
66982 done
66990 LIBS="$ac_save_LIBS"
66991 CXXFLAGS="$ac_save_CXXFLAGS"
66994 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66995 ac_save_CXXFLAGS="$CXXFLAGS"
66996 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
67000 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
67001 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
67002 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
67003 $as_echo_n "(cached) " >&6
67004 else
67007 ac_ext=cpp
67008 ac_cpp='$CXXCPP $CPPFLAGS'
67009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67014 /* end confdefs.h. */
67015 #include <stdlib.h>
67017 main ()
67019 at_quick_exit(0);
67021 return 0;
67023 _ACEOF
67024 if ac_fn_cxx_try_compile "$LINENO"; then :
67025 glibcxx_cv_func_at_quick_exit_use=yes
67026 else
67027 glibcxx_cv_func_at_quick_exit_use=no
67029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67030 ac_ext=c
67031 ac_cpp='$CPP $CPPFLAGS'
67032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
67041 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
67042 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
67043 for ac_func in at_quick_exit
67044 do :
67045 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
67046 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
67047 cat >>confdefs.h <<_ACEOF
67048 #define HAVE_AT_QUICK_EXIT 1
67049 _ACEOF
67052 done
67057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
67058 $as_echo_n "checking for quick_exit declaration... " >&6; }
67059 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
67060 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
67061 $as_echo_n "(cached) " >&6
67062 else
67065 ac_ext=cpp
67066 ac_cpp='$CXXCPP $CPPFLAGS'
67067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67072 /* end confdefs.h. */
67073 #include <stdlib.h>
67075 main ()
67077 quick_exit(0);
67079 return 0;
67081 _ACEOF
67082 if ac_fn_cxx_try_compile "$LINENO"; then :
67083 glibcxx_cv_func_quick_exit_use=yes
67084 else
67085 glibcxx_cv_func_quick_exit_use=no
67087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67088 ac_ext=c
67089 ac_cpp='$CPP $CPPFLAGS'
67090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
67099 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
67100 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
67101 for ac_func in quick_exit
67102 do :
67103 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
67104 if test "x$ac_cv_func_quick_exit" = xyes; then :
67105 cat >>confdefs.h <<_ACEOF
67106 #define HAVE_QUICK_EXIT 1
67107 _ACEOF
67110 done
67115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
67116 $as_echo_n "checking for strtold declaration... " >&6; }
67117 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
67118 if ${glibcxx_cv_func_strtold_use+:} false; then :
67119 $as_echo_n "(cached) " >&6
67120 else
67123 ac_ext=cpp
67124 ac_cpp='$CXXCPP $CPPFLAGS'
67125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67130 /* end confdefs.h. */
67131 #include <stdlib.h>
67133 main ()
67135 strtold(0, 0);
67137 return 0;
67139 _ACEOF
67140 if ac_fn_cxx_try_compile "$LINENO"; then :
67141 glibcxx_cv_func_strtold_use=yes
67142 else
67143 glibcxx_cv_func_strtold_use=no
67145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67146 ac_ext=c
67147 ac_cpp='$CPP $CPPFLAGS'
67148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
67157 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
67158 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
67159 for ac_func in strtold
67160 do :
67161 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
67162 if test "x$ac_cv_func_strtold" = xyes; then :
67163 cat >>confdefs.h <<_ACEOF
67164 #define HAVE_STRTOLD 1
67165 _ACEOF
67168 done
67175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
67176 $as_echo_n "checking for strtof declaration... " >&6; }
67177 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
67178 if ${glibcxx_cv_func_strtof_use+:} false; then :
67179 $as_echo_n "(cached) " >&6
67180 else
67183 ac_ext=cpp
67184 ac_cpp='$CXXCPP $CPPFLAGS'
67185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67190 /* end confdefs.h. */
67191 #include <stdlib.h>
67193 main ()
67195 strtof(0, 0);
67197 return 0;
67199 _ACEOF
67200 if ac_fn_cxx_try_compile "$LINENO"; then :
67201 glibcxx_cv_func_strtof_use=yes
67202 else
67203 glibcxx_cv_func_strtof_use=no
67205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67206 ac_ext=c
67207 ac_cpp='$CPP $CPPFLAGS'
67208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
67217 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
67218 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
67219 for ac_func in strtof
67220 do :
67221 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
67222 if test "x$ac_cv_func_strtof" = xyes; then :
67223 cat >>confdefs.h <<_ACEOF
67224 #define HAVE_STRTOF 1
67225 _ACEOF
67228 done
67235 CXXFLAGS="$ac_save_CXXFLAGS"
67238 *-tpf)
67239 SECTION_FLAGS='-ffunction-sections -fdata-sections'
67240 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
67242 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
67244 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
67246 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
67248 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
67250 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
67252 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
67254 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
67256 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
67258 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
67260 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
67262 if test x"long_double_math_on_this_cpu" = x"yes"; then
67263 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
67265 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
67267 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
67269 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
67273 *-*vms*)
67274 # Check for available headers.
67275 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
67277 ac_test_CXXFLAGS="${CXXFLAGS+set}"
67278 ac_save_CXXFLAGS="$CXXFLAGS"
67279 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
67281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
67282 $as_echo_n "checking for sin in -lm... " >&6; }
67283 if ${ac_cv_lib_m_sin+:} false; then :
67284 $as_echo_n "(cached) " >&6
67285 else
67286 ac_check_lib_save_LIBS=$LIBS
67287 LIBS="-lm $LIBS"
67288 if test x$gcc_no_link = xyes; then
67289 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
67291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67292 /* end confdefs.h. */
67294 /* Override any GCC internal prototype to avoid an error.
67295 Use char because int might match the return type of a GCC
67296 builtin and then its argument prototype would still apply. */
67297 #ifdef __cplusplus
67298 extern "C"
67299 #endif
67300 char sin ();
67302 main ()
67304 return sin ();
67306 return 0;
67308 _ACEOF
67309 if ac_fn_c_try_link "$LINENO"; then :
67310 ac_cv_lib_m_sin=yes
67311 else
67312 ac_cv_lib_m_sin=no
67314 rm -f core conftest.err conftest.$ac_objext \
67315 conftest$ac_exeext conftest.$ac_ext
67316 LIBS=$ac_check_lib_save_LIBS
67318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
67319 $as_echo "$ac_cv_lib_m_sin" >&6; }
67320 if test "x$ac_cv_lib_m_sin" = xyes; then :
67321 libm="-lm"
67324 ac_save_LIBS="$LIBS"
67325 LIBS="$LIBS $libm"
67329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
67330 $as_echo_n "checking for isinf declaration... " >&6; }
67331 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
67332 if ${glibcxx_cv_func_isinf_use+:} false; then :
67333 $as_echo_n "(cached) " >&6
67334 else
67337 ac_ext=cpp
67338 ac_cpp='$CXXCPP $CPPFLAGS'
67339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67344 /* end confdefs.h. */
67345 #include <math.h>
67346 #ifdef HAVE_IEEEFP_H
67347 #include <ieeefp.h>
67348 #endif
67351 main ()
67353 isinf(0);
67355 return 0;
67357 _ACEOF
67358 if ac_fn_cxx_try_compile "$LINENO"; then :
67359 glibcxx_cv_func_isinf_use=yes
67360 else
67361 glibcxx_cv_func_isinf_use=no
67363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67364 ac_ext=c
67365 ac_cpp='$CPP $CPPFLAGS'
67366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
67375 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
67377 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
67378 for ac_func in isinf
67379 do :
67380 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
67381 if test "x$ac_cv_func_isinf" = xyes; then :
67382 cat >>confdefs.h <<_ACEOF
67383 #define HAVE_ISINF 1
67384 _ACEOF
67387 done
67389 else
67391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
67392 $as_echo_n "checking for _isinf declaration... " >&6; }
67393 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
67394 if ${glibcxx_cv_func__isinf_use+:} false; then :
67395 $as_echo_n "(cached) " >&6
67396 else
67399 ac_ext=cpp
67400 ac_cpp='$CXXCPP $CPPFLAGS'
67401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67406 /* end confdefs.h. */
67407 #include <math.h>
67408 #ifdef HAVE_IEEEFP_H
67409 #include <ieeefp.h>
67410 #endif
67413 main ()
67415 _isinf(0);
67417 return 0;
67419 _ACEOF
67420 if ac_fn_cxx_try_compile "$LINENO"; then :
67421 glibcxx_cv_func__isinf_use=yes
67422 else
67423 glibcxx_cv_func__isinf_use=no
67425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67426 ac_ext=c
67427 ac_cpp='$CPP $CPPFLAGS'
67428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
67437 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
67439 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
67440 for ac_func in _isinf
67441 do :
67442 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
67443 if test "x$ac_cv_func__isinf" = xyes; then :
67444 cat >>confdefs.h <<_ACEOF
67445 #define HAVE__ISINF 1
67446 _ACEOF
67449 done
67458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
67459 $as_echo_n "checking for isnan declaration... " >&6; }
67460 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
67461 if ${glibcxx_cv_func_isnan_use+:} false; then :
67462 $as_echo_n "(cached) " >&6
67463 else
67466 ac_ext=cpp
67467 ac_cpp='$CXXCPP $CPPFLAGS'
67468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67473 /* end confdefs.h. */
67474 #include <math.h>
67475 #ifdef HAVE_IEEEFP_H
67476 #include <ieeefp.h>
67477 #endif
67480 main ()
67482 isnan(0);
67484 return 0;
67486 _ACEOF
67487 if ac_fn_cxx_try_compile "$LINENO"; then :
67488 glibcxx_cv_func_isnan_use=yes
67489 else
67490 glibcxx_cv_func_isnan_use=no
67492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67493 ac_ext=c
67494 ac_cpp='$CPP $CPPFLAGS'
67495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
67504 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
67506 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
67507 for ac_func in isnan
67508 do :
67509 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
67510 if test "x$ac_cv_func_isnan" = xyes; then :
67511 cat >>confdefs.h <<_ACEOF
67512 #define HAVE_ISNAN 1
67513 _ACEOF
67516 done
67518 else
67520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
67521 $as_echo_n "checking for _isnan declaration... " >&6; }
67522 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
67523 if ${glibcxx_cv_func__isnan_use+:} false; then :
67524 $as_echo_n "(cached) " >&6
67525 else
67528 ac_ext=cpp
67529 ac_cpp='$CXXCPP $CPPFLAGS'
67530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67535 /* end confdefs.h. */
67536 #include <math.h>
67537 #ifdef HAVE_IEEEFP_H
67538 #include <ieeefp.h>
67539 #endif
67542 main ()
67544 _isnan(0);
67546 return 0;
67548 _ACEOF
67549 if ac_fn_cxx_try_compile "$LINENO"; then :
67550 glibcxx_cv_func__isnan_use=yes
67551 else
67552 glibcxx_cv_func__isnan_use=no
67554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67555 ac_ext=c
67556 ac_cpp='$CPP $CPPFLAGS'
67557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
67566 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
67568 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
67569 for ac_func in _isnan
67570 do :
67571 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
67572 if test "x$ac_cv_func__isnan" = xyes; then :
67573 cat >>confdefs.h <<_ACEOF
67574 #define HAVE__ISNAN 1
67575 _ACEOF
67578 done
67587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
67588 $as_echo_n "checking for finite declaration... " >&6; }
67589 if test x${glibcxx_cv_func_finite_use+set} != xset; then
67590 if ${glibcxx_cv_func_finite_use+:} false; then :
67591 $as_echo_n "(cached) " >&6
67592 else
67595 ac_ext=cpp
67596 ac_cpp='$CXXCPP $CPPFLAGS'
67597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67602 /* end confdefs.h. */
67603 #include <math.h>
67604 #ifdef HAVE_IEEEFP_H
67605 #include <ieeefp.h>
67606 #endif
67609 main ()
67611 finite(0);
67613 return 0;
67615 _ACEOF
67616 if ac_fn_cxx_try_compile "$LINENO"; then :
67617 glibcxx_cv_func_finite_use=yes
67618 else
67619 glibcxx_cv_func_finite_use=no
67621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67622 ac_ext=c
67623 ac_cpp='$CPP $CPPFLAGS'
67624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
67633 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
67635 if test x$glibcxx_cv_func_finite_use = x"yes"; then
67636 for ac_func in finite
67637 do :
67638 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
67639 if test "x$ac_cv_func_finite" = xyes; then :
67640 cat >>confdefs.h <<_ACEOF
67641 #define HAVE_FINITE 1
67642 _ACEOF
67645 done
67647 else
67649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
67650 $as_echo_n "checking for _finite declaration... " >&6; }
67651 if test x${glibcxx_cv_func__finite_use+set} != xset; then
67652 if ${glibcxx_cv_func__finite_use+:} false; then :
67653 $as_echo_n "(cached) " >&6
67654 else
67657 ac_ext=cpp
67658 ac_cpp='$CXXCPP $CPPFLAGS'
67659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67664 /* end confdefs.h. */
67665 #include <math.h>
67666 #ifdef HAVE_IEEEFP_H
67667 #include <ieeefp.h>
67668 #endif
67671 main ()
67673 _finite(0);
67675 return 0;
67677 _ACEOF
67678 if ac_fn_cxx_try_compile "$LINENO"; then :
67679 glibcxx_cv_func__finite_use=yes
67680 else
67681 glibcxx_cv_func__finite_use=no
67683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67684 ac_ext=c
67685 ac_cpp='$CPP $CPPFLAGS'
67686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
67695 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
67697 if test x$glibcxx_cv_func__finite_use = x"yes"; then
67698 for ac_func in _finite
67699 do :
67700 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
67701 if test "x$ac_cv_func__finite" = xyes; then :
67702 cat >>confdefs.h <<_ACEOF
67703 #define HAVE__FINITE 1
67704 _ACEOF
67707 done
67716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
67717 $as_echo_n "checking for sincos declaration... " >&6; }
67718 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
67719 if ${glibcxx_cv_func_sincos_use+:} false; then :
67720 $as_echo_n "(cached) " >&6
67721 else
67724 ac_ext=cpp
67725 ac_cpp='$CXXCPP $CPPFLAGS'
67726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67731 /* end confdefs.h. */
67732 #include <math.h>
67734 main ()
67736 sincos(0, 0, 0);
67738 return 0;
67740 _ACEOF
67741 if ac_fn_cxx_try_compile "$LINENO"; then :
67742 glibcxx_cv_func_sincos_use=yes
67743 else
67744 glibcxx_cv_func_sincos_use=no
67746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67747 ac_ext=c
67748 ac_cpp='$CPP $CPPFLAGS'
67749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
67758 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
67760 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
67761 for ac_func in sincos
67762 do :
67763 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
67764 if test "x$ac_cv_func_sincos" = xyes; then :
67765 cat >>confdefs.h <<_ACEOF
67766 #define HAVE_SINCOS 1
67767 _ACEOF
67770 done
67772 else
67774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
67775 $as_echo_n "checking for _sincos declaration... " >&6; }
67776 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67777 if ${glibcxx_cv_func__sincos_use+:} false; then :
67778 $as_echo_n "(cached) " >&6
67779 else
67782 ac_ext=cpp
67783 ac_cpp='$CXXCPP $CPPFLAGS'
67784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67789 /* end confdefs.h. */
67790 #include <math.h>
67792 main ()
67794 _sincos(0, 0, 0);
67796 return 0;
67798 _ACEOF
67799 if ac_fn_cxx_try_compile "$LINENO"; then :
67800 glibcxx_cv_func__sincos_use=yes
67801 else
67802 glibcxx_cv_func__sincos_use=no
67804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67805 ac_ext=c
67806 ac_cpp='$CPP $CPPFLAGS'
67807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
67816 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
67818 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67819 for ac_func in _sincos
67820 do :
67821 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
67822 if test "x$ac_cv_func__sincos" = xyes; then :
67823 cat >>confdefs.h <<_ACEOF
67824 #define HAVE__SINCOS 1
67825 _ACEOF
67828 done
67837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
67838 $as_echo_n "checking for fpclass declaration... " >&6; }
67839 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67840 if ${glibcxx_cv_func_fpclass_use+:} false; then :
67841 $as_echo_n "(cached) " >&6
67842 else
67845 ac_ext=cpp
67846 ac_cpp='$CXXCPP $CPPFLAGS'
67847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67852 /* end confdefs.h. */
67853 #include <math.h>
67854 #ifdef HAVE_IEEEFP_H
67855 #include <ieeefp.h>
67856 #endif
67859 main ()
67861 fpclass(0);
67863 return 0;
67865 _ACEOF
67866 if ac_fn_cxx_try_compile "$LINENO"; then :
67867 glibcxx_cv_func_fpclass_use=yes
67868 else
67869 glibcxx_cv_func_fpclass_use=no
67871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67872 ac_ext=c
67873 ac_cpp='$CPP $CPPFLAGS'
67874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67883 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67885 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67886 for ac_func in fpclass
67887 do :
67888 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67889 if test "x$ac_cv_func_fpclass" = xyes; then :
67890 cat >>confdefs.h <<_ACEOF
67891 #define HAVE_FPCLASS 1
67892 _ACEOF
67895 done
67897 else
67899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67900 $as_echo_n "checking for _fpclass declaration... " >&6; }
67901 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67902 if ${glibcxx_cv_func__fpclass_use+:} false; then :
67903 $as_echo_n "(cached) " >&6
67904 else
67907 ac_ext=cpp
67908 ac_cpp='$CXXCPP $CPPFLAGS'
67909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67914 /* end confdefs.h. */
67915 #include <math.h>
67916 #ifdef HAVE_IEEEFP_H
67917 #include <ieeefp.h>
67918 #endif
67921 main ()
67923 _fpclass(0);
67925 return 0;
67927 _ACEOF
67928 if ac_fn_cxx_try_compile "$LINENO"; then :
67929 glibcxx_cv_func__fpclass_use=yes
67930 else
67931 glibcxx_cv_func__fpclass_use=no
67933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67934 ac_ext=c
67935 ac_cpp='$CPP $CPPFLAGS'
67936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67945 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67947 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67948 for ac_func in _fpclass
67949 do :
67950 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67951 if test "x$ac_cv_func__fpclass" = xyes; then :
67952 cat >>confdefs.h <<_ACEOF
67953 #define HAVE__FPCLASS 1
67954 _ACEOF
67957 done
67966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67967 $as_echo_n "checking for qfpclass declaration... " >&6; }
67968 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67969 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
67970 $as_echo_n "(cached) " >&6
67971 else
67974 ac_ext=cpp
67975 ac_cpp='$CXXCPP $CPPFLAGS'
67976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67981 /* end confdefs.h. */
67982 #include <math.h>
67983 #ifdef HAVE_IEEEFP_H
67984 #include <ieeefp.h>
67985 #endif
67988 main ()
67990 qfpclass(0);
67992 return 0;
67994 _ACEOF
67995 if ac_fn_cxx_try_compile "$LINENO"; then :
67996 glibcxx_cv_func_qfpclass_use=yes
67997 else
67998 glibcxx_cv_func_qfpclass_use=no
68000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68001 ac_ext=c
68002 ac_cpp='$CPP $CPPFLAGS'
68003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
68012 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
68014 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
68015 for ac_func in qfpclass
68016 do :
68017 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
68018 if test "x$ac_cv_func_qfpclass" = xyes; then :
68019 cat >>confdefs.h <<_ACEOF
68020 #define HAVE_QFPCLASS 1
68021 _ACEOF
68024 done
68026 else
68028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
68029 $as_echo_n "checking for _qfpclass declaration... " >&6; }
68030 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
68031 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
68032 $as_echo_n "(cached) " >&6
68033 else
68036 ac_ext=cpp
68037 ac_cpp='$CXXCPP $CPPFLAGS'
68038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68043 /* end confdefs.h. */
68044 #include <math.h>
68045 #ifdef HAVE_IEEEFP_H
68046 #include <ieeefp.h>
68047 #endif
68050 main ()
68052 _qfpclass(0);
68054 return 0;
68056 _ACEOF
68057 if ac_fn_cxx_try_compile "$LINENO"; then :
68058 glibcxx_cv_func__qfpclass_use=yes
68059 else
68060 glibcxx_cv_func__qfpclass_use=no
68062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68063 ac_ext=c
68064 ac_cpp='$CPP $CPPFLAGS'
68065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
68074 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
68076 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
68077 for ac_func in _qfpclass
68078 do :
68079 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
68080 if test "x$ac_cv_func__qfpclass" = xyes; then :
68081 cat >>confdefs.h <<_ACEOF
68082 #define HAVE__QFPCLASS 1
68083 _ACEOF
68086 done
68095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
68096 $as_echo_n "checking for hypot declaration... " >&6; }
68097 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
68098 if ${glibcxx_cv_func_hypot_use+:} false; then :
68099 $as_echo_n "(cached) " >&6
68100 else
68103 ac_ext=cpp
68104 ac_cpp='$CXXCPP $CPPFLAGS'
68105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68110 /* end confdefs.h. */
68111 #include <math.h>
68113 main ()
68115 hypot(0, 0);
68117 return 0;
68119 _ACEOF
68120 if ac_fn_cxx_try_compile "$LINENO"; then :
68121 glibcxx_cv_func_hypot_use=yes
68122 else
68123 glibcxx_cv_func_hypot_use=no
68125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68126 ac_ext=c
68127 ac_cpp='$CPP $CPPFLAGS'
68128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
68137 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
68139 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
68140 for ac_func in hypot
68141 do :
68142 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
68143 if test "x$ac_cv_func_hypot" = xyes; then :
68144 cat >>confdefs.h <<_ACEOF
68145 #define HAVE_HYPOT 1
68146 _ACEOF
68149 done
68151 else
68153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
68154 $as_echo_n "checking for _hypot declaration... " >&6; }
68155 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
68156 if ${glibcxx_cv_func__hypot_use+:} false; then :
68157 $as_echo_n "(cached) " >&6
68158 else
68161 ac_ext=cpp
68162 ac_cpp='$CXXCPP $CPPFLAGS'
68163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68168 /* end confdefs.h. */
68169 #include <math.h>
68171 main ()
68173 _hypot(0, 0);
68175 return 0;
68177 _ACEOF
68178 if ac_fn_cxx_try_compile "$LINENO"; then :
68179 glibcxx_cv_func__hypot_use=yes
68180 else
68181 glibcxx_cv_func__hypot_use=no
68183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68184 ac_ext=c
68185 ac_cpp='$CPP $CPPFLAGS'
68186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
68195 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
68197 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
68198 for ac_func in _hypot
68199 do :
68200 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
68201 if test "x$ac_cv_func__hypot" = xyes; then :
68202 cat >>confdefs.h <<_ACEOF
68203 #define HAVE__HYPOT 1
68204 _ACEOF
68207 done
68216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
68217 $as_echo_n "checking for float trig functions... " >&6; }
68218 if ${glibcxx_cv_func_float_trig_use+:} false; then :
68219 $as_echo_n "(cached) " >&6
68220 else
68223 ac_ext=cpp
68224 ac_cpp='$CXXCPP $CPPFLAGS'
68225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68230 /* end confdefs.h. */
68231 #include <math.h>
68233 main ()
68235 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
68237 return 0;
68239 _ACEOF
68240 if ac_fn_cxx_try_compile "$LINENO"; then :
68241 glibcxx_cv_func_float_trig_use=yes
68242 else
68243 glibcxx_cv_func_float_trig_use=no
68245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68246 ac_ext=c
68247 ac_cpp='$CPP $CPPFLAGS'
68248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
68255 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
68256 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
68257 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
68258 do :
68259 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68260 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68261 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68262 cat >>confdefs.h <<_ACEOF
68263 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68264 _ACEOF
68267 done
68269 else
68270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
68271 $as_echo_n "checking for _float trig functions... " >&6; }
68272 if ${glibcxx_cv_func__float_trig_use+:} false; then :
68273 $as_echo_n "(cached) " >&6
68274 else
68277 ac_ext=cpp
68278 ac_cpp='$CXXCPP $CPPFLAGS'
68279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68284 /* end confdefs.h. */
68285 #include <math.h>
68287 main ()
68289 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
68291 return 0;
68293 _ACEOF
68294 if ac_fn_cxx_try_compile "$LINENO"; then :
68295 glibcxx_cv_func__float_trig_use=yes
68296 else
68297 glibcxx_cv_func__float_trig_use=no
68299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68300 ac_ext=c
68301 ac_cpp='$CPP $CPPFLAGS'
68302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
68309 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
68310 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
68311 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
68312 do :
68313 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68314 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68315 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68316 cat >>confdefs.h <<_ACEOF
68317 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68318 _ACEOF
68321 done
68330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
68331 $as_echo_n "checking for float round functions... " >&6; }
68332 if ${glibcxx_cv_func_float_round_use+:} false; then :
68333 $as_echo_n "(cached) " >&6
68334 else
68337 ac_ext=cpp
68338 ac_cpp='$CXXCPP $CPPFLAGS'
68339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68344 /* end confdefs.h. */
68345 #include <math.h>
68347 main ()
68349 ceilf (0); floorf (0);
68351 return 0;
68353 _ACEOF
68354 if ac_fn_cxx_try_compile "$LINENO"; then :
68355 glibcxx_cv_func_float_round_use=yes
68356 else
68357 glibcxx_cv_func_float_round_use=no
68359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68360 ac_ext=c
68361 ac_cpp='$CPP $CPPFLAGS'
68362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
68369 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
68370 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
68371 for ac_func in ceilf floorf
68372 do :
68373 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68374 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68375 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68376 cat >>confdefs.h <<_ACEOF
68377 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68378 _ACEOF
68381 done
68383 else
68384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
68385 $as_echo_n "checking for _float round functions... " >&6; }
68386 if ${glibcxx_cv_func__float_round_use+:} false; then :
68387 $as_echo_n "(cached) " >&6
68388 else
68391 ac_ext=cpp
68392 ac_cpp='$CXXCPP $CPPFLAGS'
68393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68398 /* end confdefs.h. */
68399 #include <math.h>
68401 main ()
68403 _ceilf (0); _floorf (0);
68405 return 0;
68407 _ACEOF
68408 if ac_fn_cxx_try_compile "$LINENO"; then :
68409 glibcxx_cv_func__float_round_use=yes
68410 else
68411 glibcxx_cv_func__float_round_use=no
68413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68414 ac_ext=c
68415 ac_cpp='$CPP $CPPFLAGS'
68416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
68423 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
68424 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
68425 for ac_func in _ceilf _floorf
68426 do :
68427 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68428 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68429 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68430 cat >>confdefs.h <<_ACEOF
68431 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68432 _ACEOF
68435 done
68445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
68446 $as_echo_n "checking for expf declaration... " >&6; }
68447 if test x${glibcxx_cv_func_expf_use+set} != xset; then
68448 if ${glibcxx_cv_func_expf_use+:} false; then :
68449 $as_echo_n "(cached) " >&6
68450 else
68453 ac_ext=cpp
68454 ac_cpp='$CXXCPP $CPPFLAGS'
68455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68460 /* end confdefs.h. */
68461 #include <math.h>
68462 #ifdef HAVE_IEEEFP_H
68463 #include <ieeefp.h>
68464 #endif
68467 main ()
68469 expf(0);
68471 return 0;
68473 _ACEOF
68474 if ac_fn_cxx_try_compile "$LINENO"; then :
68475 glibcxx_cv_func_expf_use=yes
68476 else
68477 glibcxx_cv_func_expf_use=no
68479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68480 ac_ext=c
68481 ac_cpp='$CPP $CPPFLAGS'
68482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
68491 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
68493 if test x$glibcxx_cv_func_expf_use = x"yes"; then
68494 for ac_func in expf
68495 do :
68496 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
68497 if test "x$ac_cv_func_expf" = xyes; then :
68498 cat >>confdefs.h <<_ACEOF
68499 #define HAVE_EXPF 1
68500 _ACEOF
68503 done
68505 else
68507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
68508 $as_echo_n "checking for _expf declaration... " >&6; }
68509 if test x${glibcxx_cv_func__expf_use+set} != xset; then
68510 if ${glibcxx_cv_func__expf_use+:} false; then :
68511 $as_echo_n "(cached) " >&6
68512 else
68515 ac_ext=cpp
68516 ac_cpp='$CXXCPP $CPPFLAGS'
68517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68522 /* end confdefs.h. */
68523 #include <math.h>
68524 #ifdef HAVE_IEEEFP_H
68525 #include <ieeefp.h>
68526 #endif
68529 main ()
68531 _expf(0);
68533 return 0;
68535 _ACEOF
68536 if ac_fn_cxx_try_compile "$LINENO"; then :
68537 glibcxx_cv_func__expf_use=yes
68538 else
68539 glibcxx_cv_func__expf_use=no
68541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68542 ac_ext=c
68543 ac_cpp='$CPP $CPPFLAGS'
68544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
68553 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
68555 if test x$glibcxx_cv_func__expf_use = x"yes"; then
68556 for ac_func in _expf
68557 do :
68558 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
68559 if test "x$ac_cv_func__expf" = xyes; then :
68560 cat >>confdefs.h <<_ACEOF
68561 #define HAVE__EXPF 1
68562 _ACEOF
68565 done
68574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
68575 $as_echo_n "checking for isnanf declaration... " >&6; }
68576 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
68577 if ${glibcxx_cv_func_isnanf_use+:} false; then :
68578 $as_echo_n "(cached) " >&6
68579 else
68582 ac_ext=cpp
68583 ac_cpp='$CXXCPP $CPPFLAGS'
68584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68589 /* end confdefs.h. */
68590 #include <math.h>
68591 #ifdef HAVE_IEEEFP_H
68592 #include <ieeefp.h>
68593 #endif
68596 main ()
68598 isnanf(0);
68600 return 0;
68602 _ACEOF
68603 if ac_fn_cxx_try_compile "$LINENO"; then :
68604 glibcxx_cv_func_isnanf_use=yes
68605 else
68606 glibcxx_cv_func_isnanf_use=no
68608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68609 ac_ext=c
68610 ac_cpp='$CPP $CPPFLAGS'
68611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
68620 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
68622 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68623 for ac_func in isnanf
68624 do :
68625 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
68626 if test "x$ac_cv_func_isnanf" = xyes; then :
68627 cat >>confdefs.h <<_ACEOF
68628 #define HAVE_ISNANF 1
68629 _ACEOF
68632 done
68634 else
68636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
68637 $as_echo_n "checking for _isnanf declaration... " >&6; }
68638 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68639 if ${glibcxx_cv_func__isnanf_use+:} false; then :
68640 $as_echo_n "(cached) " >&6
68641 else
68644 ac_ext=cpp
68645 ac_cpp='$CXXCPP $CPPFLAGS'
68646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68651 /* end confdefs.h. */
68652 #include <math.h>
68653 #ifdef HAVE_IEEEFP_H
68654 #include <ieeefp.h>
68655 #endif
68658 main ()
68660 _isnanf(0);
68662 return 0;
68664 _ACEOF
68665 if ac_fn_cxx_try_compile "$LINENO"; then :
68666 glibcxx_cv_func__isnanf_use=yes
68667 else
68668 glibcxx_cv_func__isnanf_use=no
68670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68671 ac_ext=c
68672 ac_cpp='$CPP $CPPFLAGS'
68673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
68682 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
68684 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68685 for ac_func in _isnanf
68686 do :
68687 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
68688 if test "x$ac_cv_func__isnanf" = xyes; then :
68689 cat >>confdefs.h <<_ACEOF
68690 #define HAVE__ISNANF 1
68691 _ACEOF
68694 done
68703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
68704 $as_echo_n "checking for isinff declaration... " >&6; }
68705 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68706 if ${glibcxx_cv_func_isinff_use+:} false; then :
68707 $as_echo_n "(cached) " >&6
68708 else
68711 ac_ext=cpp
68712 ac_cpp='$CXXCPP $CPPFLAGS'
68713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68718 /* end confdefs.h. */
68719 #include <math.h>
68720 #ifdef HAVE_IEEEFP_H
68721 #include <ieeefp.h>
68722 #endif
68725 main ()
68727 isinff(0);
68729 return 0;
68731 _ACEOF
68732 if ac_fn_cxx_try_compile "$LINENO"; then :
68733 glibcxx_cv_func_isinff_use=yes
68734 else
68735 glibcxx_cv_func_isinff_use=no
68737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68738 ac_ext=c
68739 ac_cpp='$CPP $CPPFLAGS'
68740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
68749 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
68751 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68752 for ac_func in isinff
68753 do :
68754 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
68755 if test "x$ac_cv_func_isinff" = xyes; then :
68756 cat >>confdefs.h <<_ACEOF
68757 #define HAVE_ISINFF 1
68758 _ACEOF
68761 done
68763 else
68765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
68766 $as_echo_n "checking for _isinff declaration... " >&6; }
68767 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68768 if ${glibcxx_cv_func__isinff_use+:} false; then :
68769 $as_echo_n "(cached) " >&6
68770 else
68773 ac_ext=cpp
68774 ac_cpp='$CXXCPP $CPPFLAGS'
68775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68780 /* end confdefs.h. */
68781 #include <math.h>
68782 #ifdef HAVE_IEEEFP_H
68783 #include <ieeefp.h>
68784 #endif
68787 main ()
68789 _isinff(0);
68791 return 0;
68793 _ACEOF
68794 if ac_fn_cxx_try_compile "$LINENO"; then :
68795 glibcxx_cv_func__isinff_use=yes
68796 else
68797 glibcxx_cv_func__isinff_use=no
68799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68800 ac_ext=c
68801 ac_cpp='$CPP $CPPFLAGS'
68802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
68811 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
68813 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68814 for ac_func in _isinff
68815 do :
68816 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
68817 if test "x$ac_cv_func__isinff" = xyes; then :
68818 cat >>confdefs.h <<_ACEOF
68819 #define HAVE__ISINFF 1
68820 _ACEOF
68823 done
68832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
68833 $as_echo_n "checking for atan2f declaration... " >&6; }
68834 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68835 if ${glibcxx_cv_func_atan2f_use+:} false; then :
68836 $as_echo_n "(cached) " >&6
68837 else
68840 ac_ext=cpp
68841 ac_cpp='$CXXCPP $CPPFLAGS'
68842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68847 /* end confdefs.h. */
68848 #include <math.h>
68850 main ()
68852 atan2f(0, 0);
68854 return 0;
68856 _ACEOF
68857 if ac_fn_cxx_try_compile "$LINENO"; then :
68858 glibcxx_cv_func_atan2f_use=yes
68859 else
68860 glibcxx_cv_func_atan2f_use=no
68862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68863 ac_ext=c
68864 ac_cpp='$CPP $CPPFLAGS'
68865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68874 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68876 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68877 for ac_func in atan2f
68878 do :
68879 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68880 if test "x$ac_cv_func_atan2f" = xyes; then :
68881 cat >>confdefs.h <<_ACEOF
68882 #define HAVE_ATAN2F 1
68883 _ACEOF
68886 done
68888 else
68890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68891 $as_echo_n "checking for _atan2f declaration... " >&6; }
68892 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68893 if ${glibcxx_cv_func__atan2f_use+:} false; then :
68894 $as_echo_n "(cached) " >&6
68895 else
68898 ac_ext=cpp
68899 ac_cpp='$CXXCPP $CPPFLAGS'
68900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68905 /* end confdefs.h. */
68906 #include <math.h>
68908 main ()
68910 _atan2f(0, 0);
68912 return 0;
68914 _ACEOF
68915 if ac_fn_cxx_try_compile "$LINENO"; then :
68916 glibcxx_cv_func__atan2f_use=yes
68917 else
68918 glibcxx_cv_func__atan2f_use=no
68920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68921 ac_ext=c
68922 ac_cpp='$CPP $CPPFLAGS'
68923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68932 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68934 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68935 for ac_func in _atan2f
68936 do :
68937 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68938 if test "x$ac_cv_func__atan2f" = xyes; then :
68939 cat >>confdefs.h <<_ACEOF
68940 #define HAVE__ATAN2F 1
68941 _ACEOF
68944 done
68953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68954 $as_echo_n "checking for fabsf declaration... " >&6; }
68955 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68956 if ${glibcxx_cv_func_fabsf_use+:} false; then :
68957 $as_echo_n "(cached) " >&6
68958 else
68961 ac_ext=cpp
68962 ac_cpp='$CXXCPP $CPPFLAGS'
68963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68968 /* end confdefs.h. */
68969 #include <math.h>
68970 #ifdef HAVE_IEEEFP_H
68971 #include <ieeefp.h>
68972 #endif
68975 main ()
68977 fabsf(0);
68979 return 0;
68981 _ACEOF
68982 if ac_fn_cxx_try_compile "$LINENO"; then :
68983 glibcxx_cv_func_fabsf_use=yes
68984 else
68985 glibcxx_cv_func_fabsf_use=no
68987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68988 ac_ext=c
68989 ac_cpp='$CPP $CPPFLAGS'
68990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68999 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
69001 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
69002 for ac_func in fabsf
69003 do :
69004 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
69005 if test "x$ac_cv_func_fabsf" = xyes; then :
69006 cat >>confdefs.h <<_ACEOF
69007 #define HAVE_FABSF 1
69008 _ACEOF
69011 done
69013 else
69015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
69016 $as_echo_n "checking for _fabsf declaration... " >&6; }
69017 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
69018 if ${glibcxx_cv_func__fabsf_use+:} false; then :
69019 $as_echo_n "(cached) " >&6
69020 else
69023 ac_ext=cpp
69024 ac_cpp='$CXXCPP $CPPFLAGS'
69025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69030 /* end confdefs.h. */
69031 #include <math.h>
69032 #ifdef HAVE_IEEEFP_H
69033 #include <ieeefp.h>
69034 #endif
69037 main ()
69039 _fabsf(0);
69041 return 0;
69043 _ACEOF
69044 if ac_fn_cxx_try_compile "$LINENO"; then :
69045 glibcxx_cv_func__fabsf_use=yes
69046 else
69047 glibcxx_cv_func__fabsf_use=no
69049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69050 ac_ext=c
69051 ac_cpp='$CPP $CPPFLAGS'
69052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
69061 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
69063 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
69064 for ac_func in _fabsf
69065 do :
69066 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
69067 if test "x$ac_cv_func__fabsf" = xyes; then :
69068 cat >>confdefs.h <<_ACEOF
69069 #define HAVE__FABSF 1
69070 _ACEOF
69073 done
69082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
69083 $as_echo_n "checking for fmodf declaration... " >&6; }
69084 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
69085 if ${glibcxx_cv_func_fmodf_use+:} false; then :
69086 $as_echo_n "(cached) " >&6
69087 else
69090 ac_ext=cpp
69091 ac_cpp='$CXXCPP $CPPFLAGS'
69092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69097 /* end confdefs.h. */
69098 #include <math.h>
69100 main ()
69102 fmodf(0, 0);
69104 return 0;
69106 _ACEOF
69107 if ac_fn_cxx_try_compile "$LINENO"; then :
69108 glibcxx_cv_func_fmodf_use=yes
69109 else
69110 glibcxx_cv_func_fmodf_use=no
69112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69113 ac_ext=c
69114 ac_cpp='$CPP $CPPFLAGS'
69115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
69124 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
69126 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
69127 for ac_func in fmodf
69128 do :
69129 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
69130 if test "x$ac_cv_func_fmodf" = xyes; then :
69131 cat >>confdefs.h <<_ACEOF
69132 #define HAVE_FMODF 1
69133 _ACEOF
69136 done
69138 else
69140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
69141 $as_echo_n "checking for _fmodf declaration... " >&6; }
69142 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
69143 if ${glibcxx_cv_func__fmodf_use+:} false; then :
69144 $as_echo_n "(cached) " >&6
69145 else
69148 ac_ext=cpp
69149 ac_cpp='$CXXCPP $CPPFLAGS'
69150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69155 /* end confdefs.h. */
69156 #include <math.h>
69158 main ()
69160 _fmodf(0, 0);
69162 return 0;
69164 _ACEOF
69165 if ac_fn_cxx_try_compile "$LINENO"; then :
69166 glibcxx_cv_func__fmodf_use=yes
69167 else
69168 glibcxx_cv_func__fmodf_use=no
69170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69171 ac_ext=c
69172 ac_cpp='$CPP $CPPFLAGS'
69173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
69182 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
69184 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
69185 for ac_func in _fmodf
69186 do :
69187 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
69188 if test "x$ac_cv_func__fmodf" = xyes; then :
69189 cat >>confdefs.h <<_ACEOF
69190 #define HAVE__FMODF 1
69191 _ACEOF
69194 done
69203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
69204 $as_echo_n "checking for frexpf declaration... " >&6; }
69205 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
69206 if ${glibcxx_cv_func_frexpf_use+:} false; then :
69207 $as_echo_n "(cached) " >&6
69208 else
69211 ac_ext=cpp
69212 ac_cpp='$CXXCPP $CPPFLAGS'
69213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69218 /* end confdefs.h. */
69219 #include <math.h>
69221 main ()
69223 frexpf(0, 0);
69225 return 0;
69227 _ACEOF
69228 if ac_fn_cxx_try_compile "$LINENO"; then :
69229 glibcxx_cv_func_frexpf_use=yes
69230 else
69231 glibcxx_cv_func_frexpf_use=no
69233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69234 ac_ext=c
69235 ac_cpp='$CPP $CPPFLAGS'
69236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
69245 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
69247 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
69248 for ac_func in frexpf
69249 do :
69250 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
69251 if test "x$ac_cv_func_frexpf" = xyes; then :
69252 cat >>confdefs.h <<_ACEOF
69253 #define HAVE_FREXPF 1
69254 _ACEOF
69257 done
69259 else
69261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
69262 $as_echo_n "checking for _frexpf declaration... " >&6; }
69263 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
69264 if ${glibcxx_cv_func__frexpf_use+:} false; then :
69265 $as_echo_n "(cached) " >&6
69266 else
69269 ac_ext=cpp
69270 ac_cpp='$CXXCPP $CPPFLAGS'
69271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69276 /* end confdefs.h. */
69277 #include <math.h>
69279 main ()
69281 _frexpf(0, 0);
69283 return 0;
69285 _ACEOF
69286 if ac_fn_cxx_try_compile "$LINENO"; then :
69287 glibcxx_cv_func__frexpf_use=yes
69288 else
69289 glibcxx_cv_func__frexpf_use=no
69291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69292 ac_ext=c
69293 ac_cpp='$CPP $CPPFLAGS'
69294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
69303 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
69305 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
69306 for ac_func in _frexpf
69307 do :
69308 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
69309 if test "x$ac_cv_func__frexpf" = xyes; then :
69310 cat >>confdefs.h <<_ACEOF
69311 #define HAVE__FREXPF 1
69312 _ACEOF
69315 done
69324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
69325 $as_echo_n "checking for hypotf declaration... " >&6; }
69326 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
69327 if ${glibcxx_cv_func_hypotf_use+:} false; then :
69328 $as_echo_n "(cached) " >&6
69329 else
69332 ac_ext=cpp
69333 ac_cpp='$CXXCPP $CPPFLAGS'
69334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69339 /* end confdefs.h. */
69340 #include <math.h>
69342 main ()
69344 hypotf(0, 0);
69346 return 0;
69348 _ACEOF
69349 if ac_fn_cxx_try_compile "$LINENO"; then :
69350 glibcxx_cv_func_hypotf_use=yes
69351 else
69352 glibcxx_cv_func_hypotf_use=no
69354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69355 ac_ext=c
69356 ac_cpp='$CPP $CPPFLAGS'
69357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
69366 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
69368 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
69369 for ac_func in hypotf
69370 do :
69371 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
69372 if test "x$ac_cv_func_hypotf" = xyes; then :
69373 cat >>confdefs.h <<_ACEOF
69374 #define HAVE_HYPOTF 1
69375 _ACEOF
69378 done
69380 else
69382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
69383 $as_echo_n "checking for _hypotf declaration... " >&6; }
69384 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
69385 if ${glibcxx_cv_func__hypotf_use+:} false; then :
69386 $as_echo_n "(cached) " >&6
69387 else
69390 ac_ext=cpp
69391 ac_cpp='$CXXCPP $CPPFLAGS'
69392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69397 /* end confdefs.h. */
69398 #include <math.h>
69400 main ()
69402 _hypotf(0, 0);
69404 return 0;
69406 _ACEOF
69407 if ac_fn_cxx_try_compile "$LINENO"; then :
69408 glibcxx_cv_func__hypotf_use=yes
69409 else
69410 glibcxx_cv_func__hypotf_use=no
69412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69413 ac_ext=c
69414 ac_cpp='$CPP $CPPFLAGS'
69415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
69424 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
69426 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
69427 for ac_func in _hypotf
69428 do :
69429 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
69430 if test "x$ac_cv_func__hypotf" = xyes; then :
69431 cat >>confdefs.h <<_ACEOF
69432 #define HAVE__HYPOTF 1
69433 _ACEOF
69436 done
69445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
69446 $as_echo_n "checking for ldexpf declaration... " >&6; }
69447 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
69448 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
69449 $as_echo_n "(cached) " >&6
69450 else
69453 ac_ext=cpp
69454 ac_cpp='$CXXCPP $CPPFLAGS'
69455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69460 /* end confdefs.h. */
69461 #include <math.h>
69463 main ()
69465 ldexpf(0, 0);
69467 return 0;
69469 _ACEOF
69470 if ac_fn_cxx_try_compile "$LINENO"; then :
69471 glibcxx_cv_func_ldexpf_use=yes
69472 else
69473 glibcxx_cv_func_ldexpf_use=no
69475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69476 ac_ext=c
69477 ac_cpp='$CPP $CPPFLAGS'
69478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
69487 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
69489 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
69490 for ac_func in ldexpf
69491 do :
69492 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
69493 if test "x$ac_cv_func_ldexpf" = xyes; then :
69494 cat >>confdefs.h <<_ACEOF
69495 #define HAVE_LDEXPF 1
69496 _ACEOF
69499 done
69501 else
69503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
69504 $as_echo_n "checking for _ldexpf declaration... " >&6; }
69505 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
69506 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
69507 $as_echo_n "(cached) " >&6
69508 else
69511 ac_ext=cpp
69512 ac_cpp='$CXXCPP $CPPFLAGS'
69513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69518 /* end confdefs.h. */
69519 #include <math.h>
69521 main ()
69523 _ldexpf(0, 0);
69525 return 0;
69527 _ACEOF
69528 if ac_fn_cxx_try_compile "$LINENO"; then :
69529 glibcxx_cv_func__ldexpf_use=yes
69530 else
69531 glibcxx_cv_func__ldexpf_use=no
69533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69534 ac_ext=c
69535 ac_cpp='$CPP $CPPFLAGS'
69536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
69545 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
69547 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
69548 for ac_func in _ldexpf
69549 do :
69550 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
69551 if test "x$ac_cv_func__ldexpf" = xyes; then :
69552 cat >>confdefs.h <<_ACEOF
69553 #define HAVE__LDEXPF 1
69554 _ACEOF
69557 done
69566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
69567 $as_echo_n "checking for logf declaration... " >&6; }
69568 if test x${glibcxx_cv_func_logf_use+set} != xset; then
69569 if ${glibcxx_cv_func_logf_use+:} false; then :
69570 $as_echo_n "(cached) " >&6
69571 else
69574 ac_ext=cpp
69575 ac_cpp='$CXXCPP $CPPFLAGS'
69576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69581 /* end confdefs.h. */
69582 #include <math.h>
69583 #ifdef HAVE_IEEEFP_H
69584 #include <ieeefp.h>
69585 #endif
69588 main ()
69590 logf(0);
69592 return 0;
69594 _ACEOF
69595 if ac_fn_cxx_try_compile "$LINENO"; then :
69596 glibcxx_cv_func_logf_use=yes
69597 else
69598 glibcxx_cv_func_logf_use=no
69600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69601 ac_ext=c
69602 ac_cpp='$CPP $CPPFLAGS'
69603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
69612 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
69614 if test x$glibcxx_cv_func_logf_use = x"yes"; then
69615 for ac_func in logf
69616 do :
69617 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
69618 if test "x$ac_cv_func_logf" = xyes; then :
69619 cat >>confdefs.h <<_ACEOF
69620 #define HAVE_LOGF 1
69621 _ACEOF
69624 done
69626 else
69628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
69629 $as_echo_n "checking for _logf declaration... " >&6; }
69630 if test x${glibcxx_cv_func__logf_use+set} != xset; then
69631 if ${glibcxx_cv_func__logf_use+:} false; then :
69632 $as_echo_n "(cached) " >&6
69633 else
69636 ac_ext=cpp
69637 ac_cpp='$CXXCPP $CPPFLAGS'
69638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69643 /* end confdefs.h. */
69644 #include <math.h>
69645 #ifdef HAVE_IEEEFP_H
69646 #include <ieeefp.h>
69647 #endif
69650 main ()
69652 _logf(0);
69654 return 0;
69656 _ACEOF
69657 if ac_fn_cxx_try_compile "$LINENO"; then :
69658 glibcxx_cv_func__logf_use=yes
69659 else
69660 glibcxx_cv_func__logf_use=no
69662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69663 ac_ext=c
69664 ac_cpp='$CPP $CPPFLAGS'
69665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
69674 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
69676 if test x$glibcxx_cv_func__logf_use = x"yes"; then
69677 for ac_func in _logf
69678 do :
69679 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
69680 if test "x$ac_cv_func__logf" = xyes; then :
69681 cat >>confdefs.h <<_ACEOF
69682 #define HAVE__LOGF 1
69683 _ACEOF
69686 done
69695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
69696 $as_echo_n "checking for log10f declaration... " >&6; }
69697 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
69698 if ${glibcxx_cv_func_log10f_use+:} false; then :
69699 $as_echo_n "(cached) " >&6
69700 else
69703 ac_ext=cpp
69704 ac_cpp='$CXXCPP $CPPFLAGS'
69705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69710 /* end confdefs.h. */
69711 #include <math.h>
69712 #ifdef HAVE_IEEEFP_H
69713 #include <ieeefp.h>
69714 #endif
69717 main ()
69719 log10f(0);
69721 return 0;
69723 _ACEOF
69724 if ac_fn_cxx_try_compile "$LINENO"; then :
69725 glibcxx_cv_func_log10f_use=yes
69726 else
69727 glibcxx_cv_func_log10f_use=no
69729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69730 ac_ext=c
69731 ac_cpp='$CPP $CPPFLAGS'
69732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
69741 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
69743 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69744 for ac_func in log10f
69745 do :
69746 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
69747 if test "x$ac_cv_func_log10f" = xyes; then :
69748 cat >>confdefs.h <<_ACEOF
69749 #define HAVE_LOG10F 1
69750 _ACEOF
69753 done
69755 else
69757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
69758 $as_echo_n "checking for _log10f declaration... " >&6; }
69759 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69760 if ${glibcxx_cv_func__log10f_use+:} false; then :
69761 $as_echo_n "(cached) " >&6
69762 else
69765 ac_ext=cpp
69766 ac_cpp='$CXXCPP $CPPFLAGS'
69767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69772 /* end confdefs.h. */
69773 #include <math.h>
69774 #ifdef HAVE_IEEEFP_H
69775 #include <ieeefp.h>
69776 #endif
69779 main ()
69781 _log10f(0);
69783 return 0;
69785 _ACEOF
69786 if ac_fn_cxx_try_compile "$LINENO"; then :
69787 glibcxx_cv_func__log10f_use=yes
69788 else
69789 glibcxx_cv_func__log10f_use=no
69791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69792 ac_ext=c
69793 ac_cpp='$CPP $CPPFLAGS'
69794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
69803 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
69805 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69806 for ac_func in _log10f
69807 do :
69808 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
69809 if test "x$ac_cv_func__log10f" = xyes; then :
69810 cat >>confdefs.h <<_ACEOF
69811 #define HAVE__LOG10F 1
69812 _ACEOF
69815 done
69824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69825 $as_echo_n "checking for modff declaration... " >&6; }
69826 if test x${glibcxx_cv_func_modff_use+set} != xset; then
69827 if ${glibcxx_cv_func_modff_use+:} false; then :
69828 $as_echo_n "(cached) " >&6
69829 else
69832 ac_ext=cpp
69833 ac_cpp='$CXXCPP $CPPFLAGS'
69834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69839 /* end confdefs.h. */
69840 #include <math.h>
69842 main ()
69844 modff(0, 0);
69846 return 0;
69848 _ACEOF
69849 if ac_fn_cxx_try_compile "$LINENO"; then :
69850 glibcxx_cv_func_modff_use=yes
69851 else
69852 glibcxx_cv_func_modff_use=no
69854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69855 ac_ext=c
69856 ac_cpp='$CPP $CPPFLAGS'
69857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69866 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
69868 if test x$glibcxx_cv_func_modff_use = x"yes"; then
69869 for ac_func in modff
69870 do :
69871 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69872 if test "x$ac_cv_func_modff" = xyes; then :
69873 cat >>confdefs.h <<_ACEOF
69874 #define HAVE_MODFF 1
69875 _ACEOF
69878 done
69880 else
69882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69883 $as_echo_n "checking for _modff declaration... " >&6; }
69884 if test x${glibcxx_cv_func__modff_use+set} != xset; then
69885 if ${glibcxx_cv_func__modff_use+:} false; then :
69886 $as_echo_n "(cached) " >&6
69887 else
69890 ac_ext=cpp
69891 ac_cpp='$CXXCPP $CPPFLAGS'
69892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69897 /* end confdefs.h. */
69898 #include <math.h>
69900 main ()
69902 _modff(0, 0);
69904 return 0;
69906 _ACEOF
69907 if ac_fn_cxx_try_compile "$LINENO"; then :
69908 glibcxx_cv_func__modff_use=yes
69909 else
69910 glibcxx_cv_func__modff_use=no
69912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69913 ac_ext=c
69914 ac_cpp='$CPP $CPPFLAGS'
69915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69924 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
69926 if test x$glibcxx_cv_func__modff_use = x"yes"; then
69927 for ac_func in _modff
69928 do :
69929 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69930 if test "x$ac_cv_func__modff" = xyes; then :
69931 cat >>confdefs.h <<_ACEOF
69932 #define HAVE__MODFF 1
69933 _ACEOF
69936 done
69945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69946 $as_echo_n "checking for modf declaration... " >&6; }
69947 if test x${glibcxx_cv_func_modf_use+set} != xset; then
69948 if ${glibcxx_cv_func_modf_use+:} false; then :
69949 $as_echo_n "(cached) " >&6
69950 else
69953 ac_ext=cpp
69954 ac_cpp='$CXXCPP $CPPFLAGS'
69955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69960 /* end confdefs.h. */
69961 #include <math.h>
69963 main ()
69965 modf(0, 0);
69967 return 0;
69969 _ACEOF
69970 if ac_fn_cxx_try_compile "$LINENO"; then :
69971 glibcxx_cv_func_modf_use=yes
69972 else
69973 glibcxx_cv_func_modf_use=no
69975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69976 ac_ext=c
69977 ac_cpp='$CPP $CPPFLAGS'
69978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69987 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
69989 if test x$glibcxx_cv_func_modf_use = x"yes"; then
69990 for ac_func in modf
69991 do :
69992 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69993 if test "x$ac_cv_func_modf" = xyes; then :
69994 cat >>confdefs.h <<_ACEOF
69995 #define HAVE_MODF 1
69996 _ACEOF
69999 done
70001 else
70003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
70004 $as_echo_n "checking for _modf declaration... " >&6; }
70005 if test x${glibcxx_cv_func__modf_use+set} != xset; then
70006 if ${glibcxx_cv_func__modf_use+:} false; then :
70007 $as_echo_n "(cached) " >&6
70008 else
70011 ac_ext=cpp
70012 ac_cpp='$CXXCPP $CPPFLAGS'
70013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70018 /* end confdefs.h. */
70019 #include <math.h>
70021 main ()
70023 _modf(0, 0);
70025 return 0;
70027 _ACEOF
70028 if ac_fn_cxx_try_compile "$LINENO"; then :
70029 glibcxx_cv_func__modf_use=yes
70030 else
70031 glibcxx_cv_func__modf_use=no
70033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70034 ac_ext=c
70035 ac_cpp='$CPP $CPPFLAGS'
70036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
70045 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
70047 if test x$glibcxx_cv_func__modf_use = x"yes"; then
70048 for ac_func in _modf
70049 do :
70050 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
70051 if test "x$ac_cv_func__modf" = xyes; then :
70052 cat >>confdefs.h <<_ACEOF
70053 #define HAVE__MODF 1
70054 _ACEOF
70057 done
70066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
70067 $as_echo_n "checking for powf declaration... " >&6; }
70068 if test x${glibcxx_cv_func_powf_use+set} != xset; then
70069 if ${glibcxx_cv_func_powf_use+:} false; then :
70070 $as_echo_n "(cached) " >&6
70071 else
70074 ac_ext=cpp
70075 ac_cpp='$CXXCPP $CPPFLAGS'
70076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70081 /* end confdefs.h. */
70082 #include <math.h>
70084 main ()
70086 powf(0, 0);
70088 return 0;
70090 _ACEOF
70091 if ac_fn_cxx_try_compile "$LINENO"; then :
70092 glibcxx_cv_func_powf_use=yes
70093 else
70094 glibcxx_cv_func_powf_use=no
70096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70097 ac_ext=c
70098 ac_cpp='$CPP $CPPFLAGS'
70099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
70108 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
70110 if test x$glibcxx_cv_func_powf_use = x"yes"; then
70111 for ac_func in powf
70112 do :
70113 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
70114 if test "x$ac_cv_func_powf" = xyes; then :
70115 cat >>confdefs.h <<_ACEOF
70116 #define HAVE_POWF 1
70117 _ACEOF
70120 done
70122 else
70124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
70125 $as_echo_n "checking for _powf declaration... " >&6; }
70126 if test x${glibcxx_cv_func__powf_use+set} != xset; then
70127 if ${glibcxx_cv_func__powf_use+:} false; then :
70128 $as_echo_n "(cached) " >&6
70129 else
70132 ac_ext=cpp
70133 ac_cpp='$CXXCPP $CPPFLAGS'
70134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70139 /* end confdefs.h. */
70140 #include <math.h>
70142 main ()
70144 _powf(0, 0);
70146 return 0;
70148 _ACEOF
70149 if ac_fn_cxx_try_compile "$LINENO"; then :
70150 glibcxx_cv_func__powf_use=yes
70151 else
70152 glibcxx_cv_func__powf_use=no
70154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70155 ac_ext=c
70156 ac_cpp='$CPP $CPPFLAGS'
70157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
70166 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
70168 if test x$glibcxx_cv_func__powf_use = x"yes"; then
70169 for ac_func in _powf
70170 do :
70171 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
70172 if test "x$ac_cv_func__powf" = xyes; then :
70173 cat >>confdefs.h <<_ACEOF
70174 #define HAVE__POWF 1
70175 _ACEOF
70178 done
70187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
70188 $as_echo_n "checking for sqrtf declaration... " >&6; }
70189 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
70190 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
70191 $as_echo_n "(cached) " >&6
70192 else
70195 ac_ext=cpp
70196 ac_cpp='$CXXCPP $CPPFLAGS'
70197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70202 /* end confdefs.h. */
70203 #include <math.h>
70204 #ifdef HAVE_IEEEFP_H
70205 #include <ieeefp.h>
70206 #endif
70209 main ()
70211 sqrtf(0);
70213 return 0;
70215 _ACEOF
70216 if ac_fn_cxx_try_compile "$LINENO"; then :
70217 glibcxx_cv_func_sqrtf_use=yes
70218 else
70219 glibcxx_cv_func_sqrtf_use=no
70221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70222 ac_ext=c
70223 ac_cpp='$CPP $CPPFLAGS'
70224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
70233 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
70235 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
70236 for ac_func in sqrtf
70237 do :
70238 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
70239 if test "x$ac_cv_func_sqrtf" = xyes; then :
70240 cat >>confdefs.h <<_ACEOF
70241 #define HAVE_SQRTF 1
70242 _ACEOF
70245 done
70247 else
70249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
70250 $as_echo_n "checking for _sqrtf declaration... " >&6; }
70251 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
70252 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
70253 $as_echo_n "(cached) " >&6
70254 else
70257 ac_ext=cpp
70258 ac_cpp='$CXXCPP $CPPFLAGS'
70259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70264 /* end confdefs.h. */
70265 #include <math.h>
70266 #ifdef HAVE_IEEEFP_H
70267 #include <ieeefp.h>
70268 #endif
70271 main ()
70273 _sqrtf(0);
70275 return 0;
70277 _ACEOF
70278 if ac_fn_cxx_try_compile "$LINENO"; then :
70279 glibcxx_cv_func__sqrtf_use=yes
70280 else
70281 glibcxx_cv_func__sqrtf_use=no
70283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70284 ac_ext=c
70285 ac_cpp='$CPP $CPPFLAGS'
70286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
70295 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
70297 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
70298 for ac_func in _sqrtf
70299 do :
70300 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
70301 if test "x$ac_cv_func__sqrtf" = xyes; then :
70302 cat >>confdefs.h <<_ACEOF
70303 #define HAVE__SQRTF 1
70304 _ACEOF
70307 done
70316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
70317 $as_echo_n "checking for sincosf declaration... " >&6; }
70318 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
70319 if ${glibcxx_cv_func_sincosf_use+:} false; then :
70320 $as_echo_n "(cached) " >&6
70321 else
70324 ac_ext=cpp
70325 ac_cpp='$CXXCPP $CPPFLAGS'
70326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70331 /* end confdefs.h. */
70332 #include <math.h>
70334 main ()
70336 sincosf(0, 0, 0);
70338 return 0;
70340 _ACEOF
70341 if ac_fn_cxx_try_compile "$LINENO"; then :
70342 glibcxx_cv_func_sincosf_use=yes
70343 else
70344 glibcxx_cv_func_sincosf_use=no
70346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70347 ac_ext=c
70348 ac_cpp='$CPP $CPPFLAGS'
70349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
70358 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
70360 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
70361 for ac_func in sincosf
70362 do :
70363 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
70364 if test "x$ac_cv_func_sincosf" = xyes; then :
70365 cat >>confdefs.h <<_ACEOF
70366 #define HAVE_SINCOSF 1
70367 _ACEOF
70370 done
70372 else
70374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
70375 $as_echo_n "checking for _sincosf declaration... " >&6; }
70376 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
70377 if ${glibcxx_cv_func__sincosf_use+:} false; then :
70378 $as_echo_n "(cached) " >&6
70379 else
70382 ac_ext=cpp
70383 ac_cpp='$CXXCPP $CPPFLAGS'
70384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70389 /* end confdefs.h. */
70390 #include <math.h>
70392 main ()
70394 _sincosf(0, 0, 0);
70396 return 0;
70398 _ACEOF
70399 if ac_fn_cxx_try_compile "$LINENO"; then :
70400 glibcxx_cv_func__sincosf_use=yes
70401 else
70402 glibcxx_cv_func__sincosf_use=no
70404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70405 ac_ext=c
70406 ac_cpp='$CPP $CPPFLAGS'
70407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
70416 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
70418 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
70419 for ac_func in _sincosf
70420 do :
70421 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
70422 if test "x$ac_cv_func__sincosf" = xyes; then :
70423 cat >>confdefs.h <<_ACEOF
70424 #define HAVE__SINCOSF 1
70425 _ACEOF
70428 done
70437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
70438 $as_echo_n "checking for finitef declaration... " >&6; }
70439 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
70440 if ${glibcxx_cv_func_finitef_use+:} false; then :
70441 $as_echo_n "(cached) " >&6
70442 else
70445 ac_ext=cpp
70446 ac_cpp='$CXXCPP $CPPFLAGS'
70447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70452 /* end confdefs.h. */
70453 #include <math.h>
70454 #ifdef HAVE_IEEEFP_H
70455 #include <ieeefp.h>
70456 #endif
70459 main ()
70461 finitef(0);
70463 return 0;
70465 _ACEOF
70466 if ac_fn_cxx_try_compile "$LINENO"; then :
70467 glibcxx_cv_func_finitef_use=yes
70468 else
70469 glibcxx_cv_func_finitef_use=no
70471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70472 ac_ext=c
70473 ac_cpp='$CPP $CPPFLAGS'
70474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
70483 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
70485 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
70486 for ac_func in finitef
70487 do :
70488 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
70489 if test "x$ac_cv_func_finitef" = xyes; then :
70490 cat >>confdefs.h <<_ACEOF
70491 #define HAVE_FINITEF 1
70492 _ACEOF
70495 done
70497 else
70499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
70500 $as_echo_n "checking for _finitef declaration... " >&6; }
70501 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
70502 if ${glibcxx_cv_func__finitef_use+:} false; then :
70503 $as_echo_n "(cached) " >&6
70504 else
70507 ac_ext=cpp
70508 ac_cpp='$CXXCPP $CPPFLAGS'
70509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70514 /* end confdefs.h. */
70515 #include <math.h>
70516 #ifdef HAVE_IEEEFP_H
70517 #include <ieeefp.h>
70518 #endif
70521 main ()
70523 _finitef(0);
70525 return 0;
70527 _ACEOF
70528 if ac_fn_cxx_try_compile "$LINENO"; then :
70529 glibcxx_cv_func__finitef_use=yes
70530 else
70531 glibcxx_cv_func__finitef_use=no
70533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70534 ac_ext=c
70535 ac_cpp='$CPP $CPPFLAGS'
70536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
70545 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
70547 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
70548 for ac_func in _finitef
70549 do :
70550 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
70551 if test "x$ac_cv_func__finitef" = xyes; then :
70552 cat >>confdefs.h <<_ACEOF
70553 #define HAVE__FINITEF 1
70554 _ACEOF
70557 done
70566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
70567 $as_echo_n "checking for long double trig functions... " >&6; }
70568 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
70569 $as_echo_n "(cached) " >&6
70570 else
70573 ac_ext=cpp
70574 ac_cpp='$CXXCPP $CPPFLAGS'
70575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70580 /* end confdefs.h. */
70581 #include <math.h>
70583 main ()
70585 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
70587 return 0;
70589 _ACEOF
70590 if ac_fn_cxx_try_compile "$LINENO"; then :
70591 glibcxx_cv_func_long_double_trig_use=yes
70592 else
70593 glibcxx_cv_func_long_double_trig_use=no
70595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70596 ac_ext=c
70597 ac_cpp='$CPP $CPPFLAGS'
70598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
70605 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
70606 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
70607 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
70608 do :
70609 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70610 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70611 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70612 cat >>confdefs.h <<_ACEOF
70613 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70614 _ACEOF
70617 done
70619 else
70620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
70621 $as_echo_n "checking for _long double trig functions... " >&6; }
70622 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
70623 $as_echo_n "(cached) " >&6
70624 else
70627 ac_ext=cpp
70628 ac_cpp='$CXXCPP $CPPFLAGS'
70629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70634 /* end confdefs.h. */
70635 #include <math.h>
70637 main ()
70639 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
70641 return 0;
70643 _ACEOF
70644 if ac_fn_cxx_try_compile "$LINENO"; then :
70645 glibcxx_cv_func__long_double_trig_use=yes
70646 else
70647 glibcxx_cv_func__long_double_trig_use=no
70649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70650 ac_ext=c
70651 ac_cpp='$CPP $CPPFLAGS'
70652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
70659 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
70660 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70661 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
70662 do :
70663 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70664 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70665 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70666 cat >>confdefs.h <<_ACEOF
70667 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70668 _ACEOF
70671 done
70680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
70681 $as_echo_n "checking for long double round functions... " >&6; }
70682 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
70683 $as_echo_n "(cached) " >&6
70684 else
70687 ac_ext=cpp
70688 ac_cpp='$CXXCPP $CPPFLAGS'
70689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70694 /* end confdefs.h. */
70695 #include <math.h>
70697 main ()
70699 ceill (0); floorl (0);
70701 return 0;
70703 _ACEOF
70704 if ac_fn_cxx_try_compile "$LINENO"; then :
70705 glibcxx_cv_func_long_double_round_use=yes
70706 else
70707 glibcxx_cv_func_long_double_round_use=no
70709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70710 ac_ext=c
70711 ac_cpp='$CPP $CPPFLAGS'
70712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
70719 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
70720 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
70721 for ac_func in ceill floorl
70722 do :
70723 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70724 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70725 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70726 cat >>confdefs.h <<_ACEOF
70727 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70728 _ACEOF
70731 done
70733 else
70734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
70735 $as_echo_n "checking for _long double round functions... " >&6; }
70736 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
70737 $as_echo_n "(cached) " >&6
70738 else
70741 ac_ext=cpp
70742 ac_cpp='$CXXCPP $CPPFLAGS'
70743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70748 /* end confdefs.h. */
70749 #include <math.h>
70751 main ()
70753 _ceill (0); _floorl (0);
70755 return 0;
70757 _ACEOF
70758 if ac_fn_cxx_try_compile "$LINENO"; then :
70759 glibcxx_cv_func__long_double_round_use=yes
70760 else
70761 glibcxx_cv_func__long_double_round_use=no
70763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70764 ac_ext=c
70765 ac_cpp='$CPP $CPPFLAGS'
70766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
70773 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
70774 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70775 for ac_func in _ceill _floorl
70776 do :
70777 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70778 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70779 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70780 cat >>confdefs.h <<_ACEOF
70781 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70782 _ACEOF
70785 done
70795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
70796 $as_echo_n "checking for isnanl declaration... " >&6; }
70797 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70798 if ${glibcxx_cv_func_isnanl_use+:} false; then :
70799 $as_echo_n "(cached) " >&6
70800 else
70803 ac_ext=cpp
70804 ac_cpp='$CXXCPP $CPPFLAGS'
70805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70810 /* end confdefs.h. */
70811 #include <math.h>
70812 #ifdef HAVE_IEEEFP_H
70813 #include <ieeefp.h>
70814 #endif
70817 main ()
70819 isnanl(0);
70821 return 0;
70823 _ACEOF
70824 if ac_fn_cxx_try_compile "$LINENO"; then :
70825 glibcxx_cv_func_isnanl_use=yes
70826 else
70827 glibcxx_cv_func_isnanl_use=no
70829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70830 ac_ext=c
70831 ac_cpp='$CPP $CPPFLAGS'
70832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
70841 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
70843 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70844 for ac_func in isnanl
70845 do :
70846 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
70847 if test "x$ac_cv_func_isnanl" = xyes; then :
70848 cat >>confdefs.h <<_ACEOF
70849 #define HAVE_ISNANL 1
70850 _ACEOF
70853 done
70855 else
70857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70858 $as_echo_n "checking for _isnanl declaration... " >&6; }
70859 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70860 if ${glibcxx_cv_func__isnanl_use+:} false; then :
70861 $as_echo_n "(cached) " >&6
70862 else
70865 ac_ext=cpp
70866 ac_cpp='$CXXCPP $CPPFLAGS'
70867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70872 /* end confdefs.h. */
70873 #include <math.h>
70874 #ifdef HAVE_IEEEFP_H
70875 #include <ieeefp.h>
70876 #endif
70879 main ()
70881 _isnanl(0);
70883 return 0;
70885 _ACEOF
70886 if ac_fn_cxx_try_compile "$LINENO"; then :
70887 glibcxx_cv_func__isnanl_use=yes
70888 else
70889 glibcxx_cv_func__isnanl_use=no
70891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70892 ac_ext=c
70893 ac_cpp='$CPP $CPPFLAGS'
70894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70903 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70905 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70906 for ac_func in _isnanl
70907 do :
70908 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70909 if test "x$ac_cv_func__isnanl" = xyes; then :
70910 cat >>confdefs.h <<_ACEOF
70911 #define HAVE__ISNANL 1
70912 _ACEOF
70915 done
70924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70925 $as_echo_n "checking for isinfl declaration... " >&6; }
70926 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70927 if ${glibcxx_cv_func_isinfl_use+:} false; then :
70928 $as_echo_n "(cached) " >&6
70929 else
70932 ac_ext=cpp
70933 ac_cpp='$CXXCPP $CPPFLAGS'
70934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70939 /* end confdefs.h. */
70940 #include <math.h>
70941 #ifdef HAVE_IEEEFP_H
70942 #include <ieeefp.h>
70943 #endif
70946 main ()
70948 isinfl(0);
70950 return 0;
70952 _ACEOF
70953 if ac_fn_cxx_try_compile "$LINENO"; then :
70954 glibcxx_cv_func_isinfl_use=yes
70955 else
70956 glibcxx_cv_func_isinfl_use=no
70958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70959 ac_ext=c
70960 ac_cpp='$CPP $CPPFLAGS'
70961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70970 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70972 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70973 for ac_func in isinfl
70974 do :
70975 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70976 if test "x$ac_cv_func_isinfl" = xyes; then :
70977 cat >>confdefs.h <<_ACEOF
70978 #define HAVE_ISINFL 1
70979 _ACEOF
70982 done
70984 else
70986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70987 $as_echo_n "checking for _isinfl declaration... " >&6; }
70988 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70989 if ${glibcxx_cv_func__isinfl_use+:} false; then :
70990 $as_echo_n "(cached) " >&6
70991 else
70994 ac_ext=cpp
70995 ac_cpp='$CXXCPP $CPPFLAGS'
70996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71001 /* end confdefs.h. */
71002 #include <math.h>
71003 #ifdef HAVE_IEEEFP_H
71004 #include <ieeefp.h>
71005 #endif
71008 main ()
71010 _isinfl(0);
71012 return 0;
71014 _ACEOF
71015 if ac_fn_cxx_try_compile "$LINENO"; then :
71016 glibcxx_cv_func__isinfl_use=yes
71017 else
71018 glibcxx_cv_func__isinfl_use=no
71020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71021 ac_ext=c
71022 ac_cpp='$CPP $CPPFLAGS'
71023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
71032 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
71034 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
71035 for ac_func in _isinfl
71036 do :
71037 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
71038 if test "x$ac_cv_func__isinfl" = xyes; then :
71039 cat >>confdefs.h <<_ACEOF
71040 #define HAVE__ISINFL 1
71041 _ACEOF
71044 done
71053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
71054 $as_echo_n "checking for atan2l declaration... " >&6; }
71055 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
71056 if ${glibcxx_cv_func_atan2l_use+:} false; then :
71057 $as_echo_n "(cached) " >&6
71058 else
71061 ac_ext=cpp
71062 ac_cpp='$CXXCPP $CPPFLAGS'
71063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71068 /* end confdefs.h. */
71069 #include <math.h>
71071 main ()
71073 atan2l(0, 0);
71075 return 0;
71077 _ACEOF
71078 if ac_fn_cxx_try_compile "$LINENO"; then :
71079 glibcxx_cv_func_atan2l_use=yes
71080 else
71081 glibcxx_cv_func_atan2l_use=no
71083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71084 ac_ext=c
71085 ac_cpp='$CPP $CPPFLAGS'
71086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
71095 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
71097 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
71098 for ac_func in atan2l
71099 do :
71100 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
71101 if test "x$ac_cv_func_atan2l" = xyes; then :
71102 cat >>confdefs.h <<_ACEOF
71103 #define HAVE_ATAN2L 1
71104 _ACEOF
71107 done
71109 else
71111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
71112 $as_echo_n "checking for _atan2l declaration... " >&6; }
71113 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
71114 if ${glibcxx_cv_func__atan2l_use+:} false; then :
71115 $as_echo_n "(cached) " >&6
71116 else
71119 ac_ext=cpp
71120 ac_cpp='$CXXCPP $CPPFLAGS'
71121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71126 /* end confdefs.h. */
71127 #include <math.h>
71129 main ()
71131 _atan2l(0, 0);
71133 return 0;
71135 _ACEOF
71136 if ac_fn_cxx_try_compile "$LINENO"; then :
71137 glibcxx_cv_func__atan2l_use=yes
71138 else
71139 glibcxx_cv_func__atan2l_use=no
71141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71142 ac_ext=c
71143 ac_cpp='$CPP $CPPFLAGS'
71144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
71153 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
71155 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
71156 for ac_func in _atan2l
71157 do :
71158 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
71159 if test "x$ac_cv_func__atan2l" = xyes; then :
71160 cat >>confdefs.h <<_ACEOF
71161 #define HAVE__ATAN2L 1
71162 _ACEOF
71165 done
71174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
71175 $as_echo_n "checking for expl declaration... " >&6; }
71176 if test x${glibcxx_cv_func_expl_use+set} != xset; then
71177 if ${glibcxx_cv_func_expl_use+:} false; then :
71178 $as_echo_n "(cached) " >&6
71179 else
71182 ac_ext=cpp
71183 ac_cpp='$CXXCPP $CPPFLAGS'
71184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71189 /* end confdefs.h. */
71190 #include <math.h>
71191 #ifdef HAVE_IEEEFP_H
71192 #include <ieeefp.h>
71193 #endif
71196 main ()
71198 expl(0);
71200 return 0;
71202 _ACEOF
71203 if ac_fn_cxx_try_compile "$LINENO"; then :
71204 glibcxx_cv_func_expl_use=yes
71205 else
71206 glibcxx_cv_func_expl_use=no
71208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71209 ac_ext=c
71210 ac_cpp='$CPP $CPPFLAGS'
71211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
71220 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
71222 if test x$glibcxx_cv_func_expl_use = x"yes"; then
71223 for ac_func in expl
71224 do :
71225 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
71226 if test "x$ac_cv_func_expl" = xyes; then :
71227 cat >>confdefs.h <<_ACEOF
71228 #define HAVE_EXPL 1
71229 _ACEOF
71232 done
71234 else
71236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
71237 $as_echo_n "checking for _expl declaration... " >&6; }
71238 if test x${glibcxx_cv_func__expl_use+set} != xset; then
71239 if ${glibcxx_cv_func__expl_use+:} false; then :
71240 $as_echo_n "(cached) " >&6
71241 else
71244 ac_ext=cpp
71245 ac_cpp='$CXXCPP $CPPFLAGS'
71246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71251 /* end confdefs.h. */
71252 #include <math.h>
71253 #ifdef HAVE_IEEEFP_H
71254 #include <ieeefp.h>
71255 #endif
71258 main ()
71260 _expl(0);
71262 return 0;
71264 _ACEOF
71265 if ac_fn_cxx_try_compile "$LINENO"; then :
71266 glibcxx_cv_func__expl_use=yes
71267 else
71268 glibcxx_cv_func__expl_use=no
71270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71271 ac_ext=c
71272 ac_cpp='$CPP $CPPFLAGS'
71273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
71282 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
71284 if test x$glibcxx_cv_func__expl_use = x"yes"; then
71285 for ac_func in _expl
71286 do :
71287 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
71288 if test "x$ac_cv_func__expl" = xyes; then :
71289 cat >>confdefs.h <<_ACEOF
71290 #define HAVE__EXPL 1
71291 _ACEOF
71294 done
71303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
71304 $as_echo_n "checking for fabsl declaration... " >&6; }
71305 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
71306 if ${glibcxx_cv_func_fabsl_use+:} false; then :
71307 $as_echo_n "(cached) " >&6
71308 else
71311 ac_ext=cpp
71312 ac_cpp='$CXXCPP $CPPFLAGS'
71313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71318 /* end confdefs.h. */
71319 #include <math.h>
71320 #ifdef HAVE_IEEEFP_H
71321 #include <ieeefp.h>
71322 #endif
71325 main ()
71327 fabsl(0);
71329 return 0;
71331 _ACEOF
71332 if ac_fn_cxx_try_compile "$LINENO"; then :
71333 glibcxx_cv_func_fabsl_use=yes
71334 else
71335 glibcxx_cv_func_fabsl_use=no
71337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71338 ac_ext=c
71339 ac_cpp='$CPP $CPPFLAGS'
71340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
71349 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
71351 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
71352 for ac_func in fabsl
71353 do :
71354 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
71355 if test "x$ac_cv_func_fabsl" = xyes; then :
71356 cat >>confdefs.h <<_ACEOF
71357 #define HAVE_FABSL 1
71358 _ACEOF
71361 done
71363 else
71365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
71366 $as_echo_n "checking for _fabsl declaration... " >&6; }
71367 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
71368 if ${glibcxx_cv_func__fabsl_use+:} false; then :
71369 $as_echo_n "(cached) " >&6
71370 else
71373 ac_ext=cpp
71374 ac_cpp='$CXXCPP $CPPFLAGS'
71375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71380 /* end confdefs.h. */
71381 #include <math.h>
71382 #ifdef HAVE_IEEEFP_H
71383 #include <ieeefp.h>
71384 #endif
71387 main ()
71389 _fabsl(0);
71391 return 0;
71393 _ACEOF
71394 if ac_fn_cxx_try_compile "$LINENO"; then :
71395 glibcxx_cv_func__fabsl_use=yes
71396 else
71397 glibcxx_cv_func__fabsl_use=no
71399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71400 ac_ext=c
71401 ac_cpp='$CPP $CPPFLAGS'
71402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
71411 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
71413 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
71414 for ac_func in _fabsl
71415 do :
71416 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
71417 if test "x$ac_cv_func__fabsl" = xyes; then :
71418 cat >>confdefs.h <<_ACEOF
71419 #define HAVE__FABSL 1
71420 _ACEOF
71423 done
71432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
71433 $as_echo_n "checking for fmodl declaration... " >&6; }
71434 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
71435 if ${glibcxx_cv_func_fmodl_use+:} false; then :
71436 $as_echo_n "(cached) " >&6
71437 else
71440 ac_ext=cpp
71441 ac_cpp='$CXXCPP $CPPFLAGS'
71442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71447 /* end confdefs.h. */
71448 #include <math.h>
71450 main ()
71452 fmodl(0, 0);
71454 return 0;
71456 _ACEOF
71457 if ac_fn_cxx_try_compile "$LINENO"; then :
71458 glibcxx_cv_func_fmodl_use=yes
71459 else
71460 glibcxx_cv_func_fmodl_use=no
71462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71463 ac_ext=c
71464 ac_cpp='$CPP $CPPFLAGS'
71465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
71474 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
71476 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
71477 for ac_func in fmodl
71478 do :
71479 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
71480 if test "x$ac_cv_func_fmodl" = xyes; then :
71481 cat >>confdefs.h <<_ACEOF
71482 #define HAVE_FMODL 1
71483 _ACEOF
71486 done
71488 else
71490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
71491 $as_echo_n "checking for _fmodl declaration... " >&6; }
71492 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
71493 if ${glibcxx_cv_func__fmodl_use+:} false; then :
71494 $as_echo_n "(cached) " >&6
71495 else
71498 ac_ext=cpp
71499 ac_cpp='$CXXCPP $CPPFLAGS'
71500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71505 /* end confdefs.h. */
71506 #include <math.h>
71508 main ()
71510 _fmodl(0, 0);
71512 return 0;
71514 _ACEOF
71515 if ac_fn_cxx_try_compile "$LINENO"; then :
71516 glibcxx_cv_func__fmodl_use=yes
71517 else
71518 glibcxx_cv_func__fmodl_use=no
71520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71521 ac_ext=c
71522 ac_cpp='$CPP $CPPFLAGS'
71523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
71532 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
71534 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
71535 for ac_func in _fmodl
71536 do :
71537 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
71538 if test "x$ac_cv_func__fmodl" = xyes; then :
71539 cat >>confdefs.h <<_ACEOF
71540 #define HAVE__FMODL 1
71541 _ACEOF
71544 done
71553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
71554 $as_echo_n "checking for frexpl declaration... " >&6; }
71555 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
71556 if ${glibcxx_cv_func_frexpl_use+:} false; then :
71557 $as_echo_n "(cached) " >&6
71558 else
71561 ac_ext=cpp
71562 ac_cpp='$CXXCPP $CPPFLAGS'
71563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71568 /* end confdefs.h. */
71569 #include <math.h>
71571 main ()
71573 frexpl(0, 0);
71575 return 0;
71577 _ACEOF
71578 if ac_fn_cxx_try_compile "$LINENO"; then :
71579 glibcxx_cv_func_frexpl_use=yes
71580 else
71581 glibcxx_cv_func_frexpl_use=no
71583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71584 ac_ext=c
71585 ac_cpp='$CPP $CPPFLAGS'
71586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
71595 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
71597 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
71598 for ac_func in frexpl
71599 do :
71600 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
71601 if test "x$ac_cv_func_frexpl" = xyes; then :
71602 cat >>confdefs.h <<_ACEOF
71603 #define HAVE_FREXPL 1
71604 _ACEOF
71607 done
71609 else
71611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
71612 $as_echo_n "checking for _frexpl declaration... " >&6; }
71613 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
71614 if ${glibcxx_cv_func__frexpl_use+:} false; then :
71615 $as_echo_n "(cached) " >&6
71616 else
71619 ac_ext=cpp
71620 ac_cpp='$CXXCPP $CPPFLAGS'
71621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71626 /* end confdefs.h. */
71627 #include <math.h>
71629 main ()
71631 _frexpl(0, 0);
71633 return 0;
71635 _ACEOF
71636 if ac_fn_cxx_try_compile "$LINENO"; then :
71637 glibcxx_cv_func__frexpl_use=yes
71638 else
71639 glibcxx_cv_func__frexpl_use=no
71641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71642 ac_ext=c
71643 ac_cpp='$CPP $CPPFLAGS'
71644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
71653 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
71655 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
71656 for ac_func in _frexpl
71657 do :
71658 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
71659 if test "x$ac_cv_func__frexpl" = xyes; then :
71660 cat >>confdefs.h <<_ACEOF
71661 #define HAVE__FREXPL 1
71662 _ACEOF
71665 done
71674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
71675 $as_echo_n "checking for hypotl declaration... " >&6; }
71676 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
71677 if ${glibcxx_cv_func_hypotl_use+:} false; then :
71678 $as_echo_n "(cached) " >&6
71679 else
71682 ac_ext=cpp
71683 ac_cpp='$CXXCPP $CPPFLAGS'
71684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71689 /* end confdefs.h. */
71690 #include <math.h>
71692 main ()
71694 hypotl(0, 0);
71696 return 0;
71698 _ACEOF
71699 if ac_fn_cxx_try_compile "$LINENO"; then :
71700 glibcxx_cv_func_hypotl_use=yes
71701 else
71702 glibcxx_cv_func_hypotl_use=no
71704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71705 ac_ext=c
71706 ac_cpp='$CPP $CPPFLAGS'
71707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
71716 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
71718 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
71719 for ac_func in hypotl
71720 do :
71721 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
71722 if test "x$ac_cv_func_hypotl" = xyes; then :
71723 cat >>confdefs.h <<_ACEOF
71724 #define HAVE_HYPOTL 1
71725 _ACEOF
71728 done
71730 else
71732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
71733 $as_echo_n "checking for _hypotl declaration... " >&6; }
71734 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
71735 if ${glibcxx_cv_func__hypotl_use+:} false; then :
71736 $as_echo_n "(cached) " >&6
71737 else
71740 ac_ext=cpp
71741 ac_cpp='$CXXCPP $CPPFLAGS'
71742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71747 /* end confdefs.h. */
71748 #include <math.h>
71750 main ()
71752 _hypotl(0, 0);
71754 return 0;
71756 _ACEOF
71757 if ac_fn_cxx_try_compile "$LINENO"; then :
71758 glibcxx_cv_func__hypotl_use=yes
71759 else
71760 glibcxx_cv_func__hypotl_use=no
71762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71763 ac_ext=c
71764 ac_cpp='$CPP $CPPFLAGS'
71765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
71774 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
71776 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
71777 for ac_func in _hypotl
71778 do :
71779 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
71780 if test "x$ac_cv_func__hypotl" = xyes; then :
71781 cat >>confdefs.h <<_ACEOF
71782 #define HAVE__HYPOTL 1
71783 _ACEOF
71786 done
71795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
71796 $as_echo_n "checking for ldexpl declaration... " >&6; }
71797 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71798 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
71799 $as_echo_n "(cached) " >&6
71800 else
71803 ac_ext=cpp
71804 ac_cpp='$CXXCPP $CPPFLAGS'
71805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71810 /* end confdefs.h. */
71811 #include <math.h>
71813 main ()
71815 ldexpl(0, 0);
71817 return 0;
71819 _ACEOF
71820 if ac_fn_cxx_try_compile "$LINENO"; then :
71821 glibcxx_cv_func_ldexpl_use=yes
71822 else
71823 glibcxx_cv_func_ldexpl_use=no
71825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71826 ac_ext=c
71827 ac_cpp='$CPP $CPPFLAGS'
71828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
71837 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
71839 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71840 for ac_func in ldexpl
71841 do :
71842 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
71843 if test "x$ac_cv_func_ldexpl" = xyes; then :
71844 cat >>confdefs.h <<_ACEOF
71845 #define HAVE_LDEXPL 1
71846 _ACEOF
71849 done
71851 else
71853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71854 $as_echo_n "checking for _ldexpl declaration... " >&6; }
71855 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71856 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
71857 $as_echo_n "(cached) " >&6
71858 else
71861 ac_ext=cpp
71862 ac_cpp='$CXXCPP $CPPFLAGS'
71863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71868 /* end confdefs.h. */
71869 #include <math.h>
71871 main ()
71873 _ldexpl(0, 0);
71875 return 0;
71877 _ACEOF
71878 if ac_fn_cxx_try_compile "$LINENO"; then :
71879 glibcxx_cv_func__ldexpl_use=yes
71880 else
71881 glibcxx_cv_func__ldexpl_use=no
71883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71884 ac_ext=c
71885 ac_cpp='$CPP $CPPFLAGS'
71886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71895 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71897 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71898 for ac_func in _ldexpl
71899 do :
71900 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71901 if test "x$ac_cv_func__ldexpl" = xyes; then :
71902 cat >>confdefs.h <<_ACEOF
71903 #define HAVE__LDEXPL 1
71904 _ACEOF
71907 done
71916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71917 $as_echo_n "checking for logl declaration... " >&6; }
71918 if test x${glibcxx_cv_func_logl_use+set} != xset; then
71919 if ${glibcxx_cv_func_logl_use+:} false; then :
71920 $as_echo_n "(cached) " >&6
71921 else
71924 ac_ext=cpp
71925 ac_cpp='$CXXCPP $CPPFLAGS'
71926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71931 /* end confdefs.h. */
71932 #include <math.h>
71933 #ifdef HAVE_IEEEFP_H
71934 #include <ieeefp.h>
71935 #endif
71938 main ()
71940 logl(0);
71942 return 0;
71944 _ACEOF
71945 if ac_fn_cxx_try_compile "$LINENO"; then :
71946 glibcxx_cv_func_logl_use=yes
71947 else
71948 glibcxx_cv_func_logl_use=no
71950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71951 ac_ext=c
71952 ac_cpp='$CPP $CPPFLAGS'
71953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71962 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
71964 if test x$glibcxx_cv_func_logl_use = x"yes"; then
71965 for ac_func in logl
71966 do :
71967 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71968 if test "x$ac_cv_func_logl" = xyes; then :
71969 cat >>confdefs.h <<_ACEOF
71970 #define HAVE_LOGL 1
71971 _ACEOF
71974 done
71976 else
71978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71979 $as_echo_n "checking for _logl declaration... " >&6; }
71980 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71981 if ${glibcxx_cv_func__logl_use+:} false; then :
71982 $as_echo_n "(cached) " >&6
71983 else
71986 ac_ext=cpp
71987 ac_cpp='$CXXCPP $CPPFLAGS'
71988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71993 /* end confdefs.h. */
71994 #include <math.h>
71995 #ifdef HAVE_IEEEFP_H
71996 #include <ieeefp.h>
71997 #endif
72000 main ()
72002 _logl(0);
72004 return 0;
72006 _ACEOF
72007 if ac_fn_cxx_try_compile "$LINENO"; then :
72008 glibcxx_cv_func__logl_use=yes
72009 else
72010 glibcxx_cv_func__logl_use=no
72012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72013 ac_ext=c
72014 ac_cpp='$CPP $CPPFLAGS'
72015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
72024 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
72026 if test x$glibcxx_cv_func__logl_use = x"yes"; then
72027 for ac_func in _logl
72028 do :
72029 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
72030 if test "x$ac_cv_func__logl" = xyes; then :
72031 cat >>confdefs.h <<_ACEOF
72032 #define HAVE__LOGL 1
72033 _ACEOF
72036 done
72045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
72046 $as_echo_n "checking for log10l declaration... " >&6; }
72047 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
72048 if ${glibcxx_cv_func_log10l_use+:} false; then :
72049 $as_echo_n "(cached) " >&6
72050 else
72053 ac_ext=cpp
72054 ac_cpp='$CXXCPP $CPPFLAGS'
72055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72060 /* end confdefs.h. */
72061 #include <math.h>
72062 #ifdef HAVE_IEEEFP_H
72063 #include <ieeefp.h>
72064 #endif
72067 main ()
72069 log10l(0);
72071 return 0;
72073 _ACEOF
72074 if ac_fn_cxx_try_compile "$LINENO"; then :
72075 glibcxx_cv_func_log10l_use=yes
72076 else
72077 glibcxx_cv_func_log10l_use=no
72079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72080 ac_ext=c
72081 ac_cpp='$CPP $CPPFLAGS'
72082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
72091 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
72093 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
72094 for ac_func in log10l
72095 do :
72096 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
72097 if test "x$ac_cv_func_log10l" = xyes; then :
72098 cat >>confdefs.h <<_ACEOF
72099 #define HAVE_LOG10L 1
72100 _ACEOF
72103 done
72105 else
72107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
72108 $as_echo_n "checking for _log10l declaration... " >&6; }
72109 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
72110 if ${glibcxx_cv_func__log10l_use+:} false; then :
72111 $as_echo_n "(cached) " >&6
72112 else
72115 ac_ext=cpp
72116 ac_cpp='$CXXCPP $CPPFLAGS'
72117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72122 /* end confdefs.h. */
72123 #include <math.h>
72124 #ifdef HAVE_IEEEFP_H
72125 #include <ieeefp.h>
72126 #endif
72129 main ()
72131 _log10l(0);
72133 return 0;
72135 _ACEOF
72136 if ac_fn_cxx_try_compile "$LINENO"; then :
72137 glibcxx_cv_func__log10l_use=yes
72138 else
72139 glibcxx_cv_func__log10l_use=no
72141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72142 ac_ext=c
72143 ac_cpp='$CPP $CPPFLAGS'
72144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
72153 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
72155 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
72156 for ac_func in _log10l
72157 do :
72158 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
72159 if test "x$ac_cv_func__log10l" = xyes; then :
72160 cat >>confdefs.h <<_ACEOF
72161 #define HAVE__LOG10L 1
72162 _ACEOF
72165 done
72174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
72175 $as_echo_n "checking for modfl declaration... " >&6; }
72176 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
72177 if ${glibcxx_cv_func_modfl_use+:} false; then :
72178 $as_echo_n "(cached) " >&6
72179 else
72182 ac_ext=cpp
72183 ac_cpp='$CXXCPP $CPPFLAGS'
72184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72189 /* end confdefs.h. */
72190 #include <math.h>
72192 main ()
72194 modfl(0, 0);
72196 return 0;
72198 _ACEOF
72199 if ac_fn_cxx_try_compile "$LINENO"; then :
72200 glibcxx_cv_func_modfl_use=yes
72201 else
72202 glibcxx_cv_func_modfl_use=no
72204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72205 ac_ext=c
72206 ac_cpp='$CPP $CPPFLAGS'
72207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
72216 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
72218 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
72219 for ac_func in modfl
72220 do :
72221 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
72222 if test "x$ac_cv_func_modfl" = xyes; then :
72223 cat >>confdefs.h <<_ACEOF
72224 #define HAVE_MODFL 1
72225 _ACEOF
72228 done
72230 else
72232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
72233 $as_echo_n "checking for _modfl declaration... " >&6; }
72234 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
72235 if ${glibcxx_cv_func__modfl_use+:} false; then :
72236 $as_echo_n "(cached) " >&6
72237 else
72240 ac_ext=cpp
72241 ac_cpp='$CXXCPP $CPPFLAGS'
72242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72247 /* end confdefs.h. */
72248 #include <math.h>
72250 main ()
72252 _modfl(0, 0);
72254 return 0;
72256 _ACEOF
72257 if ac_fn_cxx_try_compile "$LINENO"; then :
72258 glibcxx_cv_func__modfl_use=yes
72259 else
72260 glibcxx_cv_func__modfl_use=no
72262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72263 ac_ext=c
72264 ac_cpp='$CPP $CPPFLAGS'
72265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
72274 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
72276 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
72277 for ac_func in _modfl
72278 do :
72279 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
72280 if test "x$ac_cv_func__modfl" = xyes; then :
72281 cat >>confdefs.h <<_ACEOF
72282 #define HAVE__MODFL 1
72283 _ACEOF
72286 done
72295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
72296 $as_echo_n "checking for powl declaration... " >&6; }
72297 if test x${glibcxx_cv_func_powl_use+set} != xset; then
72298 if ${glibcxx_cv_func_powl_use+:} false; then :
72299 $as_echo_n "(cached) " >&6
72300 else
72303 ac_ext=cpp
72304 ac_cpp='$CXXCPP $CPPFLAGS'
72305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72310 /* end confdefs.h. */
72311 #include <math.h>
72313 main ()
72315 powl(0, 0);
72317 return 0;
72319 _ACEOF
72320 if ac_fn_cxx_try_compile "$LINENO"; then :
72321 glibcxx_cv_func_powl_use=yes
72322 else
72323 glibcxx_cv_func_powl_use=no
72325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72326 ac_ext=c
72327 ac_cpp='$CPP $CPPFLAGS'
72328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
72337 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
72339 if test x$glibcxx_cv_func_powl_use = x"yes"; then
72340 for ac_func in powl
72341 do :
72342 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
72343 if test "x$ac_cv_func_powl" = xyes; then :
72344 cat >>confdefs.h <<_ACEOF
72345 #define HAVE_POWL 1
72346 _ACEOF
72349 done
72351 else
72353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
72354 $as_echo_n "checking for _powl declaration... " >&6; }
72355 if test x${glibcxx_cv_func__powl_use+set} != xset; then
72356 if ${glibcxx_cv_func__powl_use+:} false; then :
72357 $as_echo_n "(cached) " >&6
72358 else
72361 ac_ext=cpp
72362 ac_cpp='$CXXCPP $CPPFLAGS'
72363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72368 /* end confdefs.h. */
72369 #include <math.h>
72371 main ()
72373 _powl(0, 0);
72375 return 0;
72377 _ACEOF
72378 if ac_fn_cxx_try_compile "$LINENO"; then :
72379 glibcxx_cv_func__powl_use=yes
72380 else
72381 glibcxx_cv_func__powl_use=no
72383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72384 ac_ext=c
72385 ac_cpp='$CPP $CPPFLAGS'
72386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
72395 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
72397 if test x$glibcxx_cv_func__powl_use = x"yes"; then
72398 for ac_func in _powl
72399 do :
72400 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
72401 if test "x$ac_cv_func__powl" = xyes; then :
72402 cat >>confdefs.h <<_ACEOF
72403 #define HAVE__POWL 1
72404 _ACEOF
72407 done
72416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
72417 $as_echo_n "checking for sqrtl declaration... " >&6; }
72418 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
72419 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
72420 $as_echo_n "(cached) " >&6
72421 else
72424 ac_ext=cpp
72425 ac_cpp='$CXXCPP $CPPFLAGS'
72426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72431 /* end confdefs.h. */
72432 #include <math.h>
72433 #ifdef HAVE_IEEEFP_H
72434 #include <ieeefp.h>
72435 #endif
72438 main ()
72440 sqrtl(0);
72442 return 0;
72444 _ACEOF
72445 if ac_fn_cxx_try_compile "$LINENO"; then :
72446 glibcxx_cv_func_sqrtl_use=yes
72447 else
72448 glibcxx_cv_func_sqrtl_use=no
72450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72451 ac_ext=c
72452 ac_cpp='$CPP $CPPFLAGS'
72453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
72462 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
72464 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
72465 for ac_func in sqrtl
72466 do :
72467 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
72468 if test "x$ac_cv_func_sqrtl" = xyes; then :
72469 cat >>confdefs.h <<_ACEOF
72470 #define HAVE_SQRTL 1
72471 _ACEOF
72474 done
72476 else
72478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
72479 $as_echo_n "checking for _sqrtl declaration... " >&6; }
72480 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
72481 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
72482 $as_echo_n "(cached) " >&6
72483 else
72486 ac_ext=cpp
72487 ac_cpp='$CXXCPP $CPPFLAGS'
72488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72493 /* end confdefs.h. */
72494 #include <math.h>
72495 #ifdef HAVE_IEEEFP_H
72496 #include <ieeefp.h>
72497 #endif
72500 main ()
72502 _sqrtl(0);
72504 return 0;
72506 _ACEOF
72507 if ac_fn_cxx_try_compile "$LINENO"; then :
72508 glibcxx_cv_func__sqrtl_use=yes
72509 else
72510 glibcxx_cv_func__sqrtl_use=no
72512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72513 ac_ext=c
72514 ac_cpp='$CPP $CPPFLAGS'
72515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
72524 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
72526 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
72527 for ac_func in _sqrtl
72528 do :
72529 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
72530 if test "x$ac_cv_func__sqrtl" = xyes; then :
72531 cat >>confdefs.h <<_ACEOF
72532 #define HAVE__SQRTL 1
72533 _ACEOF
72536 done
72545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
72546 $as_echo_n "checking for sincosl declaration... " >&6; }
72547 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
72548 if ${glibcxx_cv_func_sincosl_use+:} false; then :
72549 $as_echo_n "(cached) " >&6
72550 else
72553 ac_ext=cpp
72554 ac_cpp='$CXXCPP $CPPFLAGS'
72555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72560 /* end confdefs.h. */
72561 #include <math.h>
72563 main ()
72565 sincosl(0, 0, 0);
72567 return 0;
72569 _ACEOF
72570 if ac_fn_cxx_try_compile "$LINENO"; then :
72571 glibcxx_cv_func_sincosl_use=yes
72572 else
72573 glibcxx_cv_func_sincosl_use=no
72575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72576 ac_ext=c
72577 ac_cpp='$CPP $CPPFLAGS'
72578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
72587 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
72589 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
72590 for ac_func in sincosl
72591 do :
72592 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
72593 if test "x$ac_cv_func_sincosl" = xyes; then :
72594 cat >>confdefs.h <<_ACEOF
72595 #define HAVE_SINCOSL 1
72596 _ACEOF
72599 done
72601 else
72603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
72604 $as_echo_n "checking for _sincosl declaration... " >&6; }
72605 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
72606 if ${glibcxx_cv_func__sincosl_use+:} false; then :
72607 $as_echo_n "(cached) " >&6
72608 else
72611 ac_ext=cpp
72612 ac_cpp='$CXXCPP $CPPFLAGS'
72613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72618 /* end confdefs.h. */
72619 #include <math.h>
72621 main ()
72623 _sincosl(0, 0, 0);
72625 return 0;
72627 _ACEOF
72628 if ac_fn_cxx_try_compile "$LINENO"; then :
72629 glibcxx_cv_func__sincosl_use=yes
72630 else
72631 glibcxx_cv_func__sincosl_use=no
72633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72634 ac_ext=c
72635 ac_cpp='$CPP $CPPFLAGS'
72636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
72645 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
72647 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
72648 for ac_func in _sincosl
72649 do :
72650 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
72651 if test "x$ac_cv_func__sincosl" = xyes; then :
72652 cat >>confdefs.h <<_ACEOF
72653 #define HAVE__SINCOSL 1
72654 _ACEOF
72657 done
72666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
72667 $as_echo_n "checking for finitel declaration... " >&6; }
72668 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
72669 if ${glibcxx_cv_func_finitel_use+:} false; then :
72670 $as_echo_n "(cached) " >&6
72671 else
72674 ac_ext=cpp
72675 ac_cpp='$CXXCPP $CPPFLAGS'
72676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72681 /* end confdefs.h. */
72682 #include <math.h>
72683 #ifdef HAVE_IEEEFP_H
72684 #include <ieeefp.h>
72685 #endif
72688 main ()
72690 finitel(0);
72692 return 0;
72694 _ACEOF
72695 if ac_fn_cxx_try_compile "$LINENO"; then :
72696 glibcxx_cv_func_finitel_use=yes
72697 else
72698 glibcxx_cv_func_finitel_use=no
72700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72701 ac_ext=c
72702 ac_cpp='$CPP $CPPFLAGS'
72703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
72712 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
72714 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
72715 for ac_func in finitel
72716 do :
72717 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
72718 if test "x$ac_cv_func_finitel" = xyes; then :
72719 cat >>confdefs.h <<_ACEOF
72720 #define HAVE_FINITEL 1
72721 _ACEOF
72724 done
72726 else
72728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
72729 $as_echo_n "checking for _finitel declaration... " >&6; }
72730 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
72731 if ${glibcxx_cv_func__finitel_use+:} false; then :
72732 $as_echo_n "(cached) " >&6
72733 else
72736 ac_ext=cpp
72737 ac_cpp='$CXXCPP $CPPFLAGS'
72738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72743 /* end confdefs.h. */
72744 #include <math.h>
72745 #ifdef HAVE_IEEEFP_H
72746 #include <ieeefp.h>
72747 #endif
72750 main ()
72752 _finitel(0);
72754 return 0;
72756 _ACEOF
72757 if ac_fn_cxx_try_compile "$LINENO"; then :
72758 glibcxx_cv_func__finitel_use=yes
72759 else
72760 glibcxx_cv_func__finitel_use=no
72762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72763 ac_ext=c
72764 ac_cpp='$CPP $CPPFLAGS'
72765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
72774 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
72776 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
72777 for ac_func in _finitel
72778 do :
72779 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
72780 if test "x$ac_cv_func__finitel" = xyes; then :
72781 cat >>confdefs.h <<_ACEOF
72782 #define HAVE__FINITEL 1
72783 _ACEOF
72786 done
72794 LIBS="$ac_save_LIBS"
72795 CXXFLAGS="$ac_save_CXXFLAGS"
72798 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72799 ac_save_CXXFLAGS="$CXXFLAGS"
72800 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
72804 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
72805 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
72806 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
72807 $as_echo_n "(cached) " >&6
72808 else
72811 ac_ext=cpp
72812 ac_cpp='$CXXCPP $CPPFLAGS'
72813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72818 /* end confdefs.h. */
72819 #include <stdlib.h>
72821 main ()
72823 at_quick_exit(0);
72825 return 0;
72827 _ACEOF
72828 if ac_fn_cxx_try_compile "$LINENO"; then :
72829 glibcxx_cv_func_at_quick_exit_use=yes
72830 else
72831 glibcxx_cv_func_at_quick_exit_use=no
72833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72834 ac_ext=c
72835 ac_cpp='$CPP $CPPFLAGS'
72836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
72845 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
72846 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
72847 for ac_func in at_quick_exit
72848 do :
72849 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72850 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
72851 cat >>confdefs.h <<_ACEOF
72852 #define HAVE_AT_QUICK_EXIT 1
72853 _ACEOF
72856 done
72861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72862 $as_echo_n "checking for quick_exit declaration... " >&6; }
72863 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72864 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
72865 $as_echo_n "(cached) " >&6
72866 else
72869 ac_ext=cpp
72870 ac_cpp='$CXXCPP $CPPFLAGS'
72871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72876 /* end confdefs.h. */
72877 #include <stdlib.h>
72879 main ()
72881 quick_exit(0);
72883 return 0;
72885 _ACEOF
72886 if ac_fn_cxx_try_compile "$LINENO"; then :
72887 glibcxx_cv_func_quick_exit_use=yes
72888 else
72889 glibcxx_cv_func_quick_exit_use=no
72891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72892 ac_ext=c
72893 ac_cpp='$CPP $CPPFLAGS'
72894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72903 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72904 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72905 for ac_func in quick_exit
72906 do :
72907 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72908 if test "x$ac_cv_func_quick_exit" = xyes; then :
72909 cat >>confdefs.h <<_ACEOF
72910 #define HAVE_QUICK_EXIT 1
72911 _ACEOF
72914 done
72919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72920 $as_echo_n "checking for strtold declaration... " >&6; }
72921 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72922 if ${glibcxx_cv_func_strtold_use+:} false; then :
72923 $as_echo_n "(cached) " >&6
72924 else
72927 ac_ext=cpp
72928 ac_cpp='$CXXCPP $CPPFLAGS'
72929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72934 /* end confdefs.h. */
72935 #include <stdlib.h>
72937 main ()
72939 strtold(0, 0);
72941 return 0;
72943 _ACEOF
72944 if ac_fn_cxx_try_compile "$LINENO"; then :
72945 glibcxx_cv_func_strtold_use=yes
72946 else
72947 glibcxx_cv_func_strtold_use=no
72949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72950 ac_ext=c
72951 ac_cpp='$CPP $CPPFLAGS'
72952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72961 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72962 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72963 for ac_func in strtold
72964 do :
72965 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72966 if test "x$ac_cv_func_strtold" = xyes; then :
72967 cat >>confdefs.h <<_ACEOF
72968 #define HAVE_STRTOLD 1
72969 _ACEOF
72972 done
72979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72980 $as_echo_n "checking for strtof declaration... " >&6; }
72981 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72982 if ${glibcxx_cv_func_strtof_use+:} false; then :
72983 $as_echo_n "(cached) " >&6
72984 else
72987 ac_ext=cpp
72988 ac_cpp='$CXXCPP $CPPFLAGS'
72989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72994 /* end confdefs.h. */
72995 #include <stdlib.h>
72997 main ()
72999 strtof(0, 0);
73001 return 0;
73003 _ACEOF
73004 if ac_fn_cxx_try_compile "$LINENO"; then :
73005 glibcxx_cv_func_strtof_use=yes
73006 else
73007 glibcxx_cv_func_strtof_use=no
73009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73010 ac_ext=c
73011 ac_cpp='$CPP $CPPFLAGS'
73012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
73021 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
73022 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
73023 for ac_func in strtof
73024 do :
73025 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
73026 if test "x$ac_cv_func_strtof" = xyes; then :
73027 cat >>confdefs.h <<_ACEOF
73028 #define HAVE_STRTOF 1
73029 _ACEOF
73032 done
73039 CXXFLAGS="$ac_save_CXXFLAGS"
73042 *-vxworks*)
73043 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
73045 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
73047 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
73049 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
73051 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
73053 $as_echo "#define HAVE_COSF 1" >>confdefs.h
73055 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
73057 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
73059 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
73061 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
73063 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
73065 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
73067 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
73069 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
73071 $as_echo "#define HAVE_POWF 1" >>confdefs.h
73073 $as_echo "#define HAVE_SINF 1" >>confdefs.h
73075 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
73077 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
73079 $as_echo "#define HAVE_TANF 1" >>confdefs.h
73081 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
73087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl declaration" >&5
73088 $as_echo_n "checking for acosl declaration... " >&6; }
73089 if ${glibcxx_cv_func_acosl_use+:} false; then :
73090 $as_echo_n "(cached) " >&6
73091 else
73094 ac_ext=c
73095 ac_cpp='$CPP $CPPFLAGS'
73096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73101 /* end confdefs.h. */
73103 #include <math.h>
73104 #ifdef HAVE_IEEEFP_H
73105 # include <ieeefp.h>
73106 #endif
73107 #undef acosl
73110 main ()
73113 void (*f)(void) = (void (*)(void))acosl;
73116 return 0;
73118 _ACEOF
73119 if ac_fn_c_try_compile "$LINENO"; then :
73120 glibcxx_cv_func_acosl_use=yes
73122 else
73123 glibcxx_cv_func_acosl_use=no
73125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_acosl_use" >&5
73128 $as_echo "$glibcxx_cv_func_acosl_use" >&6; }
73129 if test "x$glibcxx_cv_func_acosl_use" = xyes; then
73130 cat >>confdefs.h <<_ACEOF
73131 #define HAVE_ACOSL 1
73132 _ACEOF
73138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl declaration" >&5
73139 $as_echo_n "checking for asinl declaration... " >&6; }
73140 if ${glibcxx_cv_func_asinl_use+:} false; then :
73141 $as_echo_n "(cached) " >&6
73142 else
73145 ac_ext=c
73146 ac_cpp='$CPP $CPPFLAGS'
73147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73152 /* end confdefs.h. */
73154 #include <math.h>
73155 #ifdef HAVE_IEEEFP_H
73156 # include <ieeefp.h>
73157 #endif
73158 #undef asinl
73161 main ()
73164 void (*f)(void) = (void (*)(void))asinl;
73167 return 0;
73169 _ACEOF
73170 if ac_fn_c_try_compile "$LINENO"; then :
73171 glibcxx_cv_func_asinl_use=yes
73173 else
73174 glibcxx_cv_func_asinl_use=no
73176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_asinl_use" >&5
73179 $as_echo "$glibcxx_cv_func_asinl_use" >&6; }
73180 if test "x$glibcxx_cv_func_asinl_use" = xyes; then
73181 cat >>confdefs.h <<_ACEOF
73182 #define HAVE_ASINL 1
73183 _ACEOF
73189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
73190 $as_echo_n "checking for atan2l declaration... " >&6; }
73191 if ${glibcxx_cv_func_atan2l_use+:} false; then :
73192 $as_echo_n "(cached) " >&6
73193 else
73196 ac_ext=c
73197 ac_cpp='$CPP $CPPFLAGS'
73198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73203 /* end confdefs.h. */
73205 #include <math.h>
73206 #ifdef HAVE_IEEEFP_H
73207 # include <ieeefp.h>
73208 #endif
73209 #undef atan2l
73212 main ()
73215 void (*f)(void) = (void (*)(void))atan2l;
73218 return 0;
73220 _ACEOF
73221 if ac_fn_c_try_compile "$LINENO"; then :
73222 glibcxx_cv_func_atan2l_use=yes
73224 else
73225 glibcxx_cv_func_atan2l_use=no
73227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
73230 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
73231 if test "x$glibcxx_cv_func_atan2l_use" = xyes; then
73232 cat >>confdefs.h <<_ACEOF
73233 #define HAVE_ATAN2L 1
73234 _ACEOF
73240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl declaration" >&5
73241 $as_echo_n "checking for atanl declaration... " >&6; }
73242 if ${glibcxx_cv_func_atanl_use+:} false; then :
73243 $as_echo_n "(cached) " >&6
73244 else
73247 ac_ext=c
73248 ac_cpp='$CPP $CPPFLAGS'
73249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73254 /* end confdefs.h. */
73256 #include <math.h>
73257 #ifdef HAVE_IEEEFP_H
73258 # include <ieeefp.h>
73259 #endif
73260 #undef atanl
73263 main ()
73266 void (*f)(void) = (void (*)(void))atanl;
73269 return 0;
73271 _ACEOF
73272 if ac_fn_c_try_compile "$LINENO"; then :
73273 glibcxx_cv_func_atanl_use=yes
73275 else
73276 glibcxx_cv_func_atanl_use=no
73278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atanl_use" >&5
73281 $as_echo "$glibcxx_cv_func_atanl_use" >&6; }
73282 if test "x$glibcxx_cv_func_atanl_use" = xyes; then
73283 cat >>confdefs.h <<_ACEOF
73284 #define HAVE_ATANL 1
73285 _ACEOF
73291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill declaration" >&5
73292 $as_echo_n "checking for ceill declaration... " >&6; }
73293 if ${glibcxx_cv_func_ceill_use+:} false; then :
73294 $as_echo_n "(cached) " >&6
73295 else
73298 ac_ext=c
73299 ac_cpp='$CPP $CPPFLAGS'
73300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73305 /* end confdefs.h. */
73307 #include <math.h>
73308 #ifdef HAVE_IEEEFP_H
73309 # include <ieeefp.h>
73310 #endif
73311 #undef ceill
73314 main ()
73317 void (*f)(void) = (void (*)(void))ceill;
73320 return 0;
73322 _ACEOF
73323 if ac_fn_c_try_compile "$LINENO"; then :
73324 glibcxx_cv_func_ceill_use=yes
73326 else
73327 glibcxx_cv_func_ceill_use=no
73329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ceill_use" >&5
73332 $as_echo "$glibcxx_cv_func_ceill_use" >&6; }
73333 if test "x$glibcxx_cv_func_ceill_use" = xyes; then
73334 cat >>confdefs.h <<_ACEOF
73335 #define HAVE_CEILL 1
73336 _ACEOF
73342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl declaration" >&5
73343 $as_echo_n "checking for cosl declaration... " >&6; }
73344 if ${glibcxx_cv_func_cosl_use+:} false; then :
73345 $as_echo_n "(cached) " >&6
73346 else
73349 ac_ext=c
73350 ac_cpp='$CPP $CPPFLAGS'
73351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73356 /* end confdefs.h. */
73358 #include <math.h>
73359 #ifdef HAVE_IEEEFP_H
73360 # include <ieeefp.h>
73361 #endif
73362 #undef cosl
73365 main ()
73368 void (*f)(void) = (void (*)(void))cosl;
73371 return 0;
73373 _ACEOF
73374 if ac_fn_c_try_compile "$LINENO"; then :
73375 glibcxx_cv_func_cosl_use=yes
73377 else
73378 glibcxx_cv_func_cosl_use=no
73380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_cosl_use" >&5
73383 $as_echo "$glibcxx_cv_func_cosl_use" >&6; }
73384 if test "x$glibcxx_cv_func_cosl_use" = xyes; then
73385 cat >>confdefs.h <<_ACEOF
73386 #define HAVE_COSL 1
73387 _ACEOF
73393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl declaration" >&5
73394 $as_echo_n "checking for coshl declaration... " >&6; }
73395 if ${glibcxx_cv_func_coshl_use+:} false; then :
73396 $as_echo_n "(cached) " >&6
73397 else
73400 ac_ext=c
73401 ac_cpp='$CPP $CPPFLAGS'
73402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73407 /* end confdefs.h. */
73409 #include <math.h>
73410 #ifdef HAVE_IEEEFP_H
73411 # include <ieeefp.h>
73412 #endif
73413 #undef coshl
73416 main ()
73419 void (*f)(void) = (void (*)(void))coshl;
73422 return 0;
73424 _ACEOF
73425 if ac_fn_c_try_compile "$LINENO"; then :
73426 glibcxx_cv_func_coshl_use=yes
73428 else
73429 glibcxx_cv_func_coshl_use=no
73431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_coshl_use" >&5
73434 $as_echo "$glibcxx_cv_func_coshl_use" >&6; }
73435 if test "x$glibcxx_cv_func_coshl_use" = xyes; then
73436 cat >>confdefs.h <<_ACEOF
73437 #define HAVE_COSHL 1
73438 _ACEOF
73444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
73445 $as_echo_n "checking for expl declaration... " >&6; }
73446 if ${glibcxx_cv_func_expl_use+:} false; then :
73447 $as_echo_n "(cached) " >&6
73448 else
73451 ac_ext=c
73452 ac_cpp='$CPP $CPPFLAGS'
73453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73458 /* end confdefs.h. */
73460 #include <math.h>
73461 #ifdef HAVE_IEEEFP_H
73462 # include <ieeefp.h>
73463 #endif
73464 #undef expl
73467 main ()
73470 void (*f)(void) = (void (*)(void))expl;
73473 return 0;
73475 _ACEOF
73476 if ac_fn_c_try_compile "$LINENO"; then :
73477 glibcxx_cv_func_expl_use=yes
73479 else
73480 glibcxx_cv_func_expl_use=no
73482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
73485 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
73486 if test "x$glibcxx_cv_func_expl_use" = xyes; then
73487 cat >>confdefs.h <<_ACEOF
73488 #define HAVE_EXPL 1
73489 _ACEOF
73495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
73496 $as_echo_n "checking for fabsl declaration... " >&6; }
73497 if ${glibcxx_cv_func_fabsl_use+:} false; then :
73498 $as_echo_n "(cached) " >&6
73499 else
73502 ac_ext=c
73503 ac_cpp='$CPP $CPPFLAGS'
73504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73509 /* end confdefs.h. */
73511 #include <math.h>
73512 #ifdef HAVE_IEEEFP_H
73513 # include <ieeefp.h>
73514 #endif
73515 #undef fabsl
73518 main ()
73521 void (*f)(void) = (void (*)(void))fabsl;
73524 return 0;
73526 _ACEOF
73527 if ac_fn_c_try_compile "$LINENO"; then :
73528 glibcxx_cv_func_fabsl_use=yes
73530 else
73531 glibcxx_cv_func_fabsl_use=no
73533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
73536 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
73537 if test "x$glibcxx_cv_func_fabsl_use" = xyes; then
73538 cat >>confdefs.h <<_ACEOF
73539 #define HAVE_FABSL 1
73540 _ACEOF
73546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl declaration" >&5
73547 $as_echo_n "checking for floorl declaration... " >&6; }
73548 if ${glibcxx_cv_func_floorl_use+:} false; then :
73549 $as_echo_n "(cached) " >&6
73550 else
73553 ac_ext=c
73554 ac_cpp='$CPP $CPPFLAGS'
73555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73560 /* end confdefs.h. */
73562 #include <math.h>
73563 #ifdef HAVE_IEEEFP_H
73564 # include <ieeefp.h>
73565 #endif
73566 #undef floorl
73569 main ()
73572 void (*f)(void) = (void (*)(void))floorl;
73575 return 0;
73577 _ACEOF
73578 if ac_fn_c_try_compile "$LINENO"; then :
73579 glibcxx_cv_func_floorl_use=yes
73581 else
73582 glibcxx_cv_func_floorl_use=no
73584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_floorl_use" >&5
73587 $as_echo "$glibcxx_cv_func_floorl_use" >&6; }
73588 if test "x$glibcxx_cv_func_floorl_use" = xyes; then
73589 cat >>confdefs.h <<_ACEOF
73590 #define HAVE_FLOORL 1
73591 _ACEOF
73597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
73598 $as_echo_n "checking for fmodl declaration... " >&6; }
73599 if ${glibcxx_cv_func_fmodl_use+:} false; then :
73600 $as_echo_n "(cached) " >&6
73601 else
73604 ac_ext=c
73605 ac_cpp='$CPP $CPPFLAGS'
73606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73611 /* end confdefs.h. */
73613 #include <math.h>
73614 #ifdef HAVE_IEEEFP_H
73615 # include <ieeefp.h>
73616 #endif
73617 #undef fmodl
73620 main ()
73623 void (*f)(void) = (void (*)(void))fmodl;
73626 return 0;
73628 _ACEOF
73629 if ac_fn_c_try_compile "$LINENO"; then :
73630 glibcxx_cv_func_fmodl_use=yes
73632 else
73633 glibcxx_cv_func_fmodl_use=no
73635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
73638 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
73639 if test "x$glibcxx_cv_func_fmodl_use" = xyes; then
73640 cat >>confdefs.h <<_ACEOF
73641 #define HAVE_FMODL 1
73642 _ACEOF
73648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
73649 $as_echo_n "checking for frexpl declaration... " >&6; }
73650 if ${glibcxx_cv_func_frexpl_use+:} false; then :
73651 $as_echo_n "(cached) " >&6
73652 else
73655 ac_ext=c
73656 ac_cpp='$CPP $CPPFLAGS'
73657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73662 /* end confdefs.h. */
73664 #include <math.h>
73665 #ifdef HAVE_IEEEFP_H
73666 # include <ieeefp.h>
73667 #endif
73668 #undef frexpl
73671 main ()
73674 void (*f)(void) = (void (*)(void))frexpl;
73677 return 0;
73679 _ACEOF
73680 if ac_fn_c_try_compile "$LINENO"; then :
73681 glibcxx_cv_func_frexpl_use=yes
73683 else
73684 glibcxx_cv_func_frexpl_use=no
73686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
73689 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
73690 if test "x$glibcxx_cv_func_frexpl_use" = xyes; then
73691 cat >>confdefs.h <<_ACEOF
73692 #define HAVE_FREXPL 1
73693 _ACEOF
73699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
73700 $as_echo_n "checking for ldexpl declaration... " >&6; }
73701 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
73702 $as_echo_n "(cached) " >&6
73703 else
73706 ac_ext=c
73707 ac_cpp='$CPP $CPPFLAGS'
73708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73713 /* end confdefs.h. */
73715 #include <math.h>
73716 #ifdef HAVE_IEEEFP_H
73717 # include <ieeefp.h>
73718 #endif
73719 #undef ldexpl
73722 main ()
73725 void (*f)(void) = (void (*)(void))ldexpl;
73728 return 0;
73730 _ACEOF
73731 if ac_fn_c_try_compile "$LINENO"; then :
73732 glibcxx_cv_func_ldexpl_use=yes
73734 else
73735 glibcxx_cv_func_ldexpl_use=no
73737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
73740 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
73741 if test "x$glibcxx_cv_func_ldexpl_use" = xyes; then
73742 cat >>confdefs.h <<_ACEOF
73743 #define HAVE_LDEXPL 1
73744 _ACEOF
73750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
73751 $as_echo_n "checking for log10l declaration... " >&6; }
73752 if ${glibcxx_cv_func_log10l_use+:} false; then :
73753 $as_echo_n "(cached) " >&6
73754 else
73757 ac_ext=c
73758 ac_cpp='$CPP $CPPFLAGS'
73759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73764 /* end confdefs.h. */
73766 #include <math.h>
73767 #ifdef HAVE_IEEEFP_H
73768 # include <ieeefp.h>
73769 #endif
73770 #undef log10l
73773 main ()
73776 void (*f)(void) = (void (*)(void))log10l;
73779 return 0;
73781 _ACEOF
73782 if ac_fn_c_try_compile "$LINENO"; then :
73783 glibcxx_cv_func_log10l_use=yes
73785 else
73786 glibcxx_cv_func_log10l_use=no
73788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
73791 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
73792 if test "x$glibcxx_cv_func_log10l_use" = xyes; then
73793 cat >>confdefs.h <<_ACEOF
73794 #define HAVE_LOG10L 1
73795 _ACEOF
73801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
73802 $as_echo_n "checking for logl declaration... " >&6; }
73803 if ${glibcxx_cv_func_logl_use+:} false; then :
73804 $as_echo_n "(cached) " >&6
73805 else
73808 ac_ext=c
73809 ac_cpp='$CPP $CPPFLAGS'
73810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73815 /* end confdefs.h. */
73817 #include <math.h>
73818 #ifdef HAVE_IEEEFP_H
73819 # include <ieeefp.h>
73820 #endif
73821 #undef logl
73824 main ()
73827 void (*f)(void) = (void (*)(void))logl;
73830 return 0;
73832 _ACEOF
73833 if ac_fn_c_try_compile "$LINENO"; then :
73834 glibcxx_cv_func_logl_use=yes
73836 else
73837 glibcxx_cv_func_logl_use=no
73839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
73842 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
73843 if test "x$glibcxx_cv_func_logl_use" = xyes; then
73844 cat >>confdefs.h <<_ACEOF
73845 #define HAVE_LOGL 1
73846 _ACEOF
73852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
73853 $as_echo_n "checking for modfl declaration... " >&6; }
73854 if ${glibcxx_cv_func_modfl_use+:} false; then :
73855 $as_echo_n "(cached) " >&6
73856 else
73859 ac_ext=c
73860 ac_cpp='$CPP $CPPFLAGS'
73861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73866 /* end confdefs.h. */
73868 #include <math.h>
73869 #ifdef HAVE_IEEEFP_H
73870 # include <ieeefp.h>
73871 #endif
73872 #undef modfl
73875 main ()
73878 void (*f)(void) = (void (*)(void))modfl;
73881 return 0;
73883 _ACEOF
73884 if ac_fn_c_try_compile "$LINENO"; then :
73885 glibcxx_cv_func_modfl_use=yes
73887 else
73888 glibcxx_cv_func_modfl_use=no
73890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
73893 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
73894 if test "x$glibcxx_cv_func_modfl_use" = xyes; then
73895 cat >>confdefs.h <<_ACEOF
73896 #define HAVE_MODFL 1
73897 _ACEOF
73903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
73904 $as_echo_n "checking for powl declaration... " >&6; }
73905 if ${glibcxx_cv_func_powl_use+:} false; then :
73906 $as_echo_n "(cached) " >&6
73907 else
73910 ac_ext=c
73911 ac_cpp='$CPP $CPPFLAGS'
73912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73917 /* end confdefs.h. */
73919 #include <math.h>
73920 #ifdef HAVE_IEEEFP_H
73921 # include <ieeefp.h>
73922 #endif
73923 #undef powl
73926 main ()
73929 void (*f)(void) = (void (*)(void))powl;
73932 return 0;
73934 _ACEOF
73935 if ac_fn_c_try_compile "$LINENO"; then :
73936 glibcxx_cv_func_powl_use=yes
73938 else
73939 glibcxx_cv_func_powl_use=no
73941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
73944 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
73945 if test "x$glibcxx_cv_func_powl_use" = xyes; then
73946 cat >>confdefs.h <<_ACEOF
73947 #define HAVE_POWL 1
73948 _ACEOF
73954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl declaration" >&5
73955 $as_echo_n "checking for sinl declaration... " >&6; }
73956 if ${glibcxx_cv_func_sinl_use+:} false; then :
73957 $as_echo_n "(cached) " >&6
73958 else
73961 ac_ext=c
73962 ac_cpp='$CPP $CPPFLAGS'
73963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73968 /* end confdefs.h. */
73970 #include <math.h>
73971 #ifdef HAVE_IEEEFP_H
73972 # include <ieeefp.h>
73973 #endif
73974 #undef sinl
73977 main ()
73980 void (*f)(void) = (void (*)(void))sinl;
73983 return 0;
73985 _ACEOF
73986 if ac_fn_c_try_compile "$LINENO"; then :
73987 glibcxx_cv_func_sinl_use=yes
73989 else
73990 glibcxx_cv_func_sinl_use=no
73992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinl_use" >&5
73995 $as_echo "$glibcxx_cv_func_sinl_use" >&6; }
73996 if test "x$glibcxx_cv_func_sinl_use" = xyes; then
73997 cat >>confdefs.h <<_ACEOF
73998 #define HAVE_SINL 1
73999 _ACEOF
74005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl declaration" >&5
74006 $as_echo_n "checking for sinhl declaration... " >&6; }
74007 if ${glibcxx_cv_func_sinhl_use+:} false; then :
74008 $as_echo_n "(cached) " >&6
74009 else
74012 ac_ext=c
74013 ac_cpp='$CPP $CPPFLAGS'
74014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74019 /* end confdefs.h. */
74021 #include <math.h>
74022 #ifdef HAVE_IEEEFP_H
74023 # include <ieeefp.h>
74024 #endif
74025 #undef sinhl
74028 main ()
74031 void (*f)(void) = (void (*)(void))sinhl;
74034 return 0;
74036 _ACEOF
74037 if ac_fn_c_try_compile "$LINENO"; then :
74038 glibcxx_cv_func_sinhl_use=yes
74040 else
74041 glibcxx_cv_func_sinhl_use=no
74043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinhl_use" >&5
74046 $as_echo "$glibcxx_cv_func_sinhl_use" >&6; }
74047 if test "x$glibcxx_cv_func_sinhl_use" = xyes; then
74048 cat >>confdefs.h <<_ACEOF
74049 #define HAVE_SINHL 1
74050 _ACEOF
74056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
74057 $as_echo_n "checking for sqrtl declaration... " >&6; }
74058 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
74059 $as_echo_n "(cached) " >&6
74060 else
74063 ac_ext=c
74064 ac_cpp='$CPP $CPPFLAGS'
74065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74070 /* end confdefs.h. */
74072 #include <math.h>
74073 #ifdef HAVE_IEEEFP_H
74074 # include <ieeefp.h>
74075 #endif
74076 #undef sqrtl
74079 main ()
74082 void (*f)(void) = (void (*)(void))sqrtl;
74085 return 0;
74087 _ACEOF
74088 if ac_fn_c_try_compile "$LINENO"; then :
74089 glibcxx_cv_func_sqrtl_use=yes
74091 else
74092 glibcxx_cv_func_sqrtl_use=no
74094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
74097 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
74098 if test "x$glibcxx_cv_func_sqrtl_use" = xyes; then
74099 cat >>confdefs.h <<_ACEOF
74100 #define HAVE_SQRTL 1
74101 _ACEOF
74107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl declaration" >&5
74108 $as_echo_n "checking for tanl declaration... " >&6; }
74109 if ${glibcxx_cv_func_tanl_use+:} false; then :
74110 $as_echo_n "(cached) " >&6
74111 else
74114 ac_ext=c
74115 ac_cpp='$CPP $CPPFLAGS'
74116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74121 /* end confdefs.h. */
74123 #include <math.h>
74124 #ifdef HAVE_IEEEFP_H
74125 # include <ieeefp.h>
74126 #endif
74127 #undef tanl
74130 main ()
74133 void (*f)(void) = (void (*)(void))tanl;
74136 return 0;
74138 _ACEOF
74139 if ac_fn_c_try_compile "$LINENO"; then :
74140 glibcxx_cv_func_tanl_use=yes
74142 else
74143 glibcxx_cv_func_tanl_use=no
74145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanl_use" >&5
74148 $as_echo "$glibcxx_cv_func_tanl_use" >&6; }
74149 if test "x$glibcxx_cv_func_tanl_use" = xyes; then
74150 cat >>confdefs.h <<_ACEOF
74151 #define HAVE_TANL 1
74152 _ACEOF
74158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl declaration" >&5
74159 $as_echo_n "checking for tanhl declaration... " >&6; }
74160 if ${glibcxx_cv_func_tanhl_use+:} false; then :
74161 $as_echo_n "(cached) " >&6
74162 else
74165 ac_ext=c
74166 ac_cpp='$CPP $CPPFLAGS'
74167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74172 /* end confdefs.h. */
74174 #include <math.h>
74175 #ifdef HAVE_IEEEFP_H
74176 # include <ieeefp.h>
74177 #endif
74178 #undef tanhl
74181 main ()
74184 void (*f)(void) = (void (*)(void))tanhl;
74187 return 0;
74189 _ACEOF
74190 if ac_fn_c_try_compile "$LINENO"; then :
74191 glibcxx_cv_func_tanhl_use=yes
74193 else
74194 glibcxx_cv_func_tanhl_use=no
74196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanhl_use" >&5
74199 $as_echo "$glibcxx_cv_func_tanhl_use" >&6; }
74200 if test "x$glibcxx_cv_func_tanhl_use" = xyes; then
74201 cat >>confdefs.h <<_ACEOF
74202 #define HAVE_TANHL 1
74203 _ACEOF
74209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
74210 $as_echo_n "checking for hypotl declaration... " >&6; }
74211 if ${glibcxx_cv_func_hypotl_use+:} false; then :
74212 $as_echo_n "(cached) " >&6
74213 else
74216 ac_ext=c
74217 ac_cpp='$CPP $CPPFLAGS'
74218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74223 /* end confdefs.h. */
74225 #include <math.h>
74226 #ifdef HAVE_IEEEFP_H
74227 # include <ieeefp.h>
74228 #endif
74229 #undef hypotl
74232 main ()
74235 void (*f)(void) = (void (*)(void))hypotl;
74238 return 0;
74240 _ACEOF
74241 if ac_fn_c_try_compile "$LINENO"; then :
74242 glibcxx_cv_func_hypotl_use=yes
74244 else
74245 glibcxx_cv_func_hypotl_use=no
74247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
74250 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
74251 if test "x$glibcxx_cv_func_hypotl_use" = xyes; then
74252 cat >>confdefs.h <<_ACEOF
74253 #define HAVE_HYPOTL 1
74254 _ACEOF
74260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
74261 $as_echo_n "checking for ldexpf declaration... " >&6; }
74262 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
74263 $as_echo_n "(cached) " >&6
74264 else
74267 ac_ext=c
74268 ac_cpp='$CPP $CPPFLAGS'
74269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74274 /* end confdefs.h. */
74276 #include <math.h>
74277 #ifdef HAVE_IEEEFP_H
74278 # include <ieeefp.h>
74279 #endif
74280 #undef ldexpf
74283 main ()
74286 void (*f)(void) = (void (*)(void))ldexpf;
74289 return 0;
74291 _ACEOF
74292 if ac_fn_c_try_compile "$LINENO"; then :
74293 glibcxx_cv_func_ldexpf_use=yes
74295 else
74296 glibcxx_cv_func_ldexpf_use=no
74298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
74301 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
74302 if test "x$glibcxx_cv_func_ldexpf_use" = xyes; then
74303 cat >>confdefs.h <<_ACEOF
74304 #define HAVE_LDEXPF 1
74305 _ACEOF
74311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
74312 $as_echo_n "checking for modff declaration... " >&6; }
74313 if ${glibcxx_cv_func_modff_use+:} false; then :
74314 $as_echo_n "(cached) " >&6
74315 else
74318 ac_ext=c
74319 ac_cpp='$CPP $CPPFLAGS'
74320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74325 /* end confdefs.h. */
74327 #include <math.h>
74328 #ifdef HAVE_IEEEFP_H
74329 # include <ieeefp.h>
74330 #endif
74331 #undef modff
74334 main ()
74337 void (*f)(void) = (void (*)(void))modff;
74340 return 0;
74342 _ACEOF
74343 if ac_fn_c_try_compile "$LINENO"; then :
74344 glibcxx_cv_func_modff_use=yes
74346 else
74347 glibcxx_cv_func_modff_use=no
74349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
74352 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
74353 if test "x$glibcxx_cv_func_modff_use" = xyes; then
74354 cat >>confdefs.h <<_ACEOF
74355 #define HAVE_MODFF 1
74356 _ACEOF
74362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
74363 $as_echo_n "checking for hypotf declaration... " >&6; }
74364 if ${glibcxx_cv_func_hypotf_use+:} false; then :
74365 $as_echo_n "(cached) " >&6
74366 else
74369 ac_ext=c
74370 ac_cpp='$CPP $CPPFLAGS'
74371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74376 /* end confdefs.h. */
74378 #include <math.h>
74379 #ifdef HAVE_IEEEFP_H
74380 # include <ieeefp.h>
74381 #endif
74382 #undef hypotf
74385 main ()
74388 void (*f)(void) = (void (*)(void))hypotf;
74391 return 0;
74393 _ACEOF
74394 if ac_fn_c_try_compile "$LINENO"; then :
74395 glibcxx_cv_func_hypotf_use=yes
74397 else
74398 glibcxx_cv_func_hypotf_use=no
74400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
74403 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
74404 if test "x$glibcxx_cv_func_hypotf_use" = xyes; then
74405 cat >>confdefs.h <<_ACEOF
74406 #define HAVE_HYPOTF 1
74407 _ACEOF
74413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
74414 $as_echo_n "checking for frexpf declaration... " >&6; }
74415 if ${glibcxx_cv_func_frexpf_use+:} false; then :
74416 $as_echo_n "(cached) " >&6
74417 else
74420 ac_ext=c
74421 ac_cpp='$CPP $CPPFLAGS'
74422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74427 /* end confdefs.h. */
74429 #include <math.h>
74430 #ifdef HAVE_IEEEFP_H
74431 # include <ieeefp.h>
74432 #endif
74433 #undef frexpf
74436 main ()
74439 void (*f)(void) = (void (*)(void))frexpf;
74442 return 0;
74444 _ACEOF
74445 if ac_fn_c_try_compile "$LINENO"; then :
74446 glibcxx_cv_func_frexpf_use=yes
74448 else
74449 glibcxx_cv_func_frexpf_use=no
74451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
74454 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
74455 if test "x$glibcxx_cv_func_frexpf_use" = xyes; then
74456 cat >>confdefs.h <<_ACEOF
74457 #define HAVE_FREXPF 1
74458 _ACEOF
74466 as_fn_error $? "No support for this host/target combination." "$LINENO" 5
74468 esac
74472 # At some point, we should differentiate between architectures
74473 # like x86, which have long double versions, and alpha/powerpc/etc.,
74474 # which don't. For the time being, punt.
74475 if test x"long_double_math_on_this_cpu" = x"yes"; then
74476 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
74478 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
74480 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
74482 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
74484 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
74486 $as_echo "#define HAVE_COSL 1" >>confdefs.h
74488 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
74490 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
74492 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
74494 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
74496 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
74498 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
74500 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
74502 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
74504 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
74506 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
74508 $as_echo "#define HAVE_POWL 1" >>confdefs.h
74510 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
74512 $as_echo "#define HAVE_SINL 1" >>confdefs.h
74514 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
74516 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
74518 $as_echo "#define HAVE_TANL 1" >>confdefs.h
74520 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
74525 # Check for _Unwind_GetIPInfo.
74528 # Check whether --with-system-libunwind was given.
74529 if test "${with_system_libunwind+set}" = set; then :
74530 withval=$with_system_libunwind;
74533 # If system-libunwind was not specifically set, pick a default setting.
74534 if test x$with_system_libunwind = x; then
74535 case ${target} in
74536 ia64-*-hpux*) with_system_libunwind=yes ;;
74537 *) with_system_libunwind=no ;;
74538 esac
74540 # Based on system-libunwind and target, do we have ipinfo?
74541 if test x$with_system_libunwind = xyes; then
74542 case ${target} in
74543 ia64-*-*) have_unwind_getipinfo=no ;;
74544 *) have_unwind_getipinfo=yes ;;
74545 esac
74546 else
74547 # Darwin before version 9 does not have _Unwind_GetIPInfo.
74549 case ${target} in
74550 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
74551 *) have_unwind_getipinfo=yes ;;
74552 esac
74556 if test x$have_unwind_getipinfo = xyes; then
74558 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
74563 # Check whether --enable-linux-futex was given.
74564 if test "${enable_linux_futex+set}" = set; then :
74565 enableval=$enable_linux_futex;
74566 case "$enableval" in
74567 yes|no|default) ;;
74568 *) as_fn_error $? "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
74569 esac
74571 else
74572 enable_linux_futex=default
74576 case "$target" in
74577 *-linux* | *-uclinux*)
74578 case "$enable_linux_futex" in
74579 default)
74580 # If headers don't have gettid/futex syscalls definition, then
74581 # default to no, otherwise there will be compile time failures.
74582 # Otherwise, default to yes. If we don't detect we are
74583 # compiled/linked against NPTL and not cross-compiling, check
74584 # if programs are run by default against NPTL and if not, issue
74585 # a warning.
74586 enable_linux_futex=no
74587 if test x$gcc_no_link = xyes; then
74588 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74591 /* end confdefs.h. */
74592 #include <sys/syscall.h>
74593 #include <unistd.h>
74594 int lk;
74596 main ()
74598 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
74600 return 0;
74602 _ACEOF
74603 if ac_fn_c_try_link "$LINENO"; then :
74604 save_LIBS="$LIBS"
74605 LIBS="-lpthread $LIBS"
74606 if test x$gcc_no_link = xyes; then
74607 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74610 /* end confdefs.h. */
74611 #ifndef _GNU_SOURCE
74612 #define _GNU_SOURCE 1
74613 #endif
74614 #include <pthread.h>
74615 pthread_t th; void *status;
74617 main ()
74619 pthread_tryjoin_np (th, &status);
74621 return 0;
74623 _ACEOF
74624 if ac_fn_c_try_link "$LINENO"; then :
74625 enable_linux_futex=yes
74626 else
74627 if test x$cross_compiling = xno; then
74628 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
74629 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
74630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
74631 If so, please configure with --disable-linux-futex" >&5
74632 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
74633 If so, please configure with --disable-linux-futex" >&2;}
74636 enable_linux_futex=yes
74638 rm -f core conftest.err conftest.$ac_objext \
74639 conftest$ac_exeext conftest.$ac_ext
74640 LIBS="$save_LIBS"
74642 rm -f core conftest.err conftest.$ac_objext \
74643 conftest$ac_exeext conftest.$ac_ext
74645 yes)
74646 if test x$gcc_no_link = xyes; then
74647 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74650 /* end confdefs.h. */
74651 #include <sys/syscall.h>
74652 #include <unistd.h>
74653 int lk;
74655 main ()
74657 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
74659 return 0;
74661 _ACEOF
74662 if ac_fn_c_try_link "$LINENO"; then :
74664 else
74665 as_fn_error $? "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
74667 rm -f core conftest.err conftest.$ac_objext \
74668 conftest$ac_exeext conftest.$ac_ext
74670 esac
74673 enable_linux_futex=no
74675 esac
74676 if test x$enable_linux_futex = xyes; then
74678 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
74685 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
74687 acx_cv_header_stdint=stddef.h
74688 acx_cv_header_stdint_kind="(already complete)"
74689 for i in stdint.h $inttype_headers; do
74690 unset ac_cv_type_uintptr_t
74691 unset ac_cv_type_uintmax_t
74692 unset ac_cv_type_int_least32_t
74693 unset ac_cv_type_int_fast32_t
74694 unset ac_cv_type_uint64_t
74695 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
74696 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
74697 #include <$i>
74699 if test "x$ac_cv_type_uintmax_t" = xyes; then :
74700 acx_cv_header_stdint=$i
74701 else
74702 continue
74705 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
74706 #include <$i>
74708 if test "x$ac_cv_type_uintptr_t" = xyes; then :
74710 else
74711 acx_cv_header_stdint_kind="(mostly complete)"
74714 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
74715 #include <$i>
74717 if test "x$ac_cv_type_int_least32_t" = xyes; then :
74719 else
74720 acx_cv_header_stdint_kind="(mostly complete)"
74723 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
74724 #include <$i>
74726 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
74728 else
74729 acx_cv_header_stdint_kind="(mostly complete)"
74732 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
74733 #include <$i>
74735 if test "x$ac_cv_type_uint64_t" = xyes; then :
74737 else
74738 acx_cv_header_stdint_kind="(lacks uint64_t)"
74741 break
74742 done
74743 if test "$acx_cv_header_stdint" = stddef.h; then
74744 acx_cv_header_stdint_kind="(lacks uintmax_t)"
74745 for i in stdint.h $inttype_headers; do
74746 unset ac_cv_type_uintptr_t
74747 unset ac_cv_type_uint32_t
74748 unset ac_cv_type_uint64_t
74749 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
74750 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
74751 #include <$i>
74753 if test "x$ac_cv_type_uint32_t" = xyes; then :
74754 acx_cv_header_stdint=$i
74755 else
74756 continue
74759 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
74760 #include <$i>
74762 if test "x$ac_cv_type_uint64_t" = xyes; then :
74766 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
74767 #include <$i>
74769 if test "x$ac_cv_type_uintptr_t" = xyes; then :
74773 break
74774 done
74776 if test "$acx_cv_header_stdint" = stddef.h; then
74777 acx_cv_header_stdint_kind="(u_intXX_t style)"
74778 for i in sys/types.h $inttype_headers; do
74779 unset ac_cv_type_u_int32_t
74780 unset ac_cv_type_u_int64_t
74781 $as_echo_n "looking for u_intXX_t types in $i, " >&6
74782 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
74783 #include <$i>
74785 if test "x$ac_cv_type_u_int32_t" = xyes; then :
74786 acx_cv_header_stdint=$i
74787 else
74788 continue
74791 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
74792 #include <$i>
74794 if test "x$ac_cv_type_u_int64_t" = xyes; then :
74798 break
74799 done
74801 if test "$acx_cv_header_stdint" = stddef.h; then
74802 acx_cv_header_stdint_kind="(using manual detection)"
74805 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
74806 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
74807 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
74808 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
74809 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
74811 # ----------------- Summarize what we found so far
74813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
74814 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
74816 case `$as_basename -- include/gstdint.h ||
74817 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
74818 Xinclude/gstdint.h : 'X\(//\)$' \| \
74819 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
74820 $as_echo X/include/gstdint.h |
74821 sed '/^.*\/\([^/][^/]*\)\/*$/{
74822 s//\1/
74825 /^X\/\(\/\/\)$/{
74826 s//\1/
74829 /^X\/\(\/\).*/{
74830 s//\1/
74833 s/.*/./; q'` in
74834 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
74835 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
74836 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
74837 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
74838 *) ;;
74839 esac
74841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
74842 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
74844 # ----------------- done included file, check C basic types --------
74846 # Lacking an uintptr_t? Test size of void *
74847 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
74848 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
74849 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74850 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74851 # This bug is HP SR number 8606223364.
74852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
74853 $as_echo_n "checking size of void *... " >&6; }
74854 if ${ac_cv_sizeof_void_p+:} false; then :
74855 $as_echo_n "(cached) " >&6
74856 else
74857 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
74859 else
74860 if test "$ac_cv_type_void_p" = yes; then
74861 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74862 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74863 as_fn_error 77 "cannot compute sizeof (void *)
74864 See \`config.log' for more details" "$LINENO" 5; }
74865 else
74866 ac_cv_sizeof_void_p=0
74871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
74872 $as_echo "$ac_cv_sizeof_void_p" >&6; }
74876 cat >>confdefs.h <<_ACEOF
74877 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
74878 _ACEOF
74881 esac
74883 # Lacking an uint64_t? Test size of long
74884 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
74885 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
74886 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74887 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74888 # This bug is HP SR number 8606223364.
74889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
74890 $as_echo_n "checking size of long... " >&6; }
74891 if ${ac_cv_sizeof_long+:} false; then :
74892 $as_echo_n "(cached) " >&6
74893 else
74894 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
74896 else
74897 if test "$ac_cv_type_long" = yes; then
74898 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74899 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74900 as_fn_error 77 "cannot compute sizeof (long)
74901 See \`config.log' for more details" "$LINENO" 5; }
74902 else
74903 ac_cv_sizeof_long=0
74908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
74909 $as_echo "$ac_cv_sizeof_long" >&6; }
74913 cat >>confdefs.h <<_ACEOF
74914 #define SIZEOF_LONG $ac_cv_sizeof_long
74915 _ACEOF
74918 esac
74920 if test $acx_cv_header_stdint = stddef.h; then
74921 # Lacking a good header? Test size of everything and deduce all types.
74922 # The cast to long int works around a bug in the HP C Compiler
74923 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74924 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74925 # This bug is HP SR number 8606223364.
74926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
74927 $as_echo_n "checking size of int... " >&6; }
74928 if ${ac_cv_sizeof_int+:} false; then :
74929 $as_echo_n "(cached) " >&6
74930 else
74931 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
74933 else
74934 if test "$ac_cv_type_int" = yes; then
74935 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74936 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74937 as_fn_error 77 "cannot compute sizeof (int)
74938 See \`config.log' for more details" "$LINENO" 5; }
74939 else
74940 ac_cv_sizeof_int=0
74945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
74946 $as_echo "$ac_cv_sizeof_int" >&6; }
74950 cat >>confdefs.h <<_ACEOF
74951 #define SIZEOF_INT $ac_cv_sizeof_int
74952 _ACEOF
74955 # The cast to long int works around a bug in the HP C Compiler
74956 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74957 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74958 # This bug is HP SR number 8606223364.
74959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
74960 $as_echo_n "checking size of short... " >&6; }
74961 if ${ac_cv_sizeof_short+:} false; then :
74962 $as_echo_n "(cached) " >&6
74963 else
74964 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
74966 else
74967 if test "$ac_cv_type_short" = yes; then
74968 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74969 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74970 as_fn_error 77 "cannot compute sizeof (short)
74971 See \`config.log' for more details" "$LINENO" 5; }
74972 else
74973 ac_cv_sizeof_short=0
74978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
74979 $as_echo "$ac_cv_sizeof_short" >&6; }
74983 cat >>confdefs.h <<_ACEOF
74984 #define SIZEOF_SHORT $ac_cv_sizeof_short
74985 _ACEOF
74988 # The cast to long int works around a bug in the HP C Compiler
74989 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74990 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74991 # This bug is HP SR number 8606223364.
74992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
74993 $as_echo_n "checking size of char... " >&6; }
74994 if ${ac_cv_sizeof_char+:} false; then :
74995 $as_echo_n "(cached) " >&6
74996 else
74997 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
74999 else
75000 if test "$ac_cv_type_char" = yes; then
75001 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
75002 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
75003 as_fn_error 77 "cannot compute sizeof (char)
75004 See \`config.log' for more details" "$LINENO" 5; }
75005 else
75006 ac_cv_sizeof_char=0
75011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
75012 $as_echo "$ac_cv_sizeof_char" >&6; }
75016 cat >>confdefs.h <<_ACEOF
75017 #define SIZEOF_CHAR $ac_cv_sizeof_char
75018 _ACEOF
75022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
75023 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
75024 case "$ac_cv_sizeof_char" in
75025 1) acx_cv_type_int8_t=char ;;
75026 *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
75027 esac
75028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
75029 $as_echo "$acx_cv_type_int8_t" >&6; }
75031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
75032 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
75033 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
75034 2:*) acx_cv_type_int16_t=int ;;
75035 *:2) acx_cv_type_int16_t=short ;;
75036 *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
75037 esac
75038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
75039 $as_echo "$acx_cv_type_int16_t" >&6; }
75041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
75042 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
75043 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
75044 4:*) acx_cv_type_int32_t=int ;;
75045 *:4) acx_cv_type_int32_t=long ;;
75046 *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
75047 esac
75048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
75049 $as_echo "$acx_cv_type_int32_t" >&6; }
75052 # These tests are here to make the output prettier
75054 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
75055 case "$ac_cv_sizeof_long" in
75056 8) acx_cv_type_int64_t=long ;;
75057 esac
75058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
75059 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
75060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
75061 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
75064 # Now we can use the above types
75066 if test "$ac_cv_type_uintptr_t" != yes; then
75067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
75068 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
75069 case $ac_cv_sizeof_void_p in
75070 2) acx_cv_type_intptr_t=int16_t ;;
75071 4) acx_cv_type_intptr_t=int32_t ;;
75072 8) acx_cv_type_intptr_t=int64_t ;;
75073 *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
75074 esac
75075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
75076 $as_echo "$acx_cv_type_intptr_t" >&6; }
75079 # ----------------- done all checks, emit header -------------
75080 ac_config_commands="$ac_config_commands include/gstdint.h"
75086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
75087 $as_echo_n "checking for GNU c++filt... " >&6; }
75088 if ${ac_cv_path_CXXFILT+:} false; then :
75089 $as_echo_n "(cached) " >&6
75090 else
75091 if test -z "$CXXFILT"; then
75092 ac_path_CXXFILT_found=false
75093 # Loop through the user's path and test for each of PROGNAME-LIST
75094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
75095 for as_dir in $PATH
75097 IFS=$as_save_IFS
75098 test -z "$as_dir" && as_dir=.
75099 for ac_prog in c++filt gc++filt; do
75100 for ac_exec_ext in '' $ac_executable_extensions; do
75101 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
75102 as_fn_executable_p "$ac_path_CXXFILT" || continue
75103 # Check for GNU $ac_path_CXXFILT
75104 case `"$ac_path_CXXFILT" --version 2>&1` in
75105 *GNU*)
75106 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
75107 esac
75109 $ac_path_CXXFILT_found && break 3
75110 done
75111 done
75112 done
75113 IFS=$as_save_IFS
75114 if test -z "$ac_cv_path_CXXFILT"; then
75117 else
75118 ac_cv_path_CXXFILT=$CXXFILT
75122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
75123 $as_echo "$ac_cv_path_CXXFILT" >&6; }
75124 CXXFILT=$ac_cv_path_CXXFILT
75128 # Check whether --enable-symvers was given.
75129 if test "${enable_symvers+set}" = set; then :
75130 enableval=$enable_symvers;
75131 case "$enableval" in
75132 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
75133 *) as_fn_error $? "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
75134 esac
75136 else
75137 enable_symvers=yes
75142 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
75143 # don't know enough about $LD to do tricks...
75145 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
75146 # with extern "C++" in version scripts.
75149 # Turn a 'yes' into a suitable default.
75150 if test x$enable_symvers = xyes ; then
75151 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
75152 enable_symvers=no
75153 else
75154 if test $with_gnu_ld = yes ; then
75155 case ${target_os} in
75156 hpux*)
75157 enable_symvers=no ;;
75159 enable_symvers=gnu ;;
75160 esac
75161 else
75162 case ${target_os} in
75163 darwin*)
75164 enable_symvers=darwin ;;
75165 # Sun symbol versioning exists since Solaris 2.5.
75166 solaris2.[5-9]* | solaris2.1[0-9]*)
75167 # make_sunver.pl needs GNU c++filt to support extern "C++" in
75168 # version scripts, so disable symbol versioning if none can be
75169 # found.
75170 if test -z "$ac_cv_path_CXXFILT"; then
75171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
75172 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
75173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
75174 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
75175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
75176 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
75177 enable_symvers=no
75178 else
75179 enable_symvers=sun
75183 enable_symvers=no ;;
75184 esac
75189 # Check to see if 'darwin' or 'darwin-export' can win.
75190 if test x$enable_symvers = xdarwin-export ; then
75191 enable_symvers=darwin
75194 # Check if 'sun' was requested on non-Solaris 2 platforms.
75195 if test x$enable_symvers = xsun ; then
75196 case ${target_os} in
75197 solaris2*)
75198 # All fine.
75201 # Unlikely to work.
75202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
75203 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
75204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
75205 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
75206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
75207 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
75208 enable_symvers=no
75210 esac
75213 # Check to see if 'gnu' can win.
75214 if test $enable_symvers = gnu ||
75215 test $enable_symvers = gnu-versioned-namespace ||
75216 test $enable_symvers = sun; then
75217 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
75218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
75219 $as_echo_n "checking for shared libgcc... " >&6; }
75220 ac_save_CFLAGS="$CFLAGS"
75221 CFLAGS=' -lgcc_s'
75222 if test x$gcc_no_link = xyes; then
75223 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75226 /* end confdefs.h. */
75229 main ()
75231 return 0;
75233 return 0;
75235 _ACEOF
75236 if ac_fn_c_try_link "$LINENO"; then :
75237 glibcxx_shared_libgcc=yes
75238 else
75239 glibcxx_shared_libgcc=no
75241 rm -f core conftest.err conftest.$ac_objext \
75242 conftest$ac_exeext conftest.$ac_ext
75243 CFLAGS="$ac_save_CFLAGS"
75244 if test $glibcxx_shared_libgcc = no; then
75245 cat > conftest.c <<EOF
75246 int main (void) { return 0; }
75248 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
75249 -shared -shared-libgcc -o conftest.so \
75250 conftest.c -v 2>&1 >/dev/null \
75251 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
75252 rm -f conftest.c conftest.so
75253 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
75254 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
75255 if test x$gcc_no_link = xyes; then
75256 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75259 /* end confdefs.h. */
75262 main ()
75264 return 0;
75266 return 0;
75268 _ACEOF
75269 if ac_fn_c_try_link "$LINENO"; then :
75270 glibcxx_shared_libgcc=yes
75272 rm -f core conftest.err conftest.$ac_objext \
75273 conftest$ac_exeext conftest.$ac_ext
75274 CFLAGS="$ac_save_CFLAGS"
75277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
75278 $as_echo "$glibcxx_shared_libgcc" >&6; }
75280 # For GNU ld, we need at least this version. The format is described in
75281 # GLIBCXX_CHECK_LINKER_FEATURES above.
75282 glibcxx_min_gnu_ld_version=21400
75284 # If no shared libgcc, can't win.
75285 if test $glibcxx_shared_libgcc != yes; then
75286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
75287 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
75288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
75289 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
75290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
75291 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
75292 enable_symvers=no
75293 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
75294 : All interesting versions of Sun ld support sun style symbol versioning.
75295 elif test $with_gnu_ld != yes ; then
75296 # just fail for now
75297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
75298 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
75299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
75300 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
75301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
75302 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
75303 enable_symvers=no
75304 elif test $glibcxx_ld_is_gold = yes ; then
75305 : All versions of gold support symbol versioning.
75306 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
75307 # The right tools, the right setup, but too old. Fallbacks?
75308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
75309 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
75310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
75311 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
75312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
75313 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
75314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
75315 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
75316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
75317 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
75318 enable_symvers=no
75322 # For libtool versioning info, format is CURRENT:REVISION:AGE
75323 libtool_VERSION=6:29:0
75325 # Everything parsed; figure out what files and settings to use.
75326 case $enable_symvers in
75328 SYMVER_FILE=config/abi/pre/none.ver
75330 gnu)
75331 SYMVER_FILE=config/abi/pre/gnu.ver
75333 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
75336 gnu-versioned-namespace)
75337 libtool_VERSION=8:0:0
75338 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
75340 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
75343 darwin)
75344 SYMVER_FILE=config/abi/pre/gnu.ver
75346 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
75349 sun)
75350 SYMVER_FILE=config/abi/pre/gnu.ver
75352 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
75355 esac
75357 if test x$enable_symvers != xno ; then
75359 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
75363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
75364 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
75365 if ${glibcxx_cv_have_as_symver_directive+:} false; then :
75366 $as_echo_n "(cached) " >&6
75367 else
75369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75370 /* end confdefs.h. */
75371 void foo (void); __asm (".symver foo, bar@SYMVER");
75373 main ()
75377 return 0;
75379 _ACEOF
75380 if ac_fn_c_try_compile "$LINENO"; then :
75381 glibcxx_cv_have_as_symver_directive=yes
75382 else
75383 glibcxx_cv_have_as_symver_directive=no
75385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
75388 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
75389 if test $glibcxx_cv_have_as_symver_directive = yes; then
75391 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
75402 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
75403 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
75405 if test $enable_symvers != no ; then
75406 case ${target_os} in
75407 # The Solaris 2 runtime linker doesn't support the GNU extension of
75408 # binding the same symbol to different versions
75409 solaris2*)
75411 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
75414 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
75417 esac
75420 # Now, set up compatibility support, if any.
75421 # In addition, need this to deal with std::size_t mangling in
75422 # src/compatibility.cc. In a perfect world, could use
75423 # typeid(std::size_t).name()[0] to do direct substitution.
75424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
75425 $as_echo_n "checking for size_t as unsigned int... " >&6; }
75426 ac_save_CFLAGS="$CFLAGS"
75427 CFLAGS="-Werror"
75428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75429 /* end confdefs.h. */
75432 main ()
75434 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
75436 return 0;
75438 _ACEOF
75439 if ac_fn_c_try_compile "$LINENO"; then :
75440 glibcxx_size_t_is_i=yes
75441 else
75442 glibcxx_size_t_is_i=no
75444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75445 CFLAGS=$ac_save_CFLAGS
75446 if test "$glibcxx_size_t_is_i" = yes; then
75448 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
75451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
75452 $as_echo "$glibcxx_size_t_is_i" >&6; }
75454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
75455 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
75456 ac_save_CFLAGS="$CFLAGS"
75457 CFLAGS="-Werror"
75458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75459 /* end confdefs.h. */
75462 main ()
75464 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
75466 return 0;
75468 _ACEOF
75469 if ac_fn_c_try_compile "$LINENO"; then :
75470 glibcxx_ptrdiff_t_is_i=yes
75471 else
75472 glibcxx_ptrdiff_t_is_i=no
75474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75475 CFLAGS=$ac_save_CFLAGS
75476 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
75478 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
75481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
75482 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
75487 # Check whether --enable-libstdcxx-visibility was given.
75488 if test "${enable_libstdcxx_visibility+set}" = set; then :
75489 enableval=$enable_libstdcxx_visibility;
75490 case "$enableval" in
75491 yes|no) ;;
75492 *) as_fn_error $? "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
75493 esac
75495 else
75496 enable_libstdcxx_visibility=yes
75501 if test x$enable_libstdcxx_visibility = xyes ; then
75502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
75503 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
75504 if ${glibcxx_cv_have_attribute_visibility+:} false; then :
75505 $as_echo_n "(cached) " >&6
75506 else
75508 save_CFLAGS="$CFLAGS"
75509 CFLAGS="$CFLAGS -Werror"
75510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75511 /* end confdefs.h. */
75512 void __attribute__((visibility("hidden"))) foo(void) { }
75514 main ()
75518 return 0;
75520 _ACEOF
75521 if ac_fn_c_try_compile "$LINENO"; then :
75522 glibcxx_cv_have_attribute_visibility=yes
75523 else
75524 glibcxx_cv_have_attribute_visibility=no
75526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75527 CFLAGS="$save_CFLAGS"
75529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
75530 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
75531 if test $glibcxx_cv_have_attribute_visibility = no; then
75532 enable_libstdcxx_visibility=no
75537 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
75538 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
75542 # Check whether --enable-libstdcxx-dual-abi was given.
75543 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
75544 enableval=$enable_libstdcxx_dual_abi;
75545 case "$enableval" in
75546 yes|no) ;;
75547 *) as_fn_error $? "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
75548 esac
75550 else
75551 enable_libstdcxx_dual_abi=yes
75555 if test x$enable_symvers = xgnu-versioned-namespace; then
75556 # gnu-versioned-namespace is incompatible with the dual ABI.
75557 enable_libstdcxx_dual_abi="no"
75559 if test x"$enable_libstdcxx_dual_abi" != xyes; then
75560 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
75561 $as_echo "$as_me: dual ABI is disabled" >&6;}
75562 default_libstdcxx_abi="gcc4-compatible"
75567 if test x$enable_libstdcxx_dual_abi = xyes; then
75568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
75569 $as_echo_n "checking for default std::string ABI to use... " >&6; }
75571 # Check whether --with-default-libstdcxx-abi was given.
75572 if test "${with_default_libstdcxx_abi+set}" = set; then :
75573 withval=$with_default_libstdcxx_abi; case "$withval" in
75574 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
75575 new|cxx11) default_libstdcxx_abi="new" ;;
75576 c++*|gnu++*) as_fn_error $? "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
75577 *) as_fn_error $? "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
75578 esac
75580 else
75581 default_libstdcxx_abi="new"
75584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
75585 $as_echo "${default_libstdcxx_abi}" >&6; }
75587 if test $default_libstdcxx_abi = "new"; then
75588 glibcxx_cxx11_abi=1
75589 glibcxx_cxx98_abi=0
75590 else
75591 glibcxx_cxx11_abi=0
75592 glibcxx_cxx98_abi=1
75598 ac_ldbl_compat=no
75599 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
75600 case "$target" in
75601 powerpc*-*-linux* | \
75602 sparc*-*-linux* | \
75603 s390*-*-linux* | \
75604 alpha*-*-linux*)
75605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75606 /* end confdefs.h. */
75609 main ()
75612 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
75613 #error no need for long double compatibility
75614 #endif
75617 return 0;
75619 _ACEOF
75620 if ac_fn_c_try_compile "$LINENO"; then :
75621 ac_ldbl_compat=yes
75622 else
75623 ac_ldbl_compat=no
75625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75626 if test "$ac_ldbl_compat" = yes; then
75628 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
75630 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
75631 case "$target" in
75632 powerpc*-*-linux*)
75633 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute" ;;
75634 esac
75636 esac
75640 # Check if assembler supports disabling hardware capability support.
75642 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
75644 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
75645 # with a different meaning.
75646 case ${target_os} in
75647 solaris2*)
75648 ac_save_CFLAGS="$CFLAGS"
75649 CFLAGS="$CFLAGS -Wa,-nH"
75651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
75652 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
75653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75654 /* end confdefs.h. */
75657 main ()
75659 return 0;
75661 return 0;
75663 _ACEOF
75664 if ac_fn_c_try_compile "$LINENO"; then :
75665 ac_hwcap_flags=yes
75666 else
75667 ac_hwcap_flags=no
75669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75670 if test "$ac_hwcap_flags" = "yes"; then
75671 HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
75673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
75674 $as_echo "$ac_hwcap_flags" >&6; }
75676 CFLAGS="$ac_save_CFLAGS"
75678 esac
75683 # Check if assembler supports rdrand opcode.
75685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
75686 $as_echo_n "checking for rdrand support in assembler... " >&6; }
75687 if ${ac_cv_x86_rdrand+:} false; then :
75688 $as_echo_n "(cached) " >&6
75689 else
75691 ac_cv_x86_rdrand=no
75692 case "$target" in
75693 i?86-*-* | \
75694 x86_64-*-*)
75695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75696 /* end confdefs.h. */
75699 main ()
75701 asm("rdrand %eax");
75703 return 0;
75705 _ACEOF
75706 if ac_fn_c_try_compile "$LINENO"; then :
75707 ac_cv_x86_rdrand=yes
75708 else
75709 ac_cv_x86_rdrand=no
75711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75712 esac
75716 if test $ac_cv_x86_rdrand = yes; then
75718 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
75721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
75722 $as_echo "$ac_cv_x86_rdrand" >&6; }
75724 # Check if assembler supports rdseed opcode.
75726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdseed support in assembler" >&5
75727 $as_echo_n "checking for rdseed support in assembler... " >&6; }
75728 if ${ac_cv_x86_rdseed+:} false; then :
75729 $as_echo_n "(cached) " >&6
75730 else
75732 ac_cv_x86_rdseed=no
75733 case "$target" in
75734 i?86-*-* | \
75735 x86_64-*-*)
75736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75737 /* end confdefs.h. */
75740 main ()
75742 asm("rdseed %eax");
75744 return 0;
75746 _ACEOF
75747 if ac_fn_c_try_compile "$LINENO"; then :
75748 ac_cv_x86_rdseed=yes
75749 else
75750 ac_cv_x86_rdseed=no
75752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75753 esac
75757 if test $ac_cv_x86_rdseed = yes; then
75759 $as_echo "#define _GLIBCXX_X86_RDSEED 1" >>confdefs.h
75762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdseed" >&5
75763 $as_echo "$ac_cv_x86_rdseed" >&6; }
75766 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
75768 # Do checks for resource limit functions.
75771 ac_ext=cpp
75772 ac_cpp='$CXXCPP $CPPFLAGS'
75773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75777 setrlimit_have_headers=yes
75778 for ac_header in unistd.h sys/time.h sys/resource.h
75779 do :
75780 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
75781 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
75782 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
75783 cat >>confdefs.h <<_ACEOF
75784 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
75785 _ACEOF
75787 else
75788 setrlimit_have_headers=no
75791 done
75793 # If don't have the headers, then we can't run the tests now, and we
75794 # won't be seeing any of these during testsuite compilation.
75795 if test $setrlimit_have_headers = yes; then
75796 # Can't do these in a loop, else the resulting syntax is wrong.
75798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
75799 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
75800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75801 /* end confdefs.h. */
75802 #include <unistd.h>
75803 #include <sys/time.h>
75804 #include <sys/resource.h>
75807 main ()
75809 int f = RLIMIT_DATA ;
75811 return 0;
75813 _ACEOF
75814 if ac_fn_cxx_try_compile "$LINENO"; then :
75815 glibcxx_mresult=1
75816 else
75817 glibcxx_mresult=0
75819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75821 cat >>confdefs.h <<_ACEOF
75822 #define HAVE_LIMIT_DATA $glibcxx_mresult
75823 _ACEOF
75825 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75827 $as_echo "$res" >&6; }
75830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
75831 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
75832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75833 /* end confdefs.h. */
75834 #include <unistd.h>
75835 #include <sys/time.h>
75836 #include <sys/resource.h>
75839 main ()
75841 int f = RLIMIT_RSS ;
75843 return 0;
75845 _ACEOF
75846 if ac_fn_cxx_try_compile "$LINENO"; then :
75847 glibcxx_mresult=1
75848 else
75849 glibcxx_mresult=0
75851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75853 cat >>confdefs.h <<_ACEOF
75854 #define HAVE_LIMIT_RSS $glibcxx_mresult
75855 _ACEOF
75857 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75859 $as_echo "$res" >&6; }
75862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
75863 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
75864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75865 /* end confdefs.h. */
75866 #include <unistd.h>
75867 #include <sys/time.h>
75868 #include <sys/resource.h>
75871 main ()
75873 int f = RLIMIT_VMEM ;
75875 return 0;
75877 _ACEOF
75878 if ac_fn_cxx_try_compile "$LINENO"; then :
75879 glibcxx_mresult=1
75880 else
75881 glibcxx_mresult=0
75883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75885 cat >>confdefs.h <<_ACEOF
75886 #define HAVE_LIMIT_VMEM $glibcxx_mresult
75887 _ACEOF
75889 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75891 $as_echo "$res" >&6; }
75894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
75895 $as_echo_n "checking for RLIMIT_AS... " >&6; }
75896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75897 /* end confdefs.h. */
75898 #include <unistd.h>
75899 #include <sys/time.h>
75900 #include <sys/resource.h>
75903 main ()
75905 int f = RLIMIT_AS ;
75907 return 0;
75909 _ACEOF
75910 if ac_fn_cxx_try_compile "$LINENO"; then :
75911 glibcxx_mresult=1
75912 else
75913 glibcxx_mresult=0
75915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75917 cat >>confdefs.h <<_ACEOF
75918 #define HAVE_LIMIT_AS $glibcxx_mresult
75919 _ACEOF
75921 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75923 $as_echo "$res" >&6; }
75926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
75927 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
75928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75929 /* end confdefs.h. */
75930 #include <unistd.h>
75931 #include <sys/time.h>
75932 #include <sys/resource.h>
75935 main ()
75937 int f = RLIMIT_FSIZE ;
75939 return 0;
75941 _ACEOF
75942 if ac_fn_cxx_try_compile "$LINENO"; then :
75943 glibcxx_mresult=1
75944 else
75945 glibcxx_mresult=0
75947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75949 cat >>confdefs.h <<_ACEOF
75950 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
75951 _ACEOF
75953 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75955 $as_echo "$res" >&6; }
75958 # Check for rlimit, setrlimit.
75959 if ${glibcxx_cv_setrlimit+:} false; then :
75960 $as_echo_n "(cached) " >&6
75961 else
75963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75964 /* end confdefs.h. */
75965 #include <unistd.h>
75966 #include <sys/time.h>
75967 #include <sys/resource.h>
75970 main ()
75972 struct rlimit r;
75973 setrlimit(0, &r);
75975 return 0;
75977 _ACEOF
75978 if ac_fn_cxx_try_compile "$LINENO"; then :
75979 glibcxx_cv_setrlimit=yes
75980 else
75981 glibcxx_cv_setrlimit=no
75983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
75990 $as_echo_n "checking for testsuite resource limits support... " >&6; }
75991 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
75992 ac_res_limits=yes
75994 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
75996 else
75997 ac_res_limits=no
75999 ac_ext=c
76000 ac_cpp='$CPP $CPPFLAGS'
76001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
76006 $as_echo "$ac_res_limits" >&6; }
76009 if $GLIBCXX_IS_NATIVE ; then
76010 # Look for setenv, so that extended locale tests can be performed.
76012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
76013 $as_echo_n "checking for setenv declaration... " >&6; }
76014 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
76015 if ${glibcxx_cv_func_setenv_use+:} false; then :
76016 $as_echo_n "(cached) " >&6
76017 else
76020 ac_ext=cpp
76021 ac_cpp='$CXXCPP $CPPFLAGS'
76022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76027 /* end confdefs.h. */
76028 #include <stdlib.h>
76030 main ()
76032 setenv(0, 0, 0);
76034 return 0;
76036 _ACEOF
76037 if ac_fn_cxx_try_compile "$LINENO"; then :
76038 glibcxx_cv_func_setenv_use=yes
76039 else
76040 glibcxx_cv_func_setenv_use=no
76042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76043 ac_ext=c
76044 ac_cpp='$CPP $CPPFLAGS'
76045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
76054 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
76055 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
76056 for ac_func in setenv
76057 do :
76058 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
76059 if test "x$ac_cv_func_setenv" = xyes; then :
76060 cat >>confdefs.h <<_ACEOF
76061 #define HAVE_SETENV 1
76062 _ACEOF
76065 done
76071 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
76072 test $enable_symvers != no; then
76073 case "$host" in
76074 *-*-cygwin*)
76075 enable_abi_check=no ;;
76077 enable_abi_check=yes ;;
76078 esac
76079 else
76080 # Only build this as native, since automake does not understand
76081 # CXX_FOR_BUILD.
76082 enable_abi_check=no
76085 # Export file names for ABI checking.
76086 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
76088 baseline_subdir_switch="$abi_baseline_subdir_switch"
76092 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
76094 # Check whether --enable-libstdcxx-threads was given.
76095 if test "${enable_libstdcxx_threads+set}" = set; then :
76096 enableval=$enable_libstdcxx_threads;
76097 case "$enableval" in
76098 yes|no) ;;
76099 *) as_fn_error $? "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
76100 esac
76102 else
76103 enable_libstdcxx_threads=auto
76108 if test x$enable_libstdcxx_threads = xauto ||
76109 test x$enable_libstdcxx_threads = xyes; then
76112 ac_ext=cpp
76113 ac_cpp='$CXXCPP $CPPFLAGS'
76114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76119 ac_save_CXXFLAGS="$CXXFLAGS"
76120 CXXFLAGS="$CXXFLAGS -fno-exceptions \
76121 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
76123 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
76124 case $target_thread_file in
76125 posix)
76126 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
76127 esac
76129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
76130 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
76132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76133 /* end confdefs.h. */
76134 #include <unistd.h>
76136 main ()
76139 // In case of POSIX threads check _POSIX_TIMEOUTS.
76140 #if (defined(_PTHREADS) \
76141 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
76142 #error
76143 #endif
76146 return 0;
76148 _ACEOF
76149 if ac_fn_cxx_try_compile "$LINENO"; then :
76150 ac_gthread_use_mutex_timedlock=1
76151 else
76152 ac_gthread_use_mutex_timedlock=0
76154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76157 cat >>confdefs.h <<_ACEOF
76158 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
76159 _ACEOF
76162 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
76163 else res_mutex_timedlock=no ; fi
76164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
76165 $as_echo "$res_mutex_timedlock" >&6; }
76167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
76168 $as_echo_n "checking for gthreads library... " >&6; }
76170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76171 /* end confdefs.h. */
76172 #include "gthr.h"
76174 main ()
76177 #ifndef __GTHREADS_CXX0X
76178 #error
76179 #endif
76182 return 0;
76184 _ACEOF
76185 if ac_fn_cxx_try_compile "$LINENO"; then :
76186 ac_has_gthreads=yes
76187 else
76188 ac_has_gthreads=no
76190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76191 else
76192 ac_has_gthreads=no
76195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
76196 $as_echo "$ac_has_gthreads" >&6; }
76198 if test x"$ac_has_gthreads" = x"yes"; then
76200 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
76203 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
76204 # but only do so if we're using pthread in the gthread library.
76205 # On VxWorks for example, pthread_rwlock_t is defined in sys/types.h
76206 # but the pthread library is not there by default and the gthread library
76207 # does not use it.
76208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76209 /* end confdefs.h. */
76210 #include "gthr.h"
76212 main ()
76215 #if (!defined(_PTHREADS))
76216 #error
76217 #endif
76220 return 0;
76222 _ACEOF
76223 if ac_fn_cxx_try_compile "$LINENO"; then :
76224 ac_gthread_use_pthreads=yes
76225 else
76226 ac_gthread_use_pthreads=no
76228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76229 if test x"$ac_gthread_use_pthreads" = x"yes"; then
76230 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
76232 if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
76234 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
76241 CXXFLAGS="$ac_save_CXXFLAGS"
76242 ac_ext=c
76243 ac_cpp='$CPP $CPPFLAGS'
76244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76250 # For Filesystem TS.
76251 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
76252 do :
76253 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
76254 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
76255 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
76256 cat >>confdefs.h <<_ACEOF
76257 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
76258 _ACEOF
76262 done
76265 # Check whether --enable-libstdcxx-filesystem-ts was given.
76266 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
76267 enableval=$enable_libstdcxx_filesystem_ts;
76268 case "$enableval" in
76269 yes|no|auto) ;;
76270 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
76271 esac
76273 else
76274 enable_libstdcxx_filesystem_ts=auto
76279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
76280 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
76281 if test x"$ac_cv_header_dirent_h" != x"yes"; then
76282 enable_libstdcxx_filesystem_ts=no
76284 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
76285 case "${target_os}" in
76286 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
76287 enable_libstdcxx_filesystem_ts=yes
76289 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu | uclinux*)
76290 enable_libstdcxx_filesystem_ts=yes
76292 rtems*)
76293 enable_libstdcxx_filesystem_ts=yes
76295 solaris*)
76296 enable_libstdcxx_filesystem_ts=yes
76298 mingw*)
76299 enable_libstdcxx_filesystem_ts=yes
76302 enable_libstdcxx_filesystem_ts=no
76304 esac
76306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
76307 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
76311 ac_ext=cpp
76312 ac_cpp='$CXXCPP $CPPFLAGS'
76313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76317 ac_save_CXXFLAGS="$CXXFLAGS"
76318 CXXFLAGS="$CXXFLAGS -fno-exceptions"
76319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
76320 $as_echo_n "checking for struct dirent.d_type... " >&6; }
76321 if ${glibcxx_cv_dirent_d_type+:} false; then :
76322 $as_echo_n "(cached) " >&6
76323 else
76324 if test x$gcc_no_link = xyes; then
76325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76326 /* end confdefs.h. */
76327 #include <dirent.h>
76329 main ()
76332 struct dirent d;
76333 if (sizeof d.d_type) return 0;
76336 return 0;
76338 _ACEOF
76339 if ac_fn_cxx_try_compile "$LINENO"; then :
76340 glibcxx_cv_dirent_d_type=yes
76341 else
76342 glibcxx_cv_dirent_d_type=no
76344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76345 else
76346 if test x$gcc_no_link = xyes; then
76347 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76350 /* end confdefs.h. */
76351 #include <dirent.h>
76353 main ()
76356 struct dirent d;
76357 if (sizeof d.d_type) return 0;
76360 return 0;
76362 _ACEOF
76363 if ac_fn_cxx_try_link "$LINENO"; then :
76364 glibcxx_cv_dirent_d_type=yes
76365 else
76366 glibcxx_cv_dirent_d_type=no
76368 rm -f core conftest.err conftest.$ac_objext \
76369 conftest$ac_exeext conftest.$ac_ext
76374 if test $glibcxx_cv_dirent_d_type = yes; then
76376 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
76379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
76380 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
76381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
76382 $as_echo_n "checking for realpath... " >&6; }
76383 if ${glibcxx_cv_realpath+:} false; then :
76384 $as_echo_n "(cached) " >&6
76385 else
76386 if test x$gcc_no_link = xyes; then
76387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76388 /* end confdefs.h. */
76390 #include <limits.h>
76391 #include <stdlib.h>
76392 #include <unistd.h>
76395 main ()
76398 #if _XOPEN_VERSION < 500
76399 #error
76400 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
76401 char *tmp = realpath((const char*)NULL, (char*)NULL);
76402 #else
76403 #error
76404 #endif
76407 return 0;
76409 _ACEOF
76410 if ac_fn_cxx_try_compile "$LINENO"; then :
76411 glibcxx_cv_realpath=yes
76412 else
76413 glibcxx_cv_realpath=no
76415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76416 else
76417 if test x$gcc_no_link = xyes; then
76418 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76421 /* end confdefs.h. */
76423 #include <limits.h>
76424 #include <stdlib.h>
76425 #include <unistd.h>
76428 main ()
76431 #if _XOPEN_VERSION < 500
76432 #error
76433 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
76434 char *tmp = realpath((const char*)NULL, (char*)NULL);
76435 #else
76436 #error
76437 #endif
76440 return 0;
76442 _ACEOF
76443 if ac_fn_cxx_try_link "$LINENO"; then :
76444 glibcxx_cv_realpath=yes
76445 else
76446 glibcxx_cv_realpath=no
76448 rm -f core conftest.err conftest.$ac_objext \
76449 conftest$ac_exeext conftest.$ac_ext
76454 if test $glibcxx_cv_realpath = yes; then
76456 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
76459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
76460 $as_echo "$glibcxx_cv_realpath" >&6; }
76461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
76462 $as_echo_n "checking for utimensat... " >&6; }
76463 if ${glibcxx_cv_utimensat+:} false; then :
76464 $as_echo_n "(cached) " >&6
76465 else
76466 if test x$gcc_no_link = xyes; then
76467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76468 /* end confdefs.h. */
76470 #include <fcntl.h>
76471 #include <sys/stat.h>
76474 main ()
76477 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
76478 int i = utimensat(AT_FDCWD, "path", ts, 0);
76481 return 0;
76483 _ACEOF
76484 if ac_fn_cxx_try_compile "$LINENO"; then :
76485 glibcxx_cv_utimensat=yes
76486 else
76487 glibcxx_cv_utimensat=no
76489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76490 else
76491 if test x$gcc_no_link = xyes; then
76492 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76495 /* end confdefs.h. */
76497 #include <fcntl.h>
76498 #include <sys/stat.h>
76501 main ()
76504 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
76505 int i = utimensat(AT_FDCWD, "path", ts, 0);
76508 return 0;
76510 _ACEOF
76511 if ac_fn_cxx_try_link "$LINENO"; then :
76512 glibcxx_cv_utimensat=yes
76513 else
76514 glibcxx_cv_utimensat=no
76516 rm -f core conftest.err conftest.$ac_objext \
76517 conftest$ac_exeext conftest.$ac_ext
76522 if test $glibcxx_cv_utimensat = yes; then
76524 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
76527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
76528 $as_echo "$glibcxx_cv_utimensat" >&6; }
76529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utime" >&5
76530 $as_echo_n "checking for utime... " >&6; }
76531 if ${glibcxx_cv_utime+:} false; then :
76532 $as_echo_n "(cached) " >&6
76533 else
76534 if test x$gcc_no_link = xyes; then
76535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76536 /* end confdefs.h. */
76538 #include <utime.h>
76541 main ()
76544 struct utimbuf t = { 1, 1 };
76545 int i = utime("path", &t);
76548 return 0;
76550 _ACEOF
76551 if ac_fn_cxx_try_compile "$LINENO"; then :
76552 glibcxx_cv_utime=yes
76553 else
76554 glibcxx_cv_utime=no
76556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76557 else
76558 if test x$gcc_no_link = xyes; then
76559 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76562 /* end confdefs.h. */
76564 #include <utime.h>
76567 main ()
76570 struct utimbuf t = { 1, 1 };
76571 int i = utime("path", &t);
76574 return 0;
76576 _ACEOF
76577 if ac_fn_cxx_try_link "$LINENO"; then :
76578 glibcxx_cv_utime=yes
76579 else
76580 glibcxx_cv_utime=no
76582 rm -f core conftest.err conftest.$ac_objext \
76583 conftest$ac_exeext conftest.$ac_ext
76588 if test $glibcxx_cv_utime = yes; then
76590 $as_echo "#define _GLIBCXX_USE_UTIME 1" >>confdefs.h
76593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utime" >&5
76594 $as_echo "$glibcxx_cv_utime" >&6; }
76595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lstat" >&5
76596 $as_echo_n "checking for lstat... " >&6; }
76597 if ${glibcxx_cv_lstat+:} false; then :
76598 $as_echo_n "(cached) " >&6
76599 else
76600 if test x$gcc_no_link = xyes; then
76601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76602 /* end confdefs.h. */
76603 #include <sys/stat.h>
76605 main ()
76608 struct stat st;
76609 int i = lstat("path", &st);
76612 return 0;
76614 _ACEOF
76615 if ac_fn_cxx_try_compile "$LINENO"; then :
76616 glibcxx_cv_lstat=yes
76617 else
76618 glibcxx_cv_lstat=no
76620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76621 else
76622 if test x$gcc_no_link = xyes; then
76623 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76626 /* end confdefs.h. */
76627 #include <sys/stat.h>
76629 main ()
76632 struct stat st;
76633 int i = lstat("path", &st);
76636 return 0;
76638 _ACEOF
76639 if ac_fn_cxx_try_link "$LINENO"; then :
76640 glibcxx_cv_lstat=yes
76641 else
76642 glibcxx_cv_lstat=no
76644 rm -f core conftest.err conftest.$ac_objext \
76645 conftest$ac_exeext conftest.$ac_ext
76650 if test $glibcxx_cv_lstat = yes; then
76652 $as_echo "#define _GLIBCXX_USE_LSTAT 1" >>confdefs.h
76655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_lstat" >&5
76656 $as_echo "$glibcxx_cv_lstat" >&6; }
76657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
76658 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
76659 if ${glibcxx_cv_st_mtim+:} false; then :
76660 $as_echo_n "(cached) " >&6
76661 else
76662 if test x$gcc_no_link = xyes; then
76663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76664 /* end confdefs.h. */
76665 #include <sys/stat.h>
76667 main ()
76670 struct stat st;
76671 return st.st_mtim.tv_nsec;
76674 return 0;
76676 _ACEOF
76677 if ac_fn_cxx_try_compile "$LINENO"; then :
76678 glibcxx_cv_st_mtim=yes
76679 else
76680 glibcxx_cv_st_mtim=no
76682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76683 else
76684 if test x$gcc_no_link = xyes; then
76685 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76688 /* end confdefs.h. */
76689 #include <sys/stat.h>
76691 main ()
76694 struct stat st;
76695 return st.st_mtim.tv_nsec;
76698 return 0;
76700 _ACEOF
76701 if ac_fn_cxx_try_link "$LINENO"; then :
76702 glibcxx_cv_st_mtim=yes
76703 else
76704 glibcxx_cv_st_mtim=no
76706 rm -f core conftest.err conftest.$ac_objext \
76707 conftest$ac_exeext conftest.$ac_ext
76712 if test $glibcxx_cv_st_mtim = yes; then
76714 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
76717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
76718 $as_echo "$glibcxx_cv_st_mtim" >&6; }
76719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
76720 $as_echo_n "checking for fchmod... " >&6; }
76721 if ${glibcxx_cv_fchmod+:} false; then :
76722 $as_echo_n "(cached) " >&6
76723 else
76724 if test x$gcc_no_link = xyes; then
76725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76726 /* end confdefs.h. */
76727 #include <sys/stat.h>
76729 main ()
76731 fchmod(1, S_IWUSR);
76733 return 0;
76735 _ACEOF
76736 if ac_fn_cxx_try_compile "$LINENO"; then :
76737 glibcxx_cv_fchmod=yes
76738 else
76739 glibcxx_cv_fchmod=no
76741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76742 else
76743 if test x$gcc_no_link = xyes; then
76744 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76747 /* end confdefs.h. */
76748 #include <sys/stat.h>
76750 main ()
76752 fchmod(1, S_IWUSR);
76754 return 0;
76756 _ACEOF
76757 if ac_fn_cxx_try_link "$LINENO"; then :
76758 glibcxx_cv_fchmod=yes
76759 else
76760 glibcxx_cv_fchmod=no
76762 rm -f core conftest.err conftest.$ac_objext \
76763 conftest$ac_exeext conftest.$ac_ext
76768 if test $glibcxx_cv_fchmod = yes; then
76770 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
76773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
76774 $as_echo "$glibcxx_cv_fchmod" >&6; }
76775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
76776 $as_echo_n "checking for fchmodat... " >&6; }
76777 if ${glibcxx_cv_fchmodat+:} false; then :
76778 $as_echo_n "(cached) " >&6
76779 else
76780 if test x$gcc_no_link = xyes; then
76781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76782 /* end confdefs.h. */
76784 #include <fcntl.h>
76785 #include <sys/stat.h>
76788 main ()
76790 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
76792 return 0;
76794 _ACEOF
76795 if ac_fn_cxx_try_compile "$LINENO"; then :
76796 glibcxx_cv_fchmodat=yes
76797 else
76798 glibcxx_cv_fchmodat=no
76800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76801 else
76802 if test x$gcc_no_link = xyes; then
76803 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76806 /* end confdefs.h. */
76808 #include <fcntl.h>
76809 #include <sys/stat.h>
76812 main ()
76814 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
76816 return 0;
76818 _ACEOF
76819 if ac_fn_cxx_try_link "$LINENO"; then :
76820 glibcxx_cv_fchmodat=yes
76821 else
76822 glibcxx_cv_fchmodat=no
76824 rm -f core conftest.err conftest.$ac_objext \
76825 conftest$ac_exeext conftest.$ac_ext
76830 if test $glibcxx_cv_fchmodat = yes; then
76832 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
76835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
76836 $as_echo "$glibcxx_cv_fchmodat" >&6; }
76837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
76838 $as_echo_n "checking for sendfile that can copy files... " >&6; }
76839 if ${glibcxx_cv_sendfile+:} false; then :
76840 $as_echo_n "(cached) " >&6
76841 else
76842 case "${target_os}" in
76843 gnu* | linux* | solaris* | uclinux*)
76844 if test x$gcc_no_link = xyes; then
76845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76846 /* end confdefs.h. */
76847 #include <sys/sendfile.h>
76849 main ()
76851 sendfile(1, 2, (off_t*)0, sizeof 1);
76853 return 0;
76855 _ACEOF
76856 if ac_fn_cxx_try_compile "$LINENO"; then :
76857 glibcxx_cv_sendfile=yes
76858 else
76859 glibcxx_cv_sendfile=no
76861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76862 else
76863 if test x$gcc_no_link = xyes; then
76864 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76867 /* end confdefs.h. */
76868 #include <sys/sendfile.h>
76870 main ()
76872 sendfile(1, 2, (off_t*)0, sizeof 1);
76874 return 0;
76876 _ACEOF
76877 if ac_fn_cxx_try_link "$LINENO"; then :
76878 glibcxx_cv_sendfile=yes
76879 else
76880 glibcxx_cv_sendfile=no
76882 rm -f core conftest.err conftest.$ac_objext \
76883 conftest$ac_exeext conftest.$ac_ext
76887 glibcxx_cv_sendfile=no
76889 esac
76893 if test $glibcxx_cv_sendfile = yes; then
76895 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
76898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
76899 $as_echo "$glibcxx_cv_sendfile" >&6; }
76900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
76901 $as_echo_n "checking for link... " >&6; }
76902 if ${glibcxx_cv_link+:} false; then :
76903 $as_echo_n "(cached) " >&6
76904 else
76905 if test x$gcc_no_link = xyes; then
76906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76907 /* end confdefs.h. */
76908 #include <unistd.h>
76910 main ()
76912 link("", "");
76914 return 0;
76916 _ACEOF
76917 if ac_fn_cxx_try_compile "$LINENO"; then :
76918 glibcxx_cv_link=yes
76919 else
76920 glibcxx_cv_link=no
76922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76923 else
76924 if test x$gcc_no_link = xyes; then
76925 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76928 /* end confdefs.h. */
76929 #include <unistd.h>
76931 main ()
76933 link("", "");
76935 return 0;
76937 _ACEOF
76938 if ac_fn_cxx_try_link "$LINENO"; then :
76939 glibcxx_cv_link=yes
76940 else
76941 glibcxx_cv_link=no
76943 rm -f core conftest.err conftest.$ac_objext \
76944 conftest$ac_exeext conftest.$ac_ext
76949 if test $glibcxx_cv_link = yes; then
76951 $as_echo "#define HAVE_LINK 1" >>confdefs.h
76954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_link" >&5
76955 $as_echo "$glibcxx_cv_link" >&6; }
76956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readlink" >&5
76957 $as_echo_n "checking for readlink... " >&6; }
76958 if ${glibcxx_cv_readlink+:} false; then :
76959 $as_echo_n "(cached) " >&6
76960 else
76961 if test x$gcc_no_link = xyes; then
76962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76963 /* end confdefs.h. */
76964 #include <unistd.h>
76966 main ()
76968 char buf[32]; readlink("", buf, sizeof(buf));
76970 return 0;
76972 _ACEOF
76973 if ac_fn_cxx_try_compile "$LINENO"; then :
76974 glibcxx_cv_readlink=yes
76975 else
76976 glibcxx_cv_readlink=no
76978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76979 else
76980 if test x$gcc_no_link = xyes; then
76981 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76984 /* end confdefs.h. */
76985 #include <unistd.h>
76987 main ()
76989 char buf[32]; readlink("", buf, sizeof(buf));
76991 return 0;
76993 _ACEOF
76994 if ac_fn_cxx_try_link "$LINENO"; then :
76995 glibcxx_cv_readlink=yes
76996 else
76997 glibcxx_cv_readlink=no
76999 rm -f core conftest.err conftest.$ac_objext \
77000 conftest$ac_exeext conftest.$ac_ext
77005 if test $glibcxx_cv_readlink = yes; then
77007 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
77010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_readlink" >&5
77011 $as_echo "$glibcxx_cv_readlink" >&6; }
77012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
77013 $as_echo_n "checking for symlink... " >&6; }
77014 if ${glibcxx_cv_symlink+:} false; then :
77015 $as_echo_n "(cached) " >&6
77016 else
77017 if test x$gcc_no_link = xyes; then
77018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77019 /* end confdefs.h. */
77020 #include <unistd.h>
77022 main ()
77024 symlink("", "");
77026 return 0;
77028 _ACEOF
77029 if ac_fn_cxx_try_compile "$LINENO"; then :
77030 glibcxx_cv_symlink=yes
77031 else
77032 glibcxx_cv_symlink=no
77034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77035 else
77036 if test x$gcc_no_link = xyes; then
77037 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77040 /* end confdefs.h. */
77041 #include <unistd.h>
77043 main ()
77045 symlink("", "");
77047 return 0;
77049 _ACEOF
77050 if ac_fn_cxx_try_link "$LINENO"; then :
77051 glibcxx_cv_symlink=yes
77052 else
77053 glibcxx_cv_symlink=no
77055 rm -f core conftest.err conftest.$ac_objext \
77056 conftest$ac_exeext conftest.$ac_ext
77061 if test $glibcxx_cv_symlink = yes; then
77063 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
77066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_symlink" >&5
77067 $as_echo "$glibcxx_cv_symlink" >&6; }
77068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncate" >&5
77069 $as_echo_n "checking for truncate... " >&6; }
77070 if ${glibcxx_cv_truncate+:} false; then :
77071 $as_echo_n "(cached) " >&6
77072 else
77073 if test x$gcc_no_link = xyes; then
77074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77075 /* end confdefs.h. */
77076 #include <unistd.h>
77078 main ()
77080 truncate("", 99);
77082 return 0;
77084 _ACEOF
77085 if ac_fn_cxx_try_compile "$LINENO"; then :
77086 glibcxx_cv_truncate=yes
77087 else
77088 glibcxx_cv_truncate=no
77090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77091 else
77092 if test x$gcc_no_link = xyes; then
77093 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77096 /* end confdefs.h. */
77097 #include <unistd.h>
77099 main ()
77101 truncate("", 99);
77103 return 0;
77105 _ACEOF
77106 if ac_fn_cxx_try_link "$LINENO"; then :
77107 glibcxx_cv_truncate=yes
77108 else
77109 glibcxx_cv_truncate=no
77111 rm -f core conftest.err conftest.$ac_objext \
77112 conftest$ac_exeext conftest.$ac_ext
77117 if test $glibcxx_cv_truncate = yes; then
77119 $as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
77122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_truncate" >&5
77123 $as_echo "$glibcxx_cv_truncate" >&6; }
77124 CXXFLAGS="$ac_save_CXXFLAGS"
77125 ac_ext=c
77126 ac_cpp='$CPP $CPPFLAGS'
77127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77133 # For Networking TS.
77134 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
77135 do :
77136 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
77137 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
77138 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
77139 cat >>confdefs.h <<_ACEOF
77140 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
77141 _ACEOF
77145 done
77148 # For Transactional Memory TS
77150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
77151 $as_echo_n "checking how size_t is mangled... " >&6; }
77152 if ${glibcxx_cv_size_t_mangling+:} false; then :
77153 $as_echo_n "(cached) " >&6
77154 else
77156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77157 /* end confdefs.h. */
77160 main ()
77162 extern __SIZE_TYPE__ x; extern unsigned long x;
77164 return 0;
77166 _ACEOF
77167 if ac_fn_c_try_compile "$LINENO"; then :
77168 glibcxx_cv_size_t_mangling=m
77169 else
77171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77172 /* end confdefs.h. */
77175 main ()
77177 extern __SIZE_TYPE__ x; extern unsigned int x;
77179 return 0;
77181 _ACEOF
77182 if ac_fn_c_try_compile "$LINENO"; then :
77183 glibcxx_cv_size_t_mangling=j
77184 else
77186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77187 /* end confdefs.h. */
77190 main ()
77192 extern __SIZE_TYPE__ x; extern unsigned long long x;
77194 return 0;
77196 _ACEOF
77197 if ac_fn_c_try_compile "$LINENO"; then :
77198 glibcxx_cv_size_t_mangling=y
77199 else
77201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77202 /* end confdefs.h. */
77205 main ()
77207 extern __SIZE_TYPE__ x; extern unsigned short x;
77209 return 0;
77211 _ACEOF
77212 if ac_fn_c_try_compile "$LINENO"; then :
77213 glibcxx_cv_size_t_mangling=t
77214 else
77216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77217 /* end confdefs.h. */
77220 main ()
77222 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
77224 return 0;
77226 _ACEOF
77227 if ac_fn_c_try_compile "$LINENO"; then :
77228 glibcxx_cv_size_t_mangling=u6uint20
77229 else
77230 glibcxx_cv_size_t_mangling=x
77232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
77248 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
77249 if test $glibcxx_cv_size_t_mangling = x; then
77250 as_fn_error $? "Unknown underlying type for size_t" "$LINENO" 5
77253 cat >>confdefs.h <<_ACEOF
77254 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
77255 _ACEOF
77259 # Check which release added std::exception_ptr for the target
77261 if test $enable_symvers != no; then
77262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
77263 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
77264 case ${target} in
77265 aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
77266 m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
77267 ac_exception_ptr_since_gcc46=yes
77270 # If the value of this macro changes then we will need to hardcode
77271 # yes/no here for additional targets based on the original value.
77272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77273 /* end confdefs.h. */
77276 main ()
77279 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
77280 # error atomic int not always lock free
77281 #endif
77284 return 0;
77286 _ACEOF
77287 if ac_fn_c_try_compile "$LINENO"; then :
77288 ac_exception_ptr_since_gcc46=yes
77289 else
77290 ac_exception_ptr_since_gcc46=no
77292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77294 esac
77295 if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
77297 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
77299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
77300 $as_echo "4.6.0" >&6; }
77301 else
77302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
77303 $as_echo "7.1.0" >&6; }
77308 # Define documentation rules conditionally.
77310 # See if makeinfo has been installed and is modern enough
77311 # that we can use it.
77313 # Extract the first word of "makeinfo", so it can be a program name with args.
77314 set dummy makeinfo; ac_word=$2
77315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77316 $as_echo_n "checking for $ac_word... " >&6; }
77317 if ${ac_cv_prog_MAKEINFO+:} false; then :
77318 $as_echo_n "(cached) " >&6
77319 else
77320 if test -n "$MAKEINFO"; then
77321 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
77322 else
77323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77324 for as_dir in $PATH
77326 IFS=$as_save_IFS
77327 test -z "$as_dir" && as_dir=.
77328 for ac_exec_ext in '' $ac_executable_extensions; do
77329 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77330 ac_cv_prog_MAKEINFO="makeinfo"
77331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77332 break 2
77334 done
77335 done
77336 IFS=$as_save_IFS
77340 MAKEINFO=$ac_cv_prog_MAKEINFO
77341 if test -n "$MAKEINFO"; then
77342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
77343 $as_echo "$MAKEINFO" >&6; }
77344 else
77345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77346 $as_echo "no" >&6; }
77350 if test -n "$MAKEINFO"; then
77351 # Found it, now check the version.
77352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
77353 $as_echo_n "checking for modern makeinfo... " >&6; }
77354 if ${gcc_cv_prog_makeinfo_modern+:} false; then :
77355 $as_echo_n "(cached) " >&6
77356 else
77357 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
77358 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
77360 case $ac_prog_version in
77361 '') gcc_cv_prog_makeinfo_modern=no;;
77362 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
77363 *) gcc_cv_prog_makeinfo_modern=no;;
77364 esac
77367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
77368 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
77369 else
77370 gcc_cv_prog_makeinfo_modern=no
77372 if test $gcc_cv_prog_makeinfo_modern = no; then
77373 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
77376 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
77377 BUILD_INFO_TRUE=
77378 BUILD_INFO_FALSE='#'
77379 else
77380 BUILD_INFO_TRUE='#'
77381 BUILD_INFO_FALSE=
77385 # Check for doxygen
77386 # Extract the first word of "doxygen", so it can be a program name with args.
77387 set dummy doxygen; ac_word=$2
77388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77389 $as_echo_n "checking for $ac_word... " >&6; }
77390 if ${ac_cv_prog_DOXYGEN+:} false; then :
77391 $as_echo_n "(cached) " >&6
77392 else
77393 if test -n "$DOXYGEN"; then
77394 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
77395 else
77396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77397 for as_dir in $PATH
77399 IFS=$as_save_IFS
77400 test -z "$as_dir" && as_dir=.
77401 for ac_exec_ext in '' $ac_executable_extensions; do
77402 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77403 ac_cv_prog_DOXYGEN="yes"
77404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77405 break 2
77407 done
77408 done
77409 IFS=$as_save_IFS
77411 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
77414 DOXYGEN=$ac_cv_prog_DOXYGEN
77415 if test -n "$DOXYGEN"; then
77416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
77417 $as_echo "$DOXYGEN" >&6; }
77418 else
77419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77420 $as_echo "no" >&6; }
77424 # Extract the first word of "dot", so it can be a program name with args.
77425 set dummy dot; ac_word=$2
77426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77427 $as_echo_n "checking for $ac_word... " >&6; }
77428 if ${ac_cv_prog_DOT+:} false; then :
77429 $as_echo_n "(cached) " >&6
77430 else
77431 if test -n "$DOT"; then
77432 ac_cv_prog_DOT="$DOT" # Let the user override the test.
77433 else
77434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77435 for as_dir in $PATH
77437 IFS=$as_save_IFS
77438 test -z "$as_dir" && as_dir=.
77439 for ac_exec_ext in '' $ac_executable_extensions; do
77440 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77441 ac_cv_prog_DOT="yes"
77442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77443 break 2
77445 done
77446 done
77447 IFS=$as_save_IFS
77449 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
77452 DOT=$ac_cv_prog_DOT
77453 if test -n "$DOT"; then
77454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
77455 $as_echo "$DOT" >&6; }
77456 else
77457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77458 $as_echo "no" >&6; }
77463 # Check for docbook
77464 # Extract the first word of "xmlcatalog", so it can be a program name with args.
77465 set dummy xmlcatalog; ac_word=$2
77466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77467 $as_echo_n "checking for $ac_word... " >&6; }
77468 if ${ac_cv_prog_XMLCATALOG+:} false; then :
77469 $as_echo_n "(cached) " >&6
77470 else
77471 if test -n "$XMLCATALOG"; then
77472 ac_cv_prog_XMLCATALOG="$XMLCATALOG" # Let the user override the test.
77473 else
77474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77475 for as_dir in $PATH
77477 IFS=$as_save_IFS
77478 test -z "$as_dir" && as_dir=.
77479 for ac_exec_ext in '' $ac_executable_extensions; do
77480 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77481 ac_cv_prog_XMLCATALOG="yes"
77482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77483 break 2
77485 done
77486 done
77487 IFS=$as_save_IFS
77489 test -z "$ac_cv_prog_XMLCATALOG" && ac_cv_prog_XMLCATALOG="no"
77492 XMLCATALOG=$ac_cv_prog_XMLCATALOG
77493 if test -n "$XMLCATALOG"; then
77494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLCATALOG" >&5
77495 $as_echo "$XMLCATALOG" >&6; }
77496 else
77497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77498 $as_echo "no" >&6; }
77502 # Extract the first word of "xsltproc", so it can be a program name with args.
77503 set dummy xsltproc; ac_word=$2
77504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77505 $as_echo_n "checking for $ac_word... " >&6; }
77506 if ${ac_cv_prog_XSLTPROC+:} false; then :
77507 $as_echo_n "(cached) " >&6
77508 else
77509 if test -n "$XSLTPROC"; then
77510 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
77511 else
77512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77513 for as_dir in $PATH
77515 IFS=$as_save_IFS
77516 test -z "$as_dir" && as_dir=.
77517 for ac_exec_ext in '' $ac_executable_extensions; do
77518 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77519 ac_cv_prog_XSLTPROC="yes"
77520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77521 break 2
77523 done
77524 done
77525 IFS=$as_save_IFS
77527 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
77530 XSLTPROC=$ac_cv_prog_XSLTPROC
77531 if test -n "$XSLTPROC"; then
77532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
77533 $as_echo "$XSLTPROC" >&6; }
77534 else
77535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77536 $as_echo "no" >&6; }
77540 # Extract the first word of "xmllint", so it can be a program name with args.
77541 set dummy xmllint; ac_word=$2
77542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77543 $as_echo_n "checking for $ac_word... " >&6; }
77544 if ${ac_cv_prog_XMLLINT+:} false; then :
77545 $as_echo_n "(cached) " >&6
77546 else
77547 if test -n "$XMLLINT"; then
77548 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
77549 else
77550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77551 for as_dir in $PATH
77553 IFS=$as_save_IFS
77554 test -z "$as_dir" && as_dir=.
77555 for ac_exec_ext in '' $ac_executable_extensions; do
77556 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77557 ac_cv_prog_XMLLINT="yes"
77558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77559 break 2
77561 done
77562 done
77563 IFS=$as_save_IFS
77565 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
77568 XMLLINT=$ac_cv_prog_XMLLINT
77569 if test -n "$XMLLINT"; then
77570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
77571 $as_echo "$XMLLINT" >&6; }
77572 else
77573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77574 $as_echo "no" >&6; }
77580 glibcxx_docbook_url=http://docbook.sourceforge.net/release/xsl-ns/current/
77582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
77583 $as_echo_n "checking for local stylesheet directory... " >&6; }
77584 glibcxx_local_stylesheets=no
77585 if test x${XMLCATALOG} = xyes && xsl_style_dir=`xmlcatalog "" $glibcxx_docbook_url 2>/dev/null`
77586 then
77587 XSL_STYLE_DIR=`echo $xsl_style_dir | sed -n 's;^file://;;p'`
77588 glibcxx_local_stylesheets=yes
77589 else
77590 for dir in \
77591 /usr/share/sgml/docbook/xsl-ns-stylesheets \
77592 /usr/share/xml/docbook/stylesheet/docbook-xsl-ns \
77593 /usr/share/xml/docbook/stylesheet/nwalsh5/current \
77594 /usr/share/xml/docbook/stylesheet/nwalsh/current
77596 if test -d $dir; then
77597 glibcxx_local_stylesheets=yes
77598 XSL_STYLE_DIR=$dir
77599 break
77601 done
77603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
77604 $as_echo "$glibcxx_local_stylesheets" >&6; }
77606 if test x"$glibcxx_local_stylesheets" = x"yes"; then
77608 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
77609 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
77611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
77612 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
77613 glibcxx_stylesheets=no
77614 if test x${XMLCATALOG} = xno || xmlcatalog "" $glibcxx_docbook_url/xhtml/docbook.xsl >/dev/null 2>&1; then
77615 if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude $glibcxx_docbook_url/xhtml/docbook.xsl - 2>/dev/null; then
77616 glibcxx_stylesheets=yes
77619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
77620 $as_echo "$glibcxx_stylesheets" >&6; }
77622 else
77623 glibcxx_stylesheets=no
77626 # Check for epub3 dependencies.
77627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
77628 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
77629 glibcxx_epub_stylesheets=no
77630 if test x"$glibcxx_local_stylesheets" = x"yes"; then
77631 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
77632 glibcxx_epub_stylesheets=yes
77635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
77636 $as_echo "$glibcxx_epub_stylesheets" >&6; }
77637 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
77638 BUILD_EPUB_TRUE=
77639 BUILD_EPUB_FALSE='#'
77640 else
77641 BUILD_EPUB_TRUE='#'
77642 BUILD_EPUB_FALSE=
77648 # Check for xml/html dependencies.
77649 if test $ac_cv_prog_DOXYGEN = "yes" &&
77650 test $ac_cv_prog_DOT = "yes" &&
77651 test $ac_cv_prog_XSLTPROC = "yes" &&
77652 test $ac_cv_prog_XMLLINT = "yes" &&
77653 test $glibcxx_stylesheets = "yes"; then
77654 BUILD_XML_TRUE=
77655 BUILD_XML_FALSE='#'
77656 else
77657 BUILD_XML_TRUE='#'
77658 BUILD_XML_FALSE=
77662 if test $ac_cv_prog_DOXYGEN = "yes" &&
77663 test $ac_cv_prog_DOT = "yes" &&
77664 test $ac_cv_prog_XSLTPROC = "yes" &&
77665 test $ac_cv_prog_XMLLINT = "yes" &&
77666 test $glibcxx_stylesheets = "yes"; then
77667 BUILD_HTML_TRUE=
77668 BUILD_HTML_FALSE='#'
77669 else
77670 BUILD_HTML_TRUE='#'
77671 BUILD_HTML_FALSE=
77675 # Check for man dependencies.
77676 if test $ac_cv_prog_DOXYGEN = "yes" &&
77677 test $ac_cv_prog_DOT = "yes"; then
77678 BUILD_MAN_TRUE=
77679 BUILD_MAN_FALSE='#'
77680 else
77681 BUILD_MAN_TRUE='#'
77682 BUILD_MAN_FALSE=
77686 # Check for pdf dependencies.
77687 # Extract the first word of "dblatex", so it can be a program name with args.
77688 set dummy dblatex; ac_word=$2
77689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77690 $as_echo_n "checking for $ac_word... " >&6; }
77691 if ${ac_cv_prog_DBLATEX+:} false; then :
77692 $as_echo_n "(cached) " >&6
77693 else
77694 if test -n "$DBLATEX"; then
77695 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
77696 else
77697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77698 for as_dir in $PATH
77700 IFS=$as_save_IFS
77701 test -z "$as_dir" && as_dir=.
77702 for ac_exec_ext in '' $ac_executable_extensions; do
77703 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77704 ac_cv_prog_DBLATEX="yes"
77705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77706 break 2
77708 done
77709 done
77710 IFS=$as_save_IFS
77712 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
77715 DBLATEX=$ac_cv_prog_DBLATEX
77716 if test -n "$DBLATEX"; then
77717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
77718 $as_echo "$DBLATEX" >&6; }
77719 else
77720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77721 $as_echo "no" >&6; }
77725 # Extract the first word of "pdflatex", so it can be a program name with args.
77726 set dummy pdflatex; ac_word=$2
77727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77728 $as_echo_n "checking for $ac_word... " >&6; }
77729 if ${ac_cv_prog_PDFLATEX+:} false; then :
77730 $as_echo_n "(cached) " >&6
77731 else
77732 if test -n "$PDFLATEX"; then
77733 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
77734 else
77735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77736 for as_dir in $PATH
77738 IFS=$as_save_IFS
77739 test -z "$as_dir" && as_dir=.
77740 for ac_exec_ext in '' $ac_executable_extensions; do
77741 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77742 ac_cv_prog_PDFLATEX="yes"
77743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77744 break 2
77746 done
77747 done
77748 IFS=$as_save_IFS
77750 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
77753 PDFLATEX=$ac_cv_prog_PDFLATEX
77754 if test -n "$PDFLATEX"; then
77755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
77756 $as_echo "$PDFLATEX" >&6; }
77757 else
77758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77759 $as_echo "no" >&6; }
77763 if test $ac_cv_prog_DOXYGEN = "yes" &&
77764 test $ac_cv_prog_DOT = "yes" &&
77765 test $ac_cv_prog_XSLTPROC = "yes" &&
77766 test $ac_cv_prog_XMLLINT = "yes" &&
77767 test $ac_cv_prog_DBLATEX = "yes" &&
77768 test $ac_cv_prog_PDFLATEX = "yes"; then
77769 BUILD_PDF_TRUE=
77770 BUILD_PDF_FALSE='#'
77771 else
77772 BUILD_PDF_TRUE='#'
77773 BUILD_PDF_FALSE=
77777 case "$build" in
77778 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
77779 * ) glibcxx_include_dir_notparallel=no ;;
77780 esac
77781 if test $glibcxx_include_dir_notparallel = "yes"; then
77782 INCLUDE_DIR_NOTPARALLEL_TRUE=
77783 INCLUDE_DIR_NOTPARALLEL_FALSE='#'
77784 else
77785 INCLUDE_DIR_NOTPARALLEL_TRUE='#'
77786 INCLUDE_DIR_NOTPARALLEL_FALSE=
77790 # Propagate the target-specific source directories through the build chain.
77791 ATOMICITY_SRCDIR=config/${atomicity_dir}
77792 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
77793 ATOMIC_FLAGS=${atomic_flags}
77794 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
77795 OS_INC_SRCDIR=config/${os_include_dir}
77796 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
77797 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
77798 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
77799 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
77810 # Conditionalize the makefile for this target machine.
77811 tmake_file_=
77812 for f in ${tmake_file}
77814 if test -f ${srcdir}/config/$f
77815 then
77816 tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
77818 done
77819 tmake_file="${tmake_file_}"
77822 # Add CET specific flags if Intel CET is enabled.
77823 # Check whether --enable-cet was given.
77824 if test "${enable_cet+set}" = set; then :
77825 enableval=$enable_cet;
77826 case "$enableval" in
77827 yes|no|auto) ;;
77828 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
77829 esac
77831 else
77832 enable_cet=auto
77836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
77837 $as_echo_n "checking for CET support... " >&6; }
77839 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
77840 case "$host" in
77841 i[34567]86-*-linux* | x86_64-*-linux*)
77842 case "$enable_cet" in
77843 auto)
77844 # Check if target supports multi-byte NOPs
77845 # and if compiler and assembler support CET insn.
77846 cet_save_CFLAGS="$CFLAGS"
77847 CFLAGS="$CFLAGS -fcf-protection"
77848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77849 /* end confdefs.h. */
77852 main ()
77855 #if !defined(__SSE2__)
77856 #error target does not support multi-byte NOPs
77857 #else
77858 asm ("setssbsy");
77859 #endif
77862 return 0;
77864 _ACEOF
77865 if ac_fn_c_try_compile "$LINENO"; then :
77866 enable_cet=yes
77867 else
77868 enable_cet=no
77870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77871 CFLAGS="$cet_save_CFLAGS"
77873 yes)
77874 # Check if assembler supports CET.
77875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77876 /* end confdefs.h. */
77879 main ()
77881 asm ("setssbsy");
77883 return 0;
77885 _ACEOF
77886 if ac_fn_c_try_compile "$LINENO"; then :
77888 else
77889 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
77891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77893 esac
77896 enable_cet=no
77898 esac
77899 if test x$enable_cet = xyes; then
77900 CET_FLAGS="-fcf-protection -mshstk"
77901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
77902 $as_echo "yes" >&6; }
77903 else
77904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77905 $as_echo "no" >&6; }
77908 EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
77909 EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
77913 # Determine cross-compile flags and AM_CONDITIONALs.
77914 #AC_SUBST(GLIBCXX_IS_NATIVE)
77915 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
77916 if test $is_hosted = yes; then
77917 GLIBCXX_HOSTED_TRUE=
77918 GLIBCXX_HOSTED_FALSE='#'
77919 else
77920 GLIBCXX_HOSTED_TRUE='#'
77921 GLIBCXX_HOSTED_FALSE=
77925 if test $enable_libstdcxx_pch = yes; then
77926 GLIBCXX_BUILD_PCH_TRUE=
77927 GLIBCXX_BUILD_PCH_FALSE='#'
77928 else
77929 GLIBCXX_BUILD_PCH_TRUE='#'
77930 GLIBCXX_BUILD_PCH_FALSE=
77934 if test $enable_float128 = yes; then
77935 ENABLE_FLOAT128_TRUE=
77936 ENABLE_FLOAT128_FALSE='#'
77937 else
77938 ENABLE_FLOAT128_TRUE='#'
77939 ENABLE_FLOAT128_FALSE=
77943 if test $enable_libstdcxx_allocator_flag = new; then
77944 ENABLE_ALLOCATOR_NEW_TRUE=
77945 ENABLE_ALLOCATOR_NEW_FALSE='#'
77946 else
77947 ENABLE_ALLOCATOR_NEW_TRUE='#'
77948 ENABLE_ALLOCATOR_NEW_FALSE=
77952 if test $enable_cheaders = c; then
77953 GLIBCXX_C_HEADERS_C_TRUE=
77954 GLIBCXX_C_HEADERS_C_FALSE='#'
77955 else
77956 GLIBCXX_C_HEADERS_C_TRUE='#'
77957 GLIBCXX_C_HEADERS_C_FALSE=
77961 if test $enable_cheaders = c_std; then
77962 GLIBCXX_C_HEADERS_C_STD_TRUE=
77963 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
77964 else
77965 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
77966 GLIBCXX_C_HEADERS_C_STD_FALSE=
77970 if test $enable_cheaders = c_global; then
77971 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
77972 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
77973 else
77974 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
77975 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
77979 if test $c_compatibility = yes; then
77980 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
77981 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
77982 else
77983 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
77984 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
77988 if test $enable_libstdcxx_debug = yes; then
77989 GLIBCXX_BUILD_DEBUG_TRUE=
77990 GLIBCXX_BUILD_DEBUG_FALSE='#'
77991 else
77992 GLIBCXX_BUILD_DEBUG_TRUE='#'
77993 GLIBCXX_BUILD_DEBUG_FALSE=
77997 if test $enable_extern_template = yes; then
77998 ENABLE_EXTERN_TEMPLATE_TRUE=
77999 ENABLE_EXTERN_TEMPLATE_FALSE='#'
78000 else
78001 ENABLE_EXTERN_TEMPLATE_TRUE='#'
78002 ENABLE_EXTERN_TEMPLATE_FALSE=
78006 if test $python_mod_dir != no; then
78007 ENABLE_PYTHONDIR_TRUE=
78008 ENABLE_PYTHONDIR_FALSE='#'
78009 else
78010 ENABLE_PYTHONDIR_TRUE='#'
78011 ENABLE_PYTHONDIR_FALSE=
78015 if test $enable_werror = yes; then
78016 ENABLE_WERROR_TRUE=
78017 ENABLE_WERROR_FALSE='#'
78018 else
78019 ENABLE_WERROR_TRUE='#'
78020 ENABLE_WERROR_FALSE=
78024 if test $enable_vtable_verify = yes; then
78025 ENABLE_VTABLE_VERIFY_TRUE=
78026 ENABLE_VTABLE_VERIFY_FALSE='#'
78027 else
78028 ENABLE_VTABLE_VERIFY_TRUE='#'
78029 ENABLE_VTABLE_VERIFY_FALSE=
78033 if test $enable_symvers != no; then
78034 ENABLE_SYMVERS_TRUE=
78035 ENABLE_SYMVERS_FALSE='#'
78036 else
78037 ENABLE_SYMVERS_TRUE='#'
78038 ENABLE_SYMVERS_FALSE=
78042 if test $enable_symvers = gnu; then
78043 ENABLE_SYMVERS_GNU_TRUE=
78044 ENABLE_SYMVERS_GNU_FALSE='#'
78045 else
78046 ENABLE_SYMVERS_GNU_TRUE='#'
78047 ENABLE_SYMVERS_GNU_FALSE=
78051 if test $enable_symvers = gnu-versioned-namespace; then
78052 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
78053 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
78054 else
78055 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
78056 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
78060 if test $enable_symvers = darwin; then
78061 ENABLE_SYMVERS_DARWIN_TRUE=
78062 ENABLE_SYMVERS_DARWIN_FALSE='#'
78063 else
78064 ENABLE_SYMVERS_DARWIN_TRUE='#'
78065 ENABLE_SYMVERS_DARWIN_FALSE=
78069 if test $enable_symvers = sun; then
78070 ENABLE_SYMVERS_SUN_TRUE=
78071 ENABLE_SYMVERS_SUN_FALSE='#'
78072 else
78073 ENABLE_SYMVERS_SUN_TRUE='#'
78074 ENABLE_SYMVERS_SUN_FALSE=
78078 if test $enable_libstdcxx_visibility = yes; then
78079 ENABLE_VISIBILITY_TRUE=
78080 ENABLE_VISIBILITY_FALSE='#'
78081 else
78082 ENABLE_VISIBILITY_TRUE='#'
78083 ENABLE_VISIBILITY_FALSE=
78087 if test $enable_libstdcxx_dual_abi = yes; then
78088 ENABLE_DUAL_ABI_TRUE=
78089 ENABLE_DUAL_ABI_FALSE='#'
78090 else
78091 ENABLE_DUAL_ABI_TRUE='#'
78092 ENABLE_DUAL_ABI_FALSE=
78096 if test $glibcxx_cxx11_abi = 1; then
78097 ENABLE_CXX11_ABI_TRUE=
78098 ENABLE_CXX11_ABI_FALSE='#'
78099 else
78100 ENABLE_CXX11_ABI_TRUE='#'
78101 ENABLE_CXX11_ABI_FALSE=
78105 if test $ac_ldbl_compat = yes; then
78106 GLIBCXX_LDBL_COMPAT_TRUE=
78107 GLIBCXX_LDBL_COMPAT_FALSE='#'
78108 else
78109 GLIBCXX_LDBL_COMPAT_TRUE='#'
78110 GLIBCXX_LDBL_COMPAT_FALSE=
78114 if test $enable_libstdcxx_filesystem_ts = yes; then
78115 ENABLE_FILESYSTEM_TS_TRUE=
78116 ENABLE_FILESYSTEM_TS_FALSE='#'
78117 else
78118 ENABLE_FILESYSTEM_TS_TRUE='#'
78119 ENABLE_FILESYSTEM_TS_FALSE=
78125 cat >confcache <<\_ACEOF
78126 # This file is a shell script that caches the results of configure
78127 # tests run on this system so they can be shared between configure
78128 # scripts and configure runs, see configure's option --config-cache.
78129 # It is not useful on other systems. If it contains results you don't
78130 # want to keep, you may remove or edit it.
78132 # config.status only pays attention to the cache file if you give it
78133 # the --recheck option to rerun configure.
78135 # `ac_cv_env_foo' variables (set or unset) will be overridden when
78136 # loading this file, other *unset* `ac_cv_foo' will be assigned the
78137 # following values.
78139 _ACEOF
78141 # The following way of writing the cache mishandles newlines in values,
78142 # but we know of no workaround that is simple, portable, and efficient.
78143 # So, we kill variables containing newlines.
78144 # Ultrix sh set writes to stderr and can't be redirected directly,
78145 # and sets the high bit in the cache file unless we assign to the vars.
78147 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
78148 eval ac_val=\$$ac_var
78149 case $ac_val in #(
78150 *${as_nl}*)
78151 case $ac_var in #(
78152 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
78153 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
78154 esac
78155 case $ac_var in #(
78156 _ | IFS | as_nl) ;; #(
78157 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
78158 *) { eval $ac_var=; unset $ac_var;} ;;
78159 esac ;;
78160 esac
78161 done
78163 (set) 2>&1 |
78164 case $as_nl`(ac_space=' '; set) 2>&1` in #(
78165 *${as_nl}ac_space=\ *)
78166 # `set' does not quote correctly, so add quotes: double-quote
78167 # substitution turns \\\\ into \\, and sed turns \\ into \.
78168 sed -n \
78169 "s/'/'\\\\''/g;
78170 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
78171 ;; #(
78173 # `set' quotes correctly as required by POSIX, so do not add quotes.
78174 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
78176 esac |
78177 sort
78179 sed '
78180 /^ac_cv_env_/b end
78181 t clear
78182 :clear
78183 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
78184 t end
78185 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
78186 :end' >>confcache
78187 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
78188 if test -w "$cache_file"; then
78189 if test "x$cache_file" != "x/dev/null"; then
78190 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
78191 $as_echo "$as_me: updating cache $cache_file" >&6;}
78192 if test ! -f "$cache_file" || test -h "$cache_file"; then
78193 cat confcache >"$cache_file"
78194 else
78195 case $cache_file in #(
78196 */* | ?:*)
78197 mv -f confcache "$cache_file"$$ &&
78198 mv -f "$cache_file"$$ "$cache_file" ;; #(
78200 mv -f confcache "$cache_file" ;;
78201 esac
78204 else
78205 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
78206 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
78209 rm -f confcache
78211 if test ${multilib} = yes; then
78212 multilib_arg="--enable-multilib"
78213 else
78214 multilib_arg=
78217 # Export all the install information.
78219 glibcxx_toolexecdir=no
78220 glibcxx_toolexeclibdir=no
78221 glibcxx_prefixdir=$prefix
78223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
78224 $as_echo_n "checking for gxx-include-dir... " >&6; }
78226 # Check whether --with-gxx-include-dir was given.
78227 if test "${with_gxx_include_dir+set}" = set; then :
78228 withval=$with_gxx_include_dir; case "$withval" in
78229 yes) as_fn_error $? "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
78230 no) gxx_include_dir=no ;;
78231 *) gxx_include_dir=$withval ;;
78232 esac
78233 else
78234 gxx_include_dir=no
78237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
78238 $as_echo "$gxx_include_dir" >&6; }
78240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
78241 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
78242 # Check whether --enable-version-specific-runtime-libs was given.
78243 if test "${enable_version_specific_runtime_libs+set}" = set; then :
78244 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
78245 yes) version_specific_libs=yes ;;
78246 no) version_specific_libs=no ;;
78247 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
78248 esac
78249 else
78250 version_specific_libs=no
78253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
78254 $as_echo "$version_specific_libs" >&6; }
78257 # Check whether --with-toolexeclibdir was given.
78258 if test "${with_toolexeclibdir+set}" = set; then :
78259 withval=$with_toolexeclibdir; case ${with_toolexeclibdir} in
78263 with_toolexeclibdir=`echo $with_toolexeclibdir | sed 's,/$,,'`
78265 esac
78266 else
78267 with_toolexeclibdir=no
78272 # Default case for install directory for include files.
78273 if test $version_specific_libs = no && test $gxx_include_dir = no; then
78274 gxx_include_dir='include/c++/${gcc_version}'
78275 if test -n "$with_cross_host" &&
78276 test x"$with_cross_host" != x"no"; then
78277 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
78278 else
78279 gxx_include_dir='${prefix}/'"$gxx_include_dir"
78283 # Version-specific runtime libs processing.
78284 if test $version_specific_libs = yes; then
78285 # Need the gcc compiler version to know where to install libraries
78286 # and header files if --enable-version-specific-runtime-libs option
78287 # is selected. FIXME: these variables are misnamed, there are
78288 # no executables installed in _toolexecdir or _toolexeclibdir.
78289 if test x"$gxx_include_dir" = x"no"; then
78290 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
78292 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
78293 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
78296 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
78297 # Install a library built with a cross compiler in tooldir, not libdir.
78298 if test x"$glibcxx_toolexecdir" = x"no"; then
78299 if test -n "$with_cross_host" &&
78300 test x"$with_cross_host" != x"no"; then
78301 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
78302 case ${with_toolexeclibdir} in
78304 glibcxx_toolexeclibdir='${toolexecdir}/lib'
78307 glibcxx_toolexeclibdir=${with_toolexeclibdir}
78309 esac
78310 else
78311 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
78312 glibcxx_toolexeclibdir='${libdir}'
78314 multi_os_directory=`$CXX -print-multi-os-directory`
78315 case $multi_os_directory in
78316 .) ;; # Avoid trailing /.
78317 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
78318 esac
78321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
78322 $as_echo_n "checking for install location... " >&6; }
78323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
78324 $as_echo "$gxx_include_dir" >&6; }
78332 # Export all the include and flag information to Makefiles.
78334 # Used for every C++ compile we perform.
78335 GLIBCXX_INCLUDES="\
78336 -I$glibcxx_builddir/include/$host_alias \
78337 -I$glibcxx_builddir/include \
78338 -I$glibcxx_srcdir/libsupc++"
78340 # For Canadian crosses, pick this up too.
78341 if test $CANADIAN = yes; then
78342 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
78345 # Stuff in the actual top level. Currently only used by libsupc++ to
78346 # get unwind* headers from the libgcc dir.
78347 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
78348 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
78350 # Now, export this to all the little Makefiles....
78355 # Optimization flags that are probably a good idea for thrill-seekers. Just
78356 # uncomment the lines below and make, everything else is ready to go...
78357 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
78358 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
78361 WARN_FLAGS="-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2"
78365 # Determine what GCC version number to use in filesystem paths.
78367 get_gcc_base_ver="cat"
78369 # Check whether --with-gcc-major-version-only was given.
78370 if test "${with_gcc_major_version_only+set}" = set; then :
78371 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
78372 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
78380 ac_config_files="$ac_config_files Makefile"
78382 ac_config_files="$ac_config_files scripts/testsuite_flags"
78384 ac_config_files="$ac_config_files scripts/extract_symvers"
78386 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
78389 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
78390 # that multilib installs will end up installed in the correct place.
78391 # The testsuite needs it for multilib-aware ABI baseline files.
78392 # To work around this not being passed down from config-ml.in ->
78393 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
78394 # append it here. Only modify Makefiles that have just been created.
78396 # Also, get rid of this simulated-VPATH thing that automake does.
78397 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile src/c++17/Makefile src/filesystem/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
78400 ac_config_commands="$ac_config_commands generate-headers"
78403 cat >confcache <<\_ACEOF
78404 # This file is a shell script that caches the results of configure
78405 # tests run on this system so they can be shared between configure
78406 # scripts and configure runs, see configure's option --config-cache.
78407 # It is not useful on other systems. If it contains results you don't
78408 # want to keep, you may remove or edit it.
78410 # config.status only pays attention to the cache file if you give it
78411 # the --recheck option to rerun configure.
78413 # `ac_cv_env_foo' variables (set or unset) will be overridden when
78414 # loading this file, other *unset* `ac_cv_foo' will be assigned the
78415 # following values.
78417 _ACEOF
78419 # The following way of writing the cache mishandles newlines in values,
78420 # but we know of no workaround that is simple, portable, and efficient.
78421 # So, we kill variables containing newlines.
78422 # Ultrix sh set writes to stderr and can't be redirected directly,
78423 # and sets the high bit in the cache file unless we assign to the vars.
78425 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
78426 eval ac_val=\$$ac_var
78427 case $ac_val in #(
78428 *${as_nl}*)
78429 case $ac_var in #(
78430 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
78431 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
78432 esac
78433 case $ac_var in #(
78434 _ | IFS | as_nl) ;; #(
78435 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
78436 *) { eval $ac_var=; unset $ac_var;} ;;
78437 esac ;;
78438 esac
78439 done
78441 (set) 2>&1 |
78442 case $as_nl`(ac_space=' '; set) 2>&1` in #(
78443 *${as_nl}ac_space=\ *)
78444 # `set' does not quote correctly, so add quotes: double-quote
78445 # substitution turns \\\\ into \\, and sed turns \\ into \.
78446 sed -n \
78447 "s/'/'\\\\''/g;
78448 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
78449 ;; #(
78451 # `set' quotes correctly as required by POSIX, so do not add quotes.
78452 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
78454 esac |
78455 sort
78457 sed '
78458 /^ac_cv_env_/b end
78459 t clear
78460 :clear
78461 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
78462 t end
78463 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
78464 :end' >>confcache
78465 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
78466 if test -w "$cache_file"; then
78467 if test "x$cache_file" != "x/dev/null"; then
78468 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
78469 $as_echo "$as_me: updating cache $cache_file" >&6;}
78470 if test ! -f "$cache_file" || test -h "$cache_file"; then
78471 cat confcache >"$cache_file"
78472 else
78473 case $cache_file in #(
78474 */* | ?:*)
78475 mv -f confcache "$cache_file"$$ &&
78476 mv -f "$cache_file"$$ "$cache_file" ;; #(
78478 mv -f confcache "$cache_file" ;;
78479 esac
78482 else
78483 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
78484 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
78487 rm -f confcache
78489 test "x$prefix" = xNONE && prefix=$ac_default_prefix
78490 # Let make expand exec_prefix.
78491 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
78493 DEFS=-DHAVE_CONFIG_H
78495 ac_libobjs=
78496 ac_ltlibobjs=
78498 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
78499 # 1. Remove the extension, and $U if already installed.
78500 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
78501 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
78502 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
78503 # will be set to the directory where LIBOBJS objects are built.
78504 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
78505 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
78506 done
78507 LIBOBJS=$ac_libobjs
78509 LTLIBOBJS=$ac_ltlibobjs
78512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
78513 $as_echo_n "checking that generated files are newer than configure... " >&6; }
78514 if test -n "$am_sleep_pid"; then
78515 # Hide warnings about reused PIDs.
78516 wait $am_sleep_pid 2>/dev/null
78518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
78519 $as_echo "done" >&6; }
78520 if test -n "$EXEEXT"; then
78521 am__EXEEXT_TRUE=
78522 am__EXEEXT_FALSE='#'
78523 else
78524 am__EXEEXT_TRUE='#'
78525 am__EXEEXT_FALSE=
78528 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
78529 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
78530 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78532 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
78533 as_fn_error $? "conditional \"GLIBCXX_HOSTED\" was never defined.
78534 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78536 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
78537 as_fn_error $? "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
78538 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78540 if test -z "${ENABLE_FLOAT128_TRUE}" && test -z "${ENABLE_FLOAT128_FALSE}"; then
78541 as_fn_error $? "conditional \"ENABLE_FLOAT128\" was never defined.
78542 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78544 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
78545 as_fn_error $? "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
78546 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78548 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
78549 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
78550 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78552 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
78553 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
78554 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78556 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
78557 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
78558 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78560 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
78561 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
78562 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78564 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
78565 as_fn_error $? "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
78566 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78568 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
78569 as_fn_error $? "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
78570 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78572 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
78573 as_fn_error $? "conditional \"ENABLE_PYTHONDIR\" was never defined.
78574 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78576 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
78577 as_fn_error $? "conditional \"ENABLE_WERROR\" was never defined.
78578 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78580 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
78581 as_fn_error $? "conditional \"VTV_CYGMIN\" was never defined.
78582 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78584 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
78585 as_fn_error $? "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
78586 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78588 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
78589 as_fn_error $? "conditional \"ENABLE_SYMVERS\" was never defined.
78590 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78592 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
78593 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
78594 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78596 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
78597 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
78598 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78600 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
78601 as_fn_error $? "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
78602 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78604 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
78605 as_fn_error $? "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
78606 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78608 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
78609 as_fn_error $? "conditional \"ENABLE_VISIBILITY\" was never defined.
78610 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78612 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
78613 as_fn_error $? "conditional \"ENABLE_DUAL_ABI\" was never defined.
78614 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78616 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
78617 as_fn_error $? "conditional \"ENABLE_CXX11_ABI\" was never defined.
78618 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78620 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
78621 as_fn_error $? "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
78622 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78624 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
78625 as_fn_error $? "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
78626 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78628 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
78629 as_fn_error $? "conditional \"BUILD_INFO\" was never defined.
78630 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78632 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
78633 as_fn_error $? "conditional \"BUILD_EPUB\" was never defined.
78634 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78636 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
78637 as_fn_error $? "conditional \"BUILD_XML\" was never defined.
78638 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78640 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
78641 as_fn_error $? "conditional \"BUILD_HTML\" was never defined.
78642 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78644 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
78645 as_fn_error $? "conditional \"BUILD_MAN\" was never defined.
78646 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78648 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
78649 as_fn_error $? "conditional \"BUILD_PDF\" was never defined.
78650 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78652 if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
78653 as_fn_error $? "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
78654 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78657 : "${CONFIG_STATUS=./config.status}"
78658 ac_write_fail=0
78659 ac_clean_files_save=$ac_clean_files
78660 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
78661 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
78662 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
78663 as_write_fail=0
78664 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
78665 #! $SHELL
78666 # Generated by $as_me.
78667 # Run this file to recreate the current configuration.
78668 # Compiler output produced by configure, useful for debugging
78669 # configure, is in config.log if it exists.
78671 debug=false
78672 ac_cs_recheck=false
78673 ac_cs_silent=false
78675 SHELL=\${CONFIG_SHELL-$SHELL}
78676 export SHELL
78677 _ASEOF
78678 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
78679 ## -------------------- ##
78680 ## M4sh Initialization. ##
78681 ## -------------------- ##
78683 # Be more Bourne compatible
78684 DUALCASE=1; export DUALCASE # for MKS sh
78685 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
78686 emulate sh
78687 NULLCMD=:
78688 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
78689 # is contrary to our usage. Disable this feature.
78690 alias -g '${1+"$@"}'='"$@"'
78691 setopt NO_GLOB_SUBST
78692 else
78693 case `(set -o) 2>/dev/null` in #(
78694 *posix*) :
78695 set -o posix ;; #(
78696 *) :
78698 esac
78702 as_nl='
78704 export as_nl
78705 # Printing a long string crashes Solaris 7 /usr/bin/printf.
78706 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
78707 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
78708 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
78709 # Prefer a ksh shell builtin over an external printf program on Solaris,
78710 # but without wasting forks for bash or zsh.
78711 if test -z "$BASH_VERSION$ZSH_VERSION" \
78712 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
78713 as_echo='print -r --'
78714 as_echo_n='print -rn --'
78715 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
78716 as_echo='printf %s\n'
78717 as_echo_n='printf %s'
78718 else
78719 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
78720 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
78721 as_echo_n='/usr/ucb/echo -n'
78722 else
78723 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
78724 as_echo_n_body='eval
78725 arg=$1;
78726 case $arg in #(
78727 *"$as_nl"*)
78728 expr "X$arg" : "X\\(.*\\)$as_nl";
78729 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
78730 esac;
78731 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
78733 export as_echo_n_body
78734 as_echo_n='sh -c $as_echo_n_body as_echo'
78736 export as_echo_body
78737 as_echo='sh -c $as_echo_body as_echo'
78740 # The user is always right.
78741 if test "${PATH_SEPARATOR+set}" != set; then
78742 PATH_SEPARATOR=:
78743 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78744 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
78745 PATH_SEPARATOR=';'
78750 # IFS
78751 # We need space, tab and new line, in precisely that order. Quoting is
78752 # there to prevent editors from complaining about space-tab.
78753 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
78754 # splitting by setting IFS to empty value.)
78755 IFS=" "" $as_nl"
78757 # Find who we are. Look in the path if we contain no directory separator.
78758 as_myself=
78759 case $0 in #((
78760 *[\\/]* ) as_myself=$0 ;;
78761 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78762 for as_dir in $PATH
78764 IFS=$as_save_IFS
78765 test -z "$as_dir" && as_dir=.
78766 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
78767 done
78768 IFS=$as_save_IFS
78771 esac
78772 # We did not find ourselves, most probably we were run as `sh COMMAND'
78773 # in which case we are not to be found in the path.
78774 if test "x$as_myself" = x; then
78775 as_myself=$0
78777 if test ! -f "$as_myself"; then
78778 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
78779 exit 1
78782 # Unset variables that we do not need and which cause bugs (e.g. in
78783 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
78784 # suppresses any "Segmentation fault" message there. '((' could
78785 # trigger a bug in pdksh 5.2.14.
78786 for as_var in BASH_ENV ENV MAIL MAILPATH
78787 do eval test x\${$as_var+set} = xset \
78788 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
78789 done
78790 PS1='$ '
78791 PS2='> '
78792 PS4='+ '
78794 # NLS nuisances.
78795 LC_ALL=C
78796 export LC_ALL
78797 LANGUAGE=C
78798 export LANGUAGE
78800 # CDPATH.
78801 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
78804 # as_fn_error STATUS ERROR [LINENO LOG_FD]
78805 # ----------------------------------------
78806 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
78807 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
78808 # script with STATUS, using 1 if that was 0.
78809 as_fn_error ()
78811 as_status=$1; test $as_status -eq 0 && as_status=1
78812 if test "$4"; then
78813 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
78814 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
78816 $as_echo "$as_me: error: $2" >&2
78817 as_fn_exit $as_status
78818 } # as_fn_error
78821 # as_fn_set_status STATUS
78822 # -----------------------
78823 # Set $? to STATUS, without forking.
78824 as_fn_set_status ()
78826 return $1
78827 } # as_fn_set_status
78829 # as_fn_exit STATUS
78830 # -----------------
78831 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
78832 as_fn_exit ()
78834 set +e
78835 as_fn_set_status $1
78836 exit $1
78837 } # as_fn_exit
78839 # as_fn_unset VAR
78840 # ---------------
78841 # Portably unset VAR.
78842 as_fn_unset ()
78844 { eval $1=; unset $1;}
78846 as_unset=as_fn_unset
78847 # as_fn_append VAR VALUE
78848 # ----------------------
78849 # Append the text in VALUE to the end of the definition contained in VAR. Take
78850 # advantage of any shell optimizations that allow amortized linear growth over
78851 # repeated appends, instead of the typical quadratic growth present in naive
78852 # implementations.
78853 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
78854 eval 'as_fn_append ()
78856 eval $1+=\$2
78858 else
78859 as_fn_append ()
78861 eval $1=\$$1\$2
78863 fi # as_fn_append
78865 # as_fn_arith ARG...
78866 # ------------------
78867 # Perform arithmetic evaluation on the ARGs, and store the result in the
78868 # global $as_val. Take advantage of shells that can avoid forks. The arguments
78869 # must be portable across $(()) and expr.
78870 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
78871 eval 'as_fn_arith ()
78873 as_val=$(( $* ))
78875 else
78876 as_fn_arith ()
78878 as_val=`expr "$@" || test $? -eq 1`
78880 fi # as_fn_arith
78883 if expr a : '\(a\)' >/dev/null 2>&1 &&
78884 test "X`expr 00001 : '.*\(...\)'`" = X001; then
78885 as_expr=expr
78886 else
78887 as_expr=false
78890 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
78891 as_basename=basename
78892 else
78893 as_basename=false
78896 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
78897 as_dirname=dirname
78898 else
78899 as_dirname=false
78902 as_me=`$as_basename -- "$0" ||
78903 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
78904 X"$0" : 'X\(//\)$' \| \
78905 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
78906 $as_echo X/"$0" |
78907 sed '/^.*\/\([^/][^/]*\)\/*$/{
78908 s//\1/
78911 /^X\/\(\/\/\)$/{
78912 s//\1/
78915 /^X\/\(\/\).*/{
78916 s//\1/
78919 s/.*/./; q'`
78921 # Avoid depending upon Character Ranges.
78922 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
78923 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
78924 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
78925 as_cr_digits='0123456789'
78926 as_cr_alnum=$as_cr_Letters$as_cr_digits
78928 ECHO_C= ECHO_N= ECHO_T=
78929 case `echo -n x` in #(((((
78930 -n*)
78931 case `echo 'xy\c'` in
78932 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
78933 xy) ECHO_C='\c';;
78934 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
78935 ECHO_T=' ';;
78936 esac;;
78938 ECHO_N='-n';;
78939 esac
78941 rm -f conf$$ conf$$.exe conf$$.file
78942 if test -d conf$$.dir; then
78943 rm -f conf$$.dir/conf$$.file
78944 else
78945 rm -f conf$$.dir
78946 mkdir conf$$.dir 2>/dev/null
78948 if (echo >conf$$.file) 2>/dev/null; then
78949 if ln -s conf$$.file conf$$ 2>/dev/null; then
78950 as_ln_s='ln -s'
78951 # ... but there are two gotchas:
78952 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
78953 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
78954 # In both cases, we have to default to `cp -pR'.
78955 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
78956 as_ln_s='cp -pR'
78957 elif ln conf$$.file conf$$ 2>/dev/null; then
78958 as_ln_s=ln
78959 else
78960 as_ln_s='cp -pR'
78962 else
78963 as_ln_s='cp -pR'
78965 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
78966 rmdir conf$$.dir 2>/dev/null
78969 # as_fn_mkdir_p
78970 # -------------
78971 # Create "$as_dir" as a directory, including parents if necessary.
78972 as_fn_mkdir_p ()
78975 case $as_dir in #(
78976 -*) as_dir=./$as_dir;;
78977 esac
78978 test -d "$as_dir" || eval $as_mkdir_p || {
78979 as_dirs=
78980 while :; do
78981 case $as_dir in #(
78982 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
78983 *) as_qdir=$as_dir;;
78984 esac
78985 as_dirs="'$as_qdir' $as_dirs"
78986 as_dir=`$as_dirname -- "$as_dir" ||
78987 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
78988 X"$as_dir" : 'X\(//\)[^/]' \| \
78989 X"$as_dir" : 'X\(//\)$' \| \
78990 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
78991 $as_echo X"$as_dir" |
78992 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
78993 s//\1/
78996 /^X\(\/\/\)[^/].*/{
78997 s//\1/
79000 /^X\(\/\/\)$/{
79001 s//\1/
79004 /^X\(\/\).*/{
79005 s//\1/
79008 s/.*/./; q'`
79009 test -d "$as_dir" && break
79010 done
79011 test -z "$as_dirs" || eval "mkdir $as_dirs"
79012 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
79015 } # as_fn_mkdir_p
79016 if mkdir -p . 2>/dev/null; then
79017 as_mkdir_p='mkdir -p "$as_dir"'
79018 else
79019 test -d ./-p && rmdir ./-p
79020 as_mkdir_p=false
79024 # as_fn_executable_p FILE
79025 # -----------------------
79026 # Test if FILE is an executable regular file.
79027 as_fn_executable_p ()
79029 test -f "$1" && test -x "$1"
79030 } # as_fn_executable_p
79031 as_test_x='test -x'
79032 as_executable_p=as_fn_executable_p
79034 # Sed expression to map a string onto a valid CPP name.
79035 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
79037 # Sed expression to map a string onto a valid variable name.
79038 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
79041 exec 6>&1
79042 ## ----------------------------------- ##
79043 ## Main body of $CONFIG_STATUS script. ##
79044 ## ----------------------------------- ##
79045 _ASEOF
79046 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
79048 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79049 # Save the log message, to keep $0 and so on meaningful, and to
79050 # report actual input values of CONFIG_FILES etc. instead of their
79051 # values after options handling.
79052 ac_log="
79053 This file was extended by package-unused $as_me version-unused, which was
79054 generated by GNU Autoconf 2.69. Invocation command line was
79056 CONFIG_FILES = $CONFIG_FILES
79057 CONFIG_HEADERS = $CONFIG_HEADERS
79058 CONFIG_LINKS = $CONFIG_LINKS
79059 CONFIG_COMMANDS = $CONFIG_COMMANDS
79060 $ $0 $@
79062 on `(hostname || uname -n) 2>/dev/null | sed 1q`
79065 _ACEOF
79067 case $ac_config_files in *"
79068 "*) set x $ac_config_files; shift; ac_config_files=$*;;
79069 esac
79071 case $ac_config_headers in *"
79072 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
79073 esac
79076 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79077 # Files that config.status was made for.
79078 config_files="$ac_config_files"
79079 config_headers="$ac_config_headers"
79080 config_commands="$ac_config_commands"
79082 _ACEOF
79084 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79085 ac_cs_usage="\
79086 \`$as_me' instantiates files and other configuration actions
79087 from templates according to the current configuration. Unless the files
79088 and actions are specified as TAGs, all are instantiated by default.
79090 Usage: $0 [OPTION]... [TAG]...
79092 -h, --help print this help, then exit
79093 -V, --version print version number and configuration settings, then exit
79094 --config print configuration, then exit
79095 -q, --quiet, --silent
79096 do not print progress messages
79097 -d, --debug don't remove temporary files
79098 --recheck update $as_me by reconfiguring in the same conditions
79099 --file=FILE[:TEMPLATE]
79100 instantiate the configuration file FILE
79101 --header=FILE[:TEMPLATE]
79102 instantiate the configuration header FILE
79104 Configuration files:
79105 $config_files
79107 Configuration headers:
79108 $config_headers
79110 Configuration commands:
79111 $config_commands
79113 Report bugs to the package provider."
79115 _ACEOF
79116 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79117 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
79118 ac_cs_version="\\
79119 package-unused config.status version-unused
79120 configured by $0, generated by GNU Autoconf 2.69,
79121 with options \\"\$ac_cs_config\\"
79123 Copyright (C) 2012 Free Software Foundation, Inc.
79124 This config.status script is free software; the Free Software Foundation
79125 gives unlimited permission to copy, distribute and modify it."
79127 ac_pwd='$ac_pwd'
79128 srcdir='$srcdir'
79129 INSTALL='$INSTALL'
79130 MKDIR_P='$MKDIR_P'
79131 AWK='$AWK'
79132 test -n "\$AWK" || AWK=awk
79133 _ACEOF
79135 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79136 # The default lists apply if the user does not specify any file.
79137 ac_need_defaults=:
79138 while test $# != 0
79140 case $1 in
79141 --*=?*)
79142 ac_option=`expr "X$1" : 'X\([^=]*\)='`
79143 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
79144 ac_shift=:
79146 --*=)
79147 ac_option=`expr "X$1" : 'X\([^=]*\)='`
79148 ac_optarg=
79149 ac_shift=:
79152 ac_option=$1
79153 ac_optarg=$2
79154 ac_shift=shift
79156 esac
79158 case $ac_option in
79159 # Handling of the options.
79160 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
79161 ac_cs_recheck=: ;;
79162 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
79163 $as_echo "$ac_cs_version"; exit ;;
79164 --config | --confi | --conf | --con | --co | --c )
79165 $as_echo "$ac_cs_config"; exit ;;
79166 --debug | --debu | --deb | --de | --d | -d )
79167 debug=: ;;
79168 --file | --fil | --fi | --f )
79169 $ac_shift
79170 case $ac_optarg in
79171 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
79172 '') as_fn_error $? "missing file argument" ;;
79173 esac
79174 as_fn_append CONFIG_FILES " '$ac_optarg'"
79175 ac_need_defaults=false;;
79176 --header | --heade | --head | --hea )
79177 $ac_shift
79178 case $ac_optarg in
79179 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
79180 esac
79181 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
79182 ac_need_defaults=false;;
79183 --he | --h)
79184 # Conflict between --help and --header
79185 as_fn_error $? "ambiguous option: \`$1'
79186 Try \`$0 --help' for more information.";;
79187 --help | --hel | -h )
79188 $as_echo "$ac_cs_usage"; exit ;;
79189 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
79190 | -silent | --silent | --silen | --sile | --sil | --si | --s)
79191 ac_cs_silent=: ;;
79193 # This is an error.
79194 -*) as_fn_error $? "unrecognized option: \`$1'
79195 Try \`$0 --help' for more information." ;;
79197 *) as_fn_append ac_config_targets " $1"
79198 ac_need_defaults=false ;;
79200 esac
79201 shift
79202 done
79204 ac_configure_extra_args=
79206 if $ac_cs_silent; then
79207 exec 6>/dev/null
79208 ac_configure_extra_args="$ac_configure_extra_args --silent"
79211 _ACEOF
79212 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79213 if \$ac_cs_recheck; then
79214 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
79215 shift
79216 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
79217 CONFIG_SHELL='$SHELL'
79218 export CONFIG_SHELL
79219 exec "\$@"
79222 _ACEOF
79223 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79224 exec 5>>config.log
79226 echo
79227 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
79228 ## Running $as_me. ##
79229 _ASBOX
79230 $as_echo "$ac_log"
79231 } >&5
79233 _ACEOF
79234 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79236 # INIT-COMMANDS
79239 srcdir="$srcdir"
79240 host="$host"
79241 target="$target"
79242 with_multisubdir="$with_multisubdir"
79243 with_multisrctop="$with_multisrctop"
79244 with_target_subdir="$with_target_subdir"
79245 ac_configure_args="${multilib_arg} ${ac_configure_args}"
79246 multi_basedir="$multi_basedir"
79247 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
79248 CC="$CC"
79249 CXX="$CXX"
79250 GFORTRAN="$GFORTRAN"
79251 GDC="$GDC"
79254 # The HP-UX ksh and POSIX shell print the target directory to stdout
79255 # if CDPATH is set.
79256 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
79258 sed_quote_subst='$sed_quote_subst'
79259 double_quote_subst='$double_quote_subst'
79260 delay_variable_subst='$delay_variable_subst'
79261 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
79262 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
79263 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
79264 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
79265 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
79266 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
79267 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
79268 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
79269 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
79270 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
79271 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
79272 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
79273 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
79274 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
79275 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
79276 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
79277 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
79278 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
79279 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
79280 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
79281 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
79282 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
79283 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
79284 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
79285 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
79286 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
79287 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
79288 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
79289 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
79290 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
79291 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
79292 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
79293 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
79294 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
79295 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
79296 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
79297 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
79298 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
79299 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
79300 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
79301 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
79302 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
79303 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
79304 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
79305 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
79306 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
79307 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
79308 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
79309 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"`'
79310 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
79311 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
79312 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
79313 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
79314 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
79315 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
79316 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
79317 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
79318 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
79319 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
79320 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
79321 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
79322 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
79323 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
79324 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
79325 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
79326 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
79327 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
79328 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
79329 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
79330 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
79331 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
79332 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
79333 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
79334 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
79335 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
79336 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
79337 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
79338 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
79339 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
79340 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
79341 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
79342 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
79343 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
79344 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
79345 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
79346 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
79347 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
79348 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
79349 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
79350 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
79351 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
79352 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
79353 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
79354 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
79355 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
79356 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
79357 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
79358 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
79359 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
79360 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
79361 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
79362 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
79363 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
79364 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
79365 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
79366 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
79367 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
79368 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
79369 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
79370 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
79371 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
79372 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
79373 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
79374 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
79375 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
79376 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
79377 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
79378 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
79379 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
79380 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
79381 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
79382 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
79383 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
79384 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
79385 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
79386 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
79387 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
79388 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
79389 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79390 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79391 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
79392 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
79393 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
79394 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
79395 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
79396 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
79397 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
79398 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
79399 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
79400 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
79401 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
79402 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
79403 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79404 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79405 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79406 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79407 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79408 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79409 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
79410 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
79411 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
79412 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
79413 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
79414 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
79415 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
79416 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
79417 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
79418 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
79419 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
79420 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
79421 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
79422 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
79423 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
79424 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79425 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
79426 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
79427 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79428 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
79429 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
79430 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
79431 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
79432 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
79433 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
79434 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
79435 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
79437 LTCC='$LTCC'
79438 LTCFLAGS='$LTCFLAGS'
79439 compiler='$compiler_DEFAULT'
79441 # A function that is used when there is no print builtin or printf.
79442 func_fallback_echo ()
79444 eval 'cat <<_LTECHO_EOF
79446 _LTECHO_EOF'
79449 # Quote evaled strings.
79450 for var in SHELL \
79451 ECHO \
79452 SED \
79453 GREP \
79454 EGREP \
79455 FGREP \
79456 LD \
79457 NM \
79458 LN_S \
79459 lt_SP2NL \
79460 lt_NL2SP \
79461 reload_flag \
79462 OBJDUMP \
79463 deplibs_check_method \
79464 file_magic_cmd \
79465 AR \
79466 AR_FLAGS \
79467 STRIP \
79468 RANLIB \
79469 CC \
79470 CFLAGS \
79471 compiler \
79472 lt_cv_sys_global_symbol_pipe \
79473 lt_cv_sys_global_symbol_to_cdecl \
79474 lt_cv_sys_global_symbol_to_c_name_address \
79475 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
79476 lt_prog_compiler_no_builtin_flag \
79477 lt_prog_compiler_wl \
79478 lt_prog_compiler_pic \
79479 lt_prog_compiler_static \
79480 lt_cv_prog_compiler_c_o \
79481 need_locks \
79482 DSYMUTIL \
79483 NMEDIT \
79484 LIPO \
79485 OTOOL \
79486 OTOOL64 \
79487 shrext_cmds \
79488 export_dynamic_flag_spec \
79489 whole_archive_flag_spec \
79490 compiler_needs_object \
79491 with_gnu_ld \
79492 allow_undefined_flag \
79493 no_undefined_flag \
79494 hardcode_libdir_flag_spec \
79495 hardcode_libdir_flag_spec_ld \
79496 hardcode_libdir_separator \
79497 fix_srcfile_path \
79498 exclude_expsyms \
79499 include_expsyms \
79500 file_list_spec \
79501 variables_saved_for_relink \
79502 libname_spec \
79503 library_names_spec \
79504 soname_spec \
79505 install_override_mode \
79506 finish_eval \
79507 old_striplib \
79508 striplib \
79509 compiler_lib_search_dirs \
79510 predep_objects \
79511 postdep_objects \
79512 predeps \
79513 postdeps \
79514 compiler_lib_search_path \
79515 LD_CXX \
79516 reload_flag_CXX \
79517 compiler_CXX \
79518 lt_prog_compiler_no_builtin_flag_CXX \
79519 lt_prog_compiler_wl_CXX \
79520 lt_prog_compiler_pic_CXX \
79521 lt_prog_compiler_static_CXX \
79522 lt_cv_prog_compiler_c_o_CXX \
79523 export_dynamic_flag_spec_CXX \
79524 whole_archive_flag_spec_CXX \
79525 compiler_needs_object_CXX \
79526 with_gnu_ld_CXX \
79527 allow_undefined_flag_CXX \
79528 no_undefined_flag_CXX \
79529 hardcode_libdir_flag_spec_CXX \
79530 hardcode_libdir_flag_spec_ld_CXX \
79531 hardcode_libdir_separator_CXX \
79532 fix_srcfile_path_CXX \
79533 exclude_expsyms_CXX \
79534 include_expsyms_CXX \
79535 file_list_spec_CXX \
79536 compiler_lib_search_dirs_CXX \
79537 predep_objects_CXX \
79538 postdep_objects_CXX \
79539 predeps_CXX \
79540 postdeps_CXX \
79541 compiler_lib_search_path_CXX; do
79542 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
79543 *[\\\\\\\`\\"\\\$]*)
79544 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
79547 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
79549 esac
79550 done
79552 # Double-quote double-evaled strings.
79553 for var in reload_cmds \
79554 old_postinstall_cmds \
79555 old_postuninstall_cmds \
79556 old_archive_cmds \
79557 extract_expsyms_cmds \
79558 old_archive_from_new_cmds \
79559 old_archive_from_expsyms_cmds \
79560 archive_cmds \
79561 archive_expsym_cmds \
79562 module_cmds \
79563 module_expsym_cmds \
79564 export_symbols_cmds \
79565 prelink_cmds \
79566 postinstall_cmds \
79567 postuninstall_cmds \
79568 finish_cmds \
79569 sys_lib_search_path_spec \
79570 sys_lib_dlsearch_path_spec \
79571 reload_cmds_CXX \
79572 old_archive_cmds_CXX \
79573 old_archive_from_new_cmds_CXX \
79574 old_archive_from_expsyms_cmds_CXX \
79575 archive_cmds_CXX \
79576 archive_expsym_cmds_CXX \
79577 module_cmds_CXX \
79578 module_expsym_cmds_CXX \
79579 export_symbols_cmds_CXX \
79580 prelink_cmds_CXX; do
79581 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
79582 *[\\\\\\\`\\"\\\$]*)
79583 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
79586 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
79588 esac
79589 done
79591 ac_aux_dir='$ac_aux_dir'
79592 xsi_shell='$xsi_shell'
79593 lt_shell_append='$lt_shell_append'
79595 # See if we are running on zsh, and set the options which allow our
79596 # commands through without removal of \ escapes INIT.
79597 if test -n "\${ZSH_VERSION+set}" ; then
79598 setopt NO_GLOB_SUBST
79602 PACKAGE='$PACKAGE'
79603 VERSION='$VERSION'
79604 TIMESTAMP='$TIMESTAMP'
79605 RM='$RM'
79606 ofile='$ofile'
79613 GCC="$GCC"
79614 CC="$CC"
79615 acx_cv_header_stdint="$acx_cv_header_stdint"
79616 acx_cv_type_int8_t="$acx_cv_type_int8_t"
79617 acx_cv_type_int16_t="$acx_cv_type_int16_t"
79618 acx_cv_type_int32_t="$acx_cv_type_int32_t"
79619 acx_cv_type_int64_t="$acx_cv_type_int64_t"
79620 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
79621 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
79622 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
79623 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
79624 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
79625 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
79626 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
79627 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
79628 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
79631 _ACEOF
79633 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79635 # Handling of arguments.
79636 for ac_config_target in $ac_config_targets
79638 case $ac_config_target in
79639 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
79640 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
79641 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
79642 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
79643 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
79644 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
79645 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
79646 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
79647 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
79648 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
79649 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
79650 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
79651 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
79652 "src/c++17/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++17/Makefile" ;;
79653 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
79654 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
79655 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
79656 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
79657 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
79658 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
79660 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
79661 esac
79662 done
79665 # If the user did not use the arguments to specify the items to instantiate,
79666 # then the envvar interface is used. Set only those that are not.
79667 # We use the long form for the default assignment because of an extremely
79668 # bizarre bug on SunOS 4.1.3.
79669 if $ac_need_defaults; then
79670 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
79671 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
79672 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
79675 # Have a temporary directory for convenience. Make it in the build tree
79676 # simply because there is no reason against having it here, and in addition,
79677 # creating and moving files from /tmp can sometimes cause problems.
79678 # Hook for its removal unless debugging.
79679 # Note that there is a small window in which the directory will not be cleaned:
79680 # after its creation but before its name has been assigned to `$tmp'.
79681 $debug ||
79683 tmp= ac_tmp=
79684 trap 'exit_status=$?
79685 : "${ac_tmp:=$tmp}"
79686 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
79688 trap 'as_fn_exit 1' 1 2 13 15
79690 # Create a (secure) tmp directory for tmp files.
79693 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
79694 test -d "$tmp"
79695 } ||
79697 tmp=./conf$$-$RANDOM
79698 (umask 077 && mkdir "$tmp")
79699 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
79700 ac_tmp=$tmp
79702 # Set up the scripts for CONFIG_FILES section.
79703 # No need to generate them if there are no CONFIG_FILES.
79704 # This happens for instance with `./config.status config.h'.
79705 if test -n "$CONFIG_FILES"; then
79708 ac_cr=`echo X | tr X '\015'`
79709 # On cygwin, bash can eat \r inside `` if the user requested igncr.
79710 # But we know of no other shell where ac_cr would be empty at this
79711 # point, so we can use a bashism as a fallback.
79712 if test "x$ac_cr" = x; then
79713 eval ac_cr=\$\'\\r\'
79715 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
79716 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
79717 ac_cs_awk_cr='\\r'
79718 else
79719 ac_cs_awk_cr=$ac_cr
79722 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
79723 _ACEOF
79727 echo "cat >conf$$subs.awk <<_ACEOF" &&
79728 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
79729 echo "_ACEOF"
79730 } >conf$$subs.sh ||
79731 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
79732 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
79733 ac_delim='%!_!# '
79734 for ac_last_try in false false false false false :; do
79735 . ./conf$$subs.sh ||
79736 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
79738 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
79739 if test $ac_delim_n = $ac_delim_num; then
79740 break
79741 elif $ac_last_try; then
79742 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
79743 else
79744 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
79746 done
79747 rm -f conf$$subs.sh
79749 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79750 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
79751 _ACEOF
79752 sed -n '
79754 s/^/S["/; s/!.*/"]=/
79757 s/^[^!]*!//
79758 :repl
79759 t repl
79760 s/'"$ac_delim"'$//
79761 t delim
79764 s/\(.\{148\}\)..*/\1/
79765 t more1
79766 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
79769 b repl
79770 :more1
79771 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
79774 s/.\{148\}//
79775 t nl
79776 :delim
79778 s/\(.\{148\}\)..*/\1/
79779 t more2
79780 s/["\\]/\\&/g; s/^/"/; s/$/"/
79783 :more2
79784 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
79787 s/.\{148\}//
79788 t delim
79789 ' <conf$$subs.awk | sed '
79790 /^[^""]/{
79792 s/\n//
79794 ' >>$CONFIG_STATUS || ac_write_fail=1
79795 rm -f conf$$subs.awk
79796 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79797 _ACAWK
79798 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
79799 for (key in S) S_is_set[key] = 1
79800 FS = "\a"
79804 line = $ 0
79805 nfields = split(line, field, "@")
79806 substed = 0
79807 len = length(field[1])
79808 for (i = 2; i < nfields; i++) {
79809 key = field[i]
79810 keylen = length(key)
79811 if (S_is_set[key]) {
79812 value = S[key]
79813 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
79814 len += length(value) + length(field[++i])
79815 substed = 1
79816 } else
79817 len += 1 + keylen
79820 print line
79823 _ACAWK
79824 _ACEOF
79825 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79826 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
79827 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
79828 else
79830 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
79831 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
79832 _ACEOF
79834 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
79835 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
79836 # trailing colons and then remove the whole line if VPATH becomes empty
79837 # (actually we leave an empty line to preserve line numbers).
79838 if test "x$srcdir" = x.; then
79839 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
79841 s///
79842 s/^/:/
79843 s/[ ]*$/:/
79844 s/:\$(srcdir):/:/g
79845 s/:\${srcdir}:/:/g
79846 s/:@srcdir@:/:/g
79847 s/^:*//
79848 s/:*$//
79850 s/\(=[ ]*\).*/\1/
79852 s/\n//
79853 s/^[^=]*=[ ]*$//
79857 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79858 fi # test -n "$CONFIG_FILES"
79860 # Set up the scripts for CONFIG_HEADERS section.
79861 # No need to generate them if there are no CONFIG_HEADERS.
79862 # This happens for instance with `./config.status Makefile'.
79863 if test -n "$CONFIG_HEADERS"; then
79864 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
79865 BEGIN {
79866 _ACEOF
79868 # Transform confdefs.h into an awk script `defines.awk', embedded as
79869 # here-document in config.status, that substitutes the proper values into
79870 # config.h.in to produce config.h.
79872 # Create a delimiter string that does not exist in confdefs.h, to ease
79873 # handling of long lines.
79874 ac_delim='%!_!# '
79875 for ac_last_try in false false :; do
79876 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
79877 if test -z "$ac_tt"; then
79878 break
79879 elif $ac_last_try; then
79880 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
79881 else
79882 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
79884 done
79886 # For the awk script, D is an array of macro values keyed by name,
79887 # likewise P contains macro parameters if any. Preserve backslash
79888 # newline sequences.
79890 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
79891 sed -n '
79892 s/.\{148\}/&'"$ac_delim"'/g
79893 t rset
79894 :rset
79895 s/^[ ]*#[ ]*define[ ][ ]*/ /
79896 t def
79898 :def
79899 s/\\$//
79900 t bsnl
79901 s/["\\]/\\&/g
79902 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
79903 D["\1"]=" \3"/p
79904 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
79906 :bsnl
79907 s/["\\]/\\&/g
79908 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
79909 D["\1"]=" \3\\\\\\n"\\/p
79910 t cont
79911 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
79912 t cont
79914 :cont
79916 s/.\{148\}/&'"$ac_delim"'/g
79917 t clear
79918 :clear
79919 s/\\$//
79920 t bsnlc
79921 s/["\\]/\\&/g; s/^/"/; s/$/"/p
79923 :bsnlc
79924 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
79925 b cont
79926 ' <confdefs.h | sed '
79927 s/'"$ac_delim"'/"\\\
79928 "/g' >>$CONFIG_STATUS || ac_write_fail=1
79930 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79931 for (key in D) D_is_set[key] = 1
79932 FS = "\a"
79934 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
79935 line = \$ 0
79936 split(line, arg, " ")
79937 if (arg[1] == "#") {
79938 defundef = arg[2]
79939 mac1 = arg[3]
79940 } else {
79941 defundef = substr(arg[1], 2)
79942 mac1 = arg[2]
79944 split(mac1, mac2, "(") #)
79945 macro = mac2[1]
79946 prefix = substr(line, 1, index(line, defundef) - 1)
79947 if (D_is_set[macro]) {
79948 # Preserve the white space surrounding the "#".
79949 print prefix "define", macro P[macro] D[macro]
79950 next
79951 } else {
79952 # Replace #undef with comments. This is necessary, for example,
79953 # in the case of _POSIX_SOURCE, which is predefined and required
79954 # on some systems where configure will not decide to define it.
79955 if (defundef == "undef") {
79956 print "/*", prefix defundef, macro, "*/"
79957 next
79961 { print }
79962 _ACAWK
79963 _ACEOF
79964 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79965 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
79966 fi # test -n "$CONFIG_HEADERS"
79969 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
79970 shift
79971 for ac_tag
79973 case $ac_tag in
79974 :[FHLC]) ac_mode=$ac_tag; continue;;
79975 esac
79976 case $ac_mode$ac_tag in
79977 :[FHL]*:*);;
79978 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
79979 :[FH]-) ac_tag=-:-;;
79980 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
79981 esac
79982 ac_save_IFS=$IFS
79983 IFS=:
79984 set x $ac_tag
79985 IFS=$ac_save_IFS
79986 shift
79987 ac_file=$1
79988 shift
79990 case $ac_mode in
79991 :L) ac_source=$1;;
79992 :[FH])
79993 ac_file_inputs=
79994 for ac_f
79996 case $ac_f in
79997 -) ac_f="$ac_tmp/stdin";;
79998 *) # Look for the file first in the build tree, then in the source tree
79999 # (if the path is not absolute). The absolute path cannot be DOS-style,
80000 # because $ac_f cannot contain `:'.
80001 test -f "$ac_f" ||
80002 case $ac_f in
80003 [\\/$]*) false;;
80004 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
80005 esac ||
80006 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
80007 esac
80008 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
80009 as_fn_append ac_file_inputs " '$ac_f'"
80010 done
80012 # Let's still pretend it is `configure' which instantiates (i.e., don't
80013 # use $as_me), people would be surprised to read:
80014 # /* config.h. Generated by config.status. */
80015 configure_input='Generated from '`
80016 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
80017 `' by configure.'
80018 if test x"$ac_file" != x-; then
80019 configure_input="$ac_file. $configure_input"
80020 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
80021 $as_echo "$as_me: creating $ac_file" >&6;}
80023 # Neutralize special characters interpreted by sed in replacement strings.
80024 case $configure_input in #(
80025 *\&* | *\|* | *\\* )
80026 ac_sed_conf_input=`$as_echo "$configure_input" |
80027 sed 's/[\\\\&|]/\\\\&/g'`;; #(
80028 *) ac_sed_conf_input=$configure_input;;
80029 esac
80031 case $ac_tag in
80032 *:-:* | *:-) cat >"$ac_tmp/stdin" \
80033 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
80034 esac
80036 esac
80038 ac_dir=`$as_dirname -- "$ac_file" ||
80039 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
80040 X"$ac_file" : 'X\(//\)[^/]' \| \
80041 X"$ac_file" : 'X\(//\)$' \| \
80042 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
80043 $as_echo X"$ac_file" |
80044 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
80045 s//\1/
80048 /^X\(\/\/\)[^/].*/{
80049 s//\1/
80052 /^X\(\/\/\)$/{
80053 s//\1/
80056 /^X\(\/\).*/{
80057 s//\1/
80060 s/.*/./; q'`
80061 as_dir="$ac_dir"; as_fn_mkdir_p
80062 ac_builddir=.
80064 case "$ac_dir" in
80065 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
80067 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
80068 # A ".." for each directory in $ac_dir_suffix.
80069 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
80070 case $ac_top_builddir_sub in
80071 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
80072 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
80073 esac ;;
80074 esac
80075 ac_abs_top_builddir=$ac_pwd
80076 ac_abs_builddir=$ac_pwd$ac_dir_suffix
80077 # for backward compatibility:
80078 ac_top_builddir=$ac_top_build_prefix
80080 case $srcdir in
80081 .) # We are building in place.
80082 ac_srcdir=.
80083 ac_top_srcdir=$ac_top_builddir_sub
80084 ac_abs_top_srcdir=$ac_pwd ;;
80085 [\\/]* | ?:[\\/]* ) # Absolute name.
80086 ac_srcdir=$srcdir$ac_dir_suffix;
80087 ac_top_srcdir=$srcdir
80088 ac_abs_top_srcdir=$srcdir ;;
80089 *) # Relative name.
80090 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
80091 ac_top_srcdir=$ac_top_build_prefix$srcdir
80092 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
80093 esac
80094 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
80097 case $ac_mode in
80100 # CONFIG_FILE
80103 case $INSTALL in
80104 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
80105 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
80106 esac
80107 ac_MKDIR_P=$MKDIR_P
80108 case $MKDIR_P in
80109 [\\/$]* | ?:[\\/]* ) ;;
80110 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
80111 esac
80112 _ACEOF
80114 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80115 # If the template does not know about datarootdir, expand it.
80116 # FIXME: This hack should be removed a few years after 2.60.
80117 ac_datarootdir_hack=; ac_datarootdir_seen=
80118 ac_sed_dataroot='
80119 /datarootdir/ {
80123 /@datadir@/p
80124 /@docdir@/p
80125 /@infodir@/p
80126 /@localedir@/p
80127 /@mandir@/p'
80128 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
80129 *datarootdir*) ac_datarootdir_seen=yes;;
80130 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
80131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
80132 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
80133 _ACEOF
80134 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80135 ac_datarootdir_hack='
80136 s&@datadir@&$datadir&g
80137 s&@docdir@&$docdir&g
80138 s&@infodir@&$infodir&g
80139 s&@localedir@&$localedir&g
80140 s&@mandir@&$mandir&g
80141 s&\\\${datarootdir}&$datarootdir&g' ;;
80142 esac
80143 _ACEOF
80145 # Neutralize VPATH when `$srcdir' = `.'.
80146 # Shell code in configure.ac might set extrasub.
80147 # FIXME: do we really want to maintain this feature?
80148 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80149 ac_sed_extra="$ac_vpsub
80150 $extrasub
80151 _ACEOF
80152 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80154 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
80155 s|@configure_input@|$ac_sed_conf_input|;t t
80156 s&@top_builddir@&$ac_top_builddir_sub&;t t
80157 s&@top_build_prefix@&$ac_top_build_prefix&;t t
80158 s&@srcdir@&$ac_srcdir&;t t
80159 s&@abs_srcdir@&$ac_abs_srcdir&;t t
80160 s&@top_srcdir@&$ac_top_srcdir&;t t
80161 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
80162 s&@builddir@&$ac_builddir&;t t
80163 s&@abs_builddir@&$ac_abs_builddir&;t t
80164 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
80165 s&@INSTALL@&$ac_INSTALL&;t t
80166 s&@MKDIR_P@&$ac_MKDIR_P&;t t
80167 $ac_datarootdir_hack
80169 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
80170 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
80172 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
80173 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
80174 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
80175 "$ac_tmp/out"`; test -z "$ac_out"; } &&
80176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
80177 which seems to be undefined. Please make sure it is defined" >&5
80178 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
80179 which seems to be undefined. Please make sure it is defined" >&2;}
80181 rm -f "$ac_tmp/stdin"
80182 case $ac_file in
80183 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
80184 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
80185 esac \
80186 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
80190 # CONFIG_HEADER
80192 if test x"$ac_file" != x-; then
80194 $as_echo "/* $configure_input */" \
80195 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
80196 } >"$ac_tmp/config.h" \
80197 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
80198 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
80199 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
80200 $as_echo "$as_me: $ac_file is unchanged" >&6;}
80201 else
80202 rm -f "$ac_file"
80203 mv "$ac_tmp/config.h" "$ac_file" \
80204 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
80206 else
80207 $as_echo "/* $configure_input */" \
80208 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
80209 || as_fn_error $? "could not create -" "$LINENO" 5
80211 # Compute "$ac_file"'s index in $config_headers.
80212 _am_arg="$ac_file"
80213 _am_stamp_count=1
80214 for _am_header in $config_headers :; do
80215 case $_am_header in
80216 $_am_arg | $_am_arg:* )
80217 break ;;
80219 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
80220 esac
80221 done
80222 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
80223 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
80224 X"$_am_arg" : 'X\(//\)[^/]' \| \
80225 X"$_am_arg" : 'X\(//\)$' \| \
80226 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
80227 $as_echo X"$_am_arg" |
80228 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
80229 s//\1/
80232 /^X\(\/\/\)[^/].*/{
80233 s//\1/
80236 /^X\(\/\/\)$/{
80237 s//\1/
80240 /^X\(\/\).*/{
80241 s//\1/
80244 s/.*/./; q'`/stamp-h$_am_stamp_count
80247 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
80248 $as_echo "$as_me: executing $ac_file commands" >&6;}
80250 esac
80253 case $ac_file$ac_mode in
80254 "default-1":C)
80255 # Only add multilib support code if we just rebuilt the top-level
80256 # Makefile.
80257 case " $CONFIG_FILES " in
80258 *" Makefile "*)
80259 ac_file=Makefile . ${multi_basedir}/config-ml.in
80261 esac ;;
80262 "libtool":C)
80264 # See if we are running on zsh, and set the options which allow our
80265 # commands through without removal of \ escapes.
80266 if test -n "${ZSH_VERSION+set}" ; then
80267 setopt NO_GLOB_SUBST
80270 cfgfile="${ofile}T"
80271 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
80272 $RM "$cfgfile"
80274 cat <<_LT_EOF >> "$cfgfile"
80275 #! $SHELL
80277 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
80278 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
80279 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
80280 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
80282 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
80283 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
80284 # Written by Gordon Matzigkeit, 1996
80286 # This file is part of GNU Libtool.
80288 # GNU Libtool is free software; you can redistribute it and/or
80289 # modify it under the terms of the GNU General Public License as
80290 # published by the Free Software Foundation; either version 2 of
80291 # the License, or (at your option) any later version.
80293 # As a special exception to the GNU General Public License,
80294 # if you distribute this file as part of a program or library that
80295 # is built using GNU Libtool, you may include this file under the
80296 # same distribution terms that you use for the rest of that program.
80298 # GNU Libtool is distributed in the hope that it will be useful,
80299 # but WITHOUT ANY WARRANTY; without even the implied warranty of
80300 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
80301 # GNU General Public License for more details.
80303 # You should have received a copy of the GNU General Public License
80304 # along with GNU Libtool; see the file COPYING. If not, a copy
80305 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
80306 # obtained by writing to the Free Software Foundation, Inc.,
80307 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
80310 # The names of the tagged configurations supported by this script.
80311 available_tags="CXX "
80313 # ### BEGIN LIBTOOL CONFIG
80315 # Which release of libtool.m4 was used?
80316 macro_version=$macro_version
80317 macro_revision=$macro_revision
80319 # Whether or not to build shared libraries.
80320 build_libtool_libs=$enable_shared
80322 # Whether or not to build static libraries.
80323 build_old_libs=$enable_static
80325 # What type of objects to build.
80326 pic_mode=$pic_mode
80328 # Whether or not to optimize for fast installation.
80329 fast_install=$enable_fast_install
80331 # Shell to use when invoking shell scripts.
80332 SHELL=$lt_SHELL
80334 # An echo program that protects backslashes.
80335 ECHO=$lt_ECHO
80337 # The host system.
80338 host_alias=$host_alias
80339 host=$host
80340 host_os=$host_os
80342 # The build system.
80343 build_alias=$build_alias
80344 build=$build
80345 build_os=$build_os
80347 # A sed program that does not truncate output.
80348 SED=$lt_SED
80350 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
80351 Xsed="\$SED -e 1s/^X//"
80353 # A grep program that handles long lines.
80354 GREP=$lt_GREP
80356 # An ERE matcher.
80357 EGREP=$lt_EGREP
80359 # A literal string matcher.
80360 FGREP=$lt_FGREP
80362 # A BSD- or MS-compatible name lister.
80363 NM=$lt_NM
80365 # Whether we need soft or hard links.
80366 LN_S=$lt_LN_S
80368 # What is the maximum length of a command?
80369 max_cmd_len=$max_cmd_len
80371 # Object file suffix (normally "o").
80372 objext=$ac_objext
80374 # Executable file suffix (normally "").
80375 exeext=$exeext
80377 # whether the shell understands "unset".
80378 lt_unset=$lt_unset
80380 # turn spaces into newlines.
80381 SP2NL=$lt_lt_SP2NL
80383 # turn newlines into spaces.
80384 NL2SP=$lt_lt_NL2SP
80386 # An object symbol dumper.
80387 OBJDUMP=$lt_OBJDUMP
80389 # Method to check whether dependent libraries are shared objects.
80390 deplibs_check_method=$lt_deplibs_check_method
80392 # Command to use when deplibs_check_method == "file_magic".
80393 file_magic_cmd=$lt_file_magic_cmd
80395 # The archiver.
80396 AR=$lt_AR
80397 AR_FLAGS=$lt_AR_FLAGS
80399 # A symbol stripping program.
80400 STRIP=$lt_STRIP
80402 # Commands used to install an old-style archive.
80403 RANLIB=$lt_RANLIB
80404 old_postinstall_cmds=$lt_old_postinstall_cmds
80405 old_postuninstall_cmds=$lt_old_postuninstall_cmds
80407 # Whether to use a lock for old archive extraction.
80408 lock_old_archive_extraction=$lock_old_archive_extraction
80410 # A C compiler.
80411 LTCC=$lt_CC
80413 # LTCC compiler flags.
80414 LTCFLAGS=$lt_CFLAGS
80416 # Take the output of nm and produce a listing of raw symbols and C names.
80417 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
80419 # Transform the output of nm in a proper C declaration.
80420 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
80422 # Transform the output of nm in a C name address pair.
80423 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
80425 # Transform the output of nm in a C name address pair when lib prefix is needed.
80426 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
80428 # The name of the directory that contains temporary libtool files.
80429 objdir=$objdir
80431 # Used to examine libraries when file_magic_cmd begins with "file".
80432 MAGIC_CMD=$MAGIC_CMD
80434 # Must we lock files when doing compilation?
80435 need_locks=$lt_need_locks
80437 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
80438 DSYMUTIL=$lt_DSYMUTIL
80440 # Tool to change global to local symbols on Mac OS X.
80441 NMEDIT=$lt_NMEDIT
80443 # Tool to manipulate fat objects and archives on Mac OS X.
80444 LIPO=$lt_LIPO
80446 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
80447 OTOOL=$lt_OTOOL
80449 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
80450 OTOOL64=$lt_OTOOL64
80452 # Old archive suffix (normally "a").
80453 libext=$libext
80455 # Shared library suffix (normally ".so").
80456 shrext_cmds=$lt_shrext_cmds
80458 # The commands to extract the exported symbol list from a shared archive.
80459 extract_expsyms_cmds=$lt_extract_expsyms_cmds
80461 # Variables whose values should be saved in libtool wrapper scripts and
80462 # restored at link time.
80463 variables_saved_for_relink=$lt_variables_saved_for_relink
80465 # Do we need the "lib" prefix for modules?
80466 need_lib_prefix=$need_lib_prefix
80468 # Do we need a version for libraries?
80469 need_version=$need_version
80471 # Library versioning type.
80472 version_type=$version_type
80474 # Shared library runtime path variable.
80475 runpath_var=$runpath_var
80477 # Shared library path variable.
80478 shlibpath_var=$shlibpath_var
80480 # Is shlibpath searched before the hard-coded library search path?
80481 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
80483 # Format of library name prefix.
80484 libname_spec=$lt_libname_spec
80486 # List of archive names. First name is the real one, the rest are links.
80487 # The last name is the one that the linker finds with -lNAME
80488 library_names_spec=$lt_library_names_spec
80490 # The coded name of the library, if different from the real name.
80491 soname_spec=$lt_soname_spec
80493 # Permission mode override for installation of shared libraries.
80494 install_override_mode=$lt_install_override_mode
80496 # Command to use after installation of a shared archive.
80497 postinstall_cmds=$lt_postinstall_cmds
80499 # Command to use after uninstallation of a shared archive.
80500 postuninstall_cmds=$lt_postuninstall_cmds
80502 # Commands used to finish a libtool library installation in a directory.
80503 finish_cmds=$lt_finish_cmds
80505 # As "finish_cmds", except a single script fragment to be evaled but
80506 # not shown.
80507 finish_eval=$lt_finish_eval
80509 # Whether we should hardcode library paths into libraries.
80510 hardcode_into_libs=$hardcode_into_libs
80512 # Compile-time system search path for libraries.
80513 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
80515 # Run-time system search path for libraries.
80516 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
80518 # Whether dlopen is supported.
80519 dlopen_support=$enable_dlopen
80521 # Whether dlopen of programs is supported.
80522 dlopen_self=$enable_dlopen_self
80524 # Whether dlopen of statically linked programs is supported.
80525 dlopen_self_static=$enable_dlopen_self_static
80527 # Commands to strip libraries.
80528 old_striplib=$lt_old_striplib
80529 striplib=$lt_striplib
80532 # The linker used to build libraries.
80533 LD=$lt_LD
80535 # How to create reloadable object files.
80536 reload_flag=$lt_reload_flag
80537 reload_cmds=$lt_reload_cmds
80539 # Commands used to build an old-style archive.
80540 old_archive_cmds=$lt_old_archive_cmds
80542 # A language specific compiler.
80543 CC=$lt_compiler
80545 # Is the compiler the GNU compiler?
80546 with_gcc=$GCC
80548 # Compiler flag to turn off builtin functions.
80549 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
80551 # How to pass a linker flag through the compiler.
80552 wl=$lt_lt_prog_compiler_wl
80554 # Additional compiler flags for building library objects.
80555 pic_flag=$lt_lt_prog_compiler_pic
80557 # Compiler flag to prevent dynamic linking.
80558 link_static_flag=$lt_lt_prog_compiler_static
80560 # Does compiler simultaneously support -c and -o options?
80561 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
80563 # Whether or not to add -lc for building shared libraries.
80564 build_libtool_need_lc=$archive_cmds_need_lc
80566 # Whether or not to disallow shared libs when runtime libs are static.
80567 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
80569 # Compiler flag to allow reflexive dlopens.
80570 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
80572 # Compiler flag to generate shared objects directly from archives.
80573 whole_archive_flag_spec=$lt_whole_archive_flag_spec
80575 # Whether the compiler copes with passing no objects directly.
80576 compiler_needs_object=$lt_compiler_needs_object
80578 # Create an old-style archive from a shared archive.
80579 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
80581 # Create a temporary old-style archive to link instead of a shared archive.
80582 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
80584 # Commands used to build a shared archive.
80585 archive_cmds=$lt_archive_cmds
80586 archive_expsym_cmds=$lt_archive_expsym_cmds
80588 # Commands used to build a loadable module if different from building
80589 # a shared archive.
80590 module_cmds=$lt_module_cmds
80591 module_expsym_cmds=$lt_module_expsym_cmds
80593 # Whether we are building with GNU ld or not.
80594 with_gnu_ld=$lt_with_gnu_ld
80596 # Flag that allows shared libraries with undefined symbols to be built.
80597 allow_undefined_flag=$lt_allow_undefined_flag
80599 # Flag that enforces no undefined symbols.
80600 no_undefined_flag=$lt_no_undefined_flag
80602 # Flag to hardcode \$libdir into a binary during linking.
80603 # This must work even if \$libdir does not exist
80604 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
80606 # If ld is used when linking, flag to hardcode \$libdir into a binary
80607 # during linking. This must work even if \$libdir does not exist.
80608 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
80610 # Whether we need a single "-rpath" flag with a separated argument.
80611 hardcode_libdir_separator=$lt_hardcode_libdir_separator
80613 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80614 # DIR into the resulting binary.
80615 hardcode_direct=$hardcode_direct
80617 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80618 # DIR into the resulting binary and the resulting library dependency is
80619 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
80620 # library is relocated.
80621 hardcode_direct_absolute=$hardcode_direct_absolute
80623 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
80624 # into the resulting binary.
80625 hardcode_minus_L=$hardcode_minus_L
80627 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
80628 # into the resulting binary.
80629 hardcode_shlibpath_var=$hardcode_shlibpath_var
80631 # Set to "yes" if building a shared library automatically hardcodes DIR
80632 # into the library and all subsequent libraries and executables linked
80633 # against it.
80634 hardcode_automatic=$hardcode_automatic
80636 # Set to yes if linker adds runtime paths of dependent libraries
80637 # to runtime path list.
80638 inherit_rpath=$inherit_rpath
80640 # Whether libtool must link a program against all its dependency libraries.
80641 link_all_deplibs=$link_all_deplibs
80643 # Fix the shell variable \$srcfile for the compiler.
80644 fix_srcfile_path=$lt_fix_srcfile_path
80646 # Set to "yes" if exported symbols are required.
80647 always_export_symbols=$always_export_symbols
80649 # The commands to list exported symbols.
80650 export_symbols_cmds=$lt_export_symbols_cmds
80652 # Symbols that should not be listed in the preloaded symbols.
80653 exclude_expsyms=$lt_exclude_expsyms
80655 # Symbols that must always be exported.
80656 include_expsyms=$lt_include_expsyms
80658 # Commands necessary for linking programs (against libraries) with templates.
80659 prelink_cmds=$lt_prelink_cmds
80661 # Specify filename containing input files.
80662 file_list_spec=$lt_file_list_spec
80664 # How to hardcode a shared library path into an executable.
80665 hardcode_action=$hardcode_action
80667 # The directories searched by this compiler when creating a shared library.
80668 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
80670 # Dependencies to place before and after the objects being linked to
80671 # create a shared library.
80672 predep_objects=$lt_predep_objects
80673 postdep_objects=$lt_postdep_objects
80674 predeps=$lt_predeps
80675 postdeps=$lt_postdeps
80677 # The library search path used internally by the compiler when linking
80678 # a shared library.
80679 compiler_lib_search_path=$lt_compiler_lib_search_path
80681 # ### END LIBTOOL CONFIG
80683 _LT_EOF
80685 case $host_os in
80686 aix3*)
80687 cat <<\_LT_EOF >> "$cfgfile"
80688 # AIX sometimes has problems with the GCC collect2 program. For some
80689 # reason, if we set the COLLECT_NAMES environment variable, the problems
80690 # vanish in a puff of smoke.
80691 if test "X${COLLECT_NAMES+set}" != Xset; then
80692 COLLECT_NAMES=
80693 export COLLECT_NAMES
80695 _LT_EOF
80697 esac
80700 ltmain="$ac_aux_dir/ltmain.sh"
80703 # We use sed instead of cat because bash on DJGPP gets confused if
80704 # if finds mixed CR/LF and LF-only lines. Since sed operates in
80705 # text mode, it properly converts lines to CR/LF. This bash problem
80706 # is reportedly fixed, but why not run on old versions too?
80707 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
80708 || (rm -f "$cfgfile"; exit 1)
80710 case $xsi_shell in
80711 yes)
80712 cat << \_LT_EOF >> "$cfgfile"
80714 # func_dirname file append nondir_replacement
80715 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
80716 # otherwise set result to NONDIR_REPLACEMENT.
80717 func_dirname ()
80719 case ${1} in
80720 */*) func_dirname_result="${1%/*}${2}" ;;
80721 * ) func_dirname_result="${3}" ;;
80722 esac
80725 # func_basename file
80726 func_basename ()
80728 func_basename_result="${1##*/}"
80731 # func_dirname_and_basename file append nondir_replacement
80732 # perform func_basename and func_dirname in a single function
80733 # call:
80734 # dirname: Compute the dirname of FILE. If nonempty,
80735 # add APPEND to the result, otherwise set result
80736 # to NONDIR_REPLACEMENT.
80737 # value returned in "$func_dirname_result"
80738 # basename: Compute filename of FILE.
80739 # value retuned in "$func_basename_result"
80740 # Implementation must be kept synchronized with func_dirname
80741 # and func_basename. For efficiency, we do not delegate to
80742 # those functions but instead duplicate the functionality here.
80743 func_dirname_and_basename ()
80745 case ${1} in
80746 */*) func_dirname_result="${1%/*}${2}" ;;
80747 * ) func_dirname_result="${3}" ;;
80748 esac
80749 func_basename_result="${1##*/}"
80752 # func_stripname prefix suffix name
80753 # strip PREFIX and SUFFIX off of NAME.
80754 # PREFIX and SUFFIX must not contain globbing or regex special
80755 # characters, hashes, percent signs, but SUFFIX may contain a leading
80756 # dot (in which case that matches only a dot).
80757 func_stripname ()
80759 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
80760 # positional parameters, so assign one to ordinary parameter first.
80761 func_stripname_result=${3}
80762 func_stripname_result=${func_stripname_result#"${1}"}
80763 func_stripname_result=${func_stripname_result%"${2}"}
80766 # func_opt_split
80767 func_opt_split ()
80769 func_opt_split_opt=${1%%=*}
80770 func_opt_split_arg=${1#*=}
80773 # func_lo2o object
80774 func_lo2o ()
80776 case ${1} in
80777 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
80778 *) func_lo2o_result=${1} ;;
80779 esac
80782 # func_xform libobj-or-source
80783 func_xform ()
80785 func_xform_result=${1%.*}.lo
80788 # func_arith arithmetic-term...
80789 func_arith ()
80791 func_arith_result=$(( $* ))
80794 # func_len string
80795 # STRING may not start with a hyphen.
80796 func_len ()
80798 func_len_result=${#1}
80801 _LT_EOF
80803 *) # Bourne compatible functions.
80804 cat << \_LT_EOF >> "$cfgfile"
80806 # func_dirname file append nondir_replacement
80807 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
80808 # otherwise set result to NONDIR_REPLACEMENT.
80809 func_dirname ()
80811 # Extract subdirectory from the argument.
80812 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
80813 if test "X$func_dirname_result" = "X${1}"; then
80814 func_dirname_result="${3}"
80815 else
80816 func_dirname_result="$func_dirname_result${2}"
80820 # func_basename file
80821 func_basename ()
80823 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
80827 # func_stripname prefix suffix name
80828 # strip PREFIX and SUFFIX off of NAME.
80829 # PREFIX and SUFFIX must not contain globbing or regex special
80830 # characters, hashes, percent signs, but SUFFIX may contain a leading
80831 # dot (in which case that matches only a dot).
80832 # func_strip_suffix prefix name
80833 func_stripname ()
80835 case ${2} in
80836 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
80837 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
80838 esac
80841 # sed scripts:
80842 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
80843 my_sed_long_arg='1s/^-[^=]*=//'
80845 # func_opt_split
80846 func_opt_split ()
80848 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
80849 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
80852 # func_lo2o object
80853 func_lo2o ()
80855 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
80858 # func_xform libobj-or-source
80859 func_xform ()
80861 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
80864 # func_arith arithmetic-term...
80865 func_arith ()
80867 func_arith_result=`expr "$@"`
80870 # func_len string
80871 # STRING may not start with a hyphen.
80872 func_len ()
80874 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
80877 _LT_EOF
80878 esac
80880 case $lt_shell_append in
80881 yes)
80882 cat << \_LT_EOF >> "$cfgfile"
80884 # func_append var value
80885 # Append VALUE to the end of shell variable VAR.
80886 func_append ()
80888 eval "$1+=\$2"
80890 _LT_EOF
80893 cat << \_LT_EOF >> "$cfgfile"
80895 # func_append var value
80896 # Append VALUE to the end of shell variable VAR.
80897 func_append ()
80899 eval "$1=\$$1\$2"
80902 _LT_EOF
80904 esac
80907 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
80908 || (rm -f "$cfgfile"; exit 1)
80910 mv -f "$cfgfile" "$ofile" ||
80911 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
80912 chmod +x "$ofile"
80915 cat <<_LT_EOF >> "$ofile"
80917 # ### BEGIN LIBTOOL TAG CONFIG: CXX
80919 # The linker used to build libraries.
80920 LD=$lt_LD_CXX
80922 # How to create reloadable object files.
80923 reload_flag=$lt_reload_flag_CXX
80924 reload_cmds=$lt_reload_cmds_CXX
80926 # Commands used to build an old-style archive.
80927 old_archive_cmds=$lt_old_archive_cmds_CXX
80929 # A language specific compiler.
80930 CC=$lt_compiler_CXX
80932 # Is the compiler the GNU compiler?
80933 with_gcc=$GCC_CXX
80935 # Compiler flag to turn off builtin functions.
80936 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
80938 # How to pass a linker flag through the compiler.
80939 wl=$lt_lt_prog_compiler_wl_CXX
80941 # Additional compiler flags for building library objects.
80942 pic_flag=$lt_lt_prog_compiler_pic_CXX
80944 # Compiler flag to prevent dynamic linking.
80945 link_static_flag=$lt_lt_prog_compiler_static_CXX
80947 # Does compiler simultaneously support -c and -o options?
80948 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
80950 # Whether or not to add -lc for building shared libraries.
80951 build_libtool_need_lc=$archive_cmds_need_lc_CXX
80953 # Whether or not to disallow shared libs when runtime libs are static.
80954 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
80956 # Compiler flag to allow reflexive dlopens.
80957 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
80959 # Compiler flag to generate shared objects directly from archives.
80960 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
80962 # Whether the compiler copes with passing no objects directly.
80963 compiler_needs_object=$lt_compiler_needs_object_CXX
80965 # Create an old-style archive from a shared archive.
80966 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
80968 # Create a temporary old-style archive to link instead of a shared archive.
80969 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
80971 # Commands used to build a shared archive.
80972 archive_cmds=$lt_archive_cmds_CXX
80973 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
80975 # Commands used to build a loadable module if different from building
80976 # a shared archive.
80977 module_cmds=$lt_module_cmds_CXX
80978 module_expsym_cmds=$lt_module_expsym_cmds_CXX
80980 # Whether we are building with GNU ld or not.
80981 with_gnu_ld=$lt_with_gnu_ld_CXX
80983 # Flag that allows shared libraries with undefined symbols to be built.
80984 allow_undefined_flag=$lt_allow_undefined_flag_CXX
80986 # Flag that enforces no undefined symbols.
80987 no_undefined_flag=$lt_no_undefined_flag_CXX
80989 # Flag to hardcode \$libdir into a binary during linking.
80990 # This must work even if \$libdir does not exist
80991 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
80993 # If ld is used when linking, flag to hardcode \$libdir into a binary
80994 # during linking. This must work even if \$libdir does not exist.
80995 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
80997 # Whether we need a single "-rpath" flag with a separated argument.
80998 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
81000 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81001 # DIR into the resulting binary.
81002 hardcode_direct=$hardcode_direct_CXX
81004 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81005 # DIR into the resulting binary and the resulting library dependency is
81006 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
81007 # library is relocated.
81008 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
81010 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
81011 # into the resulting binary.
81012 hardcode_minus_L=$hardcode_minus_L_CXX
81014 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
81015 # into the resulting binary.
81016 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
81018 # Set to "yes" if building a shared library automatically hardcodes DIR
81019 # into the library and all subsequent libraries and executables linked
81020 # against it.
81021 hardcode_automatic=$hardcode_automatic_CXX
81023 # Set to yes if linker adds runtime paths of dependent libraries
81024 # to runtime path list.
81025 inherit_rpath=$inherit_rpath_CXX
81027 # Whether libtool must link a program against all its dependency libraries.
81028 link_all_deplibs=$link_all_deplibs_CXX
81030 # Fix the shell variable \$srcfile for the compiler.
81031 fix_srcfile_path=$lt_fix_srcfile_path_CXX
81033 # Set to "yes" if exported symbols are required.
81034 always_export_symbols=$always_export_symbols_CXX
81036 # The commands to list exported symbols.
81037 export_symbols_cmds=$lt_export_symbols_cmds_CXX
81039 # Symbols that should not be listed in the preloaded symbols.
81040 exclude_expsyms=$lt_exclude_expsyms_CXX
81042 # Symbols that must always be exported.
81043 include_expsyms=$lt_include_expsyms_CXX
81045 # Commands necessary for linking programs (against libraries) with templates.
81046 prelink_cmds=$lt_prelink_cmds_CXX
81048 # Specify filename containing input files.
81049 file_list_spec=$lt_file_list_spec_CXX
81051 # How to hardcode a shared library path into an executable.
81052 hardcode_action=$hardcode_action_CXX
81054 # The directories searched by this compiler when creating a shared library.
81055 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
81057 # Dependencies to place before and after the objects being linked to
81058 # create a shared library.
81059 predep_objects=$lt_predep_objects_CXX
81060 postdep_objects=$lt_postdep_objects_CXX
81061 predeps=$lt_predeps_CXX
81062 postdeps=$lt_postdeps_CXX
81064 # The library search path used internally by the compiler when linking
81065 # a shared library.
81066 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
81068 # ### END LIBTOOL TAG CONFIG: CXX
81069 _LT_EOF
81072 "include/gstdint.h":C)
81073 if test "$GCC" = yes; then
81074 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
81075 else
81076 echo "/* generated for $CC */" > tmp-stdint.h
81079 sed 's/^ *//' >> tmp-stdint.h <<EOF
81081 #ifndef GCC_GENERATED_STDINT_H
81082 #define GCC_GENERATED_STDINT_H 1
81084 #include <sys/types.h>
81087 if test "$acx_cv_header_stdint" != stdint.h; then
81088 echo "#include <stddef.h>" >> tmp-stdint.h
81090 if test "$acx_cv_header_stdint" != stddef.h; then
81091 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
81094 sed 's/^ *//' >> tmp-stdint.h <<EOF
81095 /* glibc uses these symbols as guards to prevent redefinitions. */
81096 #ifdef __int8_t_defined
81097 #define _INT8_T
81098 #define _INT16_T
81099 #define _INT32_T
81100 #endif
81101 #ifdef __uint32_t_defined
81102 #define _UINT32_T
81103 #endif
81107 # ----------------- done header, emit basic int types -------------
81108 if test "$acx_cv_header_stdint" = stddef.h; then
81109 sed 's/^ *//' >> tmp-stdint.h <<EOF
81111 #ifndef _UINT8_T
81112 #define _UINT8_T
81113 #ifndef __uint8_t_defined
81114 #define __uint8_t_defined
81115 #ifndef uint8_t
81116 typedef unsigned $acx_cv_type_int8_t uint8_t;
81117 #endif
81118 #endif
81119 #endif
81121 #ifndef _UINT16_T
81122 #define _UINT16_T
81123 #ifndef __uint16_t_defined
81124 #define __uint16_t_defined
81125 #ifndef uint16_t
81126 typedef unsigned $acx_cv_type_int16_t uint16_t;
81127 #endif
81128 #endif
81129 #endif
81131 #ifndef _UINT32_T
81132 #define _UINT32_T
81133 #ifndef __uint32_t_defined
81134 #define __uint32_t_defined
81135 #ifndef uint32_t
81136 typedef unsigned $acx_cv_type_int32_t uint32_t;
81137 #endif
81138 #endif
81139 #endif
81141 #ifndef _INT8_T
81142 #define _INT8_T
81143 #ifndef __int8_t_defined
81144 #define __int8_t_defined
81145 #ifndef int8_t
81146 typedef $acx_cv_type_int8_t int8_t;
81147 #endif
81148 #endif
81149 #endif
81151 #ifndef _INT16_T
81152 #define _INT16_T
81153 #ifndef __int16_t_defined
81154 #define __int16_t_defined
81155 #ifndef int16_t
81156 typedef $acx_cv_type_int16_t int16_t;
81157 #endif
81158 #endif
81159 #endif
81161 #ifndef _INT32_T
81162 #define _INT32_T
81163 #ifndef __int32_t_defined
81164 #define __int32_t_defined
81165 #ifndef int32_t
81166 typedef $acx_cv_type_int32_t int32_t;
81167 #endif
81168 #endif
81169 #endif
81171 elif test "$ac_cv_type_u_int32_t" = yes; then
81172 sed 's/^ *//' >> tmp-stdint.h <<EOF
81174 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
81175 #ifndef _INT8_T
81176 #define _INT8_T
81177 #endif
81178 #ifndef _INT16_T
81179 #define _INT16_T
81180 #endif
81181 #ifndef _INT32_T
81182 #define _INT32_T
81183 #endif
81185 #ifndef _UINT8_T
81186 #define _UINT8_T
81187 #ifndef __uint8_t_defined
81188 #define __uint8_t_defined
81189 #ifndef uint8_t
81190 typedef u_int8_t uint8_t;
81191 #endif
81192 #endif
81193 #endif
81195 #ifndef _UINT16_T
81196 #define _UINT16_T
81197 #ifndef __uint16_t_defined
81198 #define __uint16_t_defined
81199 #ifndef uint16_t
81200 typedef u_int16_t uint16_t;
81201 #endif
81202 #endif
81203 #endif
81205 #ifndef _UINT32_T
81206 #define _UINT32_T
81207 #ifndef __uint32_t_defined
81208 #define __uint32_t_defined
81209 #ifndef uint32_t
81210 typedef u_int32_t uint32_t;
81211 #endif
81212 #endif
81213 #endif
81215 else
81216 sed 's/^ *//' >> tmp-stdint.h <<EOF
81218 /* Some systems have guard macros to prevent redefinitions, define them. */
81219 #ifndef _INT8_T
81220 #define _INT8_T
81221 #endif
81222 #ifndef _INT16_T
81223 #define _INT16_T
81224 #endif
81225 #ifndef _INT32_T
81226 #define _INT32_T
81227 #endif
81228 #ifndef _UINT8_T
81229 #define _UINT8_T
81230 #endif
81231 #ifndef _UINT16_T
81232 #define _UINT16_T
81233 #endif
81234 #ifndef _UINT32_T
81235 #define _UINT32_T
81236 #endif
81240 # ------------- done basic int types, emit int64_t types ------------
81241 if test "$ac_cv_type_uint64_t" = yes; then
81242 sed 's/^ *//' >> tmp-stdint.h <<EOF
81244 /* system headers have good uint64_t and int64_t */
81245 #ifndef _INT64_T
81246 #define _INT64_T
81247 #endif
81248 #ifndef _UINT64_T
81249 #define _UINT64_T
81250 #endif
81252 elif test "$ac_cv_type_u_int64_t" = yes; then
81253 sed 's/^ *//' >> tmp-stdint.h <<EOF
81255 /* system headers have an u_int64_t (and int64_t) */
81256 #ifndef _INT64_T
81257 #define _INT64_T
81258 #endif
81259 #ifndef _UINT64_T
81260 #define _UINT64_T
81261 #ifndef __uint64_t_defined
81262 #define __uint64_t_defined
81263 #ifndef uint64_t
81264 typedef u_int64_t uint64_t;
81265 #endif
81266 #endif
81267 #endif
81269 elif test -n "$acx_cv_type_int64_t"; then
81270 sed 's/^ *//' >> tmp-stdint.h <<EOF
81272 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
81273 #ifndef _INT64_T
81274 #define _INT64_T
81275 #ifndef int64_t
81276 typedef $acx_cv_type_int64_t int64_t;
81277 #endif
81278 #endif
81279 #ifndef _UINT64_T
81280 #define _UINT64_T
81281 #ifndef __uint64_t_defined
81282 #define __uint64_t_defined
81283 #ifndef uint64_t
81284 typedef unsigned $acx_cv_type_int64_t uint64_t;
81285 #endif
81286 #endif
81287 #endif
81289 else
81290 sed 's/^ *//' >> tmp-stdint.h <<EOF
81292 /* some common heuristics for int64_t, using compiler-specific tests */
81293 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
81294 #ifndef _INT64_T
81295 #define _INT64_T
81296 #ifndef __int64_t_defined
81297 #ifndef int64_t
81298 typedef long long int64_t;
81299 #endif
81300 #endif
81301 #endif
81302 #ifndef _UINT64_T
81303 #define _UINT64_T
81304 #ifndef uint64_t
81305 typedef unsigned long long uint64_t;
81306 #endif
81307 #endif
81309 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
81310 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
81311 does not implement __extension__. But that compiler doesn't define
81312 __GNUC_MINOR__. */
81313 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
81314 # define __extension__
81315 # endif
81317 # ifndef _INT64_T
81318 # define _INT64_T
81319 # ifndef int64_t
81320 __extension__ typedef long long int64_t;
81321 # endif
81322 # endif
81323 # ifndef _UINT64_T
81324 # define _UINT64_T
81325 # ifndef uint64_t
81326 __extension__ typedef unsigned long long uint64_t;
81327 # endif
81328 # endif
81330 #elif !defined __STRICT_ANSI__
81331 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
81333 # ifndef _INT64_T
81334 # define _INT64_T
81335 # ifndef int64_t
81336 typedef __int64 int64_t;
81337 # endif
81338 # endif
81339 # ifndef _UINT64_T
81340 # define _UINT64_T
81341 # ifndef uint64_t
81342 typedef unsigned __int64 uint64_t;
81343 # endif
81344 # endif
81345 # endif /* compiler */
81347 #endif /* ANSI version */
81351 # ------------- done int64_t types, emit intptr types ------------
81352 if test "$ac_cv_type_uintptr_t" != yes; then
81353 sed 's/^ *//' >> tmp-stdint.h <<EOF
81355 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
81356 #ifndef __uintptr_t_defined
81357 #ifndef uintptr_t
81358 typedef u$acx_cv_type_intptr_t uintptr_t;
81359 #endif
81360 #endif
81361 #ifndef __intptr_t_defined
81362 #ifndef intptr_t
81363 typedef $acx_cv_type_intptr_t intptr_t;
81364 #endif
81365 #endif
81369 # ------------- done intptr types, emit int_least types ------------
81370 if test "$ac_cv_type_int_least32_t" != yes; then
81371 sed 's/^ *//' >> tmp-stdint.h <<EOF
81373 /* Define int_least types */
81374 typedef int8_t int_least8_t;
81375 typedef int16_t int_least16_t;
81376 typedef int32_t int_least32_t;
81377 #ifdef _INT64_T
81378 typedef int64_t int_least64_t;
81379 #endif
81381 typedef uint8_t uint_least8_t;
81382 typedef uint16_t uint_least16_t;
81383 typedef uint32_t uint_least32_t;
81384 #ifdef _UINT64_T
81385 typedef uint64_t uint_least64_t;
81386 #endif
81390 # ------------- done intptr types, emit int_fast types ------------
81391 if test "$ac_cv_type_int_fast32_t" != yes; then
81392 sed 's/^ *//' >> tmp-stdint.h <<EOF
81394 /* Define int_fast types. short is often slow */
81395 typedef int8_t int_fast8_t;
81396 typedef int int_fast16_t;
81397 typedef int32_t int_fast32_t;
81398 #ifdef _INT64_T
81399 typedef int64_t int_fast64_t;
81400 #endif
81402 typedef uint8_t uint_fast8_t;
81403 typedef unsigned int uint_fast16_t;
81404 typedef uint32_t uint_fast32_t;
81405 #ifdef _UINT64_T
81406 typedef uint64_t uint_fast64_t;
81407 #endif
81411 if test "$ac_cv_type_uintmax_t" != yes; then
81412 sed 's/^ *//' >> tmp-stdint.h <<EOF
81414 /* Define intmax based on what we found */
81415 #ifndef intmax_t
81416 #ifdef _INT64_T
81417 typedef int64_t intmax_t;
81418 #else
81419 typedef long intmax_t;
81420 #endif
81421 #endif
81422 #ifndef uintmax_t
81423 #ifdef _UINT64_T
81424 typedef uint64_t uintmax_t;
81425 #else
81426 typedef unsigned long uintmax_t;
81427 #endif
81428 #endif
81432 sed 's/^ *//' >> tmp-stdint.h <<EOF
81434 #endif /* GCC_GENERATED_STDINT_H */
81437 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
81438 rm -f tmp-stdint.h
81439 else
81440 mv -f tmp-stdint.h include/gstdint.h
81444 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
81445 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
81446 "include/Makefile":F) cat > vpsed$$ << \_EOF
81447 s!`test -f '$<' || echo '$(srcdir)/'`!!
81448 _EOF
81449 sed -f vpsed$$ $ac_file > tmp$$
81450 mv tmp$$ $ac_file
81451 rm vpsed$$
81452 echo 'MULTISUBDIR =' >> $ac_file
81453 ml_norecursion=yes
81454 . ${multi_basedir}/config-ml.in
81455 { ml_norecursion=; unset ml_norecursion;}
81457 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
81458 s!`test -f '$<' || echo '$(srcdir)/'`!!
81459 _EOF
81460 sed -f vpsed$$ $ac_file > tmp$$
81461 mv tmp$$ $ac_file
81462 rm vpsed$$
81463 echo 'MULTISUBDIR =' >> $ac_file
81464 ml_norecursion=yes
81465 . ${multi_basedir}/config-ml.in
81466 { ml_norecursion=; unset ml_norecursion;}
81468 "src/Makefile":F) cat > vpsed$$ << \_EOF
81469 s!`test -f '$<' || echo '$(srcdir)/'`!!
81470 _EOF
81471 sed -f vpsed$$ $ac_file > tmp$$
81472 mv tmp$$ $ac_file
81473 rm vpsed$$
81474 echo 'MULTISUBDIR =' >> $ac_file
81475 ml_norecursion=yes
81476 . ${multi_basedir}/config-ml.in
81477 { ml_norecursion=; unset ml_norecursion;}
81479 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
81480 s!`test -f '$<' || echo '$(srcdir)/'`!!
81481 _EOF
81482 sed -f vpsed$$ $ac_file > tmp$$
81483 mv tmp$$ $ac_file
81484 rm vpsed$$
81485 echo 'MULTISUBDIR =' >> $ac_file
81486 ml_norecursion=yes
81487 . ${multi_basedir}/config-ml.in
81488 { ml_norecursion=; unset ml_norecursion;}
81490 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
81491 s!`test -f '$<' || echo '$(srcdir)/'`!!
81492 _EOF
81493 sed -f vpsed$$ $ac_file > tmp$$
81494 mv tmp$$ $ac_file
81495 rm vpsed$$
81496 echo 'MULTISUBDIR =' >> $ac_file
81497 ml_norecursion=yes
81498 . ${multi_basedir}/config-ml.in
81499 { ml_norecursion=; unset ml_norecursion;}
81501 "src/c++17/Makefile":F) cat > vpsed$$ << \_EOF
81502 s!`test -f '$<' || echo '$(srcdir)/'`!!
81503 _EOF
81504 sed -f vpsed$$ $ac_file > tmp$$
81505 mv tmp$$ $ac_file
81506 rm vpsed$$
81507 echo 'MULTISUBDIR =' >> $ac_file
81508 ml_norecursion=yes
81509 . ${multi_basedir}/config-ml.in
81510 { ml_norecursion=; unset ml_norecursion;}
81512 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
81513 s!`test -f '$<' || echo '$(srcdir)/'`!!
81514 _EOF
81515 sed -f vpsed$$ $ac_file > tmp$$
81516 mv tmp$$ $ac_file
81517 rm vpsed$$
81518 echo 'MULTISUBDIR =' >> $ac_file
81519 ml_norecursion=yes
81520 . ${multi_basedir}/config-ml.in
81521 { ml_norecursion=; unset ml_norecursion;}
81523 "doc/Makefile":F) cat > vpsed$$ << \_EOF
81524 s!`test -f '$<' || echo '$(srcdir)/'`!!
81525 _EOF
81526 sed -f vpsed$$ $ac_file > tmp$$
81527 mv tmp$$ $ac_file
81528 rm vpsed$$
81529 echo 'MULTISUBDIR =' >> $ac_file
81530 ml_norecursion=yes
81531 . ${multi_basedir}/config-ml.in
81532 { ml_norecursion=; unset ml_norecursion;}
81534 "po/Makefile":F) cat > vpsed$$ << \_EOF
81535 s!`test -f '$<' || echo '$(srcdir)/'`!!
81536 _EOF
81537 sed -f vpsed$$ $ac_file > tmp$$
81538 mv tmp$$ $ac_file
81539 rm vpsed$$
81540 echo 'MULTISUBDIR =' >> $ac_file
81541 ml_norecursion=yes
81542 . ${multi_basedir}/config-ml.in
81543 { ml_norecursion=; unset ml_norecursion;}
81545 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
81546 s!`test -f '$<' || echo '$(srcdir)/'`!!
81547 _EOF
81548 sed -f vpsed$$ $ac_file > tmp$$
81549 mv tmp$$ $ac_file
81550 rm vpsed$$
81551 echo 'MULTISUBDIR =' >> $ac_file
81552 ml_norecursion=yes
81553 . ${multi_basedir}/config-ml.in
81554 { ml_norecursion=; unset ml_norecursion;}
81556 "python/Makefile":F) cat > vpsed$$ << \_EOF
81557 s!`test -f '$<' || echo '$(srcdir)/'`!!
81558 _EOF
81559 sed -f vpsed$$ $ac_file > tmp$$
81560 mv tmp$$ $ac_file
81561 rm vpsed$$
81562 echo 'MULTISUBDIR =' >> $ac_file
81563 ml_norecursion=yes
81564 . ${multi_basedir}/config-ml.in
81565 { ml_norecursion=; unset ml_norecursion;}
81567 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
81569 esac
81570 done # for ac_tag
81573 as_fn_exit 0
81574 _ACEOF
81575 ac_clean_files=$ac_clean_files_save
81577 test $ac_write_fail = 0 ||
81578 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
81581 # configure is writing to config.log, and then calls config.status.
81582 # config.status does its own redirection, appending to config.log.
81583 # Unfortunately, on DOS this fails, as config.log is still kept open
81584 # by configure, so config.status won't be able to write to it; its
81585 # output is simply discarded. So we exec the FD to /dev/null,
81586 # effectively closing config.log, so it can be properly (re)opened and
81587 # appended to by config.status. When coming back to configure, we
81588 # need to make the FD available again.
81589 if test "$no_create" != yes; then
81590 ac_cs_success=:
81591 ac_config_status_args=
81592 test "$silent" = yes &&
81593 ac_config_status_args="$ac_config_status_args --quiet"
81594 exec 5>/dev/null
81595 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
81596 exec 5>>config.log
81597 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
81598 # would make configure fail if this is the last instruction.
81599 $ac_cs_success || as_fn_exit 1
81601 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
81602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
81603 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}