inf-compare-1.c: Skip AIX.
[official-gcc.git] / libstdc++-v3 / configure
blob4e714e5da9cea04cc446de331f625e055fc5fba8
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 CPU_OPT_BITS_RANDOM
647 CPU_OPT_EXT_RANDOM
648 ERROR_CONSTANTS_SRCDIR
649 OS_INC_SRCDIR
650 ABI_TWEAKS_SRCDIR
651 CPU_DEFINES_SRCDIR
652 ATOMIC_FLAGS
653 ATOMIC_WORD_SRCDIR
654 ATOMICITY_SRCDIR
655 INCLUDE_DIR_NOTPARALLEL_FALSE
656 INCLUDE_DIR_NOTPARALLEL_TRUE
657 BUILD_PDF_FALSE
658 BUILD_PDF_TRUE
659 PDFLATEX
660 DBLATEX
661 BUILD_MAN_FALSE
662 BUILD_MAN_TRUE
663 BUILD_HTML_FALSE
664 BUILD_HTML_TRUE
665 BUILD_XML_FALSE
666 BUILD_XML_TRUE
667 BUILD_EPUB_FALSE
668 BUILD_EPUB_TRUE
669 XSL_STYLE_DIR
670 XMLLINT
671 XSLTPROC
672 XMLCATALOG
674 DOXYGEN
675 BUILD_INFO_FALSE
676 BUILD_INFO_TRUE
677 ENABLE_FILESYSTEM_TS_FALSE
678 ENABLE_FILESYSTEM_TS_TRUE
679 baseline_subdir_switch
680 baseline_dir
681 HWCAP_CFLAGS
682 GLIBCXX_LDBL_COMPAT_FALSE
683 GLIBCXX_LDBL_COMPAT_TRUE
684 LONG_DOUBLE_COMPAT_FLAGS
685 ENABLE_CXX11_ABI_FALSE
686 ENABLE_CXX11_ABI_TRUE
687 glibcxx_cxx98_abi
688 ENABLE_DUAL_ABI_FALSE
689 ENABLE_DUAL_ABI_TRUE
690 ENABLE_VISIBILITY_FALSE
691 ENABLE_VISIBILITY_TRUE
692 libtool_VERSION
693 ENABLE_SYMVERS_SUN_FALSE
694 ENABLE_SYMVERS_SUN_TRUE
695 ENABLE_SYMVERS_DARWIN_FALSE
696 ENABLE_SYMVERS_DARWIN_TRUE
697 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
698 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
699 ENABLE_SYMVERS_GNU_FALSE
700 ENABLE_SYMVERS_GNU_TRUE
701 ENABLE_SYMVERS_FALSE
702 ENABLE_SYMVERS_TRUE
703 port_specific_symbol_files
704 SYMVER_FILE
705 CXXFILT
706 LTLIBICONV
707 LIBICONV
708 OPT_LDFLAGS
709 SECTION_LDFLAGS
710 GLIBCXX_LIBS
711 ENABLE_VTABLE_VERIFY_FALSE
712 ENABLE_VTABLE_VERIFY_TRUE
713 VTV_CYGMIN_FALSE
714 VTV_CYGMIN_TRUE
715 VTV_CXXLINKFLAGS
716 VTV_PCH_CXXFLAGS
717 VTV_CXXFLAGS
718 ENABLE_WERROR_FALSE
719 ENABLE_WERROR_TRUE
720 ENABLE_PYTHONDIR_FALSE
721 ENABLE_PYTHONDIR_TRUE
722 python_mod_dir
723 ENABLE_EXTERN_TEMPLATE_FALSE
724 ENABLE_EXTERN_TEMPLATE_TRUE
725 EXTRA_CXX_FLAGS
726 GLIBCXX_BUILD_DEBUG_FALSE
727 GLIBCXX_BUILD_DEBUG_TRUE
728 DEBUG_FLAGS
729 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
730 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
731 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
732 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
733 GLIBCXX_C_HEADERS_C_STD_FALSE
734 GLIBCXX_C_HEADERS_C_STD_TRUE
735 GLIBCXX_C_HEADERS_C_FALSE
736 GLIBCXX_C_HEADERS_C_TRUE
737 C_INCLUDE_DIR
738 ALLOCATOR_NAME
739 ALLOCATOR_H
740 ENABLE_ALLOCATOR_NEW_FALSE
741 ENABLE_ALLOCATOR_NEW_TRUE
742 CLOCALE_INTERNAL_H
743 CLOCALE_CC
744 CTIME_CC
745 CTIME_H
746 CNUMERIC_CC
747 CMONEY_CC
748 CMESSAGES_CC
749 CCTYPE_CC
750 CCOLLATE_CC
751 CCODECVT_CC
752 CMESSAGES_H
753 CLOCALE_H
754 USE_NLS
755 glibcxx_localedir
756 glibcxx_POFILES
757 glibcxx_MOFILES
758 check_msgfmt
759 BASIC_FILE_CC
760 BASIC_FILE_H
761 CSTDIO_H
762 SECTION_FLAGS
763 ENABLE_FLOAT128_FALSE
764 ENABLE_FLOAT128_TRUE
765 thread_header
766 glibcxx_PCHFLAGS
767 GLIBCXX_BUILD_PCH_FALSE
768 GLIBCXX_BUILD_PCH_TRUE
769 GLIBCXX_HOSTED_FALSE
770 GLIBCXX_HOSTED_TRUE
771 glibcxx_compiler_shared_flag
772 glibcxx_compiler_pic_flag
773 glibcxx_lt_pic_flag
774 enable_static
775 enable_shared
776 lt_host_flags
777 CXXCPP
778 OTOOL64
779 OTOOL
780 LIPO
781 NMEDIT
782 DSYMUTIL
783 OBJDUMP
785 ac_ct_DUMPBIN
786 DUMPBIN
788 FGREP
790 LIBTOOL
791 EGREP
792 GREP
794 MAINT
795 MAINTAINER_MODE_FALSE
796 MAINTAINER_MODE_TRUE
797 RANLIB
800 LN_S
801 toplevel_srcdir
802 toplevel_builddir
803 glibcxx_srcdir
804 glibcxx_builddir
805 ac_ct_CXX
806 CXXFLAGS
808 OBJEXT
809 EXEEXT
810 ac_ct_CC
811 CPPFLAGS
812 LDFLAGS
813 CFLAGS
815 AM_BACKSLASH
816 AM_DEFAULT_VERBOSITY
817 AM_DEFAULT_V
818 AM_V
819 am__untar
820 am__tar
821 AMTAR
822 am__leading_dot
823 SET_MAKE
825 mkdir_p
826 MKDIR_P
827 INSTALL_STRIP_PROGRAM
828 STRIP
829 install_sh
830 MAKEINFO
831 AUTOHEADER
832 AUTOMAKE
833 AUTOCONF
834 ACLOCAL
835 VERSION
836 PACKAGE
837 CYGPATH_W
838 am__isrc
839 INSTALL_DATA
840 INSTALL_SCRIPT
841 INSTALL_PROGRAM
842 target_os
843 target_vendor
844 target_cpu
845 target
846 host_os
847 host_vendor
848 host_cpu
849 host
850 build_os
851 build_vendor
852 build_cpu
853 build
854 multi_basedir
855 target_alias
856 host_alias
857 build_alias
858 LIBS
859 ECHO_T
860 ECHO_N
861 ECHO_C
862 DEFS
863 mandir
864 localedir
865 libdir
866 psdir
867 pdfdir
868 dvidir
869 htmldir
870 infodir
871 docdir
872 oldincludedir
873 includedir
874 localstatedir
875 sharedstatedir
876 sysconfdir
877 datadir
878 datarootdir
879 libexecdir
880 sbindir
881 bindir
882 program_transform_name
883 prefix
884 exec_prefix
885 PACKAGE_URL
886 PACKAGE_BUGREPORT
887 PACKAGE_STRING
888 PACKAGE_VERSION
889 PACKAGE_TARNAME
890 PACKAGE_NAME
891 PATH_SEPARATOR
892 SHELL'
893 ac_subst_files=''
894 ac_user_opts='
895 enable_option_checking
896 enable_multilib
897 enable_silent_rules
898 with_target_subdir
899 with_cross_host
900 with_newlib
901 enable_maintainer_mode
902 enable_shared
903 enable_static
904 with_pic
905 enable_fast_install
906 with_gnu_ld
907 enable_libtool_lock
908 enable_hosted_libstdcxx
909 enable_libstdcxx_verbose
910 enable_libstdcxx_pch
911 with_libstdcxx_lock_policy
912 enable_cstdio
913 enable_clocale
914 enable_nls
915 enable_libstdcxx_allocator
916 enable_cheaders
917 enable_long_long
918 enable_wchar_t
919 enable_c99
920 enable_concept_checks
921 enable_libstdcxx_debug_flags
922 enable_libstdcxx_debug
923 enable_cxx_flags
924 enable_fully_dynamic_string
925 enable_extern_template
926 with_python_dir
927 enable_werror
928 enable_vtable_verify
929 enable_libstdcxx_time
930 enable_tls
931 enable_rpath
932 with_libiconv_prefix
933 with_system_libunwind
934 enable_linux_futex
935 enable_symvers
936 enable_libstdcxx_visibility
937 enable_libstdcxx_dual_abi
938 with_default_libstdcxx_abi
939 enable_libstdcxx_threads
940 enable_libstdcxx_filesystem_ts
941 enable_cet
942 with_gxx_include_dir
943 enable_version_specific_runtime_libs
944 with_gcc_major_version_only
946 ac_precious_vars='build_alias
947 host_alias
948 target_alias
950 CFLAGS
951 LDFLAGS
952 LIBS
953 CPPFLAGS
955 CXXFLAGS
958 CXXCPP
959 CXXFILT'
962 # Initialize some variables set by options.
963 ac_init_help=
964 ac_init_version=false
965 ac_unrecognized_opts=
966 ac_unrecognized_sep=
967 # The variables have the same names as the options, with
968 # dashes changed to underlines.
969 cache_file=/dev/null
970 exec_prefix=NONE
971 no_create=
972 no_recursion=
973 prefix=NONE
974 program_prefix=NONE
975 program_suffix=NONE
976 program_transform_name=s,x,x,
977 silent=
978 site=
979 srcdir=
980 verbose=
981 x_includes=NONE
982 x_libraries=NONE
984 # Installation directory options.
985 # These are left unexpanded so users can "make install exec_prefix=/foo"
986 # and all the variables that are supposed to be based on exec_prefix
987 # by default will actually change.
988 # Use braces instead of parens because sh, perl, etc. also accept them.
989 # (The list follows the same order as the GNU Coding Standards.)
990 bindir='${exec_prefix}/bin'
991 sbindir='${exec_prefix}/sbin'
992 libexecdir='${exec_prefix}/libexec'
993 datarootdir='${prefix}/share'
994 datadir='${datarootdir}'
995 sysconfdir='${prefix}/etc'
996 sharedstatedir='${prefix}/com'
997 localstatedir='${prefix}/var'
998 includedir='${prefix}/include'
999 oldincludedir='/usr/include'
1000 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1001 infodir='${datarootdir}/info'
1002 htmldir='${docdir}'
1003 dvidir='${docdir}'
1004 pdfdir='${docdir}'
1005 psdir='${docdir}'
1006 libdir='${exec_prefix}/lib'
1007 localedir='${datarootdir}/locale'
1008 mandir='${datarootdir}/man'
1010 ac_prev=
1011 ac_dashdash=
1012 for ac_option
1014 # If the previous option needs an argument, assign it.
1015 if test -n "$ac_prev"; then
1016 eval $ac_prev=\$ac_option
1017 ac_prev=
1018 continue
1021 case $ac_option in
1022 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1023 *=) ac_optarg= ;;
1024 *) ac_optarg=yes ;;
1025 esac
1027 # Accept the important Cygnus configure options, so we can diagnose typos.
1029 case $ac_dashdash$ac_option in
1031 ac_dashdash=yes ;;
1033 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1034 ac_prev=bindir ;;
1035 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1036 bindir=$ac_optarg ;;
1038 -build | --build | --buil | --bui | --bu)
1039 ac_prev=build_alias ;;
1040 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1041 build_alias=$ac_optarg ;;
1043 -cache-file | --cache-file | --cache-fil | --cache-fi \
1044 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1045 ac_prev=cache_file ;;
1046 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1047 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1048 cache_file=$ac_optarg ;;
1050 --config-cache | -C)
1051 cache_file=config.cache ;;
1053 -datadir | --datadir | --datadi | --datad)
1054 ac_prev=datadir ;;
1055 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1056 datadir=$ac_optarg ;;
1058 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1059 | --dataroo | --dataro | --datar)
1060 ac_prev=datarootdir ;;
1061 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1062 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1063 datarootdir=$ac_optarg ;;
1065 -disable-* | --disable-*)
1066 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1067 # Reject names that are not valid shell variable names.
1068 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1069 as_fn_error $? "invalid feature name: $ac_useropt"
1070 ac_useropt_orig=$ac_useropt
1071 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1072 case $ac_user_opts in
1074 "enable_$ac_useropt"
1075 "*) ;;
1076 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1077 ac_unrecognized_sep=', ';;
1078 esac
1079 eval enable_$ac_useropt=no ;;
1081 -docdir | --docdir | --docdi | --doc | --do)
1082 ac_prev=docdir ;;
1083 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1084 docdir=$ac_optarg ;;
1086 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1087 ac_prev=dvidir ;;
1088 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1089 dvidir=$ac_optarg ;;
1091 -enable-* | --enable-*)
1092 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1093 # Reject names that are not valid shell variable names.
1094 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1095 as_fn_error $? "invalid feature name: $ac_useropt"
1096 ac_useropt_orig=$ac_useropt
1097 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1098 case $ac_user_opts in
1100 "enable_$ac_useropt"
1101 "*) ;;
1102 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1103 ac_unrecognized_sep=', ';;
1104 esac
1105 eval enable_$ac_useropt=\$ac_optarg ;;
1107 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1108 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1109 | --exec | --exe | --ex)
1110 ac_prev=exec_prefix ;;
1111 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1112 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1113 | --exec=* | --exe=* | --ex=*)
1114 exec_prefix=$ac_optarg ;;
1116 -gas | --gas | --ga | --g)
1117 # Obsolete; use --with-gas.
1118 with_gas=yes ;;
1120 -help | --help | --hel | --he | -h)
1121 ac_init_help=long ;;
1122 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1123 ac_init_help=recursive ;;
1124 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1125 ac_init_help=short ;;
1127 -host | --host | --hos | --ho)
1128 ac_prev=host_alias ;;
1129 -host=* | --host=* | --hos=* | --ho=*)
1130 host_alias=$ac_optarg ;;
1132 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1133 ac_prev=htmldir ;;
1134 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1135 | --ht=*)
1136 htmldir=$ac_optarg ;;
1138 -includedir | --includedir | --includedi | --included | --include \
1139 | --includ | --inclu | --incl | --inc)
1140 ac_prev=includedir ;;
1141 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1142 | --includ=* | --inclu=* | --incl=* | --inc=*)
1143 includedir=$ac_optarg ;;
1145 -infodir | --infodir | --infodi | --infod | --info | --inf)
1146 ac_prev=infodir ;;
1147 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1148 infodir=$ac_optarg ;;
1150 -libdir | --libdir | --libdi | --libd)
1151 ac_prev=libdir ;;
1152 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1153 libdir=$ac_optarg ;;
1155 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1156 | --libexe | --libex | --libe)
1157 ac_prev=libexecdir ;;
1158 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1159 | --libexe=* | --libex=* | --libe=*)
1160 libexecdir=$ac_optarg ;;
1162 -localedir | --localedir | --localedi | --localed | --locale)
1163 ac_prev=localedir ;;
1164 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1165 localedir=$ac_optarg ;;
1167 -localstatedir | --localstatedir | --localstatedi | --localstated \
1168 | --localstate | --localstat | --localsta | --localst | --locals)
1169 ac_prev=localstatedir ;;
1170 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1171 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1172 localstatedir=$ac_optarg ;;
1174 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1175 ac_prev=mandir ;;
1176 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1177 mandir=$ac_optarg ;;
1179 -nfp | --nfp | --nf)
1180 # Obsolete; use --without-fp.
1181 with_fp=no ;;
1183 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1184 | --no-cr | --no-c | -n)
1185 no_create=yes ;;
1187 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1188 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1189 no_recursion=yes ;;
1191 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1192 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1193 | --oldin | --oldi | --old | --ol | --o)
1194 ac_prev=oldincludedir ;;
1195 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1196 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1197 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1198 oldincludedir=$ac_optarg ;;
1200 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1201 ac_prev=prefix ;;
1202 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1203 prefix=$ac_optarg ;;
1205 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1206 | --program-pre | --program-pr | --program-p)
1207 ac_prev=program_prefix ;;
1208 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1209 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1210 program_prefix=$ac_optarg ;;
1212 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1213 | --program-suf | --program-su | --program-s)
1214 ac_prev=program_suffix ;;
1215 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1216 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1217 program_suffix=$ac_optarg ;;
1219 -program-transform-name | --program-transform-name \
1220 | --program-transform-nam | --program-transform-na \
1221 | --program-transform-n | --program-transform- \
1222 | --program-transform | --program-transfor \
1223 | --program-transfo | --program-transf \
1224 | --program-trans | --program-tran \
1225 | --progr-tra | --program-tr | --program-t)
1226 ac_prev=program_transform_name ;;
1227 -program-transform-name=* | --program-transform-name=* \
1228 | --program-transform-nam=* | --program-transform-na=* \
1229 | --program-transform-n=* | --program-transform-=* \
1230 | --program-transform=* | --program-transfor=* \
1231 | --program-transfo=* | --program-transf=* \
1232 | --program-trans=* | --program-tran=* \
1233 | --progr-tra=* | --program-tr=* | --program-t=*)
1234 program_transform_name=$ac_optarg ;;
1236 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1237 ac_prev=pdfdir ;;
1238 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1239 pdfdir=$ac_optarg ;;
1241 -psdir | --psdir | --psdi | --psd | --ps)
1242 ac_prev=psdir ;;
1243 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1244 psdir=$ac_optarg ;;
1246 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1247 | -silent | --silent | --silen | --sile | --sil)
1248 silent=yes ;;
1250 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1251 ac_prev=sbindir ;;
1252 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1253 | --sbi=* | --sb=*)
1254 sbindir=$ac_optarg ;;
1256 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1257 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1258 | --sharedst | --shareds | --shared | --share | --shar \
1259 | --sha | --sh)
1260 ac_prev=sharedstatedir ;;
1261 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1262 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1263 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1264 | --sha=* | --sh=*)
1265 sharedstatedir=$ac_optarg ;;
1267 -site | --site | --sit)
1268 ac_prev=site ;;
1269 -site=* | --site=* | --sit=*)
1270 site=$ac_optarg ;;
1272 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1273 ac_prev=srcdir ;;
1274 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1275 srcdir=$ac_optarg ;;
1277 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1278 | --syscon | --sysco | --sysc | --sys | --sy)
1279 ac_prev=sysconfdir ;;
1280 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1281 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1282 sysconfdir=$ac_optarg ;;
1284 -target | --target | --targe | --targ | --tar | --ta | --t)
1285 ac_prev=target_alias ;;
1286 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1287 target_alias=$ac_optarg ;;
1289 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1290 verbose=yes ;;
1292 -version | --version | --versio | --versi | --vers | -V)
1293 ac_init_version=: ;;
1295 -with-* | --with-*)
1296 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1297 # Reject names that are not valid shell variable names.
1298 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1299 as_fn_error $? "invalid package name: $ac_useropt"
1300 ac_useropt_orig=$ac_useropt
1301 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1302 case $ac_user_opts in
1304 "with_$ac_useropt"
1305 "*) ;;
1306 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1307 ac_unrecognized_sep=', ';;
1308 esac
1309 eval with_$ac_useropt=\$ac_optarg ;;
1311 -without-* | --without-*)
1312 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1313 # Reject names that are not valid shell variable names.
1314 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1315 as_fn_error $? "invalid package name: $ac_useropt"
1316 ac_useropt_orig=$ac_useropt
1317 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1318 case $ac_user_opts in
1320 "with_$ac_useropt"
1321 "*) ;;
1322 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1323 ac_unrecognized_sep=', ';;
1324 esac
1325 eval with_$ac_useropt=no ;;
1327 --x)
1328 # Obsolete; use --with-x.
1329 with_x=yes ;;
1331 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1332 | --x-incl | --x-inc | --x-in | --x-i)
1333 ac_prev=x_includes ;;
1334 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1335 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1336 x_includes=$ac_optarg ;;
1338 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1339 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1340 ac_prev=x_libraries ;;
1341 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1342 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1343 x_libraries=$ac_optarg ;;
1345 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1346 Try \`$0 --help' for more information"
1349 *=*)
1350 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1351 # Reject names that are not valid shell variable names.
1352 case $ac_envvar in #(
1353 '' | [0-9]* | *[!_$as_cr_alnum]* )
1354 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1355 esac
1356 eval $ac_envvar=\$ac_optarg
1357 export $ac_envvar ;;
1360 # FIXME: should be removed in autoconf 3.0.
1361 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1362 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1363 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1364 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1367 esac
1368 done
1370 if test -n "$ac_prev"; then
1371 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1372 as_fn_error $? "missing argument to $ac_option"
1375 if test -n "$ac_unrecognized_opts"; then
1376 case $enable_option_checking in
1377 no) ;;
1378 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1379 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1380 esac
1383 # Check all directory arguments for consistency.
1384 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1385 datadir sysconfdir sharedstatedir localstatedir includedir \
1386 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1387 libdir localedir mandir
1389 eval ac_val=\$$ac_var
1390 # Remove trailing slashes.
1391 case $ac_val in
1392 */ )
1393 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1394 eval $ac_var=\$ac_val;;
1395 esac
1396 # Be sure to have absolute directory names.
1397 case $ac_val in
1398 [\\/$]* | ?:[\\/]* ) continue;;
1399 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1400 esac
1401 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1402 done
1404 # There might be people who depend on the old broken behavior: `$host'
1405 # used to hold the argument of --host etc.
1406 # FIXME: To remove some day.
1407 build=$build_alias
1408 host=$host_alias
1409 target=$target_alias
1411 # FIXME: To remove some day.
1412 if test "x$host_alias" != x; then
1413 if test "x$build_alias" = x; then
1414 cross_compiling=maybe
1415 elif test "x$build_alias" != "x$host_alias"; then
1416 cross_compiling=yes
1420 ac_tool_prefix=
1421 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1423 test "$silent" = yes && exec 6>/dev/null
1426 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1427 ac_ls_di=`ls -di .` &&
1428 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1429 as_fn_error $? "working directory cannot be determined"
1430 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1431 as_fn_error $? "pwd does not report name of working directory"
1434 # Find the source files, if location was not specified.
1435 if test -z "$srcdir"; then
1436 ac_srcdir_defaulted=yes
1437 # Try the directory containing this script, then the parent directory.
1438 ac_confdir=`$as_dirname -- "$as_myself" ||
1439 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1440 X"$as_myself" : 'X\(//\)[^/]' \| \
1441 X"$as_myself" : 'X\(//\)$' \| \
1442 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1443 $as_echo X"$as_myself" |
1444 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1445 s//\1/
1448 /^X\(\/\/\)[^/].*/{
1449 s//\1/
1452 /^X\(\/\/\)$/{
1453 s//\1/
1456 /^X\(\/\).*/{
1457 s//\1/
1460 s/.*/./; q'`
1461 srcdir=$ac_confdir
1462 if test ! -r "$srcdir/$ac_unique_file"; then
1463 srcdir=..
1465 else
1466 ac_srcdir_defaulted=no
1468 if test ! -r "$srcdir/$ac_unique_file"; then
1469 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1470 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1472 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1473 ac_abs_confdir=`(
1474 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1475 pwd)`
1476 # When building in place, set srcdir=.
1477 if test "$ac_abs_confdir" = "$ac_pwd"; then
1478 srcdir=.
1480 # Remove unnecessary trailing slashes from srcdir.
1481 # Double slashes in file names in object file debugging info
1482 # mess up M-x gdb in Emacs.
1483 case $srcdir in
1484 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1485 esac
1486 for ac_var in $ac_precious_vars; do
1487 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1488 eval ac_env_${ac_var}_value=\$${ac_var}
1489 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1490 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1491 done
1494 # Report the --help message.
1496 if test "$ac_init_help" = "long"; then
1497 # Omit some internal or obsolete options to make the list less imposing.
1498 # This message is too long to be a string in the A/UX 3.1 sh.
1499 cat <<_ACEOF
1500 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1502 Usage: $0 [OPTION]... [VAR=VALUE]...
1504 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1505 VAR=VALUE. See below for descriptions of some of the useful variables.
1507 Defaults for the options are specified in brackets.
1509 Configuration:
1510 -h, --help display this help and exit
1511 --help=short display options specific to this package
1512 --help=recursive display the short help of all the included packages
1513 -V, --version display version information and exit
1514 -q, --quiet, --silent do not print \`checking ...' messages
1515 --cache-file=FILE cache test results in FILE [disabled]
1516 -C, --config-cache alias for \`--cache-file=config.cache'
1517 -n, --no-create do not create output files
1518 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1520 Installation directories:
1521 --prefix=PREFIX install architecture-independent files in PREFIX
1522 [$ac_default_prefix]
1523 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1524 [PREFIX]
1526 By default, \`make install' will install all the files in
1527 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1528 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1529 for instance \`--prefix=\$HOME'.
1531 For better control, use the options below.
1533 Fine tuning of the installation directories:
1534 --bindir=DIR user executables [EPREFIX/bin]
1535 --sbindir=DIR system admin executables [EPREFIX/sbin]
1536 --libexecdir=DIR program executables [EPREFIX/libexec]
1537 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1538 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1539 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1540 --libdir=DIR object code libraries [EPREFIX/lib]
1541 --includedir=DIR C header files [PREFIX/include]
1542 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1543 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1544 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1545 --infodir=DIR info documentation [DATAROOTDIR/info]
1546 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1547 --mandir=DIR man documentation [DATAROOTDIR/man]
1548 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1549 --htmldir=DIR html documentation [DOCDIR]
1550 --dvidir=DIR dvi documentation [DOCDIR]
1551 --pdfdir=DIR pdf documentation [DOCDIR]
1552 --psdir=DIR ps documentation [DOCDIR]
1553 _ACEOF
1555 cat <<\_ACEOF
1557 Program names:
1558 --program-prefix=PREFIX prepend PREFIX to installed program names
1559 --program-suffix=SUFFIX append SUFFIX to installed program names
1560 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1562 System types:
1563 --build=BUILD configure for building on BUILD [guessed]
1564 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1565 --target=TARGET configure for building compilers for TARGET [HOST]
1566 _ACEOF
1569 if test -n "$ac_init_help"; then
1570 case $ac_init_help in
1571 short | recursive ) echo "Configuration of package-unused version-unused:";;
1572 esac
1573 cat <<\_ACEOF
1575 Optional Features:
1576 --disable-option-checking ignore unrecognized --enable/--with options
1577 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1578 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1579 --enable-multilib build many library versions (default)
1580 --enable-silent-rules less verbose build output (undo: "make V=1")
1581 --disable-silent-rules verbose build output (undo: "make V=0")
1582 --enable-maintainer-mode
1583 enable make rules and dependencies not useful (and
1584 sometimes confusing) to the casual installer
1585 --enable-shared[=PKGS] build shared libraries [default=yes]
1586 --enable-static[=PKGS] build static libraries [default=yes]
1587 --enable-fast-install[=PKGS]
1588 optimize for fast installation [default=yes]
1589 --disable-libtool-lock avoid locking (might break parallel builds)
1590 --disable-hosted-libstdcxx
1591 only build freestanding C++ runtime support
1592 --disable-libstdcxx-verbose
1593 disable termination messages to standard error
1594 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1595 [default=$is_hosted]
1596 --enable-cstdio[=PACKAGE]
1597 use target-specific I/O package [default=stdio]
1598 --enable-clocale[=MODEL]
1599 use MODEL for target locale package [default=auto]
1600 --enable-nls use Native Language Support (default)
1601 --enable-libstdcxx-allocator[=KIND]
1602 use KIND for target std::allocator base
1603 [default=auto]
1604 --enable-cheaders[=KIND]
1605 construct "C" headers for g++ [default=$c_model]
1606 --enable-long-long enable template specializations for 'long long'
1607 [default=yes]
1608 --enable-wchar_t enable template specializations for 'wchar_t'
1609 [default=yes]
1610 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1611 --enable-concept-checks use Boost-derived template checks [default=no]
1612 --enable-libstdcxx-debug-flags=FLAGS
1613 pass compiler FLAGS when building debug library
1614 [default="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"]
1615 --enable-libstdcxx-debug
1616 build extra debug library [default=no]
1617 --enable-cxx-flags=FLAGS
1618 pass compiler FLAGS when building library [default=]
1619 --enable-fully-dynamic-string
1620 do not put empty strings in per-process static
1621 memory [default=no]
1622 --enable-extern-template
1623 enable extern template [default=yes]
1624 --enable-werror turns on -Werror [default=no]
1625 --enable-vtable-verify enable vtable verify [default=no]
1626 --enable-libstdcxx-time[=KIND]
1627 use KIND for check type [default=auto]
1628 --enable-tls Use thread-local storage [default=yes]
1629 --disable-rpath do not hardcode runtime library paths
1630 --enable-linux-futex use the Linux futex system call [default=default]
1631 --enable-symvers[=STYLE]
1632 enables symbol versioning of the shared library
1633 [default=yes]
1634 --enable-libstdcxx-visibility
1635 enables visibility safe usage [default=yes]
1636 --enable-libstdcxx-dual-abi
1637 support two versions of std::string [default=yes]
1638 --enable-libstdcxx-threads
1639 enable C++11 threads support [default=auto]
1640 --enable-libstdcxx-filesystem-ts
1641 turns on ISO/IEC TS 18822 support [default=auto]
1642 --enable-cet enable Intel CET in target libraries [default=no]
1643 --enable-version-specific-runtime-libs
1644 Specify that runtime libraries should be installed
1645 in a compiler-specific directory
1647 Optional Packages:
1648 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1649 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1650 --with-target-subdir=SUBDIR
1651 configuring in a subdirectory
1652 --with-cross-host=HOST configuring with a cross compiler
1653 --with-newlib assume newlib as a system C library
1654 --with-pic try to use only PIC/non-PIC objects [default=use
1655 both]
1656 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1657 --with-libstdcxx-lock-policy={atomic,mutex,auto}
1658 synchronization policy for shared_ptr reference
1659 counting [default=auto]
1660 --with-python-dir the location to install Python modules. This path is
1661 relative starting from the prefix.
1662 --with-gnu-ld assume the C compiler uses GNU ld default=no
1663 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1664 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1665 --with-system-libunwind use installed libunwind
1666 --with-default-libstdcxx-abi
1667 set the std::string ABI to use by default
1668 --with-gxx-include-dir=DIR
1669 installation directory for include files
1670 --with-gcc-major-version-only
1671 use only GCC major number in filesystem paths
1673 Some influential environment variables:
1674 CC C compiler command
1675 CFLAGS C compiler flags
1676 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1677 nonstandard directory <lib dir>
1678 LIBS libraries to pass to the linker, e.g. -l<library>
1679 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1680 you have headers in a nonstandard directory <include dir>
1681 CXX C++ compiler command
1682 CXXFLAGS C++ compiler flags
1683 CPP C preprocessor
1684 CXXCPP C++ preprocessor
1685 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1686 `c++filt', `gc++filt' on PATH.
1688 Use these variables to override the choices made by `configure' or to help
1689 it to find libraries and programs with nonstandard names/locations.
1691 Report bugs to the package provider.
1692 _ACEOF
1693 ac_status=$?
1696 if test "$ac_init_help" = "recursive"; then
1697 # If there are subdirs, report their specific --help.
1698 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1699 test -d "$ac_dir" ||
1700 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1701 continue
1702 ac_builddir=.
1704 case "$ac_dir" in
1705 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1707 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1708 # A ".." for each directory in $ac_dir_suffix.
1709 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1710 case $ac_top_builddir_sub in
1711 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1712 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1713 esac ;;
1714 esac
1715 ac_abs_top_builddir=$ac_pwd
1716 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1717 # for backward compatibility:
1718 ac_top_builddir=$ac_top_build_prefix
1720 case $srcdir in
1721 .) # We are building in place.
1722 ac_srcdir=.
1723 ac_top_srcdir=$ac_top_builddir_sub
1724 ac_abs_top_srcdir=$ac_pwd ;;
1725 [\\/]* | ?:[\\/]* ) # Absolute name.
1726 ac_srcdir=$srcdir$ac_dir_suffix;
1727 ac_top_srcdir=$srcdir
1728 ac_abs_top_srcdir=$srcdir ;;
1729 *) # Relative name.
1730 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1731 ac_top_srcdir=$ac_top_build_prefix$srcdir
1732 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1733 esac
1734 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1736 cd "$ac_dir" || { ac_status=$?; continue; }
1737 # Check for guested configure.
1738 if test -f "$ac_srcdir/configure.gnu"; then
1739 echo &&
1740 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1741 elif test -f "$ac_srcdir/configure"; then
1742 echo &&
1743 $SHELL "$ac_srcdir/configure" --help=recursive
1744 else
1745 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1746 fi || ac_status=$?
1747 cd "$ac_pwd" || { ac_status=$?; break; }
1748 done
1751 test -n "$ac_init_help" && exit $ac_status
1752 if $ac_init_version; then
1753 cat <<\_ACEOF
1754 package-unused configure version-unused
1755 generated by GNU Autoconf 2.69
1757 Copyright (C) 2012 Free Software Foundation, Inc.
1758 This configure script is free software; the Free Software Foundation
1759 gives unlimited permission to copy, distribute and modify it.
1760 _ACEOF
1761 exit
1764 ## ------------------------ ##
1765 ## Autoconf initialization. ##
1766 ## ------------------------ ##
1768 # ac_fn_c_try_compile LINENO
1769 # --------------------------
1770 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1771 ac_fn_c_try_compile ()
1773 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1774 rm -f conftest.$ac_objext
1775 if { { ac_try="$ac_compile"
1776 case "(($ac_try" in
1777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1778 *) ac_try_echo=$ac_try;;
1779 esac
1780 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1781 $as_echo "$ac_try_echo"; } >&5
1782 (eval "$ac_compile") 2>conftest.err
1783 ac_status=$?
1784 if test -s conftest.err; then
1785 grep -v '^ *+' conftest.err >conftest.er1
1786 cat conftest.er1 >&5
1787 mv -f conftest.er1 conftest.err
1789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1790 test $ac_status = 0; } && {
1791 test -z "$ac_c_werror_flag" ||
1792 test ! -s conftest.err
1793 } && test -s conftest.$ac_objext; then :
1794 ac_retval=0
1795 else
1796 $as_echo "$as_me: failed program was:" >&5
1797 sed 's/^/| /' conftest.$ac_ext >&5
1799 ac_retval=1
1801 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1802 as_fn_set_status $ac_retval
1804 } # ac_fn_c_try_compile
1806 # ac_fn_cxx_try_compile LINENO
1807 # ----------------------------
1808 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1809 ac_fn_cxx_try_compile ()
1811 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1812 rm -f conftest.$ac_objext
1813 if { { ac_try="$ac_compile"
1814 case "(($ac_try" in
1815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1816 *) ac_try_echo=$ac_try;;
1817 esac
1818 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1819 $as_echo "$ac_try_echo"; } >&5
1820 (eval "$ac_compile") 2>conftest.err
1821 ac_status=$?
1822 if test -s conftest.err; then
1823 grep -v '^ *+' conftest.err >conftest.er1
1824 cat conftest.er1 >&5
1825 mv -f conftest.er1 conftest.err
1827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1828 test $ac_status = 0; } && {
1829 test -z "$ac_cxx_werror_flag" ||
1830 test ! -s conftest.err
1831 } && test -s conftest.$ac_objext; then :
1832 ac_retval=0
1833 else
1834 $as_echo "$as_me: failed program was:" >&5
1835 sed 's/^/| /' conftest.$ac_ext >&5
1837 ac_retval=1
1839 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1840 as_fn_set_status $ac_retval
1842 } # ac_fn_cxx_try_compile
1844 # ac_fn_c_try_cpp LINENO
1845 # ----------------------
1846 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1847 ac_fn_c_try_cpp ()
1849 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1850 if { { ac_try="$ac_cpp conftest.$ac_ext"
1851 case "(($ac_try" in
1852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1853 *) ac_try_echo=$ac_try;;
1854 esac
1855 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1856 $as_echo "$ac_try_echo"; } >&5
1857 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1858 ac_status=$?
1859 if test -s conftest.err; then
1860 grep -v '^ *+' conftest.err >conftest.er1
1861 cat conftest.er1 >&5
1862 mv -f conftest.er1 conftest.err
1864 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1865 test $ac_status = 0; } > conftest.i && {
1866 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1867 test ! -s conftest.err
1868 }; then :
1869 ac_retval=0
1870 else
1871 $as_echo "$as_me: failed program was:" >&5
1872 sed 's/^/| /' conftest.$ac_ext >&5
1874 ac_retval=1
1876 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1877 as_fn_set_status $ac_retval
1879 } # ac_fn_c_try_cpp
1881 # ac_fn_c_try_link LINENO
1882 # -----------------------
1883 # Try to link conftest.$ac_ext, and return whether this succeeded.
1884 ac_fn_c_try_link ()
1886 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1887 rm -f conftest.$ac_objext conftest$ac_exeext
1888 if { { ac_try="$ac_link"
1889 case "(($ac_try" in
1890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1891 *) ac_try_echo=$ac_try;;
1892 esac
1893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1894 $as_echo "$ac_try_echo"; } >&5
1895 (eval "$ac_link") 2>conftest.err
1896 ac_status=$?
1897 if test -s conftest.err; then
1898 grep -v '^ *+' conftest.err >conftest.er1
1899 cat conftest.er1 >&5
1900 mv -f conftest.er1 conftest.err
1902 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1903 test $ac_status = 0; } && {
1904 test -z "$ac_c_werror_flag" ||
1905 test ! -s conftest.err
1906 } && test -s conftest$ac_exeext && {
1907 test "$cross_compiling" = yes ||
1908 test -x conftest$ac_exeext
1909 }; then :
1910 ac_retval=0
1911 else
1912 $as_echo "$as_me: failed program was:" >&5
1913 sed 's/^/| /' conftest.$ac_ext >&5
1915 ac_retval=1
1917 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1918 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1919 # interfere with the next link command; also delete a directory that is
1920 # left behind by Apple's compiler. We do this before executing the actions.
1921 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1922 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1923 as_fn_set_status $ac_retval
1925 } # ac_fn_c_try_link
1927 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1928 # -------------------------------------------------------
1929 # Tests whether HEADER exists and can be compiled using the include files in
1930 # INCLUDES, setting the cache variable VAR accordingly.
1931 ac_fn_c_check_header_compile ()
1933 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1935 $as_echo_n "checking for $2... " >&6; }
1936 if eval \${$3+:} false; then :
1937 $as_echo_n "(cached) " >&6
1938 else
1939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1940 /* end confdefs.h. */
1942 #include <$2>
1943 _ACEOF
1944 if ac_fn_c_try_compile "$LINENO"; then :
1945 eval "$3=yes"
1946 else
1947 eval "$3=no"
1949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1951 eval ac_res=\$$3
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1953 $as_echo "$ac_res" >&6; }
1954 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1956 } # ac_fn_c_check_header_compile
1958 # ac_fn_c_try_run LINENO
1959 # ----------------------
1960 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1961 # that executables *can* be run.
1962 ac_fn_c_try_run ()
1964 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1965 if { { ac_try="$ac_link"
1966 case "(($ac_try" in
1967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1968 *) ac_try_echo=$ac_try;;
1969 esac
1970 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1971 $as_echo "$ac_try_echo"; } >&5
1972 (eval "$ac_link") 2>&5
1973 ac_status=$?
1974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1975 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1976 { { case "(($ac_try" in
1977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1978 *) ac_try_echo=$ac_try;;
1979 esac
1980 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1981 $as_echo "$ac_try_echo"; } >&5
1982 (eval "$ac_try") 2>&5
1983 ac_status=$?
1984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1985 test $ac_status = 0; }; }; then :
1986 ac_retval=0
1987 else
1988 $as_echo "$as_me: program exited with status $ac_status" >&5
1989 $as_echo "$as_me: failed program was:" >&5
1990 sed 's/^/| /' conftest.$ac_ext >&5
1992 ac_retval=$ac_status
1994 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1995 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1996 as_fn_set_status $ac_retval
1998 } # ac_fn_c_try_run
2000 # ac_fn_c_check_func LINENO FUNC VAR
2001 # ----------------------------------
2002 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2003 ac_fn_c_check_func ()
2005 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2007 $as_echo_n "checking for $2... " >&6; }
2008 if eval \${$3+:} false; then :
2009 $as_echo_n "(cached) " >&6
2010 else
2011 if test x$gcc_no_link = xyes; then
2012 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2015 /* end confdefs.h. */
2016 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2018 #define $2 innocuous_$2
2020 /* System header to define __stub macros and hopefully few prototypes,
2021 which can conflict with char $2 (); below.
2022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2023 <limits.h> exists even on freestanding compilers. */
2025 #ifdef __STDC__
2026 # include <limits.h>
2027 #else
2028 # include <assert.h>
2029 #endif
2031 #undef $2
2033 /* Override any GCC internal prototype to avoid an error.
2034 Use char because int might match the return type of a GCC
2035 builtin and then its argument prototype would still apply. */
2036 #ifdef __cplusplus
2037 extern "C"
2038 #endif
2039 char $2 ();
2040 /* The GNU C library defines this for functions which it implements
2041 to always fail with ENOSYS. Some functions are actually named
2042 something starting with __ and the normal name is an alias. */
2043 #if defined __stub_$2 || defined __stub___$2
2044 choke me
2045 #endif
2048 main ()
2050 return $2 ();
2052 return 0;
2054 _ACEOF
2055 if ac_fn_c_try_link "$LINENO"; then :
2056 eval "$3=yes"
2057 else
2058 eval "$3=no"
2060 rm -f core conftest.err conftest.$ac_objext \
2061 conftest$ac_exeext conftest.$ac_ext
2063 eval ac_res=\$$3
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2065 $as_echo "$ac_res" >&6; }
2066 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2068 } # ac_fn_c_check_func
2070 # ac_fn_cxx_try_cpp LINENO
2071 # ------------------------
2072 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2073 ac_fn_cxx_try_cpp ()
2075 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2076 if { { ac_try="$ac_cpp conftest.$ac_ext"
2077 case "(($ac_try" in
2078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2079 *) ac_try_echo=$ac_try;;
2080 esac
2081 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2082 $as_echo "$ac_try_echo"; } >&5
2083 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2084 ac_status=$?
2085 if test -s conftest.err; then
2086 grep -v '^ *+' conftest.err >conftest.er1
2087 cat conftest.er1 >&5
2088 mv -f conftest.er1 conftest.err
2090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2091 test $ac_status = 0; } > conftest.i && {
2092 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2093 test ! -s conftest.err
2094 }; then :
2095 ac_retval=0
2096 else
2097 $as_echo "$as_me: failed program was:" >&5
2098 sed 's/^/| /' conftest.$ac_ext >&5
2100 ac_retval=1
2102 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2103 as_fn_set_status $ac_retval
2105 } # ac_fn_cxx_try_cpp
2107 # ac_fn_cxx_try_link LINENO
2108 # -------------------------
2109 # Try to link conftest.$ac_ext, and return whether this succeeded.
2110 ac_fn_cxx_try_link ()
2112 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2113 rm -f conftest.$ac_objext conftest$ac_exeext
2114 if { { ac_try="$ac_link"
2115 case "(($ac_try" in
2116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2117 *) ac_try_echo=$ac_try;;
2118 esac
2119 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2120 $as_echo "$ac_try_echo"; } >&5
2121 (eval "$ac_link") 2>conftest.err
2122 ac_status=$?
2123 if test -s conftest.err; then
2124 grep -v '^ *+' conftest.err >conftest.er1
2125 cat conftest.er1 >&5
2126 mv -f conftest.er1 conftest.err
2128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2129 test $ac_status = 0; } && {
2130 test -z "$ac_cxx_werror_flag" ||
2131 test ! -s conftest.err
2132 } && test -s conftest$ac_exeext && {
2133 test "$cross_compiling" = yes ||
2134 test -x conftest$ac_exeext
2135 }; then :
2136 ac_retval=0
2137 else
2138 $as_echo "$as_me: failed program was:" >&5
2139 sed 's/^/| /' conftest.$ac_ext >&5
2141 ac_retval=1
2143 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2144 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2145 # interfere with the next link command; also delete a directory that is
2146 # left behind by Apple's compiler. We do this before executing the actions.
2147 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2148 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2149 as_fn_set_status $ac_retval
2151 } # ac_fn_cxx_try_link
2153 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2154 # -------------------------------------------------------
2155 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2156 # the include files in INCLUDES and setting the cache variable VAR
2157 # accordingly.
2158 ac_fn_c_check_header_mongrel ()
2160 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2161 if eval \${$3+:} false; then :
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2163 $as_echo_n "checking for $2... " >&6; }
2164 if eval \${$3+:} false; then :
2165 $as_echo_n "(cached) " >&6
2167 eval ac_res=\$$3
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2169 $as_echo "$ac_res" >&6; }
2170 else
2171 # Is the header compilable?
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2173 $as_echo_n "checking $2 usability... " >&6; }
2174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2175 /* end confdefs.h. */
2177 #include <$2>
2178 _ACEOF
2179 if ac_fn_c_try_compile "$LINENO"; then :
2180 ac_header_compiler=yes
2181 else
2182 ac_header_compiler=no
2184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2186 $as_echo "$ac_header_compiler" >&6; }
2188 # Is the header present?
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2190 $as_echo_n "checking $2 presence... " >&6; }
2191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2192 /* end confdefs.h. */
2193 #include <$2>
2194 _ACEOF
2195 if ac_fn_c_try_cpp "$LINENO"; then :
2196 ac_header_preproc=yes
2197 else
2198 ac_header_preproc=no
2200 rm -f conftest.err conftest.i conftest.$ac_ext
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2202 $as_echo "$ac_header_preproc" >&6; }
2204 # So? What about this header?
2205 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2206 yes:no: )
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2208 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2210 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2212 no:yes:* )
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2214 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2216 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2218 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2220 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2222 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2224 esac
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2226 $as_echo_n "checking for $2... " >&6; }
2227 if eval \${$3+:} false; then :
2228 $as_echo_n "(cached) " >&6
2229 else
2230 eval "$3=\$ac_header_compiler"
2232 eval ac_res=\$$3
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2234 $as_echo "$ac_res" >&6; }
2236 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2238 } # ac_fn_c_check_header_mongrel
2240 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2241 # ---------------------------------------------------------
2242 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2243 # the include files in INCLUDES and setting the cache variable VAR
2244 # accordingly.
2245 ac_fn_cxx_check_header_mongrel ()
2247 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2248 if eval \${$3+:} false; then :
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2250 $as_echo_n "checking for $2... " >&6; }
2251 if eval \${$3+:} false; then :
2252 $as_echo_n "(cached) " >&6
2254 eval ac_res=\$$3
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2256 $as_echo "$ac_res" >&6; }
2257 else
2258 # Is the header compilable?
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2260 $as_echo_n "checking $2 usability... " >&6; }
2261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2262 /* end confdefs.h. */
2264 #include <$2>
2265 _ACEOF
2266 if ac_fn_cxx_try_compile "$LINENO"; then :
2267 ac_header_compiler=yes
2268 else
2269 ac_header_compiler=no
2271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2273 $as_echo "$ac_header_compiler" >&6; }
2275 # Is the header present?
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2277 $as_echo_n "checking $2 presence... " >&6; }
2278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2279 /* end confdefs.h. */
2280 #include <$2>
2281 _ACEOF
2282 if ac_fn_cxx_try_cpp "$LINENO"; then :
2283 ac_header_preproc=yes
2284 else
2285 ac_header_preproc=no
2287 rm -f conftest.err conftest.i conftest.$ac_ext
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2289 $as_echo "$ac_header_preproc" >&6; }
2291 # So? What about this header?
2292 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2293 yes:no: )
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2295 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2297 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2299 no:yes:* )
2300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2301 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2303 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2305 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2307 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2309 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2311 esac
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2313 $as_echo_n "checking for $2... " >&6; }
2314 if eval \${$3+:} false; then :
2315 $as_echo_n "(cached) " >&6
2316 else
2317 eval "$3=\$ac_header_compiler"
2319 eval ac_res=\$$3
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2321 $as_echo "$ac_res" >&6; }
2323 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2325 } # ac_fn_cxx_check_header_mongrel
2327 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2328 # --------------------------------------------
2329 # Tries to find the compile-time value of EXPR in a program that includes
2330 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2331 # computed
2332 ac_fn_c_compute_int ()
2334 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2335 if test "$cross_compiling" = yes; then
2336 # Depending upon the size, compute the lo and hi bounds.
2337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2338 /* end confdefs.h. */
2341 main ()
2343 static int test_array [1 - 2 * !(($2) >= 0)];
2344 test_array [0] = 0;
2345 return test_array [0];
2348 return 0;
2350 _ACEOF
2351 if ac_fn_c_try_compile "$LINENO"; then :
2352 ac_lo=0 ac_mid=0
2353 while :; do
2354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2355 /* end confdefs.h. */
2358 main ()
2360 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2361 test_array [0] = 0;
2362 return test_array [0];
2365 return 0;
2367 _ACEOF
2368 if ac_fn_c_try_compile "$LINENO"; then :
2369 ac_hi=$ac_mid; break
2370 else
2371 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2372 if test $ac_lo -le $ac_mid; then
2373 ac_lo= ac_hi=
2374 break
2376 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2379 done
2380 else
2381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2382 /* end confdefs.h. */
2385 main ()
2387 static int test_array [1 - 2 * !(($2) < 0)];
2388 test_array [0] = 0;
2389 return test_array [0];
2392 return 0;
2394 _ACEOF
2395 if ac_fn_c_try_compile "$LINENO"; then :
2396 ac_hi=-1 ac_mid=-1
2397 while :; do
2398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2399 /* end confdefs.h. */
2402 main ()
2404 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2405 test_array [0] = 0;
2406 return test_array [0];
2409 return 0;
2411 _ACEOF
2412 if ac_fn_c_try_compile "$LINENO"; then :
2413 ac_lo=$ac_mid; break
2414 else
2415 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2416 if test $ac_mid -le $ac_hi; then
2417 ac_lo= ac_hi=
2418 break
2420 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2423 done
2424 else
2425 ac_lo= ac_hi=
2427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2430 # Binary search between lo and hi bounds.
2431 while test "x$ac_lo" != "x$ac_hi"; do
2432 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2434 /* end confdefs.h. */
2437 main ()
2439 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2440 test_array [0] = 0;
2441 return test_array [0];
2444 return 0;
2446 _ACEOF
2447 if ac_fn_c_try_compile "$LINENO"; then :
2448 ac_hi=$ac_mid
2449 else
2450 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2453 done
2454 case $ac_lo in #((
2455 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2456 '') ac_retval=1 ;;
2457 esac
2458 else
2459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2460 /* end confdefs.h. */
2462 static long int longval () { return $2; }
2463 static unsigned long int ulongval () { return $2; }
2464 #include <stdio.h>
2465 #include <stdlib.h>
2467 main ()
2470 FILE *f = fopen ("conftest.val", "w");
2471 if (! f)
2472 return 1;
2473 if (($2) < 0)
2475 long int i = longval ();
2476 if (i != ($2))
2477 return 1;
2478 fprintf (f, "%ld", i);
2480 else
2482 unsigned long int i = ulongval ();
2483 if (i != ($2))
2484 return 1;
2485 fprintf (f, "%lu", i);
2487 /* Do not output a trailing newline, as this causes \r\n confusion
2488 on some platforms. */
2489 return ferror (f) || fclose (f) != 0;
2492 return 0;
2494 _ACEOF
2495 if ac_fn_c_try_run "$LINENO"; then :
2496 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2497 else
2498 ac_retval=1
2500 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2501 conftest.$ac_objext conftest.beam conftest.$ac_ext
2502 rm -f conftest.val
2505 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2506 as_fn_set_status $ac_retval
2508 } # ac_fn_c_compute_int
2510 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2511 # -------------------------------------------
2512 # Tests whether TYPE exists after having included INCLUDES, setting cache
2513 # variable VAR accordingly.
2514 ac_fn_c_check_type ()
2516 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2518 $as_echo_n "checking for $2... " >&6; }
2519 if eval \${$3+:} false; then :
2520 $as_echo_n "(cached) " >&6
2521 else
2522 eval "$3=no"
2523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2524 /* end confdefs.h. */
2527 main ()
2529 if (sizeof ($2))
2530 return 0;
2532 return 0;
2534 _ACEOF
2535 if ac_fn_c_try_compile "$LINENO"; then :
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 :
2550 else
2551 eval "$3=yes"
2553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2557 eval ac_res=\$$3
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2559 $as_echo "$ac_res" >&6; }
2560 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2562 } # ac_fn_c_check_type
2564 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2565 # ---------------------------------------------
2566 # Tests whether TYPE exists after having included INCLUDES, setting cache
2567 # variable VAR accordingly.
2568 ac_fn_cxx_check_type ()
2570 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2572 $as_echo_n "checking for $2... " >&6; }
2573 if eval \${$3+:} false; then :
2574 $as_echo_n "(cached) " >&6
2575 else
2576 eval "$3=no"
2577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2578 /* end confdefs.h. */
2581 main ()
2583 if (sizeof ($2))
2584 return 0;
2586 return 0;
2588 _ACEOF
2589 if ac_fn_cxx_try_compile "$LINENO"; then :
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 :
2604 else
2605 eval "$3=yes"
2607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2611 eval ac_res=\$$3
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2613 $as_echo "$ac_res" >&6; }
2614 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2616 } # ac_fn_cxx_check_type
2617 cat >config.log <<_ACEOF
2618 This file contains any messages produced by compilers while
2619 running configure, to aid debugging if configure makes a mistake.
2621 It was created by package-unused $as_me version-unused, which was
2622 generated by GNU Autoconf 2.69. Invocation command line was
2624 $ $0 $@
2626 _ACEOF
2627 exec 5>>config.log
2629 cat <<_ASUNAME
2630 ## --------- ##
2631 ## Platform. ##
2632 ## --------- ##
2634 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2635 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2636 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2637 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2638 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2640 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2641 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2643 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2644 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2645 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2646 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2647 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2648 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2649 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2651 _ASUNAME
2653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2654 for as_dir in $PATH
2656 IFS=$as_save_IFS
2657 test -z "$as_dir" && as_dir=.
2658 $as_echo "PATH: $as_dir"
2659 done
2660 IFS=$as_save_IFS
2662 } >&5
2664 cat >&5 <<_ACEOF
2667 ## ----------- ##
2668 ## Core tests. ##
2669 ## ----------- ##
2671 _ACEOF
2674 # Keep a trace of the command line.
2675 # Strip out --no-create and --no-recursion so they do not pile up.
2676 # Strip out --silent because we don't want to record it for future runs.
2677 # Also quote any args containing shell meta-characters.
2678 # Make two passes to allow for proper duplicate-argument suppression.
2679 ac_configure_args=
2680 ac_configure_args0=
2681 ac_configure_args1=
2682 ac_must_keep_next=false
2683 for ac_pass in 1 2
2685 for ac_arg
2687 case $ac_arg in
2688 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2689 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2690 | -silent | --silent | --silen | --sile | --sil)
2691 continue ;;
2692 *\'*)
2693 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2694 esac
2695 case $ac_pass in
2696 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2698 as_fn_append ac_configure_args1 " '$ac_arg'"
2699 if test $ac_must_keep_next = true; then
2700 ac_must_keep_next=false # Got value, back to normal.
2701 else
2702 case $ac_arg in
2703 *=* | --config-cache | -C | -disable-* | --disable-* \
2704 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2705 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2706 | -with-* | --with-* | -without-* | --without-* | --x)
2707 case "$ac_configure_args0 " in
2708 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2709 esac
2711 -* ) ac_must_keep_next=true ;;
2712 esac
2714 as_fn_append ac_configure_args " '$ac_arg'"
2716 esac
2717 done
2718 done
2719 { ac_configure_args0=; unset ac_configure_args0;}
2720 { ac_configure_args1=; unset ac_configure_args1;}
2722 # When interrupted or exit'd, cleanup temporary files, and complete
2723 # config.log. We remove comments because anyway the quotes in there
2724 # would cause problems or look ugly.
2725 # WARNING: Use '\'' to represent an apostrophe within the trap.
2726 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2727 trap 'exit_status=$?
2728 # Save into config.log some information that might help in debugging.
2730 echo
2732 $as_echo "## ---------------- ##
2733 ## Cache variables. ##
2734 ## ---------------- ##"
2735 echo
2736 # The following way of writing the cache mishandles newlines in values,
2738 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2739 eval ac_val=\$$ac_var
2740 case $ac_val in #(
2741 *${as_nl}*)
2742 case $ac_var in #(
2743 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2744 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2745 esac
2746 case $ac_var in #(
2747 _ | IFS | as_nl) ;; #(
2748 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2749 *) { eval $ac_var=; unset $ac_var;} ;;
2750 esac ;;
2751 esac
2752 done
2753 (set) 2>&1 |
2754 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2755 *${as_nl}ac_space=\ *)
2756 sed -n \
2757 "s/'\''/'\''\\\\'\'''\''/g;
2758 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2759 ;; #(
2761 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2763 esac |
2764 sort
2766 echo
2768 $as_echo "## ----------------- ##
2769 ## Output variables. ##
2770 ## ----------------- ##"
2771 echo
2772 for ac_var in $ac_subst_vars
2774 eval ac_val=\$$ac_var
2775 case $ac_val in
2776 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2777 esac
2778 $as_echo "$ac_var='\''$ac_val'\''"
2779 done | sort
2780 echo
2782 if test -n "$ac_subst_files"; then
2783 $as_echo "## ------------------- ##
2784 ## File substitutions. ##
2785 ## ------------------- ##"
2786 echo
2787 for ac_var in $ac_subst_files
2789 eval ac_val=\$$ac_var
2790 case $ac_val in
2791 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2792 esac
2793 $as_echo "$ac_var='\''$ac_val'\''"
2794 done | sort
2795 echo
2798 if test -s confdefs.h; then
2799 $as_echo "## ----------- ##
2800 ## confdefs.h. ##
2801 ## ----------- ##"
2802 echo
2803 cat confdefs.h
2804 echo
2806 test "$ac_signal" != 0 &&
2807 $as_echo "$as_me: caught signal $ac_signal"
2808 $as_echo "$as_me: exit $exit_status"
2809 } >&5
2810 rm -f core *.core core.conftest.* &&
2811 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2812 exit $exit_status
2814 for ac_signal in 1 2 13 15; do
2815 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2816 done
2817 ac_signal=0
2819 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2820 rm -f -r conftest* confdefs.h
2822 $as_echo "/* confdefs.h */" > confdefs.h
2824 # Predefined preprocessor variables.
2826 cat >>confdefs.h <<_ACEOF
2827 #define PACKAGE_NAME "$PACKAGE_NAME"
2828 _ACEOF
2830 cat >>confdefs.h <<_ACEOF
2831 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2832 _ACEOF
2834 cat >>confdefs.h <<_ACEOF
2835 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2836 _ACEOF
2838 cat >>confdefs.h <<_ACEOF
2839 #define PACKAGE_STRING "$PACKAGE_STRING"
2840 _ACEOF
2842 cat >>confdefs.h <<_ACEOF
2843 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2844 _ACEOF
2846 cat >>confdefs.h <<_ACEOF
2847 #define PACKAGE_URL "$PACKAGE_URL"
2848 _ACEOF
2851 # Let the site file select an alternate cache file if it wants to.
2852 # Prefer an explicitly selected file to automatically selected ones.
2853 ac_site_file1=NONE
2854 ac_site_file2=NONE
2855 if test -n "$CONFIG_SITE"; then
2856 # We do not want a PATH search for config.site.
2857 case $CONFIG_SITE in #((
2858 -*) ac_site_file1=./$CONFIG_SITE;;
2859 */*) ac_site_file1=$CONFIG_SITE;;
2860 *) ac_site_file1=./$CONFIG_SITE;;
2861 esac
2862 elif test "x$prefix" != xNONE; then
2863 ac_site_file1=$prefix/share/config.site
2864 ac_site_file2=$prefix/etc/config.site
2865 else
2866 ac_site_file1=$ac_default_prefix/share/config.site
2867 ac_site_file2=$ac_default_prefix/etc/config.site
2869 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2871 test "x$ac_site_file" = xNONE && continue
2872 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2874 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2875 sed 's/^/| /' "$ac_site_file" >&5
2876 . "$ac_site_file" \
2877 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2878 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2879 as_fn_error $? "failed to load site script $ac_site_file
2880 See \`config.log' for more details" "$LINENO" 5; }
2882 done
2884 if test -r "$cache_file"; then
2885 # Some versions of bash will fail to source /dev/null (special files
2886 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2887 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2889 $as_echo "$as_me: loading cache $cache_file" >&6;}
2890 case $cache_file in
2891 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2892 *) . "./$cache_file";;
2893 esac
2895 else
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2897 $as_echo "$as_me: creating cache $cache_file" >&6;}
2898 >$cache_file
2901 # Check that the precious variables saved in the cache have kept the same
2902 # value.
2903 ac_cache_corrupted=false
2904 for ac_var in $ac_precious_vars; do
2905 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2906 eval ac_new_set=\$ac_env_${ac_var}_set
2907 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2908 eval ac_new_val=\$ac_env_${ac_var}_value
2909 case $ac_old_set,$ac_new_set in
2910 set,)
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2912 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2913 ac_cache_corrupted=: ;;
2914 ,set)
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2916 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2917 ac_cache_corrupted=: ;;
2918 ,);;
2920 if test "x$ac_old_val" != "x$ac_new_val"; then
2921 # differences in whitespace do not lead to failure.
2922 ac_old_val_w=`echo x $ac_old_val`
2923 ac_new_val_w=`echo x $ac_new_val`
2924 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2926 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2927 ac_cache_corrupted=:
2928 else
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2930 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2931 eval $ac_var=\$ac_old_val
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2934 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2936 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2937 fi;;
2938 esac
2939 # Pass precious variables to config.status.
2940 if test "$ac_new_set" = set; then
2941 case $ac_new_val in
2942 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2943 *) ac_arg=$ac_var=$ac_new_val ;;
2944 esac
2945 case " $ac_configure_args " in
2946 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2947 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2948 esac
2950 done
2951 if $ac_cache_corrupted; then
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2953 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2955 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2956 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2958 ## -------------------- ##
2959 ## Main body of script. ##
2960 ## -------------------- ##
2962 ac_ext=c
2963 ac_cpp='$CPP $CPPFLAGS'
2964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2973 ac_config_headers="$ac_config_headers config.h"
2976 # This works around the fact that libtool configuration may change LD
2977 # for this particular configuration, but some shells, instead of
2978 # keeping the changes in LD private, export them just because LD is
2979 # exported. Only used at the end of this file.
2980 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2982 # Find the rest of the source tree framework.
2983 # Default to --enable-multilib
2984 # Check whether --enable-multilib was given.
2985 if test "${enable_multilib+set}" = set; then :
2986 enableval=$enable_multilib; case "$enableval" in
2987 yes) multilib=yes ;;
2988 no) multilib=no ;;
2989 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
2990 esac
2991 else
2992 multilib=yes
2996 # We may get other options which we leave undocumented:
2997 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2998 # See config-ml.in if you want the gory details.
3000 if test "$srcdir" = "."; then
3001 if test "$with_target_subdir" != "."; then
3002 multi_basedir="$srcdir/$with_multisrctop../.."
3003 else
3004 multi_basedir="$srcdir/$with_multisrctop.."
3006 else
3007 multi_basedir="$srcdir/.."
3011 # Even if the default multilib is not a cross compilation,
3012 # it may be that some of the other multilibs are.
3013 if test $cross_compiling = no && test $multilib = yes \
3014 && test "x${with_multisubdir}" != x ; then
3015 cross_compiling=maybe
3018 ac_config_commands="$ac_config_commands default-1"
3021 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
3023 # You will slowly go insane if you do not grok the following fact: when
3024 # building v3 as part of the compiler, the top-level /target/ becomes the
3025 # library's /host/. configure then causes --target to default to --host,
3026 # exactly like any other package using autoconf. Therefore, 'target' and
3027 # 'host' will always be the same. This makes sense both for native and
3028 # cross compilers, just think about it for a little while. :-)
3030 # Also, if v3 is being configured as part of a cross compiler, the top-level
3031 # configure script will pass the "real" host as $with_cross_host.
3033 # Do not delete or change the following two lines. For why, see
3034 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
3035 ac_aux_dir=
3036 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3037 if test -f "$ac_dir/install-sh"; then
3038 ac_aux_dir=$ac_dir
3039 ac_install_sh="$ac_aux_dir/install-sh -c"
3040 break
3041 elif test -f "$ac_dir/install.sh"; then
3042 ac_aux_dir=$ac_dir
3043 ac_install_sh="$ac_aux_dir/install.sh -c"
3044 break
3045 elif test -f "$ac_dir/shtool"; then
3046 ac_aux_dir=$ac_dir
3047 ac_install_sh="$ac_aux_dir/shtool install -c"
3048 break
3050 done
3051 if test -z "$ac_aux_dir"; then
3052 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3055 # These three variables are undocumented and unsupported,
3056 # and are intended to be withdrawn in a future Autoconf release.
3057 # They can cause serious problems if a builder's source tree is in a directory
3058 # whose full name contains unusual characters.
3059 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3060 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3061 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3064 # Make sure we can run config.sub.
3065 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3066 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3069 $as_echo_n "checking build system type... " >&6; }
3070 if ${ac_cv_build+:} false; then :
3071 $as_echo_n "(cached) " >&6
3072 else
3073 ac_build_alias=$build_alias
3074 test "x$ac_build_alias" = x &&
3075 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3076 test "x$ac_build_alias" = x &&
3077 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3078 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3079 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3083 $as_echo "$ac_cv_build" >&6; }
3084 case $ac_cv_build in
3085 *-*-*) ;;
3086 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3087 esac
3088 build=$ac_cv_build
3089 ac_save_IFS=$IFS; IFS='-'
3090 set x $ac_cv_build
3091 shift
3092 build_cpu=$1
3093 build_vendor=$2
3094 shift; shift
3095 # Remember, the first character of IFS is used to create $*,
3096 # except with old shells:
3097 build_os=$*
3098 IFS=$ac_save_IFS
3099 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3103 $as_echo_n "checking host system type... " >&6; }
3104 if ${ac_cv_host+:} false; then :
3105 $as_echo_n "(cached) " >&6
3106 else
3107 if test "x$host_alias" = x; then
3108 ac_cv_host=$ac_cv_build
3109 else
3110 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3111 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3116 $as_echo "$ac_cv_host" >&6; }
3117 case $ac_cv_host in
3118 *-*-*) ;;
3119 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3120 esac
3121 host=$ac_cv_host
3122 ac_save_IFS=$IFS; IFS='-'
3123 set x $ac_cv_host
3124 shift
3125 host_cpu=$1
3126 host_vendor=$2
3127 shift; shift
3128 # Remember, the first character of IFS is used to create $*,
3129 # except with old shells:
3130 host_os=$*
3131 IFS=$ac_save_IFS
3132 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3136 $as_echo_n "checking target system type... " >&6; }
3137 if ${ac_cv_target+:} false; then :
3138 $as_echo_n "(cached) " >&6
3139 else
3140 if test "x$target_alias" = x; then
3141 ac_cv_target=$ac_cv_host
3142 else
3143 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3144 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3149 $as_echo "$ac_cv_target" >&6; }
3150 case $ac_cv_target in
3151 *-*-*) ;;
3152 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
3153 esac
3154 target=$ac_cv_target
3155 ac_save_IFS=$IFS; IFS='-'
3156 set x $ac_cv_target
3157 shift
3158 target_cpu=$1
3159 target_vendor=$2
3160 shift; shift
3161 # Remember, the first character of IFS is used to create $*,
3162 # except with old shells:
3163 target_os=$*
3164 IFS=$ac_save_IFS
3165 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3168 # The aliases save the names the user supplied, while $host etc.
3169 # will get canonicalized.
3170 test -n "$target_alias" &&
3171 test "$program_prefix$program_suffix$program_transform_name" = \
3172 NONENONEs,x,x, &&
3173 program_prefix=${target_alias}-
3175 target_alias=${target_alias-$host_alias}
3177 # Handy for debugging:
3178 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3180 if test "$build" != "$host"; then
3181 # We are being configured with some form of cross compiler.
3182 GLIBCXX_IS_NATIVE=false
3183 case "$host","$target" in
3184 # Darwin crosses can use the host system's libraries and headers,
3185 # because of the fat library support. Of course, it must be the
3186 # same version of Darwin on both sides. Allow the user to
3187 # just say --target=foo-darwin without a version number to mean
3188 # "the version on this system".
3189 *-*-darwin*,*-*-darwin*)
3190 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3191 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3192 if test $hostos = $targetos -o $targetos = darwin ; then
3193 GLIBCXX_IS_NATIVE=true
3200 esac
3201 else
3202 GLIBCXX_IS_NATIVE=true
3205 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3206 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3207 # 1.x: minimum required version
3208 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3209 # of other PACKAGE_* variables will, however, and there's nothing
3210 # we can do about that; they come from AC_INIT).
3211 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3212 # file in the top srcdir, etc, etc), so stop complaining.
3213 # no-dependencies: turns off auto dependency generation (just for now)
3214 # no-dist: we don't want 'dist' and related rules.
3215 # -Wall: turns on all automake warnings...
3216 # -Wno-portability: ...except this one, since GNU make is now required.
3217 am__api_version='1.15'
3219 # Find a good install program. We prefer a C program (faster),
3220 # so one script is as good as another. But avoid the broken or
3221 # incompatible versions:
3222 # SysV /etc/install, /usr/sbin/install
3223 # SunOS /usr/etc/install
3224 # IRIX /sbin/install
3225 # AIX /bin/install
3226 # AmigaOS /C/install, which installs bootblocks on floppy discs
3227 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3228 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3229 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3230 # OS/2's system install, which has a completely different semantic
3231 # ./install, which can be erroneously created by make from ./install.sh.
3232 # Reject install programs that cannot install multiple files.
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3234 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3235 if test -z "$INSTALL"; then
3236 if ${ac_cv_path_install+:} false; then :
3237 $as_echo_n "(cached) " >&6
3238 else
3239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3240 for as_dir in $PATH
3242 IFS=$as_save_IFS
3243 test -z "$as_dir" && as_dir=.
3244 # Account for people who put trailing slashes in PATH elements.
3245 case $as_dir/ in #((
3246 ./ | .// | /[cC]/* | \
3247 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3248 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3249 /usr/ucb/* ) ;;
3251 # OSF1 and SCO ODT 3.0 have their own names for install.
3252 # Don't use installbsd from OSF since it installs stuff as root
3253 # by default.
3254 for ac_prog in ginstall scoinst install; do
3255 for ac_exec_ext in '' $ac_executable_extensions; do
3256 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3257 if test $ac_prog = install &&
3258 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3259 # AIX install. It has an incompatible calling convention.
3261 elif test $ac_prog = install &&
3262 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3263 # program-specific install script used by HP pwplus--don't use.
3265 else
3266 rm -rf conftest.one conftest.two conftest.dir
3267 echo one > conftest.one
3268 echo two > conftest.two
3269 mkdir conftest.dir
3270 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3271 test -s conftest.one && test -s conftest.two &&
3272 test -s conftest.dir/conftest.one &&
3273 test -s conftest.dir/conftest.two
3274 then
3275 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3276 break 3
3280 done
3281 done
3283 esac
3285 done
3286 IFS=$as_save_IFS
3288 rm -rf conftest.one conftest.two conftest.dir
3291 if test "${ac_cv_path_install+set}" = set; then
3292 INSTALL=$ac_cv_path_install
3293 else
3294 # As a last resort, use the slow shell script. Don't cache a
3295 # value for INSTALL within a source directory, because that will
3296 # break other packages using the cache if that directory is
3297 # removed, or if the value is a relative name.
3298 INSTALL=$ac_install_sh
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3302 $as_echo "$INSTALL" >&6; }
3304 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3305 # It thinks the first close brace ends the variable substitution.
3306 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3308 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3310 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3313 $as_echo_n "checking whether build environment is sane... " >&6; }
3314 # Reject unsafe characters in $srcdir or the absolute working directory
3315 # name. Accept space and tab only in the latter.
3316 am_lf='
3318 case `pwd` in
3319 *[\\\"\#\$\&\'\`$am_lf]*)
3320 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3321 esac
3322 case $srcdir in
3323 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3324 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3325 esac
3327 # Do 'set' in a subshell so we don't clobber the current shell's
3328 # arguments. Must try -L first in case configure is actually a
3329 # symlink; some systems play weird games with the mod time of symlinks
3330 # (eg FreeBSD returns the mod time of the symlink's containing
3331 # directory).
3332 if (
3333 am_has_slept=no
3334 for am_try in 1 2; do
3335 echo "timestamp, slept: $am_has_slept" > conftest.file
3336 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3337 if test "$*" = "X"; then
3338 # -L didn't work.
3339 set X `ls -t "$srcdir/configure" conftest.file`
3341 if test "$*" != "X $srcdir/configure conftest.file" \
3342 && test "$*" != "X conftest.file $srcdir/configure"; then
3344 # If neither matched, then we have a broken ls. This can happen
3345 # if, for instance, CONFIG_SHELL is bash and it inherits a
3346 # broken ls alias from the environment. This has actually
3347 # happened. Such a system could not be considered "sane".
3348 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3349 alias in your environment" "$LINENO" 5
3351 if test "$2" = conftest.file || test $am_try -eq 2; then
3352 break
3354 # Just in case.
3355 sleep 1
3356 am_has_slept=yes
3357 done
3358 test "$2" = conftest.file
3360 then
3361 # Ok.
3363 else
3364 as_fn_error $? "newly created file is older than distributed files!
3365 Check your system clock" "$LINENO" 5
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3368 $as_echo "yes" >&6; }
3369 # If we didn't sleep, we still need to ensure time stamps of config.status and
3370 # generated files are strictly newer.
3371 am_sleep_pid=
3372 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3373 ( sleep 1 ) &
3374 am_sleep_pid=$!
3377 rm -f conftest.file
3379 test "$program_prefix" != NONE &&
3380 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3381 # Use a double $ so make ignores it.
3382 test "$program_suffix" != NONE &&
3383 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3384 # Double any \ or $.
3385 # By default was `s,x,x', remove it if useless.
3386 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3387 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3389 # Expand $ac_aux_dir to an absolute path.
3390 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3392 if test x"${MISSING+set}" != xset; then
3393 case $am_aux_dir in
3394 *\ * | *\ *)
3395 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3397 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3398 esac
3400 # Use eval to expand $SHELL
3401 if eval "$MISSING --is-lightweight"; then
3402 am_missing_run="$MISSING "
3403 else
3404 am_missing_run=
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3406 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3409 if test x"${install_sh+set}" != xset; then
3410 case $am_aux_dir in
3411 *\ * | *\ *)
3412 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3414 install_sh="\${SHELL} $am_aux_dir/install-sh"
3415 esac
3418 # Installed binaries are usually stripped using 'strip' when the user
3419 # run "make install-strip". However 'strip' might not be the right
3420 # tool to use in cross-compilation environments, therefore Automake
3421 # will honor the 'STRIP' environment variable to overrule this program.
3422 if test "$cross_compiling" != no; then
3423 if test -n "$ac_tool_prefix"; then
3424 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3425 set dummy ${ac_tool_prefix}strip; ac_word=$2
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3427 $as_echo_n "checking for $ac_word... " >&6; }
3428 if ${ac_cv_prog_STRIP+:} false; then :
3429 $as_echo_n "(cached) " >&6
3430 else
3431 if test -n "$STRIP"; then
3432 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3433 else
3434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3435 for as_dir in $PATH
3437 IFS=$as_save_IFS
3438 test -z "$as_dir" && as_dir=.
3439 for ac_exec_ext in '' $ac_executable_extensions; do
3440 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3441 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3443 break 2
3445 done
3446 done
3447 IFS=$as_save_IFS
3451 STRIP=$ac_cv_prog_STRIP
3452 if test -n "$STRIP"; then
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3454 $as_echo "$STRIP" >&6; }
3455 else
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3457 $as_echo "no" >&6; }
3462 if test -z "$ac_cv_prog_STRIP"; then
3463 ac_ct_STRIP=$STRIP
3464 # Extract the first word of "strip", so it can be a program name with args.
3465 set dummy strip; ac_word=$2
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3467 $as_echo_n "checking for $ac_word... " >&6; }
3468 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3469 $as_echo_n "(cached) " >&6
3470 else
3471 if test -n "$ac_ct_STRIP"; then
3472 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3473 else
3474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3475 for as_dir in $PATH
3477 IFS=$as_save_IFS
3478 test -z "$as_dir" && as_dir=.
3479 for ac_exec_ext in '' $ac_executable_extensions; do
3480 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3481 ac_cv_prog_ac_ct_STRIP="strip"
3482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3483 break 2
3485 done
3486 done
3487 IFS=$as_save_IFS
3491 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3492 if test -n "$ac_ct_STRIP"; then
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3494 $as_echo "$ac_ct_STRIP" >&6; }
3495 else
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3497 $as_echo "no" >&6; }
3500 if test "x$ac_ct_STRIP" = x; then
3501 STRIP=":"
3502 else
3503 case $cross_compiling:$ac_tool_warned in
3504 yes:)
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3506 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3507 ac_tool_warned=yes ;;
3508 esac
3509 STRIP=$ac_ct_STRIP
3511 else
3512 STRIP="$ac_cv_prog_STRIP"
3516 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3519 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3520 if test -z "$MKDIR_P"; then
3521 if ${ac_cv_path_mkdir+:} false; then :
3522 $as_echo_n "(cached) " >&6
3523 else
3524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3525 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3527 IFS=$as_save_IFS
3528 test -z "$as_dir" && as_dir=.
3529 for ac_prog in mkdir gmkdir; do
3530 for ac_exec_ext in '' $ac_executable_extensions; do
3531 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3532 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3533 'mkdir (GNU coreutils) '* | \
3534 'mkdir (coreutils) '* | \
3535 'mkdir (fileutils) '4.1*)
3536 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3537 break 3;;
3538 esac
3539 done
3540 done
3541 done
3542 IFS=$as_save_IFS
3546 test -d ./--version && rmdir ./--version
3547 if test "${ac_cv_path_mkdir+set}" = set; then
3548 MKDIR_P="$ac_cv_path_mkdir -p"
3549 else
3550 # As a last resort, use the slow shell script. Don't cache a
3551 # value for MKDIR_P within a source directory, because that will
3552 # break other packages using the cache if that directory is
3553 # removed, or if the value is a relative name.
3554 MKDIR_P="$ac_install_sh -d"
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3558 $as_echo "$MKDIR_P" >&6; }
3560 for ac_prog in gawk mawk nawk awk
3562 # Extract the first word of "$ac_prog", so it can be a program name with args.
3563 set dummy $ac_prog; ac_word=$2
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3565 $as_echo_n "checking for $ac_word... " >&6; }
3566 if ${ac_cv_prog_AWK+:} false; then :
3567 $as_echo_n "(cached) " >&6
3568 else
3569 if test -n "$AWK"; then
3570 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3571 else
3572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3573 for as_dir in $PATH
3575 IFS=$as_save_IFS
3576 test -z "$as_dir" && as_dir=.
3577 for ac_exec_ext in '' $ac_executable_extensions; do
3578 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3579 ac_cv_prog_AWK="$ac_prog"
3580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3581 break 2
3583 done
3584 done
3585 IFS=$as_save_IFS
3589 AWK=$ac_cv_prog_AWK
3590 if test -n "$AWK"; then
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3592 $as_echo "$AWK" >&6; }
3593 else
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3595 $as_echo "no" >&6; }
3599 test -n "$AWK" && break
3600 done
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3603 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3604 set x ${MAKE-make}
3605 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3606 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3607 $as_echo_n "(cached) " >&6
3608 else
3609 cat >conftest.make <<\_ACEOF
3610 SHELL = /bin/sh
3611 all:
3612 @echo '@@@%%%=$(MAKE)=@@@%%%'
3613 _ACEOF
3614 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3615 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3616 *@@@%%%=?*=@@@%%%*)
3617 eval ac_cv_prog_make_${ac_make}_set=yes;;
3619 eval ac_cv_prog_make_${ac_make}_set=no;;
3620 esac
3621 rm -f conftest.make
3623 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3625 $as_echo "yes" >&6; }
3626 SET_MAKE=
3627 else
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3629 $as_echo "no" >&6; }
3630 SET_MAKE="MAKE=${MAKE-make}"
3633 rm -rf .tst 2>/dev/null
3634 mkdir .tst 2>/dev/null
3635 if test -d .tst; then
3636 am__leading_dot=.
3637 else
3638 am__leading_dot=_
3640 rmdir .tst 2>/dev/null
3642 # Check whether --enable-silent-rules was given.
3643 if test "${enable_silent_rules+set}" = set; then :
3644 enableval=$enable_silent_rules;
3647 case $enable_silent_rules in # (((
3648 yes) AM_DEFAULT_VERBOSITY=0;;
3649 no) AM_DEFAULT_VERBOSITY=1;;
3650 *) AM_DEFAULT_VERBOSITY=1;;
3651 esac
3652 am_make=${MAKE-make}
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3654 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3655 if ${am_cv_make_support_nested_variables+:} false; then :
3656 $as_echo_n "(cached) " >&6
3657 else
3658 if $as_echo 'TRUE=$(BAR$(V))
3659 BAR0=false
3660 BAR1=true
3662 am__doit:
3663 @$(TRUE)
3664 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3665 am_cv_make_support_nested_variables=yes
3666 else
3667 am_cv_make_support_nested_variables=no
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3671 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3672 if test $am_cv_make_support_nested_variables = yes; then
3673 AM_V='$(V)'
3674 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3675 else
3676 AM_V=$AM_DEFAULT_VERBOSITY
3677 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3679 AM_BACKSLASH='\'
3681 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3682 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3683 # is not polluted with repeated "-I."
3684 am__isrc=' -I$(srcdir)'
3685 # test to see if srcdir already configured
3686 if test -f $srcdir/config.status; then
3687 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3691 # test whether we have cygpath
3692 if test -z "$CYGPATH_W"; then
3693 if (cygpath --version) >/dev/null 2>/dev/null; then
3694 CYGPATH_W='cygpath -w'
3695 else
3696 CYGPATH_W=echo
3701 # Define the identity of the package.
3702 PACKAGE='libstdc++'
3703 VERSION='version-unused'
3706 # Some tools Automake needs.
3708 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3711 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3714 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3717 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3720 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3722 # For better backward compatibility. To be removed once Automake 1.9.x
3723 # dies out for good. For more background, see:
3724 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3725 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3726 mkdir_p='$(MKDIR_P)'
3728 # We need awk for the "check" target (and possibly the TAP driver). The
3729 # system "awk" is bad on some platforms.
3730 # Always define AMTAR for backward compatibility. Yes, it's still used
3731 # in the wild :-( We should find a proper way to deprecate it ...
3732 AMTAR='$${TAR-tar}'
3735 # We'll loop over all known methods to create a tar archive until one works.
3736 _am_tools='gnutar pax cpio none'
3738 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3745 # POSIX will say in a future version that running "rm -f" with no argument
3746 # is OK; and we want to be able to make that assumption in our Makefile
3747 # recipes. So use an aggressive probe to check that the usage we want is
3748 # actually supported "in the wild" to an acceptable degree.
3749 # See automake bug#10828.
3750 # To make any issue more visible, cause the running configure to be aborted
3751 # by default if the 'rm' program in use doesn't match our expectations; the
3752 # user can still override this though.
3753 if rm -f && rm -fr && rm -rf; then : OK; else
3754 cat >&2 <<'END'
3755 Oops!
3757 Your 'rm' program seems unable to run without file operands specified
3758 on the command line, even when the '-f' option is present. This is contrary
3759 to the behaviour of most rm programs out there, and not conforming with
3760 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3762 Please tell bug-automake@gnu.org about your system, including the value
3763 of your $PATH and any error possibly output before this message. This
3764 can help us improve future automake versions.
3767 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3768 echo 'Configuration will proceed anyway, since you have set the' >&2
3769 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3770 echo >&2
3771 else
3772 cat >&2 <<'END'
3773 Aborting the configuration process, to ensure you take notice of the issue.
3775 You can download and install GNU coreutils to get an 'rm' implementation
3776 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3778 If you want to complete the configuration process using your problematic
3779 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3780 to "yes", and re-run configure.
3783 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3790 # -fno-builtin must be present here so that a non-conflicting form of
3791 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3793 save_CXXFLAGS="$CXXFLAGS"
3794 CXXFLAGS="$CXXFLAGS -fno-builtin"
3795 ac_ext=c
3796 ac_cpp='$CPP $CPPFLAGS'
3797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3800 if test -n "$ac_tool_prefix"; then
3801 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3802 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3804 $as_echo_n "checking for $ac_word... " >&6; }
3805 if ${ac_cv_prog_CC+:} false; then :
3806 $as_echo_n "(cached) " >&6
3807 else
3808 if test -n "$CC"; then
3809 ac_cv_prog_CC="$CC" # Let the user override the test.
3810 else
3811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3812 for as_dir in $PATH
3814 IFS=$as_save_IFS
3815 test -z "$as_dir" && as_dir=.
3816 for ac_exec_ext in '' $ac_executable_extensions; do
3817 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3818 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3820 break 2
3822 done
3823 done
3824 IFS=$as_save_IFS
3828 CC=$ac_cv_prog_CC
3829 if test -n "$CC"; then
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3831 $as_echo "$CC" >&6; }
3832 else
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3834 $as_echo "no" >&6; }
3839 if test -z "$ac_cv_prog_CC"; then
3840 ac_ct_CC=$CC
3841 # Extract the first word of "gcc", so it can be a program name with args.
3842 set dummy gcc; ac_word=$2
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3844 $as_echo_n "checking for $ac_word... " >&6; }
3845 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3846 $as_echo_n "(cached) " >&6
3847 else
3848 if test -n "$ac_ct_CC"; then
3849 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3850 else
3851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3852 for as_dir in $PATH
3854 IFS=$as_save_IFS
3855 test -z "$as_dir" && as_dir=.
3856 for ac_exec_ext in '' $ac_executable_extensions; do
3857 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3858 ac_cv_prog_ac_ct_CC="gcc"
3859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3860 break 2
3862 done
3863 done
3864 IFS=$as_save_IFS
3868 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3869 if test -n "$ac_ct_CC"; then
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3871 $as_echo "$ac_ct_CC" >&6; }
3872 else
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3874 $as_echo "no" >&6; }
3877 if test "x$ac_ct_CC" = x; then
3878 CC=""
3879 else
3880 case $cross_compiling:$ac_tool_warned in
3881 yes:)
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3883 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3884 ac_tool_warned=yes ;;
3885 esac
3886 CC=$ac_ct_CC
3888 else
3889 CC="$ac_cv_prog_CC"
3892 if test -z "$CC"; then
3893 if test -n "$ac_tool_prefix"; then
3894 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3895 set dummy ${ac_tool_prefix}cc; ac_word=$2
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3897 $as_echo_n "checking for $ac_word... " >&6; }
3898 if ${ac_cv_prog_CC+:} false; then :
3899 $as_echo_n "(cached) " >&6
3900 else
3901 if test -n "$CC"; then
3902 ac_cv_prog_CC="$CC" # Let the user override the test.
3903 else
3904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3905 for as_dir in $PATH
3907 IFS=$as_save_IFS
3908 test -z "$as_dir" && as_dir=.
3909 for ac_exec_ext in '' $ac_executable_extensions; do
3910 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3911 ac_cv_prog_CC="${ac_tool_prefix}cc"
3912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3913 break 2
3915 done
3916 done
3917 IFS=$as_save_IFS
3921 CC=$ac_cv_prog_CC
3922 if test -n "$CC"; then
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3924 $as_echo "$CC" >&6; }
3925 else
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3927 $as_echo "no" >&6; }
3933 if test -z "$CC"; then
3934 # Extract the first word of "cc", so it can be a program name with args.
3935 set dummy cc; ac_word=$2
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3937 $as_echo_n "checking for $ac_word... " >&6; }
3938 if ${ac_cv_prog_CC+:} false; then :
3939 $as_echo_n "(cached) " >&6
3940 else
3941 if test -n "$CC"; then
3942 ac_cv_prog_CC="$CC" # Let the user override the test.
3943 else
3944 ac_prog_rejected=no
3945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3946 for as_dir in $PATH
3948 IFS=$as_save_IFS
3949 test -z "$as_dir" && as_dir=.
3950 for ac_exec_ext in '' $ac_executable_extensions; do
3951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3952 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3953 ac_prog_rejected=yes
3954 continue
3956 ac_cv_prog_CC="cc"
3957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3958 break 2
3960 done
3961 done
3962 IFS=$as_save_IFS
3964 if test $ac_prog_rejected = yes; then
3965 # We found a bogon in the path, so make sure we never use it.
3966 set dummy $ac_cv_prog_CC
3967 shift
3968 if test $# != 0; then
3969 # We chose a different compiler from the bogus one.
3970 # However, it has the same basename, so the bogon will be chosen
3971 # first if we set CC to just the basename; use the full file name.
3972 shift
3973 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3978 CC=$ac_cv_prog_CC
3979 if test -n "$CC"; then
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3981 $as_echo "$CC" >&6; }
3982 else
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3984 $as_echo "no" >&6; }
3989 if test -z "$CC"; then
3990 if test -n "$ac_tool_prefix"; then
3991 for ac_prog in cl.exe
3993 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3994 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3996 $as_echo_n "checking for $ac_word... " >&6; }
3997 if ${ac_cv_prog_CC+:} false; then :
3998 $as_echo_n "(cached) " >&6
3999 else
4000 if test -n "$CC"; then
4001 ac_cv_prog_CC="$CC" # Let the user override the test.
4002 else
4003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4004 for as_dir in $PATH
4006 IFS=$as_save_IFS
4007 test -z "$as_dir" && as_dir=.
4008 for ac_exec_ext in '' $ac_executable_extensions; do
4009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4010 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4012 break 2
4014 done
4015 done
4016 IFS=$as_save_IFS
4020 CC=$ac_cv_prog_CC
4021 if test -n "$CC"; then
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4023 $as_echo "$CC" >&6; }
4024 else
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4026 $as_echo "no" >&6; }
4030 test -n "$CC" && break
4031 done
4033 if test -z "$CC"; then
4034 ac_ct_CC=$CC
4035 for ac_prog in cl.exe
4037 # Extract the first word of "$ac_prog", so it can be a program name with args.
4038 set dummy $ac_prog; ac_word=$2
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4040 $as_echo_n "checking for $ac_word... " >&6; }
4041 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4042 $as_echo_n "(cached) " >&6
4043 else
4044 if test -n "$ac_ct_CC"; then
4045 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4046 else
4047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4048 for as_dir in $PATH
4050 IFS=$as_save_IFS
4051 test -z "$as_dir" && as_dir=.
4052 for ac_exec_ext in '' $ac_executable_extensions; do
4053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4054 ac_cv_prog_ac_ct_CC="$ac_prog"
4055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4056 break 2
4058 done
4059 done
4060 IFS=$as_save_IFS
4064 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4065 if test -n "$ac_ct_CC"; then
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4067 $as_echo "$ac_ct_CC" >&6; }
4068 else
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4070 $as_echo "no" >&6; }
4074 test -n "$ac_ct_CC" && break
4075 done
4077 if test "x$ac_ct_CC" = x; then
4078 CC=""
4079 else
4080 case $cross_compiling:$ac_tool_warned in
4081 yes:)
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4083 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4084 ac_tool_warned=yes ;;
4085 esac
4086 CC=$ac_ct_CC
4093 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4094 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4095 as_fn_error $? "no acceptable C compiler found in \$PATH
4096 See \`config.log' for more details" "$LINENO" 5; }
4098 # Provide some information about the compiler.
4099 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4100 set X $ac_compile
4101 ac_compiler=$2
4102 for ac_option in --version -v -V -qversion; do
4103 { { ac_try="$ac_compiler $ac_option >&5"
4104 case "(($ac_try" in
4105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4106 *) ac_try_echo=$ac_try;;
4107 esac
4108 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4109 $as_echo "$ac_try_echo"; } >&5
4110 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4111 ac_status=$?
4112 if test -s conftest.err; then
4113 sed '10a\
4114 ... rest of stderr output deleted ...
4115 10q' conftest.err >conftest.er1
4116 cat conftest.er1 >&5
4118 rm -f conftest.er1 conftest.err
4119 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4120 test $ac_status = 0; }
4121 done
4123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4124 /* end confdefs.h. */
4127 main ()
4131 return 0;
4133 _ACEOF
4134 # FIXME: Cleanup?
4135 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4136 (eval $ac_link) 2>&5
4137 ac_status=$?
4138 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4139 test $ac_status = 0; }; then :
4140 gcc_no_link=no
4141 else
4142 gcc_no_link=yes
4144 if test x$gcc_no_link = xyes; then
4145 # Setting cross_compile will disable run tests; it will
4146 # also disable AC_CHECK_FILE but that's generally
4147 # correct if we can't link.
4148 cross_compiling=yes
4149 EXEEXT=
4150 else
4151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4152 /* end confdefs.h. */
4155 main ()
4159 return 0;
4161 _ACEOF
4162 ac_clean_files_save=$ac_clean_files
4163 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4164 # Try to create an executable without -o first, disregard a.out.
4165 # It will help us diagnose broken compilers, and finding out an intuition
4166 # of exeext.
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4168 $as_echo_n "checking whether the C compiler works... " >&6; }
4169 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4171 # The possible output files:
4172 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4174 ac_rmfiles=
4175 for ac_file in $ac_files
4177 case $ac_file in
4178 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4179 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4180 esac
4181 done
4182 rm -f $ac_rmfiles
4184 if { { ac_try="$ac_link_default"
4185 case "(($ac_try" in
4186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4187 *) ac_try_echo=$ac_try;;
4188 esac
4189 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4190 $as_echo "$ac_try_echo"; } >&5
4191 (eval "$ac_link_default") 2>&5
4192 ac_status=$?
4193 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4194 test $ac_status = 0; }; then :
4195 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4196 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4197 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4198 # so that the user can short-circuit this test for compilers unknown to
4199 # Autoconf.
4200 for ac_file in $ac_files ''
4202 test -f "$ac_file" || continue
4203 case $ac_file in
4204 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4206 [ab].out )
4207 # We found the default executable, but exeext='' is most
4208 # certainly right.
4209 break;;
4210 *.* )
4211 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4212 then :; else
4213 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4215 # We set ac_cv_exeext here because the later test for it is not
4216 # safe: cross compilers may not add the suffix if given an `-o'
4217 # argument, so we may need to know it at that point already.
4218 # Even if this section looks crufty: it has the advantage of
4219 # actually working.
4220 break;;
4222 break;;
4223 esac
4224 done
4225 test "$ac_cv_exeext" = no && ac_cv_exeext=
4227 else
4228 ac_file=''
4230 if test -z "$ac_file"; then :
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4232 $as_echo "no" >&6; }
4233 $as_echo "$as_me: failed program was:" >&5
4234 sed 's/^/| /' conftest.$ac_ext >&5
4236 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4237 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4238 as_fn_error 77 "C compiler cannot create executables
4239 See \`config.log' for more details" "$LINENO" 5; }
4240 else
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4242 $as_echo "yes" >&6; }
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4245 $as_echo_n "checking for C compiler default output file name... " >&6; }
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4247 $as_echo "$ac_file" >&6; }
4248 ac_exeext=$ac_cv_exeext
4250 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4251 ac_clean_files=$ac_clean_files_save
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4253 $as_echo_n "checking for suffix of executables... " >&6; }
4254 if { { ac_try="$ac_link"
4255 case "(($ac_try" in
4256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4257 *) ac_try_echo=$ac_try;;
4258 esac
4259 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4260 $as_echo "$ac_try_echo"; } >&5
4261 (eval "$ac_link") 2>&5
4262 ac_status=$?
4263 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4264 test $ac_status = 0; }; then :
4265 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4266 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4267 # work properly (i.e., refer to `conftest.exe'), while it won't with
4268 # `rm'.
4269 for ac_file in conftest.exe conftest conftest.*; do
4270 test -f "$ac_file" || continue
4271 case $ac_file in
4272 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4273 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4274 break;;
4275 * ) break;;
4276 esac
4277 done
4278 else
4279 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4280 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4281 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4282 See \`config.log' for more details" "$LINENO" 5; }
4284 rm -f conftest conftest$ac_cv_exeext
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4286 $as_echo "$ac_cv_exeext" >&6; }
4288 rm -f conftest.$ac_ext
4289 EXEEXT=$ac_cv_exeext
4290 ac_exeext=$EXEEXT
4291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4292 /* end confdefs.h. */
4293 #include <stdio.h>
4295 main ()
4297 FILE *f = fopen ("conftest.out", "w");
4298 return ferror (f) || fclose (f) != 0;
4301 return 0;
4303 _ACEOF
4304 ac_clean_files="$ac_clean_files conftest.out"
4305 # Check that the compiler produces executables we can run. If not, either
4306 # the compiler is broken, or we cross compile.
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4308 $as_echo_n "checking whether we are cross compiling... " >&6; }
4309 if test "$cross_compiling" != yes; then
4310 { { ac_try="$ac_link"
4311 case "(($ac_try" in
4312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4313 *) ac_try_echo=$ac_try;;
4314 esac
4315 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4316 $as_echo "$ac_try_echo"; } >&5
4317 (eval "$ac_link") 2>&5
4318 ac_status=$?
4319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4320 test $ac_status = 0; }
4321 if { ac_try='./conftest$ac_cv_exeext'
4322 { { case "(($ac_try" in
4323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4324 *) ac_try_echo=$ac_try;;
4325 esac
4326 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4327 $as_echo "$ac_try_echo"; } >&5
4328 (eval "$ac_try") 2>&5
4329 ac_status=$?
4330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4331 test $ac_status = 0; }; }; then
4332 cross_compiling=no
4333 else
4334 if test "$cross_compiling" = maybe; then
4335 cross_compiling=yes
4336 else
4337 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4338 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4339 as_fn_error $? "cannot run C compiled programs.
4340 If you meant to cross compile, use \`--host'.
4341 See \`config.log' for more details" "$LINENO" 5; }
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4346 $as_echo "$cross_compiling" >&6; }
4348 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4349 ac_clean_files=$ac_clean_files_save
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4352 $as_echo_n "checking for suffix of object files... " >&6; }
4353 if ${ac_cv_objext+:} false; then :
4354 $as_echo_n "(cached) " >&6
4355 else
4356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4357 /* end confdefs.h. */
4360 main ()
4364 return 0;
4366 _ACEOF
4367 rm -f conftest.o conftest.obj
4368 if { { ac_try="$ac_compile"
4369 case "(($ac_try" in
4370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4371 *) ac_try_echo=$ac_try;;
4372 esac
4373 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4374 $as_echo "$ac_try_echo"; } >&5
4375 (eval "$ac_compile") 2>&5
4376 ac_status=$?
4377 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4378 test $ac_status = 0; }; then :
4379 for ac_file in conftest.o conftest.obj conftest.*; do
4380 test -f "$ac_file" || continue;
4381 case $ac_file in
4382 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4383 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4384 break;;
4385 esac
4386 done
4387 else
4388 $as_echo "$as_me: failed program was:" >&5
4389 sed 's/^/| /' conftest.$ac_ext >&5
4391 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4392 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4393 as_fn_error $? "cannot compute suffix of object files: cannot compile
4394 See \`config.log' for more details" "$LINENO" 5; }
4396 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4399 $as_echo "$ac_cv_objext" >&6; }
4400 OBJEXT=$ac_cv_objext
4401 ac_objext=$OBJEXT
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4403 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4404 if ${ac_cv_c_compiler_gnu+:} false; then :
4405 $as_echo_n "(cached) " >&6
4406 else
4407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4408 /* end confdefs.h. */
4411 main ()
4413 #ifndef __GNUC__
4414 choke me
4415 #endif
4418 return 0;
4420 _ACEOF
4421 if ac_fn_c_try_compile "$LINENO"; then :
4422 ac_compiler_gnu=yes
4423 else
4424 ac_compiler_gnu=no
4426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4427 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4431 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4432 if test $ac_compiler_gnu = yes; then
4433 GCC=yes
4434 else
4435 GCC=
4437 ac_test_CFLAGS=${CFLAGS+set}
4438 ac_save_CFLAGS=$CFLAGS
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4440 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4441 if ${ac_cv_prog_cc_g+:} false; then :
4442 $as_echo_n "(cached) " >&6
4443 else
4444 ac_save_c_werror_flag=$ac_c_werror_flag
4445 ac_c_werror_flag=yes
4446 ac_cv_prog_cc_g=no
4447 CFLAGS="-g"
4448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4449 /* end confdefs.h. */
4452 main ()
4456 return 0;
4458 _ACEOF
4459 if ac_fn_c_try_compile "$LINENO"; then :
4460 ac_cv_prog_cc_g=yes
4461 else
4462 CFLAGS=""
4463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4464 /* end confdefs.h. */
4467 main ()
4471 return 0;
4473 _ACEOF
4474 if ac_fn_c_try_compile "$LINENO"; then :
4476 else
4477 ac_c_werror_flag=$ac_save_c_werror_flag
4478 CFLAGS="-g"
4479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4480 /* end confdefs.h. */
4483 main ()
4487 return 0;
4489 _ACEOF
4490 if ac_fn_c_try_compile "$LINENO"; then :
4491 ac_cv_prog_cc_g=yes
4493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4498 ac_c_werror_flag=$ac_save_c_werror_flag
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4501 $as_echo "$ac_cv_prog_cc_g" >&6; }
4502 if test "$ac_test_CFLAGS" = set; then
4503 CFLAGS=$ac_save_CFLAGS
4504 elif test $ac_cv_prog_cc_g = yes; then
4505 if test "$GCC" = yes; then
4506 CFLAGS="-g -O2"
4507 else
4508 CFLAGS="-g"
4510 else
4511 if test "$GCC" = yes; then
4512 CFLAGS="-O2"
4513 else
4514 CFLAGS=
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4518 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4519 if ${ac_cv_prog_cc_c89+:} false; then :
4520 $as_echo_n "(cached) " >&6
4521 else
4522 ac_cv_prog_cc_c89=no
4523 ac_save_CC=$CC
4524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4525 /* end confdefs.h. */
4526 #include <stdarg.h>
4527 #include <stdio.h>
4528 struct stat;
4529 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4530 struct buf { int x; };
4531 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4532 static char *e (p, i)
4533 char **p;
4534 int i;
4536 return p[i];
4538 static char *f (char * (*g) (char **, int), char **p, ...)
4540 char *s;
4541 va_list v;
4542 va_start (v,p);
4543 s = g (p, va_arg (v,int));
4544 va_end (v);
4545 return s;
4548 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4549 function prototypes and stuff, but not '\xHH' hex character constants.
4550 These don't provoke an error unfortunately, instead are silently treated
4551 as 'x'. The following induces an error, until -std is added to get
4552 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4553 array size at least. It's necessary to write '\x00'==0 to get something
4554 that's true only with -std. */
4555 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4557 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4558 inside strings and character constants. */
4559 #define FOO(x) 'x'
4560 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4562 int test (int i, double x);
4563 struct s1 {int (*f) (int a);};
4564 struct s2 {int (*f) (double a);};
4565 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4566 int argc;
4567 char **argv;
4569 main ()
4571 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4573 return 0;
4575 _ACEOF
4576 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4577 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4579 CC="$ac_save_CC $ac_arg"
4580 if ac_fn_c_try_compile "$LINENO"; then :
4581 ac_cv_prog_cc_c89=$ac_arg
4583 rm -f core conftest.err conftest.$ac_objext
4584 test "x$ac_cv_prog_cc_c89" != "xno" && break
4585 done
4586 rm -f conftest.$ac_ext
4587 CC=$ac_save_CC
4590 # AC_CACHE_VAL
4591 case "x$ac_cv_prog_cc_c89" in
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4594 $as_echo "none needed" >&6; } ;;
4595 xno)
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4597 $as_echo "unsupported" >&6; } ;;
4599 CC="$CC $ac_cv_prog_cc_c89"
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4601 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4602 esac
4603 if test "x$ac_cv_prog_cc_c89" != xno; then :
4607 ac_ext=c
4608 ac_cpp='$CPP $CPPFLAGS'
4609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4613 ac_ext=c
4614 ac_cpp='$CPP $CPPFLAGS'
4615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4619 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4620 if ${am_cv_prog_cc_c_o+:} false; then :
4621 $as_echo_n "(cached) " >&6
4622 else
4623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4624 /* end confdefs.h. */
4627 main ()
4631 return 0;
4633 _ACEOF
4634 # Make sure it works both with $CC and with simple cc.
4635 # Following AC_PROG_CC_C_O, we do the test twice because some
4636 # compilers refuse to overwrite an existing .o file with -o,
4637 # though they will create one.
4638 am_cv_prog_cc_c_o=yes
4639 for am_i in 1 2; do
4640 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4641 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4642 ac_status=$?
4643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4644 (exit $ac_status); } \
4645 && test -f conftest2.$ac_objext; then
4646 : OK
4647 else
4648 am_cv_prog_cc_c_o=no
4649 break
4651 done
4652 rm -f core conftest*
4653 unset am_i
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4656 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4657 if test "$am_cv_prog_cc_c_o" != yes; then
4658 # Losing compiler, so override with the script.
4659 # FIXME: It is wrong to rewrite CC.
4660 # But if we don't then we get into trouble of one sort or another.
4661 # A longer-term fix would be to have automake use am__CC in this case,
4662 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4663 CC="$am_aux_dir/compile $CC"
4665 ac_ext=c
4666 ac_cpp='$CPP $CPPFLAGS'
4667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4672 ac_ext=cpp
4673 ac_cpp='$CXXCPP $CPPFLAGS'
4674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4677 if test -z "$CXX"; then
4678 if test -n "$CCC"; then
4679 CXX=$CCC
4680 else
4681 if test -n "$ac_tool_prefix"; then
4682 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4684 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4685 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4687 $as_echo_n "checking for $ac_word... " >&6; }
4688 if ${ac_cv_prog_CXX+:} false; then :
4689 $as_echo_n "(cached) " >&6
4690 else
4691 if test -n "$CXX"; then
4692 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4693 else
4694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4695 for as_dir in $PATH
4697 IFS=$as_save_IFS
4698 test -z "$as_dir" && as_dir=.
4699 for ac_exec_ext in '' $ac_executable_extensions; do
4700 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4701 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4703 break 2
4705 done
4706 done
4707 IFS=$as_save_IFS
4711 CXX=$ac_cv_prog_CXX
4712 if test -n "$CXX"; then
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4714 $as_echo "$CXX" >&6; }
4715 else
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4717 $as_echo "no" >&6; }
4721 test -n "$CXX" && break
4722 done
4724 if test -z "$CXX"; then
4725 ac_ct_CXX=$CXX
4726 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4728 # Extract the first word of "$ac_prog", so it can be a program name with args.
4729 set dummy $ac_prog; ac_word=$2
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4731 $as_echo_n "checking for $ac_word... " >&6; }
4732 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4733 $as_echo_n "(cached) " >&6
4734 else
4735 if test -n "$ac_ct_CXX"; then
4736 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4737 else
4738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4739 for as_dir in $PATH
4741 IFS=$as_save_IFS
4742 test -z "$as_dir" && as_dir=.
4743 for ac_exec_ext in '' $ac_executable_extensions; do
4744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4745 ac_cv_prog_ac_ct_CXX="$ac_prog"
4746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4747 break 2
4749 done
4750 done
4751 IFS=$as_save_IFS
4755 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4756 if test -n "$ac_ct_CXX"; then
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4758 $as_echo "$ac_ct_CXX" >&6; }
4759 else
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4761 $as_echo "no" >&6; }
4765 test -n "$ac_ct_CXX" && break
4766 done
4768 if test "x$ac_ct_CXX" = x; then
4769 CXX="g++"
4770 else
4771 case $cross_compiling:$ac_tool_warned in
4772 yes:)
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4774 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4775 ac_tool_warned=yes ;;
4776 esac
4777 CXX=$ac_ct_CXX
4783 # Provide some information about the compiler.
4784 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4785 set X $ac_compile
4786 ac_compiler=$2
4787 for ac_option in --version -v -V -qversion; do
4788 { { ac_try="$ac_compiler $ac_option >&5"
4789 case "(($ac_try" in
4790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4791 *) ac_try_echo=$ac_try;;
4792 esac
4793 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4794 $as_echo "$ac_try_echo"; } >&5
4795 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4796 ac_status=$?
4797 if test -s conftest.err; then
4798 sed '10a\
4799 ... rest of stderr output deleted ...
4800 10q' conftest.err >conftest.er1
4801 cat conftest.er1 >&5
4803 rm -f conftest.er1 conftest.err
4804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4805 test $ac_status = 0; }
4806 done
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4809 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4810 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4811 $as_echo_n "(cached) " >&6
4812 else
4813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4814 /* end confdefs.h. */
4817 main ()
4819 #ifndef __GNUC__
4820 choke me
4821 #endif
4824 return 0;
4826 _ACEOF
4827 if ac_fn_cxx_try_compile "$LINENO"; then :
4828 ac_compiler_gnu=yes
4829 else
4830 ac_compiler_gnu=no
4832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4833 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4837 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4838 if test $ac_compiler_gnu = yes; then
4839 GXX=yes
4840 else
4841 GXX=
4843 ac_test_CXXFLAGS=${CXXFLAGS+set}
4844 ac_save_CXXFLAGS=$CXXFLAGS
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4846 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4847 if ${ac_cv_prog_cxx_g+:} false; then :
4848 $as_echo_n "(cached) " >&6
4849 else
4850 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4851 ac_cxx_werror_flag=yes
4852 ac_cv_prog_cxx_g=no
4853 CXXFLAGS="-g"
4854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4855 /* end confdefs.h. */
4858 main ()
4862 return 0;
4864 _ACEOF
4865 if ac_fn_cxx_try_compile "$LINENO"; then :
4866 ac_cv_prog_cxx_g=yes
4867 else
4868 CXXFLAGS=""
4869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4870 /* end confdefs.h. */
4873 main ()
4877 return 0;
4879 _ACEOF
4880 if ac_fn_cxx_try_compile "$LINENO"; then :
4882 else
4883 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4884 CXXFLAGS="-g"
4885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4886 /* end confdefs.h. */
4889 main ()
4893 return 0;
4895 _ACEOF
4896 if ac_fn_cxx_try_compile "$LINENO"; then :
4897 ac_cv_prog_cxx_g=yes
4899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4904 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4907 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4908 if test "$ac_test_CXXFLAGS" = set; then
4909 CXXFLAGS=$ac_save_CXXFLAGS
4910 elif test $ac_cv_prog_cxx_g = yes; then
4911 if test "$GXX" = yes; then
4912 CXXFLAGS="-g -O2"
4913 else
4914 CXXFLAGS="-g"
4916 else
4917 if test "$GXX" = yes; then
4918 CXXFLAGS="-O2"
4919 else
4920 CXXFLAGS=
4923 ac_ext=c
4924 ac_cpp='$CPP $CPPFLAGS'
4925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4929 CXXFLAGS="$save_CXXFLAGS"
4931 # Runs configure.host, and assorted other critical bits. Sets
4932 # up critical shell variables.
4934 ac_ext=c
4935 ac_cpp='$CPP $CPPFLAGS'
4936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4940 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4941 # On Suns, sometimes $CPP names a directory.
4942 if test -n "$CPP" && test -d "$CPP"; then
4943 CPP=
4945 if test -z "$CPP"; then
4946 if ${ac_cv_prog_CPP+:} false; then :
4947 $as_echo_n "(cached) " >&6
4948 else
4949 # Double quotes because CPP needs to be expanded
4950 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4952 ac_preproc_ok=false
4953 for ac_c_preproc_warn_flag in '' yes
4955 # Use a header file that comes with gcc, so configuring glibc
4956 # with a fresh cross-compiler works.
4957 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4958 # <limits.h> exists even on freestanding compilers.
4959 # On the NeXT, cc -E runs the code through the compiler's parser,
4960 # not just through cpp. "Syntax error" is here to catch this case.
4961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4962 /* end confdefs.h. */
4963 #ifdef __STDC__
4964 # include <limits.h>
4965 #else
4966 # include <assert.h>
4967 #endif
4968 Syntax error
4969 _ACEOF
4970 if ac_fn_c_try_cpp "$LINENO"; then :
4972 else
4973 # Broken: fails on valid input.
4974 continue
4976 rm -f conftest.err conftest.i conftest.$ac_ext
4978 # OK, works on sane cases. Now check whether nonexistent headers
4979 # can be detected and how.
4980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4981 /* end confdefs.h. */
4982 #include <ac_nonexistent.h>
4983 _ACEOF
4984 if ac_fn_c_try_cpp "$LINENO"; then :
4985 # Broken: success on invalid input.
4986 continue
4987 else
4988 # Passes both tests.
4989 ac_preproc_ok=:
4990 break
4992 rm -f conftest.err conftest.i conftest.$ac_ext
4994 done
4995 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4996 rm -f conftest.i conftest.err conftest.$ac_ext
4997 if $ac_preproc_ok; then :
4998 break
5001 done
5002 ac_cv_prog_CPP=$CPP
5005 CPP=$ac_cv_prog_CPP
5006 else
5007 ac_cv_prog_CPP=$CPP
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5010 $as_echo "$CPP" >&6; }
5011 ac_preproc_ok=false
5012 for ac_c_preproc_warn_flag in '' yes
5014 # Use a header file that comes with gcc, so configuring glibc
5015 # with a fresh cross-compiler works.
5016 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5017 # <limits.h> exists even on freestanding compilers.
5018 # On the NeXT, cc -E runs the code through the compiler's parser,
5019 # not just through cpp. "Syntax error" is here to catch this case.
5020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5021 /* end confdefs.h. */
5022 #ifdef __STDC__
5023 # include <limits.h>
5024 #else
5025 # include <assert.h>
5026 #endif
5027 Syntax error
5028 _ACEOF
5029 if ac_fn_c_try_cpp "$LINENO"; then :
5031 else
5032 # Broken: fails on valid input.
5033 continue
5035 rm -f conftest.err conftest.i conftest.$ac_ext
5037 # OK, works on sane cases. Now check whether nonexistent headers
5038 # can be detected and how.
5039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5040 /* end confdefs.h. */
5041 #include <ac_nonexistent.h>
5042 _ACEOF
5043 if ac_fn_c_try_cpp "$LINENO"; then :
5044 # Broken: success on invalid input.
5045 continue
5046 else
5047 # Passes both tests.
5048 ac_preproc_ok=:
5049 break
5051 rm -f conftest.err conftest.i conftest.$ac_ext
5053 done
5054 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5055 rm -f conftest.i conftest.err conftest.$ac_ext
5056 if $ac_preproc_ok; then :
5058 else
5059 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5060 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5061 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5062 See \`config.log' for more details" "$LINENO" 5; }
5065 ac_ext=c
5066 ac_cpp='$CPP $CPPFLAGS'
5067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5073 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5074 if ${ac_cv_path_GREP+:} false; then :
5075 $as_echo_n "(cached) " >&6
5076 else
5077 if test -z "$GREP"; then
5078 ac_path_GREP_found=false
5079 # Loop through the user's path and test for each of PROGNAME-LIST
5080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5081 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5083 IFS=$as_save_IFS
5084 test -z "$as_dir" && as_dir=.
5085 for ac_prog in grep ggrep; do
5086 for ac_exec_ext in '' $ac_executable_extensions; do
5087 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5088 as_fn_executable_p "$ac_path_GREP" || continue
5089 # Check for GNU ac_path_GREP and select it if it is found.
5090 # Check for GNU $ac_path_GREP
5091 case `"$ac_path_GREP" --version 2>&1` in
5092 *GNU*)
5093 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5095 ac_count=0
5096 $as_echo_n 0123456789 >"conftest.in"
5097 while :
5099 cat "conftest.in" "conftest.in" >"conftest.tmp"
5100 mv "conftest.tmp" "conftest.in"
5101 cp "conftest.in" "conftest.nl"
5102 $as_echo 'GREP' >> "conftest.nl"
5103 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5104 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5105 as_fn_arith $ac_count + 1 && ac_count=$as_val
5106 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5107 # Best one so far, save it but keep looking for a better one
5108 ac_cv_path_GREP="$ac_path_GREP"
5109 ac_path_GREP_max=$ac_count
5111 # 10*(2^10) chars as input seems more than enough
5112 test $ac_count -gt 10 && break
5113 done
5114 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5115 esac
5117 $ac_path_GREP_found && break 3
5118 done
5119 done
5120 done
5121 IFS=$as_save_IFS
5122 if test -z "$ac_cv_path_GREP"; then
5123 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5125 else
5126 ac_cv_path_GREP=$GREP
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5131 $as_echo "$ac_cv_path_GREP" >&6; }
5132 GREP="$ac_cv_path_GREP"
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5136 $as_echo_n "checking for egrep... " >&6; }
5137 if ${ac_cv_path_EGREP+:} false; then :
5138 $as_echo_n "(cached) " >&6
5139 else
5140 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5141 then ac_cv_path_EGREP="$GREP -E"
5142 else
5143 if test -z "$EGREP"; then
5144 ac_path_EGREP_found=false
5145 # Loop through the user's path and test for each of PROGNAME-LIST
5146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5147 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5149 IFS=$as_save_IFS
5150 test -z "$as_dir" && as_dir=.
5151 for ac_prog in egrep; do
5152 for ac_exec_ext in '' $ac_executable_extensions; do
5153 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5154 as_fn_executable_p "$ac_path_EGREP" || continue
5155 # Check for GNU ac_path_EGREP and select it if it is found.
5156 # Check for GNU $ac_path_EGREP
5157 case `"$ac_path_EGREP" --version 2>&1` in
5158 *GNU*)
5159 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5161 ac_count=0
5162 $as_echo_n 0123456789 >"conftest.in"
5163 while :
5165 cat "conftest.in" "conftest.in" >"conftest.tmp"
5166 mv "conftest.tmp" "conftest.in"
5167 cp "conftest.in" "conftest.nl"
5168 $as_echo 'EGREP' >> "conftest.nl"
5169 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5170 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5171 as_fn_arith $ac_count + 1 && ac_count=$as_val
5172 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5173 # Best one so far, save it but keep looking for a better one
5174 ac_cv_path_EGREP="$ac_path_EGREP"
5175 ac_path_EGREP_max=$ac_count
5177 # 10*(2^10) chars as input seems more than enough
5178 test $ac_count -gt 10 && break
5179 done
5180 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5181 esac
5183 $ac_path_EGREP_found && break 3
5184 done
5185 done
5186 done
5187 IFS=$as_save_IFS
5188 if test -z "$ac_cv_path_EGREP"; then
5189 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5191 else
5192 ac_cv_path_EGREP=$EGREP
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5198 $as_echo "$ac_cv_path_EGREP" >&6; }
5199 EGREP="$ac_cv_path_EGREP"
5203 # Keep these sync'd with the list in Makefile.am. The first provides an
5204 # expandable list at autoconf time; the second provides an expandable list
5205 # (i.e., shell variable) at configure time.
5207 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/c++17 src/filesystem doc po testsuite python'
5209 # These need to be absolute paths, yet at the same time need to
5210 # canonicalize only relative paths, because then amd will not unmount
5211 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
5212 glibcxx_builddir=`${PWDCMD-pwd}`
5213 case $srcdir in
5214 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
5215 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
5216 esac
5217 toplevel_builddir=${glibcxx_builddir}/..
5218 toplevel_srcdir=${glibcxx_srcdir}/..
5224 # We use these options to decide which functions to include. They are
5225 # set from the top level.
5227 # Check whether --with-target-subdir was given.
5228 if test "${with_target_subdir+set}" = set; then :
5229 withval=$with_target_subdir;
5234 # Check whether --with-cross-host was given.
5235 if test "${with_cross_host+set}" = set; then :
5236 withval=$with_cross_host;
5241 # Check whether --with-newlib was given.
5242 if test "${with_newlib+set}" = set; then :
5243 withval=$with_newlib;
5247 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5248 # available). Uncomment the next line to force a particular method.
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5250 $as_echo_n "checking whether ln -s works... " >&6; }
5251 LN_S=$as_ln_s
5252 if test "$LN_S" = "ln -s"; then
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5254 $as_echo "yes" >&6; }
5255 else
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5257 $as_echo "no, using $LN_S" >&6; }
5260 #LN_S='cp -p'
5262 if test -n "$ac_tool_prefix"; then
5263 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5264 set dummy ${ac_tool_prefix}as; ac_word=$2
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5266 $as_echo_n "checking for $ac_word... " >&6; }
5267 if ${ac_cv_prog_AS+:} false; then :
5268 $as_echo_n "(cached) " >&6
5269 else
5270 if test -n "$AS"; then
5271 ac_cv_prog_AS="$AS" # Let the user override the test.
5272 else
5273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5274 for as_dir in $PATH
5276 IFS=$as_save_IFS
5277 test -z "$as_dir" && as_dir=.
5278 for ac_exec_ext in '' $ac_executable_extensions; do
5279 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5280 ac_cv_prog_AS="${ac_tool_prefix}as"
5281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5282 break 2
5284 done
5285 done
5286 IFS=$as_save_IFS
5290 AS=$ac_cv_prog_AS
5291 if test -n "$AS"; then
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5293 $as_echo "$AS" >&6; }
5294 else
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5296 $as_echo "no" >&6; }
5301 if test -z "$ac_cv_prog_AS"; then
5302 ac_ct_AS=$AS
5303 # Extract the first word of "as", so it can be a program name with args.
5304 set dummy as; ac_word=$2
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5306 $as_echo_n "checking for $ac_word... " >&6; }
5307 if ${ac_cv_prog_ac_ct_AS+:} false; then :
5308 $as_echo_n "(cached) " >&6
5309 else
5310 if test -n "$ac_ct_AS"; then
5311 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5312 else
5313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5314 for as_dir in $PATH
5316 IFS=$as_save_IFS
5317 test -z "$as_dir" && as_dir=.
5318 for ac_exec_ext in '' $ac_executable_extensions; do
5319 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5320 ac_cv_prog_ac_ct_AS="as"
5321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5322 break 2
5324 done
5325 done
5326 IFS=$as_save_IFS
5330 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5331 if test -n "$ac_ct_AS"; then
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5333 $as_echo "$ac_ct_AS" >&6; }
5334 else
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5336 $as_echo "no" >&6; }
5339 if test "x$ac_ct_AS" = x; then
5340 AS=""
5341 else
5342 case $cross_compiling:$ac_tool_warned in
5343 yes:)
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5345 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5346 ac_tool_warned=yes ;;
5347 esac
5348 AS=$ac_ct_AS
5350 else
5351 AS="$ac_cv_prog_AS"
5354 if test -n "$ac_tool_prefix"; then
5355 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5356 set dummy ${ac_tool_prefix}ar; ac_word=$2
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5358 $as_echo_n "checking for $ac_word... " >&6; }
5359 if ${ac_cv_prog_AR+:} false; then :
5360 $as_echo_n "(cached) " >&6
5361 else
5362 if test -n "$AR"; then
5363 ac_cv_prog_AR="$AR" # Let the user override the test.
5364 else
5365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5366 for as_dir in $PATH
5368 IFS=$as_save_IFS
5369 test -z "$as_dir" && as_dir=.
5370 for ac_exec_ext in '' $ac_executable_extensions; do
5371 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5372 ac_cv_prog_AR="${ac_tool_prefix}ar"
5373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5374 break 2
5376 done
5377 done
5378 IFS=$as_save_IFS
5382 AR=$ac_cv_prog_AR
5383 if test -n "$AR"; then
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5385 $as_echo "$AR" >&6; }
5386 else
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5388 $as_echo "no" >&6; }
5393 if test -z "$ac_cv_prog_AR"; then
5394 ac_ct_AR=$AR
5395 # Extract the first word of "ar", so it can be a program name with args.
5396 set dummy ar; ac_word=$2
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5398 $as_echo_n "checking for $ac_word... " >&6; }
5399 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5400 $as_echo_n "(cached) " >&6
5401 else
5402 if test -n "$ac_ct_AR"; then
5403 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5404 else
5405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5406 for as_dir in $PATH
5408 IFS=$as_save_IFS
5409 test -z "$as_dir" && as_dir=.
5410 for ac_exec_ext in '' $ac_executable_extensions; do
5411 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5412 ac_cv_prog_ac_ct_AR="ar"
5413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5414 break 2
5416 done
5417 done
5418 IFS=$as_save_IFS
5422 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5423 if test -n "$ac_ct_AR"; then
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5425 $as_echo "$ac_ct_AR" >&6; }
5426 else
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5428 $as_echo "no" >&6; }
5431 if test "x$ac_ct_AR" = x; then
5432 AR=""
5433 else
5434 case $cross_compiling:$ac_tool_warned in
5435 yes:)
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5437 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5438 ac_tool_warned=yes ;;
5439 esac
5440 AR=$ac_ct_AR
5442 else
5443 AR="$ac_cv_prog_AR"
5446 if test -n "$ac_tool_prefix"; then
5447 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5448 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5450 $as_echo_n "checking for $ac_word... " >&6; }
5451 if ${ac_cv_prog_RANLIB+:} false; then :
5452 $as_echo_n "(cached) " >&6
5453 else
5454 if test -n "$RANLIB"; then
5455 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5456 else
5457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5458 for as_dir in $PATH
5460 IFS=$as_save_IFS
5461 test -z "$as_dir" && as_dir=.
5462 for ac_exec_ext in '' $ac_executable_extensions; do
5463 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5464 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5466 break 2
5468 done
5469 done
5470 IFS=$as_save_IFS
5474 RANLIB=$ac_cv_prog_RANLIB
5475 if test -n "$RANLIB"; then
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5477 $as_echo "$RANLIB" >&6; }
5478 else
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5480 $as_echo "no" >&6; }
5485 if test -z "$ac_cv_prog_RANLIB"; then
5486 ac_ct_RANLIB=$RANLIB
5487 # Extract the first word of "ranlib", so it can be a program name with args.
5488 set dummy ranlib; ac_word=$2
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5490 $as_echo_n "checking for $ac_word... " >&6; }
5491 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5492 $as_echo_n "(cached) " >&6
5493 else
5494 if test -n "$ac_ct_RANLIB"; then
5495 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5496 else
5497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5498 for as_dir in $PATH
5500 IFS=$as_save_IFS
5501 test -z "$as_dir" && as_dir=.
5502 for ac_exec_ext in '' $ac_executable_extensions; do
5503 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5504 ac_cv_prog_ac_ct_RANLIB="ranlib"
5505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5506 break 2
5508 done
5509 done
5510 IFS=$as_save_IFS
5514 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5515 if test -n "$ac_ct_RANLIB"; then
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5517 $as_echo "$ac_ct_RANLIB" >&6; }
5518 else
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5520 $as_echo "no" >&6; }
5523 if test "x$ac_ct_RANLIB" = x; then
5524 RANLIB="ranlib-not-found-in-path-error"
5525 else
5526 case $cross_compiling:$ac_tool_warned in
5527 yes:)
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5529 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5530 ac_tool_warned=yes ;;
5531 esac
5532 RANLIB=$ac_ct_RANLIB
5534 else
5535 RANLIB="$ac_cv_prog_RANLIB"
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5541 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5542 # Check whether --enable-maintainer-mode was given.
5543 if test "${enable_maintainer_mode+set}" = set; then :
5544 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5545 else
5546 USE_MAINTAINER_MODE=no
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5550 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5551 if test $USE_MAINTAINER_MODE = yes; then
5552 MAINTAINER_MODE_TRUE=
5553 MAINTAINER_MODE_FALSE='#'
5554 else
5555 MAINTAINER_MODE_TRUE='#'
5556 MAINTAINER_MODE_FALSE=
5559 MAINT=$MAINTAINER_MODE_TRUE
5563 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5564 # which are themselves conditionally expanded.
5565 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5566 ## other macros from doing the same. This should be automated.) -pme
5568 # Check for C library flavor since GNU/Linux platforms use different
5569 # configuration directories depending on the C library in use.
5570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5571 /* end confdefs.h. */
5573 #include <stdio.h>
5574 #if __UCLIBC__
5575 _using_uclibc
5576 #endif
5578 _ACEOF
5579 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5580 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5581 uclibc=yes
5582 else
5583 uclibc=no
5585 rm -f conftest*
5588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5589 /* end confdefs.h. */
5591 #include <stdio.h>
5592 #if __BIONIC__
5593 _using_bionic
5594 #endif
5596 _ACEOF
5597 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5598 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5599 bionic=yes
5600 else
5601 bionic=no
5603 rm -f conftest*
5606 # Find platform-specific directories containing configuration info.
5607 # Also possibly modify flags used elsewhere, as needed by the platform.
5609 . $glibcxx_srcdir/configure.host
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5611 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5613 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5617 # Libtool setup.
5618 if test "x${with_newlib}" != "xyes"; then
5619 enable_dlopen=yes
5624 case `pwd` in
5625 *\ * | *\ *)
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5627 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5628 esac
5632 macro_version='2.2.7a'
5633 macro_revision='1.3134'
5647 ltmain="$ac_aux_dir/ltmain.sh"
5649 # Backslashify metacharacters that are still active within
5650 # double-quoted strings.
5651 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5653 # Same as above, but do not quote variable references.
5654 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5656 # Sed substitution to delay expansion of an escaped shell variable in a
5657 # double_quote_subst'ed string.
5658 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5660 # Sed substitution to delay expansion of an escaped single quote.
5661 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5663 # Sed substitution to avoid accidental globbing in evaled expressions
5664 no_glob_subst='s/\*/\\\*/g'
5666 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5667 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5668 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5671 $as_echo_n "checking how to print strings... " >&6; }
5672 # Test print first, because it will be a builtin if present.
5673 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5674 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5675 ECHO='print -r --'
5676 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5677 ECHO='printf %s\n'
5678 else
5679 # Use this function as a fallback that always works.
5680 func_fallback_echo ()
5682 eval 'cat <<_LTECHO_EOF
5684 _LTECHO_EOF'
5686 ECHO='func_fallback_echo'
5689 # func_echo_all arg...
5690 # Invoke $ECHO with all args, space-separated.
5691 func_echo_all ()
5693 $ECHO ""
5696 case "$ECHO" in
5697 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5698 $as_echo "printf" >&6; } ;;
5699 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5700 $as_echo "print -r" >&6; } ;;
5701 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5702 $as_echo "cat" >&6; } ;;
5703 esac
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5719 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5720 if ${ac_cv_path_SED+:} false; then :
5721 $as_echo_n "(cached) " >&6
5722 else
5723 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5724 for ac_i in 1 2 3 4 5 6 7; do
5725 ac_script="$ac_script$as_nl$ac_script"
5726 done
5727 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5728 { ac_script=; unset ac_script;}
5729 if test -z "$SED"; then
5730 ac_path_SED_found=false
5731 # Loop through the user's path and test for each of PROGNAME-LIST
5732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5733 for as_dir in $PATH
5735 IFS=$as_save_IFS
5736 test -z "$as_dir" && as_dir=.
5737 for ac_prog in sed gsed; do
5738 for ac_exec_ext in '' $ac_executable_extensions; do
5739 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5740 as_fn_executable_p "$ac_path_SED" || continue
5741 # Check for GNU ac_path_SED and select it if it is found.
5742 # Check for GNU $ac_path_SED
5743 case `"$ac_path_SED" --version 2>&1` in
5744 *GNU*)
5745 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5747 ac_count=0
5748 $as_echo_n 0123456789 >"conftest.in"
5749 while :
5751 cat "conftest.in" "conftest.in" >"conftest.tmp"
5752 mv "conftest.tmp" "conftest.in"
5753 cp "conftest.in" "conftest.nl"
5754 $as_echo '' >> "conftest.nl"
5755 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5756 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5757 as_fn_arith $ac_count + 1 && ac_count=$as_val
5758 if test $ac_count -gt ${ac_path_SED_max-0}; then
5759 # Best one so far, save it but keep looking for a better one
5760 ac_cv_path_SED="$ac_path_SED"
5761 ac_path_SED_max=$ac_count
5763 # 10*(2^10) chars as input seems more than enough
5764 test $ac_count -gt 10 && break
5765 done
5766 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5767 esac
5769 $ac_path_SED_found && break 3
5770 done
5771 done
5772 done
5773 IFS=$as_save_IFS
5774 if test -z "$ac_cv_path_SED"; then
5775 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5777 else
5778 ac_cv_path_SED=$SED
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5783 $as_echo "$ac_cv_path_SED" >&6; }
5784 SED="$ac_cv_path_SED"
5785 rm -f conftest.sed
5787 test -z "$SED" && SED=sed
5788 Xsed="$SED -e 1s/^X//"
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5801 $as_echo_n "checking for fgrep... " >&6; }
5802 if ${ac_cv_path_FGREP+:} false; then :
5803 $as_echo_n "(cached) " >&6
5804 else
5805 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5806 then ac_cv_path_FGREP="$GREP -F"
5807 else
5808 if test -z "$FGREP"; then
5809 ac_path_FGREP_found=false
5810 # Loop through the user's path and test for each of PROGNAME-LIST
5811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5812 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5814 IFS=$as_save_IFS
5815 test -z "$as_dir" && as_dir=.
5816 for ac_prog in fgrep; do
5817 for ac_exec_ext in '' $ac_executable_extensions; do
5818 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5819 as_fn_executable_p "$ac_path_FGREP" || continue
5820 # Check for GNU ac_path_FGREP and select it if it is found.
5821 # Check for GNU $ac_path_FGREP
5822 case `"$ac_path_FGREP" --version 2>&1` in
5823 *GNU*)
5824 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5826 ac_count=0
5827 $as_echo_n 0123456789 >"conftest.in"
5828 while :
5830 cat "conftest.in" "conftest.in" >"conftest.tmp"
5831 mv "conftest.tmp" "conftest.in"
5832 cp "conftest.in" "conftest.nl"
5833 $as_echo 'FGREP' >> "conftest.nl"
5834 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5835 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5836 as_fn_arith $ac_count + 1 && ac_count=$as_val
5837 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5838 # Best one so far, save it but keep looking for a better one
5839 ac_cv_path_FGREP="$ac_path_FGREP"
5840 ac_path_FGREP_max=$ac_count
5842 # 10*(2^10) chars as input seems more than enough
5843 test $ac_count -gt 10 && break
5844 done
5845 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5846 esac
5848 $ac_path_FGREP_found && break 3
5849 done
5850 done
5851 done
5852 IFS=$as_save_IFS
5853 if test -z "$ac_cv_path_FGREP"; then
5854 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5856 else
5857 ac_cv_path_FGREP=$FGREP
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5863 $as_echo "$ac_cv_path_FGREP" >&6; }
5864 FGREP="$ac_cv_path_FGREP"
5867 test -z "$GREP" && GREP=grep
5887 # Check whether --with-gnu-ld was given.
5888 if test "${with_gnu_ld+set}" = set; then :
5889 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5890 else
5891 with_gnu_ld=no
5894 ac_prog=ld
5895 if test "$GCC" = yes; then
5896 # Check if gcc -print-prog-name=ld gives a path.
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5898 $as_echo_n "checking for ld used by $CC... " >&6; }
5899 case $host in
5900 *-*-mingw*)
5901 # gcc leaves a trailing carriage return which upsets mingw
5902 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5904 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5905 esac
5906 case $ac_prog in
5907 # Accept absolute paths.
5908 [\\/]* | ?:[\\/]*)
5909 re_direlt='/[^/][^/]*/\.\./'
5910 # Canonicalize the pathname of ld
5911 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5912 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5913 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5914 done
5915 test -z "$LD" && LD="$ac_prog"
5918 # If it fails, then pretend we aren't using GCC.
5919 ac_prog=ld
5922 # If it is relative, then search for the first ld in PATH.
5923 with_gnu_ld=unknown
5925 esac
5926 elif test "$with_gnu_ld" = yes; then
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5928 $as_echo_n "checking for GNU ld... " >&6; }
5929 else
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5931 $as_echo_n "checking for non-GNU ld... " >&6; }
5933 if ${lt_cv_path_LD+:} false; then :
5934 $as_echo_n "(cached) " >&6
5935 else
5936 if test -z "$LD"; then
5937 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5938 for ac_dir in $PATH; do
5939 IFS="$lt_save_ifs"
5940 test -z "$ac_dir" && ac_dir=.
5941 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5942 lt_cv_path_LD="$ac_dir/$ac_prog"
5943 # Check to see if the program is GNU ld. I'd rather use --version,
5944 # but apparently some variants of GNU ld only accept -v.
5945 # Break only if it was the GNU/non-GNU ld that we prefer.
5946 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5947 *GNU* | *'with BFD'*)
5948 test "$with_gnu_ld" != no && break
5951 test "$with_gnu_ld" != yes && break
5953 esac
5955 done
5956 IFS="$lt_save_ifs"
5957 else
5958 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5962 LD="$lt_cv_path_LD"
5963 if test -n "$LD"; then
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5965 $as_echo "$LD" >&6; }
5966 else
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5968 $as_echo "no" >&6; }
5970 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5972 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5973 if ${lt_cv_prog_gnu_ld+:} false; then :
5974 $as_echo_n "(cached) " >&6
5975 else
5976 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5977 case `$LD -v 2>&1 </dev/null` in
5978 *GNU* | *'with BFD'*)
5979 lt_cv_prog_gnu_ld=yes
5982 lt_cv_prog_gnu_ld=no
5984 esac
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5987 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5988 with_gnu_ld=$lt_cv_prog_gnu_ld
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5999 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6000 if ${lt_cv_path_NM+:} false; then :
6001 $as_echo_n "(cached) " >&6
6002 else
6003 if test -n "$NM"; then
6004 # Let the user override the test.
6005 lt_cv_path_NM="$NM"
6006 else
6007 lt_nm_to_check="${ac_tool_prefix}nm"
6008 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6009 lt_nm_to_check="$lt_nm_to_check nm"
6011 for lt_tmp_nm in $lt_nm_to_check; do
6012 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6013 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6014 IFS="$lt_save_ifs"
6015 test -z "$ac_dir" && ac_dir=.
6016 tmp_nm="$ac_dir/$lt_tmp_nm"
6017 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6018 # Check to see if the nm accepts a BSD-compat flag.
6019 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6020 # nm: unknown option "B" ignored
6021 # Tru64's nm complains that /dev/null is an invalid object file
6022 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6023 */dev/null* | *'Invalid file or object type'*)
6024 lt_cv_path_NM="$tmp_nm -B"
6025 break
6028 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6029 */dev/null*)
6030 lt_cv_path_NM="$tmp_nm -p"
6031 break
6034 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6035 continue # so that we can try to find one that supports BSD flags
6037 esac
6039 esac
6041 done
6042 IFS="$lt_save_ifs"
6043 done
6044 : ${lt_cv_path_NM=no}
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6048 $as_echo "$lt_cv_path_NM" >&6; }
6049 if test "$lt_cv_path_NM" != "no"; then
6050 NM="$lt_cv_path_NM"
6051 else
6052 # Didn't find any BSD compatible name lister, look for dumpbin.
6053 if test -n "$DUMPBIN"; then :
6054 # Let the user override the test.
6055 else
6056 if test -n "$ac_tool_prefix"; then
6057 for ac_prog in dumpbin "link -dump"
6059 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6060 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6062 $as_echo_n "checking for $ac_word... " >&6; }
6063 if ${ac_cv_prog_DUMPBIN+:} false; then :
6064 $as_echo_n "(cached) " >&6
6065 else
6066 if test -n "$DUMPBIN"; then
6067 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6068 else
6069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6070 for as_dir in $PATH
6072 IFS=$as_save_IFS
6073 test -z "$as_dir" && as_dir=.
6074 for ac_exec_ext in '' $ac_executable_extensions; do
6075 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6076 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6078 break 2
6080 done
6081 done
6082 IFS=$as_save_IFS
6086 DUMPBIN=$ac_cv_prog_DUMPBIN
6087 if test -n "$DUMPBIN"; then
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6089 $as_echo "$DUMPBIN" >&6; }
6090 else
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6092 $as_echo "no" >&6; }
6096 test -n "$DUMPBIN" && break
6097 done
6099 if test -z "$DUMPBIN"; then
6100 ac_ct_DUMPBIN=$DUMPBIN
6101 for ac_prog in dumpbin "link -dump"
6103 # Extract the first word of "$ac_prog", so it can be a program name with args.
6104 set dummy $ac_prog; ac_word=$2
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6106 $as_echo_n "checking for $ac_word... " >&6; }
6107 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6108 $as_echo_n "(cached) " >&6
6109 else
6110 if test -n "$ac_ct_DUMPBIN"; then
6111 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6112 else
6113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6114 for as_dir in $PATH
6116 IFS=$as_save_IFS
6117 test -z "$as_dir" && as_dir=.
6118 for ac_exec_ext in '' $ac_executable_extensions; do
6119 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6120 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6122 break 2
6124 done
6125 done
6126 IFS=$as_save_IFS
6130 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6131 if test -n "$ac_ct_DUMPBIN"; then
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6133 $as_echo "$ac_ct_DUMPBIN" >&6; }
6134 else
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6136 $as_echo "no" >&6; }
6140 test -n "$ac_ct_DUMPBIN" && break
6141 done
6143 if test "x$ac_ct_DUMPBIN" = x; then
6144 DUMPBIN=":"
6145 else
6146 case $cross_compiling:$ac_tool_warned in
6147 yes:)
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6149 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6150 ac_tool_warned=yes ;;
6151 esac
6152 DUMPBIN=$ac_ct_DUMPBIN
6156 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6157 *COFF*)
6158 DUMPBIN="$DUMPBIN -symbols"
6161 DUMPBIN=:
6163 esac
6166 if test "$DUMPBIN" != ":"; then
6167 NM="$DUMPBIN"
6170 test -z "$NM" && NM=nm
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6178 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6179 if ${lt_cv_nm_interface+:} false; then :
6180 $as_echo_n "(cached) " >&6
6181 else
6182 lt_cv_nm_interface="BSD nm"
6183 echo "int some_variable = 0;" > conftest.$ac_ext
6184 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6185 (eval "$ac_compile" 2>conftest.err)
6186 cat conftest.err >&5
6187 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6188 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6189 cat conftest.err >&5
6190 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6191 cat conftest.out >&5
6192 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6193 lt_cv_nm_interface="MS dumpbin"
6195 rm -f conftest*
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6198 $as_echo "$lt_cv_nm_interface" >&6; }
6200 # find the maximum length of command line arguments
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6202 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6203 if ${lt_cv_sys_max_cmd_len+:} false; then :
6204 $as_echo_n "(cached) " >&6
6205 else
6207 teststring="ABCD"
6209 case $build_os in
6210 msdosdjgpp*)
6211 # On DJGPP, this test can blow up pretty badly due to problems in libc
6212 # (any single argument exceeding 2000 bytes causes a buffer overrun
6213 # during glob expansion). Even if it were fixed, the result of this
6214 # check would be larger than it should be.
6215 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6218 gnu*)
6219 # Under GNU Hurd, this test is not required because there is
6220 # no limit to the length of command line arguments.
6221 # Libtool will interpret -1 as no limit whatsoever
6222 lt_cv_sys_max_cmd_len=-1;
6225 cygwin* | mingw* | cegcc*)
6226 # On Win9x/ME, this test blows up -- it succeeds, but takes
6227 # about 5 minutes as the teststring grows exponentially.
6228 # Worse, since 9x/ME are not pre-emptively multitasking,
6229 # you end up with a "frozen" computer, even though with patience
6230 # the test eventually succeeds (with a max line length of 256k).
6231 # Instead, let's just punt: use the minimum linelength reported by
6232 # all of the supported platforms: 8192 (on NT/2K/XP).
6233 lt_cv_sys_max_cmd_len=8192;
6236 mint*)
6237 # On MiNT this can take a long time and run out of memory.
6238 lt_cv_sys_max_cmd_len=8192;
6241 amigaos*)
6242 # On AmigaOS with pdksh, this test takes hours, literally.
6243 # So we just punt and use a minimum line length of 8192.
6244 lt_cv_sys_max_cmd_len=8192;
6247 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6248 # This has been around since 386BSD, at least. Likely further.
6249 if test -x /sbin/sysctl; then
6250 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6251 elif test -x /usr/sbin/sysctl; then
6252 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6253 else
6254 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6256 # And add a safety zone
6257 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6258 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6261 interix*)
6262 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6263 lt_cv_sys_max_cmd_len=196608
6266 osf*)
6267 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6268 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6269 # nice to cause kernel panics so lets avoid the loop below.
6270 # First set a reasonable default.
6271 lt_cv_sys_max_cmd_len=16384
6273 if test -x /sbin/sysconfig; then
6274 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6275 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6276 esac
6279 sco3.2v5*)
6280 lt_cv_sys_max_cmd_len=102400
6282 sysv5* | sco5v6* | sysv4.2uw2*)
6283 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6284 if test -n "$kargmax"; then
6285 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6286 else
6287 lt_cv_sys_max_cmd_len=32768
6291 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6292 if test -n "$lt_cv_sys_max_cmd_len"; then
6293 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6294 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6295 else
6296 # Make teststring a little bigger before we do anything with it.
6297 # a 1K string should be a reasonable start.
6298 for i in 1 2 3 4 5 6 7 8 ; do
6299 teststring=$teststring$teststring
6300 done
6301 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6302 # If test is not a shell built-in, we'll probably end up computing a
6303 # maximum length that is only half of the actual maximum length, but
6304 # we can't tell.
6305 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6306 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6307 test $i != 17 # 1/2 MB should be enough
6309 i=`expr $i + 1`
6310 teststring=$teststring$teststring
6311 done
6312 # Only check the string length outside the loop.
6313 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6314 teststring=
6315 # Add a significant safety factor because C++ compilers can tack on
6316 # massive amounts of additional arguments before passing them to the
6317 # linker. It appears as though 1/2 is a usable value.
6318 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6321 esac
6325 if test -n $lt_cv_sys_max_cmd_len ; then
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6327 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6328 else
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6330 $as_echo "none" >&6; }
6332 max_cmd_len=$lt_cv_sys_max_cmd_len
6339 : ${CP="cp -f"}
6340 : ${MV="mv -f"}
6341 : ${RM="rm -f"}
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6344 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6345 # Try some XSI features
6346 xsi_shell=no
6347 ( _lt_dummy="a/b/c"
6348 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6349 = c,a/b,, \
6350 && eval 'test $(( 1 + 1 )) -eq 2 \
6351 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6352 && xsi_shell=yes
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6354 $as_echo "$xsi_shell" >&6; }
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6358 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6359 lt_shell_append=no
6360 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6361 >/dev/null 2>&1 \
6362 && lt_shell_append=yes
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6364 $as_echo "$lt_shell_append" >&6; }
6367 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6368 lt_unset=unset
6369 else
6370 lt_unset=false
6377 # test EBCDIC or ASCII
6378 case `echo X|tr X '\101'` in
6379 A) # ASCII based system
6380 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6381 lt_SP2NL='tr \040 \012'
6382 lt_NL2SP='tr \015\012 \040\040'
6384 *) # EBCDIC based system
6385 lt_SP2NL='tr \100 \n'
6386 lt_NL2SP='tr \r\n \100\100'
6388 esac
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6399 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6400 if ${lt_cv_ld_reload_flag+:} false; then :
6401 $as_echo_n "(cached) " >&6
6402 else
6403 lt_cv_ld_reload_flag='-r'
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6406 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6407 reload_flag=$lt_cv_ld_reload_flag
6408 case $reload_flag in
6409 "" | " "*) ;;
6410 *) reload_flag=" $reload_flag" ;;
6411 esac
6412 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6413 case $host_os in
6414 darwin*)
6415 if test "$GCC" = yes; then
6416 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6417 else
6418 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6421 esac
6431 if test -n "$ac_tool_prefix"; then
6432 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6433 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6435 $as_echo_n "checking for $ac_word... " >&6; }
6436 if ${ac_cv_prog_OBJDUMP+:} false; then :
6437 $as_echo_n "(cached) " >&6
6438 else
6439 if test -n "$OBJDUMP"; then
6440 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6441 else
6442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6443 for as_dir in $PATH
6445 IFS=$as_save_IFS
6446 test -z "$as_dir" && as_dir=.
6447 for ac_exec_ext in '' $ac_executable_extensions; do
6448 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6449 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6451 break 2
6453 done
6454 done
6455 IFS=$as_save_IFS
6459 OBJDUMP=$ac_cv_prog_OBJDUMP
6460 if test -n "$OBJDUMP"; then
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6462 $as_echo "$OBJDUMP" >&6; }
6463 else
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6465 $as_echo "no" >&6; }
6470 if test -z "$ac_cv_prog_OBJDUMP"; then
6471 ac_ct_OBJDUMP=$OBJDUMP
6472 # Extract the first word of "objdump", so it can be a program name with args.
6473 set dummy objdump; ac_word=$2
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6475 $as_echo_n "checking for $ac_word... " >&6; }
6476 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6477 $as_echo_n "(cached) " >&6
6478 else
6479 if test -n "$ac_ct_OBJDUMP"; then
6480 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6481 else
6482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6483 for as_dir in $PATH
6485 IFS=$as_save_IFS
6486 test -z "$as_dir" && as_dir=.
6487 for ac_exec_ext in '' $ac_executable_extensions; do
6488 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6489 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6491 break 2
6493 done
6494 done
6495 IFS=$as_save_IFS
6499 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6500 if test -n "$ac_ct_OBJDUMP"; then
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6502 $as_echo "$ac_ct_OBJDUMP" >&6; }
6503 else
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6505 $as_echo "no" >&6; }
6508 if test "x$ac_ct_OBJDUMP" = x; then
6509 OBJDUMP="false"
6510 else
6511 case $cross_compiling:$ac_tool_warned in
6512 yes:)
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6514 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6515 ac_tool_warned=yes ;;
6516 esac
6517 OBJDUMP=$ac_ct_OBJDUMP
6519 else
6520 OBJDUMP="$ac_cv_prog_OBJDUMP"
6523 test -z "$OBJDUMP" && OBJDUMP=objdump
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6534 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6535 if ${lt_cv_deplibs_check_method+:} false; then :
6536 $as_echo_n "(cached) " >&6
6537 else
6538 lt_cv_file_magic_cmd='$MAGIC_CMD'
6539 lt_cv_file_magic_test_file=
6540 lt_cv_deplibs_check_method='unknown'
6541 # Need to set the preceding variable on all platforms that support
6542 # interlibrary dependencies.
6543 # 'none' -- dependencies not supported.
6544 # `unknown' -- same as none, but documents that we really don't know.
6545 # 'pass_all' -- all dependencies passed with no checks.
6546 # 'test_compile' -- check by making test program.
6547 # 'file_magic [[regex]]' -- check by looking for files in library path
6548 # which responds to the $file_magic_cmd with a given extended regex.
6549 # If you have `file' or equivalent on your system and you're not sure
6550 # whether `pass_all' will *always* work, you probably want this one.
6552 case $host_os in
6553 aix[4-9]*)
6554 lt_cv_deplibs_check_method=pass_all
6557 beos*)
6558 lt_cv_deplibs_check_method=pass_all
6561 bsdi[45]*)
6562 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6563 lt_cv_file_magic_cmd='/usr/bin/file -L'
6564 lt_cv_file_magic_test_file=/shlib/libc.so
6567 cygwin*)
6568 # func_win32_libid is a shell function defined in ltmain.sh
6569 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6570 lt_cv_file_magic_cmd='func_win32_libid'
6573 mingw* | pw32*)
6574 # Base MSYS/MinGW do not provide the 'file' command needed by
6575 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6576 # unless we find 'file', for example because we are cross-compiling.
6577 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6578 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6579 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6580 lt_cv_file_magic_cmd='func_win32_libid'
6581 else
6582 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6583 lt_cv_file_magic_cmd='$OBJDUMP -f'
6587 cegcc*)
6588 # use the weaker test based on 'objdump'. See mingw*.
6589 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6590 lt_cv_file_magic_cmd='$OBJDUMP -f'
6593 darwin* | rhapsody*)
6594 lt_cv_deplibs_check_method=pass_all
6597 freebsd* | dragonfly*)
6598 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6599 case $host_cpu in
6600 i*86 )
6601 # Not sure whether the presence of OpenBSD here was a mistake.
6602 # Let's accept both of them until this is cleared up.
6603 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6604 lt_cv_file_magic_cmd=/usr/bin/file
6605 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6607 esac
6608 else
6609 lt_cv_deplibs_check_method=pass_all
6613 gnu*)
6614 lt_cv_deplibs_check_method=pass_all
6617 haiku*)
6618 lt_cv_deplibs_check_method=pass_all
6621 hpux10.20* | hpux11*)
6622 lt_cv_file_magic_cmd=/usr/bin/file
6623 case $host_cpu in
6624 ia64*)
6625 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6626 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6628 hppa*64*)
6629 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]'
6630 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6633 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6634 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6636 esac
6639 interix[3-9]*)
6640 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6641 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6644 irix5* | irix6* | nonstopux*)
6645 case $LD in
6646 *-32|*"-32 ") libmagic=32-bit;;
6647 *-n32|*"-n32 ") libmagic=N32;;
6648 *-64|*"-64 ") libmagic=64-bit;;
6649 *) libmagic=never-match;;
6650 esac
6651 lt_cv_deplibs_check_method=pass_all
6654 # This must be Linux ELF.
6655 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6656 lt_cv_deplibs_check_method=pass_all
6659 netbsd*)
6660 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6661 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6662 else
6663 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6667 newos6*)
6668 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6669 lt_cv_file_magic_cmd=/usr/bin/file
6670 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6673 *nto* | *qnx*)
6674 lt_cv_deplibs_check_method=pass_all
6677 openbsd*)
6678 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6679 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6680 else
6681 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6685 osf3* | osf4* | osf5*)
6686 lt_cv_deplibs_check_method=pass_all
6689 rdos*)
6690 lt_cv_deplibs_check_method=pass_all
6693 solaris*)
6694 lt_cv_deplibs_check_method=pass_all
6697 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6698 lt_cv_deplibs_check_method=pass_all
6701 sysv4 | sysv4.3*)
6702 case $host_vendor in
6703 motorola)
6704 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]'
6705 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6707 ncr)
6708 lt_cv_deplibs_check_method=pass_all
6710 sequent)
6711 lt_cv_file_magic_cmd='/bin/file'
6712 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6714 sni)
6715 lt_cv_file_magic_cmd='/bin/file'
6716 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6717 lt_cv_file_magic_test_file=/lib/libc.so
6719 siemens)
6720 lt_cv_deplibs_check_method=pass_all
6723 lt_cv_deplibs_check_method=pass_all
6725 esac
6728 tpf*)
6729 lt_cv_deplibs_check_method=pass_all
6731 esac
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6735 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6736 file_magic_cmd=$lt_cv_file_magic_cmd
6737 deplibs_check_method=$lt_cv_deplibs_check_method
6738 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6751 if test -n "$ac_tool_prefix"; then
6752 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6753 set dummy ${ac_tool_prefix}ar; ac_word=$2
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6755 $as_echo_n "checking for $ac_word... " >&6; }
6756 if ${ac_cv_prog_AR+:} false; then :
6757 $as_echo_n "(cached) " >&6
6758 else
6759 if test -n "$AR"; then
6760 ac_cv_prog_AR="$AR" # Let the user override the test.
6761 else
6762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6763 for as_dir in $PATH
6765 IFS=$as_save_IFS
6766 test -z "$as_dir" && as_dir=.
6767 for ac_exec_ext in '' $ac_executable_extensions; do
6768 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6769 ac_cv_prog_AR="${ac_tool_prefix}ar"
6770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6771 break 2
6773 done
6774 done
6775 IFS=$as_save_IFS
6779 AR=$ac_cv_prog_AR
6780 if test -n "$AR"; then
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6782 $as_echo "$AR" >&6; }
6783 else
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6785 $as_echo "no" >&6; }
6790 if test -z "$ac_cv_prog_AR"; then
6791 ac_ct_AR=$AR
6792 # Extract the first word of "ar", so it can be a program name with args.
6793 set dummy ar; ac_word=$2
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6795 $as_echo_n "checking for $ac_word... " >&6; }
6796 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6797 $as_echo_n "(cached) " >&6
6798 else
6799 if test -n "$ac_ct_AR"; then
6800 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6801 else
6802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6803 for as_dir in $PATH
6805 IFS=$as_save_IFS
6806 test -z "$as_dir" && as_dir=.
6807 for ac_exec_ext in '' $ac_executable_extensions; do
6808 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6809 ac_cv_prog_ac_ct_AR="ar"
6810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6811 break 2
6813 done
6814 done
6815 IFS=$as_save_IFS
6819 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6820 if test -n "$ac_ct_AR"; then
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6822 $as_echo "$ac_ct_AR" >&6; }
6823 else
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6825 $as_echo "no" >&6; }
6828 if test "x$ac_ct_AR" = x; then
6829 AR="false"
6830 else
6831 case $cross_compiling:$ac_tool_warned in
6832 yes:)
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6834 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6835 ac_tool_warned=yes ;;
6836 esac
6837 AR=$ac_ct_AR
6839 else
6840 AR="$ac_cv_prog_AR"
6843 test -z "$AR" && AR=ar
6844 test -z "$AR_FLAGS" && AR_FLAGS=cru
6856 if test -n "$ac_tool_prefix"; then
6857 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6858 set dummy ${ac_tool_prefix}strip; ac_word=$2
6859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6860 $as_echo_n "checking for $ac_word... " >&6; }
6861 if ${ac_cv_prog_STRIP+:} false; then :
6862 $as_echo_n "(cached) " >&6
6863 else
6864 if test -n "$STRIP"; then
6865 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6866 else
6867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6868 for as_dir in $PATH
6870 IFS=$as_save_IFS
6871 test -z "$as_dir" && as_dir=.
6872 for ac_exec_ext in '' $ac_executable_extensions; do
6873 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6874 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6876 break 2
6878 done
6879 done
6880 IFS=$as_save_IFS
6884 STRIP=$ac_cv_prog_STRIP
6885 if test -n "$STRIP"; then
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6887 $as_echo "$STRIP" >&6; }
6888 else
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6890 $as_echo "no" >&6; }
6895 if test -z "$ac_cv_prog_STRIP"; then
6896 ac_ct_STRIP=$STRIP
6897 # Extract the first word of "strip", so it can be a program name with args.
6898 set dummy strip; ac_word=$2
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6900 $as_echo_n "checking for $ac_word... " >&6; }
6901 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6902 $as_echo_n "(cached) " >&6
6903 else
6904 if test -n "$ac_ct_STRIP"; then
6905 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6906 else
6907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6908 for as_dir in $PATH
6910 IFS=$as_save_IFS
6911 test -z "$as_dir" && as_dir=.
6912 for ac_exec_ext in '' $ac_executable_extensions; do
6913 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6914 ac_cv_prog_ac_ct_STRIP="strip"
6915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6916 break 2
6918 done
6919 done
6920 IFS=$as_save_IFS
6924 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6925 if test -n "$ac_ct_STRIP"; then
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6927 $as_echo "$ac_ct_STRIP" >&6; }
6928 else
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6930 $as_echo "no" >&6; }
6933 if test "x$ac_ct_STRIP" = x; then
6934 STRIP=":"
6935 else
6936 case $cross_compiling:$ac_tool_warned in
6937 yes:)
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6939 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6940 ac_tool_warned=yes ;;
6941 esac
6942 STRIP=$ac_ct_STRIP
6944 else
6945 STRIP="$ac_cv_prog_STRIP"
6948 test -z "$STRIP" && STRIP=:
6955 if test -n "$ac_tool_prefix"; then
6956 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6957 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6959 $as_echo_n "checking for $ac_word... " >&6; }
6960 if ${ac_cv_prog_RANLIB+:} false; then :
6961 $as_echo_n "(cached) " >&6
6962 else
6963 if test -n "$RANLIB"; then
6964 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6965 else
6966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6967 for as_dir in $PATH
6969 IFS=$as_save_IFS
6970 test -z "$as_dir" && as_dir=.
6971 for ac_exec_ext in '' $ac_executable_extensions; do
6972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6973 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6975 break 2
6977 done
6978 done
6979 IFS=$as_save_IFS
6983 RANLIB=$ac_cv_prog_RANLIB
6984 if test -n "$RANLIB"; then
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6986 $as_echo "$RANLIB" >&6; }
6987 else
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6989 $as_echo "no" >&6; }
6994 if test -z "$ac_cv_prog_RANLIB"; then
6995 ac_ct_RANLIB=$RANLIB
6996 # Extract the first word of "ranlib", so it can be a program name with args.
6997 set dummy ranlib; ac_word=$2
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6999 $as_echo_n "checking for $ac_word... " >&6; }
7000 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7001 $as_echo_n "(cached) " >&6
7002 else
7003 if test -n "$ac_ct_RANLIB"; then
7004 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7005 else
7006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7007 for as_dir in $PATH
7009 IFS=$as_save_IFS
7010 test -z "$as_dir" && as_dir=.
7011 for ac_exec_ext in '' $ac_executable_extensions; do
7012 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7013 ac_cv_prog_ac_ct_RANLIB="ranlib"
7014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7015 break 2
7017 done
7018 done
7019 IFS=$as_save_IFS
7023 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7024 if test -n "$ac_ct_RANLIB"; then
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7026 $as_echo "$ac_ct_RANLIB" >&6; }
7027 else
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7029 $as_echo "no" >&6; }
7032 if test "x$ac_ct_RANLIB" = x; then
7033 RANLIB=":"
7034 else
7035 case $cross_compiling:$ac_tool_warned in
7036 yes:)
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7038 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7039 ac_tool_warned=yes ;;
7040 esac
7041 RANLIB=$ac_ct_RANLIB
7043 else
7044 RANLIB="$ac_cv_prog_RANLIB"
7047 test -z "$RANLIB" && RANLIB=:
7054 # Determine commands to create old-style static archives.
7055 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7056 old_postinstall_cmds='chmod 644 $oldlib'
7057 old_postuninstall_cmds=
7059 if test -n "$RANLIB"; then
7060 case $host_os in
7061 openbsd*)
7062 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7065 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7067 esac
7068 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7071 case $host_os in
7072 darwin*)
7073 lock_old_archive_extraction=yes ;;
7075 lock_old_archive_extraction=no ;;
7076 esac
7116 # If no C compiler was specified, use CC.
7117 LTCC=${LTCC-"$CC"}
7119 # If no C compiler flags were specified, use CFLAGS.
7120 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7122 # Allow CC to be a program name with arguments.
7123 compiler=$CC
7126 # Check for command to grab the raw symbol name followed by C symbol from nm.
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7128 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7129 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7130 $as_echo_n "(cached) " >&6
7131 else
7133 # These are sane defaults that work on at least a few old systems.
7134 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7136 # Character class describing NM global symbol codes.
7137 symcode='[BCDEGRST]'
7139 # Regexp to match symbols that can be accessed directly from C.
7140 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7142 # Define system-specific variables.
7143 case $host_os in
7144 aix*)
7145 symcode='[BCDT]'
7147 cygwin* | mingw* | pw32* | cegcc*)
7148 symcode='[ABCDGISTW]'
7150 hpux*)
7151 if test "$host_cpu" = ia64; then
7152 symcode='[ABCDEGRST]'
7155 irix* | nonstopux*)
7156 symcode='[BCDEGRST]'
7158 osf*)
7159 symcode='[BCDEGQRST]'
7161 solaris*)
7162 symcode='[BDRT]'
7164 sco3.2v5*)
7165 symcode='[DT]'
7167 sysv4.2uw2*)
7168 symcode='[DT]'
7170 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7171 symcode='[ABDT]'
7173 sysv4)
7174 symcode='[DFNSTU]'
7176 esac
7178 # If we're using GNU nm, then use its standard symbol codes.
7179 case `$NM -V 2>&1` in
7180 *GNU* | *'with BFD'*)
7181 symcode='[ABCDGIRSTW]' ;;
7182 esac
7184 # Transform an extracted symbol line into a proper C declaration.
7185 # Some systems (esp. on ia64) link data and code symbols differently,
7186 # so use this general approach.
7187 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7189 # Transform an extracted symbol line into symbol name and symbol address
7190 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7191 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'"
7193 # Handle CRLF in mingw tool chain
7194 opt_cr=
7195 case $build_os in
7196 mingw*)
7197 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7199 esac
7201 # Try without a prefix underscore, then with it.
7202 for ac_symprfx in "" "_"; do
7204 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7205 symxfrm="\\1 $ac_symprfx\\2 \\2"
7207 # Write the raw and C identifiers.
7208 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7209 # Fake it for dumpbin and say T for any non-static function
7210 # and D for any global variable.
7211 # Also find C++ and __fastcall symbols from MSVC++,
7212 # which start with @ or ?.
7213 lt_cv_sys_global_symbol_pipe="$AWK '"\
7214 " {last_section=section; section=\$ 3};"\
7215 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7216 " \$ 0!~/External *\|/{next};"\
7217 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7218 " {if(hide[section]) next};"\
7219 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7220 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7221 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7222 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7223 " ' prfx=^$ac_symprfx"
7224 else
7225 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7228 # Check to see that the pipe works correctly.
7229 pipe_works=no
7231 rm -f conftest*
7232 cat > conftest.$ac_ext <<_LT_EOF
7233 #ifdef __cplusplus
7234 extern "C" {
7235 #endif
7236 char nm_test_var;
7237 void nm_test_func(void);
7238 void nm_test_func(void){}
7239 #ifdef __cplusplus
7241 #endif
7242 int main(){nm_test_var='a';nm_test_func();return(0);}
7243 _LT_EOF
7245 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7246 (eval $ac_compile) 2>&5
7247 ac_status=$?
7248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7249 test $ac_status = 0; }; then
7250 # Now try to grab the symbols.
7251 nlist=conftest.nm
7252 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7253 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7254 ac_status=$?
7255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7256 test $ac_status = 0; } && test -s "$nlist"; then
7257 # Try sorting and uniquifying the output.
7258 if sort "$nlist" | uniq > "$nlist"T; then
7259 mv -f "$nlist"T "$nlist"
7260 else
7261 rm -f "$nlist"T
7264 # Make sure that we snagged all the symbols we need.
7265 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7266 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7267 cat <<_LT_EOF > conftest.$ac_ext
7268 #ifdef __cplusplus
7269 extern "C" {
7270 #endif
7272 _LT_EOF
7273 # Now generate the symbol file.
7274 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7276 cat <<_LT_EOF >> conftest.$ac_ext
7278 /* The mapping between symbol names and symbols. */
7279 const struct {
7280 const char *name;
7281 void *address;
7283 lt__PROGRAM__LTX_preloaded_symbols[] =
7285 { "@PROGRAM@", (void *) 0 },
7286 _LT_EOF
7287 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7288 cat <<\_LT_EOF >> conftest.$ac_ext
7289 {0, (void *) 0}
7292 /* This works around a problem in FreeBSD linker */
7293 #ifdef FREEBSD_WORKAROUND
7294 static const void *lt_preloaded_setup() {
7295 return lt__PROGRAM__LTX_preloaded_symbols;
7297 #endif
7299 #ifdef __cplusplus
7301 #endif
7302 _LT_EOF
7303 # Now try linking the two files.
7304 mv conftest.$ac_objext conftstm.$ac_objext
7305 lt_save_LIBS="$LIBS"
7306 lt_save_CFLAGS="$CFLAGS"
7307 LIBS="conftstm.$ac_objext"
7308 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7309 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7310 (eval $ac_link) 2>&5
7311 ac_status=$?
7312 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7313 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7314 pipe_works=yes
7316 LIBS="$lt_save_LIBS"
7317 CFLAGS="$lt_save_CFLAGS"
7318 else
7319 echo "cannot find nm_test_func in $nlist" >&5
7321 else
7322 echo "cannot find nm_test_var in $nlist" >&5
7324 else
7325 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7327 else
7328 echo "$progname: failed program was:" >&5
7329 cat conftest.$ac_ext >&5
7331 rm -rf conftest* conftst*
7333 # Do not use the global_symbol_pipe unless it works.
7334 if test "$pipe_works" = yes; then
7335 break
7336 else
7337 lt_cv_sys_global_symbol_pipe=
7339 done
7343 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7344 lt_cv_sys_global_symbol_to_cdecl=
7346 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7348 $as_echo "failed" >&6; }
7349 else
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7351 $as_echo "ok" >&6; }
7375 # Check whether --enable-libtool-lock was given.
7376 if test "${enable_libtool_lock+set}" = set; then :
7377 enableval=$enable_libtool_lock;
7380 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7382 # Some flags need to be propagated to the compiler or linker for good
7383 # libtool support.
7384 case $host in
7385 ia64-*-hpux*)
7386 # Find out which ABI we are using.
7387 echo 'int i;' > conftest.$ac_ext
7388 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7389 (eval $ac_compile) 2>&5
7390 ac_status=$?
7391 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7392 test $ac_status = 0; }; then
7393 case `/usr/bin/file conftest.$ac_objext` in
7394 *ELF-32*)
7395 HPUX_IA64_MODE="32"
7397 *ELF-64*)
7398 HPUX_IA64_MODE="64"
7400 esac
7402 rm -rf conftest*
7404 *-*-irix6*)
7405 # Find out which ABI we are using.
7406 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7407 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7408 (eval $ac_compile) 2>&5
7409 ac_status=$?
7410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7411 test $ac_status = 0; }; then
7412 if test "$lt_cv_prog_gnu_ld" = yes; then
7413 case `/usr/bin/file conftest.$ac_objext` in
7414 *32-bit*)
7415 LD="${LD-ld} -melf32bsmip"
7417 *N32*)
7418 LD="${LD-ld} -melf32bmipn32"
7420 *64-bit*)
7421 LD="${LD-ld} -melf64bmip"
7423 esac
7424 else
7425 case `/usr/bin/file conftest.$ac_objext` in
7426 *32-bit*)
7427 LD="${LD-ld} -32"
7429 *N32*)
7430 LD="${LD-ld} -n32"
7432 *64-bit*)
7433 LD="${LD-ld} -64"
7435 esac
7438 rm -rf conftest*
7441 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7442 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7443 # Find out which ABI we are using.
7444 echo 'int i;' > conftest.$ac_ext
7445 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7446 (eval $ac_compile) 2>&5
7447 ac_status=$?
7448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7449 test $ac_status = 0; }; then
7450 case `/usr/bin/file conftest.o` in
7451 *32-bit*)
7452 case $host in
7453 x86_64-*kfreebsd*-gnu)
7454 LD="${LD-ld} -m elf_i386_fbsd"
7456 x86_64-*linux*)
7457 case `/usr/bin/file conftest.o` in
7458 *x86-64*)
7459 LD="${LD-ld} -m elf32_x86_64"
7462 LD="${LD-ld} -m elf_i386"
7464 esac
7466 powerpc64le-*linux*)
7467 LD="${LD-ld} -m elf32lppclinux"
7469 powerpc64-*linux*)
7470 LD="${LD-ld} -m elf32ppclinux"
7472 s390x-*linux*)
7473 LD="${LD-ld} -m elf_s390"
7475 sparc64-*linux*)
7476 LD="${LD-ld} -m elf32_sparc"
7478 esac
7480 *64-bit*)
7481 case $host in
7482 x86_64-*kfreebsd*-gnu)
7483 LD="${LD-ld} -m elf_x86_64_fbsd"
7485 x86_64-*linux*)
7486 LD="${LD-ld} -m elf_x86_64"
7488 powerpcle-*linux*)
7489 LD="${LD-ld} -m elf64lppc"
7491 powerpc-*linux*)
7492 LD="${LD-ld} -m elf64ppc"
7494 s390*-*linux*|s390*-*tpf*)
7495 LD="${LD-ld} -m elf64_s390"
7497 sparc*-*linux*)
7498 LD="${LD-ld} -m elf64_sparc"
7500 esac
7502 esac
7504 rm -rf conftest*
7507 *-*-sco3.2v5*)
7508 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7509 SAVE_CFLAGS="$CFLAGS"
7510 CFLAGS="$CFLAGS -belf"
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7512 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7513 if ${lt_cv_cc_needs_belf+:} false; then :
7514 $as_echo_n "(cached) " >&6
7515 else
7516 ac_ext=c
7517 ac_cpp='$CPP $CPPFLAGS'
7518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7522 if test x$gcc_no_link = xyes; then
7523 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7526 /* end confdefs.h. */
7529 main ()
7533 return 0;
7535 _ACEOF
7536 if ac_fn_c_try_link "$LINENO"; then :
7537 lt_cv_cc_needs_belf=yes
7538 else
7539 lt_cv_cc_needs_belf=no
7541 rm -f core conftest.err conftest.$ac_objext \
7542 conftest$ac_exeext conftest.$ac_ext
7543 ac_ext=c
7544 ac_cpp='$CPP $CPPFLAGS'
7545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7551 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7552 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7553 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7554 CFLAGS="$SAVE_CFLAGS"
7557 sparc*-*solaris*)
7558 # Find out which ABI we are using.
7559 echo 'int i;' > conftest.$ac_ext
7560 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7561 (eval $ac_compile) 2>&5
7562 ac_status=$?
7563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7564 test $ac_status = 0; }; then
7565 case `/usr/bin/file conftest.o` in
7566 *64-bit*)
7567 case $lt_cv_prog_gnu_ld in
7568 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7570 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7571 LD="${LD-ld} -64"
7574 esac
7576 esac
7578 rm -rf conftest*
7580 esac
7582 need_locks="$enable_libtool_lock"
7585 case $host_os in
7586 rhapsody* | darwin*)
7587 if test -n "$ac_tool_prefix"; then
7588 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7589 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7591 $as_echo_n "checking for $ac_word... " >&6; }
7592 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7593 $as_echo_n "(cached) " >&6
7594 else
7595 if test -n "$DSYMUTIL"; then
7596 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7597 else
7598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7599 for as_dir in $PATH
7601 IFS=$as_save_IFS
7602 test -z "$as_dir" && as_dir=.
7603 for ac_exec_ext in '' $ac_executable_extensions; do
7604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7605 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7607 break 2
7609 done
7610 done
7611 IFS=$as_save_IFS
7615 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7616 if test -n "$DSYMUTIL"; then
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7618 $as_echo "$DSYMUTIL" >&6; }
7619 else
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7621 $as_echo "no" >&6; }
7626 if test -z "$ac_cv_prog_DSYMUTIL"; then
7627 ac_ct_DSYMUTIL=$DSYMUTIL
7628 # Extract the first word of "dsymutil", so it can be a program name with args.
7629 set dummy dsymutil; ac_word=$2
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7631 $as_echo_n "checking for $ac_word... " >&6; }
7632 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7633 $as_echo_n "(cached) " >&6
7634 else
7635 if test -n "$ac_ct_DSYMUTIL"; then
7636 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7637 else
7638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7639 for as_dir in $PATH
7641 IFS=$as_save_IFS
7642 test -z "$as_dir" && as_dir=.
7643 for ac_exec_ext in '' $ac_executable_extensions; do
7644 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7645 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7647 break 2
7649 done
7650 done
7651 IFS=$as_save_IFS
7655 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7656 if test -n "$ac_ct_DSYMUTIL"; then
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7658 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7659 else
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7661 $as_echo "no" >&6; }
7664 if test "x$ac_ct_DSYMUTIL" = x; then
7665 DSYMUTIL=":"
7666 else
7667 case $cross_compiling:$ac_tool_warned in
7668 yes:)
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7670 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7671 ac_tool_warned=yes ;;
7672 esac
7673 DSYMUTIL=$ac_ct_DSYMUTIL
7675 else
7676 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7679 if test -n "$ac_tool_prefix"; then
7680 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7681 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7683 $as_echo_n "checking for $ac_word... " >&6; }
7684 if ${ac_cv_prog_NMEDIT+:} false; then :
7685 $as_echo_n "(cached) " >&6
7686 else
7687 if test -n "$NMEDIT"; then
7688 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7689 else
7690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7691 for as_dir in $PATH
7693 IFS=$as_save_IFS
7694 test -z "$as_dir" && as_dir=.
7695 for ac_exec_ext in '' $ac_executable_extensions; do
7696 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7697 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7699 break 2
7701 done
7702 done
7703 IFS=$as_save_IFS
7707 NMEDIT=$ac_cv_prog_NMEDIT
7708 if test -n "$NMEDIT"; then
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7710 $as_echo "$NMEDIT" >&6; }
7711 else
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7713 $as_echo "no" >&6; }
7718 if test -z "$ac_cv_prog_NMEDIT"; then
7719 ac_ct_NMEDIT=$NMEDIT
7720 # Extract the first word of "nmedit", so it can be a program name with args.
7721 set dummy nmedit; ac_word=$2
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7723 $as_echo_n "checking for $ac_word... " >&6; }
7724 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7725 $as_echo_n "(cached) " >&6
7726 else
7727 if test -n "$ac_ct_NMEDIT"; then
7728 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7729 else
7730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7731 for as_dir in $PATH
7733 IFS=$as_save_IFS
7734 test -z "$as_dir" && as_dir=.
7735 for ac_exec_ext in '' $ac_executable_extensions; do
7736 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7737 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7739 break 2
7741 done
7742 done
7743 IFS=$as_save_IFS
7747 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7748 if test -n "$ac_ct_NMEDIT"; then
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7750 $as_echo "$ac_ct_NMEDIT" >&6; }
7751 else
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7753 $as_echo "no" >&6; }
7756 if test "x$ac_ct_NMEDIT" = x; then
7757 NMEDIT=":"
7758 else
7759 case $cross_compiling:$ac_tool_warned in
7760 yes:)
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7762 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7763 ac_tool_warned=yes ;;
7764 esac
7765 NMEDIT=$ac_ct_NMEDIT
7767 else
7768 NMEDIT="$ac_cv_prog_NMEDIT"
7771 if test -n "$ac_tool_prefix"; then
7772 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7773 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7775 $as_echo_n "checking for $ac_word... " >&6; }
7776 if ${ac_cv_prog_LIPO+:} false; then :
7777 $as_echo_n "(cached) " >&6
7778 else
7779 if test -n "$LIPO"; then
7780 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7781 else
7782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7783 for as_dir in $PATH
7785 IFS=$as_save_IFS
7786 test -z "$as_dir" && as_dir=.
7787 for ac_exec_ext in '' $ac_executable_extensions; do
7788 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7789 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7791 break 2
7793 done
7794 done
7795 IFS=$as_save_IFS
7799 LIPO=$ac_cv_prog_LIPO
7800 if test -n "$LIPO"; then
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7802 $as_echo "$LIPO" >&6; }
7803 else
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7805 $as_echo "no" >&6; }
7810 if test -z "$ac_cv_prog_LIPO"; then
7811 ac_ct_LIPO=$LIPO
7812 # Extract the first word of "lipo", so it can be a program name with args.
7813 set dummy lipo; ac_word=$2
7814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7815 $as_echo_n "checking for $ac_word... " >&6; }
7816 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7817 $as_echo_n "(cached) " >&6
7818 else
7819 if test -n "$ac_ct_LIPO"; then
7820 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7821 else
7822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7823 for as_dir in $PATH
7825 IFS=$as_save_IFS
7826 test -z "$as_dir" && as_dir=.
7827 for ac_exec_ext in '' $ac_executable_extensions; do
7828 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7829 ac_cv_prog_ac_ct_LIPO="lipo"
7830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7831 break 2
7833 done
7834 done
7835 IFS=$as_save_IFS
7839 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7840 if test -n "$ac_ct_LIPO"; then
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7842 $as_echo "$ac_ct_LIPO" >&6; }
7843 else
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7845 $as_echo "no" >&6; }
7848 if test "x$ac_ct_LIPO" = x; then
7849 LIPO=":"
7850 else
7851 case $cross_compiling:$ac_tool_warned in
7852 yes:)
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7854 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7855 ac_tool_warned=yes ;;
7856 esac
7857 LIPO=$ac_ct_LIPO
7859 else
7860 LIPO="$ac_cv_prog_LIPO"
7863 if test -n "$ac_tool_prefix"; then
7864 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7865 set dummy ${ac_tool_prefix}otool; ac_word=$2
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7867 $as_echo_n "checking for $ac_word... " >&6; }
7868 if ${ac_cv_prog_OTOOL+:} false; then :
7869 $as_echo_n "(cached) " >&6
7870 else
7871 if test -n "$OTOOL"; then
7872 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7873 else
7874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7875 for as_dir in $PATH
7877 IFS=$as_save_IFS
7878 test -z "$as_dir" && as_dir=.
7879 for ac_exec_ext in '' $ac_executable_extensions; do
7880 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7881 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7883 break 2
7885 done
7886 done
7887 IFS=$as_save_IFS
7891 OTOOL=$ac_cv_prog_OTOOL
7892 if test -n "$OTOOL"; then
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7894 $as_echo "$OTOOL" >&6; }
7895 else
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7897 $as_echo "no" >&6; }
7902 if test -z "$ac_cv_prog_OTOOL"; then
7903 ac_ct_OTOOL=$OTOOL
7904 # Extract the first word of "otool", so it can be a program name with args.
7905 set dummy otool; ac_word=$2
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7907 $as_echo_n "checking for $ac_word... " >&6; }
7908 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7909 $as_echo_n "(cached) " >&6
7910 else
7911 if test -n "$ac_ct_OTOOL"; then
7912 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7913 else
7914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7915 for as_dir in $PATH
7917 IFS=$as_save_IFS
7918 test -z "$as_dir" && as_dir=.
7919 for ac_exec_ext in '' $ac_executable_extensions; do
7920 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7921 ac_cv_prog_ac_ct_OTOOL="otool"
7922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7923 break 2
7925 done
7926 done
7927 IFS=$as_save_IFS
7931 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7932 if test -n "$ac_ct_OTOOL"; then
7933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7934 $as_echo "$ac_ct_OTOOL" >&6; }
7935 else
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7937 $as_echo "no" >&6; }
7940 if test "x$ac_ct_OTOOL" = x; then
7941 OTOOL=":"
7942 else
7943 case $cross_compiling:$ac_tool_warned in
7944 yes:)
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7946 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7947 ac_tool_warned=yes ;;
7948 esac
7949 OTOOL=$ac_ct_OTOOL
7951 else
7952 OTOOL="$ac_cv_prog_OTOOL"
7955 if test -n "$ac_tool_prefix"; then
7956 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7957 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7959 $as_echo_n "checking for $ac_word... " >&6; }
7960 if ${ac_cv_prog_OTOOL64+:} false; then :
7961 $as_echo_n "(cached) " >&6
7962 else
7963 if test -n "$OTOOL64"; then
7964 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7965 else
7966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7967 for as_dir in $PATH
7969 IFS=$as_save_IFS
7970 test -z "$as_dir" && as_dir=.
7971 for ac_exec_ext in '' $ac_executable_extensions; do
7972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7973 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7975 break 2
7977 done
7978 done
7979 IFS=$as_save_IFS
7983 OTOOL64=$ac_cv_prog_OTOOL64
7984 if test -n "$OTOOL64"; then
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7986 $as_echo "$OTOOL64" >&6; }
7987 else
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7989 $as_echo "no" >&6; }
7994 if test -z "$ac_cv_prog_OTOOL64"; then
7995 ac_ct_OTOOL64=$OTOOL64
7996 # Extract the first word of "otool64", so it can be a program name with args.
7997 set dummy otool64; ac_word=$2
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7999 $as_echo_n "checking for $ac_word... " >&6; }
8000 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8001 $as_echo_n "(cached) " >&6
8002 else
8003 if test -n "$ac_ct_OTOOL64"; then
8004 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8005 else
8006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8007 for as_dir in $PATH
8009 IFS=$as_save_IFS
8010 test -z "$as_dir" && as_dir=.
8011 for ac_exec_ext in '' $ac_executable_extensions; do
8012 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8013 ac_cv_prog_ac_ct_OTOOL64="otool64"
8014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8015 break 2
8017 done
8018 done
8019 IFS=$as_save_IFS
8023 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8024 if test -n "$ac_ct_OTOOL64"; then
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8026 $as_echo "$ac_ct_OTOOL64" >&6; }
8027 else
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8029 $as_echo "no" >&6; }
8032 if test "x$ac_ct_OTOOL64" = x; then
8033 OTOOL64=":"
8034 else
8035 case $cross_compiling:$ac_tool_warned in
8036 yes:)
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8038 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8039 ac_tool_warned=yes ;;
8040 esac
8041 OTOOL64=$ac_ct_OTOOL64
8043 else
8044 OTOOL64="$ac_cv_prog_OTOOL64"
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8074 $as_echo_n "checking for -single_module linker flag... " >&6; }
8075 if ${lt_cv_apple_cc_single_mod+:} false; then :
8076 $as_echo_n "(cached) " >&6
8077 else
8078 lt_cv_apple_cc_single_mod=no
8079 if test -z "${LT_MULTI_MODULE}"; then
8080 # By default we will add the -single_module flag. You can override
8081 # by either setting the environment variable LT_MULTI_MODULE
8082 # non-empty at configure time, or by adding -multi_module to the
8083 # link flags.
8084 rm -rf libconftest.dylib*
8085 echo "int foo(void){return 1;}" > conftest.c
8086 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8087 -dynamiclib -Wl,-single_module conftest.c" >&5
8088 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8089 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8090 _lt_result=$?
8091 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8092 lt_cv_apple_cc_single_mod=yes
8093 else
8094 cat conftest.err >&5
8096 rm -rf libconftest.dylib*
8097 rm -f conftest.*
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8101 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8103 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8104 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8105 $as_echo_n "(cached) " >&6
8106 else
8107 lt_cv_ld_exported_symbols_list=no
8108 save_LDFLAGS=$LDFLAGS
8109 echo "_main" > conftest.sym
8110 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8111 if test x$gcc_no_link = xyes; then
8112 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8115 /* end confdefs.h. */
8118 main ()
8122 return 0;
8124 _ACEOF
8125 if ac_fn_c_try_link "$LINENO"; then :
8126 lt_cv_ld_exported_symbols_list=yes
8127 else
8128 lt_cv_ld_exported_symbols_list=no
8130 rm -f core conftest.err conftest.$ac_objext \
8131 conftest$ac_exeext conftest.$ac_ext
8132 LDFLAGS="$save_LDFLAGS"
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8136 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8138 $as_echo_n "checking for -force_load linker flag... " >&6; }
8139 if ${lt_cv_ld_force_load+:} false; then :
8140 $as_echo_n "(cached) " >&6
8141 else
8142 lt_cv_ld_force_load=no
8143 cat > conftest.c << _LT_EOF
8144 int forced_loaded() { return 2;}
8145 _LT_EOF
8146 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8147 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8148 echo "$AR cru libconftest.a conftest.o" >&5
8149 $AR cru libconftest.a conftest.o 2>&5
8150 cat > conftest.c << _LT_EOF
8151 int main() { return 0;}
8152 _LT_EOF
8153 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8154 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8155 _lt_result=$?
8156 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8157 lt_cv_ld_force_load=yes
8158 else
8159 cat conftest.err >&5
8161 rm -f conftest.err libconftest.a conftest conftest.c
8162 rm -rf conftest.dSYM
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8166 $as_echo "$lt_cv_ld_force_load" >&6; }
8167 case $host_os in
8168 rhapsody* | darwin1.[012])
8169 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8170 darwin1.*)
8171 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8172 darwin*) # darwin 5.x on
8173 # if running on 10.5 or later, the deployment target defaults
8174 # to the OS version, if on x86, and 10.4, the deployment
8175 # target defaults to 10.4. Don't you love it?
8176 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8177 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8178 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8179 10.[012][,.]*)
8180 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8181 10.*)
8182 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8183 esac
8185 esac
8186 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8187 _lt_dar_single_mod='$single_module'
8189 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8190 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8191 else
8192 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8194 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8195 _lt_dsymutil='~$DSYMUTIL $lib || :'
8196 else
8197 _lt_dsymutil=
8200 esac
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8203 $as_echo_n "checking for ANSI C header files... " >&6; }
8204 if ${ac_cv_header_stdc+:} false; then :
8205 $as_echo_n "(cached) " >&6
8206 else
8207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8208 /* end confdefs.h. */
8209 #include <stdlib.h>
8210 #include <stdarg.h>
8211 #include <string.h>
8212 #include <float.h>
8215 main ()
8219 return 0;
8221 _ACEOF
8222 if ac_fn_c_try_compile "$LINENO"; then :
8223 ac_cv_header_stdc=yes
8224 else
8225 ac_cv_header_stdc=no
8227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8229 if test $ac_cv_header_stdc = yes; then
8230 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8232 /* end confdefs.h. */
8233 #include <string.h>
8235 _ACEOF
8236 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8237 $EGREP "memchr" >/dev/null 2>&1; then :
8239 else
8240 ac_cv_header_stdc=no
8242 rm -f conftest*
8246 if test $ac_cv_header_stdc = yes; then
8247 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8249 /* end confdefs.h. */
8250 #include <stdlib.h>
8252 _ACEOF
8253 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8254 $EGREP "free" >/dev/null 2>&1; then :
8256 else
8257 ac_cv_header_stdc=no
8259 rm -f conftest*
8263 if test $ac_cv_header_stdc = yes; then
8264 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8265 if test "$cross_compiling" = yes; then :
8267 else
8268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8269 /* end confdefs.h. */
8270 #include <ctype.h>
8271 #include <stdlib.h>
8272 #if ((' ' & 0x0FF) == 0x020)
8273 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8274 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8275 #else
8276 # define ISLOWER(c) \
8277 (('a' <= (c) && (c) <= 'i') \
8278 || ('j' <= (c) && (c) <= 'r') \
8279 || ('s' <= (c) && (c) <= 'z'))
8280 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8281 #endif
8283 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8285 main ()
8287 int i;
8288 for (i = 0; i < 256; i++)
8289 if (XOR (islower (i), ISLOWER (i))
8290 || toupper (i) != TOUPPER (i))
8291 return 2;
8292 return 0;
8294 _ACEOF
8295 if ac_fn_c_try_run "$LINENO"; then :
8297 else
8298 ac_cv_header_stdc=no
8300 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8301 conftest.$ac_objext conftest.beam conftest.$ac_ext
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8307 $as_echo "$ac_cv_header_stdc" >&6; }
8308 if test $ac_cv_header_stdc = yes; then
8310 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8314 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8315 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8316 inttypes.h stdint.h unistd.h
8317 do :
8318 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8319 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8321 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8322 cat >>confdefs.h <<_ACEOF
8323 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8324 _ACEOF
8328 done
8331 for ac_header in dlfcn.h
8332 do :
8333 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8335 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8336 cat >>confdefs.h <<_ACEOF
8337 #define HAVE_DLFCN_H 1
8338 _ACEOF
8342 done
8349 # Set options
8354 enable_win32_dll=no
8357 # Check whether --enable-shared was given.
8358 if test "${enable_shared+set}" = set; then :
8359 enableval=$enable_shared; p=${PACKAGE-default}
8360 case $enableval in
8361 yes) enable_shared=yes ;;
8362 no) enable_shared=no ;;
8364 enable_shared=no
8365 # Look at the argument we got. We use all the common list separators.
8366 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8367 for pkg in $enableval; do
8368 IFS="$lt_save_ifs"
8369 if test "X$pkg" = "X$p"; then
8370 enable_shared=yes
8372 done
8373 IFS="$lt_save_ifs"
8375 esac
8376 else
8377 enable_shared=yes
8388 # Check whether --enable-static was given.
8389 if test "${enable_static+set}" = set; then :
8390 enableval=$enable_static; p=${PACKAGE-default}
8391 case $enableval in
8392 yes) enable_static=yes ;;
8393 no) enable_static=no ;;
8395 enable_static=no
8396 # Look at the argument we got. We use all the common list separators.
8397 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8398 for pkg in $enableval; do
8399 IFS="$lt_save_ifs"
8400 if test "X$pkg" = "X$p"; then
8401 enable_static=yes
8403 done
8404 IFS="$lt_save_ifs"
8406 esac
8407 else
8408 enable_static=yes
8420 # Check whether --with-pic was given.
8421 if test "${with_pic+set}" = set; then :
8422 withval=$with_pic; pic_mode="$withval"
8423 else
8424 pic_mode=default
8428 test -z "$pic_mode" && pic_mode=default
8436 # Check whether --enable-fast-install was given.
8437 if test "${enable_fast_install+set}" = set; then :
8438 enableval=$enable_fast_install; p=${PACKAGE-default}
8439 case $enableval in
8440 yes) enable_fast_install=yes ;;
8441 no) enable_fast_install=no ;;
8443 enable_fast_install=no
8444 # Look at the argument we got. We use all the common list separators.
8445 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8446 for pkg in $enableval; do
8447 IFS="$lt_save_ifs"
8448 if test "X$pkg" = "X$p"; then
8449 enable_fast_install=yes
8451 done
8452 IFS="$lt_save_ifs"
8454 esac
8455 else
8456 enable_fast_install=yes
8469 # This can be used to rebuild libtool when needed
8470 LIBTOOL_DEPS="$ltmain"
8472 # Always use our own libtool.
8473 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8500 test -z "$LN_S" && LN_S="ln -s"
8515 if test -n "${ZSH_VERSION+set}" ; then
8516 setopt NO_GLOB_SUBST
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8520 $as_echo_n "checking for objdir... " >&6; }
8521 if ${lt_cv_objdir+:} false; then :
8522 $as_echo_n "(cached) " >&6
8523 else
8524 rm -f .libs 2>/dev/null
8525 mkdir .libs 2>/dev/null
8526 if test -d .libs; then
8527 lt_cv_objdir=.libs
8528 else
8529 # MS-DOS does not allow filenames that begin with a dot.
8530 lt_cv_objdir=_libs
8532 rmdir .libs 2>/dev/null
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8535 $as_echo "$lt_cv_objdir" >&6; }
8536 objdir=$lt_cv_objdir
8542 cat >>confdefs.h <<_ACEOF
8543 #define LT_OBJDIR "$lt_cv_objdir/"
8544 _ACEOF
8549 case $host_os in
8550 aix3*)
8551 # AIX sometimes has problems with the GCC collect2 program. For some
8552 # reason, if we set the COLLECT_NAMES environment variable, the problems
8553 # vanish in a puff of smoke.
8554 if test "X${COLLECT_NAMES+set}" != Xset; then
8555 COLLECT_NAMES=
8556 export COLLECT_NAMES
8559 esac
8561 # Global variables:
8562 ofile=libtool
8563 can_build_shared=yes
8565 # All known linkers require a `.a' archive for static linking (except MSVC,
8566 # which needs '.lib').
8567 libext=a
8569 with_gnu_ld="$lt_cv_prog_gnu_ld"
8571 old_CC="$CC"
8572 old_CFLAGS="$CFLAGS"
8574 # Set sane defaults for various variables
8575 test -z "$CC" && CC=cc
8576 test -z "$LTCC" && LTCC=$CC
8577 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8578 test -z "$LD" && LD=ld
8579 test -z "$ac_objext" && ac_objext=o
8581 for cc_temp in $compiler""; do
8582 case $cc_temp in
8583 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8584 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8585 \-*) ;;
8586 *) break;;
8587 esac
8588 done
8589 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8592 # Only perform the check for file, if the check method requires it
8593 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8594 case $deplibs_check_method in
8595 file_magic*)
8596 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8598 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8599 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8600 $as_echo_n "(cached) " >&6
8601 else
8602 case $MAGIC_CMD in
8603 [\\/*] | ?:[\\/]*)
8604 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8607 lt_save_MAGIC_CMD="$MAGIC_CMD"
8608 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8609 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8610 for ac_dir in $ac_dummy; do
8611 IFS="$lt_save_ifs"
8612 test -z "$ac_dir" && ac_dir=.
8613 if test -f $ac_dir/${ac_tool_prefix}file; then
8614 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8615 if test -n "$file_magic_test_file"; then
8616 case $deplibs_check_method in
8617 "file_magic "*)
8618 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8619 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8620 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8621 $EGREP "$file_magic_regex" > /dev/null; then
8623 else
8624 cat <<_LT_EOF 1>&2
8626 *** Warning: the command libtool uses to detect shared libraries,
8627 *** $file_magic_cmd, produces output that libtool cannot recognize.
8628 *** The result is that libtool may fail to recognize shared libraries
8629 *** as such. This will affect the creation of libtool libraries that
8630 *** depend on shared libraries, but programs linked with such libtool
8631 *** libraries will work regardless of this problem. Nevertheless, you
8632 *** may want to report the problem to your system manager and/or to
8633 *** bug-libtool@gnu.org
8635 _LT_EOF
8636 fi ;;
8637 esac
8639 break
8641 done
8642 IFS="$lt_save_ifs"
8643 MAGIC_CMD="$lt_save_MAGIC_CMD"
8645 esac
8648 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8649 if test -n "$MAGIC_CMD"; then
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8651 $as_echo "$MAGIC_CMD" >&6; }
8652 else
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8654 $as_echo "no" >&6; }
8661 if test -z "$lt_cv_path_MAGIC_CMD"; then
8662 if test -n "$ac_tool_prefix"; then
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8664 $as_echo_n "checking for file... " >&6; }
8665 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8666 $as_echo_n "(cached) " >&6
8667 else
8668 case $MAGIC_CMD in
8669 [\\/*] | ?:[\\/]*)
8670 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8673 lt_save_MAGIC_CMD="$MAGIC_CMD"
8674 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8675 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8676 for ac_dir in $ac_dummy; do
8677 IFS="$lt_save_ifs"
8678 test -z "$ac_dir" && ac_dir=.
8679 if test -f $ac_dir/file; then
8680 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8681 if test -n "$file_magic_test_file"; then
8682 case $deplibs_check_method in
8683 "file_magic "*)
8684 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8685 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8686 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8687 $EGREP "$file_magic_regex" > /dev/null; then
8689 else
8690 cat <<_LT_EOF 1>&2
8692 *** Warning: the command libtool uses to detect shared libraries,
8693 *** $file_magic_cmd, produces output that libtool cannot recognize.
8694 *** The result is that libtool may fail to recognize shared libraries
8695 *** as such. This will affect the creation of libtool libraries that
8696 *** depend on shared libraries, but programs linked with such libtool
8697 *** libraries will work regardless of this problem. Nevertheless, you
8698 *** may want to report the problem to your system manager and/or to
8699 *** bug-libtool@gnu.org
8701 _LT_EOF
8702 fi ;;
8703 esac
8705 break
8707 done
8708 IFS="$lt_save_ifs"
8709 MAGIC_CMD="$lt_save_MAGIC_CMD"
8711 esac
8714 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8715 if test -n "$MAGIC_CMD"; then
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8717 $as_echo "$MAGIC_CMD" >&6; }
8718 else
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8720 $as_echo "no" >&6; }
8724 else
8725 MAGIC_CMD=:
8731 esac
8733 # Use C for the default configuration in the libtool script
8735 lt_save_CC="$CC"
8736 ac_ext=c
8737 ac_cpp='$CPP $CPPFLAGS'
8738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8743 # Source file extension for C test sources.
8744 ac_ext=c
8746 # Object file extension for compiled C test sources.
8747 objext=o
8748 objext=$objext
8750 # Code to be used in simple compile tests
8751 lt_simple_compile_test_code="int some_variable = 0;"
8753 # Code to be used in simple link tests
8754 lt_simple_link_test_code='int main(){return(0);}'
8762 # If no C compiler was specified, use CC.
8763 LTCC=${LTCC-"$CC"}
8765 # If no C compiler flags were specified, use CFLAGS.
8766 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8768 # Allow CC to be a program name with arguments.
8769 compiler=$CC
8771 # Save the default compiler, since it gets overwritten when the other
8772 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8773 compiler_DEFAULT=$CC
8775 # save warnings/boilerplate of simple test code
8776 ac_outfile=conftest.$ac_objext
8777 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8778 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8779 _lt_compiler_boilerplate=`cat conftest.err`
8780 $RM conftest*
8782 ac_outfile=conftest.$ac_objext
8783 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8784 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8785 _lt_linker_boilerplate=`cat conftest.err`
8786 $RM -r conftest*
8789 ## CAVEAT EMPTOR:
8790 ## There is no encapsulation within the following macros, do not change
8791 ## the running order or otherwise move them around unless you know exactly
8792 ## what you are doing...
8793 if test -n "$compiler"; then
8795 lt_prog_compiler_no_builtin_flag=
8797 if test "$GCC" = yes; then
8798 case $cc_basename in
8799 nvcc*)
8800 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8802 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8803 esac
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8806 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8807 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8808 $as_echo_n "(cached) " >&6
8809 else
8810 lt_cv_prog_compiler_rtti_exceptions=no
8811 ac_outfile=conftest.$ac_objext
8812 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8813 lt_compiler_flag="-fno-rtti -fno-exceptions"
8814 # Insert the option either (1) after the last *FLAGS variable, or
8815 # (2) before a word containing "conftest.", or (3) at the end.
8816 # Note that $ac_compile itself does not contain backslashes and begins
8817 # with a dollar sign (not a hyphen), so the echo should work correctly.
8818 # The option is referenced via a variable to avoid confusing sed.
8819 lt_compile=`echo "$ac_compile" | $SED \
8820 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8821 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8822 -e 's:$: $lt_compiler_flag:'`
8823 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8824 (eval "$lt_compile" 2>conftest.err)
8825 ac_status=$?
8826 cat conftest.err >&5
8827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8828 if (exit $ac_status) && test -s "$ac_outfile"; then
8829 # The compiler can only warn and ignore the option if not recognized
8830 # So say no if there are warnings other than the usual output.
8831 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8832 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8833 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8834 lt_cv_prog_compiler_rtti_exceptions=yes
8837 $RM conftest*
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8841 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8843 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8844 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8845 else
8856 lt_prog_compiler_wl=
8857 lt_prog_compiler_pic=
8858 lt_prog_compiler_static=
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8861 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8863 if test "$GCC" = yes; then
8864 lt_prog_compiler_wl='-Wl,'
8865 lt_prog_compiler_static='-static'
8867 case $host_os in
8868 aix*)
8869 # All AIX code is PIC.
8870 if test "$host_cpu" = ia64; then
8871 # AIX 5 now supports IA64 processor
8872 lt_prog_compiler_static='-Bstatic'
8874 lt_prog_compiler_pic='-fPIC'
8877 amigaos*)
8878 case $host_cpu in
8879 powerpc)
8880 # see comment about AmigaOS4 .so support
8881 lt_prog_compiler_pic='-fPIC'
8883 m68k)
8884 # FIXME: we need at least 68020 code to build shared libraries, but
8885 # adding the `-m68020' flag to GCC prevents building anything better,
8886 # like `-m68040'.
8887 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8889 esac
8892 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8893 # PIC is the default for these OSes.
8896 mingw* | cygwin* | pw32* | os2* | cegcc*)
8897 # This hack is so that the source file can tell whether it is being
8898 # built for inclusion in a dll (and should export symbols for example).
8899 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8900 # (--disable-auto-import) libraries
8901 lt_prog_compiler_pic='-DDLL_EXPORT'
8904 darwin* | rhapsody*)
8905 # PIC is the default on this platform
8906 # Common symbols not allowed in MH_DYLIB files
8907 lt_prog_compiler_pic='-fno-common'
8910 haiku*)
8911 # PIC is the default for Haiku.
8912 # The "-static" flag exists, but is broken.
8913 lt_prog_compiler_static=
8916 hpux*)
8917 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8918 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8919 # sets the default TLS model and affects inlining.
8920 case $host_cpu in
8921 hppa*64*)
8922 # +Z the default
8925 lt_prog_compiler_pic='-fPIC'
8927 esac
8930 interix[3-9]*)
8931 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8932 # Instead, we relocate shared libraries at runtime.
8935 msdosdjgpp*)
8936 # Just because we use GCC doesn't mean we suddenly get shared libraries
8937 # on systems that don't support them.
8938 lt_prog_compiler_can_build_shared=no
8939 enable_shared=no
8942 *nto* | *qnx*)
8943 # QNX uses GNU C++, but need to define -shared option too, otherwise
8944 # it will coredump.
8945 lt_prog_compiler_pic='-fPIC -shared'
8948 sysv4*MP*)
8949 if test -d /usr/nec; then
8950 lt_prog_compiler_pic=-Kconform_pic
8955 lt_prog_compiler_pic='-fPIC'
8957 esac
8959 case $cc_basename in
8960 nvcc*) # Cuda Compiler Driver 2.2
8961 lt_prog_compiler_wl='-Xlinker '
8962 lt_prog_compiler_pic='-Xcompiler -fPIC'
8964 esac
8965 else
8966 # PORTME Check for flag to pass linker flags through the system compiler.
8967 case $host_os in
8968 aix*)
8969 lt_prog_compiler_wl='-Wl,'
8970 if test "$host_cpu" = ia64; then
8971 # AIX 5 now supports IA64 processor
8972 lt_prog_compiler_static='-Bstatic'
8973 else
8974 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8978 mingw* | cygwin* | pw32* | os2* | cegcc*)
8979 # This hack is so that the source file can tell whether it is being
8980 # built for inclusion in a dll (and should export symbols for example).
8981 lt_prog_compiler_pic='-DDLL_EXPORT'
8984 hpux9* | hpux10* | hpux11*)
8985 lt_prog_compiler_wl='-Wl,'
8986 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8987 # not for PA HP-UX.
8988 case $host_cpu in
8989 hppa*64*|ia64*)
8990 # +Z the default
8993 lt_prog_compiler_pic='+Z'
8995 esac
8996 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8997 lt_prog_compiler_static='${wl}-a ${wl}archive'
9000 irix5* | irix6* | nonstopux*)
9001 lt_prog_compiler_wl='-Wl,'
9002 # PIC (with -KPIC) is the default.
9003 lt_prog_compiler_static='-non_shared'
9006 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9007 case $cc_basename in
9008 # old Intel for x86_64 which still supported -KPIC.
9009 ecc*)
9010 lt_prog_compiler_wl='-Wl,'
9011 lt_prog_compiler_pic='-KPIC'
9012 lt_prog_compiler_static='-static'
9014 # icc used to be incompatible with GCC.
9015 # ICC 10 doesn't accept -KPIC any more.
9016 icc* | ifort*)
9017 lt_prog_compiler_wl='-Wl,'
9018 lt_prog_compiler_pic='-fPIC'
9019 lt_prog_compiler_static='-static'
9021 # Lahey Fortran 8.1.
9022 lf95*)
9023 lt_prog_compiler_wl='-Wl,'
9024 lt_prog_compiler_pic='--shared'
9025 lt_prog_compiler_static='--static'
9027 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9028 # Portland Group compilers (*not* the Pentium gcc compiler,
9029 # which looks to be a dead project)
9030 lt_prog_compiler_wl='-Wl,'
9031 lt_prog_compiler_pic='-fpic'
9032 lt_prog_compiler_static='-Bstatic'
9034 ccc*)
9035 lt_prog_compiler_wl='-Wl,'
9036 # All Alpha code is PIC.
9037 lt_prog_compiler_static='-non_shared'
9039 xl* | bgxl* | bgf* | mpixl*)
9040 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9041 lt_prog_compiler_wl='-Wl,'
9042 lt_prog_compiler_pic='-qpic'
9043 lt_prog_compiler_static='-qstaticlink'
9046 case `$CC -V 2>&1 | sed 5q` in
9047 *Sun\ F* | *Sun*Fortran*)
9048 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9049 lt_prog_compiler_pic='-KPIC'
9050 lt_prog_compiler_static='-Bstatic'
9051 lt_prog_compiler_wl=''
9053 *Sun\ C*)
9054 # Sun C 5.9
9055 lt_prog_compiler_pic='-KPIC'
9056 lt_prog_compiler_static='-Bstatic'
9057 lt_prog_compiler_wl='-Wl,'
9059 esac
9061 esac
9064 newsos6)
9065 lt_prog_compiler_pic='-KPIC'
9066 lt_prog_compiler_static='-Bstatic'
9069 *nto* | *qnx*)
9070 # QNX uses GNU C++, but need to define -shared option too, otherwise
9071 # it will coredump.
9072 lt_prog_compiler_pic='-fPIC -shared'
9075 osf3* | osf4* | osf5*)
9076 lt_prog_compiler_wl='-Wl,'
9077 # All OSF/1 code is PIC.
9078 lt_prog_compiler_static='-non_shared'
9081 rdos*)
9082 lt_prog_compiler_static='-non_shared'
9085 solaris*)
9086 lt_prog_compiler_pic='-KPIC'
9087 lt_prog_compiler_static='-Bstatic'
9088 case $cc_basename in
9089 f77* | f90* | f95*)
9090 lt_prog_compiler_wl='-Qoption ld ';;
9092 lt_prog_compiler_wl='-Wl,';;
9093 esac
9096 sunos4*)
9097 lt_prog_compiler_wl='-Qoption ld '
9098 lt_prog_compiler_pic='-PIC'
9099 lt_prog_compiler_static='-Bstatic'
9102 sysv4 | sysv4.2uw2* | sysv4.3*)
9103 lt_prog_compiler_wl='-Wl,'
9104 lt_prog_compiler_pic='-KPIC'
9105 lt_prog_compiler_static='-Bstatic'
9108 sysv4*MP*)
9109 if test -d /usr/nec ;then
9110 lt_prog_compiler_pic='-Kconform_pic'
9111 lt_prog_compiler_static='-Bstatic'
9115 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9116 lt_prog_compiler_wl='-Wl,'
9117 lt_prog_compiler_pic='-KPIC'
9118 lt_prog_compiler_static='-Bstatic'
9121 unicos*)
9122 lt_prog_compiler_wl='-Wl,'
9123 lt_prog_compiler_can_build_shared=no
9126 uts4*)
9127 lt_prog_compiler_pic='-pic'
9128 lt_prog_compiler_static='-Bstatic'
9132 lt_prog_compiler_can_build_shared=no
9134 esac
9137 case $host_os in
9138 # For platforms which do not support PIC, -DPIC is meaningless:
9139 *djgpp*)
9140 lt_prog_compiler_pic=
9143 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9145 esac
9146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9147 $as_echo "$lt_prog_compiler_pic" >&6; }
9155 # Check to make sure the PIC flag actually works.
9157 if test -n "$lt_prog_compiler_pic"; then
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9159 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9160 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9161 $as_echo_n "(cached) " >&6
9162 else
9163 lt_cv_prog_compiler_pic_works=no
9164 ac_outfile=conftest.$ac_objext
9165 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9166 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9167 # Insert the option either (1) after the last *FLAGS variable, or
9168 # (2) before a word containing "conftest.", or (3) at the end.
9169 # Note that $ac_compile itself does not contain backslashes and begins
9170 # with a dollar sign (not a hyphen), so the echo should work correctly.
9171 # The option is referenced via a variable to avoid confusing sed.
9172 lt_compile=`echo "$ac_compile" | $SED \
9173 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9174 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9175 -e 's:$: $lt_compiler_flag:'`
9176 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9177 (eval "$lt_compile" 2>conftest.err)
9178 ac_status=$?
9179 cat conftest.err >&5
9180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9181 if (exit $ac_status) && test -s "$ac_outfile"; then
9182 # The compiler can only warn and ignore the option if not recognized
9183 # So say no if there are warnings other than the usual output.
9184 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9185 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9186 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9187 lt_cv_prog_compiler_pic_works=yes
9190 $RM conftest*
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9194 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9196 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9197 case $lt_prog_compiler_pic in
9198 "" | " "*) ;;
9199 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9200 esac
9201 else
9202 lt_prog_compiler_pic=
9203 lt_prog_compiler_can_build_shared=no
9214 # Check to make sure the static flag actually works.
9216 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9218 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9219 if ${lt_cv_prog_compiler_static_works+:} false; then :
9220 $as_echo_n "(cached) " >&6
9221 else
9222 lt_cv_prog_compiler_static_works=no
9223 save_LDFLAGS="$LDFLAGS"
9224 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9225 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9226 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9227 # The linker can only warn and ignore the option if not recognized
9228 # So say no if there are warnings
9229 if test -s conftest.err; then
9230 # Append any errors to the config.log.
9231 cat conftest.err 1>&5
9232 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9233 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9234 if diff conftest.exp conftest.er2 >/dev/null; then
9235 lt_cv_prog_compiler_static_works=yes
9237 else
9238 lt_cv_prog_compiler_static_works=yes
9241 $RM -r conftest*
9242 LDFLAGS="$save_LDFLAGS"
9245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9246 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9248 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9250 else
9251 lt_prog_compiler_static=
9260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9261 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9262 if ${lt_cv_prog_compiler_c_o+:} false; then :
9263 $as_echo_n "(cached) " >&6
9264 else
9265 lt_cv_prog_compiler_c_o=no
9266 $RM -r conftest 2>/dev/null
9267 mkdir conftest
9268 cd conftest
9269 mkdir out
9270 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9272 lt_compiler_flag="-o out/conftest2.$ac_objext"
9273 # Insert the option either (1) after the last *FLAGS variable, or
9274 # (2) before a word containing "conftest.", or (3) at the end.
9275 # Note that $ac_compile itself does not contain backslashes and begins
9276 # with a dollar sign (not a hyphen), so the echo should work correctly.
9277 lt_compile=`echo "$ac_compile" | $SED \
9278 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9279 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9280 -e 's:$: $lt_compiler_flag:'`
9281 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9282 (eval "$lt_compile" 2>out/conftest.err)
9283 ac_status=$?
9284 cat out/conftest.err >&5
9285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9286 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9287 then
9288 # The compiler can only warn and ignore the option if not recognized
9289 # So say no if there are warnings
9290 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9291 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9292 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9293 lt_cv_prog_compiler_c_o=yes
9296 chmod u+w . 2>&5
9297 $RM conftest*
9298 # SGI C++ compiler will create directory out/ii_files/ for
9299 # template instantiation
9300 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9301 $RM out/* && rmdir out
9302 cd ..
9303 $RM -r conftest
9304 $RM conftest*
9307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9308 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9316 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9317 if ${lt_cv_prog_compiler_c_o+:} false; then :
9318 $as_echo_n "(cached) " >&6
9319 else
9320 lt_cv_prog_compiler_c_o=no
9321 $RM -r conftest 2>/dev/null
9322 mkdir conftest
9323 cd conftest
9324 mkdir out
9325 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9327 lt_compiler_flag="-o out/conftest2.$ac_objext"
9328 # Insert the option either (1) after the last *FLAGS variable, or
9329 # (2) before a word containing "conftest.", or (3) at the end.
9330 # Note that $ac_compile itself does not contain backslashes and begins
9331 # with a dollar sign (not a hyphen), so the echo should work correctly.
9332 lt_compile=`echo "$ac_compile" | $SED \
9333 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9334 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9335 -e 's:$: $lt_compiler_flag:'`
9336 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9337 (eval "$lt_compile" 2>out/conftest.err)
9338 ac_status=$?
9339 cat out/conftest.err >&5
9340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9341 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9342 then
9343 # The compiler can only warn and ignore the option if not recognized
9344 # So say no if there are warnings
9345 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9346 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9347 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9348 lt_cv_prog_compiler_c_o=yes
9351 chmod u+w . 2>&5
9352 $RM conftest*
9353 # SGI C++ compiler will create directory out/ii_files/ for
9354 # template instantiation
9355 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9356 $RM out/* && rmdir out
9357 cd ..
9358 $RM -r conftest
9359 $RM conftest*
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9363 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9368 hard_links="nottested"
9369 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9370 # do not overwrite the value of need_locks provided by the user
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9372 $as_echo_n "checking if we can lock with hard links... " >&6; }
9373 hard_links=yes
9374 $RM conftest*
9375 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9376 touch conftest.a
9377 ln conftest.a conftest.b 2>&5 || hard_links=no
9378 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9380 $as_echo "$hard_links" >&6; }
9381 if test "$hard_links" = no; then
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9383 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9384 need_locks=warn
9386 else
9387 need_locks=no
9395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9396 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9398 runpath_var=
9399 allow_undefined_flag=
9400 always_export_symbols=no
9401 archive_cmds=
9402 archive_expsym_cmds=
9403 compiler_needs_object=no
9404 enable_shared_with_static_runtimes=no
9405 export_dynamic_flag_spec=
9406 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9407 hardcode_automatic=no
9408 hardcode_direct=no
9409 hardcode_direct_absolute=no
9410 hardcode_libdir_flag_spec=
9411 hardcode_libdir_flag_spec_ld=
9412 hardcode_libdir_separator=
9413 hardcode_minus_L=no
9414 hardcode_shlibpath_var=unsupported
9415 inherit_rpath=no
9416 link_all_deplibs=unknown
9417 module_cmds=
9418 module_expsym_cmds=
9419 old_archive_from_new_cmds=
9420 old_archive_from_expsyms_cmds=
9421 thread_safe_flag_spec=
9422 whole_archive_flag_spec=
9423 # include_expsyms should be a list of space-separated symbols to be *always*
9424 # included in the symbol list
9425 include_expsyms=
9426 # exclude_expsyms can be an extended regexp of symbols to exclude
9427 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9428 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9429 # as well as any symbol that contains `d'.
9430 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9431 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9432 # platforms (ab)use it in PIC code, but their linkers get confused if
9433 # the symbol is explicitly referenced. Since portable code cannot
9434 # rely on this symbol name, it's probably fine to never include it in
9435 # preloaded symbol tables.
9436 # Exclude shared library initialization/finalization symbols.
9437 extract_expsyms_cmds=
9439 case $host_os in
9440 cygwin* | mingw* | pw32* | cegcc*)
9441 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9442 # When not using gcc, we currently assume that we are using
9443 # Microsoft Visual C++.
9444 if test "$GCC" != yes; then
9445 with_gnu_ld=no
9448 interix*)
9449 # we just hope/assume this is gcc and not c89 (= MSVC++)
9450 with_gnu_ld=yes
9452 openbsd*)
9453 with_gnu_ld=no
9455 esac
9457 ld_shlibs=yes
9459 # On some targets, GNU ld is compatible enough with the native linker
9460 # that we're better off using the native interface for both.
9461 lt_use_gnu_ld_interface=no
9462 if test "$with_gnu_ld" = yes; then
9463 case $host_os in
9464 aix*)
9465 # The AIX port of GNU ld has always aspired to compatibility
9466 # with the native linker. However, as the warning in the GNU ld
9467 # block says, versions before 2.19.5* couldn't really create working
9468 # shared libraries, regardless of the interface used.
9469 case `$LD -v 2>&1` in
9470 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9471 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9472 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9474 lt_use_gnu_ld_interface=yes
9476 esac
9479 lt_use_gnu_ld_interface=yes
9481 esac
9484 if test "$lt_use_gnu_ld_interface" = yes; then
9485 # If archive_cmds runs LD, not CC, wlarc should be empty
9486 wlarc='${wl}'
9488 # Set some defaults for GNU ld with shared library support. These
9489 # are reset later if shared libraries are not supported. Putting them
9490 # here allows them to be overridden if necessary.
9491 runpath_var=LD_RUN_PATH
9492 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9493 export_dynamic_flag_spec='${wl}--export-dynamic'
9494 # ancient GNU ld didn't support --whole-archive et. al.
9495 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9496 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9497 else
9498 whole_archive_flag_spec=
9500 supports_anon_versioning=no
9501 case `$LD -v 2>&1` in
9502 *GNU\ gold*) supports_anon_versioning=yes ;;
9503 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9504 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9505 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9506 *\ 2.11.*) ;; # other 2.11 versions
9507 *) supports_anon_versioning=yes ;;
9508 esac
9510 # See if GNU ld supports shared libraries.
9511 case $host_os in
9512 aix[3-9]*)
9513 # On AIX/PPC, the GNU linker is very broken
9514 if test "$host_cpu" != ia64; then
9515 ld_shlibs=no
9516 cat <<_LT_EOF 1>&2
9518 *** Warning: the GNU linker, at least up to release 2.19, is reported
9519 *** to be unable to reliably create shared libraries on AIX.
9520 *** Therefore, libtool is disabling shared libraries support. If you
9521 *** really care for shared libraries, you may want to install binutils
9522 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9523 *** You will then need to restart the configuration process.
9525 _LT_EOF
9529 amigaos*)
9530 case $host_cpu in
9531 powerpc)
9532 # see comment about AmigaOS4 .so support
9533 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9534 archive_expsym_cmds=''
9536 m68k)
9537 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)'
9538 hardcode_libdir_flag_spec='-L$libdir'
9539 hardcode_minus_L=yes
9541 esac
9544 beos*)
9545 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9546 allow_undefined_flag=unsupported
9547 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9548 # support --undefined. This deserves some investigation. FIXME
9549 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9550 else
9551 ld_shlibs=no
9555 cygwin* | mingw* | pw32* | cegcc*)
9556 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9557 # as there is no search path for DLLs.
9558 hardcode_libdir_flag_spec='-L$libdir'
9559 export_dynamic_flag_spec='${wl}--export-all-symbols'
9560 allow_undefined_flag=unsupported
9561 always_export_symbols=no
9562 enable_shared_with_static_runtimes=yes
9563 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9565 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9566 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9567 # If the export-symbols file already is a .def file (1st line
9568 # is EXPORTS), use it as is; otherwise, prepend...
9569 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9570 cp $export_symbols $output_objdir/$soname.def;
9571 else
9572 echo EXPORTS > $output_objdir/$soname.def;
9573 cat $export_symbols >> $output_objdir/$soname.def;
9575 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9576 else
9577 ld_shlibs=no
9581 haiku*)
9582 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9583 link_all_deplibs=yes
9586 interix[3-9]*)
9587 hardcode_direct=no
9588 hardcode_shlibpath_var=no
9589 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9590 export_dynamic_flag_spec='${wl}-E'
9591 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9592 # Instead, shared libraries are loaded at an image base (0x10000000 by
9593 # default) and relocated if they conflict, which is a slow very memory
9594 # consuming and fragmenting process. To avoid this, we pick a random,
9595 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9596 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9597 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9598 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'
9601 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9602 tmp_diet=no
9603 if test "$host_os" = linux-dietlibc; then
9604 case $cc_basename in
9605 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9606 esac
9608 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9609 && test "$tmp_diet" = no
9610 then
9611 tmp_addflag=' $pic_flag'
9612 tmp_sharedflag='-shared'
9613 case $cc_basename,$host_cpu in
9614 pgcc*) # Portland Group C compiler
9615 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'
9616 tmp_addflag=' $pic_flag'
9618 pgf77* | pgf90* | pgf95* | pgfortran*)
9619 # Portland Group f77 and f90 compilers
9620 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'
9621 tmp_addflag=' $pic_flag -Mnomain' ;;
9622 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9623 tmp_addflag=' -i_dynamic' ;;
9624 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9625 tmp_addflag=' -i_dynamic -nofor_main' ;;
9626 ifc* | ifort*) # Intel Fortran compiler
9627 tmp_addflag=' -nofor_main' ;;
9628 lf95*) # Lahey Fortran 8.1
9629 whole_archive_flag_spec=
9630 tmp_sharedflag='--shared' ;;
9631 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9632 tmp_sharedflag='-qmkshrobj'
9633 tmp_addflag= ;;
9634 nvcc*) # Cuda Compiler Driver 2.2
9635 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'
9636 compiler_needs_object=yes
9638 esac
9639 case `$CC -V 2>&1 | sed 5q` in
9640 *Sun\ C*) # Sun C 5.9
9641 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'
9642 compiler_needs_object=yes
9643 tmp_sharedflag='-G' ;;
9644 *Sun\ F*) # Sun Fortran 8.3
9645 tmp_sharedflag='-G' ;;
9646 esac
9647 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9649 if test "x$supports_anon_versioning" = xyes; then
9650 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9651 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9652 echo "local: *; };" >> $output_objdir/$libname.ver~
9653 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9656 case $cc_basename in
9657 xlf* | bgf* | bgxlf* | mpixlf*)
9658 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9659 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9660 hardcode_libdir_flag_spec=
9661 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9662 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9663 if test "x$supports_anon_versioning" = xyes; then
9664 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9665 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9666 echo "local: *; };" >> $output_objdir/$libname.ver~
9667 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9670 esac
9671 else
9672 ld_shlibs=no
9676 netbsd*)
9677 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9678 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9679 wlarc=
9680 else
9681 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9682 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9686 solaris*)
9687 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9688 ld_shlibs=no
9689 cat <<_LT_EOF 1>&2
9691 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9692 *** create shared libraries on Solaris systems. Therefore, libtool
9693 *** is disabling shared libraries support. We urge you to upgrade GNU
9694 *** binutils to release 2.9.1 or newer. Another option is to modify
9695 *** your PATH or compiler configuration so that the native linker is
9696 *** used, and then restart.
9698 _LT_EOF
9699 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9700 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9701 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9702 else
9703 ld_shlibs=no
9707 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9708 case `$LD -v 2>&1` in
9709 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9710 ld_shlibs=no
9711 cat <<_LT_EOF 1>&2
9713 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9714 *** reliably create shared libraries on SCO systems. Therefore, libtool
9715 *** is disabling shared libraries support. We urge you to upgrade GNU
9716 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9717 *** your PATH or compiler configuration so that the native linker is
9718 *** used, and then restart.
9720 _LT_EOF
9723 # For security reasons, it is highly recommended that you always
9724 # use absolute paths for naming shared libraries, and exclude the
9725 # DT_RUNPATH tag from executables and libraries. But doing so
9726 # requires that you compile everything twice, which is a pain.
9727 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9728 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9729 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9730 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9731 else
9732 ld_shlibs=no
9735 esac
9738 sunos4*)
9739 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9740 wlarc=
9741 hardcode_direct=yes
9742 hardcode_shlibpath_var=no
9746 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9747 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9748 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9749 else
9750 ld_shlibs=no
9753 esac
9755 if test "$ld_shlibs" = no; then
9756 runpath_var=
9757 hardcode_libdir_flag_spec=
9758 export_dynamic_flag_spec=
9759 whole_archive_flag_spec=
9761 else
9762 # PORTME fill in a description of your system's linker (not GNU ld)
9763 case $host_os in
9764 aix3*)
9765 allow_undefined_flag=unsupported
9766 always_export_symbols=yes
9767 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'
9768 # Note: this linker hardcodes the directories in LIBPATH if there
9769 # are no directories specified by -L.
9770 hardcode_minus_L=yes
9771 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9772 # Neither direct hardcoding nor static linking is supported with a
9773 # broken collect2.
9774 hardcode_direct=unsupported
9778 aix[4-9]*)
9779 if test "$host_cpu" = ia64; then
9780 # On IA64, the linker does run time linking by default, so we don't
9781 # have to do anything special.
9782 aix_use_runtimelinking=no
9783 exp_sym_flag='-Bexport'
9784 no_entry_flag=""
9785 else
9786 # If we're using GNU nm, then we don't want the "-C" option.
9787 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9788 # Also, AIX nm treats weak defined symbols like other global
9789 # defined symbols, whereas GNU nm marks them as "W".
9790 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9791 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'
9792 else
9793 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'
9795 aix_use_runtimelinking=no
9797 # Test if we are trying to use run time linking or normal
9798 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9799 # need to do runtime linking.
9800 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9801 for ld_flag in $LDFLAGS; do
9802 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9803 aix_use_runtimelinking=yes
9804 break
9806 done
9808 esac
9810 exp_sym_flag='-bexport'
9811 no_entry_flag='-bnoentry'
9814 # When large executables or shared objects are built, AIX ld can
9815 # have problems creating the table of contents. If linking a library
9816 # or program results in "error TOC overflow" add -mminimal-toc to
9817 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9818 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9820 archive_cmds=''
9821 hardcode_direct=yes
9822 hardcode_direct_absolute=yes
9823 hardcode_libdir_separator=':'
9824 link_all_deplibs=yes
9825 file_list_spec='${wl}-f,'
9827 if test "$GCC" = yes; then
9828 case $host_os in aix4.[012]|aix4.[012].*)
9829 # We only want to do this on AIX 4.2 and lower, the check
9830 # below for broken collect2 doesn't work under 4.3+
9831 collect2name=`${CC} -print-prog-name=collect2`
9832 if test -f "$collect2name" &&
9833 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9834 then
9835 # We have reworked collect2
9837 else
9838 # We have old collect2
9839 hardcode_direct=unsupported
9840 # It fails to find uninstalled libraries when the uninstalled
9841 # path is not listed in the libpath. Setting hardcode_minus_L
9842 # to unsupported forces relinking
9843 hardcode_minus_L=yes
9844 hardcode_libdir_flag_spec='-L$libdir'
9845 hardcode_libdir_separator=
9848 esac
9849 shared_flag='-shared'
9850 if test "$aix_use_runtimelinking" = yes; then
9851 shared_flag="$shared_flag "'${wl}-G'
9853 else
9854 # not using gcc
9855 if test "$host_cpu" = ia64; then
9856 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9857 # chokes on -Wl,-G. The following line is correct:
9858 shared_flag='-G'
9859 else
9860 if test "$aix_use_runtimelinking" = yes; then
9861 shared_flag='${wl}-G'
9862 else
9863 shared_flag='${wl}-bM:SRE'
9868 export_dynamic_flag_spec='${wl}-bexpall'
9869 # It seems that -bexpall does not export symbols beginning with
9870 # underscore (_), so it is better to generate a list of symbols to export.
9871 always_export_symbols=yes
9872 if test "$aix_use_runtimelinking" = yes; then
9873 # Warning - without using the other runtime loading flags (-brtl),
9874 # -berok will link without error, but may produce a broken library.
9875 allow_undefined_flag='-berok'
9876 # Determine the default libpath from the value encoded in an
9877 # empty executable.
9878 if test x$gcc_no_link = xyes; then
9879 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9882 /* end confdefs.h. */
9885 main ()
9889 return 0;
9891 _ACEOF
9892 if ac_fn_c_try_link "$LINENO"; then :
9894 lt_aix_libpath_sed='
9895 /Import File Strings/,/^$/ {
9896 /^0/ {
9897 s/^0 *\(.*\)$/\1/
9901 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9902 # Check for a 64-bit object if we didn't find anything.
9903 if test -z "$aix_libpath"; then
9904 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9907 rm -f core conftest.err conftest.$ac_objext \
9908 conftest$ac_exeext conftest.$ac_ext
9909 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9911 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9912 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"
9913 else
9914 if test "$host_cpu" = ia64; then
9915 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9916 allow_undefined_flag="-z nodefs"
9917 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"
9918 else
9919 # Determine the default libpath from the value encoded in an
9920 # empty executable.
9921 if test x$gcc_no_link = xyes; then
9922 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9925 /* end confdefs.h. */
9928 main ()
9932 return 0;
9934 _ACEOF
9935 if ac_fn_c_try_link "$LINENO"; then :
9937 lt_aix_libpath_sed='
9938 /Import File Strings/,/^$/ {
9939 /^0/ {
9940 s/^0 *\(.*\)$/\1/
9944 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9945 # Check for a 64-bit object if we didn't find anything.
9946 if test -z "$aix_libpath"; then
9947 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9950 rm -f core conftest.err conftest.$ac_objext \
9951 conftest$ac_exeext conftest.$ac_ext
9952 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9954 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9955 # Warning - without using the other run time loading flags,
9956 # -berok will link without error, but may produce a broken library.
9957 no_undefined_flag=' ${wl}-bernotok'
9958 allow_undefined_flag=' ${wl}-berok'
9959 if test "$with_gnu_ld" = yes; then
9960 # We only use this code for GNU lds that support --whole-archive.
9961 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9962 else
9963 # Exported symbols can be pulled into shared objects from archives
9964 whole_archive_flag_spec='$convenience'
9966 archive_cmds_need_lc=yes
9967 # This is similar to how AIX traditionally builds its shared libraries.
9968 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'
9973 amigaos*)
9974 case $host_cpu in
9975 powerpc)
9976 # see comment about AmigaOS4 .so support
9977 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9978 archive_expsym_cmds=''
9980 m68k)
9981 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)'
9982 hardcode_libdir_flag_spec='-L$libdir'
9983 hardcode_minus_L=yes
9985 esac
9988 bsdi[45]*)
9989 export_dynamic_flag_spec=-rdynamic
9992 cygwin* | mingw* | pw32* | cegcc*)
9993 # When not using gcc, we currently assume that we are using
9994 # Microsoft Visual C++.
9995 # hardcode_libdir_flag_spec is actually meaningless, as there is
9996 # no search path for DLLs.
9997 hardcode_libdir_flag_spec=' '
9998 allow_undefined_flag=unsupported
9999 # Tell ltmain to make .lib files, not .a files.
10000 libext=lib
10001 # Tell ltmain to make .dll files, not .so files.
10002 shrext_cmds=".dll"
10003 # FIXME: Setting linknames here is a bad hack.
10004 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10005 # The linker will automatically build a .lib file if we build a DLL.
10006 old_archive_from_new_cmds='true'
10007 # FIXME: Should let the user specify the lib program.
10008 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10009 fix_srcfile_path='`cygpath -w "$srcfile"`'
10010 enable_shared_with_static_runtimes=yes
10013 darwin* | rhapsody*)
10016 archive_cmds_need_lc=no
10017 hardcode_direct=no
10018 hardcode_automatic=yes
10019 hardcode_shlibpath_var=unsupported
10020 if test "$lt_cv_ld_force_load" = "yes"; then
10021 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\"`'
10022 else
10023 whole_archive_flag_spec=''
10025 link_all_deplibs=yes
10026 allow_undefined_flag="$_lt_dar_allow_undefined"
10027 case $cc_basename in
10028 ifort*) _lt_dar_can_shared=yes ;;
10029 *) _lt_dar_can_shared=$GCC ;;
10030 esac
10031 if test "$_lt_dar_can_shared" = "yes"; then
10032 output_verbose_link_cmd=func_echo_all
10033 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10034 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10035 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}"
10036 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}"
10038 else
10039 ld_shlibs=no
10044 dgux*)
10045 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10046 hardcode_libdir_flag_spec='-L$libdir'
10047 hardcode_shlibpath_var=no
10050 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10051 # support. Future versions do this automatically, but an explicit c++rt0.o
10052 # does not break anything, and helps significantly (at the cost of a little
10053 # extra space).
10054 freebsd2.2*)
10055 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10056 hardcode_libdir_flag_spec='-R$libdir'
10057 hardcode_direct=yes
10058 hardcode_shlibpath_var=no
10061 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10062 freebsd2.*)
10063 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10064 hardcode_direct=yes
10065 hardcode_minus_L=yes
10066 hardcode_shlibpath_var=no
10069 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10070 freebsd* | dragonfly*)
10071 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10072 hardcode_libdir_flag_spec='-R$libdir'
10073 hardcode_direct=yes
10074 hardcode_shlibpath_var=no
10077 hpux9*)
10078 if test "$GCC" = yes; then
10079 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'
10080 else
10081 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'
10083 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10084 hardcode_libdir_separator=:
10085 hardcode_direct=yes
10087 # hardcode_minus_L: Not really in the search PATH,
10088 # but as the default location of the library.
10089 hardcode_minus_L=yes
10090 export_dynamic_flag_spec='${wl}-E'
10093 hpux10*)
10094 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10095 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10096 else
10097 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10099 if test "$with_gnu_ld" = no; then
10100 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10101 hardcode_libdir_flag_spec_ld='+b $libdir'
10102 hardcode_libdir_separator=:
10103 hardcode_direct=yes
10104 hardcode_direct_absolute=yes
10105 export_dynamic_flag_spec='${wl}-E'
10106 # hardcode_minus_L: Not really in the search PATH,
10107 # but as the default location of the library.
10108 hardcode_minus_L=yes
10112 hpux11*)
10113 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10114 case $host_cpu in
10115 hppa*64*)
10116 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10118 ia64*)
10119 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10122 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10124 esac
10125 else
10126 case $host_cpu in
10127 hppa*64*)
10128 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10130 ia64*)
10131 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10135 # Older versions of the 11.00 compiler do not understand -b yet
10136 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10138 $as_echo_n "checking if $CC understands -b... " >&6; }
10139 if ${lt_cv_prog_compiler__b+:} false; then :
10140 $as_echo_n "(cached) " >&6
10141 else
10142 lt_cv_prog_compiler__b=no
10143 save_LDFLAGS="$LDFLAGS"
10144 LDFLAGS="$LDFLAGS -b"
10145 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10146 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10147 # The linker can only warn and ignore the option if not recognized
10148 # So say no if there are warnings
10149 if test -s conftest.err; then
10150 # Append any errors to the config.log.
10151 cat conftest.err 1>&5
10152 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10153 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10154 if diff conftest.exp conftest.er2 >/dev/null; then
10155 lt_cv_prog_compiler__b=yes
10157 else
10158 lt_cv_prog_compiler__b=yes
10161 $RM -r conftest*
10162 LDFLAGS="$save_LDFLAGS"
10165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10166 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10168 if test x"$lt_cv_prog_compiler__b" = xyes; then
10169 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10170 else
10171 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10175 esac
10177 if test "$with_gnu_ld" = no; then
10178 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10179 hardcode_libdir_separator=:
10181 case $host_cpu in
10182 hppa*64*|ia64*)
10183 hardcode_direct=no
10184 hardcode_shlibpath_var=no
10187 hardcode_direct=yes
10188 hardcode_direct_absolute=yes
10189 export_dynamic_flag_spec='${wl}-E'
10191 # hardcode_minus_L: Not really in the search PATH,
10192 # but as the default location of the library.
10193 hardcode_minus_L=yes
10195 esac
10199 irix5* | irix6* | nonstopux*)
10200 if test "$GCC" = yes; then
10201 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'
10202 # Try to use the -exported_symbol ld option, if it does not
10203 # work, assume that -exports_file does not work either and
10204 # implicitly export all symbols.
10205 save_LDFLAGS="$LDFLAGS"
10206 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10207 if test x$gcc_no_link = xyes; then
10208 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10211 /* end confdefs.h. */
10212 int foo(void) {}
10213 _ACEOF
10214 if ac_fn_c_try_link "$LINENO"; then :
10215 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'
10218 rm -f core conftest.err conftest.$ac_objext \
10219 conftest$ac_exeext conftest.$ac_ext
10220 LDFLAGS="$save_LDFLAGS"
10221 else
10222 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'
10223 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'
10225 archive_cmds_need_lc='no'
10226 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10227 hardcode_libdir_separator=:
10228 inherit_rpath=yes
10229 link_all_deplibs=yes
10232 netbsd*)
10233 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10234 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10235 else
10236 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10238 hardcode_libdir_flag_spec='-R$libdir'
10239 hardcode_direct=yes
10240 hardcode_shlibpath_var=no
10243 newsos6)
10244 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10245 hardcode_direct=yes
10246 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10247 hardcode_libdir_separator=:
10248 hardcode_shlibpath_var=no
10251 *nto* | *qnx*)
10254 openbsd*)
10255 if test -f /usr/libexec/ld.so; then
10256 hardcode_direct=yes
10257 hardcode_shlibpath_var=no
10258 hardcode_direct_absolute=yes
10259 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10260 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10261 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10262 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10263 export_dynamic_flag_spec='${wl}-E'
10264 else
10265 case $host_os in
10266 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10267 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10268 hardcode_libdir_flag_spec='-R$libdir'
10271 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10272 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10274 esac
10276 else
10277 ld_shlibs=no
10281 os2*)
10282 hardcode_libdir_flag_spec='-L$libdir'
10283 hardcode_minus_L=yes
10284 allow_undefined_flag=unsupported
10285 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'
10286 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10289 osf3*)
10290 if test "$GCC" = yes; then
10291 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10292 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'
10293 else
10294 allow_undefined_flag=' -expect_unresolved \*'
10295 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'
10297 archive_cmds_need_lc='no'
10298 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10299 hardcode_libdir_separator=:
10302 osf4* | osf5*) # as osf3* with the addition of -msym flag
10303 if test "$GCC" = yes; then
10304 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10305 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'
10306 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10307 else
10308 allow_undefined_flag=' -expect_unresolved \*'
10309 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'
10310 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~
10311 $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'
10313 # Both c and cxx compiler support -rpath directly
10314 hardcode_libdir_flag_spec='-rpath $libdir'
10316 archive_cmds_need_lc='no'
10317 hardcode_libdir_separator=:
10320 solaris*)
10321 no_undefined_flag=' -z defs'
10322 if test "$GCC" = yes; then
10323 wlarc='${wl}'
10324 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10325 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10326 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10327 else
10328 case `$CC -V 2>&1` in
10329 *"Compilers 5.0"*)
10330 wlarc=''
10331 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10332 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10333 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10336 wlarc='${wl}'
10337 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10338 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10339 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10341 esac
10343 hardcode_libdir_flag_spec='-R$libdir'
10344 hardcode_shlibpath_var=no
10345 case $host_os in
10346 solaris2.[0-5] | solaris2.[0-5].*) ;;
10348 # The compiler driver will combine and reorder linker options,
10349 # but understands `-z linker_flag'. GCC discards it without `$wl',
10350 # but is careful enough not to reorder.
10351 # Supported since Solaris 2.6 (maybe 2.5.1?)
10352 if test "$GCC" = yes; then
10353 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10354 else
10355 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10358 esac
10359 link_all_deplibs=yes
10362 sunos4*)
10363 if test "x$host_vendor" = xsequent; then
10364 # Use $CC to link under sequent, because it throws in some extra .o
10365 # files that make .init and .fini sections work.
10366 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10367 else
10368 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10370 hardcode_libdir_flag_spec='-L$libdir'
10371 hardcode_direct=yes
10372 hardcode_minus_L=yes
10373 hardcode_shlibpath_var=no
10376 sysv4)
10377 case $host_vendor in
10378 sni)
10379 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10380 hardcode_direct=yes # is this really true???
10382 siemens)
10383 ## LD is ld it makes a PLAMLIB
10384 ## CC just makes a GrossModule.
10385 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10386 reload_cmds='$CC -r -o $output$reload_objs'
10387 hardcode_direct=no
10389 motorola)
10390 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10391 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10393 esac
10394 runpath_var='LD_RUN_PATH'
10395 hardcode_shlibpath_var=no
10398 sysv4.3*)
10399 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10400 hardcode_shlibpath_var=no
10401 export_dynamic_flag_spec='-Bexport'
10404 sysv4*MP*)
10405 if test -d /usr/nec; then
10406 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10407 hardcode_shlibpath_var=no
10408 runpath_var=LD_RUN_PATH
10409 hardcode_runpath_var=yes
10410 ld_shlibs=yes
10414 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10415 no_undefined_flag='${wl}-z,text'
10416 archive_cmds_need_lc=no
10417 hardcode_shlibpath_var=no
10418 runpath_var='LD_RUN_PATH'
10420 if test "$GCC" = yes; then
10421 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10422 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10423 else
10424 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10425 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10429 sysv5* | sco3.2v5* | sco5v6*)
10430 # Note: We can NOT use -z defs as we might desire, because we do not
10431 # link with -lc, and that would cause any symbols used from libc to
10432 # always be unresolved, which means just about no library would
10433 # ever link correctly. If we're not using GNU ld we use -z text
10434 # though, which does catch some bad symbols but isn't as heavy-handed
10435 # as -z defs.
10436 no_undefined_flag='${wl}-z,text'
10437 allow_undefined_flag='${wl}-z,nodefs'
10438 archive_cmds_need_lc=no
10439 hardcode_shlibpath_var=no
10440 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10441 hardcode_libdir_separator=':'
10442 link_all_deplibs=yes
10443 export_dynamic_flag_spec='${wl}-Bexport'
10444 runpath_var='LD_RUN_PATH'
10446 if test "$GCC" = yes; then
10447 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10448 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10449 else
10450 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10451 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10455 uts4*)
10456 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10457 hardcode_libdir_flag_spec='-L$libdir'
10458 hardcode_shlibpath_var=no
10462 ld_shlibs=no
10464 esac
10466 if test x$host_vendor = xsni; then
10467 case $host in
10468 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10469 export_dynamic_flag_spec='${wl}-Blargedynsym'
10471 esac
10475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10476 $as_echo "$ld_shlibs" >&6; }
10477 test "$ld_shlibs" = no && can_build_shared=no
10479 with_gnu_ld=$with_gnu_ld
10496 # Do we need to explicitly link libc?
10498 case "x$archive_cmds_need_lc" in
10499 x|xyes)
10500 # Assume -lc should be added
10501 archive_cmds_need_lc=yes
10503 if test "$enable_shared" = yes && test "$GCC" = yes; then
10504 case $archive_cmds in
10505 *'~'*)
10506 # FIXME: we may have to deal with multi-command sequences.
10508 '$CC '*)
10509 # Test whether the compiler implicitly links with -lc since on some
10510 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10511 # to ld, don't add -lc before -lgcc.
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10513 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10514 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10515 $as_echo_n "(cached) " >&6
10516 else
10517 $RM conftest*
10518 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10520 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10521 (eval $ac_compile) 2>&5
10522 ac_status=$?
10523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10524 test $ac_status = 0; } 2>conftest.err; then
10525 soname=conftest
10526 lib=conftest
10527 libobjs=conftest.$ac_objext
10528 deplibs=
10529 wl=$lt_prog_compiler_wl
10530 pic_flag=$lt_prog_compiler_pic
10531 compiler_flags=-v
10532 linker_flags=-v
10533 verstring=
10534 output_objdir=.
10535 libname=conftest
10536 lt_save_allow_undefined_flag=$allow_undefined_flag
10537 allow_undefined_flag=
10538 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10539 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10540 ac_status=$?
10541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10542 test $ac_status = 0; }
10543 then
10544 lt_cv_archive_cmds_need_lc=no
10545 else
10546 lt_cv_archive_cmds_need_lc=yes
10548 allow_undefined_flag=$lt_save_allow_undefined_flag
10549 else
10550 cat conftest.err 1>&5
10552 $RM conftest*
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10556 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10557 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10559 esac
10562 esac
10720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10721 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10723 if test "$GCC" = yes; then
10724 case $host_os in
10725 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10726 *) lt_awk_arg="/^libraries:/" ;;
10727 esac
10728 case $host_os in
10729 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10730 *) lt_sed_strip_eq="s,=/,/,g" ;;
10731 esac
10732 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10733 case $lt_search_path_spec in
10734 *\;*)
10735 # if the path contains ";" then we assume it to be the separator
10736 # otherwise default to the standard path separator (i.e. ":") - it is
10737 # assumed that no part of a normal pathname contains ";" but that should
10738 # okay in the real world where ";" in dirpaths is itself problematic.
10739 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10742 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10744 esac
10745 # Ok, now we have the path, separated by spaces, we can step through it
10746 # and add multilib dir if necessary.
10747 lt_tmp_lt_search_path_spec=
10748 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10749 for lt_sys_path in $lt_search_path_spec; do
10750 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10751 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10752 else
10753 test -d "$lt_sys_path" && \
10754 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10756 done
10757 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10758 BEGIN {RS=" "; FS="/|\n";} {
10759 lt_foo="";
10760 lt_count=0;
10761 for (lt_i = NF; lt_i > 0; lt_i--) {
10762 if ($lt_i != "" && $lt_i != ".") {
10763 if ($lt_i == "..") {
10764 lt_count++;
10765 } else {
10766 if (lt_count == 0) {
10767 lt_foo="/" $lt_i lt_foo;
10768 } else {
10769 lt_count--;
10774 if (lt_foo != "") { lt_freq[lt_foo]++; }
10775 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10777 # AWK program above erroneously prepends '/' to C:/dos/paths
10778 # for these hosts.
10779 case $host_os in
10780 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10781 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10782 esac
10783 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10784 else
10785 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10787 library_names_spec=
10788 libname_spec='lib$name'
10789 soname_spec=
10790 shrext_cmds=".so"
10791 postinstall_cmds=
10792 postuninstall_cmds=
10793 finish_cmds=
10794 finish_eval=
10795 shlibpath_var=
10796 shlibpath_overrides_runpath=unknown
10797 version_type=none
10798 dynamic_linker="$host_os ld.so"
10799 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10800 need_lib_prefix=unknown
10801 hardcode_into_libs=no
10803 # when you set need_version to no, make sure it does not cause -set_version
10804 # flags to be left without arguments
10805 need_version=unknown
10807 case $host_os in
10808 aix3*)
10809 version_type=linux
10810 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10811 shlibpath_var=LIBPATH
10813 # AIX 3 has no versioning support, so we append a major version to the name.
10814 soname_spec='${libname}${release}${shared_ext}$major'
10817 aix[4-9]*)
10818 version_type=linux
10819 need_lib_prefix=no
10820 need_version=no
10821 hardcode_into_libs=yes
10822 if test "$host_cpu" = ia64; then
10823 # AIX 5 supports IA64
10824 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10825 shlibpath_var=LD_LIBRARY_PATH
10826 else
10827 # With GCC up to 2.95.x, collect2 would create an import file
10828 # for dependence libraries. The import file would start with
10829 # the line `#! .'. This would cause the generated library to
10830 # depend on `.', always an invalid library. This was fixed in
10831 # development snapshots of GCC prior to 3.0.
10832 case $host_os in
10833 aix4 | aix4.[01] | aix4.[01].*)
10834 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10835 echo ' yes '
10836 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10838 else
10839 can_build_shared=no
10842 esac
10843 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10844 # soname into executable. Probably we can add versioning support to
10845 # collect2, so additional links can be useful in future.
10846 if test "$aix_use_runtimelinking" = yes; then
10847 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10848 # instead of lib<name>.a to let people know that these are not
10849 # typical AIX shared libraries.
10850 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10851 else
10852 # We preserve .a as extension for shared libraries through AIX4.2
10853 # and later when we are not doing run time linking.
10854 library_names_spec='${libname}${release}.a $libname.a'
10855 soname_spec='${libname}${release}${shared_ext}$major'
10857 shlibpath_var=LIBPATH
10861 amigaos*)
10862 case $host_cpu in
10863 powerpc)
10864 # Since July 2007 AmigaOS4 officially supports .so libraries.
10865 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10866 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10868 m68k)
10869 library_names_spec='$libname.ixlibrary $libname.a'
10870 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10871 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'
10873 esac
10876 beos*)
10877 library_names_spec='${libname}${shared_ext}'
10878 dynamic_linker="$host_os ld.so"
10879 shlibpath_var=LIBRARY_PATH
10882 bsdi[45]*)
10883 version_type=linux
10884 need_version=no
10885 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10886 soname_spec='${libname}${release}${shared_ext}$major'
10887 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10888 shlibpath_var=LD_LIBRARY_PATH
10889 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10890 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10891 # the default ld.so.conf also contains /usr/contrib/lib and
10892 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10893 # libtool to hard-code these into programs
10896 cygwin* | mingw* | pw32* | cegcc*)
10897 version_type=windows
10898 shrext_cmds=".dll"
10899 need_version=no
10900 need_lib_prefix=no
10902 case $GCC,$host_os in
10903 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10904 library_names_spec='$libname.dll.a'
10905 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10906 postinstall_cmds='base_file=`basename \${file}`~
10907 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10908 dldir=$destdir/`dirname \$dlpath`~
10909 test -d \$dldir || mkdir -p \$dldir~
10910 $install_prog $dir/$dlname \$dldir/$dlname~
10911 chmod a+x \$dldir/$dlname~
10912 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10913 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10915 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10916 dlpath=$dir/\$dldll~
10917 $RM \$dlpath'
10918 shlibpath_overrides_runpath=yes
10920 case $host_os in
10921 cygwin*)
10922 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10923 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10925 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10927 mingw* | cegcc*)
10928 # MinGW DLLs use traditional 'lib' prefix
10929 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10931 pw32*)
10932 # pw32 DLLs use 'pw' prefix rather than 'lib'
10933 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10935 esac
10939 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10941 esac
10942 dynamic_linker='Win32 ld.exe'
10943 # FIXME: first we should search . and the directory the executable is in
10944 shlibpath_var=PATH
10947 darwin* | rhapsody*)
10948 dynamic_linker="$host_os dyld"
10949 version_type=darwin
10950 need_lib_prefix=no
10951 need_version=no
10952 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10953 soname_spec='${libname}${release}${major}$shared_ext'
10954 shlibpath_overrides_runpath=yes
10955 shlibpath_var=DYLD_LIBRARY_PATH
10956 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10958 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10959 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10962 dgux*)
10963 version_type=linux
10964 need_lib_prefix=no
10965 need_version=no
10966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10967 soname_spec='${libname}${release}${shared_ext}$major'
10968 shlibpath_var=LD_LIBRARY_PATH
10971 freebsd* | dragonfly*)
10972 # DragonFly does not have aout. When/if they implement a new
10973 # versioning mechanism, adjust this.
10974 if test -x /usr/bin/objformat; then
10975 objformat=`/usr/bin/objformat`
10976 else
10977 case $host_os in
10978 freebsd[23].*) objformat=aout ;;
10979 *) objformat=elf ;;
10980 esac
10982 version_type=freebsd-$objformat
10983 case $version_type in
10984 freebsd-elf*)
10985 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10986 need_version=no
10987 need_lib_prefix=no
10989 freebsd-*)
10990 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10991 need_version=yes
10993 esac
10994 shlibpath_var=LD_LIBRARY_PATH
10995 case $host_os in
10996 freebsd2.*)
10997 shlibpath_overrides_runpath=yes
10999 freebsd3.[01]* | freebsdelf3.[01]*)
11000 shlibpath_overrides_runpath=yes
11001 hardcode_into_libs=yes
11003 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11004 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11005 shlibpath_overrides_runpath=no
11006 hardcode_into_libs=yes
11008 *) # from 4.6 on, and DragonFly
11009 shlibpath_overrides_runpath=yes
11010 hardcode_into_libs=yes
11012 esac
11015 gnu*)
11016 version_type=linux
11017 need_lib_prefix=no
11018 need_version=no
11019 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11020 soname_spec='${libname}${release}${shared_ext}$major'
11021 shlibpath_var=LD_LIBRARY_PATH
11022 hardcode_into_libs=yes
11025 haiku*)
11026 version_type=linux
11027 need_lib_prefix=no
11028 need_version=no
11029 dynamic_linker="$host_os runtime_loader"
11030 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11031 soname_spec='${libname}${release}${shared_ext}$major'
11032 shlibpath_var=LIBRARY_PATH
11033 shlibpath_overrides_runpath=yes
11034 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11035 hardcode_into_libs=yes
11038 hpux9* | hpux10* | hpux11*)
11039 # Give a soname corresponding to the major version so that dld.sl refuses to
11040 # link against other versions.
11041 version_type=sunos
11042 need_lib_prefix=no
11043 need_version=no
11044 case $host_cpu in
11045 ia64*)
11046 shrext_cmds='.so'
11047 hardcode_into_libs=yes
11048 dynamic_linker="$host_os dld.so"
11049 shlibpath_var=LD_LIBRARY_PATH
11050 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11051 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11052 soname_spec='${libname}${release}${shared_ext}$major'
11053 if test "X$HPUX_IA64_MODE" = X32; then
11054 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11055 else
11056 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11058 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11060 hppa*64*)
11061 shrext_cmds='.sl'
11062 hardcode_into_libs=yes
11063 dynamic_linker="$host_os dld.sl"
11064 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11065 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11066 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11067 soname_spec='${libname}${release}${shared_ext}$major'
11068 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11069 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11072 shrext_cmds='.sl'
11073 dynamic_linker="$host_os dld.sl"
11074 shlibpath_var=SHLIB_PATH
11075 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11076 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11077 soname_spec='${libname}${release}${shared_ext}$major'
11079 esac
11080 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11081 postinstall_cmds='chmod 555 $lib'
11082 # or fails outright, so override atomically:
11083 install_override_mode=555
11086 interix[3-9]*)
11087 version_type=linux
11088 need_lib_prefix=no
11089 need_version=no
11090 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11091 soname_spec='${libname}${release}${shared_ext}$major'
11092 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11093 shlibpath_var=LD_LIBRARY_PATH
11094 shlibpath_overrides_runpath=no
11095 hardcode_into_libs=yes
11098 irix5* | irix6* | nonstopux*)
11099 case $host_os in
11100 nonstopux*) version_type=nonstopux ;;
11102 if test "$lt_cv_prog_gnu_ld" = yes; then
11103 version_type=linux
11104 else
11105 version_type=irix
11106 fi ;;
11107 esac
11108 need_lib_prefix=no
11109 need_version=no
11110 soname_spec='${libname}${release}${shared_ext}$major'
11111 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11112 case $host_os in
11113 irix5* | nonstopux*)
11114 libsuff= shlibsuff=
11117 case $LD in # libtool.m4 will add one of these switches to LD
11118 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11119 libsuff= shlibsuff= libmagic=32-bit;;
11120 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11121 libsuff=32 shlibsuff=N32 libmagic=N32;;
11122 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11123 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11124 *) libsuff= shlibsuff= libmagic=never-match;;
11125 esac
11127 esac
11128 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11129 shlibpath_overrides_runpath=no
11130 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11131 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11132 hardcode_into_libs=yes
11135 # No shared lib support for Linux oldld, aout, or coff.
11136 linux*oldld* | linux*aout* | linux*coff*)
11137 dynamic_linker=no
11140 # This must be Linux ELF.
11141 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11142 version_type=linux
11143 need_lib_prefix=no
11144 need_version=no
11145 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11146 soname_spec='${libname}${release}${shared_ext}$major'
11147 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11148 shlibpath_var=LD_LIBRARY_PATH
11149 shlibpath_overrides_runpath=no
11151 # Some binutils ld are patched to set DT_RUNPATH
11152 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11153 $as_echo_n "(cached) " >&6
11154 else
11155 lt_cv_shlibpath_overrides_runpath=no
11156 save_LDFLAGS=$LDFLAGS
11157 save_libdir=$libdir
11158 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11159 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11160 if test x$gcc_no_link = xyes; then
11161 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11164 /* end confdefs.h. */
11167 main ()
11171 return 0;
11173 _ACEOF
11174 if ac_fn_c_try_link "$LINENO"; then :
11175 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11176 lt_cv_shlibpath_overrides_runpath=yes
11179 rm -f core conftest.err conftest.$ac_objext \
11180 conftest$ac_exeext conftest.$ac_ext
11181 LDFLAGS=$save_LDFLAGS
11182 libdir=$save_libdir
11186 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11188 # This implies no fast_install, which is unacceptable.
11189 # Some rework will be needed to allow for fast_install
11190 # before this can be enabled.
11191 hardcode_into_libs=yes
11193 # Append ld.so.conf contents to the search path
11194 if test -f /etc/ld.so.conf; then
11195 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' ' '`
11196 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11199 # We used to test for /lib/ld.so.1 and disable shared libraries on
11200 # powerpc, because MkLinux only supported shared libraries with the
11201 # GNU dynamic linker. Since this was broken with cross compilers,
11202 # most powerpc-linux boxes support dynamic linking these days and
11203 # people can always --disable-shared, the test was removed, and we
11204 # assume the GNU/Linux dynamic linker is in use.
11205 dynamic_linker='GNU/Linux ld.so'
11208 netbsd*)
11209 version_type=sunos
11210 need_lib_prefix=no
11211 need_version=no
11212 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11213 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11214 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11215 dynamic_linker='NetBSD (a.out) ld.so'
11216 else
11217 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11218 soname_spec='${libname}${release}${shared_ext}$major'
11219 dynamic_linker='NetBSD ld.elf_so'
11221 shlibpath_var=LD_LIBRARY_PATH
11222 shlibpath_overrides_runpath=yes
11223 hardcode_into_libs=yes
11226 newsos6)
11227 version_type=linux
11228 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11229 shlibpath_var=LD_LIBRARY_PATH
11230 shlibpath_overrides_runpath=yes
11233 *nto* | *qnx*)
11234 version_type=qnx
11235 need_lib_prefix=no
11236 need_version=no
11237 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11238 soname_spec='${libname}${release}${shared_ext}$major'
11239 shlibpath_var=LD_LIBRARY_PATH
11240 shlibpath_overrides_runpath=no
11241 hardcode_into_libs=yes
11242 dynamic_linker='ldqnx.so'
11245 openbsd*)
11246 version_type=sunos
11247 sys_lib_dlsearch_path_spec="/usr/lib"
11248 need_lib_prefix=no
11249 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11250 case $host_os in
11251 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11252 *) need_version=no ;;
11253 esac
11254 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11255 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11256 shlibpath_var=LD_LIBRARY_PATH
11257 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11258 case $host_os in
11259 openbsd2.[89] | openbsd2.[89].*)
11260 shlibpath_overrides_runpath=no
11263 shlibpath_overrides_runpath=yes
11265 esac
11266 else
11267 shlibpath_overrides_runpath=yes
11271 os2*)
11272 libname_spec='$name'
11273 shrext_cmds=".dll"
11274 need_lib_prefix=no
11275 library_names_spec='$libname${shared_ext} $libname.a'
11276 dynamic_linker='OS/2 ld.exe'
11277 shlibpath_var=LIBPATH
11280 osf3* | osf4* | osf5*)
11281 version_type=osf
11282 need_lib_prefix=no
11283 need_version=no
11284 soname_spec='${libname}${release}${shared_ext}$major'
11285 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11286 shlibpath_var=LD_LIBRARY_PATH
11287 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11288 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11291 rdos*)
11292 dynamic_linker=no
11295 solaris*)
11296 version_type=linux
11297 need_lib_prefix=no
11298 need_version=no
11299 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11300 soname_spec='${libname}${release}${shared_ext}$major'
11301 shlibpath_var=LD_LIBRARY_PATH
11302 shlibpath_overrides_runpath=yes
11303 hardcode_into_libs=yes
11304 # ldd complains unless libraries are executable
11305 postinstall_cmds='chmod +x $lib'
11308 sunos4*)
11309 version_type=sunos
11310 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11311 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11312 shlibpath_var=LD_LIBRARY_PATH
11313 shlibpath_overrides_runpath=yes
11314 if test "$with_gnu_ld" = yes; then
11315 need_lib_prefix=no
11317 need_version=yes
11320 sysv4 | sysv4.3*)
11321 version_type=linux
11322 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11323 soname_spec='${libname}${release}${shared_ext}$major'
11324 shlibpath_var=LD_LIBRARY_PATH
11325 case $host_vendor in
11326 sni)
11327 shlibpath_overrides_runpath=no
11328 need_lib_prefix=no
11329 runpath_var=LD_RUN_PATH
11331 siemens)
11332 need_lib_prefix=no
11334 motorola)
11335 need_lib_prefix=no
11336 need_version=no
11337 shlibpath_overrides_runpath=no
11338 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11340 esac
11343 sysv4*MP*)
11344 if test -d /usr/nec ;then
11345 version_type=linux
11346 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11347 soname_spec='$libname${shared_ext}.$major'
11348 shlibpath_var=LD_LIBRARY_PATH
11352 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11353 version_type=freebsd-elf
11354 need_lib_prefix=no
11355 need_version=no
11356 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11357 soname_spec='${libname}${release}${shared_ext}$major'
11358 shlibpath_var=LD_LIBRARY_PATH
11359 shlibpath_overrides_runpath=yes
11360 hardcode_into_libs=yes
11361 if test "$with_gnu_ld" = yes; then
11362 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11363 else
11364 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11365 case $host_os in
11366 sco3.2v5*)
11367 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11369 esac
11371 sys_lib_dlsearch_path_spec='/usr/lib'
11374 tpf*)
11375 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11376 version_type=linux
11377 need_lib_prefix=no
11378 need_version=no
11379 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11380 shlibpath_var=LD_LIBRARY_PATH
11381 shlibpath_overrides_runpath=no
11382 hardcode_into_libs=yes
11385 uts4*)
11386 version_type=linux
11387 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11388 soname_spec='${libname}${release}${shared_ext}$major'
11389 shlibpath_var=LD_LIBRARY_PATH
11393 dynamic_linker=no
11395 esac
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11397 $as_echo "$dynamic_linker" >&6; }
11398 test "$dynamic_linker" = no && can_build_shared=no
11400 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11401 if test "$GCC" = yes; then
11402 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11405 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11406 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11408 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11409 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11504 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11505 hardcode_action=
11506 if test -n "$hardcode_libdir_flag_spec" ||
11507 test -n "$runpath_var" ||
11508 test "X$hardcode_automatic" = "Xyes" ; then
11510 # We can hardcode non-existent directories.
11511 if test "$hardcode_direct" != no &&
11512 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11513 # have to relink, otherwise we might link with an installed library
11514 # when we should be linking with a yet-to-be-installed one
11515 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11516 test "$hardcode_minus_L" != no; then
11517 # Linking always hardcodes the temporary library directory.
11518 hardcode_action=relink
11519 else
11520 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11521 hardcode_action=immediate
11523 else
11524 # We cannot hardcode anything, or else we can only hardcode existing
11525 # directories.
11526 hardcode_action=unsupported
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11529 $as_echo "$hardcode_action" >&6; }
11531 if test "$hardcode_action" = relink ||
11532 test "$inherit_rpath" = yes; then
11533 # Fast installation is not supported
11534 enable_fast_install=no
11535 elif test "$shlibpath_overrides_runpath" = yes ||
11536 test "$enable_shared" = no; then
11537 # Fast installation is not necessary
11538 enable_fast_install=needless
11546 if test "x$enable_dlopen" != xyes; then
11547 enable_dlopen=unknown
11548 enable_dlopen_self=unknown
11549 enable_dlopen_self_static=unknown
11550 else
11551 lt_cv_dlopen=no
11552 lt_cv_dlopen_libs=
11554 case $host_os in
11555 beos*)
11556 lt_cv_dlopen="load_add_on"
11557 lt_cv_dlopen_libs=
11558 lt_cv_dlopen_self=yes
11561 mingw* | pw32* | cegcc*)
11562 lt_cv_dlopen="LoadLibrary"
11563 lt_cv_dlopen_libs=
11566 cygwin*)
11567 lt_cv_dlopen="dlopen"
11568 lt_cv_dlopen_libs=
11571 darwin*)
11572 # if libdl is installed we need to link against it
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11574 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11575 if ${ac_cv_lib_dl_dlopen+:} false; then :
11576 $as_echo_n "(cached) " >&6
11577 else
11578 ac_check_lib_save_LIBS=$LIBS
11579 LIBS="-ldl $LIBS"
11580 if test x$gcc_no_link = xyes; then
11581 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11584 /* end confdefs.h. */
11586 /* Override any GCC internal prototype to avoid an error.
11587 Use char because int might match the return type of a GCC
11588 builtin and then its argument prototype would still apply. */
11589 #ifdef __cplusplus
11590 extern "C"
11591 #endif
11592 char dlopen ();
11594 main ()
11596 return dlopen ();
11598 return 0;
11600 _ACEOF
11601 if ac_fn_c_try_link "$LINENO"; then :
11602 ac_cv_lib_dl_dlopen=yes
11603 else
11604 ac_cv_lib_dl_dlopen=no
11606 rm -f core conftest.err conftest.$ac_objext \
11607 conftest$ac_exeext conftest.$ac_ext
11608 LIBS=$ac_check_lib_save_LIBS
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11611 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11612 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11613 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11614 else
11616 lt_cv_dlopen="dyld"
11617 lt_cv_dlopen_libs=
11618 lt_cv_dlopen_self=yes
11625 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11626 if test "x$ac_cv_func_shl_load" = xyes; then :
11627 lt_cv_dlopen="shl_load"
11628 else
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11630 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11631 if ${ac_cv_lib_dld_shl_load+:} false; then :
11632 $as_echo_n "(cached) " >&6
11633 else
11634 ac_check_lib_save_LIBS=$LIBS
11635 LIBS="-ldld $LIBS"
11636 if test x$gcc_no_link = xyes; then
11637 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11640 /* end confdefs.h. */
11642 /* Override any GCC internal prototype to avoid an error.
11643 Use char because int might match the return type of a GCC
11644 builtin and then its argument prototype would still apply. */
11645 #ifdef __cplusplus
11646 extern "C"
11647 #endif
11648 char shl_load ();
11650 main ()
11652 return shl_load ();
11654 return 0;
11656 _ACEOF
11657 if ac_fn_c_try_link "$LINENO"; then :
11658 ac_cv_lib_dld_shl_load=yes
11659 else
11660 ac_cv_lib_dld_shl_load=no
11662 rm -f core conftest.err conftest.$ac_objext \
11663 conftest$ac_exeext conftest.$ac_ext
11664 LIBS=$ac_check_lib_save_LIBS
11666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11667 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11668 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11669 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11670 else
11671 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11672 if test "x$ac_cv_func_dlopen" = xyes; then :
11673 lt_cv_dlopen="dlopen"
11674 else
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11676 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11677 if ${ac_cv_lib_dl_dlopen+:} false; then :
11678 $as_echo_n "(cached) " >&6
11679 else
11680 ac_check_lib_save_LIBS=$LIBS
11681 LIBS="-ldl $LIBS"
11682 if test x$gcc_no_link = xyes; then
11683 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11686 /* end confdefs.h. */
11688 /* Override any GCC internal prototype to avoid an error.
11689 Use char because int might match the return type of a GCC
11690 builtin and then its argument prototype would still apply. */
11691 #ifdef __cplusplus
11692 extern "C"
11693 #endif
11694 char dlopen ();
11696 main ()
11698 return dlopen ();
11700 return 0;
11702 _ACEOF
11703 if ac_fn_c_try_link "$LINENO"; then :
11704 ac_cv_lib_dl_dlopen=yes
11705 else
11706 ac_cv_lib_dl_dlopen=no
11708 rm -f core conftest.err conftest.$ac_objext \
11709 conftest$ac_exeext conftest.$ac_ext
11710 LIBS=$ac_check_lib_save_LIBS
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11713 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11714 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11715 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11716 else
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11718 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11719 if ${ac_cv_lib_svld_dlopen+:} false; then :
11720 $as_echo_n "(cached) " >&6
11721 else
11722 ac_check_lib_save_LIBS=$LIBS
11723 LIBS="-lsvld $LIBS"
11724 if test x$gcc_no_link = xyes; then
11725 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11728 /* end confdefs.h. */
11730 /* Override any GCC internal prototype to avoid an error.
11731 Use char because int might match the return type of a GCC
11732 builtin and then its argument prototype would still apply. */
11733 #ifdef __cplusplus
11734 extern "C"
11735 #endif
11736 char dlopen ();
11738 main ()
11740 return dlopen ();
11742 return 0;
11744 _ACEOF
11745 if ac_fn_c_try_link "$LINENO"; then :
11746 ac_cv_lib_svld_dlopen=yes
11747 else
11748 ac_cv_lib_svld_dlopen=no
11750 rm -f core conftest.err conftest.$ac_objext \
11751 conftest$ac_exeext conftest.$ac_ext
11752 LIBS=$ac_check_lib_save_LIBS
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11755 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11756 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11757 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11758 else
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11760 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11761 if ${ac_cv_lib_dld_dld_link+:} false; then :
11762 $as_echo_n "(cached) " >&6
11763 else
11764 ac_check_lib_save_LIBS=$LIBS
11765 LIBS="-ldld $LIBS"
11766 if test x$gcc_no_link = xyes; then
11767 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11770 /* end confdefs.h. */
11772 /* Override any GCC internal prototype to avoid an error.
11773 Use char because int might match the return type of a GCC
11774 builtin and then its argument prototype would still apply. */
11775 #ifdef __cplusplus
11776 extern "C"
11777 #endif
11778 char dld_link ();
11780 main ()
11782 return dld_link ();
11784 return 0;
11786 _ACEOF
11787 if ac_fn_c_try_link "$LINENO"; then :
11788 ac_cv_lib_dld_dld_link=yes
11789 else
11790 ac_cv_lib_dld_dld_link=no
11792 rm -f core conftest.err conftest.$ac_objext \
11793 conftest$ac_exeext conftest.$ac_ext
11794 LIBS=$ac_check_lib_save_LIBS
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11797 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11798 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11799 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11818 esac
11820 if test "x$lt_cv_dlopen" != xno; then
11821 enable_dlopen=yes
11822 else
11823 enable_dlopen=no
11826 case $lt_cv_dlopen in
11827 dlopen)
11828 save_CPPFLAGS="$CPPFLAGS"
11829 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11831 save_LDFLAGS="$LDFLAGS"
11832 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11834 save_LIBS="$LIBS"
11835 LIBS="$lt_cv_dlopen_libs $LIBS"
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11838 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11839 if ${lt_cv_dlopen_self+:} false; then :
11840 $as_echo_n "(cached) " >&6
11841 else
11842 if test "$cross_compiling" = yes; then :
11843 lt_cv_dlopen_self=cross
11844 else
11845 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11846 lt_status=$lt_dlunknown
11847 cat > conftest.$ac_ext <<_LT_EOF
11848 #line 11848 "configure"
11849 #include "confdefs.h"
11851 #if HAVE_DLFCN_H
11852 #include <dlfcn.h>
11853 #endif
11855 #include <stdio.h>
11857 #ifdef RTLD_GLOBAL
11858 # define LT_DLGLOBAL RTLD_GLOBAL
11859 #else
11860 # ifdef DL_GLOBAL
11861 # define LT_DLGLOBAL DL_GLOBAL
11862 # else
11863 # define LT_DLGLOBAL 0
11864 # endif
11865 #endif
11867 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11868 find out it does not work in some platform. */
11869 #ifndef LT_DLLAZY_OR_NOW
11870 # ifdef RTLD_LAZY
11871 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11872 # else
11873 # ifdef DL_LAZY
11874 # define LT_DLLAZY_OR_NOW DL_LAZY
11875 # else
11876 # ifdef RTLD_NOW
11877 # define LT_DLLAZY_OR_NOW RTLD_NOW
11878 # else
11879 # ifdef DL_NOW
11880 # define LT_DLLAZY_OR_NOW DL_NOW
11881 # else
11882 # define LT_DLLAZY_OR_NOW 0
11883 # endif
11884 # endif
11885 # endif
11886 # endif
11887 #endif
11889 /* When -fvisbility=hidden is used, assume the code has been annotated
11890 correspondingly for the symbols needed. */
11891 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11892 void fnord () __attribute__((visibility("default")));
11893 #endif
11895 void fnord () { int i=42; }
11896 int main ()
11898 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11899 int status = $lt_dlunknown;
11901 if (self)
11903 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11904 else
11906 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11907 else puts (dlerror ());
11909 /* dlclose (self); */
11911 else
11912 puts (dlerror ());
11914 return status;
11916 _LT_EOF
11917 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11918 (eval $ac_link) 2>&5
11919 ac_status=$?
11920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11921 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11922 (./conftest; exit; ) >&5 2>/dev/null
11923 lt_status=$?
11924 case x$lt_status in
11925 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11926 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11927 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11928 esac
11929 else :
11930 # compilation failed
11931 lt_cv_dlopen_self=no
11934 rm -fr conftest*
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11939 $as_echo "$lt_cv_dlopen_self" >&6; }
11941 if test "x$lt_cv_dlopen_self" = xyes; then
11942 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11944 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11945 if ${lt_cv_dlopen_self_static+:} false; then :
11946 $as_echo_n "(cached) " >&6
11947 else
11948 if test "$cross_compiling" = yes; then :
11949 lt_cv_dlopen_self_static=cross
11950 else
11951 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11952 lt_status=$lt_dlunknown
11953 cat > conftest.$ac_ext <<_LT_EOF
11954 #line 11954 "configure"
11955 #include "confdefs.h"
11957 #if HAVE_DLFCN_H
11958 #include <dlfcn.h>
11959 #endif
11961 #include <stdio.h>
11963 #ifdef RTLD_GLOBAL
11964 # define LT_DLGLOBAL RTLD_GLOBAL
11965 #else
11966 # ifdef DL_GLOBAL
11967 # define LT_DLGLOBAL DL_GLOBAL
11968 # else
11969 # define LT_DLGLOBAL 0
11970 # endif
11971 #endif
11973 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11974 find out it does not work in some platform. */
11975 #ifndef LT_DLLAZY_OR_NOW
11976 # ifdef RTLD_LAZY
11977 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11978 # else
11979 # ifdef DL_LAZY
11980 # define LT_DLLAZY_OR_NOW DL_LAZY
11981 # else
11982 # ifdef RTLD_NOW
11983 # define LT_DLLAZY_OR_NOW RTLD_NOW
11984 # else
11985 # ifdef DL_NOW
11986 # define LT_DLLAZY_OR_NOW DL_NOW
11987 # else
11988 # define LT_DLLAZY_OR_NOW 0
11989 # endif
11990 # endif
11991 # endif
11992 # endif
11993 #endif
11995 /* When -fvisbility=hidden is used, assume the code has been annotated
11996 correspondingly for the symbols needed. */
11997 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11998 void fnord () __attribute__((visibility("default")));
11999 #endif
12001 void fnord () { int i=42; }
12002 int main ()
12004 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12005 int status = $lt_dlunknown;
12007 if (self)
12009 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12010 else
12012 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12013 else puts (dlerror ());
12015 /* dlclose (self); */
12017 else
12018 puts (dlerror ());
12020 return status;
12022 _LT_EOF
12023 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12024 (eval $ac_link) 2>&5
12025 ac_status=$?
12026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12027 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12028 (./conftest; exit; ) >&5 2>/dev/null
12029 lt_status=$?
12030 case x$lt_status in
12031 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12032 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12033 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12034 esac
12035 else :
12036 # compilation failed
12037 lt_cv_dlopen_self_static=no
12040 rm -fr conftest*
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12045 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12048 CPPFLAGS="$save_CPPFLAGS"
12049 LDFLAGS="$save_LDFLAGS"
12050 LIBS="$save_LIBS"
12052 esac
12054 case $lt_cv_dlopen_self in
12055 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12056 *) enable_dlopen_self=unknown ;;
12057 esac
12059 case $lt_cv_dlopen_self_static in
12060 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12061 *) enable_dlopen_self_static=unknown ;;
12062 esac
12081 striplib=
12082 old_striplib=
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12084 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12085 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12086 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12087 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12089 $as_echo "yes" >&6; }
12090 else
12091 # FIXME - insert some real tests, host_os isn't really good enough
12092 case $host_os in
12093 darwin*)
12094 if test -n "$STRIP" ; then
12095 striplib="$STRIP -x"
12096 old_striplib="$STRIP -S"
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12098 $as_echo "yes" >&6; }
12099 else
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12101 $as_echo "no" >&6; }
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12106 $as_echo "no" >&6; }
12108 esac
12122 # Report which library types will actually be built
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12124 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12126 $as_echo "$can_build_shared" >&6; }
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12129 $as_echo_n "checking whether to build shared libraries... " >&6; }
12130 test "$can_build_shared" = "no" && enable_shared=no
12132 # On AIX, shared libraries and static libraries use the same namespace, and
12133 # are all built from PIC.
12134 case $host_os in
12135 aix3*)
12136 test "$enable_shared" = yes && enable_static=no
12137 if test -n "$RANLIB"; then
12138 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12139 postinstall_cmds='$RANLIB $lib'
12143 aix[4-9]*)
12144 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12145 test "$enable_shared" = yes && enable_static=no
12148 esac
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12150 $as_echo "$enable_shared" >&6; }
12152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12153 $as_echo_n "checking whether to build static libraries... " >&6; }
12154 # Make sure either enable_shared or enable_static is yes.
12155 test "$enable_shared" = yes || enable_static=yes
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12157 $as_echo "$enable_static" >&6; }
12163 ac_ext=c
12164 ac_cpp='$CPP $CPPFLAGS'
12165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12169 CC="$lt_save_CC"
12171 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12172 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12173 (test "X$CXX" != "Xg++"))) ; then
12174 ac_ext=cpp
12175 ac_cpp='$CXXCPP $CPPFLAGS'
12176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12180 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12181 if test -z "$CXXCPP"; then
12182 if ${ac_cv_prog_CXXCPP+:} false; then :
12183 $as_echo_n "(cached) " >&6
12184 else
12185 # Double quotes because CXXCPP needs to be expanded
12186 for CXXCPP in "$CXX -E" "/lib/cpp"
12188 ac_preproc_ok=false
12189 for ac_cxx_preproc_warn_flag in '' yes
12191 # Use a header file that comes with gcc, so configuring glibc
12192 # with a fresh cross-compiler works.
12193 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12194 # <limits.h> exists even on freestanding compilers.
12195 # On the NeXT, cc -E runs the code through the compiler's parser,
12196 # not just through cpp. "Syntax error" is here to catch this case.
12197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12198 /* end confdefs.h. */
12199 #ifdef __STDC__
12200 # include <limits.h>
12201 #else
12202 # include <assert.h>
12203 #endif
12204 Syntax error
12205 _ACEOF
12206 if ac_fn_cxx_try_cpp "$LINENO"; then :
12208 else
12209 # Broken: fails on valid input.
12210 continue
12212 rm -f conftest.err conftest.i conftest.$ac_ext
12214 # OK, works on sane cases. Now check whether nonexistent headers
12215 # can be detected and how.
12216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12217 /* end confdefs.h. */
12218 #include <ac_nonexistent.h>
12219 _ACEOF
12220 if ac_fn_cxx_try_cpp "$LINENO"; then :
12221 # Broken: success on invalid input.
12222 continue
12223 else
12224 # Passes both tests.
12225 ac_preproc_ok=:
12226 break
12228 rm -f conftest.err conftest.i conftest.$ac_ext
12230 done
12231 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12232 rm -f conftest.i conftest.err conftest.$ac_ext
12233 if $ac_preproc_ok; then :
12234 break
12237 done
12238 ac_cv_prog_CXXCPP=$CXXCPP
12241 CXXCPP=$ac_cv_prog_CXXCPP
12242 else
12243 ac_cv_prog_CXXCPP=$CXXCPP
12245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12246 $as_echo "$CXXCPP" >&6; }
12247 ac_preproc_ok=false
12248 for ac_cxx_preproc_warn_flag in '' yes
12250 # Use a header file that comes with gcc, so configuring glibc
12251 # with a fresh cross-compiler works.
12252 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12253 # <limits.h> exists even on freestanding compilers.
12254 # On the NeXT, cc -E runs the code through the compiler's parser,
12255 # not just through cpp. "Syntax error" is here to catch this case.
12256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12257 /* end confdefs.h. */
12258 #ifdef __STDC__
12259 # include <limits.h>
12260 #else
12261 # include <assert.h>
12262 #endif
12263 Syntax error
12264 _ACEOF
12265 if ac_fn_cxx_try_cpp "$LINENO"; then :
12267 else
12268 # Broken: fails on valid input.
12269 continue
12271 rm -f conftest.err conftest.i conftest.$ac_ext
12273 # OK, works on sane cases. Now check whether nonexistent headers
12274 # can be detected and how.
12275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12276 /* end confdefs.h. */
12277 #include <ac_nonexistent.h>
12278 _ACEOF
12279 if ac_fn_cxx_try_cpp "$LINENO"; then :
12280 # Broken: success on invalid input.
12281 continue
12282 else
12283 # Passes both tests.
12284 ac_preproc_ok=:
12285 break
12287 rm -f conftest.err conftest.i conftest.$ac_ext
12289 done
12290 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12291 rm -f conftest.i conftest.err conftest.$ac_ext
12292 if $ac_preproc_ok; then :
12294 else
12295 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12297 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12298 See \`config.log' for more details" "$LINENO" 5; }
12301 ac_ext=c
12302 ac_cpp='$CPP $CPPFLAGS'
12303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12307 else
12308 _lt_caught_CXX_error=yes
12311 ac_ext=cpp
12312 ac_cpp='$CXXCPP $CPPFLAGS'
12313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12317 archive_cmds_need_lc_CXX=no
12318 allow_undefined_flag_CXX=
12319 always_export_symbols_CXX=no
12320 archive_expsym_cmds_CXX=
12321 compiler_needs_object_CXX=no
12322 export_dynamic_flag_spec_CXX=
12323 hardcode_direct_CXX=no
12324 hardcode_direct_absolute_CXX=no
12325 hardcode_libdir_flag_spec_CXX=
12326 hardcode_libdir_flag_spec_ld_CXX=
12327 hardcode_libdir_separator_CXX=
12328 hardcode_minus_L_CXX=no
12329 hardcode_shlibpath_var_CXX=unsupported
12330 hardcode_automatic_CXX=no
12331 inherit_rpath_CXX=no
12332 module_cmds_CXX=
12333 module_expsym_cmds_CXX=
12334 link_all_deplibs_CXX=unknown
12335 old_archive_cmds_CXX=$old_archive_cmds
12336 reload_flag_CXX=$reload_flag
12337 reload_cmds_CXX=$reload_cmds
12338 no_undefined_flag_CXX=
12339 whole_archive_flag_spec_CXX=
12340 enable_shared_with_static_runtimes_CXX=no
12342 # Source file extension for C++ test sources.
12343 ac_ext=cpp
12345 # Object file extension for compiled C++ test sources.
12346 objext=o
12347 objext_CXX=$objext
12349 # No sense in running all these tests if we already determined that
12350 # the CXX compiler isn't working. Some variables (like enable_shared)
12351 # are currently assumed to apply to all compilers on this platform,
12352 # and will be corrupted by setting them based on a non-working compiler.
12353 if test "$_lt_caught_CXX_error" != yes; then
12354 # Code to be used in simple compile tests
12355 lt_simple_compile_test_code="int some_variable = 0;"
12357 # Code to be used in simple link tests
12358 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12360 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12367 # If no C compiler was specified, use CC.
12368 LTCC=${LTCC-"$CC"}
12370 # If no C compiler flags were specified, use CFLAGS.
12371 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12373 # Allow CC to be a program name with arguments.
12374 compiler=$CC
12377 # save warnings/boilerplate of simple test code
12378 ac_outfile=conftest.$ac_objext
12379 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12380 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12381 _lt_compiler_boilerplate=`cat conftest.err`
12382 $RM conftest*
12384 ac_outfile=conftest.$ac_objext
12385 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12386 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12387 _lt_linker_boilerplate=`cat conftest.err`
12388 $RM -r conftest*
12391 # Allow CC to be a program name with arguments.
12392 lt_save_CC=$CC
12393 lt_save_LD=$LD
12394 lt_save_GCC=$GCC
12395 GCC=$GXX
12396 lt_save_with_gnu_ld=$with_gnu_ld
12397 lt_save_path_LD=$lt_cv_path_LD
12398 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12399 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12400 else
12401 $as_unset lt_cv_prog_gnu_ld
12403 if test -n "${lt_cv_path_LDCXX+set}"; then
12404 lt_cv_path_LD=$lt_cv_path_LDCXX
12405 else
12406 $as_unset lt_cv_path_LD
12408 test -z "${LDCXX+set}" || LD=$LDCXX
12409 CC=${CXX-"c++"}
12410 compiler=$CC
12411 compiler_CXX=$CC
12412 for cc_temp in $compiler""; do
12413 case $cc_temp in
12414 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12415 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12416 \-*) ;;
12417 *) break;;
12418 esac
12419 done
12420 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12423 if test -n "$compiler"; then
12424 # We don't want -fno-exception when compiling C++ code, so set the
12425 # no_builtin_flag separately
12426 if test "$GXX" = yes; then
12427 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12428 else
12429 lt_prog_compiler_no_builtin_flag_CXX=
12432 if test "$GXX" = yes; then
12433 # Set up default GNU C++ configuration
12437 # Check whether --with-gnu-ld was given.
12438 if test "${with_gnu_ld+set}" = set; then :
12439 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12440 else
12441 with_gnu_ld=no
12444 ac_prog=ld
12445 if test "$GCC" = yes; then
12446 # Check if gcc -print-prog-name=ld gives a path.
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12448 $as_echo_n "checking for ld used by $CC... " >&6; }
12449 case $host in
12450 *-*-mingw*)
12451 # gcc leaves a trailing carriage return which upsets mingw
12452 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12454 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12455 esac
12456 case $ac_prog in
12457 # Accept absolute paths.
12458 [\\/]* | ?:[\\/]*)
12459 re_direlt='/[^/][^/]*/\.\./'
12460 # Canonicalize the pathname of ld
12461 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12462 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12463 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12464 done
12465 test -z "$LD" && LD="$ac_prog"
12468 # If it fails, then pretend we aren't using GCC.
12469 ac_prog=ld
12472 # If it is relative, then search for the first ld in PATH.
12473 with_gnu_ld=unknown
12475 esac
12476 elif test "$with_gnu_ld" = yes; then
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12478 $as_echo_n "checking for GNU ld... " >&6; }
12479 else
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12481 $as_echo_n "checking for non-GNU ld... " >&6; }
12483 if ${lt_cv_path_LD+:} false; then :
12484 $as_echo_n "(cached) " >&6
12485 else
12486 if test -z "$LD"; then
12487 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12488 for ac_dir in $PATH; do
12489 IFS="$lt_save_ifs"
12490 test -z "$ac_dir" && ac_dir=.
12491 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12492 lt_cv_path_LD="$ac_dir/$ac_prog"
12493 # Check to see if the program is GNU ld. I'd rather use --version,
12494 # but apparently some variants of GNU ld only accept -v.
12495 # Break only if it was the GNU/non-GNU ld that we prefer.
12496 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12497 *GNU* | *'with BFD'*)
12498 test "$with_gnu_ld" != no && break
12501 test "$with_gnu_ld" != yes && break
12503 esac
12505 done
12506 IFS="$lt_save_ifs"
12507 else
12508 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12512 LD="$lt_cv_path_LD"
12513 if test -n "$LD"; then
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12515 $as_echo "$LD" >&6; }
12516 else
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12518 $as_echo "no" >&6; }
12520 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12522 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12523 if ${lt_cv_prog_gnu_ld+:} false; then :
12524 $as_echo_n "(cached) " >&6
12525 else
12526 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12527 case `$LD -v 2>&1 </dev/null` in
12528 *GNU* | *'with BFD'*)
12529 lt_cv_prog_gnu_ld=yes
12532 lt_cv_prog_gnu_ld=no
12534 esac
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12537 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12538 with_gnu_ld=$lt_cv_prog_gnu_ld
12546 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12547 # archiving commands below assume that GNU ld is being used.
12548 if test "$with_gnu_ld" = yes; then
12549 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12550 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'
12552 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12553 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12555 # If archive_cmds runs LD, not CC, wlarc should be empty
12556 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12557 # investigate it a little bit more. (MM)
12558 wlarc='${wl}'
12560 # ancient GNU ld didn't support --whole-archive et. al.
12561 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12562 $GREP 'no-whole-archive' > /dev/null; then
12563 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12564 else
12565 whole_archive_flag_spec_CXX=
12567 else
12568 with_gnu_ld=no
12569 wlarc=
12571 # A generic and very simple default shared library creation
12572 # command for GNU C++ for the case where it uses the native
12573 # linker, instead of GNU ld. If possible, this setting should
12574 # overridden to take advantage of the native linker features on
12575 # the platform it is being used on.
12576 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12579 # Commands to make compiler produce verbose output that lists
12580 # what "hidden" libraries, object files and flags are used when
12581 # linking a shared library.
12582 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12584 else
12585 GXX=no
12586 with_gnu_ld=no
12587 wlarc=
12590 # PORTME: fill in a description of your system's C++ link characteristics
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12592 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12593 ld_shlibs_CXX=yes
12594 case $host_os in
12595 aix3*)
12596 # FIXME: insert proper C++ library support
12597 ld_shlibs_CXX=no
12599 aix[4-9]*)
12600 if test "$host_cpu" = ia64; then
12601 # On IA64, the linker does run time linking by default, so we don't
12602 # have to do anything special.
12603 aix_use_runtimelinking=no
12604 exp_sym_flag='-Bexport'
12605 no_entry_flag=""
12606 else
12607 aix_use_runtimelinking=no
12609 # Test if we are trying to use run time linking or normal
12610 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12611 # need to do runtime linking.
12612 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12613 for ld_flag in $LDFLAGS; do
12614 case $ld_flag in
12615 *-brtl*)
12616 aix_use_runtimelinking=yes
12617 break
12619 esac
12620 done
12622 esac
12624 exp_sym_flag='-bexport'
12625 no_entry_flag='-bnoentry'
12628 # When large executables or shared objects are built, AIX ld can
12629 # have problems creating the table of contents. If linking a library
12630 # or program results in "error TOC overflow" add -mminimal-toc to
12631 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12632 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12634 archive_cmds_CXX=''
12635 hardcode_direct_CXX=yes
12636 hardcode_direct_absolute_CXX=yes
12637 hardcode_libdir_separator_CXX=':'
12638 link_all_deplibs_CXX=yes
12639 file_list_spec_CXX='${wl}-f,'
12641 if test "$GXX" = yes; then
12642 case $host_os in aix4.[012]|aix4.[012].*)
12643 # We only want to do this on AIX 4.2 and lower, the check
12644 # below for broken collect2 doesn't work under 4.3+
12645 collect2name=`${CC} -print-prog-name=collect2`
12646 if test -f "$collect2name" &&
12647 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12648 then
12649 # We have reworked collect2
12651 else
12652 # We have old collect2
12653 hardcode_direct_CXX=unsupported
12654 # It fails to find uninstalled libraries when the uninstalled
12655 # path is not listed in the libpath. Setting hardcode_minus_L
12656 # to unsupported forces relinking
12657 hardcode_minus_L_CXX=yes
12658 hardcode_libdir_flag_spec_CXX='-L$libdir'
12659 hardcode_libdir_separator_CXX=
12661 esac
12662 shared_flag='-shared'
12663 if test "$aix_use_runtimelinking" = yes; then
12664 shared_flag="$shared_flag "'${wl}-G'
12666 else
12667 # not using gcc
12668 if test "$host_cpu" = ia64; then
12669 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12670 # chokes on -Wl,-G. The following line is correct:
12671 shared_flag='-G'
12672 else
12673 if test "$aix_use_runtimelinking" = yes; then
12674 shared_flag='${wl}-G'
12675 else
12676 shared_flag='${wl}-bM:SRE'
12681 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12682 # It seems that -bexpall does not export symbols beginning with
12683 # underscore (_), so it is better to generate a list of symbols to
12684 # export.
12685 always_export_symbols_CXX=yes
12686 if test "$aix_use_runtimelinking" = yes; then
12687 # Warning - without using the other runtime loading flags (-brtl),
12688 # -berok will link without error, but may produce a broken library.
12689 allow_undefined_flag_CXX='-berok'
12690 # Determine the default libpath from the value encoded in an empty
12691 # executable.
12692 if test x$gcc_no_link = xyes; then
12693 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12696 /* end confdefs.h. */
12699 main ()
12703 return 0;
12705 _ACEOF
12706 if ac_fn_cxx_try_link "$LINENO"; then :
12708 lt_aix_libpath_sed='
12709 /Import File Strings/,/^$/ {
12710 /^0/ {
12711 s/^0 *\(.*\)$/\1/
12715 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12716 # Check for a 64-bit object if we didn't find anything.
12717 if test -z "$aix_libpath"; then
12718 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12721 rm -f core conftest.err conftest.$ac_objext \
12722 conftest$ac_exeext conftest.$ac_ext
12723 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12725 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12727 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"
12728 else
12729 if test "$host_cpu" = ia64; then
12730 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12731 allow_undefined_flag_CXX="-z nodefs"
12732 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"
12733 else
12734 # Determine the default libpath from the value encoded in an
12735 # empty executable.
12736 if test x$gcc_no_link = xyes; then
12737 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12740 /* end confdefs.h. */
12743 main ()
12747 return 0;
12749 _ACEOF
12750 if ac_fn_cxx_try_link "$LINENO"; then :
12752 lt_aix_libpath_sed='
12753 /Import File Strings/,/^$/ {
12754 /^0/ {
12755 s/^0 *\(.*\)$/\1/
12759 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12760 # Check for a 64-bit object if we didn't find anything.
12761 if test -z "$aix_libpath"; then
12762 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12765 rm -f core conftest.err conftest.$ac_objext \
12766 conftest$ac_exeext conftest.$ac_ext
12767 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12769 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12770 # Warning - without using the other run time loading flags,
12771 # -berok will link without error, but may produce a broken library.
12772 no_undefined_flag_CXX=' ${wl}-bernotok'
12773 allow_undefined_flag_CXX=' ${wl}-berok'
12774 if test "$with_gnu_ld" = yes; then
12775 # We only use this code for GNU lds that support --whole-archive.
12776 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12777 else
12778 # Exported symbols can be pulled into shared objects from archives
12779 whole_archive_flag_spec_CXX='$convenience'
12781 archive_cmds_need_lc_CXX=yes
12782 # This is similar to how AIX traditionally builds its shared
12783 # libraries.
12784 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'
12789 beos*)
12790 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12791 allow_undefined_flag_CXX=unsupported
12792 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12793 # support --undefined. This deserves some investigation. FIXME
12794 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12795 else
12796 ld_shlibs_CXX=no
12800 chorus*)
12801 case $cc_basename in
12803 # FIXME: insert proper C++ library support
12804 ld_shlibs_CXX=no
12806 esac
12809 cygwin* | mingw* | pw32* | cegcc*)
12810 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12811 # as there is no search path for DLLs.
12812 hardcode_libdir_flag_spec_CXX='-L$libdir'
12813 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12814 allow_undefined_flag_CXX=unsupported
12815 always_export_symbols_CXX=no
12816 enable_shared_with_static_runtimes_CXX=yes
12818 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12819 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'
12820 # If the export-symbols file already is a .def file (1st line
12821 # is EXPORTS), use it as is; otherwise, prepend...
12822 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12823 cp $export_symbols $output_objdir/$soname.def;
12824 else
12825 echo EXPORTS > $output_objdir/$soname.def;
12826 cat $export_symbols >> $output_objdir/$soname.def;
12828 $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'
12829 else
12830 ld_shlibs_CXX=no
12833 darwin* | rhapsody*)
12836 archive_cmds_need_lc_CXX=no
12837 hardcode_direct_CXX=no
12838 hardcode_automatic_CXX=yes
12839 hardcode_shlibpath_var_CXX=unsupported
12840 if test "$lt_cv_ld_force_load" = "yes"; then
12841 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\"`'
12842 else
12843 whole_archive_flag_spec_CXX=''
12845 link_all_deplibs_CXX=yes
12846 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12847 case $cc_basename in
12848 ifort*) _lt_dar_can_shared=yes ;;
12849 *) _lt_dar_can_shared=$GCC ;;
12850 esac
12851 if test "$_lt_dar_can_shared" = "yes"; then
12852 output_verbose_link_cmd=func_echo_all
12853 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}"
12854 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12855 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}"
12856 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}"
12857 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12858 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}"
12859 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}"
12862 else
12863 ld_shlibs_CXX=no
12868 dgux*)
12869 case $cc_basename in
12870 ec++*)
12871 # FIXME: insert proper C++ library support
12872 ld_shlibs_CXX=no
12874 ghcx*)
12875 # Green Hills C++ Compiler
12876 # FIXME: insert proper C++ library support
12877 ld_shlibs_CXX=no
12880 # FIXME: insert proper C++ library support
12881 ld_shlibs_CXX=no
12883 esac
12886 freebsd2.*)
12887 # C++ shared libraries reported to be fairly broken before
12888 # switch to ELF
12889 ld_shlibs_CXX=no
12892 freebsd-elf*)
12893 archive_cmds_need_lc_CXX=no
12896 freebsd* | dragonfly*)
12897 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12898 # conventions
12899 ld_shlibs_CXX=yes
12902 gnu*)
12905 haiku*)
12906 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12907 link_all_deplibs_CXX=yes
12910 hpux9*)
12911 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12912 hardcode_libdir_separator_CXX=:
12913 export_dynamic_flag_spec_CXX='${wl}-E'
12914 hardcode_direct_CXX=yes
12915 hardcode_minus_L_CXX=yes # Not in the search PATH,
12916 # but as the default
12917 # location of the library.
12919 case $cc_basename in
12920 CC*)
12921 # FIXME: insert proper C++ library support
12922 ld_shlibs_CXX=no
12924 aCC*)
12925 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'
12926 # Commands to make compiler produce verbose output that lists
12927 # what "hidden" libraries, object files and flags are used when
12928 # linking a shared library.
12930 # There doesn't appear to be a way to prevent this compiler from
12931 # explicitly linking system object files so we need to strip them
12932 # from the output so that they don't get included in the library
12933 # dependencies.
12934 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"'
12937 if test "$GXX" = yes; then
12938 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'
12939 else
12940 # FIXME: insert proper C++ library support
12941 ld_shlibs_CXX=no
12944 esac
12947 hpux10*|hpux11*)
12948 if test $with_gnu_ld = no; then
12949 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12950 hardcode_libdir_separator_CXX=:
12952 case $host_cpu in
12953 hppa*64*|ia64*)
12956 export_dynamic_flag_spec_CXX='${wl}-E'
12958 esac
12960 case $host_cpu in
12961 hppa*64*|ia64*)
12962 hardcode_direct_CXX=no
12963 hardcode_shlibpath_var_CXX=no
12966 hardcode_direct_CXX=yes
12967 hardcode_direct_absolute_CXX=yes
12968 hardcode_minus_L_CXX=yes # Not in the search PATH,
12969 # but as the default
12970 # location of the library.
12972 esac
12974 case $cc_basename in
12975 CC*)
12976 # FIXME: insert proper C++ library support
12977 ld_shlibs_CXX=no
12979 aCC*)
12980 case $host_cpu in
12981 hppa*64*)
12982 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12984 ia64*)
12985 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12988 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12990 esac
12991 # Commands to make compiler produce verbose output that lists
12992 # what "hidden" libraries, object files and flags are used when
12993 # linking a shared library.
12995 # There doesn't appear to be a way to prevent this compiler from
12996 # explicitly linking system object files so we need to strip them
12997 # from the output so that they don't get included in the library
12998 # dependencies.
12999 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"'
13002 if test "$GXX" = yes; then
13003 if test $with_gnu_ld = no; then
13004 case $host_cpu in
13005 hppa*64*)
13006 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13008 ia64*)
13009 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13012 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'
13014 esac
13016 else
13017 # FIXME: insert proper C++ library support
13018 ld_shlibs_CXX=no
13021 esac
13024 interix[3-9]*)
13025 hardcode_direct_CXX=no
13026 hardcode_shlibpath_var_CXX=no
13027 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13028 export_dynamic_flag_spec_CXX='${wl}-E'
13029 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13030 # Instead, shared libraries are loaded at an image base (0x10000000 by
13031 # default) and relocated if they conflict, which is a slow very memory
13032 # consuming and fragmenting process. To avoid this, we pick a random,
13033 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13034 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13035 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'
13036 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'
13038 irix5* | irix6*)
13039 case $cc_basename in
13040 CC*)
13041 # SGI C++
13042 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'
13044 # Archives containing C++ object files must be created using
13045 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13046 # necessary to make sure instantiated templates are included
13047 # in the archive.
13048 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13051 if test "$GXX" = yes; then
13052 if test "$with_gnu_ld" = no; then
13053 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'
13054 else
13055 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'
13058 link_all_deplibs_CXX=yes
13060 esac
13061 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13062 hardcode_libdir_separator_CXX=:
13063 inherit_rpath_CXX=yes
13066 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13067 case $cc_basename in
13068 KCC*)
13069 # Kuck and Associates, Inc. (KAI) C++ Compiler
13071 # KCC will only create a shared library if the output file
13072 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13073 # to its proper name (with version) after linking.
13074 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'
13075 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'
13076 # Commands to make compiler produce verbose output that lists
13077 # what "hidden" libraries, object files and flags are used when
13078 # linking a shared library.
13080 # There doesn't appear to be a way to prevent this compiler from
13081 # explicitly linking system object files so we need to strip them
13082 # from the output so that they don't get included in the library
13083 # dependencies.
13084 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"'
13086 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13087 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13089 # Archives containing C++ object files must be created using
13090 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13091 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13093 icpc* | ecpc* )
13094 # Intel C++
13095 with_gnu_ld=yes
13096 # version 8.0 and above of icpc choke on multiply defined symbols
13097 # if we add $predep_objects and $postdep_objects, however 7.1 and
13098 # earlier do not add the objects themselves.
13099 case `$CC -V 2>&1` in
13100 *"Version 7."*)
13101 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13102 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'
13104 *) # Version 8.0 or newer
13105 tmp_idyn=
13106 case $host_cpu in
13107 ia64*) tmp_idyn=' -i_dynamic';;
13108 esac
13109 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13110 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'
13112 esac
13113 archive_cmds_need_lc_CXX=no
13114 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13115 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13116 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13118 pgCC* | pgcpp*)
13119 # Portland Group C++ compiler
13120 case `$CC -V` in
13121 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13122 prelink_cmds_CXX='tpldir=Template.dir~
13123 rm -rf $tpldir~
13124 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13125 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13126 old_archive_cmds_CXX='tpldir=Template.dir~
13127 rm -rf $tpldir~
13128 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13129 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13130 $RANLIB $oldlib'
13131 archive_cmds_CXX='tpldir=Template.dir~
13132 rm -rf $tpldir~
13133 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13134 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13135 archive_expsym_cmds_CXX='tpldir=Template.dir~
13136 rm -rf $tpldir~
13137 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13138 $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'
13140 *) # Version 6 and above use weak symbols
13141 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13142 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'
13144 esac
13146 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13147 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13148 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'
13150 cxx*)
13151 # Compaq C++
13152 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13153 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'
13155 runpath_var=LD_RUN_PATH
13156 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13157 hardcode_libdir_separator_CXX=:
13159 # Commands to make compiler produce verbose output that lists
13160 # what "hidden" libraries, object files and flags are used when
13161 # linking a shared library.
13163 # There doesn't appear to be a way to prevent this compiler from
13164 # explicitly linking system object files so we need to strip them
13165 # from the output so that they don't get included in the library
13166 # dependencies.
13167 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'
13169 xl* | mpixl* | bgxl*)
13170 # IBM XL 8.0 on PPC, with GNU ld
13171 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13172 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13173 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13174 if test "x$supports_anon_versioning" = xyes; then
13175 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13176 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13177 echo "local: *; };" >> $output_objdir/$libname.ver~
13178 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13182 case `$CC -V 2>&1 | sed 5q` in
13183 *Sun\ C*)
13184 # Sun C++ 5.9
13185 no_undefined_flag_CXX=' -zdefs'
13186 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13187 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'
13188 hardcode_libdir_flag_spec_CXX='-R$libdir'
13189 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'
13190 compiler_needs_object_CXX=yes
13192 # Not sure whether something based on
13193 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13194 # would be better.
13195 output_verbose_link_cmd='func_echo_all'
13197 # Archives containing C++ object files must be created using
13198 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13199 # necessary to make sure instantiated templates are included
13200 # in the archive.
13201 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13203 esac
13205 esac
13208 lynxos*)
13209 # FIXME: insert proper C++ library support
13210 ld_shlibs_CXX=no
13213 m88k*)
13214 # FIXME: insert proper C++ library support
13215 ld_shlibs_CXX=no
13218 mvs*)
13219 case $cc_basename in
13220 cxx*)
13221 # FIXME: insert proper C++ library support
13222 ld_shlibs_CXX=no
13225 # FIXME: insert proper C++ library support
13226 ld_shlibs_CXX=no
13228 esac
13231 netbsd*)
13232 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13233 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13234 wlarc=
13235 hardcode_libdir_flag_spec_CXX='-R$libdir'
13236 hardcode_direct_CXX=yes
13237 hardcode_shlibpath_var_CXX=no
13239 # Workaround some broken pre-1.5 toolchains
13240 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13243 *nto* | *qnx*)
13244 ld_shlibs_CXX=yes
13247 openbsd2*)
13248 # C++ shared libraries are fairly broken
13249 ld_shlibs_CXX=no
13252 openbsd*)
13253 if test -f /usr/libexec/ld.so; then
13254 hardcode_direct_CXX=yes
13255 hardcode_shlibpath_var_CXX=no
13256 hardcode_direct_absolute_CXX=yes
13257 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13258 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13259 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13260 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13261 export_dynamic_flag_spec_CXX='${wl}-E'
13262 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13264 output_verbose_link_cmd=func_echo_all
13265 else
13266 ld_shlibs_CXX=no
13270 osf3* | osf4* | osf5*)
13271 case $cc_basename in
13272 KCC*)
13273 # Kuck and Associates, Inc. (KAI) C++ Compiler
13275 # KCC will only create a shared library if the output file
13276 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13277 # to its proper name (with version) after linking.
13278 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'
13280 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13281 hardcode_libdir_separator_CXX=:
13283 # Archives containing C++ object files must be created using
13284 # the KAI C++ compiler.
13285 case $host in
13286 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13287 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13288 esac
13290 RCC*)
13291 # Rational C++ 2.4.1
13292 # FIXME: insert proper C++ library support
13293 ld_shlibs_CXX=no
13295 cxx*)
13296 case $host in
13297 osf3*)
13298 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13299 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'
13300 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13303 allow_undefined_flag_CXX=' -expect_unresolved \*'
13304 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'
13305 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13306 echo "-hidden">> $lib.exp~
13307 $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~
13308 $RM $lib.exp'
13309 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13311 esac
13313 hardcode_libdir_separator_CXX=:
13315 # Commands to make compiler produce verbose output that lists
13316 # what "hidden" libraries, object files and flags are used when
13317 # linking a shared library.
13319 # There doesn't appear to be a way to prevent this compiler from
13320 # explicitly linking system object files so we need to strip them
13321 # from the output so that they don't get included in the library
13322 # dependencies.
13323 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"'
13326 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13327 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13328 case $host in
13329 osf3*)
13330 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'
13333 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'
13335 esac
13337 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13338 hardcode_libdir_separator_CXX=:
13340 # Commands to make compiler produce verbose output that lists
13341 # what "hidden" libraries, object files and flags are used when
13342 # linking a shared library.
13343 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13345 else
13346 # FIXME: insert proper C++ library support
13347 ld_shlibs_CXX=no
13350 esac
13353 psos*)
13354 # FIXME: insert proper C++ library support
13355 ld_shlibs_CXX=no
13358 sunos4*)
13359 case $cc_basename in
13360 CC*)
13361 # Sun C++ 4.x
13362 # FIXME: insert proper C++ library support
13363 ld_shlibs_CXX=no
13365 lcc*)
13366 # Lucid
13367 # FIXME: insert proper C++ library support
13368 ld_shlibs_CXX=no
13371 # FIXME: insert proper C++ library support
13372 ld_shlibs_CXX=no
13374 esac
13377 solaris*)
13378 case $cc_basename in
13379 CC*)
13380 # Sun C++ 4.2, 5.x and Centerline C++
13381 archive_cmds_need_lc_CXX=yes
13382 no_undefined_flag_CXX=' -zdefs'
13383 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13384 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13385 $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'
13387 hardcode_libdir_flag_spec_CXX='-R$libdir'
13388 hardcode_shlibpath_var_CXX=no
13389 case $host_os in
13390 solaris2.[0-5] | solaris2.[0-5].*) ;;
13392 # The compiler driver will combine and reorder linker options,
13393 # but understands `-z linker_flag'.
13394 # Supported since Solaris 2.6 (maybe 2.5.1?)
13395 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13397 esac
13398 link_all_deplibs_CXX=yes
13400 output_verbose_link_cmd='func_echo_all'
13402 # Archives containing C++ object files must be created using
13403 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13404 # necessary to make sure instantiated templates are included
13405 # in the archive.
13406 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13408 gcx*)
13409 # Green Hills C++ Compiler
13410 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13412 # The C++ compiler must be used to create the archive.
13413 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13416 # GNU C++ compiler with Solaris linker
13417 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13418 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13419 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13420 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13421 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13422 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13424 # Commands to make compiler produce verbose output that lists
13425 # what "hidden" libraries, object files and flags are used when
13426 # linking a shared library.
13427 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13428 else
13429 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13430 # platform.
13431 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13432 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13433 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13435 # Commands to make compiler produce verbose output that lists
13436 # what "hidden" libraries, object files and flags are used when
13437 # linking a shared library.
13438 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13441 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13442 case $host_os in
13443 solaris2.[0-5] | solaris2.[0-5].*) ;;
13445 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13447 esac
13450 esac
13453 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13454 no_undefined_flag_CXX='${wl}-z,text'
13455 archive_cmds_need_lc_CXX=no
13456 hardcode_shlibpath_var_CXX=no
13457 runpath_var='LD_RUN_PATH'
13459 case $cc_basename in
13460 CC*)
13461 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13462 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13465 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13466 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13468 esac
13471 sysv5* | sco3.2v5* | sco5v6*)
13472 # Note: We can NOT use -z defs as we might desire, because we do not
13473 # link with -lc, and that would cause any symbols used from libc to
13474 # always be unresolved, which means just about no library would
13475 # ever link correctly. If we're not using GNU ld we use -z text
13476 # though, which does catch some bad symbols but isn't as heavy-handed
13477 # as -z defs.
13478 no_undefined_flag_CXX='${wl}-z,text'
13479 allow_undefined_flag_CXX='${wl}-z,nodefs'
13480 archive_cmds_need_lc_CXX=no
13481 hardcode_shlibpath_var_CXX=no
13482 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13483 hardcode_libdir_separator_CXX=':'
13484 link_all_deplibs_CXX=yes
13485 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13486 runpath_var='LD_RUN_PATH'
13488 case $cc_basename in
13489 CC*)
13490 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13491 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13492 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13493 '"$old_archive_cmds_CXX"
13494 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13495 '"$reload_cmds_CXX"
13498 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13499 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13501 esac
13504 tandem*)
13505 case $cc_basename in
13506 NCC*)
13507 # NonStop-UX NCC 3.20
13508 # FIXME: insert proper C++ library support
13509 ld_shlibs_CXX=no
13512 # FIXME: insert proper C++ library support
13513 ld_shlibs_CXX=no
13515 esac
13518 vxworks*)
13519 # FIXME: insert proper C++ library support
13520 ld_shlibs_CXX=no
13524 # FIXME: insert proper C++ library support
13525 ld_shlibs_CXX=no
13527 esac
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13530 $as_echo "$ld_shlibs_CXX" >&6; }
13531 test "$ld_shlibs_CXX" = no && can_build_shared=no
13533 GCC_CXX="$GXX"
13534 LD_CXX="$LD"
13536 ## CAVEAT EMPTOR:
13537 ## There is no encapsulation within the following macros, do not change
13538 ## the running order or otherwise move them around unless you know exactly
13539 ## what you are doing...
13540 # Dependencies to place before and after the object being linked:
13541 predep_objects_CXX=
13542 postdep_objects_CXX=
13543 predeps_CXX=
13544 postdeps_CXX=
13545 compiler_lib_search_path_CXX=
13547 cat > conftest.$ac_ext <<_LT_EOF
13548 class Foo
13550 public:
13551 Foo (void) { a = 0; }
13552 private:
13553 int a;
13555 _LT_EOF
13557 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13558 (eval $ac_compile) 2>&5
13559 ac_status=$?
13560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13561 test $ac_status = 0; }; then
13562 # Parse the compiler output and extract the necessary
13563 # objects, libraries and library flags.
13565 # Sentinel used to keep track of whether or not we are before
13566 # the conftest object file.
13567 pre_test_object_deps_done=no
13569 for p in `eval "$output_verbose_link_cmd"`; do
13570 case $p in
13572 -L* | -R* | -l*)
13573 # Some compilers place space between "-{L,R}" and the path.
13574 # Remove the space.
13575 if test $p = "-L" ||
13576 test $p = "-R"; then
13577 prev=$p
13578 continue
13579 else
13580 prev=
13583 if test "$pre_test_object_deps_done" = no; then
13584 case $p in
13585 -L* | -R*)
13586 # Internal compiler library paths should come after those
13587 # provided the user. The postdeps already come after the
13588 # user supplied libs so there is no need to process them.
13589 if test -z "$compiler_lib_search_path_CXX"; then
13590 compiler_lib_search_path_CXX="${prev}${p}"
13591 else
13592 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13595 # The "-l" case would never come before the object being
13596 # linked, so don't bother handling this case.
13597 esac
13598 else
13599 if test -z "$postdeps_CXX"; then
13600 postdeps_CXX="${prev}${p}"
13601 else
13602 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13607 *.$objext)
13608 # This assumes that the test object file only shows up
13609 # once in the compiler output.
13610 if test "$p" = "conftest.$objext"; then
13611 pre_test_object_deps_done=yes
13612 continue
13615 if test "$pre_test_object_deps_done" = no; then
13616 if test -z "$predep_objects_CXX"; then
13617 predep_objects_CXX="$p"
13618 else
13619 predep_objects_CXX="$predep_objects_CXX $p"
13621 else
13622 if test -z "$postdep_objects_CXX"; then
13623 postdep_objects_CXX="$p"
13624 else
13625 postdep_objects_CXX="$postdep_objects_CXX $p"
13630 *) ;; # Ignore the rest.
13632 esac
13633 done
13635 # Clean up.
13636 rm -f a.out a.exe
13637 else
13638 echo "libtool.m4: error: problem compiling CXX test program"
13641 $RM -f confest.$objext
13643 # PORTME: override above test on systems where it is broken
13644 case $host_os in
13645 interix[3-9]*)
13646 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13647 # hack all around it, let's just trust "g++" to DTRT.
13648 predep_objects_CXX=
13649 postdep_objects_CXX=
13650 postdeps_CXX=
13653 linux*)
13654 case `$CC -V 2>&1 | sed 5q` in
13655 *Sun\ C*)
13656 # Sun C++ 5.9
13658 # The more standards-conforming stlport4 library is
13659 # incompatible with the Cstd library. Avoid specifying
13660 # it if it's in CXXFLAGS. Ignore libCrun as
13661 # -library=stlport4 depends on it.
13662 case " $CXX $CXXFLAGS " in
13663 *" -library=stlport4 "*)
13664 solaris_use_stlport4=yes
13666 esac
13668 if test "$solaris_use_stlport4" != yes; then
13669 postdeps_CXX='-library=Cstd -library=Crun'
13672 esac
13675 solaris*)
13676 case $cc_basename in
13677 CC*)
13678 # The more standards-conforming stlport4 library is
13679 # incompatible with the Cstd library. Avoid specifying
13680 # it if it's in CXXFLAGS. Ignore libCrun as
13681 # -library=stlport4 depends on it.
13682 case " $CXX $CXXFLAGS " in
13683 *" -library=stlport4 "*)
13684 solaris_use_stlport4=yes
13686 esac
13688 # Adding this requires a known-good setup of shared libraries for
13689 # Sun compiler versions before 5.6, else PIC objects from an old
13690 # archive will be linked into the output, leading to subtle bugs.
13691 if test "$solaris_use_stlport4" != yes; then
13692 postdeps_CXX='-library=Cstd -library=Crun'
13695 esac
13697 esac
13700 case " $postdeps_CXX " in
13701 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13702 esac
13703 compiler_lib_search_dirs_CXX=
13704 if test -n "${compiler_lib_search_path_CXX}"; then
13705 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13738 lt_prog_compiler_wl_CXX=
13739 lt_prog_compiler_pic_CXX=
13740 lt_prog_compiler_static_CXX=
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13743 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13745 # C++ specific cases for pic, static, wl, etc.
13746 if test "$GXX" = yes; then
13747 lt_prog_compiler_wl_CXX='-Wl,'
13748 lt_prog_compiler_static_CXX='-static'
13750 case $host_os in
13751 aix*)
13752 # All AIX code is PIC.
13753 if test "$host_cpu" = ia64; then
13754 # AIX 5 now supports IA64 processor
13755 lt_prog_compiler_static_CXX='-Bstatic'
13757 lt_prog_compiler_pic_CXX='-fPIC'
13760 amigaos*)
13761 case $host_cpu in
13762 powerpc)
13763 # see comment about AmigaOS4 .so support
13764 lt_prog_compiler_pic_CXX='-fPIC'
13766 m68k)
13767 # FIXME: we need at least 68020 code to build shared libraries, but
13768 # adding the `-m68020' flag to GCC prevents building anything better,
13769 # like `-m68040'.
13770 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13772 esac
13775 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13776 # PIC is the default for these OSes.
13778 mingw* | cygwin* | os2* | pw32* | cegcc*)
13779 # This hack is so that the source file can tell whether it is being
13780 # built for inclusion in a dll (and should export symbols for example).
13781 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13782 # (--disable-auto-import) libraries
13783 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13785 darwin* | rhapsody*)
13786 # PIC is the default on this platform
13787 # Common symbols not allowed in MH_DYLIB files
13788 lt_prog_compiler_pic_CXX='-fno-common'
13790 *djgpp*)
13791 # DJGPP does not support shared libraries at all
13792 lt_prog_compiler_pic_CXX=
13794 haiku*)
13795 # PIC is the default for Haiku.
13796 # The "-static" flag exists, but is broken.
13797 lt_prog_compiler_static_CXX=
13799 interix[3-9]*)
13800 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13801 # Instead, we relocate shared libraries at runtime.
13803 sysv4*MP*)
13804 if test -d /usr/nec; then
13805 lt_prog_compiler_pic_CXX=-Kconform_pic
13808 hpux*)
13809 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13810 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13811 # sets the default TLS model and affects inlining.
13812 case $host_cpu in
13813 hppa*64*)
13816 lt_prog_compiler_pic_CXX='-fPIC'
13818 esac
13820 *qnx* | *nto*)
13821 # QNX uses GNU C++, but need to define -shared option too, otherwise
13822 # it will coredump.
13823 lt_prog_compiler_pic_CXX='-fPIC -shared'
13826 lt_prog_compiler_pic_CXX='-fPIC'
13828 esac
13829 else
13830 case $host_os in
13831 aix[4-9]*)
13832 # All AIX code is PIC.
13833 if test "$host_cpu" = ia64; then
13834 # AIX 5 now supports IA64 processor
13835 lt_prog_compiler_static_CXX='-Bstatic'
13836 else
13837 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13840 chorus*)
13841 case $cc_basename in
13842 cxch68*)
13843 # Green Hills C++ Compiler
13844 # _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"
13846 esac
13848 dgux*)
13849 case $cc_basename in
13850 ec++*)
13851 lt_prog_compiler_pic_CXX='-KPIC'
13853 ghcx*)
13854 # Green Hills C++ Compiler
13855 lt_prog_compiler_pic_CXX='-pic'
13859 esac
13861 freebsd* | dragonfly*)
13862 # FreeBSD uses GNU C++
13864 hpux9* | hpux10* | hpux11*)
13865 case $cc_basename in
13866 CC*)
13867 lt_prog_compiler_wl_CXX='-Wl,'
13868 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13869 if test "$host_cpu" != ia64; then
13870 lt_prog_compiler_pic_CXX='+Z'
13873 aCC*)
13874 lt_prog_compiler_wl_CXX='-Wl,'
13875 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13876 case $host_cpu in
13877 hppa*64*|ia64*)
13878 # +Z the default
13881 lt_prog_compiler_pic_CXX='+Z'
13883 esac
13887 esac
13889 interix*)
13890 # This is c89, which is MS Visual C++ (no shared libs)
13891 # Anyone wants to do a port?
13893 irix5* | irix6* | nonstopux*)
13894 case $cc_basename in
13895 CC*)
13896 lt_prog_compiler_wl_CXX='-Wl,'
13897 lt_prog_compiler_static_CXX='-non_shared'
13898 # CC pic flag -KPIC is the default.
13902 esac
13904 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13905 case $cc_basename in
13906 KCC*)
13907 # KAI C++ Compiler
13908 lt_prog_compiler_wl_CXX='--backend -Wl,'
13909 lt_prog_compiler_pic_CXX='-fPIC'
13911 ecpc* )
13912 # old Intel C++ for x86_64 which still supported -KPIC.
13913 lt_prog_compiler_wl_CXX='-Wl,'
13914 lt_prog_compiler_pic_CXX='-KPIC'
13915 lt_prog_compiler_static_CXX='-static'
13917 icpc* )
13918 # Intel C++, used to be incompatible with GCC.
13919 # ICC 10 doesn't accept -KPIC any more.
13920 lt_prog_compiler_wl_CXX='-Wl,'
13921 lt_prog_compiler_pic_CXX='-fPIC'
13922 lt_prog_compiler_static_CXX='-static'
13924 pgCC* | pgcpp*)
13925 # Portland Group C++ compiler
13926 lt_prog_compiler_wl_CXX='-Wl,'
13927 lt_prog_compiler_pic_CXX='-fpic'
13928 lt_prog_compiler_static_CXX='-Bstatic'
13930 cxx*)
13931 # Compaq C++
13932 # Make sure the PIC flag is empty. It appears that all Alpha
13933 # Linux and Compaq Tru64 Unix objects are PIC.
13934 lt_prog_compiler_pic_CXX=
13935 lt_prog_compiler_static_CXX='-non_shared'
13937 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13938 # IBM XL 8.0, 9.0 on PPC and BlueGene
13939 lt_prog_compiler_wl_CXX='-Wl,'
13940 lt_prog_compiler_pic_CXX='-qpic'
13941 lt_prog_compiler_static_CXX='-qstaticlink'
13944 case `$CC -V 2>&1 | sed 5q` in
13945 *Sun\ C*)
13946 # Sun C++ 5.9
13947 lt_prog_compiler_pic_CXX='-KPIC'
13948 lt_prog_compiler_static_CXX='-Bstatic'
13949 lt_prog_compiler_wl_CXX='-Qoption ld '
13951 esac
13953 esac
13955 lynxos*)
13957 m88k*)
13959 mvs*)
13960 case $cc_basename in
13961 cxx*)
13962 lt_prog_compiler_pic_CXX='-W c,exportall'
13966 esac
13968 netbsd*)
13970 *qnx* | *nto*)
13971 # QNX uses GNU C++, but need to define -shared option too, otherwise
13972 # it will coredump.
13973 lt_prog_compiler_pic_CXX='-fPIC -shared'
13975 osf3* | osf4* | osf5*)
13976 case $cc_basename in
13977 KCC*)
13978 lt_prog_compiler_wl_CXX='--backend -Wl,'
13980 RCC*)
13981 # Rational C++ 2.4.1
13982 lt_prog_compiler_pic_CXX='-pic'
13984 cxx*)
13985 # Digital/Compaq C++
13986 lt_prog_compiler_wl_CXX='-Wl,'
13987 # Make sure the PIC flag is empty. It appears that all Alpha
13988 # Linux and Compaq Tru64 Unix objects are PIC.
13989 lt_prog_compiler_pic_CXX=
13990 lt_prog_compiler_static_CXX='-non_shared'
13994 esac
13996 psos*)
13998 solaris*)
13999 case $cc_basename in
14000 CC*)
14001 # Sun C++ 4.2, 5.x and Centerline C++
14002 lt_prog_compiler_pic_CXX='-KPIC'
14003 lt_prog_compiler_static_CXX='-Bstatic'
14004 lt_prog_compiler_wl_CXX='-Qoption ld '
14006 gcx*)
14007 # Green Hills C++ Compiler
14008 lt_prog_compiler_pic_CXX='-PIC'
14012 esac
14014 sunos4*)
14015 case $cc_basename in
14016 CC*)
14017 # Sun C++ 4.x
14018 lt_prog_compiler_pic_CXX='-pic'
14019 lt_prog_compiler_static_CXX='-Bstatic'
14021 lcc*)
14022 # Lucid
14023 lt_prog_compiler_pic_CXX='-pic'
14027 esac
14029 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14030 case $cc_basename in
14031 CC*)
14032 lt_prog_compiler_wl_CXX='-Wl,'
14033 lt_prog_compiler_pic_CXX='-KPIC'
14034 lt_prog_compiler_static_CXX='-Bstatic'
14036 esac
14038 tandem*)
14039 case $cc_basename in
14040 NCC*)
14041 # NonStop-UX NCC 3.20
14042 lt_prog_compiler_pic_CXX='-KPIC'
14046 esac
14048 vxworks*)
14051 lt_prog_compiler_can_build_shared_CXX=no
14053 esac
14056 case $host_os in
14057 # For platforms which do not support PIC, -DPIC is meaningless:
14058 *djgpp*)
14059 lt_prog_compiler_pic_CXX=
14062 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14064 esac
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14066 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14071 # Check to make sure the PIC flag actually works.
14073 if test -n "$lt_prog_compiler_pic_CXX"; then
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14075 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14076 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14077 $as_echo_n "(cached) " >&6
14078 else
14079 lt_cv_prog_compiler_pic_works_CXX=no
14080 ac_outfile=conftest.$ac_objext
14081 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14082 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14083 # Insert the option either (1) after the last *FLAGS variable, or
14084 # (2) before a word containing "conftest.", or (3) at the end.
14085 # Note that $ac_compile itself does not contain backslashes and begins
14086 # with a dollar sign (not a hyphen), so the echo should work correctly.
14087 # The option is referenced via a variable to avoid confusing sed.
14088 lt_compile=`echo "$ac_compile" | $SED \
14089 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14090 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14091 -e 's:$: $lt_compiler_flag:'`
14092 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14093 (eval "$lt_compile" 2>conftest.err)
14094 ac_status=$?
14095 cat conftest.err >&5
14096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14097 if (exit $ac_status) && test -s "$ac_outfile"; then
14098 # The compiler can only warn and ignore the option if not recognized
14099 # So say no if there are warnings other than the usual output.
14100 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14101 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14102 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14103 lt_cv_prog_compiler_pic_works_CXX=yes
14106 $RM conftest*
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14110 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14112 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14113 case $lt_prog_compiler_pic_CXX in
14114 "" | " "*) ;;
14115 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14116 esac
14117 else
14118 lt_prog_compiler_pic_CXX=
14119 lt_prog_compiler_can_build_shared_CXX=no
14127 # Check to make sure the static flag actually works.
14129 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14131 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14132 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14133 $as_echo_n "(cached) " >&6
14134 else
14135 lt_cv_prog_compiler_static_works_CXX=no
14136 save_LDFLAGS="$LDFLAGS"
14137 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14138 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14139 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14140 # The linker can only warn and ignore the option if not recognized
14141 # So say no if there are warnings
14142 if test -s conftest.err; then
14143 # Append any errors to the config.log.
14144 cat conftest.err 1>&5
14145 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14146 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14147 if diff conftest.exp conftest.er2 >/dev/null; then
14148 lt_cv_prog_compiler_static_works_CXX=yes
14150 else
14151 lt_cv_prog_compiler_static_works_CXX=yes
14154 $RM -r conftest*
14155 LDFLAGS="$save_LDFLAGS"
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14159 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14161 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14163 else
14164 lt_prog_compiler_static_CXX=
14170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14171 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14172 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14173 $as_echo_n "(cached) " >&6
14174 else
14175 lt_cv_prog_compiler_c_o_CXX=no
14176 $RM -r conftest 2>/dev/null
14177 mkdir conftest
14178 cd conftest
14179 mkdir out
14180 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14182 lt_compiler_flag="-o out/conftest2.$ac_objext"
14183 # Insert the option either (1) after the last *FLAGS variable, or
14184 # (2) before a word containing "conftest.", or (3) at the end.
14185 # Note that $ac_compile itself does not contain backslashes and begins
14186 # with a dollar sign (not a hyphen), so the echo should work correctly.
14187 lt_compile=`echo "$ac_compile" | $SED \
14188 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14189 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14190 -e 's:$: $lt_compiler_flag:'`
14191 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14192 (eval "$lt_compile" 2>out/conftest.err)
14193 ac_status=$?
14194 cat out/conftest.err >&5
14195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14196 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14197 then
14198 # The compiler can only warn and ignore the option if not recognized
14199 # So say no if there are warnings
14200 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14201 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14202 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14203 lt_cv_prog_compiler_c_o_CXX=yes
14206 chmod u+w . 2>&5
14207 $RM conftest*
14208 # SGI C++ compiler will create directory out/ii_files/ for
14209 # template instantiation
14210 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14211 $RM out/* && rmdir out
14212 cd ..
14213 $RM -r conftest
14214 $RM conftest*
14217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14218 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14223 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14224 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14225 $as_echo_n "(cached) " >&6
14226 else
14227 lt_cv_prog_compiler_c_o_CXX=no
14228 $RM -r conftest 2>/dev/null
14229 mkdir conftest
14230 cd conftest
14231 mkdir out
14232 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14234 lt_compiler_flag="-o out/conftest2.$ac_objext"
14235 # Insert the option either (1) after the last *FLAGS variable, or
14236 # (2) before a word containing "conftest.", or (3) at the end.
14237 # Note that $ac_compile itself does not contain backslashes and begins
14238 # with a dollar sign (not a hyphen), so the echo should work correctly.
14239 lt_compile=`echo "$ac_compile" | $SED \
14240 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14241 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14242 -e 's:$: $lt_compiler_flag:'`
14243 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14244 (eval "$lt_compile" 2>out/conftest.err)
14245 ac_status=$?
14246 cat out/conftest.err >&5
14247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14248 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14249 then
14250 # The compiler can only warn and ignore the option if not recognized
14251 # So say no if there are warnings
14252 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14253 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14254 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14255 lt_cv_prog_compiler_c_o_CXX=yes
14258 chmod u+w . 2>&5
14259 $RM conftest*
14260 # SGI C++ compiler will create directory out/ii_files/ for
14261 # template instantiation
14262 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14263 $RM out/* && rmdir out
14264 cd ..
14265 $RM -r conftest
14266 $RM conftest*
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14270 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14275 hard_links="nottested"
14276 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14277 # do not overwrite the value of need_locks provided by the user
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14279 $as_echo_n "checking if we can lock with hard links... " >&6; }
14280 hard_links=yes
14281 $RM conftest*
14282 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14283 touch conftest.a
14284 ln conftest.a conftest.b 2>&5 || hard_links=no
14285 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14287 $as_echo "$hard_links" >&6; }
14288 if test "$hard_links" = no; then
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14290 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14291 need_locks=warn
14293 else
14294 need_locks=no
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14300 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14302 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14303 case $host_os in
14304 aix[4-9]*)
14305 # If we're using GNU nm, then we don't want the "-C" option.
14306 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14307 # Also, AIX nm treats weak defined symbols like other global defined
14308 # symbols, whereas GNU nm marks them as "W".
14309 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14310 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'
14311 else
14312 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'
14315 pw32*)
14316 export_symbols_cmds_CXX="$ltdll_cmds"
14318 cygwin* | mingw* | cegcc*)
14319 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'
14322 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14324 esac
14325 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14328 $as_echo "$ld_shlibs_CXX" >&6; }
14329 test "$ld_shlibs_CXX" = no && can_build_shared=no
14331 with_gnu_ld_CXX=$with_gnu_ld
14339 # Do we need to explicitly link libc?
14341 case "x$archive_cmds_need_lc_CXX" in
14342 x|xyes)
14343 # Assume -lc should be added
14344 archive_cmds_need_lc_CXX=yes
14346 if test "$enable_shared" = yes && test "$GCC" = yes; then
14347 case $archive_cmds_CXX in
14348 *'~'*)
14349 # FIXME: we may have to deal with multi-command sequences.
14351 '$CC '*)
14352 # Test whether the compiler implicitly links with -lc since on some
14353 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14354 # to ld, don't add -lc before -lgcc.
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14356 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14357 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14358 $as_echo_n "(cached) " >&6
14359 else
14360 $RM conftest*
14361 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14363 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14364 (eval $ac_compile) 2>&5
14365 ac_status=$?
14366 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14367 test $ac_status = 0; } 2>conftest.err; then
14368 soname=conftest
14369 lib=conftest
14370 libobjs=conftest.$ac_objext
14371 deplibs=
14372 wl=$lt_prog_compiler_wl_CXX
14373 pic_flag=$lt_prog_compiler_pic_CXX
14374 compiler_flags=-v
14375 linker_flags=-v
14376 verstring=
14377 output_objdir=.
14378 libname=conftest
14379 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14380 allow_undefined_flag_CXX=
14381 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14382 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14383 ac_status=$?
14384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14385 test $ac_status = 0; }
14386 then
14387 lt_cv_archive_cmds_need_lc_CXX=no
14388 else
14389 lt_cv_archive_cmds_need_lc_CXX=yes
14391 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14392 else
14393 cat conftest.err 1>&5
14395 $RM conftest*
14398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14399 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14400 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14402 esac
14405 esac
14470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14471 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14473 library_names_spec=
14474 libname_spec='lib$name'
14475 soname_spec=
14476 shrext_cmds=".so"
14477 postinstall_cmds=
14478 postuninstall_cmds=
14479 finish_cmds=
14480 finish_eval=
14481 shlibpath_var=
14482 shlibpath_overrides_runpath=unknown
14483 version_type=none
14484 dynamic_linker="$host_os ld.so"
14485 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14486 need_lib_prefix=unknown
14487 hardcode_into_libs=no
14489 # when you set need_version to no, make sure it does not cause -set_version
14490 # flags to be left without arguments
14491 need_version=unknown
14493 case $host_os in
14494 aix3*)
14495 version_type=linux
14496 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14497 shlibpath_var=LIBPATH
14499 # AIX 3 has no versioning support, so we append a major version to the name.
14500 soname_spec='${libname}${release}${shared_ext}$major'
14503 aix[4-9]*)
14504 version_type=linux
14505 need_lib_prefix=no
14506 need_version=no
14507 hardcode_into_libs=yes
14508 if test "$host_cpu" = ia64; then
14509 # AIX 5 supports IA64
14510 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14511 shlibpath_var=LD_LIBRARY_PATH
14512 else
14513 # With GCC up to 2.95.x, collect2 would create an import file
14514 # for dependence libraries. The import file would start with
14515 # the line `#! .'. This would cause the generated library to
14516 # depend on `.', always an invalid library. This was fixed in
14517 # development snapshots of GCC prior to 3.0.
14518 case $host_os in
14519 aix4 | aix4.[01] | aix4.[01].*)
14520 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14521 echo ' yes '
14522 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14524 else
14525 can_build_shared=no
14528 esac
14529 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14530 # soname into executable. Probably we can add versioning support to
14531 # collect2, so additional links can be useful in future.
14532 if test "$aix_use_runtimelinking" = yes; then
14533 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14534 # instead of lib<name>.a to let people know that these are not
14535 # typical AIX shared libraries.
14536 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14537 else
14538 # We preserve .a as extension for shared libraries through AIX4.2
14539 # and later when we are not doing run time linking.
14540 library_names_spec='${libname}${release}.a $libname.a'
14541 soname_spec='${libname}${release}${shared_ext}$major'
14543 shlibpath_var=LIBPATH
14547 amigaos*)
14548 case $host_cpu in
14549 powerpc)
14550 # Since July 2007 AmigaOS4 officially supports .so libraries.
14551 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14554 m68k)
14555 library_names_spec='$libname.ixlibrary $libname.a'
14556 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14557 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'
14559 esac
14562 beos*)
14563 library_names_spec='${libname}${shared_ext}'
14564 dynamic_linker="$host_os ld.so"
14565 shlibpath_var=LIBRARY_PATH
14568 bsdi[45]*)
14569 version_type=linux
14570 need_version=no
14571 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14572 soname_spec='${libname}${release}${shared_ext}$major'
14573 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14574 shlibpath_var=LD_LIBRARY_PATH
14575 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14576 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14577 # the default ld.so.conf also contains /usr/contrib/lib and
14578 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14579 # libtool to hard-code these into programs
14582 cygwin* | mingw* | pw32* | cegcc*)
14583 version_type=windows
14584 shrext_cmds=".dll"
14585 need_version=no
14586 need_lib_prefix=no
14588 case $GCC,$host_os in
14589 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14590 library_names_spec='$libname.dll.a'
14591 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14592 postinstall_cmds='base_file=`basename \${file}`~
14593 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14594 dldir=$destdir/`dirname \$dlpath`~
14595 test -d \$dldir || mkdir -p \$dldir~
14596 $install_prog $dir/$dlname \$dldir/$dlname~
14597 chmod a+x \$dldir/$dlname~
14598 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14599 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14601 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14602 dlpath=$dir/\$dldll~
14603 $RM \$dlpath'
14604 shlibpath_overrides_runpath=yes
14606 case $host_os in
14607 cygwin*)
14608 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14609 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14612 mingw* | cegcc*)
14613 # MinGW DLLs use traditional 'lib' prefix
14614 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14616 pw32*)
14617 # pw32 DLLs use 'pw' prefix rather than 'lib'
14618 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14620 esac
14624 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14626 esac
14627 dynamic_linker='Win32 ld.exe'
14628 # FIXME: first we should search . and the directory the executable is in
14629 shlibpath_var=PATH
14632 darwin* | rhapsody*)
14633 dynamic_linker="$host_os dyld"
14634 version_type=darwin
14635 need_lib_prefix=no
14636 need_version=no
14637 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14638 soname_spec='${libname}${release}${major}$shared_ext'
14639 shlibpath_overrides_runpath=yes
14640 shlibpath_var=DYLD_LIBRARY_PATH
14641 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14643 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14646 dgux*)
14647 version_type=linux
14648 need_lib_prefix=no
14649 need_version=no
14650 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14651 soname_spec='${libname}${release}${shared_ext}$major'
14652 shlibpath_var=LD_LIBRARY_PATH
14655 freebsd* | dragonfly*)
14656 # DragonFly does not have aout. When/if they implement a new
14657 # versioning mechanism, adjust this.
14658 if test -x /usr/bin/objformat; then
14659 objformat=`/usr/bin/objformat`
14660 else
14661 case $host_os in
14662 freebsd[23].*) objformat=aout ;;
14663 *) objformat=elf ;;
14664 esac
14666 version_type=freebsd-$objformat
14667 case $version_type in
14668 freebsd-elf*)
14669 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14670 need_version=no
14671 need_lib_prefix=no
14673 freebsd-*)
14674 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14675 need_version=yes
14677 esac
14678 shlibpath_var=LD_LIBRARY_PATH
14679 case $host_os in
14680 freebsd2.*)
14681 shlibpath_overrides_runpath=yes
14683 freebsd3.[01]* | freebsdelf3.[01]*)
14684 shlibpath_overrides_runpath=yes
14685 hardcode_into_libs=yes
14687 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14688 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14689 shlibpath_overrides_runpath=no
14690 hardcode_into_libs=yes
14692 *) # from 4.6 on, and DragonFly
14693 shlibpath_overrides_runpath=yes
14694 hardcode_into_libs=yes
14696 esac
14699 gnu*)
14700 version_type=linux
14701 need_lib_prefix=no
14702 need_version=no
14703 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14704 soname_spec='${libname}${release}${shared_ext}$major'
14705 shlibpath_var=LD_LIBRARY_PATH
14706 hardcode_into_libs=yes
14709 haiku*)
14710 version_type=linux
14711 need_lib_prefix=no
14712 need_version=no
14713 dynamic_linker="$host_os runtime_loader"
14714 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14715 soname_spec='${libname}${release}${shared_ext}$major'
14716 shlibpath_var=LIBRARY_PATH
14717 shlibpath_overrides_runpath=yes
14718 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14719 hardcode_into_libs=yes
14722 hpux9* | hpux10* | hpux11*)
14723 # Give a soname corresponding to the major version so that dld.sl refuses to
14724 # link against other versions.
14725 version_type=sunos
14726 need_lib_prefix=no
14727 need_version=no
14728 case $host_cpu in
14729 ia64*)
14730 shrext_cmds='.so'
14731 hardcode_into_libs=yes
14732 dynamic_linker="$host_os dld.so"
14733 shlibpath_var=LD_LIBRARY_PATH
14734 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14735 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14736 soname_spec='${libname}${release}${shared_ext}$major'
14737 if test "X$HPUX_IA64_MODE" = X32; then
14738 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14739 else
14740 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14742 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14744 hppa*64*)
14745 shrext_cmds='.sl'
14746 hardcode_into_libs=yes
14747 dynamic_linker="$host_os dld.sl"
14748 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14749 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14750 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14751 soname_spec='${libname}${release}${shared_ext}$major'
14752 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14753 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14756 shrext_cmds='.sl'
14757 dynamic_linker="$host_os dld.sl"
14758 shlibpath_var=SHLIB_PATH
14759 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14760 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14761 soname_spec='${libname}${release}${shared_ext}$major'
14763 esac
14764 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14765 postinstall_cmds='chmod 555 $lib'
14766 # or fails outright, so override atomically:
14767 install_override_mode=555
14770 interix[3-9]*)
14771 version_type=linux
14772 need_lib_prefix=no
14773 need_version=no
14774 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14775 soname_spec='${libname}${release}${shared_ext}$major'
14776 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14777 shlibpath_var=LD_LIBRARY_PATH
14778 shlibpath_overrides_runpath=no
14779 hardcode_into_libs=yes
14782 irix5* | irix6* | nonstopux*)
14783 case $host_os in
14784 nonstopux*) version_type=nonstopux ;;
14786 if test "$lt_cv_prog_gnu_ld" = yes; then
14787 version_type=linux
14788 else
14789 version_type=irix
14790 fi ;;
14791 esac
14792 need_lib_prefix=no
14793 need_version=no
14794 soname_spec='${libname}${release}${shared_ext}$major'
14795 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14796 case $host_os in
14797 irix5* | nonstopux*)
14798 libsuff= shlibsuff=
14801 case $LD in # libtool.m4 will add one of these switches to LD
14802 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14803 libsuff= shlibsuff= libmagic=32-bit;;
14804 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14805 libsuff=32 shlibsuff=N32 libmagic=N32;;
14806 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14807 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14808 *) libsuff= shlibsuff= libmagic=never-match;;
14809 esac
14811 esac
14812 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14813 shlibpath_overrides_runpath=no
14814 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14815 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14816 hardcode_into_libs=yes
14819 # No shared lib support for Linux oldld, aout, or coff.
14820 linux*oldld* | linux*aout* | linux*coff*)
14821 dynamic_linker=no
14824 # This must be Linux ELF.
14825 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14826 version_type=linux
14827 need_lib_prefix=no
14828 need_version=no
14829 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14830 soname_spec='${libname}${release}${shared_ext}$major'
14831 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14832 shlibpath_var=LD_LIBRARY_PATH
14833 shlibpath_overrides_runpath=no
14835 # Some binutils ld are patched to set DT_RUNPATH
14836 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
14837 $as_echo_n "(cached) " >&6
14838 else
14839 lt_cv_shlibpath_overrides_runpath=no
14840 save_LDFLAGS=$LDFLAGS
14841 save_libdir=$libdir
14842 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14843 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14844 if test x$gcc_no_link = xyes; then
14845 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14848 /* end confdefs.h. */
14851 main ()
14855 return 0;
14857 _ACEOF
14858 if ac_fn_cxx_try_link "$LINENO"; then :
14859 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14860 lt_cv_shlibpath_overrides_runpath=yes
14863 rm -f core conftest.err conftest.$ac_objext \
14864 conftest$ac_exeext conftest.$ac_ext
14865 LDFLAGS=$save_LDFLAGS
14866 libdir=$save_libdir
14870 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14872 # This implies no fast_install, which is unacceptable.
14873 # Some rework will be needed to allow for fast_install
14874 # before this can be enabled.
14875 hardcode_into_libs=yes
14877 # Append ld.so.conf contents to the search path
14878 if test -f /etc/ld.so.conf; then
14879 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' ' '`
14880 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14883 # We used to test for /lib/ld.so.1 and disable shared libraries on
14884 # powerpc, because MkLinux only supported shared libraries with the
14885 # GNU dynamic linker. Since this was broken with cross compilers,
14886 # most powerpc-linux boxes support dynamic linking these days and
14887 # people can always --disable-shared, the test was removed, and we
14888 # assume the GNU/Linux dynamic linker is in use.
14889 dynamic_linker='GNU/Linux ld.so'
14892 netbsd*)
14893 version_type=sunos
14894 need_lib_prefix=no
14895 need_version=no
14896 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14897 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14898 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14899 dynamic_linker='NetBSD (a.out) ld.so'
14900 else
14901 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14902 soname_spec='${libname}${release}${shared_ext}$major'
14903 dynamic_linker='NetBSD ld.elf_so'
14905 shlibpath_var=LD_LIBRARY_PATH
14906 shlibpath_overrides_runpath=yes
14907 hardcode_into_libs=yes
14910 newsos6)
14911 version_type=linux
14912 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14913 shlibpath_var=LD_LIBRARY_PATH
14914 shlibpath_overrides_runpath=yes
14917 *nto* | *qnx*)
14918 version_type=qnx
14919 need_lib_prefix=no
14920 need_version=no
14921 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14922 soname_spec='${libname}${release}${shared_ext}$major'
14923 shlibpath_var=LD_LIBRARY_PATH
14924 shlibpath_overrides_runpath=no
14925 hardcode_into_libs=yes
14926 dynamic_linker='ldqnx.so'
14929 openbsd*)
14930 version_type=sunos
14931 sys_lib_dlsearch_path_spec="/usr/lib"
14932 need_lib_prefix=no
14933 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14934 case $host_os in
14935 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14936 *) need_version=no ;;
14937 esac
14938 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14939 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14940 shlibpath_var=LD_LIBRARY_PATH
14941 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14942 case $host_os in
14943 openbsd2.[89] | openbsd2.[89].*)
14944 shlibpath_overrides_runpath=no
14947 shlibpath_overrides_runpath=yes
14949 esac
14950 else
14951 shlibpath_overrides_runpath=yes
14955 os2*)
14956 libname_spec='$name'
14957 shrext_cmds=".dll"
14958 need_lib_prefix=no
14959 library_names_spec='$libname${shared_ext} $libname.a'
14960 dynamic_linker='OS/2 ld.exe'
14961 shlibpath_var=LIBPATH
14964 osf3* | osf4* | osf5*)
14965 version_type=osf
14966 need_lib_prefix=no
14967 need_version=no
14968 soname_spec='${libname}${release}${shared_ext}$major'
14969 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14970 shlibpath_var=LD_LIBRARY_PATH
14971 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14972 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14975 rdos*)
14976 dynamic_linker=no
14979 solaris*)
14980 version_type=linux
14981 need_lib_prefix=no
14982 need_version=no
14983 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14984 soname_spec='${libname}${release}${shared_ext}$major'
14985 shlibpath_var=LD_LIBRARY_PATH
14986 shlibpath_overrides_runpath=yes
14987 hardcode_into_libs=yes
14988 # ldd complains unless libraries are executable
14989 postinstall_cmds='chmod +x $lib'
14992 sunos4*)
14993 version_type=sunos
14994 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14995 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14996 shlibpath_var=LD_LIBRARY_PATH
14997 shlibpath_overrides_runpath=yes
14998 if test "$with_gnu_ld" = yes; then
14999 need_lib_prefix=no
15001 need_version=yes
15004 sysv4 | sysv4.3*)
15005 version_type=linux
15006 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15007 soname_spec='${libname}${release}${shared_ext}$major'
15008 shlibpath_var=LD_LIBRARY_PATH
15009 case $host_vendor in
15010 sni)
15011 shlibpath_overrides_runpath=no
15012 need_lib_prefix=no
15013 runpath_var=LD_RUN_PATH
15015 siemens)
15016 need_lib_prefix=no
15018 motorola)
15019 need_lib_prefix=no
15020 need_version=no
15021 shlibpath_overrides_runpath=no
15022 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15024 esac
15027 sysv4*MP*)
15028 if test -d /usr/nec ;then
15029 version_type=linux
15030 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15031 soname_spec='$libname${shared_ext}.$major'
15032 shlibpath_var=LD_LIBRARY_PATH
15036 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15037 version_type=freebsd-elf
15038 need_lib_prefix=no
15039 need_version=no
15040 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15041 soname_spec='${libname}${release}${shared_ext}$major'
15042 shlibpath_var=LD_LIBRARY_PATH
15043 shlibpath_overrides_runpath=yes
15044 hardcode_into_libs=yes
15045 if test "$with_gnu_ld" = yes; then
15046 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15047 else
15048 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15049 case $host_os in
15050 sco3.2v5*)
15051 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15053 esac
15055 sys_lib_dlsearch_path_spec='/usr/lib'
15058 tpf*)
15059 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15060 version_type=linux
15061 need_lib_prefix=no
15062 need_version=no
15063 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15064 shlibpath_var=LD_LIBRARY_PATH
15065 shlibpath_overrides_runpath=no
15066 hardcode_into_libs=yes
15069 uts4*)
15070 version_type=linux
15071 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15072 soname_spec='${libname}${release}${shared_ext}$major'
15073 shlibpath_var=LD_LIBRARY_PATH
15077 dynamic_linker=no
15079 esac
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15081 $as_echo "$dynamic_linker" >&6; }
15082 test "$dynamic_linker" = no && can_build_shared=no
15084 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15085 if test "$GCC" = yes; then
15086 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15089 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15090 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15092 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15093 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15134 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15135 hardcode_action_CXX=
15136 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15137 test -n "$runpath_var_CXX" ||
15138 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15140 # We can hardcode non-existent directories.
15141 if test "$hardcode_direct_CXX" != no &&
15142 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15143 # have to relink, otherwise we might link with an installed library
15144 # when we should be linking with a yet-to-be-installed one
15145 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15146 test "$hardcode_minus_L_CXX" != no; then
15147 # Linking always hardcodes the temporary library directory.
15148 hardcode_action_CXX=relink
15149 else
15150 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15151 hardcode_action_CXX=immediate
15153 else
15154 # We cannot hardcode anything, or else we can only hardcode existing
15155 # directories.
15156 hardcode_action_CXX=unsupported
15158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15159 $as_echo "$hardcode_action_CXX" >&6; }
15161 if test "$hardcode_action_CXX" = relink ||
15162 test "$inherit_rpath_CXX" = yes; then
15163 # Fast installation is not supported
15164 enable_fast_install=no
15165 elif test "$shlibpath_overrides_runpath" = yes ||
15166 test "$enable_shared" = no; then
15167 # Fast installation is not necessary
15168 enable_fast_install=needless
15177 fi # test -n "$compiler"
15179 CC=$lt_save_CC
15180 LDCXX=$LD
15181 LD=$lt_save_LD
15182 GCC=$lt_save_GCC
15183 with_gnu_ld=$lt_save_with_gnu_ld
15184 lt_cv_path_LDCXX=$lt_cv_path_LD
15185 lt_cv_path_LD=$lt_save_path_LD
15186 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15187 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15188 fi # test "$_lt_caught_CXX_error" != yes
15190 ac_ext=c
15191 ac_cpp='$CPP $CPPFLAGS'
15192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15208 ac_config_commands="$ac_config_commands libtool"
15213 # Only expand once:
15219 case $host in
15220 *-cygwin* | *-mingw*)
15221 # 'host' will be top-level target in the case of a target lib,
15222 # we must compare to with_cross_host to decide if this is a native
15223 # or cross-compiler and select where to install dlls appropriately.
15224 if test -n "$with_cross_host" &&
15225 test x"$with_cross_host" != x"no"; then
15226 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
15227 else
15228 lt_host_flags='-no-undefined -bindir "$(bindir)"';
15232 lt_host_flags=
15234 esac
15241 if test "$enable_vtable_verify" = yes; then
15242 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15243 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15247 # libtool variables for C++ shared and position-independent compiles.
15249 # Use glibcxx_lt_pic_flag to designate the automake variable
15250 # used to encapsulate the default libtool approach to creating objects
15251 # with position-independent code. Default: -prefer-pic.
15253 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15254 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15256 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15257 # creating position-independent objects. This varies with the target
15258 # hardware and operating system, but is often: -DPIC -fPIC.
15259 if test "$enable_shared" = yes; then
15260 glibcxx_lt_pic_flag="-prefer-pic"
15261 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15262 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15264 else
15265 glibcxx_lt_pic_flag=
15266 glibcxx_compiler_pic_flag=
15267 glibcxx_compiler_shared_flag=
15273 # Override the libtool's pic_flag and pic_mode.
15274 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15275 # NB: this impacts --with-pic and --without-pic.
15276 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15277 pic_mode='default'
15279 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15280 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15282 # Possibly disable most of the library.
15283 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15284 ## than just ignoring the results. Faster /and/ more correct, win win.
15286 # Check whether --enable-hosted-libstdcxx was given.
15287 if test "${enable_hosted_libstdcxx+set}" = set; then :
15288 enableval=$enable_hosted_libstdcxx;
15289 else
15290 case "$host" in
15291 arm*-*-symbianelf*)
15292 enable_hosted_libstdcxx=no
15295 enable_hosted_libstdcxx=yes
15297 esac
15300 if test "$enable_hosted_libstdcxx" = no; then
15301 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15302 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15303 is_hosted=no
15304 hosted_define=0
15305 enable_abi_check=no
15306 enable_libstdcxx_pch=no
15307 else
15308 is_hosted=yes
15309 hosted_define=1
15313 cat >>confdefs.h <<_ACEOF
15314 #define _GLIBCXX_HOSTED $hosted_define
15315 _ACEOF
15319 # Enable descriptive messages to standard output on termination.
15321 # Check whether --enable-libstdcxx-verbose was given.
15322 if test "${enable_libstdcxx_verbose+set}" = set; then :
15323 enableval=$enable_libstdcxx_verbose;
15324 else
15325 enable_libstdcxx_verbose=yes
15328 if test x"$enable_libstdcxx_verbose" = xyes; then
15329 verbose_define=1
15330 else
15331 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15332 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15333 verbose_define=0
15336 cat >>confdefs.h <<_ACEOF
15337 #define _GLIBCXX_VERBOSE $verbose_define
15338 _ACEOF
15342 # Enable compiler support that doesn't require linking.
15344 # Check whether --enable-libstdcxx-pch was given.
15345 if test "${enable_libstdcxx_pch+set}" = set; then :
15346 enableval=$enable_libstdcxx_pch;
15347 case "$enableval" in
15348 yes|no) ;;
15349 *) as_fn_error $? "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15350 esac
15352 else
15353 enable_libstdcxx_pch=$is_hosted
15357 if test $enable_libstdcxx_pch = yes; then
15358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15359 $as_echo_n "checking for compiler with PCH support... " >&6; }
15360 if ${glibcxx_cv_prog_CXX_pch+:} false; then :
15361 $as_echo_n "(cached) " >&6
15362 else
15363 ac_save_CXXFLAGS="$CXXFLAGS"
15364 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15366 ac_ext=cpp
15367 ac_cpp='$CXXCPP $CPPFLAGS'
15368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15372 echo '#include <math.h>' > conftest.h
15373 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15374 -o conftest.h.gch 1>&5 2>&1 &&
15375 echo '#error "pch failed"' > conftest.h &&
15376 echo '#include "conftest.h"' > conftest.cc &&
15377 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15378 then
15379 glibcxx_cv_prog_CXX_pch=yes
15380 else
15381 glibcxx_cv_prog_CXX_pch=no
15383 rm -f conftest*
15384 CXXFLAGS=$ac_save_CXXFLAGS
15385 ac_ext=c
15386 ac_cpp='$CPP $CPPFLAGS'
15387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15394 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15395 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15399 $as_echo_n "checking for enabled PCH... " >&6; }
15400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15401 $as_echo "$enable_libstdcxx_pch" >&6; }
15404 if test $enable_libstdcxx_pch = yes; then
15405 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15406 else
15407 glibcxx_PCHFLAGS=""
15412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15413 $as_echo_n "checking for thread model used by GCC... " >&6; }
15414 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15416 $as_echo "$target_thread_file" >&6; }
15418 case $target_thread_file in
15419 aix) thread_header=config/rs6000/gthr-aix.h ;;
15420 dce) thread_header=config/pa/gthr-dce.h ;;
15421 gcn) thread_header=config/gcn/gthr-gcn.h ;;
15422 lynx) thread_header=config/gthr-lynx.h ;;
15423 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15424 posix) thread_header=gthr-posix.h ;;
15425 rtems) thread_header=config/gthr-rtems.h ;;
15426 single) thread_header=gthr-single.h ;;
15427 tpf) thread_header=config/s390/gthr-tpf.h ;;
15428 vxworks) thread_header=config/gthr-vxworks.h ;;
15429 win32) thread_header=config/i386/gthr-win32.h ;;
15430 esac
15436 ac_ext=cpp
15437 ac_cpp='$CXXCPP $CPPFLAGS'
15438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15442 old_CXXFLAGS="$CXXFLAGS"
15444 # Do link tests if possible, instead asm tests, limited to some platforms
15445 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15446 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15447 atomic_builtins_link_tests=no
15448 if test x$gcc_no_link != xyes; then
15449 # Can do link tests. Limit to some tested platforms
15450 case "$host" in
15451 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15452 atomic_builtins_link_tests=yes
15454 esac
15457 if test x$atomic_builtins_link_tests = xyes; then
15459 # Do link tests.
15461 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15464 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15465 if ${glibcxx_cv_atomic_bool+:} false; then :
15466 $as_echo_n "(cached) " >&6
15467 else
15469 if test x$gcc_no_link = xyes; then
15470 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15473 /* end confdefs.h. */
15476 main ()
15478 typedef bool atomic_type;
15479 atomic_type c1;
15480 atomic_type c2;
15481 atomic_type c3(0);
15482 // N.B. __atomic_fetch_add is not supported for bool.
15483 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15484 __ATOMIC_RELAXED);
15485 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15486 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15489 return 0;
15491 _ACEOF
15492 if ac_fn_cxx_try_link "$LINENO"; then :
15493 glibcxx_cv_atomic_bool=yes
15494 else
15495 glibcxx_cv_atomic_bool=no
15497 rm -f core conftest.err conftest.$ac_objext \
15498 conftest$ac_exeext conftest.$ac_ext
15502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15503 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15506 $as_echo_n "checking for atomic builtins for short... " >&6; }
15507 if ${glibcxx_cv_atomic_short+:} false; then :
15508 $as_echo_n "(cached) " >&6
15509 else
15511 if test x$gcc_no_link = xyes; then
15512 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15515 /* end confdefs.h. */
15518 main ()
15520 typedef short atomic_type;
15521 atomic_type c1;
15522 atomic_type c2;
15523 atomic_type c3(0);
15524 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15525 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15526 __ATOMIC_RELAXED);
15527 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15528 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15531 return 0;
15533 _ACEOF
15534 if ac_fn_cxx_try_link "$LINENO"; then :
15535 glibcxx_cv_atomic_short=yes
15536 else
15537 glibcxx_cv_atomic_short=no
15539 rm -f core conftest.err conftest.$ac_objext \
15540 conftest$ac_exeext conftest.$ac_ext
15544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15545 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15548 $as_echo_n "checking for atomic builtins for int... " >&6; }
15549 if ${glibcxx_cv_atomic_int+:} false; then :
15550 $as_echo_n "(cached) " >&6
15551 else
15553 if test x$gcc_no_link = xyes; then
15554 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15557 /* end confdefs.h. */
15560 main ()
15562 typedef int atomic_type;
15563 atomic_type c1;
15564 atomic_type c2;
15565 atomic_type c3(0);
15566 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15567 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15568 __ATOMIC_RELAXED);
15569 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15570 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15573 return 0;
15575 _ACEOF
15576 if ac_fn_cxx_try_link "$LINENO"; then :
15577 glibcxx_cv_atomic_int=yes
15578 else
15579 glibcxx_cv_atomic_int=no
15581 rm -f core conftest.err conftest.$ac_objext \
15582 conftest$ac_exeext conftest.$ac_ext
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15587 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15590 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15591 if ${glibcxx_cv_atomic_long_long+:} false; then :
15592 $as_echo_n "(cached) " >&6
15593 else
15595 if test x$gcc_no_link = xyes; then
15596 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15599 /* end confdefs.h. */
15602 main ()
15604 typedef long long atomic_type;
15605 atomic_type c1;
15606 atomic_type c2;
15607 atomic_type c3(0);
15608 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15609 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15610 __ATOMIC_RELAXED);
15611 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15612 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15615 return 0;
15617 _ACEOF
15618 if ac_fn_cxx_try_link "$LINENO"; then :
15619 glibcxx_cv_atomic_long_long=yes
15620 else
15621 glibcxx_cv_atomic_long_long=no
15623 rm -f core conftest.err conftest.$ac_objext \
15624 conftest$ac_exeext conftest.$ac_ext
15628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15629 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15631 else
15633 # Do asm tests.
15635 # Compile unoptimized.
15636 CXXFLAGS='-O0 -S'
15638 # Fake what AC_TRY_COMPILE does.
15640 cat > conftest.$ac_ext << EOF
15641 #line 15641 "configure"
15642 int main()
15644 typedef bool atomic_type;
15645 atomic_type c1;
15646 atomic_type c2;
15647 atomic_type c3(0);
15648 // N.B. __atomic_fetch_add is not supported for bool.
15649 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15650 __ATOMIC_RELAXED);
15651 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15652 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15654 return 0;
15658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15659 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15660 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15661 (eval $ac_compile) 2>&5
15662 ac_status=$?
15663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15664 test $ac_status = 0; }; then
15665 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15666 glibcxx_cv_atomic_bool=no
15667 else
15668 glibcxx_cv_atomic_bool=yes
15671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15672 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15673 rm -f conftest*
15675 cat > conftest.$ac_ext << EOF
15676 #line 15676 "configure"
15677 int main()
15679 typedef short atomic_type;
15680 atomic_type c1;
15681 atomic_type c2;
15682 atomic_type c3(0);
15683 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15684 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15685 __ATOMIC_RELAXED);
15686 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15687 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15689 return 0;
15693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15694 $as_echo_n "checking for atomic builtins for short... " >&6; }
15695 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15696 (eval $ac_compile) 2>&5
15697 ac_status=$?
15698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15699 test $ac_status = 0; }; then
15700 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15701 glibcxx_cv_atomic_short=no
15702 else
15703 glibcxx_cv_atomic_short=yes
15706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15707 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15708 rm -f conftest*
15710 cat > conftest.$ac_ext << EOF
15711 #line 15711 "configure"
15712 int main()
15714 // NB: _Atomic_word not necessarily int.
15715 typedef int atomic_type;
15716 atomic_type c1;
15717 atomic_type c2;
15718 atomic_type c3(0);
15719 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15720 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15721 __ATOMIC_RELAXED);
15722 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15723 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15725 return 0;
15729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15730 $as_echo_n "checking for atomic builtins for int... " >&6; }
15731 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15732 (eval $ac_compile) 2>&5
15733 ac_status=$?
15734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15735 test $ac_status = 0; }; then
15736 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15737 glibcxx_cv_atomic_int=no
15738 else
15739 glibcxx_cv_atomic_int=yes
15742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15743 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15744 rm -f conftest*
15746 cat > conftest.$ac_ext << EOF
15747 #line 15747 "configure"
15748 int main()
15750 typedef long long atomic_type;
15751 atomic_type c1;
15752 atomic_type c2;
15753 atomic_type c3(0);
15754 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15755 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15756 __ATOMIC_RELAXED);
15757 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15758 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15760 return 0;
15764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15765 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15766 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15767 (eval $ac_compile) 2>&5
15768 ac_status=$?
15769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15770 test $ac_status = 0; }; then
15771 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15772 glibcxx_cv_atomic_long_long=no
15773 else
15774 glibcxx_cv_atomic_long_long=yes
15777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15778 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15779 rm -f conftest*
15783 CXXFLAGS="$old_CXXFLAGS"
15784 ac_ext=c
15785 ac_cpp='$CPP $CPPFLAGS'
15786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15791 # Set atomicity_dir to builtins if all but the long long test above passes,
15792 # or if the builtins were already chosen (e.g. by configure.host).
15793 if { test "$glibcxx_cv_atomic_bool" = yes \
15794 && test "$glibcxx_cv_atomic_short" = yes \
15795 && test "$glibcxx_cv_atomic_int" = yes; } \
15796 || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
15798 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15800 atomicity_dir=cpu/generic/atomicity_builtins
15803 # If still generic, set to mutex.
15804 if test $atomicity_dir = "cpu/generic" ; then
15805 atomicity_dir=cpu/generic/atomicity_mutex
15806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15807 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15808 if test "x$target_thread_file" = xsingle; then
15809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15810 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15812 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15813 else
15814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15815 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15817 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15825 # Check whether --with-libstdcxx-lock-policy was given.
15826 if test "${with_libstdcxx_lock_policy+set}" = set; then :
15827 withval=$with_libstdcxx_lock_policy; libstdcxx_atomic_lock_policy=$withval
15828 else
15829 libstdcxx_atomic_lock_policy=auto
15833 case "$libstdcxx_atomic_lock_policy" in
15834 atomic|mutex|auto) ;;
15835 *) as_fn_error $? "Invalid argument for --with-libstdcxx-lock-policy" "$LINENO" 5 ;;
15836 esac
15837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lock policy for shared_ptr reference counts" >&5
15838 $as_echo_n "checking for lock policy for shared_ptr reference counts... " >&6; }
15840 if test x"$libstdcxx_atomic_lock_policy" = x"auto"; then
15842 ac_ext=cpp
15843 ac_cpp='$CXXCPP $CPPFLAGS'
15844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15848 ac_save_CXXFLAGS="$CXXFLAGS"
15850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15851 /* end confdefs.h. */
15853 #if ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
15854 # error "No 2-byte compare-and-swap"
15855 #elif ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
15856 # error "No 4-byte compare-and-swap"
15857 #endif
15860 main ()
15864 return 0;
15866 _ACEOF
15867 if ac_fn_cxx_try_compile "$LINENO"; then :
15868 libstdcxx_atomic_lock_policy=atomic
15869 else
15870 libstdcxx_atomic_lock_policy=mutex
15872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15873 ac_ext=c
15874 ac_cpp='$CPP $CPPFLAGS'
15875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15879 CXXFLAGS="$ac_save_CXXFLAGS"
15882 if test x"$libstdcxx_atomic_lock_policy" = x"atomic"; then
15883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: atomic" >&5
15884 $as_echo "atomic" >&6; }
15886 $as_echo "#define HAVE_ATOMIC_LOCK_POLICY 1" >>confdefs.h
15888 else
15889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mutex" >&5
15890 $as_echo "mutex" >&6; }
15896 # Fake what AC_TRY_COMPILE does, without linking as this is
15897 # unnecessary for this test.
15899 cat > conftest.$ac_ext << EOF
15900 #line 15900 "configure"
15901 int main()
15903 _Decimal32 d1;
15904 _Decimal64 d2;
15905 _Decimal128 d3;
15906 return 0;
15910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15911 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15912 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15913 (eval $ac_compile) 2>&5
15914 ac_status=$?
15915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15916 test $ac_status = 0; }; then
15918 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15920 enable_dfp=yes
15921 else
15922 enable_dfp=no
15924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15925 $as_echo "$enable_dfp" >&6; }
15926 rm -f conftest*
15931 ac_ext=cpp
15932 ac_cpp='$CXXCPP $CPPFLAGS'
15933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15938 # Fake what AC_TRY_COMPILE does, without linking as this is
15939 # unnecessary for this test.
15941 cat > conftest.$ac_ext << EOF
15942 #line 15942 "configure"
15943 template<typename T1, typename T2>
15944 struct same
15945 { typedef T2 type; };
15947 template<typename T>
15948 struct same<T, T>;
15950 int main()
15952 typename same<long, __int128>::type i1;
15953 typename same<long long, __int128>::type i2;
15957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15958 $as_echo_n "checking for __int128... " >&6; }
15959 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15960 (eval $ac_compile) 2>&5
15961 ac_status=$?
15962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15963 test $ac_status = 0; }; then
15965 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15967 enable_int128=yes
15968 else
15969 enable_int128=no
15971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15972 $as_echo "$enable_int128" >&6; }
15973 rm -f conftest*
15975 cat > conftest.$ac_ext << EOF
15976 #line 15976 "configure"
15977 template<typename T1, typename T2>
15978 struct same
15979 { typedef T2 type; };
15981 template<typename T>
15982 struct same<T, T>;
15984 int main()
15986 typename same<double, __float128>::type f1;
15987 typename same<long double, __float128>::type f2;
15991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15992 $as_echo_n "checking for __float128... " >&6; }
15993 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15994 (eval $ac_compile) 2>&5
15995 ac_status=$?
15996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15997 test $ac_status = 0; }; then
15998 enable_float128=yes
15999 else
16000 enable_float128=no
16002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
16003 $as_echo "$enable_float128" >&6; }
16005 rm -f conftest*
16007 ac_ext=c
16008 ac_cpp='$CPP $CPPFLAGS'
16009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16014 if test "$enable_float128" = yes; then
16015 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
16018 # Checks for compiler support that doesn't require linking.
16020 # All these tests are for C++; save the language and the compiler flags.
16021 # The CXXFLAGS thing is suspicious, but based on similar bits previously
16022 # found in GLIBCXX_CONFIGURE.
16024 ac_ext=cpp
16025 ac_cpp='$CXXCPP $CPPFLAGS'
16026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16030 ac_test_CXXFLAGS="${CXXFLAGS+set}"
16031 ac_save_CXXFLAGS="$CXXFLAGS"
16033 # Check for -ffunction-sections -fdata-sections
16034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
16035 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
16036 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
16037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16038 /* end confdefs.h. */
16039 int foo; void bar() { };
16041 main ()
16045 return 0;
16047 _ACEOF
16048 if ac_fn_cxx_try_compile "$LINENO"; then :
16049 ac_fdsections=yes
16050 else
16051 ac_fdsections=no
16053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16054 if test "$ac_test_CXXFLAGS" = set; then
16055 CXXFLAGS="$ac_save_CXXFLAGS"
16056 else
16057 # this is the suspicious part
16058 CXXFLAGS=''
16060 if test x"$ac_fdsections" = x"yes"; then
16061 SECTION_FLAGS='-ffunction-sections -fdata-sections'
16063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
16064 $as_echo "$ac_fdsections" >&6; }
16066 ac_ext=c
16067 ac_cpp='$CPP $CPPFLAGS'
16068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16075 # Enable all the variable C++ runtime options that don't require linking.
16077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
16078 $as_echo_n "checking for underlying I/O to use... " >&6; }
16079 # Check whether --enable-cstdio was given.
16080 if test "${enable_cstdio+set}" = set; then :
16081 enableval=$enable_cstdio;
16082 case "$enableval" in
16083 stdio) ;;
16084 *) as_fn_error $? "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
16085 esac
16087 else
16088 enable_cstdio=stdio
16093 # Now that libio has been removed, you can have any color you want as long
16094 # as it's black. This is one big no-op until other packages are added, but
16095 # showing the framework never hurts.
16096 case ${enable_cstdio} in
16097 stdio)
16098 CSTDIO_H=config/io/c_io_stdio.h
16099 BASIC_FILE_H=config/io/basic_file_stdio.h
16100 BASIC_FILE_CC=config/io/basic_file_stdio.cc
16101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
16102 $as_echo "stdio" >&6; }
16104 esac
16111 # Check whether --enable-clocale was given.
16112 if test "${enable_clocale+set}" = set; then :
16113 enableval=$enable_clocale;
16114 case "$enableval" in
16115 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
16116 *) as_fn_error $? "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
16117 esac
16119 else
16120 enable_clocale=auto
16125 # Deal with gettext issues. Default to not using it (=no) until we detect
16126 # support for it later. Let the user turn it off via --e/d, but let that
16127 # default to on for easier handling.
16128 USE_NLS=no
16129 # Check whether --enable-nls was given.
16130 if test "${enable_nls+set}" = set; then :
16131 enableval=$enable_nls;
16132 else
16133 enable_nls=yes
16137 # Either a known package, or "auto"
16138 if test $enable_clocale = no || test $enable_clocale = yes; then
16139 enable_clocale=auto
16141 enable_clocale_flag=$enable_clocale
16143 # Probe for locale model to use if none specified.
16144 # Default to "generic".
16145 if test $enable_clocale_flag = auto; then
16146 case ${target_os} in
16147 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16148 enable_clocale_flag=gnu
16150 darwin*)
16151 enable_clocale_flag=darwin
16153 dragonfly* | freebsd*)
16154 enable_clocale_flag=dragonfly
16156 openbsd*)
16157 enable_clocale_flag=newlib
16160 if test x"$with_newlib" = x"yes"; then
16161 enable_clocale_flag=newlib
16162 else
16163 enable_clocale_flag=generic
16166 esac
16169 # Sanity check model, and test for special functionality.
16170 if test $enable_clocale_flag = gnu; then
16171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16172 /* end confdefs.h. */
16174 #include <features.h>
16175 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
16176 _GLIBCXX_ok
16177 #endif
16179 _ACEOF
16180 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16181 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
16182 enable_clocale_flag=gnu
16183 else
16184 enable_clocale_flag=generic
16186 rm -f conftest*
16189 # Set it to scream when it hurts.
16190 ac_save_CFLAGS="$CFLAGS"
16191 CFLAGS="-Wimplicit-function-declaration -Werror"
16193 # Use strxfrm_l if available.
16194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16195 /* end confdefs.h. */
16196 #define _GNU_SOURCE 1
16197 #include <string.h>
16198 #include <locale.h>
16200 main ()
16202 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
16204 return 0;
16206 _ACEOF
16207 if ac_fn_c_try_compile "$LINENO"; then :
16209 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
16212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16214 # Use strerror_l if available.
16215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16216 /* end confdefs.h. */
16217 #define _GNU_SOURCE 1
16218 #include <string.h>
16219 #include <locale.h>
16221 main ()
16223 __locale_t loc; strerror_l(5, loc);
16225 return 0;
16227 _ACEOF
16228 if ac_fn_c_try_compile "$LINENO"; then :
16230 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
16233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16235 CFLAGS="$ac_save_CFLAGS"
16238 # Perhaps use strerror_r if available, and strerror_l isn't.
16239 ac_save_CFLAGS="$CFLAGS"
16240 CFLAGS="-Wimplicit-function-declaration -Werror"
16241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16242 /* end confdefs.h. */
16243 #define _GNU_SOURCE 1
16244 #include <string.h>
16245 #include <locale.h>
16247 main ()
16249 char s[128]; strerror_r(5, s, 128);
16251 return 0;
16253 _ACEOF
16254 if ac_fn_c_try_compile "$LINENO"; then :
16256 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16260 CFLAGS="$ac_save_CFLAGS"
16262 # Set configure bits for specified locale package
16263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
16264 $as_echo_n "checking for C locale to use... " >&6; }
16265 case ${enable_clocale_flag} in
16266 generic)
16267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
16268 $as_echo "generic" >&6; }
16270 CLOCALE_H=config/locale/generic/c_locale.h
16271 CLOCALE_CC=config/locale/generic/c_locale.cc
16272 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16273 CCOLLATE_CC=config/locale/generic/collate_members.cc
16274 CCTYPE_CC=config/locale/generic/ctype_members.cc
16275 CMESSAGES_H=config/locale/generic/messages_members.h
16276 CMESSAGES_CC=config/locale/generic/messages_members.cc
16277 CMONEY_CC=config/locale/generic/monetary_members.cc
16278 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16279 CTIME_H=config/locale/generic/time_members.h
16280 CTIME_CC=config/locale/generic/time_members.cc
16281 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16283 darwin)
16284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
16285 $as_echo "darwin" >&6; }
16287 CLOCALE_H=config/locale/generic/c_locale.h
16288 CLOCALE_CC=config/locale/generic/c_locale.cc
16289 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16290 CCOLLATE_CC=config/locale/generic/collate_members.cc
16291 CCTYPE_CC=config/locale/darwin/ctype_members.cc
16292 CMESSAGES_H=config/locale/generic/messages_members.h
16293 CMESSAGES_CC=config/locale/generic/messages_members.cc
16294 CMONEY_CC=config/locale/generic/monetary_members.cc
16295 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16296 CTIME_H=config/locale/generic/time_members.h
16297 CTIME_CC=config/locale/generic/time_members.cc
16298 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16301 dragonfly)
16302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
16303 $as_echo "dragonfly or freebsd" >&6; }
16305 CLOCALE_H=config/locale/dragonfly/c_locale.h
16306 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16307 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16308 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16309 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16310 CMESSAGES_H=config/locale/generic/messages_members.h
16311 CMESSAGES_CC=config/locale/generic/messages_members.cc
16312 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16313 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16314 CTIME_H=config/locale/dragonfly/time_members.h
16315 CTIME_CC=config/locale/dragonfly/time_members.cc
16316 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16319 gnu)
16320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16321 $as_echo "gnu" >&6; }
16323 # Declare intention to use gettext, and add support for specific
16324 # languages.
16325 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16326 ALL_LINGUAS="de fr"
16328 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16329 # Extract the first word of "msgfmt", so it can be a program name with args.
16330 set dummy msgfmt; ac_word=$2
16331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16332 $as_echo_n "checking for $ac_word... " >&6; }
16333 if ${ac_cv_prog_check_msgfmt+:} false; then :
16334 $as_echo_n "(cached) " >&6
16335 else
16336 if test -n "$check_msgfmt"; then
16337 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16338 else
16339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16340 for as_dir in $PATH
16342 IFS=$as_save_IFS
16343 test -z "$as_dir" && as_dir=.
16344 for ac_exec_ext in '' $ac_executable_extensions; do
16345 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16346 ac_cv_prog_check_msgfmt="yes"
16347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16348 break 2
16350 done
16351 done
16352 IFS=$as_save_IFS
16354 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16357 check_msgfmt=$ac_cv_prog_check_msgfmt
16358 if test -n "$check_msgfmt"; then
16359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16360 $as_echo "$check_msgfmt" >&6; }
16361 else
16362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16363 $as_echo "no" >&6; }
16367 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16368 USE_NLS=yes
16370 # Export the build objects.
16371 for ling in $ALL_LINGUAS; do \
16372 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16373 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16374 done
16378 CLOCALE_H=config/locale/gnu/c_locale.h
16379 CLOCALE_CC=config/locale/gnu/c_locale.cc
16380 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16381 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16382 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16383 CMESSAGES_H=config/locale/gnu/messages_members.h
16384 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16385 CMONEY_CC=config/locale/gnu/monetary_members.cc
16386 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16387 CTIME_H=config/locale/gnu/time_members.h
16388 CTIME_CC=config/locale/gnu/time_members.cc
16389 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16391 ieee_1003.1-2001)
16392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16393 $as_echo "IEEE 1003.1" >&6; }
16395 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16396 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16397 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16398 CCOLLATE_CC=config/locale/generic/collate_members.cc
16399 CCTYPE_CC=config/locale/generic/ctype_members.cc
16400 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16401 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16402 CMONEY_CC=config/locale/generic/monetary_members.cc
16403 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16404 CTIME_H=config/locale/generic/time_members.h
16405 CTIME_CC=config/locale/generic/time_members.cc
16406 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16408 newlib)
16409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16410 $as_echo "newlib" >&6; }
16412 CLOCALE_H=config/locale/generic/c_locale.h
16413 CLOCALE_CC=config/locale/generic/c_locale.cc
16414 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16415 CCOLLATE_CC=config/locale/generic/collate_members.cc
16416 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16417 CMESSAGES_H=config/locale/generic/messages_members.h
16418 CMESSAGES_CC=config/locale/generic/messages_members.cc
16419 CMONEY_CC=config/locale/generic/monetary_members.cc
16420 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16421 CTIME_H=config/locale/generic/time_members.h
16422 CTIME_CC=config/locale/generic/time_members.cc
16423 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16425 esac
16427 # This is where the testsuite looks for locale catalogs, using the
16428 # -DLOCALEDIR define during testsuite compilation.
16429 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16432 # A standalone libintl (e.g., GNU libintl) may be in use.
16433 if test $USE_NLS = yes; then
16434 for ac_header in libintl.h
16435 do :
16436 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16437 if test "x$ac_cv_header_libintl_h" = xyes; then :
16438 cat >>confdefs.h <<_ACEOF
16439 #define HAVE_LIBINTL_H 1
16440 _ACEOF
16442 else
16443 USE_NLS=no
16446 done
16448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16449 $as_echo_n "checking for library containing gettext... " >&6; }
16450 if ${ac_cv_search_gettext+:} false; then :
16451 $as_echo_n "(cached) " >&6
16452 else
16453 ac_func_search_save_LIBS=$LIBS
16454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16455 /* end confdefs.h. */
16457 /* Override any GCC internal prototype to avoid an error.
16458 Use char because int might match the return type of a GCC
16459 builtin and then its argument prototype would still apply. */
16460 #ifdef __cplusplus
16461 extern "C"
16462 #endif
16463 char gettext ();
16465 main ()
16467 return gettext ();
16469 return 0;
16471 _ACEOF
16472 for ac_lib in '' intl; do
16473 if test -z "$ac_lib"; then
16474 ac_res="none required"
16475 else
16476 ac_res=-l$ac_lib
16477 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16479 if test x$gcc_no_link = xyes; then
16480 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16482 if ac_fn_c_try_link "$LINENO"; then :
16483 ac_cv_search_gettext=$ac_res
16485 rm -f core conftest.err conftest.$ac_objext \
16486 conftest$ac_exeext
16487 if ${ac_cv_search_gettext+:} false; then :
16488 break
16490 done
16491 if ${ac_cv_search_gettext+:} false; then :
16493 else
16494 ac_cv_search_gettext=no
16496 rm conftest.$ac_ext
16497 LIBS=$ac_func_search_save_LIBS
16499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16500 $as_echo "$ac_cv_search_gettext" >&6; }
16501 ac_res=$ac_cv_search_gettext
16502 if test "$ac_res" != no; then :
16503 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16505 else
16506 USE_NLS=no
16510 if test $USE_NLS = yes; then
16512 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16532 $as_echo_n "checking for std::allocator base class... " >&6; }
16533 # Check whether --enable-libstdcxx-allocator was given.
16534 if test "${enable_libstdcxx_allocator+set}" = set; then :
16535 enableval=$enable_libstdcxx_allocator;
16536 case "$enableval" in
16537 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16538 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16539 esac
16541 else
16542 enable_libstdcxx_allocator=auto
16547 # If they didn't use this option switch, or if they specified --enable
16548 # with no specific model, we'll have to look for one. If they
16549 # specified --disable (???), do likewise.
16550 if test $enable_libstdcxx_allocator = no ||
16551 test $enable_libstdcxx_allocator = yes;
16552 then
16553 enable_libstdcxx_allocator=auto
16556 # Either a known package, or "auto". Auto implies the default choice
16557 # for a particular platform.
16558 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16560 # Probe for host-specific support if no specific model is specified.
16561 # Default to "new".
16562 if test $enable_libstdcxx_allocator_flag = auto; then
16563 case ${target_os} in
16564 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16565 enable_libstdcxx_allocator_flag=new
16568 enable_libstdcxx_allocator_flag=new
16570 esac
16572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16573 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16576 # Set configure bits for specified locale package
16577 case ${enable_libstdcxx_allocator_flag} in
16578 bitmap)
16579 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16580 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16582 malloc)
16583 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16584 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16587 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16588 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16590 new)
16591 ALLOCATOR_H=config/allocator/new_allocator_base.h
16592 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16594 pool)
16595 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16596 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16598 esac
16605 # Check whether --enable-cheaders was given.
16606 if test "${enable_cheaders+set}" = set; then :
16607 enableval=$enable_cheaders;
16608 case "$enableval" in
16609 c|c_std|c_global) ;;
16610 *) as_fn_error $? "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16611 esac
16613 else
16614 enable_cheaders=$c_model
16618 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16619 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16621 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16623 # Allow overrides to configure.host here.
16624 if test $enable_cheaders = c_global; then
16625 c_compatibility=yes
16634 # Check whether --enable-long-long was given.
16635 if test "${enable_long_long+set}" = set; then :
16636 enableval=$enable_long_long;
16637 case "$enableval" in
16638 yes|no) ;;
16639 *) as_fn_error $? "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16640 esac
16642 else
16643 enable_long_long=yes
16647 if test $enable_long_long = yes; then
16649 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16653 $as_echo_n "checking for enabled long long specializations... " >&6; }
16654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16655 $as_echo "$enable_long_long" >&6; }
16658 # Check whether --enable-wchar_t was given.
16659 if test "${enable_wchar_t+set}" = set; then :
16660 enableval=$enable_wchar_t;
16661 case "$enableval" in
16662 yes|no) ;;
16663 *) as_fn_error $? "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16664 esac
16666 else
16667 enable_wchar_t=yes
16672 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16673 for ac_header in wchar.h
16674 do :
16675 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16676 if test "x$ac_cv_header_wchar_h" = xyes; then :
16677 cat >>confdefs.h <<_ACEOF
16678 #define HAVE_WCHAR_H 1
16679 _ACEOF
16680 ac_has_wchar_h=yes
16681 else
16682 ac_has_wchar_h=no
16685 done
16687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16688 $as_echo_n "checking for mbstate_t... " >&6; }
16689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16690 /* end confdefs.h. */
16691 #include <wchar.h>
16693 main ()
16695 mbstate_t teststate;
16697 return 0;
16699 _ACEOF
16700 if ac_fn_c_try_compile "$LINENO"; then :
16701 have_mbstate_t=yes
16702 else
16703 have_mbstate_t=no
16705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16707 $as_echo "$have_mbstate_t" >&6; }
16708 if test x"$have_mbstate_t" = xyes; then
16710 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16714 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16715 # ac_has_wchar_h.
16716 for ac_header in wctype.h
16717 do :
16718 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16719 if test "x$ac_cv_header_wctype_h" = xyes; then :
16720 cat >>confdefs.h <<_ACEOF
16721 #define HAVE_WCTYPE_H 1
16722 _ACEOF
16723 ac_has_wctype_h=yes
16724 else
16725 ac_has_wctype_h=no
16728 done
16731 if test x"$enable_wchar_t" = x"yes"; then
16734 ac_ext=cpp
16735 ac_cpp='$CXXCPP $CPPFLAGS'
16736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16741 if test x"$ac_has_wchar_h" = xyes &&
16742 test x"$ac_has_wctype_h" = xyes; then
16743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16744 /* end confdefs.h. */
16745 #include <wchar.h>
16746 #include <stddef.h>
16747 wint_t i;
16748 long l = WEOF;
16749 long j = WCHAR_MIN;
16750 long k = WCHAR_MAX;
16751 namespace test
16753 using ::btowc;
16754 using ::fgetwc;
16755 using ::fgetws;
16756 using ::fputwc;
16757 using ::fputws;
16758 using ::fwide;
16759 using ::fwprintf;
16760 using ::fwscanf;
16761 using ::getwc;
16762 using ::getwchar;
16763 using ::mbrlen;
16764 using ::mbrtowc;
16765 using ::mbsinit;
16766 using ::mbsrtowcs;
16767 using ::putwc;
16768 using ::putwchar;
16769 using ::swprintf;
16770 using ::swscanf;
16771 using ::ungetwc;
16772 using ::vfwprintf;
16773 using ::vswprintf;
16774 using ::vwprintf;
16775 using ::wcrtomb;
16776 using ::wcscat;
16777 using ::wcschr;
16778 using ::wcscmp;
16779 using ::wcscoll;
16780 using ::wcscpy;
16781 using ::wcscspn;
16782 using ::wcsftime;
16783 using ::wcslen;
16784 using ::wcsncat;
16785 using ::wcsncmp;
16786 using ::wcsncpy;
16787 using ::wcspbrk;
16788 using ::wcsrchr;
16789 using ::wcsrtombs;
16790 using ::wcsspn;
16791 using ::wcsstr;
16792 using ::wcstod;
16793 using ::wcstok;
16794 using ::wcstol;
16795 using ::wcstoul;
16796 using ::wcsxfrm;
16797 using ::wctob;
16798 using ::wmemchr;
16799 using ::wmemcmp;
16800 using ::wmemcpy;
16801 using ::wmemmove;
16802 using ::wmemset;
16803 using ::wprintf;
16804 using ::wscanf;
16808 main ()
16812 return 0;
16814 _ACEOF
16815 if ac_fn_cxx_try_compile "$LINENO"; then :
16817 else
16818 enable_wchar_t=no
16820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16821 else
16822 enable_wchar_t=no
16825 ac_ext=c
16826 ac_cpp='$CPP $CPPFLAGS'
16827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16833 if test x"$enable_wchar_t" = x"yes"; then
16835 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16840 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16842 $as_echo "$enable_wchar_t" >&6; }
16846 # Check whether --enable-c99 was given.
16847 if test "${enable_c99+set}" = set; then :
16848 enableval=$enable_c99;
16849 case "$enableval" in
16850 yes|no) ;;
16851 *) as_fn_error $? "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16852 esac
16854 else
16855 enable_c99=yes
16860 if test x"$enable_c99" = x"yes"; then
16862 ac_ext=cpp
16863 ac_cpp='$CXXCPP $CPPFLAGS'
16864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16869 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
16870 # undefined may cause fake C99 facilities, like pre-standard snprintf,
16871 # to be spuriously enabled.
16872 ac_save_CXXFLAGS="$CXXFLAGS"
16873 CXXFLAGS="$CXXFLAGS -std=c++98"
16874 ac_save_LIBS="$LIBS"
16875 ac_save_gcc_no_link="$gcc_no_link"
16877 if test x$gcc_no_link != xyes; then
16878 # Use -fno-exceptions to that the C driver can link these tests without
16879 # hitting undefined references to personality routines.
16880 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16882 $as_echo_n "checking for sin in -lm... " >&6; }
16883 if ${ac_cv_lib_m_sin+:} false; then :
16884 $as_echo_n "(cached) " >&6
16885 else
16886 ac_check_lib_save_LIBS=$LIBS
16887 LIBS="-lm $LIBS"
16888 if test x$gcc_no_link = xyes; then
16889 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16892 /* end confdefs.h. */
16894 /* Override any GCC internal prototype to avoid an error.
16895 Use char because int might match the return type of a GCC
16896 builtin and then its argument prototype would still apply. */
16897 #ifdef __cplusplus
16898 extern "C"
16899 #endif
16900 char sin ();
16902 main ()
16904 return sin ();
16906 return 0;
16908 _ACEOF
16909 if ac_fn_cxx_try_link "$LINENO"; then :
16910 ac_cv_lib_m_sin=yes
16911 else
16912 ac_cv_lib_m_sin=no
16914 rm -f core conftest.err conftest.$ac_objext \
16915 conftest$ac_exeext conftest.$ac_ext
16916 LIBS=$ac_check_lib_save_LIBS
16918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16919 $as_echo "$ac_cv_lib_m_sin" >&6; }
16920 if test "x$ac_cv_lib_m_sin" = xyes; then :
16921 LIBS="$LIBS -lm"
16922 else
16924 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16925 gcc_no_link=yes
16931 # Check for the existence of <math.h> functions used if C99 is enabled.
16932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
16933 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
16934 if ${glibcxx_cv_c99_math_cxx98+:} false; then :
16935 $as_echo_n "(cached) " >&6
16936 else
16938 if test x$gcc_no_link = xyes; then
16939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16940 /* end confdefs.h. */
16941 #include <math.h>
16942 volatile double d1, d2;
16943 volatile int i;
16945 main ()
16947 i = fpclassify(d1);
16948 i = isfinite(d1);
16949 i = isinf(d1);
16950 i = isnan(d1);
16951 i = isnormal(d1);
16952 i = signbit(d1);
16953 i = isgreater(d1, d2);
16954 i = isgreaterequal(d1, d2);
16955 i = isless(d1, d2);
16956 i = islessequal(d1, d2);
16957 i = islessgreater(d1, d2);
16958 i = islessgreater(d1, d2);
16959 i = isunordered(d1, d2);
16962 return 0;
16964 _ACEOF
16965 if ac_fn_cxx_try_compile "$LINENO"; then :
16966 glibcxx_cv_c99_math_cxx98=yes
16967 else
16968 glibcxx_cv_c99_math_cxx98=no
16970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16971 else
16972 if test x$gcc_no_link = xyes; then
16973 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16976 /* end confdefs.h. */
16977 #include <math.h>
16978 volatile double d1, d2;
16979 volatile int i;
16981 main ()
16983 i = fpclassify(d1);
16984 i = isfinite(d1);
16985 i = isinf(d1);
16986 i = isnan(d1);
16987 i = isnormal(d1);
16988 i = signbit(d1);
16989 i = isgreater(d1, d2);
16990 i = isgreaterequal(d1, d2);
16991 i = isless(d1, d2);
16992 i = islessequal(d1, d2);
16993 i = islessgreater(d1, d2);
16994 i = islessgreater(d1, d2);
16995 i = isunordered(d1, d2);
16998 return 0;
17000 _ACEOF
17001 if ac_fn_cxx_try_link "$LINENO"; then :
17002 glibcxx_cv_c99_math_cxx98=yes
17003 else
17004 glibcxx_cv_c99_math_cxx98=no
17006 rm -f core conftest.err conftest.$ac_objext \
17007 conftest$ac_exeext conftest.$ac_ext
17012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
17013 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
17014 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
17016 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
17020 # Check for the existence of <complex.h> complex math functions.
17021 # This is necessary even though libstdc++ uses the builtin versions
17022 # of these functions, because if the builtin cannot be used, a reference
17023 # to the library function is emitted.
17024 for ac_header in tgmath.h
17025 do :
17026 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17027 if test "x$ac_cv_header_tgmath_h" = xyes; then :
17028 cat >>confdefs.h <<_ACEOF
17029 #define HAVE_TGMATH_H 1
17030 _ACEOF
17031 ac_has_tgmath_h=yes
17032 else
17033 ac_has_tgmath_h=no
17036 done
17038 for ac_header in complex.h
17039 do :
17040 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17041 if test "x$ac_cv_header_complex_h" = xyes; then :
17042 cat >>confdefs.h <<_ACEOF
17043 #define HAVE_COMPLEX_H 1
17044 _ACEOF
17045 ac_has_complex_h=yes
17046 else
17047 ac_has_complex_h=no
17050 done
17052 if test x"$ac_has_complex_h" = x"yes"; then
17053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
17054 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
17055 if ${glibcxx_cv_c99_complex_cxx98+:} false; then :
17056 $as_echo_n "(cached) " >&6
17057 else
17059 if test x$gcc_no_link = xyes; then
17060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17061 /* end confdefs.h. */
17062 #include <complex.h>
17063 typedef __complex__ float float_type;
17064 typedef __complex__ double double_type;
17065 typedef __complex__ long double ld_type;
17066 volatile float_type tmpf;
17067 volatile double_type tmpd;
17068 volatile ld_type tmpld;
17069 volatile float f;
17070 volatile double d;
17071 volatile long double ld;
17073 main ()
17075 f = cabsf(tmpf);
17076 f = cargf(tmpf);
17077 tmpf = ccosf(tmpf);
17078 tmpf = ccoshf(tmpf);
17079 tmpf = cexpf(tmpf);
17080 tmpf = clogf(tmpf);
17081 tmpf = csinf(tmpf);
17082 tmpf = csinhf(tmpf);
17083 tmpf = csqrtf(tmpf);
17084 tmpf = ctanf(tmpf);
17085 tmpf = ctanhf(tmpf);
17086 tmpf = cpowf(tmpf, tmpf);
17087 tmpf = cprojf(tmpf);
17088 d = cabs(tmpd);
17089 d = carg(tmpd);
17090 tmpd = ccos(tmpd);
17091 tmpd = ccosh(tmpd);
17092 tmpd = cexp(tmpd);
17093 tmpd = clog(tmpd);
17094 tmpd = csin(tmpd);
17095 tmpd = csinh(tmpd);
17096 tmpd = csqrt(tmpd);
17097 tmpd = ctan(tmpd);
17098 tmpd = ctanh(tmpd);
17099 tmpd = cpow(tmpd, tmpd);
17100 tmpd = cproj(tmpd);
17101 ld = cabsl(tmpld);
17102 ld = cargl(tmpld);
17103 tmpld = ccosl(tmpld);
17104 tmpld = ccoshl(tmpld);
17105 tmpld = cexpl(tmpld);
17106 tmpld = clogl(tmpld);
17107 tmpld = csinl(tmpld);
17108 tmpld = csinhl(tmpld);
17109 tmpld = csqrtl(tmpld);
17110 tmpld = ctanl(tmpld);
17111 tmpld = ctanhl(tmpld);
17112 tmpld = cpowl(tmpld, tmpld);
17113 tmpld = cprojl(tmpld);
17116 return 0;
17118 _ACEOF
17119 if ac_fn_cxx_try_compile "$LINENO"; then :
17120 glibcxx_cv_c99_complex_cxx98=yes
17121 else
17122 glibcxx_cv_c99_complex_cxx98=no
17124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17125 else
17126 if test x$gcc_no_link = xyes; then
17127 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17130 /* end confdefs.h. */
17131 #include <complex.h>
17132 typedef __complex__ float float_type;
17133 typedef __complex__ double double_type;
17134 typedef __complex__ long double ld_type;
17135 volatile float_type tmpf;
17136 volatile double_type tmpd;
17137 volatile ld_type tmpld;
17138 volatile float f;
17139 volatile double d;
17140 volatile long double ld;
17142 main ()
17144 f = cabsf(tmpf);
17145 f = cargf(tmpf);
17146 tmpf = ccosf(tmpf);
17147 tmpf = ccoshf(tmpf);
17148 tmpf = cexpf(tmpf);
17149 tmpf = clogf(tmpf);
17150 tmpf = csinf(tmpf);
17151 tmpf = csinhf(tmpf);
17152 tmpf = csqrtf(tmpf);
17153 tmpf = ctanf(tmpf);
17154 tmpf = ctanhf(tmpf);
17155 tmpf = cpowf(tmpf, tmpf);
17156 tmpf = cprojf(tmpf);
17157 d = cabs(tmpd);
17158 d = carg(tmpd);
17159 tmpd = ccos(tmpd);
17160 tmpd = ccosh(tmpd);
17161 tmpd = cexp(tmpd);
17162 tmpd = clog(tmpd);
17163 tmpd = csin(tmpd);
17164 tmpd = csinh(tmpd);
17165 tmpd = csqrt(tmpd);
17166 tmpd = ctan(tmpd);
17167 tmpd = ctanh(tmpd);
17168 tmpd = cpow(tmpd, tmpd);
17169 tmpd = cproj(tmpd);
17170 ld = cabsl(tmpld);
17171 ld = cargl(tmpld);
17172 tmpld = ccosl(tmpld);
17173 tmpld = ccoshl(tmpld);
17174 tmpld = cexpl(tmpld);
17175 tmpld = clogl(tmpld);
17176 tmpld = csinl(tmpld);
17177 tmpld = csinhl(tmpld);
17178 tmpld = csqrtl(tmpld);
17179 tmpld = ctanl(tmpld);
17180 tmpld = ctanhl(tmpld);
17181 tmpld = cpowl(tmpld, tmpld);
17182 tmpld = cprojl(tmpld);
17185 return 0;
17187 _ACEOF
17188 if ac_fn_cxx_try_link "$LINENO"; then :
17189 glibcxx_cv_c99_complex_cxx98=yes
17190 else
17191 glibcxx_cv_c99_complex_cxx98=no
17193 rm -f core conftest.err conftest.$ac_objext \
17194 conftest$ac_exeext conftest.$ac_ext
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
17201 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
17202 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
17204 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
17208 # Check for the existence in <stdio.h> of vscanf, et. al.
17209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
17210 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
17211 if ${glibcxx_cv_c99_stdio_cxx98+:} false; then :
17212 $as_echo_n "(cached) " >&6
17213 else
17215 if test x$gcc_no_link = xyes; then
17216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17217 /* end confdefs.h. */
17218 #include <stdio.h>
17219 #include <stdarg.h>
17220 void foo(char* fmt, ...)
17222 va_list args; va_start(args, fmt);
17223 vfscanf(stderr, "%i", args);
17224 vscanf("%i", args);
17225 vsnprintf(fmt, 0, "%i", args);
17226 vsscanf(fmt, "%i", args);
17227 snprintf(fmt, 0, "%i");
17230 main ()
17234 return 0;
17236 _ACEOF
17237 if ac_fn_cxx_try_compile "$LINENO"; then :
17238 glibcxx_cv_c99_stdio_cxx98=yes
17239 else
17240 glibcxx_cv_c99_stdio_cxx98=no
17242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17243 else
17244 if test x$gcc_no_link = xyes; then
17245 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17248 /* end confdefs.h. */
17249 #include <stdio.h>
17250 #include <stdarg.h>
17251 void foo(char* fmt, ...)
17253 va_list args; va_start(args, fmt);
17254 vfscanf(stderr, "%i", args);
17255 vscanf("%i", args);
17256 vsnprintf(fmt, 0, "%i", args);
17257 vsscanf(fmt, "%i", args);
17258 snprintf(fmt, 0, "%i");
17261 main ()
17265 return 0;
17267 _ACEOF
17268 if ac_fn_cxx_try_link "$LINENO"; then :
17269 glibcxx_cv_c99_stdio_cxx98=yes
17270 else
17271 glibcxx_cv_c99_stdio_cxx98=no
17273 rm -f core conftest.err conftest.$ac_objext \
17274 conftest$ac_exeext conftest.$ac_ext
17279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
17280 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
17281 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
17283 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
17287 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
17289 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
17290 if ${glibcxx_cv_c99_stdlib_cxx98+:} false; then :
17291 $as_echo_n "(cached) " >&6
17292 else
17294 if test x$gcc_no_link = xyes; then
17295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17296 /* end confdefs.h. */
17297 #include <stdlib.h>
17298 volatile float f;
17299 volatile long double ld;
17300 volatile unsigned long long ll;
17301 lldiv_t mydivt;
17303 main ()
17305 char* tmp;
17306 f = strtof("gnu", &tmp);
17307 ld = strtold("gnu", &tmp);
17308 ll = strtoll("gnu", &tmp, 10);
17309 ll = strtoull("gnu", &tmp, 10);
17310 ll = llabs(10);
17311 mydivt = lldiv(10,1);
17312 ll = mydivt.quot;
17313 ll = mydivt.rem;
17314 ll = atoll("10");
17315 _Exit(0);
17318 return 0;
17320 _ACEOF
17321 if ac_fn_cxx_try_compile "$LINENO"; then :
17322 glibcxx_cv_c99_stdlib_cxx98=yes
17323 else
17324 glibcxx_cv_c99_stdlib_cxx98=no
17326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17327 else
17328 if test x$gcc_no_link = xyes; then
17329 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17332 /* end confdefs.h. */
17333 #include <stdlib.h>
17334 volatile float f;
17335 volatile long double ld;
17336 volatile unsigned long long ll;
17337 lldiv_t mydivt;
17339 main ()
17341 char* tmp;
17342 f = strtof("gnu", &tmp);
17343 ld = strtold("gnu", &tmp);
17344 ll = strtoll("gnu", &tmp, 10);
17345 ll = strtoull("gnu", &tmp, 10);
17346 ll = llabs(10);
17347 mydivt = lldiv(10,1);
17348 ll = mydivt.quot;
17349 ll = mydivt.rem;
17350 ll = atoll("10");
17351 _Exit(0);
17354 return 0;
17356 _ACEOF
17357 if ac_fn_cxx_try_link "$LINENO"; then :
17358 glibcxx_cv_c99_stdlib_cxx98=yes
17359 else
17360 glibcxx_cv_c99_stdlib_cxx98=no
17362 rm -f core conftest.err conftest.$ac_objext \
17363 conftest$ac_exeext conftest.$ac_ext
17368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17369 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17370 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17372 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17376 # Check for the existence in <wchar.h> of wcstold, etc.
17377 if test x"$ac_has_wchar_h" = xyes &&
17378 test x"$ac_has_wctype_h" = xyes; then
17379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17380 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17381 if ${glibcxx_cv_c99_wchar_cxx98+:} false; then :
17382 $as_echo_n "(cached) " >&6
17383 else
17385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17386 /* end confdefs.h. */
17387 #include <wchar.h>
17388 namespace test
17390 using ::wcstold;
17391 using ::wcstoll;
17392 using ::wcstoull;
17396 main ()
17400 return 0;
17402 _ACEOF
17403 if ac_fn_cxx_try_compile "$LINENO"; then :
17404 glibcxx_cv_c99_wchar_cxx98=yes
17405 else
17406 glibcxx_cv_c99_wchar_cxx98=no
17408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17413 # Checks for wide character functions that may not be present.
17414 # Injection of these is wrapped with guard macros.
17415 # NB: only put functions here, instead of immediately above, if
17416 # absolutely necessary.
17417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17418 /* end confdefs.h. */
17419 #include <wchar.h>
17420 namespace test { using ::vfwscanf; }
17422 main ()
17426 return 0;
17428 _ACEOF
17429 if ac_fn_cxx_try_compile "$LINENO"; then :
17431 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17437 /* end confdefs.h. */
17438 #include <wchar.h>
17439 namespace test { using ::vswscanf; }
17441 main ()
17445 return 0;
17447 _ACEOF
17448 if ac_fn_cxx_try_compile "$LINENO"; then :
17450 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17456 /* end confdefs.h. */
17457 #include <wchar.h>
17458 namespace test { using ::vwscanf; }
17460 main ()
17464 return 0;
17466 _ACEOF
17467 if ac_fn_cxx_try_compile "$LINENO"; then :
17469 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17475 /* end confdefs.h. */
17476 #include <wchar.h>
17477 namespace test { using ::wcstof; }
17479 main ()
17483 return 0;
17485 _ACEOF
17486 if ac_fn_cxx_try_compile "$LINENO"; then :
17488 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17494 /* end confdefs.h. */
17495 #include <wctype.h>
17497 main ()
17499 wint_t t; int i = iswblank(t);
17501 return 0;
17503 _ACEOF
17504 if ac_fn_cxx_try_compile "$LINENO"; then :
17506 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17512 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17513 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17515 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17520 # Option parsed, now set things appropriately.
17521 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17522 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17523 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17524 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17525 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17526 enable_c99=no;
17527 else
17529 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17533 gcc_no_link="$ac_save_gcc_no_link"
17534 LIBS="$ac_save_LIBS"
17535 CXXFLAGS="$ac_save_CXXFLAGS"
17536 ac_ext=c
17537 ac_cpp='$CPP $CPPFLAGS'
17538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17544 ac_ext=cpp
17545 ac_cpp='$CXXCPP $CPPFLAGS'
17546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17551 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17552 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17553 ac_save_CXXFLAGS="$CXXFLAGS"
17554 CXXFLAGS="$CXXFLAGS -std=c++11"
17555 ac_save_LIBS="$LIBS"
17556 ac_save_gcc_no_link="$gcc_no_link"
17558 if test x$gcc_no_link != xyes; then
17559 # Use -fno-exceptions to that the C driver can link these tests without
17560 # hitting undefined references to personality routines.
17561 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17563 $as_echo_n "checking for sin in -lm... " >&6; }
17564 if ${ac_cv_lib_m_sin+:} false; then :
17565 $as_echo_n "(cached) " >&6
17566 else
17567 ac_check_lib_save_LIBS=$LIBS
17568 LIBS="-lm $LIBS"
17569 if test x$gcc_no_link = xyes; then
17570 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17573 /* end confdefs.h. */
17575 /* Override any GCC internal prototype to avoid an error.
17576 Use char because int might match the return type of a GCC
17577 builtin and then its argument prototype would still apply. */
17578 #ifdef __cplusplus
17579 extern "C"
17580 #endif
17581 char sin ();
17583 main ()
17585 return sin ();
17587 return 0;
17589 _ACEOF
17590 if ac_fn_cxx_try_link "$LINENO"; then :
17591 ac_cv_lib_m_sin=yes
17592 else
17593 ac_cv_lib_m_sin=no
17595 rm -f core conftest.err conftest.$ac_objext \
17596 conftest$ac_exeext conftest.$ac_ext
17597 LIBS=$ac_check_lib_save_LIBS
17599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17600 $as_echo "$ac_cv_lib_m_sin" >&6; }
17601 if test "x$ac_cv_lib_m_sin" = xyes; then :
17602 LIBS="$LIBS -lm"
17603 else
17605 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17606 gcc_no_link=yes
17612 # Check for the existence of <math.h> functions used if C99 is enabled.
17613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17614 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17615 if ${glibcxx_cv_c99_math_cxx11+:} false; then :
17616 $as_echo_n "(cached) " >&6
17617 else
17619 if test x$gcc_no_link = xyes; then
17620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17621 /* end confdefs.h. */
17622 #include <math.h>
17623 volatile double d1, d2;
17624 volatile int i;
17626 main ()
17628 i = fpclassify(d1);
17629 i = isfinite(d1);
17630 i = isinf(d1);
17631 i = isnan(d1);
17632 i = isnormal(d1);
17633 i = signbit(d1);
17634 i = isgreater(d1, d2);
17635 i = isgreaterequal(d1, d2);
17636 i = isless(d1, d2);
17637 i = islessequal(d1, d2);
17638 i = islessgreater(d1, d2);
17639 i = islessgreater(d1, d2);
17640 i = isunordered(d1, d2);
17643 return 0;
17645 _ACEOF
17646 if ac_fn_cxx_try_compile "$LINENO"; then :
17647 glibcxx_cv_c99_math_cxx11=yes
17648 else
17649 glibcxx_cv_c99_math_cxx11=no
17651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17652 else
17653 if test x$gcc_no_link = xyes; then
17654 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17657 /* end confdefs.h. */
17658 #include <math.h>
17659 volatile double d1, d2;
17660 volatile int i;
17662 main ()
17664 i = fpclassify(d1);
17665 i = isfinite(d1);
17666 i = isinf(d1);
17667 i = isnan(d1);
17668 i = isnormal(d1);
17669 i = signbit(d1);
17670 i = isgreater(d1, d2);
17671 i = isgreaterequal(d1, d2);
17672 i = isless(d1, d2);
17673 i = islessequal(d1, d2);
17674 i = islessgreater(d1, d2);
17675 i = islessgreater(d1, d2);
17676 i = isunordered(d1, d2);
17679 return 0;
17681 _ACEOF
17682 if ac_fn_cxx_try_link "$LINENO"; then :
17683 glibcxx_cv_c99_math_cxx11=yes
17684 else
17685 glibcxx_cv_c99_math_cxx11=no
17687 rm -f core conftest.err conftest.$ac_objext \
17688 conftest$ac_exeext conftest.$ac_ext
17693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
17694 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
17695 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
17697 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
17701 # Check for the existence of <complex.h> complex math functions.
17702 # This is necessary even though libstdc++ uses the builtin versions
17703 # of these functions, because if the builtin cannot be used, a reference
17704 # to the library function is emitted.
17705 for ac_header in tgmath.h
17706 do :
17707 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17708 if test "x$ac_cv_header_tgmath_h" = xyes; then :
17709 cat >>confdefs.h <<_ACEOF
17710 #define HAVE_TGMATH_H 1
17711 _ACEOF
17712 ac_has_tgmath_h=yes
17713 else
17714 ac_has_tgmath_h=no
17717 done
17719 for ac_header in complex.h
17720 do :
17721 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17722 if test "x$ac_cv_header_complex_h" = xyes; then :
17723 cat >>confdefs.h <<_ACEOF
17724 #define HAVE_COMPLEX_H 1
17725 _ACEOF
17726 ac_has_complex_h=yes
17727 else
17728 ac_has_complex_h=no
17731 done
17733 if test x"$ac_has_complex_h" = x"yes"; then
17734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
17735 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
17736 if ${glibcxx_cv_c99_complex_cxx11+:} false; then :
17737 $as_echo_n "(cached) " >&6
17738 else
17740 if test x$gcc_no_link = xyes; then
17741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17742 /* end confdefs.h. */
17743 #include <complex.h>
17744 typedef __complex__ float float_type;
17745 typedef __complex__ double double_type;
17746 typedef __complex__ long double ld_type;
17747 volatile float_type tmpf;
17748 volatile double_type tmpd;
17749 volatile ld_type tmpld;
17750 volatile float f;
17751 volatile double d;
17752 volatile long double ld;
17754 main ()
17756 f = cabsf(tmpf);
17757 f = cargf(tmpf);
17758 tmpf = ccosf(tmpf);
17759 tmpf = ccoshf(tmpf);
17760 tmpf = cexpf(tmpf);
17761 tmpf = clogf(tmpf);
17762 tmpf = csinf(tmpf);
17763 tmpf = csinhf(tmpf);
17764 tmpf = csqrtf(tmpf);
17765 tmpf = ctanf(tmpf);
17766 tmpf = ctanhf(tmpf);
17767 tmpf = cpowf(tmpf, tmpf);
17768 tmpf = cprojf(tmpf);
17769 d = cabs(tmpd);
17770 d = carg(tmpd);
17771 tmpd = ccos(tmpd);
17772 tmpd = ccosh(tmpd);
17773 tmpd = cexp(tmpd);
17774 tmpd = clog(tmpd);
17775 tmpd = csin(tmpd);
17776 tmpd = csinh(tmpd);
17777 tmpd = csqrt(tmpd);
17778 tmpd = ctan(tmpd);
17779 tmpd = ctanh(tmpd);
17780 tmpd = cpow(tmpd, tmpd);
17781 tmpd = cproj(tmpd);
17782 ld = cabsl(tmpld);
17783 ld = cargl(tmpld);
17784 tmpld = ccosl(tmpld);
17785 tmpld = ccoshl(tmpld);
17786 tmpld = cexpl(tmpld);
17787 tmpld = clogl(tmpld);
17788 tmpld = csinl(tmpld);
17789 tmpld = csinhl(tmpld);
17790 tmpld = csqrtl(tmpld);
17791 tmpld = ctanl(tmpld);
17792 tmpld = ctanhl(tmpld);
17793 tmpld = cpowl(tmpld, tmpld);
17794 tmpld = cprojl(tmpld);
17797 return 0;
17799 _ACEOF
17800 if ac_fn_cxx_try_compile "$LINENO"; then :
17801 glibcxx_cv_c99_complex_cxx11=yes
17802 else
17803 glibcxx_cv_c99_complex_cxx11=no
17805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17806 else
17807 if test x$gcc_no_link = xyes; then
17808 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17811 /* end confdefs.h. */
17812 #include <complex.h>
17813 typedef __complex__ float float_type;
17814 typedef __complex__ double double_type;
17815 typedef __complex__ long double ld_type;
17816 volatile float_type tmpf;
17817 volatile double_type tmpd;
17818 volatile ld_type tmpld;
17819 volatile float f;
17820 volatile double d;
17821 volatile long double ld;
17823 main ()
17825 f = cabsf(tmpf);
17826 f = cargf(tmpf);
17827 tmpf = ccosf(tmpf);
17828 tmpf = ccoshf(tmpf);
17829 tmpf = cexpf(tmpf);
17830 tmpf = clogf(tmpf);
17831 tmpf = csinf(tmpf);
17832 tmpf = csinhf(tmpf);
17833 tmpf = csqrtf(tmpf);
17834 tmpf = ctanf(tmpf);
17835 tmpf = ctanhf(tmpf);
17836 tmpf = cpowf(tmpf, tmpf);
17837 tmpf = cprojf(tmpf);
17838 d = cabs(tmpd);
17839 d = carg(tmpd);
17840 tmpd = ccos(tmpd);
17841 tmpd = ccosh(tmpd);
17842 tmpd = cexp(tmpd);
17843 tmpd = clog(tmpd);
17844 tmpd = csin(tmpd);
17845 tmpd = csinh(tmpd);
17846 tmpd = csqrt(tmpd);
17847 tmpd = ctan(tmpd);
17848 tmpd = ctanh(tmpd);
17849 tmpd = cpow(tmpd, tmpd);
17850 tmpd = cproj(tmpd);
17851 ld = cabsl(tmpld);
17852 ld = cargl(tmpld);
17853 tmpld = ccosl(tmpld);
17854 tmpld = ccoshl(tmpld);
17855 tmpld = cexpl(tmpld);
17856 tmpld = clogl(tmpld);
17857 tmpld = csinl(tmpld);
17858 tmpld = csinhl(tmpld);
17859 tmpld = csqrtl(tmpld);
17860 tmpld = ctanl(tmpld);
17861 tmpld = ctanhl(tmpld);
17862 tmpld = cpowl(tmpld, tmpld);
17863 tmpld = cprojl(tmpld);
17866 return 0;
17868 _ACEOF
17869 if ac_fn_cxx_try_link "$LINENO"; then :
17870 glibcxx_cv_c99_complex_cxx11=yes
17871 else
17872 glibcxx_cv_c99_complex_cxx11=no
17874 rm -f core conftest.err conftest.$ac_objext \
17875 conftest$ac_exeext conftest.$ac_ext
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
17882 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
17883 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
17885 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
17889 # Check for the existence in <stdio.h> of vscanf, et. al.
17890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
17891 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
17892 if ${glibcxx_cv_c99_stdio_cxx11+:} false; then :
17893 $as_echo_n "(cached) " >&6
17894 else
17896 if test x$gcc_no_link = xyes; then
17897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17898 /* end confdefs.h. */
17899 #include <stdio.h>
17900 #include <stdarg.h>
17901 void foo(char* fmt, ...)
17903 va_list args; va_start(args, fmt);
17904 vfscanf(stderr, "%i", args);
17905 vscanf("%i", args);
17906 vsnprintf(fmt, 0, "%i", args);
17907 vsscanf(fmt, "%i", args);
17908 snprintf(fmt, 0, "%i");
17911 main ()
17915 return 0;
17917 _ACEOF
17918 if ac_fn_cxx_try_compile "$LINENO"; then :
17919 glibcxx_cv_c99_stdio_cxx11=yes
17920 else
17921 glibcxx_cv_c99_stdio_cxx11=no
17923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17924 else
17925 if test x$gcc_no_link = xyes; then
17926 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17929 /* end confdefs.h. */
17930 #include <stdio.h>
17931 #include <stdarg.h>
17932 void foo(char* fmt, ...)
17934 va_list args; va_start(args, fmt);
17935 vfscanf(stderr, "%i", args);
17936 vscanf("%i", args);
17937 vsnprintf(fmt, 0, "%i", args);
17938 vsscanf(fmt, "%i", args);
17939 snprintf(fmt, 0, "%i");
17942 main ()
17946 return 0;
17948 _ACEOF
17949 if ac_fn_cxx_try_link "$LINENO"; then :
17950 glibcxx_cv_c99_stdio_cxx11=yes
17951 else
17952 glibcxx_cv_c99_stdio_cxx11=no
17954 rm -f core conftest.err conftest.$ac_objext \
17955 conftest$ac_exeext conftest.$ac_ext
17960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
17961 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
17962 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
17964 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
17968 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
17970 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
17971 if ${glibcxx_cv_c99_stdlib_cxx11+:} false; then :
17972 $as_echo_n "(cached) " >&6
17973 else
17975 if test x$gcc_no_link = xyes; then
17976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17977 /* end confdefs.h. */
17978 #include <stdlib.h>
17979 volatile float f;
17980 volatile long double ld;
17981 volatile unsigned long long ll;
17982 lldiv_t mydivt;
17984 main ()
17986 char* tmp;
17987 f = strtof("gnu", &tmp);
17988 ld = strtold("gnu", &tmp);
17989 ll = strtoll("gnu", &tmp, 10);
17990 ll = strtoull("gnu", &tmp, 10);
17991 ll = llabs(10);
17992 mydivt = lldiv(10,1);
17993 ll = mydivt.quot;
17994 ll = mydivt.rem;
17995 ll = atoll("10");
17996 _Exit(0);
17999 return 0;
18001 _ACEOF
18002 if ac_fn_cxx_try_compile "$LINENO"; then :
18003 glibcxx_cv_c99_stdlib_cxx11=yes
18004 else
18005 glibcxx_cv_c99_stdlib_cxx11=no
18007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18008 else
18009 if test x$gcc_no_link = xyes; then
18010 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18013 /* end confdefs.h. */
18014 #include <stdlib.h>
18015 volatile float f;
18016 volatile long double ld;
18017 volatile unsigned long long ll;
18018 lldiv_t mydivt;
18020 main ()
18022 char* tmp;
18023 f = strtof("gnu", &tmp);
18024 ld = strtold("gnu", &tmp);
18025 ll = strtoll("gnu", &tmp, 10);
18026 ll = strtoull("gnu", &tmp, 10);
18027 ll = llabs(10);
18028 mydivt = lldiv(10,1);
18029 ll = mydivt.quot;
18030 ll = mydivt.rem;
18031 ll = atoll("10");
18032 _Exit(0);
18035 return 0;
18037 _ACEOF
18038 if ac_fn_cxx_try_link "$LINENO"; then :
18039 glibcxx_cv_c99_stdlib_cxx11=yes
18040 else
18041 glibcxx_cv_c99_stdlib_cxx11=no
18043 rm -f core conftest.err conftest.$ac_objext \
18044 conftest$ac_exeext conftest.$ac_ext
18049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
18050 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
18051 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
18053 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
18057 # Check for the existence in <wchar.h> of wcstold, etc.
18058 if test x"$ac_has_wchar_h" = xyes &&
18059 test x"$ac_has_wctype_h" = xyes; then
18060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
18061 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
18062 if ${glibcxx_cv_c99_wchar_cxx11+:} false; then :
18063 $as_echo_n "(cached) " >&6
18064 else
18066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18067 /* end confdefs.h. */
18068 #include <wchar.h>
18069 namespace test
18071 using ::wcstold;
18072 using ::wcstoll;
18073 using ::wcstoull;
18077 main ()
18081 return 0;
18083 _ACEOF
18084 if ac_fn_cxx_try_compile "$LINENO"; then :
18085 glibcxx_cv_c99_wchar_cxx11=yes
18086 else
18087 glibcxx_cv_c99_wchar_cxx11=no
18089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18094 # Checks for wide character functions that may not be present.
18095 # Injection of these is wrapped with guard macros.
18096 # NB: only put functions here, instead of immediately above, if
18097 # absolutely necessary.
18098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18099 /* end confdefs.h. */
18100 #include <wchar.h>
18101 namespace test { using ::vfwscanf; }
18103 main ()
18107 return 0;
18109 _ACEOF
18110 if ac_fn_cxx_try_compile "$LINENO"; then :
18112 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
18115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18118 /* end confdefs.h. */
18119 #include <wchar.h>
18120 namespace test { using ::vswscanf; }
18122 main ()
18126 return 0;
18128 _ACEOF
18129 if ac_fn_cxx_try_compile "$LINENO"; then :
18131 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
18134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18137 /* end confdefs.h. */
18138 #include <wchar.h>
18139 namespace test { using ::vwscanf; }
18141 main ()
18145 return 0;
18147 _ACEOF
18148 if ac_fn_cxx_try_compile "$LINENO"; then :
18150 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
18153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18156 /* end confdefs.h. */
18157 #include <wchar.h>
18158 namespace test { using ::wcstof; }
18160 main ()
18164 return 0;
18166 _ACEOF
18167 if ac_fn_cxx_try_compile "$LINENO"; then :
18169 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
18172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18175 /* end confdefs.h. */
18176 #include <wctype.h>
18178 main ()
18180 wint_t t; int i = iswblank(t);
18182 return 0;
18184 _ACEOF
18185 if ac_fn_cxx_try_compile "$LINENO"; then :
18187 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
18190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
18193 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
18194 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
18196 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
18201 gcc_no_link="$ac_save_gcc_no_link"
18202 LIBS="$ac_save_LIBS"
18203 CXXFLAGS="$ac_save_CXXFLAGS"
18204 ac_ext=c
18205 ac_cpp='$CPP $CPPFLAGS'
18206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
18213 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
18214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
18215 $as_echo "$enable_c99" >&6; }
18218 # Check whether --enable-concept-checks was given.
18219 if test "${enable_concept_checks+set}" = set; then :
18220 enableval=$enable_concept_checks;
18221 case "$enableval" in
18222 yes|no) ;;
18223 *) as_fn_error $? "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
18224 esac
18226 else
18227 enable_concept_checks=no
18231 if test $enable_concept_checks = yes; then
18233 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
18238 # Check whether --enable-libstdcxx-debug-flags was given.
18239 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
18240 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
18241 xno | x) enable_libstdcxx_debug_flags= ;;
18242 x-*) ;;
18243 *) as_fn_error $? "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18244 esac
18245 else
18246 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"
18251 # Option parsed, now set things appropriately
18252 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
18255 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
18256 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
18259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
18260 $as_echo_n "checking for additional debug build... " >&6; }
18261 skip_debug_build=
18262 # Check whether --enable-libstdcxx-debug was given.
18263 if test "${enable_libstdcxx_debug+set}" = set; then :
18264 enableval=$enable_libstdcxx_debug;
18265 case "$enableval" in
18266 yes|no) ;;
18267 *) as_fn_error $? "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
18268 esac
18270 else
18271 enable_libstdcxx_debug=no
18275 if test x$enable_libstdcxx_debug = xyes; then
18276 if test -f $toplevel_builddir/../stage_final \
18277 && test -f $toplevel_builddir/../stage_current; then
18278 stage_final=`cat $toplevel_builddir/../stage_final`
18279 stage_current=`cat $toplevel_builddir/../stage_current`
18280 if test x$stage_current != x$stage_final ; then
18281 skip_debug_build=" (skipped for bootstrap stage $stage_current)"
18282 enable_libstdcxx_debug=no
18286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug$skip_debug_build" >&5
18287 $as_echo "$enable_libstdcxx_debug$skip_debug_build" >&6; }
18292 enable_parallel=no;
18294 # See if configured libgomp/omp.h exists. (libgomp may be in
18295 # noconfigdirs but not explicitly disabled.)
18296 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
18297 enable_parallel=yes;
18298 else
18299 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
18300 $as_echo "$as_me: target-libgomp not built" >&6;}
18303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
18304 $as_echo_n "checking for parallel mode support... " >&6; }
18305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
18306 $as_echo "$enable_parallel" >&6; }
18308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
18309 $as_echo_n "checking for extra compiler flags for building... " >&6; }
18310 # Check whether --enable-cxx-flags was given.
18311 if test "${enable_cxx_flags+set}" = set; then :
18312 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
18313 xno | x) enable_cxx_flags= ;;
18314 x-*) ;;
18315 *) as_fn_error $? "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18316 esac
18317 else
18318 enable_cxx_flags=
18323 # Run through flags (either default or command-line) and set anything
18324 # extra (e.g., #defines) that must accompany particular g++ options.
18325 if test -n "$enable_cxx_flags"; then
18326 for f in $enable_cxx_flags; do
18327 case "$f" in
18328 -fhonor-std) ;;
18329 -*) ;;
18330 *) # and we're trying to pass /what/ exactly?
18331 as_fn_error $? "compiler flags start with a -" "$LINENO" 5 ;;
18332 esac
18333 done
18336 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18338 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18342 # Check whether --enable-fully-dynamic-string was given.
18343 if test "${enable_fully_dynamic_string+set}" = set; then :
18344 enableval=$enable_fully_dynamic_string;
18345 case "$enableval" in
18346 yes|no) ;;
18347 *) as_fn_error $? "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
18348 esac
18350 else
18351 enable_fully_dynamic_string=no
18355 if test $enable_fully_dynamic_string = yes; then
18356 enable_fully_dynamic_string_def=1
18357 else
18358 enable_fully_dynamic_string_def=0
18361 cat >>confdefs.h <<_ACEOF
18362 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18363 _ACEOF
18368 # Check whether --enable-extern-template was given.
18369 if test "${enable_extern_template+set}" = set; then :
18370 enableval=$enable_extern_template;
18371 case "$enableval" in
18372 yes|no) ;;
18373 *) as_fn_error $? "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18374 esac
18376 else
18377 enable_extern_template=yes
18382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18383 $as_echo_n "checking for extern template support... " >&6; }
18384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18385 $as_echo "$enable_extern_template" >&6; }
18391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18392 $as_echo_n "checking for custom python install directory... " >&6; }
18394 # Check whether --with-python-dir was given.
18395 if test "${with_python_dir+set}" = set; then :
18396 withval=$with_python_dir; with_python_dir=$withval
18397 else
18398 with_python_dir="no"
18401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18402 $as_echo "${with_python_dir}" >&6; }
18404 # Needed for installing Python modules during make install.
18405 python_mod_dir="${with_python_dir}"
18410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18411 $as_echo_n "checking for -Werror... " >&6; }
18412 # Check whether --enable-werror was given.
18413 if test "${enable_werror+set}" = set; then :
18414 enableval=$enable_werror;
18415 case "$enableval" in
18416 yes|no) ;;
18417 *) as_fn_error $? "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18418 esac
18420 else
18421 enable_werror=no
18425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18426 $as_echo "$enable_werror" >&6; }
18431 # Check whether --enable-vtable-verify was given.
18432 if test "${enable_vtable_verify+set}" = set; then :
18433 enableval=$enable_vtable_verify;
18434 case "$enableval" in
18435 yes|no) ;;
18436 *) as_fn_error $? "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18437 esac
18439 else
18440 enable_vtable_verify=no
18445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18446 $as_echo_n "checking for vtable verify support... " >&6; }
18447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18448 $as_echo "$enable_vtable_verify" >&6; }
18450 vtv_cygmin=no
18451 if test $enable_vtable_verify = yes; then
18452 case ${target_os} in
18453 cygwin*|mingw32*)
18454 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18455 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18456 vtv_cygmin=yes
18458 darwin*)
18459 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18460 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18462 solaris2*)
18463 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18464 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18467 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18468 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18470 esac
18471 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18472 else
18473 VTV_CXXFLAGS=
18474 VTV_PCH_CXXFLAGS=
18475 VTV_CXXLINKFLAGS=
18481 if test x$vtv_cygmin = xyes; then
18482 VTV_CYGMIN_TRUE=
18483 VTV_CYGMIN_FALSE='#'
18484 else
18485 VTV_CYGMIN_TRUE='#'
18486 VTV_CYGMIN_FALSE=
18492 # Checks for operating systems support that doesn't require linking.
18496 ac_ext=cpp
18497 ac_cpp='$CXXCPP $CPPFLAGS'
18498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18502 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18503 # and we don't need a declaration for C++14 anyway.
18504 ac_save_CXXFLAGS="$CXXFLAGS"
18505 CXXFLAGS="$CXXFLAGS -std=gnu++11"
18507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18508 $as_echo_n "checking for gets declaration... " >&6; }
18509 if ${glibcxx_cv_gets+:} false; then :
18510 $as_echo_n "(cached) " >&6
18511 else
18513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18514 /* end confdefs.h. */
18515 #include <stdio.h>
18516 namespace test
18518 using ::gets;
18521 _ACEOF
18522 if ac_fn_cxx_try_compile "$LINENO"; then :
18523 glibcxx_cv_gets=yes
18524 else
18525 glibcxx_cv_gets=no
18528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18532 if test $glibcxx_cv_gets = yes; then
18534 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18538 $as_echo "$glibcxx_cv_gets" >&6; }
18540 CXXFLAGS="$ac_save_CXXFLAGS"
18541 ac_ext=c
18542 ac_cpp='$CPP $CPPFLAGS'
18543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18551 ac_ext=cpp
18552 ac_cpp='$CXXCPP $CPPFLAGS'
18553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18557 ac_save_CXXFLAGS="$CXXFLAGS"
18558 CXXFLAGS="$CXXFLAGS -std=c++11"
18560 case "$host" in
18561 *-*-solaris2.*)
18562 # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18563 # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18565 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18566 if ${glibcxx_cv_math11_fp_overload+:} false; then :
18567 $as_echo_n "(cached) " >&6
18568 else
18570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18571 /* end confdefs.h. */
18572 #include <math.h>
18573 #undef isfinite
18574 namespace std {
18575 inline bool isfinite(float __x)
18576 { return __builtin_isfinite(__x); }
18579 _ACEOF
18580 if ac_fn_cxx_try_compile "$LINENO"; then :
18581 glibcxx_cv_math11_fp_overload=no
18582 else
18583 glibcxx_cv_math11_fp_overload=yes
18586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18590 # autoheader cannot handle indented templates.
18593 if test $glibcxx_cv_math11_fp_overload = yes; then
18594 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
18597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
18598 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
18600 # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
18601 # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
18602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
18603 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
18604 if ${glibcxx_cv_math11_int_overload+:} false; then :
18605 $as_echo_n "(cached) " >&6
18606 else
18608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18609 /* end confdefs.h. */
18610 #include <math.h>
18611 namespace std {
18612 template<typename _Tp>
18613 struct __is_integer;
18614 template<>
18615 struct __is_integer<int>
18617 enum { __value = 1 };
18620 namespace __gnu_cxx {
18621 template<bool, typename>
18622 struct __enable_if;
18623 template<typename _Tp>
18624 struct __enable_if<true, _Tp>
18625 { typedef _Tp __type; };
18627 namespace std {
18628 template<typename _Tp>
18629 constexpr typename __gnu_cxx::__enable_if
18630 <__is_integer<_Tp>::__value, double>::__type
18631 log2(_Tp __x)
18632 { return __builtin_log2(__x); }
18635 main (void)
18637 int i = 1000;
18638 return std::log2(i);
18641 _ACEOF
18642 if ac_fn_cxx_try_compile "$LINENO"; then :
18643 glibcxx_cv_math11_int_overload=no
18644 else
18645 glibcxx_cv_math11_int_overload=yes
18648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18652 # autoheader cannot handle indented templates.
18655 if test $glibcxx_cv_math11_int_overload = yes; then
18656 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
18659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
18660 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
18663 # If <math.h> defines the obsolete isinf(double) and isnan(double)
18664 # functions (instead of or as well as the C99 generic macros) then we
18665 # can't define std::isinf(double) and std::isnan(double) in <cmath>
18666 # and must use the ones from <math.h> instead.
18667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
18668 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
18669 if ${glibcxx_cv_obsolete_isinf+:} false; then :
18670 $as_echo_n "(cached) " >&6
18671 else
18673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18674 /* end confdefs.h. */
18675 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18676 #include <math.h>
18677 #undef isinf
18678 namespace std {
18679 using ::isinf;
18680 bool isinf(float);
18681 bool isinf(long double);
18683 using std::isinf;
18684 bool b = isinf(0.0);
18686 _ACEOF
18687 if ac_fn_cxx_try_compile "$LINENO"; then :
18688 glibcxx_cv_obsolete_isinf=yes
18689 else
18690 glibcxx_cv_obsolete_isinf=no
18693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
18697 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
18698 if test $glibcxx_cv_obsolete_isinf = yes; then
18700 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
18704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
18705 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
18706 if ${glibcxx_cv_obsolete_isnan+:} false; then :
18707 $as_echo_n "(cached) " >&6
18708 else
18710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18711 /* end confdefs.h. */
18712 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18713 #include <math.h>
18714 #undef isnan
18715 namespace std {
18716 using ::isnan;
18717 bool isnan(float);
18718 bool isnan(long double);
18720 using std::isnan;
18721 bool b = isnan(0.0);
18723 _ACEOF
18724 if ac_fn_cxx_try_compile "$LINENO"; then :
18725 glibcxx_cv_obsolete_isnan=yes
18726 else
18727 glibcxx_cv_obsolete_isnan=no
18730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
18734 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
18735 if test $glibcxx_cv_obsolete_isnan = yes; then
18737 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
18741 esac
18743 CXXFLAGS="$ac_save_CXXFLAGS"
18744 ac_ext=c
18745 ac_cpp='$CPP $CPPFLAGS'
18746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
18754 $as_echo_n "checking for EOWNERDEAD... " >&6; }
18755 if ${glibcxx_cv_system_error1+:} false; then :
18756 $as_echo_n "(cached) " >&6
18757 else
18759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18760 /* end confdefs.h. */
18761 #include <errno.h>
18763 main ()
18765 int i = EOWNERDEAD;
18767 return 0;
18769 _ACEOF
18770 if ac_fn_c_try_compile "$LINENO"; then :
18771 glibcxx_cv_system_error1=yes
18772 else
18773 glibcxx_cv_system_error1=no
18775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
18780 $as_echo "$glibcxx_cv_system_error1" >&6; }
18781 if test x"$glibcxx_cv_system_error1" = x"yes"; then
18783 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
18786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
18787 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
18788 if ${glibcxx_cv_system_error2+:} false; then :
18789 $as_echo_n "(cached) " >&6
18790 else
18792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18793 /* end confdefs.h. */
18794 #include <errno.h>
18796 main ()
18798 int i = ENOTRECOVERABLE;
18800 return 0;
18802 _ACEOF
18803 if ac_fn_c_try_compile "$LINENO"; then :
18804 glibcxx_cv_system_error2=yes
18805 else
18806 glibcxx_cv_system_error2=no
18808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
18813 $as_echo "$glibcxx_cv_system_error2" >&6; }
18814 if test x"$glibcxx_cv_system_error2" = x"yes"; then
18816 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
18819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
18820 $as_echo_n "checking for ENOLINK... " >&6; }
18821 if ${glibcxx_cv_system_error3+:} false; then :
18822 $as_echo_n "(cached) " >&6
18823 else
18825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18826 /* end confdefs.h. */
18827 #include <errno.h>
18829 main ()
18831 int i = ENOLINK;
18833 return 0;
18835 _ACEOF
18836 if ac_fn_c_try_compile "$LINENO"; then :
18837 glibcxx_cv_system_error3=yes
18838 else
18839 glibcxx_cv_system_error3=no
18841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
18846 $as_echo "$glibcxx_cv_system_error3" >&6; }
18847 if test x"$glibcxx_cv_system_error3" = x"yes"; then
18849 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
18852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
18853 $as_echo_n "checking for EPROTO... " >&6; }
18854 if ${glibcxx_cv_system_error4+:} false; then :
18855 $as_echo_n "(cached) " >&6
18856 else
18858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18859 /* end confdefs.h. */
18860 #include <errno.h>
18862 main ()
18864 int i = EPROTO;
18866 return 0;
18868 _ACEOF
18869 if ac_fn_c_try_compile "$LINENO"; then :
18870 glibcxx_cv_system_error4=yes
18871 else
18872 glibcxx_cv_system_error4=no
18874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
18879 $as_echo "$glibcxx_cv_system_error4" >&6; }
18880 if test x"$glibcxx_cv_system_error4" = x"yes"; then
18882 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
18885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
18886 $as_echo_n "checking for ENODATA... " >&6; }
18887 if ${glibcxx_cv_system_error5+:} false; then :
18888 $as_echo_n "(cached) " >&6
18889 else
18891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18892 /* end confdefs.h. */
18893 #include <errno.h>
18895 main ()
18897 int i = ENODATA;
18899 return 0;
18901 _ACEOF
18902 if ac_fn_c_try_compile "$LINENO"; then :
18903 glibcxx_cv_system_error5=yes
18904 else
18905 glibcxx_cv_system_error5=no
18907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
18912 $as_echo "$glibcxx_cv_system_error5" >&6; }
18913 if test x"$glibcxx_cv_system_error5" = x"yes"; then
18915 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
18918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
18919 $as_echo_n "checking for ENOSR... " >&6; }
18920 if ${glibcxx_cv_system_error6+:} false; then :
18921 $as_echo_n "(cached) " >&6
18922 else
18924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18925 /* end confdefs.h. */
18926 #include <errno.h>
18928 main ()
18930 int i = ENOSR;
18932 return 0;
18934 _ACEOF
18935 if ac_fn_c_try_compile "$LINENO"; then :
18936 glibcxx_cv_system_error6=yes
18937 else
18938 glibcxx_cv_system_error6=no
18940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
18945 $as_echo "$glibcxx_cv_system_error6" >&6; }
18946 if test x"$glibcxx_cv_system_error6" = x"yes"; then
18948 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
18951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
18952 $as_echo_n "checking for ENOSTR... " >&6; }
18953 if ${glibcxx_cv_system_error7+:} false; then :
18954 $as_echo_n "(cached) " >&6
18955 else
18957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18958 /* end confdefs.h. */
18959 #include <errno.h>
18961 main ()
18963 int i = ENOSTR;
18965 return 0;
18967 _ACEOF
18968 if ac_fn_c_try_compile "$LINENO"; then :
18969 glibcxx_cv_system_error7=yes
18970 else
18971 glibcxx_cv_system_error7=no
18973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
18978 $as_echo "$glibcxx_cv_system_error7" >&6; }
18979 if test x"$glibcxx_cv_system_error7" = x"yes"; then
18981 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
18984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
18985 $as_echo_n "checking for ETIME... " >&6; }
18986 if ${glibcxx_cv_system_error8+:} false; then :
18987 $as_echo_n "(cached) " >&6
18988 else
18990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18991 /* end confdefs.h. */
18992 #include <errno.h>
18994 main ()
18996 int i = ETIME;
18998 return 0;
19000 _ACEOF
19001 if ac_fn_c_try_compile "$LINENO"; then :
19002 glibcxx_cv_system_error8=yes
19003 else
19004 glibcxx_cv_system_error8=no
19006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
19011 $as_echo "$glibcxx_cv_system_error8" >&6; }
19012 if test x"$glibcxx_cv_system_error8" = x"yes"; then
19014 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
19017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
19018 $as_echo_n "checking for EBADMSG... " >&6; }
19019 if ${glibcxx_cv_system_error9+:} false; then :
19020 $as_echo_n "(cached) " >&6
19021 else
19023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19024 /* end confdefs.h. */
19025 #include <errno.h>
19027 main ()
19029 int i = EBADMSG;
19031 return 0;
19033 _ACEOF
19034 if ac_fn_c_try_compile "$LINENO"; then :
19035 glibcxx_cv_system_error9=yes
19036 else
19037 glibcxx_cv_system_error9=no
19039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
19044 $as_echo "$glibcxx_cv_system_error9" >&6; }
19045 if test x"$glibcxx_cv_system_error9" = x"yes"; then
19047 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
19050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
19051 $as_echo_n "checking for ECANCELED... " >&6; }
19052 if ${glibcxx_cv_system_error10+:} false; then :
19053 $as_echo_n "(cached) " >&6
19054 else
19056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19057 /* end confdefs.h. */
19058 #include <errno.h>
19060 main ()
19062 int i = ECANCELED;
19064 return 0;
19066 _ACEOF
19067 if ac_fn_c_try_compile "$LINENO"; then :
19068 glibcxx_cv_system_error10=yes
19069 else
19070 glibcxx_cv_system_error10=no
19072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
19077 $as_echo "$glibcxx_cv_system_error10" >&6; }
19078 if test x"$glibcxx_cv_system_error10" = x"yes"; then
19080 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
19083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
19084 $as_echo_n "checking for EOVERFLOW... " >&6; }
19085 if ${glibcxx_cv_system_error11+:} false; then :
19086 $as_echo_n "(cached) " >&6
19087 else
19089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19090 /* end confdefs.h. */
19091 #include <errno.h>
19093 main ()
19095 int i = EOVERFLOW;
19097 return 0;
19099 _ACEOF
19100 if ac_fn_c_try_compile "$LINENO"; then :
19101 glibcxx_cv_system_error11=yes
19102 else
19103 glibcxx_cv_system_error11=no
19105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
19110 $as_echo "$glibcxx_cv_system_error11" >&6; }
19111 if test x"$glibcxx_cv_system_error11" = x"yes"; then
19113 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
19116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
19117 $as_echo_n "checking for ENOTSUP... " >&6; }
19118 if ${glibcxx_cv_system_error12+:} false; then :
19119 $as_echo_n "(cached) " >&6
19120 else
19122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19123 /* end confdefs.h. */
19124 #include <errno.h>
19126 main ()
19128 int i = ENOTSUP;
19130 return 0;
19132 _ACEOF
19133 if ac_fn_c_try_compile "$LINENO"; then :
19134 glibcxx_cv_system_error12=yes
19135 else
19136 glibcxx_cv_system_error12=no
19138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
19143 $as_echo "$glibcxx_cv_system_error12" >&6; }
19144 if test x"$glibcxx_cv_system_error12" = x"yes"; then
19146 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
19149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
19150 $as_echo_n "checking for EIDRM... " >&6; }
19151 if ${glibcxx_cv_system_error13+:} false; then :
19152 $as_echo_n "(cached) " >&6
19153 else
19155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19156 /* end confdefs.h. */
19157 #include <errno.h>
19159 main ()
19161 int i = EIDRM;
19163 return 0;
19165 _ACEOF
19166 if ac_fn_c_try_compile "$LINENO"; then :
19167 glibcxx_cv_system_error13=yes
19168 else
19169 glibcxx_cv_system_error13=no
19171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
19176 $as_echo "$glibcxx_cv_system_error13" >&6; }
19177 if test x"$glibcxx_cv_system_error13" = x"yes"; then
19179 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
19182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
19183 $as_echo_n "checking for ETXTBSY... " >&6; }
19184 if ${glibcxx_cv_system_error14+:} false; then :
19185 $as_echo_n "(cached) " >&6
19186 else
19188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19189 /* end confdefs.h. */
19190 #include <errno.h>
19192 main ()
19194 int i = ETXTBSY;
19196 return 0;
19198 _ACEOF
19199 if ac_fn_c_try_compile "$LINENO"; then :
19200 glibcxx_cv_system_error14=yes
19201 else
19202 glibcxx_cv_system_error14=no
19204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
19209 $as_echo "$glibcxx_cv_system_error14" >&6; }
19210 if test x"$glibcxx_cv_system_error14" = x"yes"; then
19212 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
19215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
19216 $as_echo_n "checking for ECHILD... " >&6; }
19217 if ${glibcxx_cv_system_error15+:} false; then :
19218 $as_echo_n "(cached) " >&6
19219 else
19221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19222 /* end confdefs.h. */
19223 #include <errno.h>
19225 main ()
19227 int i = ECHILD;
19229 return 0;
19231 _ACEOF
19232 if ac_fn_c_try_compile "$LINENO"; then :
19233 glibcxx_cv_system_error15=yes
19234 else
19235 glibcxx_cv_system_error15=no
19237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
19242 $as_echo "$glibcxx_cv_system_error15" >&6; }
19243 if test x"$glibcxx_cv_system_error15" = x"yes"; then
19245 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
19248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
19249 $as_echo_n "checking for ENOSPC... " >&6; }
19250 if ${glibcxx_cv_system_error16+:} false; then :
19251 $as_echo_n "(cached) " >&6
19252 else
19254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19255 /* end confdefs.h. */
19256 #include <errno.h>
19258 main ()
19260 int i = ENOSPC;
19262 return 0;
19264 _ACEOF
19265 if ac_fn_c_try_compile "$LINENO"; then :
19266 glibcxx_cv_system_error16=yes
19267 else
19268 glibcxx_cv_system_error16=no
19270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
19275 $as_echo "$glibcxx_cv_system_error16" >&6; }
19276 if test x"$glibcxx_cv_system_error16" = x"yes"; then
19278 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
19281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
19282 $as_echo_n "checking for EPERM... " >&6; }
19283 if ${glibcxx_cv_system_error17+:} false; then :
19284 $as_echo_n "(cached) " >&6
19285 else
19287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19288 /* end confdefs.h. */
19289 #include <errno.h>
19291 main ()
19293 int i = EPERM;
19295 return 0;
19297 _ACEOF
19298 if ac_fn_c_try_compile "$LINENO"; then :
19299 glibcxx_cv_system_error17=yes
19300 else
19301 glibcxx_cv_system_error17=no
19303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
19308 $as_echo "$glibcxx_cv_system_error17" >&6; }
19309 if test x"$glibcxx_cv_system_error17" = x"yes"; then
19311 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
19314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
19315 $as_echo_n "checking for ETIMEDOUT... " >&6; }
19316 if ${glibcxx_cv_system_error18+:} false; then :
19317 $as_echo_n "(cached) " >&6
19318 else
19320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19321 /* end confdefs.h. */
19322 #include <errno.h>
19324 main ()
19326 int i = ETIMEDOUT;
19328 return 0;
19330 _ACEOF
19331 if ac_fn_c_try_compile "$LINENO"; then :
19332 glibcxx_cv_system_error18=yes
19333 else
19334 glibcxx_cv_system_error18=no
19336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
19341 $as_echo "$glibcxx_cv_system_error18" >&6; }
19342 if test x"$glibcxx_cv_system_error18" = x"yes"; then
19344 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
19347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
19348 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
19349 if ${glibcxx_cv_system_error19+:} false; then :
19350 $as_echo_n "(cached) " >&6
19351 else
19353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19354 /* end confdefs.h. */
19355 #include <errno.h>
19357 main ()
19359 int i = EWOULDBLOCK;
19361 return 0;
19363 _ACEOF
19364 if ac_fn_c_try_compile "$LINENO"; then :
19365 glibcxx_cv_system_error19=yes
19366 else
19367 glibcxx_cv_system_error19=no
19369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
19374 $as_echo "$glibcxx_cv_system_error19" >&6; }
19375 if test x"$glibcxx_cv_system_error19" = x"yes"; then
19377 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
19384 # Test uchar.h.
19385 for ac_header in uchar.h
19386 do :
19387 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19388 if test "x$ac_cv_header_uchar_h" = xyes; then :
19389 cat >>confdefs.h <<_ACEOF
19390 #define HAVE_UCHAR_H 1
19391 _ACEOF
19392 ac_has_uchar_h=yes
19393 else
19394 ac_has_uchar_h=no
19397 done
19401 ac_ext=cpp
19402 ac_cpp='$CXXCPP $CPPFLAGS'
19403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19407 ac_save_CXXFLAGS="$CXXFLAGS"
19408 CXXFLAGS="$CXXFLAGS -std=c++11"
19410 if test x"$ac_has_uchar_h" = x"yes"; then
19411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19412 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19414 /* end confdefs.h. */
19415 #include <uchar.h>
19416 #ifdef __STDC_UTF_16__
19417 long i = __STDC_UTF_16__;
19418 #endif
19419 #ifdef __STDC_UTF_32__
19420 long j = __STDC_UTF_32__;
19421 #endif
19422 namespace test
19424 using ::c16rtomb;
19425 using ::c32rtomb;
19426 using ::mbrtoc16;
19427 using ::mbrtoc32;
19431 main ()
19435 return 0;
19437 _ACEOF
19438 if ac_fn_cxx_try_compile "$LINENO"; then :
19439 ac_c11_uchar_cxx11=yes
19440 else
19441 ac_c11_uchar_cxx11=no
19443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19444 else
19445 ac_c11_uchar_cxx11=no
19447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19448 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19449 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19451 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19455 CXXFLAGS="$ac_save_CXXFLAGS"
19456 ac_ext=c
19457 ac_cpp='$CPP $CPPFLAGS'
19458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19464 # For the streamoff typedef.
19468 ac_ext=cpp
19469 ac_cpp='$CXXCPP $CPPFLAGS'
19470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
19476 $as_echo_n "checking for int64_t... " >&6; }
19477 if ${glibcxx_cv_INT64_T+:} false; then :
19478 $as_echo_n "(cached) " >&6
19479 else
19481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19482 /* end confdefs.h. */
19483 #include <stdint.h>
19485 main ()
19487 int64_t var;
19489 return 0;
19491 _ACEOF
19492 if ac_fn_cxx_try_compile "$LINENO"; then :
19493 glibcxx_cv_INT64_T=yes
19494 else
19495 glibcxx_cv_INT64_T=no
19497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19502 if test $glibcxx_cv_INT64_T = yes; then
19504 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
19506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
19507 $as_echo "$glibcxx_cv_INT64_T" >&6; }
19509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
19510 $as_echo_n "checking for int64_t as long... " >&6; }
19511 if ${glibcxx_cv_int64_t_long+:} false; then :
19512 $as_echo_n "(cached) " >&6
19513 else
19515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19516 /* end confdefs.h. */
19517 #include <stdint.h>
19518 template<typename, typename> struct same { enum { value = -1 }; };
19519 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19520 int array[same<int64_t, long>::value];
19522 main ()
19526 return 0;
19528 _ACEOF
19529 if ac_fn_cxx_try_compile "$LINENO"; then :
19530 glibcxx_cv_int64_t_long=yes
19531 else
19532 glibcxx_cv_int64_t_long=no
19534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19539 if test $glibcxx_cv_int64_t_long = yes; then
19541 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
19543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
19544 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
19547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
19548 $as_echo_n "checking for int64_t as long long... " >&6; }
19549 if ${glibcxx_cv_int64_t_long_long+:} false; then :
19550 $as_echo_n "(cached) " >&6
19551 else
19553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19554 /* end confdefs.h. */
19555 #include <stdint.h>
19556 template<typename, typename> struct same { enum { value = -1 }; };
19557 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19558 int array[same<int64_t, long long>::value];
19560 main ()
19564 return 0;
19566 _ACEOF
19567 if ac_fn_cxx_try_compile "$LINENO"; then :
19568 glibcxx_cv_int64_t_long_long=yes
19569 else
19570 glibcxx_cv_int64_t_long_long=no
19572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19577 if test $glibcxx_cv_int64_t_long_long = yes; then
19579 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
19581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
19582 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
19586 ac_ext=c
19587 ac_cpp='$CPP $CPPFLAGS'
19588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19594 # For LFS support.
19597 ac_ext=cpp
19598 ac_cpp='$CXXCPP $CPPFLAGS'
19599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19603 ac_save_CXXFLAGS="$CXXFLAGS"
19604 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19606 $as_echo_n "checking for LFS support... " >&6; }
19607 if ${glibcxx_cv_LFS+:} false; then :
19608 $as_echo_n "(cached) " >&6
19609 else
19611 if test x$gcc_no_link = xyes; then
19612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19613 /* end confdefs.h. */
19614 #include <unistd.h>
19615 #include <stdio.h>
19616 #include <sys/stat.h>
19619 main ()
19621 FILE* fp;
19622 fopen64("t", "w");
19623 fseeko64(fp, 0, SEEK_CUR);
19624 ftello64(fp);
19625 lseek64(1, 0, SEEK_CUR);
19626 struct stat64 buf;
19627 fstat64(1, &buf);
19629 return 0;
19631 _ACEOF
19632 if ac_fn_cxx_try_compile "$LINENO"; then :
19633 glibcxx_cv_LFS=yes
19634 else
19635 glibcxx_cv_LFS=no
19637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19638 else
19639 if test x$gcc_no_link = xyes; then
19640 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19643 /* end confdefs.h. */
19644 #include <unistd.h>
19645 #include <stdio.h>
19646 #include <sys/stat.h>
19649 main ()
19651 FILE* fp;
19652 fopen64("t", "w");
19653 fseeko64(fp, 0, SEEK_CUR);
19654 ftello64(fp);
19655 lseek64(1, 0, SEEK_CUR);
19656 struct stat64 buf;
19657 fstat64(1, &buf);
19659 return 0;
19661 _ACEOF
19662 if ac_fn_cxx_try_link "$LINENO"; then :
19663 glibcxx_cv_LFS=yes
19664 else
19665 glibcxx_cv_LFS=no
19667 rm -f core conftest.err conftest.$ac_objext \
19668 conftest$ac_exeext conftest.$ac_ext
19673 if test $glibcxx_cv_LFS = yes; then
19675 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19679 $as_echo "$glibcxx_cv_LFS" >&6; }
19680 CXXFLAGS="$ac_save_CXXFLAGS"
19681 ac_ext=c
19682 ac_cpp='$CPP $CPPFLAGS'
19683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19689 # For showmanyc_helper().
19690 for ac_header in sys/ioctl.h sys/filio.h
19691 do :
19692 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19693 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19694 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19695 cat >>confdefs.h <<_ACEOF
19696 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19697 _ACEOF
19701 done
19706 ac_ext=cpp
19707 ac_cpp='$CXXCPP $CPPFLAGS'
19708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19712 ac_save_CXXFLAGS="$CXXFLAGS"
19713 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19716 $as_echo_n "checking for poll... " >&6; }
19717 if ${glibcxx_cv_POLL+:} false; then :
19718 $as_echo_n "(cached) " >&6
19719 else
19721 if test x$gcc_no_link = xyes; then
19722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19723 /* end confdefs.h. */
19724 #include <poll.h>
19726 main ()
19728 struct pollfd pfd[1];
19729 pfd[0].events = POLLIN;
19730 poll(pfd, 1, 0);
19732 return 0;
19734 _ACEOF
19735 if ac_fn_cxx_try_compile "$LINENO"; then :
19736 glibcxx_cv_POLL=yes
19737 else
19738 glibcxx_cv_POLL=no
19740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19741 else
19742 if test x$gcc_no_link = xyes; then
19743 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19746 /* end confdefs.h. */
19747 #include <poll.h>
19749 main ()
19751 struct pollfd pfd[1];
19752 pfd[0].events = POLLIN;
19753 poll(pfd, 1, 0);
19755 return 0;
19757 _ACEOF
19758 if ac_fn_cxx_try_link "$LINENO"; then :
19759 glibcxx_cv_POLL=yes
19760 else
19761 glibcxx_cv_POLL=no
19763 rm -f core conftest.err conftest.$ac_objext \
19764 conftest$ac_exeext conftest.$ac_ext
19769 if test $glibcxx_cv_POLL = yes; then
19771 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19775 $as_echo "$glibcxx_cv_POLL" >&6; }
19777 CXXFLAGS="$ac_save_CXXFLAGS"
19778 ac_ext=c
19779 ac_cpp='$CPP $CPPFLAGS'
19780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19788 ac_ext=cpp
19789 ac_cpp='$CXXCPP $CPPFLAGS'
19790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19794 ac_save_CXXFLAGS="$CXXFLAGS"
19795 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19798 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19799 if ${glibcxx_cv_S_ISREG+:} false; then :
19800 $as_echo_n "(cached) " >&6
19801 else
19803 if test x$gcc_no_link = xyes; then
19804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19805 /* end confdefs.h. */
19806 #include <sys/stat.h>
19808 main ()
19810 struct stat buffer;
19811 fstat(0, &buffer);
19812 S_ISREG(buffer.st_mode);
19814 return 0;
19816 _ACEOF
19817 if ac_fn_cxx_try_compile "$LINENO"; then :
19818 glibcxx_cv_S_ISREG=yes
19819 else
19820 glibcxx_cv_S_ISREG=no
19822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19823 else
19824 if test x$gcc_no_link = xyes; then
19825 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19828 /* end confdefs.h. */
19829 #include <sys/stat.h>
19831 main ()
19833 struct stat buffer;
19834 fstat(0, &buffer);
19835 S_ISREG(buffer.st_mode);
19837 return 0;
19839 _ACEOF
19840 if ac_fn_cxx_try_link "$LINENO"; then :
19841 glibcxx_cv_S_ISREG=yes
19842 else
19843 glibcxx_cv_S_ISREG=no
19845 rm -f core conftest.err conftest.$ac_objext \
19846 conftest$ac_exeext conftest.$ac_ext
19851 if ${glibcxx_cv_S_IFREG+:} false; then :
19852 $as_echo_n "(cached) " >&6
19853 else
19855 if test x$gcc_no_link = xyes; then
19856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19857 /* end confdefs.h. */
19858 #include <sys/stat.h>
19860 main ()
19862 struct stat buffer;
19863 fstat(0, &buffer);
19864 S_IFREG & buffer.st_mode;
19866 return 0;
19868 _ACEOF
19869 if ac_fn_cxx_try_compile "$LINENO"; then :
19870 glibcxx_cv_S_IFREG=yes
19871 else
19872 glibcxx_cv_S_IFREG=no
19874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19875 else
19876 if test x$gcc_no_link = xyes; then
19877 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19880 /* end confdefs.h. */
19881 #include <sys/stat.h>
19883 main ()
19885 struct stat buffer;
19886 fstat(0, &buffer);
19887 S_IFREG & buffer.st_mode;
19889 return 0;
19891 _ACEOF
19892 if ac_fn_cxx_try_link "$LINENO"; then :
19893 glibcxx_cv_S_IFREG=yes
19894 else
19895 glibcxx_cv_S_IFREG=no
19897 rm -f core conftest.err conftest.$ac_objext \
19898 conftest$ac_exeext conftest.$ac_ext
19903 res=no
19904 if test $glibcxx_cv_S_ISREG = yes; then
19906 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19908 res=S_ISREG
19909 elif test $glibcxx_cv_S_IFREG = yes; then
19911 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19913 res=S_IFREG
19915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19916 $as_echo "$res" >&6; }
19918 CXXFLAGS="$ac_save_CXXFLAGS"
19919 ac_ext=c
19920 ac_cpp='$CPP $CPPFLAGS'
19921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19927 # For xsputn_2().
19928 for ac_header in sys/uio.h
19929 do :
19930 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19931 if test "x$ac_cv_header_sys_uio_h" = xyes; then :
19932 cat >>confdefs.h <<_ACEOF
19933 #define HAVE_SYS_UIO_H 1
19934 _ACEOF
19938 done
19943 ac_ext=cpp
19944 ac_cpp='$CXXCPP $CPPFLAGS'
19945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19949 ac_save_CXXFLAGS="$CXXFLAGS"
19950 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19953 $as_echo_n "checking for writev... " >&6; }
19954 if ${glibcxx_cv_WRITEV+:} false; then :
19955 $as_echo_n "(cached) " >&6
19956 else
19958 if test x$gcc_no_link = xyes; then
19959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19960 /* end confdefs.h. */
19961 #include <sys/uio.h>
19963 main ()
19965 struct iovec iov[2];
19966 writev(0, iov, 0);
19968 return 0;
19970 _ACEOF
19971 if ac_fn_cxx_try_compile "$LINENO"; then :
19972 glibcxx_cv_WRITEV=yes
19973 else
19974 glibcxx_cv_WRITEV=no
19976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19977 else
19978 if test x$gcc_no_link = xyes; then
19979 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19982 /* end confdefs.h. */
19983 #include <sys/uio.h>
19985 main ()
19987 struct iovec iov[2];
19988 writev(0, iov, 0);
19990 return 0;
19992 _ACEOF
19993 if ac_fn_cxx_try_link "$LINENO"; then :
19994 glibcxx_cv_WRITEV=yes
19995 else
19996 glibcxx_cv_WRITEV=no
19998 rm -f core conftest.err conftest.$ac_objext \
19999 conftest$ac_exeext conftest.$ac_ext
20004 if test $glibcxx_cv_WRITEV = yes; then
20006 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
20009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
20010 $as_echo "$glibcxx_cv_WRITEV" >&6; }
20012 CXXFLAGS="$ac_save_CXXFLAGS"
20013 ac_ext=c
20014 ac_cpp='$CPP $CPPFLAGS'
20015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20021 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
20022 # so that the check is done with the C compiler (not C++).
20023 # Checking with C++ can break a canadian cross build if either
20024 # file does not exist in C but does in C++.
20025 for ac_header in fenv.h complex.h
20026 do :
20027 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20028 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20029 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20030 cat >>confdefs.h <<_ACEOF
20031 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20032 _ACEOF
20036 done
20039 # For C99 support to TR1.
20043 ac_ext=cpp
20044 ac_cpp='$CXXCPP $CPPFLAGS'
20045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20050 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
20051 # undefined and fake C99 facilities may be spuriously enabled.
20052 ac_save_CXXFLAGS="$CXXFLAGS"
20053 CXXFLAGS="$CXXFLAGS -std=c++98"
20055 # Check for the existence of <complex.h> complex math functions used
20056 # by tr1/complex.
20057 for ac_header in complex.h
20058 do :
20059 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
20060 if test "x$ac_cv_header_complex_h" = xyes; then :
20061 cat >>confdefs.h <<_ACEOF
20062 #define HAVE_COMPLEX_H 1
20063 _ACEOF
20064 ac_has_complex_h=yes
20065 else
20066 ac_has_complex_h=no
20069 done
20071 ac_c99_complex_tr1=no;
20072 if test x"$ac_has_complex_h" = x"yes"; then
20073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
20074 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
20075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20076 /* end confdefs.h. */
20077 #include <complex.h>
20079 main ()
20081 typedef __complex__ float float_type; float_type tmpf;
20082 cacosf(tmpf);
20083 casinf(tmpf);
20084 catanf(tmpf);
20085 cacoshf(tmpf);
20086 casinhf(tmpf);
20087 catanhf(tmpf);
20088 typedef __complex__ double double_type; double_type tmpd;
20089 cacos(tmpd);
20090 casin(tmpd);
20091 catan(tmpd);
20092 cacosh(tmpd);
20093 casinh(tmpd);
20094 catanh(tmpd);
20095 typedef __complex__ long double ld_type; ld_type tmpld;
20096 cacosl(tmpld);
20097 casinl(tmpld);
20098 catanl(tmpld);
20099 cacoshl(tmpld);
20100 casinhl(tmpld);
20101 catanhl(tmpld);
20104 return 0;
20106 _ACEOF
20107 if ac_fn_cxx_try_compile "$LINENO"; then :
20108 ac_c99_complex_tr1=yes
20109 else
20110 ac_c99_complex_tr1=no
20112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
20115 $as_echo "$ac_c99_complex_tr1" >&6; }
20116 if test x"$ac_c99_complex_tr1" = x"yes"; then
20118 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
20122 # Check for the existence of <ctype.h> functions.
20123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
20124 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
20125 if ${glibcxx_cv_c99_ctype_tr1+:} false; then :
20126 $as_echo_n "(cached) " >&6
20127 else
20129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20130 /* end confdefs.h. */
20131 #include <ctype.h>
20133 main ()
20135 int ch;
20136 int ret;
20137 ret = isblank(ch);
20140 return 0;
20142 _ACEOF
20143 if ac_fn_cxx_try_compile "$LINENO"; then :
20144 glibcxx_cv_c99_ctype_tr1=yes
20145 else
20146 glibcxx_cv_c99_ctype_tr1=no
20148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
20153 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
20154 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
20156 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
20160 # Check for the existence of <fenv.h> functions.
20161 for ac_header in fenv.h
20162 do :
20163 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
20164 if test "x$ac_cv_header_fenv_h" = xyes; then :
20165 cat >>confdefs.h <<_ACEOF
20166 #define HAVE_FENV_H 1
20167 _ACEOF
20168 ac_has_fenv_h=yes
20169 else
20170 ac_has_fenv_h=no
20173 done
20175 ac_c99_fenv_tr1=no;
20176 if test x"$ac_has_fenv_h" = x"yes"; then
20177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
20178 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
20179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20180 /* end confdefs.h. */
20181 #include <fenv.h>
20183 main ()
20185 int except, mode;
20186 fexcept_t* pflag;
20187 fenv_t* penv;
20188 int ret;
20189 ret = feclearexcept(except);
20190 ret = fegetexceptflag(pflag, except);
20191 ret = feraiseexcept(except);
20192 ret = fesetexceptflag(pflag, except);
20193 ret = fetestexcept(except);
20194 ret = fegetround();
20195 ret = fesetround(mode);
20196 ret = fegetenv(penv);
20197 ret = feholdexcept(penv);
20198 ret = fesetenv(penv);
20199 ret = feupdateenv(penv);
20202 return 0;
20204 _ACEOF
20205 if ac_fn_cxx_try_compile "$LINENO"; then :
20206 ac_c99_fenv_tr1=yes
20207 else
20208 ac_c99_fenv_tr1=no
20210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
20213 $as_echo "$ac_c99_fenv_tr1" >&6; }
20214 if test x"$ac_c99_fenv_tr1" = x"yes"; then
20216 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
20220 # Check for the existence of <stdint.h> types.
20221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
20222 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
20223 if ${glibcxx_cv_c99_stdint_tr1+:} false; then :
20224 $as_echo_n "(cached) " >&6
20225 else
20227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20228 /* end confdefs.h. */
20229 #define __STDC_LIMIT_MACROS
20230 #define __STDC_CONSTANT_MACROS
20231 #include <stdint.h>
20233 main ()
20235 typedef int8_t my_int8_t;
20236 my_int8_t i8 = INT8_MIN;
20237 i8 = INT8_MAX;
20238 typedef int16_t my_int16_t;
20239 my_int16_t i16 = INT16_MIN;
20240 i16 = INT16_MAX;
20241 typedef int32_t my_int32_t;
20242 my_int32_t i32 = INT32_MIN;
20243 i32 = INT32_MAX;
20244 typedef int64_t my_int64_t;
20245 my_int64_t i64 = INT64_MIN;
20246 i64 = INT64_MAX;
20247 typedef int_fast8_t my_int_fast8_t;
20248 my_int_fast8_t if8 = INT_FAST8_MIN;
20249 if8 = INT_FAST8_MAX;
20250 typedef int_fast16_t my_int_fast16_t;
20251 my_int_fast16_t if16 = INT_FAST16_MIN;
20252 if16 = INT_FAST16_MAX;
20253 typedef int_fast32_t my_int_fast32_t;
20254 my_int_fast32_t if32 = INT_FAST32_MIN;
20255 if32 = INT_FAST32_MAX;
20256 typedef int_fast64_t my_int_fast64_t;
20257 my_int_fast64_t if64 = INT_FAST64_MIN;
20258 if64 = INT_FAST64_MAX;
20259 typedef int_least8_t my_int_least8_t;
20260 my_int_least8_t il8 = INT_LEAST8_MIN;
20261 il8 = INT_LEAST8_MAX;
20262 typedef int_least16_t my_int_least16_t;
20263 my_int_least16_t il16 = INT_LEAST16_MIN;
20264 il16 = INT_LEAST16_MAX;
20265 typedef int_least32_t my_int_least32_t;
20266 my_int_least32_t il32 = INT_LEAST32_MIN;
20267 il32 = INT_LEAST32_MAX;
20268 typedef int_least64_t my_int_least64_t;
20269 my_int_least64_t il64 = INT_LEAST64_MIN;
20270 il64 = INT_LEAST64_MAX;
20271 typedef intmax_t my_intmax_t;
20272 my_intmax_t im = INTMAX_MAX;
20273 im = INTMAX_MIN;
20274 typedef intptr_t my_intptr_t;
20275 my_intptr_t ip = INTPTR_MAX;
20276 ip = INTPTR_MIN;
20277 typedef uint8_t my_uint8_t;
20278 my_uint8_t ui8 = UINT8_MAX;
20279 ui8 = UINT8_MAX;
20280 typedef uint16_t my_uint16_t;
20281 my_uint16_t ui16 = UINT16_MAX;
20282 ui16 = UINT16_MAX;
20283 typedef uint32_t my_uint32_t;
20284 my_uint32_t ui32 = UINT32_MAX;
20285 ui32 = UINT32_MAX;
20286 typedef uint64_t my_uint64_t;
20287 my_uint64_t ui64 = UINT64_MAX;
20288 ui64 = UINT64_MAX;
20289 typedef uint_fast8_t my_uint_fast8_t;
20290 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
20291 uif8 = UINT_FAST8_MAX;
20292 typedef uint_fast16_t my_uint_fast16_t;
20293 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
20294 uif16 = UINT_FAST16_MAX;
20295 typedef uint_fast32_t my_uint_fast32_t;
20296 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
20297 uif32 = UINT_FAST32_MAX;
20298 typedef uint_fast64_t my_uint_fast64_t;
20299 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
20300 uif64 = UINT_FAST64_MAX;
20301 typedef uint_least8_t my_uint_least8_t;
20302 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
20303 uil8 = UINT_LEAST8_MAX;
20304 typedef uint_least16_t my_uint_least16_t;
20305 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
20306 uil16 = UINT_LEAST16_MAX;
20307 typedef uint_least32_t my_uint_least32_t;
20308 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
20309 uil32 = UINT_LEAST32_MAX;
20310 typedef uint_least64_t my_uint_least64_t;
20311 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
20312 uil64 = UINT_LEAST64_MAX;
20313 typedef uintmax_t my_uintmax_t;
20314 my_uintmax_t uim = UINTMAX_MAX;
20315 uim = UINTMAX_MAX;
20316 typedef uintptr_t my_uintptr_t;
20317 my_uintptr_t uip = UINTPTR_MAX;
20318 uip = UINTPTR_MAX;
20321 return 0;
20323 _ACEOF
20324 if ac_fn_cxx_try_compile "$LINENO"; then :
20325 glibcxx_cv_c99_stdint_tr1=yes
20326 else
20327 glibcxx_cv_c99_stdint_tr1=no
20329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
20334 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
20335 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20337 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
20341 # Check for the existence of <math.h> functions.
20342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
20343 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
20344 if ${glibcxx_cv_c99_math_tr1+:} false; then :
20345 $as_echo_n "(cached) " >&6
20346 else
20348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20349 /* end confdefs.h. */
20350 #include <math.h>
20352 main ()
20354 typedef double_t my_double_t;
20355 typedef float_t my_float_t;
20356 acosh(0.0);
20357 acoshf(0.0f);
20358 acoshl(0.0l);
20359 asinh(0.0);
20360 asinhf(0.0f);
20361 asinhl(0.0l);
20362 atanh(0.0);
20363 atanhf(0.0f);
20364 atanhl(0.0l);
20365 cbrt(0.0);
20366 cbrtf(0.0f);
20367 cbrtl(0.0l);
20368 copysign(0.0, 0.0);
20369 copysignf(0.0f, 0.0f);
20370 copysignl(0.0l, 0.0l);
20371 erf(0.0);
20372 erff(0.0f);
20373 erfl(0.0l);
20374 erfc(0.0);
20375 erfcf(0.0f);
20376 erfcl(0.0l);
20377 exp2(0.0);
20378 exp2f(0.0f);
20379 exp2l(0.0l);
20380 expm1(0.0);
20381 expm1f(0.0f);
20382 expm1l(0.0l);
20383 fdim(0.0, 0.0);
20384 fdimf(0.0f, 0.0f);
20385 fdiml(0.0l, 0.0l);
20386 fma(0.0, 0.0, 0.0);
20387 fmaf(0.0f, 0.0f, 0.0f);
20388 fmal(0.0l, 0.0l, 0.0l);
20389 fmax(0.0, 0.0);
20390 fmaxf(0.0f, 0.0f);
20391 fmaxl(0.0l, 0.0l);
20392 fmin(0.0, 0.0);
20393 fminf(0.0f, 0.0f);
20394 fminl(0.0l, 0.0l);
20395 hypot(0.0, 0.0);
20396 hypotf(0.0f, 0.0f);
20397 hypotl(0.0l, 0.0l);
20398 ilogb(0.0);
20399 ilogbf(0.0f);
20400 ilogbl(0.0l);
20401 lgamma(0.0);
20402 lgammaf(0.0f);
20403 lgammal(0.0l);
20404 #ifndef __APPLE__ /* see below */
20405 llrint(0.0);
20406 llrintf(0.0f);
20407 llrintl(0.0l);
20408 llround(0.0);
20409 llroundf(0.0f);
20410 llroundl(0.0l);
20411 #endif
20412 log1p(0.0);
20413 log1pf(0.0f);
20414 log1pl(0.0l);
20415 log2(0.0);
20416 log2f(0.0f);
20417 log2l(0.0l);
20418 logb(0.0);
20419 logbf(0.0f);
20420 logbl(0.0l);
20421 lrint(0.0);
20422 lrintf(0.0f);
20423 lrintl(0.0l);
20424 lround(0.0);
20425 lroundf(0.0f);
20426 lroundl(0.0l);
20427 nan(0);
20428 nanf(0);
20429 nanl(0);
20430 nearbyint(0.0);
20431 nearbyintf(0.0f);
20432 nearbyintl(0.0l);
20433 nextafter(0.0, 0.0);
20434 nextafterf(0.0f, 0.0f);
20435 nextafterl(0.0l, 0.0l);
20436 nexttoward(0.0, 0.0);
20437 nexttowardf(0.0f, 0.0f);
20438 nexttowardl(0.0l, 0.0l);
20439 remainder(0.0, 0.0);
20440 remainderf(0.0f, 0.0f);
20441 remainderl(0.0l, 0.0l);
20442 remquo(0.0, 0.0, 0);
20443 remquof(0.0f, 0.0f, 0);
20444 remquol(0.0l, 0.0l, 0);
20445 rint(0.0);
20446 rintf(0.0f);
20447 rintl(0.0l);
20448 round(0.0);
20449 roundf(0.0f);
20450 roundl(0.0l);
20451 scalbln(0.0, 0l);
20452 scalblnf(0.0f, 0l);
20453 scalblnl(0.0l, 0l);
20454 scalbn(0.0, 0);
20455 scalbnf(0.0f, 0);
20456 scalbnl(0.0l, 0);
20457 tgamma(0.0);
20458 tgammaf(0.0f);
20459 tgammal(0.0l);
20460 trunc(0.0);
20461 truncf(0.0f);
20462 truncl(0.0l);
20465 return 0;
20467 _ACEOF
20468 if ac_fn_cxx_try_compile "$LINENO"; then :
20469 glibcxx_cv_c99_math_tr1=yes
20470 else
20471 glibcxx_cv_c99_math_tr1=no
20473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20478 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20479 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20481 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20484 case "${target_os}" in
20485 darwin*)
20486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20487 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20488 if ${glibcxx_cv_c99_math_llround+:} false; then :
20489 $as_echo_n "(cached) " >&6
20490 else
20492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20493 /* end confdefs.h. */
20494 #include <math.h>
20496 main ()
20498 llrint(0.0);
20499 llrintf(0.0f);
20500 llrintl(0.0l);
20501 llround(0.0);
20502 llroundf(0.0f);
20503 llroundl(0.0l);
20506 return 0;
20508 _ACEOF
20509 if ac_fn_cxx_try_compile "$LINENO"; then :
20510 glibcxx_cv_c99_math_llround=yes
20511 else
20512 glibcxx_cv_c99_math_llround=no
20514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20519 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20521 esac
20522 if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20524 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20529 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20530 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20531 ac_c99_inttypes_tr1=no;
20532 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20534 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20536 /* end confdefs.h. */
20537 #include <inttypes.h>
20539 main ()
20541 intmax_t i, numer, denom, base;
20542 const char* s;
20543 char** endptr;
20544 intmax_t ret = imaxabs(i);
20545 imaxdiv_t dret = imaxdiv(numer, denom);
20546 ret = strtoimax(s, endptr, base);
20547 uintmax_t uret = strtoumax(s, endptr, base);
20550 return 0;
20552 _ACEOF
20553 if ac_fn_cxx_try_compile "$LINENO"; then :
20554 ac_c99_inttypes_tr1=yes
20555 else
20556 ac_c99_inttypes_tr1=no
20558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20561 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20562 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20564 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20568 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20569 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20570 ac_c99_inttypes_wchar_t_tr1=no;
20571 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20573 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20575 /* end confdefs.h. */
20576 #include <inttypes.h>
20578 main ()
20580 intmax_t base;
20581 const wchar_t* s;
20582 wchar_t** endptr;
20583 intmax_t ret = wcstoimax(s, endptr, base);
20584 uintmax_t uret = wcstoumax(s, endptr, base);
20587 return 0;
20589 _ACEOF
20590 if ac_fn_cxx_try_compile "$LINENO"; then :
20591 ac_c99_inttypes_wchar_t_tr1=yes
20592 else
20593 ac_c99_inttypes_wchar_t_tr1=no
20595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20598 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20599 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20601 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20605 # Check for the existence of the <stdbool.h> header.
20606 for ac_header in stdbool.h
20607 do :
20608 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20609 if test "x$ac_cv_header_stdbool_h" = xyes; then :
20610 cat >>confdefs.h <<_ACEOF
20611 #define HAVE_STDBOOL_H 1
20612 _ACEOF
20616 done
20619 # Check for the existence of the <stdalign.h> header.
20620 for ac_header in stdalign.h
20621 do :
20622 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20623 if test "x$ac_cv_header_stdalign_h" = xyes; then :
20624 cat >>confdefs.h <<_ACEOF
20625 #define HAVE_STDALIGN_H 1
20626 _ACEOF
20630 done
20633 CXXFLAGS="$ac_save_CXXFLAGS"
20634 ac_ext=c
20635 ac_cpp='$CPP $CPPFLAGS'
20636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20642 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20646 $as_echo_n "checking for the value of EOF... " >&6; }
20647 if ${glibcxx_cv_stdio_eof+:} false; then :
20648 $as_echo_n "(cached) " >&6
20649 else
20651 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20653 else
20654 as_fn_error $? "computing EOF failed" "$LINENO" 5
20659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20660 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20662 cat >>confdefs.h <<_ACEOF
20663 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20664 _ACEOF
20667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20668 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20669 if ${glibcxx_cv_stdio_seek_cur+:} false; then :
20670 $as_echo_n "(cached) " >&6
20671 else
20673 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20675 else
20676 as_fn_error $? "computing SEEK_CUR failed" "$LINENO" 5
20681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20682 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20684 cat >>confdefs.h <<_ACEOF
20685 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20686 _ACEOF
20689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20690 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20691 if ${glibcxx_cv_stdio_seek_end+:} false; then :
20692 $as_echo_n "(cached) " >&6
20693 else
20695 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20697 else
20698 as_fn_error $? "computing SEEK_END failed" "$LINENO" 5
20703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20704 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20706 cat >>confdefs.h <<_ACEOF
20707 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20708 _ACEOF
20712 # For gettimeofday support.
20715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20716 $as_echo_n "checking for gettimeofday... " >&6; }
20719 ac_ext=cpp
20720 ac_cpp='$CXXCPP $CPPFLAGS'
20721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20725 ac_save_CXXFLAGS="$CXXFLAGS"
20726 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20728 ac_has_gettimeofday=no;
20729 for ac_header in sys/time.h
20730 do :
20731 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20732 if test "x$ac_cv_header_sys_time_h" = xyes; then :
20733 cat >>confdefs.h <<_ACEOF
20734 #define HAVE_SYS_TIME_H 1
20735 _ACEOF
20736 ac_has_sys_time_h=yes
20737 else
20738 ac_has_sys_time_h=no
20741 done
20743 if test x"$ac_has_sys_time_h" = x"yes"; then
20744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20745 $as_echo_n "checking for gettimeofday... " >&6; }
20746 if test x$gcc_no_link = xyes; then
20747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20748 /* end confdefs.h. */
20749 #include <sys/time.h>
20751 main ()
20753 timeval tv; gettimeofday(&tv, 0);
20755 return 0;
20757 _ACEOF
20758 if ac_fn_cxx_try_compile "$LINENO"; then :
20759 ac_has_gettimeofday=yes
20760 else
20761 ac_has_gettimeofday=no
20763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20764 else
20765 if test x$gcc_no_link = xyes; then
20766 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20769 /* end confdefs.h. */
20770 #include <sys/time.h>
20772 main ()
20774 timeval tv; gettimeofday(&tv, 0);
20776 return 0;
20778 _ACEOF
20779 if ac_fn_cxx_try_link "$LINENO"; then :
20780 ac_has_gettimeofday=yes
20781 else
20782 ac_has_gettimeofday=no
20784 rm -f core conftest.err conftest.$ac_objext \
20785 conftest$ac_exeext conftest.$ac_ext
20788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20789 $as_echo "$ac_has_gettimeofday" >&6; }
20792 if test x"$ac_has_gettimeofday" = x"yes"; then
20794 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20798 CXXFLAGS="$ac_save_CXXFLAGS"
20799 ac_ext=c
20800 ac_cpp='$CPP $CPPFLAGS'
20801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20807 # For clock_gettime, nanosleep and sched_yield support.
20810 # Check whether --enable-libstdcxx-time was given.
20811 if test "${enable_libstdcxx_time+set}" = set; then :
20812 enableval=$enable_libstdcxx_time;
20813 case "$enableval" in
20814 yes|no|rt) ;;
20815 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20816 esac
20818 else
20819 enable_libstdcxx_time=auto
20825 ac_ext=cpp
20826 ac_cpp='$CXXCPP $CPPFLAGS'
20827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20831 ac_save_CXXFLAGS="$CXXFLAGS"
20832 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20833 ac_save_LIBS="$LIBS"
20835 ac_has_clock_monotonic=no
20836 ac_has_clock_realtime=no
20837 ac_has_nanosleep=no
20838 ac_has_sched_yield=no
20840 if test x"$enable_libstdcxx_time" = x"auto"; then
20842 case "${target_os}" in
20843 cygwin*)
20844 ac_has_nanosleep=yes
20846 darwin*)
20847 ac_has_nanosleep=yes
20848 ac_has_sched_yield=yes
20850 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
20852 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
20853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20854 /* end confdefs.h. */
20855 #include <features.h>
20857 main ()
20860 #if ! __GLIBC_PREREQ(2, 17)
20861 #error
20862 #endif
20865 return 0;
20867 _ACEOF
20868 if ac_fn_cxx_try_compile "$LINENO"; then :
20869 glibcxx_glibc217=yes
20870 else
20871 glibcxx_glibc217=no
20873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
20875 $as_echo "$glibcxx_glibc217" >&6; }
20877 if test x"$glibcxx_glibc217" = x"yes"; then
20878 ac_has_clock_monotonic=yes
20879 ac_has_clock_realtime=yes
20881 ac_has_nanosleep=yes
20882 ac_has_sched_yield=yes
20884 freebsd*|netbsd*|dragonfly*|rtems*)
20885 ac_has_clock_monotonic=yes
20886 ac_has_clock_realtime=yes
20887 ac_has_nanosleep=yes
20888 ac_has_sched_yield=yes
20890 openbsd*)
20891 ac_has_clock_monotonic=yes
20892 ac_has_clock_realtime=yes
20893 ac_has_nanosleep=yes
20895 solaris*)
20896 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
20897 ac_has_clock_monotonic=yes
20898 ac_has_clock_realtime=yes
20899 ac_has_nanosleep=yes
20900 ac_has_sched_yield=yes
20902 esac
20904 elif test x"$enable_libstdcxx_time" != x"no"; then
20906 if test x"$enable_libstdcxx_time" = x"rt"; then
20907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20908 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20909 if ${ac_cv_search_clock_gettime+:} false; then :
20910 $as_echo_n "(cached) " >&6
20911 else
20912 ac_func_search_save_LIBS=$LIBS
20913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20914 /* end confdefs.h. */
20916 /* Override any GCC internal prototype to avoid an error.
20917 Use char because int might match the return type of a GCC
20918 builtin and then its argument prototype would still apply. */
20919 #ifdef __cplusplus
20920 extern "C"
20921 #endif
20922 char clock_gettime ();
20924 main ()
20926 return clock_gettime ();
20928 return 0;
20930 _ACEOF
20931 for ac_lib in '' rt posix4; do
20932 if test -z "$ac_lib"; then
20933 ac_res="none required"
20934 else
20935 ac_res=-l$ac_lib
20936 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20938 if test x$gcc_no_link = xyes; then
20939 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20941 if ac_fn_cxx_try_link "$LINENO"; then :
20942 ac_cv_search_clock_gettime=$ac_res
20944 rm -f core conftest.err conftest.$ac_objext \
20945 conftest$ac_exeext
20946 if ${ac_cv_search_clock_gettime+:} false; then :
20947 break
20949 done
20950 if ${ac_cv_search_clock_gettime+:} false; then :
20952 else
20953 ac_cv_search_clock_gettime=no
20955 rm conftest.$ac_ext
20956 LIBS=$ac_func_search_save_LIBS
20958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20959 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20960 ac_res=$ac_cv_search_clock_gettime
20961 if test "$ac_res" != no; then :
20962 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20967 $as_echo_n "checking for library containing nanosleep... " >&6; }
20968 if ${ac_cv_search_nanosleep+:} false; then :
20969 $as_echo_n "(cached) " >&6
20970 else
20971 ac_func_search_save_LIBS=$LIBS
20972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20973 /* end confdefs.h. */
20975 /* Override any GCC internal prototype to avoid an error.
20976 Use char because int might match the return type of a GCC
20977 builtin and then its argument prototype would still apply. */
20978 #ifdef __cplusplus
20979 extern "C"
20980 #endif
20981 char nanosleep ();
20983 main ()
20985 return nanosleep ();
20987 return 0;
20989 _ACEOF
20990 for ac_lib in '' rt posix4; do
20991 if test -z "$ac_lib"; then
20992 ac_res="none required"
20993 else
20994 ac_res=-l$ac_lib
20995 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20997 if test x$gcc_no_link = xyes; then
20998 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21000 if ac_fn_cxx_try_link "$LINENO"; then :
21001 ac_cv_search_nanosleep=$ac_res
21003 rm -f core conftest.err conftest.$ac_objext \
21004 conftest$ac_exeext
21005 if ${ac_cv_search_nanosleep+:} false; then :
21006 break
21008 done
21009 if ${ac_cv_search_nanosleep+:} false; then :
21011 else
21012 ac_cv_search_nanosleep=no
21014 rm conftest.$ac_ext
21015 LIBS=$ac_func_search_save_LIBS
21017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
21018 $as_echo "$ac_cv_search_nanosleep" >&6; }
21019 ac_res=$ac_cv_search_nanosleep
21020 if test "$ac_res" != no; then :
21021 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21025 else
21026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
21027 $as_echo_n "checking for library containing clock_gettime... " >&6; }
21028 if ${ac_cv_search_clock_gettime+:} false; then :
21029 $as_echo_n "(cached) " >&6
21030 else
21031 ac_func_search_save_LIBS=$LIBS
21032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21033 /* end confdefs.h. */
21035 /* Override any GCC internal prototype to avoid an error.
21036 Use char because int might match the return type of a GCC
21037 builtin and then its argument prototype would still apply. */
21038 #ifdef __cplusplus
21039 extern "C"
21040 #endif
21041 char clock_gettime ();
21043 main ()
21045 return clock_gettime ();
21047 return 0;
21049 _ACEOF
21050 for ac_lib in '' posix4; do
21051 if test -z "$ac_lib"; then
21052 ac_res="none required"
21053 else
21054 ac_res=-l$ac_lib
21055 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21057 if test x$gcc_no_link = xyes; then
21058 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21060 if ac_fn_cxx_try_link "$LINENO"; then :
21061 ac_cv_search_clock_gettime=$ac_res
21063 rm -f core conftest.err conftest.$ac_objext \
21064 conftest$ac_exeext
21065 if ${ac_cv_search_clock_gettime+:} false; then :
21066 break
21068 done
21069 if ${ac_cv_search_clock_gettime+:} false; then :
21071 else
21072 ac_cv_search_clock_gettime=no
21074 rm conftest.$ac_ext
21075 LIBS=$ac_func_search_save_LIBS
21077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
21078 $as_echo "$ac_cv_search_clock_gettime" >&6; }
21079 ac_res=$ac_cv_search_clock_gettime
21080 if test "$ac_res" != no; then :
21081 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
21086 $as_echo_n "checking for library containing nanosleep... " >&6; }
21087 if ${ac_cv_search_nanosleep+:} false; then :
21088 $as_echo_n "(cached) " >&6
21089 else
21090 ac_func_search_save_LIBS=$LIBS
21091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21092 /* end confdefs.h. */
21094 /* Override any GCC internal prototype to avoid an error.
21095 Use char because int might match the return type of a GCC
21096 builtin and then its argument prototype would still apply. */
21097 #ifdef __cplusplus
21098 extern "C"
21099 #endif
21100 char nanosleep ();
21102 main ()
21104 return nanosleep ();
21106 return 0;
21108 _ACEOF
21109 for ac_lib in '' posix4; do
21110 if test -z "$ac_lib"; then
21111 ac_res="none required"
21112 else
21113 ac_res=-l$ac_lib
21114 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21116 if test x$gcc_no_link = xyes; then
21117 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21119 if ac_fn_cxx_try_link "$LINENO"; then :
21120 ac_cv_search_nanosleep=$ac_res
21122 rm -f core conftest.err conftest.$ac_objext \
21123 conftest$ac_exeext
21124 if ${ac_cv_search_nanosleep+:} false; then :
21125 break
21127 done
21128 if ${ac_cv_search_nanosleep+:} false; then :
21130 else
21131 ac_cv_search_nanosleep=no
21133 rm conftest.$ac_ext
21134 LIBS=$ac_func_search_save_LIBS
21136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
21137 $as_echo "$ac_cv_search_nanosleep" >&6; }
21138 ac_res=$ac_cv_search_nanosleep
21139 if test "$ac_res" != no; then :
21140 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21146 case "$ac_cv_search_clock_gettime" in
21147 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
21149 esac
21150 case "$ac_cv_search_nanosleep" in
21151 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
21153 esac
21155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
21156 $as_echo_n "checking for library containing sched_yield... " >&6; }
21157 if ${ac_cv_search_sched_yield+:} false; then :
21158 $as_echo_n "(cached) " >&6
21159 else
21160 ac_func_search_save_LIBS=$LIBS
21161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21162 /* end confdefs.h. */
21164 /* Override any GCC internal prototype to avoid an error.
21165 Use char because int might match the return type of a GCC
21166 builtin and then its argument prototype would still apply. */
21167 #ifdef __cplusplus
21168 extern "C"
21169 #endif
21170 char sched_yield ();
21172 main ()
21174 return sched_yield ();
21176 return 0;
21178 _ACEOF
21179 for ac_lib in '' rt posix4; do
21180 if test -z "$ac_lib"; then
21181 ac_res="none required"
21182 else
21183 ac_res=-l$ac_lib
21184 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21186 if test x$gcc_no_link = xyes; then
21187 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21189 if ac_fn_cxx_try_link "$LINENO"; then :
21190 ac_cv_search_sched_yield=$ac_res
21192 rm -f core conftest.err conftest.$ac_objext \
21193 conftest$ac_exeext
21194 if ${ac_cv_search_sched_yield+:} false; then :
21195 break
21197 done
21198 if ${ac_cv_search_sched_yield+:} false; then :
21200 else
21201 ac_cv_search_sched_yield=no
21203 rm conftest.$ac_ext
21204 LIBS=$ac_func_search_save_LIBS
21206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
21207 $as_echo "$ac_cv_search_sched_yield" >&6; }
21208 ac_res=$ac_cv_search_sched_yield
21209 if test "$ac_res" != no; then :
21210 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21215 case "$ac_cv_search_sched_yield" in
21216 -lposix4*)
21217 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
21218 ac_has_sched_yield=yes
21220 -lrt*)
21221 if test x"$enable_libstdcxx_time" = x"rt"; then
21222 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
21223 ac_has_sched_yield=yes
21227 ac_has_sched_yield=yes
21229 esac
21231 for ac_header in unistd.h
21232 do :
21233 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21234 if test "x$ac_cv_header_unistd_h" = xyes; then :
21235 cat >>confdefs.h <<_ACEOF
21236 #define HAVE_UNISTD_H 1
21237 _ACEOF
21238 ac_has_unistd_h=yes
21239 else
21240 ac_has_unistd_h=no
21243 done
21246 if test x"$ac_has_unistd_h" = x"yes"; then
21247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
21248 $as_echo_n "checking for monotonic clock... " >&6; }
21249 if test x$gcc_no_link = xyes; then
21250 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21253 /* end confdefs.h. */
21254 #include <unistd.h>
21255 #include <time.h>
21258 main ()
21260 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21261 timespec tp;
21262 #endif
21263 clock_gettime(CLOCK_MONOTONIC, &tp);
21266 return 0;
21268 _ACEOF
21269 if ac_fn_cxx_try_link "$LINENO"; then :
21270 ac_has_clock_monotonic=yes
21271 else
21272 ac_has_clock_monotonic=no
21274 rm -f core conftest.err conftest.$ac_objext \
21275 conftest$ac_exeext conftest.$ac_ext
21277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
21278 $as_echo "$ac_has_clock_monotonic" >&6; }
21280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
21281 $as_echo_n "checking for realtime clock... " >&6; }
21282 if test x$gcc_no_link = xyes; then
21283 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21286 /* end confdefs.h. */
21287 #include <unistd.h>
21288 #include <time.h>
21291 main ()
21293 #if _POSIX_TIMERS > 0
21294 timespec tp;
21295 #endif
21296 clock_gettime(CLOCK_REALTIME, &tp);
21299 return 0;
21301 _ACEOF
21302 if ac_fn_cxx_try_link "$LINENO"; then :
21303 ac_has_clock_realtime=yes
21304 else
21305 ac_has_clock_realtime=no
21307 rm -f core conftest.err conftest.$ac_objext \
21308 conftest$ac_exeext conftest.$ac_ext
21310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
21311 $as_echo "$ac_has_clock_realtime" >&6; }
21313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
21314 $as_echo_n "checking for nanosleep... " >&6; }
21315 if test x$gcc_no_link = xyes; then
21316 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21319 /* end confdefs.h. */
21320 #include <unistd.h>
21321 #include <time.h>
21324 main ()
21326 #if _POSIX_TIMERS > 0
21327 timespec tp;
21328 #endif
21329 nanosleep(&tp, 0);
21332 return 0;
21334 _ACEOF
21335 if ac_fn_cxx_try_link "$LINENO"; then :
21336 ac_has_nanosleep=yes
21337 else
21338 ac_has_nanosleep=no
21340 rm -f core conftest.err conftest.$ac_objext \
21341 conftest$ac_exeext conftest.$ac_ext
21343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
21344 $as_echo "$ac_has_nanosleep" >&6; }
21348 if test x"$ac_has_clock_monotonic" != x"yes"; then
21349 case ${target_os} in
21350 linux*)
21351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
21352 $as_echo_n "checking for clock_gettime syscall... " >&6; }
21353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21354 /* end confdefs.h. */
21355 #include <unistd.h>
21356 #include <time.h>
21357 #include <sys/syscall.h>
21360 main ()
21362 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21363 timespec tp;
21364 #endif
21365 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
21366 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
21369 return 0;
21371 _ACEOF
21372 if ac_fn_cxx_try_compile "$LINENO"; then :
21373 ac_has_clock_monotonic_syscall=yes
21374 else
21375 ac_has_clock_monotonic_syscall=no
21377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
21379 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
21380 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
21382 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
21384 ac_has_clock_monotonic=yes
21385 ac_has_clock_realtime=yes
21386 fi;;
21387 esac
21390 if test x"$ac_has_clock_monotonic" = x"yes"; then
21392 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21396 if test x"$ac_has_clock_realtime" = x"yes"; then
21398 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21402 if test x"$ac_has_sched_yield" = x"yes"; then
21404 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21408 if test x"$ac_has_nanosleep" = x"yes"; then
21410 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21412 else
21413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21414 $as_echo_n "checking for sleep... " >&6; }
21415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21416 /* end confdefs.h. */
21417 #include <unistd.h>
21419 main ()
21421 sleep(1)
21423 return 0;
21425 _ACEOF
21426 if ac_fn_cxx_try_compile "$LINENO"; then :
21427 ac_has_sleep=yes
21428 else
21429 ac_has_sleep=no
21431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21432 if test x"$ac_has_sleep" = x"yes"; then
21434 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21438 $as_echo "$ac_has_sleep" >&6; }
21439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21440 $as_echo_n "checking for usleep... " >&6; }
21441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21442 /* end confdefs.h. */
21443 #include <unistd.h>
21445 main ()
21447 sleep(1);
21448 usleep(100);
21450 return 0;
21452 _ACEOF
21453 if ac_fn_cxx_try_compile "$LINENO"; then :
21454 ac_has_usleep=yes
21455 else
21456 ac_has_usleep=no
21458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21459 if test x"$ac_has_usleep" = x"yes"; then
21461 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21465 $as_echo "$ac_has_usleep" >&6; }
21468 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21470 $as_echo_n "checking for Sleep... " >&6; }
21471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21472 /* end confdefs.h. */
21473 #include <windows.h>
21475 main ()
21477 Sleep(1)
21479 return 0;
21481 _ACEOF
21482 if ac_fn_cxx_try_compile "$LINENO"; then :
21483 ac_has_win32_sleep=yes
21484 else
21485 ac_has_win32_sleep=no
21487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21488 if test x"$ac_has_win32_sleep" = x"yes"; then
21490 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21494 $as_echo "$ac_has_win32_sleep" >&6; }
21499 CXXFLAGS="$ac_save_CXXFLAGS"
21500 LIBS="$ac_save_LIBS"
21501 ac_ext=c
21502 ac_cpp='$CPP $CPPFLAGS'
21503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21509 # Check for tmpnam which is obsolescent in POSIX.1-2008
21511 ac_ext=cpp
21512 ac_cpp='$CXXCPP $CPPFLAGS'
21513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21517 ac_save_CXXFLAGS="$CXXFLAGS"
21518 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21520 $as_echo_n "checking for tmpnam... " >&6; }
21521 if ${glibcxx_cv_TMPNAM+:} false; then :
21522 $as_echo_n "(cached) " >&6
21523 else
21524 if test x$gcc_no_link = xyes; then
21525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21526 /* end confdefs.h. */
21527 #include <stdio.h>
21529 main ()
21531 char *tmp = tmpnam(NULL);
21533 return 0;
21535 _ACEOF
21536 if ac_fn_cxx_try_compile "$LINENO"; then :
21537 glibcxx_cv_TMPNAM=yes
21538 else
21539 glibcxx_cv_TMPNAM=no
21541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21542 else
21543 if test x$gcc_no_link = xyes; then
21544 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21547 /* end confdefs.h. */
21548 #include <stdio.h>
21550 main ()
21552 char *tmp = tmpnam(NULL);
21554 return 0;
21556 _ACEOF
21557 if ac_fn_cxx_try_link "$LINENO"; then :
21558 glibcxx_cv_TMPNAM=yes
21559 else
21560 glibcxx_cv_TMPNAM=no
21562 rm -f core conftest.err conftest.$ac_objext \
21563 conftest$ac_exeext conftest.$ac_ext
21568 if test $glibcxx_cv_TMPNAM = yes; then
21570 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21574 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21575 CXXFLAGS="$ac_save_CXXFLAGS"
21576 ac_ext=c
21577 ac_cpp='$CPP $CPPFLAGS'
21578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21584 # For pthread_cond_clockwait
21588 ac_ext=cpp
21589 ac_cpp='$CXXCPP $CPPFLAGS'
21590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21594 ac_save_CXXFLAGS="$CXXFLAGS"
21595 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21596 ac_save_LIBS="$LIBS"
21597 LIBS="$LIBS -lpthread"
21599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_clockwait" >&5
21600 $as_echo_n "checking for pthread_cond_clockwait... " >&6; }
21601 if ${glibcxx_cv_PTHREAD_COND_CLOCKWAIT+:} false; then :
21602 $as_echo_n "(cached) " >&6
21603 else
21605 if test x$gcc_no_link = xyes; then
21606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21607 /* end confdefs.h. */
21608 #include <pthread.h>
21610 main ()
21612 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21614 return 0;
21616 _ACEOF
21617 if ac_fn_cxx_try_compile "$LINENO"; then :
21618 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21619 else
21620 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21623 else
21624 if test x$gcc_no_link = xyes; then
21625 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21628 /* end confdefs.h. */
21629 #include <pthread.h>
21631 main ()
21633 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21635 return 0;
21637 _ACEOF
21638 if ac_fn_cxx_try_link "$LINENO"; then :
21639 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21640 else
21641 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21643 rm -f core conftest.err conftest.$ac_objext \
21644 conftest$ac_exeext conftest.$ac_ext
21649 if test $glibcxx_cv_PTHREAD_COND_CLOCKWAIT = yes; then
21651 $as_echo "#define _GLIBCXX_USE_PTHREAD_COND_CLOCKWAIT 1" >>confdefs.h
21654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&5
21655 $as_echo "$glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&6; }
21657 CXXFLAGS="$ac_save_CXXFLAGS"
21658 LIBS="$ac_save_LIBS"
21659 ac_ext=c
21660 ac_cpp='$CPP $CPPFLAGS'
21661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21668 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21669 if test "x$ac_cv_header_locale_h" = xyes; then :
21671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21672 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21673 if ${ac_cv_val_LC_MESSAGES+:} false; then :
21674 $as_echo_n "(cached) " >&6
21675 else
21676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21677 /* end confdefs.h. */
21678 #include <locale.h>
21680 main ()
21682 return LC_MESSAGES
21684 return 0;
21686 _ACEOF
21687 if ac_fn_c_try_compile "$LINENO"; then :
21688 ac_cv_val_LC_MESSAGES=yes
21689 else
21690 ac_cv_val_LC_MESSAGES=no
21692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21695 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21696 if test $ac_cv_val_LC_MESSAGES = yes; then
21698 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21707 # For hardware_concurrency
21708 for ac_header in sys/sysinfo.h
21709 do :
21710 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21711 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
21712 cat >>confdefs.h <<_ACEOF
21713 #define HAVE_SYS_SYSINFO_H 1
21714 _ACEOF
21718 done
21723 ac_ext=cpp
21724 ac_cpp='$CXXCPP $CPPFLAGS'
21725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21729 ac_save_CXXFLAGS="$CXXFLAGS"
21730 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21733 $as_echo_n "checking for get_nprocs... " >&6; }
21734 if ${glibcxx_cv_GET_NPROCS+:} false; then :
21735 $as_echo_n "(cached) " >&6
21736 else
21738 if test x$gcc_no_link = xyes; then
21739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21740 /* end confdefs.h. */
21741 #include <sys/sysinfo.h>
21743 main ()
21745 int n = get_nprocs();
21747 return 0;
21749 _ACEOF
21750 if ac_fn_cxx_try_compile "$LINENO"; then :
21751 glibcxx_cv_GET_NPROCS=yes
21752 else
21753 glibcxx_cv_GET_NPROCS=no
21755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21756 else
21757 if test x$gcc_no_link = xyes; then
21758 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21761 /* end confdefs.h. */
21762 #include <sys/sysinfo.h>
21764 main ()
21766 int n = get_nprocs();
21768 return 0;
21770 _ACEOF
21771 if ac_fn_cxx_try_link "$LINENO"; then :
21772 glibcxx_cv_GET_NPROCS=yes
21773 else
21774 glibcxx_cv_GET_NPROCS=no
21776 rm -f core conftest.err conftest.$ac_objext \
21777 conftest$ac_exeext conftest.$ac_ext
21782 if test $glibcxx_cv_GET_NPROCS = yes; then
21784 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21788 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21790 CXXFLAGS="$ac_save_CXXFLAGS"
21791 ac_ext=c
21792 ac_cpp='$CPP $CPPFLAGS'
21793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21798 for ac_header in unistd.h
21799 do :
21800 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21801 if test "x$ac_cv_header_unistd_h" = xyes; then :
21802 cat >>confdefs.h <<_ACEOF
21803 #define HAVE_UNISTD_H 1
21804 _ACEOF
21808 done
21813 ac_ext=cpp
21814 ac_cpp='$CXXCPP $CPPFLAGS'
21815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21819 ac_save_CXXFLAGS="$CXXFLAGS"
21820 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21823 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21824 if ${glibcxx_cv_SC_NPROCESSORS_ONLN+:} false; then :
21825 $as_echo_n "(cached) " >&6
21826 else
21828 if test x$gcc_no_link = xyes; then
21829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21830 /* end confdefs.h. */
21831 #include <unistd.h>
21833 main ()
21835 int n = sysconf(_SC_NPROCESSORS_ONLN);
21837 return 0;
21839 _ACEOF
21840 if ac_fn_cxx_try_compile "$LINENO"; then :
21841 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21842 else
21843 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21846 else
21847 if test x$gcc_no_link = xyes; then
21848 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21851 /* end confdefs.h. */
21852 #include <unistd.h>
21854 main ()
21856 int n = sysconf(_SC_NPROCESSORS_ONLN);
21858 return 0;
21860 _ACEOF
21861 if ac_fn_cxx_try_link "$LINENO"; then :
21862 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21863 else
21864 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21866 rm -f core conftest.err conftest.$ac_objext \
21867 conftest$ac_exeext conftest.$ac_ext
21872 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21874 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21878 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21880 CXXFLAGS="$ac_save_CXXFLAGS"
21881 ac_ext=c
21882 ac_cpp='$CPP $CPPFLAGS'
21883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21891 ac_ext=cpp
21892 ac_cpp='$CXXCPP $CPPFLAGS'
21893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21897 ac_save_CXXFLAGS="$CXXFLAGS"
21898 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21901 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21902 if ${glibcxx_cv_SC_NPROC_ONLN+:} false; then :
21903 $as_echo_n "(cached) " >&6
21904 else
21906 if test x$gcc_no_link = xyes; then
21907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21908 /* end confdefs.h. */
21909 #include <unistd.h>
21911 main ()
21913 int n = sysconf(_SC_NPROC_ONLN);
21915 return 0;
21917 _ACEOF
21918 if ac_fn_cxx_try_compile "$LINENO"; then :
21919 glibcxx_cv_SC_NPROC_ONLN=yes
21920 else
21921 glibcxx_cv_SC_NPROC_ONLN=no
21923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21924 else
21925 if test x$gcc_no_link = xyes; then
21926 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21929 /* end confdefs.h. */
21930 #include <unistd.h>
21932 main ()
21934 int n = sysconf(_SC_NPROC_ONLN);
21936 return 0;
21938 _ACEOF
21939 if ac_fn_cxx_try_link "$LINENO"; then :
21940 glibcxx_cv_SC_NPROC_ONLN=yes
21941 else
21942 glibcxx_cv_SC_NPROC_ONLN=no
21944 rm -f core conftest.err conftest.$ac_objext \
21945 conftest$ac_exeext conftest.$ac_ext
21950 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21952 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21956 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21958 CXXFLAGS="$ac_save_CXXFLAGS"
21959 ac_ext=c
21960 ac_cpp='$CPP $CPPFLAGS'
21961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21969 ac_ext=cpp
21970 ac_cpp='$CXXCPP $CPPFLAGS'
21971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21975 ac_save_CXXFLAGS="$CXXFLAGS"
21976 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21979 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21980 if ${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+:} false; then :
21981 $as_echo_n "(cached) " >&6
21982 else
21984 if test x$gcc_no_link = xyes; then
21985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21986 /* end confdefs.h. */
21987 #include <pthread.h>
21989 main ()
21991 int n = pthread_num_processors_np();
21993 return 0;
21995 _ACEOF
21996 if ac_fn_cxx_try_compile "$LINENO"; then :
21997 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21998 else
21999 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
22001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22002 else
22003 if test x$gcc_no_link = xyes; then
22004 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22007 /* end confdefs.h. */
22008 #include <pthread.h>
22010 main ()
22012 int n = pthread_num_processors_np();
22014 return 0;
22016 _ACEOF
22017 if ac_fn_cxx_try_link "$LINENO"; then :
22018 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
22019 else
22020 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
22022 rm -f core conftest.err conftest.$ac_objext \
22023 conftest$ac_exeext conftest.$ac_ext
22028 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
22030 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
22033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
22034 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
22036 CXXFLAGS="$ac_save_CXXFLAGS"
22037 ac_ext=c
22038 ac_cpp='$CPP $CPPFLAGS'
22039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22047 ac_ext=cpp
22048 ac_cpp='$CXXCPP $CPPFLAGS'
22049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22053 ac_save_CXXFLAGS="$CXXFLAGS"
22054 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
22057 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
22058 if ${glibcxx_cv_SYSCTL_HW_NCPU+:} 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. */
22066 #include <stddef.h>
22067 #include <sys/sysctl.h>
22070 main ()
22073 int count;
22074 size_t size = sizeof(count);
22075 int mib[] = { CTL_HW, HW_NCPU };
22076 sysctl(mib, 2, &count, &size, NULL, 0);
22079 return 0;
22081 _ACEOF
22082 if ac_fn_cxx_try_compile "$LINENO"; then :
22083 glibcxx_cv_SYSCTL_HW_NCPU=yes
22084 else
22085 glibcxx_cv_SYSCTL_HW_NCPU=no
22087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22088 else
22089 if test x$gcc_no_link = xyes; then
22090 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22093 /* end confdefs.h. */
22095 #include <stddef.h>
22096 #include <sys/sysctl.h>
22099 main ()
22102 int count;
22103 size_t size = sizeof(count);
22104 int mib[] = { CTL_HW, HW_NCPU };
22105 sysctl(mib, 2, &count, &size, NULL, 0);
22108 return 0;
22110 _ACEOF
22111 if ac_fn_cxx_try_link "$LINENO"; then :
22112 glibcxx_cv_SYSCTL_HW_NCPU=yes
22113 else
22114 glibcxx_cv_SYSCTL_HW_NCPU=no
22116 rm -f core conftest.err conftest.$ac_objext \
22117 conftest$ac_exeext conftest.$ac_ext
22122 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
22124 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
22127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
22128 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
22130 CXXFLAGS="$ac_save_CXXFLAGS"
22131 ac_ext=c
22132 ac_cpp='$CPP $CPPFLAGS'
22133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
22140 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
22141 # Note that this test has to be run with the C language.
22142 # Otherwise, sdt.h will try to include some headers from
22143 # libstdc++ itself.
22145 ac_ext=c
22146 ac_cpp='$CPP $CPPFLAGS'
22147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22151 if ${glibcxx_cv_sys_sdt_h+:} false; then :
22152 $as_echo_n "(cached) " >&6
22153 else
22155 # Because we have to run the test in C, we use grep rather
22156 # than the compiler to check for the bug. The bug is that
22157 # were strings without trailing whitespace, causing g++
22158 # to look for operator"". The pattern searches for the fixed
22159 # output.
22160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22161 /* end confdefs.h. */
22163 #include <sys/sdt.h>
22164 int f() { STAP_PROBE(hi, bob); }
22166 _ACEOF
22167 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22168 $EGREP " \",\" " >/dev/null 2>&1; then :
22169 glibcxx_cv_sys_sdt_h=yes
22170 else
22171 glibcxx_cv_sys_sdt_h=no
22173 rm -f conftest*
22178 ac_ext=c
22179 ac_cpp='$CPP $CPPFLAGS'
22180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22184 if test $glibcxx_cv_sys_sdt_h = yes; then
22186 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
22189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
22190 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
22193 # Check for available headers.
22194 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
22195 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
22196 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
22197 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
22198 wchar.h wctype.h linux/types.h
22199 do :
22200 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22201 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
22202 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
22203 cat >>confdefs.h <<_ACEOF
22204 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22205 _ACEOF
22209 done
22212 for ac_header in linux/random.h
22213 do :
22214 ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
22215 # include <linux/types.h>
22216 #endif
22219 if test "x$ac_cv_header_linux_random_h" = xyes; then :
22220 cat >>confdefs.h <<_ACEOF
22221 #define HAVE_LINUX_RANDOM_H 1
22222 _ACEOF
22226 done
22229 # Only do link tests if native. Else, hardcode.
22230 if $GLIBCXX_IS_NATIVE; then
22232 # We can do more elaborate tests that assume a working linker.
22233 CANADIAN=no
22237 # Check whether --with-gnu-ld was given.
22238 if test "${with_gnu_ld+set}" = set; then :
22239 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
22240 else
22241 with_gnu_ld=no
22244 ac_prog=ld
22245 if test "$GCC" = yes; then
22246 # Check if gcc -print-prog-name=ld gives a path.
22247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
22248 $as_echo_n "checking for ld used by $CC... " >&6; }
22249 case $host in
22250 *-*-mingw*)
22251 # gcc leaves a trailing carriage return which upsets mingw
22252 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
22254 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
22255 esac
22256 case $ac_prog in
22257 # Accept absolute paths.
22258 [\\/]* | ?:[\\/]*)
22259 re_direlt='/[^/][^/]*/\.\./'
22260 # Canonicalize the pathname of ld
22261 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
22262 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
22263 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
22264 done
22265 test -z "$LD" && LD="$ac_prog"
22268 # If it fails, then pretend we aren't using GCC.
22269 ac_prog=ld
22272 # If it is relative, then search for the first ld in PATH.
22273 with_gnu_ld=unknown
22275 esac
22276 elif test "$with_gnu_ld" = yes; then
22277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
22278 $as_echo_n "checking for GNU ld... " >&6; }
22279 else
22280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
22281 $as_echo_n "checking for non-GNU ld... " >&6; }
22283 if ${lt_cv_path_LD+:} false; then :
22284 $as_echo_n "(cached) " >&6
22285 else
22286 if test -z "$LD"; then
22287 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
22288 for ac_dir in $PATH; do
22289 IFS="$lt_save_ifs"
22290 test -z "$ac_dir" && ac_dir=.
22291 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
22292 lt_cv_path_LD="$ac_dir/$ac_prog"
22293 # Check to see if the program is GNU ld. I'd rather use --version,
22294 # but apparently some variants of GNU ld only accept -v.
22295 # Break only if it was the GNU/non-GNU ld that we prefer.
22296 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
22297 *GNU* | *'with BFD'*)
22298 test "$with_gnu_ld" != no && break
22301 test "$with_gnu_ld" != yes && break
22303 esac
22305 done
22306 IFS="$lt_save_ifs"
22307 else
22308 lt_cv_path_LD="$LD" # Let the user override the test with a path.
22312 LD="$lt_cv_path_LD"
22313 if test -n "$LD"; then
22314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
22315 $as_echo "$LD" >&6; }
22316 else
22317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22318 $as_echo "no" >&6; }
22320 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
22321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
22322 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
22323 if ${lt_cv_prog_gnu_ld+:} false; then :
22324 $as_echo_n "(cached) " >&6
22325 else
22326 # I'd rather use --version here, but apparently some GNU lds only accept -v.
22327 case `$LD -v 2>&1 </dev/null` in
22328 *GNU* | *'with BFD'*)
22329 lt_cv_prog_gnu_ld=yes
22332 lt_cv_prog_gnu_ld=no
22334 esac
22336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
22337 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
22338 with_gnu_ld=$lt_cv_prog_gnu_ld
22346 # If we're not using GNU ld, then there's no point in even trying these
22347 # tests. Check for that first. We should have already tested for gld
22348 # by now (in libtool), but require it now just to be safe...
22349 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
22350 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
22354 # The name set by libtool depends on the version of libtool. Shame on us
22355 # for depending on an impl detail, but c'est la vie. Older versions used
22356 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
22357 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
22358 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
22359 # set (hence we're using an older libtool), then set it.
22360 if test x${with_gnu_ld+set} != xset; then
22361 if test x${ac_cv_prog_gnu_ld+set} != xset; then
22362 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
22363 with_gnu_ld=no
22364 else
22365 with_gnu_ld=$ac_cv_prog_gnu_ld
22369 # Start by getting the version number. I think the libtool test already
22370 # does some of this, but throws away the result.
22371 glibcxx_ld_is_gold=no
22372 if test x"$with_gnu_ld" = x"yes"; then
22373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
22374 $as_echo_n "checking for ld version... " >&6; }
22376 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
22377 glibcxx_ld_is_gold=yes
22379 ldver=`$LD --version 2>/dev/null |
22380 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
22382 glibcxx_gnu_ld_version=`echo $ldver | \
22383 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
22384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
22385 $as_echo "$glibcxx_gnu_ld_version" >&6; }
22388 # Set --gc-sections.
22389 glibcxx_have_gc_sections=no
22390 if test "$glibcxx_ld_is_gold" = "yes"; then
22391 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
22392 glibcxx_have_gc_sections=yes
22394 else
22395 glibcxx_gcsections_min_ld=21602
22396 if test x"$with_gnu_ld" = x"yes" &&
22397 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
22398 glibcxx_have_gc_sections=yes
22401 if test "$glibcxx_have_gc_sections" = "yes"; then
22402 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
22403 # NB: This flag only works reliably after 2.16.1. Configure tests
22404 # for this are difficult, so hard wire a value that should work.
22406 ac_test_CFLAGS="${CFLAGS+set}"
22407 ac_save_CFLAGS="$CFLAGS"
22408 CFLAGS='-Wl,--gc-sections'
22410 # Check for -Wl,--gc-sections
22411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22412 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22413 if test x$gcc_no_link = xyes; then
22414 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22417 /* end confdefs.h. */
22418 int one(void) { return 1; }
22419 int two(void) { return 2; }
22422 main ()
22424 two();
22426 return 0;
22428 _ACEOF
22429 if ac_fn_c_try_link "$LINENO"; then :
22430 ac_gcsections=yes
22431 else
22432 ac_gcsections=no
22434 rm -f core conftest.err conftest.$ac_objext \
22435 conftest$ac_exeext conftest.$ac_ext
22436 if test "$ac_gcsections" = "yes"; then
22437 rm -f conftest.c
22438 touch conftest.c
22439 if $CC -c conftest.c; then
22440 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22441 grep "Warning: gc-sections option ignored" > /dev/null; then
22442 ac_gcsections=no
22445 rm -f conftest.c conftest.o conftest
22447 if test "$ac_gcsections" = "yes"; then
22448 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22451 $as_echo "$ac_gcsections" >&6; }
22453 if test "$ac_test_CFLAGS" = set; then
22454 CFLAGS="$ac_save_CFLAGS"
22455 else
22456 # this is the suspicious part
22457 CFLAGS=''
22461 # Set -z,relro.
22462 # Note this is only for shared objects.
22463 ac_ld_relro=no
22464 if test x"$with_gnu_ld" = x"yes"; then
22465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22466 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22467 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22468 if test -n "$cxx_z_relo"; then
22469 OPT_LDFLAGS="-Wl,-z,relro"
22470 ac_ld_relro=yes
22472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22473 $as_echo "$ac_ld_relro" >&6; }
22476 # Set linker optimization flags.
22477 if test x"$with_gnu_ld" = x"yes"; then
22478 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22485 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22486 ac_save_CXXFLAGS="$CXXFLAGS"
22487 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22490 $as_echo_n "checking for sin in -lm... " >&6; }
22491 if ${ac_cv_lib_m_sin+:} false; then :
22492 $as_echo_n "(cached) " >&6
22493 else
22494 ac_check_lib_save_LIBS=$LIBS
22495 LIBS="-lm $LIBS"
22496 if test x$gcc_no_link = xyes; then
22497 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22500 /* end confdefs.h. */
22502 /* Override any GCC internal prototype to avoid an error.
22503 Use char because int might match the return type of a GCC
22504 builtin and then its argument prototype would still apply. */
22505 #ifdef __cplusplus
22506 extern "C"
22507 #endif
22508 char sin ();
22510 main ()
22512 return sin ();
22514 return 0;
22516 _ACEOF
22517 if ac_fn_c_try_link "$LINENO"; then :
22518 ac_cv_lib_m_sin=yes
22519 else
22520 ac_cv_lib_m_sin=no
22522 rm -f core conftest.err conftest.$ac_objext \
22523 conftest$ac_exeext conftest.$ac_ext
22524 LIBS=$ac_check_lib_save_LIBS
22526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22527 $as_echo "$ac_cv_lib_m_sin" >&6; }
22528 if test "x$ac_cv_lib_m_sin" = xyes; then :
22529 libm="-lm"
22532 ac_save_LIBS="$LIBS"
22533 LIBS="$LIBS $libm"
22537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22538 $as_echo_n "checking for isinf declaration... " >&6; }
22539 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22540 if ${glibcxx_cv_func_isinf_use+:} false; then :
22541 $as_echo_n "(cached) " >&6
22542 else
22545 ac_ext=cpp
22546 ac_cpp='$CXXCPP $CPPFLAGS'
22547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22552 /* end confdefs.h. */
22553 #include <math.h>
22554 #ifdef HAVE_IEEEFP_H
22555 #include <ieeefp.h>
22556 #endif
22559 main ()
22561 isinf(0);
22563 return 0;
22565 _ACEOF
22566 if ac_fn_cxx_try_compile "$LINENO"; then :
22567 glibcxx_cv_func_isinf_use=yes
22568 else
22569 glibcxx_cv_func_isinf_use=no
22571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22572 ac_ext=c
22573 ac_cpp='$CPP $CPPFLAGS'
22574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22583 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22585 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22586 for ac_func in isinf
22587 do :
22588 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22589 if test "x$ac_cv_func_isinf" = xyes; then :
22590 cat >>confdefs.h <<_ACEOF
22591 #define HAVE_ISINF 1
22592 _ACEOF
22595 done
22597 else
22599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22600 $as_echo_n "checking for _isinf declaration... " >&6; }
22601 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22602 if ${glibcxx_cv_func__isinf_use+:} false; then :
22603 $as_echo_n "(cached) " >&6
22604 else
22607 ac_ext=cpp
22608 ac_cpp='$CXXCPP $CPPFLAGS'
22609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22614 /* end confdefs.h. */
22615 #include <math.h>
22616 #ifdef HAVE_IEEEFP_H
22617 #include <ieeefp.h>
22618 #endif
22621 main ()
22623 _isinf(0);
22625 return 0;
22627 _ACEOF
22628 if ac_fn_cxx_try_compile "$LINENO"; then :
22629 glibcxx_cv_func__isinf_use=yes
22630 else
22631 glibcxx_cv_func__isinf_use=no
22633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22634 ac_ext=c
22635 ac_cpp='$CPP $CPPFLAGS'
22636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22645 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22647 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22648 for ac_func in _isinf
22649 do :
22650 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22651 if test "x$ac_cv_func__isinf" = xyes; then :
22652 cat >>confdefs.h <<_ACEOF
22653 #define HAVE__ISINF 1
22654 _ACEOF
22657 done
22666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22667 $as_echo_n "checking for isnan declaration... " >&6; }
22668 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22669 if ${glibcxx_cv_func_isnan_use+:} false; then :
22670 $as_echo_n "(cached) " >&6
22671 else
22674 ac_ext=cpp
22675 ac_cpp='$CXXCPP $CPPFLAGS'
22676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22681 /* end confdefs.h. */
22682 #include <math.h>
22683 #ifdef HAVE_IEEEFP_H
22684 #include <ieeefp.h>
22685 #endif
22688 main ()
22690 isnan(0);
22692 return 0;
22694 _ACEOF
22695 if ac_fn_cxx_try_compile "$LINENO"; then :
22696 glibcxx_cv_func_isnan_use=yes
22697 else
22698 glibcxx_cv_func_isnan_use=no
22700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22701 ac_ext=c
22702 ac_cpp='$CPP $CPPFLAGS'
22703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22712 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22714 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22715 for ac_func in isnan
22716 do :
22717 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22718 if test "x$ac_cv_func_isnan" = xyes; then :
22719 cat >>confdefs.h <<_ACEOF
22720 #define HAVE_ISNAN 1
22721 _ACEOF
22724 done
22726 else
22728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22729 $as_echo_n "checking for _isnan declaration... " >&6; }
22730 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22731 if ${glibcxx_cv_func__isnan_use+:} false; then :
22732 $as_echo_n "(cached) " >&6
22733 else
22736 ac_ext=cpp
22737 ac_cpp='$CXXCPP $CPPFLAGS'
22738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22743 /* end confdefs.h. */
22744 #include <math.h>
22745 #ifdef HAVE_IEEEFP_H
22746 #include <ieeefp.h>
22747 #endif
22750 main ()
22752 _isnan(0);
22754 return 0;
22756 _ACEOF
22757 if ac_fn_cxx_try_compile "$LINENO"; then :
22758 glibcxx_cv_func__isnan_use=yes
22759 else
22760 glibcxx_cv_func__isnan_use=no
22762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22763 ac_ext=c
22764 ac_cpp='$CPP $CPPFLAGS'
22765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22774 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22776 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22777 for ac_func in _isnan
22778 do :
22779 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22780 if test "x$ac_cv_func__isnan" = xyes; then :
22781 cat >>confdefs.h <<_ACEOF
22782 #define HAVE__ISNAN 1
22783 _ACEOF
22786 done
22795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22796 $as_echo_n "checking for finite declaration... " >&6; }
22797 if test x${glibcxx_cv_func_finite_use+set} != xset; then
22798 if ${glibcxx_cv_func_finite_use+:} false; then :
22799 $as_echo_n "(cached) " >&6
22800 else
22803 ac_ext=cpp
22804 ac_cpp='$CXXCPP $CPPFLAGS'
22805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22810 /* end confdefs.h. */
22811 #include <math.h>
22812 #ifdef HAVE_IEEEFP_H
22813 #include <ieeefp.h>
22814 #endif
22817 main ()
22819 finite(0);
22821 return 0;
22823 _ACEOF
22824 if ac_fn_cxx_try_compile "$LINENO"; then :
22825 glibcxx_cv_func_finite_use=yes
22826 else
22827 glibcxx_cv_func_finite_use=no
22829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22830 ac_ext=c
22831 ac_cpp='$CPP $CPPFLAGS'
22832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22841 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22843 if test x$glibcxx_cv_func_finite_use = x"yes"; then
22844 for ac_func in finite
22845 do :
22846 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22847 if test "x$ac_cv_func_finite" = xyes; then :
22848 cat >>confdefs.h <<_ACEOF
22849 #define HAVE_FINITE 1
22850 _ACEOF
22853 done
22855 else
22857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22858 $as_echo_n "checking for _finite declaration... " >&6; }
22859 if test x${glibcxx_cv_func__finite_use+set} != xset; then
22860 if ${glibcxx_cv_func__finite_use+:} false; then :
22861 $as_echo_n "(cached) " >&6
22862 else
22865 ac_ext=cpp
22866 ac_cpp='$CXXCPP $CPPFLAGS'
22867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22872 /* end confdefs.h. */
22873 #include <math.h>
22874 #ifdef HAVE_IEEEFP_H
22875 #include <ieeefp.h>
22876 #endif
22879 main ()
22881 _finite(0);
22883 return 0;
22885 _ACEOF
22886 if ac_fn_cxx_try_compile "$LINENO"; then :
22887 glibcxx_cv_func__finite_use=yes
22888 else
22889 glibcxx_cv_func__finite_use=no
22891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22892 ac_ext=c
22893 ac_cpp='$CPP $CPPFLAGS'
22894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22903 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22905 if test x$glibcxx_cv_func__finite_use = x"yes"; then
22906 for ac_func in _finite
22907 do :
22908 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22909 if test "x$ac_cv_func__finite" = xyes; then :
22910 cat >>confdefs.h <<_ACEOF
22911 #define HAVE__FINITE 1
22912 _ACEOF
22915 done
22924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22925 $as_echo_n "checking for sincos declaration... " >&6; }
22926 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22927 if ${glibcxx_cv_func_sincos_use+:} false; then :
22928 $as_echo_n "(cached) " >&6
22929 else
22932 ac_ext=cpp
22933 ac_cpp='$CXXCPP $CPPFLAGS'
22934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22939 /* end confdefs.h. */
22940 #include <math.h>
22942 main ()
22944 sincos(0, 0, 0);
22946 return 0;
22948 _ACEOF
22949 if ac_fn_cxx_try_compile "$LINENO"; then :
22950 glibcxx_cv_func_sincos_use=yes
22951 else
22952 glibcxx_cv_func_sincos_use=no
22954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22955 ac_ext=c
22956 ac_cpp='$CPP $CPPFLAGS'
22957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22966 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22968 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22969 for ac_func in sincos
22970 do :
22971 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22972 if test "x$ac_cv_func_sincos" = xyes; then :
22973 cat >>confdefs.h <<_ACEOF
22974 #define HAVE_SINCOS 1
22975 _ACEOF
22978 done
22980 else
22982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22983 $as_echo_n "checking for _sincos declaration... " >&6; }
22984 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22985 if ${glibcxx_cv_func__sincos_use+:} false; then :
22986 $as_echo_n "(cached) " >&6
22987 else
22990 ac_ext=cpp
22991 ac_cpp='$CXXCPP $CPPFLAGS'
22992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22997 /* end confdefs.h. */
22998 #include <math.h>
23000 main ()
23002 _sincos(0, 0, 0);
23004 return 0;
23006 _ACEOF
23007 if ac_fn_cxx_try_compile "$LINENO"; then :
23008 glibcxx_cv_func__sincos_use=yes
23009 else
23010 glibcxx_cv_func__sincos_use=no
23012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23013 ac_ext=c
23014 ac_cpp='$CPP $CPPFLAGS'
23015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
23024 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
23026 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
23027 for ac_func in _sincos
23028 do :
23029 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
23030 if test "x$ac_cv_func__sincos" = xyes; then :
23031 cat >>confdefs.h <<_ACEOF
23032 #define HAVE__SINCOS 1
23033 _ACEOF
23036 done
23045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
23046 $as_echo_n "checking for fpclass declaration... " >&6; }
23047 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
23048 if ${glibcxx_cv_func_fpclass_use+:} false; then :
23049 $as_echo_n "(cached) " >&6
23050 else
23053 ac_ext=cpp
23054 ac_cpp='$CXXCPP $CPPFLAGS'
23055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23060 /* end confdefs.h. */
23061 #include <math.h>
23062 #ifdef HAVE_IEEEFP_H
23063 #include <ieeefp.h>
23064 #endif
23067 main ()
23069 fpclass(0);
23071 return 0;
23073 _ACEOF
23074 if ac_fn_cxx_try_compile "$LINENO"; then :
23075 glibcxx_cv_func_fpclass_use=yes
23076 else
23077 glibcxx_cv_func_fpclass_use=no
23079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23080 ac_ext=c
23081 ac_cpp='$CPP $CPPFLAGS'
23082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
23091 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
23093 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
23094 for ac_func in fpclass
23095 do :
23096 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
23097 if test "x$ac_cv_func_fpclass" = xyes; then :
23098 cat >>confdefs.h <<_ACEOF
23099 #define HAVE_FPCLASS 1
23100 _ACEOF
23103 done
23105 else
23107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
23108 $as_echo_n "checking for _fpclass declaration... " >&6; }
23109 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
23110 if ${glibcxx_cv_func__fpclass_use+:} false; then :
23111 $as_echo_n "(cached) " >&6
23112 else
23115 ac_ext=cpp
23116 ac_cpp='$CXXCPP $CPPFLAGS'
23117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23122 /* end confdefs.h. */
23123 #include <math.h>
23124 #ifdef HAVE_IEEEFP_H
23125 #include <ieeefp.h>
23126 #endif
23129 main ()
23131 _fpclass(0);
23133 return 0;
23135 _ACEOF
23136 if ac_fn_cxx_try_compile "$LINENO"; then :
23137 glibcxx_cv_func__fpclass_use=yes
23138 else
23139 glibcxx_cv_func__fpclass_use=no
23141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23142 ac_ext=c
23143 ac_cpp='$CPP $CPPFLAGS'
23144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
23153 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
23155 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
23156 for ac_func in _fpclass
23157 do :
23158 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
23159 if test "x$ac_cv_func__fpclass" = xyes; then :
23160 cat >>confdefs.h <<_ACEOF
23161 #define HAVE__FPCLASS 1
23162 _ACEOF
23165 done
23174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
23175 $as_echo_n "checking for qfpclass declaration... " >&6; }
23176 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
23177 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
23178 $as_echo_n "(cached) " >&6
23179 else
23182 ac_ext=cpp
23183 ac_cpp='$CXXCPP $CPPFLAGS'
23184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23189 /* end confdefs.h. */
23190 #include <math.h>
23191 #ifdef HAVE_IEEEFP_H
23192 #include <ieeefp.h>
23193 #endif
23196 main ()
23198 qfpclass(0);
23200 return 0;
23202 _ACEOF
23203 if ac_fn_cxx_try_compile "$LINENO"; then :
23204 glibcxx_cv_func_qfpclass_use=yes
23205 else
23206 glibcxx_cv_func_qfpclass_use=no
23208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23209 ac_ext=c
23210 ac_cpp='$CPP $CPPFLAGS'
23211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
23220 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
23222 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
23223 for ac_func in qfpclass
23224 do :
23225 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
23226 if test "x$ac_cv_func_qfpclass" = xyes; then :
23227 cat >>confdefs.h <<_ACEOF
23228 #define HAVE_QFPCLASS 1
23229 _ACEOF
23232 done
23234 else
23236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
23237 $as_echo_n "checking for _qfpclass declaration... " >&6; }
23238 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
23239 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
23240 $as_echo_n "(cached) " >&6
23241 else
23244 ac_ext=cpp
23245 ac_cpp='$CXXCPP $CPPFLAGS'
23246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23251 /* end confdefs.h. */
23252 #include <math.h>
23253 #ifdef HAVE_IEEEFP_H
23254 #include <ieeefp.h>
23255 #endif
23258 main ()
23260 _qfpclass(0);
23262 return 0;
23264 _ACEOF
23265 if ac_fn_cxx_try_compile "$LINENO"; then :
23266 glibcxx_cv_func__qfpclass_use=yes
23267 else
23268 glibcxx_cv_func__qfpclass_use=no
23270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23271 ac_ext=c
23272 ac_cpp='$CPP $CPPFLAGS'
23273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
23282 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
23284 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
23285 for ac_func in _qfpclass
23286 do :
23287 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
23288 if test "x$ac_cv_func__qfpclass" = xyes; then :
23289 cat >>confdefs.h <<_ACEOF
23290 #define HAVE__QFPCLASS 1
23291 _ACEOF
23294 done
23303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
23304 $as_echo_n "checking for hypot declaration... " >&6; }
23305 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
23306 if ${glibcxx_cv_func_hypot_use+:} false; then :
23307 $as_echo_n "(cached) " >&6
23308 else
23311 ac_ext=cpp
23312 ac_cpp='$CXXCPP $CPPFLAGS'
23313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23318 /* end confdefs.h. */
23319 #include <math.h>
23321 main ()
23323 hypot(0, 0);
23325 return 0;
23327 _ACEOF
23328 if ac_fn_cxx_try_compile "$LINENO"; then :
23329 glibcxx_cv_func_hypot_use=yes
23330 else
23331 glibcxx_cv_func_hypot_use=no
23333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23334 ac_ext=c
23335 ac_cpp='$CPP $CPPFLAGS'
23336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
23345 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
23347 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
23348 for ac_func in hypot
23349 do :
23350 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
23351 if test "x$ac_cv_func_hypot" = xyes; then :
23352 cat >>confdefs.h <<_ACEOF
23353 #define HAVE_HYPOT 1
23354 _ACEOF
23357 done
23359 else
23361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
23362 $as_echo_n "checking for _hypot declaration... " >&6; }
23363 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
23364 if ${glibcxx_cv_func__hypot_use+:} false; then :
23365 $as_echo_n "(cached) " >&6
23366 else
23369 ac_ext=cpp
23370 ac_cpp='$CXXCPP $CPPFLAGS'
23371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23376 /* end confdefs.h. */
23377 #include <math.h>
23379 main ()
23381 _hypot(0, 0);
23383 return 0;
23385 _ACEOF
23386 if ac_fn_cxx_try_compile "$LINENO"; then :
23387 glibcxx_cv_func__hypot_use=yes
23388 else
23389 glibcxx_cv_func__hypot_use=no
23391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23392 ac_ext=c
23393 ac_cpp='$CPP $CPPFLAGS'
23394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23403 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23405 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23406 for ac_func in _hypot
23407 do :
23408 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23409 if test "x$ac_cv_func__hypot" = xyes; then :
23410 cat >>confdefs.h <<_ACEOF
23411 #define HAVE__HYPOT 1
23412 _ACEOF
23415 done
23424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23425 $as_echo_n "checking for float trig functions... " >&6; }
23426 if ${glibcxx_cv_func_float_trig_use+:} false; then :
23427 $as_echo_n "(cached) " >&6
23428 else
23431 ac_ext=cpp
23432 ac_cpp='$CXXCPP $CPPFLAGS'
23433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23438 /* end confdefs.h. */
23439 #include <math.h>
23441 main ()
23443 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23445 return 0;
23447 _ACEOF
23448 if ac_fn_cxx_try_compile "$LINENO"; then :
23449 glibcxx_cv_func_float_trig_use=yes
23450 else
23451 glibcxx_cv_func_float_trig_use=no
23453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23454 ac_ext=c
23455 ac_cpp='$CPP $CPPFLAGS'
23456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23463 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23464 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23465 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23466 do :
23467 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23468 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23469 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23470 cat >>confdefs.h <<_ACEOF
23471 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23472 _ACEOF
23475 done
23477 else
23478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23479 $as_echo_n "checking for _float trig functions... " >&6; }
23480 if ${glibcxx_cv_func__float_trig_use+:} false; then :
23481 $as_echo_n "(cached) " >&6
23482 else
23485 ac_ext=cpp
23486 ac_cpp='$CXXCPP $CPPFLAGS'
23487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23492 /* end confdefs.h. */
23493 #include <math.h>
23495 main ()
23497 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23499 return 0;
23501 _ACEOF
23502 if ac_fn_cxx_try_compile "$LINENO"; then :
23503 glibcxx_cv_func__float_trig_use=yes
23504 else
23505 glibcxx_cv_func__float_trig_use=no
23507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23508 ac_ext=c
23509 ac_cpp='$CPP $CPPFLAGS'
23510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23517 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23518 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23519 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23520 do :
23521 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23522 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23523 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23524 cat >>confdefs.h <<_ACEOF
23525 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23526 _ACEOF
23529 done
23538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23539 $as_echo_n "checking for float round functions... " >&6; }
23540 if ${glibcxx_cv_func_float_round_use+:} false; then :
23541 $as_echo_n "(cached) " >&6
23542 else
23545 ac_ext=cpp
23546 ac_cpp='$CXXCPP $CPPFLAGS'
23547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23552 /* end confdefs.h. */
23553 #include <math.h>
23555 main ()
23557 ceilf (0); floorf (0);
23559 return 0;
23561 _ACEOF
23562 if ac_fn_cxx_try_compile "$LINENO"; then :
23563 glibcxx_cv_func_float_round_use=yes
23564 else
23565 glibcxx_cv_func_float_round_use=no
23567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23568 ac_ext=c
23569 ac_cpp='$CPP $CPPFLAGS'
23570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23577 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23578 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23579 for ac_func in ceilf floorf
23580 do :
23581 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23582 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23583 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23584 cat >>confdefs.h <<_ACEOF
23585 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23586 _ACEOF
23589 done
23591 else
23592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23593 $as_echo_n "checking for _float round functions... " >&6; }
23594 if ${glibcxx_cv_func__float_round_use+:} false; then :
23595 $as_echo_n "(cached) " >&6
23596 else
23599 ac_ext=cpp
23600 ac_cpp='$CXXCPP $CPPFLAGS'
23601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23606 /* end confdefs.h. */
23607 #include <math.h>
23609 main ()
23611 _ceilf (0); _floorf (0);
23613 return 0;
23615 _ACEOF
23616 if ac_fn_cxx_try_compile "$LINENO"; then :
23617 glibcxx_cv_func__float_round_use=yes
23618 else
23619 glibcxx_cv_func__float_round_use=no
23621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23622 ac_ext=c
23623 ac_cpp='$CPP $CPPFLAGS'
23624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23631 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23632 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23633 for ac_func in _ceilf _floorf
23634 do :
23635 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23636 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23637 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23638 cat >>confdefs.h <<_ACEOF
23639 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23640 _ACEOF
23643 done
23653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23654 $as_echo_n "checking for expf declaration... " >&6; }
23655 if test x${glibcxx_cv_func_expf_use+set} != xset; then
23656 if ${glibcxx_cv_func_expf_use+:} false; then :
23657 $as_echo_n "(cached) " >&6
23658 else
23661 ac_ext=cpp
23662 ac_cpp='$CXXCPP $CPPFLAGS'
23663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23668 /* end confdefs.h. */
23669 #include <math.h>
23670 #ifdef HAVE_IEEEFP_H
23671 #include <ieeefp.h>
23672 #endif
23675 main ()
23677 expf(0);
23679 return 0;
23681 _ACEOF
23682 if ac_fn_cxx_try_compile "$LINENO"; then :
23683 glibcxx_cv_func_expf_use=yes
23684 else
23685 glibcxx_cv_func_expf_use=no
23687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23688 ac_ext=c
23689 ac_cpp='$CPP $CPPFLAGS'
23690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23699 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23701 if test x$glibcxx_cv_func_expf_use = x"yes"; then
23702 for ac_func in expf
23703 do :
23704 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23705 if test "x$ac_cv_func_expf" = xyes; then :
23706 cat >>confdefs.h <<_ACEOF
23707 #define HAVE_EXPF 1
23708 _ACEOF
23711 done
23713 else
23715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23716 $as_echo_n "checking for _expf declaration... " >&6; }
23717 if test x${glibcxx_cv_func__expf_use+set} != xset; then
23718 if ${glibcxx_cv_func__expf_use+:} false; then :
23719 $as_echo_n "(cached) " >&6
23720 else
23723 ac_ext=cpp
23724 ac_cpp='$CXXCPP $CPPFLAGS'
23725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23730 /* end confdefs.h. */
23731 #include <math.h>
23732 #ifdef HAVE_IEEEFP_H
23733 #include <ieeefp.h>
23734 #endif
23737 main ()
23739 _expf(0);
23741 return 0;
23743 _ACEOF
23744 if ac_fn_cxx_try_compile "$LINENO"; then :
23745 glibcxx_cv_func__expf_use=yes
23746 else
23747 glibcxx_cv_func__expf_use=no
23749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23750 ac_ext=c
23751 ac_cpp='$CPP $CPPFLAGS'
23752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23761 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23763 if test x$glibcxx_cv_func__expf_use = x"yes"; then
23764 for ac_func in _expf
23765 do :
23766 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23767 if test "x$ac_cv_func__expf" = xyes; then :
23768 cat >>confdefs.h <<_ACEOF
23769 #define HAVE__EXPF 1
23770 _ACEOF
23773 done
23782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23783 $as_echo_n "checking for isnanf declaration... " >&6; }
23784 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23785 if ${glibcxx_cv_func_isnanf_use+:} false; then :
23786 $as_echo_n "(cached) " >&6
23787 else
23790 ac_ext=cpp
23791 ac_cpp='$CXXCPP $CPPFLAGS'
23792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23797 /* end confdefs.h. */
23798 #include <math.h>
23799 #ifdef HAVE_IEEEFP_H
23800 #include <ieeefp.h>
23801 #endif
23804 main ()
23806 isnanf(0);
23808 return 0;
23810 _ACEOF
23811 if ac_fn_cxx_try_compile "$LINENO"; then :
23812 glibcxx_cv_func_isnanf_use=yes
23813 else
23814 glibcxx_cv_func_isnanf_use=no
23816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23817 ac_ext=c
23818 ac_cpp='$CPP $CPPFLAGS'
23819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23828 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23830 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23831 for ac_func in isnanf
23832 do :
23833 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23834 if test "x$ac_cv_func_isnanf" = xyes; then :
23835 cat >>confdefs.h <<_ACEOF
23836 #define HAVE_ISNANF 1
23837 _ACEOF
23840 done
23842 else
23844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23845 $as_echo_n "checking for _isnanf declaration... " >&6; }
23846 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23847 if ${glibcxx_cv_func__isnanf_use+:} false; then :
23848 $as_echo_n "(cached) " >&6
23849 else
23852 ac_ext=cpp
23853 ac_cpp='$CXXCPP $CPPFLAGS'
23854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23859 /* end confdefs.h. */
23860 #include <math.h>
23861 #ifdef HAVE_IEEEFP_H
23862 #include <ieeefp.h>
23863 #endif
23866 main ()
23868 _isnanf(0);
23870 return 0;
23872 _ACEOF
23873 if ac_fn_cxx_try_compile "$LINENO"; then :
23874 glibcxx_cv_func__isnanf_use=yes
23875 else
23876 glibcxx_cv_func__isnanf_use=no
23878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23879 ac_ext=c
23880 ac_cpp='$CPP $CPPFLAGS'
23881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23890 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23892 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23893 for ac_func in _isnanf
23894 do :
23895 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23896 if test "x$ac_cv_func__isnanf" = xyes; then :
23897 cat >>confdefs.h <<_ACEOF
23898 #define HAVE__ISNANF 1
23899 _ACEOF
23902 done
23911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23912 $as_echo_n "checking for isinff declaration... " >&6; }
23913 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23914 if ${glibcxx_cv_func_isinff_use+:} false; then :
23915 $as_echo_n "(cached) " >&6
23916 else
23919 ac_ext=cpp
23920 ac_cpp='$CXXCPP $CPPFLAGS'
23921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23926 /* end confdefs.h. */
23927 #include <math.h>
23928 #ifdef HAVE_IEEEFP_H
23929 #include <ieeefp.h>
23930 #endif
23933 main ()
23935 isinff(0);
23937 return 0;
23939 _ACEOF
23940 if ac_fn_cxx_try_compile "$LINENO"; then :
23941 glibcxx_cv_func_isinff_use=yes
23942 else
23943 glibcxx_cv_func_isinff_use=no
23945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23946 ac_ext=c
23947 ac_cpp='$CPP $CPPFLAGS'
23948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23957 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23959 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23960 for ac_func in isinff
23961 do :
23962 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23963 if test "x$ac_cv_func_isinff" = xyes; then :
23964 cat >>confdefs.h <<_ACEOF
23965 #define HAVE_ISINFF 1
23966 _ACEOF
23969 done
23971 else
23973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23974 $as_echo_n "checking for _isinff declaration... " >&6; }
23975 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23976 if ${glibcxx_cv_func__isinff_use+:} false; then :
23977 $as_echo_n "(cached) " >&6
23978 else
23981 ac_ext=cpp
23982 ac_cpp='$CXXCPP $CPPFLAGS'
23983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23988 /* end confdefs.h. */
23989 #include <math.h>
23990 #ifdef HAVE_IEEEFP_H
23991 #include <ieeefp.h>
23992 #endif
23995 main ()
23997 _isinff(0);
23999 return 0;
24001 _ACEOF
24002 if ac_fn_cxx_try_compile "$LINENO"; then :
24003 glibcxx_cv_func__isinff_use=yes
24004 else
24005 glibcxx_cv_func__isinff_use=no
24007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24008 ac_ext=c
24009 ac_cpp='$CPP $CPPFLAGS'
24010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
24019 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
24021 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
24022 for ac_func in _isinff
24023 do :
24024 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
24025 if test "x$ac_cv_func__isinff" = xyes; then :
24026 cat >>confdefs.h <<_ACEOF
24027 #define HAVE__ISINFF 1
24028 _ACEOF
24031 done
24040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
24041 $as_echo_n "checking for atan2f declaration... " >&6; }
24042 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
24043 if ${glibcxx_cv_func_atan2f_use+:} false; then :
24044 $as_echo_n "(cached) " >&6
24045 else
24048 ac_ext=cpp
24049 ac_cpp='$CXXCPP $CPPFLAGS'
24050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24055 /* end confdefs.h. */
24056 #include <math.h>
24058 main ()
24060 atan2f(0, 0);
24062 return 0;
24064 _ACEOF
24065 if ac_fn_cxx_try_compile "$LINENO"; then :
24066 glibcxx_cv_func_atan2f_use=yes
24067 else
24068 glibcxx_cv_func_atan2f_use=no
24070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24071 ac_ext=c
24072 ac_cpp='$CPP $CPPFLAGS'
24073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
24082 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
24084 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
24085 for ac_func in atan2f
24086 do :
24087 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
24088 if test "x$ac_cv_func_atan2f" = xyes; then :
24089 cat >>confdefs.h <<_ACEOF
24090 #define HAVE_ATAN2F 1
24091 _ACEOF
24094 done
24096 else
24098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
24099 $as_echo_n "checking for _atan2f declaration... " >&6; }
24100 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
24101 if ${glibcxx_cv_func__atan2f_use+:} false; then :
24102 $as_echo_n "(cached) " >&6
24103 else
24106 ac_ext=cpp
24107 ac_cpp='$CXXCPP $CPPFLAGS'
24108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24113 /* end confdefs.h. */
24114 #include <math.h>
24116 main ()
24118 _atan2f(0, 0);
24120 return 0;
24122 _ACEOF
24123 if ac_fn_cxx_try_compile "$LINENO"; then :
24124 glibcxx_cv_func__atan2f_use=yes
24125 else
24126 glibcxx_cv_func__atan2f_use=no
24128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24129 ac_ext=c
24130 ac_cpp='$CPP $CPPFLAGS'
24131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
24140 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
24142 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
24143 for ac_func in _atan2f
24144 do :
24145 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
24146 if test "x$ac_cv_func__atan2f" = xyes; then :
24147 cat >>confdefs.h <<_ACEOF
24148 #define HAVE__ATAN2F 1
24149 _ACEOF
24152 done
24161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
24162 $as_echo_n "checking for fabsf declaration... " >&6; }
24163 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
24164 if ${glibcxx_cv_func_fabsf_use+:} false; then :
24165 $as_echo_n "(cached) " >&6
24166 else
24169 ac_ext=cpp
24170 ac_cpp='$CXXCPP $CPPFLAGS'
24171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24176 /* end confdefs.h. */
24177 #include <math.h>
24178 #ifdef HAVE_IEEEFP_H
24179 #include <ieeefp.h>
24180 #endif
24183 main ()
24185 fabsf(0);
24187 return 0;
24189 _ACEOF
24190 if ac_fn_cxx_try_compile "$LINENO"; then :
24191 glibcxx_cv_func_fabsf_use=yes
24192 else
24193 glibcxx_cv_func_fabsf_use=no
24195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24196 ac_ext=c
24197 ac_cpp='$CPP $CPPFLAGS'
24198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
24207 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
24209 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
24210 for ac_func in fabsf
24211 do :
24212 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
24213 if test "x$ac_cv_func_fabsf" = xyes; then :
24214 cat >>confdefs.h <<_ACEOF
24215 #define HAVE_FABSF 1
24216 _ACEOF
24219 done
24221 else
24223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
24224 $as_echo_n "checking for _fabsf declaration... " >&6; }
24225 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
24226 if ${glibcxx_cv_func__fabsf_use+:} false; then :
24227 $as_echo_n "(cached) " >&6
24228 else
24231 ac_ext=cpp
24232 ac_cpp='$CXXCPP $CPPFLAGS'
24233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24238 /* end confdefs.h. */
24239 #include <math.h>
24240 #ifdef HAVE_IEEEFP_H
24241 #include <ieeefp.h>
24242 #endif
24245 main ()
24247 _fabsf(0);
24249 return 0;
24251 _ACEOF
24252 if ac_fn_cxx_try_compile "$LINENO"; then :
24253 glibcxx_cv_func__fabsf_use=yes
24254 else
24255 glibcxx_cv_func__fabsf_use=no
24257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24258 ac_ext=c
24259 ac_cpp='$CPP $CPPFLAGS'
24260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
24269 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
24271 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24272 for ac_func in _fabsf
24273 do :
24274 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
24275 if test "x$ac_cv_func__fabsf" = xyes; then :
24276 cat >>confdefs.h <<_ACEOF
24277 #define HAVE__FABSF 1
24278 _ACEOF
24281 done
24290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
24291 $as_echo_n "checking for fmodf declaration... " >&6; }
24292 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24293 if ${glibcxx_cv_func_fmodf_use+:} false; then :
24294 $as_echo_n "(cached) " >&6
24295 else
24298 ac_ext=cpp
24299 ac_cpp='$CXXCPP $CPPFLAGS'
24300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24305 /* end confdefs.h. */
24306 #include <math.h>
24308 main ()
24310 fmodf(0, 0);
24312 return 0;
24314 _ACEOF
24315 if ac_fn_cxx_try_compile "$LINENO"; then :
24316 glibcxx_cv_func_fmodf_use=yes
24317 else
24318 glibcxx_cv_func_fmodf_use=no
24320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24321 ac_ext=c
24322 ac_cpp='$CPP $CPPFLAGS'
24323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
24332 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
24334 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24335 for ac_func in fmodf
24336 do :
24337 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
24338 if test "x$ac_cv_func_fmodf" = xyes; then :
24339 cat >>confdefs.h <<_ACEOF
24340 #define HAVE_FMODF 1
24341 _ACEOF
24344 done
24346 else
24348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
24349 $as_echo_n "checking for _fmodf declaration... " >&6; }
24350 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24351 if ${glibcxx_cv_func__fmodf_use+:} false; then :
24352 $as_echo_n "(cached) " >&6
24353 else
24356 ac_ext=cpp
24357 ac_cpp='$CXXCPP $CPPFLAGS'
24358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24363 /* end confdefs.h. */
24364 #include <math.h>
24366 main ()
24368 _fmodf(0, 0);
24370 return 0;
24372 _ACEOF
24373 if ac_fn_cxx_try_compile "$LINENO"; then :
24374 glibcxx_cv_func__fmodf_use=yes
24375 else
24376 glibcxx_cv_func__fmodf_use=no
24378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24379 ac_ext=c
24380 ac_cpp='$CPP $CPPFLAGS'
24381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
24390 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
24392 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24393 for ac_func in _fmodf
24394 do :
24395 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
24396 if test "x$ac_cv_func__fmodf" = xyes; then :
24397 cat >>confdefs.h <<_ACEOF
24398 #define HAVE__FMODF 1
24399 _ACEOF
24402 done
24411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24412 $as_echo_n "checking for frexpf declaration... " >&6; }
24413 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24414 if ${glibcxx_cv_func_frexpf_use+:} false; then :
24415 $as_echo_n "(cached) " >&6
24416 else
24419 ac_ext=cpp
24420 ac_cpp='$CXXCPP $CPPFLAGS'
24421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24426 /* end confdefs.h. */
24427 #include <math.h>
24429 main ()
24431 frexpf(0, 0);
24433 return 0;
24435 _ACEOF
24436 if ac_fn_cxx_try_compile "$LINENO"; then :
24437 glibcxx_cv_func_frexpf_use=yes
24438 else
24439 glibcxx_cv_func_frexpf_use=no
24441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24442 ac_ext=c
24443 ac_cpp='$CPP $CPPFLAGS'
24444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24453 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24455 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24456 for ac_func in frexpf
24457 do :
24458 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24459 if test "x$ac_cv_func_frexpf" = xyes; then :
24460 cat >>confdefs.h <<_ACEOF
24461 #define HAVE_FREXPF 1
24462 _ACEOF
24465 done
24467 else
24469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24470 $as_echo_n "checking for _frexpf declaration... " >&6; }
24471 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24472 if ${glibcxx_cv_func__frexpf_use+:} false; then :
24473 $as_echo_n "(cached) " >&6
24474 else
24477 ac_ext=cpp
24478 ac_cpp='$CXXCPP $CPPFLAGS'
24479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24484 /* end confdefs.h. */
24485 #include <math.h>
24487 main ()
24489 _frexpf(0, 0);
24491 return 0;
24493 _ACEOF
24494 if ac_fn_cxx_try_compile "$LINENO"; then :
24495 glibcxx_cv_func__frexpf_use=yes
24496 else
24497 glibcxx_cv_func__frexpf_use=no
24499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24500 ac_ext=c
24501 ac_cpp='$CPP $CPPFLAGS'
24502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24511 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24513 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24514 for ac_func in _frexpf
24515 do :
24516 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24517 if test "x$ac_cv_func__frexpf" = xyes; then :
24518 cat >>confdefs.h <<_ACEOF
24519 #define HAVE__FREXPF 1
24520 _ACEOF
24523 done
24532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24533 $as_echo_n "checking for hypotf declaration... " >&6; }
24534 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24535 if ${glibcxx_cv_func_hypotf_use+:} false; then :
24536 $as_echo_n "(cached) " >&6
24537 else
24540 ac_ext=cpp
24541 ac_cpp='$CXXCPP $CPPFLAGS'
24542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24547 /* end confdefs.h. */
24548 #include <math.h>
24550 main ()
24552 hypotf(0, 0);
24554 return 0;
24556 _ACEOF
24557 if ac_fn_cxx_try_compile "$LINENO"; then :
24558 glibcxx_cv_func_hypotf_use=yes
24559 else
24560 glibcxx_cv_func_hypotf_use=no
24562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24563 ac_ext=c
24564 ac_cpp='$CPP $CPPFLAGS'
24565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24574 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24576 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24577 for ac_func in hypotf
24578 do :
24579 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24580 if test "x$ac_cv_func_hypotf" = xyes; then :
24581 cat >>confdefs.h <<_ACEOF
24582 #define HAVE_HYPOTF 1
24583 _ACEOF
24586 done
24588 else
24590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24591 $as_echo_n "checking for _hypotf declaration... " >&6; }
24592 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24593 if ${glibcxx_cv_func__hypotf_use+:} false; then :
24594 $as_echo_n "(cached) " >&6
24595 else
24598 ac_ext=cpp
24599 ac_cpp='$CXXCPP $CPPFLAGS'
24600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24605 /* end confdefs.h. */
24606 #include <math.h>
24608 main ()
24610 _hypotf(0, 0);
24612 return 0;
24614 _ACEOF
24615 if ac_fn_cxx_try_compile "$LINENO"; then :
24616 glibcxx_cv_func__hypotf_use=yes
24617 else
24618 glibcxx_cv_func__hypotf_use=no
24620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24621 ac_ext=c
24622 ac_cpp='$CPP $CPPFLAGS'
24623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24632 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24634 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24635 for ac_func in _hypotf
24636 do :
24637 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24638 if test "x$ac_cv_func__hypotf" = xyes; then :
24639 cat >>confdefs.h <<_ACEOF
24640 #define HAVE__HYPOTF 1
24641 _ACEOF
24644 done
24653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24654 $as_echo_n "checking for ldexpf declaration... " >&6; }
24655 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24656 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
24657 $as_echo_n "(cached) " >&6
24658 else
24661 ac_ext=cpp
24662 ac_cpp='$CXXCPP $CPPFLAGS'
24663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24668 /* end confdefs.h. */
24669 #include <math.h>
24671 main ()
24673 ldexpf(0, 0);
24675 return 0;
24677 _ACEOF
24678 if ac_fn_cxx_try_compile "$LINENO"; then :
24679 glibcxx_cv_func_ldexpf_use=yes
24680 else
24681 glibcxx_cv_func_ldexpf_use=no
24683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24684 ac_ext=c
24685 ac_cpp='$CPP $CPPFLAGS'
24686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24695 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24697 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24698 for ac_func in ldexpf
24699 do :
24700 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24701 if test "x$ac_cv_func_ldexpf" = xyes; then :
24702 cat >>confdefs.h <<_ACEOF
24703 #define HAVE_LDEXPF 1
24704 _ACEOF
24707 done
24709 else
24711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24712 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24713 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24714 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
24715 $as_echo_n "(cached) " >&6
24716 else
24719 ac_ext=cpp
24720 ac_cpp='$CXXCPP $CPPFLAGS'
24721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24726 /* end confdefs.h. */
24727 #include <math.h>
24729 main ()
24731 _ldexpf(0, 0);
24733 return 0;
24735 _ACEOF
24736 if ac_fn_cxx_try_compile "$LINENO"; then :
24737 glibcxx_cv_func__ldexpf_use=yes
24738 else
24739 glibcxx_cv_func__ldexpf_use=no
24741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24742 ac_ext=c
24743 ac_cpp='$CPP $CPPFLAGS'
24744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24753 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24755 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24756 for ac_func in _ldexpf
24757 do :
24758 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24759 if test "x$ac_cv_func__ldexpf" = xyes; then :
24760 cat >>confdefs.h <<_ACEOF
24761 #define HAVE__LDEXPF 1
24762 _ACEOF
24765 done
24774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24775 $as_echo_n "checking for logf declaration... " >&6; }
24776 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24777 if ${glibcxx_cv_func_logf_use+:} false; then :
24778 $as_echo_n "(cached) " >&6
24779 else
24782 ac_ext=cpp
24783 ac_cpp='$CXXCPP $CPPFLAGS'
24784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24789 /* end confdefs.h. */
24790 #include <math.h>
24791 #ifdef HAVE_IEEEFP_H
24792 #include <ieeefp.h>
24793 #endif
24796 main ()
24798 logf(0);
24800 return 0;
24802 _ACEOF
24803 if ac_fn_cxx_try_compile "$LINENO"; then :
24804 glibcxx_cv_func_logf_use=yes
24805 else
24806 glibcxx_cv_func_logf_use=no
24808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24809 ac_ext=c
24810 ac_cpp='$CPP $CPPFLAGS'
24811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24820 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24822 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24823 for ac_func in logf
24824 do :
24825 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24826 if test "x$ac_cv_func_logf" = xyes; then :
24827 cat >>confdefs.h <<_ACEOF
24828 #define HAVE_LOGF 1
24829 _ACEOF
24832 done
24834 else
24836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24837 $as_echo_n "checking for _logf declaration... " >&6; }
24838 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24839 if ${glibcxx_cv_func__logf_use+:} false; then :
24840 $as_echo_n "(cached) " >&6
24841 else
24844 ac_ext=cpp
24845 ac_cpp='$CXXCPP $CPPFLAGS'
24846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24851 /* end confdefs.h. */
24852 #include <math.h>
24853 #ifdef HAVE_IEEEFP_H
24854 #include <ieeefp.h>
24855 #endif
24858 main ()
24860 _logf(0);
24862 return 0;
24864 _ACEOF
24865 if ac_fn_cxx_try_compile "$LINENO"; then :
24866 glibcxx_cv_func__logf_use=yes
24867 else
24868 glibcxx_cv_func__logf_use=no
24870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24871 ac_ext=c
24872 ac_cpp='$CPP $CPPFLAGS'
24873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24882 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24884 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24885 for ac_func in _logf
24886 do :
24887 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24888 if test "x$ac_cv_func__logf" = xyes; then :
24889 cat >>confdefs.h <<_ACEOF
24890 #define HAVE__LOGF 1
24891 _ACEOF
24894 done
24903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24904 $as_echo_n "checking for log10f declaration... " >&6; }
24905 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24906 if ${glibcxx_cv_func_log10f_use+:} false; then :
24907 $as_echo_n "(cached) " >&6
24908 else
24911 ac_ext=cpp
24912 ac_cpp='$CXXCPP $CPPFLAGS'
24913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24918 /* end confdefs.h. */
24919 #include <math.h>
24920 #ifdef HAVE_IEEEFP_H
24921 #include <ieeefp.h>
24922 #endif
24925 main ()
24927 log10f(0);
24929 return 0;
24931 _ACEOF
24932 if ac_fn_cxx_try_compile "$LINENO"; then :
24933 glibcxx_cv_func_log10f_use=yes
24934 else
24935 glibcxx_cv_func_log10f_use=no
24937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24938 ac_ext=c
24939 ac_cpp='$CPP $CPPFLAGS'
24940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24949 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24951 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24952 for ac_func in log10f
24953 do :
24954 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24955 if test "x$ac_cv_func_log10f" = xyes; then :
24956 cat >>confdefs.h <<_ACEOF
24957 #define HAVE_LOG10F 1
24958 _ACEOF
24961 done
24963 else
24965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24966 $as_echo_n "checking for _log10f declaration... " >&6; }
24967 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24968 if ${glibcxx_cv_func__log10f_use+:} false; then :
24969 $as_echo_n "(cached) " >&6
24970 else
24973 ac_ext=cpp
24974 ac_cpp='$CXXCPP $CPPFLAGS'
24975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24980 /* end confdefs.h. */
24981 #include <math.h>
24982 #ifdef HAVE_IEEEFP_H
24983 #include <ieeefp.h>
24984 #endif
24987 main ()
24989 _log10f(0);
24991 return 0;
24993 _ACEOF
24994 if ac_fn_cxx_try_compile "$LINENO"; then :
24995 glibcxx_cv_func__log10f_use=yes
24996 else
24997 glibcxx_cv_func__log10f_use=no
24999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25000 ac_ext=c
25001 ac_cpp='$CPP $CPPFLAGS'
25002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
25011 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
25013 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
25014 for ac_func in _log10f
25015 do :
25016 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
25017 if test "x$ac_cv_func__log10f" = xyes; then :
25018 cat >>confdefs.h <<_ACEOF
25019 #define HAVE__LOG10F 1
25020 _ACEOF
25023 done
25032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
25033 $as_echo_n "checking for modff declaration... " >&6; }
25034 if test x${glibcxx_cv_func_modff_use+set} != xset; then
25035 if ${glibcxx_cv_func_modff_use+:} false; then :
25036 $as_echo_n "(cached) " >&6
25037 else
25040 ac_ext=cpp
25041 ac_cpp='$CXXCPP $CPPFLAGS'
25042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25047 /* end confdefs.h. */
25048 #include <math.h>
25050 main ()
25052 modff(0, 0);
25054 return 0;
25056 _ACEOF
25057 if ac_fn_cxx_try_compile "$LINENO"; then :
25058 glibcxx_cv_func_modff_use=yes
25059 else
25060 glibcxx_cv_func_modff_use=no
25062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25063 ac_ext=c
25064 ac_cpp='$CPP $CPPFLAGS'
25065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
25074 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
25076 if test x$glibcxx_cv_func_modff_use = x"yes"; then
25077 for ac_func in modff
25078 do :
25079 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
25080 if test "x$ac_cv_func_modff" = xyes; then :
25081 cat >>confdefs.h <<_ACEOF
25082 #define HAVE_MODFF 1
25083 _ACEOF
25086 done
25088 else
25090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
25091 $as_echo_n "checking for _modff declaration... " >&6; }
25092 if test x${glibcxx_cv_func__modff_use+set} != xset; then
25093 if ${glibcxx_cv_func__modff_use+:} false; then :
25094 $as_echo_n "(cached) " >&6
25095 else
25098 ac_ext=cpp
25099 ac_cpp='$CXXCPP $CPPFLAGS'
25100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25105 /* end confdefs.h. */
25106 #include <math.h>
25108 main ()
25110 _modff(0, 0);
25112 return 0;
25114 _ACEOF
25115 if ac_fn_cxx_try_compile "$LINENO"; then :
25116 glibcxx_cv_func__modff_use=yes
25117 else
25118 glibcxx_cv_func__modff_use=no
25120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25121 ac_ext=c
25122 ac_cpp='$CPP $CPPFLAGS'
25123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
25132 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
25134 if test x$glibcxx_cv_func__modff_use = x"yes"; then
25135 for ac_func in _modff
25136 do :
25137 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
25138 if test "x$ac_cv_func__modff" = xyes; then :
25139 cat >>confdefs.h <<_ACEOF
25140 #define HAVE__MODFF 1
25141 _ACEOF
25144 done
25153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
25154 $as_echo_n "checking for modf declaration... " >&6; }
25155 if test x${glibcxx_cv_func_modf_use+set} != xset; then
25156 if ${glibcxx_cv_func_modf_use+:} false; then :
25157 $as_echo_n "(cached) " >&6
25158 else
25161 ac_ext=cpp
25162 ac_cpp='$CXXCPP $CPPFLAGS'
25163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25168 /* end confdefs.h. */
25169 #include <math.h>
25171 main ()
25173 modf(0, 0);
25175 return 0;
25177 _ACEOF
25178 if ac_fn_cxx_try_compile "$LINENO"; then :
25179 glibcxx_cv_func_modf_use=yes
25180 else
25181 glibcxx_cv_func_modf_use=no
25183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25184 ac_ext=c
25185 ac_cpp='$CPP $CPPFLAGS'
25186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
25195 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
25197 if test x$glibcxx_cv_func_modf_use = x"yes"; then
25198 for ac_func in modf
25199 do :
25200 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
25201 if test "x$ac_cv_func_modf" = xyes; then :
25202 cat >>confdefs.h <<_ACEOF
25203 #define HAVE_MODF 1
25204 _ACEOF
25207 done
25209 else
25211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
25212 $as_echo_n "checking for _modf declaration... " >&6; }
25213 if test x${glibcxx_cv_func__modf_use+set} != xset; then
25214 if ${glibcxx_cv_func__modf_use+:} false; then :
25215 $as_echo_n "(cached) " >&6
25216 else
25219 ac_ext=cpp
25220 ac_cpp='$CXXCPP $CPPFLAGS'
25221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25226 /* end confdefs.h. */
25227 #include <math.h>
25229 main ()
25231 _modf(0, 0);
25233 return 0;
25235 _ACEOF
25236 if ac_fn_cxx_try_compile "$LINENO"; then :
25237 glibcxx_cv_func__modf_use=yes
25238 else
25239 glibcxx_cv_func__modf_use=no
25241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25242 ac_ext=c
25243 ac_cpp='$CPP $CPPFLAGS'
25244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
25253 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
25255 if test x$glibcxx_cv_func__modf_use = x"yes"; then
25256 for ac_func in _modf
25257 do :
25258 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
25259 if test "x$ac_cv_func__modf" = xyes; then :
25260 cat >>confdefs.h <<_ACEOF
25261 #define HAVE__MODF 1
25262 _ACEOF
25265 done
25274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
25275 $as_echo_n "checking for powf declaration... " >&6; }
25276 if test x${glibcxx_cv_func_powf_use+set} != xset; then
25277 if ${glibcxx_cv_func_powf_use+:} false; then :
25278 $as_echo_n "(cached) " >&6
25279 else
25282 ac_ext=cpp
25283 ac_cpp='$CXXCPP $CPPFLAGS'
25284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25289 /* end confdefs.h. */
25290 #include <math.h>
25292 main ()
25294 powf(0, 0);
25296 return 0;
25298 _ACEOF
25299 if ac_fn_cxx_try_compile "$LINENO"; then :
25300 glibcxx_cv_func_powf_use=yes
25301 else
25302 glibcxx_cv_func_powf_use=no
25304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25305 ac_ext=c
25306 ac_cpp='$CPP $CPPFLAGS'
25307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
25316 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
25318 if test x$glibcxx_cv_func_powf_use = x"yes"; then
25319 for ac_func in powf
25320 do :
25321 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
25322 if test "x$ac_cv_func_powf" = xyes; then :
25323 cat >>confdefs.h <<_ACEOF
25324 #define HAVE_POWF 1
25325 _ACEOF
25328 done
25330 else
25332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
25333 $as_echo_n "checking for _powf declaration... " >&6; }
25334 if test x${glibcxx_cv_func__powf_use+set} != xset; then
25335 if ${glibcxx_cv_func__powf_use+:} false; then :
25336 $as_echo_n "(cached) " >&6
25337 else
25340 ac_ext=cpp
25341 ac_cpp='$CXXCPP $CPPFLAGS'
25342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25347 /* end confdefs.h. */
25348 #include <math.h>
25350 main ()
25352 _powf(0, 0);
25354 return 0;
25356 _ACEOF
25357 if ac_fn_cxx_try_compile "$LINENO"; then :
25358 glibcxx_cv_func__powf_use=yes
25359 else
25360 glibcxx_cv_func__powf_use=no
25362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25363 ac_ext=c
25364 ac_cpp='$CPP $CPPFLAGS'
25365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
25374 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
25376 if test x$glibcxx_cv_func__powf_use = x"yes"; then
25377 for ac_func in _powf
25378 do :
25379 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
25380 if test "x$ac_cv_func__powf" = xyes; then :
25381 cat >>confdefs.h <<_ACEOF
25382 #define HAVE__POWF 1
25383 _ACEOF
25386 done
25395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
25396 $as_echo_n "checking for sqrtf declaration... " >&6; }
25397 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
25398 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
25399 $as_echo_n "(cached) " >&6
25400 else
25403 ac_ext=cpp
25404 ac_cpp='$CXXCPP $CPPFLAGS'
25405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25410 /* end confdefs.h. */
25411 #include <math.h>
25412 #ifdef HAVE_IEEEFP_H
25413 #include <ieeefp.h>
25414 #endif
25417 main ()
25419 sqrtf(0);
25421 return 0;
25423 _ACEOF
25424 if ac_fn_cxx_try_compile "$LINENO"; then :
25425 glibcxx_cv_func_sqrtf_use=yes
25426 else
25427 glibcxx_cv_func_sqrtf_use=no
25429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25430 ac_ext=c
25431 ac_cpp='$CPP $CPPFLAGS'
25432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25441 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25443 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25444 for ac_func in sqrtf
25445 do :
25446 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25447 if test "x$ac_cv_func_sqrtf" = xyes; then :
25448 cat >>confdefs.h <<_ACEOF
25449 #define HAVE_SQRTF 1
25450 _ACEOF
25453 done
25455 else
25457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25458 $as_echo_n "checking for _sqrtf declaration... " >&6; }
25459 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25460 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
25461 $as_echo_n "(cached) " >&6
25462 else
25465 ac_ext=cpp
25466 ac_cpp='$CXXCPP $CPPFLAGS'
25467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25472 /* end confdefs.h. */
25473 #include <math.h>
25474 #ifdef HAVE_IEEEFP_H
25475 #include <ieeefp.h>
25476 #endif
25479 main ()
25481 _sqrtf(0);
25483 return 0;
25485 _ACEOF
25486 if ac_fn_cxx_try_compile "$LINENO"; then :
25487 glibcxx_cv_func__sqrtf_use=yes
25488 else
25489 glibcxx_cv_func__sqrtf_use=no
25491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25492 ac_ext=c
25493 ac_cpp='$CPP $CPPFLAGS'
25494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25503 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25505 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25506 for ac_func in _sqrtf
25507 do :
25508 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25509 if test "x$ac_cv_func__sqrtf" = xyes; then :
25510 cat >>confdefs.h <<_ACEOF
25511 #define HAVE__SQRTF 1
25512 _ACEOF
25515 done
25524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25525 $as_echo_n "checking for sincosf declaration... " >&6; }
25526 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25527 if ${glibcxx_cv_func_sincosf_use+:} false; then :
25528 $as_echo_n "(cached) " >&6
25529 else
25532 ac_ext=cpp
25533 ac_cpp='$CXXCPP $CPPFLAGS'
25534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25539 /* end confdefs.h. */
25540 #include <math.h>
25542 main ()
25544 sincosf(0, 0, 0);
25546 return 0;
25548 _ACEOF
25549 if ac_fn_cxx_try_compile "$LINENO"; then :
25550 glibcxx_cv_func_sincosf_use=yes
25551 else
25552 glibcxx_cv_func_sincosf_use=no
25554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25555 ac_ext=c
25556 ac_cpp='$CPP $CPPFLAGS'
25557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25566 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25568 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25569 for ac_func in sincosf
25570 do :
25571 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25572 if test "x$ac_cv_func_sincosf" = xyes; then :
25573 cat >>confdefs.h <<_ACEOF
25574 #define HAVE_SINCOSF 1
25575 _ACEOF
25578 done
25580 else
25582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25583 $as_echo_n "checking for _sincosf declaration... " >&6; }
25584 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25585 if ${glibcxx_cv_func__sincosf_use+:} false; then :
25586 $as_echo_n "(cached) " >&6
25587 else
25590 ac_ext=cpp
25591 ac_cpp='$CXXCPP $CPPFLAGS'
25592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25597 /* end confdefs.h. */
25598 #include <math.h>
25600 main ()
25602 _sincosf(0, 0, 0);
25604 return 0;
25606 _ACEOF
25607 if ac_fn_cxx_try_compile "$LINENO"; then :
25608 glibcxx_cv_func__sincosf_use=yes
25609 else
25610 glibcxx_cv_func__sincosf_use=no
25612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25613 ac_ext=c
25614 ac_cpp='$CPP $CPPFLAGS'
25615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25624 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25626 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25627 for ac_func in _sincosf
25628 do :
25629 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25630 if test "x$ac_cv_func__sincosf" = xyes; then :
25631 cat >>confdefs.h <<_ACEOF
25632 #define HAVE__SINCOSF 1
25633 _ACEOF
25636 done
25645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25646 $as_echo_n "checking for finitef declaration... " >&6; }
25647 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25648 if ${glibcxx_cv_func_finitef_use+:} false; then :
25649 $as_echo_n "(cached) " >&6
25650 else
25653 ac_ext=cpp
25654 ac_cpp='$CXXCPP $CPPFLAGS'
25655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25660 /* end confdefs.h. */
25661 #include <math.h>
25662 #ifdef HAVE_IEEEFP_H
25663 #include <ieeefp.h>
25664 #endif
25667 main ()
25669 finitef(0);
25671 return 0;
25673 _ACEOF
25674 if ac_fn_cxx_try_compile "$LINENO"; then :
25675 glibcxx_cv_func_finitef_use=yes
25676 else
25677 glibcxx_cv_func_finitef_use=no
25679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25680 ac_ext=c
25681 ac_cpp='$CPP $CPPFLAGS'
25682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25691 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25693 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25694 for ac_func in finitef
25695 do :
25696 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25697 if test "x$ac_cv_func_finitef" = xyes; then :
25698 cat >>confdefs.h <<_ACEOF
25699 #define HAVE_FINITEF 1
25700 _ACEOF
25703 done
25705 else
25707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25708 $as_echo_n "checking for _finitef declaration... " >&6; }
25709 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25710 if ${glibcxx_cv_func__finitef_use+:} false; then :
25711 $as_echo_n "(cached) " >&6
25712 else
25715 ac_ext=cpp
25716 ac_cpp='$CXXCPP $CPPFLAGS'
25717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25722 /* end confdefs.h. */
25723 #include <math.h>
25724 #ifdef HAVE_IEEEFP_H
25725 #include <ieeefp.h>
25726 #endif
25729 main ()
25731 _finitef(0);
25733 return 0;
25735 _ACEOF
25736 if ac_fn_cxx_try_compile "$LINENO"; then :
25737 glibcxx_cv_func__finitef_use=yes
25738 else
25739 glibcxx_cv_func__finitef_use=no
25741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25742 ac_ext=c
25743 ac_cpp='$CPP $CPPFLAGS'
25744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25753 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25755 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25756 for ac_func in _finitef
25757 do :
25758 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25759 if test "x$ac_cv_func__finitef" = xyes; then :
25760 cat >>confdefs.h <<_ACEOF
25761 #define HAVE__FINITEF 1
25762 _ACEOF
25765 done
25774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25775 $as_echo_n "checking for long double trig functions... " >&6; }
25776 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
25777 $as_echo_n "(cached) " >&6
25778 else
25781 ac_ext=cpp
25782 ac_cpp='$CXXCPP $CPPFLAGS'
25783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25788 /* end confdefs.h. */
25789 #include <math.h>
25791 main ()
25793 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25795 return 0;
25797 _ACEOF
25798 if ac_fn_cxx_try_compile "$LINENO"; then :
25799 glibcxx_cv_func_long_double_trig_use=yes
25800 else
25801 glibcxx_cv_func_long_double_trig_use=no
25803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25804 ac_ext=c
25805 ac_cpp='$CPP $CPPFLAGS'
25806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25813 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25814 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25815 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25816 do :
25817 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25818 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25819 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25820 cat >>confdefs.h <<_ACEOF
25821 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25822 _ACEOF
25825 done
25827 else
25828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25829 $as_echo_n "checking for _long double trig functions... " >&6; }
25830 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
25831 $as_echo_n "(cached) " >&6
25832 else
25835 ac_ext=cpp
25836 ac_cpp='$CXXCPP $CPPFLAGS'
25837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25842 /* end confdefs.h. */
25843 #include <math.h>
25845 main ()
25847 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25849 return 0;
25851 _ACEOF
25852 if ac_fn_cxx_try_compile "$LINENO"; then :
25853 glibcxx_cv_func__long_double_trig_use=yes
25854 else
25855 glibcxx_cv_func__long_double_trig_use=no
25857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25858 ac_ext=c
25859 ac_cpp='$CPP $CPPFLAGS'
25860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25867 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25868 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25869 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25870 do :
25871 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25872 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25873 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25874 cat >>confdefs.h <<_ACEOF
25875 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25876 _ACEOF
25879 done
25888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25889 $as_echo_n "checking for long double round functions... " >&6; }
25890 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
25891 $as_echo_n "(cached) " >&6
25892 else
25895 ac_ext=cpp
25896 ac_cpp='$CXXCPP $CPPFLAGS'
25897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25902 /* end confdefs.h. */
25903 #include <math.h>
25905 main ()
25907 ceill (0); floorl (0);
25909 return 0;
25911 _ACEOF
25912 if ac_fn_cxx_try_compile "$LINENO"; then :
25913 glibcxx_cv_func_long_double_round_use=yes
25914 else
25915 glibcxx_cv_func_long_double_round_use=no
25917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25918 ac_ext=c
25919 ac_cpp='$CPP $CPPFLAGS'
25920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25927 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25928 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25929 for ac_func in ceill floorl
25930 do :
25931 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25932 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25933 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25934 cat >>confdefs.h <<_ACEOF
25935 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25936 _ACEOF
25939 done
25941 else
25942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25943 $as_echo_n "checking for _long double round functions... " >&6; }
25944 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
25945 $as_echo_n "(cached) " >&6
25946 else
25949 ac_ext=cpp
25950 ac_cpp='$CXXCPP $CPPFLAGS'
25951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25956 /* end confdefs.h. */
25957 #include <math.h>
25959 main ()
25961 _ceill (0); _floorl (0);
25963 return 0;
25965 _ACEOF
25966 if ac_fn_cxx_try_compile "$LINENO"; then :
25967 glibcxx_cv_func__long_double_round_use=yes
25968 else
25969 glibcxx_cv_func__long_double_round_use=no
25971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25972 ac_ext=c
25973 ac_cpp='$CPP $CPPFLAGS'
25974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25981 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25982 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25983 for ac_func in _ceill _floorl
25984 do :
25985 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25986 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25987 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25988 cat >>confdefs.h <<_ACEOF
25989 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25990 _ACEOF
25993 done
26003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
26004 $as_echo_n "checking for isnanl declaration... " >&6; }
26005 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
26006 if ${glibcxx_cv_func_isnanl_use+:} false; then :
26007 $as_echo_n "(cached) " >&6
26008 else
26011 ac_ext=cpp
26012 ac_cpp='$CXXCPP $CPPFLAGS'
26013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26018 /* end confdefs.h. */
26019 #include <math.h>
26020 #ifdef HAVE_IEEEFP_H
26021 #include <ieeefp.h>
26022 #endif
26025 main ()
26027 isnanl(0);
26029 return 0;
26031 _ACEOF
26032 if ac_fn_cxx_try_compile "$LINENO"; then :
26033 glibcxx_cv_func_isnanl_use=yes
26034 else
26035 glibcxx_cv_func_isnanl_use=no
26037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26038 ac_ext=c
26039 ac_cpp='$CPP $CPPFLAGS'
26040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
26049 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
26051 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
26052 for ac_func in isnanl
26053 do :
26054 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
26055 if test "x$ac_cv_func_isnanl" = xyes; then :
26056 cat >>confdefs.h <<_ACEOF
26057 #define HAVE_ISNANL 1
26058 _ACEOF
26061 done
26063 else
26065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
26066 $as_echo_n "checking for _isnanl declaration... " >&6; }
26067 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
26068 if ${glibcxx_cv_func__isnanl_use+:} false; then :
26069 $as_echo_n "(cached) " >&6
26070 else
26073 ac_ext=cpp
26074 ac_cpp='$CXXCPP $CPPFLAGS'
26075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26080 /* end confdefs.h. */
26081 #include <math.h>
26082 #ifdef HAVE_IEEEFP_H
26083 #include <ieeefp.h>
26084 #endif
26087 main ()
26089 _isnanl(0);
26091 return 0;
26093 _ACEOF
26094 if ac_fn_cxx_try_compile "$LINENO"; then :
26095 glibcxx_cv_func__isnanl_use=yes
26096 else
26097 glibcxx_cv_func__isnanl_use=no
26099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26100 ac_ext=c
26101 ac_cpp='$CPP $CPPFLAGS'
26102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
26111 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
26113 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
26114 for ac_func in _isnanl
26115 do :
26116 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
26117 if test "x$ac_cv_func__isnanl" = xyes; then :
26118 cat >>confdefs.h <<_ACEOF
26119 #define HAVE__ISNANL 1
26120 _ACEOF
26123 done
26132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
26133 $as_echo_n "checking for isinfl declaration... " >&6; }
26134 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
26135 if ${glibcxx_cv_func_isinfl_use+:} false; then :
26136 $as_echo_n "(cached) " >&6
26137 else
26140 ac_ext=cpp
26141 ac_cpp='$CXXCPP $CPPFLAGS'
26142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26147 /* end confdefs.h. */
26148 #include <math.h>
26149 #ifdef HAVE_IEEEFP_H
26150 #include <ieeefp.h>
26151 #endif
26154 main ()
26156 isinfl(0);
26158 return 0;
26160 _ACEOF
26161 if ac_fn_cxx_try_compile "$LINENO"; then :
26162 glibcxx_cv_func_isinfl_use=yes
26163 else
26164 glibcxx_cv_func_isinfl_use=no
26166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26167 ac_ext=c
26168 ac_cpp='$CPP $CPPFLAGS'
26169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
26178 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
26180 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
26181 for ac_func in isinfl
26182 do :
26183 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
26184 if test "x$ac_cv_func_isinfl" = xyes; then :
26185 cat >>confdefs.h <<_ACEOF
26186 #define HAVE_ISINFL 1
26187 _ACEOF
26190 done
26192 else
26194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
26195 $as_echo_n "checking for _isinfl declaration... " >&6; }
26196 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
26197 if ${glibcxx_cv_func__isinfl_use+:} false; then :
26198 $as_echo_n "(cached) " >&6
26199 else
26202 ac_ext=cpp
26203 ac_cpp='$CXXCPP $CPPFLAGS'
26204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26209 /* end confdefs.h. */
26210 #include <math.h>
26211 #ifdef HAVE_IEEEFP_H
26212 #include <ieeefp.h>
26213 #endif
26216 main ()
26218 _isinfl(0);
26220 return 0;
26222 _ACEOF
26223 if ac_fn_cxx_try_compile "$LINENO"; then :
26224 glibcxx_cv_func__isinfl_use=yes
26225 else
26226 glibcxx_cv_func__isinfl_use=no
26228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26229 ac_ext=c
26230 ac_cpp='$CPP $CPPFLAGS'
26231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
26240 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
26242 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
26243 for ac_func in _isinfl
26244 do :
26245 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
26246 if test "x$ac_cv_func__isinfl" = xyes; then :
26247 cat >>confdefs.h <<_ACEOF
26248 #define HAVE__ISINFL 1
26249 _ACEOF
26252 done
26261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
26262 $as_echo_n "checking for atan2l declaration... " >&6; }
26263 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
26264 if ${glibcxx_cv_func_atan2l_use+:} false; then :
26265 $as_echo_n "(cached) " >&6
26266 else
26269 ac_ext=cpp
26270 ac_cpp='$CXXCPP $CPPFLAGS'
26271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26276 /* end confdefs.h. */
26277 #include <math.h>
26279 main ()
26281 atan2l(0, 0);
26283 return 0;
26285 _ACEOF
26286 if ac_fn_cxx_try_compile "$LINENO"; then :
26287 glibcxx_cv_func_atan2l_use=yes
26288 else
26289 glibcxx_cv_func_atan2l_use=no
26291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26292 ac_ext=c
26293 ac_cpp='$CPP $CPPFLAGS'
26294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
26303 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
26305 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
26306 for ac_func in atan2l
26307 do :
26308 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
26309 if test "x$ac_cv_func_atan2l" = xyes; then :
26310 cat >>confdefs.h <<_ACEOF
26311 #define HAVE_ATAN2L 1
26312 _ACEOF
26315 done
26317 else
26319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
26320 $as_echo_n "checking for _atan2l declaration... " >&6; }
26321 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
26322 if ${glibcxx_cv_func__atan2l_use+:} false; then :
26323 $as_echo_n "(cached) " >&6
26324 else
26327 ac_ext=cpp
26328 ac_cpp='$CXXCPP $CPPFLAGS'
26329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26334 /* end confdefs.h. */
26335 #include <math.h>
26337 main ()
26339 _atan2l(0, 0);
26341 return 0;
26343 _ACEOF
26344 if ac_fn_cxx_try_compile "$LINENO"; then :
26345 glibcxx_cv_func__atan2l_use=yes
26346 else
26347 glibcxx_cv_func__atan2l_use=no
26349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26350 ac_ext=c
26351 ac_cpp='$CPP $CPPFLAGS'
26352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
26361 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
26363 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
26364 for ac_func in _atan2l
26365 do :
26366 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
26367 if test "x$ac_cv_func__atan2l" = xyes; then :
26368 cat >>confdefs.h <<_ACEOF
26369 #define HAVE__ATAN2L 1
26370 _ACEOF
26373 done
26382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
26383 $as_echo_n "checking for expl declaration... " >&6; }
26384 if test x${glibcxx_cv_func_expl_use+set} != xset; then
26385 if ${glibcxx_cv_func_expl_use+:} false; then :
26386 $as_echo_n "(cached) " >&6
26387 else
26390 ac_ext=cpp
26391 ac_cpp='$CXXCPP $CPPFLAGS'
26392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26397 /* end confdefs.h. */
26398 #include <math.h>
26399 #ifdef HAVE_IEEEFP_H
26400 #include <ieeefp.h>
26401 #endif
26404 main ()
26406 expl(0);
26408 return 0;
26410 _ACEOF
26411 if ac_fn_cxx_try_compile "$LINENO"; then :
26412 glibcxx_cv_func_expl_use=yes
26413 else
26414 glibcxx_cv_func_expl_use=no
26416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26417 ac_ext=c
26418 ac_cpp='$CPP $CPPFLAGS'
26419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26428 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26430 if test x$glibcxx_cv_func_expl_use = x"yes"; then
26431 for ac_func in expl
26432 do :
26433 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26434 if test "x$ac_cv_func_expl" = xyes; then :
26435 cat >>confdefs.h <<_ACEOF
26436 #define HAVE_EXPL 1
26437 _ACEOF
26440 done
26442 else
26444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26445 $as_echo_n "checking for _expl declaration... " >&6; }
26446 if test x${glibcxx_cv_func__expl_use+set} != xset; then
26447 if ${glibcxx_cv_func__expl_use+:} false; then :
26448 $as_echo_n "(cached) " >&6
26449 else
26452 ac_ext=cpp
26453 ac_cpp='$CXXCPP $CPPFLAGS'
26454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26459 /* end confdefs.h. */
26460 #include <math.h>
26461 #ifdef HAVE_IEEEFP_H
26462 #include <ieeefp.h>
26463 #endif
26466 main ()
26468 _expl(0);
26470 return 0;
26472 _ACEOF
26473 if ac_fn_cxx_try_compile "$LINENO"; then :
26474 glibcxx_cv_func__expl_use=yes
26475 else
26476 glibcxx_cv_func__expl_use=no
26478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26479 ac_ext=c
26480 ac_cpp='$CPP $CPPFLAGS'
26481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26490 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26492 if test x$glibcxx_cv_func__expl_use = x"yes"; then
26493 for ac_func in _expl
26494 do :
26495 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26496 if test "x$ac_cv_func__expl" = xyes; then :
26497 cat >>confdefs.h <<_ACEOF
26498 #define HAVE__EXPL 1
26499 _ACEOF
26502 done
26511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26512 $as_echo_n "checking for fabsl declaration... " >&6; }
26513 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26514 if ${glibcxx_cv_func_fabsl_use+:} false; then :
26515 $as_echo_n "(cached) " >&6
26516 else
26519 ac_ext=cpp
26520 ac_cpp='$CXXCPP $CPPFLAGS'
26521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26526 /* end confdefs.h. */
26527 #include <math.h>
26528 #ifdef HAVE_IEEEFP_H
26529 #include <ieeefp.h>
26530 #endif
26533 main ()
26535 fabsl(0);
26537 return 0;
26539 _ACEOF
26540 if ac_fn_cxx_try_compile "$LINENO"; then :
26541 glibcxx_cv_func_fabsl_use=yes
26542 else
26543 glibcxx_cv_func_fabsl_use=no
26545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26546 ac_ext=c
26547 ac_cpp='$CPP $CPPFLAGS'
26548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26557 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26559 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26560 for ac_func in fabsl
26561 do :
26562 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26563 if test "x$ac_cv_func_fabsl" = xyes; then :
26564 cat >>confdefs.h <<_ACEOF
26565 #define HAVE_FABSL 1
26566 _ACEOF
26569 done
26571 else
26573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26574 $as_echo_n "checking for _fabsl declaration... " >&6; }
26575 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26576 if ${glibcxx_cv_func__fabsl_use+:} false; then :
26577 $as_echo_n "(cached) " >&6
26578 else
26581 ac_ext=cpp
26582 ac_cpp='$CXXCPP $CPPFLAGS'
26583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26588 /* end confdefs.h. */
26589 #include <math.h>
26590 #ifdef HAVE_IEEEFP_H
26591 #include <ieeefp.h>
26592 #endif
26595 main ()
26597 _fabsl(0);
26599 return 0;
26601 _ACEOF
26602 if ac_fn_cxx_try_compile "$LINENO"; then :
26603 glibcxx_cv_func__fabsl_use=yes
26604 else
26605 glibcxx_cv_func__fabsl_use=no
26607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26608 ac_ext=c
26609 ac_cpp='$CPP $CPPFLAGS'
26610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26619 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26621 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26622 for ac_func in _fabsl
26623 do :
26624 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26625 if test "x$ac_cv_func__fabsl" = xyes; then :
26626 cat >>confdefs.h <<_ACEOF
26627 #define HAVE__FABSL 1
26628 _ACEOF
26631 done
26640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26641 $as_echo_n "checking for fmodl declaration... " >&6; }
26642 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26643 if ${glibcxx_cv_func_fmodl_use+:} false; then :
26644 $as_echo_n "(cached) " >&6
26645 else
26648 ac_ext=cpp
26649 ac_cpp='$CXXCPP $CPPFLAGS'
26650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26655 /* end confdefs.h. */
26656 #include <math.h>
26658 main ()
26660 fmodl(0, 0);
26662 return 0;
26664 _ACEOF
26665 if ac_fn_cxx_try_compile "$LINENO"; then :
26666 glibcxx_cv_func_fmodl_use=yes
26667 else
26668 glibcxx_cv_func_fmodl_use=no
26670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26671 ac_ext=c
26672 ac_cpp='$CPP $CPPFLAGS'
26673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26682 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26684 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26685 for ac_func in fmodl
26686 do :
26687 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26688 if test "x$ac_cv_func_fmodl" = xyes; then :
26689 cat >>confdefs.h <<_ACEOF
26690 #define HAVE_FMODL 1
26691 _ACEOF
26694 done
26696 else
26698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26699 $as_echo_n "checking for _fmodl declaration... " >&6; }
26700 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26701 if ${glibcxx_cv_func__fmodl_use+:} false; then :
26702 $as_echo_n "(cached) " >&6
26703 else
26706 ac_ext=cpp
26707 ac_cpp='$CXXCPP $CPPFLAGS'
26708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26713 /* end confdefs.h. */
26714 #include <math.h>
26716 main ()
26718 _fmodl(0, 0);
26720 return 0;
26722 _ACEOF
26723 if ac_fn_cxx_try_compile "$LINENO"; then :
26724 glibcxx_cv_func__fmodl_use=yes
26725 else
26726 glibcxx_cv_func__fmodl_use=no
26728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26729 ac_ext=c
26730 ac_cpp='$CPP $CPPFLAGS'
26731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26740 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26742 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26743 for ac_func in _fmodl
26744 do :
26745 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26746 if test "x$ac_cv_func__fmodl" = xyes; then :
26747 cat >>confdefs.h <<_ACEOF
26748 #define HAVE__FMODL 1
26749 _ACEOF
26752 done
26761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26762 $as_echo_n "checking for frexpl declaration... " >&6; }
26763 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26764 if ${glibcxx_cv_func_frexpl_use+:} false; then :
26765 $as_echo_n "(cached) " >&6
26766 else
26769 ac_ext=cpp
26770 ac_cpp='$CXXCPP $CPPFLAGS'
26771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26776 /* end confdefs.h. */
26777 #include <math.h>
26779 main ()
26781 frexpl(0, 0);
26783 return 0;
26785 _ACEOF
26786 if ac_fn_cxx_try_compile "$LINENO"; then :
26787 glibcxx_cv_func_frexpl_use=yes
26788 else
26789 glibcxx_cv_func_frexpl_use=no
26791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26792 ac_ext=c
26793 ac_cpp='$CPP $CPPFLAGS'
26794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26803 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26805 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26806 for ac_func in frexpl
26807 do :
26808 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26809 if test "x$ac_cv_func_frexpl" = xyes; then :
26810 cat >>confdefs.h <<_ACEOF
26811 #define HAVE_FREXPL 1
26812 _ACEOF
26815 done
26817 else
26819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26820 $as_echo_n "checking for _frexpl declaration... " >&6; }
26821 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26822 if ${glibcxx_cv_func__frexpl_use+:} false; then :
26823 $as_echo_n "(cached) " >&6
26824 else
26827 ac_ext=cpp
26828 ac_cpp='$CXXCPP $CPPFLAGS'
26829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26834 /* end confdefs.h. */
26835 #include <math.h>
26837 main ()
26839 _frexpl(0, 0);
26841 return 0;
26843 _ACEOF
26844 if ac_fn_cxx_try_compile "$LINENO"; then :
26845 glibcxx_cv_func__frexpl_use=yes
26846 else
26847 glibcxx_cv_func__frexpl_use=no
26849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26850 ac_ext=c
26851 ac_cpp='$CPP $CPPFLAGS'
26852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26861 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26863 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26864 for ac_func in _frexpl
26865 do :
26866 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26867 if test "x$ac_cv_func__frexpl" = xyes; then :
26868 cat >>confdefs.h <<_ACEOF
26869 #define HAVE__FREXPL 1
26870 _ACEOF
26873 done
26882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26883 $as_echo_n "checking for hypotl declaration... " >&6; }
26884 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26885 if ${glibcxx_cv_func_hypotl_use+:} false; then :
26886 $as_echo_n "(cached) " >&6
26887 else
26890 ac_ext=cpp
26891 ac_cpp='$CXXCPP $CPPFLAGS'
26892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26897 /* end confdefs.h. */
26898 #include <math.h>
26900 main ()
26902 hypotl(0, 0);
26904 return 0;
26906 _ACEOF
26907 if ac_fn_cxx_try_compile "$LINENO"; then :
26908 glibcxx_cv_func_hypotl_use=yes
26909 else
26910 glibcxx_cv_func_hypotl_use=no
26912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26913 ac_ext=c
26914 ac_cpp='$CPP $CPPFLAGS'
26915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26924 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26926 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26927 for ac_func in hypotl
26928 do :
26929 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26930 if test "x$ac_cv_func_hypotl" = xyes; then :
26931 cat >>confdefs.h <<_ACEOF
26932 #define HAVE_HYPOTL 1
26933 _ACEOF
26936 done
26938 else
26940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26941 $as_echo_n "checking for _hypotl declaration... " >&6; }
26942 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26943 if ${glibcxx_cv_func__hypotl_use+:} false; then :
26944 $as_echo_n "(cached) " >&6
26945 else
26948 ac_ext=cpp
26949 ac_cpp='$CXXCPP $CPPFLAGS'
26950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26955 /* end confdefs.h. */
26956 #include <math.h>
26958 main ()
26960 _hypotl(0, 0);
26962 return 0;
26964 _ACEOF
26965 if ac_fn_cxx_try_compile "$LINENO"; then :
26966 glibcxx_cv_func__hypotl_use=yes
26967 else
26968 glibcxx_cv_func__hypotl_use=no
26970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26971 ac_ext=c
26972 ac_cpp='$CPP $CPPFLAGS'
26973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26982 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26984 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26985 for ac_func in _hypotl
26986 do :
26987 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26988 if test "x$ac_cv_func__hypotl" = xyes; then :
26989 cat >>confdefs.h <<_ACEOF
26990 #define HAVE__HYPOTL 1
26991 _ACEOF
26994 done
27003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
27004 $as_echo_n "checking for ldexpl declaration... " >&6; }
27005 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
27006 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
27007 $as_echo_n "(cached) " >&6
27008 else
27011 ac_ext=cpp
27012 ac_cpp='$CXXCPP $CPPFLAGS'
27013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27018 /* end confdefs.h. */
27019 #include <math.h>
27021 main ()
27023 ldexpl(0, 0);
27025 return 0;
27027 _ACEOF
27028 if ac_fn_cxx_try_compile "$LINENO"; then :
27029 glibcxx_cv_func_ldexpl_use=yes
27030 else
27031 glibcxx_cv_func_ldexpl_use=no
27033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27034 ac_ext=c
27035 ac_cpp='$CPP $CPPFLAGS'
27036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
27045 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
27047 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
27048 for ac_func in ldexpl
27049 do :
27050 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
27051 if test "x$ac_cv_func_ldexpl" = xyes; then :
27052 cat >>confdefs.h <<_ACEOF
27053 #define HAVE_LDEXPL 1
27054 _ACEOF
27057 done
27059 else
27061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
27062 $as_echo_n "checking for _ldexpl declaration... " >&6; }
27063 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
27064 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
27065 $as_echo_n "(cached) " >&6
27066 else
27069 ac_ext=cpp
27070 ac_cpp='$CXXCPP $CPPFLAGS'
27071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27076 /* end confdefs.h. */
27077 #include <math.h>
27079 main ()
27081 _ldexpl(0, 0);
27083 return 0;
27085 _ACEOF
27086 if ac_fn_cxx_try_compile "$LINENO"; then :
27087 glibcxx_cv_func__ldexpl_use=yes
27088 else
27089 glibcxx_cv_func__ldexpl_use=no
27091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27092 ac_ext=c
27093 ac_cpp='$CPP $CPPFLAGS'
27094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
27103 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
27105 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
27106 for ac_func in _ldexpl
27107 do :
27108 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
27109 if test "x$ac_cv_func__ldexpl" = xyes; then :
27110 cat >>confdefs.h <<_ACEOF
27111 #define HAVE__LDEXPL 1
27112 _ACEOF
27115 done
27124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
27125 $as_echo_n "checking for logl declaration... " >&6; }
27126 if test x${glibcxx_cv_func_logl_use+set} != xset; then
27127 if ${glibcxx_cv_func_logl_use+:} false; then :
27128 $as_echo_n "(cached) " >&6
27129 else
27132 ac_ext=cpp
27133 ac_cpp='$CXXCPP $CPPFLAGS'
27134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27139 /* end confdefs.h. */
27140 #include <math.h>
27141 #ifdef HAVE_IEEEFP_H
27142 #include <ieeefp.h>
27143 #endif
27146 main ()
27148 logl(0);
27150 return 0;
27152 _ACEOF
27153 if ac_fn_cxx_try_compile "$LINENO"; then :
27154 glibcxx_cv_func_logl_use=yes
27155 else
27156 glibcxx_cv_func_logl_use=no
27158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27159 ac_ext=c
27160 ac_cpp='$CPP $CPPFLAGS'
27161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
27170 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
27172 if test x$glibcxx_cv_func_logl_use = x"yes"; then
27173 for ac_func in logl
27174 do :
27175 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
27176 if test "x$ac_cv_func_logl" = xyes; then :
27177 cat >>confdefs.h <<_ACEOF
27178 #define HAVE_LOGL 1
27179 _ACEOF
27182 done
27184 else
27186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
27187 $as_echo_n "checking for _logl declaration... " >&6; }
27188 if test x${glibcxx_cv_func__logl_use+set} != xset; then
27189 if ${glibcxx_cv_func__logl_use+:} false; then :
27190 $as_echo_n "(cached) " >&6
27191 else
27194 ac_ext=cpp
27195 ac_cpp='$CXXCPP $CPPFLAGS'
27196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27201 /* end confdefs.h. */
27202 #include <math.h>
27203 #ifdef HAVE_IEEEFP_H
27204 #include <ieeefp.h>
27205 #endif
27208 main ()
27210 _logl(0);
27212 return 0;
27214 _ACEOF
27215 if ac_fn_cxx_try_compile "$LINENO"; then :
27216 glibcxx_cv_func__logl_use=yes
27217 else
27218 glibcxx_cv_func__logl_use=no
27220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27221 ac_ext=c
27222 ac_cpp='$CPP $CPPFLAGS'
27223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
27232 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
27234 if test x$glibcxx_cv_func__logl_use = x"yes"; then
27235 for ac_func in _logl
27236 do :
27237 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
27238 if test "x$ac_cv_func__logl" = xyes; then :
27239 cat >>confdefs.h <<_ACEOF
27240 #define HAVE__LOGL 1
27241 _ACEOF
27244 done
27253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
27254 $as_echo_n "checking for log10l declaration... " >&6; }
27255 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
27256 if ${glibcxx_cv_func_log10l_use+:} false; then :
27257 $as_echo_n "(cached) " >&6
27258 else
27261 ac_ext=cpp
27262 ac_cpp='$CXXCPP $CPPFLAGS'
27263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27268 /* end confdefs.h. */
27269 #include <math.h>
27270 #ifdef HAVE_IEEEFP_H
27271 #include <ieeefp.h>
27272 #endif
27275 main ()
27277 log10l(0);
27279 return 0;
27281 _ACEOF
27282 if ac_fn_cxx_try_compile "$LINENO"; then :
27283 glibcxx_cv_func_log10l_use=yes
27284 else
27285 glibcxx_cv_func_log10l_use=no
27287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27288 ac_ext=c
27289 ac_cpp='$CPP $CPPFLAGS'
27290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
27299 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
27301 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
27302 for ac_func in log10l
27303 do :
27304 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
27305 if test "x$ac_cv_func_log10l" = xyes; then :
27306 cat >>confdefs.h <<_ACEOF
27307 #define HAVE_LOG10L 1
27308 _ACEOF
27311 done
27313 else
27315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
27316 $as_echo_n "checking for _log10l declaration... " >&6; }
27317 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
27318 if ${glibcxx_cv_func__log10l_use+:} false; then :
27319 $as_echo_n "(cached) " >&6
27320 else
27323 ac_ext=cpp
27324 ac_cpp='$CXXCPP $CPPFLAGS'
27325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27330 /* end confdefs.h. */
27331 #include <math.h>
27332 #ifdef HAVE_IEEEFP_H
27333 #include <ieeefp.h>
27334 #endif
27337 main ()
27339 _log10l(0);
27341 return 0;
27343 _ACEOF
27344 if ac_fn_cxx_try_compile "$LINENO"; then :
27345 glibcxx_cv_func__log10l_use=yes
27346 else
27347 glibcxx_cv_func__log10l_use=no
27349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27350 ac_ext=c
27351 ac_cpp='$CPP $CPPFLAGS'
27352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
27361 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
27363 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
27364 for ac_func in _log10l
27365 do :
27366 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
27367 if test "x$ac_cv_func__log10l" = xyes; then :
27368 cat >>confdefs.h <<_ACEOF
27369 #define HAVE__LOG10L 1
27370 _ACEOF
27373 done
27382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
27383 $as_echo_n "checking for modfl declaration... " >&6; }
27384 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
27385 if ${glibcxx_cv_func_modfl_use+:} false; then :
27386 $as_echo_n "(cached) " >&6
27387 else
27390 ac_ext=cpp
27391 ac_cpp='$CXXCPP $CPPFLAGS'
27392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27397 /* end confdefs.h. */
27398 #include <math.h>
27400 main ()
27402 modfl(0, 0);
27404 return 0;
27406 _ACEOF
27407 if ac_fn_cxx_try_compile "$LINENO"; then :
27408 glibcxx_cv_func_modfl_use=yes
27409 else
27410 glibcxx_cv_func_modfl_use=no
27412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27413 ac_ext=c
27414 ac_cpp='$CPP $CPPFLAGS'
27415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27424 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27426 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27427 for ac_func in modfl
27428 do :
27429 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27430 if test "x$ac_cv_func_modfl" = xyes; then :
27431 cat >>confdefs.h <<_ACEOF
27432 #define HAVE_MODFL 1
27433 _ACEOF
27436 done
27438 else
27440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27441 $as_echo_n "checking for _modfl declaration... " >&6; }
27442 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27443 if ${glibcxx_cv_func__modfl_use+:} false; then :
27444 $as_echo_n "(cached) " >&6
27445 else
27448 ac_ext=cpp
27449 ac_cpp='$CXXCPP $CPPFLAGS'
27450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27455 /* end confdefs.h. */
27456 #include <math.h>
27458 main ()
27460 _modfl(0, 0);
27462 return 0;
27464 _ACEOF
27465 if ac_fn_cxx_try_compile "$LINENO"; then :
27466 glibcxx_cv_func__modfl_use=yes
27467 else
27468 glibcxx_cv_func__modfl_use=no
27470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27471 ac_ext=c
27472 ac_cpp='$CPP $CPPFLAGS'
27473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27482 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27484 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27485 for ac_func in _modfl
27486 do :
27487 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27488 if test "x$ac_cv_func__modfl" = xyes; then :
27489 cat >>confdefs.h <<_ACEOF
27490 #define HAVE__MODFL 1
27491 _ACEOF
27494 done
27503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27504 $as_echo_n "checking for powl declaration... " >&6; }
27505 if test x${glibcxx_cv_func_powl_use+set} != xset; then
27506 if ${glibcxx_cv_func_powl_use+:} false; then :
27507 $as_echo_n "(cached) " >&6
27508 else
27511 ac_ext=cpp
27512 ac_cpp='$CXXCPP $CPPFLAGS'
27513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27518 /* end confdefs.h. */
27519 #include <math.h>
27521 main ()
27523 powl(0, 0);
27525 return 0;
27527 _ACEOF
27528 if ac_fn_cxx_try_compile "$LINENO"; then :
27529 glibcxx_cv_func_powl_use=yes
27530 else
27531 glibcxx_cv_func_powl_use=no
27533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27534 ac_ext=c
27535 ac_cpp='$CPP $CPPFLAGS'
27536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27545 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27547 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27548 for ac_func in powl
27549 do :
27550 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27551 if test "x$ac_cv_func_powl" = xyes; then :
27552 cat >>confdefs.h <<_ACEOF
27553 #define HAVE_POWL 1
27554 _ACEOF
27557 done
27559 else
27561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27562 $as_echo_n "checking for _powl declaration... " >&6; }
27563 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27564 if ${glibcxx_cv_func__powl_use+:} false; then :
27565 $as_echo_n "(cached) " >&6
27566 else
27569 ac_ext=cpp
27570 ac_cpp='$CXXCPP $CPPFLAGS'
27571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27576 /* end confdefs.h. */
27577 #include <math.h>
27579 main ()
27581 _powl(0, 0);
27583 return 0;
27585 _ACEOF
27586 if ac_fn_cxx_try_compile "$LINENO"; then :
27587 glibcxx_cv_func__powl_use=yes
27588 else
27589 glibcxx_cv_func__powl_use=no
27591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27592 ac_ext=c
27593 ac_cpp='$CPP $CPPFLAGS'
27594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27603 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27605 if test x$glibcxx_cv_func__powl_use = x"yes"; then
27606 for ac_func in _powl
27607 do :
27608 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27609 if test "x$ac_cv_func__powl" = xyes; then :
27610 cat >>confdefs.h <<_ACEOF
27611 #define HAVE__POWL 1
27612 _ACEOF
27615 done
27624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27625 $as_echo_n "checking for sqrtl declaration... " >&6; }
27626 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27627 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
27628 $as_echo_n "(cached) " >&6
27629 else
27632 ac_ext=cpp
27633 ac_cpp='$CXXCPP $CPPFLAGS'
27634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27639 /* end confdefs.h. */
27640 #include <math.h>
27641 #ifdef HAVE_IEEEFP_H
27642 #include <ieeefp.h>
27643 #endif
27646 main ()
27648 sqrtl(0);
27650 return 0;
27652 _ACEOF
27653 if ac_fn_cxx_try_compile "$LINENO"; then :
27654 glibcxx_cv_func_sqrtl_use=yes
27655 else
27656 glibcxx_cv_func_sqrtl_use=no
27658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27659 ac_ext=c
27660 ac_cpp='$CPP $CPPFLAGS'
27661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27670 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27672 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27673 for ac_func in sqrtl
27674 do :
27675 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27676 if test "x$ac_cv_func_sqrtl" = xyes; then :
27677 cat >>confdefs.h <<_ACEOF
27678 #define HAVE_SQRTL 1
27679 _ACEOF
27682 done
27684 else
27686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27687 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27688 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27689 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
27690 $as_echo_n "(cached) " >&6
27691 else
27694 ac_ext=cpp
27695 ac_cpp='$CXXCPP $CPPFLAGS'
27696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27701 /* end confdefs.h. */
27702 #include <math.h>
27703 #ifdef HAVE_IEEEFP_H
27704 #include <ieeefp.h>
27705 #endif
27708 main ()
27710 _sqrtl(0);
27712 return 0;
27714 _ACEOF
27715 if ac_fn_cxx_try_compile "$LINENO"; then :
27716 glibcxx_cv_func__sqrtl_use=yes
27717 else
27718 glibcxx_cv_func__sqrtl_use=no
27720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27721 ac_ext=c
27722 ac_cpp='$CPP $CPPFLAGS'
27723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27732 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27734 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27735 for ac_func in _sqrtl
27736 do :
27737 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27738 if test "x$ac_cv_func__sqrtl" = xyes; then :
27739 cat >>confdefs.h <<_ACEOF
27740 #define HAVE__SQRTL 1
27741 _ACEOF
27744 done
27753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27754 $as_echo_n "checking for sincosl declaration... " >&6; }
27755 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27756 if ${glibcxx_cv_func_sincosl_use+:} false; then :
27757 $as_echo_n "(cached) " >&6
27758 else
27761 ac_ext=cpp
27762 ac_cpp='$CXXCPP $CPPFLAGS'
27763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27768 /* end confdefs.h. */
27769 #include <math.h>
27771 main ()
27773 sincosl(0, 0, 0);
27775 return 0;
27777 _ACEOF
27778 if ac_fn_cxx_try_compile "$LINENO"; then :
27779 glibcxx_cv_func_sincosl_use=yes
27780 else
27781 glibcxx_cv_func_sincosl_use=no
27783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27784 ac_ext=c
27785 ac_cpp='$CPP $CPPFLAGS'
27786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27795 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27797 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27798 for ac_func in sincosl
27799 do :
27800 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27801 if test "x$ac_cv_func_sincosl" = xyes; then :
27802 cat >>confdefs.h <<_ACEOF
27803 #define HAVE_SINCOSL 1
27804 _ACEOF
27807 done
27809 else
27811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27812 $as_echo_n "checking for _sincosl declaration... " >&6; }
27813 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27814 if ${glibcxx_cv_func__sincosl_use+:} false; then :
27815 $as_echo_n "(cached) " >&6
27816 else
27819 ac_ext=cpp
27820 ac_cpp='$CXXCPP $CPPFLAGS'
27821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27826 /* end confdefs.h. */
27827 #include <math.h>
27829 main ()
27831 _sincosl(0, 0, 0);
27833 return 0;
27835 _ACEOF
27836 if ac_fn_cxx_try_compile "$LINENO"; then :
27837 glibcxx_cv_func__sincosl_use=yes
27838 else
27839 glibcxx_cv_func__sincosl_use=no
27841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27842 ac_ext=c
27843 ac_cpp='$CPP $CPPFLAGS'
27844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27853 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27855 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27856 for ac_func in _sincosl
27857 do :
27858 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27859 if test "x$ac_cv_func__sincosl" = xyes; then :
27860 cat >>confdefs.h <<_ACEOF
27861 #define HAVE__SINCOSL 1
27862 _ACEOF
27865 done
27874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27875 $as_echo_n "checking for finitel declaration... " >&6; }
27876 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27877 if ${glibcxx_cv_func_finitel_use+:} false; then :
27878 $as_echo_n "(cached) " >&6
27879 else
27882 ac_ext=cpp
27883 ac_cpp='$CXXCPP $CPPFLAGS'
27884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27889 /* end confdefs.h. */
27890 #include <math.h>
27891 #ifdef HAVE_IEEEFP_H
27892 #include <ieeefp.h>
27893 #endif
27896 main ()
27898 finitel(0);
27900 return 0;
27902 _ACEOF
27903 if ac_fn_cxx_try_compile "$LINENO"; then :
27904 glibcxx_cv_func_finitel_use=yes
27905 else
27906 glibcxx_cv_func_finitel_use=no
27908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27909 ac_ext=c
27910 ac_cpp='$CPP $CPPFLAGS'
27911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27920 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27922 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27923 for ac_func in finitel
27924 do :
27925 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27926 if test "x$ac_cv_func_finitel" = xyes; then :
27927 cat >>confdefs.h <<_ACEOF
27928 #define HAVE_FINITEL 1
27929 _ACEOF
27932 done
27934 else
27936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27937 $as_echo_n "checking for _finitel declaration... " >&6; }
27938 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27939 if ${glibcxx_cv_func__finitel_use+:} false; then :
27940 $as_echo_n "(cached) " >&6
27941 else
27944 ac_ext=cpp
27945 ac_cpp='$CXXCPP $CPPFLAGS'
27946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27951 /* end confdefs.h. */
27952 #include <math.h>
27953 #ifdef HAVE_IEEEFP_H
27954 #include <ieeefp.h>
27955 #endif
27958 main ()
27960 _finitel(0);
27962 return 0;
27964 _ACEOF
27965 if ac_fn_cxx_try_compile "$LINENO"; then :
27966 glibcxx_cv_func__finitel_use=yes
27967 else
27968 glibcxx_cv_func__finitel_use=no
27970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27971 ac_ext=c
27972 ac_cpp='$CPP $CPPFLAGS'
27973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27982 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27984 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27985 for ac_func in _finitel
27986 do :
27987 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27988 if test "x$ac_cv_func__finitel" = xyes; then :
27989 cat >>confdefs.h <<_ACEOF
27990 #define HAVE__FINITEL 1
27991 _ACEOF
27994 done
28002 LIBS="$ac_save_LIBS"
28003 CXXFLAGS="$ac_save_CXXFLAGS"
28006 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28007 ac_save_CXXFLAGS="$CXXFLAGS"
28008 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
28012 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
28013 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
28014 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
28015 $as_echo_n "(cached) " >&6
28016 else
28019 ac_ext=cpp
28020 ac_cpp='$CXXCPP $CPPFLAGS'
28021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28026 /* end confdefs.h. */
28027 #include <stdlib.h>
28029 main ()
28031 at_quick_exit(0);
28033 return 0;
28035 _ACEOF
28036 if ac_fn_cxx_try_compile "$LINENO"; then :
28037 glibcxx_cv_func_at_quick_exit_use=yes
28038 else
28039 glibcxx_cv_func_at_quick_exit_use=no
28041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28042 ac_ext=c
28043 ac_cpp='$CPP $CPPFLAGS'
28044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
28053 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
28054 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
28055 for ac_func in at_quick_exit
28056 do :
28057 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
28058 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
28059 cat >>confdefs.h <<_ACEOF
28060 #define HAVE_AT_QUICK_EXIT 1
28061 _ACEOF
28064 done
28069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
28070 $as_echo_n "checking for quick_exit declaration... " >&6; }
28071 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
28072 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
28073 $as_echo_n "(cached) " >&6
28074 else
28077 ac_ext=cpp
28078 ac_cpp='$CXXCPP $CPPFLAGS'
28079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28084 /* end confdefs.h. */
28085 #include <stdlib.h>
28087 main ()
28089 quick_exit(0);
28091 return 0;
28093 _ACEOF
28094 if ac_fn_cxx_try_compile "$LINENO"; then :
28095 glibcxx_cv_func_quick_exit_use=yes
28096 else
28097 glibcxx_cv_func_quick_exit_use=no
28099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28100 ac_ext=c
28101 ac_cpp='$CPP $CPPFLAGS'
28102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
28111 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
28112 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
28113 for ac_func in quick_exit
28114 do :
28115 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
28116 if test "x$ac_cv_func_quick_exit" = xyes; then :
28117 cat >>confdefs.h <<_ACEOF
28118 #define HAVE_QUICK_EXIT 1
28119 _ACEOF
28122 done
28127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
28128 $as_echo_n "checking for strtold declaration... " >&6; }
28129 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
28130 if ${glibcxx_cv_func_strtold_use+:} false; then :
28131 $as_echo_n "(cached) " >&6
28132 else
28135 ac_ext=cpp
28136 ac_cpp='$CXXCPP $CPPFLAGS'
28137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28142 /* end confdefs.h. */
28143 #include <stdlib.h>
28145 main ()
28147 strtold(0, 0);
28149 return 0;
28151 _ACEOF
28152 if ac_fn_cxx_try_compile "$LINENO"; then :
28153 glibcxx_cv_func_strtold_use=yes
28154 else
28155 glibcxx_cv_func_strtold_use=no
28157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28158 ac_ext=c
28159 ac_cpp='$CPP $CPPFLAGS'
28160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
28169 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
28170 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28171 for ac_func in strtold
28172 do :
28173 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
28174 if test "x$ac_cv_func_strtold" = xyes; then :
28175 cat >>confdefs.h <<_ACEOF
28176 #define HAVE_STRTOLD 1
28177 _ACEOF
28180 done
28187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
28188 $as_echo_n "checking for strtof declaration... " >&6; }
28189 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
28190 if ${glibcxx_cv_func_strtof_use+:} false; then :
28191 $as_echo_n "(cached) " >&6
28192 else
28195 ac_ext=cpp
28196 ac_cpp='$CXXCPP $CPPFLAGS'
28197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28202 /* end confdefs.h. */
28203 #include <stdlib.h>
28205 main ()
28207 strtof(0, 0);
28209 return 0;
28211 _ACEOF
28212 if ac_fn_cxx_try_compile "$LINENO"; then :
28213 glibcxx_cv_func_strtof_use=yes
28214 else
28215 glibcxx_cv_func_strtof_use=no
28217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28218 ac_ext=c
28219 ac_cpp='$CPP $CPPFLAGS'
28220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
28229 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
28230 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
28231 for ac_func in strtof
28232 do :
28233 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
28234 if test "x$ac_cv_func_strtof" = xyes; then :
28235 cat >>confdefs.h <<_ACEOF
28236 #define HAVE_STRTOF 1
28237 _ACEOF
28240 done
28247 CXXFLAGS="$ac_save_CXXFLAGS"
28250 # For /dev/random and /dev/urandom for std::random_device.
28253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device" >&5
28254 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device... " >&6; }
28255 if ${glibcxx_cv_dev_random+:} false; then :
28256 $as_echo_n "(cached) " >&6
28257 else
28259 if test -r /dev/random && test -r /dev/urandom; then
28260 ## For MSys environment the test above is detected as false-positive
28261 ## on mingw-targets. So disable it explicitly for them.
28262 case ${target_os} in
28263 *mingw*) glibcxx_cv_dev_random=no ;;
28264 *) glibcxx_cv_dev_random=yes ;;
28265 esac
28266 else
28267 glibcxx_cv_dev_random=no;
28272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dev_random" >&5
28273 $as_echo "$glibcxx_cv_dev_random" >&6; }
28275 if test x"$glibcxx_cv_dev_random" = x"yes"; then
28277 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
28280 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
28286 # For TLS support.
28289 # Check whether --enable-tls was given.
28290 if test "${enable_tls+set}" = set; then :
28291 enableval=$enable_tls;
28292 case "$enableval" in
28293 yes|no) ;;
28294 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
28295 esac
28297 else
28298 enable_tls=yes
28302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
28303 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
28304 if ${gcc_cv_have_tls+:} false; then :
28305 $as_echo_n "(cached) " >&6
28306 else
28308 if test "$cross_compiling" = yes; then :
28309 if test x$gcc_no_link = xyes; then
28310 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28313 /* end confdefs.h. */
28314 __thread int a; int b; int main() { return a = b; }
28315 _ACEOF
28316 if ac_fn_c_try_link "$LINENO"; then :
28317 chktls_save_LDFLAGS="$LDFLAGS"
28318 case $host in
28319 *-*-linux*)
28320 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
28322 esac
28323 chktls_save_CFLAGS="$CFLAGS"
28324 CFLAGS="-fPIC $CFLAGS"
28325 if test x$gcc_no_link = xyes; then
28326 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28329 /* end confdefs.h. */
28330 int f() { return 0; }
28331 _ACEOF
28332 if ac_fn_c_try_link "$LINENO"; then :
28333 if test x$gcc_no_link = xyes; then
28334 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28337 /* end confdefs.h. */
28338 __thread int a; int b; int f() { return a = b; }
28339 _ACEOF
28340 if ac_fn_c_try_link "$LINENO"; then :
28341 gcc_cv_have_tls=yes
28342 else
28343 gcc_cv_have_tls=no
28345 rm -f core conftest.err conftest.$ac_objext \
28346 conftest$ac_exeext conftest.$ac_ext
28347 else
28348 gcc_cv_have_tls=yes
28350 rm -f core conftest.err conftest.$ac_objext \
28351 conftest$ac_exeext conftest.$ac_ext
28352 CFLAGS="$chktls_save_CFLAGS"
28353 LDFLAGS="$chktls_save_LDFLAGS"
28354 else
28355 gcc_cv_have_tls=no
28357 rm -f core conftest.err conftest.$ac_objext \
28358 conftest$ac_exeext conftest.$ac_ext
28361 else
28362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28363 /* end confdefs.h. */
28364 __thread int a; int b; int main() { return a = b; }
28365 _ACEOF
28366 if ac_fn_c_try_run "$LINENO"; then :
28367 chktls_save_LDFLAGS="$LDFLAGS"
28368 LDFLAGS="-static $LDFLAGS"
28369 if test x$gcc_no_link = xyes; then
28370 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28373 /* end confdefs.h. */
28374 int main() { return 0; }
28375 _ACEOF
28376 if ac_fn_c_try_link "$LINENO"; then :
28377 if test "$cross_compiling" = yes; then :
28378 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28379 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28380 as_fn_error $? "cannot run test program while cross compiling
28381 See \`config.log' for more details" "$LINENO" 5; }
28382 else
28383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28384 /* end confdefs.h. */
28385 __thread int a; int b; int main() { return a = b; }
28386 _ACEOF
28387 if ac_fn_c_try_run "$LINENO"; then :
28388 gcc_cv_have_tls=yes
28389 else
28390 gcc_cv_have_tls=no
28392 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28393 conftest.$ac_objext conftest.beam conftest.$ac_ext
28396 else
28397 gcc_cv_have_tls=yes
28399 rm -f core conftest.err conftest.$ac_objext \
28400 conftest$ac_exeext conftest.$ac_ext
28401 LDFLAGS="$chktls_save_LDFLAGS"
28402 if test $gcc_cv_have_tls = yes; then
28403 chktls_save_CFLAGS="$CFLAGS"
28404 thread_CFLAGS=failed
28405 for flag in '' '-pthread' '-lpthread'; do
28406 CFLAGS="$flag $chktls_save_CFLAGS"
28407 if test x$gcc_no_link = xyes; then
28408 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28411 /* end confdefs.h. */
28412 #include <pthread.h>
28413 void *g(void *d) { return NULL; }
28415 main ()
28417 pthread_t t; pthread_create(&t,NULL,g,NULL);
28419 return 0;
28421 _ACEOF
28422 if ac_fn_c_try_link "$LINENO"; then :
28423 thread_CFLAGS="$flag"
28425 rm -f core conftest.err conftest.$ac_objext \
28426 conftest$ac_exeext conftest.$ac_ext
28427 if test "X$thread_CFLAGS" != Xfailed; then
28428 break
28430 done
28431 CFLAGS="$chktls_save_CFLAGS"
28432 if test "X$thread_CFLAGS" != Xfailed; then
28433 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28434 if test "$cross_compiling" = yes; then :
28435 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28436 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28437 as_fn_error $? "cannot run test program while cross compiling
28438 See \`config.log' for more details" "$LINENO" 5; }
28439 else
28440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28441 /* end confdefs.h. */
28442 #include <pthread.h>
28443 __thread int a;
28444 static int *volatile a_in_other_thread;
28445 static void *
28446 thread_func (void *arg)
28448 a_in_other_thread = &a;
28449 return (void *)0;
28452 main ()
28454 pthread_t thread;
28455 void *thread_retval;
28456 int *volatile a_in_main_thread;
28457 a_in_main_thread = &a;
28458 if (pthread_create (&thread, (pthread_attr_t *)0,
28459 thread_func, (void *)0))
28460 return 0;
28461 if (pthread_join (thread, &thread_retval))
28462 return 0;
28463 return (a_in_other_thread == a_in_main_thread);
28465 return 0;
28467 _ACEOF
28468 if ac_fn_c_try_run "$LINENO"; then :
28469 gcc_cv_have_tls=yes
28470 else
28471 gcc_cv_have_tls=no
28473 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28474 conftest.$ac_objext conftest.beam conftest.$ac_ext
28477 CFLAGS="$chktls_save_CFLAGS"
28480 else
28481 gcc_cv_have_tls=no
28483 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28484 conftest.$ac_objext conftest.beam conftest.$ac_ext
28488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28489 $as_echo "$gcc_cv_have_tls" >&6; }
28490 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28492 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28496 for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28497 do :
28498 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28499 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28500 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28501 cat >>confdefs.h <<_ACEOF
28502 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28503 _ACEOF
28506 done
28508 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28509 do :
28510 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28511 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28512 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28513 cat >>confdefs.h <<_ACEOF
28514 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28515 _ACEOF
28518 done
28520 for ac_func in _wfopen
28521 do :
28522 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
28523 if test "x$ac_cv_func__wfopen" = xyes; then :
28524 cat >>confdefs.h <<_ACEOF
28525 #define HAVE__WFOPEN 1
28526 _ACEOF
28529 done
28532 # C11 functions for C++17 library
28533 for ac_func in timespec_get
28534 do :
28535 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
28536 if test "x$ac_cv_func_timespec_get" = xyes; then :
28537 cat >>confdefs.h <<_ACEOF
28538 #define HAVE_TIMESPEC_GET 1
28539 _ACEOF
28542 done
28545 # For Networking TS.
28546 for ac_func in sockatmark
28547 do :
28548 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
28549 if test "x$ac_cv_func_sockatmark" = xyes; then :
28550 cat >>confdefs.h <<_ACEOF
28551 #define HAVE_SOCKATMARK 1
28552 _ACEOF
28555 done
28558 # For iconv support.
28560 if test "X$prefix" = "XNONE"; then
28561 acl_final_prefix="$ac_default_prefix"
28562 else
28563 acl_final_prefix="$prefix"
28565 if test "X$exec_prefix" = "XNONE"; then
28566 acl_final_exec_prefix='${prefix}'
28567 else
28568 acl_final_exec_prefix="$exec_prefix"
28570 acl_save_prefix="$prefix"
28571 prefix="$acl_final_prefix"
28572 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28573 prefix="$acl_save_prefix"
28576 # Check whether --with-gnu-ld was given.
28577 if test "${with_gnu_ld+set}" = set; then :
28578 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28579 else
28580 with_gnu_ld=no
28583 # Prepare PATH_SEPARATOR.
28584 # The user is always right.
28585 if test "${PATH_SEPARATOR+set}" != set; then
28586 echo "#! /bin/sh" >conf$$.sh
28587 echo "exit 0" >>conf$$.sh
28588 chmod +x conf$$.sh
28589 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28590 PATH_SEPARATOR=';'
28591 else
28592 PATH_SEPARATOR=:
28594 rm -f conf$$.sh
28596 ac_prog=ld
28597 if test "$GCC" = yes; then
28598 # Check if gcc -print-prog-name=ld gives a path.
28599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28600 $as_echo_n "checking for ld used by GCC... " >&6; }
28601 case $host in
28602 *-*-mingw*)
28603 # gcc leaves a trailing carriage return which upsets mingw
28604 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28606 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28607 esac
28608 case $ac_prog in
28609 # Accept absolute paths.
28610 [\\/]* | [A-Za-z]:[\\/]*)
28611 re_direlt='/[^/][^/]*/\.\./'
28612 # Canonicalize the path of ld
28613 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28614 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28615 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28616 done
28617 test -z "$LD" && LD="$ac_prog"
28620 # If it fails, then pretend we aren't using GCC.
28621 ac_prog=ld
28624 # If it is relative, then search for the first ld in PATH.
28625 with_gnu_ld=unknown
28627 esac
28628 elif test "$with_gnu_ld" = yes; then
28629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28630 $as_echo_n "checking for GNU ld... " >&6; }
28631 else
28632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28633 $as_echo_n "checking for non-GNU ld... " >&6; }
28635 if ${acl_cv_path_LD+:} false; then :
28636 $as_echo_n "(cached) " >&6
28637 else
28638 if test -z "$LD"; then
28639 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28640 for ac_dir in $PATH; do
28641 test -z "$ac_dir" && ac_dir=.
28642 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28643 acl_cv_path_LD="$ac_dir/$ac_prog"
28644 # Check to see if the program is GNU ld. I'd rather use --version,
28645 # but apparently some GNU ld's only accept -v.
28646 # Break only if it was the GNU/non-GNU ld that we prefer.
28647 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28648 test "$with_gnu_ld" != no && break
28649 else
28650 test "$with_gnu_ld" != yes && break
28653 done
28654 IFS="$ac_save_ifs"
28655 else
28656 acl_cv_path_LD="$LD" # Let the user override the test with a path.
28660 LD="$acl_cv_path_LD"
28661 if test -n "$LD"; then
28662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28663 $as_echo "$LD" >&6; }
28664 else
28665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28666 $as_echo "no" >&6; }
28668 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
28669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28670 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28671 if ${acl_cv_prog_gnu_ld+:} false; then :
28672 $as_echo_n "(cached) " >&6
28673 else
28674 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28675 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28676 acl_cv_prog_gnu_ld=yes
28677 else
28678 acl_cv_prog_gnu_ld=no
28681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28682 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
28683 with_gnu_ld=$acl_cv_prog_gnu_ld
28687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28688 $as_echo_n "checking for shared library run path origin... " >&6; }
28689 if ${acl_cv_rpath+:} false; then :
28690 $as_echo_n "(cached) " >&6
28691 else
28693 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28694 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28695 . ./conftest.sh
28696 rm -f ./conftest.sh
28697 acl_cv_rpath=done
28700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28701 $as_echo "$acl_cv_rpath" >&6; }
28702 wl="$acl_cv_wl"
28703 libext="$acl_cv_libext"
28704 shlibext="$acl_cv_shlibext"
28705 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28706 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28707 hardcode_direct="$acl_cv_hardcode_direct"
28708 hardcode_minus_L="$acl_cv_hardcode_minus_L"
28709 # Check whether --enable-rpath was given.
28710 if test "${enable_rpath+set}" = set; then :
28711 enableval=$enable_rpath; :
28712 else
28713 enable_rpath=yes
28723 use_additional=yes
28725 acl_save_prefix="$prefix"
28726 prefix="$acl_final_prefix"
28727 acl_save_exec_prefix="$exec_prefix"
28728 exec_prefix="$acl_final_exec_prefix"
28730 eval additional_includedir=\"$includedir\"
28731 eval additional_libdir=\"$libdir\"
28733 exec_prefix="$acl_save_exec_prefix"
28734 prefix="$acl_save_prefix"
28737 # Check whether --with-libiconv-prefix was given.
28738 if test "${with_libiconv_prefix+set}" = set; then :
28739 withval=$with_libiconv_prefix;
28740 if test "X$withval" = "Xno"; then
28741 use_additional=no
28742 else
28743 if test "X$withval" = "X"; then
28745 acl_save_prefix="$prefix"
28746 prefix="$acl_final_prefix"
28747 acl_save_exec_prefix="$exec_prefix"
28748 exec_prefix="$acl_final_exec_prefix"
28750 eval additional_includedir=\"$includedir\"
28751 eval additional_libdir=\"$libdir\"
28753 exec_prefix="$acl_save_exec_prefix"
28754 prefix="$acl_save_prefix"
28756 else
28757 additional_includedir="$withval/include"
28758 additional_libdir="$withval/lib"
28764 LIBICONV=
28765 LTLIBICONV=
28766 INCICONV=
28767 rpathdirs=
28768 ltrpathdirs=
28769 names_already_handled=
28770 names_next_round='iconv '
28771 while test -n "$names_next_round"; do
28772 names_this_round="$names_next_round"
28773 names_next_round=
28774 for name in $names_this_round; do
28775 already_handled=
28776 for n in $names_already_handled; do
28777 if test "$n" = "$name"; then
28778 already_handled=yes
28779 break
28781 done
28782 if test -z "$already_handled"; then
28783 names_already_handled="$names_already_handled $name"
28784 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28785 eval value=\"\$HAVE_LIB$uppername\"
28786 if test -n "$value"; then
28787 if test "$value" = yes; then
28788 eval value=\"\$LIB$uppername\"
28789 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28790 eval value=\"\$LTLIB$uppername\"
28791 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28792 else
28795 else
28796 found_dir=
28797 found_la=
28798 found_so=
28799 found_a=
28800 if test $use_additional = yes; then
28801 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
28802 found_dir="$additional_libdir"
28803 found_so="$additional_libdir/lib$name.$shlibext"
28804 if test -f "$additional_libdir/lib$name.la"; then
28805 found_la="$additional_libdir/lib$name.la"
28807 else
28808 if test -f "$additional_libdir/lib$name.$libext"; then
28809 found_dir="$additional_libdir"
28810 found_a="$additional_libdir/lib$name.$libext"
28811 if test -f "$additional_libdir/lib$name.la"; then
28812 found_la="$additional_libdir/lib$name.la"
28817 if test "X$found_dir" = "X"; then
28818 for x in $LDFLAGS $LTLIBICONV; do
28820 acl_save_prefix="$prefix"
28821 prefix="$acl_final_prefix"
28822 acl_save_exec_prefix="$exec_prefix"
28823 exec_prefix="$acl_final_exec_prefix"
28824 eval x=\"$x\"
28825 exec_prefix="$acl_save_exec_prefix"
28826 prefix="$acl_save_prefix"
28828 case "$x" in
28829 -L*)
28830 dir=`echo "X$x" | sed -e 's/^X-L//'`
28831 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
28832 found_dir="$dir"
28833 found_so="$dir/lib$name.$shlibext"
28834 if test -f "$dir/lib$name.la"; then
28835 found_la="$dir/lib$name.la"
28837 else
28838 if test -f "$dir/lib$name.$libext"; then
28839 found_dir="$dir"
28840 found_a="$dir/lib$name.$libext"
28841 if test -f "$dir/lib$name.la"; then
28842 found_la="$dir/lib$name.la"
28847 esac
28848 if test "X$found_dir" != "X"; then
28849 break
28851 done
28853 if test "X$found_dir" != "X"; then
28854 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28855 if test "X$found_so" != "X"; then
28856 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28857 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28858 else
28859 haveit=
28860 for x in $ltrpathdirs; do
28861 if test "X$x" = "X$found_dir"; then
28862 haveit=yes
28863 break
28865 done
28866 if test -z "$haveit"; then
28867 ltrpathdirs="$ltrpathdirs $found_dir"
28869 if test "$hardcode_direct" = yes; then
28870 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28871 else
28872 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28873 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28874 haveit=
28875 for x in $rpathdirs; do
28876 if test "X$x" = "X$found_dir"; then
28877 haveit=yes
28878 break
28880 done
28881 if test -z "$haveit"; then
28882 rpathdirs="$rpathdirs $found_dir"
28884 else
28885 haveit=
28886 for x in $LDFLAGS $LIBICONV; do
28888 acl_save_prefix="$prefix"
28889 prefix="$acl_final_prefix"
28890 acl_save_exec_prefix="$exec_prefix"
28891 exec_prefix="$acl_final_exec_prefix"
28892 eval x=\"$x\"
28893 exec_prefix="$acl_save_exec_prefix"
28894 prefix="$acl_save_prefix"
28896 if test "X$x" = "X-L$found_dir"; then
28897 haveit=yes
28898 break
28900 done
28901 if test -z "$haveit"; then
28902 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28904 if test "$hardcode_minus_L" != no; then
28905 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28906 else
28907 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28912 else
28913 if test "X$found_a" != "X"; then
28914 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28915 else
28916 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28919 additional_includedir=
28920 case "$found_dir" in
28921 */lib | */lib/)
28922 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28923 additional_includedir="$basedir/include"
28925 esac
28926 if test "X$additional_includedir" != "X"; then
28927 if test "X$additional_includedir" != "X/usr/include"; then
28928 haveit=
28929 if test "X$additional_includedir" = "X/usr/local/include"; then
28930 if test -n "$GCC"; then
28931 case $host_os in
28932 linux*) haveit=yes;;
28933 esac
28936 if test -z "$haveit"; then
28937 for x in $CPPFLAGS $INCICONV; do
28939 acl_save_prefix="$prefix"
28940 prefix="$acl_final_prefix"
28941 acl_save_exec_prefix="$exec_prefix"
28942 exec_prefix="$acl_final_exec_prefix"
28943 eval x=\"$x\"
28944 exec_prefix="$acl_save_exec_prefix"
28945 prefix="$acl_save_prefix"
28947 if test "X$x" = "X-I$additional_includedir"; then
28948 haveit=yes
28949 break
28951 done
28952 if test -z "$haveit"; then
28953 if test -d "$additional_includedir"; then
28954 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28960 if test -n "$found_la"; then
28961 save_libdir="$libdir"
28962 case "$found_la" in
28963 */* | *\\*) . "$found_la" ;;
28964 *) . "./$found_la" ;;
28965 esac
28966 libdir="$save_libdir"
28967 for dep in $dependency_libs; do
28968 case "$dep" in
28969 -L*)
28970 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28971 if test "X$additional_libdir" != "X/usr/lib"; then
28972 haveit=
28973 if test "X$additional_libdir" = "X/usr/local/lib"; then
28974 if test -n "$GCC"; then
28975 case $host_os in
28976 linux*) haveit=yes;;
28977 esac
28980 if test -z "$haveit"; then
28981 haveit=
28982 for x in $LDFLAGS $LIBICONV; do
28984 acl_save_prefix="$prefix"
28985 prefix="$acl_final_prefix"
28986 acl_save_exec_prefix="$exec_prefix"
28987 exec_prefix="$acl_final_exec_prefix"
28988 eval x=\"$x\"
28989 exec_prefix="$acl_save_exec_prefix"
28990 prefix="$acl_save_prefix"
28992 if test "X$x" = "X-L$additional_libdir"; then
28993 haveit=yes
28994 break
28996 done
28997 if test -z "$haveit"; then
28998 if test -d "$additional_libdir"; then
28999 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
29002 haveit=
29003 for x in $LDFLAGS $LTLIBICONV; do
29005 acl_save_prefix="$prefix"
29006 prefix="$acl_final_prefix"
29007 acl_save_exec_prefix="$exec_prefix"
29008 exec_prefix="$acl_final_exec_prefix"
29009 eval x=\"$x\"
29010 exec_prefix="$acl_save_exec_prefix"
29011 prefix="$acl_save_prefix"
29013 if test "X$x" = "X-L$additional_libdir"; then
29014 haveit=yes
29015 break
29017 done
29018 if test -z "$haveit"; then
29019 if test -d "$additional_libdir"; then
29020 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
29026 -R*)
29027 dir=`echo "X$dep" | sed -e 's/^X-R//'`
29028 if test "$enable_rpath" != no; then
29029 haveit=
29030 for x in $rpathdirs; do
29031 if test "X$x" = "X$dir"; then
29032 haveit=yes
29033 break
29035 done
29036 if test -z "$haveit"; then
29037 rpathdirs="$rpathdirs $dir"
29039 haveit=
29040 for x in $ltrpathdirs; do
29041 if test "X$x" = "X$dir"; then
29042 haveit=yes
29043 break
29045 done
29046 if test -z "$haveit"; then
29047 ltrpathdirs="$ltrpathdirs $dir"
29051 -l*)
29052 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
29054 *.la)
29055 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
29058 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
29059 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
29061 esac
29062 done
29064 else
29065 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
29066 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
29070 done
29071 done
29072 if test "X$rpathdirs" != "X"; then
29073 if test -n "$hardcode_libdir_separator"; then
29074 alldirs=
29075 for found_dir in $rpathdirs; do
29076 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
29077 done
29078 acl_save_libdir="$libdir"
29079 libdir="$alldirs"
29080 eval flag=\"$hardcode_libdir_flag_spec\"
29081 libdir="$acl_save_libdir"
29082 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
29083 else
29084 for found_dir in $rpathdirs; do
29085 acl_save_libdir="$libdir"
29086 libdir="$found_dir"
29087 eval flag=\"$hardcode_libdir_flag_spec\"
29088 libdir="$acl_save_libdir"
29089 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
29090 done
29093 if test "X$ltrpathdirs" != "X"; then
29094 for found_dir in $ltrpathdirs; do
29095 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
29096 done
29105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
29106 $as_echo_n "checking for iconv... " >&6; }
29107 if ${am_cv_func_iconv+:} false; then :
29108 $as_echo_n "(cached) " >&6
29109 else
29111 am_cv_func_iconv="no, consider installing GNU libiconv"
29112 am_cv_lib_iconv=no
29113 am_save_CPPFLAGS="$CPPFLAGS"
29114 CPPFLAGS="$CPPFLAGS $INCICONV"
29115 if test x$gcc_no_link = xyes; then
29116 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29119 /* end confdefs.h. */
29120 #include <stdlib.h>
29121 #include <iconv.h>
29123 main ()
29125 iconv_t cd = iconv_open("","");
29126 iconv(cd,NULL,NULL,NULL,NULL);
29127 iconv_close(cd);
29129 return 0;
29131 _ACEOF
29132 if ac_fn_c_try_link "$LINENO"; then :
29133 am_cv_func_iconv=yes
29135 rm -f core conftest.err conftest.$ac_objext \
29136 conftest$ac_exeext conftest.$ac_ext
29137 CPPFLAGS="$am_save_CPPFLAGS"
29139 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
29140 for _libs in .libs _libs; do
29141 am_save_CPPFLAGS="$CPPFLAGS"
29142 am_save_LIBS="$LIBS"
29143 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
29144 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
29145 if test x$gcc_no_link = xyes; then
29146 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29149 /* end confdefs.h. */
29150 #include <stdlib.h>
29151 #include <iconv.h>
29153 main ()
29155 iconv_t cd = iconv_open("","");
29156 iconv(cd,NULL,NULL,NULL,NULL);
29157 iconv_close(cd);
29159 return 0;
29161 _ACEOF
29162 if ac_fn_c_try_link "$LINENO"; then :
29163 INCICONV="-I../libiconv/include"
29164 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
29165 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
29166 am_cv_lib_iconv=yes
29167 am_cv_func_iconv=yes
29169 rm -f core conftest.err conftest.$ac_objext \
29170 conftest$ac_exeext conftest.$ac_ext
29171 CPPFLAGS="$am_save_CPPFLAGS"
29172 LIBS="$am_save_LIBS"
29173 if test "$am_cv_func_iconv" = "yes"; then
29174 break
29176 done
29179 if test "$am_cv_func_iconv" != yes; then
29180 am_save_CPPFLAGS="$CPPFLAGS"
29181 am_save_LIBS="$LIBS"
29182 CPPFLAGS="$CPPFLAGS $INCICONV"
29183 LIBS="$LIBS $LIBICONV"
29184 if test x$gcc_no_link = xyes; then
29185 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29188 /* end confdefs.h. */
29189 #include <stdlib.h>
29190 #include <iconv.h>
29192 main ()
29194 iconv_t cd = iconv_open("","");
29195 iconv(cd,NULL,NULL,NULL,NULL);
29196 iconv_close(cd);
29198 return 0;
29200 _ACEOF
29201 if ac_fn_c_try_link "$LINENO"; then :
29202 am_cv_lib_iconv=yes
29203 am_cv_func_iconv=yes
29205 rm -f core conftest.err conftest.$ac_objext \
29206 conftest$ac_exeext conftest.$ac_ext
29207 CPPFLAGS="$am_save_CPPFLAGS"
29208 LIBS="$am_save_LIBS"
29212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
29213 $as_echo "$am_cv_func_iconv" >&6; }
29214 if test "$am_cv_func_iconv" = yes; then
29216 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29219 if test "$am_cv_lib_iconv" = yes; then
29221 for element in $INCICONV; do
29222 haveit=
29223 for x in $CPPFLAGS; do
29225 acl_save_prefix="$prefix"
29226 prefix="$acl_final_prefix"
29227 acl_save_exec_prefix="$exec_prefix"
29228 exec_prefix="$acl_final_exec_prefix"
29229 eval x=\"$x\"
29230 exec_prefix="$acl_save_exec_prefix"
29231 prefix="$acl_save_prefix"
29233 if test "X$x" = "X$element"; then
29234 haveit=yes
29235 break
29237 done
29238 if test -z "$haveit"; then
29239 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
29241 done
29243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
29244 $as_echo_n "checking how to link with libiconv... " >&6; }
29245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
29246 $as_echo "$LIBICONV" >&6; }
29247 else
29248 LIBICONV=
29249 LTLIBICONV=
29254 if test "$am_cv_func_iconv" = yes; then
29255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
29256 $as_echo_n "checking for iconv declaration... " >&6; }
29257 if ${am_cv_proto_iconv+:} false; then :
29258 $as_echo_n "(cached) " >&6
29259 else
29261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29262 /* end confdefs.h. */
29264 #include <stdlib.h>
29265 #include <iconv.h>
29266 extern
29267 #ifdef __cplusplus
29269 #endif
29270 #if defined(__STDC__) || defined(__cplusplus)
29271 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29272 #else
29273 size_t iconv();
29274 #endif
29277 main ()
29281 return 0;
29283 _ACEOF
29284 if ac_fn_c_try_compile "$LINENO"; then :
29285 am_cv_proto_iconv_arg1=""
29286 else
29287 am_cv_proto_iconv_arg1="const"
29289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29290 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);"
29293 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
29294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
29295 }$am_cv_proto_iconv" >&5
29296 $as_echo "${ac_t:-
29297 }$am_cv_proto_iconv" >&6; }
29299 cat >>confdefs.h <<_ACEOF
29300 #define ICONV_CONST $am_cv_proto_iconv_arg1
29301 _ACEOF
29306 else
29308 # This lets us hard-code the functionality we know we'll have in the cross
29309 # target environment. "Let" is a sugar-coated word placed on an especially
29310 # dull and tedious hack, actually.
29312 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
29313 # that involve linking, can't be used:
29314 # "cannot open sim-crt0.o"
29315 # "cannot open crt0.o"
29316 # etc. All this is because there currently exists no unified, consistent
29317 # way for top level CC information to be passed down to target directories:
29318 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
29319 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
29320 # crosses can be removed.
29322 # If Canadian cross, then don't pick up tools from the build directory.
29323 # Used only in GLIBCXX_EXPORT_INCLUDES.
29324 if test -n "$with_cross_host" &&
29325 test x"$build_alias" != x"$with_cross_host" &&
29326 test x"$build" != x"$target";
29327 then
29328 CANADIAN=yes
29329 else
29330 CANADIAN=no
29333 # Construct crosses by hand, eliminating bits that need ld...
29334 # GLIBCXX_CHECK_MATH_SUPPORT
29336 # First, test for "known" system libraries. We may be using newlib even
29337 # on a hosted environment.
29338 if test "x${with_newlib}" = "xyes"; then
29339 os_include_dir="os/newlib"
29340 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
29343 # GLIBCXX_CHECK_STDLIB_SUPPORT
29344 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
29347 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29349 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29351 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29353 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29355 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29357 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29359 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29361 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29363 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29365 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29367 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29369 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29371 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29373 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29375 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29377 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29379 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29381 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29383 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29385 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29387 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29389 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29392 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29394 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
29396 else
29398 # Base decisions on target environment.
29399 case "${host}" in
29400 arm*-*-symbianelf*)
29401 # This is a freestanding configuration; there is nothing to do here.
29404 avr*-*-*)
29405 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29407 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29409 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29411 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29413 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29415 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29417 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29419 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29421 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29423 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29425 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29427 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29429 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29431 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29433 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29435 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29437 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29439 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29441 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29443 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29445 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29447 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29449 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29453 mips*-sde-elf*)
29454 # These definitions are for the SDE C library rather than newlib.
29455 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29458 # All these tests are for C++; save the language and the compiler flags.
29459 # The CXXFLAGS thing is suspicious, but based on similar bits previously
29460 # found in GLIBCXX_CONFIGURE.
29462 ac_ext=cpp
29463 ac_cpp='$CXXCPP $CPPFLAGS'
29464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29468 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29469 ac_save_CXXFLAGS="$CXXFLAGS"
29471 # Check for -ffunction-sections -fdata-sections
29472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29473 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29474 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29476 /* end confdefs.h. */
29477 int foo; void bar() { };
29479 main ()
29483 return 0;
29485 _ACEOF
29486 if ac_fn_cxx_try_compile "$LINENO"; then :
29487 ac_fdsections=yes
29488 else
29489 ac_fdsections=no
29491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29492 if test "$ac_test_CXXFLAGS" = set; then
29493 CXXFLAGS="$ac_save_CXXFLAGS"
29494 else
29495 # this is the suspicious part
29496 CXXFLAGS=''
29498 if test x"$ac_fdsections" = x"yes"; then
29499 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29502 $as_echo "$ac_fdsections" >&6; }
29504 ac_ext=c
29505 ac_cpp='$CPP $CPPFLAGS'
29506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29513 # If we're not using GNU ld, then there's no point in even trying these
29514 # tests. Check for that first. We should have already tested for gld
29515 # by now (in libtool), but require it now just to be safe...
29516 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29517 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29521 # The name set by libtool depends on the version of libtool. Shame on us
29522 # for depending on an impl detail, but c'est la vie. Older versions used
29523 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29524 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29525 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
29526 # set (hence we're using an older libtool), then set it.
29527 if test x${with_gnu_ld+set} != xset; then
29528 if test x${ac_cv_prog_gnu_ld+set} != xset; then
29529 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
29530 with_gnu_ld=no
29531 else
29532 with_gnu_ld=$ac_cv_prog_gnu_ld
29536 # Start by getting the version number. I think the libtool test already
29537 # does some of this, but throws away the result.
29538 glibcxx_ld_is_gold=no
29539 if test x"$with_gnu_ld" = x"yes"; then
29540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29541 $as_echo_n "checking for ld version... " >&6; }
29543 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29544 glibcxx_ld_is_gold=yes
29546 ldver=`$LD --version 2>/dev/null |
29547 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
29549 glibcxx_gnu_ld_version=`echo $ldver | \
29550 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
29552 $as_echo "$glibcxx_gnu_ld_version" >&6; }
29555 # Set --gc-sections.
29556 glibcxx_have_gc_sections=no
29557 if test "$glibcxx_ld_is_gold" = "yes"; then
29558 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
29559 glibcxx_have_gc_sections=yes
29561 else
29562 glibcxx_gcsections_min_ld=21602
29563 if test x"$with_gnu_ld" = x"yes" &&
29564 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
29565 glibcxx_have_gc_sections=yes
29568 if test "$glibcxx_have_gc_sections" = "yes"; then
29569 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
29570 # NB: This flag only works reliably after 2.16.1. Configure tests
29571 # for this are difficult, so hard wire a value that should work.
29573 ac_test_CFLAGS="${CFLAGS+set}"
29574 ac_save_CFLAGS="$CFLAGS"
29575 CFLAGS='-Wl,--gc-sections'
29577 # Check for -Wl,--gc-sections
29578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
29579 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
29580 if test x$gcc_no_link = xyes; then
29581 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29584 /* end confdefs.h. */
29585 int one(void) { return 1; }
29586 int two(void) { return 2; }
29589 main ()
29591 two();
29593 return 0;
29595 _ACEOF
29596 if ac_fn_c_try_link "$LINENO"; then :
29597 ac_gcsections=yes
29598 else
29599 ac_gcsections=no
29601 rm -f core conftest.err conftest.$ac_objext \
29602 conftest$ac_exeext conftest.$ac_ext
29603 if test "$ac_gcsections" = "yes"; then
29604 rm -f conftest.c
29605 touch conftest.c
29606 if $CC -c conftest.c; then
29607 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29608 grep "Warning: gc-sections option ignored" > /dev/null; then
29609 ac_gcsections=no
29612 rm -f conftest.c conftest.o conftest
29614 if test "$ac_gcsections" = "yes"; then
29615 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29618 $as_echo "$ac_gcsections" >&6; }
29620 if test "$ac_test_CFLAGS" = set; then
29621 CFLAGS="$ac_save_CFLAGS"
29622 else
29623 # this is the suspicious part
29624 CFLAGS=''
29628 # Set -z,relro.
29629 # Note this is only for shared objects.
29630 ac_ld_relro=no
29631 if test x"$with_gnu_ld" = x"yes"; then
29632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29633 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29634 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29635 if test -n "$cxx_z_relo"; then
29636 OPT_LDFLAGS="-Wl,-z,relro"
29637 ac_ld_relro=yes
29639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29640 $as_echo "$ac_ld_relro" >&6; }
29643 # Set linker optimization flags.
29644 if test x"$with_gnu_ld" = x"yes"; then
29645 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29652 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29653 ac_save_CXXFLAGS="$CXXFLAGS"
29654 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29657 $as_echo_n "checking for sin in -lm... " >&6; }
29658 if ${ac_cv_lib_m_sin+:} false; then :
29659 $as_echo_n "(cached) " >&6
29660 else
29661 ac_check_lib_save_LIBS=$LIBS
29662 LIBS="-lm $LIBS"
29663 if test x$gcc_no_link = xyes; then
29664 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29667 /* end confdefs.h. */
29669 /* Override any GCC internal prototype to avoid an error.
29670 Use char because int might match the return type of a GCC
29671 builtin and then its argument prototype would still apply. */
29672 #ifdef __cplusplus
29673 extern "C"
29674 #endif
29675 char sin ();
29677 main ()
29679 return sin ();
29681 return 0;
29683 _ACEOF
29684 if ac_fn_c_try_link "$LINENO"; then :
29685 ac_cv_lib_m_sin=yes
29686 else
29687 ac_cv_lib_m_sin=no
29689 rm -f core conftest.err conftest.$ac_objext \
29690 conftest$ac_exeext conftest.$ac_ext
29691 LIBS=$ac_check_lib_save_LIBS
29693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29694 $as_echo "$ac_cv_lib_m_sin" >&6; }
29695 if test "x$ac_cv_lib_m_sin" = xyes; then :
29696 libm="-lm"
29699 ac_save_LIBS="$LIBS"
29700 LIBS="$LIBS $libm"
29704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29705 $as_echo_n "checking for isinf declaration... " >&6; }
29706 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29707 if ${glibcxx_cv_func_isinf_use+:} false; then :
29708 $as_echo_n "(cached) " >&6
29709 else
29712 ac_ext=cpp
29713 ac_cpp='$CXXCPP $CPPFLAGS'
29714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29719 /* end confdefs.h. */
29720 #include <math.h>
29721 #ifdef HAVE_IEEEFP_H
29722 #include <ieeefp.h>
29723 #endif
29726 main ()
29728 isinf(0);
29730 return 0;
29732 _ACEOF
29733 if ac_fn_cxx_try_compile "$LINENO"; then :
29734 glibcxx_cv_func_isinf_use=yes
29735 else
29736 glibcxx_cv_func_isinf_use=no
29738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29739 ac_ext=c
29740 ac_cpp='$CPP $CPPFLAGS'
29741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29750 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29752 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29753 for ac_func in isinf
29754 do :
29755 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29756 if test "x$ac_cv_func_isinf" = xyes; then :
29757 cat >>confdefs.h <<_ACEOF
29758 #define HAVE_ISINF 1
29759 _ACEOF
29762 done
29764 else
29766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29767 $as_echo_n "checking for _isinf declaration... " >&6; }
29768 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29769 if ${glibcxx_cv_func__isinf_use+:} false; then :
29770 $as_echo_n "(cached) " >&6
29771 else
29774 ac_ext=cpp
29775 ac_cpp='$CXXCPP $CPPFLAGS'
29776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29781 /* end confdefs.h. */
29782 #include <math.h>
29783 #ifdef HAVE_IEEEFP_H
29784 #include <ieeefp.h>
29785 #endif
29788 main ()
29790 _isinf(0);
29792 return 0;
29794 _ACEOF
29795 if ac_fn_cxx_try_compile "$LINENO"; then :
29796 glibcxx_cv_func__isinf_use=yes
29797 else
29798 glibcxx_cv_func__isinf_use=no
29800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29801 ac_ext=c
29802 ac_cpp='$CPP $CPPFLAGS'
29803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29812 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29814 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29815 for ac_func in _isinf
29816 do :
29817 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29818 if test "x$ac_cv_func__isinf" = xyes; then :
29819 cat >>confdefs.h <<_ACEOF
29820 #define HAVE__ISINF 1
29821 _ACEOF
29824 done
29833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29834 $as_echo_n "checking for isnan declaration... " >&6; }
29835 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29836 if ${glibcxx_cv_func_isnan_use+:} false; then :
29837 $as_echo_n "(cached) " >&6
29838 else
29841 ac_ext=cpp
29842 ac_cpp='$CXXCPP $CPPFLAGS'
29843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29848 /* end confdefs.h. */
29849 #include <math.h>
29850 #ifdef HAVE_IEEEFP_H
29851 #include <ieeefp.h>
29852 #endif
29855 main ()
29857 isnan(0);
29859 return 0;
29861 _ACEOF
29862 if ac_fn_cxx_try_compile "$LINENO"; then :
29863 glibcxx_cv_func_isnan_use=yes
29864 else
29865 glibcxx_cv_func_isnan_use=no
29867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29868 ac_ext=c
29869 ac_cpp='$CPP $CPPFLAGS'
29870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29879 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29881 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29882 for ac_func in isnan
29883 do :
29884 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29885 if test "x$ac_cv_func_isnan" = xyes; then :
29886 cat >>confdefs.h <<_ACEOF
29887 #define HAVE_ISNAN 1
29888 _ACEOF
29891 done
29893 else
29895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29896 $as_echo_n "checking for _isnan declaration... " >&6; }
29897 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29898 if ${glibcxx_cv_func__isnan_use+:} false; then :
29899 $as_echo_n "(cached) " >&6
29900 else
29903 ac_ext=cpp
29904 ac_cpp='$CXXCPP $CPPFLAGS'
29905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29910 /* end confdefs.h. */
29911 #include <math.h>
29912 #ifdef HAVE_IEEEFP_H
29913 #include <ieeefp.h>
29914 #endif
29917 main ()
29919 _isnan(0);
29921 return 0;
29923 _ACEOF
29924 if ac_fn_cxx_try_compile "$LINENO"; then :
29925 glibcxx_cv_func__isnan_use=yes
29926 else
29927 glibcxx_cv_func__isnan_use=no
29929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29930 ac_ext=c
29931 ac_cpp='$CPP $CPPFLAGS'
29932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29941 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29943 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29944 for ac_func in _isnan
29945 do :
29946 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29947 if test "x$ac_cv_func__isnan" = xyes; then :
29948 cat >>confdefs.h <<_ACEOF
29949 #define HAVE__ISNAN 1
29950 _ACEOF
29953 done
29962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29963 $as_echo_n "checking for finite declaration... " >&6; }
29964 if test x${glibcxx_cv_func_finite_use+set} != xset; then
29965 if ${glibcxx_cv_func_finite_use+:} false; then :
29966 $as_echo_n "(cached) " >&6
29967 else
29970 ac_ext=cpp
29971 ac_cpp='$CXXCPP $CPPFLAGS'
29972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29977 /* end confdefs.h. */
29978 #include <math.h>
29979 #ifdef HAVE_IEEEFP_H
29980 #include <ieeefp.h>
29981 #endif
29984 main ()
29986 finite(0);
29988 return 0;
29990 _ACEOF
29991 if ac_fn_cxx_try_compile "$LINENO"; then :
29992 glibcxx_cv_func_finite_use=yes
29993 else
29994 glibcxx_cv_func_finite_use=no
29996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29997 ac_ext=c
29998 ac_cpp='$CPP $CPPFLAGS'
29999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
30008 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
30010 if test x$glibcxx_cv_func_finite_use = x"yes"; then
30011 for ac_func in finite
30012 do :
30013 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
30014 if test "x$ac_cv_func_finite" = xyes; then :
30015 cat >>confdefs.h <<_ACEOF
30016 #define HAVE_FINITE 1
30017 _ACEOF
30020 done
30022 else
30024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
30025 $as_echo_n "checking for _finite declaration... " >&6; }
30026 if test x${glibcxx_cv_func__finite_use+set} != xset; then
30027 if ${glibcxx_cv_func__finite_use+:} false; then :
30028 $as_echo_n "(cached) " >&6
30029 else
30032 ac_ext=cpp
30033 ac_cpp='$CXXCPP $CPPFLAGS'
30034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30039 /* end confdefs.h. */
30040 #include <math.h>
30041 #ifdef HAVE_IEEEFP_H
30042 #include <ieeefp.h>
30043 #endif
30046 main ()
30048 _finite(0);
30050 return 0;
30052 _ACEOF
30053 if ac_fn_cxx_try_compile "$LINENO"; then :
30054 glibcxx_cv_func__finite_use=yes
30055 else
30056 glibcxx_cv_func__finite_use=no
30058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30059 ac_ext=c
30060 ac_cpp='$CPP $CPPFLAGS'
30061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
30070 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
30072 if test x$glibcxx_cv_func__finite_use = x"yes"; then
30073 for ac_func in _finite
30074 do :
30075 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
30076 if test "x$ac_cv_func__finite" = xyes; then :
30077 cat >>confdefs.h <<_ACEOF
30078 #define HAVE__FINITE 1
30079 _ACEOF
30082 done
30091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
30092 $as_echo_n "checking for sincos declaration... " >&6; }
30093 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
30094 if ${glibcxx_cv_func_sincos_use+:} false; then :
30095 $as_echo_n "(cached) " >&6
30096 else
30099 ac_ext=cpp
30100 ac_cpp='$CXXCPP $CPPFLAGS'
30101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30106 /* end confdefs.h. */
30107 #include <math.h>
30109 main ()
30111 sincos(0, 0, 0);
30113 return 0;
30115 _ACEOF
30116 if ac_fn_cxx_try_compile "$LINENO"; then :
30117 glibcxx_cv_func_sincos_use=yes
30118 else
30119 glibcxx_cv_func_sincos_use=no
30121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30122 ac_ext=c
30123 ac_cpp='$CPP $CPPFLAGS'
30124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
30133 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
30135 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
30136 for ac_func in sincos
30137 do :
30138 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
30139 if test "x$ac_cv_func_sincos" = xyes; then :
30140 cat >>confdefs.h <<_ACEOF
30141 #define HAVE_SINCOS 1
30142 _ACEOF
30145 done
30147 else
30149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
30150 $as_echo_n "checking for _sincos declaration... " >&6; }
30151 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
30152 if ${glibcxx_cv_func__sincos_use+:} false; then :
30153 $as_echo_n "(cached) " >&6
30154 else
30157 ac_ext=cpp
30158 ac_cpp='$CXXCPP $CPPFLAGS'
30159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30164 /* end confdefs.h. */
30165 #include <math.h>
30167 main ()
30169 _sincos(0, 0, 0);
30171 return 0;
30173 _ACEOF
30174 if ac_fn_cxx_try_compile "$LINENO"; then :
30175 glibcxx_cv_func__sincos_use=yes
30176 else
30177 glibcxx_cv_func__sincos_use=no
30179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30180 ac_ext=c
30181 ac_cpp='$CPP $CPPFLAGS'
30182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
30191 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
30193 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
30194 for ac_func in _sincos
30195 do :
30196 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
30197 if test "x$ac_cv_func__sincos" = xyes; then :
30198 cat >>confdefs.h <<_ACEOF
30199 #define HAVE__SINCOS 1
30200 _ACEOF
30203 done
30212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
30213 $as_echo_n "checking for fpclass declaration... " >&6; }
30214 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
30215 if ${glibcxx_cv_func_fpclass_use+:} false; then :
30216 $as_echo_n "(cached) " >&6
30217 else
30220 ac_ext=cpp
30221 ac_cpp='$CXXCPP $CPPFLAGS'
30222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30227 /* end confdefs.h. */
30228 #include <math.h>
30229 #ifdef HAVE_IEEEFP_H
30230 #include <ieeefp.h>
30231 #endif
30234 main ()
30236 fpclass(0);
30238 return 0;
30240 _ACEOF
30241 if ac_fn_cxx_try_compile "$LINENO"; then :
30242 glibcxx_cv_func_fpclass_use=yes
30243 else
30244 glibcxx_cv_func_fpclass_use=no
30246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30247 ac_ext=c
30248 ac_cpp='$CPP $CPPFLAGS'
30249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
30258 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
30260 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
30261 for ac_func in fpclass
30262 do :
30263 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
30264 if test "x$ac_cv_func_fpclass" = xyes; then :
30265 cat >>confdefs.h <<_ACEOF
30266 #define HAVE_FPCLASS 1
30267 _ACEOF
30270 done
30272 else
30274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
30275 $as_echo_n "checking for _fpclass declaration... " >&6; }
30276 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
30277 if ${glibcxx_cv_func__fpclass_use+:} false; then :
30278 $as_echo_n "(cached) " >&6
30279 else
30282 ac_ext=cpp
30283 ac_cpp='$CXXCPP $CPPFLAGS'
30284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30289 /* end confdefs.h. */
30290 #include <math.h>
30291 #ifdef HAVE_IEEEFP_H
30292 #include <ieeefp.h>
30293 #endif
30296 main ()
30298 _fpclass(0);
30300 return 0;
30302 _ACEOF
30303 if ac_fn_cxx_try_compile "$LINENO"; then :
30304 glibcxx_cv_func__fpclass_use=yes
30305 else
30306 glibcxx_cv_func__fpclass_use=no
30308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30309 ac_ext=c
30310 ac_cpp='$CPP $CPPFLAGS'
30311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
30320 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
30322 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
30323 for ac_func in _fpclass
30324 do :
30325 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
30326 if test "x$ac_cv_func__fpclass" = xyes; then :
30327 cat >>confdefs.h <<_ACEOF
30328 #define HAVE__FPCLASS 1
30329 _ACEOF
30332 done
30341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
30342 $as_echo_n "checking for qfpclass declaration... " >&6; }
30343 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
30344 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
30345 $as_echo_n "(cached) " >&6
30346 else
30349 ac_ext=cpp
30350 ac_cpp='$CXXCPP $CPPFLAGS'
30351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30356 /* end confdefs.h. */
30357 #include <math.h>
30358 #ifdef HAVE_IEEEFP_H
30359 #include <ieeefp.h>
30360 #endif
30363 main ()
30365 qfpclass(0);
30367 return 0;
30369 _ACEOF
30370 if ac_fn_cxx_try_compile "$LINENO"; then :
30371 glibcxx_cv_func_qfpclass_use=yes
30372 else
30373 glibcxx_cv_func_qfpclass_use=no
30375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30376 ac_ext=c
30377 ac_cpp='$CPP $CPPFLAGS'
30378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
30387 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
30389 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
30390 for ac_func in qfpclass
30391 do :
30392 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
30393 if test "x$ac_cv_func_qfpclass" = xyes; then :
30394 cat >>confdefs.h <<_ACEOF
30395 #define HAVE_QFPCLASS 1
30396 _ACEOF
30399 done
30401 else
30403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
30404 $as_echo_n "checking for _qfpclass declaration... " >&6; }
30405 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
30406 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
30407 $as_echo_n "(cached) " >&6
30408 else
30411 ac_ext=cpp
30412 ac_cpp='$CXXCPP $CPPFLAGS'
30413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30418 /* end confdefs.h. */
30419 #include <math.h>
30420 #ifdef HAVE_IEEEFP_H
30421 #include <ieeefp.h>
30422 #endif
30425 main ()
30427 _qfpclass(0);
30429 return 0;
30431 _ACEOF
30432 if ac_fn_cxx_try_compile "$LINENO"; then :
30433 glibcxx_cv_func__qfpclass_use=yes
30434 else
30435 glibcxx_cv_func__qfpclass_use=no
30437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30438 ac_ext=c
30439 ac_cpp='$CPP $CPPFLAGS'
30440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30449 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30451 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30452 for ac_func in _qfpclass
30453 do :
30454 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30455 if test "x$ac_cv_func__qfpclass" = xyes; then :
30456 cat >>confdefs.h <<_ACEOF
30457 #define HAVE__QFPCLASS 1
30458 _ACEOF
30461 done
30470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30471 $as_echo_n "checking for hypot declaration... " >&6; }
30472 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30473 if ${glibcxx_cv_func_hypot_use+:} false; then :
30474 $as_echo_n "(cached) " >&6
30475 else
30478 ac_ext=cpp
30479 ac_cpp='$CXXCPP $CPPFLAGS'
30480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30485 /* end confdefs.h. */
30486 #include <math.h>
30488 main ()
30490 hypot(0, 0);
30492 return 0;
30494 _ACEOF
30495 if ac_fn_cxx_try_compile "$LINENO"; then :
30496 glibcxx_cv_func_hypot_use=yes
30497 else
30498 glibcxx_cv_func_hypot_use=no
30500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30501 ac_ext=c
30502 ac_cpp='$CPP $CPPFLAGS'
30503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30512 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30514 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30515 for ac_func in hypot
30516 do :
30517 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30518 if test "x$ac_cv_func_hypot" = xyes; then :
30519 cat >>confdefs.h <<_ACEOF
30520 #define HAVE_HYPOT 1
30521 _ACEOF
30524 done
30526 else
30528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30529 $as_echo_n "checking for _hypot declaration... " >&6; }
30530 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30531 if ${glibcxx_cv_func__hypot_use+:} false; then :
30532 $as_echo_n "(cached) " >&6
30533 else
30536 ac_ext=cpp
30537 ac_cpp='$CXXCPP $CPPFLAGS'
30538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30543 /* end confdefs.h. */
30544 #include <math.h>
30546 main ()
30548 _hypot(0, 0);
30550 return 0;
30552 _ACEOF
30553 if ac_fn_cxx_try_compile "$LINENO"; then :
30554 glibcxx_cv_func__hypot_use=yes
30555 else
30556 glibcxx_cv_func__hypot_use=no
30558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30559 ac_ext=c
30560 ac_cpp='$CPP $CPPFLAGS'
30561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
30570 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
30572 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30573 for ac_func in _hypot
30574 do :
30575 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
30576 if test "x$ac_cv_func__hypot" = xyes; then :
30577 cat >>confdefs.h <<_ACEOF
30578 #define HAVE__HYPOT 1
30579 _ACEOF
30582 done
30591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
30592 $as_echo_n "checking for float trig functions... " >&6; }
30593 if ${glibcxx_cv_func_float_trig_use+:} false; then :
30594 $as_echo_n "(cached) " >&6
30595 else
30598 ac_ext=cpp
30599 ac_cpp='$CXXCPP $CPPFLAGS'
30600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30605 /* end confdefs.h. */
30606 #include <math.h>
30608 main ()
30610 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30612 return 0;
30614 _ACEOF
30615 if ac_fn_cxx_try_compile "$LINENO"; then :
30616 glibcxx_cv_func_float_trig_use=yes
30617 else
30618 glibcxx_cv_func_float_trig_use=no
30620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30621 ac_ext=c
30622 ac_cpp='$CPP $CPPFLAGS'
30623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30630 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30631 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30632 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30633 do :
30634 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30635 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30636 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30637 cat >>confdefs.h <<_ACEOF
30638 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30639 _ACEOF
30642 done
30644 else
30645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30646 $as_echo_n "checking for _float trig functions... " >&6; }
30647 if ${glibcxx_cv_func__float_trig_use+:} false; then :
30648 $as_echo_n "(cached) " >&6
30649 else
30652 ac_ext=cpp
30653 ac_cpp='$CXXCPP $CPPFLAGS'
30654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30659 /* end confdefs.h. */
30660 #include <math.h>
30662 main ()
30664 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30666 return 0;
30668 _ACEOF
30669 if ac_fn_cxx_try_compile "$LINENO"; then :
30670 glibcxx_cv_func__float_trig_use=yes
30671 else
30672 glibcxx_cv_func__float_trig_use=no
30674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30675 ac_ext=c
30676 ac_cpp='$CPP $CPPFLAGS'
30677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30684 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30685 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30686 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30687 do :
30688 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30689 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30690 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30691 cat >>confdefs.h <<_ACEOF
30692 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30693 _ACEOF
30696 done
30705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30706 $as_echo_n "checking for float round functions... " >&6; }
30707 if ${glibcxx_cv_func_float_round_use+:} false; then :
30708 $as_echo_n "(cached) " >&6
30709 else
30712 ac_ext=cpp
30713 ac_cpp='$CXXCPP $CPPFLAGS'
30714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30719 /* end confdefs.h. */
30720 #include <math.h>
30722 main ()
30724 ceilf (0); floorf (0);
30726 return 0;
30728 _ACEOF
30729 if ac_fn_cxx_try_compile "$LINENO"; then :
30730 glibcxx_cv_func_float_round_use=yes
30731 else
30732 glibcxx_cv_func_float_round_use=no
30734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30735 ac_ext=c
30736 ac_cpp='$CPP $CPPFLAGS'
30737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30744 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30745 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30746 for ac_func in ceilf floorf
30747 do :
30748 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30749 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30750 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30751 cat >>confdefs.h <<_ACEOF
30752 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30753 _ACEOF
30756 done
30758 else
30759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30760 $as_echo_n "checking for _float round functions... " >&6; }
30761 if ${glibcxx_cv_func__float_round_use+:} false; then :
30762 $as_echo_n "(cached) " >&6
30763 else
30766 ac_ext=cpp
30767 ac_cpp='$CXXCPP $CPPFLAGS'
30768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30773 /* end confdefs.h. */
30774 #include <math.h>
30776 main ()
30778 _ceilf (0); _floorf (0);
30780 return 0;
30782 _ACEOF
30783 if ac_fn_cxx_try_compile "$LINENO"; then :
30784 glibcxx_cv_func__float_round_use=yes
30785 else
30786 glibcxx_cv_func__float_round_use=no
30788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30789 ac_ext=c
30790 ac_cpp='$CPP $CPPFLAGS'
30791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30798 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30799 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30800 for ac_func in _ceilf _floorf
30801 do :
30802 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30803 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30804 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30805 cat >>confdefs.h <<_ACEOF
30806 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30807 _ACEOF
30810 done
30820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30821 $as_echo_n "checking for expf declaration... " >&6; }
30822 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30823 if ${glibcxx_cv_func_expf_use+:} false; then :
30824 $as_echo_n "(cached) " >&6
30825 else
30828 ac_ext=cpp
30829 ac_cpp='$CXXCPP $CPPFLAGS'
30830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30835 /* end confdefs.h. */
30836 #include <math.h>
30837 #ifdef HAVE_IEEEFP_H
30838 #include <ieeefp.h>
30839 #endif
30842 main ()
30844 expf(0);
30846 return 0;
30848 _ACEOF
30849 if ac_fn_cxx_try_compile "$LINENO"; then :
30850 glibcxx_cv_func_expf_use=yes
30851 else
30852 glibcxx_cv_func_expf_use=no
30854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30855 ac_ext=c
30856 ac_cpp='$CPP $CPPFLAGS'
30857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30866 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30868 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30869 for ac_func in expf
30870 do :
30871 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30872 if test "x$ac_cv_func_expf" = xyes; then :
30873 cat >>confdefs.h <<_ACEOF
30874 #define HAVE_EXPF 1
30875 _ACEOF
30878 done
30880 else
30882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30883 $as_echo_n "checking for _expf declaration... " >&6; }
30884 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30885 if ${glibcxx_cv_func__expf_use+:} false; then :
30886 $as_echo_n "(cached) " >&6
30887 else
30890 ac_ext=cpp
30891 ac_cpp='$CXXCPP $CPPFLAGS'
30892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30897 /* end confdefs.h. */
30898 #include <math.h>
30899 #ifdef HAVE_IEEEFP_H
30900 #include <ieeefp.h>
30901 #endif
30904 main ()
30906 _expf(0);
30908 return 0;
30910 _ACEOF
30911 if ac_fn_cxx_try_compile "$LINENO"; then :
30912 glibcxx_cv_func__expf_use=yes
30913 else
30914 glibcxx_cv_func__expf_use=no
30916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30917 ac_ext=c
30918 ac_cpp='$CPP $CPPFLAGS'
30919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30928 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30930 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30931 for ac_func in _expf
30932 do :
30933 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30934 if test "x$ac_cv_func__expf" = xyes; then :
30935 cat >>confdefs.h <<_ACEOF
30936 #define HAVE__EXPF 1
30937 _ACEOF
30940 done
30949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30950 $as_echo_n "checking for isnanf declaration... " >&6; }
30951 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30952 if ${glibcxx_cv_func_isnanf_use+:} false; then :
30953 $as_echo_n "(cached) " >&6
30954 else
30957 ac_ext=cpp
30958 ac_cpp='$CXXCPP $CPPFLAGS'
30959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30964 /* end confdefs.h. */
30965 #include <math.h>
30966 #ifdef HAVE_IEEEFP_H
30967 #include <ieeefp.h>
30968 #endif
30971 main ()
30973 isnanf(0);
30975 return 0;
30977 _ACEOF
30978 if ac_fn_cxx_try_compile "$LINENO"; then :
30979 glibcxx_cv_func_isnanf_use=yes
30980 else
30981 glibcxx_cv_func_isnanf_use=no
30983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30984 ac_ext=c
30985 ac_cpp='$CPP $CPPFLAGS'
30986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30995 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30997 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30998 for ac_func in isnanf
30999 do :
31000 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
31001 if test "x$ac_cv_func_isnanf" = xyes; then :
31002 cat >>confdefs.h <<_ACEOF
31003 #define HAVE_ISNANF 1
31004 _ACEOF
31007 done
31009 else
31011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
31012 $as_echo_n "checking for _isnanf declaration... " >&6; }
31013 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
31014 if ${glibcxx_cv_func__isnanf_use+:} false; then :
31015 $as_echo_n "(cached) " >&6
31016 else
31019 ac_ext=cpp
31020 ac_cpp='$CXXCPP $CPPFLAGS'
31021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31026 /* end confdefs.h. */
31027 #include <math.h>
31028 #ifdef HAVE_IEEEFP_H
31029 #include <ieeefp.h>
31030 #endif
31033 main ()
31035 _isnanf(0);
31037 return 0;
31039 _ACEOF
31040 if ac_fn_cxx_try_compile "$LINENO"; then :
31041 glibcxx_cv_func__isnanf_use=yes
31042 else
31043 glibcxx_cv_func__isnanf_use=no
31045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31046 ac_ext=c
31047 ac_cpp='$CPP $CPPFLAGS'
31048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
31057 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
31059 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
31060 for ac_func in _isnanf
31061 do :
31062 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
31063 if test "x$ac_cv_func__isnanf" = xyes; then :
31064 cat >>confdefs.h <<_ACEOF
31065 #define HAVE__ISNANF 1
31066 _ACEOF
31069 done
31078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
31079 $as_echo_n "checking for isinff declaration... " >&6; }
31080 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
31081 if ${glibcxx_cv_func_isinff_use+:} false; then :
31082 $as_echo_n "(cached) " >&6
31083 else
31086 ac_ext=cpp
31087 ac_cpp='$CXXCPP $CPPFLAGS'
31088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31093 /* end confdefs.h. */
31094 #include <math.h>
31095 #ifdef HAVE_IEEEFP_H
31096 #include <ieeefp.h>
31097 #endif
31100 main ()
31102 isinff(0);
31104 return 0;
31106 _ACEOF
31107 if ac_fn_cxx_try_compile "$LINENO"; then :
31108 glibcxx_cv_func_isinff_use=yes
31109 else
31110 glibcxx_cv_func_isinff_use=no
31112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31113 ac_ext=c
31114 ac_cpp='$CPP $CPPFLAGS'
31115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
31124 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
31126 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
31127 for ac_func in isinff
31128 do :
31129 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
31130 if test "x$ac_cv_func_isinff" = xyes; then :
31131 cat >>confdefs.h <<_ACEOF
31132 #define HAVE_ISINFF 1
31133 _ACEOF
31136 done
31138 else
31140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
31141 $as_echo_n "checking for _isinff declaration... " >&6; }
31142 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
31143 if ${glibcxx_cv_func__isinff_use+:} false; then :
31144 $as_echo_n "(cached) " >&6
31145 else
31148 ac_ext=cpp
31149 ac_cpp='$CXXCPP $CPPFLAGS'
31150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31155 /* end confdefs.h. */
31156 #include <math.h>
31157 #ifdef HAVE_IEEEFP_H
31158 #include <ieeefp.h>
31159 #endif
31162 main ()
31164 _isinff(0);
31166 return 0;
31168 _ACEOF
31169 if ac_fn_cxx_try_compile "$LINENO"; then :
31170 glibcxx_cv_func__isinff_use=yes
31171 else
31172 glibcxx_cv_func__isinff_use=no
31174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31175 ac_ext=c
31176 ac_cpp='$CPP $CPPFLAGS'
31177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
31186 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
31188 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
31189 for ac_func in _isinff
31190 do :
31191 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
31192 if test "x$ac_cv_func__isinff" = xyes; then :
31193 cat >>confdefs.h <<_ACEOF
31194 #define HAVE__ISINFF 1
31195 _ACEOF
31198 done
31207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
31208 $as_echo_n "checking for atan2f declaration... " >&6; }
31209 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
31210 if ${glibcxx_cv_func_atan2f_use+:} false; then :
31211 $as_echo_n "(cached) " >&6
31212 else
31215 ac_ext=cpp
31216 ac_cpp='$CXXCPP $CPPFLAGS'
31217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31222 /* end confdefs.h. */
31223 #include <math.h>
31225 main ()
31227 atan2f(0, 0);
31229 return 0;
31231 _ACEOF
31232 if ac_fn_cxx_try_compile "$LINENO"; then :
31233 glibcxx_cv_func_atan2f_use=yes
31234 else
31235 glibcxx_cv_func_atan2f_use=no
31237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31238 ac_ext=c
31239 ac_cpp='$CPP $CPPFLAGS'
31240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
31249 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
31251 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
31252 for ac_func in atan2f
31253 do :
31254 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
31255 if test "x$ac_cv_func_atan2f" = xyes; then :
31256 cat >>confdefs.h <<_ACEOF
31257 #define HAVE_ATAN2F 1
31258 _ACEOF
31261 done
31263 else
31265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
31266 $as_echo_n "checking for _atan2f declaration... " >&6; }
31267 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
31268 if ${glibcxx_cv_func__atan2f_use+:} false; then :
31269 $as_echo_n "(cached) " >&6
31270 else
31273 ac_ext=cpp
31274 ac_cpp='$CXXCPP $CPPFLAGS'
31275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31280 /* end confdefs.h. */
31281 #include <math.h>
31283 main ()
31285 _atan2f(0, 0);
31287 return 0;
31289 _ACEOF
31290 if ac_fn_cxx_try_compile "$LINENO"; then :
31291 glibcxx_cv_func__atan2f_use=yes
31292 else
31293 glibcxx_cv_func__atan2f_use=no
31295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31296 ac_ext=c
31297 ac_cpp='$CPP $CPPFLAGS'
31298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
31307 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
31309 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
31310 for ac_func in _atan2f
31311 do :
31312 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
31313 if test "x$ac_cv_func__atan2f" = xyes; then :
31314 cat >>confdefs.h <<_ACEOF
31315 #define HAVE__ATAN2F 1
31316 _ACEOF
31319 done
31328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
31329 $as_echo_n "checking for fabsf declaration... " >&6; }
31330 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
31331 if ${glibcxx_cv_func_fabsf_use+:} false; then :
31332 $as_echo_n "(cached) " >&6
31333 else
31336 ac_ext=cpp
31337 ac_cpp='$CXXCPP $CPPFLAGS'
31338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31343 /* end confdefs.h. */
31344 #include <math.h>
31345 #ifdef HAVE_IEEEFP_H
31346 #include <ieeefp.h>
31347 #endif
31350 main ()
31352 fabsf(0);
31354 return 0;
31356 _ACEOF
31357 if ac_fn_cxx_try_compile "$LINENO"; then :
31358 glibcxx_cv_func_fabsf_use=yes
31359 else
31360 glibcxx_cv_func_fabsf_use=no
31362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31363 ac_ext=c
31364 ac_cpp='$CPP $CPPFLAGS'
31365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
31374 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
31376 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
31377 for ac_func in fabsf
31378 do :
31379 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
31380 if test "x$ac_cv_func_fabsf" = xyes; then :
31381 cat >>confdefs.h <<_ACEOF
31382 #define HAVE_FABSF 1
31383 _ACEOF
31386 done
31388 else
31390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
31391 $as_echo_n "checking for _fabsf declaration... " >&6; }
31392 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
31393 if ${glibcxx_cv_func__fabsf_use+:} false; then :
31394 $as_echo_n "(cached) " >&6
31395 else
31398 ac_ext=cpp
31399 ac_cpp='$CXXCPP $CPPFLAGS'
31400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31405 /* end confdefs.h. */
31406 #include <math.h>
31407 #ifdef HAVE_IEEEFP_H
31408 #include <ieeefp.h>
31409 #endif
31412 main ()
31414 _fabsf(0);
31416 return 0;
31418 _ACEOF
31419 if ac_fn_cxx_try_compile "$LINENO"; then :
31420 glibcxx_cv_func__fabsf_use=yes
31421 else
31422 glibcxx_cv_func__fabsf_use=no
31424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31425 ac_ext=c
31426 ac_cpp='$CPP $CPPFLAGS'
31427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31436 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31438 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31439 for ac_func in _fabsf
31440 do :
31441 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31442 if test "x$ac_cv_func__fabsf" = xyes; then :
31443 cat >>confdefs.h <<_ACEOF
31444 #define HAVE__FABSF 1
31445 _ACEOF
31448 done
31457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31458 $as_echo_n "checking for fmodf declaration... " >&6; }
31459 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31460 if ${glibcxx_cv_func_fmodf_use+:} false; then :
31461 $as_echo_n "(cached) " >&6
31462 else
31465 ac_ext=cpp
31466 ac_cpp='$CXXCPP $CPPFLAGS'
31467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31472 /* end confdefs.h. */
31473 #include <math.h>
31475 main ()
31477 fmodf(0, 0);
31479 return 0;
31481 _ACEOF
31482 if ac_fn_cxx_try_compile "$LINENO"; then :
31483 glibcxx_cv_func_fmodf_use=yes
31484 else
31485 glibcxx_cv_func_fmodf_use=no
31487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31488 ac_ext=c
31489 ac_cpp='$CPP $CPPFLAGS'
31490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31499 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31501 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31502 for ac_func in fmodf
31503 do :
31504 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31505 if test "x$ac_cv_func_fmodf" = xyes; then :
31506 cat >>confdefs.h <<_ACEOF
31507 #define HAVE_FMODF 1
31508 _ACEOF
31511 done
31513 else
31515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31516 $as_echo_n "checking for _fmodf declaration... " >&6; }
31517 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31518 if ${glibcxx_cv_func__fmodf_use+:} false; then :
31519 $as_echo_n "(cached) " >&6
31520 else
31523 ac_ext=cpp
31524 ac_cpp='$CXXCPP $CPPFLAGS'
31525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31530 /* end confdefs.h. */
31531 #include <math.h>
31533 main ()
31535 _fmodf(0, 0);
31537 return 0;
31539 _ACEOF
31540 if ac_fn_cxx_try_compile "$LINENO"; then :
31541 glibcxx_cv_func__fmodf_use=yes
31542 else
31543 glibcxx_cv_func__fmodf_use=no
31545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31546 ac_ext=c
31547 ac_cpp='$CPP $CPPFLAGS'
31548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
31557 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
31559 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31560 for ac_func in _fmodf
31561 do :
31562 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
31563 if test "x$ac_cv_func__fmodf" = xyes; then :
31564 cat >>confdefs.h <<_ACEOF
31565 #define HAVE__FMODF 1
31566 _ACEOF
31569 done
31578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
31579 $as_echo_n "checking for frexpf declaration... " >&6; }
31580 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31581 if ${glibcxx_cv_func_frexpf_use+:} false; then :
31582 $as_echo_n "(cached) " >&6
31583 else
31586 ac_ext=cpp
31587 ac_cpp='$CXXCPP $CPPFLAGS'
31588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31593 /* end confdefs.h. */
31594 #include <math.h>
31596 main ()
31598 frexpf(0, 0);
31600 return 0;
31602 _ACEOF
31603 if ac_fn_cxx_try_compile "$LINENO"; then :
31604 glibcxx_cv_func_frexpf_use=yes
31605 else
31606 glibcxx_cv_func_frexpf_use=no
31608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31609 ac_ext=c
31610 ac_cpp='$CPP $CPPFLAGS'
31611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31620 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31622 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31623 for ac_func in frexpf
31624 do :
31625 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31626 if test "x$ac_cv_func_frexpf" = xyes; then :
31627 cat >>confdefs.h <<_ACEOF
31628 #define HAVE_FREXPF 1
31629 _ACEOF
31632 done
31634 else
31636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31637 $as_echo_n "checking for _frexpf declaration... " >&6; }
31638 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31639 if ${glibcxx_cv_func__frexpf_use+:} false; then :
31640 $as_echo_n "(cached) " >&6
31641 else
31644 ac_ext=cpp
31645 ac_cpp='$CXXCPP $CPPFLAGS'
31646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31651 /* end confdefs.h. */
31652 #include <math.h>
31654 main ()
31656 _frexpf(0, 0);
31658 return 0;
31660 _ACEOF
31661 if ac_fn_cxx_try_compile "$LINENO"; then :
31662 glibcxx_cv_func__frexpf_use=yes
31663 else
31664 glibcxx_cv_func__frexpf_use=no
31666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31667 ac_ext=c
31668 ac_cpp='$CPP $CPPFLAGS'
31669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31678 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31680 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31681 for ac_func in _frexpf
31682 do :
31683 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31684 if test "x$ac_cv_func__frexpf" = xyes; then :
31685 cat >>confdefs.h <<_ACEOF
31686 #define HAVE__FREXPF 1
31687 _ACEOF
31690 done
31699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31700 $as_echo_n "checking for hypotf declaration... " >&6; }
31701 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31702 if ${glibcxx_cv_func_hypotf_use+:} false; then :
31703 $as_echo_n "(cached) " >&6
31704 else
31707 ac_ext=cpp
31708 ac_cpp='$CXXCPP $CPPFLAGS'
31709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31714 /* end confdefs.h. */
31715 #include <math.h>
31717 main ()
31719 hypotf(0, 0);
31721 return 0;
31723 _ACEOF
31724 if ac_fn_cxx_try_compile "$LINENO"; then :
31725 glibcxx_cv_func_hypotf_use=yes
31726 else
31727 glibcxx_cv_func_hypotf_use=no
31729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31730 ac_ext=c
31731 ac_cpp='$CPP $CPPFLAGS'
31732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31741 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31743 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31744 for ac_func in hypotf
31745 do :
31746 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31747 if test "x$ac_cv_func_hypotf" = xyes; then :
31748 cat >>confdefs.h <<_ACEOF
31749 #define HAVE_HYPOTF 1
31750 _ACEOF
31753 done
31755 else
31757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31758 $as_echo_n "checking for _hypotf declaration... " >&6; }
31759 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31760 if ${glibcxx_cv_func__hypotf_use+:} false; then :
31761 $as_echo_n "(cached) " >&6
31762 else
31765 ac_ext=cpp
31766 ac_cpp='$CXXCPP $CPPFLAGS'
31767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31772 /* end confdefs.h. */
31773 #include <math.h>
31775 main ()
31777 _hypotf(0, 0);
31779 return 0;
31781 _ACEOF
31782 if ac_fn_cxx_try_compile "$LINENO"; then :
31783 glibcxx_cv_func__hypotf_use=yes
31784 else
31785 glibcxx_cv_func__hypotf_use=no
31787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31788 ac_ext=c
31789 ac_cpp='$CPP $CPPFLAGS'
31790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31799 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31801 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31802 for ac_func in _hypotf
31803 do :
31804 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31805 if test "x$ac_cv_func__hypotf" = xyes; then :
31806 cat >>confdefs.h <<_ACEOF
31807 #define HAVE__HYPOTF 1
31808 _ACEOF
31811 done
31820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31821 $as_echo_n "checking for ldexpf declaration... " >&6; }
31822 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31823 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
31824 $as_echo_n "(cached) " >&6
31825 else
31828 ac_ext=cpp
31829 ac_cpp='$CXXCPP $CPPFLAGS'
31830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31835 /* end confdefs.h. */
31836 #include <math.h>
31838 main ()
31840 ldexpf(0, 0);
31842 return 0;
31844 _ACEOF
31845 if ac_fn_cxx_try_compile "$LINENO"; then :
31846 glibcxx_cv_func_ldexpf_use=yes
31847 else
31848 glibcxx_cv_func_ldexpf_use=no
31850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31851 ac_ext=c
31852 ac_cpp='$CPP $CPPFLAGS'
31853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31862 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31864 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31865 for ac_func in ldexpf
31866 do :
31867 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31868 if test "x$ac_cv_func_ldexpf" = xyes; then :
31869 cat >>confdefs.h <<_ACEOF
31870 #define HAVE_LDEXPF 1
31871 _ACEOF
31874 done
31876 else
31878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31879 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31880 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31881 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
31882 $as_echo_n "(cached) " >&6
31883 else
31886 ac_ext=cpp
31887 ac_cpp='$CXXCPP $CPPFLAGS'
31888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31893 /* end confdefs.h. */
31894 #include <math.h>
31896 main ()
31898 _ldexpf(0, 0);
31900 return 0;
31902 _ACEOF
31903 if ac_fn_cxx_try_compile "$LINENO"; then :
31904 glibcxx_cv_func__ldexpf_use=yes
31905 else
31906 glibcxx_cv_func__ldexpf_use=no
31908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31909 ac_ext=c
31910 ac_cpp='$CPP $CPPFLAGS'
31911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31920 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31922 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31923 for ac_func in _ldexpf
31924 do :
31925 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31926 if test "x$ac_cv_func__ldexpf" = xyes; then :
31927 cat >>confdefs.h <<_ACEOF
31928 #define HAVE__LDEXPF 1
31929 _ACEOF
31932 done
31941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31942 $as_echo_n "checking for logf declaration... " >&6; }
31943 if test x${glibcxx_cv_func_logf_use+set} != xset; then
31944 if ${glibcxx_cv_func_logf_use+:} false; then :
31945 $as_echo_n "(cached) " >&6
31946 else
31949 ac_ext=cpp
31950 ac_cpp='$CXXCPP $CPPFLAGS'
31951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31956 /* end confdefs.h. */
31957 #include <math.h>
31958 #ifdef HAVE_IEEEFP_H
31959 #include <ieeefp.h>
31960 #endif
31963 main ()
31965 logf(0);
31967 return 0;
31969 _ACEOF
31970 if ac_fn_cxx_try_compile "$LINENO"; then :
31971 glibcxx_cv_func_logf_use=yes
31972 else
31973 glibcxx_cv_func_logf_use=no
31975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31976 ac_ext=c
31977 ac_cpp='$CPP $CPPFLAGS'
31978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31987 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31989 if test x$glibcxx_cv_func_logf_use = x"yes"; then
31990 for ac_func in logf
31991 do :
31992 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31993 if test "x$ac_cv_func_logf" = xyes; then :
31994 cat >>confdefs.h <<_ACEOF
31995 #define HAVE_LOGF 1
31996 _ACEOF
31999 done
32001 else
32003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
32004 $as_echo_n "checking for _logf declaration... " >&6; }
32005 if test x${glibcxx_cv_func__logf_use+set} != xset; then
32006 if ${glibcxx_cv_func__logf_use+:} false; then :
32007 $as_echo_n "(cached) " >&6
32008 else
32011 ac_ext=cpp
32012 ac_cpp='$CXXCPP $CPPFLAGS'
32013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32018 /* end confdefs.h. */
32019 #include <math.h>
32020 #ifdef HAVE_IEEEFP_H
32021 #include <ieeefp.h>
32022 #endif
32025 main ()
32027 _logf(0);
32029 return 0;
32031 _ACEOF
32032 if ac_fn_cxx_try_compile "$LINENO"; then :
32033 glibcxx_cv_func__logf_use=yes
32034 else
32035 glibcxx_cv_func__logf_use=no
32037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32038 ac_ext=c
32039 ac_cpp='$CPP $CPPFLAGS'
32040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
32049 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
32051 if test x$glibcxx_cv_func__logf_use = x"yes"; then
32052 for ac_func in _logf
32053 do :
32054 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
32055 if test "x$ac_cv_func__logf" = xyes; then :
32056 cat >>confdefs.h <<_ACEOF
32057 #define HAVE__LOGF 1
32058 _ACEOF
32061 done
32070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
32071 $as_echo_n "checking for log10f declaration... " >&6; }
32072 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
32073 if ${glibcxx_cv_func_log10f_use+:} false; then :
32074 $as_echo_n "(cached) " >&6
32075 else
32078 ac_ext=cpp
32079 ac_cpp='$CXXCPP $CPPFLAGS'
32080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32085 /* end confdefs.h. */
32086 #include <math.h>
32087 #ifdef HAVE_IEEEFP_H
32088 #include <ieeefp.h>
32089 #endif
32092 main ()
32094 log10f(0);
32096 return 0;
32098 _ACEOF
32099 if ac_fn_cxx_try_compile "$LINENO"; then :
32100 glibcxx_cv_func_log10f_use=yes
32101 else
32102 glibcxx_cv_func_log10f_use=no
32104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32105 ac_ext=c
32106 ac_cpp='$CPP $CPPFLAGS'
32107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
32116 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
32118 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
32119 for ac_func in log10f
32120 do :
32121 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
32122 if test "x$ac_cv_func_log10f" = xyes; then :
32123 cat >>confdefs.h <<_ACEOF
32124 #define HAVE_LOG10F 1
32125 _ACEOF
32128 done
32130 else
32132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
32133 $as_echo_n "checking for _log10f declaration... " >&6; }
32134 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
32135 if ${glibcxx_cv_func__log10f_use+:} false; then :
32136 $as_echo_n "(cached) " >&6
32137 else
32140 ac_ext=cpp
32141 ac_cpp='$CXXCPP $CPPFLAGS'
32142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32147 /* end confdefs.h. */
32148 #include <math.h>
32149 #ifdef HAVE_IEEEFP_H
32150 #include <ieeefp.h>
32151 #endif
32154 main ()
32156 _log10f(0);
32158 return 0;
32160 _ACEOF
32161 if ac_fn_cxx_try_compile "$LINENO"; then :
32162 glibcxx_cv_func__log10f_use=yes
32163 else
32164 glibcxx_cv_func__log10f_use=no
32166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32167 ac_ext=c
32168 ac_cpp='$CPP $CPPFLAGS'
32169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
32178 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
32180 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
32181 for ac_func in _log10f
32182 do :
32183 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
32184 if test "x$ac_cv_func__log10f" = xyes; then :
32185 cat >>confdefs.h <<_ACEOF
32186 #define HAVE__LOG10F 1
32187 _ACEOF
32190 done
32199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
32200 $as_echo_n "checking for modff declaration... " >&6; }
32201 if test x${glibcxx_cv_func_modff_use+set} != xset; then
32202 if ${glibcxx_cv_func_modff_use+:} false; then :
32203 $as_echo_n "(cached) " >&6
32204 else
32207 ac_ext=cpp
32208 ac_cpp='$CXXCPP $CPPFLAGS'
32209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32214 /* end confdefs.h. */
32215 #include <math.h>
32217 main ()
32219 modff(0, 0);
32221 return 0;
32223 _ACEOF
32224 if ac_fn_cxx_try_compile "$LINENO"; then :
32225 glibcxx_cv_func_modff_use=yes
32226 else
32227 glibcxx_cv_func_modff_use=no
32229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32230 ac_ext=c
32231 ac_cpp='$CPP $CPPFLAGS'
32232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
32241 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
32243 if test x$glibcxx_cv_func_modff_use = x"yes"; then
32244 for ac_func in modff
32245 do :
32246 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
32247 if test "x$ac_cv_func_modff" = xyes; then :
32248 cat >>confdefs.h <<_ACEOF
32249 #define HAVE_MODFF 1
32250 _ACEOF
32253 done
32255 else
32257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
32258 $as_echo_n "checking for _modff declaration... " >&6; }
32259 if test x${glibcxx_cv_func__modff_use+set} != xset; then
32260 if ${glibcxx_cv_func__modff_use+:} false; then :
32261 $as_echo_n "(cached) " >&6
32262 else
32265 ac_ext=cpp
32266 ac_cpp='$CXXCPP $CPPFLAGS'
32267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32272 /* end confdefs.h. */
32273 #include <math.h>
32275 main ()
32277 _modff(0, 0);
32279 return 0;
32281 _ACEOF
32282 if ac_fn_cxx_try_compile "$LINENO"; then :
32283 glibcxx_cv_func__modff_use=yes
32284 else
32285 glibcxx_cv_func__modff_use=no
32287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32288 ac_ext=c
32289 ac_cpp='$CPP $CPPFLAGS'
32290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
32299 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
32301 if test x$glibcxx_cv_func__modff_use = x"yes"; then
32302 for ac_func in _modff
32303 do :
32304 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
32305 if test "x$ac_cv_func__modff" = xyes; then :
32306 cat >>confdefs.h <<_ACEOF
32307 #define HAVE__MODFF 1
32308 _ACEOF
32311 done
32320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
32321 $as_echo_n "checking for modf declaration... " >&6; }
32322 if test x${glibcxx_cv_func_modf_use+set} != xset; then
32323 if ${glibcxx_cv_func_modf_use+:} false; then :
32324 $as_echo_n "(cached) " >&6
32325 else
32328 ac_ext=cpp
32329 ac_cpp='$CXXCPP $CPPFLAGS'
32330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32335 /* end confdefs.h. */
32336 #include <math.h>
32338 main ()
32340 modf(0, 0);
32342 return 0;
32344 _ACEOF
32345 if ac_fn_cxx_try_compile "$LINENO"; then :
32346 glibcxx_cv_func_modf_use=yes
32347 else
32348 glibcxx_cv_func_modf_use=no
32350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32351 ac_ext=c
32352 ac_cpp='$CPP $CPPFLAGS'
32353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
32362 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
32364 if test x$glibcxx_cv_func_modf_use = x"yes"; then
32365 for ac_func in modf
32366 do :
32367 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
32368 if test "x$ac_cv_func_modf" = xyes; then :
32369 cat >>confdefs.h <<_ACEOF
32370 #define HAVE_MODF 1
32371 _ACEOF
32374 done
32376 else
32378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
32379 $as_echo_n "checking for _modf declaration... " >&6; }
32380 if test x${glibcxx_cv_func__modf_use+set} != xset; then
32381 if ${glibcxx_cv_func__modf_use+:} false; then :
32382 $as_echo_n "(cached) " >&6
32383 else
32386 ac_ext=cpp
32387 ac_cpp='$CXXCPP $CPPFLAGS'
32388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32393 /* end confdefs.h. */
32394 #include <math.h>
32396 main ()
32398 _modf(0, 0);
32400 return 0;
32402 _ACEOF
32403 if ac_fn_cxx_try_compile "$LINENO"; then :
32404 glibcxx_cv_func__modf_use=yes
32405 else
32406 glibcxx_cv_func__modf_use=no
32408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32409 ac_ext=c
32410 ac_cpp='$CPP $CPPFLAGS'
32411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
32420 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
32422 if test x$glibcxx_cv_func__modf_use = x"yes"; then
32423 for ac_func in _modf
32424 do :
32425 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
32426 if test "x$ac_cv_func__modf" = xyes; then :
32427 cat >>confdefs.h <<_ACEOF
32428 #define HAVE__MODF 1
32429 _ACEOF
32432 done
32441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32442 $as_echo_n "checking for powf declaration... " >&6; }
32443 if test x${glibcxx_cv_func_powf_use+set} != xset; then
32444 if ${glibcxx_cv_func_powf_use+:} false; then :
32445 $as_echo_n "(cached) " >&6
32446 else
32449 ac_ext=cpp
32450 ac_cpp='$CXXCPP $CPPFLAGS'
32451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32456 /* end confdefs.h. */
32457 #include <math.h>
32459 main ()
32461 powf(0, 0);
32463 return 0;
32465 _ACEOF
32466 if ac_fn_cxx_try_compile "$LINENO"; then :
32467 glibcxx_cv_func_powf_use=yes
32468 else
32469 glibcxx_cv_func_powf_use=no
32471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32472 ac_ext=c
32473 ac_cpp='$CPP $CPPFLAGS'
32474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32483 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
32485 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32486 for ac_func in powf
32487 do :
32488 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32489 if test "x$ac_cv_func_powf" = xyes; then :
32490 cat >>confdefs.h <<_ACEOF
32491 #define HAVE_POWF 1
32492 _ACEOF
32495 done
32497 else
32499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32500 $as_echo_n "checking for _powf declaration... " >&6; }
32501 if test x${glibcxx_cv_func__powf_use+set} != xset; then
32502 if ${glibcxx_cv_func__powf_use+:} false; then :
32503 $as_echo_n "(cached) " >&6
32504 else
32507 ac_ext=cpp
32508 ac_cpp='$CXXCPP $CPPFLAGS'
32509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32514 /* end confdefs.h. */
32515 #include <math.h>
32517 main ()
32519 _powf(0, 0);
32521 return 0;
32523 _ACEOF
32524 if ac_fn_cxx_try_compile "$LINENO"; then :
32525 glibcxx_cv_func__powf_use=yes
32526 else
32527 glibcxx_cv_func__powf_use=no
32529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32530 ac_ext=c
32531 ac_cpp='$CPP $CPPFLAGS'
32532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32541 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
32543 if test x$glibcxx_cv_func__powf_use = x"yes"; then
32544 for ac_func in _powf
32545 do :
32546 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32547 if test "x$ac_cv_func__powf" = xyes; then :
32548 cat >>confdefs.h <<_ACEOF
32549 #define HAVE__POWF 1
32550 _ACEOF
32553 done
32562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
32563 $as_echo_n "checking for sqrtf declaration... " >&6; }
32564 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32565 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
32566 $as_echo_n "(cached) " >&6
32567 else
32570 ac_ext=cpp
32571 ac_cpp='$CXXCPP $CPPFLAGS'
32572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32577 /* end confdefs.h. */
32578 #include <math.h>
32579 #ifdef HAVE_IEEEFP_H
32580 #include <ieeefp.h>
32581 #endif
32584 main ()
32586 sqrtf(0);
32588 return 0;
32590 _ACEOF
32591 if ac_fn_cxx_try_compile "$LINENO"; then :
32592 glibcxx_cv_func_sqrtf_use=yes
32593 else
32594 glibcxx_cv_func_sqrtf_use=no
32596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32597 ac_ext=c
32598 ac_cpp='$CPP $CPPFLAGS'
32599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32608 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32610 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32611 for ac_func in sqrtf
32612 do :
32613 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32614 if test "x$ac_cv_func_sqrtf" = xyes; then :
32615 cat >>confdefs.h <<_ACEOF
32616 #define HAVE_SQRTF 1
32617 _ACEOF
32620 done
32622 else
32624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32625 $as_echo_n "checking for _sqrtf declaration... " >&6; }
32626 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32627 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
32628 $as_echo_n "(cached) " >&6
32629 else
32632 ac_ext=cpp
32633 ac_cpp='$CXXCPP $CPPFLAGS'
32634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32639 /* end confdefs.h. */
32640 #include <math.h>
32641 #ifdef HAVE_IEEEFP_H
32642 #include <ieeefp.h>
32643 #endif
32646 main ()
32648 _sqrtf(0);
32650 return 0;
32652 _ACEOF
32653 if ac_fn_cxx_try_compile "$LINENO"; then :
32654 glibcxx_cv_func__sqrtf_use=yes
32655 else
32656 glibcxx_cv_func__sqrtf_use=no
32658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32659 ac_ext=c
32660 ac_cpp='$CPP $CPPFLAGS'
32661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32670 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32672 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32673 for ac_func in _sqrtf
32674 do :
32675 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32676 if test "x$ac_cv_func__sqrtf" = xyes; then :
32677 cat >>confdefs.h <<_ACEOF
32678 #define HAVE__SQRTF 1
32679 _ACEOF
32682 done
32691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32692 $as_echo_n "checking for sincosf declaration... " >&6; }
32693 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32694 if ${glibcxx_cv_func_sincosf_use+:} false; then :
32695 $as_echo_n "(cached) " >&6
32696 else
32699 ac_ext=cpp
32700 ac_cpp='$CXXCPP $CPPFLAGS'
32701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32706 /* end confdefs.h. */
32707 #include <math.h>
32709 main ()
32711 sincosf(0, 0, 0);
32713 return 0;
32715 _ACEOF
32716 if ac_fn_cxx_try_compile "$LINENO"; then :
32717 glibcxx_cv_func_sincosf_use=yes
32718 else
32719 glibcxx_cv_func_sincosf_use=no
32721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32722 ac_ext=c
32723 ac_cpp='$CPP $CPPFLAGS'
32724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32733 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32735 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32736 for ac_func in sincosf
32737 do :
32738 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32739 if test "x$ac_cv_func_sincosf" = xyes; then :
32740 cat >>confdefs.h <<_ACEOF
32741 #define HAVE_SINCOSF 1
32742 _ACEOF
32745 done
32747 else
32749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32750 $as_echo_n "checking for _sincosf declaration... " >&6; }
32751 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32752 if ${glibcxx_cv_func__sincosf_use+:} false; then :
32753 $as_echo_n "(cached) " >&6
32754 else
32757 ac_ext=cpp
32758 ac_cpp='$CXXCPP $CPPFLAGS'
32759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32764 /* end confdefs.h. */
32765 #include <math.h>
32767 main ()
32769 _sincosf(0, 0, 0);
32771 return 0;
32773 _ACEOF
32774 if ac_fn_cxx_try_compile "$LINENO"; then :
32775 glibcxx_cv_func__sincosf_use=yes
32776 else
32777 glibcxx_cv_func__sincosf_use=no
32779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32780 ac_ext=c
32781 ac_cpp='$CPP $CPPFLAGS'
32782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32791 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32793 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32794 for ac_func in _sincosf
32795 do :
32796 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32797 if test "x$ac_cv_func__sincosf" = xyes; then :
32798 cat >>confdefs.h <<_ACEOF
32799 #define HAVE__SINCOSF 1
32800 _ACEOF
32803 done
32812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32813 $as_echo_n "checking for finitef declaration... " >&6; }
32814 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32815 if ${glibcxx_cv_func_finitef_use+:} false; then :
32816 $as_echo_n "(cached) " >&6
32817 else
32820 ac_ext=cpp
32821 ac_cpp='$CXXCPP $CPPFLAGS'
32822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32827 /* end confdefs.h. */
32828 #include <math.h>
32829 #ifdef HAVE_IEEEFP_H
32830 #include <ieeefp.h>
32831 #endif
32834 main ()
32836 finitef(0);
32838 return 0;
32840 _ACEOF
32841 if ac_fn_cxx_try_compile "$LINENO"; then :
32842 glibcxx_cv_func_finitef_use=yes
32843 else
32844 glibcxx_cv_func_finitef_use=no
32846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32847 ac_ext=c
32848 ac_cpp='$CPP $CPPFLAGS'
32849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32858 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32860 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32861 for ac_func in finitef
32862 do :
32863 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32864 if test "x$ac_cv_func_finitef" = xyes; then :
32865 cat >>confdefs.h <<_ACEOF
32866 #define HAVE_FINITEF 1
32867 _ACEOF
32870 done
32872 else
32874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32875 $as_echo_n "checking for _finitef declaration... " >&6; }
32876 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32877 if ${glibcxx_cv_func__finitef_use+:} false; then :
32878 $as_echo_n "(cached) " >&6
32879 else
32882 ac_ext=cpp
32883 ac_cpp='$CXXCPP $CPPFLAGS'
32884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32889 /* end confdefs.h. */
32890 #include <math.h>
32891 #ifdef HAVE_IEEEFP_H
32892 #include <ieeefp.h>
32893 #endif
32896 main ()
32898 _finitef(0);
32900 return 0;
32902 _ACEOF
32903 if ac_fn_cxx_try_compile "$LINENO"; then :
32904 glibcxx_cv_func__finitef_use=yes
32905 else
32906 glibcxx_cv_func__finitef_use=no
32908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32909 ac_ext=c
32910 ac_cpp='$CPP $CPPFLAGS'
32911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32920 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32922 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32923 for ac_func in _finitef
32924 do :
32925 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32926 if test "x$ac_cv_func__finitef" = xyes; then :
32927 cat >>confdefs.h <<_ACEOF
32928 #define HAVE__FINITEF 1
32929 _ACEOF
32932 done
32941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32942 $as_echo_n "checking for long double trig functions... " >&6; }
32943 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
32944 $as_echo_n "(cached) " >&6
32945 else
32948 ac_ext=cpp
32949 ac_cpp='$CXXCPP $CPPFLAGS'
32950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32955 /* end confdefs.h. */
32956 #include <math.h>
32958 main ()
32960 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32962 return 0;
32964 _ACEOF
32965 if ac_fn_cxx_try_compile "$LINENO"; then :
32966 glibcxx_cv_func_long_double_trig_use=yes
32967 else
32968 glibcxx_cv_func_long_double_trig_use=no
32970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32971 ac_ext=c
32972 ac_cpp='$CPP $CPPFLAGS'
32973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32980 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32981 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32982 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32983 do :
32984 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32985 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32986 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32987 cat >>confdefs.h <<_ACEOF
32988 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32989 _ACEOF
32992 done
32994 else
32995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32996 $as_echo_n "checking for _long double trig functions... " >&6; }
32997 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
32998 $as_echo_n "(cached) " >&6
32999 else
33002 ac_ext=cpp
33003 ac_cpp='$CXXCPP $CPPFLAGS'
33004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33009 /* end confdefs.h. */
33010 #include <math.h>
33012 main ()
33014 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
33016 return 0;
33018 _ACEOF
33019 if ac_fn_cxx_try_compile "$LINENO"; then :
33020 glibcxx_cv_func__long_double_trig_use=yes
33021 else
33022 glibcxx_cv_func__long_double_trig_use=no
33024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33025 ac_ext=c
33026 ac_cpp='$CPP $CPPFLAGS'
33027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
33034 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
33035 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
33036 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
33037 do :
33038 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33039 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33040 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33041 cat >>confdefs.h <<_ACEOF
33042 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33043 _ACEOF
33046 done
33055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
33056 $as_echo_n "checking for long double round functions... " >&6; }
33057 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
33058 $as_echo_n "(cached) " >&6
33059 else
33062 ac_ext=cpp
33063 ac_cpp='$CXXCPP $CPPFLAGS'
33064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33069 /* end confdefs.h. */
33070 #include <math.h>
33072 main ()
33074 ceill (0); floorl (0);
33076 return 0;
33078 _ACEOF
33079 if ac_fn_cxx_try_compile "$LINENO"; then :
33080 glibcxx_cv_func_long_double_round_use=yes
33081 else
33082 glibcxx_cv_func_long_double_round_use=no
33084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33085 ac_ext=c
33086 ac_cpp='$CPP $CPPFLAGS'
33087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
33094 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
33095 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
33096 for ac_func in ceill floorl
33097 do :
33098 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33099 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33100 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33101 cat >>confdefs.h <<_ACEOF
33102 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33103 _ACEOF
33106 done
33108 else
33109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
33110 $as_echo_n "checking for _long double round functions... " >&6; }
33111 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
33112 $as_echo_n "(cached) " >&6
33113 else
33116 ac_ext=cpp
33117 ac_cpp='$CXXCPP $CPPFLAGS'
33118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33123 /* end confdefs.h. */
33124 #include <math.h>
33126 main ()
33128 _ceill (0); _floorl (0);
33130 return 0;
33132 _ACEOF
33133 if ac_fn_cxx_try_compile "$LINENO"; then :
33134 glibcxx_cv_func__long_double_round_use=yes
33135 else
33136 glibcxx_cv_func__long_double_round_use=no
33138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33139 ac_ext=c
33140 ac_cpp='$CPP $CPPFLAGS'
33141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
33148 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
33149 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
33150 for ac_func in _ceill _floorl
33151 do :
33152 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33153 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33154 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33155 cat >>confdefs.h <<_ACEOF
33156 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33157 _ACEOF
33160 done
33170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
33171 $as_echo_n "checking for isnanl declaration... " >&6; }
33172 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
33173 if ${glibcxx_cv_func_isnanl_use+:} false; then :
33174 $as_echo_n "(cached) " >&6
33175 else
33178 ac_ext=cpp
33179 ac_cpp='$CXXCPP $CPPFLAGS'
33180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33185 /* end confdefs.h. */
33186 #include <math.h>
33187 #ifdef HAVE_IEEEFP_H
33188 #include <ieeefp.h>
33189 #endif
33192 main ()
33194 isnanl(0);
33196 return 0;
33198 _ACEOF
33199 if ac_fn_cxx_try_compile "$LINENO"; then :
33200 glibcxx_cv_func_isnanl_use=yes
33201 else
33202 glibcxx_cv_func_isnanl_use=no
33204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33205 ac_ext=c
33206 ac_cpp='$CPP $CPPFLAGS'
33207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
33216 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
33218 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
33219 for ac_func in isnanl
33220 do :
33221 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
33222 if test "x$ac_cv_func_isnanl" = xyes; then :
33223 cat >>confdefs.h <<_ACEOF
33224 #define HAVE_ISNANL 1
33225 _ACEOF
33228 done
33230 else
33232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
33233 $as_echo_n "checking for _isnanl declaration... " >&6; }
33234 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
33235 if ${glibcxx_cv_func__isnanl_use+:} false; then :
33236 $as_echo_n "(cached) " >&6
33237 else
33240 ac_ext=cpp
33241 ac_cpp='$CXXCPP $CPPFLAGS'
33242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33247 /* end confdefs.h. */
33248 #include <math.h>
33249 #ifdef HAVE_IEEEFP_H
33250 #include <ieeefp.h>
33251 #endif
33254 main ()
33256 _isnanl(0);
33258 return 0;
33260 _ACEOF
33261 if ac_fn_cxx_try_compile "$LINENO"; then :
33262 glibcxx_cv_func__isnanl_use=yes
33263 else
33264 glibcxx_cv_func__isnanl_use=no
33266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33267 ac_ext=c
33268 ac_cpp='$CPP $CPPFLAGS'
33269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
33278 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
33280 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
33281 for ac_func in _isnanl
33282 do :
33283 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
33284 if test "x$ac_cv_func__isnanl" = xyes; then :
33285 cat >>confdefs.h <<_ACEOF
33286 #define HAVE__ISNANL 1
33287 _ACEOF
33290 done
33299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
33300 $as_echo_n "checking for isinfl declaration... " >&6; }
33301 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
33302 if ${glibcxx_cv_func_isinfl_use+:} false; then :
33303 $as_echo_n "(cached) " >&6
33304 else
33307 ac_ext=cpp
33308 ac_cpp='$CXXCPP $CPPFLAGS'
33309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33314 /* end confdefs.h. */
33315 #include <math.h>
33316 #ifdef HAVE_IEEEFP_H
33317 #include <ieeefp.h>
33318 #endif
33321 main ()
33323 isinfl(0);
33325 return 0;
33327 _ACEOF
33328 if ac_fn_cxx_try_compile "$LINENO"; then :
33329 glibcxx_cv_func_isinfl_use=yes
33330 else
33331 glibcxx_cv_func_isinfl_use=no
33333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33334 ac_ext=c
33335 ac_cpp='$CPP $CPPFLAGS'
33336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
33345 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
33347 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
33348 for ac_func in isinfl
33349 do :
33350 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
33351 if test "x$ac_cv_func_isinfl" = xyes; then :
33352 cat >>confdefs.h <<_ACEOF
33353 #define HAVE_ISINFL 1
33354 _ACEOF
33357 done
33359 else
33361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
33362 $as_echo_n "checking for _isinfl declaration... " >&6; }
33363 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
33364 if ${glibcxx_cv_func__isinfl_use+:} false; then :
33365 $as_echo_n "(cached) " >&6
33366 else
33369 ac_ext=cpp
33370 ac_cpp='$CXXCPP $CPPFLAGS'
33371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33376 /* end confdefs.h. */
33377 #include <math.h>
33378 #ifdef HAVE_IEEEFP_H
33379 #include <ieeefp.h>
33380 #endif
33383 main ()
33385 _isinfl(0);
33387 return 0;
33389 _ACEOF
33390 if ac_fn_cxx_try_compile "$LINENO"; then :
33391 glibcxx_cv_func__isinfl_use=yes
33392 else
33393 glibcxx_cv_func__isinfl_use=no
33395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33396 ac_ext=c
33397 ac_cpp='$CPP $CPPFLAGS'
33398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
33407 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
33409 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
33410 for ac_func in _isinfl
33411 do :
33412 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
33413 if test "x$ac_cv_func__isinfl" = xyes; then :
33414 cat >>confdefs.h <<_ACEOF
33415 #define HAVE__ISINFL 1
33416 _ACEOF
33419 done
33428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33429 $as_echo_n "checking for atan2l declaration... " >&6; }
33430 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33431 if ${glibcxx_cv_func_atan2l_use+:} false; then :
33432 $as_echo_n "(cached) " >&6
33433 else
33436 ac_ext=cpp
33437 ac_cpp='$CXXCPP $CPPFLAGS'
33438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33443 /* end confdefs.h. */
33444 #include <math.h>
33446 main ()
33448 atan2l(0, 0);
33450 return 0;
33452 _ACEOF
33453 if ac_fn_cxx_try_compile "$LINENO"; then :
33454 glibcxx_cv_func_atan2l_use=yes
33455 else
33456 glibcxx_cv_func_atan2l_use=no
33458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33459 ac_ext=c
33460 ac_cpp='$CPP $CPPFLAGS'
33461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33470 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33472 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33473 for ac_func in atan2l
33474 do :
33475 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33476 if test "x$ac_cv_func_atan2l" = xyes; then :
33477 cat >>confdefs.h <<_ACEOF
33478 #define HAVE_ATAN2L 1
33479 _ACEOF
33482 done
33484 else
33486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33487 $as_echo_n "checking for _atan2l declaration... " >&6; }
33488 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33489 if ${glibcxx_cv_func__atan2l_use+:} false; then :
33490 $as_echo_n "(cached) " >&6
33491 else
33494 ac_ext=cpp
33495 ac_cpp='$CXXCPP $CPPFLAGS'
33496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33501 /* end confdefs.h. */
33502 #include <math.h>
33504 main ()
33506 _atan2l(0, 0);
33508 return 0;
33510 _ACEOF
33511 if ac_fn_cxx_try_compile "$LINENO"; then :
33512 glibcxx_cv_func__atan2l_use=yes
33513 else
33514 glibcxx_cv_func__atan2l_use=no
33516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33517 ac_ext=c
33518 ac_cpp='$CPP $CPPFLAGS'
33519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33528 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33530 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33531 for ac_func in _atan2l
33532 do :
33533 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33534 if test "x$ac_cv_func__atan2l" = xyes; then :
33535 cat >>confdefs.h <<_ACEOF
33536 #define HAVE__ATAN2L 1
33537 _ACEOF
33540 done
33549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33550 $as_echo_n "checking for expl declaration... " >&6; }
33551 if test x${glibcxx_cv_func_expl_use+set} != xset; then
33552 if ${glibcxx_cv_func_expl_use+:} false; then :
33553 $as_echo_n "(cached) " >&6
33554 else
33557 ac_ext=cpp
33558 ac_cpp='$CXXCPP $CPPFLAGS'
33559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33564 /* end confdefs.h. */
33565 #include <math.h>
33566 #ifdef HAVE_IEEEFP_H
33567 #include <ieeefp.h>
33568 #endif
33571 main ()
33573 expl(0);
33575 return 0;
33577 _ACEOF
33578 if ac_fn_cxx_try_compile "$LINENO"; then :
33579 glibcxx_cv_func_expl_use=yes
33580 else
33581 glibcxx_cv_func_expl_use=no
33583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33584 ac_ext=c
33585 ac_cpp='$CPP $CPPFLAGS'
33586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
33595 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
33597 if test x$glibcxx_cv_func_expl_use = x"yes"; then
33598 for ac_func in expl
33599 do :
33600 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33601 if test "x$ac_cv_func_expl" = xyes; then :
33602 cat >>confdefs.h <<_ACEOF
33603 #define HAVE_EXPL 1
33604 _ACEOF
33607 done
33609 else
33611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33612 $as_echo_n "checking for _expl declaration... " >&6; }
33613 if test x${glibcxx_cv_func__expl_use+set} != xset; then
33614 if ${glibcxx_cv_func__expl_use+:} false; then :
33615 $as_echo_n "(cached) " >&6
33616 else
33619 ac_ext=cpp
33620 ac_cpp='$CXXCPP $CPPFLAGS'
33621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33626 /* end confdefs.h. */
33627 #include <math.h>
33628 #ifdef HAVE_IEEEFP_H
33629 #include <ieeefp.h>
33630 #endif
33633 main ()
33635 _expl(0);
33637 return 0;
33639 _ACEOF
33640 if ac_fn_cxx_try_compile "$LINENO"; then :
33641 glibcxx_cv_func__expl_use=yes
33642 else
33643 glibcxx_cv_func__expl_use=no
33645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33646 ac_ext=c
33647 ac_cpp='$CPP $CPPFLAGS'
33648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33657 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
33659 if test x$glibcxx_cv_func__expl_use = x"yes"; then
33660 for ac_func in _expl
33661 do :
33662 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33663 if test "x$ac_cv_func__expl" = xyes; then :
33664 cat >>confdefs.h <<_ACEOF
33665 #define HAVE__EXPL 1
33666 _ACEOF
33669 done
33678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33679 $as_echo_n "checking for fabsl declaration... " >&6; }
33680 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33681 if ${glibcxx_cv_func_fabsl_use+:} false; then :
33682 $as_echo_n "(cached) " >&6
33683 else
33686 ac_ext=cpp
33687 ac_cpp='$CXXCPP $CPPFLAGS'
33688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33693 /* end confdefs.h. */
33694 #include <math.h>
33695 #ifdef HAVE_IEEEFP_H
33696 #include <ieeefp.h>
33697 #endif
33700 main ()
33702 fabsl(0);
33704 return 0;
33706 _ACEOF
33707 if ac_fn_cxx_try_compile "$LINENO"; then :
33708 glibcxx_cv_func_fabsl_use=yes
33709 else
33710 glibcxx_cv_func_fabsl_use=no
33712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33713 ac_ext=c
33714 ac_cpp='$CPP $CPPFLAGS'
33715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33724 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33726 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33727 for ac_func in fabsl
33728 do :
33729 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33730 if test "x$ac_cv_func_fabsl" = xyes; then :
33731 cat >>confdefs.h <<_ACEOF
33732 #define HAVE_FABSL 1
33733 _ACEOF
33736 done
33738 else
33740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33741 $as_echo_n "checking for _fabsl declaration... " >&6; }
33742 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33743 if ${glibcxx_cv_func__fabsl_use+:} false; then :
33744 $as_echo_n "(cached) " >&6
33745 else
33748 ac_ext=cpp
33749 ac_cpp='$CXXCPP $CPPFLAGS'
33750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33755 /* end confdefs.h. */
33756 #include <math.h>
33757 #ifdef HAVE_IEEEFP_H
33758 #include <ieeefp.h>
33759 #endif
33762 main ()
33764 _fabsl(0);
33766 return 0;
33768 _ACEOF
33769 if ac_fn_cxx_try_compile "$LINENO"; then :
33770 glibcxx_cv_func__fabsl_use=yes
33771 else
33772 glibcxx_cv_func__fabsl_use=no
33774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33775 ac_ext=c
33776 ac_cpp='$CPP $CPPFLAGS'
33777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33786 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33788 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33789 for ac_func in _fabsl
33790 do :
33791 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33792 if test "x$ac_cv_func__fabsl" = xyes; then :
33793 cat >>confdefs.h <<_ACEOF
33794 #define HAVE__FABSL 1
33795 _ACEOF
33798 done
33807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33808 $as_echo_n "checking for fmodl declaration... " >&6; }
33809 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33810 if ${glibcxx_cv_func_fmodl_use+:} false; then :
33811 $as_echo_n "(cached) " >&6
33812 else
33815 ac_ext=cpp
33816 ac_cpp='$CXXCPP $CPPFLAGS'
33817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33822 /* end confdefs.h. */
33823 #include <math.h>
33825 main ()
33827 fmodl(0, 0);
33829 return 0;
33831 _ACEOF
33832 if ac_fn_cxx_try_compile "$LINENO"; then :
33833 glibcxx_cv_func_fmodl_use=yes
33834 else
33835 glibcxx_cv_func_fmodl_use=no
33837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33838 ac_ext=c
33839 ac_cpp='$CPP $CPPFLAGS'
33840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33849 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33851 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33852 for ac_func in fmodl
33853 do :
33854 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33855 if test "x$ac_cv_func_fmodl" = xyes; then :
33856 cat >>confdefs.h <<_ACEOF
33857 #define HAVE_FMODL 1
33858 _ACEOF
33861 done
33863 else
33865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33866 $as_echo_n "checking for _fmodl declaration... " >&6; }
33867 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33868 if ${glibcxx_cv_func__fmodl_use+:} false; then :
33869 $as_echo_n "(cached) " >&6
33870 else
33873 ac_ext=cpp
33874 ac_cpp='$CXXCPP $CPPFLAGS'
33875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33880 /* end confdefs.h. */
33881 #include <math.h>
33883 main ()
33885 _fmodl(0, 0);
33887 return 0;
33889 _ACEOF
33890 if ac_fn_cxx_try_compile "$LINENO"; then :
33891 glibcxx_cv_func__fmodl_use=yes
33892 else
33893 glibcxx_cv_func__fmodl_use=no
33895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33896 ac_ext=c
33897 ac_cpp='$CPP $CPPFLAGS'
33898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33907 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33909 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33910 for ac_func in _fmodl
33911 do :
33912 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33913 if test "x$ac_cv_func__fmodl" = xyes; then :
33914 cat >>confdefs.h <<_ACEOF
33915 #define HAVE__FMODL 1
33916 _ACEOF
33919 done
33928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33929 $as_echo_n "checking for frexpl declaration... " >&6; }
33930 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33931 if ${glibcxx_cv_func_frexpl_use+:} false; then :
33932 $as_echo_n "(cached) " >&6
33933 else
33936 ac_ext=cpp
33937 ac_cpp='$CXXCPP $CPPFLAGS'
33938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33943 /* end confdefs.h. */
33944 #include <math.h>
33946 main ()
33948 frexpl(0, 0);
33950 return 0;
33952 _ACEOF
33953 if ac_fn_cxx_try_compile "$LINENO"; then :
33954 glibcxx_cv_func_frexpl_use=yes
33955 else
33956 glibcxx_cv_func_frexpl_use=no
33958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33959 ac_ext=c
33960 ac_cpp='$CPP $CPPFLAGS'
33961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33970 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33972 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33973 for ac_func in frexpl
33974 do :
33975 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33976 if test "x$ac_cv_func_frexpl" = xyes; then :
33977 cat >>confdefs.h <<_ACEOF
33978 #define HAVE_FREXPL 1
33979 _ACEOF
33982 done
33984 else
33986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33987 $as_echo_n "checking for _frexpl declaration... " >&6; }
33988 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33989 if ${glibcxx_cv_func__frexpl_use+:} false; then :
33990 $as_echo_n "(cached) " >&6
33991 else
33994 ac_ext=cpp
33995 ac_cpp='$CXXCPP $CPPFLAGS'
33996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34001 /* end confdefs.h. */
34002 #include <math.h>
34004 main ()
34006 _frexpl(0, 0);
34008 return 0;
34010 _ACEOF
34011 if ac_fn_cxx_try_compile "$LINENO"; then :
34012 glibcxx_cv_func__frexpl_use=yes
34013 else
34014 glibcxx_cv_func__frexpl_use=no
34016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34017 ac_ext=c
34018 ac_cpp='$CPP $CPPFLAGS'
34019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
34028 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
34030 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
34031 for ac_func in _frexpl
34032 do :
34033 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
34034 if test "x$ac_cv_func__frexpl" = xyes; then :
34035 cat >>confdefs.h <<_ACEOF
34036 #define HAVE__FREXPL 1
34037 _ACEOF
34040 done
34049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
34050 $as_echo_n "checking for hypotl declaration... " >&6; }
34051 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
34052 if ${glibcxx_cv_func_hypotl_use+:} false; then :
34053 $as_echo_n "(cached) " >&6
34054 else
34057 ac_ext=cpp
34058 ac_cpp='$CXXCPP $CPPFLAGS'
34059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34064 /* end confdefs.h. */
34065 #include <math.h>
34067 main ()
34069 hypotl(0, 0);
34071 return 0;
34073 _ACEOF
34074 if ac_fn_cxx_try_compile "$LINENO"; then :
34075 glibcxx_cv_func_hypotl_use=yes
34076 else
34077 glibcxx_cv_func_hypotl_use=no
34079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34080 ac_ext=c
34081 ac_cpp='$CPP $CPPFLAGS'
34082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
34091 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
34093 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
34094 for ac_func in hypotl
34095 do :
34096 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
34097 if test "x$ac_cv_func_hypotl" = xyes; then :
34098 cat >>confdefs.h <<_ACEOF
34099 #define HAVE_HYPOTL 1
34100 _ACEOF
34103 done
34105 else
34107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
34108 $as_echo_n "checking for _hypotl declaration... " >&6; }
34109 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
34110 if ${glibcxx_cv_func__hypotl_use+:} false; then :
34111 $as_echo_n "(cached) " >&6
34112 else
34115 ac_ext=cpp
34116 ac_cpp='$CXXCPP $CPPFLAGS'
34117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34122 /* end confdefs.h. */
34123 #include <math.h>
34125 main ()
34127 _hypotl(0, 0);
34129 return 0;
34131 _ACEOF
34132 if ac_fn_cxx_try_compile "$LINENO"; then :
34133 glibcxx_cv_func__hypotl_use=yes
34134 else
34135 glibcxx_cv_func__hypotl_use=no
34137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34138 ac_ext=c
34139 ac_cpp='$CPP $CPPFLAGS'
34140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
34149 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
34151 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
34152 for ac_func in _hypotl
34153 do :
34154 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
34155 if test "x$ac_cv_func__hypotl" = xyes; then :
34156 cat >>confdefs.h <<_ACEOF
34157 #define HAVE__HYPOTL 1
34158 _ACEOF
34161 done
34170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
34171 $as_echo_n "checking for ldexpl declaration... " >&6; }
34172 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
34173 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
34174 $as_echo_n "(cached) " >&6
34175 else
34178 ac_ext=cpp
34179 ac_cpp='$CXXCPP $CPPFLAGS'
34180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34185 /* end confdefs.h. */
34186 #include <math.h>
34188 main ()
34190 ldexpl(0, 0);
34192 return 0;
34194 _ACEOF
34195 if ac_fn_cxx_try_compile "$LINENO"; then :
34196 glibcxx_cv_func_ldexpl_use=yes
34197 else
34198 glibcxx_cv_func_ldexpl_use=no
34200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34201 ac_ext=c
34202 ac_cpp='$CPP $CPPFLAGS'
34203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
34212 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
34214 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
34215 for ac_func in ldexpl
34216 do :
34217 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
34218 if test "x$ac_cv_func_ldexpl" = xyes; then :
34219 cat >>confdefs.h <<_ACEOF
34220 #define HAVE_LDEXPL 1
34221 _ACEOF
34224 done
34226 else
34228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
34229 $as_echo_n "checking for _ldexpl declaration... " >&6; }
34230 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
34231 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
34232 $as_echo_n "(cached) " >&6
34233 else
34236 ac_ext=cpp
34237 ac_cpp='$CXXCPP $CPPFLAGS'
34238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34243 /* end confdefs.h. */
34244 #include <math.h>
34246 main ()
34248 _ldexpl(0, 0);
34250 return 0;
34252 _ACEOF
34253 if ac_fn_cxx_try_compile "$LINENO"; then :
34254 glibcxx_cv_func__ldexpl_use=yes
34255 else
34256 glibcxx_cv_func__ldexpl_use=no
34258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34259 ac_ext=c
34260 ac_cpp='$CPP $CPPFLAGS'
34261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
34270 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
34272 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
34273 for ac_func in _ldexpl
34274 do :
34275 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
34276 if test "x$ac_cv_func__ldexpl" = xyes; then :
34277 cat >>confdefs.h <<_ACEOF
34278 #define HAVE__LDEXPL 1
34279 _ACEOF
34282 done
34291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
34292 $as_echo_n "checking for logl declaration... " >&6; }
34293 if test x${glibcxx_cv_func_logl_use+set} != xset; then
34294 if ${glibcxx_cv_func_logl_use+:} false; then :
34295 $as_echo_n "(cached) " >&6
34296 else
34299 ac_ext=cpp
34300 ac_cpp='$CXXCPP $CPPFLAGS'
34301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34306 /* end confdefs.h. */
34307 #include <math.h>
34308 #ifdef HAVE_IEEEFP_H
34309 #include <ieeefp.h>
34310 #endif
34313 main ()
34315 logl(0);
34317 return 0;
34319 _ACEOF
34320 if ac_fn_cxx_try_compile "$LINENO"; then :
34321 glibcxx_cv_func_logl_use=yes
34322 else
34323 glibcxx_cv_func_logl_use=no
34325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34326 ac_ext=c
34327 ac_cpp='$CPP $CPPFLAGS'
34328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
34337 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
34339 if test x$glibcxx_cv_func_logl_use = x"yes"; then
34340 for ac_func in logl
34341 do :
34342 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
34343 if test "x$ac_cv_func_logl" = xyes; then :
34344 cat >>confdefs.h <<_ACEOF
34345 #define HAVE_LOGL 1
34346 _ACEOF
34349 done
34351 else
34353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
34354 $as_echo_n "checking for _logl declaration... " >&6; }
34355 if test x${glibcxx_cv_func__logl_use+set} != xset; then
34356 if ${glibcxx_cv_func__logl_use+:} false; then :
34357 $as_echo_n "(cached) " >&6
34358 else
34361 ac_ext=cpp
34362 ac_cpp='$CXXCPP $CPPFLAGS'
34363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34368 /* end confdefs.h. */
34369 #include <math.h>
34370 #ifdef HAVE_IEEEFP_H
34371 #include <ieeefp.h>
34372 #endif
34375 main ()
34377 _logl(0);
34379 return 0;
34381 _ACEOF
34382 if ac_fn_cxx_try_compile "$LINENO"; then :
34383 glibcxx_cv_func__logl_use=yes
34384 else
34385 glibcxx_cv_func__logl_use=no
34387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34388 ac_ext=c
34389 ac_cpp='$CPP $CPPFLAGS'
34390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
34399 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
34401 if test x$glibcxx_cv_func__logl_use = x"yes"; then
34402 for ac_func in _logl
34403 do :
34404 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
34405 if test "x$ac_cv_func__logl" = xyes; then :
34406 cat >>confdefs.h <<_ACEOF
34407 #define HAVE__LOGL 1
34408 _ACEOF
34411 done
34420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
34421 $as_echo_n "checking for log10l declaration... " >&6; }
34422 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
34423 if ${glibcxx_cv_func_log10l_use+:} false; then :
34424 $as_echo_n "(cached) " >&6
34425 else
34428 ac_ext=cpp
34429 ac_cpp='$CXXCPP $CPPFLAGS'
34430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34435 /* end confdefs.h. */
34436 #include <math.h>
34437 #ifdef HAVE_IEEEFP_H
34438 #include <ieeefp.h>
34439 #endif
34442 main ()
34444 log10l(0);
34446 return 0;
34448 _ACEOF
34449 if ac_fn_cxx_try_compile "$LINENO"; then :
34450 glibcxx_cv_func_log10l_use=yes
34451 else
34452 glibcxx_cv_func_log10l_use=no
34454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34455 ac_ext=c
34456 ac_cpp='$CPP $CPPFLAGS'
34457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34466 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34468 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34469 for ac_func in log10l
34470 do :
34471 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34472 if test "x$ac_cv_func_log10l" = xyes; then :
34473 cat >>confdefs.h <<_ACEOF
34474 #define HAVE_LOG10L 1
34475 _ACEOF
34478 done
34480 else
34482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34483 $as_echo_n "checking for _log10l declaration... " >&6; }
34484 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34485 if ${glibcxx_cv_func__log10l_use+:} false; then :
34486 $as_echo_n "(cached) " >&6
34487 else
34490 ac_ext=cpp
34491 ac_cpp='$CXXCPP $CPPFLAGS'
34492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34497 /* end confdefs.h. */
34498 #include <math.h>
34499 #ifdef HAVE_IEEEFP_H
34500 #include <ieeefp.h>
34501 #endif
34504 main ()
34506 _log10l(0);
34508 return 0;
34510 _ACEOF
34511 if ac_fn_cxx_try_compile "$LINENO"; then :
34512 glibcxx_cv_func__log10l_use=yes
34513 else
34514 glibcxx_cv_func__log10l_use=no
34516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34517 ac_ext=c
34518 ac_cpp='$CPP $CPPFLAGS'
34519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34528 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34530 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34531 for ac_func in _log10l
34532 do :
34533 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34534 if test "x$ac_cv_func__log10l" = xyes; then :
34535 cat >>confdefs.h <<_ACEOF
34536 #define HAVE__LOG10L 1
34537 _ACEOF
34540 done
34549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34550 $as_echo_n "checking for modfl declaration... " >&6; }
34551 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34552 if ${glibcxx_cv_func_modfl_use+:} false; then :
34553 $as_echo_n "(cached) " >&6
34554 else
34557 ac_ext=cpp
34558 ac_cpp='$CXXCPP $CPPFLAGS'
34559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34564 /* end confdefs.h. */
34565 #include <math.h>
34567 main ()
34569 modfl(0, 0);
34571 return 0;
34573 _ACEOF
34574 if ac_fn_cxx_try_compile "$LINENO"; then :
34575 glibcxx_cv_func_modfl_use=yes
34576 else
34577 glibcxx_cv_func_modfl_use=no
34579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34580 ac_ext=c
34581 ac_cpp='$CPP $CPPFLAGS'
34582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
34591 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
34593 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34594 for ac_func in modfl
34595 do :
34596 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
34597 if test "x$ac_cv_func_modfl" = xyes; then :
34598 cat >>confdefs.h <<_ACEOF
34599 #define HAVE_MODFL 1
34600 _ACEOF
34603 done
34605 else
34607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34608 $as_echo_n "checking for _modfl declaration... " >&6; }
34609 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34610 if ${glibcxx_cv_func__modfl_use+:} false; then :
34611 $as_echo_n "(cached) " >&6
34612 else
34615 ac_ext=cpp
34616 ac_cpp='$CXXCPP $CPPFLAGS'
34617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34622 /* end confdefs.h. */
34623 #include <math.h>
34625 main ()
34627 _modfl(0, 0);
34629 return 0;
34631 _ACEOF
34632 if ac_fn_cxx_try_compile "$LINENO"; then :
34633 glibcxx_cv_func__modfl_use=yes
34634 else
34635 glibcxx_cv_func__modfl_use=no
34637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34638 ac_ext=c
34639 ac_cpp='$CPP $CPPFLAGS'
34640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34649 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34651 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34652 for ac_func in _modfl
34653 do :
34654 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34655 if test "x$ac_cv_func__modfl" = xyes; then :
34656 cat >>confdefs.h <<_ACEOF
34657 #define HAVE__MODFL 1
34658 _ACEOF
34661 done
34670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34671 $as_echo_n "checking for powl declaration... " >&6; }
34672 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34673 if ${glibcxx_cv_func_powl_use+:} false; then :
34674 $as_echo_n "(cached) " >&6
34675 else
34678 ac_ext=cpp
34679 ac_cpp='$CXXCPP $CPPFLAGS'
34680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34685 /* end confdefs.h. */
34686 #include <math.h>
34688 main ()
34690 powl(0, 0);
34692 return 0;
34694 _ACEOF
34695 if ac_fn_cxx_try_compile "$LINENO"; then :
34696 glibcxx_cv_func_powl_use=yes
34697 else
34698 glibcxx_cv_func_powl_use=no
34700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34701 ac_ext=c
34702 ac_cpp='$CPP $CPPFLAGS'
34703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34712 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34714 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34715 for ac_func in powl
34716 do :
34717 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34718 if test "x$ac_cv_func_powl" = xyes; then :
34719 cat >>confdefs.h <<_ACEOF
34720 #define HAVE_POWL 1
34721 _ACEOF
34724 done
34726 else
34728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34729 $as_echo_n "checking for _powl declaration... " >&6; }
34730 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34731 if ${glibcxx_cv_func__powl_use+:} false; then :
34732 $as_echo_n "(cached) " >&6
34733 else
34736 ac_ext=cpp
34737 ac_cpp='$CXXCPP $CPPFLAGS'
34738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34743 /* end confdefs.h. */
34744 #include <math.h>
34746 main ()
34748 _powl(0, 0);
34750 return 0;
34752 _ACEOF
34753 if ac_fn_cxx_try_compile "$LINENO"; then :
34754 glibcxx_cv_func__powl_use=yes
34755 else
34756 glibcxx_cv_func__powl_use=no
34758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34759 ac_ext=c
34760 ac_cpp='$CPP $CPPFLAGS'
34761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34770 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34772 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34773 for ac_func in _powl
34774 do :
34775 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34776 if test "x$ac_cv_func__powl" = xyes; then :
34777 cat >>confdefs.h <<_ACEOF
34778 #define HAVE__POWL 1
34779 _ACEOF
34782 done
34791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34792 $as_echo_n "checking for sqrtl declaration... " >&6; }
34793 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34794 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
34795 $as_echo_n "(cached) " >&6
34796 else
34799 ac_ext=cpp
34800 ac_cpp='$CXXCPP $CPPFLAGS'
34801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34806 /* end confdefs.h. */
34807 #include <math.h>
34808 #ifdef HAVE_IEEEFP_H
34809 #include <ieeefp.h>
34810 #endif
34813 main ()
34815 sqrtl(0);
34817 return 0;
34819 _ACEOF
34820 if ac_fn_cxx_try_compile "$LINENO"; then :
34821 glibcxx_cv_func_sqrtl_use=yes
34822 else
34823 glibcxx_cv_func_sqrtl_use=no
34825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34826 ac_ext=c
34827 ac_cpp='$CPP $CPPFLAGS'
34828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34837 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34839 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34840 for ac_func in sqrtl
34841 do :
34842 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34843 if test "x$ac_cv_func_sqrtl" = xyes; then :
34844 cat >>confdefs.h <<_ACEOF
34845 #define HAVE_SQRTL 1
34846 _ACEOF
34849 done
34851 else
34853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34854 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34855 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34856 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
34857 $as_echo_n "(cached) " >&6
34858 else
34861 ac_ext=cpp
34862 ac_cpp='$CXXCPP $CPPFLAGS'
34863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34868 /* end confdefs.h. */
34869 #include <math.h>
34870 #ifdef HAVE_IEEEFP_H
34871 #include <ieeefp.h>
34872 #endif
34875 main ()
34877 _sqrtl(0);
34879 return 0;
34881 _ACEOF
34882 if ac_fn_cxx_try_compile "$LINENO"; then :
34883 glibcxx_cv_func__sqrtl_use=yes
34884 else
34885 glibcxx_cv_func__sqrtl_use=no
34887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34888 ac_ext=c
34889 ac_cpp='$CPP $CPPFLAGS'
34890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34899 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34901 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34902 for ac_func in _sqrtl
34903 do :
34904 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34905 if test "x$ac_cv_func__sqrtl" = xyes; then :
34906 cat >>confdefs.h <<_ACEOF
34907 #define HAVE__SQRTL 1
34908 _ACEOF
34911 done
34920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34921 $as_echo_n "checking for sincosl declaration... " >&6; }
34922 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34923 if ${glibcxx_cv_func_sincosl_use+:} false; then :
34924 $as_echo_n "(cached) " >&6
34925 else
34928 ac_ext=cpp
34929 ac_cpp='$CXXCPP $CPPFLAGS'
34930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34935 /* end confdefs.h. */
34936 #include <math.h>
34938 main ()
34940 sincosl(0, 0, 0);
34942 return 0;
34944 _ACEOF
34945 if ac_fn_cxx_try_compile "$LINENO"; then :
34946 glibcxx_cv_func_sincosl_use=yes
34947 else
34948 glibcxx_cv_func_sincosl_use=no
34950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34951 ac_ext=c
34952 ac_cpp='$CPP $CPPFLAGS'
34953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34962 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34964 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34965 for ac_func in sincosl
34966 do :
34967 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34968 if test "x$ac_cv_func_sincosl" = xyes; then :
34969 cat >>confdefs.h <<_ACEOF
34970 #define HAVE_SINCOSL 1
34971 _ACEOF
34974 done
34976 else
34978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34979 $as_echo_n "checking for _sincosl declaration... " >&6; }
34980 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34981 if ${glibcxx_cv_func__sincosl_use+:} false; then :
34982 $as_echo_n "(cached) " >&6
34983 else
34986 ac_ext=cpp
34987 ac_cpp='$CXXCPP $CPPFLAGS'
34988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34993 /* end confdefs.h. */
34994 #include <math.h>
34996 main ()
34998 _sincosl(0, 0, 0);
35000 return 0;
35002 _ACEOF
35003 if ac_fn_cxx_try_compile "$LINENO"; then :
35004 glibcxx_cv_func__sincosl_use=yes
35005 else
35006 glibcxx_cv_func__sincosl_use=no
35008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35009 ac_ext=c
35010 ac_cpp='$CPP $CPPFLAGS'
35011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
35020 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
35022 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
35023 for ac_func in _sincosl
35024 do :
35025 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
35026 if test "x$ac_cv_func__sincosl" = xyes; then :
35027 cat >>confdefs.h <<_ACEOF
35028 #define HAVE__SINCOSL 1
35029 _ACEOF
35032 done
35041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
35042 $as_echo_n "checking for finitel declaration... " >&6; }
35043 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
35044 if ${glibcxx_cv_func_finitel_use+:} false; then :
35045 $as_echo_n "(cached) " >&6
35046 else
35049 ac_ext=cpp
35050 ac_cpp='$CXXCPP $CPPFLAGS'
35051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35056 /* end confdefs.h. */
35057 #include <math.h>
35058 #ifdef HAVE_IEEEFP_H
35059 #include <ieeefp.h>
35060 #endif
35063 main ()
35065 finitel(0);
35067 return 0;
35069 _ACEOF
35070 if ac_fn_cxx_try_compile "$LINENO"; then :
35071 glibcxx_cv_func_finitel_use=yes
35072 else
35073 glibcxx_cv_func_finitel_use=no
35075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35076 ac_ext=c
35077 ac_cpp='$CPP $CPPFLAGS'
35078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
35087 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
35089 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
35090 for ac_func in finitel
35091 do :
35092 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
35093 if test "x$ac_cv_func_finitel" = xyes; then :
35094 cat >>confdefs.h <<_ACEOF
35095 #define HAVE_FINITEL 1
35096 _ACEOF
35099 done
35101 else
35103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
35104 $as_echo_n "checking for _finitel declaration... " >&6; }
35105 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
35106 if ${glibcxx_cv_func__finitel_use+:} false; then :
35107 $as_echo_n "(cached) " >&6
35108 else
35111 ac_ext=cpp
35112 ac_cpp='$CXXCPP $CPPFLAGS'
35113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35118 /* end confdefs.h. */
35119 #include <math.h>
35120 #ifdef HAVE_IEEEFP_H
35121 #include <ieeefp.h>
35122 #endif
35125 main ()
35127 _finitel(0);
35129 return 0;
35131 _ACEOF
35132 if ac_fn_cxx_try_compile "$LINENO"; then :
35133 glibcxx_cv_func__finitel_use=yes
35134 else
35135 glibcxx_cv_func__finitel_use=no
35137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35138 ac_ext=c
35139 ac_cpp='$CPP $CPPFLAGS'
35140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
35149 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
35151 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
35152 for ac_func in _finitel
35153 do :
35154 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
35155 if test "x$ac_cv_func__finitel" = xyes; then :
35156 cat >>confdefs.h <<_ACEOF
35157 #define HAVE__FINITEL 1
35158 _ACEOF
35161 done
35169 LIBS="$ac_save_LIBS"
35170 CXXFLAGS="$ac_save_CXXFLAGS"
35173 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35174 ac_save_CXXFLAGS="$CXXFLAGS"
35175 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
35179 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
35180 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
35181 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
35182 $as_echo_n "(cached) " >&6
35183 else
35186 ac_ext=cpp
35187 ac_cpp='$CXXCPP $CPPFLAGS'
35188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35193 /* end confdefs.h. */
35194 #include <stdlib.h>
35196 main ()
35198 at_quick_exit(0);
35200 return 0;
35202 _ACEOF
35203 if ac_fn_cxx_try_compile "$LINENO"; then :
35204 glibcxx_cv_func_at_quick_exit_use=yes
35205 else
35206 glibcxx_cv_func_at_quick_exit_use=no
35208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35209 ac_ext=c
35210 ac_cpp='$CPP $CPPFLAGS'
35211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
35220 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
35221 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
35222 for ac_func in at_quick_exit
35223 do :
35224 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
35225 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
35226 cat >>confdefs.h <<_ACEOF
35227 #define HAVE_AT_QUICK_EXIT 1
35228 _ACEOF
35231 done
35236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
35237 $as_echo_n "checking for quick_exit declaration... " >&6; }
35238 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
35239 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
35240 $as_echo_n "(cached) " >&6
35241 else
35244 ac_ext=cpp
35245 ac_cpp='$CXXCPP $CPPFLAGS'
35246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35251 /* end confdefs.h. */
35252 #include <stdlib.h>
35254 main ()
35256 quick_exit(0);
35258 return 0;
35260 _ACEOF
35261 if ac_fn_cxx_try_compile "$LINENO"; then :
35262 glibcxx_cv_func_quick_exit_use=yes
35263 else
35264 glibcxx_cv_func_quick_exit_use=no
35266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35267 ac_ext=c
35268 ac_cpp='$CPP $CPPFLAGS'
35269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
35278 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
35279 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
35280 for ac_func in quick_exit
35281 do :
35282 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
35283 if test "x$ac_cv_func_quick_exit" = xyes; then :
35284 cat >>confdefs.h <<_ACEOF
35285 #define HAVE_QUICK_EXIT 1
35286 _ACEOF
35289 done
35294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
35295 $as_echo_n "checking for strtold declaration... " >&6; }
35296 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
35297 if ${glibcxx_cv_func_strtold_use+:} false; then :
35298 $as_echo_n "(cached) " >&6
35299 else
35302 ac_ext=cpp
35303 ac_cpp='$CXXCPP $CPPFLAGS'
35304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35309 /* end confdefs.h. */
35310 #include <stdlib.h>
35312 main ()
35314 strtold(0, 0);
35316 return 0;
35318 _ACEOF
35319 if ac_fn_cxx_try_compile "$LINENO"; then :
35320 glibcxx_cv_func_strtold_use=yes
35321 else
35322 glibcxx_cv_func_strtold_use=no
35324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35325 ac_ext=c
35326 ac_cpp='$CPP $CPPFLAGS'
35327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
35336 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
35337 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
35338 for ac_func in strtold
35339 do :
35340 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
35341 if test "x$ac_cv_func_strtold" = xyes; then :
35342 cat >>confdefs.h <<_ACEOF
35343 #define HAVE_STRTOLD 1
35344 _ACEOF
35347 done
35354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
35355 $as_echo_n "checking for strtof declaration... " >&6; }
35356 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
35357 if ${glibcxx_cv_func_strtof_use+:} false; then :
35358 $as_echo_n "(cached) " >&6
35359 else
35362 ac_ext=cpp
35363 ac_cpp='$CXXCPP $CPPFLAGS'
35364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35369 /* end confdefs.h. */
35370 #include <stdlib.h>
35372 main ()
35374 strtof(0, 0);
35376 return 0;
35378 _ACEOF
35379 if ac_fn_cxx_try_compile "$LINENO"; then :
35380 glibcxx_cv_func_strtof_use=yes
35381 else
35382 glibcxx_cv_func_strtof_use=no
35384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35385 ac_ext=c
35386 ac_cpp='$CPP $CPPFLAGS'
35387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
35396 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
35397 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
35398 for ac_func in strtof
35399 do :
35400 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
35401 if test "x$ac_cv_func_strtof" = xyes; then :
35402 cat >>confdefs.h <<_ACEOF
35403 #define HAVE_STRTOF 1
35404 _ACEOF
35407 done
35414 CXXFLAGS="$ac_save_CXXFLAGS"
35417 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
35419 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
35421 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
35423 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
35426 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35428 $as_echo "#define HAVE_MODF 1" >>confdefs.h
35430 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35434 *-aix*)
35436 # If we're not using GNU ld, then there's no point in even trying these
35437 # tests. Check for that first. We should have already tested for gld
35438 # by now (in libtool), but require it now just to be safe...
35439 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35440 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35444 # The name set by libtool depends on the version of libtool. Shame on us
35445 # for depending on an impl detail, but c'est la vie. Older versions used
35446 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35447 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35448 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
35449 # set (hence we're using an older libtool), then set it.
35450 if test x${with_gnu_ld+set} != xset; then
35451 if test x${ac_cv_prog_gnu_ld+set} != xset; then
35452 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
35453 with_gnu_ld=no
35454 else
35455 with_gnu_ld=$ac_cv_prog_gnu_ld
35459 # Start by getting the version number. I think the libtool test already
35460 # does some of this, but throws away the result.
35461 glibcxx_ld_is_gold=no
35462 if test x"$with_gnu_ld" = x"yes"; then
35463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35464 $as_echo_n "checking for ld version... " >&6; }
35466 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35467 glibcxx_ld_is_gold=yes
35469 ldver=`$LD --version 2>/dev/null |
35470 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
35472 glibcxx_gnu_ld_version=`echo $ldver | \
35473 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35475 $as_echo "$glibcxx_gnu_ld_version" >&6; }
35478 # Set --gc-sections.
35479 glibcxx_have_gc_sections=no
35480 if test "$glibcxx_ld_is_gold" = "yes"; then
35481 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35482 glibcxx_have_gc_sections=yes
35484 else
35485 glibcxx_gcsections_min_ld=21602
35486 if test x"$with_gnu_ld" = x"yes" &&
35487 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35488 glibcxx_have_gc_sections=yes
35491 if test "$glibcxx_have_gc_sections" = "yes"; then
35492 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
35493 # NB: This flag only works reliably after 2.16.1. Configure tests
35494 # for this are difficult, so hard wire a value that should work.
35496 ac_test_CFLAGS="${CFLAGS+set}"
35497 ac_save_CFLAGS="$CFLAGS"
35498 CFLAGS='-Wl,--gc-sections'
35500 # Check for -Wl,--gc-sections
35501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35502 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35503 if test x$gcc_no_link = xyes; then
35504 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35507 /* end confdefs.h. */
35508 int one(void) { return 1; }
35509 int two(void) { return 2; }
35512 main ()
35514 two();
35516 return 0;
35518 _ACEOF
35519 if ac_fn_c_try_link "$LINENO"; then :
35520 ac_gcsections=yes
35521 else
35522 ac_gcsections=no
35524 rm -f core conftest.err conftest.$ac_objext \
35525 conftest$ac_exeext conftest.$ac_ext
35526 if test "$ac_gcsections" = "yes"; then
35527 rm -f conftest.c
35528 touch conftest.c
35529 if $CC -c conftest.c; then
35530 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35531 grep "Warning: gc-sections option ignored" > /dev/null; then
35532 ac_gcsections=no
35535 rm -f conftest.c conftest.o conftest
35537 if test "$ac_gcsections" = "yes"; then
35538 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35541 $as_echo "$ac_gcsections" >&6; }
35543 if test "$ac_test_CFLAGS" = set; then
35544 CFLAGS="$ac_save_CFLAGS"
35545 else
35546 # this is the suspicious part
35547 CFLAGS=''
35551 # Set -z,relro.
35552 # Note this is only for shared objects.
35553 ac_ld_relro=no
35554 if test x"$with_gnu_ld" = x"yes"; then
35555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35556 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35557 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35558 if test -n "$cxx_z_relo"; then
35559 OPT_LDFLAGS="-Wl,-z,relro"
35560 ac_ld_relro=yes
35562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35563 $as_echo "$ac_ld_relro" >&6; }
35566 # Set linker optimization flags.
35567 if test x"$with_gnu_ld" = x"yes"; then
35568 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35575 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35576 ac_save_CXXFLAGS="$CXXFLAGS"
35577 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35580 $as_echo_n "checking for sin in -lm... " >&6; }
35581 if ${ac_cv_lib_m_sin+:} false; then :
35582 $as_echo_n "(cached) " >&6
35583 else
35584 ac_check_lib_save_LIBS=$LIBS
35585 LIBS="-lm $LIBS"
35586 if test x$gcc_no_link = xyes; then
35587 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35590 /* end confdefs.h. */
35592 /* Override any GCC internal prototype to avoid an error.
35593 Use char because int might match the return type of a GCC
35594 builtin and then its argument prototype would still apply. */
35595 #ifdef __cplusplus
35596 extern "C"
35597 #endif
35598 char sin ();
35600 main ()
35602 return sin ();
35604 return 0;
35606 _ACEOF
35607 if ac_fn_c_try_link "$LINENO"; then :
35608 ac_cv_lib_m_sin=yes
35609 else
35610 ac_cv_lib_m_sin=no
35612 rm -f core conftest.err conftest.$ac_objext \
35613 conftest$ac_exeext conftest.$ac_ext
35614 LIBS=$ac_check_lib_save_LIBS
35616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35617 $as_echo "$ac_cv_lib_m_sin" >&6; }
35618 if test "x$ac_cv_lib_m_sin" = xyes; then :
35619 libm="-lm"
35622 ac_save_LIBS="$LIBS"
35623 LIBS="$LIBS $libm"
35627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35628 $as_echo_n "checking for isinf declaration... " >&6; }
35629 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35630 if ${glibcxx_cv_func_isinf_use+:} false; then :
35631 $as_echo_n "(cached) " >&6
35632 else
35635 ac_ext=cpp
35636 ac_cpp='$CXXCPP $CPPFLAGS'
35637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35642 /* end confdefs.h. */
35643 #include <math.h>
35644 #ifdef HAVE_IEEEFP_H
35645 #include <ieeefp.h>
35646 #endif
35649 main ()
35651 isinf(0);
35653 return 0;
35655 _ACEOF
35656 if ac_fn_cxx_try_compile "$LINENO"; then :
35657 glibcxx_cv_func_isinf_use=yes
35658 else
35659 glibcxx_cv_func_isinf_use=no
35661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35662 ac_ext=c
35663 ac_cpp='$CPP $CPPFLAGS'
35664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35673 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35675 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35676 for ac_func in isinf
35677 do :
35678 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35679 if test "x$ac_cv_func_isinf" = xyes; then :
35680 cat >>confdefs.h <<_ACEOF
35681 #define HAVE_ISINF 1
35682 _ACEOF
35685 done
35687 else
35689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35690 $as_echo_n "checking for _isinf declaration... " >&6; }
35691 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35692 if ${glibcxx_cv_func__isinf_use+:} false; then :
35693 $as_echo_n "(cached) " >&6
35694 else
35697 ac_ext=cpp
35698 ac_cpp='$CXXCPP $CPPFLAGS'
35699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35704 /* end confdefs.h. */
35705 #include <math.h>
35706 #ifdef HAVE_IEEEFP_H
35707 #include <ieeefp.h>
35708 #endif
35711 main ()
35713 _isinf(0);
35715 return 0;
35717 _ACEOF
35718 if ac_fn_cxx_try_compile "$LINENO"; then :
35719 glibcxx_cv_func__isinf_use=yes
35720 else
35721 glibcxx_cv_func__isinf_use=no
35723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35724 ac_ext=c
35725 ac_cpp='$CPP $CPPFLAGS'
35726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35735 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35737 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35738 for ac_func in _isinf
35739 do :
35740 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35741 if test "x$ac_cv_func__isinf" = xyes; then :
35742 cat >>confdefs.h <<_ACEOF
35743 #define HAVE__ISINF 1
35744 _ACEOF
35747 done
35756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35757 $as_echo_n "checking for isnan declaration... " >&6; }
35758 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35759 if ${glibcxx_cv_func_isnan_use+:} false; then :
35760 $as_echo_n "(cached) " >&6
35761 else
35764 ac_ext=cpp
35765 ac_cpp='$CXXCPP $CPPFLAGS'
35766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35771 /* end confdefs.h. */
35772 #include <math.h>
35773 #ifdef HAVE_IEEEFP_H
35774 #include <ieeefp.h>
35775 #endif
35778 main ()
35780 isnan(0);
35782 return 0;
35784 _ACEOF
35785 if ac_fn_cxx_try_compile "$LINENO"; then :
35786 glibcxx_cv_func_isnan_use=yes
35787 else
35788 glibcxx_cv_func_isnan_use=no
35790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35791 ac_ext=c
35792 ac_cpp='$CPP $CPPFLAGS'
35793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35802 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35804 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35805 for ac_func in isnan
35806 do :
35807 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35808 if test "x$ac_cv_func_isnan" = xyes; then :
35809 cat >>confdefs.h <<_ACEOF
35810 #define HAVE_ISNAN 1
35811 _ACEOF
35814 done
35816 else
35818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35819 $as_echo_n "checking for _isnan declaration... " >&6; }
35820 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35821 if ${glibcxx_cv_func__isnan_use+:} false; then :
35822 $as_echo_n "(cached) " >&6
35823 else
35826 ac_ext=cpp
35827 ac_cpp='$CXXCPP $CPPFLAGS'
35828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35833 /* end confdefs.h. */
35834 #include <math.h>
35835 #ifdef HAVE_IEEEFP_H
35836 #include <ieeefp.h>
35837 #endif
35840 main ()
35842 _isnan(0);
35844 return 0;
35846 _ACEOF
35847 if ac_fn_cxx_try_compile "$LINENO"; then :
35848 glibcxx_cv_func__isnan_use=yes
35849 else
35850 glibcxx_cv_func__isnan_use=no
35852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35853 ac_ext=c
35854 ac_cpp='$CPP $CPPFLAGS'
35855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35864 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35866 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35867 for ac_func in _isnan
35868 do :
35869 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35870 if test "x$ac_cv_func__isnan" = xyes; then :
35871 cat >>confdefs.h <<_ACEOF
35872 #define HAVE__ISNAN 1
35873 _ACEOF
35876 done
35885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35886 $as_echo_n "checking for finite declaration... " >&6; }
35887 if test x${glibcxx_cv_func_finite_use+set} != xset; then
35888 if ${glibcxx_cv_func_finite_use+:} false; then :
35889 $as_echo_n "(cached) " >&6
35890 else
35893 ac_ext=cpp
35894 ac_cpp='$CXXCPP $CPPFLAGS'
35895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35900 /* end confdefs.h. */
35901 #include <math.h>
35902 #ifdef HAVE_IEEEFP_H
35903 #include <ieeefp.h>
35904 #endif
35907 main ()
35909 finite(0);
35911 return 0;
35913 _ACEOF
35914 if ac_fn_cxx_try_compile "$LINENO"; then :
35915 glibcxx_cv_func_finite_use=yes
35916 else
35917 glibcxx_cv_func_finite_use=no
35919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35920 ac_ext=c
35921 ac_cpp='$CPP $CPPFLAGS'
35922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35931 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35933 if test x$glibcxx_cv_func_finite_use = x"yes"; then
35934 for ac_func in finite
35935 do :
35936 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35937 if test "x$ac_cv_func_finite" = xyes; then :
35938 cat >>confdefs.h <<_ACEOF
35939 #define HAVE_FINITE 1
35940 _ACEOF
35943 done
35945 else
35947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35948 $as_echo_n "checking for _finite declaration... " >&6; }
35949 if test x${glibcxx_cv_func__finite_use+set} != xset; then
35950 if ${glibcxx_cv_func__finite_use+:} false; then :
35951 $as_echo_n "(cached) " >&6
35952 else
35955 ac_ext=cpp
35956 ac_cpp='$CXXCPP $CPPFLAGS'
35957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35962 /* end confdefs.h. */
35963 #include <math.h>
35964 #ifdef HAVE_IEEEFP_H
35965 #include <ieeefp.h>
35966 #endif
35969 main ()
35971 _finite(0);
35973 return 0;
35975 _ACEOF
35976 if ac_fn_cxx_try_compile "$LINENO"; then :
35977 glibcxx_cv_func__finite_use=yes
35978 else
35979 glibcxx_cv_func__finite_use=no
35981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35982 ac_ext=c
35983 ac_cpp='$CPP $CPPFLAGS'
35984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35993 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35995 if test x$glibcxx_cv_func__finite_use = x"yes"; then
35996 for ac_func in _finite
35997 do :
35998 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35999 if test "x$ac_cv_func__finite" = xyes; then :
36000 cat >>confdefs.h <<_ACEOF
36001 #define HAVE__FINITE 1
36002 _ACEOF
36005 done
36014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
36015 $as_echo_n "checking for sincos declaration... " >&6; }
36016 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
36017 if ${glibcxx_cv_func_sincos_use+:} false; then :
36018 $as_echo_n "(cached) " >&6
36019 else
36022 ac_ext=cpp
36023 ac_cpp='$CXXCPP $CPPFLAGS'
36024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36029 /* end confdefs.h. */
36030 #include <math.h>
36032 main ()
36034 sincos(0, 0, 0);
36036 return 0;
36038 _ACEOF
36039 if ac_fn_cxx_try_compile "$LINENO"; then :
36040 glibcxx_cv_func_sincos_use=yes
36041 else
36042 glibcxx_cv_func_sincos_use=no
36044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36045 ac_ext=c
36046 ac_cpp='$CPP $CPPFLAGS'
36047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
36056 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
36058 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
36059 for ac_func in sincos
36060 do :
36061 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
36062 if test "x$ac_cv_func_sincos" = xyes; then :
36063 cat >>confdefs.h <<_ACEOF
36064 #define HAVE_SINCOS 1
36065 _ACEOF
36068 done
36070 else
36072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
36073 $as_echo_n "checking for _sincos declaration... " >&6; }
36074 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
36075 if ${glibcxx_cv_func__sincos_use+:} false; then :
36076 $as_echo_n "(cached) " >&6
36077 else
36080 ac_ext=cpp
36081 ac_cpp='$CXXCPP $CPPFLAGS'
36082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36087 /* end confdefs.h. */
36088 #include <math.h>
36090 main ()
36092 _sincos(0, 0, 0);
36094 return 0;
36096 _ACEOF
36097 if ac_fn_cxx_try_compile "$LINENO"; then :
36098 glibcxx_cv_func__sincos_use=yes
36099 else
36100 glibcxx_cv_func__sincos_use=no
36102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36103 ac_ext=c
36104 ac_cpp='$CPP $CPPFLAGS'
36105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
36114 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
36116 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
36117 for ac_func in _sincos
36118 do :
36119 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
36120 if test "x$ac_cv_func__sincos" = xyes; then :
36121 cat >>confdefs.h <<_ACEOF
36122 #define HAVE__SINCOS 1
36123 _ACEOF
36126 done
36135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
36136 $as_echo_n "checking for fpclass declaration... " >&6; }
36137 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
36138 if ${glibcxx_cv_func_fpclass_use+:} false; then :
36139 $as_echo_n "(cached) " >&6
36140 else
36143 ac_ext=cpp
36144 ac_cpp='$CXXCPP $CPPFLAGS'
36145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36150 /* end confdefs.h. */
36151 #include <math.h>
36152 #ifdef HAVE_IEEEFP_H
36153 #include <ieeefp.h>
36154 #endif
36157 main ()
36159 fpclass(0);
36161 return 0;
36163 _ACEOF
36164 if ac_fn_cxx_try_compile "$LINENO"; then :
36165 glibcxx_cv_func_fpclass_use=yes
36166 else
36167 glibcxx_cv_func_fpclass_use=no
36169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36170 ac_ext=c
36171 ac_cpp='$CPP $CPPFLAGS'
36172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
36181 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
36183 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
36184 for ac_func in fpclass
36185 do :
36186 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
36187 if test "x$ac_cv_func_fpclass" = xyes; then :
36188 cat >>confdefs.h <<_ACEOF
36189 #define HAVE_FPCLASS 1
36190 _ACEOF
36193 done
36195 else
36197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
36198 $as_echo_n "checking for _fpclass declaration... " >&6; }
36199 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
36200 if ${glibcxx_cv_func__fpclass_use+:} false; then :
36201 $as_echo_n "(cached) " >&6
36202 else
36205 ac_ext=cpp
36206 ac_cpp='$CXXCPP $CPPFLAGS'
36207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36212 /* end confdefs.h. */
36213 #include <math.h>
36214 #ifdef HAVE_IEEEFP_H
36215 #include <ieeefp.h>
36216 #endif
36219 main ()
36221 _fpclass(0);
36223 return 0;
36225 _ACEOF
36226 if ac_fn_cxx_try_compile "$LINENO"; then :
36227 glibcxx_cv_func__fpclass_use=yes
36228 else
36229 glibcxx_cv_func__fpclass_use=no
36231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36232 ac_ext=c
36233 ac_cpp='$CPP $CPPFLAGS'
36234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
36243 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
36245 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
36246 for ac_func in _fpclass
36247 do :
36248 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
36249 if test "x$ac_cv_func__fpclass" = xyes; then :
36250 cat >>confdefs.h <<_ACEOF
36251 #define HAVE__FPCLASS 1
36252 _ACEOF
36255 done
36264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
36265 $as_echo_n "checking for qfpclass declaration... " >&6; }
36266 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
36267 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
36268 $as_echo_n "(cached) " >&6
36269 else
36272 ac_ext=cpp
36273 ac_cpp='$CXXCPP $CPPFLAGS'
36274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36279 /* end confdefs.h. */
36280 #include <math.h>
36281 #ifdef HAVE_IEEEFP_H
36282 #include <ieeefp.h>
36283 #endif
36286 main ()
36288 qfpclass(0);
36290 return 0;
36292 _ACEOF
36293 if ac_fn_cxx_try_compile "$LINENO"; then :
36294 glibcxx_cv_func_qfpclass_use=yes
36295 else
36296 glibcxx_cv_func_qfpclass_use=no
36298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36299 ac_ext=c
36300 ac_cpp='$CPP $CPPFLAGS'
36301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
36310 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
36312 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
36313 for ac_func in qfpclass
36314 do :
36315 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
36316 if test "x$ac_cv_func_qfpclass" = xyes; then :
36317 cat >>confdefs.h <<_ACEOF
36318 #define HAVE_QFPCLASS 1
36319 _ACEOF
36322 done
36324 else
36326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
36327 $as_echo_n "checking for _qfpclass declaration... " >&6; }
36328 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
36329 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
36330 $as_echo_n "(cached) " >&6
36331 else
36334 ac_ext=cpp
36335 ac_cpp='$CXXCPP $CPPFLAGS'
36336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36341 /* end confdefs.h. */
36342 #include <math.h>
36343 #ifdef HAVE_IEEEFP_H
36344 #include <ieeefp.h>
36345 #endif
36348 main ()
36350 _qfpclass(0);
36352 return 0;
36354 _ACEOF
36355 if ac_fn_cxx_try_compile "$LINENO"; then :
36356 glibcxx_cv_func__qfpclass_use=yes
36357 else
36358 glibcxx_cv_func__qfpclass_use=no
36360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36361 ac_ext=c
36362 ac_cpp='$CPP $CPPFLAGS'
36363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36372 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36374 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36375 for ac_func in _qfpclass
36376 do :
36377 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36378 if test "x$ac_cv_func__qfpclass" = xyes; then :
36379 cat >>confdefs.h <<_ACEOF
36380 #define HAVE__QFPCLASS 1
36381 _ACEOF
36384 done
36393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36394 $as_echo_n "checking for hypot declaration... " >&6; }
36395 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36396 if ${glibcxx_cv_func_hypot_use+:} false; then :
36397 $as_echo_n "(cached) " >&6
36398 else
36401 ac_ext=cpp
36402 ac_cpp='$CXXCPP $CPPFLAGS'
36403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36408 /* end confdefs.h. */
36409 #include <math.h>
36411 main ()
36413 hypot(0, 0);
36415 return 0;
36417 _ACEOF
36418 if ac_fn_cxx_try_compile "$LINENO"; then :
36419 glibcxx_cv_func_hypot_use=yes
36420 else
36421 glibcxx_cv_func_hypot_use=no
36423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36424 ac_ext=c
36425 ac_cpp='$CPP $CPPFLAGS'
36426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36435 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36437 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36438 for ac_func in hypot
36439 do :
36440 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36441 if test "x$ac_cv_func_hypot" = xyes; then :
36442 cat >>confdefs.h <<_ACEOF
36443 #define HAVE_HYPOT 1
36444 _ACEOF
36447 done
36449 else
36451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36452 $as_echo_n "checking for _hypot declaration... " >&6; }
36453 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36454 if ${glibcxx_cv_func__hypot_use+:} false; then :
36455 $as_echo_n "(cached) " >&6
36456 else
36459 ac_ext=cpp
36460 ac_cpp='$CXXCPP $CPPFLAGS'
36461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36466 /* end confdefs.h. */
36467 #include <math.h>
36469 main ()
36471 _hypot(0, 0);
36473 return 0;
36475 _ACEOF
36476 if ac_fn_cxx_try_compile "$LINENO"; then :
36477 glibcxx_cv_func__hypot_use=yes
36478 else
36479 glibcxx_cv_func__hypot_use=no
36481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36482 ac_ext=c
36483 ac_cpp='$CPP $CPPFLAGS'
36484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36493 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36495 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36496 for ac_func in _hypot
36497 do :
36498 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36499 if test "x$ac_cv_func__hypot" = xyes; then :
36500 cat >>confdefs.h <<_ACEOF
36501 #define HAVE__HYPOT 1
36502 _ACEOF
36505 done
36514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36515 $as_echo_n "checking for float trig functions... " >&6; }
36516 if ${glibcxx_cv_func_float_trig_use+:} false; then :
36517 $as_echo_n "(cached) " >&6
36518 else
36521 ac_ext=cpp
36522 ac_cpp='$CXXCPP $CPPFLAGS'
36523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36528 /* end confdefs.h. */
36529 #include <math.h>
36531 main ()
36533 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36535 return 0;
36537 _ACEOF
36538 if ac_fn_cxx_try_compile "$LINENO"; then :
36539 glibcxx_cv_func_float_trig_use=yes
36540 else
36541 glibcxx_cv_func_float_trig_use=no
36543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36544 ac_ext=c
36545 ac_cpp='$CPP $CPPFLAGS'
36546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36553 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36554 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36555 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36556 do :
36557 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36558 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36559 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36560 cat >>confdefs.h <<_ACEOF
36561 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36562 _ACEOF
36565 done
36567 else
36568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36569 $as_echo_n "checking for _float trig functions... " >&6; }
36570 if ${glibcxx_cv_func__float_trig_use+:} false; then :
36571 $as_echo_n "(cached) " >&6
36572 else
36575 ac_ext=cpp
36576 ac_cpp='$CXXCPP $CPPFLAGS'
36577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36582 /* end confdefs.h. */
36583 #include <math.h>
36585 main ()
36587 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36589 return 0;
36591 _ACEOF
36592 if ac_fn_cxx_try_compile "$LINENO"; then :
36593 glibcxx_cv_func__float_trig_use=yes
36594 else
36595 glibcxx_cv_func__float_trig_use=no
36597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36598 ac_ext=c
36599 ac_cpp='$CPP $CPPFLAGS'
36600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36607 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36608 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36609 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36610 do :
36611 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36612 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36613 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36614 cat >>confdefs.h <<_ACEOF
36615 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36616 _ACEOF
36619 done
36628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36629 $as_echo_n "checking for float round functions... " >&6; }
36630 if ${glibcxx_cv_func_float_round_use+:} false; then :
36631 $as_echo_n "(cached) " >&6
36632 else
36635 ac_ext=cpp
36636 ac_cpp='$CXXCPP $CPPFLAGS'
36637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36642 /* end confdefs.h. */
36643 #include <math.h>
36645 main ()
36647 ceilf (0); floorf (0);
36649 return 0;
36651 _ACEOF
36652 if ac_fn_cxx_try_compile "$LINENO"; then :
36653 glibcxx_cv_func_float_round_use=yes
36654 else
36655 glibcxx_cv_func_float_round_use=no
36657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36658 ac_ext=c
36659 ac_cpp='$CPP $CPPFLAGS'
36660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36667 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36668 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36669 for ac_func in ceilf floorf
36670 do :
36671 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36672 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36673 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36674 cat >>confdefs.h <<_ACEOF
36675 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36676 _ACEOF
36679 done
36681 else
36682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36683 $as_echo_n "checking for _float round functions... " >&6; }
36684 if ${glibcxx_cv_func__float_round_use+:} false; then :
36685 $as_echo_n "(cached) " >&6
36686 else
36689 ac_ext=cpp
36690 ac_cpp='$CXXCPP $CPPFLAGS'
36691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36696 /* end confdefs.h. */
36697 #include <math.h>
36699 main ()
36701 _ceilf (0); _floorf (0);
36703 return 0;
36705 _ACEOF
36706 if ac_fn_cxx_try_compile "$LINENO"; then :
36707 glibcxx_cv_func__float_round_use=yes
36708 else
36709 glibcxx_cv_func__float_round_use=no
36711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36712 ac_ext=c
36713 ac_cpp='$CPP $CPPFLAGS'
36714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36721 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36722 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36723 for ac_func in _ceilf _floorf
36724 do :
36725 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36726 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36727 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36728 cat >>confdefs.h <<_ACEOF
36729 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36730 _ACEOF
36733 done
36743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36744 $as_echo_n "checking for expf declaration... " >&6; }
36745 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36746 if ${glibcxx_cv_func_expf_use+:} false; then :
36747 $as_echo_n "(cached) " >&6
36748 else
36751 ac_ext=cpp
36752 ac_cpp='$CXXCPP $CPPFLAGS'
36753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36758 /* end confdefs.h. */
36759 #include <math.h>
36760 #ifdef HAVE_IEEEFP_H
36761 #include <ieeefp.h>
36762 #endif
36765 main ()
36767 expf(0);
36769 return 0;
36771 _ACEOF
36772 if ac_fn_cxx_try_compile "$LINENO"; then :
36773 glibcxx_cv_func_expf_use=yes
36774 else
36775 glibcxx_cv_func_expf_use=no
36777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36778 ac_ext=c
36779 ac_cpp='$CPP $CPPFLAGS'
36780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36789 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36791 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36792 for ac_func in expf
36793 do :
36794 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36795 if test "x$ac_cv_func_expf" = xyes; then :
36796 cat >>confdefs.h <<_ACEOF
36797 #define HAVE_EXPF 1
36798 _ACEOF
36801 done
36803 else
36805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36806 $as_echo_n "checking for _expf declaration... " >&6; }
36807 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36808 if ${glibcxx_cv_func__expf_use+:} false; then :
36809 $as_echo_n "(cached) " >&6
36810 else
36813 ac_ext=cpp
36814 ac_cpp='$CXXCPP $CPPFLAGS'
36815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36820 /* end confdefs.h. */
36821 #include <math.h>
36822 #ifdef HAVE_IEEEFP_H
36823 #include <ieeefp.h>
36824 #endif
36827 main ()
36829 _expf(0);
36831 return 0;
36833 _ACEOF
36834 if ac_fn_cxx_try_compile "$LINENO"; then :
36835 glibcxx_cv_func__expf_use=yes
36836 else
36837 glibcxx_cv_func__expf_use=no
36839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36840 ac_ext=c
36841 ac_cpp='$CPP $CPPFLAGS'
36842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36851 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36853 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36854 for ac_func in _expf
36855 do :
36856 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36857 if test "x$ac_cv_func__expf" = xyes; then :
36858 cat >>confdefs.h <<_ACEOF
36859 #define HAVE__EXPF 1
36860 _ACEOF
36863 done
36872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36873 $as_echo_n "checking for isnanf declaration... " >&6; }
36874 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36875 if ${glibcxx_cv_func_isnanf_use+:} false; then :
36876 $as_echo_n "(cached) " >&6
36877 else
36880 ac_ext=cpp
36881 ac_cpp='$CXXCPP $CPPFLAGS'
36882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36887 /* end confdefs.h. */
36888 #include <math.h>
36889 #ifdef HAVE_IEEEFP_H
36890 #include <ieeefp.h>
36891 #endif
36894 main ()
36896 isnanf(0);
36898 return 0;
36900 _ACEOF
36901 if ac_fn_cxx_try_compile "$LINENO"; then :
36902 glibcxx_cv_func_isnanf_use=yes
36903 else
36904 glibcxx_cv_func_isnanf_use=no
36906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36907 ac_ext=c
36908 ac_cpp='$CPP $CPPFLAGS'
36909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36918 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36920 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36921 for ac_func in isnanf
36922 do :
36923 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36924 if test "x$ac_cv_func_isnanf" = xyes; then :
36925 cat >>confdefs.h <<_ACEOF
36926 #define HAVE_ISNANF 1
36927 _ACEOF
36930 done
36932 else
36934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36935 $as_echo_n "checking for _isnanf declaration... " >&6; }
36936 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36937 if ${glibcxx_cv_func__isnanf_use+:} false; then :
36938 $as_echo_n "(cached) " >&6
36939 else
36942 ac_ext=cpp
36943 ac_cpp='$CXXCPP $CPPFLAGS'
36944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36949 /* end confdefs.h. */
36950 #include <math.h>
36951 #ifdef HAVE_IEEEFP_H
36952 #include <ieeefp.h>
36953 #endif
36956 main ()
36958 _isnanf(0);
36960 return 0;
36962 _ACEOF
36963 if ac_fn_cxx_try_compile "$LINENO"; then :
36964 glibcxx_cv_func__isnanf_use=yes
36965 else
36966 glibcxx_cv_func__isnanf_use=no
36968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36969 ac_ext=c
36970 ac_cpp='$CPP $CPPFLAGS'
36971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36980 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36982 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36983 for ac_func in _isnanf
36984 do :
36985 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36986 if test "x$ac_cv_func__isnanf" = xyes; then :
36987 cat >>confdefs.h <<_ACEOF
36988 #define HAVE__ISNANF 1
36989 _ACEOF
36992 done
37001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
37002 $as_echo_n "checking for isinff declaration... " >&6; }
37003 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
37004 if ${glibcxx_cv_func_isinff_use+:} false; then :
37005 $as_echo_n "(cached) " >&6
37006 else
37009 ac_ext=cpp
37010 ac_cpp='$CXXCPP $CPPFLAGS'
37011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37016 /* end confdefs.h. */
37017 #include <math.h>
37018 #ifdef HAVE_IEEEFP_H
37019 #include <ieeefp.h>
37020 #endif
37023 main ()
37025 isinff(0);
37027 return 0;
37029 _ACEOF
37030 if ac_fn_cxx_try_compile "$LINENO"; then :
37031 glibcxx_cv_func_isinff_use=yes
37032 else
37033 glibcxx_cv_func_isinff_use=no
37035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37036 ac_ext=c
37037 ac_cpp='$CPP $CPPFLAGS'
37038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
37047 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
37049 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
37050 for ac_func in isinff
37051 do :
37052 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
37053 if test "x$ac_cv_func_isinff" = xyes; then :
37054 cat >>confdefs.h <<_ACEOF
37055 #define HAVE_ISINFF 1
37056 _ACEOF
37059 done
37061 else
37063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
37064 $as_echo_n "checking for _isinff declaration... " >&6; }
37065 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
37066 if ${glibcxx_cv_func__isinff_use+:} false; then :
37067 $as_echo_n "(cached) " >&6
37068 else
37071 ac_ext=cpp
37072 ac_cpp='$CXXCPP $CPPFLAGS'
37073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37078 /* end confdefs.h. */
37079 #include <math.h>
37080 #ifdef HAVE_IEEEFP_H
37081 #include <ieeefp.h>
37082 #endif
37085 main ()
37087 _isinff(0);
37089 return 0;
37091 _ACEOF
37092 if ac_fn_cxx_try_compile "$LINENO"; then :
37093 glibcxx_cv_func__isinff_use=yes
37094 else
37095 glibcxx_cv_func__isinff_use=no
37097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37098 ac_ext=c
37099 ac_cpp='$CPP $CPPFLAGS'
37100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
37109 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
37111 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
37112 for ac_func in _isinff
37113 do :
37114 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
37115 if test "x$ac_cv_func__isinff" = xyes; then :
37116 cat >>confdefs.h <<_ACEOF
37117 #define HAVE__ISINFF 1
37118 _ACEOF
37121 done
37130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
37131 $as_echo_n "checking for atan2f declaration... " >&6; }
37132 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
37133 if ${glibcxx_cv_func_atan2f_use+:} false; then :
37134 $as_echo_n "(cached) " >&6
37135 else
37138 ac_ext=cpp
37139 ac_cpp='$CXXCPP $CPPFLAGS'
37140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37145 /* end confdefs.h. */
37146 #include <math.h>
37148 main ()
37150 atan2f(0, 0);
37152 return 0;
37154 _ACEOF
37155 if ac_fn_cxx_try_compile "$LINENO"; then :
37156 glibcxx_cv_func_atan2f_use=yes
37157 else
37158 glibcxx_cv_func_atan2f_use=no
37160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37161 ac_ext=c
37162 ac_cpp='$CPP $CPPFLAGS'
37163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
37172 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
37174 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
37175 for ac_func in atan2f
37176 do :
37177 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
37178 if test "x$ac_cv_func_atan2f" = xyes; then :
37179 cat >>confdefs.h <<_ACEOF
37180 #define HAVE_ATAN2F 1
37181 _ACEOF
37184 done
37186 else
37188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
37189 $as_echo_n "checking for _atan2f declaration... " >&6; }
37190 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
37191 if ${glibcxx_cv_func__atan2f_use+:} false; then :
37192 $as_echo_n "(cached) " >&6
37193 else
37196 ac_ext=cpp
37197 ac_cpp='$CXXCPP $CPPFLAGS'
37198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37203 /* end confdefs.h. */
37204 #include <math.h>
37206 main ()
37208 _atan2f(0, 0);
37210 return 0;
37212 _ACEOF
37213 if ac_fn_cxx_try_compile "$LINENO"; then :
37214 glibcxx_cv_func__atan2f_use=yes
37215 else
37216 glibcxx_cv_func__atan2f_use=no
37218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37219 ac_ext=c
37220 ac_cpp='$CPP $CPPFLAGS'
37221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
37230 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
37232 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
37233 for ac_func in _atan2f
37234 do :
37235 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
37236 if test "x$ac_cv_func__atan2f" = xyes; then :
37237 cat >>confdefs.h <<_ACEOF
37238 #define HAVE__ATAN2F 1
37239 _ACEOF
37242 done
37251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
37252 $as_echo_n "checking for fabsf declaration... " >&6; }
37253 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
37254 if ${glibcxx_cv_func_fabsf_use+:} false; then :
37255 $as_echo_n "(cached) " >&6
37256 else
37259 ac_ext=cpp
37260 ac_cpp='$CXXCPP $CPPFLAGS'
37261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37266 /* end confdefs.h. */
37267 #include <math.h>
37268 #ifdef HAVE_IEEEFP_H
37269 #include <ieeefp.h>
37270 #endif
37273 main ()
37275 fabsf(0);
37277 return 0;
37279 _ACEOF
37280 if ac_fn_cxx_try_compile "$LINENO"; then :
37281 glibcxx_cv_func_fabsf_use=yes
37282 else
37283 glibcxx_cv_func_fabsf_use=no
37285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37286 ac_ext=c
37287 ac_cpp='$CPP $CPPFLAGS'
37288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
37297 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
37299 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
37300 for ac_func in fabsf
37301 do :
37302 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
37303 if test "x$ac_cv_func_fabsf" = xyes; then :
37304 cat >>confdefs.h <<_ACEOF
37305 #define HAVE_FABSF 1
37306 _ACEOF
37309 done
37311 else
37313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
37314 $as_echo_n "checking for _fabsf declaration... " >&6; }
37315 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
37316 if ${glibcxx_cv_func__fabsf_use+:} false; then :
37317 $as_echo_n "(cached) " >&6
37318 else
37321 ac_ext=cpp
37322 ac_cpp='$CXXCPP $CPPFLAGS'
37323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37328 /* end confdefs.h. */
37329 #include <math.h>
37330 #ifdef HAVE_IEEEFP_H
37331 #include <ieeefp.h>
37332 #endif
37335 main ()
37337 _fabsf(0);
37339 return 0;
37341 _ACEOF
37342 if ac_fn_cxx_try_compile "$LINENO"; then :
37343 glibcxx_cv_func__fabsf_use=yes
37344 else
37345 glibcxx_cv_func__fabsf_use=no
37347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37348 ac_ext=c
37349 ac_cpp='$CPP $CPPFLAGS'
37350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37359 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37361 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37362 for ac_func in _fabsf
37363 do :
37364 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37365 if test "x$ac_cv_func__fabsf" = xyes; then :
37366 cat >>confdefs.h <<_ACEOF
37367 #define HAVE__FABSF 1
37368 _ACEOF
37371 done
37380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37381 $as_echo_n "checking for fmodf declaration... " >&6; }
37382 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37383 if ${glibcxx_cv_func_fmodf_use+:} false; then :
37384 $as_echo_n "(cached) " >&6
37385 else
37388 ac_ext=cpp
37389 ac_cpp='$CXXCPP $CPPFLAGS'
37390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37395 /* end confdefs.h. */
37396 #include <math.h>
37398 main ()
37400 fmodf(0, 0);
37402 return 0;
37404 _ACEOF
37405 if ac_fn_cxx_try_compile "$LINENO"; then :
37406 glibcxx_cv_func_fmodf_use=yes
37407 else
37408 glibcxx_cv_func_fmodf_use=no
37410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37411 ac_ext=c
37412 ac_cpp='$CPP $CPPFLAGS'
37413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37422 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37424 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37425 for ac_func in fmodf
37426 do :
37427 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37428 if test "x$ac_cv_func_fmodf" = xyes; then :
37429 cat >>confdefs.h <<_ACEOF
37430 #define HAVE_FMODF 1
37431 _ACEOF
37434 done
37436 else
37438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37439 $as_echo_n "checking for _fmodf declaration... " >&6; }
37440 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37441 if ${glibcxx_cv_func__fmodf_use+:} false; then :
37442 $as_echo_n "(cached) " >&6
37443 else
37446 ac_ext=cpp
37447 ac_cpp='$CXXCPP $CPPFLAGS'
37448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37453 /* end confdefs.h. */
37454 #include <math.h>
37456 main ()
37458 _fmodf(0, 0);
37460 return 0;
37462 _ACEOF
37463 if ac_fn_cxx_try_compile "$LINENO"; then :
37464 glibcxx_cv_func__fmodf_use=yes
37465 else
37466 glibcxx_cv_func__fmodf_use=no
37468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37469 ac_ext=c
37470 ac_cpp='$CPP $CPPFLAGS'
37471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37480 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37482 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37483 for ac_func in _fmodf
37484 do :
37485 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37486 if test "x$ac_cv_func__fmodf" = xyes; then :
37487 cat >>confdefs.h <<_ACEOF
37488 #define HAVE__FMODF 1
37489 _ACEOF
37492 done
37501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37502 $as_echo_n "checking for frexpf declaration... " >&6; }
37503 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37504 if ${glibcxx_cv_func_frexpf_use+:} false; then :
37505 $as_echo_n "(cached) " >&6
37506 else
37509 ac_ext=cpp
37510 ac_cpp='$CXXCPP $CPPFLAGS'
37511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37516 /* end confdefs.h. */
37517 #include <math.h>
37519 main ()
37521 frexpf(0, 0);
37523 return 0;
37525 _ACEOF
37526 if ac_fn_cxx_try_compile "$LINENO"; then :
37527 glibcxx_cv_func_frexpf_use=yes
37528 else
37529 glibcxx_cv_func_frexpf_use=no
37531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37532 ac_ext=c
37533 ac_cpp='$CPP $CPPFLAGS'
37534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37543 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37545 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37546 for ac_func in frexpf
37547 do :
37548 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37549 if test "x$ac_cv_func_frexpf" = xyes; then :
37550 cat >>confdefs.h <<_ACEOF
37551 #define HAVE_FREXPF 1
37552 _ACEOF
37555 done
37557 else
37559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37560 $as_echo_n "checking for _frexpf declaration... " >&6; }
37561 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37562 if ${glibcxx_cv_func__frexpf_use+:} false; then :
37563 $as_echo_n "(cached) " >&6
37564 else
37567 ac_ext=cpp
37568 ac_cpp='$CXXCPP $CPPFLAGS'
37569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37574 /* end confdefs.h. */
37575 #include <math.h>
37577 main ()
37579 _frexpf(0, 0);
37581 return 0;
37583 _ACEOF
37584 if ac_fn_cxx_try_compile "$LINENO"; then :
37585 glibcxx_cv_func__frexpf_use=yes
37586 else
37587 glibcxx_cv_func__frexpf_use=no
37589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37590 ac_ext=c
37591 ac_cpp='$CPP $CPPFLAGS'
37592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37601 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37603 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37604 for ac_func in _frexpf
37605 do :
37606 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37607 if test "x$ac_cv_func__frexpf" = xyes; then :
37608 cat >>confdefs.h <<_ACEOF
37609 #define HAVE__FREXPF 1
37610 _ACEOF
37613 done
37622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37623 $as_echo_n "checking for hypotf declaration... " >&6; }
37624 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37625 if ${glibcxx_cv_func_hypotf_use+:} false; then :
37626 $as_echo_n "(cached) " >&6
37627 else
37630 ac_ext=cpp
37631 ac_cpp='$CXXCPP $CPPFLAGS'
37632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37637 /* end confdefs.h. */
37638 #include <math.h>
37640 main ()
37642 hypotf(0, 0);
37644 return 0;
37646 _ACEOF
37647 if ac_fn_cxx_try_compile "$LINENO"; then :
37648 glibcxx_cv_func_hypotf_use=yes
37649 else
37650 glibcxx_cv_func_hypotf_use=no
37652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37653 ac_ext=c
37654 ac_cpp='$CPP $CPPFLAGS'
37655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37664 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37666 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37667 for ac_func in hypotf
37668 do :
37669 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37670 if test "x$ac_cv_func_hypotf" = xyes; then :
37671 cat >>confdefs.h <<_ACEOF
37672 #define HAVE_HYPOTF 1
37673 _ACEOF
37676 done
37678 else
37680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37681 $as_echo_n "checking for _hypotf declaration... " >&6; }
37682 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37683 if ${glibcxx_cv_func__hypotf_use+:} false; then :
37684 $as_echo_n "(cached) " >&6
37685 else
37688 ac_ext=cpp
37689 ac_cpp='$CXXCPP $CPPFLAGS'
37690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37695 /* end confdefs.h. */
37696 #include <math.h>
37698 main ()
37700 _hypotf(0, 0);
37702 return 0;
37704 _ACEOF
37705 if ac_fn_cxx_try_compile "$LINENO"; then :
37706 glibcxx_cv_func__hypotf_use=yes
37707 else
37708 glibcxx_cv_func__hypotf_use=no
37710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37711 ac_ext=c
37712 ac_cpp='$CPP $CPPFLAGS'
37713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37722 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37724 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37725 for ac_func in _hypotf
37726 do :
37727 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37728 if test "x$ac_cv_func__hypotf" = xyes; then :
37729 cat >>confdefs.h <<_ACEOF
37730 #define HAVE__HYPOTF 1
37731 _ACEOF
37734 done
37743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37744 $as_echo_n "checking for ldexpf declaration... " >&6; }
37745 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37746 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
37747 $as_echo_n "(cached) " >&6
37748 else
37751 ac_ext=cpp
37752 ac_cpp='$CXXCPP $CPPFLAGS'
37753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37758 /* end confdefs.h. */
37759 #include <math.h>
37761 main ()
37763 ldexpf(0, 0);
37765 return 0;
37767 _ACEOF
37768 if ac_fn_cxx_try_compile "$LINENO"; then :
37769 glibcxx_cv_func_ldexpf_use=yes
37770 else
37771 glibcxx_cv_func_ldexpf_use=no
37773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37774 ac_ext=c
37775 ac_cpp='$CPP $CPPFLAGS'
37776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37785 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37787 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37788 for ac_func in ldexpf
37789 do :
37790 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37791 if test "x$ac_cv_func_ldexpf" = xyes; then :
37792 cat >>confdefs.h <<_ACEOF
37793 #define HAVE_LDEXPF 1
37794 _ACEOF
37797 done
37799 else
37801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37802 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37803 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37804 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
37805 $as_echo_n "(cached) " >&6
37806 else
37809 ac_ext=cpp
37810 ac_cpp='$CXXCPP $CPPFLAGS'
37811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37816 /* end confdefs.h. */
37817 #include <math.h>
37819 main ()
37821 _ldexpf(0, 0);
37823 return 0;
37825 _ACEOF
37826 if ac_fn_cxx_try_compile "$LINENO"; then :
37827 glibcxx_cv_func__ldexpf_use=yes
37828 else
37829 glibcxx_cv_func__ldexpf_use=no
37831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37832 ac_ext=c
37833 ac_cpp='$CPP $CPPFLAGS'
37834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37843 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37845 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37846 for ac_func in _ldexpf
37847 do :
37848 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37849 if test "x$ac_cv_func__ldexpf" = xyes; then :
37850 cat >>confdefs.h <<_ACEOF
37851 #define HAVE__LDEXPF 1
37852 _ACEOF
37855 done
37864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37865 $as_echo_n "checking for logf declaration... " >&6; }
37866 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37867 if ${glibcxx_cv_func_logf_use+:} false; then :
37868 $as_echo_n "(cached) " >&6
37869 else
37872 ac_ext=cpp
37873 ac_cpp='$CXXCPP $CPPFLAGS'
37874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37879 /* end confdefs.h. */
37880 #include <math.h>
37881 #ifdef HAVE_IEEEFP_H
37882 #include <ieeefp.h>
37883 #endif
37886 main ()
37888 logf(0);
37890 return 0;
37892 _ACEOF
37893 if ac_fn_cxx_try_compile "$LINENO"; then :
37894 glibcxx_cv_func_logf_use=yes
37895 else
37896 glibcxx_cv_func_logf_use=no
37898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37899 ac_ext=c
37900 ac_cpp='$CPP $CPPFLAGS'
37901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37910 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37912 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37913 for ac_func in logf
37914 do :
37915 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37916 if test "x$ac_cv_func_logf" = xyes; then :
37917 cat >>confdefs.h <<_ACEOF
37918 #define HAVE_LOGF 1
37919 _ACEOF
37922 done
37924 else
37926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37927 $as_echo_n "checking for _logf declaration... " >&6; }
37928 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37929 if ${glibcxx_cv_func__logf_use+:} false; then :
37930 $as_echo_n "(cached) " >&6
37931 else
37934 ac_ext=cpp
37935 ac_cpp='$CXXCPP $CPPFLAGS'
37936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37941 /* end confdefs.h. */
37942 #include <math.h>
37943 #ifdef HAVE_IEEEFP_H
37944 #include <ieeefp.h>
37945 #endif
37948 main ()
37950 _logf(0);
37952 return 0;
37954 _ACEOF
37955 if ac_fn_cxx_try_compile "$LINENO"; then :
37956 glibcxx_cv_func__logf_use=yes
37957 else
37958 glibcxx_cv_func__logf_use=no
37960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37961 ac_ext=c
37962 ac_cpp='$CPP $CPPFLAGS'
37963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37972 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37974 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37975 for ac_func in _logf
37976 do :
37977 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37978 if test "x$ac_cv_func__logf" = xyes; then :
37979 cat >>confdefs.h <<_ACEOF
37980 #define HAVE__LOGF 1
37981 _ACEOF
37984 done
37993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37994 $as_echo_n "checking for log10f declaration... " >&6; }
37995 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37996 if ${glibcxx_cv_func_log10f_use+:} false; then :
37997 $as_echo_n "(cached) " >&6
37998 else
38001 ac_ext=cpp
38002 ac_cpp='$CXXCPP $CPPFLAGS'
38003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38008 /* end confdefs.h. */
38009 #include <math.h>
38010 #ifdef HAVE_IEEEFP_H
38011 #include <ieeefp.h>
38012 #endif
38015 main ()
38017 log10f(0);
38019 return 0;
38021 _ACEOF
38022 if ac_fn_cxx_try_compile "$LINENO"; then :
38023 glibcxx_cv_func_log10f_use=yes
38024 else
38025 glibcxx_cv_func_log10f_use=no
38027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38028 ac_ext=c
38029 ac_cpp='$CPP $CPPFLAGS'
38030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
38039 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
38041 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
38042 for ac_func in log10f
38043 do :
38044 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
38045 if test "x$ac_cv_func_log10f" = xyes; then :
38046 cat >>confdefs.h <<_ACEOF
38047 #define HAVE_LOG10F 1
38048 _ACEOF
38051 done
38053 else
38055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
38056 $as_echo_n "checking for _log10f declaration... " >&6; }
38057 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
38058 if ${glibcxx_cv_func__log10f_use+:} false; then :
38059 $as_echo_n "(cached) " >&6
38060 else
38063 ac_ext=cpp
38064 ac_cpp='$CXXCPP $CPPFLAGS'
38065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38070 /* end confdefs.h. */
38071 #include <math.h>
38072 #ifdef HAVE_IEEEFP_H
38073 #include <ieeefp.h>
38074 #endif
38077 main ()
38079 _log10f(0);
38081 return 0;
38083 _ACEOF
38084 if ac_fn_cxx_try_compile "$LINENO"; then :
38085 glibcxx_cv_func__log10f_use=yes
38086 else
38087 glibcxx_cv_func__log10f_use=no
38089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38090 ac_ext=c
38091 ac_cpp='$CPP $CPPFLAGS'
38092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
38101 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
38103 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
38104 for ac_func in _log10f
38105 do :
38106 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
38107 if test "x$ac_cv_func__log10f" = xyes; then :
38108 cat >>confdefs.h <<_ACEOF
38109 #define HAVE__LOG10F 1
38110 _ACEOF
38113 done
38122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
38123 $as_echo_n "checking for modff declaration... " >&6; }
38124 if test x${glibcxx_cv_func_modff_use+set} != xset; then
38125 if ${glibcxx_cv_func_modff_use+:} false; then :
38126 $as_echo_n "(cached) " >&6
38127 else
38130 ac_ext=cpp
38131 ac_cpp='$CXXCPP $CPPFLAGS'
38132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38137 /* end confdefs.h. */
38138 #include <math.h>
38140 main ()
38142 modff(0, 0);
38144 return 0;
38146 _ACEOF
38147 if ac_fn_cxx_try_compile "$LINENO"; then :
38148 glibcxx_cv_func_modff_use=yes
38149 else
38150 glibcxx_cv_func_modff_use=no
38152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38153 ac_ext=c
38154 ac_cpp='$CPP $CPPFLAGS'
38155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
38164 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
38166 if test x$glibcxx_cv_func_modff_use = x"yes"; then
38167 for ac_func in modff
38168 do :
38169 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
38170 if test "x$ac_cv_func_modff" = xyes; then :
38171 cat >>confdefs.h <<_ACEOF
38172 #define HAVE_MODFF 1
38173 _ACEOF
38176 done
38178 else
38180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
38181 $as_echo_n "checking for _modff declaration... " >&6; }
38182 if test x${glibcxx_cv_func__modff_use+set} != xset; then
38183 if ${glibcxx_cv_func__modff_use+:} false; then :
38184 $as_echo_n "(cached) " >&6
38185 else
38188 ac_ext=cpp
38189 ac_cpp='$CXXCPP $CPPFLAGS'
38190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38195 /* end confdefs.h. */
38196 #include <math.h>
38198 main ()
38200 _modff(0, 0);
38202 return 0;
38204 _ACEOF
38205 if ac_fn_cxx_try_compile "$LINENO"; then :
38206 glibcxx_cv_func__modff_use=yes
38207 else
38208 glibcxx_cv_func__modff_use=no
38210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38211 ac_ext=c
38212 ac_cpp='$CPP $CPPFLAGS'
38213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
38222 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
38224 if test x$glibcxx_cv_func__modff_use = x"yes"; then
38225 for ac_func in _modff
38226 do :
38227 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
38228 if test "x$ac_cv_func__modff" = xyes; then :
38229 cat >>confdefs.h <<_ACEOF
38230 #define HAVE__MODFF 1
38231 _ACEOF
38234 done
38243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
38244 $as_echo_n "checking for modf declaration... " >&6; }
38245 if test x${glibcxx_cv_func_modf_use+set} != xset; then
38246 if ${glibcxx_cv_func_modf_use+:} false; then :
38247 $as_echo_n "(cached) " >&6
38248 else
38251 ac_ext=cpp
38252 ac_cpp='$CXXCPP $CPPFLAGS'
38253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38258 /* end confdefs.h. */
38259 #include <math.h>
38261 main ()
38263 modf(0, 0);
38265 return 0;
38267 _ACEOF
38268 if ac_fn_cxx_try_compile "$LINENO"; then :
38269 glibcxx_cv_func_modf_use=yes
38270 else
38271 glibcxx_cv_func_modf_use=no
38273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38274 ac_ext=c
38275 ac_cpp='$CPP $CPPFLAGS'
38276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
38285 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
38287 if test x$glibcxx_cv_func_modf_use = x"yes"; then
38288 for ac_func in modf
38289 do :
38290 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
38291 if test "x$ac_cv_func_modf" = xyes; then :
38292 cat >>confdefs.h <<_ACEOF
38293 #define HAVE_MODF 1
38294 _ACEOF
38297 done
38299 else
38301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
38302 $as_echo_n "checking for _modf declaration... " >&6; }
38303 if test x${glibcxx_cv_func__modf_use+set} != xset; then
38304 if ${glibcxx_cv_func__modf_use+:} false; then :
38305 $as_echo_n "(cached) " >&6
38306 else
38309 ac_ext=cpp
38310 ac_cpp='$CXXCPP $CPPFLAGS'
38311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38316 /* end confdefs.h. */
38317 #include <math.h>
38319 main ()
38321 _modf(0, 0);
38323 return 0;
38325 _ACEOF
38326 if ac_fn_cxx_try_compile "$LINENO"; then :
38327 glibcxx_cv_func__modf_use=yes
38328 else
38329 glibcxx_cv_func__modf_use=no
38331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38332 ac_ext=c
38333 ac_cpp='$CPP $CPPFLAGS'
38334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
38343 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
38345 if test x$glibcxx_cv_func__modf_use = x"yes"; then
38346 for ac_func in _modf
38347 do :
38348 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
38349 if test "x$ac_cv_func__modf" = xyes; then :
38350 cat >>confdefs.h <<_ACEOF
38351 #define HAVE__MODF 1
38352 _ACEOF
38355 done
38364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38365 $as_echo_n "checking for powf declaration... " >&6; }
38366 if test x${glibcxx_cv_func_powf_use+set} != xset; then
38367 if ${glibcxx_cv_func_powf_use+:} false; then :
38368 $as_echo_n "(cached) " >&6
38369 else
38372 ac_ext=cpp
38373 ac_cpp='$CXXCPP $CPPFLAGS'
38374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38379 /* end confdefs.h. */
38380 #include <math.h>
38382 main ()
38384 powf(0, 0);
38386 return 0;
38388 _ACEOF
38389 if ac_fn_cxx_try_compile "$LINENO"; then :
38390 glibcxx_cv_func_powf_use=yes
38391 else
38392 glibcxx_cv_func_powf_use=no
38394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38395 ac_ext=c
38396 ac_cpp='$CPP $CPPFLAGS'
38397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38406 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
38408 if test x$glibcxx_cv_func_powf_use = x"yes"; then
38409 for ac_func in powf
38410 do :
38411 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38412 if test "x$ac_cv_func_powf" = xyes; then :
38413 cat >>confdefs.h <<_ACEOF
38414 #define HAVE_POWF 1
38415 _ACEOF
38418 done
38420 else
38422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38423 $as_echo_n "checking for _powf declaration... " >&6; }
38424 if test x${glibcxx_cv_func__powf_use+set} != xset; then
38425 if ${glibcxx_cv_func__powf_use+:} false; then :
38426 $as_echo_n "(cached) " >&6
38427 else
38430 ac_ext=cpp
38431 ac_cpp='$CXXCPP $CPPFLAGS'
38432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38437 /* end confdefs.h. */
38438 #include <math.h>
38440 main ()
38442 _powf(0, 0);
38444 return 0;
38446 _ACEOF
38447 if ac_fn_cxx_try_compile "$LINENO"; then :
38448 glibcxx_cv_func__powf_use=yes
38449 else
38450 glibcxx_cv_func__powf_use=no
38452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38453 ac_ext=c
38454 ac_cpp='$CPP $CPPFLAGS'
38455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38464 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
38466 if test x$glibcxx_cv_func__powf_use = x"yes"; then
38467 for ac_func in _powf
38468 do :
38469 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38470 if test "x$ac_cv_func__powf" = xyes; then :
38471 cat >>confdefs.h <<_ACEOF
38472 #define HAVE__POWF 1
38473 _ACEOF
38476 done
38485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38486 $as_echo_n "checking for sqrtf declaration... " >&6; }
38487 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38488 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
38489 $as_echo_n "(cached) " >&6
38490 else
38493 ac_ext=cpp
38494 ac_cpp='$CXXCPP $CPPFLAGS'
38495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38500 /* end confdefs.h. */
38501 #include <math.h>
38502 #ifdef HAVE_IEEEFP_H
38503 #include <ieeefp.h>
38504 #endif
38507 main ()
38509 sqrtf(0);
38511 return 0;
38513 _ACEOF
38514 if ac_fn_cxx_try_compile "$LINENO"; then :
38515 glibcxx_cv_func_sqrtf_use=yes
38516 else
38517 glibcxx_cv_func_sqrtf_use=no
38519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38520 ac_ext=c
38521 ac_cpp='$CPP $CPPFLAGS'
38522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38531 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38533 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38534 for ac_func in sqrtf
38535 do :
38536 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38537 if test "x$ac_cv_func_sqrtf" = xyes; then :
38538 cat >>confdefs.h <<_ACEOF
38539 #define HAVE_SQRTF 1
38540 _ACEOF
38543 done
38545 else
38547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38548 $as_echo_n "checking for _sqrtf declaration... " >&6; }
38549 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38550 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
38551 $as_echo_n "(cached) " >&6
38552 else
38555 ac_ext=cpp
38556 ac_cpp='$CXXCPP $CPPFLAGS'
38557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38562 /* end confdefs.h. */
38563 #include <math.h>
38564 #ifdef HAVE_IEEEFP_H
38565 #include <ieeefp.h>
38566 #endif
38569 main ()
38571 _sqrtf(0);
38573 return 0;
38575 _ACEOF
38576 if ac_fn_cxx_try_compile "$LINENO"; then :
38577 glibcxx_cv_func__sqrtf_use=yes
38578 else
38579 glibcxx_cv_func__sqrtf_use=no
38581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38582 ac_ext=c
38583 ac_cpp='$CPP $CPPFLAGS'
38584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38593 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38595 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38596 for ac_func in _sqrtf
38597 do :
38598 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38599 if test "x$ac_cv_func__sqrtf" = xyes; then :
38600 cat >>confdefs.h <<_ACEOF
38601 #define HAVE__SQRTF 1
38602 _ACEOF
38605 done
38614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38615 $as_echo_n "checking for sincosf declaration... " >&6; }
38616 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38617 if ${glibcxx_cv_func_sincosf_use+:} false; then :
38618 $as_echo_n "(cached) " >&6
38619 else
38622 ac_ext=cpp
38623 ac_cpp='$CXXCPP $CPPFLAGS'
38624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38629 /* end confdefs.h. */
38630 #include <math.h>
38632 main ()
38634 sincosf(0, 0, 0);
38636 return 0;
38638 _ACEOF
38639 if ac_fn_cxx_try_compile "$LINENO"; then :
38640 glibcxx_cv_func_sincosf_use=yes
38641 else
38642 glibcxx_cv_func_sincosf_use=no
38644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38645 ac_ext=c
38646 ac_cpp='$CPP $CPPFLAGS'
38647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38656 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38658 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38659 for ac_func in sincosf
38660 do :
38661 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38662 if test "x$ac_cv_func_sincosf" = xyes; then :
38663 cat >>confdefs.h <<_ACEOF
38664 #define HAVE_SINCOSF 1
38665 _ACEOF
38668 done
38670 else
38672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38673 $as_echo_n "checking for _sincosf declaration... " >&6; }
38674 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38675 if ${glibcxx_cv_func__sincosf_use+:} false; then :
38676 $as_echo_n "(cached) " >&6
38677 else
38680 ac_ext=cpp
38681 ac_cpp='$CXXCPP $CPPFLAGS'
38682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38687 /* end confdefs.h. */
38688 #include <math.h>
38690 main ()
38692 _sincosf(0, 0, 0);
38694 return 0;
38696 _ACEOF
38697 if ac_fn_cxx_try_compile "$LINENO"; then :
38698 glibcxx_cv_func__sincosf_use=yes
38699 else
38700 glibcxx_cv_func__sincosf_use=no
38702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38703 ac_ext=c
38704 ac_cpp='$CPP $CPPFLAGS'
38705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38714 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38716 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38717 for ac_func in _sincosf
38718 do :
38719 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38720 if test "x$ac_cv_func__sincosf" = xyes; then :
38721 cat >>confdefs.h <<_ACEOF
38722 #define HAVE__SINCOSF 1
38723 _ACEOF
38726 done
38735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38736 $as_echo_n "checking for finitef declaration... " >&6; }
38737 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38738 if ${glibcxx_cv_func_finitef_use+:} false; then :
38739 $as_echo_n "(cached) " >&6
38740 else
38743 ac_ext=cpp
38744 ac_cpp='$CXXCPP $CPPFLAGS'
38745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38750 /* end confdefs.h. */
38751 #include <math.h>
38752 #ifdef HAVE_IEEEFP_H
38753 #include <ieeefp.h>
38754 #endif
38757 main ()
38759 finitef(0);
38761 return 0;
38763 _ACEOF
38764 if ac_fn_cxx_try_compile "$LINENO"; then :
38765 glibcxx_cv_func_finitef_use=yes
38766 else
38767 glibcxx_cv_func_finitef_use=no
38769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38770 ac_ext=c
38771 ac_cpp='$CPP $CPPFLAGS'
38772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38781 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38783 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38784 for ac_func in finitef
38785 do :
38786 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38787 if test "x$ac_cv_func_finitef" = xyes; then :
38788 cat >>confdefs.h <<_ACEOF
38789 #define HAVE_FINITEF 1
38790 _ACEOF
38793 done
38795 else
38797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38798 $as_echo_n "checking for _finitef declaration... " >&6; }
38799 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38800 if ${glibcxx_cv_func__finitef_use+:} false; then :
38801 $as_echo_n "(cached) " >&6
38802 else
38805 ac_ext=cpp
38806 ac_cpp='$CXXCPP $CPPFLAGS'
38807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38812 /* end confdefs.h. */
38813 #include <math.h>
38814 #ifdef HAVE_IEEEFP_H
38815 #include <ieeefp.h>
38816 #endif
38819 main ()
38821 _finitef(0);
38823 return 0;
38825 _ACEOF
38826 if ac_fn_cxx_try_compile "$LINENO"; then :
38827 glibcxx_cv_func__finitef_use=yes
38828 else
38829 glibcxx_cv_func__finitef_use=no
38831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38832 ac_ext=c
38833 ac_cpp='$CPP $CPPFLAGS'
38834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38843 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38845 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38846 for ac_func in _finitef
38847 do :
38848 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38849 if test "x$ac_cv_func__finitef" = xyes; then :
38850 cat >>confdefs.h <<_ACEOF
38851 #define HAVE__FINITEF 1
38852 _ACEOF
38855 done
38864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38865 $as_echo_n "checking for long double trig functions... " >&6; }
38866 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
38867 $as_echo_n "(cached) " >&6
38868 else
38871 ac_ext=cpp
38872 ac_cpp='$CXXCPP $CPPFLAGS'
38873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38878 /* end confdefs.h. */
38879 #include <math.h>
38881 main ()
38883 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38885 return 0;
38887 _ACEOF
38888 if ac_fn_cxx_try_compile "$LINENO"; then :
38889 glibcxx_cv_func_long_double_trig_use=yes
38890 else
38891 glibcxx_cv_func_long_double_trig_use=no
38893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38894 ac_ext=c
38895 ac_cpp='$CPP $CPPFLAGS'
38896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38903 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38904 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38905 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38906 do :
38907 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38908 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38909 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38910 cat >>confdefs.h <<_ACEOF
38911 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38912 _ACEOF
38915 done
38917 else
38918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38919 $as_echo_n "checking for _long double trig functions... " >&6; }
38920 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
38921 $as_echo_n "(cached) " >&6
38922 else
38925 ac_ext=cpp
38926 ac_cpp='$CXXCPP $CPPFLAGS'
38927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38932 /* end confdefs.h. */
38933 #include <math.h>
38935 main ()
38937 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38939 return 0;
38941 _ACEOF
38942 if ac_fn_cxx_try_compile "$LINENO"; then :
38943 glibcxx_cv_func__long_double_trig_use=yes
38944 else
38945 glibcxx_cv_func__long_double_trig_use=no
38947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38948 ac_ext=c
38949 ac_cpp='$CPP $CPPFLAGS'
38950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38957 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38958 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38959 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38960 do :
38961 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38962 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38963 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38964 cat >>confdefs.h <<_ACEOF
38965 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38966 _ACEOF
38969 done
38978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38979 $as_echo_n "checking for long double round functions... " >&6; }
38980 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
38981 $as_echo_n "(cached) " >&6
38982 else
38985 ac_ext=cpp
38986 ac_cpp='$CXXCPP $CPPFLAGS'
38987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38992 /* end confdefs.h. */
38993 #include <math.h>
38995 main ()
38997 ceill (0); floorl (0);
38999 return 0;
39001 _ACEOF
39002 if ac_fn_cxx_try_compile "$LINENO"; then :
39003 glibcxx_cv_func_long_double_round_use=yes
39004 else
39005 glibcxx_cv_func_long_double_round_use=no
39007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39008 ac_ext=c
39009 ac_cpp='$CPP $CPPFLAGS'
39010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
39017 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
39018 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
39019 for ac_func in ceill floorl
39020 do :
39021 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39022 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39023 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
39024 cat >>confdefs.h <<_ACEOF
39025 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39026 _ACEOF
39029 done
39031 else
39032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
39033 $as_echo_n "checking for _long double round functions... " >&6; }
39034 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
39035 $as_echo_n "(cached) " >&6
39036 else
39039 ac_ext=cpp
39040 ac_cpp='$CXXCPP $CPPFLAGS'
39041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39046 /* end confdefs.h. */
39047 #include <math.h>
39049 main ()
39051 _ceill (0); _floorl (0);
39053 return 0;
39055 _ACEOF
39056 if ac_fn_cxx_try_compile "$LINENO"; then :
39057 glibcxx_cv_func__long_double_round_use=yes
39058 else
39059 glibcxx_cv_func__long_double_round_use=no
39061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39062 ac_ext=c
39063 ac_cpp='$CPP $CPPFLAGS'
39064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
39071 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
39072 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
39073 for ac_func in _ceill _floorl
39074 do :
39075 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39076 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39077 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
39078 cat >>confdefs.h <<_ACEOF
39079 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39080 _ACEOF
39083 done
39093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
39094 $as_echo_n "checking for isnanl declaration... " >&6; }
39095 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
39096 if ${glibcxx_cv_func_isnanl_use+:} false; then :
39097 $as_echo_n "(cached) " >&6
39098 else
39101 ac_ext=cpp
39102 ac_cpp='$CXXCPP $CPPFLAGS'
39103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39108 /* end confdefs.h. */
39109 #include <math.h>
39110 #ifdef HAVE_IEEEFP_H
39111 #include <ieeefp.h>
39112 #endif
39115 main ()
39117 isnanl(0);
39119 return 0;
39121 _ACEOF
39122 if ac_fn_cxx_try_compile "$LINENO"; then :
39123 glibcxx_cv_func_isnanl_use=yes
39124 else
39125 glibcxx_cv_func_isnanl_use=no
39127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39128 ac_ext=c
39129 ac_cpp='$CPP $CPPFLAGS'
39130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
39139 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
39141 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
39142 for ac_func in isnanl
39143 do :
39144 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
39145 if test "x$ac_cv_func_isnanl" = xyes; then :
39146 cat >>confdefs.h <<_ACEOF
39147 #define HAVE_ISNANL 1
39148 _ACEOF
39151 done
39153 else
39155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
39156 $as_echo_n "checking for _isnanl declaration... " >&6; }
39157 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
39158 if ${glibcxx_cv_func__isnanl_use+:} false; then :
39159 $as_echo_n "(cached) " >&6
39160 else
39163 ac_ext=cpp
39164 ac_cpp='$CXXCPP $CPPFLAGS'
39165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39170 /* end confdefs.h. */
39171 #include <math.h>
39172 #ifdef HAVE_IEEEFP_H
39173 #include <ieeefp.h>
39174 #endif
39177 main ()
39179 _isnanl(0);
39181 return 0;
39183 _ACEOF
39184 if ac_fn_cxx_try_compile "$LINENO"; then :
39185 glibcxx_cv_func__isnanl_use=yes
39186 else
39187 glibcxx_cv_func__isnanl_use=no
39189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39190 ac_ext=c
39191 ac_cpp='$CPP $CPPFLAGS'
39192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
39201 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
39203 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
39204 for ac_func in _isnanl
39205 do :
39206 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
39207 if test "x$ac_cv_func__isnanl" = xyes; then :
39208 cat >>confdefs.h <<_ACEOF
39209 #define HAVE__ISNANL 1
39210 _ACEOF
39213 done
39222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
39223 $as_echo_n "checking for isinfl declaration... " >&6; }
39224 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
39225 if ${glibcxx_cv_func_isinfl_use+:} false; then :
39226 $as_echo_n "(cached) " >&6
39227 else
39230 ac_ext=cpp
39231 ac_cpp='$CXXCPP $CPPFLAGS'
39232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39237 /* end confdefs.h. */
39238 #include <math.h>
39239 #ifdef HAVE_IEEEFP_H
39240 #include <ieeefp.h>
39241 #endif
39244 main ()
39246 isinfl(0);
39248 return 0;
39250 _ACEOF
39251 if ac_fn_cxx_try_compile "$LINENO"; then :
39252 glibcxx_cv_func_isinfl_use=yes
39253 else
39254 glibcxx_cv_func_isinfl_use=no
39256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39257 ac_ext=c
39258 ac_cpp='$CPP $CPPFLAGS'
39259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
39268 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
39270 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
39271 for ac_func in isinfl
39272 do :
39273 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
39274 if test "x$ac_cv_func_isinfl" = xyes; then :
39275 cat >>confdefs.h <<_ACEOF
39276 #define HAVE_ISINFL 1
39277 _ACEOF
39280 done
39282 else
39284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
39285 $as_echo_n "checking for _isinfl declaration... " >&6; }
39286 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
39287 if ${glibcxx_cv_func__isinfl_use+:} false; then :
39288 $as_echo_n "(cached) " >&6
39289 else
39292 ac_ext=cpp
39293 ac_cpp='$CXXCPP $CPPFLAGS'
39294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39299 /* end confdefs.h. */
39300 #include <math.h>
39301 #ifdef HAVE_IEEEFP_H
39302 #include <ieeefp.h>
39303 #endif
39306 main ()
39308 _isinfl(0);
39310 return 0;
39312 _ACEOF
39313 if ac_fn_cxx_try_compile "$LINENO"; then :
39314 glibcxx_cv_func__isinfl_use=yes
39315 else
39316 glibcxx_cv_func__isinfl_use=no
39318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39319 ac_ext=c
39320 ac_cpp='$CPP $CPPFLAGS'
39321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
39330 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
39332 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
39333 for ac_func in _isinfl
39334 do :
39335 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
39336 if test "x$ac_cv_func__isinfl" = xyes; then :
39337 cat >>confdefs.h <<_ACEOF
39338 #define HAVE__ISINFL 1
39339 _ACEOF
39342 done
39351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
39352 $as_echo_n "checking for atan2l declaration... " >&6; }
39353 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
39354 if ${glibcxx_cv_func_atan2l_use+:} false; then :
39355 $as_echo_n "(cached) " >&6
39356 else
39359 ac_ext=cpp
39360 ac_cpp='$CXXCPP $CPPFLAGS'
39361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39366 /* end confdefs.h. */
39367 #include <math.h>
39369 main ()
39371 atan2l(0, 0);
39373 return 0;
39375 _ACEOF
39376 if ac_fn_cxx_try_compile "$LINENO"; then :
39377 glibcxx_cv_func_atan2l_use=yes
39378 else
39379 glibcxx_cv_func_atan2l_use=no
39381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39382 ac_ext=c
39383 ac_cpp='$CPP $CPPFLAGS'
39384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39393 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39395 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39396 for ac_func in atan2l
39397 do :
39398 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39399 if test "x$ac_cv_func_atan2l" = xyes; then :
39400 cat >>confdefs.h <<_ACEOF
39401 #define HAVE_ATAN2L 1
39402 _ACEOF
39405 done
39407 else
39409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39410 $as_echo_n "checking for _atan2l declaration... " >&6; }
39411 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39412 if ${glibcxx_cv_func__atan2l_use+:} false; then :
39413 $as_echo_n "(cached) " >&6
39414 else
39417 ac_ext=cpp
39418 ac_cpp='$CXXCPP $CPPFLAGS'
39419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39424 /* end confdefs.h. */
39425 #include <math.h>
39427 main ()
39429 _atan2l(0, 0);
39431 return 0;
39433 _ACEOF
39434 if ac_fn_cxx_try_compile "$LINENO"; then :
39435 glibcxx_cv_func__atan2l_use=yes
39436 else
39437 glibcxx_cv_func__atan2l_use=no
39439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39440 ac_ext=c
39441 ac_cpp='$CPP $CPPFLAGS'
39442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39451 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39453 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39454 for ac_func in _atan2l
39455 do :
39456 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39457 if test "x$ac_cv_func__atan2l" = xyes; then :
39458 cat >>confdefs.h <<_ACEOF
39459 #define HAVE__ATAN2L 1
39460 _ACEOF
39463 done
39472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39473 $as_echo_n "checking for expl declaration... " >&6; }
39474 if test x${glibcxx_cv_func_expl_use+set} != xset; then
39475 if ${glibcxx_cv_func_expl_use+:} false; then :
39476 $as_echo_n "(cached) " >&6
39477 else
39480 ac_ext=cpp
39481 ac_cpp='$CXXCPP $CPPFLAGS'
39482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39487 /* end confdefs.h. */
39488 #include <math.h>
39489 #ifdef HAVE_IEEEFP_H
39490 #include <ieeefp.h>
39491 #endif
39494 main ()
39496 expl(0);
39498 return 0;
39500 _ACEOF
39501 if ac_fn_cxx_try_compile "$LINENO"; then :
39502 glibcxx_cv_func_expl_use=yes
39503 else
39504 glibcxx_cv_func_expl_use=no
39506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39507 ac_ext=c
39508 ac_cpp='$CPP $CPPFLAGS'
39509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39518 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
39520 if test x$glibcxx_cv_func_expl_use = x"yes"; then
39521 for ac_func in expl
39522 do :
39523 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39524 if test "x$ac_cv_func_expl" = xyes; then :
39525 cat >>confdefs.h <<_ACEOF
39526 #define HAVE_EXPL 1
39527 _ACEOF
39530 done
39532 else
39534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39535 $as_echo_n "checking for _expl declaration... " >&6; }
39536 if test x${glibcxx_cv_func__expl_use+set} != xset; then
39537 if ${glibcxx_cv_func__expl_use+:} false; then :
39538 $as_echo_n "(cached) " >&6
39539 else
39542 ac_ext=cpp
39543 ac_cpp='$CXXCPP $CPPFLAGS'
39544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39549 /* end confdefs.h. */
39550 #include <math.h>
39551 #ifdef HAVE_IEEEFP_H
39552 #include <ieeefp.h>
39553 #endif
39556 main ()
39558 _expl(0);
39560 return 0;
39562 _ACEOF
39563 if ac_fn_cxx_try_compile "$LINENO"; then :
39564 glibcxx_cv_func__expl_use=yes
39565 else
39566 glibcxx_cv_func__expl_use=no
39568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39569 ac_ext=c
39570 ac_cpp='$CPP $CPPFLAGS'
39571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39580 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
39582 if test x$glibcxx_cv_func__expl_use = x"yes"; then
39583 for ac_func in _expl
39584 do :
39585 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39586 if test "x$ac_cv_func__expl" = xyes; then :
39587 cat >>confdefs.h <<_ACEOF
39588 #define HAVE__EXPL 1
39589 _ACEOF
39592 done
39601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39602 $as_echo_n "checking for fabsl declaration... " >&6; }
39603 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39604 if ${glibcxx_cv_func_fabsl_use+:} false; then :
39605 $as_echo_n "(cached) " >&6
39606 else
39609 ac_ext=cpp
39610 ac_cpp='$CXXCPP $CPPFLAGS'
39611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39616 /* end confdefs.h. */
39617 #include <math.h>
39618 #ifdef HAVE_IEEEFP_H
39619 #include <ieeefp.h>
39620 #endif
39623 main ()
39625 fabsl(0);
39627 return 0;
39629 _ACEOF
39630 if ac_fn_cxx_try_compile "$LINENO"; then :
39631 glibcxx_cv_func_fabsl_use=yes
39632 else
39633 glibcxx_cv_func_fabsl_use=no
39635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39636 ac_ext=c
39637 ac_cpp='$CPP $CPPFLAGS'
39638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39647 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39649 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39650 for ac_func in fabsl
39651 do :
39652 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39653 if test "x$ac_cv_func_fabsl" = xyes; then :
39654 cat >>confdefs.h <<_ACEOF
39655 #define HAVE_FABSL 1
39656 _ACEOF
39659 done
39661 else
39663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39664 $as_echo_n "checking for _fabsl declaration... " >&6; }
39665 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39666 if ${glibcxx_cv_func__fabsl_use+:} false; then :
39667 $as_echo_n "(cached) " >&6
39668 else
39671 ac_ext=cpp
39672 ac_cpp='$CXXCPP $CPPFLAGS'
39673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39678 /* end confdefs.h. */
39679 #include <math.h>
39680 #ifdef HAVE_IEEEFP_H
39681 #include <ieeefp.h>
39682 #endif
39685 main ()
39687 _fabsl(0);
39689 return 0;
39691 _ACEOF
39692 if ac_fn_cxx_try_compile "$LINENO"; then :
39693 glibcxx_cv_func__fabsl_use=yes
39694 else
39695 glibcxx_cv_func__fabsl_use=no
39697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39698 ac_ext=c
39699 ac_cpp='$CPP $CPPFLAGS'
39700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39709 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39711 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39712 for ac_func in _fabsl
39713 do :
39714 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39715 if test "x$ac_cv_func__fabsl" = xyes; then :
39716 cat >>confdefs.h <<_ACEOF
39717 #define HAVE__FABSL 1
39718 _ACEOF
39721 done
39730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39731 $as_echo_n "checking for fmodl declaration... " >&6; }
39732 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39733 if ${glibcxx_cv_func_fmodl_use+:} false; then :
39734 $as_echo_n "(cached) " >&6
39735 else
39738 ac_ext=cpp
39739 ac_cpp='$CXXCPP $CPPFLAGS'
39740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39745 /* end confdefs.h. */
39746 #include <math.h>
39748 main ()
39750 fmodl(0, 0);
39752 return 0;
39754 _ACEOF
39755 if ac_fn_cxx_try_compile "$LINENO"; then :
39756 glibcxx_cv_func_fmodl_use=yes
39757 else
39758 glibcxx_cv_func_fmodl_use=no
39760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39761 ac_ext=c
39762 ac_cpp='$CPP $CPPFLAGS'
39763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39772 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39774 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39775 for ac_func in fmodl
39776 do :
39777 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39778 if test "x$ac_cv_func_fmodl" = xyes; then :
39779 cat >>confdefs.h <<_ACEOF
39780 #define HAVE_FMODL 1
39781 _ACEOF
39784 done
39786 else
39788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39789 $as_echo_n "checking for _fmodl declaration... " >&6; }
39790 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39791 if ${glibcxx_cv_func__fmodl_use+:} false; then :
39792 $as_echo_n "(cached) " >&6
39793 else
39796 ac_ext=cpp
39797 ac_cpp='$CXXCPP $CPPFLAGS'
39798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39803 /* end confdefs.h. */
39804 #include <math.h>
39806 main ()
39808 _fmodl(0, 0);
39810 return 0;
39812 _ACEOF
39813 if ac_fn_cxx_try_compile "$LINENO"; then :
39814 glibcxx_cv_func__fmodl_use=yes
39815 else
39816 glibcxx_cv_func__fmodl_use=no
39818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39819 ac_ext=c
39820 ac_cpp='$CPP $CPPFLAGS'
39821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39830 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39832 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39833 for ac_func in _fmodl
39834 do :
39835 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39836 if test "x$ac_cv_func__fmodl" = xyes; then :
39837 cat >>confdefs.h <<_ACEOF
39838 #define HAVE__FMODL 1
39839 _ACEOF
39842 done
39851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39852 $as_echo_n "checking for frexpl declaration... " >&6; }
39853 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39854 if ${glibcxx_cv_func_frexpl_use+:} false; then :
39855 $as_echo_n "(cached) " >&6
39856 else
39859 ac_ext=cpp
39860 ac_cpp='$CXXCPP $CPPFLAGS'
39861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39866 /* end confdefs.h. */
39867 #include <math.h>
39869 main ()
39871 frexpl(0, 0);
39873 return 0;
39875 _ACEOF
39876 if ac_fn_cxx_try_compile "$LINENO"; then :
39877 glibcxx_cv_func_frexpl_use=yes
39878 else
39879 glibcxx_cv_func_frexpl_use=no
39881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39882 ac_ext=c
39883 ac_cpp='$CPP $CPPFLAGS'
39884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39893 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39895 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39896 for ac_func in frexpl
39897 do :
39898 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39899 if test "x$ac_cv_func_frexpl" = xyes; then :
39900 cat >>confdefs.h <<_ACEOF
39901 #define HAVE_FREXPL 1
39902 _ACEOF
39905 done
39907 else
39909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39910 $as_echo_n "checking for _frexpl declaration... " >&6; }
39911 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39912 if ${glibcxx_cv_func__frexpl_use+:} false; then :
39913 $as_echo_n "(cached) " >&6
39914 else
39917 ac_ext=cpp
39918 ac_cpp='$CXXCPP $CPPFLAGS'
39919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39924 /* end confdefs.h. */
39925 #include <math.h>
39927 main ()
39929 _frexpl(0, 0);
39931 return 0;
39933 _ACEOF
39934 if ac_fn_cxx_try_compile "$LINENO"; then :
39935 glibcxx_cv_func__frexpl_use=yes
39936 else
39937 glibcxx_cv_func__frexpl_use=no
39939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39940 ac_ext=c
39941 ac_cpp='$CPP $CPPFLAGS'
39942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39951 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39953 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39954 for ac_func in _frexpl
39955 do :
39956 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39957 if test "x$ac_cv_func__frexpl" = xyes; then :
39958 cat >>confdefs.h <<_ACEOF
39959 #define HAVE__FREXPL 1
39960 _ACEOF
39963 done
39972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39973 $as_echo_n "checking for hypotl declaration... " >&6; }
39974 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39975 if ${glibcxx_cv_func_hypotl_use+:} false; then :
39976 $as_echo_n "(cached) " >&6
39977 else
39980 ac_ext=cpp
39981 ac_cpp='$CXXCPP $CPPFLAGS'
39982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39987 /* end confdefs.h. */
39988 #include <math.h>
39990 main ()
39992 hypotl(0, 0);
39994 return 0;
39996 _ACEOF
39997 if ac_fn_cxx_try_compile "$LINENO"; then :
39998 glibcxx_cv_func_hypotl_use=yes
39999 else
40000 glibcxx_cv_func_hypotl_use=no
40002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40003 ac_ext=c
40004 ac_cpp='$CPP $CPPFLAGS'
40005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
40014 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
40016 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
40017 for ac_func in hypotl
40018 do :
40019 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
40020 if test "x$ac_cv_func_hypotl" = xyes; then :
40021 cat >>confdefs.h <<_ACEOF
40022 #define HAVE_HYPOTL 1
40023 _ACEOF
40026 done
40028 else
40030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
40031 $as_echo_n "checking for _hypotl declaration... " >&6; }
40032 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
40033 if ${glibcxx_cv_func__hypotl_use+:} false; then :
40034 $as_echo_n "(cached) " >&6
40035 else
40038 ac_ext=cpp
40039 ac_cpp='$CXXCPP $CPPFLAGS'
40040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40045 /* end confdefs.h. */
40046 #include <math.h>
40048 main ()
40050 _hypotl(0, 0);
40052 return 0;
40054 _ACEOF
40055 if ac_fn_cxx_try_compile "$LINENO"; then :
40056 glibcxx_cv_func__hypotl_use=yes
40057 else
40058 glibcxx_cv_func__hypotl_use=no
40060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40061 ac_ext=c
40062 ac_cpp='$CPP $CPPFLAGS'
40063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
40072 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
40074 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
40075 for ac_func in _hypotl
40076 do :
40077 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
40078 if test "x$ac_cv_func__hypotl" = xyes; then :
40079 cat >>confdefs.h <<_ACEOF
40080 #define HAVE__HYPOTL 1
40081 _ACEOF
40084 done
40093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
40094 $as_echo_n "checking for ldexpl declaration... " >&6; }
40095 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
40096 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
40097 $as_echo_n "(cached) " >&6
40098 else
40101 ac_ext=cpp
40102 ac_cpp='$CXXCPP $CPPFLAGS'
40103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40108 /* end confdefs.h. */
40109 #include <math.h>
40111 main ()
40113 ldexpl(0, 0);
40115 return 0;
40117 _ACEOF
40118 if ac_fn_cxx_try_compile "$LINENO"; then :
40119 glibcxx_cv_func_ldexpl_use=yes
40120 else
40121 glibcxx_cv_func_ldexpl_use=no
40123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40124 ac_ext=c
40125 ac_cpp='$CPP $CPPFLAGS'
40126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
40135 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
40137 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
40138 for ac_func in ldexpl
40139 do :
40140 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
40141 if test "x$ac_cv_func_ldexpl" = xyes; then :
40142 cat >>confdefs.h <<_ACEOF
40143 #define HAVE_LDEXPL 1
40144 _ACEOF
40147 done
40149 else
40151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
40152 $as_echo_n "checking for _ldexpl declaration... " >&6; }
40153 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
40154 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
40155 $as_echo_n "(cached) " >&6
40156 else
40159 ac_ext=cpp
40160 ac_cpp='$CXXCPP $CPPFLAGS'
40161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40166 /* end confdefs.h. */
40167 #include <math.h>
40169 main ()
40171 _ldexpl(0, 0);
40173 return 0;
40175 _ACEOF
40176 if ac_fn_cxx_try_compile "$LINENO"; then :
40177 glibcxx_cv_func__ldexpl_use=yes
40178 else
40179 glibcxx_cv_func__ldexpl_use=no
40181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40182 ac_ext=c
40183 ac_cpp='$CPP $CPPFLAGS'
40184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
40193 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
40195 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
40196 for ac_func in _ldexpl
40197 do :
40198 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
40199 if test "x$ac_cv_func__ldexpl" = xyes; then :
40200 cat >>confdefs.h <<_ACEOF
40201 #define HAVE__LDEXPL 1
40202 _ACEOF
40205 done
40214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
40215 $as_echo_n "checking for logl declaration... " >&6; }
40216 if test x${glibcxx_cv_func_logl_use+set} != xset; then
40217 if ${glibcxx_cv_func_logl_use+:} false; then :
40218 $as_echo_n "(cached) " >&6
40219 else
40222 ac_ext=cpp
40223 ac_cpp='$CXXCPP $CPPFLAGS'
40224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40229 /* end confdefs.h. */
40230 #include <math.h>
40231 #ifdef HAVE_IEEEFP_H
40232 #include <ieeefp.h>
40233 #endif
40236 main ()
40238 logl(0);
40240 return 0;
40242 _ACEOF
40243 if ac_fn_cxx_try_compile "$LINENO"; then :
40244 glibcxx_cv_func_logl_use=yes
40245 else
40246 glibcxx_cv_func_logl_use=no
40248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40249 ac_ext=c
40250 ac_cpp='$CPP $CPPFLAGS'
40251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
40260 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
40262 if test x$glibcxx_cv_func_logl_use = x"yes"; then
40263 for ac_func in logl
40264 do :
40265 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
40266 if test "x$ac_cv_func_logl" = xyes; then :
40267 cat >>confdefs.h <<_ACEOF
40268 #define HAVE_LOGL 1
40269 _ACEOF
40272 done
40274 else
40276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
40277 $as_echo_n "checking for _logl declaration... " >&6; }
40278 if test x${glibcxx_cv_func__logl_use+set} != xset; then
40279 if ${glibcxx_cv_func__logl_use+:} false; then :
40280 $as_echo_n "(cached) " >&6
40281 else
40284 ac_ext=cpp
40285 ac_cpp='$CXXCPP $CPPFLAGS'
40286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40291 /* end confdefs.h. */
40292 #include <math.h>
40293 #ifdef HAVE_IEEEFP_H
40294 #include <ieeefp.h>
40295 #endif
40298 main ()
40300 _logl(0);
40302 return 0;
40304 _ACEOF
40305 if ac_fn_cxx_try_compile "$LINENO"; then :
40306 glibcxx_cv_func__logl_use=yes
40307 else
40308 glibcxx_cv_func__logl_use=no
40310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40311 ac_ext=c
40312 ac_cpp='$CPP $CPPFLAGS'
40313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
40322 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
40324 if test x$glibcxx_cv_func__logl_use = x"yes"; then
40325 for ac_func in _logl
40326 do :
40327 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
40328 if test "x$ac_cv_func__logl" = xyes; then :
40329 cat >>confdefs.h <<_ACEOF
40330 #define HAVE__LOGL 1
40331 _ACEOF
40334 done
40343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
40344 $as_echo_n "checking for log10l declaration... " >&6; }
40345 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
40346 if ${glibcxx_cv_func_log10l_use+:} false; then :
40347 $as_echo_n "(cached) " >&6
40348 else
40351 ac_ext=cpp
40352 ac_cpp='$CXXCPP $CPPFLAGS'
40353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40358 /* end confdefs.h. */
40359 #include <math.h>
40360 #ifdef HAVE_IEEEFP_H
40361 #include <ieeefp.h>
40362 #endif
40365 main ()
40367 log10l(0);
40369 return 0;
40371 _ACEOF
40372 if ac_fn_cxx_try_compile "$LINENO"; then :
40373 glibcxx_cv_func_log10l_use=yes
40374 else
40375 glibcxx_cv_func_log10l_use=no
40377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40378 ac_ext=c
40379 ac_cpp='$CPP $CPPFLAGS'
40380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40389 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40391 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40392 for ac_func in log10l
40393 do :
40394 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40395 if test "x$ac_cv_func_log10l" = xyes; then :
40396 cat >>confdefs.h <<_ACEOF
40397 #define HAVE_LOG10L 1
40398 _ACEOF
40401 done
40403 else
40405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40406 $as_echo_n "checking for _log10l declaration... " >&6; }
40407 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40408 if ${glibcxx_cv_func__log10l_use+:} false; then :
40409 $as_echo_n "(cached) " >&6
40410 else
40413 ac_ext=cpp
40414 ac_cpp='$CXXCPP $CPPFLAGS'
40415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40420 /* end confdefs.h. */
40421 #include <math.h>
40422 #ifdef HAVE_IEEEFP_H
40423 #include <ieeefp.h>
40424 #endif
40427 main ()
40429 _log10l(0);
40431 return 0;
40433 _ACEOF
40434 if ac_fn_cxx_try_compile "$LINENO"; then :
40435 glibcxx_cv_func__log10l_use=yes
40436 else
40437 glibcxx_cv_func__log10l_use=no
40439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40440 ac_ext=c
40441 ac_cpp='$CPP $CPPFLAGS'
40442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40451 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40453 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40454 for ac_func in _log10l
40455 do :
40456 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40457 if test "x$ac_cv_func__log10l" = xyes; then :
40458 cat >>confdefs.h <<_ACEOF
40459 #define HAVE__LOG10L 1
40460 _ACEOF
40463 done
40472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40473 $as_echo_n "checking for modfl declaration... " >&6; }
40474 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40475 if ${glibcxx_cv_func_modfl_use+:} false; then :
40476 $as_echo_n "(cached) " >&6
40477 else
40480 ac_ext=cpp
40481 ac_cpp='$CXXCPP $CPPFLAGS'
40482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40487 /* end confdefs.h. */
40488 #include <math.h>
40490 main ()
40492 modfl(0, 0);
40494 return 0;
40496 _ACEOF
40497 if ac_fn_cxx_try_compile "$LINENO"; then :
40498 glibcxx_cv_func_modfl_use=yes
40499 else
40500 glibcxx_cv_func_modfl_use=no
40502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40503 ac_ext=c
40504 ac_cpp='$CPP $CPPFLAGS'
40505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40514 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40516 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40517 for ac_func in modfl
40518 do :
40519 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40520 if test "x$ac_cv_func_modfl" = xyes; then :
40521 cat >>confdefs.h <<_ACEOF
40522 #define HAVE_MODFL 1
40523 _ACEOF
40526 done
40528 else
40530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40531 $as_echo_n "checking for _modfl declaration... " >&6; }
40532 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40533 if ${glibcxx_cv_func__modfl_use+:} false; then :
40534 $as_echo_n "(cached) " >&6
40535 else
40538 ac_ext=cpp
40539 ac_cpp='$CXXCPP $CPPFLAGS'
40540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40545 /* end confdefs.h. */
40546 #include <math.h>
40548 main ()
40550 _modfl(0, 0);
40552 return 0;
40554 _ACEOF
40555 if ac_fn_cxx_try_compile "$LINENO"; then :
40556 glibcxx_cv_func__modfl_use=yes
40557 else
40558 glibcxx_cv_func__modfl_use=no
40560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40561 ac_ext=c
40562 ac_cpp='$CPP $CPPFLAGS'
40563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40572 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40574 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40575 for ac_func in _modfl
40576 do :
40577 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40578 if test "x$ac_cv_func__modfl" = xyes; then :
40579 cat >>confdefs.h <<_ACEOF
40580 #define HAVE__MODFL 1
40581 _ACEOF
40584 done
40593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40594 $as_echo_n "checking for powl declaration... " >&6; }
40595 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40596 if ${glibcxx_cv_func_powl_use+:} false; then :
40597 $as_echo_n "(cached) " >&6
40598 else
40601 ac_ext=cpp
40602 ac_cpp='$CXXCPP $CPPFLAGS'
40603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40608 /* end confdefs.h. */
40609 #include <math.h>
40611 main ()
40613 powl(0, 0);
40615 return 0;
40617 _ACEOF
40618 if ac_fn_cxx_try_compile "$LINENO"; then :
40619 glibcxx_cv_func_powl_use=yes
40620 else
40621 glibcxx_cv_func_powl_use=no
40623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40624 ac_ext=c
40625 ac_cpp='$CPP $CPPFLAGS'
40626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40635 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
40637 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40638 for ac_func in powl
40639 do :
40640 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40641 if test "x$ac_cv_func_powl" = xyes; then :
40642 cat >>confdefs.h <<_ACEOF
40643 #define HAVE_POWL 1
40644 _ACEOF
40647 done
40649 else
40651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40652 $as_echo_n "checking for _powl declaration... " >&6; }
40653 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40654 if ${glibcxx_cv_func__powl_use+:} false; then :
40655 $as_echo_n "(cached) " >&6
40656 else
40659 ac_ext=cpp
40660 ac_cpp='$CXXCPP $CPPFLAGS'
40661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40666 /* end confdefs.h. */
40667 #include <math.h>
40669 main ()
40671 _powl(0, 0);
40673 return 0;
40675 _ACEOF
40676 if ac_fn_cxx_try_compile "$LINENO"; then :
40677 glibcxx_cv_func__powl_use=yes
40678 else
40679 glibcxx_cv_func__powl_use=no
40681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40682 ac_ext=c
40683 ac_cpp='$CPP $CPPFLAGS'
40684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40693 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40695 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40696 for ac_func in _powl
40697 do :
40698 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40699 if test "x$ac_cv_func__powl" = xyes; then :
40700 cat >>confdefs.h <<_ACEOF
40701 #define HAVE__POWL 1
40702 _ACEOF
40705 done
40714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40715 $as_echo_n "checking for sqrtl declaration... " >&6; }
40716 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40717 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
40718 $as_echo_n "(cached) " >&6
40719 else
40722 ac_ext=cpp
40723 ac_cpp='$CXXCPP $CPPFLAGS'
40724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40729 /* end confdefs.h. */
40730 #include <math.h>
40731 #ifdef HAVE_IEEEFP_H
40732 #include <ieeefp.h>
40733 #endif
40736 main ()
40738 sqrtl(0);
40740 return 0;
40742 _ACEOF
40743 if ac_fn_cxx_try_compile "$LINENO"; then :
40744 glibcxx_cv_func_sqrtl_use=yes
40745 else
40746 glibcxx_cv_func_sqrtl_use=no
40748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40749 ac_ext=c
40750 ac_cpp='$CPP $CPPFLAGS'
40751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40760 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40762 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40763 for ac_func in sqrtl
40764 do :
40765 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40766 if test "x$ac_cv_func_sqrtl" = xyes; then :
40767 cat >>confdefs.h <<_ACEOF
40768 #define HAVE_SQRTL 1
40769 _ACEOF
40772 done
40774 else
40776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40777 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40778 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40779 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
40780 $as_echo_n "(cached) " >&6
40781 else
40784 ac_ext=cpp
40785 ac_cpp='$CXXCPP $CPPFLAGS'
40786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40791 /* end confdefs.h. */
40792 #include <math.h>
40793 #ifdef HAVE_IEEEFP_H
40794 #include <ieeefp.h>
40795 #endif
40798 main ()
40800 _sqrtl(0);
40802 return 0;
40804 _ACEOF
40805 if ac_fn_cxx_try_compile "$LINENO"; then :
40806 glibcxx_cv_func__sqrtl_use=yes
40807 else
40808 glibcxx_cv_func__sqrtl_use=no
40810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40811 ac_ext=c
40812 ac_cpp='$CPP $CPPFLAGS'
40813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40822 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40824 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40825 for ac_func in _sqrtl
40826 do :
40827 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40828 if test "x$ac_cv_func__sqrtl" = xyes; then :
40829 cat >>confdefs.h <<_ACEOF
40830 #define HAVE__SQRTL 1
40831 _ACEOF
40834 done
40843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40844 $as_echo_n "checking for sincosl declaration... " >&6; }
40845 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40846 if ${glibcxx_cv_func_sincosl_use+:} false; then :
40847 $as_echo_n "(cached) " >&6
40848 else
40851 ac_ext=cpp
40852 ac_cpp='$CXXCPP $CPPFLAGS'
40853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40858 /* end confdefs.h. */
40859 #include <math.h>
40861 main ()
40863 sincosl(0, 0, 0);
40865 return 0;
40867 _ACEOF
40868 if ac_fn_cxx_try_compile "$LINENO"; then :
40869 glibcxx_cv_func_sincosl_use=yes
40870 else
40871 glibcxx_cv_func_sincosl_use=no
40873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40874 ac_ext=c
40875 ac_cpp='$CPP $CPPFLAGS'
40876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40885 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40887 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40888 for ac_func in sincosl
40889 do :
40890 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40891 if test "x$ac_cv_func_sincosl" = xyes; then :
40892 cat >>confdefs.h <<_ACEOF
40893 #define HAVE_SINCOSL 1
40894 _ACEOF
40897 done
40899 else
40901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40902 $as_echo_n "checking for _sincosl declaration... " >&6; }
40903 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40904 if ${glibcxx_cv_func__sincosl_use+:} false; then :
40905 $as_echo_n "(cached) " >&6
40906 else
40909 ac_ext=cpp
40910 ac_cpp='$CXXCPP $CPPFLAGS'
40911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40916 /* end confdefs.h. */
40917 #include <math.h>
40919 main ()
40921 _sincosl(0, 0, 0);
40923 return 0;
40925 _ACEOF
40926 if ac_fn_cxx_try_compile "$LINENO"; then :
40927 glibcxx_cv_func__sincosl_use=yes
40928 else
40929 glibcxx_cv_func__sincosl_use=no
40931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40932 ac_ext=c
40933 ac_cpp='$CPP $CPPFLAGS'
40934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40943 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40945 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40946 for ac_func in _sincosl
40947 do :
40948 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40949 if test "x$ac_cv_func__sincosl" = xyes; then :
40950 cat >>confdefs.h <<_ACEOF
40951 #define HAVE__SINCOSL 1
40952 _ACEOF
40955 done
40964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40965 $as_echo_n "checking for finitel declaration... " >&6; }
40966 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40967 if ${glibcxx_cv_func_finitel_use+:} false; then :
40968 $as_echo_n "(cached) " >&6
40969 else
40972 ac_ext=cpp
40973 ac_cpp='$CXXCPP $CPPFLAGS'
40974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40979 /* end confdefs.h. */
40980 #include <math.h>
40981 #ifdef HAVE_IEEEFP_H
40982 #include <ieeefp.h>
40983 #endif
40986 main ()
40988 finitel(0);
40990 return 0;
40992 _ACEOF
40993 if ac_fn_cxx_try_compile "$LINENO"; then :
40994 glibcxx_cv_func_finitel_use=yes
40995 else
40996 glibcxx_cv_func_finitel_use=no
40998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40999 ac_ext=c
41000 ac_cpp='$CPP $CPPFLAGS'
41001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
41010 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
41012 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
41013 for ac_func in finitel
41014 do :
41015 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
41016 if test "x$ac_cv_func_finitel" = xyes; then :
41017 cat >>confdefs.h <<_ACEOF
41018 #define HAVE_FINITEL 1
41019 _ACEOF
41022 done
41024 else
41026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
41027 $as_echo_n "checking for _finitel declaration... " >&6; }
41028 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
41029 if ${glibcxx_cv_func__finitel_use+:} false; then :
41030 $as_echo_n "(cached) " >&6
41031 else
41034 ac_ext=cpp
41035 ac_cpp='$CXXCPP $CPPFLAGS'
41036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41041 /* end confdefs.h. */
41042 #include <math.h>
41043 #ifdef HAVE_IEEEFP_H
41044 #include <ieeefp.h>
41045 #endif
41048 main ()
41050 _finitel(0);
41052 return 0;
41054 _ACEOF
41055 if ac_fn_cxx_try_compile "$LINENO"; then :
41056 glibcxx_cv_func__finitel_use=yes
41057 else
41058 glibcxx_cv_func__finitel_use=no
41060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41061 ac_ext=c
41062 ac_cpp='$CPP $CPPFLAGS'
41063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
41072 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
41074 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
41075 for ac_func in _finitel
41076 do :
41077 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
41078 if test "x$ac_cv_func__finitel" = xyes; then :
41079 cat >>confdefs.h <<_ACEOF
41080 #define HAVE__FINITEL 1
41081 _ACEOF
41084 done
41092 LIBS="$ac_save_LIBS"
41093 CXXFLAGS="$ac_save_CXXFLAGS"
41096 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41097 ac_save_CXXFLAGS="$CXXFLAGS"
41098 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
41102 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
41103 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
41104 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
41105 $as_echo_n "(cached) " >&6
41106 else
41109 ac_ext=cpp
41110 ac_cpp='$CXXCPP $CPPFLAGS'
41111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41116 /* end confdefs.h. */
41117 #include <stdlib.h>
41119 main ()
41121 at_quick_exit(0);
41123 return 0;
41125 _ACEOF
41126 if ac_fn_cxx_try_compile "$LINENO"; then :
41127 glibcxx_cv_func_at_quick_exit_use=yes
41128 else
41129 glibcxx_cv_func_at_quick_exit_use=no
41131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41132 ac_ext=c
41133 ac_cpp='$CPP $CPPFLAGS'
41134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
41143 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
41144 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
41145 for ac_func in at_quick_exit
41146 do :
41147 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
41148 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
41149 cat >>confdefs.h <<_ACEOF
41150 #define HAVE_AT_QUICK_EXIT 1
41151 _ACEOF
41154 done
41159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
41160 $as_echo_n "checking for quick_exit declaration... " >&6; }
41161 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
41162 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
41163 $as_echo_n "(cached) " >&6
41164 else
41167 ac_ext=cpp
41168 ac_cpp='$CXXCPP $CPPFLAGS'
41169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41174 /* end confdefs.h. */
41175 #include <stdlib.h>
41177 main ()
41179 quick_exit(0);
41181 return 0;
41183 _ACEOF
41184 if ac_fn_cxx_try_compile "$LINENO"; then :
41185 glibcxx_cv_func_quick_exit_use=yes
41186 else
41187 glibcxx_cv_func_quick_exit_use=no
41189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41190 ac_ext=c
41191 ac_cpp='$CPP $CPPFLAGS'
41192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
41201 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
41202 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
41203 for ac_func in quick_exit
41204 do :
41205 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
41206 if test "x$ac_cv_func_quick_exit" = xyes; then :
41207 cat >>confdefs.h <<_ACEOF
41208 #define HAVE_QUICK_EXIT 1
41209 _ACEOF
41212 done
41217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
41218 $as_echo_n "checking for strtold declaration... " >&6; }
41219 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
41220 if ${glibcxx_cv_func_strtold_use+:} false; then :
41221 $as_echo_n "(cached) " >&6
41222 else
41225 ac_ext=cpp
41226 ac_cpp='$CXXCPP $CPPFLAGS'
41227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41232 /* end confdefs.h. */
41233 #include <stdlib.h>
41235 main ()
41237 strtold(0, 0);
41239 return 0;
41241 _ACEOF
41242 if ac_fn_cxx_try_compile "$LINENO"; then :
41243 glibcxx_cv_func_strtold_use=yes
41244 else
41245 glibcxx_cv_func_strtold_use=no
41247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41248 ac_ext=c
41249 ac_cpp='$CPP $CPPFLAGS'
41250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
41259 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
41260 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
41261 for ac_func in strtold
41262 do :
41263 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
41264 if test "x$ac_cv_func_strtold" = xyes; then :
41265 cat >>confdefs.h <<_ACEOF
41266 #define HAVE_STRTOLD 1
41267 _ACEOF
41270 done
41277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
41278 $as_echo_n "checking for strtof declaration... " >&6; }
41279 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
41280 if ${glibcxx_cv_func_strtof_use+:} false; then :
41281 $as_echo_n "(cached) " >&6
41282 else
41285 ac_ext=cpp
41286 ac_cpp='$CXXCPP $CPPFLAGS'
41287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41292 /* end confdefs.h. */
41293 #include <stdlib.h>
41295 main ()
41297 strtof(0, 0);
41299 return 0;
41301 _ACEOF
41302 if ac_fn_cxx_try_compile "$LINENO"; then :
41303 glibcxx_cv_func_strtof_use=yes
41304 else
41305 glibcxx_cv_func_strtof_use=no
41307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41308 ac_ext=c
41309 ac_cpp='$CPP $CPPFLAGS'
41310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
41319 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
41320 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
41321 for ac_func in strtof
41322 do :
41323 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
41324 if test "x$ac_cv_func_strtof" = xyes; then :
41325 cat >>confdefs.h <<_ACEOF
41326 #define HAVE_STRTOF 1
41327 _ACEOF
41330 done
41337 CXXFLAGS="$ac_save_CXXFLAGS"
41339 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
41341 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
41343 # We don't yet support AIX's TLS ABI.
41344 #GCC_CHECK_TLS
41350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
41351 $as_echo_n "checking for iconv... " >&6; }
41352 if ${am_cv_func_iconv+:} false; then :
41353 $as_echo_n "(cached) " >&6
41354 else
41356 am_cv_func_iconv="no, consider installing GNU libiconv"
41357 am_cv_lib_iconv=no
41358 am_save_CPPFLAGS="$CPPFLAGS"
41359 CPPFLAGS="$CPPFLAGS $INCICONV"
41360 if test x$gcc_no_link = xyes; then
41361 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41364 /* end confdefs.h. */
41365 #include <stdlib.h>
41366 #include <iconv.h>
41368 main ()
41370 iconv_t cd = iconv_open("","");
41371 iconv(cd,NULL,NULL,NULL,NULL);
41372 iconv_close(cd);
41374 return 0;
41376 _ACEOF
41377 if ac_fn_c_try_link "$LINENO"; then :
41378 am_cv_func_iconv=yes
41380 rm -f core conftest.err conftest.$ac_objext \
41381 conftest$ac_exeext conftest.$ac_ext
41382 CPPFLAGS="$am_save_CPPFLAGS"
41384 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41385 for _libs in .libs _libs; do
41386 am_save_CPPFLAGS="$CPPFLAGS"
41387 am_save_LIBS="$LIBS"
41388 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41389 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41390 if test x$gcc_no_link = xyes; then
41391 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41394 /* end confdefs.h. */
41395 #include <stdlib.h>
41396 #include <iconv.h>
41398 main ()
41400 iconv_t cd = iconv_open("","");
41401 iconv(cd,NULL,NULL,NULL,NULL);
41402 iconv_close(cd);
41404 return 0;
41406 _ACEOF
41407 if ac_fn_c_try_link "$LINENO"; then :
41408 INCICONV="-I../libiconv/include"
41409 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41410 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41411 am_cv_lib_iconv=yes
41412 am_cv_func_iconv=yes
41414 rm -f core conftest.err conftest.$ac_objext \
41415 conftest$ac_exeext conftest.$ac_ext
41416 CPPFLAGS="$am_save_CPPFLAGS"
41417 LIBS="$am_save_LIBS"
41418 if test "$am_cv_func_iconv" = "yes"; then
41419 break
41421 done
41424 if test "$am_cv_func_iconv" != yes; then
41425 am_save_CPPFLAGS="$CPPFLAGS"
41426 am_save_LIBS="$LIBS"
41427 CPPFLAGS="$CPPFLAGS $INCICONV"
41428 LIBS="$LIBS $LIBICONV"
41429 if test x$gcc_no_link = xyes; then
41430 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41433 /* end confdefs.h. */
41434 #include <stdlib.h>
41435 #include <iconv.h>
41437 main ()
41439 iconv_t cd = iconv_open("","");
41440 iconv(cd,NULL,NULL,NULL,NULL);
41441 iconv_close(cd);
41443 return 0;
41445 _ACEOF
41446 if ac_fn_c_try_link "$LINENO"; then :
41447 am_cv_lib_iconv=yes
41448 am_cv_func_iconv=yes
41450 rm -f core conftest.err conftest.$ac_objext \
41451 conftest$ac_exeext conftest.$ac_ext
41452 CPPFLAGS="$am_save_CPPFLAGS"
41453 LIBS="$am_save_LIBS"
41457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41458 $as_echo "$am_cv_func_iconv" >&6; }
41459 if test "$am_cv_func_iconv" = yes; then
41461 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
41464 if test "$am_cv_lib_iconv" = yes; then
41466 for element in $INCICONV; do
41467 haveit=
41468 for x in $CPPFLAGS; do
41470 acl_save_prefix="$prefix"
41471 prefix="$acl_final_prefix"
41472 acl_save_exec_prefix="$exec_prefix"
41473 exec_prefix="$acl_final_exec_prefix"
41474 eval x=\"$x\"
41475 exec_prefix="$acl_save_exec_prefix"
41476 prefix="$acl_save_prefix"
41478 if test "X$x" = "X$element"; then
41479 haveit=yes
41480 break
41482 done
41483 if test -z "$haveit"; then
41484 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41486 done
41488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41489 $as_echo_n "checking how to link with libiconv... " >&6; }
41490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41491 $as_echo "$LIBICONV" >&6; }
41492 else
41493 LIBICONV=
41494 LTLIBICONV=
41499 if test "$am_cv_func_iconv" = yes; then
41500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41501 $as_echo_n "checking for iconv declaration... " >&6; }
41502 if ${am_cv_proto_iconv+:} false; then :
41503 $as_echo_n "(cached) " >&6
41504 else
41506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41507 /* end confdefs.h. */
41509 #include <stdlib.h>
41510 #include <iconv.h>
41511 extern
41512 #ifdef __cplusplus
41514 #endif
41515 #if defined(__STDC__) || defined(__cplusplus)
41516 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41517 #else
41518 size_t iconv();
41519 #endif
41522 main ()
41526 return 0;
41528 _ACEOF
41529 if ac_fn_c_try_compile "$LINENO"; then :
41530 am_cv_proto_iconv_arg1=""
41531 else
41532 am_cv_proto_iconv_arg1="const"
41534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41535 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);"
41538 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41540 }$am_cv_proto_iconv" >&5
41541 $as_echo "${ac_t:-
41542 }$am_cv_proto_iconv" >&6; }
41544 cat >>confdefs.h <<_ACEOF
41545 #define ICONV_CONST $am_cv_proto_iconv_arg1
41546 _ACEOF
41552 *-darwin*)
41553 # Darwin versions vary, but the linker should work in a cross environment,
41554 # so we just check for all the features here.
41555 # Check for available headers.
41557 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
41559 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41560 ac_save_CXXFLAGS="$CXXFLAGS"
41561 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41564 $as_echo_n "checking for sin in -lm... " >&6; }
41565 if ${ac_cv_lib_m_sin+:} false; then :
41566 $as_echo_n "(cached) " >&6
41567 else
41568 ac_check_lib_save_LIBS=$LIBS
41569 LIBS="-lm $LIBS"
41570 if test x$gcc_no_link = xyes; then
41571 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41574 /* end confdefs.h. */
41576 /* Override any GCC internal prototype to avoid an error.
41577 Use char because int might match the return type of a GCC
41578 builtin and then its argument prototype would still apply. */
41579 #ifdef __cplusplus
41580 extern "C"
41581 #endif
41582 char sin ();
41584 main ()
41586 return sin ();
41588 return 0;
41590 _ACEOF
41591 if ac_fn_c_try_link "$LINENO"; then :
41592 ac_cv_lib_m_sin=yes
41593 else
41594 ac_cv_lib_m_sin=no
41596 rm -f core conftest.err conftest.$ac_objext \
41597 conftest$ac_exeext conftest.$ac_ext
41598 LIBS=$ac_check_lib_save_LIBS
41600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41601 $as_echo "$ac_cv_lib_m_sin" >&6; }
41602 if test "x$ac_cv_lib_m_sin" = xyes; then :
41603 libm="-lm"
41606 ac_save_LIBS="$LIBS"
41607 LIBS="$LIBS $libm"
41611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41612 $as_echo_n "checking for isinf declaration... " >&6; }
41613 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41614 if ${glibcxx_cv_func_isinf_use+:} false; then :
41615 $as_echo_n "(cached) " >&6
41616 else
41619 ac_ext=cpp
41620 ac_cpp='$CXXCPP $CPPFLAGS'
41621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41626 /* end confdefs.h. */
41627 #include <math.h>
41628 #ifdef HAVE_IEEEFP_H
41629 #include <ieeefp.h>
41630 #endif
41633 main ()
41635 isinf(0);
41637 return 0;
41639 _ACEOF
41640 if ac_fn_cxx_try_compile "$LINENO"; then :
41641 glibcxx_cv_func_isinf_use=yes
41642 else
41643 glibcxx_cv_func_isinf_use=no
41645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41646 ac_ext=c
41647 ac_cpp='$CPP $CPPFLAGS'
41648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41657 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41659 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41660 for ac_func in isinf
41661 do :
41662 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41663 if test "x$ac_cv_func_isinf" = xyes; then :
41664 cat >>confdefs.h <<_ACEOF
41665 #define HAVE_ISINF 1
41666 _ACEOF
41669 done
41671 else
41673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41674 $as_echo_n "checking for _isinf declaration... " >&6; }
41675 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41676 if ${glibcxx_cv_func__isinf_use+:} false; then :
41677 $as_echo_n "(cached) " >&6
41678 else
41681 ac_ext=cpp
41682 ac_cpp='$CXXCPP $CPPFLAGS'
41683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41688 /* end confdefs.h. */
41689 #include <math.h>
41690 #ifdef HAVE_IEEEFP_H
41691 #include <ieeefp.h>
41692 #endif
41695 main ()
41697 _isinf(0);
41699 return 0;
41701 _ACEOF
41702 if ac_fn_cxx_try_compile "$LINENO"; then :
41703 glibcxx_cv_func__isinf_use=yes
41704 else
41705 glibcxx_cv_func__isinf_use=no
41707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41708 ac_ext=c
41709 ac_cpp='$CPP $CPPFLAGS'
41710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41719 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41721 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41722 for ac_func in _isinf
41723 do :
41724 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41725 if test "x$ac_cv_func__isinf" = xyes; then :
41726 cat >>confdefs.h <<_ACEOF
41727 #define HAVE__ISINF 1
41728 _ACEOF
41731 done
41740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41741 $as_echo_n "checking for isnan declaration... " >&6; }
41742 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41743 if ${glibcxx_cv_func_isnan_use+:} false; then :
41744 $as_echo_n "(cached) " >&6
41745 else
41748 ac_ext=cpp
41749 ac_cpp='$CXXCPP $CPPFLAGS'
41750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41755 /* end confdefs.h. */
41756 #include <math.h>
41757 #ifdef HAVE_IEEEFP_H
41758 #include <ieeefp.h>
41759 #endif
41762 main ()
41764 isnan(0);
41766 return 0;
41768 _ACEOF
41769 if ac_fn_cxx_try_compile "$LINENO"; then :
41770 glibcxx_cv_func_isnan_use=yes
41771 else
41772 glibcxx_cv_func_isnan_use=no
41774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41775 ac_ext=c
41776 ac_cpp='$CPP $CPPFLAGS'
41777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41786 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41788 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41789 for ac_func in isnan
41790 do :
41791 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41792 if test "x$ac_cv_func_isnan" = xyes; then :
41793 cat >>confdefs.h <<_ACEOF
41794 #define HAVE_ISNAN 1
41795 _ACEOF
41798 done
41800 else
41802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41803 $as_echo_n "checking for _isnan declaration... " >&6; }
41804 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41805 if ${glibcxx_cv_func__isnan_use+:} false; then :
41806 $as_echo_n "(cached) " >&6
41807 else
41810 ac_ext=cpp
41811 ac_cpp='$CXXCPP $CPPFLAGS'
41812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41817 /* end confdefs.h. */
41818 #include <math.h>
41819 #ifdef HAVE_IEEEFP_H
41820 #include <ieeefp.h>
41821 #endif
41824 main ()
41826 _isnan(0);
41828 return 0;
41830 _ACEOF
41831 if ac_fn_cxx_try_compile "$LINENO"; then :
41832 glibcxx_cv_func__isnan_use=yes
41833 else
41834 glibcxx_cv_func__isnan_use=no
41836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41837 ac_ext=c
41838 ac_cpp='$CPP $CPPFLAGS'
41839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41848 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41850 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41851 for ac_func in _isnan
41852 do :
41853 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41854 if test "x$ac_cv_func__isnan" = xyes; then :
41855 cat >>confdefs.h <<_ACEOF
41856 #define HAVE__ISNAN 1
41857 _ACEOF
41860 done
41869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41870 $as_echo_n "checking for finite declaration... " >&6; }
41871 if test x${glibcxx_cv_func_finite_use+set} != xset; then
41872 if ${glibcxx_cv_func_finite_use+:} false; then :
41873 $as_echo_n "(cached) " >&6
41874 else
41877 ac_ext=cpp
41878 ac_cpp='$CXXCPP $CPPFLAGS'
41879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41884 /* end confdefs.h. */
41885 #include <math.h>
41886 #ifdef HAVE_IEEEFP_H
41887 #include <ieeefp.h>
41888 #endif
41891 main ()
41893 finite(0);
41895 return 0;
41897 _ACEOF
41898 if ac_fn_cxx_try_compile "$LINENO"; then :
41899 glibcxx_cv_func_finite_use=yes
41900 else
41901 glibcxx_cv_func_finite_use=no
41903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41904 ac_ext=c
41905 ac_cpp='$CPP $CPPFLAGS'
41906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41915 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
41917 if test x$glibcxx_cv_func_finite_use = x"yes"; then
41918 for ac_func in finite
41919 do :
41920 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41921 if test "x$ac_cv_func_finite" = xyes; then :
41922 cat >>confdefs.h <<_ACEOF
41923 #define HAVE_FINITE 1
41924 _ACEOF
41927 done
41929 else
41931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41932 $as_echo_n "checking for _finite declaration... " >&6; }
41933 if test x${glibcxx_cv_func__finite_use+set} != xset; then
41934 if ${glibcxx_cv_func__finite_use+:} false; then :
41935 $as_echo_n "(cached) " >&6
41936 else
41939 ac_ext=cpp
41940 ac_cpp='$CXXCPP $CPPFLAGS'
41941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41946 /* end confdefs.h. */
41947 #include <math.h>
41948 #ifdef HAVE_IEEEFP_H
41949 #include <ieeefp.h>
41950 #endif
41953 main ()
41955 _finite(0);
41957 return 0;
41959 _ACEOF
41960 if ac_fn_cxx_try_compile "$LINENO"; then :
41961 glibcxx_cv_func__finite_use=yes
41962 else
41963 glibcxx_cv_func__finite_use=no
41965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41966 ac_ext=c
41967 ac_cpp='$CPP $CPPFLAGS'
41968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
41977 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
41979 if test x$glibcxx_cv_func__finite_use = x"yes"; then
41980 for ac_func in _finite
41981 do :
41982 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
41983 if test "x$ac_cv_func__finite" = xyes; then :
41984 cat >>confdefs.h <<_ACEOF
41985 #define HAVE__FINITE 1
41986 _ACEOF
41989 done
41998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
41999 $as_echo_n "checking for sincos declaration... " >&6; }
42000 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
42001 if ${glibcxx_cv_func_sincos_use+:} false; then :
42002 $as_echo_n "(cached) " >&6
42003 else
42006 ac_ext=cpp
42007 ac_cpp='$CXXCPP $CPPFLAGS'
42008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42013 /* end confdefs.h. */
42014 #include <math.h>
42016 main ()
42018 sincos(0, 0, 0);
42020 return 0;
42022 _ACEOF
42023 if ac_fn_cxx_try_compile "$LINENO"; then :
42024 glibcxx_cv_func_sincos_use=yes
42025 else
42026 glibcxx_cv_func_sincos_use=no
42028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42029 ac_ext=c
42030 ac_cpp='$CPP $CPPFLAGS'
42031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
42040 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
42042 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
42043 for ac_func in sincos
42044 do :
42045 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
42046 if test "x$ac_cv_func_sincos" = xyes; then :
42047 cat >>confdefs.h <<_ACEOF
42048 #define HAVE_SINCOS 1
42049 _ACEOF
42052 done
42054 else
42056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
42057 $as_echo_n "checking for _sincos declaration... " >&6; }
42058 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
42059 if ${glibcxx_cv_func__sincos_use+:} false; then :
42060 $as_echo_n "(cached) " >&6
42061 else
42064 ac_ext=cpp
42065 ac_cpp='$CXXCPP $CPPFLAGS'
42066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42071 /* end confdefs.h. */
42072 #include <math.h>
42074 main ()
42076 _sincos(0, 0, 0);
42078 return 0;
42080 _ACEOF
42081 if ac_fn_cxx_try_compile "$LINENO"; then :
42082 glibcxx_cv_func__sincos_use=yes
42083 else
42084 glibcxx_cv_func__sincos_use=no
42086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42087 ac_ext=c
42088 ac_cpp='$CPP $CPPFLAGS'
42089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
42098 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
42100 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
42101 for ac_func in _sincos
42102 do :
42103 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
42104 if test "x$ac_cv_func__sincos" = xyes; then :
42105 cat >>confdefs.h <<_ACEOF
42106 #define HAVE__SINCOS 1
42107 _ACEOF
42110 done
42119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
42120 $as_echo_n "checking for fpclass declaration... " >&6; }
42121 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
42122 if ${glibcxx_cv_func_fpclass_use+:} false; then :
42123 $as_echo_n "(cached) " >&6
42124 else
42127 ac_ext=cpp
42128 ac_cpp='$CXXCPP $CPPFLAGS'
42129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42134 /* end confdefs.h. */
42135 #include <math.h>
42136 #ifdef HAVE_IEEEFP_H
42137 #include <ieeefp.h>
42138 #endif
42141 main ()
42143 fpclass(0);
42145 return 0;
42147 _ACEOF
42148 if ac_fn_cxx_try_compile "$LINENO"; then :
42149 glibcxx_cv_func_fpclass_use=yes
42150 else
42151 glibcxx_cv_func_fpclass_use=no
42153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42154 ac_ext=c
42155 ac_cpp='$CPP $CPPFLAGS'
42156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
42165 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
42167 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
42168 for ac_func in fpclass
42169 do :
42170 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
42171 if test "x$ac_cv_func_fpclass" = xyes; then :
42172 cat >>confdefs.h <<_ACEOF
42173 #define HAVE_FPCLASS 1
42174 _ACEOF
42177 done
42179 else
42181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
42182 $as_echo_n "checking for _fpclass declaration... " >&6; }
42183 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
42184 if ${glibcxx_cv_func__fpclass_use+:} false; then :
42185 $as_echo_n "(cached) " >&6
42186 else
42189 ac_ext=cpp
42190 ac_cpp='$CXXCPP $CPPFLAGS'
42191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42196 /* end confdefs.h. */
42197 #include <math.h>
42198 #ifdef HAVE_IEEEFP_H
42199 #include <ieeefp.h>
42200 #endif
42203 main ()
42205 _fpclass(0);
42207 return 0;
42209 _ACEOF
42210 if ac_fn_cxx_try_compile "$LINENO"; then :
42211 glibcxx_cv_func__fpclass_use=yes
42212 else
42213 glibcxx_cv_func__fpclass_use=no
42215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42216 ac_ext=c
42217 ac_cpp='$CPP $CPPFLAGS'
42218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
42227 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
42229 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
42230 for ac_func in _fpclass
42231 do :
42232 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
42233 if test "x$ac_cv_func__fpclass" = xyes; then :
42234 cat >>confdefs.h <<_ACEOF
42235 #define HAVE__FPCLASS 1
42236 _ACEOF
42239 done
42248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42249 $as_echo_n "checking for qfpclass declaration... " >&6; }
42250 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42251 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
42252 $as_echo_n "(cached) " >&6
42253 else
42256 ac_ext=cpp
42257 ac_cpp='$CXXCPP $CPPFLAGS'
42258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42263 /* end confdefs.h. */
42264 #include <math.h>
42265 #ifdef HAVE_IEEEFP_H
42266 #include <ieeefp.h>
42267 #endif
42270 main ()
42272 qfpclass(0);
42274 return 0;
42276 _ACEOF
42277 if ac_fn_cxx_try_compile "$LINENO"; then :
42278 glibcxx_cv_func_qfpclass_use=yes
42279 else
42280 glibcxx_cv_func_qfpclass_use=no
42282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42283 ac_ext=c
42284 ac_cpp='$CPP $CPPFLAGS'
42285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42294 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42296 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42297 for ac_func in qfpclass
42298 do :
42299 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42300 if test "x$ac_cv_func_qfpclass" = xyes; then :
42301 cat >>confdefs.h <<_ACEOF
42302 #define HAVE_QFPCLASS 1
42303 _ACEOF
42306 done
42308 else
42310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42311 $as_echo_n "checking for _qfpclass declaration... " >&6; }
42312 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42313 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
42314 $as_echo_n "(cached) " >&6
42315 else
42318 ac_ext=cpp
42319 ac_cpp='$CXXCPP $CPPFLAGS'
42320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42325 /* end confdefs.h. */
42326 #include <math.h>
42327 #ifdef HAVE_IEEEFP_H
42328 #include <ieeefp.h>
42329 #endif
42332 main ()
42334 _qfpclass(0);
42336 return 0;
42338 _ACEOF
42339 if ac_fn_cxx_try_compile "$LINENO"; then :
42340 glibcxx_cv_func__qfpclass_use=yes
42341 else
42342 glibcxx_cv_func__qfpclass_use=no
42344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42345 ac_ext=c
42346 ac_cpp='$CPP $CPPFLAGS'
42347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42356 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42358 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42359 for ac_func in _qfpclass
42360 do :
42361 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42362 if test "x$ac_cv_func__qfpclass" = xyes; then :
42363 cat >>confdefs.h <<_ACEOF
42364 #define HAVE__QFPCLASS 1
42365 _ACEOF
42368 done
42377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42378 $as_echo_n "checking for hypot declaration... " >&6; }
42379 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42380 if ${glibcxx_cv_func_hypot_use+:} false; then :
42381 $as_echo_n "(cached) " >&6
42382 else
42385 ac_ext=cpp
42386 ac_cpp='$CXXCPP $CPPFLAGS'
42387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42392 /* end confdefs.h. */
42393 #include <math.h>
42395 main ()
42397 hypot(0, 0);
42399 return 0;
42401 _ACEOF
42402 if ac_fn_cxx_try_compile "$LINENO"; then :
42403 glibcxx_cv_func_hypot_use=yes
42404 else
42405 glibcxx_cv_func_hypot_use=no
42407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42408 ac_ext=c
42409 ac_cpp='$CPP $CPPFLAGS'
42410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42419 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42421 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42422 for ac_func in hypot
42423 do :
42424 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42425 if test "x$ac_cv_func_hypot" = xyes; then :
42426 cat >>confdefs.h <<_ACEOF
42427 #define HAVE_HYPOT 1
42428 _ACEOF
42431 done
42433 else
42435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42436 $as_echo_n "checking for _hypot declaration... " >&6; }
42437 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42438 if ${glibcxx_cv_func__hypot_use+:} false; then :
42439 $as_echo_n "(cached) " >&6
42440 else
42443 ac_ext=cpp
42444 ac_cpp='$CXXCPP $CPPFLAGS'
42445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42450 /* end confdefs.h. */
42451 #include <math.h>
42453 main ()
42455 _hypot(0, 0);
42457 return 0;
42459 _ACEOF
42460 if ac_fn_cxx_try_compile "$LINENO"; then :
42461 glibcxx_cv_func__hypot_use=yes
42462 else
42463 glibcxx_cv_func__hypot_use=no
42465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42466 ac_ext=c
42467 ac_cpp='$CPP $CPPFLAGS'
42468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42477 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42479 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42480 for ac_func in _hypot
42481 do :
42482 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42483 if test "x$ac_cv_func__hypot" = xyes; then :
42484 cat >>confdefs.h <<_ACEOF
42485 #define HAVE__HYPOT 1
42486 _ACEOF
42489 done
42498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42499 $as_echo_n "checking for float trig functions... " >&6; }
42500 if ${glibcxx_cv_func_float_trig_use+:} false; then :
42501 $as_echo_n "(cached) " >&6
42502 else
42505 ac_ext=cpp
42506 ac_cpp='$CXXCPP $CPPFLAGS'
42507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42512 /* end confdefs.h. */
42513 #include <math.h>
42515 main ()
42517 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42519 return 0;
42521 _ACEOF
42522 if ac_fn_cxx_try_compile "$LINENO"; then :
42523 glibcxx_cv_func_float_trig_use=yes
42524 else
42525 glibcxx_cv_func_float_trig_use=no
42527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42528 ac_ext=c
42529 ac_cpp='$CPP $CPPFLAGS'
42530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42537 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42538 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42539 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42540 do :
42541 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42542 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42543 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42544 cat >>confdefs.h <<_ACEOF
42545 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42546 _ACEOF
42549 done
42551 else
42552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42553 $as_echo_n "checking for _float trig functions... " >&6; }
42554 if ${glibcxx_cv_func__float_trig_use+:} false; then :
42555 $as_echo_n "(cached) " >&6
42556 else
42559 ac_ext=cpp
42560 ac_cpp='$CXXCPP $CPPFLAGS'
42561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42566 /* end confdefs.h. */
42567 #include <math.h>
42569 main ()
42571 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42573 return 0;
42575 _ACEOF
42576 if ac_fn_cxx_try_compile "$LINENO"; then :
42577 glibcxx_cv_func__float_trig_use=yes
42578 else
42579 glibcxx_cv_func__float_trig_use=no
42581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42582 ac_ext=c
42583 ac_cpp='$CPP $CPPFLAGS'
42584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42591 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42592 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42593 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42594 do :
42595 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42596 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42597 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42598 cat >>confdefs.h <<_ACEOF
42599 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42600 _ACEOF
42603 done
42612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42613 $as_echo_n "checking for float round functions... " >&6; }
42614 if ${glibcxx_cv_func_float_round_use+:} false; then :
42615 $as_echo_n "(cached) " >&6
42616 else
42619 ac_ext=cpp
42620 ac_cpp='$CXXCPP $CPPFLAGS'
42621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42626 /* end confdefs.h. */
42627 #include <math.h>
42629 main ()
42631 ceilf (0); floorf (0);
42633 return 0;
42635 _ACEOF
42636 if ac_fn_cxx_try_compile "$LINENO"; then :
42637 glibcxx_cv_func_float_round_use=yes
42638 else
42639 glibcxx_cv_func_float_round_use=no
42641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42642 ac_ext=c
42643 ac_cpp='$CPP $CPPFLAGS'
42644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42651 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42652 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42653 for ac_func in ceilf floorf
42654 do :
42655 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42656 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42657 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42658 cat >>confdefs.h <<_ACEOF
42659 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42660 _ACEOF
42663 done
42665 else
42666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42667 $as_echo_n "checking for _float round functions... " >&6; }
42668 if ${glibcxx_cv_func__float_round_use+:} false; then :
42669 $as_echo_n "(cached) " >&6
42670 else
42673 ac_ext=cpp
42674 ac_cpp='$CXXCPP $CPPFLAGS'
42675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42680 /* end confdefs.h. */
42681 #include <math.h>
42683 main ()
42685 _ceilf (0); _floorf (0);
42687 return 0;
42689 _ACEOF
42690 if ac_fn_cxx_try_compile "$LINENO"; then :
42691 glibcxx_cv_func__float_round_use=yes
42692 else
42693 glibcxx_cv_func__float_round_use=no
42695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42696 ac_ext=c
42697 ac_cpp='$CPP $CPPFLAGS'
42698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42705 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42706 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42707 for ac_func in _ceilf _floorf
42708 do :
42709 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42710 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42711 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42712 cat >>confdefs.h <<_ACEOF
42713 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42714 _ACEOF
42717 done
42727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42728 $as_echo_n "checking for expf declaration... " >&6; }
42729 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42730 if ${glibcxx_cv_func_expf_use+:} false; then :
42731 $as_echo_n "(cached) " >&6
42732 else
42735 ac_ext=cpp
42736 ac_cpp='$CXXCPP $CPPFLAGS'
42737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42742 /* end confdefs.h. */
42743 #include <math.h>
42744 #ifdef HAVE_IEEEFP_H
42745 #include <ieeefp.h>
42746 #endif
42749 main ()
42751 expf(0);
42753 return 0;
42755 _ACEOF
42756 if ac_fn_cxx_try_compile "$LINENO"; then :
42757 glibcxx_cv_func_expf_use=yes
42758 else
42759 glibcxx_cv_func_expf_use=no
42761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42762 ac_ext=c
42763 ac_cpp='$CPP $CPPFLAGS'
42764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42773 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42775 if test x$glibcxx_cv_func_expf_use = x"yes"; then
42776 for ac_func in expf
42777 do :
42778 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42779 if test "x$ac_cv_func_expf" = xyes; then :
42780 cat >>confdefs.h <<_ACEOF
42781 #define HAVE_EXPF 1
42782 _ACEOF
42785 done
42787 else
42789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42790 $as_echo_n "checking for _expf declaration... " >&6; }
42791 if test x${glibcxx_cv_func__expf_use+set} != xset; then
42792 if ${glibcxx_cv_func__expf_use+:} false; then :
42793 $as_echo_n "(cached) " >&6
42794 else
42797 ac_ext=cpp
42798 ac_cpp='$CXXCPP $CPPFLAGS'
42799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42804 /* end confdefs.h. */
42805 #include <math.h>
42806 #ifdef HAVE_IEEEFP_H
42807 #include <ieeefp.h>
42808 #endif
42811 main ()
42813 _expf(0);
42815 return 0;
42817 _ACEOF
42818 if ac_fn_cxx_try_compile "$LINENO"; then :
42819 glibcxx_cv_func__expf_use=yes
42820 else
42821 glibcxx_cv_func__expf_use=no
42823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42824 ac_ext=c
42825 ac_cpp='$CPP $CPPFLAGS'
42826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42835 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42837 if test x$glibcxx_cv_func__expf_use = x"yes"; then
42838 for ac_func in _expf
42839 do :
42840 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42841 if test "x$ac_cv_func__expf" = xyes; then :
42842 cat >>confdefs.h <<_ACEOF
42843 #define HAVE__EXPF 1
42844 _ACEOF
42847 done
42856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42857 $as_echo_n "checking for isnanf declaration... " >&6; }
42858 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42859 if ${glibcxx_cv_func_isnanf_use+:} false; then :
42860 $as_echo_n "(cached) " >&6
42861 else
42864 ac_ext=cpp
42865 ac_cpp='$CXXCPP $CPPFLAGS'
42866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42871 /* end confdefs.h. */
42872 #include <math.h>
42873 #ifdef HAVE_IEEEFP_H
42874 #include <ieeefp.h>
42875 #endif
42878 main ()
42880 isnanf(0);
42882 return 0;
42884 _ACEOF
42885 if ac_fn_cxx_try_compile "$LINENO"; then :
42886 glibcxx_cv_func_isnanf_use=yes
42887 else
42888 glibcxx_cv_func_isnanf_use=no
42890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42891 ac_ext=c
42892 ac_cpp='$CPP $CPPFLAGS'
42893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42902 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42904 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42905 for ac_func in isnanf
42906 do :
42907 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42908 if test "x$ac_cv_func_isnanf" = xyes; then :
42909 cat >>confdefs.h <<_ACEOF
42910 #define HAVE_ISNANF 1
42911 _ACEOF
42914 done
42916 else
42918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42919 $as_echo_n "checking for _isnanf declaration... " >&6; }
42920 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42921 if ${glibcxx_cv_func__isnanf_use+:} false; then :
42922 $as_echo_n "(cached) " >&6
42923 else
42926 ac_ext=cpp
42927 ac_cpp='$CXXCPP $CPPFLAGS'
42928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42933 /* end confdefs.h. */
42934 #include <math.h>
42935 #ifdef HAVE_IEEEFP_H
42936 #include <ieeefp.h>
42937 #endif
42940 main ()
42942 _isnanf(0);
42944 return 0;
42946 _ACEOF
42947 if ac_fn_cxx_try_compile "$LINENO"; then :
42948 glibcxx_cv_func__isnanf_use=yes
42949 else
42950 glibcxx_cv_func__isnanf_use=no
42952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42953 ac_ext=c
42954 ac_cpp='$CPP $CPPFLAGS'
42955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42964 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42966 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
42967 for ac_func in _isnanf
42968 do :
42969 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
42970 if test "x$ac_cv_func__isnanf" = xyes; then :
42971 cat >>confdefs.h <<_ACEOF
42972 #define HAVE__ISNANF 1
42973 _ACEOF
42976 done
42985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
42986 $as_echo_n "checking for isinff declaration... " >&6; }
42987 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
42988 if ${glibcxx_cv_func_isinff_use+:} false; then :
42989 $as_echo_n "(cached) " >&6
42990 else
42993 ac_ext=cpp
42994 ac_cpp='$CXXCPP $CPPFLAGS'
42995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43000 /* end confdefs.h. */
43001 #include <math.h>
43002 #ifdef HAVE_IEEEFP_H
43003 #include <ieeefp.h>
43004 #endif
43007 main ()
43009 isinff(0);
43011 return 0;
43013 _ACEOF
43014 if ac_fn_cxx_try_compile "$LINENO"; then :
43015 glibcxx_cv_func_isinff_use=yes
43016 else
43017 glibcxx_cv_func_isinff_use=no
43019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43020 ac_ext=c
43021 ac_cpp='$CPP $CPPFLAGS'
43022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
43031 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
43033 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
43034 for ac_func in isinff
43035 do :
43036 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
43037 if test "x$ac_cv_func_isinff" = xyes; then :
43038 cat >>confdefs.h <<_ACEOF
43039 #define HAVE_ISINFF 1
43040 _ACEOF
43043 done
43045 else
43047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
43048 $as_echo_n "checking for _isinff declaration... " >&6; }
43049 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
43050 if ${glibcxx_cv_func__isinff_use+:} false; then :
43051 $as_echo_n "(cached) " >&6
43052 else
43055 ac_ext=cpp
43056 ac_cpp='$CXXCPP $CPPFLAGS'
43057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43062 /* end confdefs.h. */
43063 #include <math.h>
43064 #ifdef HAVE_IEEEFP_H
43065 #include <ieeefp.h>
43066 #endif
43069 main ()
43071 _isinff(0);
43073 return 0;
43075 _ACEOF
43076 if ac_fn_cxx_try_compile "$LINENO"; then :
43077 glibcxx_cv_func__isinff_use=yes
43078 else
43079 glibcxx_cv_func__isinff_use=no
43081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43082 ac_ext=c
43083 ac_cpp='$CPP $CPPFLAGS'
43084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
43093 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
43095 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
43096 for ac_func in _isinff
43097 do :
43098 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
43099 if test "x$ac_cv_func__isinff" = xyes; then :
43100 cat >>confdefs.h <<_ACEOF
43101 #define HAVE__ISINFF 1
43102 _ACEOF
43105 done
43114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
43115 $as_echo_n "checking for atan2f declaration... " >&6; }
43116 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
43117 if ${glibcxx_cv_func_atan2f_use+:} false; then :
43118 $as_echo_n "(cached) " >&6
43119 else
43122 ac_ext=cpp
43123 ac_cpp='$CXXCPP $CPPFLAGS'
43124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43129 /* end confdefs.h. */
43130 #include <math.h>
43132 main ()
43134 atan2f(0, 0);
43136 return 0;
43138 _ACEOF
43139 if ac_fn_cxx_try_compile "$LINENO"; then :
43140 glibcxx_cv_func_atan2f_use=yes
43141 else
43142 glibcxx_cv_func_atan2f_use=no
43144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43145 ac_ext=c
43146 ac_cpp='$CPP $CPPFLAGS'
43147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
43156 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
43158 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
43159 for ac_func in atan2f
43160 do :
43161 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
43162 if test "x$ac_cv_func_atan2f" = xyes; then :
43163 cat >>confdefs.h <<_ACEOF
43164 #define HAVE_ATAN2F 1
43165 _ACEOF
43168 done
43170 else
43172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
43173 $as_echo_n "checking for _atan2f declaration... " >&6; }
43174 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
43175 if ${glibcxx_cv_func__atan2f_use+:} false; then :
43176 $as_echo_n "(cached) " >&6
43177 else
43180 ac_ext=cpp
43181 ac_cpp='$CXXCPP $CPPFLAGS'
43182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43187 /* end confdefs.h. */
43188 #include <math.h>
43190 main ()
43192 _atan2f(0, 0);
43194 return 0;
43196 _ACEOF
43197 if ac_fn_cxx_try_compile "$LINENO"; then :
43198 glibcxx_cv_func__atan2f_use=yes
43199 else
43200 glibcxx_cv_func__atan2f_use=no
43202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43203 ac_ext=c
43204 ac_cpp='$CPP $CPPFLAGS'
43205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
43214 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
43216 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
43217 for ac_func in _atan2f
43218 do :
43219 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
43220 if test "x$ac_cv_func__atan2f" = xyes; then :
43221 cat >>confdefs.h <<_ACEOF
43222 #define HAVE__ATAN2F 1
43223 _ACEOF
43226 done
43235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43236 $as_echo_n "checking for fabsf declaration... " >&6; }
43237 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43238 if ${glibcxx_cv_func_fabsf_use+:} false; then :
43239 $as_echo_n "(cached) " >&6
43240 else
43243 ac_ext=cpp
43244 ac_cpp='$CXXCPP $CPPFLAGS'
43245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43250 /* end confdefs.h. */
43251 #include <math.h>
43252 #ifdef HAVE_IEEEFP_H
43253 #include <ieeefp.h>
43254 #endif
43257 main ()
43259 fabsf(0);
43261 return 0;
43263 _ACEOF
43264 if ac_fn_cxx_try_compile "$LINENO"; then :
43265 glibcxx_cv_func_fabsf_use=yes
43266 else
43267 glibcxx_cv_func_fabsf_use=no
43269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43270 ac_ext=c
43271 ac_cpp='$CPP $CPPFLAGS'
43272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43281 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43283 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43284 for ac_func in fabsf
43285 do :
43286 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43287 if test "x$ac_cv_func_fabsf" = xyes; then :
43288 cat >>confdefs.h <<_ACEOF
43289 #define HAVE_FABSF 1
43290 _ACEOF
43293 done
43295 else
43297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43298 $as_echo_n "checking for _fabsf declaration... " >&6; }
43299 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43300 if ${glibcxx_cv_func__fabsf_use+:} false; then :
43301 $as_echo_n "(cached) " >&6
43302 else
43305 ac_ext=cpp
43306 ac_cpp='$CXXCPP $CPPFLAGS'
43307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43312 /* end confdefs.h. */
43313 #include <math.h>
43314 #ifdef HAVE_IEEEFP_H
43315 #include <ieeefp.h>
43316 #endif
43319 main ()
43321 _fabsf(0);
43323 return 0;
43325 _ACEOF
43326 if ac_fn_cxx_try_compile "$LINENO"; then :
43327 glibcxx_cv_func__fabsf_use=yes
43328 else
43329 glibcxx_cv_func__fabsf_use=no
43331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43332 ac_ext=c
43333 ac_cpp='$CPP $CPPFLAGS'
43334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43343 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43345 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43346 for ac_func in _fabsf
43347 do :
43348 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43349 if test "x$ac_cv_func__fabsf" = xyes; then :
43350 cat >>confdefs.h <<_ACEOF
43351 #define HAVE__FABSF 1
43352 _ACEOF
43355 done
43364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43365 $as_echo_n "checking for fmodf declaration... " >&6; }
43366 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43367 if ${glibcxx_cv_func_fmodf_use+:} false; then :
43368 $as_echo_n "(cached) " >&6
43369 else
43372 ac_ext=cpp
43373 ac_cpp='$CXXCPP $CPPFLAGS'
43374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43379 /* end confdefs.h. */
43380 #include <math.h>
43382 main ()
43384 fmodf(0, 0);
43386 return 0;
43388 _ACEOF
43389 if ac_fn_cxx_try_compile "$LINENO"; then :
43390 glibcxx_cv_func_fmodf_use=yes
43391 else
43392 glibcxx_cv_func_fmodf_use=no
43394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43395 ac_ext=c
43396 ac_cpp='$CPP $CPPFLAGS'
43397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43406 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43408 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43409 for ac_func in fmodf
43410 do :
43411 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43412 if test "x$ac_cv_func_fmodf" = xyes; then :
43413 cat >>confdefs.h <<_ACEOF
43414 #define HAVE_FMODF 1
43415 _ACEOF
43418 done
43420 else
43422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43423 $as_echo_n "checking for _fmodf declaration... " >&6; }
43424 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43425 if ${glibcxx_cv_func__fmodf_use+:} false; then :
43426 $as_echo_n "(cached) " >&6
43427 else
43430 ac_ext=cpp
43431 ac_cpp='$CXXCPP $CPPFLAGS'
43432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43437 /* end confdefs.h. */
43438 #include <math.h>
43440 main ()
43442 _fmodf(0, 0);
43444 return 0;
43446 _ACEOF
43447 if ac_fn_cxx_try_compile "$LINENO"; then :
43448 glibcxx_cv_func__fmodf_use=yes
43449 else
43450 glibcxx_cv_func__fmodf_use=no
43452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43453 ac_ext=c
43454 ac_cpp='$CPP $CPPFLAGS'
43455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43464 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43466 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43467 for ac_func in _fmodf
43468 do :
43469 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43470 if test "x$ac_cv_func__fmodf" = xyes; then :
43471 cat >>confdefs.h <<_ACEOF
43472 #define HAVE__FMODF 1
43473 _ACEOF
43476 done
43485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43486 $as_echo_n "checking for frexpf declaration... " >&6; }
43487 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43488 if ${glibcxx_cv_func_frexpf_use+:} false; then :
43489 $as_echo_n "(cached) " >&6
43490 else
43493 ac_ext=cpp
43494 ac_cpp='$CXXCPP $CPPFLAGS'
43495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43500 /* end confdefs.h. */
43501 #include <math.h>
43503 main ()
43505 frexpf(0, 0);
43507 return 0;
43509 _ACEOF
43510 if ac_fn_cxx_try_compile "$LINENO"; then :
43511 glibcxx_cv_func_frexpf_use=yes
43512 else
43513 glibcxx_cv_func_frexpf_use=no
43515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43516 ac_ext=c
43517 ac_cpp='$CPP $CPPFLAGS'
43518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43527 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43529 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43530 for ac_func in frexpf
43531 do :
43532 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43533 if test "x$ac_cv_func_frexpf" = xyes; then :
43534 cat >>confdefs.h <<_ACEOF
43535 #define HAVE_FREXPF 1
43536 _ACEOF
43539 done
43541 else
43543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43544 $as_echo_n "checking for _frexpf declaration... " >&6; }
43545 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43546 if ${glibcxx_cv_func__frexpf_use+:} false; then :
43547 $as_echo_n "(cached) " >&6
43548 else
43551 ac_ext=cpp
43552 ac_cpp='$CXXCPP $CPPFLAGS'
43553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43558 /* end confdefs.h. */
43559 #include <math.h>
43561 main ()
43563 _frexpf(0, 0);
43565 return 0;
43567 _ACEOF
43568 if ac_fn_cxx_try_compile "$LINENO"; then :
43569 glibcxx_cv_func__frexpf_use=yes
43570 else
43571 glibcxx_cv_func__frexpf_use=no
43573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43574 ac_ext=c
43575 ac_cpp='$CPP $CPPFLAGS'
43576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43585 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43587 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43588 for ac_func in _frexpf
43589 do :
43590 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43591 if test "x$ac_cv_func__frexpf" = xyes; then :
43592 cat >>confdefs.h <<_ACEOF
43593 #define HAVE__FREXPF 1
43594 _ACEOF
43597 done
43606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43607 $as_echo_n "checking for hypotf declaration... " >&6; }
43608 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43609 if ${glibcxx_cv_func_hypotf_use+:} false; then :
43610 $as_echo_n "(cached) " >&6
43611 else
43614 ac_ext=cpp
43615 ac_cpp='$CXXCPP $CPPFLAGS'
43616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43621 /* end confdefs.h. */
43622 #include <math.h>
43624 main ()
43626 hypotf(0, 0);
43628 return 0;
43630 _ACEOF
43631 if ac_fn_cxx_try_compile "$LINENO"; then :
43632 glibcxx_cv_func_hypotf_use=yes
43633 else
43634 glibcxx_cv_func_hypotf_use=no
43636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43637 ac_ext=c
43638 ac_cpp='$CPP $CPPFLAGS'
43639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43648 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43650 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43651 for ac_func in hypotf
43652 do :
43653 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43654 if test "x$ac_cv_func_hypotf" = xyes; then :
43655 cat >>confdefs.h <<_ACEOF
43656 #define HAVE_HYPOTF 1
43657 _ACEOF
43660 done
43662 else
43664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43665 $as_echo_n "checking for _hypotf declaration... " >&6; }
43666 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43667 if ${glibcxx_cv_func__hypotf_use+:} false; then :
43668 $as_echo_n "(cached) " >&6
43669 else
43672 ac_ext=cpp
43673 ac_cpp='$CXXCPP $CPPFLAGS'
43674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43679 /* end confdefs.h. */
43680 #include <math.h>
43682 main ()
43684 _hypotf(0, 0);
43686 return 0;
43688 _ACEOF
43689 if ac_fn_cxx_try_compile "$LINENO"; then :
43690 glibcxx_cv_func__hypotf_use=yes
43691 else
43692 glibcxx_cv_func__hypotf_use=no
43694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43695 ac_ext=c
43696 ac_cpp='$CPP $CPPFLAGS'
43697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43706 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43708 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43709 for ac_func in _hypotf
43710 do :
43711 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43712 if test "x$ac_cv_func__hypotf" = xyes; then :
43713 cat >>confdefs.h <<_ACEOF
43714 #define HAVE__HYPOTF 1
43715 _ACEOF
43718 done
43727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43728 $as_echo_n "checking for ldexpf declaration... " >&6; }
43729 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43730 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
43731 $as_echo_n "(cached) " >&6
43732 else
43735 ac_ext=cpp
43736 ac_cpp='$CXXCPP $CPPFLAGS'
43737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43742 /* end confdefs.h. */
43743 #include <math.h>
43745 main ()
43747 ldexpf(0, 0);
43749 return 0;
43751 _ACEOF
43752 if ac_fn_cxx_try_compile "$LINENO"; then :
43753 glibcxx_cv_func_ldexpf_use=yes
43754 else
43755 glibcxx_cv_func_ldexpf_use=no
43757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43758 ac_ext=c
43759 ac_cpp='$CPP $CPPFLAGS'
43760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43769 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43771 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43772 for ac_func in ldexpf
43773 do :
43774 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43775 if test "x$ac_cv_func_ldexpf" = xyes; then :
43776 cat >>confdefs.h <<_ACEOF
43777 #define HAVE_LDEXPF 1
43778 _ACEOF
43781 done
43783 else
43785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43786 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43787 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43788 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
43789 $as_echo_n "(cached) " >&6
43790 else
43793 ac_ext=cpp
43794 ac_cpp='$CXXCPP $CPPFLAGS'
43795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43800 /* end confdefs.h. */
43801 #include <math.h>
43803 main ()
43805 _ldexpf(0, 0);
43807 return 0;
43809 _ACEOF
43810 if ac_fn_cxx_try_compile "$LINENO"; then :
43811 glibcxx_cv_func__ldexpf_use=yes
43812 else
43813 glibcxx_cv_func__ldexpf_use=no
43815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43816 ac_ext=c
43817 ac_cpp='$CPP $CPPFLAGS'
43818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43827 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43829 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43830 for ac_func in _ldexpf
43831 do :
43832 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43833 if test "x$ac_cv_func__ldexpf" = xyes; then :
43834 cat >>confdefs.h <<_ACEOF
43835 #define HAVE__LDEXPF 1
43836 _ACEOF
43839 done
43848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43849 $as_echo_n "checking for logf declaration... " >&6; }
43850 if test x${glibcxx_cv_func_logf_use+set} != xset; then
43851 if ${glibcxx_cv_func_logf_use+:} false; then :
43852 $as_echo_n "(cached) " >&6
43853 else
43856 ac_ext=cpp
43857 ac_cpp='$CXXCPP $CPPFLAGS'
43858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43863 /* end confdefs.h. */
43864 #include <math.h>
43865 #ifdef HAVE_IEEEFP_H
43866 #include <ieeefp.h>
43867 #endif
43870 main ()
43872 logf(0);
43874 return 0;
43876 _ACEOF
43877 if ac_fn_cxx_try_compile "$LINENO"; then :
43878 glibcxx_cv_func_logf_use=yes
43879 else
43880 glibcxx_cv_func_logf_use=no
43882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43883 ac_ext=c
43884 ac_cpp='$CPP $CPPFLAGS'
43885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43894 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43896 if test x$glibcxx_cv_func_logf_use = x"yes"; then
43897 for ac_func in logf
43898 do :
43899 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43900 if test "x$ac_cv_func_logf" = xyes; then :
43901 cat >>confdefs.h <<_ACEOF
43902 #define HAVE_LOGF 1
43903 _ACEOF
43906 done
43908 else
43910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43911 $as_echo_n "checking for _logf declaration... " >&6; }
43912 if test x${glibcxx_cv_func__logf_use+set} != xset; then
43913 if ${glibcxx_cv_func__logf_use+:} false; then :
43914 $as_echo_n "(cached) " >&6
43915 else
43918 ac_ext=cpp
43919 ac_cpp='$CXXCPP $CPPFLAGS'
43920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43925 /* end confdefs.h. */
43926 #include <math.h>
43927 #ifdef HAVE_IEEEFP_H
43928 #include <ieeefp.h>
43929 #endif
43932 main ()
43934 _logf(0);
43936 return 0;
43938 _ACEOF
43939 if ac_fn_cxx_try_compile "$LINENO"; then :
43940 glibcxx_cv_func__logf_use=yes
43941 else
43942 glibcxx_cv_func__logf_use=no
43944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43945 ac_ext=c
43946 ac_cpp='$CPP $CPPFLAGS'
43947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43956 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
43958 if test x$glibcxx_cv_func__logf_use = x"yes"; then
43959 for ac_func in _logf
43960 do :
43961 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43962 if test "x$ac_cv_func__logf" = xyes; then :
43963 cat >>confdefs.h <<_ACEOF
43964 #define HAVE__LOGF 1
43965 _ACEOF
43968 done
43977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43978 $as_echo_n "checking for log10f declaration... " >&6; }
43979 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
43980 if ${glibcxx_cv_func_log10f_use+:} false; then :
43981 $as_echo_n "(cached) " >&6
43982 else
43985 ac_ext=cpp
43986 ac_cpp='$CXXCPP $CPPFLAGS'
43987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43992 /* end confdefs.h. */
43993 #include <math.h>
43994 #ifdef HAVE_IEEEFP_H
43995 #include <ieeefp.h>
43996 #endif
43999 main ()
44001 log10f(0);
44003 return 0;
44005 _ACEOF
44006 if ac_fn_cxx_try_compile "$LINENO"; then :
44007 glibcxx_cv_func_log10f_use=yes
44008 else
44009 glibcxx_cv_func_log10f_use=no
44011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44012 ac_ext=c
44013 ac_cpp='$CPP $CPPFLAGS'
44014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
44023 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
44025 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
44026 for ac_func in log10f
44027 do :
44028 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
44029 if test "x$ac_cv_func_log10f" = xyes; then :
44030 cat >>confdefs.h <<_ACEOF
44031 #define HAVE_LOG10F 1
44032 _ACEOF
44035 done
44037 else
44039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
44040 $as_echo_n "checking for _log10f declaration... " >&6; }
44041 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
44042 if ${glibcxx_cv_func__log10f_use+:} false; then :
44043 $as_echo_n "(cached) " >&6
44044 else
44047 ac_ext=cpp
44048 ac_cpp='$CXXCPP $CPPFLAGS'
44049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44054 /* end confdefs.h. */
44055 #include <math.h>
44056 #ifdef HAVE_IEEEFP_H
44057 #include <ieeefp.h>
44058 #endif
44061 main ()
44063 _log10f(0);
44065 return 0;
44067 _ACEOF
44068 if ac_fn_cxx_try_compile "$LINENO"; then :
44069 glibcxx_cv_func__log10f_use=yes
44070 else
44071 glibcxx_cv_func__log10f_use=no
44073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44074 ac_ext=c
44075 ac_cpp='$CPP $CPPFLAGS'
44076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
44085 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
44087 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
44088 for ac_func in _log10f
44089 do :
44090 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
44091 if test "x$ac_cv_func__log10f" = xyes; then :
44092 cat >>confdefs.h <<_ACEOF
44093 #define HAVE__LOG10F 1
44094 _ACEOF
44097 done
44106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
44107 $as_echo_n "checking for modff declaration... " >&6; }
44108 if test x${glibcxx_cv_func_modff_use+set} != xset; then
44109 if ${glibcxx_cv_func_modff_use+:} false; then :
44110 $as_echo_n "(cached) " >&6
44111 else
44114 ac_ext=cpp
44115 ac_cpp='$CXXCPP $CPPFLAGS'
44116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44121 /* end confdefs.h. */
44122 #include <math.h>
44124 main ()
44126 modff(0, 0);
44128 return 0;
44130 _ACEOF
44131 if ac_fn_cxx_try_compile "$LINENO"; then :
44132 glibcxx_cv_func_modff_use=yes
44133 else
44134 glibcxx_cv_func_modff_use=no
44136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44137 ac_ext=c
44138 ac_cpp='$CPP $CPPFLAGS'
44139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
44148 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
44150 if test x$glibcxx_cv_func_modff_use = x"yes"; then
44151 for ac_func in modff
44152 do :
44153 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
44154 if test "x$ac_cv_func_modff" = xyes; then :
44155 cat >>confdefs.h <<_ACEOF
44156 #define HAVE_MODFF 1
44157 _ACEOF
44160 done
44162 else
44164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
44165 $as_echo_n "checking for _modff declaration... " >&6; }
44166 if test x${glibcxx_cv_func__modff_use+set} != xset; then
44167 if ${glibcxx_cv_func__modff_use+:} false; then :
44168 $as_echo_n "(cached) " >&6
44169 else
44172 ac_ext=cpp
44173 ac_cpp='$CXXCPP $CPPFLAGS'
44174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44179 /* end confdefs.h. */
44180 #include <math.h>
44182 main ()
44184 _modff(0, 0);
44186 return 0;
44188 _ACEOF
44189 if ac_fn_cxx_try_compile "$LINENO"; then :
44190 glibcxx_cv_func__modff_use=yes
44191 else
44192 glibcxx_cv_func__modff_use=no
44194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44195 ac_ext=c
44196 ac_cpp='$CPP $CPPFLAGS'
44197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
44206 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
44208 if test x$glibcxx_cv_func__modff_use = x"yes"; then
44209 for ac_func in _modff
44210 do :
44211 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
44212 if test "x$ac_cv_func__modff" = xyes; then :
44213 cat >>confdefs.h <<_ACEOF
44214 #define HAVE__MODFF 1
44215 _ACEOF
44218 done
44227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
44228 $as_echo_n "checking for modf declaration... " >&6; }
44229 if test x${glibcxx_cv_func_modf_use+set} != xset; then
44230 if ${glibcxx_cv_func_modf_use+:} false; then :
44231 $as_echo_n "(cached) " >&6
44232 else
44235 ac_ext=cpp
44236 ac_cpp='$CXXCPP $CPPFLAGS'
44237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44242 /* end confdefs.h. */
44243 #include <math.h>
44245 main ()
44247 modf(0, 0);
44249 return 0;
44251 _ACEOF
44252 if ac_fn_cxx_try_compile "$LINENO"; then :
44253 glibcxx_cv_func_modf_use=yes
44254 else
44255 glibcxx_cv_func_modf_use=no
44257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44258 ac_ext=c
44259 ac_cpp='$CPP $CPPFLAGS'
44260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44269 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
44271 if test x$glibcxx_cv_func_modf_use = x"yes"; then
44272 for ac_func in modf
44273 do :
44274 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44275 if test "x$ac_cv_func_modf" = xyes; then :
44276 cat >>confdefs.h <<_ACEOF
44277 #define HAVE_MODF 1
44278 _ACEOF
44281 done
44283 else
44285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44286 $as_echo_n "checking for _modf declaration... " >&6; }
44287 if test x${glibcxx_cv_func__modf_use+set} != xset; then
44288 if ${glibcxx_cv_func__modf_use+:} false; then :
44289 $as_echo_n "(cached) " >&6
44290 else
44293 ac_ext=cpp
44294 ac_cpp='$CXXCPP $CPPFLAGS'
44295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44300 /* end confdefs.h. */
44301 #include <math.h>
44303 main ()
44305 _modf(0, 0);
44307 return 0;
44309 _ACEOF
44310 if ac_fn_cxx_try_compile "$LINENO"; then :
44311 glibcxx_cv_func__modf_use=yes
44312 else
44313 glibcxx_cv_func__modf_use=no
44315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44316 ac_ext=c
44317 ac_cpp='$CPP $CPPFLAGS'
44318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44327 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
44329 if test x$glibcxx_cv_func__modf_use = x"yes"; then
44330 for ac_func in _modf
44331 do :
44332 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44333 if test "x$ac_cv_func__modf" = xyes; then :
44334 cat >>confdefs.h <<_ACEOF
44335 #define HAVE__MODF 1
44336 _ACEOF
44339 done
44348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44349 $as_echo_n "checking for powf declaration... " >&6; }
44350 if test x${glibcxx_cv_func_powf_use+set} != xset; then
44351 if ${glibcxx_cv_func_powf_use+:} false; then :
44352 $as_echo_n "(cached) " >&6
44353 else
44356 ac_ext=cpp
44357 ac_cpp='$CXXCPP $CPPFLAGS'
44358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44363 /* end confdefs.h. */
44364 #include <math.h>
44366 main ()
44368 powf(0, 0);
44370 return 0;
44372 _ACEOF
44373 if ac_fn_cxx_try_compile "$LINENO"; then :
44374 glibcxx_cv_func_powf_use=yes
44375 else
44376 glibcxx_cv_func_powf_use=no
44378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44379 ac_ext=c
44380 ac_cpp='$CPP $CPPFLAGS'
44381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44390 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
44392 if test x$glibcxx_cv_func_powf_use = x"yes"; then
44393 for ac_func in powf
44394 do :
44395 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44396 if test "x$ac_cv_func_powf" = xyes; then :
44397 cat >>confdefs.h <<_ACEOF
44398 #define HAVE_POWF 1
44399 _ACEOF
44402 done
44404 else
44406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44407 $as_echo_n "checking for _powf declaration... " >&6; }
44408 if test x${glibcxx_cv_func__powf_use+set} != xset; then
44409 if ${glibcxx_cv_func__powf_use+:} false; then :
44410 $as_echo_n "(cached) " >&6
44411 else
44414 ac_ext=cpp
44415 ac_cpp='$CXXCPP $CPPFLAGS'
44416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44421 /* end confdefs.h. */
44422 #include <math.h>
44424 main ()
44426 _powf(0, 0);
44428 return 0;
44430 _ACEOF
44431 if ac_fn_cxx_try_compile "$LINENO"; then :
44432 glibcxx_cv_func__powf_use=yes
44433 else
44434 glibcxx_cv_func__powf_use=no
44436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44437 ac_ext=c
44438 ac_cpp='$CPP $CPPFLAGS'
44439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44448 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44450 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44451 for ac_func in _powf
44452 do :
44453 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44454 if test "x$ac_cv_func__powf" = xyes; then :
44455 cat >>confdefs.h <<_ACEOF
44456 #define HAVE__POWF 1
44457 _ACEOF
44460 done
44469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44470 $as_echo_n "checking for sqrtf declaration... " >&6; }
44471 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44472 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
44473 $as_echo_n "(cached) " >&6
44474 else
44477 ac_ext=cpp
44478 ac_cpp='$CXXCPP $CPPFLAGS'
44479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44484 /* end confdefs.h. */
44485 #include <math.h>
44486 #ifdef HAVE_IEEEFP_H
44487 #include <ieeefp.h>
44488 #endif
44491 main ()
44493 sqrtf(0);
44495 return 0;
44497 _ACEOF
44498 if ac_fn_cxx_try_compile "$LINENO"; then :
44499 glibcxx_cv_func_sqrtf_use=yes
44500 else
44501 glibcxx_cv_func_sqrtf_use=no
44503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44504 ac_ext=c
44505 ac_cpp='$CPP $CPPFLAGS'
44506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44515 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44517 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44518 for ac_func in sqrtf
44519 do :
44520 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44521 if test "x$ac_cv_func_sqrtf" = xyes; then :
44522 cat >>confdefs.h <<_ACEOF
44523 #define HAVE_SQRTF 1
44524 _ACEOF
44527 done
44529 else
44531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44532 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44533 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44534 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
44535 $as_echo_n "(cached) " >&6
44536 else
44539 ac_ext=cpp
44540 ac_cpp='$CXXCPP $CPPFLAGS'
44541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44546 /* end confdefs.h. */
44547 #include <math.h>
44548 #ifdef HAVE_IEEEFP_H
44549 #include <ieeefp.h>
44550 #endif
44553 main ()
44555 _sqrtf(0);
44557 return 0;
44559 _ACEOF
44560 if ac_fn_cxx_try_compile "$LINENO"; then :
44561 glibcxx_cv_func__sqrtf_use=yes
44562 else
44563 glibcxx_cv_func__sqrtf_use=no
44565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44566 ac_ext=c
44567 ac_cpp='$CPP $CPPFLAGS'
44568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44577 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44579 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44580 for ac_func in _sqrtf
44581 do :
44582 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44583 if test "x$ac_cv_func__sqrtf" = xyes; then :
44584 cat >>confdefs.h <<_ACEOF
44585 #define HAVE__SQRTF 1
44586 _ACEOF
44589 done
44598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44599 $as_echo_n "checking for sincosf declaration... " >&6; }
44600 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44601 if ${glibcxx_cv_func_sincosf_use+:} false; then :
44602 $as_echo_n "(cached) " >&6
44603 else
44606 ac_ext=cpp
44607 ac_cpp='$CXXCPP $CPPFLAGS'
44608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44613 /* end confdefs.h. */
44614 #include <math.h>
44616 main ()
44618 sincosf(0, 0, 0);
44620 return 0;
44622 _ACEOF
44623 if ac_fn_cxx_try_compile "$LINENO"; then :
44624 glibcxx_cv_func_sincosf_use=yes
44625 else
44626 glibcxx_cv_func_sincosf_use=no
44628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44629 ac_ext=c
44630 ac_cpp='$CPP $CPPFLAGS'
44631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44640 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44642 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44643 for ac_func in sincosf
44644 do :
44645 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44646 if test "x$ac_cv_func_sincosf" = xyes; then :
44647 cat >>confdefs.h <<_ACEOF
44648 #define HAVE_SINCOSF 1
44649 _ACEOF
44652 done
44654 else
44656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44657 $as_echo_n "checking for _sincosf declaration... " >&6; }
44658 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44659 if ${glibcxx_cv_func__sincosf_use+:} false; then :
44660 $as_echo_n "(cached) " >&6
44661 else
44664 ac_ext=cpp
44665 ac_cpp='$CXXCPP $CPPFLAGS'
44666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44671 /* end confdefs.h. */
44672 #include <math.h>
44674 main ()
44676 _sincosf(0, 0, 0);
44678 return 0;
44680 _ACEOF
44681 if ac_fn_cxx_try_compile "$LINENO"; then :
44682 glibcxx_cv_func__sincosf_use=yes
44683 else
44684 glibcxx_cv_func__sincosf_use=no
44686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44687 ac_ext=c
44688 ac_cpp='$CPP $CPPFLAGS'
44689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44698 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44700 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44701 for ac_func in _sincosf
44702 do :
44703 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44704 if test "x$ac_cv_func__sincosf" = xyes; then :
44705 cat >>confdefs.h <<_ACEOF
44706 #define HAVE__SINCOSF 1
44707 _ACEOF
44710 done
44719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44720 $as_echo_n "checking for finitef declaration... " >&6; }
44721 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44722 if ${glibcxx_cv_func_finitef_use+:} false; then :
44723 $as_echo_n "(cached) " >&6
44724 else
44727 ac_ext=cpp
44728 ac_cpp='$CXXCPP $CPPFLAGS'
44729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44734 /* end confdefs.h. */
44735 #include <math.h>
44736 #ifdef HAVE_IEEEFP_H
44737 #include <ieeefp.h>
44738 #endif
44741 main ()
44743 finitef(0);
44745 return 0;
44747 _ACEOF
44748 if ac_fn_cxx_try_compile "$LINENO"; then :
44749 glibcxx_cv_func_finitef_use=yes
44750 else
44751 glibcxx_cv_func_finitef_use=no
44753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44754 ac_ext=c
44755 ac_cpp='$CPP $CPPFLAGS'
44756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44765 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44767 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44768 for ac_func in finitef
44769 do :
44770 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44771 if test "x$ac_cv_func_finitef" = xyes; then :
44772 cat >>confdefs.h <<_ACEOF
44773 #define HAVE_FINITEF 1
44774 _ACEOF
44777 done
44779 else
44781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44782 $as_echo_n "checking for _finitef declaration... " >&6; }
44783 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44784 if ${glibcxx_cv_func__finitef_use+:} false; then :
44785 $as_echo_n "(cached) " >&6
44786 else
44789 ac_ext=cpp
44790 ac_cpp='$CXXCPP $CPPFLAGS'
44791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44796 /* end confdefs.h. */
44797 #include <math.h>
44798 #ifdef HAVE_IEEEFP_H
44799 #include <ieeefp.h>
44800 #endif
44803 main ()
44805 _finitef(0);
44807 return 0;
44809 _ACEOF
44810 if ac_fn_cxx_try_compile "$LINENO"; then :
44811 glibcxx_cv_func__finitef_use=yes
44812 else
44813 glibcxx_cv_func__finitef_use=no
44815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44816 ac_ext=c
44817 ac_cpp='$CPP $CPPFLAGS'
44818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44827 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44829 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44830 for ac_func in _finitef
44831 do :
44832 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44833 if test "x$ac_cv_func__finitef" = xyes; then :
44834 cat >>confdefs.h <<_ACEOF
44835 #define HAVE__FINITEF 1
44836 _ACEOF
44839 done
44848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44849 $as_echo_n "checking for long double trig functions... " >&6; }
44850 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
44851 $as_echo_n "(cached) " >&6
44852 else
44855 ac_ext=cpp
44856 ac_cpp='$CXXCPP $CPPFLAGS'
44857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44862 /* end confdefs.h. */
44863 #include <math.h>
44865 main ()
44867 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44869 return 0;
44871 _ACEOF
44872 if ac_fn_cxx_try_compile "$LINENO"; then :
44873 glibcxx_cv_func_long_double_trig_use=yes
44874 else
44875 glibcxx_cv_func_long_double_trig_use=no
44877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44878 ac_ext=c
44879 ac_cpp='$CPP $CPPFLAGS'
44880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44887 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44888 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44889 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44890 do :
44891 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44892 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44893 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44894 cat >>confdefs.h <<_ACEOF
44895 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44896 _ACEOF
44899 done
44901 else
44902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44903 $as_echo_n "checking for _long double trig functions... " >&6; }
44904 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
44905 $as_echo_n "(cached) " >&6
44906 else
44909 ac_ext=cpp
44910 ac_cpp='$CXXCPP $CPPFLAGS'
44911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44916 /* end confdefs.h. */
44917 #include <math.h>
44919 main ()
44921 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44923 return 0;
44925 _ACEOF
44926 if ac_fn_cxx_try_compile "$LINENO"; then :
44927 glibcxx_cv_func__long_double_trig_use=yes
44928 else
44929 glibcxx_cv_func__long_double_trig_use=no
44931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44932 ac_ext=c
44933 ac_cpp='$CPP $CPPFLAGS'
44934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44941 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44942 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44943 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44944 do :
44945 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44946 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44947 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44948 cat >>confdefs.h <<_ACEOF
44949 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44950 _ACEOF
44953 done
44962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44963 $as_echo_n "checking for long double round functions... " >&6; }
44964 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
44965 $as_echo_n "(cached) " >&6
44966 else
44969 ac_ext=cpp
44970 ac_cpp='$CXXCPP $CPPFLAGS'
44971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44976 /* end confdefs.h. */
44977 #include <math.h>
44979 main ()
44981 ceill (0); floorl (0);
44983 return 0;
44985 _ACEOF
44986 if ac_fn_cxx_try_compile "$LINENO"; then :
44987 glibcxx_cv_func_long_double_round_use=yes
44988 else
44989 glibcxx_cv_func_long_double_round_use=no
44991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44992 ac_ext=c
44993 ac_cpp='$CPP $CPPFLAGS'
44994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
45001 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
45002 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
45003 for ac_func in ceill floorl
45004 do :
45005 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45006 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45007 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45008 cat >>confdefs.h <<_ACEOF
45009 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45010 _ACEOF
45013 done
45015 else
45016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
45017 $as_echo_n "checking for _long double round functions... " >&6; }
45018 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
45019 $as_echo_n "(cached) " >&6
45020 else
45023 ac_ext=cpp
45024 ac_cpp='$CXXCPP $CPPFLAGS'
45025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45030 /* end confdefs.h. */
45031 #include <math.h>
45033 main ()
45035 _ceill (0); _floorl (0);
45037 return 0;
45039 _ACEOF
45040 if ac_fn_cxx_try_compile "$LINENO"; then :
45041 glibcxx_cv_func__long_double_round_use=yes
45042 else
45043 glibcxx_cv_func__long_double_round_use=no
45045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45046 ac_ext=c
45047 ac_cpp='$CPP $CPPFLAGS'
45048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
45055 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
45056 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
45057 for ac_func in _ceill _floorl
45058 do :
45059 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45060 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45061 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45062 cat >>confdefs.h <<_ACEOF
45063 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45064 _ACEOF
45067 done
45077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
45078 $as_echo_n "checking for isnanl declaration... " >&6; }
45079 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
45080 if ${glibcxx_cv_func_isnanl_use+:} false; then :
45081 $as_echo_n "(cached) " >&6
45082 else
45085 ac_ext=cpp
45086 ac_cpp='$CXXCPP $CPPFLAGS'
45087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45092 /* end confdefs.h. */
45093 #include <math.h>
45094 #ifdef HAVE_IEEEFP_H
45095 #include <ieeefp.h>
45096 #endif
45099 main ()
45101 isnanl(0);
45103 return 0;
45105 _ACEOF
45106 if ac_fn_cxx_try_compile "$LINENO"; then :
45107 glibcxx_cv_func_isnanl_use=yes
45108 else
45109 glibcxx_cv_func_isnanl_use=no
45111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45112 ac_ext=c
45113 ac_cpp='$CPP $CPPFLAGS'
45114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
45123 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
45125 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
45126 for ac_func in isnanl
45127 do :
45128 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
45129 if test "x$ac_cv_func_isnanl" = xyes; then :
45130 cat >>confdefs.h <<_ACEOF
45131 #define HAVE_ISNANL 1
45132 _ACEOF
45135 done
45137 else
45139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
45140 $as_echo_n "checking for _isnanl declaration... " >&6; }
45141 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
45142 if ${glibcxx_cv_func__isnanl_use+:} false; then :
45143 $as_echo_n "(cached) " >&6
45144 else
45147 ac_ext=cpp
45148 ac_cpp='$CXXCPP $CPPFLAGS'
45149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45154 /* end confdefs.h. */
45155 #include <math.h>
45156 #ifdef HAVE_IEEEFP_H
45157 #include <ieeefp.h>
45158 #endif
45161 main ()
45163 _isnanl(0);
45165 return 0;
45167 _ACEOF
45168 if ac_fn_cxx_try_compile "$LINENO"; then :
45169 glibcxx_cv_func__isnanl_use=yes
45170 else
45171 glibcxx_cv_func__isnanl_use=no
45173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45174 ac_ext=c
45175 ac_cpp='$CPP $CPPFLAGS'
45176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
45185 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
45187 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
45188 for ac_func in _isnanl
45189 do :
45190 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
45191 if test "x$ac_cv_func__isnanl" = xyes; then :
45192 cat >>confdefs.h <<_ACEOF
45193 #define HAVE__ISNANL 1
45194 _ACEOF
45197 done
45206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
45207 $as_echo_n "checking for isinfl declaration... " >&6; }
45208 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
45209 if ${glibcxx_cv_func_isinfl_use+:} false; then :
45210 $as_echo_n "(cached) " >&6
45211 else
45214 ac_ext=cpp
45215 ac_cpp='$CXXCPP $CPPFLAGS'
45216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45221 /* end confdefs.h. */
45222 #include <math.h>
45223 #ifdef HAVE_IEEEFP_H
45224 #include <ieeefp.h>
45225 #endif
45228 main ()
45230 isinfl(0);
45232 return 0;
45234 _ACEOF
45235 if ac_fn_cxx_try_compile "$LINENO"; then :
45236 glibcxx_cv_func_isinfl_use=yes
45237 else
45238 glibcxx_cv_func_isinfl_use=no
45240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45241 ac_ext=c
45242 ac_cpp='$CPP $CPPFLAGS'
45243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45252 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45254 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45255 for ac_func in isinfl
45256 do :
45257 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45258 if test "x$ac_cv_func_isinfl" = xyes; then :
45259 cat >>confdefs.h <<_ACEOF
45260 #define HAVE_ISINFL 1
45261 _ACEOF
45264 done
45266 else
45268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45269 $as_echo_n "checking for _isinfl declaration... " >&6; }
45270 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45271 if ${glibcxx_cv_func__isinfl_use+:} false; then :
45272 $as_echo_n "(cached) " >&6
45273 else
45276 ac_ext=cpp
45277 ac_cpp='$CXXCPP $CPPFLAGS'
45278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45283 /* end confdefs.h. */
45284 #include <math.h>
45285 #ifdef HAVE_IEEEFP_H
45286 #include <ieeefp.h>
45287 #endif
45290 main ()
45292 _isinfl(0);
45294 return 0;
45296 _ACEOF
45297 if ac_fn_cxx_try_compile "$LINENO"; then :
45298 glibcxx_cv_func__isinfl_use=yes
45299 else
45300 glibcxx_cv_func__isinfl_use=no
45302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45303 ac_ext=c
45304 ac_cpp='$CPP $CPPFLAGS'
45305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45314 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45316 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45317 for ac_func in _isinfl
45318 do :
45319 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45320 if test "x$ac_cv_func__isinfl" = xyes; then :
45321 cat >>confdefs.h <<_ACEOF
45322 #define HAVE__ISINFL 1
45323 _ACEOF
45326 done
45335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45336 $as_echo_n "checking for atan2l declaration... " >&6; }
45337 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45338 if ${glibcxx_cv_func_atan2l_use+:} false; then :
45339 $as_echo_n "(cached) " >&6
45340 else
45343 ac_ext=cpp
45344 ac_cpp='$CXXCPP $CPPFLAGS'
45345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45350 /* end confdefs.h. */
45351 #include <math.h>
45353 main ()
45355 atan2l(0, 0);
45357 return 0;
45359 _ACEOF
45360 if ac_fn_cxx_try_compile "$LINENO"; then :
45361 glibcxx_cv_func_atan2l_use=yes
45362 else
45363 glibcxx_cv_func_atan2l_use=no
45365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45366 ac_ext=c
45367 ac_cpp='$CPP $CPPFLAGS'
45368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45377 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45379 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45380 for ac_func in atan2l
45381 do :
45382 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45383 if test "x$ac_cv_func_atan2l" = xyes; then :
45384 cat >>confdefs.h <<_ACEOF
45385 #define HAVE_ATAN2L 1
45386 _ACEOF
45389 done
45391 else
45393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45394 $as_echo_n "checking for _atan2l declaration... " >&6; }
45395 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45396 if ${glibcxx_cv_func__atan2l_use+:} false; then :
45397 $as_echo_n "(cached) " >&6
45398 else
45401 ac_ext=cpp
45402 ac_cpp='$CXXCPP $CPPFLAGS'
45403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45408 /* end confdefs.h. */
45409 #include <math.h>
45411 main ()
45413 _atan2l(0, 0);
45415 return 0;
45417 _ACEOF
45418 if ac_fn_cxx_try_compile "$LINENO"; then :
45419 glibcxx_cv_func__atan2l_use=yes
45420 else
45421 glibcxx_cv_func__atan2l_use=no
45423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45424 ac_ext=c
45425 ac_cpp='$CPP $CPPFLAGS'
45426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45435 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45437 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45438 for ac_func in _atan2l
45439 do :
45440 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45441 if test "x$ac_cv_func__atan2l" = xyes; then :
45442 cat >>confdefs.h <<_ACEOF
45443 #define HAVE__ATAN2L 1
45444 _ACEOF
45447 done
45456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45457 $as_echo_n "checking for expl declaration... " >&6; }
45458 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45459 if ${glibcxx_cv_func_expl_use+:} false; then :
45460 $as_echo_n "(cached) " >&6
45461 else
45464 ac_ext=cpp
45465 ac_cpp='$CXXCPP $CPPFLAGS'
45466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45471 /* end confdefs.h. */
45472 #include <math.h>
45473 #ifdef HAVE_IEEEFP_H
45474 #include <ieeefp.h>
45475 #endif
45478 main ()
45480 expl(0);
45482 return 0;
45484 _ACEOF
45485 if ac_fn_cxx_try_compile "$LINENO"; then :
45486 glibcxx_cv_func_expl_use=yes
45487 else
45488 glibcxx_cv_func_expl_use=no
45490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45491 ac_ext=c
45492 ac_cpp='$CPP $CPPFLAGS'
45493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45502 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45504 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45505 for ac_func in expl
45506 do :
45507 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45508 if test "x$ac_cv_func_expl" = xyes; then :
45509 cat >>confdefs.h <<_ACEOF
45510 #define HAVE_EXPL 1
45511 _ACEOF
45514 done
45516 else
45518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45519 $as_echo_n "checking for _expl declaration... " >&6; }
45520 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45521 if ${glibcxx_cv_func__expl_use+:} false; then :
45522 $as_echo_n "(cached) " >&6
45523 else
45526 ac_ext=cpp
45527 ac_cpp='$CXXCPP $CPPFLAGS'
45528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45533 /* end confdefs.h. */
45534 #include <math.h>
45535 #ifdef HAVE_IEEEFP_H
45536 #include <ieeefp.h>
45537 #endif
45540 main ()
45542 _expl(0);
45544 return 0;
45546 _ACEOF
45547 if ac_fn_cxx_try_compile "$LINENO"; then :
45548 glibcxx_cv_func__expl_use=yes
45549 else
45550 glibcxx_cv_func__expl_use=no
45552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45553 ac_ext=c
45554 ac_cpp='$CPP $CPPFLAGS'
45555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45564 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45566 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45567 for ac_func in _expl
45568 do :
45569 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45570 if test "x$ac_cv_func__expl" = xyes; then :
45571 cat >>confdefs.h <<_ACEOF
45572 #define HAVE__EXPL 1
45573 _ACEOF
45576 done
45585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45586 $as_echo_n "checking for fabsl declaration... " >&6; }
45587 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45588 if ${glibcxx_cv_func_fabsl_use+:} false; then :
45589 $as_echo_n "(cached) " >&6
45590 else
45593 ac_ext=cpp
45594 ac_cpp='$CXXCPP $CPPFLAGS'
45595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45600 /* end confdefs.h. */
45601 #include <math.h>
45602 #ifdef HAVE_IEEEFP_H
45603 #include <ieeefp.h>
45604 #endif
45607 main ()
45609 fabsl(0);
45611 return 0;
45613 _ACEOF
45614 if ac_fn_cxx_try_compile "$LINENO"; then :
45615 glibcxx_cv_func_fabsl_use=yes
45616 else
45617 glibcxx_cv_func_fabsl_use=no
45619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45620 ac_ext=c
45621 ac_cpp='$CPP $CPPFLAGS'
45622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45631 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45633 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45634 for ac_func in fabsl
45635 do :
45636 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45637 if test "x$ac_cv_func_fabsl" = xyes; then :
45638 cat >>confdefs.h <<_ACEOF
45639 #define HAVE_FABSL 1
45640 _ACEOF
45643 done
45645 else
45647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45648 $as_echo_n "checking for _fabsl declaration... " >&6; }
45649 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45650 if ${glibcxx_cv_func__fabsl_use+:} false; then :
45651 $as_echo_n "(cached) " >&6
45652 else
45655 ac_ext=cpp
45656 ac_cpp='$CXXCPP $CPPFLAGS'
45657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45662 /* end confdefs.h. */
45663 #include <math.h>
45664 #ifdef HAVE_IEEEFP_H
45665 #include <ieeefp.h>
45666 #endif
45669 main ()
45671 _fabsl(0);
45673 return 0;
45675 _ACEOF
45676 if ac_fn_cxx_try_compile "$LINENO"; then :
45677 glibcxx_cv_func__fabsl_use=yes
45678 else
45679 glibcxx_cv_func__fabsl_use=no
45681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45682 ac_ext=c
45683 ac_cpp='$CPP $CPPFLAGS'
45684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45693 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45695 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45696 for ac_func in _fabsl
45697 do :
45698 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45699 if test "x$ac_cv_func__fabsl" = xyes; then :
45700 cat >>confdefs.h <<_ACEOF
45701 #define HAVE__FABSL 1
45702 _ACEOF
45705 done
45714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45715 $as_echo_n "checking for fmodl declaration... " >&6; }
45716 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45717 if ${glibcxx_cv_func_fmodl_use+:} false; then :
45718 $as_echo_n "(cached) " >&6
45719 else
45722 ac_ext=cpp
45723 ac_cpp='$CXXCPP $CPPFLAGS'
45724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45729 /* end confdefs.h. */
45730 #include <math.h>
45732 main ()
45734 fmodl(0, 0);
45736 return 0;
45738 _ACEOF
45739 if ac_fn_cxx_try_compile "$LINENO"; then :
45740 glibcxx_cv_func_fmodl_use=yes
45741 else
45742 glibcxx_cv_func_fmodl_use=no
45744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45745 ac_ext=c
45746 ac_cpp='$CPP $CPPFLAGS'
45747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45756 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45758 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45759 for ac_func in fmodl
45760 do :
45761 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45762 if test "x$ac_cv_func_fmodl" = xyes; then :
45763 cat >>confdefs.h <<_ACEOF
45764 #define HAVE_FMODL 1
45765 _ACEOF
45768 done
45770 else
45772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45773 $as_echo_n "checking for _fmodl declaration... " >&6; }
45774 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45775 if ${glibcxx_cv_func__fmodl_use+:} false; then :
45776 $as_echo_n "(cached) " >&6
45777 else
45780 ac_ext=cpp
45781 ac_cpp='$CXXCPP $CPPFLAGS'
45782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45787 /* end confdefs.h. */
45788 #include <math.h>
45790 main ()
45792 _fmodl(0, 0);
45794 return 0;
45796 _ACEOF
45797 if ac_fn_cxx_try_compile "$LINENO"; then :
45798 glibcxx_cv_func__fmodl_use=yes
45799 else
45800 glibcxx_cv_func__fmodl_use=no
45802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45803 ac_ext=c
45804 ac_cpp='$CPP $CPPFLAGS'
45805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45814 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45816 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45817 for ac_func in _fmodl
45818 do :
45819 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45820 if test "x$ac_cv_func__fmodl" = xyes; then :
45821 cat >>confdefs.h <<_ACEOF
45822 #define HAVE__FMODL 1
45823 _ACEOF
45826 done
45835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45836 $as_echo_n "checking for frexpl declaration... " >&6; }
45837 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45838 if ${glibcxx_cv_func_frexpl_use+:} false; then :
45839 $as_echo_n "(cached) " >&6
45840 else
45843 ac_ext=cpp
45844 ac_cpp='$CXXCPP $CPPFLAGS'
45845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45850 /* end confdefs.h. */
45851 #include <math.h>
45853 main ()
45855 frexpl(0, 0);
45857 return 0;
45859 _ACEOF
45860 if ac_fn_cxx_try_compile "$LINENO"; then :
45861 glibcxx_cv_func_frexpl_use=yes
45862 else
45863 glibcxx_cv_func_frexpl_use=no
45865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45866 ac_ext=c
45867 ac_cpp='$CPP $CPPFLAGS'
45868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45877 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45879 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45880 for ac_func in frexpl
45881 do :
45882 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45883 if test "x$ac_cv_func_frexpl" = xyes; then :
45884 cat >>confdefs.h <<_ACEOF
45885 #define HAVE_FREXPL 1
45886 _ACEOF
45889 done
45891 else
45893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45894 $as_echo_n "checking for _frexpl declaration... " >&6; }
45895 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45896 if ${glibcxx_cv_func__frexpl_use+:} false; then :
45897 $as_echo_n "(cached) " >&6
45898 else
45901 ac_ext=cpp
45902 ac_cpp='$CXXCPP $CPPFLAGS'
45903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45908 /* end confdefs.h. */
45909 #include <math.h>
45911 main ()
45913 _frexpl(0, 0);
45915 return 0;
45917 _ACEOF
45918 if ac_fn_cxx_try_compile "$LINENO"; then :
45919 glibcxx_cv_func__frexpl_use=yes
45920 else
45921 glibcxx_cv_func__frexpl_use=no
45923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45924 ac_ext=c
45925 ac_cpp='$CPP $CPPFLAGS'
45926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
45935 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45937 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45938 for ac_func in _frexpl
45939 do :
45940 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45941 if test "x$ac_cv_func__frexpl" = xyes; then :
45942 cat >>confdefs.h <<_ACEOF
45943 #define HAVE__FREXPL 1
45944 _ACEOF
45947 done
45956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45957 $as_echo_n "checking for hypotl declaration... " >&6; }
45958 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45959 if ${glibcxx_cv_func_hypotl_use+:} false; then :
45960 $as_echo_n "(cached) " >&6
45961 else
45964 ac_ext=cpp
45965 ac_cpp='$CXXCPP $CPPFLAGS'
45966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45971 /* end confdefs.h. */
45972 #include <math.h>
45974 main ()
45976 hypotl(0, 0);
45978 return 0;
45980 _ACEOF
45981 if ac_fn_cxx_try_compile "$LINENO"; then :
45982 glibcxx_cv_func_hypotl_use=yes
45983 else
45984 glibcxx_cv_func_hypotl_use=no
45986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45987 ac_ext=c
45988 ac_cpp='$CPP $CPPFLAGS'
45989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
45998 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
46000 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
46001 for ac_func in hypotl
46002 do :
46003 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
46004 if test "x$ac_cv_func_hypotl" = xyes; then :
46005 cat >>confdefs.h <<_ACEOF
46006 #define HAVE_HYPOTL 1
46007 _ACEOF
46010 done
46012 else
46014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
46015 $as_echo_n "checking for _hypotl declaration... " >&6; }
46016 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
46017 if ${glibcxx_cv_func__hypotl_use+:} false; then :
46018 $as_echo_n "(cached) " >&6
46019 else
46022 ac_ext=cpp
46023 ac_cpp='$CXXCPP $CPPFLAGS'
46024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46029 /* end confdefs.h. */
46030 #include <math.h>
46032 main ()
46034 _hypotl(0, 0);
46036 return 0;
46038 _ACEOF
46039 if ac_fn_cxx_try_compile "$LINENO"; then :
46040 glibcxx_cv_func__hypotl_use=yes
46041 else
46042 glibcxx_cv_func__hypotl_use=no
46044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46045 ac_ext=c
46046 ac_cpp='$CPP $CPPFLAGS'
46047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
46056 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
46058 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
46059 for ac_func in _hypotl
46060 do :
46061 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
46062 if test "x$ac_cv_func__hypotl" = xyes; then :
46063 cat >>confdefs.h <<_ACEOF
46064 #define HAVE__HYPOTL 1
46065 _ACEOF
46068 done
46077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
46078 $as_echo_n "checking for ldexpl declaration... " >&6; }
46079 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
46080 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
46081 $as_echo_n "(cached) " >&6
46082 else
46085 ac_ext=cpp
46086 ac_cpp='$CXXCPP $CPPFLAGS'
46087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46092 /* end confdefs.h. */
46093 #include <math.h>
46095 main ()
46097 ldexpl(0, 0);
46099 return 0;
46101 _ACEOF
46102 if ac_fn_cxx_try_compile "$LINENO"; then :
46103 glibcxx_cv_func_ldexpl_use=yes
46104 else
46105 glibcxx_cv_func_ldexpl_use=no
46107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46108 ac_ext=c
46109 ac_cpp='$CPP $CPPFLAGS'
46110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
46119 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
46121 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
46122 for ac_func in ldexpl
46123 do :
46124 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
46125 if test "x$ac_cv_func_ldexpl" = xyes; then :
46126 cat >>confdefs.h <<_ACEOF
46127 #define HAVE_LDEXPL 1
46128 _ACEOF
46131 done
46133 else
46135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
46136 $as_echo_n "checking for _ldexpl declaration... " >&6; }
46137 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
46138 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
46139 $as_echo_n "(cached) " >&6
46140 else
46143 ac_ext=cpp
46144 ac_cpp='$CXXCPP $CPPFLAGS'
46145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46150 /* end confdefs.h. */
46151 #include <math.h>
46153 main ()
46155 _ldexpl(0, 0);
46157 return 0;
46159 _ACEOF
46160 if ac_fn_cxx_try_compile "$LINENO"; then :
46161 glibcxx_cv_func__ldexpl_use=yes
46162 else
46163 glibcxx_cv_func__ldexpl_use=no
46165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46166 ac_ext=c
46167 ac_cpp='$CPP $CPPFLAGS'
46168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
46177 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
46179 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
46180 for ac_func in _ldexpl
46181 do :
46182 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
46183 if test "x$ac_cv_func__ldexpl" = xyes; then :
46184 cat >>confdefs.h <<_ACEOF
46185 #define HAVE__LDEXPL 1
46186 _ACEOF
46189 done
46198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
46199 $as_echo_n "checking for logl declaration... " >&6; }
46200 if test x${glibcxx_cv_func_logl_use+set} != xset; then
46201 if ${glibcxx_cv_func_logl_use+:} false; then :
46202 $as_echo_n "(cached) " >&6
46203 else
46206 ac_ext=cpp
46207 ac_cpp='$CXXCPP $CPPFLAGS'
46208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46213 /* end confdefs.h. */
46214 #include <math.h>
46215 #ifdef HAVE_IEEEFP_H
46216 #include <ieeefp.h>
46217 #endif
46220 main ()
46222 logl(0);
46224 return 0;
46226 _ACEOF
46227 if ac_fn_cxx_try_compile "$LINENO"; then :
46228 glibcxx_cv_func_logl_use=yes
46229 else
46230 glibcxx_cv_func_logl_use=no
46232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46233 ac_ext=c
46234 ac_cpp='$CPP $CPPFLAGS'
46235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46244 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
46246 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46247 for ac_func in logl
46248 do :
46249 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46250 if test "x$ac_cv_func_logl" = xyes; then :
46251 cat >>confdefs.h <<_ACEOF
46252 #define HAVE_LOGL 1
46253 _ACEOF
46256 done
46258 else
46260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46261 $as_echo_n "checking for _logl declaration... " >&6; }
46262 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46263 if ${glibcxx_cv_func__logl_use+:} false; then :
46264 $as_echo_n "(cached) " >&6
46265 else
46268 ac_ext=cpp
46269 ac_cpp='$CXXCPP $CPPFLAGS'
46270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46275 /* end confdefs.h. */
46276 #include <math.h>
46277 #ifdef HAVE_IEEEFP_H
46278 #include <ieeefp.h>
46279 #endif
46282 main ()
46284 _logl(0);
46286 return 0;
46288 _ACEOF
46289 if ac_fn_cxx_try_compile "$LINENO"; then :
46290 glibcxx_cv_func__logl_use=yes
46291 else
46292 glibcxx_cv_func__logl_use=no
46294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46295 ac_ext=c
46296 ac_cpp='$CPP $CPPFLAGS'
46297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46306 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
46308 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46309 for ac_func in _logl
46310 do :
46311 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46312 if test "x$ac_cv_func__logl" = xyes; then :
46313 cat >>confdefs.h <<_ACEOF
46314 #define HAVE__LOGL 1
46315 _ACEOF
46318 done
46327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46328 $as_echo_n "checking for log10l declaration... " >&6; }
46329 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46330 if ${glibcxx_cv_func_log10l_use+:} false; then :
46331 $as_echo_n "(cached) " >&6
46332 else
46335 ac_ext=cpp
46336 ac_cpp='$CXXCPP $CPPFLAGS'
46337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46342 /* end confdefs.h. */
46343 #include <math.h>
46344 #ifdef HAVE_IEEEFP_H
46345 #include <ieeefp.h>
46346 #endif
46349 main ()
46351 log10l(0);
46353 return 0;
46355 _ACEOF
46356 if ac_fn_cxx_try_compile "$LINENO"; then :
46357 glibcxx_cv_func_log10l_use=yes
46358 else
46359 glibcxx_cv_func_log10l_use=no
46361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46362 ac_ext=c
46363 ac_cpp='$CPP $CPPFLAGS'
46364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46373 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46375 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46376 for ac_func in log10l
46377 do :
46378 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46379 if test "x$ac_cv_func_log10l" = xyes; then :
46380 cat >>confdefs.h <<_ACEOF
46381 #define HAVE_LOG10L 1
46382 _ACEOF
46385 done
46387 else
46389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46390 $as_echo_n "checking for _log10l declaration... " >&6; }
46391 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46392 if ${glibcxx_cv_func__log10l_use+:} false; then :
46393 $as_echo_n "(cached) " >&6
46394 else
46397 ac_ext=cpp
46398 ac_cpp='$CXXCPP $CPPFLAGS'
46399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46404 /* end confdefs.h. */
46405 #include <math.h>
46406 #ifdef HAVE_IEEEFP_H
46407 #include <ieeefp.h>
46408 #endif
46411 main ()
46413 _log10l(0);
46415 return 0;
46417 _ACEOF
46418 if ac_fn_cxx_try_compile "$LINENO"; then :
46419 glibcxx_cv_func__log10l_use=yes
46420 else
46421 glibcxx_cv_func__log10l_use=no
46423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46424 ac_ext=c
46425 ac_cpp='$CPP $CPPFLAGS'
46426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46435 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46437 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46438 for ac_func in _log10l
46439 do :
46440 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46441 if test "x$ac_cv_func__log10l" = xyes; then :
46442 cat >>confdefs.h <<_ACEOF
46443 #define HAVE__LOG10L 1
46444 _ACEOF
46447 done
46456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46457 $as_echo_n "checking for modfl declaration... " >&6; }
46458 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46459 if ${glibcxx_cv_func_modfl_use+:} false; then :
46460 $as_echo_n "(cached) " >&6
46461 else
46464 ac_ext=cpp
46465 ac_cpp='$CXXCPP $CPPFLAGS'
46466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46471 /* end confdefs.h. */
46472 #include <math.h>
46474 main ()
46476 modfl(0, 0);
46478 return 0;
46480 _ACEOF
46481 if ac_fn_cxx_try_compile "$LINENO"; then :
46482 glibcxx_cv_func_modfl_use=yes
46483 else
46484 glibcxx_cv_func_modfl_use=no
46486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46487 ac_ext=c
46488 ac_cpp='$CPP $CPPFLAGS'
46489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46498 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46500 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46501 for ac_func in modfl
46502 do :
46503 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46504 if test "x$ac_cv_func_modfl" = xyes; then :
46505 cat >>confdefs.h <<_ACEOF
46506 #define HAVE_MODFL 1
46507 _ACEOF
46510 done
46512 else
46514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46515 $as_echo_n "checking for _modfl declaration... " >&6; }
46516 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46517 if ${glibcxx_cv_func__modfl_use+:} false; then :
46518 $as_echo_n "(cached) " >&6
46519 else
46522 ac_ext=cpp
46523 ac_cpp='$CXXCPP $CPPFLAGS'
46524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46529 /* end confdefs.h. */
46530 #include <math.h>
46532 main ()
46534 _modfl(0, 0);
46536 return 0;
46538 _ACEOF
46539 if ac_fn_cxx_try_compile "$LINENO"; then :
46540 glibcxx_cv_func__modfl_use=yes
46541 else
46542 glibcxx_cv_func__modfl_use=no
46544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46545 ac_ext=c
46546 ac_cpp='$CPP $CPPFLAGS'
46547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46556 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46558 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46559 for ac_func in _modfl
46560 do :
46561 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46562 if test "x$ac_cv_func__modfl" = xyes; then :
46563 cat >>confdefs.h <<_ACEOF
46564 #define HAVE__MODFL 1
46565 _ACEOF
46568 done
46577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46578 $as_echo_n "checking for powl declaration... " >&6; }
46579 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46580 if ${glibcxx_cv_func_powl_use+:} false; then :
46581 $as_echo_n "(cached) " >&6
46582 else
46585 ac_ext=cpp
46586 ac_cpp='$CXXCPP $CPPFLAGS'
46587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46592 /* end confdefs.h. */
46593 #include <math.h>
46595 main ()
46597 powl(0, 0);
46599 return 0;
46601 _ACEOF
46602 if ac_fn_cxx_try_compile "$LINENO"; then :
46603 glibcxx_cv_func_powl_use=yes
46604 else
46605 glibcxx_cv_func_powl_use=no
46607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46608 ac_ext=c
46609 ac_cpp='$CPP $CPPFLAGS'
46610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46619 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46621 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46622 for ac_func in powl
46623 do :
46624 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46625 if test "x$ac_cv_func_powl" = xyes; then :
46626 cat >>confdefs.h <<_ACEOF
46627 #define HAVE_POWL 1
46628 _ACEOF
46631 done
46633 else
46635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46636 $as_echo_n "checking for _powl declaration... " >&6; }
46637 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46638 if ${glibcxx_cv_func__powl_use+:} false; then :
46639 $as_echo_n "(cached) " >&6
46640 else
46643 ac_ext=cpp
46644 ac_cpp='$CXXCPP $CPPFLAGS'
46645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46650 /* end confdefs.h. */
46651 #include <math.h>
46653 main ()
46655 _powl(0, 0);
46657 return 0;
46659 _ACEOF
46660 if ac_fn_cxx_try_compile "$LINENO"; then :
46661 glibcxx_cv_func__powl_use=yes
46662 else
46663 glibcxx_cv_func__powl_use=no
46665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46666 ac_ext=c
46667 ac_cpp='$CPP $CPPFLAGS'
46668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46677 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46679 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46680 for ac_func in _powl
46681 do :
46682 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46683 if test "x$ac_cv_func__powl" = xyes; then :
46684 cat >>confdefs.h <<_ACEOF
46685 #define HAVE__POWL 1
46686 _ACEOF
46689 done
46698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46699 $as_echo_n "checking for sqrtl declaration... " >&6; }
46700 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46701 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
46702 $as_echo_n "(cached) " >&6
46703 else
46706 ac_ext=cpp
46707 ac_cpp='$CXXCPP $CPPFLAGS'
46708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46713 /* end confdefs.h. */
46714 #include <math.h>
46715 #ifdef HAVE_IEEEFP_H
46716 #include <ieeefp.h>
46717 #endif
46720 main ()
46722 sqrtl(0);
46724 return 0;
46726 _ACEOF
46727 if ac_fn_cxx_try_compile "$LINENO"; then :
46728 glibcxx_cv_func_sqrtl_use=yes
46729 else
46730 glibcxx_cv_func_sqrtl_use=no
46732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46733 ac_ext=c
46734 ac_cpp='$CPP $CPPFLAGS'
46735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46744 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46746 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46747 for ac_func in sqrtl
46748 do :
46749 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46750 if test "x$ac_cv_func_sqrtl" = xyes; then :
46751 cat >>confdefs.h <<_ACEOF
46752 #define HAVE_SQRTL 1
46753 _ACEOF
46756 done
46758 else
46760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46761 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46762 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46763 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
46764 $as_echo_n "(cached) " >&6
46765 else
46768 ac_ext=cpp
46769 ac_cpp='$CXXCPP $CPPFLAGS'
46770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46775 /* end confdefs.h. */
46776 #include <math.h>
46777 #ifdef HAVE_IEEEFP_H
46778 #include <ieeefp.h>
46779 #endif
46782 main ()
46784 _sqrtl(0);
46786 return 0;
46788 _ACEOF
46789 if ac_fn_cxx_try_compile "$LINENO"; then :
46790 glibcxx_cv_func__sqrtl_use=yes
46791 else
46792 glibcxx_cv_func__sqrtl_use=no
46794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46795 ac_ext=c
46796 ac_cpp='$CPP $CPPFLAGS'
46797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46806 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46808 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46809 for ac_func in _sqrtl
46810 do :
46811 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46812 if test "x$ac_cv_func__sqrtl" = xyes; then :
46813 cat >>confdefs.h <<_ACEOF
46814 #define HAVE__SQRTL 1
46815 _ACEOF
46818 done
46827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46828 $as_echo_n "checking for sincosl declaration... " >&6; }
46829 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46830 if ${glibcxx_cv_func_sincosl_use+:} false; then :
46831 $as_echo_n "(cached) " >&6
46832 else
46835 ac_ext=cpp
46836 ac_cpp='$CXXCPP $CPPFLAGS'
46837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46842 /* end confdefs.h. */
46843 #include <math.h>
46845 main ()
46847 sincosl(0, 0, 0);
46849 return 0;
46851 _ACEOF
46852 if ac_fn_cxx_try_compile "$LINENO"; then :
46853 glibcxx_cv_func_sincosl_use=yes
46854 else
46855 glibcxx_cv_func_sincosl_use=no
46857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46858 ac_ext=c
46859 ac_cpp='$CPP $CPPFLAGS'
46860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46869 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46871 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46872 for ac_func in sincosl
46873 do :
46874 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46875 if test "x$ac_cv_func_sincosl" = xyes; then :
46876 cat >>confdefs.h <<_ACEOF
46877 #define HAVE_SINCOSL 1
46878 _ACEOF
46881 done
46883 else
46885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46886 $as_echo_n "checking for _sincosl declaration... " >&6; }
46887 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46888 if ${glibcxx_cv_func__sincosl_use+:} false; then :
46889 $as_echo_n "(cached) " >&6
46890 else
46893 ac_ext=cpp
46894 ac_cpp='$CXXCPP $CPPFLAGS'
46895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46900 /* end confdefs.h. */
46901 #include <math.h>
46903 main ()
46905 _sincosl(0, 0, 0);
46907 return 0;
46909 _ACEOF
46910 if ac_fn_cxx_try_compile "$LINENO"; then :
46911 glibcxx_cv_func__sincosl_use=yes
46912 else
46913 glibcxx_cv_func__sincosl_use=no
46915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46916 ac_ext=c
46917 ac_cpp='$CPP $CPPFLAGS'
46918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46927 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46929 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46930 for ac_func in _sincosl
46931 do :
46932 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46933 if test "x$ac_cv_func__sincosl" = xyes; then :
46934 cat >>confdefs.h <<_ACEOF
46935 #define HAVE__SINCOSL 1
46936 _ACEOF
46939 done
46948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46949 $as_echo_n "checking for finitel declaration... " >&6; }
46950 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46951 if ${glibcxx_cv_func_finitel_use+:} false; then :
46952 $as_echo_n "(cached) " >&6
46953 else
46956 ac_ext=cpp
46957 ac_cpp='$CXXCPP $CPPFLAGS'
46958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46963 /* end confdefs.h. */
46964 #include <math.h>
46965 #ifdef HAVE_IEEEFP_H
46966 #include <ieeefp.h>
46967 #endif
46970 main ()
46972 finitel(0);
46974 return 0;
46976 _ACEOF
46977 if ac_fn_cxx_try_compile "$LINENO"; then :
46978 glibcxx_cv_func_finitel_use=yes
46979 else
46980 glibcxx_cv_func_finitel_use=no
46982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46983 ac_ext=c
46984 ac_cpp='$CPP $CPPFLAGS'
46985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
46994 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
46996 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46997 for ac_func in finitel
46998 do :
46999 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
47000 if test "x$ac_cv_func_finitel" = xyes; then :
47001 cat >>confdefs.h <<_ACEOF
47002 #define HAVE_FINITEL 1
47003 _ACEOF
47006 done
47008 else
47010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
47011 $as_echo_n "checking for _finitel declaration... " >&6; }
47012 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
47013 if ${glibcxx_cv_func__finitel_use+:} false; then :
47014 $as_echo_n "(cached) " >&6
47015 else
47018 ac_ext=cpp
47019 ac_cpp='$CXXCPP $CPPFLAGS'
47020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47025 /* end confdefs.h. */
47026 #include <math.h>
47027 #ifdef HAVE_IEEEFP_H
47028 #include <ieeefp.h>
47029 #endif
47032 main ()
47034 _finitel(0);
47036 return 0;
47038 _ACEOF
47039 if ac_fn_cxx_try_compile "$LINENO"; then :
47040 glibcxx_cv_func__finitel_use=yes
47041 else
47042 glibcxx_cv_func__finitel_use=no
47044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47045 ac_ext=c
47046 ac_cpp='$CPP $CPPFLAGS'
47047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
47056 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
47058 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
47059 for ac_func in _finitel
47060 do :
47061 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
47062 if test "x$ac_cv_func__finitel" = xyes; then :
47063 cat >>confdefs.h <<_ACEOF
47064 #define HAVE__FINITEL 1
47065 _ACEOF
47068 done
47076 LIBS="$ac_save_LIBS"
47077 CXXFLAGS="$ac_save_CXXFLAGS"
47080 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47081 ac_save_CXXFLAGS="$CXXFLAGS"
47082 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
47086 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
47087 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
47088 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
47089 $as_echo_n "(cached) " >&6
47090 else
47093 ac_ext=cpp
47094 ac_cpp='$CXXCPP $CPPFLAGS'
47095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47100 /* end confdefs.h. */
47101 #include <stdlib.h>
47103 main ()
47105 at_quick_exit(0);
47107 return 0;
47109 _ACEOF
47110 if ac_fn_cxx_try_compile "$LINENO"; then :
47111 glibcxx_cv_func_at_quick_exit_use=yes
47112 else
47113 glibcxx_cv_func_at_quick_exit_use=no
47115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47116 ac_ext=c
47117 ac_cpp='$CPP $CPPFLAGS'
47118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
47127 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
47128 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
47129 for ac_func in at_quick_exit
47130 do :
47131 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
47132 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
47133 cat >>confdefs.h <<_ACEOF
47134 #define HAVE_AT_QUICK_EXIT 1
47135 _ACEOF
47138 done
47143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
47144 $as_echo_n "checking for quick_exit declaration... " >&6; }
47145 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
47146 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
47147 $as_echo_n "(cached) " >&6
47148 else
47151 ac_ext=cpp
47152 ac_cpp='$CXXCPP $CPPFLAGS'
47153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47158 /* end confdefs.h. */
47159 #include <stdlib.h>
47161 main ()
47163 quick_exit(0);
47165 return 0;
47167 _ACEOF
47168 if ac_fn_cxx_try_compile "$LINENO"; then :
47169 glibcxx_cv_func_quick_exit_use=yes
47170 else
47171 glibcxx_cv_func_quick_exit_use=no
47173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47174 ac_ext=c
47175 ac_cpp='$CPP $CPPFLAGS'
47176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
47185 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
47186 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
47187 for ac_func in quick_exit
47188 do :
47189 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
47190 if test "x$ac_cv_func_quick_exit" = xyes; then :
47191 cat >>confdefs.h <<_ACEOF
47192 #define HAVE_QUICK_EXIT 1
47193 _ACEOF
47196 done
47201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
47202 $as_echo_n "checking for strtold declaration... " >&6; }
47203 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
47204 if ${glibcxx_cv_func_strtold_use+:} false; then :
47205 $as_echo_n "(cached) " >&6
47206 else
47209 ac_ext=cpp
47210 ac_cpp='$CXXCPP $CPPFLAGS'
47211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47216 /* end confdefs.h. */
47217 #include <stdlib.h>
47219 main ()
47221 strtold(0, 0);
47223 return 0;
47225 _ACEOF
47226 if ac_fn_cxx_try_compile "$LINENO"; then :
47227 glibcxx_cv_func_strtold_use=yes
47228 else
47229 glibcxx_cv_func_strtold_use=no
47231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47232 ac_ext=c
47233 ac_cpp='$CPP $CPPFLAGS'
47234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47243 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47244 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47245 for ac_func in strtold
47246 do :
47247 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47248 if test "x$ac_cv_func_strtold" = xyes; then :
47249 cat >>confdefs.h <<_ACEOF
47250 #define HAVE_STRTOLD 1
47251 _ACEOF
47254 done
47261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47262 $as_echo_n "checking for strtof declaration... " >&6; }
47263 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47264 if ${glibcxx_cv_func_strtof_use+:} false; then :
47265 $as_echo_n "(cached) " >&6
47266 else
47269 ac_ext=cpp
47270 ac_cpp='$CXXCPP $CPPFLAGS'
47271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47276 /* end confdefs.h. */
47277 #include <stdlib.h>
47279 main ()
47281 strtof(0, 0);
47283 return 0;
47285 _ACEOF
47286 if ac_fn_cxx_try_compile "$LINENO"; then :
47287 glibcxx_cv_func_strtof_use=yes
47288 else
47289 glibcxx_cv_func_strtof_use=no
47291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47292 ac_ext=c
47293 ac_cpp='$CPP $CPPFLAGS'
47294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47303 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47304 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47305 for ac_func in strtof
47306 do :
47307 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47308 if test "x$ac_cv_func_strtof" = xyes; then :
47309 cat >>confdefs.h <<_ACEOF
47310 #define HAVE_STRTOF 1
47311 _ACEOF
47314 done
47321 CXXFLAGS="$ac_save_CXXFLAGS"
47325 *djgpp)
47326 # GLIBCXX_CHECK_MATH_SUPPORT
47327 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47329 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47331 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47333 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
47335 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47339 *-freebsd*)
47340 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47343 # If we're not using GNU ld, then there's no point in even trying these
47344 # tests. Check for that first. We should have already tested for gld
47345 # by now (in libtool), but require it now just to be safe...
47346 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47347 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47351 # The name set by libtool depends on the version of libtool. Shame on us
47352 # for depending on an impl detail, but c'est la vie. Older versions used
47353 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47354 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47355 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
47356 # set (hence we're using an older libtool), then set it.
47357 if test x${with_gnu_ld+set} != xset; then
47358 if test x${ac_cv_prog_gnu_ld+set} != xset; then
47359 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
47360 with_gnu_ld=no
47361 else
47362 with_gnu_ld=$ac_cv_prog_gnu_ld
47366 # Start by getting the version number. I think the libtool test already
47367 # does some of this, but throws away the result.
47368 glibcxx_ld_is_gold=no
47369 if test x"$with_gnu_ld" = x"yes"; then
47370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47371 $as_echo_n "checking for ld version... " >&6; }
47373 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47374 glibcxx_ld_is_gold=yes
47376 ldver=`$LD --version 2>/dev/null |
47377 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47379 glibcxx_gnu_ld_version=`echo $ldver | \
47380 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47382 $as_echo "$glibcxx_gnu_ld_version" >&6; }
47385 # Set --gc-sections.
47386 glibcxx_have_gc_sections=no
47387 if test "$glibcxx_ld_is_gold" = "yes"; then
47388 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47389 glibcxx_have_gc_sections=yes
47391 else
47392 glibcxx_gcsections_min_ld=21602
47393 if test x"$with_gnu_ld" = x"yes" &&
47394 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47395 glibcxx_have_gc_sections=yes
47398 if test "$glibcxx_have_gc_sections" = "yes"; then
47399 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
47400 # NB: This flag only works reliably after 2.16.1. Configure tests
47401 # for this are difficult, so hard wire a value that should work.
47403 ac_test_CFLAGS="${CFLAGS+set}"
47404 ac_save_CFLAGS="$CFLAGS"
47405 CFLAGS='-Wl,--gc-sections'
47407 # Check for -Wl,--gc-sections
47408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47409 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47410 if test x$gcc_no_link = xyes; then
47411 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47414 /* end confdefs.h. */
47415 int one(void) { return 1; }
47416 int two(void) { return 2; }
47419 main ()
47421 two();
47423 return 0;
47425 _ACEOF
47426 if ac_fn_c_try_link "$LINENO"; then :
47427 ac_gcsections=yes
47428 else
47429 ac_gcsections=no
47431 rm -f core conftest.err conftest.$ac_objext \
47432 conftest$ac_exeext conftest.$ac_ext
47433 if test "$ac_gcsections" = "yes"; then
47434 rm -f conftest.c
47435 touch conftest.c
47436 if $CC -c conftest.c; then
47437 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
47438 grep "Warning: gc-sections option ignored" > /dev/null; then
47439 ac_gcsections=no
47442 rm -f conftest.c conftest.o conftest
47444 if test "$ac_gcsections" = "yes"; then
47445 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
47448 $as_echo "$ac_gcsections" >&6; }
47450 if test "$ac_test_CFLAGS" = set; then
47451 CFLAGS="$ac_save_CFLAGS"
47452 else
47453 # this is the suspicious part
47454 CFLAGS=''
47458 # Set -z,relro.
47459 # Note this is only for shared objects.
47460 ac_ld_relro=no
47461 if test x"$with_gnu_ld" = x"yes"; then
47462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
47463 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
47464 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
47465 if test -n "$cxx_z_relo"; then
47466 OPT_LDFLAGS="-Wl,-z,relro"
47467 ac_ld_relro=yes
47469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
47470 $as_echo "$ac_ld_relro" >&6; }
47473 # Set linker optimization flags.
47474 if test x"$with_gnu_ld" = x"yes"; then
47475 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
47481 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
47483 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
47485 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47487 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47489 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47491 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
47493 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47495 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47497 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
47500 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
47502 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
47504 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
47506 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
47508 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
47510 $as_echo "#define HAVE_COSF 1" >>confdefs.h
47512 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
47514 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
47516 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
47518 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
47520 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
47522 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47524 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
47526 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
47528 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
47530 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
47532 $as_echo "#define HAVE_POWF 1" >>confdefs.h
47534 $as_echo "#define HAVE_SINF 1" >>confdefs.h
47536 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
47538 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
47540 $as_echo "#define HAVE_TANF 1" >>confdefs.h
47542 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
47544 if test x"long_double_math_on_this_cpu" = x"yes"; then
47545 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
47547 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
47549 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
47552 for ac_func in __cxa_thread_atexit
47553 do :
47554 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
47555 if test "x$ac_cv_func___cxa_thread_atexit" = xyes; then :
47556 cat >>confdefs.h <<_ACEOF
47557 #define HAVE___CXA_THREAD_ATEXIT 1
47558 _ACEOF
47561 done
47563 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
47564 do :
47565 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47566 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47567 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
47568 cat >>confdefs.h <<_ACEOF
47569 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47570 _ACEOF
47573 done
47575 for ac_func in timespec_get
47576 do :
47577 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
47578 if test "x$ac_cv_func_timespec_get" = xyes; then :
47579 cat >>confdefs.h <<_ACEOF
47580 #define HAVE_TIMESPEC_GET 1
47581 _ACEOF
47584 done
47586 for ac_func in sockatmark
47587 do :
47588 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
47589 if test "x$ac_cv_func_sockatmark" = xyes; then :
47590 cat >>confdefs.h <<_ACEOF
47591 #define HAVE_SOCKATMARK 1
47592 _ACEOF
47595 done
47599 *-fuchsia*)
47600 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47604 *-hpux*)
47605 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47608 # If we're not using GNU ld, then there's no point in even trying these
47609 # tests. Check for that first. We should have already tested for gld
47610 # by now (in libtool), but require it now just to be safe...
47611 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47612 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47616 # The name set by libtool depends on the version of libtool. Shame on us
47617 # for depending on an impl detail, but c'est la vie. Older versions used
47618 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47619 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47620 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
47621 # set (hence we're using an older libtool), then set it.
47622 if test x${with_gnu_ld+set} != xset; then
47623 if test x${ac_cv_prog_gnu_ld+set} != xset; then
47624 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
47625 with_gnu_ld=no
47626 else
47627 with_gnu_ld=$ac_cv_prog_gnu_ld
47631 # Start by getting the version number. I think the libtool test already
47632 # does some of this, but throws away the result.
47633 glibcxx_ld_is_gold=no
47634 if test x"$with_gnu_ld" = x"yes"; then
47635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47636 $as_echo_n "checking for ld version... " >&6; }
47638 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47639 glibcxx_ld_is_gold=yes
47641 ldver=`$LD --version 2>/dev/null |
47642 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47644 glibcxx_gnu_ld_version=`echo $ldver | \
47645 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47647 $as_echo "$glibcxx_gnu_ld_version" >&6; }
47650 # Set --gc-sections.
47651 glibcxx_have_gc_sections=no
47652 if test "$glibcxx_ld_is_gold" = "yes"; then
47653 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47654 glibcxx_have_gc_sections=yes
47656 else
47657 glibcxx_gcsections_min_ld=21602
47658 if test x"$with_gnu_ld" = x"yes" &&
47659 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47660 glibcxx_have_gc_sections=yes
47663 if test "$glibcxx_have_gc_sections" = "yes"; then
47664 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
47665 # NB: This flag only works reliably after 2.16.1. Configure tests
47666 # for this are difficult, so hard wire a value that should work.
47668 ac_test_CFLAGS="${CFLAGS+set}"
47669 ac_save_CFLAGS="$CFLAGS"
47670 CFLAGS='-Wl,--gc-sections'
47672 # Check for -Wl,--gc-sections
47673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47674 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47675 if test x$gcc_no_link = xyes; then
47676 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47679 /* end confdefs.h. */
47680 int one(void) { return 1; }
47681 int two(void) { return 2; }
47684 main ()
47686 two();
47688 return 0;
47690 _ACEOF
47691 if ac_fn_c_try_link "$LINENO"; then :
47692 ac_gcsections=yes
47693 else
47694 ac_gcsections=no
47696 rm -f core conftest.err conftest.$ac_objext \
47697 conftest$ac_exeext conftest.$ac_ext
47698 if test "$ac_gcsections" = "yes"; then
47699 rm -f conftest.c
47700 touch conftest.c
47701 if $CC -c conftest.c; then
47702 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
47703 grep "Warning: gc-sections option ignored" > /dev/null; then
47704 ac_gcsections=no
47707 rm -f conftest.c conftest.o conftest
47709 if test "$ac_gcsections" = "yes"; then
47710 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
47713 $as_echo "$ac_gcsections" >&6; }
47715 if test "$ac_test_CFLAGS" = set; then
47716 CFLAGS="$ac_save_CFLAGS"
47717 else
47718 # this is the suspicious part
47719 CFLAGS=''
47723 # Set -z,relro.
47724 # Note this is only for shared objects.
47725 ac_ld_relro=no
47726 if test x"$with_gnu_ld" = x"yes"; then
47727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
47728 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
47729 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
47730 if test -n "$cxx_z_relo"; then
47731 OPT_LDFLAGS="-Wl,-z,relro"
47732 ac_ld_relro=yes
47734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
47735 $as_echo "$ac_ld_relro" >&6; }
47738 # Set linker optimization flags.
47739 if test x"$with_gnu_ld" = x"yes"; then
47740 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
47747 # GLIBCXX_CHECK_MATH_SUPPORT
47748 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47750 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47752 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
47754 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
47756 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
47758 $as_echo "#define HAVE_COSF 1" >>confdefs.h
47760 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
47762 $as_echo "#define HAVE_SINF 1" >>confdefs.h
47764 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
47766 $as_echo "#define HAVE_TANF 1" >>confdefs.h
47768 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
47770 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
47772 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
47774 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
47776 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
47778 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47780 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
47782 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
47784 $as_echo "#define HAVE_MODF 1" >>confdefs.h
47786 $as_echo "#define HAVE_POWF 1" >>confdefs.h
47788 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
47791 # GLIBCXX_CHECK_STDLIB_SUPPORT
47792 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
47797 # Check whether --enable-tls was given.
47798 if test "${enable_tls+set}" = set; then :
47799 enableval=$enable_tls;
47800 case "$enableval" in
47801 yes|no) ;;
47802 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
47803 esac
47805 else
47806 enable_tls=yes
47810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
47811 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
47812 if ${gcc_cv_have_tls+:} false; then :
47813 $as_echo_n "(cached) " >&6
47814 else
47816 if test "$cross_compiling" = yes; then :
47817 if test x$gcc_no_link = xyes; then
47818 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47821 /* end confdefs.h. */
47822 __thread int a; int b; int main() { return a = b; }
47823 _ACEOF
47824 if ac_fn_c_try_link "$LINENO"; then :
47825 chktls_save_LDFLAGS="$LDFLAGS"
47826 case $host in
47827 *-*-linux*)
47828 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
47830 esac
47831 chktls_save_CFLAGS="$CFLAGS"
47832 CFLAGS="-fPIC $CFLAGS"
47833 if test x$gcc_no_link = xyes; then
47834 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47837 /* end confdefs.h. */
47838 int f() { return 0; }
47839 _ACEOF
47840 if ac_fn_c_try_link "$LINENO"; then :
47841 if test x$gcc_no_link = xyes; then
47842 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47845 /* end confdefs.h. */
47846 __thread int a; int b; int f() { return a = b; }
47847 _ACEOF
47848 if ac_fn_c_try_link "$LINENO"; then :
47849 gcc_cv_have_tls=yes
47850 else
47851 gcc_cv_have_tls=no
47853 rm -f core conftest.err conftest.$ac_objext \
47854 conftest$ac_exeext conftest.$ac_ext
47855 else
47856 gcc_cv_have_tls=yes
47858 rm -f core conftest.err conftest.$ac_objext \
47859 conftest$ac_exeext conftest.$ac_ext
47860 CFLAGS="$chktls_save_CFLAGS"
47861 LDFLAGS="$chktls_save_LDFLAGS"
47862 else
47863 gcc_cv_have_tls=no
47865 rm -f core conftest.err conftest.$ac_objext \
47866 conftest$ac_exeext conftest.$ac_ext
47869 else
47870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47871 /* end confdefs.h. */
47872 __thread int a; int b; int main() { return a = b; }
47873 _ACEOF
47874 if ac_fn_c_try_run "$LINENO"; then :
47875 chktls_save_LDFLAGS="$LDFLAGS"
47876 LDFLAGS="-static $LDFLAGS"
47877 if test x$gcc_no_link = xyes; then
47878 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47881 /* end confdefs.h. */
47882 int main() { return 0; }
47883 _ACEOF
47884 if ac_fn_c_try_link "$LINENO"; then :
47885 if test "$cross_compiling" = yes; then :
47886 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
47887 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
47888 as_fn_error $? "cannot run test program while cross compiling
47889 See \`config.log' for more details" "$LINENO" 5; }
47890 else
47891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47892 /* end confdefs.h. */
47893 __thread int a; int b; int main() { return a = b; }
47894 _ACEOF
47895 if ac_fn_c_try_run "$LINENO"; then :
47896 gcc_cv_have_tls=yes
47897 else
47898 gcc_cv_have_tls=no
47900 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47901 conftest.$ac_objext conftest.beam conftest.$ac_ext
47904 else
47905 gcc_cv_have_tls=yes
47907 rm -f core conftest.err conftest.$ac_objext \
47908 conftest$ac_exeext conftest.$ac_ext
47909 LDFLAGS="$chktls_save_LDFLAGS"
47910 if test $gcc_cv_have_tls = yes; then
47911 chktls_save_CFLAGS="$CFLAGS"
47912 thread_CFLAGS=failed
47913 for flag in '' '-pthread' '-lpthread'; do
47914 CFLAGS="$flag $chktls_save_CFLAGS"
47915 if test x$gcc_no_link = xyes; then
47916 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47919 /* end confdefs.h. */
47920 #include <pthread.h>
47921 void *g(void *d) { return NULL; }
47923 main ()
47925 pthread_t t; pthread_create(&t,NULL,g,NULL);
47927 return 0;
47929 _ACEOF
47930 if ac_fn_c_try_link "$LINENO"; then :
47931 thread_CFLAGS="$flag"
47933 rm -f core conftest.err conftest.$ac_objext \
47934 conftest$ac_exeext conftest.$ac_ext
47935 if test "X$thread_CFLAGS" != Xfailed; then
47936 break
47938 done
47939 CFLAGS="$chktls_save_CFLAGS"
47940 if test "X$thread_CFLAGS" != Xfailed; then
47941 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
47942 if test "$cross_compiling" = yes; then :
47943 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
47944 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
47945 as_fn_error $? "cannot run test program while cross compiling
47946 See \`config.log' for more details" "$LINENO" 5; }
47947 else
47948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47949 /* end confdefs.h. */
47950 #include <pthread.h>
47951 __thread int a;
47952 static int *volatile a_in_other_thread;
47953 static void *
47954 thread_func (void *arg)
47956 a_in_other_thread = &a;
47957 return (void *)0;
47960 main ()
47962 pthread_t thread;
47963 void *thread_retval;
47964 int *volatile a_in_main_thread;
47965 a_in_main_thread = &a;
47966 if (pthread_create (&thread, (pthread_attr_t *)0,
47967 thread_func, (void *)0))
47968 return 0;
47969 if (pthread_join (thread, &thread_retval))
47970 return 0;
47971 return (a_in_other_thread == a_in_main_thread);
47973 return 0;
47975 _ACEOF
47976 if ac_fn_c_try_run "$LINENO"; then :
47977 gcc_cv_have_tls=yes
47978 else
47979 gcc_cv_have_tls=no
47981 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47982 conftest.$ac_objext conftest.beam conftest.$ac_ext
47985 CFLAGS="$chktls_save_CFLAGS"
47988 else
47989 gcc_cv_have_tls=no
47991 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47992 conftest.$ac_objext conftest.beam conftest.$ac_ext
47996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
47997 $as_echo "$gcc_cv_have_tls" >&6; }
47998 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
48000 $as_echo "#define HAVE_TLS 1" >>confdefs.h
48003 case "$target" in
48004 *-hpux10*)
48005 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
48007 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
48009 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
48011 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
48013 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
48016 esac
48018 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
48020 # All these tests are for C++; save the language and the compiler flags.
48021 # The CXXFLAGS thing is suspicious, but based on similar bits previously
48022 # found in GLIBCXX_CONFIGURE.
48024 ac_ext=cpp
48025 ac_cpp='$CXXCPP $CPPFLAGS'
48026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48030 ac_test_CXXFLAGS="${CXXFLAGS+set}"
48031 ac_save_CXXFLAGS="$CXXFLAGS"
48033 # Check for -ffunction-sections -fdata-sections
48034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
48035 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
48036 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
48037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48038 /* end confdefs.h. */
48039 int foo; void bar() { };
48041 main ()
48045 return 0;
48047 _ACEOF
48048 if ac_fn_cxx_try_compile "$LINENO"; then :
48049 ac_fdsections=yes
48050 else
48051 ac_fdsections=no
48053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48054 if test "$ac_test_CXXFLAGS" = set; then
48055 CXXFLAGS="$ac_save_CXXFLAGS"
48056 else
48057 # this is the suspicious part
48058 CXXFLAGS=''
48060 if test x"$ac_fdsections" = x"yes"; then
48061 SECTION_FLAGS='-ffunction-sections -fdata-sections'
48063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
48064 $as_echo "$ac_fdsections" >&6; }
48066 ac_ext=c
48067 ac_cpp='$CPP $CPPFLAGS'
48068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48075 # If we're not using GNU ld, then there's no point in even trying these
48076 # tests. Check for that first. We should have already tested for gld
48077 # by now (in libtool), but require it now just to be safe...
48078 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
48079 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
48083 # The name set by libtool depends on the version of libtool. Shame on us
48084 # for depending on an impl detail, but c'est la vie. Older versions used
48085 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
48086 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
48087 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
48088 # set (hence we're using an older libtool), then set it.
48089 if test x${with_gnu_ld+set} != xset; then
48090 if test x${ac_cv_prog_gnu_ld+set} != xset; then
48091 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
48092 with_gnu_ld=no
48093 else
48094 with_gnu_ld=$ac_cv_prog_gnu_ld
48098 # Start by getting the version number. I think the libtool test already
48099 # does some of this, but throws away the result.
48100 glibcxx_ld_is_gold=no
48101 if test x"$with_gnu_ld" = x"yes"; then
48102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
48103 $as_echo_n "checking for ld version... " >&6; }
48105 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
48106 glibcxx_ld_is_gold=yes
48108 ldver=`$LD --version 2>/dev/null |
48109 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
48111 glibcxx_gnu_ld_version=`echo $ldver | \
48112 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
48113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
48114 $as_echo "$glibcxx_gnu_ld_version" >&6; }
48117 # Set --gc-sections.
48118 glibcxx_have_gc_sections=no
48119 if test "$glibcxx_ld_is_gold" = "yes"; then
48120 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
48121 glibcxx_have_gc_sections=yes
48123 else
48124 glibcxx_gcsections_min_ld=21602
48125 if test x"$with_gnu_ld" = x"yes" &&
48126 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
48127 glibcxx_have_gc_sections=yes
48130 if test "$glibcxx_have_gc_sections" = "yes"; then
48131 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
48132 # NB: This flag only works reliably after 2.16.1. Configure tests
48133 # for this are difficult, so hard wire a value that should work.
48135 ac_test_CFLAGS="${CFLAGS+set}"
48136 ac_save_CFLAGS="$CFLAGS"
48137 CFLAGS='-Wl,--gc-sections'
48139 # Check for -Wl,--gc-sections
48140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
48141 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
48142 if test x$gcc_no_link = xyes; then
48143 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48146 /* end confdefs.h. */
48147 int one(void) { return 1; }
48148 int two(void) { return 2; }
48151 main ()
48153 two();
48155 return 0;
48157 _ACEOF
48158 if ac_fn_c_try_link "$LINENO"; then :
48159 ac_gcsections=yes
48160 else
48161 ac_gcsections=no
48163 rm -f core conftest.err conftest.$ac_objext \
48164 conftest$ac_exeext conftest.$ac_ext
48165 if test "$ac_gcsections" = "yes"; then
48166 rm -f conftest.c
48167 touch conftest.c
48168 if $CC -c conftest.c; then
48169 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
48170 grep "Warning: gc-sections option ignored" > /dev/null; then
48171 ac_gcsections=no
48174 rm -f conftest.c conftest.o conftest
48176 if test "$ac_gcsections" = "yes"; then
48177 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
48179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
48180 $as_echo "$ac_gcsections" >&6; }
48182 if test "$ac_test_CFLAGS" = set; then
48183 CFLAGS="$ac_save_CFLAGS"
48184 else
48185 # this is the suspicious part
48186 CFLAGS=''
48190 # Set -z,relro.
48191 # Note this is only for shared objects.
48192 ac_ld_relro=no
48193 if test x"$with_gnu_ld" = x"yes"; then
48194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
48195 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
48196 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
48197 if test -n "$cxx_z_relo"; then
48198 OPT_LDFLAGS="-Wl,-z,relro"
48199 ac_ld_relro=yes
48201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
48202 $as_echo "$ac_ld_relro" >&6; }
48205 # Set linker optimization flags.
48206 if test x"$with_gnu_ld" = x"yes"; then
48207 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
48214 ac_test_CXXFLAGS="${CXXFLAGS+set}"
48215 ac_save_CXXFLAGS="$CXXFLAGS"
48216 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
48218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
48219 $as_echo_n "checking for sin in -lm... " >&6; }
48220 if ${ac_cv_lib_m_sin+:} false; then :
48221 $as_echo_n "(cached) " >&6
48222 else
48223 ac_check_lib_save_LIBS=$LIBS
48224 LIBS="-lm $LIBS"
48225 if test x$gcc_no_link = xyes; then
48226 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48229 /* end confdefs.h. */
48231 /* Override any GCC internal prototype to avoid an error.
48232 Use char because int might match the return type of a GCC
48233 builtin and then its argument prototype would still apply. */
48234 #ifdef __cplusplus
48235 extern "C"
48236 #endif
48237 char sin ();
48239 main ()
48241 return sin ();
48243 return 0;
48245 _ACEOF
48246 if ac_fn_c_try_link "$LINENO"; then :
48247 ac_cv_lib_m_sin=yes
48248 else
48249 ac_cv_lib_m_sin=no
48251 rm -f core conftest.err conftest.$ac_objext \
48252 conftest$ac_exeext conftest.$ac_ext
48253 LIBS=$ac_check_lib_save_LIBS
48255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
48256 $as_echo "$ac_cv_lib_m_sin" >&6; }
48257 if test "x$ac_cv_lib_m_sin" = xyes; then :
48258 libm="-lm"
48261 ac_save_LIBS="$LIBS"
48262 LIBS="$LIBS $libm"
48266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
48267 $as_echo_n "checking for isinf declaration... " >&6; }
48268 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
48269 if ${glibcxx_cv_func_isinf_use+:} false; then :
48270 $as_echo_n "(cached) " >&6
48271 else
48274 ac_ext=cpp
48275 ac_cpp='$CXXCPP $CPPFLAGS'
48276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48281 /* end confdefs.h. */
48282 #include <math.h>
48283 #ifdef HAVE_IEEEFP_H
48284 #include <ieeefp.h>
48285 #endif
48288 main ()
48290 isinf(0);
48292 return 0;
48294 _ACEOF
48295 if ac_fn_cxx_try_compile "$LINENO"; then :
48296 glibcxx_cv_func_isinf_use=yes
48297 else
48298 glibcxx_cv_func_isinf_use=no
48300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48301 ac_ext=c
48302 ac_cpp='$CPP $CPPFLAGS'
48303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
48312 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
48314 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
48315 for ac_func in isinf
48316 do :
48317 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
48318 if test "x$ac_cv_func_isinf" = xyes; then :
48319 cat >>confdefs.h <<_ACEOF
48320 #define HAVE_ISINF 1
48321 _ACEOF
48324 done
48326 else
48328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
48329 $as_echo_n "checking for _isinf declaration... " >&6; }
48330 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
48331 if ${glibcxx_cv_func__isinf_use+:} false; then :
48332 $as_echo_n "(cached) " >&6
48333 else
48336 ac_ext=cpp
48337 ac_cpp='$CXXCPP $CPPFLAGS'
48338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48343 /* end confdefs.h. */
48344 #include <math.h>
48345 #ifdef HAVE_IEEEFP_H
48346 #include <ieeefp.h>
48347 #endif
48350 main ()
48352 _isinf(0);
48354 return 0;
48356 _ACEOF
48357 if ac_fn_cxx_try_compile "$LINENO"; then :
48358 glibcxx_cv_func__isinf_use=yes
48359 else
48360 glibcxx_cv_func__isinf_use=no
48362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48363 ac_ext=c
48364 ac_cpp='$CPP $CPPFLAGS'
48365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
48374 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
48376 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
48377 for ac_func in _isinf
48378 do :
48379 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
48380 if test "x$ac_cv_func__isinf" = xyes; then :
48381 cat >>confdefs.h <<_ACEOF
48382 #define HAVE__ISINF 1
48383 _ACEOF
48386 done
48395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
48396 $as_echo_n "checking for isnan declaration... " >&6; }
48397 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
48398 if ${glibcxx_cv_func_isnan_use+:} false; then :
48399 $as_echo_n "(cached) " >&6
48400 else
48403 ac_ext=cpp
48404 ac_cpp='$CXXCPP $CPPFLAGS'
48405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48410 /* end confdefs.h. */
48411 #include <math.h>
48412 #ifdef HAVE_IEEEFP_H
48413 #include <ieeefp.h>
48414 #endif
48417 main ()
48419 isnan(0);
48421 return 0;
48423 _ACEOF
48424 if ac_fn_cxx_try_compile "$LINENO"; then :
48425 glibcxx_cv_func_isnan_use=yes
48426 else
48427 glibcxx_cv_func_isnan_use=no
48429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48430 ac_ext=c
48431 ac_cpp='$CPP $CPPFLAGS'
48432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
48441 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
48443 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
48444 for ac_func in isnan
48445 do :
48446 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
48447 if test "x$ac_cv_func_isnan" = xyes; then :
48448 cat >>confdefs.h <<_ACEOF
48449 #define HAVE_ISNAN 1
48450 _ACEOF
48453 done
48455 else
48457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
48458 $as_echo_n "checking for _isnan declaration... " >&6; }
48459 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
48460 if ${glibcxx_cv_func__isnan_use+:} false; then :
48461 $as_echo_n "(cached) " >&6
48462 else
48465 ac_ext=cpp
48466 ac_cpp='$CXXCPP $CPPFLAGS'
48467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48472 /* end confdefs.h. */
48473 #include <math.h>
48474 #ifdef HAVE_IEEEFP_H
48475 #include <ieeefp.h>
48476 #endif
48479 main ()
48481 _isnan(0);
48483 return 0;
48485 _ACEOF
48486 if ac_fn_cxx_try_compile "$LINENO"; then :
48487 glibcxx_cv_func__isnan_use=yes
48488 else
48489 glibcxx_cv_func__isnan_use=no
48491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48492 ac_ext=c
48493 ac_cpp='$CPP $CPPFLAGS'
48494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
48503 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
48505 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
48506 for ac_func in _isnan
48507 do :
48508 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
48509 if test "x$ac_cv_func__isnan" = xyes; then :
48510 cat >>confdefs.h <<_ACEOF
48511 #define HAVE__ISNAN 1
48512 _ACEOF
48515 done
48524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
48525 $as_echo_n "checking for finite declaration... " >&6; }
48526 if test x${glibcxx_cv_func_finite_use+set} != xset; then
48527 if ${glibcxx_cv_func_finite_use+:} false; then :
48528 $as_echo_n "(cached) " >&6
48529 else
48532 ac_ext=cpp
48533 ac_cpp='$CXXCPP $CPPFLAGS'
48534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48539 /* end confdefs.h. */
48540 #include <math.h>
48541 #ifdef HAVE_IEEEFP_H
48542 #include <ieeefp.h>
48543 #endif
48546 main ()
48548 finite(0);
48550 return 0;
48552 _ACEOF
48553 if ac_fn_cxx_try_compile "$LINENO"; then :
48554 glibcxx_cv_func_finite_use=yes
48555 else
48556 glibcxx_cv_func_finite_use=no
48558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48559 ac_ext=c
48560 ac_cpp='$CPP $CPPFLAGS'
48561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
48570 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
48572 if test x$glibcxx_cv_func_finite_use = x"yes"; then
48573 for ac_func in finite
48574 do :
48575 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
48576 if test "x$ac_cv_func_finite" = xyes; then :
48577 cat >>confdefs.h <<_ACEOF
48578 #define HAVE_FINITE 1
48579 _ACEOF
48582 done
48584 else
48586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
48587 $as_echo_n "checking for _finite declaration... " >&6; }
48588 if test x${glibcxx_cv_func__finite_use+set} != xset; then
48589 if ${glibcxx_cv_func__finite_use+:} false; then :
48590 $as_echo_n "(cached) " >&6
48591 else
48594 ac_ext=cpp
48595 ac_cpp='$CXXCPP $CPPFLAGS'
48596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48601 /* end confdefs.h. */
48602 #include <math.h>
48603 #ifdef HAVE_IEEEFP_H
48604 #include <ieeefp.h>
48605 #endif
48608 main ()
48610 _finite(0);
48612 return 0;
48614 _ACEOF
48615 if ac_fn_cxx_try_compile "$LINENO"; then :
48616 glibcxx_cv_func__finite_use=yes
48617 else
48618 glibcxx_cv_func__finite_use=no
48620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48621 ac_ext=c
48622 ac_cpp='$CPP $CPPFLAGS'
48623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
48632 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
48634 if test x$glibcxx_cv_func__finite_use = x"yes"; then
48635 for ac_func in _finite
48636 do :
48637 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
48638 if test "x$ac_cv_func__finite" = xyes; then :
48639 cat >>confdefs.h <<_ACEOF
48640 #define HAVE__FINITE 1
48641 _ACEOF
48644 done
48653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
48654 $as_echo_n "checking for sincos declaration... " >&6; }
48655 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
48656 if ${glibcxx_cv_func_sincos_use+:} false; then :
48657 $as_echo_n "(cached) " >&6
48658 else
48661 ac_ext=cpp
48662 ac_cpp='$CXXCPP $CPPFLAGS'
48663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48668 /* end confdefs.h. */
48669 #include <math.h>
48671 main ()
48673 sincos(0, 0, 0);
48675 return 0;
48677 _ACEOF
48678 if ac_fn_cxx_try_compile "$LINENO"; then :
48679 glibcxx_cv_func_sincos_use=yes
48680 else
48681 glibcxx_cv_func_sincos_use=no
48683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48684 ac_ext=c
48685 ac_cpp='$CPP $CPPFLAGS'
48686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
48695 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
48697 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
48698 for ac_func in sincos
48699 do :
48700 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
48701 if test "x$ac_cv_func_sincos" = xyes; then :
48702 cat >>confdefs.h <<_ACEOF
48703 #define HAVE_SINCOS 1
48704 _ACEOF
48707 done
48709 else
48711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
48712 $as_echo_n "checking for _sincos declaration... " >&6; }
48713 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
48714 if ${glibcxx_cv_func__sincos_use+:} false; then :
48715 $as_echo_n "(cached) " >&6
48716 else
48719 ac_ext=cpp
48720 ac_cpp='$CXXCPP $CPPFLAGS'
48721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48726 /* end confdefs.h. */
48727 #include <math.h>
48729 main ()
48731 _sincos(0, 0, 0);
48733 return 0;
48735 _ACEOF
48736 if ac_fn_cxx_try_compile "$LINENO"; then :
48737 glibcxx_cv_func__sincos_use=yes
48738 else
48739 glibcxx_cv_func__sincos_use=no
48741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48742 ac_ext=c
48743 ac_cpp='$CPP $CPPFLAGS'
48744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
48753 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
48755 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
48756 for ac_func in _sincos
48757 do :
48758 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
48759 if test "x$ac_cv_func__sincos" = xyes; then :
48760 cat >>confdefs.h <<_ACEOF
48761 #define HAVE__SINCOS 1
48762 _ACEOF
48765 done
48774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
48775 $as_echo_n "checking for fpclass declaration... " >&6; }
48776 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
48777 if ${glibcxx_cv_func_fpclass_use+:} false; then :
48778 $as_echo_n "(cached) " >&6
48779 else
48782 ac_ext=cpp
48783 ac_cpp='$CXXCPP $CPPFLAGS'
48784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48789 /* end confdefs.h. */
48790 #include <math.h>
48791 #ifdef HAVE_IEEEFP_H
48792 #include <ieeefp.h>
48793 #endif
48796 main ()
48798 fpclass(0);
48800 return 0;
48802 _ACEOF
48803 if ac_fn_cxx_try_compile "$LINENO"; then :
48804 glibcxx_cv_func_fpclass_use=yes
48805 else
48806 glibcxx_cv_func_fpclass_use=no
48808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48809 ac_ext=c
48810 ac_cpp='$CPP $CPPFLAGS'
48811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
48820 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
48822 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
48823 for ac_func in fpclass
48824 do :
48825 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
48826 if test "x$ac_cv_func_fpclass" = xyes; then :
48827 cat >>confdefs.h <<_ACEOF
48828 #define HAVE_FPCLASS 1
48829 _ACEOF
48832 done
48834 else
48836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
48837 $as_echo_n "checking for _fpclass declaration... " >&6; }
48838 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
48839 if ${glibcxx_cv_func__fpclass_use+:} false; then :
48840 $as_echo_n "(cached) " >&6
48841 else
48844 ac_ext=cpp
48845 ac_cpp='$CXXCPP $CPPFLAGS'
48846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48851 /* end confdefs.h. */
48852 #include <math.h>
48853 #ifdef HAVE_IEEEFP_H
48854 #include <ieeefp.h>
48855 #endif
48858 main ()
48860 _fpclass(0);
48862 return 0;
48864 _ACEOF
48865 if ac_fn_cxx_try_compile "$LINENO"; then :
48866 glibcxx_cv_func__fpclass_use=yes
48867 else
48868 glibcxx_cv_func__fpclass_use=no
48870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48871 ac_ext=c
48872 ac_cpp='$CPP $CPPFLAGS'
48873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
48882 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
48884 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
48885 for ac_func in _fpclass
48886 do :
48887 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
48888 if test "x$ac_cv_func__fpclass" = xyes; then :
48889 cat >>confdefs.h <<_ACEOF
48890 #define HAVE__FPCLASS 1
48891 _ACEOF
48894 done
48903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
48904 $as_echo_n "checking for qfpclass declaration... " >&6; }
48905 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
48906 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
48907 $as_echo_n "(cached) " >&6
48908 else
48911 ac_ext=cpp
48912 ac_cpp='$CXXCPP $CPPFLAGS'
48913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48918 /* end confdefs.h. */
48919 #include <math.h>
48920 #ifdef HAVE_IEEEFP_H
48921 #include <ieeefp.h>
48922 #endif
48925 main ()
48927 qfpclass(0);
48929 return 0;
48931 _ACEOF
48932 if ac_fn_cxx_try_compile "$LINENO"; then :
48933 glibcxx_cv_func_qfpclass_use=yes
48934 else
48935 glibcxx_cv_func_qfpclass_use=no
48937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48938 ac_ext=c
48939 ac_cpp='$CPP $CPPFLAGS'
48940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
48949 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
48951 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
48952 for ac_func in qfpclass
48953 do :
48954 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
48955 if test "x$ac_cv_func_qfpclass" = xyes; then :
48956 cat >>confdefs.h <<_ACEOF
48957 #define HAVE_QFPCLASS 1
48958 _ACEOF
48961 done
48963 else
48965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
48966 $as_echo_n "checking for _qfpclass declaration... " >&6; }
48967 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
48968 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
48969 $as_echo_n "(cached) " >&6
48970 else
48973 ac_ext=cpp
48974 ac_cpp='$CXXCPP $CPPFLAGS'
48975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48980 /* end confdefs.h. */
48981 #include <math.h>
48982 #ifdef HAVE_IEEEFP_H
48983 #include <ieeefp.h>
48984 #endif
48987 main ()
48989 _qfpclass(0);
48991 return 0;
48993 _ACEOF
48994 if ac_fn_cxx_try_compile "$LINENO"; then :
48995 glibcxx_cv_func__qfpclass_use=yes
48996 else
48997 glibcxx_cv_func__qfpclass_use=no
48999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49000 ac_ext=c
49001 ac_cpp='$CPP $CPPFLAGS'
49002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
49011 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
49013 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
49014 for ac_func in _qfpclass
49015 do :
49016 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
49017 if test "x$ac_cv_func__qfpclass" = xyes; then :
49018 cat >>confdefs.h <<_ACEOF
49019 #define HAVE__QFPCLASS 1
49020 _ACEOF
49023 done
49032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
49033 $as_echo_n "checking for hypot declaration... " >&6; }
49034 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
49035 if ${glibcxx_cv_func_hypot_use+:} false; then :
49036 $as_echo_n "(cached) " >&6
49037 else
49040 ac_ext=cpp
49041 ac_cpp='$CXXCPP $CPPFLAGS'
49042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49047 /* end confdefs.h. */
49048 #include <math.h>
49050 main ()
49052 hypot(0, 0);
49054 return 0;
49056 _ACEOF
49057 if ac_fn_cxx_try_compile "$LINENO"; then :
49058 glibcxx_cv_func_hypot_use=yes
49059 else
49060 glibcxx_cv_func_hypot_use=no
49062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49063 ac_ext=c
49064 ac_cpp='$CPP $CPPFLAGS'
49065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
49074 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
49076 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
49077 for ac_func in hypot
49078 do :
49079 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
49080 if test "x$ac_cv_func_hypot" = xyes; then :
49081 cat >>confdefs.h <<_ACEOF
49082 #define HAVE_HYPOT 1
49083 _ACEOF
49086 done
49088 else
49090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
49091 $as_echo_n "checking for _hypot declaration... " >&6; }
49092 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
49093 if ${glibcxx_cv_func__hypot_use+:} false; then :
49094 $as_echo_n "(cached) " >&6
49095 else
49098 ac_ext=cpp
49099 ac_cpp='$CXXCPP $CPPFLAGS'
49100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49105 /* end confdefs.h. */
49106 #include <math.h>
49108 main ()
49110 _hypot(0, 0);
49112 return 0;
49114 _ACEOF
49115 if ac_fn_cxx_try_compile "$LINENO"; then :
49116 glibcxx_cv_func__hypot_use=yes
49117 else
49118 glibcxx_cv_func__hypot_use=no
49120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49121 ac_ext=c
49122 ac_cpp='$CPP $CPPFLAGS'
49123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
49132 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
49134 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
49135 for ac_func in _hypot
49136 do :
49137 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
49138 if test "x$ac_cv_func__hypot" = xyes; then :
49139 cat >>confdefs.h <<_ACEOF
49140 #define HAVE__HYPOT 1
49141 _ACEOF
49144 done
49153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
49154 $as_echo_n "checking for float trig functions... " >&6; }
49155 if ${glibcxx_cv_func_float_trig_use+:} false; then :
49156 $as_echo_n "(cached) " >&6
49157 else
49160 ac_ext=cpp
49161 ac_cpp='$CXXCPP $CPPFLAGS'
49162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49167 /* end confdefs.h. */
49168 #include <math.h>
49170 main ()
49172 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
49174 return 0;
49176 _ACEOF
49177 if ac_fn_cxx_try_compile "$LINENO"; then :
49178 glibcxx_cv_func_float_trig_use=yes
49179 else
49180 glibcxx_cv_func_float_trig_use=no
49182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49183 ac_ext=c
49184 ac_cpp='$CPP $CPPFLAGS'
49185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
49192 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
49193 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
49194 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
49195 do :
49196 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49197 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49198 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49199 cat >>confdefs.h <<_ACEOF
49200 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49201 _ACEOF
49204 done
49206 else
49207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
49208 $as_echo_n "checking for _float trig functions... " >&6; }
49209 if ${glibcxx_cv_func__float_trig_use+:} false; then :
49210 $as_echo_n "(cached) " >&6
49211 else
49214 ac_ext=cpp
49215 ac_cpp='$CXXCPP $CPPFLAGS'
49216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49221 /* end confdefs.h. */
49222 #include <math.h>
49224 main ()
49226 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
49228 return 0;
49230 _ACEOF
49231 if ac_fn_cxx_try_compile "$LINENO"; then :
49232 glibcxx_cv_func__float_trig_use=yes
49233 else
49234 glibcxx_cv_func__float_trig_use=no
49236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49237 ac_ext=c
49238 ac_cpp='$CPP $CPPFLAGS'
49239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
49246 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
49247 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
49248 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
49249 do :
49250 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49251 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49252 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49253 cat >>confdefs.h <<_ACEOF
49254 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49255 _ACEOF
49258 done
49267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
49268 $as_echo_n "checking for float round functions... " >&6; }
49269 if ${glibcxx_cv_func_float_round_use+:} false; then :
49270 $as_echo_n "(cached) " >&6
49271 else
49274 ac_ext=cpp
49275 ac_cpp='$CXXCPP $CPPFLAGS'
49276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49281 /* end confdefs.h. */
49282 #include <math.h>
49284 main ()
49286 ceilf (0); floorf (0);
49288 return 0;
49290 _ACEOF
49291 if ac_fn_cxx_try_compile "$LINENO"; then :
49292 glibcxx_cv_func_float_round_use=yes
49293 else
49294 glibcxx_cv_func_float_round_use=no
49296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49297 ac_ext=c
49298 ac_cpp='$CPP $CPPFLAGS'
49299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
49306 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
49307 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
49308 for ac_func in ceilf floorf
49309 do :
49310 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49311 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49312 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49313 cat >>confdefs.h <<_ACEOF
49314 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49315 _ACEOF
49318 done
49320 else
49321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
49322 $as_echo_n "checking for _float round functions... " >&6; }
49323 if ${glibcxx_cv_func__float_round_use+:} false; then :
49324 $as_echo_n "(cached) " >&6
49325 else
49328 ac_ext=cpp
49329 ac_cpp='$CXXCPP $CPPFLAGS'
49330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49335 /* end confdefs.h. */
49336 #include <math.h>
49338 main ()
49340 _ceilf (0); _floorf (0);
49342 return 0;
49344 _ACEOF
49345 if ac_fn_cxx_try_compile "$LINENO"; then :
49346 glibcxx_cv_func__float_round_use=yes
49347 else
49348 glibcxx_cv_func__float_round_use=no
49350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49351 ac_ext=c
49352 ac_cpp='$CPP $CPPFLAGS'
49353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
49360 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
49361 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
49362 for ac_func in _ceilf _floorf
49363 do :
49364 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49365 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49366 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49367 cat >>confdefs.h <<_ACEOF
49368 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49369 _ACEOF
49372 done
49382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
49383 $as_echo_n "checking for expf declaration... " >&6; }
49384 if test x${glibcxx_cv_func_expf_use+set} != xset; then
49385 if ${glibcxx_cv_func_expf_use+:} false; then :
49386 $as_echo_n "(cached) " >&6
49387 else
49390 ac_ext=cpp
49391 ac_cpp='$CXXCPP $CPPFLAGS'
49392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49397 /* end confdefs.h. */
49398 #include <math.h>
49399 #ifdef HAVE_IEEEFP_H
49400 #include <ieeefp.h>
49401 #endif
49404 main ()
49406 expf(0);
49408 return 0;
49410 _ACEOF
49411 if ac_fn_cxx_try_compile "$LINENO"; then :
49412 glibcxx_cv_func_expf_use=yes
49413 else
49414 glibcxx_cv_func_expf_use=no
49416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49417 ac_ext=c
49418 ac_cpp='$CPP $CPPFLAGS'
49419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
49428 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
49430 if test x$glibcxx_cv_func_expf_use = x"yes"; then
49431 for ac_func in expf
49432 do :
49433 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
49434 if test "x$ac_cv_func_expf" = xyes; then :
49435 cat >>confdefs.h <<_ACEOF
49436 #define HAVE_EXPF 1
49437 _ACEOF
49440 done
49442 else
49444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
49445 $as_echo_n "checking for _expf declaration... " >&6; }
49446 if test x${glibcxx_cv_func__expf_use+set} != xset; then
49447 if ${glibcxx_cv_func__expf_use+:} false; then :
49448 $as_echo_n "(cached) " >&6
49449 else
49452 ac_ext=cpp
49453 ac_cpp='$CXXCPP $CPPFLAGS'
49454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49459 /* end confdefs.h. */
49460 #include <math.h>
49461 #ifdef HAVE_IEEEFP_H
49462 #include <ieeefp.h>
49463 #endif
49466 main ()
49468 _expf(0);
49470 return 0;
49472 _ACEOF
49473 if ac_fn_cxx_try_compile "$LINENO"; then :
49474 glibcxx_cv_func__expf_use=yes
49475 else
49476 glibcxx_cv_func__expf_use=no
49478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49479 ac_ext=c
49480 ac_cpp='$CPP $CPPFLAGS'
49481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
49490 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
49492 if test x$glibcxx_cv_func__expf_use = x"yes"; then
49493 for ac_func in _expf
49494 do :
49495 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
49496 if test "x$ac_cv_func__expf" = xyes; then :
49497 cat >>confdefs.h <<_ACEOF
49498 #define HAVE__EXPF 1
49499 _ACEOF
49502 done
49511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
49512 $as_echo_n "checking for isnanf declaration... " >&6; }
49513 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
49514 if ${glibcxx_cv_func_isnanf_use+:} false; then :
49515 $as_echo_n "(cached) " >&6
49516 else
49519 ac_ext=cpp
49520 ac_cpp='$CXXCPP $CPPFLAGS'
49521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49526 /* end confdefs.h. */
49527 #include <math.h>
49528 #ifdef HAVE_IEEEFP_H
49529 #include <ieeefp.h>
49530 #endif
49533 main ()
49535 isnanf(0);
49537 return 0;
49539 _ACEOF
49540 if ac_fn_cxx_try_compile "$LINENO"; then :
49541 glibcxx_cv_func_isnanf_use=yes
49542 else
49543 glibcxx_cv_func_isnanf_use=no
49545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49546 ac_ext=c
49547 ac_cpp='$CPP $CPPFLAGS'
49548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
49557 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
49559 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
49560 for ac_func in isnanf
49561 do :
49562 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
49563 if test "x$ac_cv_func_isnanf" = xyes; then :
49564 cat >>confdefs.h <<_ACEOF
49565 #define HAVE_ISNANF 1
49566 _ACEOF
49569 done
49571 else
49573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
49574 $as_echo_n "checking for _isnanf declaration... " >&6; }
49575 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
49576 if ${glibcxx_cv_func__isnanf_use+:} false; then :
49577 $as_echo_n "(cached) " >&6
49578 else
49581 ac_ext=cpp
49582 ac_cpp='$CXXCPP $CPPFLAGS'
49583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49588 /* end confdefs.h. */
49589 #include <math.h>
49590 #ifdef HAVE_IEEEFP_H
49591 #include <ieeefp.h>
49592 #endif
49595 main ()
49597 _isnanf(0);
49599 return 0;
49601 _ACEOF
49602 if ac_fn_cxx_try_compile "$LINENO"; then :
49603 glibcxx_cv_func__isnanf_use=yes
49604 else
49605 glibcxx_cv_func__isnanf_use=no
49607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49608 ac_ext=c
49609 ac_cpp='$CPP $CPPFLAGS'
49610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
49619 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
49621 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
49622 for ac_func in _isnanf
49623 do :
49624 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
49625 if test "x$ac_cv_func__isnanf" = xyes; then :
49626 cat >>confdefs.h <<_ACEOF
49627 #define HAVE__ISNANF 1
49628 _ACEOF
49631 done
49640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
49641 $as_echo_n "checking for isinff declaration... " >&6; }
49642 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
49643 if ${glibcxx_cv_func_isinff_use+:} false; then :
49644 $as_echo_n "(cached) " >&6
49645 else
49648 ac_ext=cpp
49649 ac_cpp='$CXXCPP $CPPFLAGS'
49650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49655 /* end confdefs.h. */
49656 #include <math.h>
49657 #ifdef HAVE_IEEEFP_H
49658 #include <ieeefp.h>
49659 #endif
49662 main ()
49664 isinff(0);
49666 return 0;
49668 _ACEOF
49669 if ac_fn_cxx_try_compile "$LINENO"; then :
49670 glibcxx_cv_func_isinff_use=yes
49671 else
49672 glibcxx_cv_func_isinff_use=no
49674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49675 ac_ext=c
49676 ac_cpp='$CPP $CPPFLAGS'
49677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
49686 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
49688 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
49689 for ac_func in isinff
49690 do :
49691 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
49692 if test "x$ac_cv_func_isinff" = xyes; then :
49693 cat >>confdefs.h <<_ACEOF
49694 #define HAVE_ISINFF 1
49695 _ACEOF
49698 done
49700 else
49702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
49703 $as_echo_n "checking for _isinff declaration... " >&6; }
49704 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
49705 if ${glibcxx_cv_func__isinff_use+:} false; then :
49706 $as_echo_n "(cached) " >&6
49707 else
49710 ac_ext=cpp
49711 ac_cpp='$CXXCPP $CPPFLAGS'
49712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49717 /* end confdefs.h. */
49718 #include <math.h>
49719 #ifdef HAVE_IEEEFP_H
49720 #include <ieeefp.h>
49721 #endif
49724 main ()
49726 _isinff(0);
49728 return 0;
49730 _ACEOF
49731 if ac_fn_cxx_try_compile "$LINENO"; then :
49732 glibcxx_cv_func__isinff_use=yes
49733 else
49734 glibcxx_cv_func__isinff_use=no
49736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49737 ac_ext=c
49738 ac_cpp='$CPP $CPPFLAGS'
49739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
49748 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
49750 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
49751 for ac_func in _isinff
49752 do :
49753 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
49754 if test "x$ac_cv_func__isinff" = xyes; then :
49755 cat >>confdefs.h <<_ACEOF
49756 #define HAVE__ISINFF 1
49757 _ACEOF
49760 done
49769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
49770 $as_echo_n "checking for atan2f declaration... " >&6; }
49771 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
49772 if ${glibcxx_cv_func_atan2f_use+:} false; then :
49773 $as_echo_n "(cached) " >&6
49774 else
49777 ac_ext=cpp
49778 ac_cpp='$CXXCPP $CPPFLAGS'
49779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49784 /* end confdefs.h. */
49785 #include <math.h>
49787 main ()
49789 atan2f(0, 0);
49791 return 0;
49793 _ACEOF
49794 if ac_fn_cxx_try_compile "$LINENO"; then :
49795 glibcxx_cv_func_atan2f_use=yes
49796 else
49797 glibcxx_cv_func_atan2f_use=no
49799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49800 ac_ext=c
49801 ac_cpp='$CPP $CPPFLAGS'
49802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
49811 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
49813 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
49814 for ac_func in atan2f
49815 do :
49816 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
49817 if test "x$ac_cv_func_atan2f" = xyes; then :
49818 cat >>confdefs.h <<_ACEOF
49819 #define HAVE_ATAN2F 1
49820 _ACEOF
49823 done
49825 else
49827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
49828 $as_echo_n "checking for _atan2f declaration... " >&6; }
49829 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
49830 if ${glibcxx_cv_func__atan2f_use+:} false; then :
49831 $as_echo_n "(cached) " >&6
49832 else
49835 ac_ext=cpp
49836 ac_cpp='$CXXCPP $CPPFLAGS'
49837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49842 /* end confdefs.h. */
49843 #include <math.h>
49845 main ()
49847 _atan2f(0, 0);
49849 return 0;
49851 _ACEOF
49852 if ac_fn_cxx_try_compile "$LINENO"; then :
49853 glibcxx_cv_func__atan2f_use=yes
49854 else
49855 glibcxx_cv_func__atan2f_use=no
49857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49858 ac_ext=c
49859 ac_cpp='$CPP $CPPFLAGS'
49860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
49869 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
49871 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
49872 for ac_func in _atan2f
49873 do :
49874 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
49875 if test "x$ac_cv_func__atan2f" = xyes; then :
49876 cat >>confdefs.h <<_ACEOF
49877 #define HAVE__ATAN2F 1
49878 _ACEOF
49881 done
49890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
49891 $as_echo_n "checking for fabsf declaration... " >&6; }
49892 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
49893 if ${glibcxx_cv_func_fabsf_use+:} false; then :
49894 $as_echo_n "(cached) " >&6
49895 else
49898 ac_ext=cpp
49899 ac_cpp='$CXXCPP $CPPFLAGS'
49900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49905 /* end confdefs.h. */
49906 #include <math.h>
49907 #ifdef HAVE_IEEEFP_H
49908 #include <ieeefp.h>
49909 #endif
49912 main ()
49914 fabsf(0);
49916 return 0;
49918 _ACEOF
49919 if ac_fn_cxx_try_compile "$LINENO"; then :
49920 glibcxx_cv_func_fabsf_use=yes
49921 else
49922 glibcxx_cv_func_fabsf_use=no
49924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49925 ac_ext=c
49926 ac_cpp='$CPP $CPPFLAGS'
49927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
49936 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
49938 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49939 for ac_func in fabsf
49940 do :
49941 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
49942 if test "x$ac_cv_func_fabsf" = xyes; then :
49943 cat >>confdefs.h <<_ACEOF
49944 #define HAVE_FABSF 1
49945 _ACEOF
49948 done
49950 else
49952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
49953 $as_echo_n "checking for _fabsf declaration... " >&6; }
49954 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49955 if ${glibcxx_cv_func__fabsf_use+:} false; then :
49956 $as_echo_n "(cached) " >&6
49957 else
49960 ac_ext=cpp
49961 ac_cpp='$CXXCPP $CPPFLAGS'
49962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49967 /* end confdefs.h. */
49968 #include <math.h>
49969 #ifdef HAVE_IEEEFP_H
49970 #include <ieeefp.h>
49971 #endif
49974 main ()
49976 _fabsf(0);
49978 return 0;
49980 _ACEOF
49981 if ac_fn_cxx_try_compile "$LINENO"; then :
49982 glibcxx_cv_func__fabsf_use=yes
49983 else
49984 glibcxx_cv_func__fabsf_use=no
49986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49987 ac_ext=c
49988 ac_cpp='$CPP $CPPFLAGS'
49989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
49998 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
50000 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
50001 for ac_func in _fabsf
50002 do :
50003 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
50004 if test "x$ac_cv_func__fabsf" = xyes; then :
50005 cat >>confdefs.h <<_ACEOF
50006 #define HAVE__FABSF 1
50007 _ACEOF
50010 done
50019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
50020 $as_echo_n "checking for fmodf declaration... " >&6; }
50021 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
50022 if ${glibcxx_cv_func_fmodf_use+:} false; then :
50023 $as_echo_n "(cached) " >&6
50024 else
50027 ac_ext=cpp
50028 ac_cpp='$CXXCPP $CPPFLAGS'
50029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50034 /* end confdefs.h. */
50035 #include <math.h>
50037 main ()
50039 fmodf(0, 0);
50041 return 0;
50043 _ACEOF
50044 if ac_fn_cxx_try_compile "$LINENO"; then :
50045 glibcxx_cv_func_fmodf_use=yes
50046 else
50047 glibcxx_cv_func_fmodf_use=no
50049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50050 ac_ext=c
50051 ac_cpp='$CPP $CPPFLAGS'
50052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
50061 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
50063 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
50064 for ac_func in fmodf
50065 do :
50066 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
50067 if test "x$ac_cv_func_fmodf" = xyes; then :
50068 cat >>confdefs.h <<_ACEOF
50069 #define HAVE_FMODF 1
50070 _ACEOF
50073 done
50075 else
50077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
50078 $as_echo_n "checking for _fmodf declaration... " >&6; }
50079 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
50080 if ${glibcxx_cv_func__fmodf_use+:} false; then :
50081 $as_echo_n "(cached) " >&6
50082 else
50085 ac_ext=cpp
50086 ac_cpp='$CXXCPP $CPPFLAGS'
50087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50092 /* end confdefs.h. */
50093 #include <math.h>
50095 main ()
50097 _fmodf(0, 0);
50099 return 0;
50101 _ACEOF
50102 if ac_fn_cxx_try_compile "$LINENO"; then :
50103 glibcxx_cv_func__fmodf_use=yes
50104 else
50105 glibcxx_cv_func__fmodf_use=no
50107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50108 ac_ext=c
50109 ac_cpp='$CPP $CPPFLAGS'
50110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
50119 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
50121 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
50122 for ac_func in _fmodf
50123 do :
50124 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
50125 if test "x$ac_cv_func__fmodf" = xyes; then :
50126 cat >>confdefs.h <<_ACEOF
50127 #define HAVE__FMODF 1
50128 _ACEOF
50131 done
50140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
50141 $as_echo_n "checking for frexpf declaration... " >&6; }
50142 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
50143 if ${glibcxx_cv_func_frexpf_use+:} false; then :
50144 $as_echo_n "(cached) " >&6
50145 else
50148 ac_ext=cpp
50149 ac_cpp='$CXXCPP $CPPFLAGS'
50150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50155 /* end confdefs.h. */
50156 #include <math.h>
50158 main ()
50160 frexpf(0, 0);
50162 return 0;
50164 _ACEOF
50165 if ac_fn_cxx_try_compile "$LINENO"; then :
50166 glibcxx_cv_func_frexpf_use=yes
50167 else
50168 glibcxx_cv_func_frexpf_use=no
50170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50171 ac_ext=c
50172 ac_cpp='$CPP $CPPFLAGS'
50173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
50182 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
50184 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
50185 for ac_func in frexpf
50186 do :
50187 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
50188 if test "x$ac_cv_func_frexpf" = xyes; then :
50189 cat >>confdefs.h <<_ACEOF
50190 #define HAVE_FREXPF 1
50191 _ACEOF
50194 done
50196 else
50198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
50199 $as_echo_n "checking for _frexpf declaration... " >&6; }
50200 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
50201 if ${glibcxx_cv_func__frexpf_use+:} false; then :
50202 $as_echo_n "(cached) " >&6
50203 else
50206 ac_ext=cpp
50207 ac_cpp='$CXXCPP $CPPFLAGS'
50208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50213 /* end confdefs.h. */
50214 #include <math.h>
50216 main ()
50218 _frexpf(0, 0);
50220 return 0;
50222 _ACEOF
50223 if ac_fn_cxx_try_compile "$LINENO"; then :
50224 glibcxx_cv_func__frexpf_use=yes
50225 else
50226 glibcxx_cv_func__frexpf_use=no
50228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50229 ac_ext=c
50230 ac_cpp='$CPP $CPPFLAGS'
50231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
50240 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
50242 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
50243 for ac_func in _frexpf
50244 do :
50245 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
50246 if test "x$ac_cv_func__frexpf" = xyes; then :
50247 cat >>confdefs.h <<_ACEOF
50248 #define HAVE__FREXPF 1
50249 _ACEOF
50252 done
50261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
50262 $as_echo_n "checking for hypotf declaration... " >&6; }
50263 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
50264 if ${glibcxx_cv_func_hypotf_use+:} false; then :
50265 $as_echo_n "(cached) " >&6
50266 else
50269 ac_ext=cpp
50270 ac_cpp='$CXXCPP $CPPFLAGS'
50271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50276 /* end confdefs.h. */
50277 #include <math.h>
50279 main ()
50281 hypotf(0, 0);
50283 return 0;
50285 _ACEOF
50286 if ac_fn_cxx_try_compile "$LINENO"; then :
50287 glibcxx_cv_func_hypotf_use=yes
50288 else
50289 glibcxx_cv_func_hypotf_use=no
50291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50292 ac_ext=c
50293 ac_cpp='$CPP $CPPFLAGS'
50294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
50303 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
50305 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
50306 for ac_func in hypotf
50307 do :
50308 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
50309 if test "x$ac_cv_func_hypotf" = xyes; then :
50310 cat >>confdefs.h <<_ACEOF
50311 #define HAVE_HYPOTF 1
50312 _ACEOF
50315 done
50317 else
50319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
50320 $as_echo_n "checking for _hypotf declaration... " >&6; }
50321 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
50322 if ${glibcxx_cv_func__hypotf_use+:} false; then :
50323 $as_echo_n "(cached) " >&6
50324 else
50327 ac_ext=cpp
50328 ac_cpp='$CXXCPP $CPPFLAGS'
50329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50334 /* end confdefs.h. */
50335 #include <math.h>
50337 main ()
50339 _hypotf(0, 0);
50341 return 0;
50343 _ACEOF
50344 if ac_fn_cxx_try_compile "$LINENO"; then :
50345 glibcxx_cv_func__hypotf_use=yes
50346 else
50347 glibcxx_cv_func__hypotf_use=no
50349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50350 ac_ext=c
50351 ac_cpp='$CPP $CPPFLAGS'
50352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
50361 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
50363 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
50364 for ac_func in _hypotf
50365 do :
50366 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
50367 if test "x$ac_cv_func__hypotf" = xyes; then :
50368 cat >>confdefs.h <<_ACEOF
50369 #define HAVE__HYPOTF 1
50370 _ACEOF
50373 done
50382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
50383 $as_echo_n "checking for ldexpf declaration... " >&6; }
50384 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
50385 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
50386 $as_echo_n "(cached) " >&6
50387 else
50390 ac_ext=cpp
50391 ac_cpp='$CXXCPP $CPPFLAGS'
50392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50397 /* end confdefs.h. */
50398 #include <math.h>
50400 main ()
50402 ldexpf(0, 0);
50404 return 0;
50406 _ACEOF
50407 if ac_fn_cxx_try_compile "$LINENO"; then :
50408 glibcxx_cv_func_ldexpf_use=yes
50409 else
50410 glibcxx_cv_func_ldexpf_use=no
50412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50413 ac_ext=c
50414 ac_cpp='$CPP $CPPFLAGS'
50415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
50424 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
50426 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
50427 for ac_func in ldexpf
50428 do :
50429 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
50430 if test "x$ac_cv_func_ldexpf" = xyes; then :
50431 cat >>confdefs.h <<_ACEOF
50432 #define HAVE_LDEXPF 1
50433 _ACEOF
50436 done
50438 else
50440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
50441 $as_echo_n "checking for _ldexpf declaration... " >&6; }
50442 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
50443 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
50444 $as_echo_n "(cached) " >&6
50445 else
50448 ac_ext=cpp
50449 ac_cpp='$CXXCPP $CPPFLAGS'
50450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50455 /* end confdefs.h. */
50456 #include <math.h>
50458 main ()
50460 _ldexpf(0, 0);
50462 return 0;
50464 _ACEOF
50465 if ac_fn_cxx_try_compile "$LINENO"; then :
50466 glibcxx_cv_func__ldexpf_use=yes
50467 else
50468 glibcxx_cv_func__ldexpf_use=no
50470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50471 ac_ext=c
50472 ac_cpp='$CPP $CPPFLAGS'
50473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
50482 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
50484 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
50485 for ac_func in _ldexpf
50486 do :
50487 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
50488 if test "x$ac_cv_func__ldexpf" = xyes; then :
50489 cat >>confdefs.h <<_ACEOF
50490 #define HAVE__LDEXPF 1
50491 _ACEOF
50494 done
50503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
50504 $as_echo_n "checking for logf declaration... " >&6; }
50505 if test x${glibcxx_cv_func_logf_use+set} != xset; then
50506 if ${glibcxx_cv_func_logf_use+:} false; then :
50507 $as_echo_n "(cached) " >&6
50508 else
50511 ac_ext=cpp
50512 ac_cpp='$CXXCPP $CPPFLAGS'
50513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50518 /* end confdefs.h. */
50519 #include <math.h>
50520 #ifdef HAVE_IEEEFP_H
50521 #include <ieeefp.h>
50522 #endif
50525 main ()
50527 logf(0);
50529 return 0;
50531 _ACEOF
50532 if ac_fn_cxx_try_compile "$LINENO"; then :
50533 glibcxx_cv_func_logf_use=yes
50534 else
50535 glibcxx_cv_func_logf_use=no
50537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50538 ac_ext=c
50539 ac_cpp='$CPP $CPPFLAGS'
50540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
50549 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
50551 if test x$glibcxx_cv_func_logf_use = x"yes"; then
50552 for ac_func in logf
50553 do :
50554 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
50555 if test "x$ac_cv_func_logf" = xyes; then :
50556 cat >>confdefs.h <<_ACEOF
50557 #define HAVE_LOGF 1
50558 _ACEOF
50561 done
50563 else
50565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
50566 $as_echo_n "checking for _logf declaration... " >&6; }
50567 if test x${glibcxx_cv_func__logf_use+set} != xset; then
50568 if ${glibcxx_cv_func__logf_use+:} false; then :
50569 $as_echo_n "(cached) " >&6
50570 else
50573 ac_ext=cpp
50574 ac_cpp='$CXXCPP $CPPFLAGS'
50575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50580 /* end confdefs.h. */
50581 #include <math.h>
50582 #ifdef HAVE_IEEEFP_H
50583 #include <ieeefp.h>
50584 #endif
50587 main ()
50589 _logf(0);
50591 return 0;
50593 _ACEOF
50594 if ac_fn_cxx_try_compile "$LINENO"; then :
50595 glibcxx_cv_func__logf_use=yes
50596 else
50597 glibcxx_cv_func__logf_use=no
50599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50600 ac_ext=c
50601 ac_cpp='$CPP $CPPFLAGS'
50602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
50611 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
50613 if test x$glibcxx_cv_func__logf_use = x"yes"; then
50614 for ac_func in _logf
50615 do :
50616 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
50617 if test "x$ac_cv_func__logf" = xyes; then :
50618 cat >>confdefs.h <<_ACEOF
50619 #define HAVE__LOGF 1
50620 _ACEOF
50623 done
50632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
50633 $as_echo_n "checking for log10f declaration... " >&6; }
50634 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
50635 if ${glibcxx_cv_func_log10f_use+:} false; then :
50636 $as_echo_n "(cached) " >&6
50637 else
50640 ac_ext=cpp
50641 ac_cpp='$CXXCPP $CPPFLAGS'
50642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50647 /* end confdefs.h. */
50648 #include <math.h>
50649 #ifdef HAVE_IEEEFP_H
50650 #include <ieeefp.h>
50651 #endif
50654 main ()
50656 log10f(0);
50658 return 0;
50660 _ACEOF
50661 if ac_fn_cxx_try_compile "$LINENO"; then :
50662 glibcxx_cv_func_log10f_use=yes
50663 else
50664 glibcxx_cv_func_log10f_use=no
50666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50667 ac_ext=c
50668 ac_cpp='$CPP $CPPFLAGS'
50669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
50678 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
50680 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
50681 for ac_func in log10f
50682 do :
50683 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
50684 if test "x$ac_cv_func_log10f" = xyes; then :
50685 cat >>confdefs.h <<_ACEOF
50686 #define HAVE_LOG10F 1
50687 _ACEOF
50690 done
50692 else
50694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
50695 $as_echo_n "checking for _log10f declaration... " >&6; }
50696 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
50697 if ${glibcxx_cv_func__log10f_use+:} false; then :
50698 $as_echo_n "(cached) " >&6
50699 else
50702 ac_ext=cpp
50703 ac_cpp='$CXXCPP $CPPFLAGS'
50704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50709 /* end confdefs.h. */
50710 #include <math.h>
50711 #ifdef HAVE_IEEEFP_H
50712 #include <ieeefp.h>
50713 #endif
50716 main ()
50718 _log10f(0);
50720 return 0;
50722 _ACEOF
50723 if ac_fn_cxx_try_compile "$LINENO"; then :
50724 glibcxx_cv_func__log10f_use=yes
50725 else
50726 glibcxx_cv_func__log10f_use=no
50728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50729 ac_ext=c
50730 ac_cpp='$CPP $CPPFLAGS'
50731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
50740 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
50742 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
50743 for ac_func in _log10f
50744 do :
50745 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
50746 if test "x$ac_cv_func__log10f" = xyes; then :
50747 cat >>confdefs.h <<_ACEOF
50748 #define HAVE__LOG10F 1
50749 _ACEOF
50752 done
50761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
50762 $as_echo_n "checking for modff declaration... " >&6; }
50763 if test x${glibcxx_cv_func_modff_use+set} != xset; then
50764 if ${glibcxx_cv_func_modff_use+:} false; then :
50765 $as_echo_n "(cached) " >&6
50766 else
50769 ac_ext=cpp
50770 ac_cpp='$CXXCPP $CPPFLAGS'
50771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50776 /* end confdefs.h. */
50777 #include <math.h>
50779 main ()
50781 modff(0, 0);
50783 return 0;
50785 _ACEOF
50786 if ac_fn_cxx_try_compile "$LINENO"; then :
50787 glibcxx_cv_func_modff_use=yes
50788 else
50789 glibcxx_cv_func_modff_use=no
50791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50792 ac_ext=c
50793 ac_cpp='$CPP $CPPFLAGS'
50794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
50803 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
50805 if test x$glibcxx_cv_func_modff_use = x"yes"; then
50806 for ac_func in modff
50807 do :
50808 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
50809 if test "x$ac_cv_func_modff" = xyes; then :
50810 cat >>confdefs.h <<_ACEOF
50811 #define HAVE_MODFF 1
50812 _ACEOF
50815 done
50817 else
50819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
50820 $as_echo_n "checking for _modff declaration... " >&6; }
50821 if test x${glibcxx_cv_func__modff_use+set} != xset; then
50822 if ${glibcxx_cv_func__modff_use+:} false; then :
50823 $as_echo_n "(cached) " >&6
50824 else
50827 ac_ext=cpp
50828 ac_cpp='$CXXCPP $CPPFLAGS'
50829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50834 /* end confdefs.h. */
50835 #include <math.h>
50837 main ()
50839 _modff(0, 0);
50841 return 0;
50843 _ACEOF
50844 if ac_fn_cxx_try_compile "$LINENO"; then :
50845 glibcxx_cv_func__modff_use=yes
50846 else
50847 glibcxx_cv_func__modff_use=no
50849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50850 ac_ext=c
50851 ac_cpp='$CPP $CPPFLAGS'
50852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
50861 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
50863 if test x$glibcxx_cv_func__modff_use = x"yes"; then
50864 for ac_func in _modff
50865 do :
50866 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
50867 if test "x$ac_cv_func__modff" = xyes; then :
50868 cat >>confdefs.h <<_ACEOF
50869 #define HAVE__MODFF 1
50870 _ACEOF
50873 done
50882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
50883 $as_echo_n "checking for modf declaration... " >&6; }
50884 if test x${glibcxx_cv_func_modf_use+set} != xset; then
50885 if ${glibcxx_cv_func_modf_use+:} false; then :
50886 $as_echo_n "(cached) " >&6
50887 else
50890 ac_ext=cpp
50891 ac_cpp='$CXXCPP $CPPFLAGS'
50892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50897 /* end confdefs.h. */
50898 #include <math.h>
50900 main ()
50902 modf(0, 0);
50904 return 0;
50906 _ACEOF
50907 if ac_fn_cxx_try_compile "$LINENO"; then :
50908 glibcxx_cv_func_modf_use=yes
50909 else
50910 glibcxx_cv_func_modf_use=no
50912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50913 ac_ext=c
50914 ac_cpp='$CPP $CPPFLAGS'
50915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
50924 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
50926 if test x$glibcxx_cv_func_modf_use = x"yes"; then
50927 for ac_func in modf
50928 do :
50929 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
50930 if test "x$ac_cv_func_modf" = xyes; then :
50931 cat >>confdefs.h <<_ACEOF
50932 #define HAVE_MODF 1
50933 _ACEOF
50936 done
50938 else
50940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
50941 $as_echo_n "checking for _modf declaration... " >&6; }
50942 if test x${glibcxx_cv_func__modf_use+set} != xset; then
50943 if ${glibcxx_cv_func__modf_use+:} false; then :
50944 $as_echo_n "(cached) " >&6
50945 else
50948 ac_ext=cpp
50949 ac_cpp='$CXXCPP $CPPFLAGS'
50950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50955 /* end confdefs.h. */
50956 #include <math.h>
50958 main ()
50960 _modf(0, 0);
50962 return 0;
50964 _ACEOF
50965 if ac_fn_cxx_try_compile "$LINENO"; then :
50966 glibcxx_cv_func__modf_use=yes
50967 else
50968 glibcxx_cv_func__modf_use=no
50970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50971 ac_ext=c
50972 ac_cpp='$CPP $CPPFLAGS'
50973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
50982 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
50984 if test x$glibcxx_cv_func__modf_use = x"yes"; then
50985 for ac_func in _modf
50986 do :
50987 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
50988 if test "x$ac_cv_func__modf" = xyes; then :
50989 cat >>confdefs.h <<_ACEOF
50990 #define HAVE__MODF 1
50991 _ACEOF
50994 done
51003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
51004 $as_echo_n "checking for powf declaration... " >&6; }
51005 if test x${glibcxx_cv_func_powf_use+set} != xset; then
51006 if ${glibcxx_cv_func_powf_use+:} false; then :
51007 $as_echo_n "(cached) " >&6
51008 else
51011 ac_ext=cpp
51012 ac_cpp='$CXXCPP $CPPFLAGS'
51013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51018 /* end confdefs.h. */
51019 #include <math.h>
51021 main ()
51023 powf(0, 0);
51025 return 0;
51027 _ACEOF
51028 if ac_fn_cxx_try_compile "$LINENO"; then :
51029 glibcxx_cv_func_powf_use=yes
51030 else
51031 glibcxx_cv_func_powf_use=no
51033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51034 ac_ext=c
51035 ac_cpp='$CPP $CPPFLAGS'
51036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
51045 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
51047 if test x$glibcxx_cv_func_powf_use = x"yes"; then
51048 for ac_func in powf
51049 do :
51050 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
51051 if test "x$ac_cv_func_powf" = xyes; then :
51052 cat >>confdefs.h <<_ACEOF
51053 #define HAVE_POWF 1
51054 _ACEOF
51057 done
51059 else
51061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
51062 $as_echo_n "checking for _powf declaration... " >&6; }
51063 if test x${glibcxx_cv_func__powf_use+set} != xset; then
51064 if ${glibcxx_cv_func__powf_use+:} false; then :
51065 $as_echo_n "(cached) " >&6
51066 else
51069 ac_ext=cpp
51070 ac_cpp='$CXXCPP $CPPFLAGS'
51071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51076 /* end confdefs.h. */
51077 #include <math.h>
51079 main ()
51081 _powf(0, 0);
51083 return 0;
51085 _ACEOF
51086 if ac_fn_cxx_try_compile "$LINENO"; then :
51087 glibcxx_cv_func__powf_use=yes
51088 else
51089 glibcxx_cv_func__powf_use=no
51091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51092 ac_ext=c
51093 ac_cpp='$CPP $CPPFLAGS'
51094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
51103 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
51105 if test x$glibcxx_cv_func__powf_use = x"yes"; then
51106 for ac_func in _powf
51107 do :
51108 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
51109 if test "x$ac_cv_func__powf" = xyes; then :
51110 cat >>confdefs.h <<_ACEOF
51111 #define HAVE__POWF 1
51112 _ACEOF
51115 done
51124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
51125 $as_echo_n "checking for sqrtf declaration... " >&6; }
51126 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
51127 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
51128 $as_echo_n "(cached) " >&6
51129 else
51132 ac_ext=cpp
51133 ac_cpp='$CXXCPP $CPPFLAGS'
51134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51139 /* end confdefs.h. */
51140 #include <math.h>
51141 #ifdef HAVE_IEEEFP_H
51142 #include <ieeefp.h>
51143 #endif
51146 main ()
51148 sqrtf(0);
51150 return 0;
51152 _ACEOF
51153 if ac_fn_cxx_try_compile "$LINENO"; then :
51154 glibcxx_cv_func_sqrtf_use=yes
51155 else
51156 glibcxx_cv_func_sqrtf_use=no
51158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51159 ac_ext=c
51160 ac_cpp='$CPP $CPPFLAGS'
51161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
51170 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
51172 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
51173 for ac_func in sqrtf
51174 do :
51175 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
51176 if test "x$ac_cv_func_sqrtf" = xyes; then :
51177 cat >>confdefs.h <<_ACEOF
51178 #define HAVE_SQRTF 1
51179 _ACEOF
51182 done
51184 else
51186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
51187 $as_echo_n "checking for _sqrtf declaration... " >&6; }
51188 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
51189 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
51190 $as_echo_n "(cached) " >&6
51191 else
51194 ac_ext=cpp
51195 ac_cpp='$CXXCPP $CPPFLAGS'
51196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51201 /* end confdefs.h. */
51202 #include <math.h>
51203 #ifdef HAVE_IEEEFP_H
51204 #include <ieeefp.h>
51205 #endif
51208 main ()
51210 _sqrtf(0);
51212 return 0;
51214 _ACEOF
51215 if ac_fn_cxx_try_compile "$LINENO"; then :
51216 glibcxx_cv_func__sqrtf_use=yes
51217 else
51218 glibcxx_cv_func__sqrtf_use=no
51220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51221 ac_ext=c
51222 ac_cpp='$CPP $CPPFLAGS'
51223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
51232 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
51234 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
51235 for ac_func in _sqrtf
51236 do :
51237 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
51238 if test "x$ac_cv_func__sqrtf" = xyes; then :
51239 cat >>confdefs.h <<_ACEOF
51240 #define HAVE__SQRTF 1
51241 _ACEOF
51244 done
51253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
51254 $as_echo_n "checking for sincosf declaration... " >&6; }
51255 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
51256 if ${glibcxx_cv_func_sincosf_use+:} false; then :
51257 $as_echo_n "(cached) " >&6
51258 else
51261 ac_ext=cpp
51262 ac_cpp='$CXXCPP $CPPFLAGS'
51263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51268 /* end confdefs.h. */
51269 #include <math.h>
51271 main ()
51273 sincosf(0, 0, 0);
51275 return 0;
51277 _ACEOF
51278 if ac_fn_cxx_try_compile "$LINENO"; then :
51279 glibcxx_cv_func_sincosf_use=yes
51280 else
51281 glibcxx_cv_func_sincosf_use=no
51283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51284 ac_ext=c
51285 ac_cpp='$CPP $CPPFLAGS'
51286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
51295 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
51297 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
51298 for ac_func in sincosf
51299 do :
51300 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
51301 if test "x$ac_cv_func_sincosf" = xyes; then :
51302 cat >>confdefs.h <<_ACEOF
51303 #define HAVE_SINCOSF 1
51304 _ACEOF
51307 done
51309 else
51311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
51312 $as_echo_n "checking for _sincosf declaration... " >&6; }
51313 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
51314 if ${glibcxx_cv_func__sincosf_use+:} false; then :
51315 $as_echo_n "(cached) " >&6
51316 else
51319 ac_ext=cpp
51320 ac_cpp='$CXXCPP $CPPFLAGS'
51321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51326 /* end confdefs.h. */
51327 #include <math.h>
51329 main ()
51331 _sincosf(0, 0, 0);
51333 return 0;
51335 _ACEOF
51336 if ac_fn_cxx_try_compile "$LINENO"; then :
51337 glibcxx_cv_func__sincosf_use=yes
51338 else
51339 glibcxx_cv_func__sincosf_use=no
51341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51342 ac_ext=c
51343 ac_cpp='$CPP $CPPFLAGS'
51344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
51353 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
51355 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
51356 for ac_func in _sincosf
51357 do :
51358 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
51359 if test "x$ac_cv_func__sincosf" = xyes; then :
51360 cat >>confdefs.h <<_ACEOF
51361 #define HAVE__SINCOSF 1
51362 _ACEOF
51365 done
51374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
51375 $as_echo_n "checking for finitef declaration... " >&6; }
51376 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
51377 if ${glibcxx_cv_func_finitef_use+:} false; then :
51378 $as_echo_n "(cached) " >&6
51379 else
51382 ac_ext=cpp
51383 ac_cpp='$CXXCPP $CPPFLAGS'
51384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51389 /* end confdefs.h. */
51390 #include <math.h>
51391 #ifdef HAVE_IEEEFP_H
51392 #include <ieeefp.h>
51393 #endif
51396 main ()
51398 finitef(0);
51400 return 0;
51402 _ACEOF
51403 if ac_fn_cxx_try_compile "$LINENO"; then :
51404 glibcxx_cv_func_finitef_use=yes
51405 else
51406 glibcxx_cv_func_finitef_use=no
51408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51409 ac_ext=c
51410 ac_cpp='$CPP $CPPFLAGS'
51411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
51420 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
51422 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
51423 for ac_func in finitef
51424 do :
51425 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
51426 if test "x$ac_cv_func_finitef" = xyes; then :
51427 cat >>confdefs.h <<_ACEOF
51428 #define HAVE_FINITEF 1
51429 _ACEOF
51432 done
51434 else
51436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
51437 $as_echo_n "checking for _finitef declaration... " >&6; }
51438 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
51439 if ${glibcxx_cv_func__finitef_use+:} false; then :
51440 $as_echo_n "(cached) " >&6
51441 else
51444 ac_ext=cpp
51445 ac_cpp='$CXXCPP $CPPFLAGS'
51446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51451 /* end confdefs.h. */
51452 #include <math.h>
51453 #ifdef HAVE_IEEEFP_H
51454 #include <ieeefp.h>
51455 #endif
51458 main ()
51460 _finitef(0);
51462 return 0;
51464 _ACEOF
51465 if ac_fn_cxx_try_compile "$LINENO"; then :
51466 glibcxx_cv_func__finitef_use=yes
51467 else
51468 glibcxx_cv_func__finitef_use=no
51470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51471 ac_ext=c
51472 ac_cpp='$CPP $CPPFLAGS'
51473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
51482 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
51484 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
51485 for ac_func in _finitef
51486 do :
51487 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
51488 if test "x$ac_cv_func__finitef" = xyes; then :
51489 cat >>confdefs.h <<_ACEOF
51490 #define HAVE__FINITEF 1
51491 _ACEOF
51494 done
51503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
51504 $as_echo_n "checking for long double trig functions... " >&6; }
51505 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
51506 $as_echo_n "(cached) " >&6
51507 else
51510 ac_ext=cpp
51511 ac_cpp='$CXXCPP $CPPFLAGS'
51512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51517 /* end confdefs.h. */
51518 #include <math.h>
51520 main ()
51522 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
51524 return 0;
51526 _ACEOF
51527 if ac_fn_cxx_try_compile "$LINENO"; then :
51528 glibcxx_cv_func_long_double_trig_use=yes
51529 else
51530 glibcxx_cv_func_long_double_trig_use=no
51532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51533 ac_ext=c
51534 ac_cpp='$CPP $CPPFLAGS'
51535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
51542 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
51543 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
51544 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
51545 do :
51546 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51547 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51548 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51549 cat >>confdefs.h <<_ACEOF
51550 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51551 _ACEOF
51554 done
51556 else
51557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
51558 $as_echo_n "checking for _long double trig functions... " >&6; }
51559 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
51560 $as_echo_n "(cached) " >&6
51561 else
51564 ac_ext=cpp
51565 ac_cpp='$CXXCPP $CPPFLAGS'
51566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51571 /* end confdefs.h. */
51572 #include <math.h>
51574 main ()
51576 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
51578 return 0;
51580 _ACEOF
51581 if ac_fn_cxx_try_compile "$LINENO"; then :
51582 glibcxx_cv_func__long_double_trig_use=yes
51583 else
51584 glibcxx_cv_func__long_double_trig_use=no
51586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51587 ac_ext=c
51588 ac_cpp='$CPP $CPPFLAGS'
51589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
51596 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
51597 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
51598 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
51599 do :
51600 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51601 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51602 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51603 cat >>confdefs.h <<_ACEOF
51604 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51605 _ACEOF
51608 done
51617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
51618 $as_echo_n "checking for long double round functions... " >&6; }
51619 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
51620 $as_echo_n "(cached) " >&6
51621 else
51624 ac_ext=cpp
51625 ac_cpp='$CXXCPP $CPPFLAGS'
51626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51631 /* end confdefs.h. */
51632 #include <math.h>
51634 main ()
51636 ceill (0); floorl (0);
51638 return 0;
51640 _ACEOF
51641 if ac_fn_cxx_try_compile "$LINENO"; then :
51642 glibcxx_cv_func_long_double_round_use=yes
51643 else
51644 glibcxx_cv_func_long_double_round_use=no
51646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51647 ac_ext=c
51648 ac_cpp='$CPP $CPPFLAGS'
51649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
51656 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
51657 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
51658 for ac_func in ceill floorl
51659 do :
51660 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51661 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51662 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51663 cat >>confdefs.h <<_ACEOF
51664 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51665 _ACEOF
51668 done
51670 else
51671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
51672 $as_echo_n "checking for _long double round functions... " >&6; }
51673 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
51674 $as_echo_n "(cached) " >&6
51675 else
51678 ac_ext=cpp
51679 ac_cpp='$CXXCPP $CPPFLAGS'
51680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51685 /* end confdefs.h. */
51686 #include <math.h>
51688 main ()
51690 _ceill (0); _floorl (0);
51692 return 0;
51694 _ACEOF
51695 if ac_fn_cxx_try_compile "$LINENO"; then :
51696 glibcxx_cv_func__long_double_round_use=yes
51697 else
51698 glibcxx_cv_func__long_double_round_use=no
51700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51701 ac_ext=c
51702 ac_cpp='$CPP $CPPFLAGS'
51703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
51710 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
51711 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
51712 for ac_func in _ceill _floorl
51713 do :
51714 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51715 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51716 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51717 cat >>confdefs.h <<_ACEOF
51718 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51719 _ACEOF
51722 done
51732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
51733 $as_echo_n "checking for isnanl declaration... " >&6; }
51734 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
51735 if ${glibcxx_cv_func_isnanl_use+:} false; then :
51736 $as_echo_n "(cached) " >&6
51737 else
51740 ac_ext=cpp
51741 ac_cpp='$CXXCPP $CPPFLAGS'
51742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51747 /* end confdefs.h. */
51748 #include <math.h>
51749 #ifdef HAVE_IEEEFP_H
51750 #include <ieeefp.h>
51751 #endif
51754 main ()
51756 isnanl(0);
51758 return 0;
51760 _ACEOF
51761 if ac_fn_cxx_try_compile "$LINENO"; then :
51762 glibcxx_cv_func_isnanl_use=yes
51763 else
51764 glibcxx_cv_func_isnanl_use=no
51766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51767 ac_ext=c
51768 ac_cpp='$CPP $CPPFLAGS'
51769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
51778 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
51780 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
51781 for ac_func in isnanl
51782 do :
51783 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
51784 if test "x$ac_cv_func_isnanl" = xyes; then :
51785 cat >>confdefs.h <<_ACEOF
51786 #define HAVE_ISNANL 1
51787 _ACEOF
51790 done
51792 else
51794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
51795 $as_echo_n "checking for _isnanl declaration... " >&6; }
51796 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
51797 if ${glibcxx_cv_func__isnanl_use+:} false; then :
51798 $as_echo_n "(cached) " >&6
51799 else
51802 ac_ext=cpp
51803 ac_cpp='$CXXCPP $CPPFLAGS'
51804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51809 /* end confdefs.h. */
51810 #include <math.h>
51811 #ifdef HAVE_IEEEFP_H
51812 #include <ieeefp.h>
51813 #endif
51816 main ()
51818 _isnanl(0);
51820 return 0;
51822 _ACEOF
51823 if ac_fn_cxx_try_compile "$LINENO"; then :
51824 glibcxx_cv_func__isnanl_use=yes
51825 else
51826 glibcxx_cv_func__isnanl_use=no
51828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51829 ac_ext=c
51830 ac_cpp='$CPP $CPPFLAGS'
51831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
51840 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
51842 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
51843 for ac_func in _isnanl
51844 do :
51845 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
51846 if test "x$ac_cv_func__isnanl" = xyes; then :
51847 cat >>confdefs.h <<_ACEOF
51848 #define HAVE__ISNANL 1
51849 _ACEOF
51852 done
51861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
51862 $as_echo_n "checking for isinfl declaration... " >&6; }
51863 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
51864 if ${glibcxx_cv_func_isinfl_use+:} false; then :
51865 $as_echo_n "(cached) " >&6
51866 else
51869 ac_ext=cpp
51870 ac_cpp='$CXXCPP $CPPFLAGS'
51871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51876 /* end confdefs.h. */
51877 #include <math.h>
51878 #ifdef HAVE_IEEEFP_H
51879 #include <ieeefp.h>
51880 #endif
51883 main ()
51885 isinfl(0);
51887 return 0;
51889 _ACEOF
51890 if ac_fn_cxx_try_compile "$LINENO"; then :
51891 glibcxx_cv_func_isinfl_use=yes
51892 else
51893 glibcxx_cv_func_isinfl_use=no
51895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51896 ac_ext=c
51897 ac_cpp='$CPP $CPPFLAGS'
51898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
51907 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
51909 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
51910 for ac_func in isinfl
51911 do :
51912 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
51913 if test "x$ac_cv_func_isinfl" = xyes; then :
51914 cat >>confdefs.h <<_ACEOF
51915 #define HAVE_ISINFL 1
51916 _ACEOF
51919 done
51921 else
51923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
51924 $as_echo_n "checking for _isinfl declaration... " >&6; }
51925 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
51926 if ${glibcxx_cv_func__isinfl_use+:} false; then :
51927 $as_echo_n "(cached) " >&6
51928 else
51931 ac_ext=cpp
51932 ac_cpp='$CXXCPP $CPPFLAGS'
51933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51938 /* end confdefs.h. */
51939 #include <math.h>
51940 #ifdef HAVE_IEEEFP_H
51941 #include <ieeefp.h>
51942 #endif
51945 main ()
51947 _isinfl(0);
51949 return 0;
51951 _ACEOF
51952 if ac_fn_cxx_try_compile "$LINENO"; then :
51953 glibcxx_cv_func__isinfl_use=yes
51954 else
51955 glibcxx_cv_func__isinfl_use=no
51957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51958 ac_ext=c
51959 ac_cpp='$CPP $CPPFLAGS'
51960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
51969 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
51971 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
51972 for ac_func in _isinfl
51973 do :
51974 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
51975 if test "x$ac_cv_func__isinfl" = xyes; then :
51976 cat >>confdefs.h <<_ACEOF
51977 #define HAVE__ISINFL 1
51978 _ACEOF
51981 done
51990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
51991 $as_echo_n "checking for atan2l declaration... " >&6; }
51992 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
51993 if ${glibcxx_cv_func_atan2l_use+:} false; then :
51994 $as_echo_n "(cached) " >&6
51995 else
51998 ac_ext=cpp
51999 ac_cpp='$CXXCPP $CPPFLAGS'
52000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52005 /* end confdefs.h. */
52006 #include <math.h>
52008 main ()
52010 atan2l(0, 0);
52012 return 0;
52014 _ACEOF
52015 if ac_fn_cxx_try_compile "$LINENO"; then :
52016 glibcxx_cv_func_atan2l_use=yes
52017 else
52018 glibcxx_cv_func_atan2l_use=no
52020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52021 ac_ext=c
52022 ac_cpp='$CPP $CPPFLAGS'
52023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
52032 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
52034 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
52035 for ac_func in atan2l
52036 do :
52037 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
52038 if test "x$ac_cv_func_atan2l" = xyes; then :
52039 cat >>confdefs.h <<_ACEOF
52040 #define HAVE_ATAN2L 1
52041 _ACEOF
52044 done
52046 else
52048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
52049 $as_echo_n "checking for _atan2l declaration... " >&6; }
52050 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
52051 if ${glibcxx_cv_func__atan2l_use+:} false; then :
52052 $as_echo_n "(cached) " >&6
52053 else
52056 ac_ext=cpp
52057 ac_cpp='$CXXCPP $CPPFLAGS'
52058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52063 /* end confdefs.h. */
52064 #include <math.h>
52066 main ()
52068 _atan2l(0, 0);
52070 return 0;
52072 _ACEOF
52073 if ac_fn_cxx_try_compile "$LINENO"; then :
52074 glibcxx_cv_func__atan2l_use=yes
52075 else
52076 glibcxx_cv_func__atan2l_use=no
52078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52079 ac_ext=c
52080 ac_cpp='$CPP $CPPFLAGS'
52081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
52090 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
52092 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
52093 for ac_func in _atan2l
52094 do :
52095 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
52096 if test "x$ac_cv_func__atan2l" = xyes; then :
52097 cat >>confdefs.h <<_ACEOF
52098 #define HAVE__ATAN2L 1
52099 _ACEOF
52102 done
52111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
52112 $as_echo_n "checking for expl declaration... " >&6; }
52113 if test x${glibcxx_cv_func_expl_use+set} != xset; then
52114 if ${glibcxx_cv_func_expl_use+:} false; then :
52115 $as_echo_n "(cached) " >&6
52116 else
52119 ac_ext=cpp
52120 ac_cpp='$CXXCPP $CPPFLAGS'
52121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52126 /* end confdefs.h. */
52127 #include <math.h>
52128 #ifdef HAVE_IEEEFP_H
52129 #include <ieeefp.h>
52130 #endif
52133 main ()
52135 expl(0);
52137 return 0;
52139 _ACEOF
52140 if ac_fn_cxx_try_compile "$LINENO"; then :
52141 glibcxx_cv_func_expl_use=yes
52142 else
52143 glibcxx_cv_func_expl_use=no
52145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52146 ac_ext=c
52147 ac_cpp='$CPP $CPPFLAGS'
52148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
52157 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
52159 if test x$glibcxx_cv_func_expl_use = x"yes"; then
52160 for ac_func in expl
52161 do :
52162 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
52163 if test "x$ac_cv_func_expl" = xyes; then :
52164 cat >>confdefs.h <<_ACEOF
52165 #define HAVE_EXPL 1
52166 _ACEOF
52169 done
52171 else
52173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
52174 $as_echo_n "checking for _expl declaration... " >&6; }
52175 if test x${glibcxx_cv_func__expl_use+set} != xset; then
52176 if ${glibcxx_cv_func__expl_use+:} false; then :
52177 $as_echo_n "(cached) " >&6
52178 else
52181 ac_ext=cpp
52182 ac_cpp='$CXXCPP $CPPFLAGS'
52183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52188 /* end confdefs.h. */
52189 #include <math.h>
52190 #ifdef HAVE_IEEEFP_H
52191 #include <ieeefp.h>
52192 #endif
52195 main ()
52197 _expl(0);
52199 return 0;
52201 _ACEOF
52202 if ac_fn_cxx_try_compile "$LINENO"; then :
52203 glibcxx_cv_func__expl_use=yes
52204 else
52205 glibcxx_cv_func__expl_use=no
52207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52208 ac_ext=c
52209 ac_cpp='$CPP $CPPFLAGS'
52210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
52219 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
52221 if test x$glibcxx_cv_func__expl_use = x"yes"; then
52222 for ac_func in _expl
52223 do :
52224 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
52225 if test "x$ac_cv_func__expl" = xyes; then :
52226 cat >>confdefs.h <<_ACEOF
52227 #define HAVE__EXPL 1
52228 _ACEOF
52231 done
52240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
52241 $as_echo_n "checking for fabsl declaration... " >&6; }
52242 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
52243 if ${glibcxx_cv_func_fabsl_use+:} false; then :
52244 $as_echo_n "(cached) " >&6
52245 else
52248 ac_ext=cpp
52249 ac_cpp='$CXXCPP $CPPFLAGS'
52250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52255 /* end confdefs.h. */
52256 #include <math.h>
52257 #ifdef HAVE_IEEEFP_H
52258 #include <ieeefp.h>
52259 #endif
52262 main ()
52264 fabsl(0);
52266 return 0;
52268 _ACEOF
52269 if ac_fn_cxx_try_compile "$LINENO"; then :
52270 glibcxx_cv_func_fabsl_use=yes
52271 else
52272 glibcxx_cv_func_fabsl_use=no
52274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52275 ac_ext=c
52276 ac_cpp='$CPP $CPPFLAGS'
52277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
52286 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
52288 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
52289 for ac_func in fabsl
52290 do :
52291 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
52292 if test "x$ac_cv_func_fabsl" = xyes; then :
52293 cat >>confdefs.h <<_ACEOF
52294 #define HAVE_FABSL 1
52295 _ACEOF
52298 done
52300 else
52302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
52303 $as_echo_n "checking for _fabsl declaration... " >&6; }
52304 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
52305 if ${glibcxx_cv_func__fabsl_use+:} false; then :
52306 $as_echo_n "(cached) " >&6
52307 else
52310 ac_ext=cpp
52311 ac_cpp='$CXXCPP $CPPFLAGS'
52312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52317 /* end confdefs.h. */
52318 #include <math.h>
52319 #ifdef HAVE_IEEEFP_H
52320 #include <ieeefp.h>
52321 #endif
52324 main ()
52326 _fabsl(0);
52328 return 0;
52330 _ACEOF
52331 if ac_fn_cxx_try_compile "$LINENO"; then :
52332 glibcxx_cv_func__fabsl_use=yes
52333 else
52334 glibcxx_cv_func__fabsl_use=no
52336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52337 ac_ext=c
52338 ac_cpp='$CPP $CPPFLAGS'
52339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
52348 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
52350 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
52351 for ac_func in _fabsl
52352 do :
52353 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
52354 if test "x$ac_cv_func__fabsl" = xyes; then :
52355 cat >>confdefs.h <<_ACEOF
52356 #define HAVE__FABSL 1
52357 _ACEOF
52360 done
52369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
52370 $as_echo_n "checking for fmodl declaration... " >&6; }
52371 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
52372 if ${glibcxx_cv_func_fmodl_use+:} false; then :
52373 $as_echo_n "(cached) " >&6
52374 else
52377 ac_ext=cpp
52378 ac_cpp='$CXXCPP $CPPFLAGS'
52379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52384 /* end confdefs.h. */
52385 #include <math.h>
52387 main ()
52389 fmodl(0, 0);
52391 return 0;
52393 _ACEOF
52394 if ac_fn_cxx_try_compile "$LINENO"; then :
52395 glibcxx_cv_func_fmodl_use=yes
52396 else
52397 glibcxx_cv_func_fmodl_use=no
52399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52400 ac_ext=c
52401 ac_cpp='$CPP $CPPFLAGS'
52402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
52411 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
52413 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
52414 for ac_func in fmodl
52415 do :
52416 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
52417 if test "x$ac_cv_func_fmodl" = xyes; then :
52418 cat >>confdefs.h <<_ACEOF
52419 #define HAVE_FMODL 1
52420 _ACEOF
52423 done
52425 else
52427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
52428 $as_echo_n "checking for _fmodl declaration... " >&6; }
52429 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
52430 if ${glibcxx_cv_func__fmodl_use+:} false; then :
52431 $as_echo_n "(cached) " >&6
52432 else
52435 ac_ext=cpp
52436 ac_cpp='$CXXCPP $CPPFLAGS'
52437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52442 /* end confdefs.h. */
52443 #include <math.h>
52445 main ()
52447 _fmodl(0, 0);
52449 return 0;
52451 _ACEOF
52452 if ac_fn_cxx_try_compile "$LINENO"; then :
52453 glibcxx_cv_func__fmodl_use=yes
52454 else
52455 glibcxx_cv_func__fmodl_use=no
52457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52458 ac_ext=c
52459 ac_cpp='$CPP $CPPFLAGS'
52460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
52469 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
52471 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
52472 for ac_func in _fmodl
52473 do :
52474 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
52475 if test "x$ac_cv_func__fmodl" = xyes; then :
52476 cat >>confdefs.h <<_ACEOF
52477 #define HAVE__FMODL 1
52478 _ACEOF
52481 done
52490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
52491 $as_echo_n "checking for frexpl declaration... " >&6; }
52492 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
52493 if ${glibcxx_cv_func_frexpl_use+:} false; then :
52494 $as_echo_n "(cached) " >&6
52495 else
52498 ac_ext=cpp
52499 ac_cpp='$CXXCPP $CPPFLAGS'
52500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52505 /* end confdefs.h. */
52506 #include <math.h>
52508 main ()
52510 frexpl(0, 0);
52512 return 0;
52514 _ACEOF
52515 if ac_fn_cxx_try_compile "$LINENO"; then :
52516 glibcxx_cv_func_frexpl_use=yes
52517 else
52518 glibcxx_cv_func_frexpl_use=no
52520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52521 ac_ext=c
52522 ac_cpp='$CPP $CPPFLAGS'
52523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
52532 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
52534 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
52535 for ac_func in frexpl
52536 do :
52537 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
52538 if test "x$ac_cv_func_frexpl" = xyes; then :
52539 cat >>confdefs.h <<_ACEOF
52540 #define HAVE_FREXPL 1
52541 _ACEOF
52544 done
52546 else
52548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
52549 $as_echo_n "checking for _frexpl declaration... " >&6; }
52550 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
52551 if ${glibcxx_cv_func__frexpl_use+:} false; then :
52552 $as_echo_n "(cached) " >&6
52553 else
52556 ac_ext=cpp
52557 ac_cpp='$CXXCPP $CPPFLAGS'
52558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52563 /* end confdefs.h. */
52564 #include <math.h>
52566 main ()
52568 _frexpl(0, 0);
52570 return 0;
52572 _ACEOF
52573 if ac_fn_cxx_try_compile "$LINENO"; then :
52574 glibcxx_cv_func__frexpl_use=yes
52575 else
52576 glibcxx_cv_func__frexpl_use=no
52578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52579 ac_ext=c
52580 ac_cpp='$CPP $CPPFLAGS'
52581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
52590 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
52592 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
52593 for ac_func in _frexpl
52594 do :
52595 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
52596 if test "x$ac_cv_func__frexpl" = xyes; then :
52597 cat >>confdefs.h <<_ACEOF
52598 #define HAVE__FREXPL 1
52599 _ACEOF
52602 done
52611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
52612 $as_echo_n "checking for hypotl declaration... " >&6; }
52613 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
52614 if ${glibcxx_cv_func_hypotl_use+:} false; then :
52615 $as_echo_n "(cached) " >&6
52616 else
52619 ac_ext=cpp
52620 ac_cpp='$CXXCPP $CPPFLAGS'
52621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52626 /* end confdefs.h. */
52627 #include <math.h>
52629 main ()
52631 hypotl(0, 0);
52633 return 0;
52635 _ACEOF
52636 if ac_fn_cxx_try_compile "$LINENO"; then :
52637 glibcxx_cv_func_hypotl_use=yes
52638 else
52639 glibcxx_cv_func_hypotl_use=no
52641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52642 ac_ext=c
52643 ac_cpp='$CPP $CPPFLAGS'
52644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
52653 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
52655 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
52656 for ac_func in hypotl
52657 do :
52658 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
52659 if test "x$ac_cv_func_hypotl" = xyes; then :
52660 cat >>confdefs.h <<_ACEOF
52661 #define HAVE_HYPOTL 1
52662 _ACEOF
52665 done
52667 else
52669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
52670 $as_echo_n "checking for _hypotl declaration... " >&6; }
52671 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
52672 if ${glibcxx_cv_func__hypotl_use+:} false; then :
52673 $as_echo_n "(cached) " >&6
52674 else
52677 ac_ext=cpp
52678 ac_cpp='$CXXCPP $CPPFLAGS'
52679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52684 /* end confdefs.h. */
52685 #include <math.h>
52687 main ()
52689 _hypotl(0, 0);
52691 return 0;
52693 _ACEOF
52694 if ac_fn_cxx_try_compile "$LINENO"; then :
52695 glibcxx_cv_func__hypotl_use=yes
52696 else
52697 glibcxx_cv_func__hypotl_use=no
52699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52700 ac_ext=c
52701 ac_cpp='$CPP $CPPFLAGS'
52702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
52711 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
52713 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
52714 for ac_func in _hypotl
52715 do :
52716 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
52717 if test "x$ac_cv_func__hypotl" = xyes; then :
52718 cat >>confdefs.h <<_ACEOF
52719 #define HAVE__HYPOTL 1
52720 _ACEOF
52723 done
52732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
52733 $as_echo_n "checking for ldexpl declaration... " >&6; }
52734 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
52735 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
52736 $as_echo_n "(cached) " >&6
52737 else
52740 ac_ext=cpp
52741 ac_cpp='$CXXCPP $CPPFLAGS'
52742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52747 /* end confdefs.h. */
52748 #include <math.h>
52750 main ()
52752 ldexpl(0, 0);
52754 return 0;
52756 _ACEOF
52757 if ac_fn_cxx_try_compile "$LINENO"; then :
52758 glibcxx_cv_func_ldexpl_use=yes
52759 else
52760 glibcxx_cv_func_ldexpl_use=no
52762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52763 ac_ext=c
52764 ac_cpp='$CPP $CPPFLAGS'
52765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
52774 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
52776 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
52777 for ac_func in ldexpl
52778 do :
52779 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
52780 if test "x$ac_cv_func_ldexpl" = xyes; then :
52781 cat >>confdefs.h <<_ACEOF
52782 #define HAVE_LDEXPL 1
52783 _ACEOF
52786 done
52788 else
52790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
52791 $as_echo_n "checking for _ldexpl declaration... " >&6; }
52792 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
52793 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
52794 $as_echo_n "(cached) " >&6
52795 else
52798 ac_ext=cpp
52799 ac_cpp='$CXXCPP $CPPFLAGS'
52800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52805 /* end confdefs.h. */
52806 #include <math.h>
52808 main ()
52810 _ldexpl(0, 0);
52812 return 0;
52814 _ACEOF
52815 if ac_fn_cxx_try_compile "$LINENO"; then :
52816 glibcxx_cv_func__ldexpl_use=yes
52817 else
52818 glibcxx_cv_func__ldexpl_use=no
52820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52821 ac_ext=c
52822 ac_cpp='$CPP $CPPFLAGS'
52823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
52832 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
52834 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
52835 for ac_func in _ldexpl
52836 do :
52837 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
52838 if test "x$ac_cv_func__ldexpl" = xyes; then :
52839 cat >>confdefs.h <<_ACEOF
52840 #define HAVE__LDEXPL 1
52841 _ACEOF
52844 done
52853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
52854 $as_echo_n "checking for logl declaration... " >&6; }
52855 if test x${glibcxx_cv_func_logl_use+set} != xset; then
52856 if ${glibcxx_cv_func_logl_use+:} false; then :
52857 $as_echo_n "(cached) " >&6
52858 else
52861 ac_ext=cpp
52862 ac_cpp='$CXXCPP $CPPFLAGS'
52863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52868 /* end confdefs.h. */
52869 #include <math.h>
52870 #ifdef HAVE_IEEEFP_H
52871 #include <ieeefp.h>
52872 #endif
52875 main ()
52877 logl(0);
52879 return 0;
52881 _ACEOF
52882 if ac_fn_cxx_try_compile "$LINENO"; then :
52883 glibcxx_cv_func_logl_use=yes
52884 else
52885 glibcxx_cv_func_logl_use=no
52887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52888 ac_ext=c
52889 ac_cpp='$CPP $CPPFLAGS'
52890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
52899 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
52901 if test x$glibcxx_cv_func_logl_use = x"yes"; then
52902 for ac_func in logl
52903 do :
52904 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
52905 if test "x$ac_cv_func_logl" = xyes; then :
52906 cat >>confdefs.h <<_ACEOF
52907 #define HAVE_LOGL 1
52908 _ACEOF
52911 done
52913 else
52915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
52916 $as_echo_n "checking for _logl declaration... " >&6; }
52917 if test x${glibcxx_cv_func__logl_use+set} != xset; then
52918 if ${glibcxx_cv_func__logl_use+:} false; then :
52919 $as_echo_n "(cached) " >&6
52920 else
52923 ac_ext=cpp
52924 ac_cpp='$CXXCPP $CPPFLAGS'
52925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52930 /* end confdefs.h. */
52931 #include <math.h>
52932 #ifdef HAVE_IEEEFP_H
52933 #include <ieeefp.h>
52934 #endif
52937 main ()
52939 _logl(0);
52941 return 0;
52943 _ACEOF
52944 if ac_fn_cxx_try_compile "$LINENO"; then :
52945 glibcxx_cv_func__logl_use=yes
52946 else
52947 glibcxx_cv_func__logl_use=no
52949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52950 ac_ext=c
52951 ac_cpp='$CPP $CPPFLAGS'
52952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
52961 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
52963 if test x$glibcxx_cv_func__logl_use = x"yes"; then
52964 for ac_func in _logl
52965 do :
52966 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
52967 if test "x$ac_cv_func__logl" = xyes; then :
52968 cat >>confdefs.h <<_ACEOF
52969 #define HAVE__LOGL 1
52970 _ACEOF
52973 done
52982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
52983 $as_echo_n "checking for log10l declaration... " >&6; }
52984 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
52985 if ${glibcxx_cv_func_log10l_use+:} false; then :
52986 $as_echo_n "(cached) " >&6
52987 else
52990 ac_ext=cpp
52991 ac_cpp='$CXXCPP $CPPFLAGS'
52992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52997 /* end confdefs.h. */
52998 #include <math.h>
52999 #ifdef HAVE_IEEEFP_H
53000 #include <ieeefp.h>
53001 #endif
53004 main ()
53006 log10l(0);
53008 return 0;
53010 _ACEOF
53011 if ac_fn_cxx_try_compile "$LINENO"; then :
53012 glibcxx_cv_func_log10l_use=yes
53013 else
53014 glibcxx_cv_func_log10l_use=no
53016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53017 ac_ext=c
53018 ac_cpp='$CPP $CPPFLAGS'
53019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
53028 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
53030 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
53031 for ac_func in log10l
53032 do :
53033 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
53034 if test "x$ac_cv_func_log10l" = xyes; then :
53035 cat >>confdefs.h <<_ACEOF
53036 #define HAVE_LOG10L 1
53037 _ACEOF
53040 done
53042 else
53044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
53045 $as_echo_n "checking for _log10l declaration... " >&6; }
53046 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
53047 if ${glibcxx_cv_func__log10l_use+:} false; then :
53048 $as_echo_n "(cached) " >&6
53049 else
53052 ac_ext=cpp
53053 ac_cpp='$CXXCPP $CPPFLAGS'
53054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53059 /* end confdefs.h. */
53060 #include <math.h>
53061 #ifdef HAVE_IEEEFP_H
53062 #include <ieeefp.h>
53063 #endif
53066 main ()
53068 _log10l(0);
53070 return 0;
53072 _ACEOF
53073 if ac_fn_cxx_try_compile "$LINENO"; then :
53074 glibcxx_cv_func__log10l_use=yes
53075 else
53076 glibcxx_cv_func__log10l_use=no
53078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53079 ac_ext=c
53080 ac_cpp='$CPP $CPPFLAGS'
53081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
53090 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
53092 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
53093 for ac_func in _log10l
53094 do :
53095 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
53096 if test "x$ac_cv_func__log10l" = xyes; then :
53097 cat >>confdefs.h <<_ACEOF
53098 #define HAVE__LOG10L 1
53099 _ACEOF
53102 done
53111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
53112 $as_echo_n "checking for modfl declaration... " >&6; }
53113 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
53114 if ${glibcxx_cv_func_modfl_use+:} false; then :
53115 $as_echo_n "(cached) " >&6
53116 else
53119 ac_ext=cpp
53120 ac_cpp='$CXXCPP $CPPFLAGS'
53121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53126 /* end confdefs.h. */
53127 #include <math.h>
53129 main ()
53131 modfl(0, 0);
53133 return 0;
53135 _ACEOF
53136 if ac_fn_cxx_try_compile "$LINENO"; then :
53137 glibcxx_cv_func_modfl_use=yes
53138 else
53139 glibcxx_cv_func_modfl_use=no
53141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53142 ac_ext=c
53143 ac_cpp='$CPP $CPPFLAGS'
53144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
53153 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
53155 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
53156 for ac_func in modfl
53157 do :
53158 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
53159 if test "x$ac_cv_func_modfl" = xyes; then :
53160 cat >>confdefs.h <<_ACEOF
53161 #define HAVE_MODFL 1
53162 _ACEOF
53165 done
53167 else
53169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
53170 $as_echo_n "checking for _modfl declaration... " >&6; }
53171 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
53172 if ${glibcxx_cv_func__modfl_use+:} false; then :
53173 $as_echo_n "(cached) " >&6
53174 else
53177 ac_ext=cpp
53178 ac_cpp='$CXXCPP $CPPFLAGS'
53179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53184 /* end confdefs.h. */
53185 #include <math.h>
53187 main ()
53189 _modfl(0, 0);
53191 return 0;
53193 _ACEOF
53194 if ac_fn_cxx_try_compile "$LINENO"; then :
53195 glibcxx_cv_func__modfl_use=yes
53196 else
53197 glibcxx_cv_func__modfl_use=no
53199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53200 ac_ext=c
53201 ac_cpp='$CPP $CPPFLAGS'
53202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
53211 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
53213 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
53214 for ac_func in _modfl
53215 do :
53216 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
53217 if test "x$ac_cv_func__modfl" = xyes; then :
53218 cat >>confdefs.h <<_ACEOF
53219 #define HAVE__MODFL 1
53220 _ACEOF
53223 done
53232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
53233 $as_echo_n "checking for powl declaration... " >&6; }
53234 if test x${glibcxx_cv_func_powl_use+set} != xset; then
53235 if ${glibcxx_cv_func_powl_use+:} false; then :
53236 $as_echo_n "(cached) " >&6
53237 else
53240 ac_ext=cpp
53241 ac_cpp='$CXXCPP $CPPFLAGS'
53242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53247 /* end confdefs.h. */
53248 #include <math.h>
53250 main ()
53252 powl(0, 0);
53254 return 0;
53256 _ACEOF
53257 if ac_fn_cxx_try_compile "$LINENO"; then :
53258 glibcxx_cv_func_powl_use=yes
53259 else
53260 glibcxx_cv_func_powl_use=no
53262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53263 ac_ext=c
53264 ac_cpp='$CPP $CPPFLAGS'
53265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
53274 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
53276 if test x$glibcxx_cv_func_powl_use = x"yes"; then
53277 for ac_func in powl
53278 do :
53279 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
53280 if test "x$ac_cv_func_powl" = xyes; then :
53281 cat >>confdefs.h <<_ACEOF
53282 #define HAVE_POWL 1
53283 _ACEOF
53286 done
53288 else
53290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
53291 $as_echo_n "checking for _powl declaration... " >&6; }
53292 if test x${glibcxx_cv_func__powl_use+set} != xset; then
53293 if ${glibcxx_cv_func__powl_use+:} false; then :
53294 $as_echo_n "(cached) " >&6
53295 else
53298 ac_ext=cpp
53299 ac_cpp='$CXXCPP $CPPFLAGS'
53300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53305 /* end confdefs.h. */
53306 #include <math.h>
53308 main ()
53310 _powl(0, 0);
53312 return 0;
53314 _ACEOF
53315 if ac_fn_cxx_try_compile "$LINENO"; then :
53316 glibcxx_cv_func__powl_use=yes
53317 else
53318 glibcxx_cv_func__powl_use=no
53320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53321 ac_ext=c
53322 ac_cpp='$CPP $CPPFLAGS'
53323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
53332 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
53334 if test x$glibcxx_cv_func__powl_use = x"yes"; then
53335 for ac_func in _powl
53336 do :
53337 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
53338 if test "x$ac_cv_func__powl" = xyes; then :
53339 cat >>confdefs.h <<_ACEOF
53340 #define HAVE__POWL 1
53341 _ACEOF
53344 done
53353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
53354 $as_echo_n "checking for sqrtl declaration... " >&6; }
53355 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
53356 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
53357 $as_echo_n "(cached) " >&6
53358 else
53361 ac_ext=cpp
53362 ac_cpp='$CXXCPP $CPPFLAGS'
53363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53368 /* end confdefs.h. */
53369 #include <math.h>
53370 #ifdef HAVE_IEEEFP_H
53371 #include <ieeefp.h>
53372 #endif
53375 main ()
53377 sqrtl(0);
53379 return 0;
53381 _ACEOF
53382 if ac_fn_cxx_try_compile "$LINENO"; then :
53383 glibcxx_cv_func_sqrtl_use=yes
53384 else
53385 glibcxx_cv_func_sqrtl_use=no
53387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53388 ac_ext=c
53389 ac_cpp='$CPP $CPPFLAGS'
53390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
53399 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
53401 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
53402 for ac_func in sqrtl
53403 do :
53404 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
53405 if test "x$ac_cv_func_sqrtl" = xyes; then :
53406 cat >>confdefs.h <<_ACEOF
53407 #define HAVE_SQRTL 1
53408 _ACEOF
53411 done
53413 else
53415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
53416 $as_echo_n "checking for _sqrtl declaration... " >&6; }
53417 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
53418 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
53419 $as_echo_n "(cached) " >&6
53420 else
53423 ac_ext=cpp
53424 ac_cpp='$CXXCPP $CPPFLAGS'
53425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53430 /* end confdefs.h. */
53431 #include <math.h>
53432 #ifdef HAVE_IEEEFP_H
53433 #include <ieeefp.h>
53434 #endif
53437 main ()
53439 _sqrtl(0);
53441 return 0;
53443 _ACEOF
53444 if ac_fn_cxx_try_compile "$LINENO"; then :
53445 glibcxx_cv_func__sqrtl_use=yes
53446 else
53447 glibcxx_cv_func__sqrtl_use=no
53449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53450 ac_ext=c
53451 ac_cpp='$CPP $CPPFLAGS'
53452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
53461 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
53463 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
53464 for ac_func in _sqrtl
53465 do :
53466 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
53467 if test "x$ac_cv_func__sqrtl" = xyes; then :
53468 cat >>confdefs.h <<_ACEOF
53469 #define HAVE__SQRTL 1
53470 _ACEOF
53473 done
53482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
53483 $as_echo_n "checking for sincosl declaration... " >&6; }
53484 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
53485 if ${glibcxx_cv_func_sincosl_use+:} false; then :
53486 $as_echo_n "(cached) " >&6
53487 else
53490 ac_ext=cpp
53491 ac_cpp='$CXXCPP $CPPFLAGS'
53492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53497 /* end confdefs.h. */
53498 #include <math.h>
53500 main ()
53502 sincosl(0, 0, 0);
53504 return 0;
53506 _ACEOF
53507 if ac_fn_cxx_try_compile "$LINENO"; then :
53508 glibcxx_cv_func_sincosl_use=yes
53509 else
53510 glibcxx_cv_func_sincosl_use=no
53512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53513 ac_ext=c
53514 ac_cpp='$CPP $CPPFLAGS'
53515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
53524 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
53526 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
53527 for ac_func in sincosl
53528 do :
53529 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
53530 if test "x$ac_cv_func_sincosl" = xyes; then :
53531 cat >>confdefs.h <<_ACEOF
53532 #define HAVE_SINCOSL 1
53533 _ACEOF
53536 done
53538 else
53540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
53541 $as_echo_n "checking for _sincosl declaration... " >&6; }
53542 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
53543 if ${glibcxx_cv_func__sincosl_use+:} false; then :
53544 $as_echo_n "(cached) " >&6
53545 else
53548 ac_ext=cpp
53549 ac_cpp='$CXXCPP $CPPFLAGS'
53550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53555 /* end confdefs.h. */
53556 #include <math.h>
53558 main ()
53560 _sincosl(0, 0, 0);
53562 return 0;
53564 _ACEOF
53565 if ac_fn_cxx_try_compile "$LINENO"; then :
53566 glibcxx_cv_func__sincosl_use=yes
53567 else
53568 glibcxx_cv_func__sincosl_use=no
53570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53571 ac_ext=c
53572 ac_cpp='$CPP $CPPFLAGS'
53573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
53582 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
53584 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
53585 for ac_func in _sincosl
53586 do :
53587 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
53588 if test "x$ac_cv_func__sincosl" = xyes; then :
53589 cat >>confdefs.h <<_ACEOF
53590 #define HAVE__SINCOSL 1
53591 _ACEOF
53594 done
53603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
53604 $as_echo_n "checking for finitel declaration... " >&6; }
53605 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
53606 if ${glibcxx_cv_func_finitel_use+:} false; then :
53607 $as_echo_n "(cached) " >&6
53608 else
53611 ac_ext=cpp
53612 ac_cpp='$CXXCPP $CPPFLAGS'
53613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53618 /* end confdefs.h. */
53619 #include <math.h>
53620 #ifdef HAVE_IEEEFP_H
53621 #include <ieeefp.h>
53622 #endif
53625 main ()
53627 finitel(0);
53629 return 0;
53631 _ACEOF
53632 if ac_fn_cxx_try_compile "$LINENO"; then :
53633 glibcxx_cv_func_finitel_use=yes
53634 else
53635 glibcxx_cv_func_finitel_use=no
53637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53638 ac_ext=c
53639 ac_cpp='$CPP $CPPFLAGS'
53640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
53649 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
53651 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
53652 for ac_func in finitel
53653 do :
53654 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
53655 if test "x$ac_cv_func_finitel" = xyes; then :
53656 cat >>confdefs.h <<_ACEOF
53657 #define HAVE_FINITEL 1
53658 _ACEOF
53661 done
53663 else
53665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
53666 $as_echo_n "checking for _finitel declaration... " >&6; }
53667 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
53668 if ${glibcxx_cv_func__finitel_use+:} false; then :
53669 $as_echo_n "(cached) " >&6
53670 else
53673 ac_ext=cpp
53674 ac_cpp='$CXXCPP $CPPFLAGS'
53675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53680 /* end confdefs.h. */
53681 #include <math.h>
53682 #ifdef HAVE_IEEEFP_H
53683 #include <ieeefp.h>
53684 #endif
53687 main ()
53689 _finitel(0);
53691 return 0;
53693 _ACEOF
53694 if ac_fn_cxx_try_compile "$LINENO"; then :
53695 glibcxx_cv_func__finitel_use=yes
53696 else
53697 glibcxx_cv_func__finitel_use=no
53699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53700 ac_ext=c
53701 ac_cpp='$CPP $CPPFLAGS'
53702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
53711 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
53713 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
53714 for ac_func in _finitel
53715 do :
53716 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
53717 if test "x$ac_cv_func__finitel" = xyes; then :
53718 cat >>confdefs.h <<_ACEOF
53719 #define HAVE__FINITEL 1
53720 _ACEOF
53723 done
53731 LIBS="$ac_save_LIBS"
53732 CXXFLAGS="$ac_save_CXXFLAGS"
53735 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53736 ac_save_CXXFLAGS="$CXXFLAGS"
53737 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
53741 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
53742 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
53743 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
53744 $as_echo_n "(cached) " >&6
53745 else
53748 ac_ext=cpp
53749 ac_cpp='$CXXCPP $CPPFLAGS'
53750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53755 /* end confdefs.h. */
53756 #include <stdlib.h>
53758 main ()
53760 at_quick_exit(0);
53762 return 0;
53764 _ACEOF
53765 if ac_fn_cxx_try_compile "$LINENO"; then :
53766 glibcxx_cv_func_at_quick_exit_use=yes
53767 else
53768 glibcxx_cv_func_at_quick_exit_use=no
53770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53771 ac_ext=c
53772 ac_cpp='$CPP $CPPFLAGS'
53773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
53782 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
53783 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
53784 for ac_func in at_quick_exit
53785 do :
53786 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
53787 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
53788 cat >>confdefs.h <<_ACEOF
53789 #define HAVE_AT_QUICK_EXIT 1
53790 _ACEOF
53793 done
53798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
53799 $as_echo_n "checking for quick_exit declaration... " >&6; }
53800 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
53801 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
53802 $as_echo_n "(cached) " >&6
53803 else
53806 ac_ext=cpp
53807 ac_cpp='$CXXCPP $CPPFLAGS'
53808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53813 /* end confdefs.h. */
53814 #include <stdlib.h>
53816 main ()
53818 quick_exit(0);
53820 return 0;
53822 _ACEOF
53823 if ac_fn_cxx_try_compile "$LINENO"; then :
53824 glibcxx_cv_func_quick_exit_use=yes
53825 else
53826 glibcxx_cv_func_quick_exit_use=no
53828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53829 ac_ext=c
53830 ac_cpp='$CPP $CPPFLAGS'
53831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
53840 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
53841 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
53842 for ac_func in quick_exit
53843 do :
53844 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
53845 if test "x$ac_cv_func_quick_exit" = xyes; then :
53846 cat >>confdefs.h <<_ACEOF
53847 #define HAVE_QUICK_EXIT 1
53848 _ACEOF
53851 done
53856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
53857 $as_echo_n "checking for strtold declaration... " >&6; }
53858 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
53859 if ${glibcxx_cv_func_strtold_use+:} false; then :
53860 $as_echo_n "(cached) " >&6
53861 else
53864 ac_ext=cpp
53865 ac_cpp='$CXXCPP $CPPFLAGS'
53866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53871 /* end confdefs.h. */
53872 #include <stdlib.h>
53874 main ()
53876 strtold(0, 0);
53878 return 0;
53880 _ACEOF
53881 if ac_fn_cxx_try_compile "$LINENO"; then :
53882 glibcxx_cv_func_strtold_use=yes
53883 else
53884 glibcxx_cv_func_strtold_use=no
53886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53887 ac_ext=c
53888 ac_cpp='$CPP $CPPFLAGS'
53889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
53898 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
53899 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53900 for ac_func in strtold
53901 do :
53902 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
53903 if test "x$ac_cv_func_strtold" = xyes; then :
53904 cat >>confdefs.h <<_ACEOF
53905 #define HAVE_STRTOLD 1
53906 _ACEOF
53909 done
53916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
53917 $as_echo_n "checking for strtof declaration... " >&6; }
53918 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53919 if ${glibcxx_cv_func_strtof_use+:} false; then :
53920 $as_echo_n "(cached) " >&6
53921 else
53924 ac_ext=cpp
53925 ac_cpp='$CXXCPP $CPPFLAGS'
53926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53931 /* end confdefs.h. */
53932 #include <stdlib.h>
53934 main ()
53936 strtof(0, 0);
53938 return 0;
53940 _ACEOF
53941 if ac_fn_cxx_try_compile "$LINENO"; then :
53942 glibcxx_cv_func_strtof_use=yes
53943 else
53944 glibcxx_cv_func_strtof_use=no
53946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53947 ac_ext=c
53948 ac_cpp='$CPP $CPPFLAGS'
53949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
53958 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
53959 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53960 for ac_func in strtof
53961 do :
53962 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
53963 if test "x$ac_cv_func_strtof" = xyes; then :
53964 cat >>confdefs.h <<_ACEOF
53965 #define HAVE_STRTOF 1
53966 _ACEOF
53969 done
53976 CXXFLAGS="$ac_save_CXXFLAGS"
53978 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
53980 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
53984 # Check whether --enable-tls was given.
53985 if test "${enable_tls+set}" = set; then :
53986 enableval=$enable_tls;
53987 case "$enableval" in
53988 yes|no) ;;
53989 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53990 esac
53992 else
53993 enable_tls=yes
53997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53998 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53999 if ${gcc_cv_have_tls+:} false; then :
54000 $as_echo_n "(cached) " >&6
54001 else
54003 if test "$cross_compiling" = yes; then :
54004 if test x$gcc_no_link = xyes; then
54005 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54008 /* end confdefs.h. */
54009 __thread int a; int b; int main() { return a = b; }
54010 _ACEOF
54011 if ac_fn_c_try_link "$LINENO"; then :
54012 chktls_save_LDFLAGS="$LDFLAGS"
54013 case $host in
54014 *-*-linux*)
54015 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
54017 esac
54018 chktls_save_CFLAGS="$CFLAGS"
54019 CFLAGS="-fPIC $CFLAGS"
54020 if test x$gcc_no_link = xyes; then
54021 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54024 /* end confdefs.h. */
54025 int f() { return 0; }
54026 _ACEOF
54027 if ac_fn_c_try_link "$LINENO"; then :
54028 if test x$gcc_no_link = xyes; then
54029 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54032 /* end confdefs.h. */
54033 __thread int a; int b; int f() { return a = b; }
54034 _ACEOF
54035 if ac_fn_c_try_link "$LINENO"; then :
54036 gcc_cv_have_tls=yes
54037 else
54038 gcc_cv_have_tls=no
54040 rm -f core conftest.err conftest.$ac_objext \
54041 conftest$ac_exeext conftest.$ac_ext
54042 else
54043 gcc_cv_have_tls=yes
54045 rm -f core conftest.err conftest.$ac_objext \
54046 conftest$ac_exeext conftest.$ac_ext
54047 CFLAGS="$chktls_save_CFLAGS"
54048 LDFLAGS="$chktls_save_LDFLAGS"
54049 else
54050 gcc_cv_have_tls=no
54052 rm -f core conftest.err conftest.$ac_objext \
54053 conftest$ac_exeext conftest.$ac_ext
54056 else
54057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54058 /* end confdefs.h. */
54059 __thread int a; int b; int main() { return a = b; }
54060 _ACEOF
54061 if ac_fn_c_try_run "$LINENO"; then :
54062 chktls_save_LDFLAGS="$LDFLAGS"
54063 LDFLAGS="-static $LDFLAGS"
54064 if test x$gcc_no_link = xyes; then
54065 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54068 /* end confdefs.h. */
54069 int main() { return 0; }
54070 _ACEOF
54071 if ac_fn_c_try_link "$LINENO"; then :
54072 if test "$cross_compiling" = yes; then :
54073 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
54074 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
54075 as_fn_error $? "cannot run test program while cross compiling
54076 See \`config.log' for more details" "$LINENO" 5; }
54077 else
54078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54079 /* end confdefs.h. */
54080 __thread int a; int b; int main() { return a = b; }
54081 _ACEOF
54082 if ac_fn_c_try_run "$LINENO"; then :
54083 gcc_cv_have_tls=yes
54084 else
54085 gcc_cv_have_tls=no
54087 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54088 conftest.$ac_objext conftest.beam conftest.$ac_ext
54091 else
54092 gcc_cv_have_tls=yes
54094 rm -f core conftest.err conftest.$ac_objext \
54095 conftest$ac_exeext conftest.$ac_ext
54096 LDFLAGS="$chktls_save_LDFLAGS"
54097 if test $gcc_cv_have_tls = yes; then
54098 chktls_save_CFLAGS="$CFLAGS"
54099 thread_CFLAGS=failed
54100 for flag in '' '-pthread' '-lpthread'; do
54101 CFLAGS="$flag $chktls_save_CFLAGS"
54102 if test x$gcc_no_link = xyes; then
54103 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54106 /* end confdefs.h. */
54107 #include <pthread.h>
54108 void *g(void *d) { return NULL; }
54110 main ()
54112 pthread_t t; pthread_create(&t,NULL,g,NULL);
54114 return 0;
54116 _ACEOF
54117 if ac_fn_c_try_link "$LINENO"; then :
54118 thread_CFLAGS="$flag"
54120 rm -f core conftest.err conftest.$ac_objext \
54121 conftest$ac_exeext conftest.$ac_ext
54122 if test "X$thread_CFLAGS" != Xfailed; then
54123 break
54125 done
54126 CFLAGS="$chktls_save_CFLAGS"
54127 if test "X$thread_CFLAGS" != Xfailed; then
54128 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
54129 if test "$cross_compiling" = yes; then :
54130 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
54131 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
54132 as_fn_error $? "cannot run test program while cross compiling
54133 See \`config.log' for more details" "$LINENO" 5; }
54134 else
54135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54136 /* end confdefs.h. */
54137 #include <pthread.h>
54138 __thread int a;
54139 static int *volatile a_in_other_thread;
54140 static void *
54141 thread_func (void *arg)
54143 a_in_other_thread = &a;
54144 return (void *)0;
54147 main ()
54149 pthread_t thread;
54150 void *thread_retval;
54151 int *volatile a_in_main_thread;
54152 a_in_main_thread = &a;
54153 if (pthread_create (&thread, (pthread_attr_t *)0,
54154 thread_func, (void *)0))
54155 return 0;
54156 if (pthread_join (thread, &thread_retval))
54157 return 0;
54158 return (a_in_other_thread == a_in_main_thread);
54160 return 0;
54162 _ACEOF
54163 if ac_fn_c_try_run "$LINENO"; then :
54164 gcc_cv_have_tls=yes
54165 else
54166 gcc_cv_have_tls=no
54168 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54169 conftest.$ac_objext conftest.beam conftest.$ac_ext
54172 CFLAGS="$chktls_save_CFLAGS"
54175 else
54176 gcc_cv_have_tls=no
54178 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54179 conftest.$ac_objext conftest.beam conftest.$ac_ext
54183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
54184 $as_echo "$gcc_cv_have_tls" >&6; }
54185 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
54187 $as_echo "#define HAVE_TLS 1" >>confdefs.h
54190 for ac_func in __cxa_thread_atexit_impl
54191 do :
54192 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
54193 if test "x$ac_cv_func___cxa_thread_atexit_impl" = xyes; then :
54194 cat >>confdefs.h <<_ACEOF
54195 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
54196 _ACEOF
54199 done
54201 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
54202 do :
54203 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54204 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54205 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
54206 cat >>confdefs.h <<_ACEOF
54207 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54208 _ACEOF
54211 done
54213 for ac_func in timespec_get
54214 do :
54215 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
54216 if test "x$ac_cv_func_timespec_get" = xyes; then :
54217 cat >>confdefs.h <<_ACEOF
54218 #define HAVE_TIMESPEC_GET 1
54219 _ACEOF
54222 done
54224 for ac_func in sockatmark
54225 do :
54226 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
54227 if test "x$ac_cv_func_sockatmark" = xyes; then :
54228 cat >>confdefs.h <<_ACEOF
54229 #define HAVE_SOCKATMARK 1
54230 _ACEOF
54233 done
54240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
54241 $as_echo_n "checking for iconv... " >&6; }
54242 if ${am_cv_func_iconv+:} false; then :
54243 $as_echo_n "(cached) " >&6
54244 else
54246 am_cv_func_iconv="no, consider installing GNU libiconv"
54247 am_cv_lib_iconv=no
54248 am_save_CPPFLAGS="$CPPFLAGS"
54249 CPPFLAGS="$CPPFLAGS $INCICONV"
54250 if test x$gcc_no_link = xyes; then
54251 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54254 /* end confdefs.h. */
54255 #include <stdlib.h>
54256 #include <iconv.h>
54258 main ()
54260 iconv_t cd = iconv_open("","");
54261 iconv(cd,NULL,NULL,NULL,NULL);
54262 iconv_close(cd);
54264 return 0;
54266 _ACEOF
54267 if ac_fn_c_try_link "$LINENO"; then :
54268 am_cv_func_iconv=yes
54270 rm -f core conftest.err conftest.$ac_objext \
54271 conftest$ac_exeext conftest.$ac_ext
54272 CPPFLAGS="$am_save_CPPFLAGS"
54274 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
54275 for _libs in .libs _libs; do
54276 am_save_CPPFLAGS="$CPPFLAGS"
54277 am_save_LIBS="$LIBS"
54278 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
54279 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
54280 if test x$gcc_no_link = xyes; then
54281 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54284 /* end confdefs.h. */
54285 #include <stdlib.h>
54286 #include <iconv.h>
54288 main ()
54290 iconv_t cd = iconv_open("","");
54291 iconv(cd,NULL,NULL,NULL,NULL);
54292 iconv_close(cd);
54294 return 0;
54296 _ACEOF
54297 if ac_fn_c_try_link "$LINENO"; then :
54298 INCICONV="-I../libiconv/include"
54299 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
54300 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
54301 am_cv_lib_iconv=yes
54302 am_cv_func_iconv=yes
54304 rm -f core conftest.err conftest.$ac_objext \
54305 conftest$ac_exeext conftest.$ac_ext
54306 CPPFLAGS="$am_save_CPPFLAGS"
54307 LIBS="$am_save_LIBS"
54308 if test "$am_cv_func_iconv" = "yes"; then
54309 break
54311 done
54314 if test "$am_cv_func_iconv" != yes; then
54315 am_save_CPPFLAGS="$CPPFLAGS"
54316 am_save_LIBS="$LIBS"
54317 CPPFLAGS="$CPPFLAGS $INCICONV"
54318 LIBS="$LIBS $LIBICONV"
54319 if test x$gcc_no_link = xyes; then
54320 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54323 /* end confdefs.h. */
54324 #include <stdlib.h>
54325 #include <iconv.h>
54327 main ()
54329 iconv_t cd = iconv_open("","");
54330 iconv(cd,NULL,NULL,NULL,NULL);
54331 iconv_close(cd);
54333 return 0;
54335 _ACEOF
54336 if ac_fn_c_try_link "$LINENO"; then :
54337 am_cv_lib_iconv=yes
54338 am_cv_func_iconv=yes
54340 rm -f core conftest.err conftest.$ac_objext \
54341 conftest$ac_exeext conftest.$ac_ext
54342 CPPFLAGS="$am_save_CPPFLAGS"
54343 LIBS="$am_save_LIBS"
54347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
54348 $as_echo "$am_cv_func_iconv" >&6; }
54349 if test "$am_cv_func_iconv" = yes; then
54351 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
54354 if test "$am_cv_lib_iconv" = yes; then
54356 for element in $INCICONV; do
54357 haveit=
54358 for x in $CPPFLAGS; do
54360 acl_save_prefix="$prefix"
54361 prefix="$acl_final_prefix"
54362 acl_save_exec_prefix="$exec_prefix"
54363 exec_prefix="$acl_final_exec_prefix"
54364 eval x=\"$x\"
54365 exec_prefix="$acl_save_exec_prefix"
54366 prefix="$acl_save_prefix"
54368 if test "X$x" = "X$element"; then
54369 haveit=yes
54370 break
54372 done
54373 if test -z "$haveit"; then
54374 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
54376 done
54378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
54379 $as_echo_n "checking how to link with libiconv... " >&6; }
54380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
54381 $as_echo "$LIBICONV" >&6; }
54382 else
54383 LIBICONV=
54384 LTLIBICONV=
54389 if test "$am_cv_func_iconv" = yes; then
54390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
54391 $as_echo_n "checking for iconv declaration... " >&6; }
54392 if ${am_cv_proto_iconv+:} false; then :
54393 $as_echo_n "(cached) " >&6
54394 else
54396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54397 /* end confdefs.h. */
54399 #include <stdlib.h>
54400 #include <iconv.h>
54401 extern
54402 #ifdef __cplusplus
54404 #endif
54405 #if defined(__STDC__) || defined(__cplusplus)
54406 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
54407 #else
54408 size_t iconv();
54409 #endif
54412 main ()
54416 return 0;
54418 _ACEOF
54419 if ac_fn_c_try_compile "$LINENO"; then :
54420 am_cv_proto_iconv_arg1=""
54421 else
54422 am_cv_proto_iconv_arg1="const"
54424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54425 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);"
54428 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
54429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
54430 }$am_cv_proto_iconv" >&5
54431 $as_echo "${ac_t:-
54432 }$am_cv_proto_iconv" >&6; }
54434 cat >>confdefs.h <<_ACEOF
54435 #define ICONV_CONST $am_cv_proto_iconv_arg1
54436 _ACEOF
54441 *-mingw32*)
54443 # If we're not using GNU ld, then there's no point in even trying these
54444 # tests. Check for that first. We should have already tested for gld
54445 # by now (in libtool), but require it now just to be safe...
54446 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54447 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54451 # The name set by libtool depends on the version of libtool. Shame on us
54452 # for depending on an impl detail, but c'est la vie. Older versions used
54453 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54454 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54455 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
54456 # set (hence we're using an older libtool), then set it.
54457 if test x${with_gnu_ld+set} != xset; then
54458 if test x${ac_cv_prog_gnu_ld+set} != xset; then
54459 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
54460 with_gnu_ld=no
54461 else
54462 with_gnu_ld=$ac_cv_prog_gnu_ld
54466 # Start by getting the version number. I think the libtool test already
54467 # does some of this, but throws away the result.
54468 glibcxx_ld_is_gold=no
54469 if test x"$with_gnu_ld" = x"yes"; then
54470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
54471 $as_echo_n "checking for ld version... " >&6; }
54473 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
54474 glibcxx_ld_is_gold=yes
54476 ldver=`$LD --version 2>/dev/null |
54477 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
54479 glibcxx_gnu_ld_version=`echo $ldver | \
54480 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
54482 $as_echo "$glibcxx_gnu_ld_version" >&6; }
54485 # Set --gc-sections.
54486 glibcxx_have_gc_sections=no
54487 if test "$glibcxx_ld_is_gold" = "yes"; then
54488 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
54489 glibcxx_have_gc_sections=yes
54491 else
54492 glibcxx_gcsections_min_ld=21602
54493 if test x"$with_gnu_ld" = x"yes" &&
54494 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
54495 glibcxx_have_gc_sections=yes
54498 if test "$glibcxx_have_gc_sections" = "yes"; then
54499 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
54500 # NB: This flag only works reliably after 2.16.1. Configure tests
54501 # for this are difficult, so hard wire a value that should work.
54503 ac_test_CFLAGS="${CFLAGS+set}"
54504 ac_save_CFLAGS="$CFLAGS"
54505 CFLAGS='-Wl,--gc-sections'
54507 # Check for -Wl,--gc-sections
54508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
54509 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
54510 if test x$gcc_no_link = xyes; then
54511 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54514 /* end confdefs.h. */
54515 int one(void) { return 1; }
54516 int two(void) { return 2; }
54519 main ()
54521 two();
54523 return 0;
54525 _ACEOF
54526 if ac_fn_c_try_link "$LINENO"; then :
54527 ac_gcsections=yes
54528 else
54529 ac_gcsections=no
54531 rm -f core conftest.err conftest.$ac_objext \
54532 conftest$ac_exeext conftest.$ac_ext
54533 if test "$ac_gcsections" = "yes"; then
54534 rm -f conftest.c
54535 touch conftest.c
54536 if $CC -c conftest.c; then
54537 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
54538 grep "Warning: gc-sections option ignored" > /dev/null; then
54539 ac_gcsections=no
54542 rm -f conftest.c conftest.o conftest
54544 if test "$ac_gcsections" = "yes"; then
54545 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
54548 $as_echo "$ac_gcsections" >&6; }
54550 if test "$ac_test_CFLAGS" = set; then
54551 CFLAGS="$ac_save_CFLAGS"
54552 else
54553 # this is the suspicious part
54554 CFLAGS=''
54558 # Set -z,relro.
54559 # Note this is only for shared objects.
54560 ac_ld_relro=no
54561 if test x"$with_gnu_ld" = x"yes"; then
54562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
54563 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
54564 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
54565 if test -n "$cxx_z_relo"; then
54566 OPT_LDFLAGS="-Wl,-z,relro"
54567 ac_ld_relro=yes
54569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
54570 $as_echo "$ac_ld_relro" >&6; }
54573 # Set linker optimization flags.
54574 if test x"$with_gnu_ld" = x"yes"; then
54575 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54582 ac_test_CXXFLAGS="${CXXFLAGS+set}"
54583 ac_save_CXXFLAGS="$CXXFLAGS"
54584 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
54587 $as_echo_n "checking for sin in -lm... " >&6; }
54588 if ${ac_cv_lib_m_sin+:} false; then :
54589 $as_echo_n "(cached) " >&6
54590 else
54591 ac_check_lib_save_LIBS=$LIBS
54592 LIBS="-lm $LIBS"
54593 if test x$gcc_no_link = xyes; then
54594 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54597 /* end confdefs.h. */
54599 /* Override any GCC internal prototype to avoid an error.
54600 Use char because int might match the return type of a GCC
54601 builtin and then its argument prototype would still apply. */
54602 #ifdef __cplusplus
54603 extern "C"
54604 #endif
54605 char sin ();
54607 main ()
54609 return sin ();
54611 return 0;
54613 _ACEOF
54614 if ac_fn_c_try_link "$LINENO"; then :
54615 ac_cv_lib_m_sin=yes
54616 else
54617 ac_cv_lib_m_sin=no
54619 rm -f core conftest.err conftest.$ac_objext \
54620 conftest$ac_exeext conftest.$ac_ext
54621 LIBS=$ac_check_lib_save_LIBS
54623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
54624 $as_echo "$ac_cv_lib_m_sin" >&6; }
54625 if test "x$ac_cv_lib_m_sin" = xyes; then :
54626 libm="-lm"
54629 ac_save_LIBS="$LIBS"
54630 LIBS="$LIBS $libm"
54634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
54635 $as_echo_n "checking for isinf declaration... " >&6; }
54636 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54637 if ${glibcxx_cv_func_isinf_use+:} false; then :
54638 $as_echo_n "(cached) " >&6
54639 else
54642 ac_ext=cpp
54643 ac_cpp='$CXXCPP $CPPFLAGS'
54644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54649 /* end confdefs.h. */
54650 #include <math.h>
54651 #ifdef HAVE_IEEEFP_H
54652 #include <ieeefp.h>
54653 #endif
54656 main ()
54658 isinf(0);
54660 return 0;
54662 _ACEOF
54663 if ac_fn_cxx_try_compile "$LINENO"; then :
54664 glibcxx_cv_func_isinf_use=yes
54665 else
54666 glibcxx_cv_func_isinf_use=no
54668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54669 ac_ext=c
54670 ac_cpp='$CPP $CPPFLAGS'
54671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
54680 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
54682 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54683 for ac_func in isinf
54684 do :
54685 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
54686 if test "x$ac_cv_func_isinf" = xyes; then :
54687 cat >>confdefs.h <<_ACEOF
54688 #define HAVE_ISINF 1
54689 _ACEOF
54692 done
54694 else
54696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
54697 $as_echo_n "checking for _isinf declaration... " >&6; }
54698 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54699 if ${glibcxx_cv_func__isinf_use+:} false; then :
54700 $as_echo_n "(cached) " >&6
54701 else
54704 ac_ext=cpp
54705 ac_cpp='$CXXCPP $CPPFLAGS'
54706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54711 /* end confdefs.h. */
54712 #include <math.h>
54713 #ifdef HAVE_IEEEFP_H
54714 #include <ieeefp.h>
54715 #endif
54718 main ()
54720 _isinf(0);
54722 return 0;
54724 _ACEOF
54725 if ac_fn_cxx_try_compile "$LINENO"; then :
54726 glibcxx_cv_func__isinf_use=yes
54727 else
54728 glibcxx_cv_func__isinf_use=no
54730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54731 ac_ext=c
54732 ac_cpp='$CPP $CPPFLAGS'
54733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
54742 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
54744 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54745 for ac_func in _isinf
54746 do :
54747 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
54748 if test "x$ac_cv_func__isinf" = xyes; then :
54749 cat >>confdefs.h <<_ACEOF
54750 #define HAVE__ISINF 1
54751 _ACEOF
54754 done
54763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
54764 $as_echo_n "checking for isnan declaration... " >&6; }
54765 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54766 if ${glibcxx_cv_func_isnan_use+:} false; then :
54767 $as_echo_n "(cached) " >&6
54768 else
54771 ac_ext=cpp
54772 ac_cpp='$CXXCPP $CPPFLAGS'
54773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54778 /* end confdefs.h. */
54779 #include <math.h>
54780 #ifdef HAVE_IEEEFP_H
54781 #include <ieeefp.h>
54782 #endif
54785 main ()
54787 isnan(0);
54789 return 0;
54791 _ACEOF
54792 if ac_fn_cxx_try_compile "$LINENO"; then :
54793 glibcxx_cv_func_isnan_use=yes
54794 else
54795 glibcxx_cv_func_isnan_use=no
54797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54798 ac_ext=c
54799 ac_cpp='$CPP $CPPFLAGS'
54800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
54809 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
54811 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54812 for ac_func in isnan
54813 do :
54814 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
54815 if test "x$ac_cv_func_isnan" = xyes; then :
54816 cat >>confdefs.h <<_ACEOF
54817 #define HAVE_ISNAN 1
54818 _ACEOF
54821 done
54823 else
54825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
54826 $as_echo_n "checking for _isnan declaration... " >&6; }
54827 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54828 if ${glibcxx_cv_func__isnan_use+:} false; then :
54829 $as_echo_n "(cached) " >&6
54830 else
54833 ac_ext=cpp
54834 ac_cpp='$CXXCPP $CPPFLAGS'
54835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54840 /* end confdefs.h. */
54841 #include <math.h>
54842 #ifdef HAVE_IEEEFP_H
54843 #include <ieeefp.h>
54844 #endif
54847 main ()
54849 _isnan(0);
54851 return 0;
54853 _ACEOF
54854 if ac_fn_cxx_try_compile "$LINENO"; then :
54855 glibcxx_cv_func__isnan_use=yes
54856 else
54857 glibcxx_cv_func__isnan_use=no
54859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54860 ac_ext=c
54861 ac_cpp='$CPP $CPPFLAGS'
54862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54871 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54873 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54874 for ac_func in _isnan
54875 do :
54876 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54877 if test "x$ac_cv_func__isnan" = xyes; then :
54878 cat >>confdefs.h <<_ACEOF
54879 #define HAVE__ISNAN 1
54880 _ACEOF
54883 done
54892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54893 $as_echo_n "checking for finite declaration... " >&6; }
54894 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54895 if ${glibcxx_cv_func_finite_use+:} false; then :
54896 $as_echo_n "(cached) " >&6
54897 else
54900 ac_ext=cpp
54901 ac_cpp='$CXXCPP $CPPFLAGS'
54902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54907 /* end confdefs.h. */
54908 #include <math.h>
54909 #ifdef HAVE_IEEEFP_H
54910 #include <ieeefp.h>
54911 #endif
54914 main ()
54916 finite(0);
54918 return 0;
54920 _ACEOF
54921 if ac_fn_cxx_try_compile "$LINENO"; then :
54922 glibcxx_cv_func_finite_use=yes
54923 else
54924 glibcxx_cv_func_finite_use=no
54926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54927 ac_ext=c
54928 ac_cpp='$CPP $CPPFLAGS'
54929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54938 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
54940 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54941 for ac_func in finite
54942 do :
54943 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54944 if test "x$ac_cv_func_finite" = xyes; then :
54945 cat >>confdefs.h <<_ACEOF
54946 #define HAVE_FINITE 1
54947 _ACEOF
54950 done
54952 else
54954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54955 $as_echo_n "checking for _finite declaration... " >&6; }
54956 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54957 if ${glibcxx_cv_func__finite_use+:} false; then :
54958 $as_echo_n "(cached) " >&6
54959 else
54962 ac_ext=cpp
54963 ac_cpp='$CXXCPP $CPPFLAGS'
54964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54969 /* end confdefs.h. */
54970 #include <math.h>
54971 #ifdef HAVE_IEEEFP_H
54972 #include <ieeefp.h>
54973 #endif
54976 main ()
54978 _finite(0);
54980 return 0;
54982 _ACEOF
54983 if ac_fn_cxx_try_compile "$LINENO"; then :
54984 glibcxx_cv_func__finite_use=yes
54985 else
54986 glibcxx_cv_func__finite_use=no
54988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54989 ac_ext=c
54990 ac_cpp='$CPP $CPPFLAGS'
54991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
55000 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
55002 if test x$glibcxx_cv_func__finite_use = x"yes"; then
55003 for ac_func in _finite
55004 do :
55005 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
55006 if test "x$ac_cv_func__finite" = xyes; then :
55007 cat >>confdefs.h <<_ACEOF
55008 #define HAVE__FINITE 1
55009 _ACEOF
55012 done
55021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
55022 $as_echo_n "checking for sincos declaration... " >&6; }
55023 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
55024 if ${glibcxx_cv_func_sincos_use+:} false; then :
55025 $as_echo_n "(cached) " >&6
55026 else
55029 ac_ext=cpp
55030 ac_cpp='$CXXCPP $CPPFLAGS'
55031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55036 /* end confdefs.h. */
55037 #include <math.h>
55039 main ()
55041 sincos(0, 0, 0);
55043 return 0;
55045 _ACEOF
55046 if ac_fn_cxx_try_compile "$LINENO"; then :
55047 glibcxx_cv_func_sincos_use=yes
55048 else
55049 glibcxx_cv_func_sincos_use=no
55051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55052 ac_ext=c
55053 ac_cpp='$CPP $CPPFLAGS'
55054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
55063 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
55065 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
55066 for ac_func in sincos
55067 do :
55068 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
55069 if test "x$ac_cv_func_sincos" = xyes; then :
55070 cat >>confdefs.h <<_ACEOF
55071 #define HAVE_SINCOS 1
55072 _ACEOF
55075 done
55077 else
55079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
55080 $as_echo_n "checking for _sincos declaration... " >&6; }
55081 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
55082 if ${glibcxx_cv_func__sincos_use+:} false; then :
55083 $as_echo_n "(cached) " >&6
55084 else
55087 ac_ext=cpp
55088 ac_cpp='$CXXCPP $CPPFLAGS'
55089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55094 /* end confdefs.h. */
55095 #include <math.h>
55097 main ()
55099 _sincos(0, 0, 0);
55101 return 0;
55103 _ACEOF
55104 if ac_fn_cxx_try_compile "$LINENO"; then :
55105 glibcxx_cv_func__sincos_use=yes
55106 else
55107 glibcxx_cv_func__sincos_use=no
55109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55110 ac_ext=c
55111 ac_cpp='$CPP $CPPFLAGS'
55112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
55121 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
55123 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
55124 for ac_func in _sincos
55125 do :
55126 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
55127 if test "x$ac_cv_func__sincos" = xyes; then :
55128 cat >>confdefs.h <<_ACEOF
55129 #define HAVE__SINCOS 1
55130 _ACEOF
55133 done
55142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
55143 $as_echo_n "checking for fpclass declaration... " >&6; }
55144 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
55145 if ${glibcxx_cv_func_fpclass_use+:} false; then :
55146 $as_echo_n "(cached) " >&6
55147 else
55150 ac_ext=cpp
55151 ac_cpp='$CXXCPP $CPPFLAGS'
55152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55157 /* end confdefs.h. */
55158 #include <math.h>
55159 #ifdef HAVE_IEEEFP_H
55160 #include <ieeefp.h>
55161 #endif
55164 main ()
55166 fpclass(0);
55168 return 0;
55170 _ACEOF
55171 if ac_fn_cxx_try_compile "$LINENO"; then :
55172 glibcxx_cv_func_fpclass_use=yes
55173 else
55174 glibcxx_cv_func_fpclass_use=no
55176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55177 ac_ext=c
55178 ac_cpp='$CPP $CPPFLAGS'
55179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
55188 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
55190 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55191 for ac_func in fpclass
55192 do :
55193 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
55194 if test "x$ac_cv_func_fpclass" = xyes; then :
55195 cat >>confdefs.h <<_ACEOF
55196 #define HAVE_FPCLASS 1
55197 _ACEOF
55200 done
55202 else
55204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
55205 $as_echo_n "checking for _fpclass declaration... " >&6; }
55206 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55207 if ${glibcxx_cv_func__fpclass_use+:} false; then :
55208 $as_echo_n "(cached) " >&6
55209 else
55212 ac_ext=cpp
55213 ac_cpp='$CXXCPP $CPPFLAGS'
55214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55219 /* end confdefs.h. */
55220 #include <math.h>
55221 #ifdef HAVE_IEEEFP_H
55222 #include <ieeefp.h>
55223 #endif
55226 main ()
55228 _fpclass(0);
55230 return 0;
55232 _ACEOF
55233 if ac_fn_cxx_try_compile "$LINENO"; then :
55234 glibcxx_cv_func__fpclass_use=yes
55235 else
55236 glibcxx_cv_func__fpclass_use=no
55238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55239 ac_ext=c
55240 ac_cpp='$CPP $CPPFLAGS'
55241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
55250 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
55252 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55253 for ac_func in _fpclass
55254 do :
55255 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
55256 if test "x$ac_cv_func__fpclass" = xyes; then :
55257 cat >>confdefs.h <<_ACEOF
55258 #define HAVE__FPCLASS 1
55259 _ACEOF
55262 done
55271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
55272 $as_echo_n "checking for qfpclass declaration... " >&6; }
55273 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55274 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
55275 $as_echo_n "(cached) " >&6
55276 else
55279 ac_ext=cpp
55280 ac_cpp='$CXXCPP $CPPFLAGS'
55281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55286 /* end confdefs.h. */
55287 #include <math.h>
55288 #ifdef HAVE_IEEEFP_H
55289 #include <ieeefp.h>
55290 #endif
55293 main ()
55295 qfpclass(0);
55297 return 0;
55299 _ACEOF
55300 if ac_fn_cxx_try_compile "$LINENO"; then :
55301 glibcxx_cv_func_qfpclass_use=yes
55302 else
55303 glibcxx_cv_func_qfpclass_use=no
55305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55306 ac_ext=c
55307 ac_cpp='$CPP $CPPFLAGS'
55308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
55317 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
55319 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
55320 for ac_func in qfpclass
55321 do :
55322 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
55323 if test "x$ac_cv_func_qfpclass" = xyes; then :
55324 cat >>confdefs.h <<_ACEOF
55325 #define HAVE_QFPCLASS 1
55326 _ACEOF
55329 done
55331 else
55333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
55334 $as_echo_n "checking for _qfpclass declaration... " >&6; }
55335 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
55336 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
55337 $as_echo_n "(cached) " >&6
55338 else
55341 ac_ext=cpp
55342 ac_cpp='$CXXCPP $CPPFLAGS'
55343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55348 /* end confdefs.h. */
55349 #include <math.h>
55350 #ifdef HAVE_IEEEFP_H
55351 #include <ieeefp.h>
55352 #endif
55355 main ()
55357 _qfpclass(0);
55359 return 0;
55361 _ACEOF
55362 if ac_fn_cxx_try_compile "$LINENO"; then :
55363 glibcxx_cv_func__qfpclass_use=yes
55364 else
55365 glibcxx_cv_func__qfpclass_use=no
55367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55368 ac_ext=c
55369 ac_cpp='$CPP $CPPFLAGS'
55370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
55379 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
55381 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
55382 for ac_func in _qfpclass
55383 do :
55384 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
55385 if test "x$ac_cv_func__qfpclass" = xyes; then :
55386 cat >>confdefs.h <<_ACEOF
55387 #define HAVE__QFPCLASS 1
55388 _ACEOF
55391 done
55400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
55401 $as_echo_n "checking for hypot declaration... " >&6; }
55402 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
55403 if ${glibcxx_cv_func_hypot_use+:} false; then :
55404 $as_echo_n "(cached) " >&6
55405 else
55408 ac_ext=cpp
55409 ac_cpp='$CXXCPP $CPPFLAGS'
55410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55415 /* end confdefs.h. */
55416 #include <math.h>
55418 main ()
55420 hypot(0, 0);
55422 return 0;
55424 _ACEOF
55425 if ac_fn_cxx_try_compile "$LINENO"; then :
55426 glibcxx_cv_func_hypot_use=yes
55427 else
55428 glibcxx_cv_func_hypot_use=no
55430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55431 ac_ext=c
55432 ac_cpp='$CPP $CPPFLAGS'
55433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
55442 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
55444 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
55445 for ac_func in hypot
55446 do :
55447 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
55448 if test "x$ac_cv_func_hypot" = xyes; then :
55449 cat >>confdefs.h <<_ACEOF
55450 #define HAVE_HYPOT 1
55451 _ACEOF
55454 done
55456 else
55458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
55459 $as_echo_n "checking for _hypot declaration... " >&6; }
55460 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
55461 if ${glibcxx_cv_func__hypot_use+:} false; then :
55462 $as_echo_n "(cached) " >&6
55463 else
55466 ac_ext=cpp
55467 ac_cpp='$CXXCPP $CPPFLAGS'
55468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55473 /* end confdefs.h. */
55474 #include <math.h>
55476 main ()
55478 _hypot(0, 0);
55480 return 0;
55482 _ACEOF
55483 if ac_fn_cxx_try_compile "$LINENO"; then :
55484 glibcxx_cv_func__hypot_use=yes
55485 else
55486 glibcxx_cv_func__hypot_use=no
55488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55489 ac_ext=c
55490 ac_cpp='$CPP $CPPFLAGS'
55491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
55500 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
55502 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
55503 for ac_func in _hypot
55504 do :
55505 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
55506 if test "x$ac_cv_func__hypot" = xyes; then :
55507 cat >>confdefs.h <<_ACEOF
55508 #define HAVE__HYPOT 1
55509 _ACEOF
55512 done
55521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
55522 $as_echo_n "checking for float trig functions... " >&6; }
55523 if ${glibcxx_cv_func_float_trig_use+:} false; then :
55524 $as_echo_n "(cached) " >&6
55525 else
55528 ac_ext=cpp
55529 ac_cpp='$CXXCPP $CPPFLAGS'
55530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55535 /* end confdefs.h. */
55536 #include <math.h>
55538 main ()
55540 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
55542 return 0;
55544 _ACEOF
55545 if ac_fn_cxx_try_compile "$LINENO"; then :
55546 glibcxx_cv_func_float_trig_use=yes
55547 else
55548 glibcxx_cv_func_float_trig_use=no
55550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55551 ac_ext=c
55552 ac_cpp='$CPP $CPPFLAGS'
55553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
55560 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
55561 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
55562 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
55563 do :
55564 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55565 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55566 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55567 cat >>confdefs.h <<_ACEOF
55568 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55569 _ACEOF
55572 done
55574 else
55575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
55576 $as_echo_n "checking for _float trig functions... " >&6; }
55577 if ${glibcxx_cv_func__float_trig_use+:} false; then :
55578 $as_echo_n "(cached) " >&6
55579 else
55582 ac_ext=cpp
55583 ac_cpp='$CXXCPP $CPPFLAGS'
55584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55589 /* end confdefs.h. */
55590 #include <math.h>
55592 main ()
55594 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
55596 return 0;
55598 _ACEOF
55599 if ac_fn_cxx_try_compile "$LINENO"; then :
55600 glibcxx_cv_func__float_trig_use=yes
55601 else
55602 glibcxx_cv_func__float_trig_use=no
55604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55605 ac_ext=c
55606 ac_cpp='$CPP $CPPFLAGS'
55607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
55614 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
55615 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
55616 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
55617 do :
55618 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55619 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55620 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55621 cat >>confdefs.h <<_ACEOF
55622 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55623 _ACEOF
55626 done
55635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
55636 $as_echo_n "checking for float round functions... " >&6; }
55637 if ${glibcxx_cv_func_float_round_use+:} false; then :
55638 $as_echo_n "(cached) " >&6
55639 else
55642 ac_ext=cpp
55643 ac_cpp='$CXXCPP $CPPFLAGS'
55644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55649 /* end confdefs.h. */
55650 #include <math.h>
55652 main ()
55654 ceilf (0); floorf (0);
55656 return 0;
55658 _ACEOF
55659 if ac_fn_cxx_try_compile "$LINENO"; then :
55660 glibcxx_cv_func_float_round_use=yes
55661 else
55662 glibcxx_cv_func_float_round_use=no
55664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55665 ac_ext=c
55666 ac_cpp='$CPP $CPPFLAGS'
55667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
55674 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
55675 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
55676 for ac_func in ceilf floorf
55677 do :
55678 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55679 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55680 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55681 cat >>confdefs.h <<_ACEOF
55682 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55683 _ACEOF
55686 done
55688 else
55689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
55690 $as_echo_n "checking for _float round functions... " >&6; }
55691 if ${glibcxx_cv_func__float_round_use+:} false; then :
55692 $as_echo_n "(cached) " >&6
55693 else
55696 ac_ext=cpp
55697 ac_cpp='$CXXCPP $CPPFLAGS'
55698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55703 /* end confdefs.h. */
55704 #include <math.h>
55706 main ()
55708 _ceilf (0); _floorf (0);
55710 return 0;
55712 _ACEOF
55713 if ac_fn_cxx_try_compile "$LINENO"; then :
55714 glibcxx_cv_func__float_round_use=yes
55715 else
55716 glibcxx_cv_func__float_round_use=no
55718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55719 ac_ext=c
55720 ac_cpp='$CPP $CPPFLAGS'
55721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
55728 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
55729 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
55730 for ac_func in _ceilf _floorf
55731 do :
55732 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55733 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55734 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55735 cat >>confdefs.h <<_ACEOF
55736 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55737 _ACEOF
55740 done
55750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
55751 $as_echo_n "checking for expf declaration... " >&6; }
55752 if test x${glibcxx_cv_func_expf_use+set} != xset; then
55753 if ${glibcxx_cv_func_expf_use+:} false; then :
55754 $as_echo_n "(cached) " >&6
55755 else
55758 ac_ext=cpp
55759 ac_cpp='$CXXCPP $CPPFLAGS'
55760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55765 /* end confdefs.h. */
55766 #include <math.h>
55767 #ifdef HAVE_IEEEFP_H
55768 #include <ieeefp.h>
55769 #endif
55772 main ()
55774 expf(0);
55776 return 0;
55778 _ACEOF
55779 if ac_fn_cxx_try_compile "$LINENO"; then :
55780 glibcxx_cv_func_expf_use=yes
55781 else
55782 glibcxx_cv_func_expf_use=no
55784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55785 ac_ext=c
55786 ac_cpp='$CPP $CPPFLAGS'
55787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
55796 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
55798 if test x$glibcxx_cv_func_expf_use = x"yes"; then
55799 for ac_func in expf
55800 do :
55801 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
55802 if test "x$ac_cv_func_expf" = xyes; then :
55803 cat >>confdefs.h <<_ACEOF
55804 #define HAVE_EXPF 1
55805 _ACEOF
55808 done
55810 else
55812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
55813 $as_echo_n "checking for _expf declaration... " >&6; }
55814 if test x${glibcxx_cv_func__expf_use+set} != xset; then
55815 if ${glibcxx_cv_func__expf_use+:} false; then :
55816 $as_echo_n "(cached) " >&6
55817 else
55820 ac_ext=cpp
55821 ac_cpp='$CXXCPP $CPPFLAGS'
55822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55827 /* end confdefs.h. */
55828 #include <math.h>
55829 #ifdef HAVE_IEEEFP_H
55830 #include <ieeefp.h>
55831 #endif
55834 main ()
55836 _expf(0);
55838 return 0;
55840 _ACEOF
55841 if ac_fn_cxx_try_compile "$LINENO"; then :
55842 glibcxx_cv_func__expf_use=yes
55843 else
55844 glibcxx_cv_func__expf_use=no
55846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55847 ac_ext=c
55848 ac_cpp='$CPP $CPPFLAGS'
55849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55858 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
55860 if test x$glibcxx_cv_func__expf_use = x"yes"; then
55861 for ac_func in _expf
55862 do :
55863 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55864 if test "x$ac_cv_func__expf" = xyes; then :
55865 cat >>confdefs.h <<_ACEOF
55866 #define HAVE__EXPF 1
55867 _ACEOF
55870 done
55879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55880 $as_echo_n "checking for isnanf declaration... " >&6; }
55881 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55882 if ${glibcxx_cv_func_isnanf_use+:} false; then :
55883 $as_echo_n "(cached) " >&6
55884 else
55887 ac_ext=cpp
55888 ac_cpp='$CXXCPP $CPPFLAGS'
55889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55894 /* end confdefs.h. */
55895 #include <math.h>
55896 #ifdef HAVE_IEEEFP_H
55897 #include <ieeefp.h>
55898 #endif
55901 main ()
55903 isnanf(0);
55905 return 0;
55907 _ACEOF
55908 if ac_fn_cxx_try_compile "$LINENO"; then :
55909 glibcxx_cv_func_isnanf_use=yes
55910 else
55911 glibcxx_cv_func_isnanf_use=no
55913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55914 ac_ext=c
55915 ac_cpp='$CPP $CPPFLAGS'
55916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55925 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55927 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55928 for ac_func in isnanf
55929 do :
55930 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55931 if test "x$ac_cv_func_isnanf" = xyes; then :
55932 cat >>confdefs.h <<_ACEOF
55933 #define HAVE_ISNANF 1
55934 _ACEOF
55937 done
55939 else
55941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55942 $as_echo_n "checking for _isnanf declaration... " >&6; }
55943 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55944 if ${glibcxx_cv_func__isnanf_use+:} false; then :
55945 $as_echo_n "(cached) " >&6
55946 else
55949 ac_ext=cpp
55950 ac_cpp='$CXXCPP $CPPFLAGS'
55951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55956 /* end confdefs.h. */
55957 #include <math.h>
55958 #ifdef HAVE_IEEEFP_H
55959 #include <ieeefp.h>
55960 #endif
55963 main ()
55965 _isnanf(0);
55967 return 0;
55969 _ACEOF
55970 if ac_fn_cxx_try_compile "$LINENO"; then :
55971 glibcxx_cv_func__isnanf_use=yes
55972 else
55973 glibcxx_cv_func__isnanf_use=no
55975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55976 ac_ext=c
55977 ac_cpp='$CPP $CPPFLAGS'
55978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55987 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55989 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55990 for ac_func in _isnanf
55991 do :
55992 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55993 if test "x$ac_cv_func__isnanf" = xyes; then :
55994 cat >>confdefs.h <<_ACEOF
55995 #define HAVE__ISNANF 1
55996 _ACEOF
55999 done
56008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
56009 $as_echo_n "checking for isinff declaration... " >&6; }
56010 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
56011 if ${glibcxx_cv_func_isinff_use+:} false; then :
56012 $as_echo_n "(cached) " >&6
56013 else
56016 ac_ext=cpp
56017 ac_cpp='$CXXCPP $CPPFLAGS'
56018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56023 /* end confdefs.h. */
56024 #include <math.h>
56025 #ifdef HAVE_IEEEFP_H
56026 #include <ieeefp.h>
56027 #endif
56030 main ()
56032 isinff(0);
56034 return 0;
56036 _ACEOF
56037 if ac_fn_cxx_try_compile "$LINENO"; then :
56038 glibcxx_cv_func_isinff_use=yes
56039 else
56040 glibcxx_cv_func_isinff_use=no
56042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56043 ac_ext=c
56044 ac_cpp='$CPP $CPPFLAGS'
56045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
56054 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
56056 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
56057 for ac_func in isinff
56058 do :
56059 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
56060 if test "x$ac_cv_func_isinff" = xyes; then :
56061 cat >>confdefs.h <<_ACEOF
56062 #define HAVE_ISINFF 1
56063 _ACEOF
56066 done
56068 else
56070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
56071 $as_echo_n "checking for _isinff declaration... " >&6; }
56072 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
56073 if ${glibcxx_cv_func__isinff_use+:} false; then :
56074 $as_echo_n "(cached) " >&6
56075 else
56078 ac_ext=cpp
56079 ac_cpp='$CXXCPP $CPPFLAGS'
56080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56085 /* end confdefs.h. */
56086 #include <math.h>
56087 #ifdef HAVE_IEEEFP_H
56088 #include <ieeefp.h>
56089 #endif
56092 main ()
56094 _isinff(0);
56096 return 0;
56098 _ACEOF
56099 if ac_fn_cxx_try_compile "$LINENO"; then :
56100 glibcxx_cv_func__isinff_use=yes
56101 else
56102 glibcxx_cv_func__isinff_use=no
56104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56105 ac_ext=c
56106 ac_cpp='$CPP $CPPFLAGS'
56107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
56116 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
56118 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
56119 for ac_func in _isinff
56120 do :
56121 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
56122 if test "x$ac_cv_func__isinff" = xyes; then :
56123 cat >>confdefs.h <<_ACEOF
56124 #define HAVE__ISINFF 1
56125 _ACEOF
56128 done
56137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
56138 $as_echo_n "checking for atan2f declaration... " >&6; }
56139 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
56140 if ${glibcxx_cv_func_atan2f_use+:} false; then :
56141 $as_echo_n "(cached) " >&6
56142 else
56145 ac_ext=cpp
56146 ac_cpp='$CXXCPP $CPPFLAGS'
56147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56152 /* end confdefs.h. */
56153 #include <math.h>
56155 main ()
56157 atan2f(0, 0);
56159 return 0;
56161 _ACEOF
56162 if ac_fn_cxx_try_compile "$LINENO"; then :
56163 glibcxx_cv_func_atan2f_use=yes
56164 else
56165 glibcxx_cv_func_atan2f_use=no
56167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56168 ac_ext=c
56169 ac_cpp='$CPP $CPPFLAGS'
56170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
56179 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
56181 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
56182 for ac_func in atan2f
56183 do :
56184 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
56185 if test "x$ac_cv_func_atan2f" = xyes; then :
56186 cat >>confdefs.h <<_ACEOF
56187 #define HAVE_ATAN2F 1
56188 _ACEOF
56191 done
56193 else
56195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
56196 $as_echo_n "checking for _atan2f declaration... " >&6; }
56197 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
56198 if ${glibcxx_cv_func__atan2f_use+:} false; then :
56199 $as_echo_n "(cached) " >&6
56200 else
56203 ac_ext=cpp
56204 ac_cpp='$CXXCPP $CPPFLAGS'
56205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56210 /* end confdefs.h. */
56211 #include <math.h>
56213 main ()
56215 _atan2f(0, 0);
56217 return 0;
56219 _ACEOF
56220 if ac_fn_cxx_try_compile "$LINENO"; then :
56221 glibcxx_cv_func__atan2f_use=yes
56222 else
56223 glibcxx_cv_func__atan2f_use=no
56225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56226 ac_ext=c
56227 ac_cpp='$CPP $CPPFLAGS'
56228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
56237 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
56239 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
56240 for ac_func in _atan2f
56241 do :
56242 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
56243 if test "x$ac_cv_func__atan2f" = xyes; then :
56244 cat >>confdefs.h <<_ACEOF
56245 #define HAVE__ATAN2F 1
56246 _ACEOF
56249 done
56258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
56259 $as_echo_n "checking for fabsf declaration... " >&6; }
56260 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
56261 if ${glibcxx_cv_func_fabsf_use+:} false; then :
56262 $as_echo_n "(cached) " >&6
56263 else
56266 ac_ext=cpp
56267 ac_cpp='$CXXCPP $CPPFLAGS'
56268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56273 /* end confdefs.h. */
56274 #include <math.h>
56275 #ifdef HAVE_IEEEFP_H
56276 #include <ieeefp.h>
56277 #endif
56280 main ()
56282 fabsf(0);
56284 return 0;
56286 _ACEOF
56287 if ac_fn_cxx_try_compile "$LINENO"; then :
56288 glibcxx_cv_func_fabsf_use=yes
56289 else
56290 glibcxx_cv_func_fabsf_use=no
56292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56293 ac_ext=c
56294 ac_cpp='$CPP $CPPFLAGS'
56295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
56304 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
56306 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
56307 for ac_func in fabsf
56308 do :
56309 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
56310 if test "x$ac_cv_func_fabsf" = xyes; then :
56311 cat >>confdefs.h <<_ACEOF
56312 #define HAVE_FABSF 1
56313 _ACEOF
56316 done
56318 else
56320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
56321 $as_echo_n "checking for _fabsf declaration... " >&6; }
56322 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
56323 if ${glibcxx_cv_func__fabsf_use+:} false; then :
56324 $as_echo_n "(cached) " >&6
56325 else
56328 ac_ext=cpp
56329 ac_cpp='$CXXCPP $CPPFLAGS'
56330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56335 /* end confdefs.h. */
56336 #include <math.h>
56337 #ifdef HAVE_IEEEFP_H
56338 #include <ieeefp.h>
56339 #endif
56342 main ()
56344 _fabsf(0);
56346 return 0;
56348 _ACEOF
56349 if ac_fn_cxx_try_compile "$LINENO"; then :
56350 glibcxx_cv_func__fabsf_use=yes
56351 else
56352 glibcxx_cv_func__fabsf_use=no
56354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56355 ac_ext=c
56356 ac_cpp='$CPP $CPPFLAGS'
56357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
56366 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
56368 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
56369 for ac_func in _fabsf
56370 do :
56371 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
56372 if test "x$ac_cv_func__fabsf" = xyes; then :
56373 cat >>confdefs.h <<_ACEOF
56374 #define HAVE__FABSF 1
56375 _ACEOF
56378 done
56387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
56388 $as_echo_n "checking for fmodf declaration... " >&6; }
56389 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
56390 if ${glibcxx_cv_func_fmodf_use+:} false; then :
56391 $as_echo_n "(cached) " >&6
56392 else
56395 ac_ext=cpp
56396 ac_cpp='$CXXCPP $CPPFLAGS'
56397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56402 /* end confdefs.h. */
56403 #include <math.h>
56405 main ()
56407 fmodf(0, 0);
56409 return 0;
56411 _ACEOF
56412 if ac_fn_cxx_try_compile "$LINENO"; then :
56413 glibcxx_cv_func_fmodf_use=yes
56414 else
56415 glibcxx_cv_func_fmodf_use=no
56417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56418 ac_ext=c
56419 ac_cpp='$CPP $CPPFLAGS'
56420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
56429 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
56431 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
56432 for ac_func in fmodf
56433 do :
56434 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
56435 if test "x$ac_cv_func_fmodf" = xyes; then :
56436 cat >>confdefs.h <<_ACEOF
56437 #define HAVE_FMODF 1
56438 _ACEOF
56441 done
56443 else
56445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
56446 $as_echo_n "checking for _fmodf declaration... " >&6; }
56447 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
56448 if ${glibcxx_cv_func__fmodf_use+:} false; then :
56449 $as_echo_n "(cached) " >&6
56450 else
56453 ac_ext=cpp
56454 ac_cpp='$CXXCPP $CPPFLAGS'
56455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56460 /* end confdefs.h. */
56461 #include <math.h>
56463 main ()
56465 _fmodf(0, 0);
56467 return 0;
56469 _ACEOF
56470 if ac_fn_cxx_try_compile "$LINENO"; then :
56471 glibcxx_cv_func__fmodf_use=yes
56472 else
56473 glibcxx_cv_func__fmodf_use=no
56475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56476 ac_ext=c
56477 ac_cpp='$CPP $CPPFLAGS'
56478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
56487 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
56489 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
56490 for ac_func in _fmodf
56491 do :
56492 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
56493 if test "x$ac_cv_func__fmodf" = xyes; then :
56494 cat >>confdefs.h <<_ACEOF
56495 #define HAVE__FMODF 1
56496 _ACEOF
56499 done
56508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
56509 $as_echo_n "checking for frexpf declaration... " >&6; }
56510 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
56511 if ${glibcxx_cv_func_frexpf_use+:} false; then :
56512 $as_echo_n "(cached) " >&6
56513 else
56516 ac_ext=cpp
56517 ac_cpp='$CXXCPP $CPPFLAGS'
56518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56523 /* end confdefs.h. */
56524 #include <math.h>
56526 main ()
56528 frexpf(0, 0);
56530 return 0;
56532 _ACEOF
56533 if ac_fn_cxx_try_compile "$LINENO"; then :
56534 glibcxx_cv_func_frexpf_use=yes
56535 else
56536 glibcxx_cv_func_frexpf_use=no
56538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56539 ac_ext=c
56540 ac_cpp='$CPP $CPPFLAGS'
56541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
56550 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
56552 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
56553 for ac_func in frexpf
56554 do :
56555 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
56556 if test "x$ac_cv_func_frexpf" = xyes; then :
56557 cat >>confdefs.h <<_ACEOF
56558 #define HAVE_FREXPF 1
56559 _ACEOF
56562 done
56564 else
56566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
56567 $as_echo_n "checking for _frexpf declaration... " >&6; }
56568 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
56569 if ${glibcxx_cv_func__frexpf_use+:} false; then :
56570 $as_echo_n "(cached) " >&6
56571 else
56574 ac_ext=cpp
56575 ac_cpp='$CXXCPP $CPPFLAGS'
56576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56581 /* end confdefs.h. */
56582 #include <math.h>
56584 main ()
56586 _frexpf(0, 0);
56588 return 0;
56590 _ACEOF
56591 if ac_fn_cxx_try_compile "$LINENO"; then :
56592 glibcxx_cv_func__frexpf_use=yes
56593 else
56594 glibcxx_cv_func__frexpf_use=no
56596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56597 ac_ext=c
56598 ac_cpp='$CPP $CPPFLAGS'
56599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
56608 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
56610 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
56611 for ac_func in _frexpf
56612 do :
56613 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
56614 if test "x$ac_cv_func__frexpf" = xyes; then :
56615 cat >>confdefs.h <<_ACEOF
56616 #define HAVE__FREXPF 1
56617 _ACEOF
56620 done
56629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
56630 $as_echo_n "checking for hypotf declaration... " >&6; }
56631 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
56632 if ${glibcxx_cv_func_hypotf_use+:} false; then :
56633 $as_echo_n "(cached) " >&6
56634 else
56637 ac_ext=cpp
56638 ac_cpp='$CXXCPP $CPPFLAGS'
56639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56644 /* end confdefs.h. */
56645 #include <math.h>
56647 main ()
56649 hypotf(0, 0);
56651 return 0;
56653 _ACEOF
56654 if ac_fn_cxx_try_compile "$LINENO"; then :
56655 glibcxx_cv_func_hypotf_use=yes
56656 else
56657 glibcxx_cv_func_hypotf_use=no
56659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56660 ac_ext=c
56661 ac_cpp='$CPP $CPPFLAGS'
56662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
56671 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
56673 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
56674 for ac_func in hypotf
56675 do :
56676 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
56677 if test "x$ac_cv_func_hypotf" = xyes; then :
56678 cat >>confdefs.h <<_ACEOF
56679 #define HAVE_HYPOTF 1
56680 _ACEOF
56683 done
56685 else
56687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
56688 $as_echo_n "checking for _hypotf declaration... " >&6; }
56689 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
56690 if ${glibcxx_cv_func__hypotf_use+:} false; then :
56691 $as_echo_n "(cached) " >&6
56692 else
56695 ac_ext=cpp
56696 ac_cpp='$CXXCPP $CPPFLAGS'
56697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56702 /* end confdefs.h. */
56703 #include <math.h>
56705 main ()
56707 _hypotf(0, 0);
56709 return 0;
56711 _ACEOF
56712 if ac_fn_cxx_try_compile "$LINENO"; then :
56713 glibcxx_cv_func__hypotf_use=yes
56714 else
56715 glibcxx_cv_func__hypotf_use=no
56717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56718 ac_ext=c
56719 ac_cpp='$CPP $CPPFLAGS'
56720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
56729 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
56731 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
56732 for ac_func in _hypotf
56733 do :
56734 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
56735 if test "x$ac_cv_func__hypotf" = xyes; then :
56736 cat >>confdefs.h <<_ACEOF
56737 #define HAVE__HYPOTF 1
56738 _ACEOF
56741 done
56750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
56751 $as_echo_n "checking for ldexpf declaration... " >&6; }
56752 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
56753 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
56754 $as_echo_n "(cached) " >&6
56755 else
56758 ac_ext=cpp
56759 ac_cpp='$CXXCPP $CPPFLAGS'
56760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56765 /* end confdefs.h. */
56766 #include <math.h>
56768 main ()
56770 ldexpf(0, 0);
56772 return 0;
56774 _ACEOF
56775 if ac_fn_cxx_try_compile "$LINENO"; then :
56776 glibcxx_cv_func_ldexpf_use=yes
56777 else
56778 glibcxx_cv_func_ldexpf_use=no
56780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56781 ac_ext=c
56782 ac_cpp='$CPP $CPPFLAGS'
56783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
56792 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
56794 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
56795 for ac_func in ldexpf
56796 do :
56797 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
56798 if test "x$ac_cv_func_ldexpf" = xyes; then :
56799 cat >>confdefs.h <<_ACEOF
56800 #define HAVE_LDEXPF 1
56801 _ACEOF
56804 done
56806 else
56808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
56809 $as_echo_n "checking for _ldexpf declaration... " >&6; }
56810 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
56811 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
56812 $as_echo_n "(cached) " >&6
56813 else
56816 ac_ext=cpp
56817 ac_cpp='$CXXCPP $CPPFLAGS'
56818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56823 /* end confdefs.h. */
56824 #include <math.h>
56826 main ()
56828 _ldexpf(0, 0);
56830 return 0;
56832 _ACEOF
56833 if ac_fn_cxx_try_compile "$LINENO"; then :
56834 glibcxx_cv_func__ldexpf_use=yes
56835 else
56836 glibcxx_cv_func__ldexpf_use=no
56838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56839 ac_ext=c
56840 ac_cpp='$CPP $CPPFLAGS'
56841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56850 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56852 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56853 for ac_func in _ldexpf
56854 do :
56855 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56856 if test "x$ac_cv_func__ldexpf" = xyes; then :
56857 cat >>confdefs.h <<_ACEOF
56858 #define HAVE__LDEXPF 1
56859 _ACEOF
56862 done
56871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56872 $as_echo_n "checking for logf declaration... " >&6; }
56873 if test x${glibcxx_cv_func_logf_use+set} != xset; then
56874 if ${glibcxx_cv_func_logf_use+:} false; then :
56875 $as_echo_n "(cached) " >&6
56876 else
56879 ac_ext=cpp
56880 ac_cpp='$CXXCPP $CPPFLAGS'
56881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56886 /* end confdefs.h. */
56887 #include <math.h>
56888 #ifdef HAVE_IEEEFP_H
56889 #include <ieeefp.h>
56890 #endif
56893 main ()
56895 logf(0);
56897 return 0;
56899 _ACEOF
56900 if ac_fn_cxx_try_compile "$LINENO"; then :
56901 glibcxx_cv_func_logf_use=yes
56902 else
56903 glibcxx_cv_func_logf_use=no
56905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56906 ac_ext=c
56907 ac_cpp='$CPP $CPPFLAGS'
56908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56917 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
56919 if test x$glibcxx_cv_func_logf_use = x"yes"; then
56920 for ac_func in logf
56921 do :
56922 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56923 if test "x$ac_cv_func_logf" = xyes; then :
56924 cat >>confdefs.h <<_ACEOF
56925 #define HAVE_LOGF 1
56926 _ACEOF
56929 done
56931 else
56933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56934 $as_echo_n "checking for _logf declaration... " >&6; }
56935 if test x${glibcxx_cv_func__logf_use+set} != xset; then
56936 if ${glibcxx_cv_func__logf_use+:} false; then :
56937 $as_echo_n "(cached) " >&6
56938 else
56941 ac_ext=cpp
56942 ac_cpp='$CXXCPP $CPPFLAGS'
56943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56948 /* end confdefs.h. */
56949 #include <math.h>
56950 #ifdef HAVE_IEEEFP_H
56951 #include <ieeefp.h>
56952 #endif
56955 main ()
56957 _logf(0);
56959 return 0;
56961 _ACEOF
56962 if ac_fn_cxx_try_compile "$LINENO"; then :
56963 glibcxx_cv_func__logf_use=yes
56964 else
56965 glibcxx_cv_func__logf_use=no
56967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56968 ac_ext=c
56969 ac_cpp='$CPP $CPPFLAGS'
56970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56979 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
56981 if test x$glibcxx_cv_func__logf_use = x"yes"; then
56982 for ac_func in _logf
56983 do :
56984 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56985 if test "x$ac_cv_func__logf" = xyes; then :
56986 cat >>confdefs.h <<_ACEOF
56987 #define HAVE__LOGF 1
56988 _ACEOF
56991 done
57000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
57001 $as_echo_n "checking for log10f declaration... " >&6; }
57002 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
57003 if ${glibcxx_cv_func_log10f_use+:} false; then :
57004 $as_echo_n "(cached) " >&6
57005 else
57008 ac_ext=cpp
57009 ac_cpp='$CXXCPP $CPPFLAGS'
57010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57015 /* end confdefs.h. */
57016 #include <math.h>
57017 #ifdef HAVE_IEEEFP_H
57018 #include <ieeefp.h>
57019 #endif
57022 main ()
57024 log10f(0);
57026 return 0;
57028 _ACEOF
57029 if ac_fn_cxx_try_compile "$LINENO"; then :
57030 glibcxx_cv_func_log10f_use=yes
57031 else
57032 glibcxx_cv_func_log10f_use=no
57034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57035 ac_ext=c
57036 ac_cpp='$CPP $CPPFLAGS'
57037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
57046 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
57048 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
57049 for ac_func in log10f
57050 do :
57051 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
57052 if test "x$ac_cv_func_log10f" = xyes; then :
57053 cat >>confdefs.h <<_ACEOF
57054 #define HAVE_LOG10F 1
57055 _ACEOF
57058 done
57060 else
57062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
57063 $as_echo_n "checking for _log10f declaration... " >&6; }
57064 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
57065 if ${glibcxx_cv_func__log10f_use+:} false; then :
57066 $as_echo_n "(cached) " >&6
57067 else
57070 ac_ext=cpp
57071 ac_cpp='$CXXCPP $CPPFLAGS'
57072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57077 /* end confdefs.h. */
57078 #include <math.h>
57079 #ifdef HAVE_IEEEFP_H
57080 #include <ieeefp.h>
57081 #endif
57084 main ()
57086 _log10f(0);
57088 return 0;
57090 _ACEOF
57091 if ac_fn_cxx_try_compile "$LINENO"; then :
57092 glibcxx_cv_func__log10f_use=yes
57093 else
57094 glibcxx_cv_func__log10f_use=no
57096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57097 ac_ext=c
57098 ac_cpp='$CPP $CPPFLAGS'
57099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
57108 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
57110 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
57111 for ac_func in _log10f
57112 do :
57113 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
57114 if test "x$ac_cv_func__log10f" = xyes; then :
57115 cat >>confdefs.h <<_ACEOF
57116 #define HAVE__LOG10F 1
57117 _ACEOF
57120 done
57129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
57130 $as_echo_n "checking for modff declaration... " >&6; }
57131 if test x${glibcxx_cv_func_modff_use+set} != xset; then
57132 if ${glibcxx_cv_func_modff_use+:} false; then :
57133 $as_echo_n "(cached) " >&6
57134 else
57137 ac_ext=cpp
57138 ac_cpp='$CXXCPP $CPPFLAGS'
57139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57144 /* end confdefs.h. */
57145 #include <math.h>
57147 main ()
57149 modff(0, 0);
57151 return 0;
57153 _ACEOF
57154 if ac_fn_cxx_try_compile "$LINENO"; then :
57155 glibcxx_cv_func_modff_use=yes
57156 else
57157 glibcxx_cv_func_modff_use=no
57159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57160 ac_ext=c
57161 ac_cpp='$CPP $CPPFLAGS'
57162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
57171 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
57173 if test x$glibcxx_cv_func_modff_use = x"yes"; then
57174 for ac_func in modff
57175 do :
57176 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
57177 if test "x$ac_cv_func_modff" = xyes; then :
57178 cat >>confdefs.h <<_ACEOF
57179 #define HAVE_MODFF 1
57180 _ACEOF
57183 done
57185 else
57187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
57188 $as_echo_n "checking for _modff declaration... " >&6; }
57189 if test x${glibcxx_cv_func__modff_use+set} != xset; then
57190 if ${glibcxx_cv_func__modff_use+:} false; then :
57191 $as_echo_n "(cached) " >&6
57192 else
57195 ac_ext=cpp
57196 ac_cpp='$CXXCPP $CPPFLAGS'
57197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57202 /* end confdefs.h. */
57203 #include <math.h>
57205 main ()
57207 _modff(0, 0);
57209 return 0;
57211 _ACEOF
57212 if ac_fn_cxx_try_compile "$LINENO"; then :
57213 glibcxx_cv_func__modff_use=yes
57214 else
57215 glibcxx_cv_func__modff_use=no
57217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57218 ac_ext=c
57219 ac_cpp='$CPP $CPPFLAGS'
57220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
57229 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
57231 if test x$glibcxx_cv_func__modff_use = x"yes"; then
57232 for ac_func in _modff
57233 do :
57234 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
57235 if test "x$ac_cv_func__modff" = xyes; then :
57236 cat >>confdefs.h <<_ACEOF
57237 #define HAVE__MODFF 1
57238 _ACEOF
57241 done
57250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
57251 $as_echo_n "checking for modf declaration... " >&6; }
57252 if test x${glibcxx_cv_func_modf_use+set} != xset; then
57253 if ${glibcxx_cv_func_modf_use+:} false; then :
57254 $as_echo_n "(cached) " >&6
57255 else
57258 ac_ext=cpp
57259 ac_cpp='$CXXCPP $CPPFLAGS'
57260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57265 /* end confdefs.h. */
57266 #include <math.h>
57268 main ()
57270 modf(0, 0);
57272 return 0;
57274 _ACEOF
57275 if ac_fn_cxx_try_compile "$LINENO"; then :
57276 glibcxx_cv_func_modf_use=yes
57277 else
57278 glibcxx_cv_func_modf_use=no
57280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57281 ac_ext=c
57282 ac_cpp='$CPP $CPPFLAGS'
57283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
57292 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
57294 if test x$glibcxx_cv_func_modf_use = x"yes"; then
57295 for ac_func in modf
57296 do :
57297 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
57298 if test "x$ac_cv_func_modf" = xyes; then :
57299 cat >>confdefs.h <<_ACEOF
57300 #define HAVE_MODF 1
57301 _ACEOF
57304 done
57306 else
57308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
57309 $as_echo_n "checking for _modf declaration... " >&6; }
57310 if test x${glibcxx_cv_func__modf_use+set} != xset; then
57311 if ${glibcxx_cv_func__modf_use+:} false; then :
57312 $as_echo_n "(cached) " >&6
57313 else
57316 ac_ext=cpp
57317 ac_cpp='$CXXCPP $CPPFLAGS'
57318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57323 /* end confdefs.h. */
57324 #include <math.h>
57326 main ()
57328 _modf(0, 0);
57330 return 0;
57332 _ACEOF
57333 if ac_fn_cxx_try_compile "$LINENO"; then :
57334 glibcxx_cv_func__modf_use=yes
57335 else
57336 glibcxx_cv_func__modf_use=no
57338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57339 ac_ext=c
57340 ac_cpp='$CPP $CPPFLAGS'
57341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
57350 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
57352 if test x$glibcxx_cv_func__modf_use = x"yes"; then
57353 for ac_func in _modf
57354 do :
57355 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
57356 if test "x$ac_cv_func__modf" = xyes; then :
57357 cat >>confdefs.h <<_ACEOF
57358 #define HAVE__MODF 1
57359 _ACEOF
57362 done
57371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
57372 $as_echo_n "checking for powf declaration... " >&6; }
57373 if test x${glibcxx_cv_func_powf_use+set} != xset; then
57374 if ${glibcxx_cv_func_powf_use+:} false; then :
57375 $as_echo_n "(cached) " >&6
57376 else
57379 ac_ext=cpp
57380 ac_cpp='$CXXCPP $CPPFLAGS'
57381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57386 /* end confdefs.h. */
57387 #include <math.h>
57389 main ()
57391 powf(0, 0);
57393 return 0;
57395 _ACEOF
57396 if ac_fn_cxx_try_compile "$LINENO"; then :
57397 glibcxx_cv_func_powf_use=yes
57398 else
57399 glibcxx_cv_func_powf_use=no
57401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57402 ac_ext=c
57403 ac_cpp='$CPP $CPPFLAGS'
57404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
57413 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
57415 if test x$glibcxx_cv_func_powf_use = x"yes"; then
57416 for ac_func in powf
57417 do :
57418 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
57419 if test "x$ac_cv_func_powf" = xyes; then :
57420 cat >>confdefs.h <<_ACEOF
57421 #define HAVE_POWF 1
57422 _ACEOF
57425 done
57427 else
57429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
57430 $as_echo_n "checking for _powf declaration... " >&6; }
57431 if test x${glibcxx_cv_func__powf_use+set} != xset; then
57432 if ${glibcxx_cv_func__powf_use+:} false; then :
57433 $as_echo_n "(cached) " >&6
57434 else
57437 ac_ext=cpp
57438 ac_cpp='$CXXCPP $CPPFLAGS'
57439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57444 /* end confdefs.h. */
57445 #include <math.h>
57447 main ()
57449 _powf(0, 0);
57451 return 0;
57453 _ACEOF
57454 if ac_fn_cxx_try_compile "$LINENO"; then :
57455 glibcxx_cv_func__powf_use=yes
57456 else
57457 glibcxx_cv_func__powf_use=no
57459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57460 ac_ext=c
57461 ac_cpp='$CPP $CPPFLAGS'
57462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
57471 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
57473 if test x$glibcxx_cv_func__powf_use = x"yes"; then
57474 for ac_func in _powf
57475 do :
57476 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
57477 if test "x$ac_cv_func__powf" = xyes; then :
57478 cat >>confdefs.h <<_ACEOF
57479 #define HAVE__POWF 1
57480 _ACEOF
57483 done
57492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
57493 $as_echo_n "checking for sqrtf declaration... " >&6; }
57494 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
57495 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
57496 $as_echo_n "(cached) " >&6
57497 else
57500 ac_ext=cpp
57501 ac_cpp='$CXXCPP $CPPFLAGS'
57502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57507 /* end confdefs.h. */
57508 #include <math.h>
57509 #ifdef HAVE_IEEEFP_H
57510 #include <ieeefp.h>
57511 #endif
57514 main ()
57516 sqrtf(0);
57518 return 0;
57520 _ACEOF
57521 if ac_fn_cxx_try_compile "$LINENO"; then :
57522 glibcxx_cv_func_sqrtf_use=yes
57523 else
57524 glibcxx_cv_func_sqrtf_use=no
57526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57527 ac_ext=c
57528 ac_cpp='$CPP $CPPFLAGS'
57529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
57538 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
57540 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
57541 for ac_func in sqrtf
57542 do :
57543 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
57544 if test "x$ac_cv_func_sqrtf" = xyes; then :
57545 cat >>confdefs.h <<_ACEOF
57546 #define HAVE_SQRTF 1
57547 _ACEOF
57550 done
57552 else
57554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
57555 $as_echo_n "checking for _sqrtf declaration... " >&6; }
57556 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
57557 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
57558 $as_echo_n "(cached) " >&6
57559 else
57562 ac_ext=cpp
57563 ac_cpp='$CXXCPP $CPPFLAGS'
57564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57569 /* end confdefs.h. */
57570 #include <math.h>
57571 #ifdef HAVE_IEEEFP_H
57572 #include <ieeefp.h>
57573 #endif
57576 main ()
57578 _sqrtf(0);
57580 return 0;
57582 _ACEOF
57583 if ac_fn_cxx_try_compile "$LINENO"; then :
57584 glibcxx_cv_func__sqrtf_use=yes
57585 else
57586 glibcxx_cv_func__sqrtf_use=no
57588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57589 ac_ext=c
57590 ac_cpp='$CPP $CPPFLAGS'
57591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
57600 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
57602 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
57603 for ac_func in _sqrtf
57604 do :
57605 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
57606 if test "x$ac_cv_func__sqrtf" = xyes; then :
57607 cat >>confdefs.h <<_ACEOF
57608 #define HAVE__SQRTF 1
57609 _ACEOF
57612 done
57621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
57622 $as_echo_n "checking for sincosf declaration... " >&6; }
57623 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
57624 if ${glibcxx_cv_func_sincosf_use+:} false; then :
57625 $as_echo_n "(cached) " >&6
57626 else
57629 ac_ext=cpp
57630 ac_cpp='$CXXCPP $CPPFLAGS'
57631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57636 /* end confdefs.h. */
57637 #include <math.h>
57639 main ()
57641 sincosf(0, 0, 0);
57643 return 0;
57645 _ACEOF
57646 if ac_fn_cxx_try_compile "$LINENO"; then :
57647 glibcxx_cv_func_sincosf_use=yes
57648 else
57649 glibcxx_cv_func_sincosf_use=no
57651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57652 ac_ext=c
57653 ac_cpp='$CPP $CPPFLAGS'
57654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
57663 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
57665 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
57666 for ac_func in sincosf
57667 do :
57668 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
57669 if test "x$ac_cv_func_sincosf" = xyes; then :
57670 cat >>confdefs.h <<_ACEOF
57671 #define HAVE_SINCOSF 1
57672 _ACEOF
57675 done
57677 else
57679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
57680 $as_echo_n "checking for _sincosf declaration... " >&6; }
57681 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
57682 if ${glibcxx_cv_func__sincosf_use+:} false; then :
57683 $as_echo_n "(cached) " >&6
57684 else
57687 ac_ext=cpp
57688 ac_cpp='$CXXCPP $CPPFLAGS'
57689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57694 /* end confdefs.h. */
57695 #include <math.h>
57697 main ()
57699 _sincosf(0, 0, 0);
57701 return 0;
57703 _ACEOF
57704 if ac_fn_cxx_try_compile "$LINENO"; then :
57705 glibcxx_cv_func__sincosf_use=yes
57706 else
57707 glibcxx_cv_func__sincosf_use=no
57709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57710 ac_ext=c
57711 ac_cpp='$CPP $CPPFLAGS'
57712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
57721 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
57723 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
57724 for ac_func in _sincosf
57725 do :
57726 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
57727 if test "x$ac_cv_func__sincosf" = xyes; then :
57728 cat >>confdefs.h <<_ACEOF
57729 #define HAVE__SINCOSF 1
57730 _ACEOF
57733 done
57742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
57743 $as_echo_n "checking for finitef declaration... " >&6; }
57744 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
57745 if ${glibcxx_cv_func_finitef_use+:} false; then :
57746 $as_echo_n "(cached) " >&6
57747 else
57750 ac_ext=cpp
57751 ac_cpp='$CXXCPP $CPPFLAGS'
57752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57757 /* end confdefs.h. */
57758 #include <math.h>
57759 #ifdef HAVE_IEEEFP_H
57760 #include <ieeefp.h>
57761 #endif
57764 main ()
57766 finitef(0);
57768 return 0;
57770 _ACEOF
57771 if ac_fn_cxx_try_compile "$LINENO"; then :
57772 glibcxx_cv_func_finitef_use=yes
57773 else
57774 glibcxx_cv_func_finitef_use=no
57776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57777 ac_ext=c
57778 ac_cpp='$CPP $CPPFLAGS'
57779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
57788 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
57790 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
57791 for ac_func in finitef
57792 do :
57793 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
57794 if test "x$ac_cv_func_finitef" = xyes; then :
57795 cat >>confdefs.h <<_ACEOF
57796 #define HAVE_FINITEF 1
57797 _ACEOF
57800 done
57802 else
57804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
57805 $as_echo_n "checking for _finitef declaration... " >&6; }
57806 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
57807 if ${glibcxx_cv_func__finitef_use+:} false; then :
57808 $as_echo_n "(cached) " >&6
57809 else
57812 ac_ext=cpp
57813 ac_cpp='$CXXCPP $CPPFLAGS'
57814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57819 /* end confdefs.h. */
57820 #include <math.h>
57821 #ifdef HAVE_IEEEFP_H
57822 #include <ieeefp.h>
57823 #endif
57826 main ()
57828 _finitef(0);
57830 return 0;
57832 _ACEOF
57833 if ac_fn_cxx_try_compile "$LINENO"; then :
57834 glibcxx_cv_func__finitef_use=yes
57835 else
57836 glibcxx_cv_func__finitef_use=no
57838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57839 ac_ext=c
57840 ac_cpp='$CPP $CPPFLAGS'
57841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57850 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57852 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57853 for ac_func in _finitef
57854 do :
57855 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57856 if test "x$ac_cv_func__finitef" = xyes; then :
57857 cat >>confdefs.h <<_ACEOF
57858 #define HAVE__FINITEF 1
57859 _ACEOF
57862 done
57871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57872 $as_echo_n "checking for long double trig functions... " >&6; }
57873 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
57874 $as_echo_n "(cached) " >&6
57875 else
57878 ac_ext=cpp
57879 ac_cpp='$CXXCPP $CPPFLAGS'
57880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57885 /* end confdefs.h. */
57886 #include <math.h>
57888 main ()
57890 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57892 return 0;
57894 _ACEOF
57895 if ac_fn_cxx_try_compile "$LINENO"; then :
57896 glibcxx_cv_func_long_double_trig_use=yes
57897 else
57898 glibcxx_cv_func_long_double_trig_use=no
57900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57901 ac_ext=c
57902 ac_cpp='$CPP $CPPFLAGS'
57903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57910 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57911 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57912 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57913 do :
57914 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57915 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57916 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57917 cat >>confdefs.h <<_ACEOF
57918 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57919 _ACEOF
57922 done
57924 else
57925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57926 $as_echo_n "checking for _long double trig functions... " >&6; }
57927 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
57928 $as_echo_n "(cached) " >&6
57929 else
57932 ac_ext=cpp
57933 ac_cpp='$CXXCPP $CPPFLAGS'
57934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57939 /* end confdefs.h. */
57940 #include <math.h>
57942 main ()
57944 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57946 return 0;
57948 _ACEOF
57949 if ac_fn_cxx_try_compile "$LINENO"; then :
57950 glibcxx_cv_func__long_double_trig_use=yes
57951 else
57952 glibcxx_cv_func__long_double_trig_use=no
57954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57955 ac_ext=c
57956 ac_cpp='$CPP $CPPFLAGS'
57957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57964 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57965 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57966 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57967 do :
57968 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57969 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57970 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57971 cat >>confdefs.h <<_ACEOF
57972 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57973 _ACEOF
57976 done
57985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57986 $as_echo_n "checking for long double round functions... " >&6; }
57987 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
57988 $as_echo_n "(cached) " >&6
57989 else
57992 ac_ext=cpp
57993 ac_cpp='$CXXCPP $CPPFLAGS'
57994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57999 /* end confdefs.h. */
58000 #include <math.h>
58002 main ()
58004 ceill (0); floorl (0);
58006 return 0;
58008 _ACEOF
58009 if ac_fn_cxx_try_compile "$LINENO"; then :
58010 glibcxx_cv_func_long_double_round_use=yes
58011 else
58012 glibcxx_cv_func_long_double_round_use=no
58014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58015 ac_ext=c
58016 ac_cpp='$CPP $CPPFLAGS'
58017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
58024 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
58025 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
58026 for ac_func in ceill floorl
58027 do :
58028 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58029 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58030 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58031 cat >>confdefs.h <<_ACEOF
58032 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58033 _ACEOF
58036 done
58038 else
58039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
58040 $as_echo_n "checking for _long double round functions... " >&6; }
58041 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
58042 $as_echo_n "(cached) " >&6
58043 else
58046 ac_ext=cpp
58047 ac_cpp='$CXXCPP $CPPFLAGS'
58048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58053 /* end confdefs.h. */
58054 #include <math.h>
58056 main ()
58058 _ceill (0); _floorl (0);
58060 return 0;
58062 _ACEOF
58063 if ac_fn_cxx_try_compile "$LINENO"; then :
58064 glibcxx_cv_func__long_double_round_use=yes
58065 else
58066 glibcxx_cv_func__long_double_round_use=no
58068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58069 ac_ext=c
58070 ac_cpp='$CPP $CPPFLAGS'
58071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
58078 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
58079 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
58080 for ac_func in _ceill _floorl
58081 do :
58082 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58083 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58084 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58085 cat >>confdefs.h <<_ACEOF
58086 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58087 _ACEOF
58090 done
58100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
58101 $as_echo_n "checking for isnanl declaration... " >&6; }
58102 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
58103 if ${glibcxx_cv_func_isnanl_use+:} false; then :
58104 $as_echo_n "(cached) " >&6
58105 else
58108 ac_ext=cpp
58109 ac_cpp='$CXXCPP $CPPFLAGS'
58110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58115 /* end confdefs.h. */
58116 #include <math.h>
58117 #ifdef HAVE_IEEEFP_H
58118 #include <ieeefp.h>
58119 #endif
58122 main ()
58124 isnanl(0);
58126 return 0;
58128 _ACEOF
58129 if ac_fn_cxx_try_compile "$LINENO"; then :
58130 glibcxx_cv_func_isnanl_use=yes
58131 else
58132 glibcxx_cv_func_isnanl_use=no
58134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58135 ac_ext=c
58136 ac_cpp='$CPP $CPPFLAGS'
58137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
58146 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
58148 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
58149 for ac_func in isnanl
58150 do :
58151 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
58152 if test "x$ac_cv_func_isnanl" = xyes; then :
58153 cat >>confdefs.h <<_ACEOF
58154 #define HAVE_ISNANL 1
58155 _ACEOF
58158 done
58160 else
58162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
58163 $as_echo_n "checking for _isnanl declaration... " >&6; }
58164 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
58165 if ${glibcxx_cv_func__isnanl_use+:} false; then :
58166 $as_echo_n "(cached) " >&6
58167 else
58170 ac_ext=cpp
58171 ac_cpp='$CXXCPP $CPPFLAGS'
58172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58177 /* end confdefs.h. */
58178 #include <math.h>
58179 #ifdef HAVE_IEEEFP_H
58180 #include <ieeefp.h>
58181 #endif
58184 main ()
58186 _isnanl(0);
58188 return 0;
58190 _ACEOF
58191 if ac_fn_cxx_try_compile "$LINENO"; then :
58192 glibcxx_cv_func__isnanl_use=yes
58193 else
58194 glibcxx_cv_func__isnanl_use=no
58196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58197 ac_ext=c
58198 ac_cpp='$CPP $CPPFLAGS'
58199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
58208 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
58210 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
58211 for ac_func in _isnanl
58212 do :
58213 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
58214 if test "x$ac_cv_func__isnanl" = xyes; then :
58215 cat >>confdefs.h <<_ACEOF
58216 #define HAVE__ISNANL 1
58217 _ACEOF
58220 done
58229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
58230 $as_echo_n "checking for isinfl declaration... " >&6; }
58231 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
58232 if ${glibcxx_cv_func_isinfl_use+:} false; then :
58233 $as_echo_n "(cached) " >&6
58234 else
58237 ac_ext=cpp
58238 ac_cpp='$CXXCPP $CPPFLAGS'
58239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58244 /* end confdefs.h. */
58245 #include <math.h>
58246 #ifdef HAVE_IEEEFP_H
58247 #include <ieeefp.h>
58248 #endif
58251 main ()
58253 isinfl(0);
58255 return 0;
58257 _ACEOF
58258 if ac_fn_cxx_try_compile "$LINENO"; then :
58259 glibcxx_cv_func_isinfl_use=yes
58260 else
58261 glibcxx_cv_func_isinfl_use=no
58263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58264 ac_ext=c
58265 ac_cpp='$CPP $CPPFLAGS'
58266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
58275 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
58277 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
58278 for ac_func in isinfl
58279 do :
58280 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
58281 if test "x$ac_cv_func_isinfl" = xyes; then :
58282 cat >>confdefs.h <<_ACEOF
58283 #define HAVE_ISINFL 1
58284 _ACEOF
58287 done
58289 else
58291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
58292 $as_echo_n "checking for _isinfl declaration... " >&6; }
58293 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
58294 if ${glibcxx_cv_func__isinfl_use+:} false; then :
58295 $as_echo_n "(cached) " >&6
58296 else
58299 ac_ext=cpp
58300 ac_cpp='$CXXCPP $CPPFLAGS'
58301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58306 /* end confdefs.h. */
58307 #include <math.h>
58308 #ifdef HAVE_IEEEFP_H
58309 #include <ieeefp.h>
58310 #endif
58313 main ()
58315 _isinfl(0);
58317 return 0;
58319 _ACEOF
58320 if ac_fn_cxx_try_compile "$LINENO"; then :
58321 glibcxx_cv_func__isinfl_use=yes
58322 else
58323 glibcxx_cv_func__isinfl_use=no
58325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58326 ac_ext=c
58327 ac_cpp='$CPP $CPPFLAGS'
58328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
58337 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
58339 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
58340 for ac_func in _isinfl
58341 do :
58342 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
58343 if test "x$ac_cv_func__isinfl" = xyes; then :
58344 cat >>confdefs.h <<_ACEOF
58345 #define HAVE__ISINFL 1
58346 _ACEOF
58349 done
58358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
58359 $as_echo_n "checking for atan2l declaration... " >&6; }
58360 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
58361 if ${glibcxx_cv_func_atan2l_use+:} false; then :
58362 $as_echo_n "(cached) " >&6
58363 else
58366 ac_ext=cpp
58367 ac_cpp='$CXXCPP $CPPFLAGS'
58368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58373 /* end confdefs.h. */
58374 #include <math.h>
58376 main ()
58378 atan2l(0, 0);
58380 return 0;
58382 _ACEOF
58383 if ac_fn_cxx_try_compile "$LINENO"; then :
58384 glibcxx_cv_func_atan2l_use=yes
58385 else
58386 glibcxx_cv_func_atan2l_use=no
58388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58389 ac_ext=c
58390 ac_cpp='$CPP $CPPFLAGS'
58391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
58400 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
58402 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
58403 for ac_func in atan2l
58404 do :
58405 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
58406 if test "x$ac_cv_func_atan2l" = xyes; then :
58407 cat >>confdefs.h <<_ACEOF
58408 #define HAVE_ATAN2L 1
58409 _ACEOF
58412 done
58414 else
58416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
58417 $as_echo_n "checking for _atan2l declaration... " >&6; }
58418 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
58419 if ${glibcxx_cv_func__atan2l_use+:} false; then :
58420 $as_echo_n "(cached) " >&6
58421 else
58424 ac_ext=cpp
58425 ac_cpp='$CXXCPP $CPPFLAGS'
58426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58431 /* end confdefs.h. */
58432 #include <math.h>
58434 main ()
58436 _atan2l(0, 0);
58438 return 0;
58440 _ACEOF
58441 if ac_fn_cxx_try_compile "$LINENO"; then :
58442 glibcxx_cv_func__atan2l_use=yes
58443 else
58444 glibcxx_cv_func__atan2l_use=no
58446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58447 ac_ext=c
58448 ac_cpp='$CPP $CPPFLAGS'
58449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
58458 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
58460 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
58461 for ac_func in _atan2l
58462 do :
58463 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
58464 if test "x$ac_cv_func__atan2l" = xyes; then :
58465 cat >>confdefs.h <<_ACEOF
58466 #define HAVE__ATAN2L 1
58467 _ACEOF
58470 done
58479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
58480 $as_echo_n "checking for expl declaration... " >&6; }
58481 if test x${glibcxx_cv_func_expl_use+set} != xset; then
58482 if ${glibcxx_cv_func_expl_use+:} false; then :
58483 $as_echo_n "(cached) " >&6
58484 else
58487 ac_ext=cpp
58488 ac_cpp='$CXXCPP $CPPFLAGS'
58489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58494 /* end confdefs.h. */
58495 #include <math.h>
58496 #ifdef HAVE_IEEEFP_H
58497 #include <ieeefp.h>
58498 #endif
58501 main ()
58503 expl(0);
58505 return 0;
58507 _ACEOF
58508 if ac_fn_cxx_try_compile "$LINENO"; then :
58509 glibcxx_cv_func_expl_use=yes
58510 else
58511 glibcxx_cv_func_expl_use=no
58513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58514 ac_ext=c
58515 ac_cpp='$CPP $CPPFLAGS'
58516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
58525 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
58527 if test x$glibcxx_cv_func_expl_use = x"yes"; then
58528 for ac_func in expl
58529 do :
58530 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
58531 if test "x$ac_cv_func_expl" = xyes; then :
58532 cat >>confdefs.h <<_ACEOF
58533 #define HAVE_EXPL 1
58534 _ACEOF
58537 done
58539 else
58541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
58542 $as_echo_n "checking for _expl declaration... " >&6; }
58543 if test x${glibcxx_cv_func__expl_use+set} != xset; then
58544 if ${glibcxx_cv_func__expl_use+:} false; then :
58545 $as_echo_n "(cached) " >&6
58546 else
58549 ac_ext=cpp
58550 ac_cpp='$CXXCPP $CPPFLAGS'
58551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58556 /* end confdefs.h. */
58557 #include <math.h>
58558 #ifdef HAVE_IEEEFP_H
58559 #include <ieeefp.h>
58560 #endif
58563 main ()
58565 _expl(0);
58567 return 0;
58569 _ACEOF
58570 if ac_fn_cxx_try_compile "$LINENO"; then :
58571 glibcxx_cv_func__expl_use=yes
58572 else
58573 glibcxx_cv_func__expl_use=no
58575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58576 ac_ext=c
58577 ac_cpp='$CPP $CPPFLAGS'
58578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
58587 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
58589 if test x$glibcxx_cv_func__expl_use = x"yes"; then
58590 for ac_func in _expl
58591 do :
58592 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
58593 if test "x$ac_cv_func__expl" = xyes; then :
58594 cat >>confdefs.h <<_ACEOF
58595 #define HAVE__EXPL 1
58596 _ACEOF
58599 done
58608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
58609 $as_echo_n "checking for fabsl declaration... " >&6; }
58610 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
58611 if ${glibcxx_cv_func_fabsl_use+:} false; then :
58612 $as_echo_n "(cached) " >&6
58613 else
58616 ac_ext=cpp
58617 ac_cpp='$CXXCPP $CPPFLAGS'
58618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58623 /* end confdefs.h. */
58624 #include <math.h>
58625 #ifdef HAVE_IEEEFP_H
58626 #include <ieeefp.h>
58627 #endif
58630 main ()
58632 fabsl(0);
58634 return 0;
58636 _ACEOF
58637 if ac_fn_cxx_try_compile "$LINENO"; then :
58638 glibcxx_cv_func_fabsl_use=yes
58639 else
58640 glibcxx_cv_func_fabsl_use=no
58642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58643 ac_ext=c
58644 ac_cpp='$CPP $CPPFLAGS'
58645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
58654 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
58656 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
58657 for ac_func in fabsl
58658 do :
58659 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
58660 if test "x$ac_cv_func_fabsl" = xyes; then :
58661 cat >>confdefs.h <<_ACEOF
58662 #define HAVE_FABSL 1
58663 _ACEOF
58666 done
58668 else
58670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
58671 $as_echo_n "checking for _fabsl declaration... " >&6; }
58672 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
58673 if ${glibcxx_cv_func__fabsl_use+:} false; then :
58674 $as_echo_n "(cached) " >&6
58675 else
58678 ac_ext=cpp
58679 ac_cpp='$CXXCPP $CPPFLAGS'
58680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58685 /* end confdefs.h. */
58686 #include <math.h>
58687 #ifdef HAVE_IEEEFP_H
58688 #include <ieeefp.h>
58689 #endif
58692 main ()
58694 _fabsl(0);
58696 return 0;
58698 _ACEOF
58699 if ac_fn_cxx_try_compile "$LINENO"; then :
58700 glibcxx_cv_func__fabsl_use=yes
58701 else
58702 glibcxx_cv_func__fabsl_use=no
58704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58705 ac_ext=c
58706 ac_cpp='$CPP $CPPFLAGS'
58707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
58716 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
58718 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
58719 for ac_func in _fabsl
58720 do :
58721 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
58722 if test "x$ac_cv_func__fabsl" = xyes; then :
58723 cat >>confdefs.h <<_ACEOF
58724 #define HAVE__FABSL 1
58725 _ACEOF
58728 done
58737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
58738 $as_echo_n "checking for fmodl declaration... " >&6; }
58739 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
58740 if ${glibcxx_cv_func_fmodl_use+:} false; then :
58741 $as_echo_n "(cached) " >&6
58742 else
58745 ac_ext=cpp
58746 ac_cpp='$CXXCPP $CPPFLAGS'
58747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58752 /* end confdefs.h. */
58753 #include <math.h>
58755 main ()
58757 fmodl(0, 0);
58759 return 0;
58761 _ACEOF
58762 if ac_fn_cxx_try_compile "$LINENO"; then :
58763 glibcxx_cv_func_fmodl_use=yes
58764 else
58765 glibcxx_cv_func_fmodl_use=no
58767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58768 ac_ext=c
58769 ac_cpp='$CPP $CPPFLAGS'
58770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
58779 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
58781 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
58782 for ac_func in fmodl
58783 do :
58784 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
58785 if test "x$ac_cv_func_fmodl" = xyes; then :
58786 cat >>confdefs.h <<_ACEOF
58787 #define HAVE_FMODL 1
58788 _ACEOF
58791 done
58793 else
58795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
58796 $as_echo_n "checking for _fmodl declaration... " >&6; }
58797 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
58798 if ${glibcxx_cv_func__fmodl_use+:} false; then :
58799 $as_echo_n "(cached) " >&6
58800 else
58803 ac_ext=cpp
58804 ac_cpp='$CXXCPP $CPPFLAGS'
58805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58810 /* end confdefs.h. */
58811 #include <math.h>
58813 main ()
58815 _fmodl(0, 0);
58817 return 0;
58819 _ACEOF
58820 if ac_fn_cxx_try_compile "$LINENO"; then :
58821 glibcxx_cv_func__fmodl_use=yes
58822 else
58823 glibcxx_cv_func__fmodl_use=no
58825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58826 ac_ext=c
58827 ac_cpp='$CPP $CPPFLAGS'
58828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58837 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58839 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58840 for ac_func in _fmodl
58841 do :
58842 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58843 if test "x$ac_cv_func__fmodl" = xyes; then :
58844 cat >>confdefs.h <<_ACEOF
58845 #define HAVE__FMODL 1
58846 _ACEOF
58849 done
58858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58859 $as_echo_n "checking for frexpl declaration... " >&6; }
58860 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58861 if ${glibcxx_cv_func_frexpl_use+:} false; then :
58862 $as_echo_n "(cached) " >&6
58863 else
58866 ac_ext=cpp
58867 ac_cpp='$CXXCPP $CPPFLAGS'
58868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58873 /* end confdefs.h. */
58874 #include <math.h>
58876 main ()
58878 frexpl(0, 0);
58880 return 0;
58882 _ACEOF
58883 if ac_fn_cxx_try_compile "$LINENO"; then :
58884 glibcxx_cv_func_frexpl_use=yes
58885 else
58886 glibcxx_cv_func_frexpl_use=no
58888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58889 ac_ext=c
58890 ac_cpp='$CPP $CPPFLAGS'
58891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58900 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58902 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58903 for ac_func in frexpl
58904 do :
58905 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58906 if test "x$ac_cv_func_frexpl" = xyes; then :
58907 cat >>confdefs.h <<_ACEOF
58908 #define HAVE_FREXPL 1
58909 _ACEOF
58912 done
58914 else
58916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58917 $as_echo_n "checking for _frexpl declaration... " >&6; }
58918 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58919 if ${glibcxx_cv_func__frexpl_use+:} false; then :
58920 $as_echo_n "(cached) " >&6
58921 else
58924 ac_ext=cpp
58925 ac_cpp='$CXXCPP $CPPFLAGS'
58926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58931 /* end confdefs.h. */
58932 #include <math.h>
58934 main ()
58936 _frexpl(0, 0);
58938 return 0;
58940 _ACEOF
58941 if ac_fn_cxx_try_compile "$LINENO"; then :
58942 glibcxx_cv_func__frexpl_use=yes
58943 else
58944 glibcxx_cv_func__frexpl_use=no
58946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58947 ac_ext=c
58948 ac_cpp='$CPP $CPPFLAGS'
58949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58958 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58960 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58961 for ac_func in _frexpl
58962 do :
58963 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58964 if test "x$ac_cv_func__frexpl" = xyes; then :
58965 cat >>confdefs.h <<_ACEOF
58966 #define HAVE__FREXPL 1
58967 _ACEOF
58970 done
58979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58980 $as_echo_n "checking for hypotl declaration... " >&6; }
58981 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58982 if ${glibcxx_cv_func_hypotl_use+:} false; then :
58983 $as_echo_n "(cached) " >&6
58984 else
58987 ac_ext=cpp
58988 ac_cpp='$CXXCPP $CPPFLAGS'
58989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58994 /* end confdefs.h. */
58995 #include <math.h>
58997 main ()
58999 hypotl(0, 0);
59001 return 0;
59003 _ACEOF
59004 if ac_fn_cxx_try_compile "$LINENO"; then :
59005 glibcxx_cv_func_hypotl_use=yes
59006 else
59007 glibcxx_cv_func_hypotl_use=no
59009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59010 ac_ext=c
59011 ac_cpp='$CPP $CPPFLAGS'
59012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
59021 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
59023 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
59024 for ac_func in hypotl
59025 do :
59026 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
59027 if test "x$ac_cv_func_hypotl" = xyes; then :
59028 cat >>confdefs.h <<_ACEOF
59029 #define HAVE_HYPOTL 1
59030 _ACEOF
59033 done
59035 else
59037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
59038 $as_echo_n "checking for _hypotl declaration... " >&6; }
59039 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
59040 if ${glibcxx_cv_func__hypotl_use+:} false; then :
59041 $as_echo_n "(cached) " >&6
59042 else
59045 ac_ext=cpp
59046 ac_cpp='$CXXCPP $CPPFLAGS'
59047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59052 /* end confdefs.h. */
59053 #include <math.h>
59055 main ()
59057 _hypotl(0, 0);
59059 return 0;
59061 _ACEOF
59062 if ac_fn_cxx_try_compile "$LINENO"; then :
59063 glibcxx_cv_func__hypotl_use=yes
59064 else
59065 glibcxx_cv_func__hypotl_use=no
59067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59068 ac_ext=c
59069 ac_cpp='$CPP $CPPFLAGS'
59070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
59079 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
59081 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
59082 for ac_func in _hypotl
59083 do :
59084 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
59085 if test "x$ac_cv_func__hypotl" = xyes; then :
59086 cat >>confdefs.h <<_ACEOF
59087 #define HAVE__HYPOTL 1
59088 _ACEOF
59091 done
59100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
59101 $as_echo_n "checking for ldexpl declaration... " >&6; }
59102 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
59103 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
59104 $as_echo_n "(cached) " >&6
59105 else
59108 ac_ext=cpp
59109 ac_cpp='$CXXCPP $CPPFLAGS'
59110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59115 /* end confdefs.h. */
59116 #include <math.h>
59118 main ()
59120 ldexpl(0, 0);
59122 return 0;
59124 _ACEOF
59125 if ac_fn_cxx_try_compile "$LINENO"; then :
59126 glibcxx_cv_func_ldexpl_use=yes
59127 else
59128 glibcxx_cv_func_ldexpl_use=no
59130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59131 ac_ext=c
59132 ac_cpp='$CPP $CPPFLAGS'
59133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
59142 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
59144 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
59145 for ac_func in ldexpl
59146 do :
59147 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
59148 if test "x$ac_cv_func_ldexpl" = xyes; then :
59149 cat >>confdefs.h <<_ACEOF
59150 #define HAVE_LDEXPL 1
59151 _ACEOF
59154 done
59156 else
59158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
59159 $as_echo_n "checking for _ldexpl declaration... " >&6; }
59160 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
59161 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
59162 $as_echo_n "(cached) " >&6
59163 else
59166 ac_ext=cpp
59167 ac_cpp='$CXXCPP $CPPFLAGS'
59168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59173 /* end confdefs.h. */
59174 #include <math.h>
59176 main ()
59178 _ldexpl(0, 0);
59180 return 0;
59182 _ACEOF
59183 if ac_fn_cxx_try_compile "$LINENO"; then :
59184 glibcxx_cv_func__ldexpl_use=yes
59185 else
59186 glibcxx_cv_func__ldexpl_use=no
59188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59189 ac_ext=c
59190 ac_cpp='$CPP $CPPFLAGS'
59191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
59200 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
59202 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
59203 for ac_func in _ldexpl
59204 do :
59205 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
59206 if test "x$ac_cv_func__ldexpl" = xyes; then :
59207 cat >>confdefs.h <<_ACEOF
59208 #define HAVE__LDEXPL 1
59209 _ACEOF
59212 done
59221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
59222 $as_echo_n "checking for logl declaration... " >&6; }
59223 if test x${glibcxx_cv_func_logl_use+set} != xset; then
59224 if ${glibcxx_cv_func_logl_use+:} false; then :
59225 $as_echo_n "(cached) " >&6
59226 else
59229 ac_ext=cpp
59230 ac_cpp='$CXXCPP $CPPFLAGS'
59231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59236 /* end confdefs.h. */
59237 #include <math.h>
59238 #ifdef HAVE_IEEEFP_H
59239 #include <ieeefp.h>
59240 #endif
59243 main ()
59245 logl(0);
59247 return 0;
59249 _ACEOF
59250 if ac_fn_cxx_try_compile "$LINENO"; then :
59251 glibcxx_cv_func_logl_use=yes
59252 else
59253 glibcxx_cv_func_logl_use=no
59255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59256 ac_ext=c
59257 ac_cpp='$CPP $CPPFLAGS'
59258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
59267 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
59269 if test x$glibcxx_cv_func_logl_use = x"yes"; then
59270 for ac_func in logl
59271 do :
59272 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
59273 if test "x$ac_cv_func_logl" = xyes; then :
59274 cat >>confdefs.h <<_ACEOF
59275 #define HAVE_LOGL 1
59276 _ACEOF
59279 done
59281 else
59283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
59284 $as_echo_n "checking for _logl declaration... " >&6; }
59285 if test x${glibcxx_cv_func__logl_use+set} != xset; then
59286 if ${glibcxx_cv_func__logl_use+:} false; then :
59287 $as_echo_n "(cached) " >&6
59288 else
59291 ac_ext=cpp
59292 ac_cpp='$CXXCPP $CPPFLAGS'
59293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59298 /* end confdefs.h. */
59299 #include <math.h>
59300 #ifdef HAVE_IEEEFP_H
59301 #include <ieeefp.h>
59302 #endif
59305 main ()
59307 _logl(0);
59309 return 0;
59311 _ACEOF
59312 if ac_fn_cxx_try_compile "$LINENO"; then :
59313 glibcxx_cv_func__logl_use=yes
59314 else
59315 glibcxx_cv_func__logl_use=no
59317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59318 ac_ext=c
59319 ac_cpp='$CPP $CPPFLAGS'
59320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
59329 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
59331 if test x$glibcxx_cv_func__logl_use = x"yes"; then
59332 for ac_func in _logl
59333 do :
59334 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
59335 if test "x$ac_cv_func__logl" = xyes; then :
59336 cat >>confdefs.h <<_ACEOF
59337 #define HAVE__LOGL 1
59338 _ACEOF
59341 done
59350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
59351 $as_echo_n "checking for log10l declaration... " >&6; }
59352 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
59353 if ${glibcxx_cv_func_log10l_use+:} false; then :
59354 $as_echo_n "(cached) " >&6
59355 else
59358 ac_ext=cpp
59359 ac_cpp='$CXXCPP $CPPFLAGS'
59360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59365 /* end confdefs.h. */
59366 #include <math.h>
59367 #ifdef HAVE_IEEEFP_H
59368 #include <ieeefp.h>
59369 #endif
59372 main ()
59374 log10l(0);
59376 return 0;
59378 _ACEOF
59379 if ac_fn_cxx_try_compile "$LINENO"; then :
59380 glibcxx_cv_func_log10l_use=yes
59381 else
59382 glibcxx_cv_func_log10l_use=no
59384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59385 ac_ext=c
59386 ac_cpp='$CPP $CPPFLAGS'
59387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
59396 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
59398 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
59399 for ac_func in log10l
59400 do :
59401 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
59402 if test "x$ac_cv_func_log10l" = xyes; then :
59403 cat >>confdefs.h <<_ACEOF
59404 #define HAVE_LOG10L 1
59405 _ACEOF
59408 done
59410 else
59412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
59413 $as_echo_n "checking for _log10l declaration... " >&6; }
59414 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
59415 if ${glibcxx_cv_func__log10l_use+:} false; then :
59416 $as_echo_n "(cached) " >&6
59417 else
59420 ac_ext=cpp
59421 ac_cpp='$CXXCPP $CPPFLAGS'
59422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59427 /* end confdefs.h. */
59428 #include <math.h>
59429 #ifdef HAVE_IEEEFP_H
59430 #include <ieeefp.h>
59431 #endif
59434 main ()
59436 _log10l(0);
59438 return 0;
59440 _ACEOF
59441 if ac_fn_cxx_try_compile "$LINENO"; then :
59442 glibcxx_cv_func__log10l_use=yes
59443 else
59444 glibcxx_cv_func__log10l_use=no
59446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59447 ac_ext=c
59448 ac_cpp='$CPP $CPPFLAGS'
59449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
59458 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
59460 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
59461 for ac_func in _log10l
59462 do :
59463 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
59464 if test "x$ac_cv_func__log10l" = xyes; then :
59465 cat >>confdefs.h <<_ACEOF
59466 #define HAVE__LOG10L 1
59467 _ACEOF
59470 done
59479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
59480 $as_echo_n "checking for modfl declaration... " >&6; }
59481 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
59482 if ${glibcxx_cv_func_modfl_use+:} false; then :
59483 $as_echo_n "(cached) " >&6
59484 else
59487 ac_ext=cpp
59488 ac_cpp='$CXXCPP $CPPFLAGS'
59489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59494 /* end confdefs.h. */
59495 #include <math.h>
59497 main ()
59499 modfl(0, 0);
59501 return 0;
59503 _ACEOF
59504 if ac_fn_cxx_try_compile "$LINENO"; then :
59505 glibcxx_cv_func_modfl_use=yes
59506 else
59507 glibcxx_cv_func_modfl_use=no
59509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59510 ac_ext=c
59511 ac_cpp='$CPP $CPPFLAGS'
59512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
59521 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
59523 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
59524 for ac_func in modfl
59525 do :
59526 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
59527 if test "x$ac_cv_func_modfl" = xyes; then :
59528 cat >>confdefs.h <<_ACEOF
59529 #define HAVE_MODFL 1
59530 _ACEOF
59533 done
59535 else
59537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
59538 $as_echo_n "checking for _modfl declaration... " >&6; }
59539 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
59540 if ${glibcxx_cv_func__modfl_use+:} false; then :
59541 $as_echo_n "(cached) " >&6
59542 else
59545 ac_ext=cpp
59546 ac_cpp='$CXXCPP $CPPFLAGS'
59547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59552 /* end confdefs.h. */
59553 #include <math.h>
59555 main ()
59557 _modfl(0, 0);
59559 return 0;
59561 _ACEOF
59562 if ac_fn_cxx_try_compile "$LINENO"; then :
59563 glibcxx_cv_func__modfl_use=yes
59564 else
59565 glibcxx_cv_func__modfl_use=no
59567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59568 ac_ext=c
59569 ac_cpp='$CPP $CPPFLAGS'
59570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
59579 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
59581 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
59582 for ac_func in _modfl
59583 do :
59584 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
59585 if test "x$ac_cv_func__modfl" = xyes; then :
59586 cat >>confdefs.h <<_ACEOF
59587 #define HAVE__MODFL 1
59588 _ACEOF
59591 done
59600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
59601 $as_echo_n "checking for powl declaration... " >&6; }
59602 if test x${glibcxx_cv_func_powl_use+set} != xset; then
59603 if ${glibcxx_cv_func_powl_use+:} false; then :
59604 $as_echo_n "(cached) " >&6
59605 else
59608 ac_ext=cpp
59609 ac_cpp='$CXXCPP $CPPFLAGS'
59610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59615 /* end confdefs.h. */
59616 #include <math.h>
59618 main ()
59620 powl(0, 0);
59622 return 0;
59624 _ACEOF
59625 if ac_fn_cxx_try_compile "$LINENO"; then :
59626 glibcxx_cv_func_powl_use=yes
59627 else
59628 glibcxx_cv_func_powl_use=no
59630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59631 ac_ext=c
59632 ac_cpp='$CPP $CPPFLAGS'
59633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
59642 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
59644 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59645 for ac_func in powl
59646 do :
59647 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
59648 if test "x$ac_cv_func_powl" = xyes; then :
59649 cat >>confdefs.h <<_ACEOF
59650 #define HAVE_POWL 1
59651 _ACEOF
59654 done
59656 else
59658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
59659 $as_echo_n "checking for _powl declaration... " >&6; }
59660 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59661 if ${glibcxx_cv_func__powl_use+:} false; then :
59662 $as_echo_n "(cached) " >&6
59663 else
59666 ac_ext=cpp
59667 ac_cpp='$CXXCPP $CPPFLAGS'
59668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59673 /* end confdefs.h. */
59674 #include <math.h>
59676 main ()
59678 _powl(0, 0);
59680 return 0;
59682 _ACEOF
59683 if ac_fn_cxx_try_compile "$LINENO"; then :
59684 glibcxx_cv_func__powl_use=yes
59685 else
59686 glibcxx_cv_func__powl_use=no
59688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59689 ac_ext=c
59690 ac_cpp='$CPP $CPPFLAGS'
59691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
59700 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
59702 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59703 for ac_func in _powl
59704 do :
59705 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
59706 if test "x$ac_cv_func__powl" = xyes; then :
59707 cat >>confdefs.h <<_ACEOF
59708 #define HAVE__POWL 1
59709 _ACEOF
59712 done
59721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
59722 $as_echo_n "checking for sqrtl declaration... " >&6; }
59723 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59724 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
59725 $as_echo_n "(cached) " >&6
59726 else
59729 ac_ext=cpp
59730 ac_cpp='$CXXCPP $CPPFLAGS'
59731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59736 /* end confdefs.h. */
59737 #include <math.h>
59738 #ifdef HAVE_IEEEFP_H
59739 #include <ieeefp.h>
59740 #endif
59743 main ()
59745 sqrtl(0);
59747 return 0;
59749 _ACEOF
59750 if ac_fn_cxx_try_compile "$LINENO"; then :
59751 glibcxx_cv_func_sqrtl_use=yes
59752 else
59753 glibcxx_cv_func_sqrtl_use=no
59755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59756 ac_ext=c
59757 ac_cpp='$CPP $CPPFLAGS'
59758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
59767 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
59769 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59770 for ac_func in sqrtl
59771 do :
59772 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
59773 if test "x$ac_cv_func_sqrtl" = xyes; then :
59774 cat >>confdefs.h <<_ACEOF
59775 #define HAVE_SQRTL 1
59776 _ACEOF
59779 done
59781 else
59783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
59784 $as_echo_n "checking for _sqrtl declaration... " >&6; }
59785 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59786 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
59787 $as_echo_n "(cached) " >&6
59788 else
59791 ac_ext=cpp
59792 ac_cpp='$CXXCPP $CPPFLAGS'
59793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59798 /* end confdefs.h. */
59799 #include <math.h>
59800 #ifdef HAVE_IEEEFP_H
59801 #include <ieeefp.h>
59802 #endif
59805 main ()
59807 _sqrtl(0);
59809 return 0;
59811 _ACEOF
59812 if ac_fn_cxx_try_compile "$LINENO"; then :
59813 glibcxx_cv_func__sqrtl_use=yes
59814 else
59815 glibcxx_cv_func__sqrtl_use=no
59817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59818 ac_ext=c
59819 ac_cpp='$CPP $CPPFLAGS'
59820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59829 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59831 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59832 for ac_func in _sqrtl
59833 do :
59834 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59835 if test "x$ac_cv_func__sqrtl" = xyes; then :
59836 cat >>confdefs.h <<_ACEOF
59837 #define HAVE__SQRTL 1
59838 _ACEOF
59841 done
59850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59851 $as_echo_n "checking for sincosl declaration... " >&6; }
59852 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59853 if ${glibcxx_cv_func_sincosl_use+:} false; then :
59854 $as_echo_n "(cached) " >&6
59855 else
59858 ac_ext=cpp
59859 ac_cpp='$CXXCPP $CPPFLAGS'
59860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59865 /* end confdefs.h. */
59866 #include <math.h>
59868 main ()
59870 sincosl(0, 0, 0);
59872 return 0;
59874 _ACEOF
59875 if ac_fn_cxx_try_compile "$LINENO"; then :
59876 glibcxx_cv_func_sincosl_use=yes
59877 else
59878 glibcxx_cv_func_sincosl_use=no
59880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59881 ac_ext=c
59882 ac_cpp='$CPP $CPPFLAGS'
59883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59892 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59894 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59895 for ac_func in sincosl
59896 do :
59897 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59898 if test "x$ac_cv_func_sincosl" = xyes; then :
59899 cat >>confdefs.h <<_ACEOF
59900 #define HAVE_SINCOSL 1
59901 _ACEOF
59904 done
59906 else
59908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59909 $as_echo_n "checking for _sincosl declaration... " >&6; }
59910 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59911 if ${glibcxx_cv_func__sincosl_use+:} false; then :
59912 $as_echo_n "(cached) " >&6
59913 else
59916 ac_ext=cpp
59917 ac_cpp='$CXXCPP $CPPFLAGS'
59918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59923 /* end confdefs.h. */
59924 #include <math.h>
59926 main ()
59928 _sincosl(0, 0, 0);
59930 return 0;
59932 _ACEOF
59933 if ac_fn_cxx_try_compile "$LINENO"; then :
59934 glibcxx_cv_func__sincosl_use=yes
59935 else
59936 glibcxx_cv_func__sincosl_use=no
59938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59939 ac_ext=c
59940 ac_cpp='$CPP $CPPFLAGS'
59941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59950 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59952 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59953 for ac_func in _sincosl
59954 do :
59955 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59956 if test "x$ac_cv_func__sincosl" = xyes; then :
59957 cat >>confdefs.h <<_ACEOF
59958 #define HAVE__SINCOSL 1
59959 _ACEOF
59962 done
59971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59972 $as_echo_n "checking for finitel declaration... " >&6; }
59973 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59974 if ${glibcxx_cv_func_finitel_use+:} false; then :
59975 $as_echo_n "(cached) " >&6
59976 else
59979 ac_ext=cpp
59980 ac_cpp='$CXXCPP $CPPFLAGS'
59981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59986 /* end confdefs.h. */
59987 #include <math.h>
59988 #ifdef HAVE_IEEEFP_H
59989 #include <ieeefp.h>
59990 #endif
59993 main ()
59995 finitel(0);
59997 return 0;
59999 _ACEOF
60000 if ac_fn_cxx_try_compile "$LINENO"; then :
60001 glibcxx_cv_func_finitel_use=yes
60002 else
60003 glibcxx_cv_func_finitel_use=no
60005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60006 ac_ext=c
60007 ac_cpp='$CPP $CPPFLAGS'
60008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
60017 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
60019 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
60020 for ac_func in finitel
60021 do :
60022 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
60023 if test "x$ac_cv_func_finitel" = xyes; then :
60024 cat >>confdefs.h <<_ACEOF
60025 #define HAVE_FINITEL 1
60026 _ACEOF
60029 done
60031 else
60033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
60034 $as_echo_n "checking for _finitel declaration... " >&6; }
60035 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
60036 if ${glibcxx_cv_func__finitel_use+:} false; then :
60037 $as_echo_n "(cached) " >&6
60038 else
60041 ac_ext=cpp
60042 ac_cpp='$CXXCPP $CPPFLAGS'
60043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60048 /* end confdefs.h. */
60049 #include <math.h>
60050 #ifdef HAVE_IEEEFP_H
60051 #include <ieeefp.h>
60052 #endif
60055 main ()
60057 _finitel(0);
60059 return 0;
60061 _ACEOF
60062 if ac_fn_cxx_try_compile "$LINENO"; then :
60063 glibcxx_cv_func__finitel_use=yes
60064 else
60065 glibcxx_cv_func__finitel_use=no
60067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60068 ac_ext=c
60069 ac_cpp='$CPP $CPPFLAGS'
60070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
60079 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
60081 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
60082 for ac_func in _finitel
60083 do :
60084 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
60085 if test "x$ac_cv_func__finitel" = xyes; then :
60086 cat >>confdefs.h <<_ACEOF
60087 #define HAVE__FINITEL 1
60088 _ACEOF
60091 done
60099 LIBS="$ac_save_LIBS"
60100 CXXFLAGS="$ac_save_CXXFLAGS"
60103 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60104 ac_save_CXXFLAGS="$CXXFLAGS"
60105 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
60109 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
60110 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
60111 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
60112 $as_echo_n "(cached) " >&6
60113 else
60116 ac_ext=cpp
60117 ac_cpp='$CXXCPP $CPPFLAGS'
60118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60123 /* end confdefs.h. */
60124 #include <stdlib.h>
60126 main ()
60128 at_quick_exit(0);
60130 return 0;
60132 _ACEOF
60133 if ac_fn_cxx_try_compile "$LINENO"; then :
60134 glibcxx_cv_func_at_quick_exit_use=yes
60135 else
60136 glibcxx_cv_func_at_quick_exit_use=no
60138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60139 ac_ext=c
60140 ac_cpp='$CPP $CPPFLAGS'
60141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
60150 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
60151 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
60152 for ac_func in at_quick_exit
60153 do :
60154 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
60155 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
60156 cat >>confdefs.h <<_ACEOF
60157 #define HAVE_AT_QUICK_EXIT 1
60158 _ACEOF
60161 done
60166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
60167 $as_echo_n "checking for quick_exit declaration... " >&6; }
60168 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
60169 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
60170 $as_echo_n "(cached) " >&6
60171 else
60174 ac_ext=cpp
60175 ac_cpp='$CXXCPP $CPPFLAGS'
60176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60181 /* end confdefs.h. */
60182 #include <stdlib.h>
60184 main ()
60186 quick_exit(0);
60188 return 0;
60190 _ACEOF
60191 if ac_fn_cxx_try_compile "$LINENO"; then :
60192 glibcxx_cv_func_quick_exit_use=yes
60193 else
60194 glibcxx_cv_func_quick_exit_use=no
60196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60197 ac_ext=c
60198 ac_cpp='$CPP $CPPFLAGS'
60199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
60208 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
60209 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
60210 for ac_func in quick_exit
60211 do :
60212 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
60213 if test "x$ac_cv_func_quick_exit" = xyes; then :
60214 cat >>confdefs.h <<_ACEOF
60215 #define HAVE_QUICK_EXIT 1
60216 _ACEOF
60219 done
60224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
60225 $as_echo_n "checking for strtold declaration... " >&6; }
60226 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
60227 if ${glibcxx_cv_func_strtold_use+:} false; then :
60228 $as_echo_n "(cached) " >&6
60229 else
60232 ac_ext=cpp
60233 ac_cpp='$CXXCPP $CPPFLAGS'
60234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60239 /* end confdefs.h. */
60240 #include <stdlib.h>
60242 main ()
60244 strtold(0, 0);
60246 return 0;
60248 _ACEOF
60249 if ac_fn_cxx_try_compile "$LINENO"; then :
60250 glibcxx_cv_func_strtold_use=yes
60251 else
60252 glibcxx_cv_func_strtold_use=no
60254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60255 ac_ext=c
60256 ac_cpp='$CPP $CPPFLAGS'
60257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
60266 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
60267 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
60268 for ac_func in strtold
60269 do :
60270 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
60271 if test "x$ac_cv_func_strtold" = xyes; then :
60272 cat >>confdefs.h <<_ACEOF
60273 #define HAVE_STRTOLD 1
60274 _ACEOF
60277 done
60284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
60285 $as_echo_n "checking for strtof declaration... " >&6; }
60286 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
60287 if ${glibcxx_cv_func_strtof_use+:} false; then :
60288 $as_echo_n "(cached) " >&6
60289 else
60292 ac_ext=cpp
60293 ac_cpp='$CXXCPP $CPPFLAGS'
60294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60299 /* end confdefs.h. */
60300 #include <stdlib.h>
60302 main ()
60304 strtof(0, 0);
60306 return 0;
60308 _ACEOF
60309 if ac_fn_cxx_try_compile "$LINENO"; then :
60310 glibcxx_cv_func_strtof_use=yes
60311 else
60312 glibcxx_cv_func_strtof_use=no
60314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60315 ac_ext=c
60316 ac_cpp='$CPP $CPPFLAGS'
60317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
60326 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
60327 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
60328 for ac_func in strtof
60329 do :
60330 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
60331 if test "x$ac_cv_func_strtof" = xyes; then :
60332 cat >>confdefs.h <<_ACEOF
60333 #define HAVE_STRTOF 1
60334 _ACEOF
60337 done
60344 CXXFLAGS="$ac_save_CXXFLAGS"
60346 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60347 do :
60348 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60349 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60350 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60351 cat >>confdefs.h <<_ACEOF
60352 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60353 _ACEOF
60356 done
60358 for ac_func in _wfopen
60359 do :
60360 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
60361 if test "x$ac_cv_func__wfopen" = xyes; then :
60362 cat >>confdefs.h <<_ACEOF
60363 #define HAVE__WFOPEN 1
60364 _ACEOF
60367 done
60370 *-netbsd* | *-openbsd*)
60371 SECTION_FLAGS='-ffunction-sections -fdata-sections'
60374 # If we're not using GNU ld, then there's no point in even trying these
60375 # tests. Check for that first. We should have already tested for gld
60376 # by now (in libtool), but require it now just to be safe...
60377 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60378 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60382 # The name set by libtool depends on the version of libtool. Shame on us
60383 # for depending on an impl detail, but c'est la vie. Older versions used
60384 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60385 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60386 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60387 # set (hence we're using an older libtool), then set it.
60388 if test x${with_gnu_ld+set} != xset; then
60389 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60390 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60391 with_gnu_ld=no
60392 else
60393 with_gnu_ld=$ac_cv_prog_gnu_ld
60397 # Start by getting the version number. I think the libtool test already
60398 # does some of this, but throws away the result.
60399 glibcxx_ld_is_gold=no
60400 if test x"$with_gnu_ld" = x"yes"; then
60401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60402 $as_echo_n "checking for ld version... " >&6; }
60404 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60405 glibcxx_ld_is_gold=yes
60407 ldver=`$LD --version 2>/dev/null |
60408 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60410 glibcxx_gnu_ld_version=`echo $ldver | \
60411 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60413 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60416 # Set --gc-sections.
60417 glibcxx_have_gc_sections=no
60418 if test "$glibcxx_ld_is_gold" = "yes"; then
60419 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60420 glibcxx_have_gc_sections=yes
60422 else
60423 glibcxx_gcsections_min_ld=21602
60424 if test x"$with_gnu_ld" = x"yes" &&
60425 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60426 glibcxx_have_gc_sections=yes
60429 if test "$glibcxx_have_gc_sections" = "yes"; then
60430 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60431 # NB: This flag only works reliably after 2.16.1. Configure tests
60432 # for this are difficult, so hard wire a value that should work.
60434 ac_test_CFLAGS="${CFLAGS+set}"
60435 ac_save_CFLAGS="$CFLAGS"
60436 CFLAGS='-Wl,--gc-sections'
60438 # Check for -Wl,--gc-sections
60439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60440 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60441 if test x$gcc_no_link = xyes; then
60442 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60445 /* end confdefs.h. */
60446 int one(void) { return 1; }
60447 int two(void) { return 2; }
60450 main ()
60452 two();
60454 return 0;
60456 _ACEOF
60457 if ac_fn_c_try_link "$LINENO"; then :
60458 ac_gcsections=yes
60459 else
60460 ac_gcsections=no
60462 rm -f core conftest.err conftest.$ac_objext \
60463 conftest$ac_exeext conftest.$ac_ext
60464 if test "$ac_gcsections" = "yes"; then
60465 rm -f conftest.c
60466 touch conftest.c
60467 if $CC -c conftest.c; then
60468 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60469 grep "Warning: gc-sections option ignored" > /dev/null; then
60470 ac_gcsections=no
60473 rm -f conftest.c conftest.o conftest
60475 if test "$ac_gcsections" = "yes"; then
60476 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60479 $as_echo "$ac_gcsections" >&6; }
60481 if test "$ac_test_CFLAGS" = set; then
60482 CFLAGS="$ac_save_CFLAGS"
60483 else
60484 # this is the suspicious part
60485 CFLAGS=''
60489 # Set -z,relro.
60490 # Note this is only for shared objects.
60491 ac_ld_relro=no
60492 if test x"$with_gnu_ld" = x"yes"; then
60493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60494 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60495 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60496 if test -n "$cxx_z_relo"; then
60497 OPT_LDFLAGS="-Wl,-z,relro"
60498 ac_ld_relro=yes
60500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60501 $as_echo "$ac_ld_relro" >&6; }
60504 # Set linker optimization flags.
60505 if test x"$with_gnu_ld" = x"yes"; then
60506 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60512 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
60514 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
60516 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
60518 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
60520 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
60522 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
60524 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
60526 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
60528 if test x"long_double_math_on_this_cpu" = x"yes"; then
60529 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
60531 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
60533 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
60536 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60537 do :
60538 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60539 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60540 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60541 cat >>confdefs.h <<_ACEOF
60542 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60543 _ACEOF
60546 done
60548 for ac_func in timespec_get
60549 do :
60550 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
60551 if test "x$ac_cv_func_timespec_get" = xyes; then :
60552 cat >>confdefs.h <<_ACEOF
60553 #define HAVE_TIMESPEC_GET 1
60554 _ACEOF
60557 done
60559 for ac_func in sockatmark
60560 do :
60561 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
60562 if test "x$ac_cv_func_sockatmark" = xyes; then :
60563 cat >>confdefs.h <<_ACEOF
60564 #define HAVE_SOCKATMARK 1
60565 _ACEOF
60568 done
60571 *-qnx6.1* | *-qnx6.2*)
60572 SECTION_FLAGS='-ffunction-sections -fdata-sections'
60575 # If we're not using GNU ld, then there's no point in even trying these
60576 # tests. Check for that first. We should have already tested for gld
60577 # by now (in libtool), but require it now just to be safe...
60578 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60579 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60583 # The name set by libtool depends on the version of libtool. Shame on us
60584 # for depending on an impl detail, but c'est la vie. Older versions used
60585 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60586 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60587 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60588 # set (hence we're using an older libtool), then set it.
60589 if test x${with_gnu_ld+set} != xset; then
60590 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60591 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60592 with_gnu_ld=no
60593 else
60594 with_gnu_ld=$ac_cv_prog_gnu_ld
60598 # Start by getting the version number. I think the libtool test already
60599 # does some of this, but throws away the result.
60600 glibcxx_ld_is_gold=no
60601 if test x"$with_gnu_ld" = x"yes"; then
60602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60603 $as_echo_n "checking for ld version... " >&6; }
60605 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60606 glibcxx_ld_is_gold=yes
60608 ldver=`$LD --version 2>/dev/null |
60609 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60611 glibcxx_gnu_ld_version=`echo $ldver | \
60612 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60614 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60617 # Set --gc-sections.
60618 glibcxx_have_gc_sections=no
60619 if test "$glibcxx_ld_is_gold" = "yes"; then
60620 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60621 glibcxx_have_gc_sections=yes
60623 else
60624 glibcxx_gcsections_min_ld=21602
60625 if test x"$with_gnu_ld" = x"yes" &&
60626 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60627 glibcxx_have_gc_sections=yes
60630 if test "$glibcxx_have_gc_sections" = "yes"; then
60631 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60632 # NB: This flag only works reliably after 2.16.1. Configure tests
60633 # for this are difficult, so hard wire a value that should work.
60635 ac_test_CFLAGS="${CFLAGS+set}"
60636 ac_save_CFLAGS="$CFLAGS"
60637 CFLAGS='-Wl,--gc-sections'
60639 # Check for -Wl,--gc-sections
60640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60641 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60642 if test x$gcc_no_link = xyes; then
60643 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60646 /* end confdefs.h. */
60647 int one(void) { return 1; }
60648 int two(void) { return 2; }
60651 main ()
60653 two();
60655 return 0;
60657 _ACEOF
60658 if ac_fn_c_try_link "$LINENO"; then :
60659 ac_gcsections=yes
60660 else
60661 ac_gcsections=no
60663 rm -f core conftest.err conftest.$ac_objext \
60664 conftest$ac_exeext conftest.$ac_ext
60665 if test "$ac_gcsections" = "yes"; then
60666 rm -f conftest.c
60667 touch conftest.c
60668 if $CC -c conftest.c; then
60669 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60670 grep "Warning: gc-sections option ignored" > /dev/null; then
60671 ac_gcsections=no
60674 rm -f conftest.c conftest.o conftest
60676 if test "$ac_gcsections" = "yes"; then
60677 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60680 $as_echo "$ac_gcsections" >&6; }
60682 if test "$ac_test_CFLAGS" = set; then
60683 CFLAGS="$ac_save_CFLAGS"
60684 else
60685 # this is the suspicious part
60686 CFLAGS=''
60690 # Set -z,relro.
60691 # Note this is only for shared objects.
60692 ac_ld_relro=no
60693 if test x"$with_gnu_ld" = x"yes"; then
60694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60695 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60696 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60697 if test -n "$cxx_z_relo"; then
60698 OPT_LDFLAGS="-Wl,-z,relro"
60699 ac_ld_relro=yes
60701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60702 $as_echo "$ac_ld_relro" >&6; }
60705 # Set linker optimization flags.
60706 if test x"$with_gnu_ld" = x"yes"; then
60707 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60713 $as_echo "#define HAVE_COSF 1" >>confdefs.h
60715 $as_echo "#define HAVE_COSL 1" >>confdefs.h
60717 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
60719 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
60721 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
60723 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
60725 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
60727 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
60729 $as_echo "#define HAVE_SINF 1" >>confdefs.h
60731 $as_echo "#define HAVE_SINL 1" >>confdefs.h
60733 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
60735 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
60738 *-rtems*)
60740 # All these tests are for C++; save the language and the compiler flags.
60741 # The CXXFLAGS thing is suspicious, but based on similar bits previously
60742 # found in GLIBCXX_CONFIGURE.
60744 ac_ext=cpp
60745 ac_cpp='$CXXCPP $CPPFLAGS'
60746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60750 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60751 ac_save_CXXFLAGS="$CXXFLAGS"
60753 # Check for -ffunction-sections -fdata-sections
60754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
60755 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
60756 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
60757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60758 /* end confdefs.h. */
60759 int foo; void bar() { };
60761 main ()
60765 return 0;
60767 _ACEOF
60768 if ac_fn_cxx_try_compile "$LINENO"; then :
60769 ac_fdsections=yes
60770 else
60771 ac_fdsections=no
60773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60774 if test "$ac_test_CXXFLAGS" = set; then
60775 CXXFLAGS="$ac_save_CXXFLAGS"
60776 else
60777 # this is the suspicious part
60778 CXXFLAGS=''
60780 if test x"$ac_fdsections" = x"yes"; then
60781 SECTION_FLAGS='-ffunction-sections -fdata-sections'
60783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
60784 $as_echo "$ac_fdsections" >&6; }
60786 ac_ext=c
60787 ac_cpp='$CPP $CPPFLAGS'
60788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60795 # If we're not using GNU ld, then there's no point in even trying these
60796 # tests. Check for that first. We should have already tested for gld
60797 # by now (in libtool), but require it now just to be safe...
60798 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60799 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60803 # The name set by libtool depends on the version of libtool. Shame on us
60804 # for depending on an impl detail, but c'est la vie. Older versions used
60805 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60806 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60807 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60808 # set (hence we're using an older libtool), then set it.
60809 if test x${with_gnu_ld+set} != xset; then
60810 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60811 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60812 with_gnu_ld=no
60813 else
60814 with_gnu_ld=$ac_cv_prog_gnu_ld
60818 # Start by getting the version number. I think the libtool test already
60819 # does some of this, but throws away the result.
60820 glibcxx_ld_is_gold=no
60821 if test x"$with_gnu_ld" = x"yes"; then
60822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60823 $as_echo_n "checking for ld version... " >&6; }
60825 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60826 glibcxx_ld_is_gold=yes
60828 ldver=`$LD --version 2>/dev/null |
60829 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60831 glibcxx_gnu_ld_version=`echo $ldver | \
60832 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60834 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60837 # Set --gc-sections.
60838 glibcxx_have_gc_sections=no
60839 if test "$glibcxx_ld_is_gold" = "yes"; then
60840 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60841 glibcxx_have_gc_sections=yes
60843 else
60844 glibcxx_gcsections_min_ld=21602
60845 if test x"$with_gnu_ld" = x"yes" &&
60846 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60847 glibcxx_have_gc_sections=yes
60850 if test "$glibcxx_have_gc_sections" = "yes"; then
60851 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60852 # NB: This flag only works reliably after 2.16.1. Configure tests
60853 # for this are difficult, so hard wire a value that should work.
60855 ac_test_CFLAGS="${CFLAGS+set}"
60856 ac_save_CFLAGS="$CFLAGS"
60857 CFLAGS='-Wl,--gc-sections'
60859 # Check for -Wl,--gc-sections
60860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60861 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60862 if test x$gcc_no_link = xyes; then
60863 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60866 /* end confdefs.h. */
60867 int one(void) { return 1; }
60868 int two(void) { return 2; }
60871 main ()
60873 two();
60875 return 0;
60877 _ACEOF
60878 if ac_fn_c_try_link "$LINENO"; then :
60879 ac_gcsections=yes
60880 else
60881 ac_gcsections=no
60883 rm -f core conftest.err conftest.$ac_objext \
60884 conftest$ac_exeext conftest.$ac_ext
60885 if test "$ac_gcsections" = "yes"; then
60886 rm -f conftest.c
60887 touch conftest.c
60888 if $CC -c conftest.c; then
60889 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60890 grep "Warning: gc-sections option ignored" > /dev/null; then
60891 ac_gcsections=no
60894 rm -f conftest.c conftest.o conftest
60896 if test "$ac_gcsections" = "yes"; then
60897 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60900 $as_echo "$ac_gcsections" >&6; }
60902 if test "$ac_test_CFLAGS" = set; then
60903 CFLAGS="$ac_save_CFLAGS"
60904 else
60905 # this is the suspicious part
60906 CFLAGS=''
60910 # Set -z,relro.
60911 # Note this is only for shared objects.
60912 ac_ld_relro=no
60913 if test x"$with_gnu_ld" = x"yes"; then
60914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60915 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60916 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60917 if test -n "$cxx_z_relo"; then
60918 OPT_LDFLAGS="-Wl,-z,relro"
60919 ac_ld_relro=yes
60921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60922 $as_echo "$ac_ld_relro" >&6; }
60925 # Set linker optimization flags.
60926 if test x"$with_gnu_ld" = x"yes"; then
60927 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60934 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60935 ac_save_CXXFLAGS="$CXXFLAGS"
60936 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
60939 $as_echo_n "checking for sin in -lm... " >&6; }
60940 if ${ac_cv_lib_m_sin+:} false; then :
60941 $as_echo_n "(cached) " >&6
60942 else
60943 ac_check_lib_save_LIBS=$LIBS
60944 LIBS="-lm $LIBS"
60945 if test x$gcc_no_link = xyes; then
60946 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60949 /* end confdefs.h. */
60951 /* Override any GCC internal prototype to avoid an error.
60952 Use char because int might match the return type of a GCC
60953 builtin and then its argument prototype would still apply. */
60954 #ifdef __cplusplus
60955 extern "C"
60956 #endif
60957 char sin ();
60959 main ()
60961 return sin ();
60963 return 0;
60965 _ACEOF
60966 if ac_fn_c_try_link "$LINENO"; then :
60967 ac_cv_lib_m_sin=yes
60968 else
60969 ac_cv_lib_m_sin=no
60971 rm -f core conftest.err conftest.$ac_objext \
60972 conftest$ac_exeext conftest.$ac_ext
60973 LIBS=$ac_check_lib_save_LIBS
60975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
60976 $as_echo "$ac_cv_lib_m_sin" >&6; }
60977 if test "x$ac_cv_lib_m_sin" = xyes; then :
60978 libm="-lm"
60981 ac_save_LIBS="$LIBS"
60982 LIBS="$LIBS $libm"
60986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
60987 $as_echo_n "checking for isinf declaration... " >&6; }
60988 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
60989 if ${glibcxx_cv_func_isinf_use+:} false; then :
60990 $as_echo_n "(cached) " >&6
60991 else
60994 ac_ext=cpp
60995 ac_cpp='$CXXCPP $CPPFLAGS'
60996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61001 /* end confdefs.h. */
61002 #include <math.h>
61003 #ifdef HAVE_IEEEFP_H
61004 #include <ieeefp.h>
61005 #endif
61008 main ()
61010 isinf(0);
61012 return 0;
61014 _ACEOF
61015 if ac_fn_cxx_try_compile "$LINENO"; then :
61016 glibcxx_cv_func_isinf_use=yes
61017 else
61018 glibcxx_cv_func_isinf_use=no
61020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61021 ac_ext=c
61022 ac_cpp='$CPP $CPPFLAGS'
61023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
61032 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
61034 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
61035 for ac_func in isinf
61036 do :
61037 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
61038 if test "x$ac_cv_func_isinf" = xyes; then :
61039 cat >>confdefs.h <<_ACEOF
61040 #define HAVE_ISINF 1
61041 _ACEOF
61044 done
61046 else
61048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
61049 $as_echo_n "checking for _isinf declaration... " >&6; }
61050 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
61051 if ${glibcxx_cv_func__isinf_use+:} false; then :
61052 $as_echo_n "(cached) " >&6
61053 else
61056 ac_ext=cpp
61057 ac_cpp='$CXXCPP $CPPFLAGS'
61058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61063 /* end confdefs.h. */
61064 #include <math.h>
61065 #ifdef HAVE_IEEEFP_H
61066 #include <ieeefp.h>
61067 #endif
61070 main ()
61072 _isinf(0);
61074 return 0;
61076 _ACEOF
61077 if ac_fn_cxx_try_compile "$LINENO"; then :
61078 glibcxx_cv_func__isinf_use=yes
61079 else
61080 glibcxx_cv_func__isinf_use=no
61082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61083 ac_ext=c
61084 ac_cpp='$CPP $CPPFLAGS'
61085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
61094 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
61096 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
61097 for ac_func in _isinf
61098 do :
61099 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
61100 if test "x$ac_cv_func__isinf" = xyes; then :
61101 cat >>confdefs.h <<_ACEOF
61102 #define HAVE__ISINF 1
61103 _ACEOF
61106 done
61115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
61116 $as_echo_n "checking for isnan declaration... " >&6; }
61117 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
61118 if ${glibcxx_cv_func_isnan_use+:} false; then :
61119 $as_echo_n "(cached) " >&6
61120 else
61123 ac_ext=cpp
61124 ac_cpp='$CXXCPP $CPPFLAGS'
61125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61130 /* end confdefs.h. */
61131 #include <math.h>
61132 #ifdef HAVE_IEEEFP_H
61133 #include <ieeefp.h>
61134 #endif
61137 main ()
61139 isnan(0);
61141 return 0;
61143 _ACEOF
61144 if ac_fn_cxx_try_compile "$LINENO"; then :
61145 glibcxx_cv_func_isnan_use=yes
61146 else
61147 glibcxx_cv_func_isnan_use=no
61149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61150 ac_ext=c
61151 ac_cpp='$CPP $CPPFLAGS'
61152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
61161 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
61163 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
61164 for ac_func in isnan
61165 do :
61166 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
61167 if test "x$ac_cv_func_isnan" = xyes; then :
61168 cat >>confdefs.h <<_ACEOF
61169 #define HAVE_ISNAN 1
61170 _ACEOF
61173 done
61175 else
61177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
61178 $as_echo_n "checking for _isnan declaration... " >&6; }
61179 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
61180 if ${glibcxx_cv_func__isnan_use+:} false; then :
61181 $as_echo_n "(cached) " >&6
61182 else
61185 ac_ext=cpp
61186 ac_cpp='$CXXCPP $CPPFLAGS'
61187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61192 /* end confdefs.h. */
61193 #include <math.h>
61194 #ifdef HAVE_IEEEFP_H
61195 #include <ieeefp.h>
61196 #endif
61199 main ()
61201 _isnan(0);
61203 return 0;
61205 _ACEOF
61206 if ac_fn_cxx_try_compile "$LINENO"; then :
61207 glibcxx_cv_func__isnan_use=yes
61208 else
61209 glibcxx_cv_func__isnan_use=no
61211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61212 ac_ext=c
61213 ac_cpp='$CPP $CPPFLAGS'
61214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
61223 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
61225 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
61226 for ac_func in _isnan
61227 do :
61228 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
61229 if test "x$ac_cv_func__isnan" = xyes; then :
61230 cat >>confdefs.h <<_ACEOF
61231 #define HAVE__ISNAN 1
61232 _ACEOF
61235 done
61244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
61245 $as_echo_n "checking for finite declaration... " >&6; }
61246 if test x${glibcxx_cv_func_finite_use+set} != xset; then
61247 if ${glibcxx_cv_func_finite_use+:} false; then :
61248 $as_echo_n "(cached) " >&6
61249 else
61252 ac_ext=cpp
61253 ac_cpp='$CXXCPP $CPPFLAGS'
61254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61259 /* end confdefs.h. */
61260 #include <math.h>
61261 #ifdef HAVE_IEEEFP_H
61262 #include <ieeefp.h>
61263 #endif
61266 main ()
61268 finite(0);
61270 return 0;
61272 _ACEOF
61273 if ac_fn_cxx_try_compile "$LINENO"; then :
61274 glibcxx_cv_func_finite_use=yes
61275 else
61276 glibcxx_cv_func_finite_use=no
61278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61279 ac_ext=c
61280 ac_cpp='$CPP $CPPFLAGS'
61281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
61290 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
61292 if test x$glibcxx_cv_func_finite_use = x"yes"; then
61293 for ac_func in finite
61294 do :
61295 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
61296 if test "x$ac_cv_func_finite" = xyes; then :
61297 cat >>confdefs.h <<_ACEOF
61298 #define HAVE_FINITE 1
61299 _ACEOF
61302 done
61304 else
61306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
61307 $as_echo_n "checking for _finite declaration... " >&6; }
61308 if test x${glibcxx_cv_func__finite_use+set} != xset; then
61309 if ${glibcxx_cv_func__finite_use+:} false; then :
61310 $as_echo_n "(cached) " >&6
61311 else
61314 ac_ext=cpp
61315 ac_cpp='$CXXCPP $CPPFLAGS'
61316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61321 /* end confdefs.h. */
61322 #include <math.h>
61323 #ifdef HAVE_IEEEFP_H
61324 #include <ieeefp.h>
61325 #endif
61328 main ()
61330 _finite(0);
61332 return 0;
61334 _ACEOF
61335 if ac_fn_cxx_try_compile "$LINENO"; then :
61336 glibcxx_cv_func__finite_use=yes
61337 else
61338 glibcxx_cv_func__finite_use=no
61340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61341 ac_ext=c
61342 ac_cpp='$CPP $CPPFLAGS'
61343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
61352 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
61354 if test x$glibcxx_cv_func__finite_use = x"yes"; then
61355 for ac_func in _finite
61356 do :
61357 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
61358 if test "x$ac_cv_func__finite" = xyes; then :
61359 cat >>confdefs.h <<_ACEOF
61360 #define HAVE__FINITE 1
61361 _ACEOF
61364 done
61373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
61374 $as_echo_n "checking for sincos declaration... " >&6; }
61375 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
61376 if ${glibcxx_cv_func_sincos_use+:} false; then :
61377 $as_echo_n "(cached) " >&6
61378 else
61381 ac_ext=cpp
61382 ac_cpp='$CXXCPP $CPPFLAGS'
61383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61388 /* end confdefs.h. */
61389 #include <math.h>
61391 main ()
61393 sincos(0, 0, 0);
61395 return 0;
61397 _ACEOF
61398 if ac_fn_cxx_try_compile "$LINENO"; then :
61399 glibcxx_cv_func_sincos_use=yes
61400 else
61401 glibcxx_cv_func_sincos_use=no
61403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61404 ac_ext=c
61405 ac_cpp='$CPP $CPPFLAGS'
61406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
61415 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
61417 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
61418 for ac_func in sincos
61419 do :
61420 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
61421 if test "x$ac_cv_func_sincos" = xyes; then :
61422 cat >>confdefs.h <<_ACEOF
61423 #define HAVE_SINCOS 1
61424 _ACEOF
61427 done
61429 else
61431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
61432 $as_echo_n "checking for _sincos declaration... " >&6; }
61433 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
61434 if ${glibcxx_cv_func__sincos_use+:} false; then :
61435 $as_echo_n "(cached) " >&6
61436 else
61439 ac_ext=cpp
61440 ac_cpp='$CXXCPP $CPPFLAGS'
61441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61446 /* end confdefs.h. */
61447 #include <math.h>
61449 main ()
61451 _sincos(0, 0, 0);
61453 return 0;
61455 _ACEOF
61456 if ac_fn_cxx_try_compile "$LINENO"; then :
61457 glibcxx_cv_func__sincos_use=yes
61458 else
61459 glibcxx_cv_func__sincos_use=no
61461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61462 ac_ext=c
61463 ac_cpp='$CPP $CPPFLAGS'
61464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
61473 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
61475 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
61476 for ac_func in _sincos
61477 do :
61478 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
61479 if test "x$ac_cv_func__sincos" = xyes; then :
61480 cat >>confdefs.h <<_ACEOF
61481 #define HAVE__SINCOS 1
61482 _ACEOF
61485 done
61494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
61495 $as_echo_n "checking for fpclass declaration... " >&6; }
61496 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
61497 if ${glibcxx_cv_func_fpclass_use+:} false; then :
61498 $as_echo_n "(cached) " >&6
61499 else
61502 ac_ext=cpp
61503 ac_cpp='$CXXCPP $CPPFLAGS'
61504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61509 /* end confdefs.h. */
61510 #include <math.h>
61511 #ifdef HAVE_IEEEFP_H
61512 #include <ieeefp.h>
61513 #endif
61516 main ()
61518 fpclass(0);
61520 return 0;
61522 _ACEOF
61523 if ac_fn_cxx_try_compile "$LINENO"; then :
61524 glibcxx_cv_func_fpclass_use=yes
61525 else
61526 glibcxx_cv_func_fpclass_use=no
61528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61529 ac_ext=c
61530 ac_cpp='$CPP $CPPFLAGS'
61531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
61540 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
61542 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
61543 for ac_func in fpclass
61544 do :
61545 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
61546 if test "x$ac_cv_func_fpclass" = xyes; then :
61547 cat >>confdefs.h <<_ACEOF
61548 #define HAVE_FPCLASS 1
61549 _ACEOF
61552 done
61554 else
61556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
61557 $as_echo_n "checking for _fpclass declaration... " >&6; }
61558 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
61559 if ${glibcxx_cv_func__fpclass_use+:} false; then :
61560 $as_echo_n "(cached) " >&6
61561 else
61564 ac_ext=cpp
61565 ac_cpp='$CXXCPP $CPPFLAGS'
61566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61571 /* end confdefs.h. */
61572 #include <math.h>
61573 #ifdef HAVE_IEEEFP_H
61574 #include <ieeefp.h>
61575 #endif
61578 main ()
61580 _fpclass(0);
61582 return 0;
61584 _ACEOF
61585 if ac_fn_cxx_try_compile "$LINENO"; then :
61586 glibcxx_cv_func__fpclass_use=yes
61587 else
61588 glibcxx_cv_func__fpclass_use=no
61590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61591 ac_ext=c
61592 ac_cpp='$CPP $CPPFLAGS'
61593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
61602 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
61604 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
61605 for ac_func in _fpclass
61606 do :
61607 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
61608 if test "x$ac_cv_func__fpclass" = xyes; then :
61609 cat >>confdefs.h <<_ACEOF
61610 #define HAVE__FPCLASS 1
61611 _ACEOF
61614 done
61623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
61624 $as_echo_n "checking for qfpclass declaration... " >&6; }
61625 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
61626 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
61627 $as_echo_n "(cached) " >&6
61628 else
61631 ac_ext=cpp
61632 ac_cpp='$CXXCPP $CPPFLAGS'
61633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61638 /* end confdefs.h. */
61639 #include <math.h>
61640 #ifdef HAVE_IEEEFP_H
61641 #include <ieeefp.h>
61642 #endif
61645 main ()
61647 qfpclass(0);
61649 return 0;
61651 _ACEOF
61652 if ac_fn_cxx_try_compile "$LINENO"; then :
61653 glibcxx_cv_func_qfpclass_use=yes
61654 else
61655 glibcxx_cv_func_qfpclass_use=no
61657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61658 ac_ext=c
61659 ac_cpp='$CPP $CPPFLAGS'
61660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
61669 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
61671 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
61672 for ac_func in qfpclass
61673 do :
61674 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
61675 if test "x$ac_cv_func_qfpclass" = xyes; then :
61676 cat >>confdefs.h <<_ACEOF
61677 #define HAVE_QFPCLASS 1
61678 _ACEOF
61681 done
61683 else
61685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
61686 $as_echo_n "checking for _qfpclass declaration... " >&6; }
61687 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
61688 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
61689 $as_echo_n "(cached) " >&6
61690 else
61693 ac_ext=cpp
61694 ac_cpp='$CXXCPP $CPPFLAGS'
61695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61700 /* end confdefs.h. */
61701 #include <math.h>
61702 #ifdef HAVE_IEEEFP_H
61703 #include <ieeefp.h>
61704 #endif
61707 main ()
61709 _qfpclass(0);
61711 return 0;
61713 _ACEOF
61714 if ac_fn_cxx_try_compile "$LINENO"; then :
61715 glibcxx_cv_func__qfpclass_use=yes
61716 else
61717 glibcxx_cv_func__qfpclass_use=no
61719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61720 ac_ext=c
61721 ac_cpp='$CPP $CPPFLAGS'
61722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
61731 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
61733 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
61734 for ac_func in _qfpclass
61735 do :
61736 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
61737 if test "x$ac_cv_func__qfpclass" = xyes; then :
61738 cat >>confdefs.h <<_ACEOF
61739 #define HAVE__QFPCLASS 1
61740 _ACEOF
61743 done
61752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
61753 $as_echo_n "checking for hypot declaration... " >&6; }
61754 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61755 if ${glibcxx_cv_func_hypot_use+:} false; then :
61756 $as_echo_n "(cached) " >&6
61757 else
61760 ac_ext=cpp
61761 ac_cpp='$CXXCPP $CPPFLAGS'
61762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61767 /* end confdefs.h. */
61768 #include <math.h>
61770 main ()
61772 hypot(0, 0);
61774 return 0;
61776 _ACEOF
61777 if ac_fn_cxx_try_compile "$LINENO"; then :
61778 glibcxx_cv_func_hypot_use=yes
61779 else
61780 glibcxx_cv_func_hypot_use=no
61782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61783 ac_ext=c
61784 ac_cpp='$CPP $CPPFLAGS'
61785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
61794 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
61796 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
61797 for ac_func in hypot
61798 do :
61799 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
61800 if test "x$ac_cv_func_hypot" = xyes; then :
61801 cat >>confdefs.h <<_ACEOF
61802 #define HAVE_HYPOT 1
61803 _ACEOF
61806 done
61808 else
61810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
61811 $as_echo_n "checking for _hypot declaration... " >&6; }
61812 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
61813 if ${glibcxx_cv_func__hypot_use+:} false; then :
61814 $as_echo_n "(cached) " >&6
61815 else
61818 ac_ext=cpp
61819 ac_cpp='$CXXCPP $CPPFLAGS'
61820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61825 /* end confdefs.h. */
61826 #include <math.h>
61828 main ()
61830 _hypot(0, 0);
61832 return 0;
61834 _ACEOF
61835 if ac_fn_cxx_try_compile "$LINENO"; then :
61836 glibcxx_cv_func__hypot_use=yes
61837 else
61838 glibcxx_cv_func__hypot_use=no
61840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61841 ac_ext=c
61842 ac_cpp='$CPP $CPPFLAGS'
61843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
61852 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
61854 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61855 for ac_func in _hypot
61856 do :
61857 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
61858 if test "x$ac_cv_func__hypot" = xyes; then :
61859 cat >>confdefs.h <<_ACEOF
61860 #define HAVE__HYPOT 1
61861 _ACEOF
61864 done
61873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
61874 $as_echo_n "checking for float trig functions... " >&6; }
61875 if ${glibcxx_cv_func_float_trig_use+:} false; then :
61876 $as_echo_n "(cached) " >&6
61877 else
61880 ac_ext=cpp
61881 ac_cpp='$CXXCPP $CPPFLAGS'
61882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61887 /* end confdefs.h. */
61888 #include <math.h>
61890 main ()
61892 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
61894 return 0;
61896 _ACEOF
61897 if ac_fn_cxx_try_compile "$LINENO"; then :
61898 glibcxx_cv_func_float_trig_use=yes
61899 else
61900 glibcxx_cv_func_float_trig_use=no
61902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61903 ac_ext=c
61904 ac_cpp='$CPP $CPPFLAGS'
61905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
61912 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
61913 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
61914 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
61915 do :
61916 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61917 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61918 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61919 cat >>confdefs.h <<_ACEOF
61920 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61921 _ACEOF
61924 done
61926 else
61927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
61928 $as_echo_n "checking for _float trig functions... " >&6; }
61929 if ${glibcxx_cv_func__float_trig_use+:} false; then :
61930 $as_echo_n "(cached) " >&6
61931 else
61934 ac_ext=cpp
61935 ac_cpp='$CXXCPP $CPPFLAGS'
61936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61941 /* end confdefs.h. */
61942 #include <math.h>
61944 main ()
61946 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
61948 return 0;
61950 _ACEOF
61951 if ac_fn_cxx_try_compile "$LINENO"; then :
61952 glibcxx_cv_func__float_trig_use=yes
61953 else
61954 glibcxx_cv_func__float_trig_use=no
61956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61957 ac_ext=c
61958 ac_cpp='$CPP $CPPFLAGS'
61959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
61966 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
61967 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
61968 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
61969 do :
61970 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61971 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61972 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61973 cat >>confdefs.h <<_ACEOF
61974 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61975 _ACEOF
61978 done
61987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
61988 $as_echo_n "checking for float round functions... " >&6; }
61989 if ${glibcxx_cv_func_float_round_use+:} false; then :
61990 $as_echo_n "(cached) " >&6
61991 else
61994 ac_ext=cpp
61995 ac_cpp='$CXXCPP $CPPFLAGS'
61996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62001 /* end confdefs.h. */
62002 #include <math.h>
62004 main ()
62006 ceilf (0); floorf (0);
62008 return 0;
62010 _ACEOF
62011 if ac_fn_cxx_try_compile "$LINENO"; then :
62012 glibcxx_cv_func_float_round_use=yes
62013 else
62014 glibcxx_cv_func_float_round_use=no
62016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62017 ac_ext=c
62018 ac_cpp='$CPP $CPPFLAGS'
62019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
62026 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
62027 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
62028 for ac_func in ceilf floorf
62029 do :
62030 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62031 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62032 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62033 cat >>confdefs.h <<_ACEOF
62034 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62035 _ACEOF
62038 done
62040 else
62041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
62042 $as_echo_n "checking for _float round functions... " >&6; }
62043 if ${glibcxx_cv_func__float_round_use+:} false; then :
62044 $as_echo_n "(cached) " >&6
62045 else
62048 ac_ext=cpp
62049 ac_cpp='$CXXCPP $CPPFLAGS'
62050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62055 /* end confdefs.h. */
62056 #include <math.h>
62058 main ()
62060 _ceilf (0); _floorf (0);
62062 return 0;
62064 _ACEOF
62065 if ac_fn_cxx_try_compile "$LINENO"; then :
62066 glibcxx_cv_func__float_round_use=yes
62067 else
62068 glibcxx_cv_func__float_round_use=no
62070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62071 ac_ext=c
62072 ac_cpp='$CPP $CPPFLAGS'
62073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
62080 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
62081 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
62082 for ac_func in _ceilf _floorf
62083 do :
62084 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62085 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62086 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62087 cat >>confdefs.h <<_ACEOF
62088 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62089 _ACEOF
62092 done
62102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
62103 $as_echo_n "checking for expf declaration... " >&6; }
62104 if test x${glibcxx_cv_func_expf_use+set} != xset; then
62105 if ${glibcxx_cv_func_expf_use+:} false; then :
62106 $as_echo_n "(cached) " >&6
62107 else
62110 ac_ext=cpp
62111 ac_cpp='$CXXCPP $CPPFLAGS'
62112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62117 /* end confdefs.h. */
62118 #include <math.h>
62119 #ifdef HAVE_IEEEFP_H
62120 #include <ieeefp.h>
62121 #endif
62124 main ()
62126 expf(0);
62128 return 0;
62130 _ACEOF
62131 if ac_fn_cxx_try_compile "$LINENO"; then :
62132 glibcxx_cv_func_expf_use=yes
62133 else
62134 glibcxx_cv_func_expf_use=no
62136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62137 ac_ext=c
62138 ac_cpp='$CPP $CPPFLAGS'
62139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
62148 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
62150 if test x$glibcxx_cv_func_expf_use = x"yes"; then
62151 for ac_func in expf
62152 do :
62153 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
62154 if test "x$ac_cv_func_expf" = xyes; then :
62155 cat >>confdefs.h <<_ACEOF
62156 #define HAVE_EXPF 1
62157 _ACEOF
62160 done
62162 else
62164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
62165 $as_echo_n "checking for _expf declaration... " >&6; }
62166 if test x${glibcxx_cv_func__expf_use+set} != xset; then
62167 if ${glibcxx_cv_func__expf_use+:} false; then :
62168 $as_echo_n "(cached) " >&6
62169 else
62172 ac_ext=cpp
62173 ac_cpp='$CXXCPP $CPPFLAGS'
62174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62179 /* end confdefs.h. */
62180 #include <math.h>
62181 #ifdef HAVE_IEEEFP_H
62182 #include <ieeefp.h>
62183 #endif
62186 main ()
62188 _expf(0);
62190 return 0;
62192 _ACEOF
62193 if ac_fn_cxx_try_compile "$LINENO"; then :
62194 glibcxx_cv_func__expf_use=yes
62195 else
62196 glibcxx_cv_func__expf_use=no
62198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62199 ac_ext=c
62200 ac_cpp='$CPP $CPPFLAGS'
62201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
62210 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
62212 if test x$glibcxx_cv_func__expf_use = x"yes"; then
62213 for ac_func in _expf
62214 do :
62215 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
62216 if test "x$ac_cv_func__expf" = xyes; then :
62217 cat >>confdefs.h <<_ACEOF
62218 #define HAVE__EXPF 1
62219 _ACEOF
62222 done
62231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
62232 $as_echo_n "checking for isnanf declaration... " >&6; }
62233 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
62234 if ${glibcxx_cv_func_isnanf_use+:} false; then :
62235 $as_echo_n "(cached) " >&6
62236 else
62239 ac_ext=cpp
62240 ac_cpp='$CXXCPP $CPPFLAGS'
62241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62246 /* end confdefs.h. */
62247 #include <math.h>
62248 #ifdef HAVE_IEEEFP_H
62249 #include <ieeefp.h>
62250 #endif
62253 main ()
62255 isnanf(0);
62257 return 0;
62259 _ACEOF
62260 if ac_fn_cxx_try_compile "$LINENO"; then :
62261 glibcxx_cv_func_isnanf_use=yes
62262 else
62263 glibcxx_cv_func_isnanf_use=no
62265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62266 ac_ext=c
62267 ac_cpp='$CPP $CPPFLAGS'
62268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
62277 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
62279 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
62280 for ac_func in isnanf
62281 do :
62282 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
62283 if test "x$ac_cv_func_isnanf" = xyes; then :
62284 cat >>confdefs.h <<_ACEOF
62285 #define HAVE_ISNANF 1
62286 _ACEOF
62289 done
62291 else
62293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
62294 $as_echo_n "checking for _isnanf declaration... " >&6; }
62295 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
62296 if ${glibcxx_cv_func__isnanf_use+:} false; then :
62297 $as_echo_n "(cached) " >&6
62298 else
62301 ac_ext=cpp
62302 ac_cpp='$CXXCPP $CPPFLAGS'
62303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62308 /* end confdefs.h. */
62309 #include <math.h>
62310 #ifdef HAVE_IEEEFP_H
62311 #include <ieeefp.h>
62312 #endif
62315 main ()
62317 _isnanf(0);
62319 return 0;
62321 _ACEOF
62322 if ac_fn_cxx_try_compile "$LINENO"; then :
62323 glibcxx_cv_func__isnanf_use=yes
62324 else
62325 glibcxx_cv_func__isnanf_use=no
62327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62328 ac_ext=c
62329 ac_cpp='$CPP $CPPFLAGS'
62330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
62339 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
62341 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
62342 for ac_func in _isnanf
62343 do :
62344 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
62345 if test "x$ac_cv_func__isnanf" = xyes; then :
62346 cat >>confdefs.h <<_ACEOF
62347 #define HAVE__ISNANF 1
62348 _ACEOF
62351 done
62360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
62361 $as_echo_n "checking for isinff declaration... " >&6; }
62362 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
62363 if ${glibcxx_cv_func_isinff_use+:} false; then :
62364 $as_echo_n "(cached) " >&6
62365 else
62368 ac_ext=cpp
62369 ac_cpp='$CXXCPP $CPPFLAGS'
62370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62375 /* end confdefs.h. */
62376 #include <math.h>
62377 #ifdef HAVE_IEEEFP_H
62378 #include <ieeefp.h>
62379 #endif
62382 main ()
62384 isinff(0);
62386 return 0;
62388 _ACEOF
62389 if ac_fn_cxx_try_compile "$LINENO"; then :
62390 glibcxx_cv_func_isinff_use=yes
62391 else
62392 glibcxx_cv_func_isinff_use=no
62394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62395 ac_ext=c
62396 ac_cpp='$CPP $CPPFLAGS'
62397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
62406 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
62408 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
62409 for ac_func in isinff
62410 do :
62411 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
62412 if test "x$ac_cv_func_isinff" = xyes; then :
62413 cat >>confdefs.h <<_ACEOF
62414 #define HAVE_ISINFF 1
62415 _ACEOF
62418 done
62420 else
62422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
62423 $as_echo_n "checking for _isinff declaration... " >&6; }
62424 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
62425 if ${glibcxx_cv_func__isinff_use+:} false; then :
62426 $as_echo_n "(cached) " >&6
62427 else
62430 ac_ext=cpp
62431 ac_cpp='$CXXCPP $CPPFLAGS'
62432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62437 /* end confdefs.h. */
62438 #include <math.h>
62439 #ifdef HAVE_IEEEFP_H
62440 #include <ieeefp.h>
62441 #endif
62444 main ()
62446 _isinff(0);
62448 return 0;
62450 _ACEOF
62451 if ac_fn_cxx_try_compile "$LINENO"; then :
62452 glibcxx_cv_func__isinff_use=yes
62453 else
62454 glibcxx_cv_func__isinff_use=no
62456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62457 ac_ext=c
62458 ac_cpp='$CPP $CPPFLAGS'
62459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
62468 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
62470 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
62471 for ac_func in _isinff
62472 do :
62473 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
62474 if test "x$ac_cv_func__isinff" = xyes; then :
62475 cat >>confdefs.h <<_ACEOF
62476 #define HAVE__ISINFF 1
62477 _ACEOF
62480 done
62489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
62490 $as_echo_n "checking for atan2f declaration... " >&6; }
62491 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
62492 if ${glibcxx_cv_func_atan2f_use+:} false; then :
62493 $as_echo_n "(cached) " >&6
62494 else
62497 ac_ext=cpp
62498 ac_cpp='$CXXCPP $CPPFLAGS'
62499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62504 /* end confdefs.h. */
62505 #include <math.h>
62507 main ()
62509 atan2f(0, 0);
62511 return 0;
62513 _ACEOF
62514 if ac_fn_cxx_try_compile "$LINENO"; then :
62515 glibcxx_cv_func_atan2f_use=yes
62516 else
62517 glibcxx_cv_func_atan2f_use=no
62519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62520 ac_ext=c
62521 ac_cpp='$CPP $CPPFLAGS'
62522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
62531 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
62533 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
62534 for ac_func in atan2f
62535 do :
62536 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
62537 if test "x$ac_cv_func_atan2f" = xyes; then :
62538 cat >>confdefs.h <<_ACEOF
62539 #define HAVE_ATAN2F 1
62540 _ACEOF
62543 done
62545 else
62547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
62548 $as_echo_n "checking for _atan2f declaration... " >&6; }
62549 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
62550 if ${glibcxx_cv_func__atan2f_use+:} false; then :
62551 $as_echo_n "(cached) " >&6
62552 else
62555 ac_ext=cpp
62556 ac_cpp='$CXXCPP $CPPFLAGS'
62557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62562 /* end confdefs.h. */
62563 #include <math.h>
62565 main ()
62567 _atan2f(0, 0);
62569 return 0;
62571 _ACEOF
62572 if ac_fn_cxx_try_compile "$LINENO"; then :
62573 glibcxx_cv_func__atan2f_use=yes
62574 else
62575 glibcxx_cv_func__atan2f_use=no
62577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62578 ac_ext=c
62579 ac_cpp='$CPP $CPPFLAGS'
62580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
62589 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
62591 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
62592 for ac_func in _atan2f
62593 do :
62594 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
62595 if test "x$ac_cv_func__atan2f" = xyes; then :
62596 cat >>confdefs.h <<_ACEOF
62597 #define HAVE__ATAN2F 1
62598 _ACEOF
62601 done
62610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
62611 $as_echo_n "checking for fabsf declaration... " >&6; }
62612 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
62613 if ${glibcxx_cv_func_fabsf_use+:} false; then :
62614 $as_echo_n "(cached) " >&6
62615 else
62618 ac_ext=cpp
62619 ac_cpp='$CXXCPP $CPPFLAGS'
62620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62625 /* end confdefs.h. */
62626 #include <math.h>
62627 #ifdef HAVE_IEEEFP_H
62628 #include <ieeefp.h>
62629 #endif
62632 main ()
62634 fabsf(0);
62636 return 0;
62638 _ACEOF
62639 if ac_fn_cxx_try_compile "$LINENO"; then :
62640 glibcxx_cv_func_fabsf_use=yes
62641 else
62642 glibcxx_cv_func_fabsf_use=no
62644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62645 ac_ext=c
62646 ac_cpp='$CPP $CPPFLAGS'
62647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
62656 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
62658 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
62659 for ac_func in fabsf
62660 do :
62661 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
62662 if test "x$ac_cv_func_fabsf" = xyes; then :
62663 cat >>confdefs.h <<_ACEOF
62664 #define HAVE_FABSF 1
62665 _ACEOF
62668 done
62670 else
62672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
62673 $as_echo_n "checking for _fabsf declaration... " >&6; }
62674 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
62675 if ${glibcxx_cv_func__fabsf_use+:} false; then :
62676 $as_echo_n "(cached) " >&6
62677 else
62680 ac_ext=cpp
62681 ac_cpp='$CXXCPP $CPPFLAGS'
62682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62687 /* end confdefs.h. */
62688 #include <math.h>
62689 #ifdef HAVE_IEEEFP_H
62690 #include <ieeefp.h>
62691 #endif
62694 main ()
62696 _fabsf(0);
62698 return 0;
62700 _ACEOF
62701 if ac_fn_cxx_try_compile "$LINENO"; then :
62702 glibcxx_cv_func__fabsf_use=yes
62703 else
62704 glibcxx_cv_func__fabsf_use=no
62706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62707 ac_ext=c
62708 ac_cpp='$CPP $CPPFLAGS'
62709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
62718 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
62720 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
62721 for ac_func in _fabsf
62722 do :
62723 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
62724 if test "x$ac_cv_func__fabsf" = xyes; then :
62725 cat >>confdefs.h <<_ACEOF
62726 #define HAVE__FABSF 1
62727 _ACEOF
62730 done
62739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
62740 $as_echo_n "checking for fmodf declaration... " >&6; }
62741 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
62742 if ${glibcxx_cv_func_fmodf_use+:} false; then :
62743 $as_echo_n "(cached) " >&6
62744 else
62747 ac_ext=cpp
62748 ac_cpp='$CXXCPP $CPPFLAGS'
62749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62754 /* end confdefs.h. */
62755 #include <math.h>
62757 main ()
62759 fmodf(0, 0);
62761 return 0;
62763 _ACEOF
62764 if ac_fn_cxx_try_compile "$LINENO"; then :
62765 glibcxx_cv_func_fmodf_use=yes
62766 else
62767 glibcxx_cv_func_fmodf_use=no
62769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62770 ac_ext=c
62771 ac_cpp='$CPP $CPPFLAGS'
62772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
62781 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
62783 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
62784 for ac_func in fmodf
62785 do :
62786 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
62787 if test "x$ac_cv_func_fmodf" = xyes; then :
62788 cat >>confdefs.h <<_ACEOF
62789 #define HAVE_FMODF 1
62790 _ACEOF
62793 done
62795 else
62797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
62798 $as_echo_n "checking for _fmodf declaration... " >&6; }
62799 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
62800 if ${glibcxx_cv_func__fmodf_use+:} false; then :
62801 $as_echo_n "(cached) " >&6
62802 else
62805 ac_ext=cpp
62806 ac_cpp='$CXXCPP $CPPFLAGS'
62807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62812 /* end confdefs.h. */
62813 #include <math.h>
62815 main ()
62817 _fmodf(0, 0);
62819 return 0;
62821 _ACEOF
62822 if ac_fn_cxx_try_compile "$LINENO"; then :
62823 glibcxx_cv_func__fmodf_use=yes
62824 else
62825 glibcxx_cv_func__fmodf_use=no
62827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62828 ac_ext=c
62829 ac_cpp='$CPP $CPPFLAGS'
62830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
62839 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
62841 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62842 for ac_func in _fmodf
62843 do :
62844 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
62845 if test "x$ac_cv_func__fmodf" = xyes; then :
62846 cat >>confdefs.h <<_ACEOF
62847 #define HAVE__FMODF 1
62848 _ACEOF
62851 done
62860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
62861 $as_echo_n "checking for frexpf declaration... " >&6; }
62862 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62863 if ${glibcxx_cv_func_frexpf_use+:} false; then :
62864 $as_echo_n "(cached) " >&6
62865 else
62868 ac_ext=cpp
62869 ac_cpp='$CXXCPP $CPPFLAGS'
62870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62875 /* end confdefs.h. */
62876 #include <math.h>
62878 main ()
62880 frexpf(0, 0);
62882 return 0;
62884 _ACEOF
62885 if ac_fn_cxx_try_compile "$LINENO"; then :
62886 glibcxx_cv_func_frexpf_use=yes
62887 else
62888 glibcxx_cv_func_frexpf_use=no
62890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62891 ac_ext=c
62892 ac_cpp='$CPP $CPPFLAGS'
62893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
62902 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
62904 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62905 for ac_func in frexpf
62906 do :
62907 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
62908 if test "x$ac_cv_func_frexpf" = xyes; then :
62909 cat >>confdefs.h <<_ACEOF
62910 #define HAVE_FREXPF 1
62911 _ACEOF
62914 done
62916 else
62918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
62919 $as_echo_n "checking for _frexpf declaration... " >&6; }
62920 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
62921 if ${glibcxx_cv_func__frexpf_use+:} false; then :
62922 $as_echo_n "(cached) " >&6
62923 else
62926 ac_ext=cpp
62927 ac_cpp='$CXXCPP $CPPFLAGS'
62928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62933 /* end confdefs.h. */
62934 #include <math.h>
62936 main ()
62938 _frexpf(0, 0);
62940 return 0;
62942 _ACEOF
62943 if ac_fn_cxx_try_compile "$LINENO"; then :
62944 glibcxx_cv_func__frexpf_use=yes
62945 else
62946 glibcxx_cv_func__frexpf_use=no
62948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62949 ac_ext=c
62950 ac_cpp='$CPP $CPPFLAGS'
62951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
62960 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
62962 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
62963 for ac_func in _frexpf
62964 do :
62965 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
62966 if test "x$ac_cv_func__frexpf" = xyes; then :
62967 cat >>confdefs.h <<_ACEOF
62968 #define HAVE__FREXPF 1
62969 _ACEOF
62972 done
62981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
62982 $as_echo_n "checking for hypotf declaration... " >&6; }
62983 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
62984 if ${glibcxx_cv_func_hypotf_use+:} false; then :
62985 $as_echo_n "(cached) " >&6
62986 else
62989 ac_ext=cpp
62990 ac_cpp='$CXXCPP $CPPFLAGS'
62991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62996 /* end confdefs.h. */
62997 #include <math.h>
62999 main ()
63001 hypotf(0, 0);
63003 return 0;
63005 _ACEOF
63006 if ac_fn_cxx_try_compile "$LINENO"; then :
63007 glibcxx_cv_func_hypotf_use=yes
63008 else
63009 glibcxx_cv_func_hypotf_use=no
63011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63012 ac_ext=c
63013 ac_cpp='$CPP $CPPFLAGS'
63014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
63023 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
63025 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
63026 for ac_func in hypotf
63027 do :
63028 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
63029 if test "x$ac_cv_func_hypotf" = xyes; then :
63030 cat >>confdefs.h <<_ACEOF
63031 #define HAVE_HYPOTF 1
63032 _ACEOF
63035 done
63037 else
63039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
63040 $as_echo_n "checking for _hypotf declaration... " >&6; }
63041 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
63042 if ${glibcxx_cv_func__hypotf_use+:} false; then :
63043 $as_echo_n "(cached) " >&6
63044 else
63047 ac_ext=cpp
63048 ac_cpp='$CXXCPP $CPPFLAGS'
63049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63054 /* end confdefs.h. */
63055 #include <math.h>
63057 main ()
63059 _hypotf(0, 0);
63061 return 0;
63063 _ACEOF
63064 if ac_fn_cxx_try_compile "$LINENO"; then :
63065 glibcxx_cv_func__hypotf_use=yes
63066 else
63067 glibcxx_cv_func__hypotf_use=no
63069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63070 ac_ext=c
63071 ac_cpp='$CPP $CPPFLAGS'
63072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
63081 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
63083 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
63084 for ac_func in _hypotf
63085 do :
63086 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
63087 if test "x$ac_cv_func__hypotf" = xyes; then :
63088 cat >>confdefs.h <<_ACEOF
63089 #define HAVE__HYPOTF 1
63090 _ACEOF
63093 done
63102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
63103 $as_echo_n "checking for ldexpf declaration... " >&6; }
63104 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
63105 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
63106 $as_echo_n "(cached) " >&6
63107 else
63110 ac_ext=cpp
63111 ac_cpp='$CXXCPP $CPPFLAGS'
63112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63117 /* end confdefs.h. */
63118 #include <math.h>
63120 main ()
63122 ldexpf(0, 0);
63124 return 0;
63126 _ACEOF
63127 if ac_fn_cxx_try_compile "$LINENO"; then :
63128 glibcxx_cv_func_ldexpf_use=yes
63129 else
63130 glibcxx_cv_func_ldexpf_use=no
63132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63133 ac_ext=c
63134 ac_cpp='$CPP $CPPFLAGS'
63135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
63144 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
63146 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
63147 for ac_func in ldexpf
63148 do :
63149 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
63150 if test "x$ac_cv_func_ldexpf" = xyes; then :
63151 cat >>confdefs.h <<_ACEOF
63152 #define HAVE_LDEXPF 1
63153 _ACEOF
63156 done
63158 else
63160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
63161 $as_echo_n "checking for _ldexpf declaration... " >&6; }
63162 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
63163 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
63164 $as_echo_n "(cached) " >&6
63165 else
63168 ac_ext=cpp
63169 ac_cpp='$CXXCPP $CPPFLAGS'
63170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63175 /* end confdefs.h. */
63176 #include <math.h>
63178 main ()
63180 _ldexpf(0, 0);
63182 return 0;
63184 _ACEOF
63185 if ac_fn_cxx_try_compile "$LINENO"; then :
63186 glibcxx_cv_func__ldexpf_use=yes
63187 else
63188 glibcxx_cv_func__ldexpf_use=no
63190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63191 ac_ext=c
63192 ac_cpp='$CPP $CPPFLAGS'
63193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
63202 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
63204 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
63205 for ac_func in _ldexpf
63206 do :
63207 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
63208 if test "x$ac_cv_func__ldexpf" = xyes; then :
63209 cat >>confdefs.h <<_ACEOF
63210 #define HAVE__LDEXPF 1
63211 _ACEOF
63214 done
63223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
63224 $as_echo_n "checking for logf declaration... " >&6; }
63225 if test x${glibcxx_cv_func_logf_use+set} != xset; then
63226 if ${glibcxx_cv_func_logf_use+:} false; then :
63227 $as_echo_n "(cached) " >&6
63228 else
63231 ac_ext=cpp
63232 ac_cpp='$CXXCPP $CPPFLAGS'
63233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63238 /* end confdefs.h. */
63239 #include <math.h>
63240 #ifdef HAVE_IEEEFP_H
63241 #include <ieeefp.h>
63242 #endif
63245 main ()
63247 logf(0);
63249 return 0;
63251 _ACEOF
63252 if ac_fn_cxx_try_compile "$LINENO"; then :
63253 glibcxx_cv_func_logf_use=yes
63254 else
63255 glibcxx_cv_func_logf_use=no
63257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63258 ac_ext=c
63259 ac_cpp='$CPP $CPPFLAGS'
63260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
63269 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
63271 if test x$glibcxx_cv_func_logf_use = x"yes"; then
63272 for ac_func in logf
63273 do :
63274 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
63275 if test "x$ac_cv_func_logf" = xyes; then :
63276 cat >>confdefs.h <<_ACEOF
63277 #define HAVE_LOGF 1
63278 _ACEOF
63281 done
63283 else
63285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
63286 $as_echo_n "checking for _logf declaration... " >&6; }
63287 if test x${glibcxx_cv_func__logf_use+set} != xset; then
63288 if ${glibcxx_cv_func__logf_use+:} false; then :
63289 $as_echo_n "(cached) " >&6
63290 else
63293 ac_ext=cpp
63294 ac_cpp='$CXXCPP $CPPFLAGS'
63295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63300 /* end confdefs.h. */
63301 #include <math.h>
63302 #ifdef HAVE_IEEEFP_H
63303 #include <ieeefp.h>
63304 #endif
63307 main ()
63309 _logf(0);
63311 return 0;
63313 _ACEOF
63314 if ac_fn_cxx_try_compile "$LINENO"; then :
63315 glibcxx_cv_func__logf_use=yes
63316 else
63317 glibcxx_cv_func__logf_use=no
63319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63320 ac_ext=c
63321 ac_cpp='$CPP $CPPFLAGS'
63322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
63331 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
63333 if test x$glibcxx_cv_func__logf_use = x"yes"; then
63334 for ac_func in _logf
63335 do :
63336 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
63337 if test "x$ac_cv_func__logf" = xyes; then :
63338 cat >>confdefs.h <<_ACEOF
63339 #define HAVE__LOGF 1
63340 _ACEOF
63343 done
63352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
63353 $as_echo_n "checking for log10f declaration... " >&6; }
63354 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
63355 if ${glibcxx_cv_func_log10f_use+:} false; then :
63356 $as_echo_n "(cached) " >&6
63357 else
63360 ac_ext=cpp
63361 ac_cpp='$CXXCPP $CPPFLAGS'
63362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63367 /* end confdefs.h. */
63368 #include <math.h>
63369 #ifdef HAVE_IEEEFP_H
63370 #include <ieeefp.h>
63371 #endif
63374 main ()
63376 log10f(0);
63378 return 0;
63380 _ACEOF
63381 if ac_fn_cxx_try_compile "$LINENO"; then :
63382 glibcxx_cv_func_log10f_use=yes
63383 else
63384 glibcxx_cv_func_log10f_use=no
63386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63387 ac_ext=c
63388 ac_cpp='$CPP $CPPFLAGS'
63389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
63398 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
63400 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
63401 for ac_func in log10f
63402 do :
63403 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
63404 if test "x$ac_cv_func_log10f" = xyes; then :
63405 cat >>confdefs.h <<_ACEOF
63406 #define HAVE_LOG10F 1
63407 _ACEOF
63410 done
63412 else
63414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
63415 $as_echo_n "checking for _log10f declaration... " >&6; }
63416 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
63417 if ${glibcxx_cv_func__log10f_use+:} false; then :
63418 $as_echo_n "(cached) " >&6
63419 else
63422 ac_ext=cpp
63423 ac_cpp='$CXXCPP $CPPFLAGS'
63424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63429 /* end confdefs.h. */
63430 #include <math.h>
63431 #ifdef HAVE_IEEEFP_H
63432 #include <ieeefp.h>
63433 #endif
63436 main ()
63438 _log10f(0);
63440 return 0;
63442 _ACEOF
63443 if ac_fn_cxx_try_compile "$LINENO"; then :
63444 glibcxx_cv_func__log10f_use=yes
63445 else
63446 glibcxx_cv_func__log10f_use=no
63448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63449 ac_ext=c
63450 ac_cpp='$CPP $CPPFLAGS'
63451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
63460 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
63462 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
63463 for ac_func in _log10f
63464 do :
63465 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
63466 if test "x$ac_cv_func__log10f" = xyes; then :
63467 cat >>confdefs.h <<_ACEOF
63468 #define HAVE__LOG10F 1
63469 _ACEOF
63472 done
63481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
63482 $as_echo_n "checking for modff declaration... " >&6; }
63483 if test x${glibcxx_cv_func_modff_use+set} != xset; then
63484 if ${glibcxx_cv_func_modff_use+:} false; then :
63485 $as_echo_n "(cached) " >&6
63486 else
63489 ac_ext=cpp
63490 ac_cpp='$CXXCPP $CPPFLAGS'
63491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63496 /* end confdefs.h. */
63497 #include <math.h>
63499 main ()
63501 modff(0, 0);
63503 return 0;
63505 _ACEOF
63506 if ac_fn_cxx_try_compile "$LINENO"; then :
63507 glibcxx_cv_func_modff_use=yes
63508 else
63509 glibcxx_cv_func_modff_use=no
63511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63512 ac_ext=c
63513 ac_cpp='$CPP $CPPFLAGS'
63514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
63523 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
63525 if test x$glibcxx_cv_func_modff_use = x"yes"; then
63526 for ac_func in modff
63527 do :
63528 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
63529 if test "x$ac_cv_func_modff" = xyes; then :
63530 cat >>confdefs.h <<_ACEOF
63531 #define HAVE_MODFF 1
63532 _ACEOF
63535 done
63537 else
63539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
63540 $as_echo_n "checking for _modff declaration... " >&6; }
63541 if test x${glibcxx_cv_func__modff_use+set} != xset; then
63542 if ${glibcxx_cv_func__modff_use+:} false; then :
63543 $as_echo_n "(cached) " >&6
63544 else
63547 ac_ext=cpp
63548 ac_cpp='$CXXCPP $CPPFLAGS'
63549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63554 /* end confdefs.h. */
63555 #include <math.h>
63557 main ()
63559 _modff(0, 0);
63561 return 0;
63563 _ACEOF
63564 if ac_fn_cxx_try_compile "$LINENO"; then :
63565 glibcxx_cv_func__modff_use=yes
63566 else
63567 glibcxx_cv_func__modff_use=no
63569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63570 ac_ext=c
63571 ac_cpp='$CPP $CPPFLAGS'
63572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
63581 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
63583 if test x$glibcxx_cv_func__modff_use = x"yes"; then
63584 for ac_func in _modff
63585 do :
63586 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
63587 if test "x$ac_cv_func__modff" = xyes; then :
63588 cat >>confdefs.h <<_ACEOF
63589 #define HAVE__MODFF 1
63590 _ACEOF
63593 done
63602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
63603 $as_echo_n "checking for modf declaration... " >&6; }
63604 if test x${glibcxx_cv_func_modf_use+set} != xset; then
63605 if ${glibcxx_cv_func_modf_use+:} false; then :
63606 $as_echo_n "(cached) " >&6
63607 else
63610 ac_ext=cpp
63611 ac_cpp='$CXXCPP $CPPFLAGS'
63612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63617 /* end confdefs.h. */
63618 #include <math.h>
63620 main ()
63622 modf(0, 0);
63624 return 0;
63626 _ACEOF
63627 if ac_fn_cxx_try_compile "$LINENO"; then :
63628 glibcxx_cv_func_modf_use=yes
63629 else
63630 glibcxx_cv_func_modf_use=no
63632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63633 ac_ext=c
63634 ac_cpp='$CPP $CPPFLAGS'
63635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
63644 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
63646 if test x$glibcxx_cv_func_modf_use = x"yes"; then
63647 for ac_func in modf
63648 do :
63649 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
63650 if test "x$ac_cv_func_modf" = xyes; then :
63651 cat >>confdefs.h <<_ACEOF
63652 #define HAVE_MODF 1
63653 _ACEOF
63656 done
63658 else
63660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
63661 $as_echo_n "checking for _modf declaration... " >&6; }
63662 if test x${glibcxx_cv_func__modf_use+set} != xset; then
63663 if ${glibcxx_cv_func__modf_use+:} false; then :
63664 $as_echo_n "(cached) " >&6
63665 else
63668 ac_ext=cpp
63669 ac_cpp='$CXXCPP $CPPFLAGS'
63670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63675 /* end confdefs.h. */
63676 #include <math.h>
63678 main ()
63680 _modf(0, 0);
63682 return 0;
63684 _ACEOF
63685 if ac_fn_cxx_try_compile "$LINENO"; then :
63686 glibcxx_cv_func__modf_use=yes
63687 else
63688 glibcxx_cv_func__modf_use=no
63690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63691 ac_ext=c
63692 ac_cpp='$CPP $CPPFLAGS'
63693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
63702 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
63704 if test x$glibcxx_cv_func__modf_use = x"yes"; then
63705 for ac_func in _modf
63706 do :
63707 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
63708 if test "x$ac_cv_func__modf" = xyes; then :
63709 cat >>confdefs.h <<_ACEOF
63710 #define HAVE__MODF 1
63711 _ACEOF
63714 done
63723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
63724 $as_echo_n "checking for powf declaration... " >&6; }
63725 if test x${glibcxx_cv_func_powf_use+set} != xset; then
63726 if ${glibcxx_cv_func_powf_use+:} false; then :
63727 $as_echo_n "(cached) " >&6
63728 else
63731 ac_ext=cpp
63732 ac_cpp='$CXXCPP $CPPFLAGS'
63733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63738 /* end confdefs.h. */
63739 #include <math.h>
63741 main ()
63743 powf(0, 0);
63745 return 0;
63747 _ACEOF
63748 if ac_fn_cxx_try_compile "$LINENO"; then :
63749 glibcxx_cv_func_powf_use=yes
63750 else
63751 glibcxx_cv_func_powf_use=no
63753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63754 ac_ext=c
63755 ac_cpp='$CPP $CPPFLAGS'
63756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
63765 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
63767 if test x$glibcxx_cv_func_powf_use = x"yes"; then
63768 for ac_func in powf
63769 do :
63770 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
63771 if test "x$ac_cv_func_powf" = xyes; then :
63772 cat >>confdefs.h <<_ACEOF
63773 #define HAVE_POWF 1
63774 _ACEOF
63777 done
63779 else
63781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
63782 $as_echo_n "checking for _powf declaration... " >&6; }
63783 if test x${glibcxx_cv_func__powf_use+set} != xset; then
63784 if ${glibcxx_cv_func__powf_use+:} false; then :
63785 $as_echo_n "(cached) " >&6
63786 else
63789 ac_ext=cpp
63790 ac_cpp='$CXXCPP $CPPFLAGS'
63791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63796 /* end confdefs.h. */
63797 #include <math.h>
63799 main ()
63801 _powf(0, 0);
63803 return 0;
63805 _ACEOF
63806 if ac_fn_cxx_try_compile "$LINENO"; then :
63807 glibcxx_cv_func__powf_use=yes
63808 else
63809 glibcxx_cv_func__powf_use=no
63811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63812 ac_ext=c
63813 ac_cpp='$CPP $CPPFLAGS'
63814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
63823 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
63825 if test x$glibcxx_cv_func__powf_use = x"yes"; then
63826 for ac_func in _powf
63827 do :
63828 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
63829 if test "x$ac_cv_func__powf" = xyes; then :
63830 cat >>confdefs.h <<_ACEOF
63831 #define HAVE__POWF 1
63832 _ACEOF
63835 done
63844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
63845 $as_echo_n "checking for sqrtf declaration... " >&6; }
63846 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63847 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
63848 $as_echo_n "(cached) " >&6
63849 else
63852 ac_ext=cpp
63853 ac_cpp='$CXXCPP $CPPFLAGS'
63854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63859 /* end confdefs.h. */
63860 #include <math.h>
63861 #ifdef HAVE_IEEEFP_H
63862 #include <ieeefp.h>
63863 #endif
63866 main ()
63868 sqrtf(0);
63870 return 0;
63872 _ACEOF
63873 if ac_fn_cxx_try_compile "$LINENO"; then :
63874 glibcxx_cv_func_sqrtf_use=yes
63875 else
63876 glibcxx_cv_func_sqrtf_use=no
63878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63879 ac_ext=c
63880 ac_cpp='$CPP $CPPFLAGS'
63881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
63890 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
63892 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63893 for ac_func in sqrtf
63894 do :
63895 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
63896 if test "x$ac_cv_func_sqrtf" = xyes; then :
63897 cat >>confdefs.h <<_ACEOF
63898 #define HAVE_SQRTF 1
63899 _ACEOF
63902 done
63904 else
63906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
63907 $as_echo_n "checking for _sqrtf declaration... " >&6; }
63908 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63909 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
63910 $as_echo_n "(cached) " >&6
63911 else
63914 ac_ext=cpp
63915 ac_cpp='$CXXCPP $CPPFLAGS'
63916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63921 /* end confdefs.h. */
63922 #include <math.h>
63923 #ifdef HAVE_IEEEFP_H
63924 #include <ieeefp.h>
63925 #endif
63928 main ()
63930 _sqrtf(0);
63932 return 0;
63934 _ACEOF
63935 if ac_fn_cxx_try_compile "$LINENO"; then :
63936 glibcxx_cv_func__sqrtf_use=yes
63937 else
63938 glibcxx_cv_func__sqrtf_use=no
63940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63941 ac_ext=c
63942 ac_cpp='$CPP $CPPFLAGS'
63943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
63952 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
63954 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63955 for ac_func in _sqrtf
63956 do :
63957 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
63958 if test "x$ac_cv_func__sqrtf" = xyes; then :
63959 cat >>confdefs.h <<_ACEOF
63960 #define HAVE__SQRTF 1
63961 _ACEOF
63964 done
63973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
63974 $as_echo_n "checking for sincosf declaration... " >&6; }
63975 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63976 if ${glibcxx_cv_func_sincosf_use+:} false; then :
63977 $as_echo_n "(cached) " >&6
63978 else
63981 ac_ext=cpp
63982 ac_cpp='$CXXCPP $CPPFLAGS'
63983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63988 /* end confdefs.h. */
63989 #include <math.h>
63991 main ()
63993 sincosf(0, 0, 0);
63995 return 0;
63997 _ACEOF
63998 if ac_fn_cxx_try_compile "$LINENO"; then :
63999 glibcxx_cv_func_sincosf_use=yes
64000 else
64001 glibcxx_cv_func_sincosf_use=no
64003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64004 ac_ext=c
64005 ac_cpp='$CPP $CPPFLAGS'
64006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
64015 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
64017 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
64018 for ac_func in sincosf
64019 do :
64020 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
64021 if test "x$ac_cv_func_sincosf" = xyes; then :
64022 cat >>confdefs.h <<_ACEOF
64023 #define HAVE_SINCOSF 1
64024 _ACEOF
64027 done
64029 else
64031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
64032 $as_echo_n "checking for _sincosf declaration... " >&6; }
64033 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
64034 if ${glibcxx_cv_func__sincosf_use+:} false; then :
64035 $as_echo_n "(cached) " >&6
64036 else
64039 ac_ext=cpp
64040 ac_cpp='$CXXCPP $CPPFLAGS'
64041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64046 /* end confdefs.h. */
64047 #include <math.h>
64049 main ()
64051 _sincosf(0, 0, 0);
64053 return 0;
64055 _ACEOF
64056 if ac_fn_cxx_try_compile "$LINENO"; then :
64057 glibcxx_cv_func__sincosf_use=yes
64058 else
64059 glibcxx_cv_func__sincosf_use=no
64061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64062 ac_ext=c
64063 ac_cpp='$CPP $CPPFLAGS'
64064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
64073 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
64075 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
64076 for ac_func in _sincosf
64077 do :
64078 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
64079 if test "x$ac_cv_func__sincosf" = xyes; then :
64080 cat >>confdefs.h <<_ACEOF
64081 #define HAVE__SINCOSF 1
64082 _ACEOF
64085 done
64094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
64095 $as_echo_n "checking for finitef declaration... " >&6; }
64096 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
64097 if ${glibcxx_cv_func_finitef_use+:} false; then :
64098 $as_echo_n "(cached) " >&6
64099 else
64102 ac_ext=cpp
64103 ac_cpp='$CXXCPP $CPPFLAGS'
64104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64109 /* end confdefs.h. */
64110 #include <math.h>
64111 #ifdef HAVE_IEEEFP_H
64112 #include <ieeefp.h>
64113 #endif
64116 main ()
64118 finitef(0);
64120 return 0;
64122 _ACEOF
64123 if ac_fn_cxx_try_compile "$LINENO"; then :
64124 glibcxx_cv_func_finitef_use=yes
64125 else
64126 glibcxx_cv_func_finitef_use=no
64128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64129 ac_ext=c
64130 ac_cpp='$CPP $CPPFLAGS'
64131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
64140 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
64142 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
64143 for ac_func in finitef
64144 do :
64145 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
64146 if test "x$ac_cv_func_finitef" = xyes; then :
64147 cat >>confdefs.h <<_ACEOF
64148 #define HAVE_FINITEF 1
64149 _ACEOF
64152 done
64154 else
64156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
64157 $as_echo_n "checking for _finitef declaration... " >&6; }
64158 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
64159 if ${glibcxx_cv_func__finitef_use+:} false; then :
64160 $as_echo_n "(cached) " >&6
64161 else
64164 ac_ext=cpp
64165 ac_cpp='$CXXCPP $CPPFLAGS'
64166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64171 /* end confdefs.h. */
64172 #include <math.h>
64173 #ifdef HAVE_IEEEFP_H
64174 #include <ieeefp.h>
64175 #endif
64178 main ()
64180 _finitef(0);
64182 return 0;
64184 _ACEOF
64185 if ac_fn_cxx_try_compile "$LINENO"; then :
64186 glibcxx_cv_func__finitef_use=yes
64187 else
64188 glibcxx_cv_func__finitef_use=no
64190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64191 ac_ext=c
64192 ac_cpp='$CPP $CPPFLAGS'
64193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
64202 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
64204 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
64205 for ac_func in _finitef
64206 do :
64207 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
64208 if test "x$ac_cv_func__finitef" = xyes; then :
64209 cat >>confdefs.h <<_ACEOF
64210 #define HAVE__FINITEF 1
64211 _ACEOF
64214 done
64223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
64224 $as_echo_n "checking for long double trig functions... " >&6; }
64225 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
64226 $as_echo_n "(cached) " >&6
64227 else
64230 ac_ext=cpp
64231 ac_cpp='$CXXCPP $CPPFLAGS'
64232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64237 /* end confdefs.h. */
64238 #include <math.h>
64240 main ()
64242 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
64244 return 0;
64246 _ACEOF
64247 if ac_fn_cxx_try_compile "$LINENO"; then :
64248 glibcxx_cv_func_long_double_trig_use=yes
64249 else
64250 glibcxx_cv_func_long_double_trig_use=no
64252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64253 ac_ext=c
64254 ac_cpp='$CPP $CPPFLAGS'
64255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
64262 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
64263 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
64264 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
64265 do :
64266 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64267 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64268 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64269 cat >>confdefs.h <<_ACEOF
64270 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64271 _ACEOF
64274 done
64276 else
64277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
64278 $as_echo_n "checking for _long double trig functions... " >&6; }
64279 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
64280 $as_echo_n "(cached) " >&6
64281 else
64284 ac_ext=cpp
64285 ac_cpp='$CXXCPP $CPPFLAGS'
64286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64291 /* end confdefs.h. */
64292 #include <math.h>
64294 main ()
64296 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
64298 return 0;
64300 _ACEOF
64301 if ac_fn_cxx_try_compile "$LINENO"; then :
64302 glibcxx_cv_func__long_double_trig_use=yes
64303 else
64304 glibcxx_cv_func__long_double_trig_use=no
64306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64307 ac_ext=c
64308 ac_cpp='$CPP $CPPFLAGS'
64309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
64316 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
64317 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
64318 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
64319 do :
64320 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64321 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64322 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64323 cat >>confdefs.h <<_ACEOF
64324 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64325 _ACEOF
64328 done
64337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
64338 $as_echo_n "checking for long double round functions... " >&6; }
64339 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
64340 $as_echo_n "(cached) " >&6
64341 else
64344 ac_ext=cpp
64345 ac_cpp='$CXXCPP $CPPFLAGS'
64346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64351 /* end confdefs.h. */
64352 #include <math.h>
64354 main ()
64356 ceill (0); floorl (0);
64358 return 0;
64360 _ACEOF
64361 if ac_fn_cxx_try_compile "$LINENO"; then :
64362 glibcxx_cv_func_long_double_round_use=yes
64363 else
64364 glibcxx_cv_func_long_double_round_use=no
64366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64367 ac_ext=c
64368 ac_cpp='$CPP $CPPFLAGS'
64369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
64376 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
64377 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
64378 for ac_func in ceill floorl
64379 do :
64380 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64381 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64382 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64383 cat >>confdefs.h <<_ACEOF
64384 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64385 _ACEOF
64388 done
64390 else
64391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
64392 $as_echo_n "checking for _long double round functions... " >&6; }
64393 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
64394 $as_echo_n "(cached) " >&6
64395 else
64398 ac_ext=cpp
64399 ac_cpp='$CXXCPP $CPPFLAGS'
64400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64405 /* end confdefs.h. */
64406 #include <math.h>
64408 main ()
64410 _ceill (0); _floorl (0);
64412 return 0;
64414 _ACEOF
64415 if ac_fn_cxx_try_compile "$LINENO"; then :
64416 glibcxx_cv_func__long_double_round_use=yes
64417 else
64418 glibcxx_cv_func__long_double_round_use=no
64420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64421 ac_ext=c
64422 ac_cpp='$CPP $CPPFLAGS'
64423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
64430 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
64431 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
64432 for ac_func in _ceill _floorl
64433 do :
64434 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64435 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64436 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64437 cat >>confdefs.h <<_ACEOF
64438 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64439 _ACEOF
64442 done
64452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
64453 $as_echo_n "checking for isnanl declaration... " >&6; }
64454 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
64455 if ${glibcxx_cv_func_isnanl_use+:} false; then :
64456 $as_echo_n "(cached) " >&6
64457 else
64460 ac_ext=cpp
64461 ac_cpp='$CXXCPP $CPPFLAGS'
64462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64467 /* end confdefs.h. */
64468 #include <math.h>
64469 #ifdef HAVE_IEEEFP_H
64470 #include <ieeefp.h>
64471 #endif
64474 main ()
64476 isnanl(0);
64478 return 0;
64480 _ACEOF
64481 if ac_fn_cxx_try_compile "$LINENO"; then :
64482 glibcxx_cv_func_isnanl_use=yes
64483 else
64484 glibcxx_cv_func_isnanl_use=no
64486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64487 ac_ext=c
64488 ac_cpp='$CPP $CPPFLAGS'
64489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
64498 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
64500 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
64501 for ac_func in isnanl
64502 do :
64503 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
64504 if test "x$ac_cv_func_isnanl" = xyes; then :
64505 cat >>confdefs.h <<_ACEOF
64506 #define HAVE_ISNANL 1
64507 _ACEOF
64510 done
64512 else
64514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
64515 $as_echo_n "checking for _isnanl declaration... " >&6; }
64516 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
64517 if ${glibcxx_cv_func__isnanl_use+:} false; then :
64518 $as_echo_n "(cached) " >&6
64519 else
64522 ac_ext=cpp
64523 ac_cpp='$CXXCPP $CPPFLAGS'
64524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64529 /* end confdefs.h. */
64530 #include <math.h>
64531 #ifdef HAVE_IEEEFP_H
64532 #include <ieeefp.h>
64533 #endif
64536 main ()
64538 _isnanl(0);
64540 return 0;
64542 _ACEOF
64543 if ac_fn_cxx_try_compile "$LINENO"; then :
64544 glibcxx_cv_func__isnanl_use=yes
64545 else
64546 glibcxx_cv_func__isnanl_use=no
64548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64549 ac_ext=c
64550 ac_cpp='$CPP $CPPFLAGS'
64551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
64560 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
64562 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
64563 for ac_func in _isnanl
64564 do :
64565 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
64566 if test "x$ac_cv_func__isnanl" = xyes; then :
64567 cat >>confdefs.h <<_ACEOF
64568 #define HAVE__ISNANL 1
64569 _ACEOF
64572 done
64581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
64582 $as_echo_n "checking for isinfl declaration... " >&6; }
64583 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
64584 if ${glibcxx_cv_func_isinfl_use+:} false; then :
64585 $as_echo_n "(cached) " >&6
64586 else
64589 ac_ext=cpp
64590 ac_cpp='$CXXCPP $CPPFLAGS'
64591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64596 /* end confdefs.h. */
64597 #include <math.h>
64598 #ifdef HAVE_IEEEFP_H
64599 #include <ieeefp.h>
64600 #endif
64603 main ()
64605 isinfl(0);
64607 return 0;
64609 _ACEOF
64610 if ac_fn_cxx_try_compile "$LINENO"; then :
64611 glibcxx_cv_func_isinfl_use=yes
64612 else
64613 glibcxx_cv_func_isinfl_use=no
64615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64616 ac_ext=c
64617 ac_cpp='$CPP $CPPFLAGS'
64618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
64627 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
64629 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64630 for ac_func in isinfl
64631 do :
64632 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
64633 if test "x$ac_cv_func_isinfl" = xyes; then :
64634 cat >>confdefs.h <<_ACEOF
64635 #define HAVE_ISINFL 1
64636 _ACEOF
64639 done
64641 else
64643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
64644 $as_echo_n "checking for _isinfl declaration... " >&6; }
64645 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64646 if ${glibcxx_cv_func__isinfl_use+:} false; then :
64647 $as_echo_n "(cached) " >&6
64648 else
64651 ac_ext=cpp
64652 ac_cpp='$CXXCPP $CPPFLAGS'
64653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64658 /* end confdefs.h. */
64659 #include <math.h>
64660 #ifdef HAVE_IEEEFP_H
64661 #include <ieeefp.h>
64662 #endif
64665 main ()
64667 _isinfl(0);
64669 return 0;
64671 _ACEOF
64672 if ac_fn_cxx_try_compile "$LINENO"; then :
64673 glibcxx_cv_func__isinfl_use=yes
64674 else
64675 glibcxx_cv_func__isinfl_use=no
64677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64678 ac_ext=c
64679 ac_cpp='$CPP $CPPFLAGS'
64680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
64689 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
64691 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64692 for ac_func in _isinfl
64693 do :
64694 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
64695 if test "x$ac_cv_func__isinfl" = xyes; then :
64696 cat >>confdefs.h <<_ACEOF
64697 #define HAVE__ISINFL 1
64698 _ACEOF
64701 done
64710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
64711 $as_echo_n "checking for atan2l declaration... " >&6; }
64712 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64713 if ${glibcxx_cv_func_atan2l_use+:} false; then :
64714 $as_echo_n "(cached) " >&6
64715 else
64718 ac_ext=cpp
64719 ac_cpp='$CXXCPP $CPPFLAGS'
64720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64725 /* end confdefs.h. */
64726 #include <math.h>
64728 main ()
64730 atan2l(0, 0);
64732 return 0;
64734 _ACEOF
64735 if ac_fn_cxx_try_compile "$LINENO"; then :
64736 glibcxx_cv_func_atan2l_use=yes
64737 else
64738 glibcxx_cv_func_atan2l_use=no
64740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64741 ac_ext=c
64742 ac_cpp='$CPP $CPPFLAGS'
64743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
64752 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
64754 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64755 for ac_func in atan2l
64756 do :
64757 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
64758 if test "x$ac_cv_func_atan2l" = xyes; then :
64759 cat >>confdefs.h <<_ACEOF
64760 #define HAVE_ATAN2L 1
64761 _ACEOF
64764 done
64766 else
64768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
64769 $as_echo_n "checking for _atan2l declaration... " >&6; }
64770 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64771 if ${glibcxx_cv_func__atan2l_use+:} false; then :
64772 $as_echo_n "(cached) " >&6
64773 else
64776 ac_ext=cpp
64777 ac_cpp='$CXXCPP $CPPFLAGS'
64778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64783 /* end confdefs.h. */
64784 #include <math.h>
64786 main ()
64788 _atan2l(0, 0);
64790 return 0;
64792 _ACEOF
64793 if ac_fn_cxx_try_compile "$LINENO"; then :
64794 glibcxx_cv_func__atan2l_use=yes
64795 else
64796 glibcxx_cv_func__atan2l_use=no
64798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64799 ac_ext=c
64800 ac_cpp='$CPP $CPPFLAGS'
64801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
64810 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
64812 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64813 for ac_func in _atan2l
64814 do :
64815 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
64816 if test "x$ac_cv_func__atan2l" = xyes; then :
64817 cat >>confdefs.h <<_ACEOF
64818 #define HAVE__ATAN2L 1
64819 _ACEOF
64822 done
64831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
64832 $as_echo_n "checking for expl declaration... " >&6; }
64833 if test x${glibcxx_cv_func_expl_use+set} != xset; then
64834 if ${glibcxx_cv_func_expl_use+:} false; then :
64835 $as_echo_n "(cached) " >&6
64836 else
64839 ac_ext=cpp
64840 ac_cpp='$CXXCPP $CPPFLAGS'
64841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64846 /* end confdefs.h. */
64847 #include <math.h>
64848 #ifdef HAVE_IEEEFP_H
64849 #include <ieeefp.h>
64850 #endif
64853 main ()
64855 expl(0);
64857 return 0;
64859 _ACEOF
64860 if ac_fn_cxx_try_compile "$LINENO"; then :
64861 glibcxx_cv_func_expl_use=yes
64862 else
64863 glibcxx_cv_func_expl_use=no
64865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64866 ac_ext=c
64867 ac_cpp='$CPP $CPPFLAGS'
64868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
64877 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
64879 if test x$glibcxx_cv_func_expl_use = x"yes"; then
64880 for ac_func in expl
64881 do :
64882 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
64883 if test "x$ac_cv_func_expl" = xyes; then :
64884 cat >>confdefs.h <<_ACEOF
64885 #define HAVE_EXPL 1
64886 _ACEOF
64889 done
64891 else
64893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
64894 $as_echo_n "checking for _expl declaration... " >&6; }
64895 if test x${glibcxx_cv_func__expl_use+set} != xset; then
64896 if ${glibcxx_cv_func__expl_use+:} false; then :
64897 $as_echo_n "(cached) " >&6
64898 else
64901 ac_ext=cpp
64902 ac_cpp='$CXXCPP $CPPFLAGS'
64903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64908 /* end confdefs.h. */
64909 #include <math.h>
64910 #ifdef HAVE_IEEEFP_H
64911 #include <ieeefp.h>
64912 #endif
64915 main ()
64917 _expl(0);
64919 return 0;
64921 _ACEOF
64922 if ac_fn_cxx_try_compile "$LINENO"; then :
64923 glibcxx_cv_func__expl_use=yes
64924 else
64925 glibcxx_cv_func__expl_use=no
64927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64928 ac_ext=c
64929 ac_cpp='$CPP $CPPFLAGS'
64930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
64939 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
64941 if test x$glibcxx_cv_func__expl_use = x"yes"; then
64942 for ac_func in _expl
64943 do :
64944 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
64945 if test "x$ac_cv_func__expl" = xyes; then :
64946 cat >>confdefs.h <<_ACEOF
64947 #define HAVE__EXPL 1
64948 _ACEOF
64951 done
64960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
64961 $as_echo_n "checking for fabsl declaration... " >&6; }
64962 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
64963 if ${glibcxx_cv_func_fabsl_use+:} false; then :
64964 $as_echo_n "(cached) " >&6
64965 else
64968 ac_ext=cpp
64969 ac_cpp='$CXXCPP $CPPFLAGS'
64970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64975 /* end confdefs.h. */
64976 #include <math.h>
64977 #ifdef HAVE_IEEEFP_H
64978 #include <ieeefp.h>
64979 #endif
64982 main ()
64984 fabsl(0);
64986 return 0;
64988 _ACEOF
64989 if ac_fn_cxx_try_compile "$LINENO"; then :
64990 glibcxx_cv_func_fabsl_use=yes
64991 else
64992 glibcxx_cv_func_fabsl_use=no
64994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64995 ac_ext=c
64996 ac_cpp='$CPP $CPPFLAGS'
64997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
65006 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
65008 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
65009 for ac_func in fabsl
65010 do :
65011 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
65012 if test "x$ac_cv_func_fabsl" = xyes; then :
65013 cat >>confdefs.h <<_ACEOF
65014 #define HAVE_FABSL 1
65015 _ACEOF
65018 done
65020 else
65022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
65023 $as_echo_n "checking for _fabsl declaration... " >&6; }
65024 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
65025 if ${glibcxx_cv_func__fabsl_use+:} false; then :
65026 $as_echo_n "(cached) " >&6
65027 else
65030 ac_ext=cpp
65031 ac_cpp='$CXXCPP $CPPFLAGS'
65032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65037 /* end confdefs.h. */
65038 #include <math.h>
65039 #ifdef HAVE_IEEEFP_H
65040 #include <ieeefp.h>
65041 #endif
65044 main ()
65046 _fabsl(0);
65048 return 0;
65050 _ACEOF
65051 if ac_fn_cxx_try_compile "$LINENO"; then :
65052 glibcxx_cv_func__fabsl_use=yes
65053 else
65054 glibcxx_cv_func__fabsl_use=no
65056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65057 ac_ext=c
65058 ac_cpp='$CPP $CPPFLAGS'
65059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
65068 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
65070 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
65071 for ac_func in _fabsl
65072 do :
65073 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
65074 if test "x$ac_cv_func__fabsl" = xyes; then :
65075 cat >>confdefs.h <<_ACEOF
65076 #define HAVE__FABSL 1
65077 _ACEOF
65080 done
65089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
65090 $as_echo_n "checking for fmodl declaration... " >&6; }
65091 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
65092 if ${glibcxx_cv_func_fmodl_use+:} false; then :
65093 $as_echo_n "(cached) " >&6
65094 else
65097 ac_ext=cpp
65098 ac_cpp='$CXXCPP $CPPFLAGS'
65099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65104 /* end confdefs.h. */
65105 #include <math.h>
65107 main ()
65109 fmodl(0, 0);
65111 return 0;
65113 _ACEOF
65114 if ac_fn_cxx_try_compile "$LINENO"; then :
65115 glibcxx_cv_func_fmodl_use=yes
65116 else
65117 glibcxx_cv_func_fmodl_use=no
65119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65120 ac_ext=c
65121 ac_cpp='$CPP $CPPFLAGS'
65122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
65131 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
65133 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
65134 for ac_func in fmodl
65135 do :
65136 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
65137 if test "x$ac_cv_func_fmodl" = xyes; then :
65138 cat >>confdefs.h <<_ACEOF
65139 #define HAVE_FMODL 1
65140 _ACEOF
65143 done
65145 else
65147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
65148 $as_echo_n "checking for _fmodl declaration... " >&6; }
65149 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
65150 if ${glibcxx_cv_func__fmodl_use+:} false; then :
65151 $as_echo_n "(cached) " >&6
65152 else
65155 ac_ext=cpp
65156 ac_cpp='$CXXCPP $CPPFLAGS'
65157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65162 /* end confdefs.h. */
65163 #include <math.h>
65165 main ()
65167 _fmodl(0, 0);
65169 return 0;
65171 _ACEOF
65172 if ac_fn_cxx_try_compile "$LINENO"; then :
65173 glibcxx_cv_func__fmodl_use=yes
65174 else
65175 glibcxx_cv_func__fmodl_use=no
65177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65178 ac_ext=c
65179 ac_cpp='$CPP $CPPFLAGS'
65180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
65189 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
65191 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
65192 for ac_func in _fmodl
65193 do :
65194 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
65195 if test "x$ac_cv_func__fmodl" = xyes; then :
65196 cat >>confdefs.h <<_ACEOF
65197 #define HAVE__FMODL 1
65198 _ACEOF
65201 done
65210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
65211 $as_echo_n "checking for frexpl declaration... " >&6; }
65212 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
65213 if ${glibcxx_cv_func_frexpl_use+:} false; then :
65214 $as_echo_n "(cached) " >&6
65215 else
65218 ac_ext=cpp
65219 ac_cpp='$CXXCPP $CPPFLAGS'
65220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65225 /* end confdefs.h. */
65226 #include <math.h>
65228 main ()
65230 frexpl(0, 0);
65232 return 0;
65234 _ACEOF
65235 if ac_fn_cxx_try_compile "$LINENO"; then :
65236 glibcxx_cv_func_frexpl_use=yes
65237 else
65238 glibcxx_cv_func_frexpl_use=no
65240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65241 ac_ext=c
65242 ac_cpp='$CPP $CPPFLAGS'
65243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
65252 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
65254 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
65255 for ac_func in frexpl
65256 do :
65257 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
65258 if test "x$ac_cv_func_frexpl" = xyes; then :
65259 cat >>confdefs.h <<_ACEOF
65260 #define HAVE_FREXPL 1
65261 _ACEOF
65264 done
65266 else
65268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
65269 $as_echo_n "checking for _frexpl declaration... " >&6; }
65270 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
65271 if ${glibcxx_cv_func__frexpl_use+:} false; then :
65272 $as_echo_n "(cached) " >&6
65273 else
65276 ac_ext=cpp
65277 ac_cpp='$CXXCPP $CPPFLAGS'
65278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65283 /* end confdefs.h. */
65284 #include <math.h>
65286 main ()
65288 _frexpl(0, 0);
65290 return 0;
65292 _ACEOF
65293 if ac_fn_cxx_try_compile "$LINENO"; then :
65294 glibcxx_cv_func__frexpl_use=yes
65295 else
65296 glibcxx_cv_func__frexpl_use=no
65298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65299 ac_ext=c
65300 ac_cpp='$CPP $CPPFLAGS'
65301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
65310 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
65312 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
65313 for ac_func in _frexpl
65314 do :
65315 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
65316 if test "x$ac_cv_func__frexpl" = xyes; then :
65317 cat >>confdefs.h <<_ACEOF
65318 #define HAVE__FREXPL 1
65319 _ACEOF
65322 done
65331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
65332 $as_echo_n "checking for hypotl declaration... " >&6; }
65333 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
65334 if ${glibcxx_cv_func_hypotl_use+:} false; then :
65335 $as_echo_n "(cached) " >&6
65336 else
65339 ac_ext=cpp
65340 ac_cpp='$CXXCPP $CPPFLAGS'
65341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65346 /* end confdefs.h. */
65347 #include <math.h>
65349 main ()
65351 hypotl(0, 0);
65353 return 0;
65355 _ACEOF
65356 if ac_fn_cxx_try_compile "$LINENO"; then :
65357 glibcxx_cv_func_hypotl_use=yes
65358 else
65359 glibcxx_cv_func_hypotl_use=no
65361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65362 ac_ext=c
65363 ac_cpp='$CPP $CPPFLAGS'
65364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
65373 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
65375 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
65376 for ac_func in hypotl
65377 do :
65378 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
65379 if test "x$ac_cv_func_hypotl" = xyes; then :
65380 cat >>confdefs.h <<_ACEOF
65381 #define HAVE_HYPOTL 1
65382 _ACEOF
65385 done
65387 else
65389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
65390 $as_echo_n "checking for _hypotl declaration... " >&6; }
65391 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
65392 if ${glibcxx_cv_func__hypotl_use+:} false; then :
65393 $as_echo_n "(cached) " >&6
65394 else
65397 ac_ext=cpp
65398 ac_cpp='$CXXCPP $CPPFLAGS'
65399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65404 /* end confdefs.h. */
65405 #include <math.h>
65407 main ()
65409 _hypotl(0, 0);
65411 return 0;
65413 _ACEOF
65414 if ac_fn_cxx_try_compile "$LINENO"; then :
65415 glibcxx_cv_func__hypotl_use=yes
65416 else
65417 glibcxx_cv_func__hypotl_use=no
65419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65420 ac_ext=c
65421 ac_cpp='$CPP $CPPFLAGS'
65422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
65431 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
65433 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
65434 for ac_func in _hypotl
65435 do :
65436 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
65437 if test "x$ac_cv_func__hypotl" = xyes; then :
65438 cat >>confdefs.h <<_ACEOF
65439 #define HAVE__HYPOTL 1
65440 _ACEOF
65443 done
65452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
65453 $as_echo_n "checking for ldexpl declaration... " >&6; }
65454 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
65455 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
65456 $as_echo_n "(cached) " >&6
65457 else
65460 ac_ext=cpp
65461 ac_cpp='$CXXCPP $CPPFLAGS'
65462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65467 /* end confdefs.h. */
65468 #include <math.h>
65470 main ()
65472 ldexpl(0, 0);
65474 return 0;
65476 _ACEOF
65477 if ac_fn_cxx_try_compile "$LINENO"; then :
65478 glibcxx_cv_func_ldexpl_use=yes
65479 else
65480 glibcxx_cv_func_ldexpl_use=no
65482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65483 ac_ext=c
65484 ac_cpp='$CPP $CPPFLAGS'
65485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
65494 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
65496 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
65497 for ac_func in ldexpl
65498 do :
65499 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
65500 if test "x$ac_cv_func_ldexpl" = xyes; then :
65501 cat >>confdefs.h <<_ACEOF
65502 #define HAVE_LDEXPL 1
65503 _ACEOF
65506 done
65508 else
65510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
65511 $as_echo_n "checking for _ldexpl declaration... " >&6; }
65512 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
65513 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
65514 $as_echo_n "(cached) " >&6
65515 else
65518 ac_ext=cpp
65519 ac_cpp='$CXXCPP $CPPFLAGS'
65520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65525 /* end confdefs.h. */
65526 #include <math.h>
65528 main ()
65530 _ldexpl(0, 0);
65532 return 0;
65534 _ACEOF
65535 if ac_fn_cxx_try_compile "$LINENO"; then :
65536 glibcxx_cv_func__ldexpl_use=yes
65537 else
65538 glibcxx_cv_func__ldexpl_use=no
65540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65541 ac_ext=c
65542 ac_cpp='$CPP $CPPFLAGS'
65543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
65552 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
65554 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
65555 for ac_func in _ldexpl
65556 do :
65557 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
65558 if test "x$ac_cv_func__ldexpl" = xyes; then :
65559 cat >>confdefs.h <<_ACEOF
65560 #define HAVE__LDEXPL 1
65561 _ACEOF
65564 done
65573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
65574 $as_echo_n "checking for logl declaration... " >&6; }
65575 if test x${glibcxx_cv_func_logl_use+set} != xset; then
65576 if ${glibcxx_cv_func_logl_use+:} false; then :
65577 $as_echo_n "(cached) " >&6
65578 else
65581 ac_ext=cpp
65582 ac_cpp='$CXXCPP $CPPFLAGS'
65583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65588 /* end confdefs.h. */
65589 #include <math.h>
65590 #ifdef HAVE_IEEEFP_H
65591 #include <ieeefp.h>
65592 #endif
65595 main ()
65597 logl(0);
65599 return 0;
65601 _ACEOF
65602 if ac_fn_cxx_try_compile "$LINENO"; then :
65603 glibcxx_cv_func_logl_use=yes
65604 else
65605 glibcxx_cv_func_logl_use=no
65607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65608 ac_ext=c
65609 ac_cpp='$CPP $CPPFLAGS'
65610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
65619 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
65621 if test x$glibcxx_cv_func_logl_use = x"yes"; then
65622 for ac_func in logl
65623 do :
65624 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
65625 if test "x$ac_cv_func_logl" = xyes; then :
65626 cat >>confdefs.h <<_ACEOF
65627 #define HAVE_LOGL 1
65628 _ACEOF
65631 done
65633 else
65635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
65636 $as_echo_n "checking for _logl declaration... " >&6; }
65637 if test x${glibcxx_cv_func__logl_use+set} != xset; then
65638 if ${glibcxx_cv_func__logl_use+:} false; then :
65639 $as_echo_n "(cached) " >&6
65640 else
65643 ac_ext=cpp
65644 ac_cpp='$CXXCPP $CPPFLAGS'
65645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65650 /* end confdefs.h. */
65651 #include <math.h>
65652 #ifdef HAVE_IEEEFP_H
65653 #include <ieeefp.h>
65654 #endif
65657 main ()
65659 _logl(0);
65661 return 0;
65663 _ACEOF
65664 if ac_fn_cxx_try_compile "$LINENO"; then :
65665 glibcxx_cv_func__logl_use=yes
65666 else
65667 glibcxx_cv_func__logl_use=no
65669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65670 ac_ext=c
65671 ac_cpp='$CPP $CPPFLAGS'
65672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
65681 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
65683 if test x$glibcxx_cv_func__logl_use = x"yes"; then
65684 for ac_func in _logl
65685 do :
65686 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
65687 if test "x$ac_cv_func__logl" = xyes; then :
65688 cat >>confdefs.h <<_ACEOF
65689 #define HAVE__LOGL 1
65690 _ACEOF
65693 done
65702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
65703 $as_echo_n "checking for log10l declaration... " >&6; }
65704 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
65705 if ${glibcxx_cv_func_log10l_use+:} false; then :
65706 $as_echo_n "(cached) " >&6
65707 else
65710 ac_ext=cpp
65711 ac_cpp='$CXXCPP $CPPFLAGS'
65712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65717 /* end confdefs.h. */
65718 #include <math.h>
65719 #ifdef HAVE_IEEEFP_H
65720 #include <ieeefp.h>
65721 #endif
65724 main ()
65726 log10l(0);
65728 return 0;
65730 _ACEOF
65731 if ac_fn_cxx_try_compile "$LINENO"; then :
65732 glibcxx_cv_func_log10l_use=yes
65733 else
65734 glibcxx_cv_func_log10l_use=no
65736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65737 ac_ext=c
65738 ac_cpp='$CPP $CPPFLAGS'
65739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
65748 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
65750 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
65751 for ac_func in log10l
65752 do :
65753 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
65754 if test "x$ac_cv_func_log10l" = xyes; then :
65755 cat >>confdefs.h <<_ACEOF
65756 #define HAVE_LOG10L 1
65757 _ACEOF
65760 done
65762 else
65764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
65765 $as_echo_n "checking for _log10l declaration... " >&6; }
65766 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
65767 if ${glibcxx_cv_func__log10l_use+:} false; then :
65768 $as_echo_n "(cached) " >&6
65769 else
65772 ac_ext=cpp
65773 ac_cpp='$CXXCPP $CPPFLAGS'
65774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65779 /* end confdefs.h. */
65780 #include <math.h>
65781 #ifdef HAVE_IEEEFP_H
65782 #include <ieeefp.h>
65783 #endif
65786 main ()
65788 _log10l(0);
65790 return 0;
65792 _ACEOF
65793 if ac_fn_cxx_try_compile "$LINENO"; then :
65794 glibcxx_cv_func__log10l_use=yes
65795 else
65796 glibcxx_cv_func__log10l_use=no
65798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65799 ac_ext=c
65800 ac_cpp='$CPP $CPPFLAGS'
65801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
65810 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
65812 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
65813 for ac_func in _log10l
65814 do :
65815 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
65816 if test "x$ac_cv_func__log10l" = xyes; then :
65817 cat >>confdefs.h <<_ACEOF
65818 #define HAVE__LOG10L 1
65819 _ACEOF
65822 done
65831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
65832 $as_echo_n "checking for modfl declaration... " >&6; }
65833 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
65834 if ${glibcxx_cv_func_modfl_use+:} false; then :
65835 $as_echo_n "(cached) " >&6
65836 else
65839 ac_ext=cpp
65840 ac_cpp='$CXXCPP $CPPFLAGS'
65841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65846 /* end confdefs.h. */
65847 #include <math.h>
65849 main ()
65851 modfl(0, 0);
65853 return 0;
65855 _ACEOF
65856 if ac_fn_cxx_try_compile "$LINENO"; then :
65857 glibcxx_cv_func_modfl_use=yes
65858 else
65859 glibcxx_cv_func_modfl_use=no
65861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65862 ac_ext=c
65863 ac_cpp='$CPP $CPPFLAGS'
65864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
65873 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
65875 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
65876 for ac_func in modfl
65877 do :
65878 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
65879 if test "x$ac_cv_func_modfl" = xyes; then :
65880 cat >>confdefs.h <<_ACEOF
65881 #define HAVE_MODFL 1
65882 _ACEOF
65885 done
65887 else
65889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
65890 $as_echo_n "checking for _modfl declaration... " >&6; }
65891 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
65892 if ${glibcxx_cv_func__modfl_use+:} false; then :
65893 $as_echo_n "(cached) " >&6
65894 else
65897 ac_ext=cpp
65898 ac_cpp='$CXXCPP $CPPFLAGS'
65899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65904 /* end confdefs.h. */
65905 #include <math.h>
65907 main ()
65909 _modfl(0, 0);
65911 return 0;
65913 _ACEOF
65914 if ac_fn_cxx_try_compile "$LINENO"; then :
65915 glibcxx_cv_func__modfl_use=yes
65916 else
65917 glibcxx_cv_func__modfl_use=no
65919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65920 ac_ext=c
65921 ac_cpp='$CPP $CPPFLAGS'
65922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
65931 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
65933 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
65934 for ac_func in _modfl
65935 do :
65936 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
65937 if test "x$ac_cv_func__modfl" = xyes; then :
65938 cat >>confdefs.h <<_ACEOF
65939 #define HAVE__MODFL 1
65940 _ACEOF
65943 done
65952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
65953 $as_echo_n "checking for powl declaration... " >&6; }
65954 if test x${glibcxx_cv_func_powl_use+set} != xset; then
65955 if ${glibcxx_cv_func_powl_use+:} false; then :
65956 $as_echo_n "(cached) " >&6
65957 else
65960 ac_ext=cpp
65961 ac_cpp='$CXXCPP $CPPFLAGS'
65962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65967 /* end confdefs.h. */
65968 #include <math.h>
65970 main ()
65972 powl(0, 0);
65974 return 0;
65976 _ACEOF
65977 if ac_fn_cxx_try_compile "$LINENO"; then :
65978 glibcxx_cv_func_powl_use=yes
65979 else
65980 glibcxx_cv_func_powl_use=no
65982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65983 ac_ext=c
65984 ac_cpp='$CPP $CPPFLAGS'
65985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
65994 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
65996 if test x$glibcxx_cv_func_powl_use = x"yes"; then
65997 for ac_func in powl
65998 do :
65999 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
66000 if test "x$ac_cv_func_powl" = xyes; then :
66001 cat >>confdefs.h <<_ACEOF
66002 #define HAVE_POWL 1
66003 _ACEOF
66006 done
66008 else
66010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
66011 $as_echo_n "checking for _powl declaration... " >&6; }
66012 if test x${glibcxx_cv_func__powl_use+set} != xset; then
66013 if ${glibcxx_cv_func__powl_use+:} false; then :
66014 $as_echo_n "(cached) " >&6
66015 else
66018 ac_ext=cpp
66019 ac_cpp='$CXXCPP $CPPFLAGS'
66020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66025 /* end confdefs.h. */
66026 #include <math.h>
66028 main ()
66030 _powl(0, 0);
66032 return 0;
66034 _ACEOF
66035 if ac_fn_cxx_try_compile "$LINENO"; then :
66036 glibcxx_cv_func__powl_use=yes
66037 else
66038 glibcxx_cv_func__powl_use=no
66040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66041 ac_ext=c
66042 ac_cpp='$CPP $CPPFLAGS'
66043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
66052 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
66054 if test x$glibcxx_cv_func__powl_use = x"yes"; then
66055 for ac_func in _powl
66056 do :
66057 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
66058 if test "x$ac_cv_func__powl" = xyes; then :
66059 cat >>confdefs.h <<_ACEOF
66060 #define HAVE__POWL 1
66061 _ACEOF
66064 done
66073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
66074 $as_echo_n "checking for sqrtl declaration... " >&6; }
66075 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
66076 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
66077 $as_echo_n "(cached) " >&6
66078 else
66081 ac_ext=cpp
66082 ac_cpp='$CXXCPP $CPPFLAGS'
66083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66088 /* end confdefs.h. */
66089 #include <math.h>
66090 #ifdef HAVE_IEEEFP_H
66091 #include <ieeefp.h>
66092 #endif
66095 main ()
66097 sqrtl(0);
66099 return 0;
66101 _ACEOF
66102 if ac_fn_cxx_try_compile "$LINENO"; then :
66103 glibcxx_cv_func_sqrtl_use=yes
66104 else
66105 glibcxx_cv_func_sqrtl_use=no
66107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66108 ac_ext=c
66109 ac_cpp='$CPP $CPPFLAGS'
66110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
66119 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
66121 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
66122 for ac_func in sqrtl
66123 do :
66124 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
66125 if test "x$ac_cv_func_sqrtl" = xyes; then :
66126 cat >>confdefs.h <<_ACEOF
66127 #define HAVE_SQRTL 1
66128 _ACEOF
66131 done
66133 else
66135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
66136 $as_echo_n "checking for _sqrtl declaration... " >&6; }
66137 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
66138 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
66139 $as_echo_n "(cached) " >&6
66140 else
66143 ac_ext=cpp
66144 ac_cpp='$CXXCPP $CPPFLAGS'
66145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66150 /* end confdefs.h. */
66151 #include <math.h>
66152 #ifdef HAVE_IEEEFP_H
66153 #include <ieeefp.h>
66154 #endif
66157 main ()
66159 _sqrtl(0);
66161 return 0;
66163 _ACEOF
66164 if ac_fn_cxx_try_compile "$LINENO"; then :
66165 glibcxx_cv_func__sqrtl_use=yes
66166 else
66167 glibcxx_cv_func__sqrtl_use=no
66169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66170 ac_ext=c
66171 ac_cpp='$CPP $CPPFLAGS'
66172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
66181 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
66183 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
66184 for ac_func in _sqrtl
66185 do :
66186 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
66187 if test "x$ac_cv_func__sqrtl" = xyes; then :
66188 cat >>confdefs.h <<_ACEOF
66189 #define HAVE__SQRTL 1
66190 _ACEOF
66193 done
66202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
66203 $as_echo_n "checking for sincosl declaration... " >&6; }
66204 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
66205 if ${glibcxx_cv_func_sincosl_use+:} false; then :
66206 $as_echo_n "(cached) " >&6
66207 else
66210 ac_ext=cpp
66211 ac_cpp='$CXXCPP $CPPFLAGS'
66212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66217 /* end confdefs.h. */
66218 #include <math.h>
66220 main ()
66222 sincosl(0, 0, 0);
66224 return 0;
66226 _ACEOF
66227 if ac_fn_cxx_try_compile "$LINENO"; then :
66228 glibcxx_cv_func_sincosl_use=yes
66229 else
66230 glibcxx_cv_func_sincosl_use=no
66232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66233 ac_ext=c
66234 ac_cpp='$CPP $CPPFLAGS'
66235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
66244 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
66246 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
66247 for ac_func in sincosl
66248 do :
66249 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
66250 if test "x$ac_cv_func_sincosl" = xyes; then :
66251 cat >>confdefs.h <<_ACEOF
66252 #define HAVE_SINCOSL 1
66253 _ACEOF
66256 done
66258 else
66260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
66261 $as_echo_n "checking for _sincosl declaration... " >&6; }
66262 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
66263 if ${glibcxx_cv_func__sincosl_use+:} false; then :
66264 $as_echo_n "(cached) " >&6
66265 else
66268 ac_ext=cpp
66269 ac_cpp='$CXXCPP $CPPFLAGS'
66270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66275 /* end confdefs.h. */
66276 #include <math.h>
66278 main ()
66280 _sincosl(0, 0, 0);
66282 return 0;
66284 _ACEOF
66285 if ac_fn_cxx_try_compile "$LINENO"; then :
66286 glibcxx_cv_func__sincosl_use=yes
66287 else
66288 glibcxx_cv_func__sincosl_use=no
66290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66291 ac_ext=c
66292 ac_cpp='$CPP $CPPFLAGS'
66293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
66302 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
66304 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
66305 for ac_func in _sincosl
66306 do :
66307 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
66308 if test "x$ac_cv_func__sincosl" = xyes; then :
66309 cat >>confdefs.h <<_ACEOF
66310 #define HAVE__SINCOSL 1
66311 _ACEOF
66314 done
66323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
66324 $as_echo_n "checking for finitel declaration... " >&6; }
66325 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
66326 if ${glibcxx_cv_func_finitel_use+:} false; then :
66327 $as_echo_n "(cached) " >&6
66328 else
66331 ac_ext=cpp
66332 ac_cpp='$CXXCPP $CPPFLAGS'
66333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66338 /* end confdefs.h. */
66339 #include <math.h>
66340 #ifdef HAVE_IEEEFP_H
66341 #include <ieeefp.h>
66342 #endif
66345 main ()
66347 finitel(0);
66349 return 0;
66351 _ACEOF
66352 if ac_fn_cxx_try_compile "$LINENO"; then :
66353 glibcxx_cv_func_finitel_use=yes
66354 else
66355 glibcxx_cv_func_finitel_use=no
66357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66358 ac_ext=c
66359 ac_cpp='$CPP $CPPFLAGS'
66360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
66369 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
66371 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
66372 for ac_func in finitel
66373 do :
66374 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
66375 if test "x$ac_cv_func_finitel" = xyes; then :
66376 cat >>confdefs.h <<_ACEOF
66377 #define HAVE_FINITEL 1
66378 _ACEOF
66381 done
66383 else
66385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
66386 $as_echo_n "checking for _finitel declaration... " >&6; }
66387 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
66388 if ${glibcxx_cv_func__finitel_use+:} false; then :
66389 $as_echo_n "(cached) " >&6
66390 else
66393 ac_ext=cpp
66394 ac_cpp='$CXXCPP $CPPFLAGS'
66395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66400 /* end confdefs.h. */
66401 #include <math.h>
66402 #ifdef HAVE_IEEEFP_H
66403 #include <ieeefp.h>
66404 #endif
66407 main ()
66409 _finitel(0);
66411 return 0;
66413 _ACEOF
66414 if ac_fn_cxx_try_compile "$LINENO"; then :
66415 glibcxx_cv_func__finitel_use=yes
66416 else
66417 glibcxx_cv_func__finitel_use=no
66419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66420 ac_ext=c
66421 ac_cpp='$CPP $CPPFLAGS'
66422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
66431 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
66433 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
66434 for ac_func in _finitel
66435 do :
66436 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
66437 if test "x$ac_cv_func__finitel" = xyes; then :
66438 cat >>confdefs.h <<_ACEOF
66439 #define HAVE__FINITEL 1
66440 _ACEOF
66443 done
66451 LIBS="$ac_save_LIBS"
66452 CXXFLAGS="$ac_save_CXXFLAGS"
66455 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66456 ac_save_CXXFLAGS="$CXXFLAGS"
66457 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
66461 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
66462 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
66463 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
66464 $as_echo_n "(cached) " >&6
66465 else
66468 ac_ext=cpp
66469 ac_cpp='$CXXCPP $CPPFLAGS'
66470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66475 /* end confdefs.h. */
66476 #include <stdlib.h>
66478 main ()
66480 at_quick_exit(0);
66482 return 0;
66484 _ACEOF
66485 if ac_fn_cxx_try_compile "$LINENO"; then :
66486 glibcxx_cv_func_at_quick_exit_use=yes
66487 else
66488 glibcxx_cv_func_at_quick_exit_use=no
66490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66491 ac_ext=c
66492 ac_cpp='$CPP $CPPFLAGS'
66493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
66502 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
66503 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
66504 for ac_func in at_quick_exit
66505 do :
66506 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
66507 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
66508 cat >>confdefs.h <<_ACEOF
66509 #define HAVE_AT_QUICK_EXIT 1
66510 _ACEOF
66513 done
66518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
66519 $as_echo_n "checking for quick_exit declaration... " >&6; }
66520 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
66521 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
66522 $as_echo_n "(cached) " >&6
66523 else
66526 ac_ext=cpp
66527 ac_cpp='$CXXCPP $CPPFLAGS'
66528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66533 /* end confdefs.h. */
66534 #include <stdlib.h>
66536 main ()
66538 quick_exit(0);
66540 return 0;
66542 _ACEOF
66543 if ac_fn_cxx_try_compile "$LINENO"; then :
66544 glibcxx_cv_func_quick_exit_use=yes
66545 else
66546 glibcxx_cv_func_quick_exit_use=no
66548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66549 ac_ext=c
66550 ac_cpp='$CPP $CPPFLAGS'
66551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
66560 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
66561 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
66562 for ac_func in quick_exit
66563 do :
66564 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
66565 if test "x$ac_cv_func_quick_exit" = xyes; then :
66566 cat >>confdefs.h <<_ACEOF
66567 #define HAVE_QUICK_EXIT 1
66568 _ACEOF
66571 done
66576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
66577 $as_echo_n "checking for strtold declaration... " >&6; }
66578 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
66579 if ${glibcxx_cv_func_strtold_use+:} false; then :
66580 $as_echo_n "(cached) " >&6
66581 else
66584 ac_ext=cpp
66585 ac_cpp='$CXXCPP $CPPFLAGS'
66586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66591 /* end confdefs.h. */
66592 #include <stdlib.h>
66594 main ()
66596 strtold(0, 0);
66598 return 0;
66600 _ACEOF
66601 if ac_fn_cxx_try_compile "$LINENO"; then :
66602 glibcxx_cv_func_strtold_use=yes
66603 else
66604 glibcxx_cv_func_strtold_use=no
66606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66607 ac_ext=c
66608 ac_cpp='$CPP $CPPFLAGS'
66609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
66618 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
66619 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
66620 for ac_func in strtold
66621 do :
66622 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
66623 if test "x$ac_cv_func_strtold" = xyes; then :
66624 cat >>confdefs.h <<_ACEOF
66625 #define HAVE_STRTOLD 1
66626 _ACEOF
66629 done
66636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
66637 $as_echo_n "checking for strtof declaration... " >&6; }
66638 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
66639 if ${glibcxx_cv_func_strtof_use+:} false; then :
66640 $as_echo_n "(cached) " >&6
66641 else
66644 ac_ext=cpp
66645 ac_cpp='$CXXCPP $CPPFLAGS'
66646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66651 /* end confdefs.h. */
66652 #include <stdlib.h>
66654 main ()
66656 strtof(0, 0);
66658 return 0;
66660 _ACEOF
66661 if ac_fn_cxx_try_compile "$LINENO"; then :
66662 glibcxx_cv_func_strtof_use=yes
66663 else
66664 glibcxx_cv_func_strtof_use=no
66666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66667 ac_ext=c
66668 ac_cpp='$CPP $CPPFLAGS'
66669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
66678 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
66679 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
66680 for ac_func in strtof
66681 do :
66682 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
66683 if test "x$ac_cv_func_strtof" = xyes; then :
66684 cat >>confdefs.h <<_ACEOF
66685 #define HAVE_STRTOF 1
66686 _ACEOF
66689 done
66696 CXXFLAGS="$ac_save_CXXFLAGS"
66699 *-tpf)
66700 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66701 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
66703 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
66705 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
66707 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
66709 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
66711 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
66713 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
66715 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
66717 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
66719 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
66721 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
66723 if test x"long_double_math_on_this_cpu" = x"yes"; then
66724 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
66726 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
66728 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
66730 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
66734 *-*vms*)
66735 # Check for available headers.
66736 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
66738 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66739 ac_save_CXXFLAGS="$CXXFLAGS"
66740 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
66743 $as_echo_n "checking for sin in -lm... " >&6; }
66744 if ${ac_cv_lib_m_sin+:} false; then :
66745 $as_echo_n "(cached) " >&6
66746 else
66747 ac_check_lib_save_LIBS=$LIBS
66748 LIBS="-lm $LIBS"
66749 if test x$gcc_no_link = xyes; then
66750 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66753 /* end confdefs.h. */
66755 /* Override any GCC internal prototype to avoid an error.
66756 Use char because int might match the return type of a GCC
66757 builtin and then its argument prototype would still apply. */
66758 #ifdef __cplusplus
66759 extern "C"
66760 #endif
66761 char sin ();
66763 main ()
66765 return sin ();
66767 return 0;
66769 _ACEOF
66770 if ac_fn_c_try_link "$LINENO"; then :
66771 ac_cv_lib_m_sin=yes
66772 else
66773 ac_cv_lib_m_sin=no
66775 rm -f core conftest.err conftest.$ac_objext \
66776 conftest$ac_exeext conftest.$ac_ext
66777 LIBS=$ac_check_lib_save_LIBS
66779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
66780 $as_echo "$ac_cv_lib_m_sin" >&6; }
66781 if test "x$ac_cv_lib_m_sin" = xyes; then :
66782 libm="-lm"
66785 ac_save_LIBS="$LIBS"
66786 LIBS="$LIBS $libm"
66790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
66791 $as_echo_n "checking for isinf declaration... " >&6; }
66792 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
66793 if ${glibcxx_cv_func_isinf_use+:} false; then :
66794 $as_echo_n "(cached) " >&6
66795 else
66798 ac_ext=cpp
66799 ac_cpp='$CXXCPP $CPPFLAGS'
66800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66805 /* end confdefs.h. */
66806 #include <math.h>
66807 #ifdef HAVE_IEEEFP_H
66808 #include <ieeefp.h>
66809 #endif
66812 main ()
66814 isinf(0);
66816 return 0;
66818 _ACEOF
66819 if ac_fn_cxx_try_compile "$LINENO"; then :
66820 glibcxx_cv_func_isinf_use=yes
66821 else
66822 glibcxx_cv_func_isinf_use=no
66824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66825 ac_ext=c
66826 ac_cpp='$CPP $CPPFLAGS'
66827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
66836 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
66838 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
66839 for ac_func in isinf
66840 do :
66841 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
66842 if test "x$ac_cv_func_isinf" = xyes; then :
66843 cat >>confdefs.h <<_ACEOF
66844 #define HAVE_ISINF 1
66845 _ACEOF
66848 done
66850 else
66852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
66853 $as_echo_n "checking for _isinf declaration... " >&6; }
66854 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
66855 if ${glibcxx_cv_func__isinf_use+:} false; then :
66856 $as_echo_n "(cached) " >&6
66857 else
66860 ac_ext=cpp
66861 ac_cpp='$CXXCPP $CPPFLAGS'
66862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66867 /* end confdefs.h. */
66868 #include <math.h>
66869 #ifdef HAVE_IEEEFP_H
66870 #include <ieeefp.h>
66871 #endif
66874 main ()
66876 _isinf(0);
66878 return 0;
66880 _ACEOF
66881 if ac_fn_cxx_try_compile "$LINENO"; then :
66882 glibcxx_cv_func__isinf_use=yes
66883 else
66884 glibcxx_cv_func__isinf_use=no
66886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66887 ac_ext=c
66888 ac_cpp='$CPP $CPPFLAGS'
66889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
66898 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
66900 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
66901 for ac_func in _isinf
66902 do :
66903 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
66904 if test "x$ac_cv_func__isinf" = xyes; then :
66905 cat >>confdefs.h <<_ACEOF
66906 #define HAVE__ISINF 1
66907 _ACEOF
66910 done
66919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
66920 $as_echo_n "checking for isnan declaration... " >&6; }
66921 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
66922 if ${glibcxx_cv_func_isnan_use+:} false; then :
66923 $as_echo_n "(cached) " >&6
66924 else
66927 ac_ext=cpp
66928 ac_cpp='$CXXCPP $CPPFLAGS'
66929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66934 /* end confdefs.h. */
66935 #include <math.h>
66936 #ifdef HAVE_IEEEFP_H
66937 #include <ieeefp.h>
66938 #endif
66941 main ()
66943 isnan(0);
66945 return 0;
66947 _ACEOF
66948 if ac_fn_cxx_try_compile "$LINENO"; then :
66949 glibcxx_cv_func_isnan_use=yes
66950 else
66951 glibcxx_cv_func_isnan_use=no
66953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66954 ac_ext=c
66955 ac_cpp='$CPP $CPPFLAGS'
66956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
66965 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
66967 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
66968 for ac_func in isnan
66969 do :
66970 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
66971 if test "x$ac_cv_func_isnan" = xyes; then :
66972 cat >>confdefs.h <<_ACEOF
66973 #define HAVE_ISNAN 1
66974 _ACEOF
66977 done
66979 else
66981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
66982 $as_echo_n "checking for _isnan declaration... " >&6; }
66983 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
66984 if ${glibcxx_cv_func__isnan_use+:} false; then :
66985 $as_echo_n "(cached) " >&6
66986 else
66989 ac_ext=cpp
66990 ac_cpp='$CXXCPP $CPPFLAGS'
66991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66996 /* end confdefs.h. */
66997 #include <math.h>
66998 #ifdef HAVE_IEEEFP_H
66999 #include <ieeefp.h>
67000 #endif
67003 main ()
67005 _isnan(0);
67007 return 0;
67009 _ACEOF
67010 if ac_fn_cxx_try_compile "$LINENO"; then :
67011 glibcxx_cv_func__isnan_use=yes
67012 else
67013 glibcxx_cv_func__isnan_use=no
67015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67016 ac_ext=c
67017 ac_cpp='$CPP $CPPFLAGS'
67018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
67027 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
67029 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
67030 for ac_func in _isnan
67031 do :
67032 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
67033 if test "x$ac_cv_func__isnan" = xyes; then :
67034 cat >>confdefs.h <<_ACEOF
67035 #define HAVE__ISNAN 1
67036 _ACEOF
67039 done
67048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
67049 $as_echo_n "checking for finite declaration... " >&6; }
67050 if test x${glibcxx_cv_func_finite_use+set} != xset; then
67051 if ${glibcxx_cv_func_finite_use+:} false; then :
67052 $as_echo_n "(cached) " >&6
67053 else
67056 ac_ext=cpp
67057 ac_cpp='$CXXCPP $CPPFLAGS'
67058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67063 /* end confdefs.h. */
67064 #include <math.h>
67065 #ifdef HAVE_IEEEFP_H
67066 #include <ieeefp.h>
67067 #endif
67070 main ()
67072 finite(0);
67074 return 0;
67076 _ACEOF
67077 if ac_fn_cxx_try_compile "$LINENO"; then :
67078 glibcxx_cv_func_finite_use=yes
67079 else
67080 glibcxx_cv_func_finite_use=no
67082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67083 ac_ext=c
67084 ac_cpp='$CPP $CPPFLAGS'
67085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
67094 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
67096 if test x$glibcxx_cv_func_finite_use = x"yes"; then
67097 for ac_func in finite
67098 do :
67099 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
67100 if test "x$ac_cv_func_finite" = xyes; then :
67101 cat >>confdefs.h <<_ACEOF
67102 #define HAVE_FINITE 1
67103 _ACEOF
67106 done
67108 else
67110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
67111 $as_echo_n "checking for _finite declaration... " >&6; }
67112 if test x${glibcxx_cv_func__finite_use+set} != xset; then
67113 if ${glibcxx_cv_func__finite_use+:} false; then :
67114 $as_echo_n "(cached) " >&6
67115 else
67118 ac_ext=cpp
67119 ac_cpp='$CXXCPP $CPPFLAGS'
67120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67125 /* end confdefs.h. */
67126 #include <math.h>
67127 #ifdef HAVE_IEEEFP_H
67128 #include <ieeefp.h>
67129 #endif
67132 main ()
67134 _finite(0);
67136 return 0;
67138 _ACEOF
67139 if ac_fn_cxx_try_compile "$LINENO"; then :
67140 glibcxx_cv_func__finite_use=yes
67141 else
67142 glibcxx_cv_func__finite_use=no
67144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67145 ac_ext=c
67146 ac_cpp='$CPP $CPPFLAGS'
67147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
67156 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
67158 if test x$glibcxx_cv_func__finite_use = x"yes"; then
67159 for ac_func in _finite
67160 do :
67161 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
67162 if test "x$ac_cv_func__finite" = xyes; then :
67163 cat >>confdefs.h <<_ACEOF
67164 #define HAVE__FINITE 1
67165 _ACEOF
67168 done
67177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
67178 $as_echo_n "checking for sincos declaration... " >&6; }
67179 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
67180 if ${glibcxx_cv_func_sincos_use+:} false; then :
67181 $as_echo_n "(cached) " >&6
67182 else
67185 ac_ext=cpp
67186 ac_cpp='$CXXCPP $CPPFLAGS'
67187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67192 /* end confdefs.h. */
67193 #include <math.h>
67195 main ()
67197 sincos(0, 0, 0);
67199 return 0;
67201 _ACEOF
67202 if ac_fn_cxx_try_compile "$LINENO"; then :
67203 glibcxx_cv_func_sincos_use=yes
67204 else
67205 glibcxx_cv_func_sincos_use=no
67207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67208 ac_ext=c
67209 ac_cpp='$CPP $CPPFLAGS'
67210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
67219 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
67221 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
67222 for ac_func in sincos
67223 do :
67224 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
67225 if test "x$ac_cv_func_sincos" = xyes; then :
67226 cat >>confdefs.h <<_ACEOF
67227 #define HAVE_SINCOS 1
67228 _ACEOF
67231 done
67233 else
67235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
67236 $as_echo_n "checking for _sincos declaration... " >&6; }
67237 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67238 if ${glibcxx_cv_func__sincos_use+:} false; then :
67239 $as_echo_n "(cached) " >&6
67240 else
67243 ac_ext=cpp
67244 ac_cpp='$CXXCPP $CPPFLAGS'
67245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67250 /* end confdefs.h. */
67251 #include <math.h>
67253 main ()
67255 _sincos(0, 0, 0);
67257 return 0;
67259 _ACEOF
67260 if ac_fn_cxx_try_compile "$LINENO"; then :
67261 glibcxx_cv_func__sincos_use=yes
67262 else
67263 glibcxx_cv_func__sincos_use=no
67265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67266 ac_ext=c
67267 ac_cpp='$CPP $CPPFLAGS'
67268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
67277 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
67279 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67280 for ac_func in _sincos
67281 do :
67282 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
67283 if test "x$ac_cv_func__sincos" = xyes; then :
67284 cat >>confdefs.h <<_ACEOF
67285 #define HAVE__SINCOS 1
67286 _ACEOF
67289 done
67298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
67299 $as_echo_n "checking for fpclass declaration... " >&6; }
67300 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67301 if ${glibcxx_cv_func_fpclass_use+:} false; then :
67302 $as_echo_n "(cached) " >&6
67303 else
67306 ac_ext=cpp
67307 ac_cpp='$CXXCPP $CPPFLAGS'
67308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67313 /* end confdefs.h. */
67314 #include <math.h>
67315 #ifdef HAVE_IEEEFP_H
67316 #include <ieeefp.h>
67317 #endif
67320 main ()
67322 fpclass(0);
67324 return 0;
67326 _ACEOF
67327 if ac_fn_cxx_try_compile "$LINENO"; then :
67328 glibcxx_cv_func_fpclass_use=yes
67329 else
67330 glibcxx_cv_func_fpclass_use=no
67332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67333 ac_ext=c
67334 ac_cpp='$CPP $CPPFLAGS'
67335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67344 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67346 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67347 for ac_func in fpclass
67348 do :
67349 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67350 if test "x$ac_cv_func_fpclass" = xyes; then :
67351 cat >>confdefs.h <<_ACEOF
67352 #define HAVE_FPCLASS 1
67353 _ACEOF
67356 done
67358 else
67360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67361 $as_echo_n "checking for _fpclass declaration... " >&6; }
67362 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67363 if ${glibcxx_cv_func__fpclass_use+:} false; then :
67364 $as_echo_n "(cached) " >&6
67365 else
67368 ac_ext=cpp
67369 ac_cpp='$CXXCPP $CPPFLAGS'
67370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67375 /* end confdefs.h. */
67376 #include <math.h>
67377 #ifdef HAVE_IEEEFP_H
67378 #include <ieeefp.h>
67379 #endif
67382 main ()
67384 _fpclass(0);
67386 return 0;
67388 _ACEOF
67389 if ac_fn_cxx_try_compile "$LINENO"; then :
67390 glibcxx_cv_func__fpclass_use=yes
67391 else
67392 glibcxx_cv_func__fpclass_use=no
67394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67395 ac_ext=c
67396 ac_cpp='$CPP $CPPFLAGS'
67397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67406 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67408 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67409 for ac_func in _fpclass
67410 do :
67411 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67412 if test "x$ac_cv_func__fpclass" = xyes; then :
67413 cat >>confdefs.h <<_ACEOF
67414 #define HAVE__FPCLASS 1
67415 _ACEOF
67418 done
67427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67428 $as_echo_n "checking for qfpclass declaration... " >&6; }
67429 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67430 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
67431 $as_echo_n "(cached) " >&6
67432 else
67435 ac_ext=cpp
67436 ac_cpp='$CXXCPP $CPPFLAGS'
67437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67442 /* end confdefs.h. */
67443 #include <math.h>
67444 #ifdef HAVE_IEEEFP_H
67445 #include <ieeefp.h>
67446 #endif
67449 main ()
67451 qfpclass(0);
67453 return 0;
67455 _ACEOF
67456 if ac_fn_cxx_try_compile "$LINENO"; then :
67457 glibcxx_cv_func_qfpclass_use=yes
67458 else
67459 glibcxx_cv_func_qfpclass_use=no
67461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67462 ac_ext=c
67463 ac_cpp='$CPP $CPPFLAGS'
67464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67473 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67475 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67476 for ac_func in qfpclass
67477 do :
67478 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67479 if test "x$ac_cv_func_qfpclass" = xyes; then :
67480 cat >>confdefs.h <<_ACEOF
67481 #define HAVE_QFPCLASS 1
67482 _ACEOF
67485 done
67487 else
67489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67490 $as_echo_n "checking for _qfpclass declaration... " >&6; }
67491 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67492 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
67493 $as_echo_n "(cached) " >&6
67494 else
67497 ac_ext=cpp
67498 ac_cpp='$CXXCPP $CPPFLAGS'
67499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67504 /* end confdefs.h. */
67505 #include <math.h>
67506 #ifdef HAVE_IEEEFP_H
67507 #include <ieeefp.h>
67508 #endif
67511 main ()
67513 _qfpclass(0);
67515 return 0;
67517 _ACEOF
67518 if ac_fn_cxx_try_compile "$LINENO"; then :
67519 glibcxx_cv_func__qfpclass_use=yes
67520 else
67521 glibcxx_cv_func__qfpclass_use=no
67523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67524 ac_ext=c
67525 ac_cpp='$CPP $CPPFLAGS'
67526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67535 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67537 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67538 for ac_func in _qfpclass
67539 do :
67540 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67541 if test "x$ac_cv_func__qfpclass" = xyes; then :
67542 cat >>confdefs.h <<_ACEOF
67543 #define HAVE__QFPCLASS 1
67544 _ACEOF
67547 done
67556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67557 $as_echo_n "checking for hypot declaration... " >&6; }
67558 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67559 if ${glibcxx_cv_func_hypot_use+:} false; then :
67560 $as_echo_n "(cached) " >&6
67561 else
67564 ac_ext=cpp
67565 ac_cpp='$CXXCPP $CPPFLAGS'
67566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67571 /* end confdefs.h. */
67572 #include <math.h>
67574 main ()
67576 hypot(0, 0);
67578 return 0;
67580 _ACEOF
67581 if ac_fn_cxx_try_compile "$LINENO"; then :
67582 glibcxx_cv_func_hypot_use=yes
67583 else
67584 glibcxx_cv_func_hypot_use=no
67586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67587 ac_ext=c
67588 ac_cpp='$CPP $CPPFLAGS'
67589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67598 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67600 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67601 for ac_func in hypot
67602 do :
67603 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67604 if test "x$ac_cv_func_hypot" = xyes; then :
67605 cat >>confdefs.h <<_ACEOF
67606 #define HAVE_HYPOT 1
67607 _ACEOF
67610 done
67612 else
67614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67615 $as_echo_n "checking for _hypot declaration... " >&6; }
67616 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67617 if ${glibcxx_cv_func__hypot_use+:} false; then :
67618 $as_echo_n "(cached) " >&6
67619 else
67622 ac_ext=cpp
67623 ac_cpp='$CXXCPP $CPPFLAGS'
67624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67629 /* end confdefs.h. */
67630 #include <math.h>
67632 main ()
67634 _hypot(0, 0);
67636 return 0;
67638 _ACEOF
67639 if ac_fn_cxx_try_compile "$LINENO"; then :
67640 glibcxx_cv_func__hypot_use=yes
67641 else
67642 glibcxx_cv_func__hypot_use=no
67644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67645 ac_ext=c
67646 ac_cpp='$CPP $CPPFLAGS'
67647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67656 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67658 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67659 for ac_func in _hypot
67660 do :
67661 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67662 if test "x$ac_cv_func__hypot" = xyes; then :
67663 cat >>confdefs.h <<_ACEOF
67664 #define HAVE__HYPOT 1
67665 _ACEOF
67668 done
67677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67678 $as_echo_n "checking for float trig functions... " >&6; }
67679 if ${glibcxx_cv_func_float_trig_use+:} false; then :
67680 $as_echo_n "(cached) " >&6
67681 else
67684 ac_ext=cpp
67685 ac_cpp='$CXXCPP $CPPFLAGS'
67686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67691 /* end confdefs.h. */
67692 #include <math.h>
67694 main ()
67696 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67698 return 0;
67700 _ACEOF
67701 if ac_fn_cxx_try_compile "$LINENO"; then :
67702 glibcxx_cv_func_float_trig_use=yes
67703 else
67704 glibcxx_cv_func_float_trig_use=no
67706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67707 ac_ext=c
67708 ac_cpp='$CPP $CPPFLAGS'
67709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67716 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67717 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67718 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67719 do :
67720 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67721 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67722 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67723 cat >>confdefs.h <<_ACEOF
67724 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67725 _ACEOF
67728 done
67730 else
67731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67732 $as_echo_n "checking for _float trig functions... " >&6; }
67733 if ${glibcxx_cv_func__float_trig_use+:} false; then :
67734 $as_echo_n "(cached) " >&6
67735 else
67738 ac_ext=cpp
67739 ac_cpp='$CXXCPP $CPPFLAGS'
67740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67745 /* end confdefs.h. */
67746 #include <math.h>
67748 main ()
67750 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67752 return 0;
67754 _ACEOF
67755 if ac_fn_cxx_try_compile "$LINENO"; then :
67756 glibcxx_cv_func__float_trig_use=yes
67757 else
67758 glibcxx_cv_func__float_trig_use=no
67760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67761 ac_ext=c
67762 ac_cpp='$CPP $CPPFLAGS'
67763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
67770 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
67771 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67772 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67773 do :
67774 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67775 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67776 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67777 cat >>confdefs.h <<_ACEOF
67778 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67779 _ACEOF
67782 done
67791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
67792 $as_echo_n "checking for float round functions... " >&6; }
67793 if ${glibcxx_cv_func_float_round_use+:} false; then :
67794 $as_echo_n "(cached) " >&6
67795 else
67798 ac_ext=cpp
67799 ac_cpp='$CXXCPP $CPPFLAGS'
67800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67805 /* end confdefs.h. */
67806 #include <math.h>
67808 main ()
67810 ceilf (0); floorf (0);
67812 return 0;
67814 _ACEOF
67815 if ac_fn_cxx_try_compile "$LINENO"; then :
67816 glibcxx_cv_func_float_round_use=yes
67817 else
67818 glibcxx_cv_func_float_round_use=no
67820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67821 ac_ext=c
67822 ac_cpp='$CPP $CPPFLAGS'
67823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
67830 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
67831 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67832 for ac_func in ceilf floorf
67833 do :
67834 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67835 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67836 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67837 cat >>confdefs.h <<_ACEOF
67838 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67839 _ACEOF
67842 done
67844 else
67845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
67846 $as_echo_n "checking for _float round functions... " >&6; }
67847 if ${glibcxx_cv_func__float_round_use+:} false; then :
67848 $as_echo_n "(cached) " >&6
67849 else
67852 ac_ext=cpp
67853 ac_cpp='$CXXCPP $CPPFLAGS'
67854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67859 /* end confdefs.h. */
67860 #include <math.h>
67862 main ()
67864 _ceilf (0); _floorf (0);
67866 return 0;
67868 _ACEOF
67869 if ac_fn_cxx_try_compile "$LINENO"; then :
67870 glibcxx_cv_func__float_round_use=yes
67871 else
67872 glibcxx_cv_func__float_round_use=no
67874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67875 ac_ext=c
67876 ac_cpp='$CPP $CPPFLAGS'
67877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
67884 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
67885 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67886 for ac_func in _ceilf _floorf
67887 do :
67888 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67889 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67890 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67891 cat >>confdefs.h <<_ACEOF
67892 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67893 _ACEOF
67896 done
67906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
67907 $as_echo_n "checking for expf declaration... " >&6; }
67908 if test x${glibcxx_cv_func_expf_use+set} != xset; then
67909 if ${glibcxx_cv_func_expf_use+:} false; then :
67910 $as_echo_n "(cached) " >&6
67911 else
67914 ac_ext=cpp
67915 ac_cpp='$CXXCPP $CPPFLAGS'
67916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67921 /* end confdefs.h. */
67922 #include <math.h>
67923 #ifdef HAVE_IEEEFP_H
67924 #include <ieeefp.h>
67925 #endif
67928 main ()
67930 expf(0);
67932 return 0;
67934 _ACEOF
67935 if ac_fn_cxx_try_compile "$LINENO"; then :
67936 glibcxx_cv_func_expf_use=yes
67937 else
67938 glibcxx_cv_func_expf_use=no
67940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67941 ac_ext=c
67942 ac_cpp='$CPP $CPPFLAGS'
67943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
67952 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
67954 if test x$glibcxx_cv_func_expf_use = x"yes"; then
67955 for ac_func in expf
67956 do :
67957 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
67958 if test "x$ac_cv_func_expf" = xyes; then :
67959 cat >>confdefs.h <<_ACEOF
67960 #define HAVE_EXPF 1
67961 _ACEOF
67964 done
67966 else
67968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
67969 $as_echo_n "checking for _expf declaration... " >&6; }
67970 if test x${glibcxx_cv_func__expf_use+set} != xset; then
67971 if ${glibcxx_cv_func__expf_use+:} false; then :
67972 $as_echo_n "(cached) " >&6
67973 else
67976 ac_ext=cpp
67977 ac_cpp='$CXXCPP $CPPFLAGS'
67978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67983 /* end confdefs.h. */
67984 #include <math.h>
67985 #ifdef HAVE_IEEEFP_H
67986 #include <ieeefp.h>
67987 #endif
67990 main ()
67992 _expf(0);
67994 return 0;
67996 _ACEOF
67997 if ac_fn_cxx_try_compile "$LINENO"; then :
67998 glibcxx_cv_func__expf_use=yes
67999 else
68000 glibcxx_cv_func__expf_use=no
68002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68003 ac_ext=c
68004 ac_cpp='$CPP $CPPFLAGS'
68005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
68014 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
68016 if test x$glibcxx_cv_func__expf_use = x"yes"; then
68017 for ac_func in _expf
68018 do :
68019 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
68020 if test "x$ac_cv_func__expf" = xyes; then :
68021 cat >>confdefs.h <<_ACEOF
68022 #define HAVE__EXPF 1
68023 _ACEOF
68026 done
68035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
68036 $as_echo_n "checking for isnanf declaration... " >&6; }
68037 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
68038 if ${glibcxx_cv_func_isnanf_use+:} false; then :
68039 $as_echo_n "(cached) " >&6
68040 else
68043 ac_ext=cpp
68044 ac_cpp='$CXXCPP $CPPFLAGS'
68045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68050 /* end confdefs.h. */
68051 #include <math.h>
68052 #ifdef HAVE_IEEEFP_H
68053 #include <ieeefp.h>
68054 #endif
68057 main ()
68059 isnanf(0);
68061 return 0;
68063 _ACEOF
68064 if ac_fn_cxx_try_compile "$LINENO"; then :
68065 glibcxx_cv_func_isnanf_use=yes
68066 else
68067 glibcxx_cv_func_isnanf_use=no
68069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68070 ac_ext=c
68071 ac_cpp='$CPP $CPPFLAGS'
68072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
68081 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
68083 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68084 for ac_func in isnanf
68085 do :
68086 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
68087 if test "x$ac_cv_func_isnanf" = xyes; then :
68088 cat >>confdefs.h <<_ACEOF
68089 #define HAVE_ISNANF 1
68090 _ACEOF
68093 done
68095 else
68097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
68098 $as_echo_n "checking for _isnanf declaration... " >&6; }
68099 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68100 if ${glibcxx_cv_func__isnanf_use+:} false; then :
68101 $as_echo_n "(cached) " >&6
68102 else
68105 ac_ext=cpp
68106 ac_cpp='$CXXCPP $CPPFLAGS'
68107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68112 /* end confdefs.h. */
68113 #include <math.h>
68114 #ifdef HAVE_IEEEFP_H
68115 #include <ieeefp.h>
68116 #endif
68119 main ()
68121 _isnanf(0);
68123 return 0;
68125 _ACEOF
68126 if ac_fn_cxx_try_compile "$LINENO"; then :
68127 glibcxx_cv_func__isnanf_use=yes
68128 else
68129 glibcxx_cv_func__isnanf_use=no
68131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68132 ac_ext=c
68133 ac_cpp='$CPP $CPPFLAGS'
68134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
68143 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
68145 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68146 for ac_func in _isnanf
68147 do :
68148 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
68149 if test "x$ac_cv_func__isnanf" = xyes; then :
68150 cat >>confdefs.h <<_ACEOF
68151 #define HAVE__ISNANF 1
68152 _ACEOF
68155 done
68164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
68165 $as_echo_n "checking for isinff declaration... " >&6; }
68166 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68167 if ${glibcxx_cv_func_isinff_use+:} false; then :
68168 $as_echo_n "(cached) " >&6
68169 else
68172 ac_ext=cpp
68173 ac_cpp='$CXXCPP $CPPFLAGS'
68174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68179 /* end confdefs.h. */
68180 #include <math.h>
68181 #ifdef HAVE_IEEEFP_H
68182 #include <ieeefp.h>
68183 #endif
68186 main ()
68188 isinff(0);
68190 return 0;
68192 _ACEOF
68193 if ac_fn_cxx_try_compile "$LINENO"; then :
68194 glibcxx_cv_func_isinff_use=yes
68195 else
68196 glibcxx_cv_func_isinff_use=no
68198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68199 ac_ext=c
68200 ac_cpp='$CPP $CPPFLAGS'
68201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
68210 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
68212 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68213 for ac_func in isinff
68214 do :
68215 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
68216 if test "x$ac_cv_func_isinff" = xyes; then :
68217 cat >>confdefs.h <<_ACEOF
68218 #define HAVE_ISINFF 1
68219 _ACEOF
68222 done
68224 else
68226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
68227 $as_echo_n "checking for _isinff declaration... " >&6; }
68228 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68229 if ${glibcxx_cv_func__isinff_use+:} false; then :
68230 $as_echo_n "(cached) " >&6
68231 else
68234 ac_ext=cpp
68235 ac_cpp='$CXXCPP $CPPFLAGS'
68236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68241 /* end confdefs.h. */
68242 #include <math.h>
68243 #ifdef HAVE_IEEEFP_H
68244 #include <ieeefp.h>
68245 #endif
68248 main ()
68250 _isinff(0);
68252 return 0;
68254 _ACEOF
68255 if ac_fn_cxx_try_compile "$LINENO"; then :
68256 glibcxx_cv_func__isinff_use=yes
68257 else
68258 glibcxx_cv_func__isinff_use=no
68260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68261 ac_ext=c
68262 ac_cpp='$CPP $CPPFLAGS'
68263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
68272 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
68274 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68275 for ac_func in _isinff
68276 do :
68277 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
68278 if test "x$ac_cv_func__isinff" = xyes; then :
68279 cat >>confdefs.h <<_ACEOF
68280 #define HAVE__ISINFF 1
68281 _ACEOF
68284 done
68293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
68294 $as_echo_n "checking for atan2f declaration... " >&6; }
68295 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68296 if ${glibcxx_cv_func_atan2f_use+:} false; then :
68297 $as_echo_n "(cached) " >&6
68298 else
68301 ac_ext=cpp
68302 ac_cpp='$CXXCPP $CPPFLAGS'
68303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68308 /* end confdefs.h. */
68309 #include <math.h>
68311 main ()
68313 atan2f(0, 0);
68315 return 0;
68317 _ACEOF
68318 if ac_fn_cxx_try_compile "$LINENO"; then :
68319 glibcxx_cv_func_atan2f_use=yes
68320 else
68321 glibcxx_cv_func_atan2f_use=no
68323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68324 ac_ext=c
68325 ac_cpp='$CPP $CPPFLAGS'
68326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68335 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68337 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68338 for ac_func in atan2f
68339 do :
68340 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68341 if test "x$ac_cv_func_atan2f" = xyes; then :
68342 cat >>confdefs.h <<_ACEOF
68343 #define HAVE_ATAN2F 1
68344 _ACEOF
68347 done
68349 else
68351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68352 $as_echo_n "checking for _atan2f declaration... " >&6; }
68353 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68354 if ${glibcxx_cv_func__atan2f_use+:} false; then :
68355 $as_echo_n "(cached) " >&6
68356 else
68359 ac_ext=cpp
68360 ac_cpp='$CXXCPP $CPPFLAGS'
68361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68366 /* end confdefs.h. */
68367 #include <math.h>
68369 main ()
68371 _atan2f(0, 0);
68373 return 0;
68375 _ACEOF
68376 if ac_fn_cxx_try_compile "$LINENO"; then :
68377 glibcxx_cv_func__atan2f_use=yes
68378 else
68379 glibcxx_cv_func__atan2f_use=no
68381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68382 ac_ext=c
68383 ac_cpp='$CPP $CPPFLAGS'
68384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68393 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68395 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68396 for ac_func in _atan2f
68397 do :
68398 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68399 if test "x$ac_cv_func__atan2f" = xyes; then :
68400 cat >>confdefs.h <<_ACEOF
68401 #define HAVE__ATAN2F 1
68402 _ACEOF
68405 done
68414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68415 $as_echo_n "checking for fabsf declaration... " >&6; }
68416 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68417 if ${glibcxx_cv_func_fabsf_use+:} false; then :
68418 $as_echo_n "(cached) " >&6
68419 else
68422 ac_ext=cpp
68423 ac_cpp='$CXXCPP $CPPFLAGS'
68424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68429 /* end confdefs.h. */
68430 #include <math.h>
68431 #ifdef HAVE_IEEEFP_H
68432 #include <ieeefp.h>
68433 #endif
68436 main ()
68438 fabsf(0);
68440 return 0;
68442 _ACEOF
68443 if ac_fn_cxx_try_compile "$LINENO"; then :
68444 glibcxx_cv_func_fabsf_use=yes
68445 else
68446 glibcxx_cv_func_fabsf_use=no
68448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68449 ac_ext=c
68450 ac_cpp='$CPP $CPPFLAGS'
68451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68460 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68462 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68463 for ac_func in fabsf
68464 do :
68465 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68466 if test "x$ac_cv_func_fabsf" = xyes; then :
68467 cat >>confdefs.h <<_ACEOF
68468 #define HAVE_FABSF 1
68469 _ACEOF
68472 done
68474 else
68476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68477 $as_echo_n "checking for _fabsf declaration... " >&6; }
68478 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68479 if ${glibcxx_cv_func__fabsf_use+:} false; then :
68480 $as_echo_n "(cached) " >&6
68481 else
68484 ac_ext=cpp
68485 ac_cpp='$CXXCPP $CPPFLAGS'
68486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68491 /* end confdefs.h. */
68492 #include <math.h>
68493 #ifdef HAVE_IEEEFP_H
68494 #include <ieeefp.h>
68495 #endif
68498 main ()
68500 _fabsf(0);
68502 return 0;
68504 _ACEOF
68505 if ac_fn_cxx_try_compile "$LINENO"; then :
68506 glibcxx_cv_func__fabsf_use=yes
68507 else
68508 glibcxx_cv_func__fabsf_use=no
68510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68511 ac_ext=c
68512 ac_cpp='$CPP $CPPFLAGS'
68513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68522 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68524 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68525 for ac_func in _fabsf
68526 do :
68527 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68528 if test "x$ac_cv_func__fabsf" = xyes; then :
68529 cat >>confdefs.h <<_ACEOF
68530 #define HAVE__FABSF 1
68531 _ACEOF
68534 done
68543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68544 $as_echo_n "checking for fmodf declaration... " >&6; }
68545 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68546 if ${glibcxx_cv_func_fmodf_use+:} false; then :
68547 $as_echo_n "(cached) " >&6
68548 else
68551 ac_ext=cpp
68552 ac_cpp='$CXXCPP $CPPFLAGS'
68553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68558 /* end confdefs.h. */
68559 #include <math.h>
68561 main ()
68563 fmodf(0, 0);
68565 return 0;
68567 _ACEOF
68568 if ac_fn_cxx_try_compile "$LINENO"; then :
68569 glibcxx_cv_func_fmodf_use=yes
68570 else
68571 glibcxx_cv_func_fmodf_use=no
68573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68574 ac_ext=c
68575 ac_cpp='$CPP $CPPFLAGS'
68576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68585 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68587 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68588 for ac_func in fmodf
68589 do :
68590 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68591 if test "x$ac_cv_func_fmodf" = xyes; then :
68592 cat >>confdefs.h <<_ACEOF
68593 #define HAVE_FMODF 1
68594 _ACEOF
68597 done
68599 else
68601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68602 $as_echo_n "checking for _fmodf declaration... " >&6; }
68603 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68604 if ${glibcxx_cv_func__fmodf_use+:} false; then :
68605 $as_echo_n "(cached) " >&6
68606 else
68609 ac_ext=cpp
68610 ac_cpp='$CXXCPP $CPPFLAGS'
68611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68616 /* end confdefs.h. */
68617 #include <math.h>
68619 main ()
68621 _fmodf(0, 0);
68623 return 0;
68625 _ACEOF
68626 if ac_fn_cxx_try_compile "$LINENO"; then :
68627 glibcxx_cv_func__fmodf_use=yes
68628 else
68629 glibcxx_cv_func__fmodf_use=no
68631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68632 ac_ext=c
68633 ac_cpp='$CPP $CPPFLAGS'
68634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68643 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68645 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68646 for ac_func in _fmodf
68647 do :
68648 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68649 if test "x$ac_cv_func__fmodf" = xyes; then :
68650 cat >>confdefs.h <<_ACEOF
68651 #define HAVE__FMODF 1
68652 _ACEOF
68655 done
68664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68665 $as_echo_n "checking for frexpf declaration... " >&6; }
68666 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68667 if ${glibcxx_cv_func_frexpf_use+:} false; then :
68668 $as_echo_n "(cached) " >&6
68669 else
68672 ac_ext=cpp
68673 ac_cpp='$CXXCPP $CPPFLAGS'
68674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68679 /* end confdefs.h. */
68680 #include <math.h>
68682 main ()
68684 frexpf(0, 0);
68686 return 0;
68688 _ACEOF
68689 if ac_fn_cxx_try_compile "$LINENO"; then :
68690 glibcxx_cv_func_frexpf_use=yes
68691 else
68692 glibcxx_cv_func_frexpf_use=no
68694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68695 ac_ext=c
68696 ac_cpp='$CPP $CPPFLAGS'
68697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68706 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68708 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68709 for ac_func in frexpf
68710 do :
68711 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68712 if test "x$ac_cv_func_frexpf" = xyes; then :
68713 cat >>confdefs.h <<_ACEOF
68714 #define HAVE_FREXPF 1
68715 _ACEOF
68718 done
68720 else
68722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68723 $as_echo_n "checking for _frexpf declaration... " >&6; }
68724 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68725 if ${glibcxx_cv_func__frexpf_use+:} false; then :
68726 $as_echo_n "(cached) " >&6
68727 else
68730 ac_ext=cpp
68731 ac_cpp='$CXXCPP $CPPFLAGS'
68732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68737 /* end confdefs.h. */
68738 #include <math.h>
68740 main ()
68742 _frexpf(0, 0);
68744 return 0;
68746 _ACEOF
68747 if ac_fn_cxx_try_compile "$LINENO"; then :
68748 glibcxx_cv_func__frexpf_use=yes
68749 else
68750 glibcxx_cv_func__frexpf_use=no
68752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68753 ac_ext=c
68754 ac_cpp='$CPP $CPPFLAGS'
68755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
68764 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
68766 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
68767 for ac_func in _frexpf
68768 do :
68769 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
68770 if test "x$ac_cv_func__frexpf" = xyes; then :
68771 cat >>confdefs.h <<_ACEOF
68772 #define HAVE__FREXPF 1
68773 _ACEOF
68776 done
68785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68786 $as_echo_n "checking for hypotf declaration... " >&6; }
68787 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68788 if ${glibcxx_cv_func_hypotf_use+:} false; then :
68789 $as_echo_n "(cached) " >&6
68790 else
68793 ac_ext=cpp
68794 ac_cpp='$CXXCPP $CPPFLAGS'
68795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68800 /* end confdefs.h. */
68801 #include <math.h>
68803 main ()
68805 hypotf(0, 0);
68807 return 0;
68809 _ACEOF
68810 if ac_fn_cxx_try_compile "$LINENO"; then :
68811 glibcxx_cv_func_hypotf_use=yes
68812 else
68813 glibcxx_cv_func_hypotf_use=no
68815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68816 ac_ext=c
68817 ac_cpp='$CPP $CPPFLAGS'
68818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
68827 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
68829 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
68830 for ac_func in hypotf
68831 do :
68832 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
68833 if test "x$ac_cv_func_hypotf" = xyes; then :
68834 cat >>confdefs.h <<_ACEOF
68835 #define HAVE_HYPOTF 1
68836 _ACEOF
68839 done
68841 else
68843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
68844 $as_echo_n "checking for _hypotf declaration... " >&6; }
68845 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
68846 if ${glibcxx_cv_func__hypotf_use+:} false; then :
68847 $as_echo_n "(cached) " >&6
68848 else
68851 ac_ext=cpp
68852 ac_cpp='$CXXCPP $CPPFLAGS'
68853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68858 /* end confdefs.h. */
68859 #include <math.h>
68861 main ()
68863 _hypotf(0, 0);
68865 return 0;
68867 _ACEOF
68868 if ac_fn_cxx_try_compile "$LINENO"; then :
68869 glibcxx_cv_func__hypotf_use=yes
68870 else
68871 glibcxx_cv_func__hypotf_use=no
68873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68874 ac_ext=c
68875 ac_cpp='$CPP $CPPFLAGS'
68876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
68885 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
68887 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
68888 for ac_func in _hypotf
68889 do :
68890 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
68891 if test "x$ac_cv_func__hypotf" = xyes; then :
68892 cat >>confdefs.h <<_ACEOF
68893 #define HAVE__HYPOTF 1
68894 _ACEOF
68897 done
68906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
68907 $as_echo_n "checking for ldexpf declaration... " >&6; }
68908 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
68909 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
68910 $as_echo_n "(cached) " >&6
68911 else
68914 ac_ext=cpp
68915 ac_cpp='$CXXCPP $CPPFLAGS'
68916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68921 /* end confdefs.h. */
68922 #include <math.h>
68924 main ()
68926 ldexpf(0, 0);
68928 return 0;
68930 _ACEOF
68931 if ac_fn_cxx_try_compile "$LINENO"; then :
68932 glibcxx_cv_func_ldexpf_use=yes
68933 else
68934 glibcxx_cv_func_ldexpf_use=no
68936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68937 ac_ext=c
68938 ac_cpp='$CPP $CPPFLAGS'
68939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
68948 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
68950 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
68951 for ac_func in ldexpf
68952 do :
68953 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
68954 if test "x$ac_cv_func_ldexpf" = xyes; then :
68955 cat >>confdefs.h <<_ACEOF
68956 #define HAVE_LDEXPF 1
68957 _ACEOF
68960 done
68962 else
68964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
68965 $as_echo_n "checking for _ldexpf declaration... " >&6; }
68966 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
68967 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
68968 $as_echo_n "(cached) " >&6
68969 else
68972 ac_ext=cpp
68973 ac_cpp='$CXXCPP $CPPFLAGS'
68974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68979 /* end confdefs.h. */
68980 #include <math.h>
68982 main ()
68984 _ldexpf(0, 0);
68986 return 0;
68988 _ACEOF
68989 if ac_fn_cxx_try_compile "$LINENO"; then :
68990 glibcxx_cv_func__ldexpf_use=yes
68991 else
68992 glibcxx_cv_func__ldexpf_use=no
68994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68995 ac_ext=c
68996 ac_cpp='$CPP $CPPFLAGS'
68997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
69006 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
69008 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
69009 for ac_func in _ldexpf
69010 do :
69011 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
69012 if test "x$ac_cv_func__ldexpf" = xyes; then :
69013 cat >>confdefs.h <<_ACEOF
69014 #define HAVE__LDEXPF 1
69015 _ACEOF
69018 done
69027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
69028 $as_echo_n "checking for logf declaration... " >&6; }
69029 if test x${glibcxx_cv_func_logf_use+set} != xset; then
69030 if ${glibcxx_cv_func_logf_use+:} false; then :
69031 $as_echo_n "(cached) " >&6
69032 else
69035 ac_ext=cpp
69036 ac_cpp='$CXXCPP $CPPFLAGS'
69037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69042 /* end confdefs.h. */
69043 #include <math.h>
69044 #ifdef HAVE_IEEEFP_H
69045 #include <ieeefp.h>
69046 #endif
69049 main ()
69051 logf(0);
69053 return 0;
69055 _ACEOF
69056 if ac_fn_cxx_try_compile "$LINENO"; then :
69057 glibcxx_cv_func_logf_use=yes
69058 else
69059 glibcxx_cv_func_logf_use=no
69061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69062 ac_ext=c
69063 ac_cpp='$CPP $CPPFLAGS'
69064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
69073 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
69075 if test x$glibcxx_cv_func_logf_use = x"yes"; then
69076 for ac_func in logf
69077 do :
69078 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
69079 if test "x$ac_cv_func_logf" = xyes; then :
69080 cat >>confdefs.h <<_ACEOF
69081 #define HAVE_LOGF 1
69082 _ACEOF
69085 done
69087 else
69089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
69090 $as_echo_n "checking for _logf declaration... " >&6; }
69091 if test x${glibcxx_cv_func__logf_use+set} != xset; then
69092 if ${glibcxx_cv_func__logf_use+:} false; then :
69093 $as_echo_n "(cached) " >&6
69094 else
69097 ac_ext=cpp
69098 ac_cpp='$CXXCPP $CPPFLAGS'
69099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69104 /* end confdefs.h. */
69105 #include <math.h>
69106 #ifdef HAVE_IEEEFP_H
69107 #include <ieeefp.h>
69108 #endif
69111 main ()
69113 _logf(0);
69115 return 0;
69117 _ACEOF
69118 if ac_fn_cxx_try_compile "$LINENO"; then :
69119 glibcxx_cv_func__logf_use=yes
69120 else
69121 glibcxx_cv_func__logf_use=no
69123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69124 ac_ext=c
69125 ac_cpp='$CPP $CPPFLAGS'
69126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
69135 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
69137 if test x$glibcxx_cv_func__logf_use = x"yes"; then
69138 for ac_func in _logf
69139 do :
69140 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
69141 if test "x$ac_cv_func__logf" = xyes; then :
69142 cat >>confdefs.h <<_ACEOF
69143 #define HAVE__LOGF 1
69144 _ACEOF
69147 done
69156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
69157 $as_echo_n "checking for log10f declaration... " >&6; }
69158 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
69159 if ${glibcxx_cv_func_log10f_use+:} false; then :
69160 $as_echo_n "(cached) " >&6
69161 else
69164 ac_ext=cpp
69165 ac_cpp='$CXXCPP $CPPFLAGS'
69166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69171 /* end confdefs.h. */
69172 #include <math.h>
69173 #ifdef HAVE_IEEEFP_H
69174 #include <ieeefp.h>
69175 #endif
69178 main ()
69180 log10f(0);
69182 return 0;
69184 _ACEOF
69185 if ac_fn_cxx_try_compile "$LINENO"; then :
69186 glibcxx_cv_func_log10f_use=yes
69187 else
69188 glibcxx_cv_func_log10f_use=no
69190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69191 ac_ext=c
69192 ac_cpp='$CPP $CPPFLAGS'
69193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
69202 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
69204 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69205 for ac_func in log10f
69206 do :
69207 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
69208 if test "x$ac_cv_func_log10f" = xyes; then :
69209 cat >>confdefs.h <<_ACEOF
69210 #define HAVE_LOG10F 1
69211 _ACEOF
69214 done
69216 else
69218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
69219 $as_echo_n "checking for _log10f declaration... " >&6; }
69220 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69221 if ${glibcxx_cv_func__log10f_use+:} false; then :
69222 $as_echo_n "(cached) " >&6
69223 else
69226 ac_ext=cpp
69227 ac_cpp='$CXXCPP $CPPFLAGS'
69228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69233 /* end confdefs.h. */
69234 #include <math.h>
69235 #ifdef HAVE_IEEEFP_H
69236 #include <ieeefp.h>
69237 #endif
69240 main ()
69242 _log10f(0);
69244 return 0;
69246 _ACEOF
69247 if ac_fn_cxx_try_compile "$LINENO"; then :
69248 glibcxx_cv_func__log10f_use=yes
69249 else
69250 glibcxx_cv_func__log10f_use=no
69252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69253 ac_ext=c
69254 ac_cpp='$CPP $CPPFLAGS'
69255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
69264 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
69266 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69267 for ac_func in _log10f
69268 do :
69269 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
69270 if test "x$ac_cv_func__log10f" = xyes; then :
69271 cat >>confdefs.h <<_ACEOF
69272 #define HAVE__LOG10F 1
69273 _ACEOF
69276 done
69285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69286 $as_echo_n "checking for modff declaration... " >&6; }
69287 if test x${glibcxx_cv_func_modff_use+set} != xset; then
69288 if ${glibcxx_cv_func_modff_use+:} false; then :
69289 $as_echo_n "(cached) " >&6
69290 else
69293 ac_ext=cpp
69294 ac_cpp='$CXXCPP $CPPFLAGS'
69295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69300 /* end confdefs.h. */
69301 #include <math.h>
69303 main ()
69305 modff(0, 0);
69307 return 0;
69309 _ACEOF
69310 if ac_fn_cxx_try_compile "$LINENO"; then :
69311 glibcxx_cv_func_modff_use=yes
69312 else
69313 glibcxx_cv_func_modff_use=no
69315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69316 ac_ext=c
69317 ac_cpp='$CPP $CPPFLAGS'
69318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69327 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
69329 if test x$glibcxx_cv_func_modff_use = x"yes"; then
69330 for ac_func in modff
69331 do :
69332 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69333 if test "x$ac_cv_func_modff" = xyes; then :
69334 cat >>confdefs.h <<_ACEOF
69335 #define HAVE_MODFF 1
69336 _ACEOF
69339 done
69341 else
69343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69344 $as_echo_n "checking for _modff declaration... " >&6; }
69345 if test x${glibcxx_cv_func__modff_use+set} != xset; then
69346 if ${glibcxx_cv_func__modff_use+:} false; then :
69347 $as_echo_n "(cached) " >&6
69348 else
69351 ac_ext=cpp
69352 ac_cpp='$CXXCPP $CPPFLAGS'
69353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69358 /* end confdefs.h. */
69359 #include <math.h>
69361 main ()
69363 _modff(0, 0);
69365 return 0;
69367 _ACEOF
69368 if ac_fn_cxx_try_compile "$LINENO"; then :
69369 glibcxx_cv_func__modff_use=yes
69370 else
69371 glibcxx_cv_func__modff_use=no
69373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69374 ac_ext=c
69375 ac_cpp='$CPP $CPPFLAGS'
69376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69385 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
69387 if test x$glibcxx_cv_func__modff_use = x"yes"; then
69388 for ac_func in _modff
69389 do :
69390 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69391 if test "x$ac_cv_func__modff" = xyes; then :
69392 cat >>confdefs.h <<_ACEOF
69393 #define HAVE__MODFF 1
69394 _ACEOF
69397 done
69406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69407 $as_echo_n "checking for modf declaration... " >&6; }
69408 if test x${glibcxx_cv_func_modf_use+set} != xset; then
69409 if ${glibcxx_cv_func_modf_use+:} false; then :
69410 $as_echo_n "(cached) " >&6
69411 else
69414 ac_ext=cpp
69415 ac_cpp='$CXXCPP $CPPFLAGS'
69416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69421 /* end confdefs.h. */
69422 #include <math.h>
69424 main ()
69426 modf(0, 0);
69428 return 0;
69430 _ACEOF
69431 if ac_fn_cxx_try_compile "$LINENO"; then :
69432 glibcxx_cv_func_modf_use=yes
69433 else
69434 glibcxx_cv_func_modf_use=no
69436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69437 ac_ext=c
69438 ac_cpp='$CPP $CPPFLAGS'
69439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69448 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
69450 if test x$glibcxx_cv_func_modf_use = x"yes"; then
69451 for ac_func in modf
69452 do :
69453 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69454 if test "x$ac_cv_func_modf" = xyes; then :
69455 cat >>confdefs.h <<_ACEOF
69456 #define HAVE_MODF 1
69457 _ACEOF
69460 done
69462 else
69464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69465 $as_echo_n "checking for _modf declaration... " >&6; }
69466 if test x${glibcxx_cv_func__modf_use+set} != xset; then
69467 if ${glibcxx_cv_func__modf_use+:} false; then :
69468 $as_echo_n "(cached) " >&6
69469 else
69472 ac_ext=cpp
69473 ac_cpp='$CXXCPP $CPPFLAGS'
69474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69479 /* end confdefs.h. */
69480 #include <math.h>
69482 main ()
69484 _modf(0, 0);
69486 return 0;
69488 _ACEOF
69489 if ac_fn_cxx_try_compile "$LINENO"; then :
69490 glibcxx_cv_func__modf_use=yes
69491 else
69492 glibcxx_cv_func__modf_use=no
69494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69495 ac_ext=c
69496 ac_cpp='$CPP $CPPFLAGS'
69497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69506 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69508 if test x$glibcxx_cv_func__modf_use = x"yes"; then
69509 for ac_func in _modf
69510 do :
69511 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69512 if test "x$ac_cv_func__modf" = xyes; then :
69513 cat >>confdefs.h <<_ACEOF
69514 #define HAVE__MODF 1
69515 _ACEOF
69518 done
69527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69528 $as_echo_n "checking for powf declaration... " >&6; }
69529 if test x${glibcxx_cv_func_powf_use+set} != xset; then
69530 if ${glibcxx_cv_func_powf_use+:} false; then :
69531 $as_echo_n "(cached) " >&6
69532 else
69535 ac_ext=cpp
69536 ac_cpp='$CXXCPP $CPPFLAGS'
69537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69542 /* end confdefs.h. */
69543 #include <math.h>
69545 main ()
69547 powf(0, 0);
69549 return 0;
69551 _ACEOF
69552 if ac_fn_cxx_try_compile "$LINENO"; then :
69553 glibcxx_cv_func_powf_use=yes
69554 else
69555 glibcxx_cv_func_powf_use=no
69557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69558 ac_ext=c
69559 ac_cpp='$CPP $CPPFLAGS'
69560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69569 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
69571 if test x$glibcxx_cv_func_powf_use = x"yes"; then
69572 for ac_func in powf
69573 do :
69574 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69575 if test "x$ac_cv_func_powf" = xyes; then :
69576 cat >>confdefs.h <<_ACEOF
69577 #define HAVE_POWF 1
69578 _ACEOF
69581 done
69583 else
69585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69586 $as_echo_n "checking for _powf declaration... " >&6; }
69587 if test x${glibcxx_cv_func__powf_use+set} != xset; then
69588 if ${glibcxx_cv_func__powf_use+:} false; then :
69589 $as_echo_n "(cached) " >&6
69590 else
69593 ac_ext=cpp
69594 ac_cpp='$CXXCPP $CPPFLAGS'
69595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69600 /* end confdefs.h. */
69601 #include <math.h>
69603 main ()
69605 _powf(0, 0);
69607 return 0;
69609 _ACEOF
69610 if ac_fn_cxx_try_compile "$LINENO"; then :
69611 glibcxx_cv_func__powf_use=yes
69612 else
69613 glibcxx_cv_func__powf_use=no
69615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69616 ac_ext=c
69617 ac_cpp='$CPP $CPPFLAGS'
69618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
69627 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
69629 if test x$glibcxx_cv_func__powf_use = x"yes"; then
69630 for ac_func in _powf
69631 do :
69632 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69633 if test "x$ac_cv_func__powf" = xyes; then :
69634 cat >>confdefs.h <<_ACEOF
69635 #define HAVE__POWF 1
69636 _ACEOF
69639 done
69648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
69649 $as_echo_n "checking for sqrtf declaration... " >&6; }
69650 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69651 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
69652 $as_echo_n "(cached) " >&6
69653 else
69656 ac_ext=cpp
69657 ac_cpp='$CXXCPP $CPPFLAGS'
69658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69663 /* end confdefs.h. */
69664 #include <math.h>
69665 #ifdef HAVE_IEEEFP_H
69666 #include <ieeefp.h>
69667 #endif
69670 main ()
69672 sqrtf(0);
69674 return 0;
69676 _ACEOF
69677 if ac_fn_cxx_try_compile "$LINENO"; then :
69678 glibcxx_cv_func_sqrtf_use=yes
69679 else
69680 glibcxx_cv_func_sqrtf_use=no
69682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69683 ac_ext=c
69684 ac_cpp='$CPP $CPPFLAGS'
69685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69694 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69696 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69697 for ac_func in sqrtf
69698 do :
69699 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69700 if test "x$ac_cv_func_sqrtf" = xyes; then :
69701 cat >>confdefs.h <<_ACEOF
69702 #define HAVE_SQRTF 1
69703 _ACEOF
69706 done
69708 else
69710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69711 $as_echo_n "checking for _sqrtf declaration... " >&6; }
69712 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69713 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
69714 $as_echo_n "(cached) " >&6
69715 else
69718 ac_ext=cpp
69719 ac_cpp='$CXXCPP $CPPFLAGS'
69720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69725 /* end confdefs.h. */
69726 #include <math.h>
69727 #ifdef HAVE_IEEEFP_H
69728 #include <ieeefp.h>
69729 #endif
69732 main ()
69734 _sqrtf(0);
69736 return 0;
69738 _ACEOF
69739 if ac_fn_cxx_try_compile "$LINENO"; then :
69740 glibcxx_cv_func__sqrtf_use=yes
69741 else
69742 glibcxx_cv_func__sqrtf_use=no
69744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69745 ac_ext=c
69746 ac_cpp='$CPP $CPPFLAGS'
69747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
69756 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
69758 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69759 for ac_func in _sqrtf
69760 do :
69761 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
69762 if test "x$ac_cv_func__sqrtf" = xyes; then :
69763 cat >>confdefs.h <<_ACEOF
69764 #define HAVE__SQRTF 1
69765 _ACEOF
69768 done
69777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
69778 $as_echo_n "checking for sincosf declaration... " >&6; }
69779 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
69780 if ${glibcxx_cv_func_sincosf_use+:} false; then :
69781 $as_echo_n "(cached) " >&6
69782 else
69785 ac_ext=cpp
69786 ac_cpp='$CXXCPP $CPPFLAGS'
69787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69792 /* end confdefs.h. */
69793 #include <math.h>
69795 main ()
69797 sincosf(0, 0, 0);
69799 return 0;
69801 _ACEOF
69802 if ac_fn_cxx_try_compile "$LINENO"; then :
69803 glibcxx_cv_func_sincosf_use=yes
69804 else
69805 glibcxx_cv_func_sincosf_use=no
69807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69808 ac_ext=c
69809 ac_cpp='$CPP $CPPFLAGS'
69810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
69819 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
69821 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
69822 for ac_func in sincosf
69823 do :
69824 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
69825 if test "x$ac_cv_func_sincosf" = xyes; then :
69826 cat >>confdefs.h <<_ACEOF
69827 #define HAVE_SINCOSF 1
69828 _ACEOF
69831 done
69833 else
69835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
69836 $as_echo_n "checking for _sincosf declaration... " >&6; }
69837 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
69838 if ${glibcxx_cv_func__sincosf_use+:} false; then :
69839 $as_echo_n "(cached) " >&6
69840 else
69843 ac_ext=cpp
69844 ac_cpp='$CXXCPP $CPPFLAGS'
69845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69850 /* end confdefs.h. */
69851 #include <math.h>
69853 main ()
69855 _sincosf(0, 0, 0);
69857 return 0;
69859 _ACEOF
69860 if ac_fn_cxx_try_compile "$LINENO"; then :
69861 glibcxx_cv_func__sincosf_use=yes
69862 else
69863 glibcxx_cv_func__sincosf_use=no
69865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69866 ac_ext=c
69867 ac_cpp='$CPP $CPPFLAGS'
69868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
69877 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
69879 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
69880 for ac_func in _sincosf
69881 do :
69882 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
69883 if test "x$ac_cv_func__sincosf" = xyes; then :
69884 cat >>confdefs.h <<_ACEOF
69885 #define HAVE__SINCOSF 1
69886 _ACEOF
69889 done
69898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
69899 $as_echo_n "checking for finitef declaration... " >&6; }
69900 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
69901 if ${glibcxx_cv_func_finitef_use+:} false; then :
69902 $as_echo_n "(cached) " >&6
69903 else
69906 ac_ext=cpp
69907 ac_cpp='$CXXCPP $CPPFLAGS'
69908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69913 /* end confdefs.h. */
69914 #include <math.h>
69915 #ifdef HAVE_IEEEFP_H
69916 #include <ieeefp.h>
69917 #endif
69920 main ()
69922 finitef(0);
69924 return 0;
69926 _ACEOF
69927 if ac_fn_cxx_try_compile "$LINENO"; then :
69928 glibcxx_cv_func_finitef_use=yes
69929 else
69930 glibcxx_cv_func_finitef_use=no
69932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69933 ac_ext=c
69934 ac_cpp='$CPP $CPPFLAGS'
69935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
69944 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
69946 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
69947 for ac_func in finitef
69948 do :
69949 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
69950 if test "x$ac_cv_func_finitef" = xyes; then :
69951 cat >>confdefs.h <<_ACEOF
69952 #define HAVE_FINITEF 1
69953 _ACEOF
69956 done
69958 else
69960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
69961 $as_echo_n "checking for _finitef declaration... " >&6; }
69962 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
69963 if ${glibcxx_cv_func__finitef_use+:} false; then :
69964 $as_echo_n "(cached) " >&6
69965 else
69968 ac_ext=cpp
69969 ac_cpp='$CXXCPP $CPPFLAGS'
69970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69975 /* end confdefs.h. */
69976 #include <math.h>
69977 #ifdef HAVE_IEEEFP_H
69978 #include <ieeefp.h>
69979 #endif
69982 main ()
69984 _finitef(0);
69986 return 0;
69988 _ACEOF
69989 if ac_fn_cxx_try_compile "$LINENO"; then :
69990 glibcxx_cv_func__finitef_use=yes
69991 else
69992 glibcxx_cv_func__finitef_use=no
69994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69995 ac_ext=c
69996 ac_cpp='$CPP $CPPFLAGS'
69997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
70006 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
70008 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
70009 for ac_func in _finitef
70010 do :
70011 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
70012 if test "x$ac_cv_func__finitef" = xyes; then :
70013 cat >>confdefs.h <<_ACEOF
70014 #define HAVE__FINITEF 1
70015 _ACEOF
70018 done
70027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
70028 $as_echo_n "checking for long double trig functions... " >&6; }
70029 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
70030 $as_echo_n "(cached) " >&6
70031 else
70034 ac_ext=cpp
70035 ac_cpp='$CXXCPP $CPPFLAGS'
70036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70041 /* end confdefs.h. */
70042 #include <math.h>
70044 main ()
70046 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
70048 return 0;
70050 _ACEOF
70051 if ac_fn_cxx_try_compile "$LINENO"; then :
70052 glibcxx_cv_func_long_double_trig_use=yes
70053 else
70054 glibcxx_cv_func_long_double_trig_use=no
70056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70057 ac_ext=c
70058 ac_cpp='$CPP $CPPFLAGS'
70059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
70066 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
70067 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
70068 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
70069 do :
70070 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70071 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70072 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70073 cat >>confdefs.h <<_ACEOF
70074 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70075 _ACEOF
70078 done
70080 else
70081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
70082 $as_echo_n "checking for _long double trig functions... " >&6; }
70083 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
70084 $as_echo_n "(cached) " >&6
70085 else
70088 ac_ext=cpp
70089 ac_cpp='$CXXCPP $CPPFLAGS'
70090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70095 /* end confdefs.h. */
70096 #include <math.h>
70098 main ()
70100 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
70102 return 0;
70104 _ACEOF
70105 if ac_fn_cxx_try_compile "$LINENO"; then :
70106 glibcxx_cv_func__long_double_trig_use=yes
70107 else
70108 glibcxx_cv_func__long_double_trig_use=no
70110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70111 ac_ext=c
70112 ac_cpp='$CPP $CPPFLAGS'
70113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
70120 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
70121 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70122 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
70123 do :
70124 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70125 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70126 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70127 cat >>confdefs.h <<_ACEOF
70128 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70129 _ACEOF
70132 done
70141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
70142 $as_echo_n "checking for long double round functions... " >&6; }
70143 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
70144 $as_echo_n "(cached) " >&6
70145 else
70148 ac_ext=cpp
70149 ac_cpp='$CXXCPP $CPPFLAGS'
70150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70155 /* end confdefs.h. */
70156 #include <math.h>
70158 main ()
70160 ceill (0); floorl (0);
70162 return 0;
70164 _ACEOF
70165 if ac_fn_cxx_try_compile "$LINENO"; then :
70166 glibcxx_cv_func_long_double_round_use=yes
70167 else
70168 glibcxx_cv_func_long_double_round_use=no
70170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70171 ac_ext=c
70172 ac_cpp='$CPP $CPPFLAGS'
70173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
70180 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
70181 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
70182 for ac_func in ceill floorl
70183 do :
70184 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70185 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70186 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70187 cat >>confdefs.h <<_ACEOF
70188 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70189 _ACEOF
70192 done
70194 else
70195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
70196 $as_echo_n "checking for _long double round functions... " >&6; }
70197 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
70198 $as_echo_n "(cached) " >&6
70199 else
70202 ac_ext=cpp
70203 ac_cpp='$CXXCPP $CPPFLAGS'
70204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70209 /* end confdefs.h. */
70210 #include <math.h>
70212 main ()
70214 _ceill (0); _floorl (0);
70216 return 0;
70218 _ACEOF
70219 if ac_fn_cxx_try_compile "$LINENO"; then :
70220 glibcxx_cv_func__long_double_round_use=yes
70221 else
70222 glibcxx_cv_func__long_double_round_use=no
70224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70225 ac_ext=c
70226 ac_cpp='$CPP $CPPFLAGS'
70227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
70234 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
70235 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70236 for ac_func in _ceill _floorl
70237 do :
70238 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70239 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70240 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70241 cat >>confdefs.h <<_ACEOF
70242 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70243 _ACEOF
70246 done
70256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
70257 $as_echo_n "checking for isnanl declaration... " >&6; }
70258 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70259 if ${glibcxx_cv_func_isnanl_use+:} false; then :
70260 $as_echo_n "(cached) " >&6
70261 else
70264 ac_ext=cpp
70265 ac_cpp='$CXXCPP $CPPFLAGS'
70266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70271 /* end confdefs.h. */
70272 #include <math.h>
70273 #ifdef HAVE_IEEEFP_H
70274 #include <ieeefp.h>
70275 #endif
70278 main ()
70280 isnanl(0);
70282 return 0;
70284 _ACEOF
70285 if ac_fn_cxx_try_compile "$LINENO"; then :
70286 glibcxx_cv_func_isnanl_use=yes
70287 else
70288 glibcxx_cv_func_isnanl_use=no
70290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70291 ac_ext=c
70292 ac_cpp='$CPP $CPPFLAGS'
70293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
70302 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
70304 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70305 for ac_func in isnanl
70306 do :
70307 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
70308 if test "x$ac_cv_func_isnanl" = xyes; then :
70309 cat >>confdefs.h <<_ACEOF
70310 #define HAVE_ISNANL 1
70311 _ACEOF
70314 done
70316 else
70318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70319 $as_echo_n "checking for _isnanl declaration... " >&6; }
70320 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70321 if ${glibcxx_cv_func__isnanl_use+:} false; then :
70322 $as_echo_n "(cached) " >&6
70323 else
70326 ac_ext=cpp
70327 ac_cpp='$CXXCPP $CPPFLAGS'
70328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70333 /* end confdefs.h. */
70334 #include <math.h>
70335 #ifdef HAVE_IEEEFP_H
70336 #include <ieeefp.h>
70337 #endif
70340 main ()
70342 _isnanl(0);
70344 return 0;
70346 _ACEOF
70347 if ac_fn_cxx_try_compile "$LINENO"; then :
70348 glibcxx_cv_func__isnanl_use=yes
70349 else
70350 glibcxx_cv_func__isnanl_use=no
70352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70353 ac_ext=c
70354 ac_cpp='$CPP $CPPFLAGS'
70355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70364 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70366 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70367 for ac_func in _isnanl
70368 do :
70369 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70370 if test "x$ac_cv_func__isnanl" = xyes; then :
70371 cat >>confdefs.h <<_ACEOF
70372 #define HAVE__ISNANL 1
70373 _ACEOF
70376 done
70385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70386 $as_echo_n "checking for isinfl declaration... " >&6; }
70387 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70388 if ${glibcxx_cv_func_isinfl_use+:} false; then :
70389 $as_echo_n "(cached) " >&6
70390 else
70393 ac_ext=cpp
70394 ac_cpp='$CXXCPP $CPPFLAGS'
70395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70400 /* end confdefs.h. */
70401 #include <math.h>
70402 #ifdef HAVE_IEEEFP_H
70403 #include <ieeefp.h>
70404 #endif
70407 main ()
70409 isinfl(0);
70411 return 0;
70413 _ACEOF
70414 if ac_fn_cxx_try_compile "$LINENO"; then :
70415 glibcxx_cv_func_isinfl_use=yes
70416 else
70417 glibcxx_cv_func_isinfl_use=no
70419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70420 ac_ext=c
70421 ac_cpp='$CPP $CPPFLAGS'
70422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70431 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70433 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70434 for ac_func in isinfl
70435 do :
70436 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70437 if test "x$ac_cv_func_isinfl" = xyes; then :
70438 cat >>confdefs.h <<_ACEOF
70439 #define HAVE_ISINFL 1
70440 _ACEOF
70443 done
70445 else
70447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70448 $as_echo_n "checking for _isinfl declaration... " >&6; }
70449 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70450 if ${glibcxx_cv_func__isinfl_use+:} false; then :
70451 $as_echo_n "(cached) " >&6
70452 else
70455 ac_ext=cpp
70456 ac_cpp='$CXXCPP $CPPFLAGS'
70457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70462 /* end confdefs.h. */
70463 #include <math.h>
70464 #ifdef HAVE_IEEEFP_H
70465 #include <ieeefp.h>
70466 #endif
70469 main ()
70471 _isinfl(0);
70473 return 0;
70475 _ACEOF
70476 if ac_fn_cxx_try_compile "$LINENO"; then :
70477 glibcxx_cv_func__isinfl_use=yes
70478 else
70479 glibcxx_cv_func__isinfl_use=no
70481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70482 ac_ext=c
70483 ac_cpp='$CPP $CPPFLAGS'
70484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70493 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70495 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70496 for ac_func in _isinfl
70497 do :
70498 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70499 if test "x$ac_cv_func__isinfl" = xyes; then :
70500 cat >>confdefs.h <<_ACEOF
70501 #define HAVE__ISINFL 1
70502 _ACEOF
70505 done
70514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70515 $as_echo_n "checking for atan2l declaration... " >&6; }
70516 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70517 if ${glibcxx_cv_func_atan2l_use+:} false; then :
70518 $as_echo_n "(cached) " >&6
70519 else
70522 ac_ext=cpp
70523 ac_cpp='$CXXCPP $CPPFLAGS'
70524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70529 /* end confdefs.h. */
70530 #include <math.h>
70532 main ()
70534 atan2l(0, 0);
70536 return 0;
70538 _ACEOF
70539 if ac_fn_cxx_try_compile "$LINENO"; then :
70540 glibcxx_cv_func_atan2l_use=yes
70541 else
70542 glibcxx_cv_func_atan2l_use=no
70544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70545 ac_ext=c
70546 ac_cpp='$CPP $CPPFLAGS'
70547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70556 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70558 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70559 for ac_func in atan2l
70560 do :
70561 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70562 if test "x$ac_cv_func_atan2l" = xyes; then :
70563 cat >>confdefs.h <<_ACEOF
70564 #define HAVE_ATAN2L 1
70565 _ACEOF
70568 done
70570 else
70572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70573 $as_echo_n "checking for _atan2l declaration... " >&6; }
70574 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70575 if ${glibcxx_cv_func__atan2l_use+:} false; then :
70576 $as_echo_n "(cached) " >&6
70577 else
70580 ac_ext=cpp
70581 ac_cpp='$CXXCPP $CPPFLAGS'
70582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70587 /* end confdefs.h. */
70588 #include <math.h>
70590 main ()
70592 _atan2l(0, 0);
70594 return 0;
70596 _ACEOF
70597 if ac_fn_cxx_try_compile "$LINENO"; then :
70598 glibcxx_cv_func__atan2l_use=yes
70599 else
70600 glibcxx_cv_func__atan2l_use=no
70602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70603 ac_ext=c
70604 ac_cpp='$CPP $CPPFLAGS'
70605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70614 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70616 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70617 for ac_func in _atan2l
70618 do :
70619 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70620 if test "x$ac_cv_func__atan2l" = xyes; then :
70621 cat >>confdefs.h <<_ACEOF
70622 #define HAVE__ATAN2L 1
70623 _ACEOF
70626 done
70635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70636 $as_echo_n "checking for expl declaration... " >&6; }
70637 if test x${glibcxx_cv_func_expl_use+set} != xset; then
70638 if ${glibcxx_cv_func_expl_use+:} false; then :
70639 $as_echo_n "(cached) " >&6
70640 else
70643 ac_ext=cpp
70644 ac_cpp='$CXXCPP $CPPFLAGS'
70645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70650 /* end confdefs.h. */
70651 #include <math.h>
70652 #ifdef HAVE_IEEEFP_H
70653 #include <ieeefp.h>
70654 #endif
70657 main ()
70659 expl(0);
70661 return 0;
70663 _ACEOF
70664 if ac_fn_cxx_try_compile "$LINENO"; then :
70665 glibcxx_cv_func_expl_use=yes
70666 else
70667 glibcxx_cv_func_expl_use=no
70669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70670 ac_ext=c
70671 ac_cpp='$CPP $CPPFLAGS'
70672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70681 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
70683 if test x$glibcxx_cv_func_expl_use = x"yes"; then
70684 for ac_func in expl
70685 do :
70686 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70687 if test "x$ac_cv_func_expl" = xyes; then :
70688 cat >>confdefs.h <<_ACEOF
70689 #define HAVE_EXPL 1
70690 _ACEOF
70693 done
70695 else
70697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70698 $as_echo_n "checking for _expl declaration... " >&6; }
70699 if test x${glibcxx_cv_func__expl_use+set} != xset; then
70700 if ${glibcxx_cv_func__expl_use+:} false; then :
70701 $as_echo_n "(cached) " >&6
70702 else
70705 ac_ext=cpp
70706 ac_cpp='$CXXCPP $CPPFLAGS'
70707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70712 /* end confdefs.h. */
70713 #include <math.h>
70714 #ifdef HAVE_IEEEFP_H
70715 #include <ieeefp.h>
70716 #endif
70719 main ()
70721 _expl(0);
70723 return 0;
70725 _ACEOF
70726 if ac_fn_cxx_try_compile "$LINENO"; then :
70727 glibcxx_cv_func__expl_use=yes
70728 else
70729 glibcxx_cv_func__expl_use=no
70731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70732 ac_ext=c
70733 ac_cpp='$CPP $CPPFLAGS'
70734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
70743 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
70745 if test x$glibcxx_cv_func__expl_use = x"yes"; then
70746 for ac_func in _expl
70747 do :
70748 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
70749 if test "x$ac_cv_func__expl" = xyes; then :
70750 cat >>confdefs.h <<_ACEOF
70751 #define HAVE__EXPL 1
70752 _ACEOF
70755 done
70764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
70765 $as_echo_n "checking for fabsl declaration... " >&6; }
70766 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
70767 if ${glibcxx_cv_func_fabsl_use+:} false; then :
70768 $as_echo_n "(cached) " >&6
70769 else
70772 ac_ext=cpp
70773 ac_cpp='$CXXCPP $CPPFLAGS'
70774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70779 /* end confdefs.h. */
70780 #include <math.h>
70781 #ifdef HAVE_IEEEFP_H
70782 #include <ieeefp.h>
70783 #endif
70786 main ()
70788 fabsl(0);
70790 return 0;
70792 _ACEOF
70793 if ac_fn_cxx_try_compile "$LINENO"; then :
70794 glibcxx_cv_func_fabsl_use=yes
70795 else
70796 glibcxx_cv_func_fabsl_use=no
70798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70799 ac_ext=c
70800 ac_cpp='$CPP $CPPFLAGS'
70801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
70810 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
70812 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
70813 for ac_func in fabsl
70814 do :
70815 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
70816 if test "x$ac_cv_func_fabsl" = xyes; then :
70817 cat >>confdefs.h <<_ACEOF
70818 #define HAVE_FABSL 1
70819 _ACEOF
70822 done
70824 else
70826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
70827 $as_echo_n "checking for _fabsl declaration... " >&6; }
70828 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
70829 if ${glibcxx_cv_func__fabsl_use+:} false; then :
70830 $as_echo_n "(cached) " >&6
70831 else
70834 ac_ext=cpp
70835 ac_cpp='$CXXCPP $CPPFLAGS'
70836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70841 /* end confdefs.h. */
70842 #include <math.h>
70843 #ifdef HAVE_IEEEFP_H
70844 #include <ieeefp.h>
70845 #endif
70848 main ()
70850 _fabsl(0);
70852 return 0;
70854 _ACEOF
70855 if ac_fn_cxx_try_compile "$LINENO"; then :
70856 glibcxx_cv_func__fabsl_use=yes
70857 else
70858 glibcxx_cv_func__fabsl_use=no
70860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70861 ac_ext=c
70862 ac_cpp='$CPP $CPPFLAGS'
70863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
70872 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
70874 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
70875 for ac_func in _fabsl
70876 do :
70877 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
70878 if test "x$ac_cv_func__fabsl" = xyes; then :
70879 cat >>confdefs.h <<_ACEOF
70880 #define HAVE__FABSL 1
70881 _ACEOF
70884 done
70893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
70894 $as_echo_n "checking for fmodl declaration... " >&6; }
70895 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
70896 if ${glibcxx_cv_func_fmodl_use+:} false; then :
70897 $as_echo_n "(cached) " >&6
70898 else
70901 ac_ext=cpp
70902 ac_cpp='$CXXCPP $CPPFLAGS'
70903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70908 /* end confdefs.h. */
70909 #include <math.h>
70911 main ()
70913 fmodl(0, 0);
70915 return 0;
70917 _ACEOF
70918 if ac_fn_cxx_try_compile "$LINENO"; then :
70919 glibcxx_cv_func_fmodl_use=yes
70920 else
70921 glibcxx_cv_func_fmodl_use=no
70923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70924 ac_ext=c
70925 ac_cpp='$CPP $CPPFLAGS'
70926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
70935 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
70937 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
70938 for ac_func in fmodl
70939 do :
70940 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
70941 if test "x$ac_cv_func_fmodl" = xyes; then :
70942 cat >>confdefs.h <<_ACEOF
70943 #define HAVE_FMODL 1
70944 _ACEOF
70947 done
70949 else
70951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
70952 $as_echo_n "checking for _fmodl declaration... " >&6; }
70953 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
70954 if ${glibcxx_cv_func__fmodl_use+:} false; then :
70955 $as_echo_n "(cached) " >&6
70956 else
70959 ac_ext=cpp
70960 ac_cpp='$CXXCPP $CPPFLAGS'
70961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70966 /* end confdefs.h. */
70967 #include <math.h>
70969 main ()
70971 _fmodl(0, 0);
70973 return 0;
70975 _ACEOF
70976 if ac_fn_cxx_try_compile "$LINENO"; then :
70977 glibcxx_cv_func__fmodl_use=yes
70978 else
70979 glibcxx_cv_func__fmodl_use=no
70981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70982 ac_ext=c
70983 ac_cpp='$CPP $CPPFLAGS'
70984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
70993 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
70995 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
70996 for ac_func in _fmodl
70997 do :
70998 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
70999 if test "x$ac_cv_func__fmodl" = xyes; then :
71000 cat >>confdefs.h <<_ACEOF
71001 #define HAVE__FMODL 1
71002 _ACEOF
71005 done
71014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
71015 $as_echo_n "checking for frexpl declaration... " >&6; }
71016 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
71017 if ${glibcxx_cv_func_frexpl_use+:} false; then :
71018 $as_echo_n "(cached) " >&6
71019 else
71022 ac_ext=cpp
71023 ac_cpp='$CXXCPP $CPPFLAGS'
71024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71029 /* end confdefs.h. */
71030 #include <math.h>
71032 main ()
71034 frexpl(0, 0);
71036 return 0;
71038 _ACEOF
71039 if ac_fn_cxx_try_compile "$LINENO"; then :
71040 glibcxx_cv_func_frexpl_use=yes
71041 else
71042 glibcxx_cv_func_frexpl_use=no
71044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71045 ac_ext=c
71046 ac_cpp='$CPP $CPPFLAGS'
71047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
71056 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
71058 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
71059 for ac_func in frexpl
71060 do :
71061 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
71062 if test "x$ac_cv_func_frexpl" = xyes; then :
71063 cat >>confdefs.h <<_ACEOF
71064 #define HAVE_FREXPL 1
71065 _ACEOF
71068 done
71070 else
71072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
71073 $as_echo_n "checking for _frexpl declaration... " >&6; }
71074 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
71075 if ${glibcxx_cv_func__frexpl_use+:} false; then :
71076 $as_echo_n "(cached) " >&6
71077 else
71080 ac_ext=cpp
71081 ac_cpp='$CXXCPP $CPPFLAGS'
71082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71087 /* end confdefs.h. */
71088 #include <math.h>
71090 main ()
71092 _frexpl(0, 0);
71094 return 0;
71096 _ACEOF
71097 if ac_fn_cxx_try_compile "$LINENO"; then :
71098 glibcxx_cv_func__frexpl_use=yes
71099 else
71100 glibcxx_cv_func__frexpl_use=no
71102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71103 ac_ext=c
71104 ac_cpp='$CPP $CPPFLAGS'
71105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
71114 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
71116 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
71117 for ac_func in _frexpl
71118 do :
71119 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
71120 if test "x$ac_cv_func__frexpl" = xyes; then :
71121 cat >>confdefs.h <<_ACEOF
71122 #define HAVE__FREXPL 1
71123 _ACEOF
71126 done
71135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
71136 $as_echo_n "checking for hypotl declaration... " >&6; }
71137 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
71138 if ${glibcxx_cv_func_hypotl_use+:} false; then :
71139 $as_echo_n "(cached) " >&6
71140 else
71143 ac_ext=cpp
71144 ac_cpp='$CXXCPP $CPPFLAGS'
71145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71150 /* end confdefs.h. */
71151 #include <math.h>
71153 main ()
71155 hypotl(0, 0);
71157 return 0;
71159 _ACEOF
71160 if ac_fn_cxx_try_compile "$LINENO"; then :
71161 glibcxx_cv_func_hypotl_use=yes
71162 else
71163 glibcxx_cv_func_hypotl_use=no
71165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71166 ac_ext=c
71167 ac_cpp='$CPP $CPPFLAGS'
71168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
71177 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
71179 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
71180 for ac_func in hypotl
71181 do :
71182 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
71183 if test "x$ac_cv_func_hypotl" = xyes; then :
71184 cat >>confdefs.h <<_ACEOF
71185 #define HAVE_HYPOTL 1
71186 _ACEOF
71189 done
71191 else
71193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
71194 $as_echo_n "checking for _hypotl declaration... " >&6; }
71195 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
71196 if ${glibcxx_cv_func__hypotl_use+:} false; then :
71197 $as_echo_n "(cached) " >&6
71198 else
71201 ac_ext=cpp
71202 ac_cpp='$CXXCPP $CPPFLAGS'
71203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71208 /* end confdefs.h. */
71209 #include <math.h>
71211 main ()
71213 _hypotl(0, 0);
71215 return 0;
71217 _ACEOF
71218 if ac_fn_cxx_try_compile "$LINENO"; then :
71219 glibcxx_cv_func__hypotl_use=yes
71220 else
71221 glibcxx_cv_func__hypotl_use=no
71223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71224 ac_ext=c
71225 ac_cpp='$CPP $CPPFLAGS'
71226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
71235 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
71237 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
71238 for ac_func in _hypotl
71239 do :
71240 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
71241 if test "x$ac_cv_func__hypotl" = xyes; then :
71242 cat >>confdefs.h <<_ACEOF
71243 #define HAVE__HYPOTL 1
71244 _ACEOF
71247 done
71256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
71257 $as_echo_n "checking for ldexpl declaration... " >&6; }
71258 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71259 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
71260 $as_echo_n "(cached) " >&6
71261 else
71264 ac_ext=cpp
71265 ac_cpp='$CXXCPP $CPPFLAGS'
71266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71271 /* end confdefs.h. */
71272 #include <math.h>
71274 main ()
71276 ldexpl(0, 0);
71278 return 0;
71280 _ACEOF
71281 if ac_fn_cxx_try_compile "$LINENO"; then :
71282 glibcxx_cv_func_ldexpl_use=yes
71283 else
71284 glibcxx_cv_func_ldexpl_use=no
71286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71287 ac_ext=c
71288 ac_cpp='$CPP $CPPFLAGS'
71289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
71298 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
71300 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71301 for ac_func in ldexpl
71302 do :
71303 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
71304 if test "x$ac_cv_func_ldexpl" = xyes; then :
71305 cat >>confdefs.h <<_ACEOF
71306 #define HAVE_LDEXPL 1
71307 _ACEOF
71310 done
71312 else
71314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71315 $as_echo_n "checking for _ldexpl declaration... " >&6; }
71316 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71317 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
71318 $as_echo_n "(cached) " >&6
71319 else
71322 ac_ext=cpp
71323 ac_cpp='$CXXCPP $CPPFLAGS'
71324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71329 /* end confdefs.h. */
71330 #include <math.h>
71332 main ()
71334 _ldexpl(0, 0);
71336 return 0;
71338 _ACEOF
71339 if ac_fn_cxx_try_compile "$LINENO"; then :
71340 glibcxx_cv_func__ldexpl_use=yes
71341 else
71342 glibcxx_cv_func__ldexpl_use=no
71344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71345 ac_ext=c
71346 ac_cpp='$CPP $CPPFLAGS'
71347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71356 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71358 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71359 for ac_func in _ldexpl
71360 do :
71361 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71362 if test "x$ac_cv_func__ldexpl" = xyes; then :
71363 cat >>confdefs.h <<_ACEOF
71364 #define HAVE__LDEXPL 1
71365 _ACEOF
71368 done
71377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71378 $as_echo_n "checking for logl declaration... " >&6; }
71379 if test x${glibcxx_cv_func_logl_use+set} != xset; then
71380 if ${glibcxx_cv_func_logl_use+:} false; then :
71381 $as_echo_n "(cached) " >&6
71382 else
71385 ac_ext=cpp
71386 ac_cpp='$CXXCPP $CPPFLAGS'
71387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71392 /* end confdefs.h. */
71393 #include <math.h>
71394 #ifdef HAVE_IEEEFP_H
71395 #include <ieeefp.h>
71396 #endif
71399 main ()
71401 logl(0);
71403 return 0;
71405 _ACEOF
71406 if ac_fn_cxx_try_compile "$LINENO"; then :
71407 glibcxx_cv_func_logl_use=yes
71408 else
71409 glibcxx_cv_func_logl_use=no
71411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71412 ac_ext=c
71413 ac_cpp='$CPP $CPPFLAGS'
71414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71423 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
71425 if test x$glibcxx_cv_func_logl_use = x"yes"; then
71426 for ac_func in logl
71427 do :
71428 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71429 if test "x$ac_cv_func_logl" = xyes; then :
71430 cat >>confdefs.h <<_ACEOF
71431 #define HAVE_LOGL 1
71432 _ACEOF
71435 done
71437 else
71439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71440 $as_echo_n "checking for _logl declaration... " >&6; }
71441 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71442 if ${glibcxx_cv_func__logl_use+:} false; then :
71443 $as_echo_n "(cached) " >&6
71444 else
71447 ac_ext=cpp
71448 ac_cpp='$CXXCPP $CPPFLAGS'
71449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71454 /* end confdefs.h. */
71455 #include <math.h>
71456 #ifdef HAVE_IEEEFP_H
71457 #include <ieeefp.h>
71458 #endif
71461 main ()
71463 _logl(0);
71465 return 0;
71467 _ACEOF
71468 if ac_fn_cxx_try_compile "$LINENO"; then :
71469 glibcxx_cv_func__logl_use=yes
71470 else
71471 glibcxx_cv_func__logl_use=no
71473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71474 ac_ext=c
71475 ac_cpp='$CPP $CPPFLAGS'
71476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71485 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
71487 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71488 for ac_func in _logl
71489 do :
71490 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71491 if test "x$ac_cv_func__logl" = xyes; then :
71492 cat >>confdefs.h <<_ACEOF
71493 #define HAVE__LOGL 1
71494 _ACEOF
71497 done
71506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71507 $as_echo_n "checking for log10l declaration... " >&6; }
71508 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71509 if ${glibcxx_cv_func_log10l_use+:} false; then :
71510 $as_echo_n "(cached) " >&6
71511 else
71514 ac_ext=cpp
71515 ac_cpp='$CXXCPP $CPPFLAGS'
71516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71521 /* end confdefs.h. */
71522 #include <math.h>
71523 #ifdef HAVE_IEEEFP_H
71524 #include <ieeefp.h>
71525 #endif
71528 main ()
71530 log10l(0);
71532 return 0;
71534 _ACEOF
71535 if ac_fn_cxx_try_compile "$LINENO"; then :
71536 glibcxx_cv_func_log10l_use=yes
71537 else
71538 glibcxx_cv_func_log10l_use=no
71540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71541 ac_ext=c
71542 ac_cpp='$CPP $CPPFLAGS'
71543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71552 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71554 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71555 for ac_func in log10l
71556 do :
71557 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71558 if test "x$ac_cv_func_log10l" = xyes; then :
71559 cat >>confdefs.h <<_ACEOF
71560 #define HAVE_LOG10L 1
71561 _ACEOF
71564 done
71566 else
71568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71569 $as_echo_n "checking for _log10l declaration... " >&6; }
71570 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71571 if ${glibcxx_cv_func__log10l_use+:} false; then :
71572 $as_echo_n "(cached) " >&6
71573 else
71576 ac_ext=cpp
71577 ac_cpp='$CXXCPP $CPPFLAGS'
71578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71583 /* end confdefs.h. */
71584 #include <math.h>
71585 #ifdef HAVE_IEEEFP_H
71586 #include <ieeefp.h>
71587 #endif
71590 main ()
71592 _log10l(0);
71594 return 0;
71596 _ACEOF
71597 if ac_fn_cxx_try_compile "$LINENO"; then :
71598 glibcxx_cv_func__log10l_use=yes
71599 else
71600 glibcxx_cv_func__log10l_use=no
71602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71603 ac_ext=c
71604 ac_cpp='$CPP $CPPFLAGS'
71605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71614 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71616 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71617 for ac_func in _log10l
71618 do :
71619 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71620 if test "x$ac_cv_func__log10l" = xyes; then :
71621 cat >>confdefs.h <<_ACEOF
71622 #define HAVE__LOG10L 1
71623 _ACEOF
71626 done
71635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71636 $as_echo_n "checking for modfl declaration... " >&6; }
71637 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71638 if ${glibcxx_cv_func_modfl_use+:} false; then :
71639 $as_echo_n "(cached) " >&6
71640 else
71643 ac_ext=cpp
71644 ac_cpp='$CXXCPP $CPPFLAGS'
71645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71650 /* end confdefs.h. */
71651 #include <math.h>
71653 main ()
71655 modfl(0, 0);
71657 return 0;
71659 _ACEOF
71660 if ac_fn_cxx_try_compile "$LINENO"; then :
71661 glibcxx_cv_func_modfl_use=yes
71662 else
71663 glibcxx_cv_func_modfl_use=no
71665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71666 ac_ext=c
71667 ac_cpp='$CPP $CPPFLAGS'
71668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
71677 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71679 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71680 for ac_func in modfl
71681 do :
71682 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71683 if test "x$ac_cv_func_modfl" = xyes; then :
71684 cat >>confdefs.h <<_ACEOF
71685 #define HAVE_MODFL 1
71686 _ACEOF
71689 done
71691 else
71693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71694 $as_echo_n "checking for _modfl declaration... " >&6; }
71695 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71696 if ${glibcxx_cv_func__modfl_use+:} false; then :
71697 $as_echo_n "(cached) " >&6
71698 else
71701 ac_ext=cpp
71702 ac_cpp='$CXXCPP $CPPFLAGS'
71703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71708 /* end confdefs.h. */
71709 #include <math.h>
71711 main ()
71713 _modfl(0, 0);
71715 return 0;
71717 _ACEOF
71718 if ac_fn_cxx_try_compile "$LINENO"; then :
71719 glibcxx_cv_func__modfl_use=yes
71720 else
71721 glibcxx_cv_func__modfl_use=no
71723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71724 ac_ext=c
71725 ac_cpp='$CPP $CPPFLAGS'
71726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
71735 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
71737 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
71738 for ac_func in _modfl
71739 do :
71740 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
71741 if test "x$ac_cv_func__modfl" = xyes; then :
71742 cat >>confdefs.h <<_ACEOF
71743 #define HAVE__MODFL 1
71744 _ACEOF
71747 done
71756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
71757 $as_echo_n "checking for powl declaration... " >&6; }
71758 if test x${glibcxx_cv_func_powl_use+set} != xset; then
71759 if ${glibcxx_cv_func_powl_use+:} false; then :
71760 $as_echo_n "(cached) " >&6
71761 else
71764 ac_ext=cpp
71765 ac_cpp='$CXXCPP $CPPFLAGS'
71766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71771 /* end confdefs.h. */
71772 #include <math.h>
71774 main ()
71776 powl(0, 0);
71778 return 0;
71780 _ACEOF
71781 if ac_fn_cxx_try_compile "$LINENO"; then :
71782 glibcxx_cv_func_powl_use=yes
71783 else
71784 glibcxx_cv_func_powl_use=no
71786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71787 ac_ext=c
71788 ac_cpp='$CPP $CPPFLAGS'
71789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
71798 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
71800 if test x$glibcxx_cv_func_powl_use = x"yes"; then
71801 for ac_func in powl
71802 do :
71803 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
71804 if test "x$ac_cv_func_powl" = xyes; then :
71805 cat >>confdefs.h <<_ACEOF
71806 #define HAVE_POWL 1
71807 _ACEOF
71810 done
71812 else
71814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
71815 $as_echo_n "checking for _powl declaration... " >&6; }
71816 if test x${glibcxx_cv_func__powl_use+set} != xset; then
71817 if ${glibcxx_cv_func__powl_use+:} false; then :
71818 $as_echo_n "(cached) " >&6
71819 else
71822 ac_ext=cpp
71823 ac_cpp='$CXXCPP $CPPFLAGS'
71824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71829 /* end confdefs.h. */
71830 #include <math.h>
71832 main ()
71834 _powl(0, 0);
71836 return 0;
71838 _ACEOF
71839 if ac_fn_cxx_try_compile "$LINENO"; then :
71840 glibcxx_cv_func__powl_use=yes
71841 else
71842 glibcxx_cv_func__powl_use=no
71844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71845 ac_ext=c
71846 ac_cpp='$CPP $CPPFLAGS'
71847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
71856 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
71858 if test x$glibcxx_cv_func__powl_use = x"yes"; then
71859 for ac_func in _powl
71860 do :
71861 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
71862 if test "x$ac_cv_func__powl" = xyes; then :
71863 cat >>confdefs.h <<_ACEOF
71864 #define HAVE__POWL 1
71865 _ACEOF
71868 done
71877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
71878 $as_echo_n "checking for sqrtl declaration... " >&6; }
71879 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
71880 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
71881 $as_echo_n "(cached) " >&6
71882 else
71885 ac_ext=cpp
71886 ac_cpp='$CXXCPP $CPPFLAGS'
71887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71892 /* end confdefs.h. */
71893 #include <math.h>
71894 #ifdef HAVE_IEEEFP_H
71895 #include <ieeefp.h>
71896 #endif
71899 main ()
71901 sqrtl(0);
71903 return 0;
71905 _ACEOF
71906 if ac_fn_cxx_try_compile "$LINENO"; then :
71907 glibcxx_cv_func_sqrtl_use=yes
71908 else
71909 glibcxx_cv_func_sqrtl_use=no
71911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71912 ac_ext=c
71913 ac_cpp='$CPP $CPPFLAGS'
71914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
71923 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
71925 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
71926 for ac_func in sqrtl
71927 do :
71928 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
71929 if test "x$ac_cv_func_sqrtl" = xyes; then :
71930 cat >>confdefs.h <<_ACEOF
71931 #define HAVE_SQRTL 1
71932 _ACEOF
71935 done
71937 else
71939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
71940 $as_echo_n "checking for _sqrtl declaration... " >&6; }
71941 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
71942 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
71943 $as_echo_n "(cached) " >&6
71944 else
71947 ac_ext=cpp
71948 ac_cpp='$CXXCPP $CPPFLAGS'
71949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71954 /* end confdefs.h. */
71955 #include <math.h>
71956 #ifdef HAVE_IEEEFP_H
71957 #include <ieeefp.h>
71958 #endif
71961 main ()
71963 _sqrtl(0);
71965 return 0;
71967 _ACEOF
71968 if ac_fn_cxx_try_compile "$LINENO"; then :
71969 glibcxx_cv_func__sqrtl_use=yes
71970 else
71971 glibcxx_cv_func__sqrtl_use=no
71973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71974 ac_ext=c
71975 ac_cpp='$CPP $CPPFLAGS'
71976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
71985 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
71987 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
71988 for ac_func in _sqrtl
71989 do :
71990 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
71991 if test "x$ac_cv_func__sqrtl" = xyes; then :
71992 cat >>confdefs.h <<_ACEOF
71993 #define HAVE__SQRTL 1
71994 _ACEOF
71997 done
72006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
72007 $as_echo_n "checking for sincosl declaration... " >&6; }
72008 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
72009 if ${glibcxx_cv_func_sincosl_use+:} false; then :
72010 $as_echo_n "(cached) " >&6
72011 else
72014 ac_ext=cpp
72015 ac_cpp='$CXXCPP $CPPFLAGS'
72016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72021 /* end confdefs.h. */
72022 #include <math.h>
72024 main ()
72026 sincosl(0, 0, 0);
72028 return 0;
72030 _ACEOF
72031 if ac_fn_cxx_try_compile "$LINENO"; then :
72032 glibcxx_cv_func_sincosl_use=yes
72033 else
72034 glibcxx_cv_func_sincosl_use=no
72036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72037 ac_ext=c
72038 ac_cpp='$CPP $CPPFLAGS'
72039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
72048 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
72050 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
72051 for ac_func in sincosl
72052 do :
72053 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
72054 if test "x$ac_cv_func_sincosl" = xyes; then :
72055 cat >>confdefs.h <<_ACEOF
72056 #define HAVE_SINCOSL 1
72057 _ACEOF
72060 done
72062 else
72064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
72065 $as_echo_n "checking for _sincosl declaration... " >&6; }
72066 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
72067 if ${glibcxx_cv_func__sincosl_use+:} false; then :
72068 $as_echo_n "(cached) " >&6
72069 else
72072 ac_ext=cpp
72073 ac_cpp='$CXXCPP $CPPFLAGS'
72074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72079 /* end confdefs.h. */
72080 #include <math.h>
72082 main ()
72084 _sincosl(0, 0, 0);
72086 return 0;
72088 _ACEOF
72089 if ac_fn_cxx_try_compile "$LINENO"; then :
72090 glibcxx_cv_func__sincosl_use=yes
72091 else
72092 glibcxx_cv_func__sincosl_use=no
72094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72095 ac_ext=c
72096 ac_cpp='$CPP $CPPFLAGS'
72097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
72106 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
72108 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
72109 for ac_func in _sincosl
72110 do :
72111 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
72112 if test "x$ac_cv_func__sincosl" = xyes; then :
72113 cat >>confdefs.h <<_ACEOF
72114 #define HAVE__SINCOSL 1
72115 _ACEOF
72118 done
72127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
72128 $as_echo_n "checking for finitel declaration... " >&6; }
72129 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
72130 if ${glibcxx_cv_func_finitel_use+:} false; then :
72131 $as_echo_n "(cached) " >&6
72132 else
72135 ac_ext=cpp
72136 ac_cpp='$CXXCPP $CPPFLAGS'
72137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72142 /* end confdefs.h. */
72143 #include <math.h>
72144 #ifdef HAVE_IEEEFP_H
72145 #include <ieeefp.h>
72146 #endif
72149 main ()
72151 finitel(0);
72153 return 0;
72155 _ACEOF
72156 if ac_fn_cxx_try_compile "$LINENO"; then :
72157 glibcxx_cv_func_finitel_use=yes
72158 else
72159 glibcxx_cv_func_finitel_use=no
72161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72162 ac_ext=c
72163 ac_cpp='$CPP $CPPFLAGS'
72164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
72173 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
72175 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
72176 for ac_func in finitel
72177 do :
72178 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
72179 if test "x$ac_cv_func_finitel" = xyes; then :
72180 cat >>confdefs.h <<_ACEOF
72181 #define HAVE_FINITEL 1
72182 _ACEOF
72185 done
72187 else
72189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
72190 $as_echo_n "checking for _finitel declaration... " >&6; }
72191 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
72192 if ${glibcxx_cv_func__finitel_use+:} false; then :
72193 $as_echo_n "(cached) " >&6
72194 else
72197 ac_ext=cpp
72198 ac_cpp='$CXXCPP $CPPFLAGS'
72199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72204 /* end confdefs.h. */
72205 #include <math.h>
72206 #ifdef HAVE_IEEEFP_H
72207 #include <ieeefp.h>
72208 #endif
72211 main ()
72213 _finitel(0);
72215 return 0;
72217 _ACEOF
72218 if ac_fn_cxx_try_compile "$LINENO"; then :
72219 glibcxx_cv_func__finitel_use=yes
72220 else
72221 glibcxx_cv_func__finitel_use=no
72223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72224 ac_ext=c
72225 ac_cpp='$CPP $CPPFLAGS'
72226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
72235 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
72237 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
72238 for ac_func in _finitel
72239 do :
72240 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
72241 if test "x$ac_cv_func__finitel" = xyes; then :
72242 cat >>confdefs.h <<_ACEOF
72243 #define HAVE__FINITEL 1
72244 _ACEOF
72247 done
72255 LIBS="$ac_save_LIBS"
72256 CXXFLAGS="$ac_save_CXXFLAGS"
72259 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72260 ac_save_CXXFLAGS="$CXXFLAGS"
72261 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
72265 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
72266 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
72267 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
72268 $as_echo_n "(cached) " >&6
72269 else
72272 ac_ext=cpp
72273 ac_cpp='$CXXCPP $CPPFLAGS'
72274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72279 /* end confdefs.h. */
72280 #include <stdlib.h>
72282 main ()
72284 at_quick_exit(0);
72286 return 0;
72288 _ACEOF
72289 if ac_fn_cxx_try_compile "$LINENO"; then :
72290 glibcxx_cv_func_at_quick_exit_use=yes
72291 else
72292 glibcxx_cv_func_at_quick_exit_use=no
72294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72295 ac_ext=c
72296 ac_cpp='$CPP $CPPFLAGS'
72297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
72306 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
72307 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
72308 for ac_func in at_quick_exit
72309 do :
72310 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72311 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
72312 cat >>confdefs.h <<_ACEOF
72313 #define HAVE_AT_QUICK_EXIT 1
72314 _ACEOF
72317 done
72322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72323 $as_echo_n "checking for quick_exit declaration... " >&6; }
72324 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72325 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
72326 $as_echo_n "(cached) " >&6
72327 else
72330 ac_ext=cpp
72331 ac_cpp='$CXXCPP $CPPFLAGS'
72332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72337 /* end confdefs.h. */
72338 #include <stdlib.h>
72340 main ()
72342 quick_exit(0);
72344 return 0;
72346 _ACEOF
72347 if ac_fn_cxx_try_compile "$LINENO"; then :
72348 glibcxx_cv_func_quick_exit_use=yes
72349 else
72350 glibcxx_cv_func_quick_exit_use=no
72352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72353 ac_ext=c
72354 ac_cpp='$CPP $CPPFLAGS'
72355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72364 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72365 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72366 for ac_func in quick_exit
72367 do :
72368 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72369 if test "x$ac_cv_func_quick_exit" = xyes; then :
72370 cat >>confdefs.h <<_ACEOF
72371 #define HAVE_QUICK_EXIT 1
72372 _ACEOF
72375 done
72380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72381 $as_echo_n "checking for strtold declaration... " >&6; }
72382 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72383 if ${glibcxx_cv_func_strtold_use+:} false; then :
72384 $as_echo_n "(cached) " >&6
72385 else
72388 ac_ext=cpp
72389 ac_cpp='$CXXCPP $CPPFLAGS'
72390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72395 /* end confdefs.h. */
72396 #include <stdlib.h>
72398 main ()
72400 strtold(0, 0);
72402 return 0;
72404 _ACEOF
72405 if ac_fn_cxx_try_compile "$LINENO"; then :
72406 glibcxx_cv_func_strtold_use=yes
72407 else
72408 glibcxx_cv_func_strtold_use=no
72410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72411 ac_ext=c
72412 ac_cpp='$CPP $CPPFLAGS'
72413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72422 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72423 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72424 for ac_func in strtold
72425 do :
72426 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72427 if test "x$ac_cv_func_strtold" = xyes; then :
72428 cat >>confdefs.h <<_ACEOF
72429 #define HAVE_STRTOLD 1
72430 _ACEOF
72433 done
72440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72441 $as_echo_n "checking for strtof declaration... " >&6; }
72442 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72443 if ${glibcxx_cv_func_strtof_use+:} false; then :
72444 $as_echo_n "(cached) " >&6
72445 else
72448 ac_ext=cpp
72449 ac_cpp='$CXXCPP $CPPFLAGS'
72450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72455 /* end confdefs.h. */
72456 #include <stdlib.h>
72458 main ()
72460 strtof(0, 0);
72462 return 0;
72464 _ACEOF
72465 if ac_fn_cxx_try_compile "$LINENO"; then :
72466 glibcxx_cv_func_strtof_use=yes
72467 else
72468 glibcxx_cv_func_strtof_use=no
72470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72471 ac_ext=c
72472 ac_cpp='$CPP $CPPFLAGS'
72473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72482 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72483 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72484 for ac_func in strtof
72485 do :
72486 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72487 if test "x$ac_cv_func_strtof" = xyes; then :
72488 cat >>confdefs.h <<_ACEOF
72489 #define HAVE_STRTOF 1
72490 _ACEOF
72493 done
72500 CXXFLAGS="$ac_save_CXXFLAGS"
72503 *-vxworks)
72504 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
72506 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
72508 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
72510 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
72512 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
72514 $as_echo "#define HAVE_COSF 1" >>confdefs.h
72516 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
72518 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
72520 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
72522 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
72524 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
72526 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
72528 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
72530 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
72532 $as_echo "#define HAVE_POWF 1" >>confdefs.h
72534 $as_echo "#define HAVE_SINF 1" >>confdefs.h
72536 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
72538 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
72540 $as_echo "#define HAVE_TANF 1" >>confdefs.h
72542 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
72546 as_fn_error $? "No support for this host/target combination." "$LINENO" 5
72548 esac
72552 # At some point, we should differentiate between architectures
72553 # like x86, which have long double versions, and alpha/powerpc/etc.,
72554 # which don't. For the time being, punt.
72555 if test x"long_double_math_on_this_cpu" = x"yes"; then
72556 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
72558 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
72560 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
72562 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
72564 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
72566 $as_echo "#define HAVE_COSL 1" >>confdefs.h
72568 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
72570 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
72572 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
72574 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
72576 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
72578 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
72580 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
72582 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
72584 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
72586 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
72588 $as_echo "#define HAVE_POWL 1" >>confdefs.h
72590 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
72592 $as_echo "#define HAVE_SINL 1" >>confdefs.h
72594 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
72596 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
72598 $as_echo "#define HAVE_TANL 1" >>confdefs.h
72600 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
72605 # Check for _Unwind_GetIPInfo.
72608 # Check whether --with-system-libunwind was given.
72609 if test "${with_system_libunwind+set}" = set; then :
72610 withval=$with_system_libunwind;
72613 # If system-libunwind was not specifically set, pick a default setting.
72614 if test x$with_system_libunwind = x; then
72615 case ${target} in
72616 ia64-*-hpux*) with_system_libunwind=yes ;;
72617 *) with_system_libunwind=no ;;
72618 esac
72620 # Based on system-libunwind and target, do we have ipinfo?
72621 if test x$with_system_libunwind = xyes; then
72622 case ${target} in
72623 ia64-*-*) have_unwind_getipinfo=no ;;
72624 *) have_unwind_getipinfo=yes ;;
72625 esac
72626 else
72627 # Darwin before version 9 does not have _Unwind_GetIPInfo.
72629 case ${target} in
72630 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
72631 *) have_unwind_getipinfo=yes ;;
72632 esac
72636 if test x$have_unwind_getipinfo = xyes; then
72638 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
72643 # Check whether --enable-linux-futex was given.
72644 if test "${enable_linux_futex+set}" = set; then :
72645 enableval=$enable_linux_futex;
72646 case "$enableval" in
72647 yes|no|default) ;;
72648 *) as_fn_error $? "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
72649 esac
72651 else
72652 enable_linux_futex=default
72656 case "$target" in
72657 *-linux*)
72658 case "$enable_linux_futex" in
72659 default)
72660 # If headers don't have gettid/futex syscalls definition, then
72661 # default to no, otherwise there will be compile time failures.
72662 # Otherwise, default to yes. If we don't detect we are
72663 # compiled/linked against NPTL and not cross-compiling, check
72664 # if programs are run by default against NPTL and if not, issue
72665 # a warning.
72666 enable_linux_futex=no
72667 if test x$gcc_no_link = xyes; then
72668 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72671 /* end confdefs.h. */
72672 #include <sys/syscall.h>
72673 #include <unistd.h>
72674 int lk;
72676 main ()
72678 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
72680 return 0;
72682 _ACEOF
72683 if ac_fn_c_try_link "$LINENO"; then :
72684 save_LIBS="$LIBS"
72685 LIBS="-lpthread $LIBS"
72686 if test x$gcc_no_link = xyes; then
72687 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72690 /* end confdefs.h. */
72691 #ifndef _GNU_SOURCE
72692 #define _GNU_SOURCE 1
72693 #endif
72694 #include <pthread.h>
72695 pthread_t th; void *status;
72697 main ()
72699 pthread_tryjoin_np (th, &status);
72701 return 0;
72703 _ACEOF
72704 if ac_fn_c_try_link "$LINENO"; then :
72705 enable_linux_futex=yes
72706 else
72707 if test x$cross_compiling = xno; then
72708 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
72709 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
72710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
72711 If so, please configure with --disable-linux-futex" >&5
72712 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
72713 If so, please configure with --disable-linux-futex" >&2;}
72716 enable_linux_futex=yes
72718 rm -f core conftest.err conftest.$ac_objext \
72719 conftest$ac_exeext conftest.$ac_ext
72720 LIBS="$save_LIBS"
72722 rm -f core conftest.err conftest.$ac_objext \
72723 conftest$ac_exeext conftest.$ac_ext
72725 yes)
72726 if test x$gcc_no_link = xyes; then
72727 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72730 /* end confdefs.h. */
72731 #include <sys/syscall.h>
72732 #include <unistd.h>
72733 int lk;
72735 main ()
72737 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
72739 return 0;
72741 _ACEOF
72742 if ac_fn_c_try_link "$LINENO"; then :
72744 else
72745 as_fn_error $? "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
72747 rm -f core conftest.err conftest.$ac_objext \
72748 conftest$ac_exeext conftest.$ac_ext
72750 esac
72753 enable_linux_futex=no
72755 esac
72756 if test x$enable_linux_futex = xyes; then
72758 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
72765 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
72767 acx_cv_header_stdint=stddef.h
72768 acx_cv_header_stdint_kind="(already complete)"
72769 for i in stdint.h $inttype_headers; do
72770 unset ac_cv_type_uintptr_t
72771 unset ac_cv_type_uintmax_t
72772 unset ac_cv_type_int_least32_t
72773 unset ac_cv_type_int_fast32_t
72774 unset ac_cv_type_uint64_t
72775 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
72776 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
72777 #include <$i>
72779 if test "x$ac_cv_type_uintmax_t" = xyes; then :
72780 acx_cv_header_stdint=$i
72781 else
72782 continue
72785 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
72786 #include <$i>
72788 if test "x$ac_cv_type_uintptr_t" = xyes; then :
72790 else
72791 acx_cv_header_stdint_kind="(mostly complete)"
72794 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
72795 #include <$i>
72797 if test "x$ac_cv_type_int_least32_t" = xyes; then :
72799 else
72800 acx_cv_header_stdint_kind="(mostly complete)"
72803 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
72804 #include <$i>
72806 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
72808 else
72809 acx_cv_header_stdint_kind="(mostly complete)"
72812 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
72813 #include <$i>
72815 if test "x$ac_cv_type_uint64_t" = xyes; then :
72817 else
72818 acx_cv_header_stdint_kind="(lacks uint64_t)"
72821 break
72822 done
72823 if test "$acx_cv_header_stdint" = stddef.h; then
72824 acx_cv_header_stdint_kind="(lacks uintmax_t)"
72825 for i in stdint.h $inttype_headers; do
72826 unset ac_cv_type_uintptr_t
72827 unset ac_cv_type_uint32_t
72828 unset ac_cv_type_uint64_t
72829 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
72830 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
72831 #include <$i>
72833 if test "x$ac_cv_type_uint32_t" = xyes; then :
72834 acx_cv_header_stdint=$i
72835 else
72836 continue
72839 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
72840 #include <$i>
72842 if test "x$ac_cv_type_uint64_t" = xyes; then :
72846 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
72847 #include <$i>
72849 if test "x$ac_cv_type_uintptr_t" = xyes; then :
72853 break
72854 done
72856 if test "$acx_cv_header_stdint" = stddef.h; then
72857 acx_cv_header_stdint_kind="(u_intXX_t style)"
72858 for i in sys/types.h $inttype_headers; do
72859 unset ac_cv_type_u_int32_t
72860 unset ac_cv_type_u_int64_t
72861 $as_echo_n "looking for u_intXX_t types in $i, " >&6
72862 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
72863 #include <$i>
72865 if test "x$ac_cv_type_u_int32_t" = xyes; then :
72866 acx_cv_header_stdint=$i
72867 else
72868 continue
72871 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
72872 #include <$i>
72874 if test "x$ac_cv_type_u_int64_t" = xyes; then :
72878 break
72879 done
72881 if test "$acx_cv_header_stdint" = stddef.h; then
72882 acx_cv_header_stdint_kind="(using manual detection)"
72885 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
72886 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
72887 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
72888 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
72889 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
72891 # ----------------- Summarize what we found so far
72893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
72894 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
72896 case `$as_basename -- include/gstdint.h ||
72897 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
72898 Xinclude/gstdint.h : 'X\(//\)$' \| \
72899 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
72900 $as_echo X/include/gstdint.h |
72901 sed '/^.*\/\([^/][^/]*\)\/*$/{
72902 s//\1/
72905 /^X\/\(\/\/\)$/{
72906 s//\1/
72909 /^X\/\(\/\).*/{
72910 s//\1/
72913 s/.*/./; q'` in
72914 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
72915 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
72916 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
72917 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
72918 *) ;;
72919 esac
72921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
72922 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
72924 # ----------------- done included file, check C basic types --------
72926 # Lacking an uintptr_t? Test size of void *
72927 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
72928 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
72929 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
72930 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
72931 # This bug is HP SR number 8606223364.
72932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
72933 $as_echo_n "checking size of void *... " >&6; }
72934 if ${ac_cv_sizeof_void_p+:} false; then :
72935 $as_echo_n "(cached) " >&6
72936 else
72937 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
72939 else
72940 if test "$ac_cv_type_void_p" = yes; then
72941 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
72942 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
72943 as_fn_error 77 "cannot compute sizeof (void *)
72944 See \`config.log' for more details" "$LINENO" 5; }
72945 else
72946 ac_cv_sizeof_void_p=0
72951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
72952 $as_echo "$ac_cv_sizeof_void_p" >&6; }
72956 cat >>confdefs.h <<_ACEOF
72957 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
72958 _ACEOF
72961 esac
72963 # Lacking an uint64_t? Test size of long
72964 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
72965 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
72966 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
72967 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
72968 # This bug is HP SR number 8606223364.
72969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
72970 $as_echo_n "checking size of long... " >&6; }
72971 if ${ac_cv_sizeof_long+:} false; then :
72972 $as_echo_n "(cached) " >&6
72973 else
72974 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
72976 else
72977 if test "$ac_cv_type_long" = yes; then
72978 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
72979 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
72980 as_fn_error 77 "cannot compute sizeof (long)
72981 See \`config.log' for more details" "$LINENO" 5; }
72982 else
72983 ac_cv_sizeof_long=0
72988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
72989 $as_echo "$ac_cv_sizeof_long" >&6; }
72993 cat >>confdefs.h <<_ACEOF
72994 #define SIZEOF_LONG $ac_cv_sizeof_long
72995 _ACEOF
72998 esac
73000 if test $acx_cv_header_stdint = stddef.h; then
73001 # Lacking a good header? Test size of everything and deduce all types.
73002 # The cast to long int works around a bug in the HP C Compiler
73003 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
73004 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
73005 # This bug is HP SR number 8606223364.
73006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
73007 $as_echo_n "checking size of int... " >&6; }
73008 if ${ac_cv_sizeof_int+:} false; then :
73009 $as_echo_n "(cached) " >&6
73010 else
73011 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
73013 else
73014 if test "$ac_cv_type_int" = yes; then
73015 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
73016 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
73017 as_fn_error 77 "cannot compute sizeof (int)
73018 See \`config.log' for more details" "$LINENO" 5; }
73019 else
73020 ac_cv_sizeof_int=0
73025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
73026 $as_echo "$ac_cv_sizeof_int" >&6; }
73030 cat >>confdefs.h <<_ACEOF
73031 #define SIZEOF_INT $ac_cv_sizeof_int
73032 _ACEOF
73035 # The cast to long int works around a bug in the HP C Compiler
73036 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
73037 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
73038 # This bug is HP SR number 8606223364.
73039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
73040 $as_echo_n "checking size of short... " >&6; }
73041 if ${ac_cv_sizeof_short+:} false; then :
73042 $as_echo_n "(cached) " >&6
73043 else
73044 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
73046 else
73047 if test "$ac_cv_type_short" = yes; then
73048 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
73049 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
73050 as_fn_error 77 "cannot compute sizeof (short)
73051 See \`config.log' for more details" "$LINENO" 5; }
73052 else
73053 ac_cv_sizeof_short=0
73058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
73059 $as_echo "$ac_cv_sizeof_short" >&6; }
73063 cat >>confdefs.h <<_ACEOF
73064 #define SIZEOF_SHORT $ac_cv_sizeof_short
73065 _ACEOF
73068 # The cast to long int works around a bug in the HP C Compiler
73069 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
73070 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
73071 # This bug is HP SR number 8606223364.
73072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
73073 $as_echo_n "checking size of char... " >&6; }
73074 if ${ac_cv_sizeof_char+:} false; then :
73075 $as_echo_n "(cached) " >&6
73076 else
73077 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
73079 else
73080 if test "$ac_cv_type_char" = yes; then
73081 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
73082 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
73083 as_fn_error 77 "cannot compute sizeof (char)
73084 See \`config.log' for more details" "$LINENO" 5; }
73085 else
73086 ac_cv_sizeof_char=0
73091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
73092 $as_echo "$ac_cv_sizeof_char" >&6; }
73096 cat >>confdefs.h <<_ACEOF
73097 #define SIZEOF_CHAR $ac_cv_sizeof_char
73098 _ACEOF
73102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
73103 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
73104 case "$ac_cv_sizeof_char" in
73105 1) acx_cv_type_int8_t=char ;;
73106 *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
73107 esac
73108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
73109 $as_echo "$acx_cv_type_int8_t" >&6; }
73111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
73112 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
73113 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
73114 2:*) acx_cv_type_int16_t=int ;;
73115 *:2) acx_cv_type_int16_t=short ;;
73116 *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
73117 esac
73118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
73119 $as_echo "$acx_cv_type_int16_t" >&6; }
73121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
73122 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
73123 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
73124 4:*) acx_cv_type_int32_t=int ;;
73125 *:4) acx_cv_type_int32_t=long ;;
73126 *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
73127 esac
73128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
73129 $as_echo "$acx_cv_type_int32_t" >&6; }
73132 # These tests are here to make the output prettier
73134 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
73135 case "$ac_cv_sizeof_long" in
73136 8) acx_cv_type_int64_t=long ;;
73137 esac
73138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
73139 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
73140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
73141 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
73144 # Now we can use the above types
73146 if test "$ac_cv_type_uintptr_t" != yes; then
73147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
73148 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
73149 case $ac_cv_sizeof_void_p in
73150 2) acx_cv_type_intptr_t=int16_t ;;
73151 4) acx_cv_type_intptr_t=int32_t ;;
73152 8) acx_cv_type_intptr_t=int64_t ;;
73153 *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
73154 esac
73155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
73156 $as_echo "$acx_cv_type_intptr_t" >&6; }
73159 # ----------------- done all checks, emit header -------------
73160 ac_config_commands="$ac_config_commands include/gstdint.h"
73166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
73167 $as_echo_n "checking for GNU c++filt... " >&6; }
73168 if ${ac_cv_path_CXXFILT+:} false; then :
73169 $as_echo_n "(cached) " >&6
73170 else
73171 if test -z "$CXXFILT"; then
73172 ac_path_CXXFILT_found=false
73173 # Loop through the user's path and test for each of PROGNAME-LIST
73174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73175 for as_dir in $PATH
73177 IFS=$as_save_IFS
73178 test -z "$as_dir" && as_dir=.
73179 for ac_prog in c++filt gc++filt; do
73180 for ac_exec_ext in '' $ac_executable_extensions; do
73181 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
73182 as_fn_executable_p "$ac_path_CXXFILT" || continue
73183 # Check for GNU $ac_path_CXXFILT
73184 case `"$ac_path_CXXFILT" --version 2>&1` in
73185 *GNU*)
73186 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
73187 esac
73189 $ac_path_CXXFILT_found && break 3
73190 done
73191 done
73192 done
73193 IFS=$as_save_IFS
73194 if test -z "$ac_cv_path_CXXFILT"; then
73197 else
73198 ac_cv_path_CXXFILT=$CXXFILT
73202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
73203 $as_echo "$ac_cv_path_CXXFILT" >&6; }
73204 CXXFILT=$ac_cv_path_CXXFILT
73208 # Check whether --enable-symvers was given.
73209 if test "${enable_symvers+set}" = set; then :
73210 enableval=$enable_symvers;
73211 case "$enableval" in
73212 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
73213 *) as_fn_error $? "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
73214 esac
73216 else
73217 enable_symvers=yes
73222 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
73223 # don't know enough about $LD to do tricks...
73225 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
73226 # with extern "C++" in version scripts.
73229 # Turn a 'yes' into a suitable default.
73230 if test x$enable_symvers = xyes ; then
73231 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
73232 enable_symvers=no
73233 else
73234 if test $with_gnu_ld = yes ; then
73235 case ${target_os} in
73236 hpux*)
73237 enable_symvers=no ;;
73239 enable_symvers=gnu ;;
73240 esac
73241 else
73242 case ${target_os} in
73243 darwin*)
73244 enable_symvers=darwin ;;
73245 # Sun symbol versioning exists since Solaris 2.5.
73246 solaris2.[5-9]* | solaris2.1[0-9]*)
73247 # make_sunver.pl needs GNU c++filt to support extern "C++" in
73248 # version scripts, so disable symbol versioning if none can be
73249 # found.
73250 if test -z "$ac_cv_path_CXXFILT"; then
73251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
73252 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
73253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
73254 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
73255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
73256 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
73257 enable_symvers=no
73258 else
73259 enable_symvers=sun
73263 enable_symvers=no ;;
73264 esac
73269 # Check to see if 'darwin' or 'darwin-export' can win.
73270 if test x$enable_symvers = xdarwin-export ; then
73271 enable_symvers=darwin
73274 # Check if 'sun' was requested on non-Solaris 2 platforms.
73275 if test x$enable_symvers = xsun ; then
73276 case ${target_os} in
73277 solaris2*)
73278 # All fine.
73281 # Unlikely to work.
73282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
73283 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
73284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
73285 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
73286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
73287 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
73288 enable_symvers=no
73290 esac
73293 # Check to see if 'gnu' can win.
73294 if test $enable_symvers = gnu ||
73295 test $enable_symvers = gnu-versioned-namespace ||
73296 test $enable_symvers = sun; then
73297 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
73298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
73299 $as_echo_n "checking for shared libgcc... " >&6; }
73300 ac_save_CFLAGS="$CFLAGS"
73301 CFLAGS=' -lgcc_s'
73302 if test x$gcc_no_link = xyes; then
73303 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
73305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73306 /* end confdefs.h. */
73309 main ()
73311 return 0;
73313 return 0;
73315 _ACEOF
73316 if ac_fn_c_try_link "$LINENO"; then :
73317 glibcxx_shared_libgcc=yes
73318 else
73319 glibcxx_shared_libgcc=no
73321 rm -f core conftest.err conftest.$ac_objext \
73322 conftest$ac_exeext conftest.$ac_ext
73323 CFLAGS="$ac_save_CFLAGS"
73324 if test $glibcxx_shared_libgcc = no; then
73325 cat > conftest.c <<EOF
73326 int main (void) { return 0; }
73328 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
73329 -shared -shared-libgcc -o conftest.so \
73330 conftest.c -v 2>&1 >/dev/null \
73331 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
73332 rm -f conftest.c conftest.so
73333 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
73334 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
73335 if test x$gcc_no_link = xyes; then
73336 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
73338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73339 /* end confdefs.h. */
73342 main ()
73344 return 0;
73346 return 0;
73348 _ACEOF
73349 if ac_fn_c_try_link "$LINENO"; then :
73350 glibcxx_shared_libgcc=yes
73352 rm -f core conftest.err conftest.$ac_objext \
73353 conftest$ac_exeext conftest.$ac_ext
73354 CFLAGS="$ac_save_CFLAGS"
73357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
73358 $as_echo "$glibcxx_shared_libgcc" >&6; }
73360 # For GNU ld, we need at least this version. The format is described in
73361 # GLIBCXX_CHECK_LINKER_FEATURES above.
73362 glibcxx_min_gnu_ld_version=21400
73364 # If no shared libgcc, can't win.
73365 if test $glibcxx_shared_libgcc != yes; then
73366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
73367 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
73368 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
73369 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
73370 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
73371 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
73372 enable_symvers=no
73373 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
73374 : All interesting versions of Sun ld support sun style symbol versioning.
73375 elif test $with_gnu_ld != yes ; then
73376 # just fail for now
73377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
73378 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
73379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
73380 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
73381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
73382 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
73383 enable_symvers=no
73384 elif test $glibcxx_ld_is_gold = yes ; then
73385 : All versions of gold support symbol versioning.
73386 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
73387 # The right tools, the right setup, but too old. Fallbacks?
73388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
73389 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
73390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
73391 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
73392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
73393 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
73394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
73395 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
73396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
73397 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
73398 enable_symvers=no
73402 # For libtool versioning info, format is CURRENT:REVISION:AGE
73403 libtool_VERSION=6:28:0
73405 # Everything parsed; figure out what files and settings to use.
73406 case $enable_symvers in
73408 SYMVER_FILE=config/abi/pre/none.ver
73410 gnu)
73411 SYMVER_FILE=config/abi/pre/gnu.ver
73413 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
73416 gnu-versioned-namespace)
73417 libtool_VERSION=8:0:0
73418 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
73420 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
73423 darwin)
73424 SYMVER_FILE=config/abi/pre/gnu.ver
73426 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
73429 sun)
73430 SYMVER_FILE=config/abi/pre/gnu.ver
73432 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
73435 esac
73437 if test x$enable_symvers != xno ; then
73439 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
73443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
73444 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
73445 if ${glibcxx_cv_have_as_symver_directive+:} false; then :
73446 $as_echo_n "(cached) " >&6
73447 else
73449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73450 /* end confdefs.h. */
73451 void foo (void); __asm (".symver foo, bar@SYMVER");
73453 main ()
73457 return 0;
73459 _ACEOF
73460 if ac_fn_c_try_compile "$LINENO"; then :
73461 glibcxx_cv_have_as_symver_directive=yes
73462 else
73463 glibcxx_cv_have_as_symver_directive=no
73465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
73468 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
73469 if test $glibcxx_cv_have_as_symver_directive = yes; then
73471 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
73482 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
73483 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
73485 if test $enable_symvers != no ; then
73486 case ${target_os} in
73487 # The Solaris 2 runtime linker doesn't support the GNU extension of
73488 # binding the same symbol to different versions
73489 solaris2*)
73491 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
73494 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
73497 esac
73500 # Now, set up compatibility support, if any.
73501 # In addition, need this to deal with std::size_t mangling in
73502 # src/compatibility.cc. In a perfect world, could use
73503 # typeid(std::size_t).name()[0] to do direct substitution.
73504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
73505 $as_echo_n "checking for size_t as unsigned int... " >&6; }
73506 ac_save_CFLAGS="$CFLAGS"
73507 CFLAGS="-Werror"
73508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73509 /* end confdefs.h. */
73512 main ()
73514 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
73516 return 0;
73518 _ACEOF
73519 if ac_fn_c_try_compile "$LINENO"; then :
73520 glibcxx_size_t_is_i=yes
73521 else
73522 glibcxx_size_t_is_i=no
73524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73525 CFLAGS=$ac_save_CFLAGS
73526 if test "$glibcxx_size_t_is_i" = yes; then
73528 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
73531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
73532 $as_echo "$glibcxx_size_t_is_i" >&6; }
73534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
73535 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
73536 ac_save_CFLAGS="$CFLAGS"
73537 CFLAGS="-Werror"
73538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73539 /* end confdefs.h. */
73542 main ()
73544 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
73546 return 0;
73548 _ACEOF
73549 if ac_fn_c_try_compile "$LINENO"; then :
73550 glibcxx_ptrdiff_t_is_i=yes
73551 else
73552 glibcxx_ptrdiff_t_is_i=no
73554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73555 CFLAGS=$ac_save_CFLAGS
73556 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
73558 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
73561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
73562 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
73567 # Check whether --enable-libstdcxx-visibility was given.
73568 if test "${enable_libstdcxx_visibility+set}" = set; then :
73569 enableval=$enable_libstdcxx_visibility;
73570 case "$enableval" in
73571 yes|no) ;;
73572 *) as_fn_error $? "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
73573 esac
73575 else
73576 enable_libstdcxx_visibility=yes
73581 if test x$enable_libstdcxx_visibility = xyes ; then
73582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
73583 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
73584 if ${glibcxx_cv_have_attribute_visibility+:} false; then :
73585 $as_echo_n "(cached) " >&6
73586 else
73588 save_CFLAGS="$CFLAGS"
73589 CFLAGS="$CFLAGS -Werror"
73590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73591 /* end confdefs.h. */
73592 void __attribute__((visibility("hidden"))) foo(void) { }
73594 main ()
73598 return 0;
73600 _ACEOF
73601 if ac_fn_c_try_compile "$LINENO"; then :
73602 glibcxx_cv_have_attribute_visibility=yes
73603 else
73604 glibcxx_cv_have_attribute_visibility=no
73606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73607 CFLAGS="$save_CFLAGS"
73609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
73610 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
73611 if test $glibcxx_cv_have_attribute_visibility = no; then
73612 enable_libstdcxx_visibility=no
73617 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
73618 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
73622 # Check whether --enable-libstdcxx-dual-abi was given.
73623 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
73624 enableval=$enable_libstdcxx_dual_abi;
73625 case "$enableval" in
73626 yes|no) ;;
73627 *) as_fn_error $? "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
73628 esac
73630 else
73631 enable_libstdcxx_dual_abi=yes
73635 if test x$enable_symvers = xgnu-versioned-namespace; then
73636 # gnu-versioned-namespace is incompatible with the dual ABI.
73637 enable_libstdcxx_dual_abi="no"
73639 if test x"$enable_libstdcxx_dual_abi" != xyes; then
73640 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
73641 $as_echo "$as_me: dual ABI is disabled" >&6;}
73642 default_libstdcxx_abi="gcc4-compatible"
73647 if test x$enable_libstdcxx_dual_abi = xyes; then
73648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
73649 $as_echo_n "checking for default std::string ABI to use... " >&6; }
73651 # Check whether --with-default-libstdcxx-abi was given.
73652 if test "${with_default_libstdcxx_abi+set}" = set; then :
73653 withval=$with_default_libstdcxx_abi; case "$withval" in
73654 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
73655 new|cxx11) default_libstdcxx_abi="new" ;;
73656 c++*|gnu++*) as_fn_error $? "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
73657 *) as_fn_error $? "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
73658 esac
73660 else
73661 default_libstdcxx_abi="new"
73664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
73665 $as_echo "${default_libstdcxx_abi}" >&6; }
73667 if test $default_libstdcxx_abi = "new"; then
73668 glibcxx_cxx11_abi=1
73669 glibcxx_cxx98_abi=0
73670 else
73671 glibcxx_cxx11_abi=0
73672 glibcxx_cxx98_abi=1
73678 ac_ldbl_compat=no
73679 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
73680 case "$target" in
73681 powerpc*-*-linux* | \
73682 sparc*-*-linux* | \
73683 s390*-*-linux* | \
73684 alpha*-*-linux*)
73685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73686 /* end confdefs.h. */
73689 main ()
73692 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
73693 #error no need for long double compatibility
73694 #endif
73697 return 0;
73699 _ACEOF
73700 if ac_fn_c_try_compile "$LINENO"; then :
73701 ac_ldbl_compat=yes
73702 else
73703 ac_ldbl_compat=no
73705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73706 if test "$ac_ldbl_compat" = yes; then
73708 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
73710 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
73711 case "$target" in
73712 powerpc*-*-linux*)
73713 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute" ;;
73714 esac
73716 esac
73720 # Check if assembler supports disabling hardware capability support.
73722 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
73724 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
73725 # with a different meaning.
73726 case ${target_os} in
73727 solaris2*)
73728 ac_save_CFLAGS="$CFLAGS"
73729 CFLAGS="$CFLAGS -Wa,-nH"
73731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
73732 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
73733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73734 /* end confdefs.h. */
73737 main ()
73739 return 0;
73741 return 0;
73743 _ACEOF
73744 if ac_fn_c_try_compile "$LINENO"; then :
73745 ac_hwcap_flags=yes
73746 else
73747 ac_hwcap_flags=no
73749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73750 if test "$ac_hwcap_flags" = "yes"; then
73751 HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
73753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
73754 $as_echo "$ac_hwcap_flags" >&6; }
73756 CFLAGS="$ac_save_CFLAGS"
73758 esac
73763 # Check if assembler supports rdrand opcode.
73765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
73766 $as_echo_n "checking for rdrand support in assembler... " >&6; }
73767 if ${ac_cv_x86_rdrand+:} false; then :
73768 $as_echo_n "(cached) " >&6
73769 else
73771 ac_cv_x86_rdrand=no
73772 case "$target" in
73773 i?86-*-* | \
73774 x86_64-*-*)
73775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73776 /* end confdefs.h. */
73779 main ()
73781 asm("rdrand %eax");
73783 return 0;
73785 _ACEOF
73786 if ac_fn_c_try_compile "$LINENO"; then :
73787 ac_cv_x86_rdrand=yes
73788 else
73789 ac_cv_x86_rdrand=no
73791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73792 esac
73796 if test $ac_cv_x86_rdrand = yes; then
73798 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
73801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
73802 $as_echo "$ac_cv_x86_rdrand" >&6; }
73804 # Check if assembler supports rdseed opcode.
73806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdseed support in assembler" >&5
73807 $as_echo_n "checking for rdseed support in assembler... " >&6; }
73808 if ${ac_cv_x86_rdseed+:} false; then :
73809 $as_echo_n "(cached) " >&6
73810 else
73812 ac_cv_x86_rdseed=no
73813 case "$target" in
73814 i?86-*-* | \
73815 x86_64-*-*)
73816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73817 /* end confdefs.h. */
73820 main ()
73822 asm("rdseed %eax");
73824 return 0;
73826 _ACEOF
73827 if ac_fn_c_try_compile "$LINENO"; then :
73828 ac_cv_x86_rdseed=yes
73829 else
73830 ac_cv_x86_rdseed=no
73832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73833 esac
73837 if test $ac_cv_x86_rdseed = yes; then
73839 $as_echo "#define _GLIBCXX_X86_RDSEED 1" >>confdefs.h
73842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdseed" >&5
73843 $as_echo "$ac_cv_x86_rdseed" >&6; }
73846 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
73848 # Do checks for resource limit functions.
73850 setrlimit_have_headers=yes
73851 for ac_header in unistd.h sys/time.h sys/resource.h
73852 do :
73853 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
73854 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
73855 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
73856 cat >>confdefs.h <<_ACEOF
73857 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
73858 _ACEOF
73860 else
73861 setrlimit_have_headers=no
73864 done
73866 # If don't have the headers, then we can't run the tests now, and we
73867 # won't be seeing any of these during testsuite compilation.
73868 if test $setrlimit_have_headers = yes; then
73869 # Can't do these in a loop, else the resulting syntax is wrong.
73871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
73872 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
73873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73874 /* end confdefs.h. */
73875 #include <unistd.h>
73876 #include <sys/time.h>
73877 #include <sys/resource.h>
73880 main ()
73882 int f = RLIMIT_DATA ;
73884 return 0;
73886 _ACEOF
73887 if ac_fn_c_try_compile "$LINENO"; then :
73888 glibcxx_mresult=1
73889 else
73890 glibcxx_mresult=0
73892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73894 cat >>confdefs.h <<_ACEOF
73895 #define HAVE_LIMIT_DATA $glibcxx_mresult
73896 _ACEOF
73898 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
73899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
73900 $as_echo "$res" >&6; }
73903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
73904 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
73905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73906 /* end confdefs.h. */
73907 #include <unistd.h>
73908 #include <sys/time.h>
73909 #include <sys/resource.h>
73912 main ()
73914 int f = RLIMIT_RSS ;
73916 return 0;
73918 _ACEOF
73919 if ac_fn_c_try_compile "$LINENO"; then :
73920 glibcxx_mresult=1
73921 else
73922 glibcxx_mresult=0
73924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73926 cat >>confdefs.h <<_ACEOF
73927 #define HAVE_LIMIT_RSS $glibcxx_mresult
73928 _ACEOF
73930 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
73931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
73932 $as_echo "$res" >&6; }
73935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
73936 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
73937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73938 /* end confdefs.h. */
73939 #include <unistd.h>
73940 #include <sys/time.h>
73941 #include <sys/resource.h>
73944 main ()
73946 int f = RLIMIT_VMEM ;
73948 return 0;
73950 _ACEOF
73951 if ac_fn_c_try_compile "$LINENO"; then :
73952 glibcxx_mresult=1
73953 else
73954 glibcxx_mresult=0
73956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73958 cat >>confdefs.h <<_ACEOF
73959 #define HAVE_LIMIT_VMEM $glibcxx_mresult
73960 _ACEOF
73962 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
73963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
73964 $as_echo "$res" >&6; }
73967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
73968 $as_echo_n "checking for RLIMIT_AS... " >&6; }
73969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73970 /* end confdefs.h. */
73971 #include <unistd.h>
73972 #include <sys/time.h>
73973 #include <sys/resource.h>
73976 main ()
73978 int f = RLIMIT_AS ;
73980 return 0;
73982 _ACEOF
73983 if ac_fn_c_try_compile "$LINENO"; then :
73984 glibcxx_mresult=1
73985 else
73986 glibcxx_mresult=0
73988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73990 cat >>confdefs.h <<_ACEOF
73991 #define HAVE_LIMIT_AS $glibcxx_mresult
73992 _ACEOF
73994 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
73995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
73996 $as_echo "$res" >&6; }
73999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
74000 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
74001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74002 /* end confdefs.h. */
74003 #include <unistd.h>
74004 #include <sys/time.h>
74005 #include <sys/resource.h>
74008 main ()
74010 int f = RLIMIT_FSIZE ;
74012 return 0;
74014 _ACEOF
74015 if ac_fn_c_try_compile "$LINENO"; then :
74016 glibcxx_mresult=1
74017 else
74018 glibcxx_mresult=0
74020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74022 cat >>confdefs.h <<_ACEOF
74023 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
74024 _ACEOF
74026 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
74027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
74028 $as_echo "$res" >&6; }
74031 # Check for rlimit, setrlimit.
74032 if ${glibcxx_cv_setrlimit+:} false; then :
74033 $as_echo_n "(cached) " >&6
74034 else
74036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74037 /* end confdefs.h. */
74038 #include <unistd.h>
74039 #include <sys/time.h>
74040 #include <sys/resource.h>
74043 main ()
74045 struct rlimit r;
74046 setrlimit(0, &r);
74048 return 0;
74050 _ACEOF
74051 if ac_fn_c_try_compile "$LINENO"; then :
74052 glibcxx_cv_setrlimit=yes
74053 else
74054 glibcxx_cv_setrlimit=no
74056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
74063 $as_echo_n "checking for testsuite resource limits support... " >&6; }
74064 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
74065 ac_res_limits=yes
74067 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
74069 else
74070 ac_res_limits=no
74072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
74073 $as_echo "$ac_res_limits" >&6; }
74076 if $GLIBCXX_IS_NATIVE ; then
74077 # Look for setenv, so that extended locale tests can be performed.
74079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
74080 $as_echo_n "checking for setenv declaration... " >&6; }
74081 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
74082 if ${glibcxx_cv_func_setenv_use+:} false; then :
74083 $as_echo_n "(cached) " >&6
74084 else
74087 ac_ext=cpp
74088 ac_cpp='$CXXCPP $CPPFLAGS'
74089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74094 /* end confdefs.h. */
74095 #include <stdlib.h>
74097 main ()
74099 setenv(0, 0, 0);
74101 return 0;
74103 _ACEOF
74104 if ac_fn_cxx_try_compile "$LINENO"; then :
74105 glibcxx_cv_func_setenv_use=yes
74106 else
74107 glibcxx_cv_func_setenv_use=no
74109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74110 ac_ext=c
74111 ac_cpp='$CPP $CPPFLAGS'
74112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
74121 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
74122 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
74123 for ac_func in setenv
74124 do :
74125 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
74126 if test "x$ac_cv_func_setenv" = xyes; then :
74127 cat >>confdefs.h <<_ACEOF
74128 #define HAVE_SETENV 1
74129 _ACEOF
74132 done
74138 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
74139 test $enable_symvers != no; then
74140 case "$host" in
74141 *-*-cygwin*)
74142 enable_abi_check=no ;;
74144 enable_abi_check=yes ;;
74145 esac
74146 else
74147 # Only build this as native, since automake does not understand
74148 # CXX_FOR_BUILD.
74149 enable_abi_check=no
74152 # Export file names for ABI checking.
74153 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
74155 baseline_subdir_switch="$abi_baseline_subdir_switch"
74159 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
74161 # Check whether --enable-libstdcxx-threads was given.
74162 if test "${enable_libstdcxx_threads+set}" = set; then :
74163 enableval=$enable_libstdcxx_threads;
74164 case "$enableval" in
74165 yes|no) ;;
74166 *) as_fn_error $? "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
74167 esac
74169 else
74170 enable_libstdcxx_threads=auto
74175 if test x$enable_libstdcxx_threads = xauto ||
74176 test x$enable_libstdcxx_threads = xyes; then
74179 ac_ext=cpp
74180 ac_cpp='$CXXCPP $CPPFLAGS'
74181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74186 ac_save_CXXFLAGS="$CXXFLAGS"
74187 CXXFLAGS="$CXXFLAGS -fno-exceptions \
74188 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
74190 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
74191 case $target_thread_file in
74192 posix)
74193 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
74194 esac
74196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
74197 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
74199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74200 /* end confdefs.h. */
74201 #include <unistd.h>
74203 main ()
74206 // In case of POSIX threads check _POSIX_TIMEOUTS.
74207 #if (defined(_PTHREADS) \
74208 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
74209 #error
74210 #endif
74213 return 0;
74215 _ACEOF
74216 if ac_fn_cxx_try_compile "$LINENO"; then :
74217 ac_gthread_use_mutex_timedlock=1
74218 else
74219 ac_gthread_use_mutex_timedlock=0
74221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74224 cat >>confdefs.h <<_ACEOF
74225 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
74226 _ACEOF
74229 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
74230 else res_mutex_timedlock=no ; fi
74231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
74232 $as_echo "$res_mutex_timedlock" >&6; }
74234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
74235 $as_echo_n "checking for gthreads library... " >&6; }
74237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74238 /* end confdefs.h. */
74239 #include "gthr.h"
74241 main ()
74244 #ifndef __GTHREADS_CXX0X
74245 #error
74246 #endif
74249 return 0;
74251 _ACEOF
74252 if ac_fn_cxx_try_compile "$LINENO"; then :
74253 ac_has_gthreads=yes
74254 else
74255 ac_has_gthreads=no
74257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74258 else
74259 ac_has_gthreads=no
74262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
74263 $as_echo "$ac_has_gthreads" >&6; }
74265 if test x"$ac_has_gthreads" = x"yes"; then
74267 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
74270 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
74271 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
74273 if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
74275 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
74281 CXXFLAGS="$ac_save_CXXFLAGS"
74282 ac_ext=c
74283 ac_cpp='$CPP $CPPFLAGS'
74284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74290 # For Filesystem TS.
74291 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
74292 do :
74293 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
74294 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
74295 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
74296 cat >>confdefs.h <<_ACEOF
74297 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
74298 _ACEOF
74302 done
74305 # Check whether --enable-libstdcxx-filesystem-ts was given.
74306 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
74307 enableval=$enable_libstdcxx_filesystem_ts;
74308 case "$enableval" in
74309 yes|no|auto) ;;
74310 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
74311 esac
74313 else
74314 enable_libstdcxx_filesystem_ts=auto
74319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
74320 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
74321 if test x"$ac_cv_header_dirent_h" != x"yes"; then
74322 enable_libstdcxx_filesystem_ts=no
74324 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
74325 case "${target_os}" in
74326 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
74327 enable_libstdcxx_filesystem_ts=yes
74329 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
74330 enable_libstdcxx_filesystem_ts=yes
74332 rtems*)
74333 enable_libstdcxx_filesystem_ts=yes
74335 solaris*)
74336 enable_libstdcxx_filesystem_ts=yes
74339 enable_libstdcxx_filesystem_ts=no
74341 esac
74343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
74344 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
74347 if test $enable_libstdcxx_filesystem_ts = yes; then
74349 ac_ext=cpp
74350 ac_cpp='$CXXCPP $CPPFLAGS'
74351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74355 ac_save_CXXFLAGS="$CXXFLAGS"
74356 CXXFLAGS="$CXXFLAGS -fno-exceptions"
74357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
74358 $as_echo_n "checking for struct dirent.d_type... " >&6; }
74359 if ${glibcxx_cv_dirent_d_type+:} false; then :
74360 $as_echo_n "(cached) " >&6
74361 else
74362 if test x$gcc_no_link = xyes; then
74363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74364 /* end confdefs.h. */
74365 #include <dirent.h>
74367 main ()
74370 struct dirent d;
74371 if (sizeof d.d_type) return 0;
74374 return 0;
74376 _ACEOF
74377 if ac_fn_cxx_try_compile "$LINENO"; then :
74378 glibcxx_cv_dirent_d_type=yes
74379 else
74380 glibcxx_cv_dirent_d_type=no
74382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74383 else
74384 if test x$gcc_no_link = xyes; then
74385 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74388 /* end confdefs.h. */
74389 #include <dirent.h>
74391 main ()
74394 struct dirent d;
74395 if (sizeof d.d_type) return 0;
74398 return 0;
74400 _ACEOF
74401 if ac_fn_cxx_try_link "$LINENO"; then :
74402 glibcxx_cv_dirent_d_type=yes
74403 else
74404 glibcxx_cv_dirent_d_type=no
74406 rm -f core conftest.err conftest.$ac_objext \
74407 conftest$ac_exeext conftest.$ac_ext
74412 if test $glibcxx_cv_dirent_d_type = yes; then
74414 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
74417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
74418 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
74419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
74420 $as_echo_n "checking for realpath... " >&6; }
74421 if ${glibcxx_cv_realpath+:} false; then :
74422 $as_echo_n "(cached) " >&6
74423 else
74424 if test x$gcc_no_link = xyes; then
74425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74426 /* end confdefs.h. */
74428 #include <limits.h>
74429 #include <stdlib.h>
74430 #include <unistd.h>
74433 main ()
74436 #if _XOPEN_VERSION < 500
74437 #error
74438 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
74439 char *tmp = realpath((const char*)NULL, (char*)NULL);
74440 #else
74441 #error
74442 #endif
74445 return 0;
74447 _ACEOF
74448 if ac_fn_cxx_try_compile "$LINENO"; then :
74449 glibcxx_cv_realpath=yes
74450 else
74451 glibcxx_cv_realpath=no
74453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74454 else
74455 if test x$gcc_no_link = xyes; then
74456 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74459 /* end confdefs.h. */
74461 #include <limits.h>
74462 #include <stdlib.h>
74463 #include <unistd.h>
74466 main ()
74469 #if _XOPEN_VERSION < 500
74470 #error
74471 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
74472 char *tmp = realpath((const char*)NULL, (char*)NULL);
74473 #else
74474 #error
74475 #endif
74478 return 0;
74480 _ACEOF
74481 if ac_fn_cxx_try_link "$LINENO"; then :
74482 glibcxx_cv_realpath=yes
74483 else
74484 glibcxx_cv_realpath=no
74486 rm -f core conftest.err conftest.$ac_objext \
74487 conftest$ac_exeext conftest.$ac_ext
74492 if test $glibcxx_cv_realpath = yes; then
74494 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
74497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
74498 $as_echo "$glibcxx_cv_realpath" >&6; }
74499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
74500 $as_echo_n "checking for utimensat... " >&6; }
74501 if ${glibcxx_cv_utimensat+:} false; then :
74502 $as_echo_n "(cached) " >&6
74503 else
74504 if test x$gcc_no_link = xyes; then
74505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74506 /* end confdefs.h. */
74508 #include <fcntl.h>
74509 #include <sys/stat.h>
74512 main ()
74515 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
74516 int i = utimensat(AT_FDCWD, "path", ts, 0);
74519 return 0;
74521 _ACEOF
74522 if ac_fn_cxx_try_compile "$LINENO"; then :
74523 glibcxx_cv_utimensat=yes
74524 else
74525 glibcxx_cv_utimensat=no
74527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74528 else
74529 if test x$gcc_no_link = xyes; then
74530 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74533 /* end confdefs.h. */
74535 #include <fcntl.h>
74536 #include <sys/stat.h>
74539 main ()
74542 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
74543 int i = utimensat(AT_FDCWD, "path", ts, 0);
74546 return 0;
74548 _ACEOF
74549 if ac_fn_cxx_try_link "$LINENO"; then :
74550 glibcxx_cv_utimensat=yes
74551 else
74552 glibcxx_cv_utimensat=no
74554 rm -f core conftest.err conftest.$ac_objext \
74555 conftest$ac_exeext conftest.$ac_ext
74560 if test $glibcxx_cv_utimensat = yes; then
74562 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
74565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
74566 $as_echo "$glibcxx_cv_utimensat" >&6; }
74567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utime" >&5
74568 $as_echo_n "checking for utime... " >&6; }
74569 if ${glibcxx_cv_utime+:} false; then :
74570 $as_echo_n "(cached) " >&6
74571 else
74572 if test x$gcc_no_link = xyes; then
74573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74574 /* end confdefs.h. */
74576 #include <utime.h>
74579 main ()
74582 struct utimbuf t = { 1, 1 };
74583 int i = utime("path", &t);
74586 return 0;
74588 _ACEOF
74589 if ac_fn_cxx_try_compile "$LINENO"; then :
74590 glibcxx_cv_utime=yes
74591 else
74592 glibcxx_cv_utime=no
74594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74595 else
74596 if test x$gcc_no_link = xyes; then
74597 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74600 /* end confdefs.h. */
74602 #include <utime.h>
74605 main ()
74608 struct utimbuf t = { 1, 1 };
74609 int i = utime("path", &t);
74612 return 0;
74614 _ACEOF
74615 if ac_fn_cxx_try_link "$LINENO"; then :
74616 glibcxx_cv_utime=yes
74617 else
74618 glibcxx_cv_utime=no
74620 rm -f core conftest.err conftest.$ac_objext \
74621 conftest$ac_exeext conftest.$ac_ext
74626 if test $glibcxx_cv_utime = yes; then
74628 $as_echo "#define _GLIBCXX_USE_UTIME 1" >>confdefs.h
74631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utime" >&5
74632 $as_echo "$glibcxx_cv_utime" >&6; }
74633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lstat" >&5
74634 $as_echo_n "checking for lstat... " >&6; }
74635 if ${glibcxx_cv_lstat+:} false; then :
74636 $as_echo_n "(cached) " >&6
74637 else
74638 if test x$gcc_no_link = xyes; then
74639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74640 /* end confdefs.h. */
74641 #include <sys/stat.h>
74643 main ()
74646 struct stat st;
74647 int i = lstat("path", &st);
74650 return 0;
74652 _ACEOF
74653 if ac_fn_cxx_try_compile "$LINENO"; then :
74654 glibcxx_cv_lstat=yes
74655 else
74656 glibcxx_cv_lstat=no
74658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74659 else
74660 if test x$gcc_no_link = xyes; then
74661 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74664 /* end confdefs.h. */
74665 #include <sys/stat.h>
74667 main ()
74670 struct stat st;
74671 int i = lstat("path", &st);
74674 return 0;
74676 _ACEOF
74677 if ac_fn_cxx_try_link "$LINENO"; then :
74678 glibcxx_cv_lstat=yes
74679 else
74680 glibcxx_cv_lstat=no
74682 rm -f core conftest.err conftest.$ac_objext \
74683 conftest$ac_exeext conftest.$ac_ext
74688 if test $glibcxx_cv_lstat = yes; then
74690 $as_echo "#define _GLIBCXX_USE_LSTAT 1" >>confdefs.h
74693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_lstat" >&5
74694 $as_echo "$glibcxx_cv_lstat" >&6; }
74695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
74696 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
74697 if ${glibcxx_cv_st_mtim+:} false; then :
74698 $as_echo_n "(cached) " >&6
74699 else
74700 if test x$gcc_no_link = xyes; then
74701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74702 /* end confdefs.h. */
74703 #include <sys/stat.h>
74705 main ()
74708 struct stat st;
74709 return st.st_mtim.tv_nsec;
74712 return 0;
74714 _ACEOF
74715 if ac_fn_cxx_try_compile "$LINENO"; then :
74716 glibcxx_cv_st_mtim=yes
74717 else
74718 glibcxx_cv_st_mtim=no
74720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74721 else
74722 if test x$gcc_no_link = xyes; then
74723 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74726 /* end confdefs.h. */
74727 #include <sys/stat.h>
74729 main ()
74732 struct stat st;
74733 return st.st_mtim.tv_nsec;
74736 return 0;
74738 _ACEOF
74739 if ac_fn_cxx_try_link "$LINENO"; then :
74740 glibcxx_cv_st_mtim=yes
74741 else
74742 glibcxx_cv_st_mtim=no
74744 rm -f core conftest.err conftest.$ac_objext \
74745 conftest$ac_exeext conftest.$ac_ext
74750 if test $glibcxx_cv_st_mtim = yes; then
74752 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
74755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
74756 $as_echo "$glibcxx_cv_st_mtim" >&6; }
74757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
74758 $as_echo_n "checking for fchmod... " >&6; }
74759 if ${glibcxx_cv_fchmod+:} false; then :
74760 $as_echo_n "(cached) " >&6
74761 else
74762 if test x$gcc_no_link = xyes; then
74763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74764 /* end confdefs.h. */
74765 #include <sys/stat.h>
74767 main ()
74769 fchmod(1, S_IWUSR);
74771 return 0;
74773 _ACEOF
74774 if ac_fn_cxx_try_compile "$LINENO"; then :
74775 glibcxx_cv_fchmod=yes
74776 else
74777 glibcxx_cv_fchmod=no
74779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74780 else
74781 if test x$gcc_no_link = xyes; then
74782 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74785 /* end confdefs.h. */
74786 #include <sys/stat.h>
74788 main ()
74790 fchmod(1, S_IWUSR);
74792 return 0;
74794 _ACEOF
74795 if ac_fn_cxx_try_link "$LINENO"; then :
74796 glibcxx_cv_fchmod=yes
74797 else
74798 glibcxx_cv_fchmod=no
74800 rm -f core conftest.err conftest.$ac_objext \
74801 conftest$ac_exeext conftest.$ac_ext
74806 if test $glibcxx_cv_fchmod = yes; then
74808 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
74811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
74812 $as_echo "$glibcxx_cv_fchmod" >&6; }
74813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
74814 $as_echo_n "checking for fchmodat... " >&6; }
74815 if ${glibcxx_cv_fchmodat+:} false; then :
74816 $as_echo_n "(cached) " >&6
74817 else
74818 if test x$gcc_no_link = xyes; then
74819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74820 /* end confdefs.h. */
74822 #include <fcntl.h>
74823 #include <sys/stat.h>
74826 main ()
74828 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
74830 return 0;
74832 _ACEOF
74833 if ac_fn_cxx_try_compile "$LINENO"; then :
74834 glibcxx_cv_fchmodat=yes
74835 else
74836 glibcxx_cv_fchmodat=no
74838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74839 else
74840 if test x$gcc_no_link = xyes; then
74841 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74844 /* end confdefs.h. */
74846 #include <fcntl.h>
74847 #include <sys/stat.h>
74850 main ()
74852 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
74854 return 0;
74856 _ACEOF
74857 if ac_fn_cxx_try_link "$LINENO"; then :
74858 glibcxx_cv_fchmodat=yes
74859 else
74860 glibcxx_cv_fchmodat=no
74862 rm -f core conftest.err conftest.$ac_objext \
74863 conftest$ac_exeext conftest.$ac_ext
74868 if test $glibcxx_cv_fchmodat = yes; then
74870 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
74873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
74874 $as_echo "$glibcxx_cv_fchmodat" >&6; }
74875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
74876 $as_echo_n "checking for sendfile that can copy files... " >&6; }
74877 if ${glibcxx_cv_sendfile+:} false; then :
74878 $as_echo_n "(cached) " >&6
74879 else
74880 case "${target_os}" in
74881 gnu* | linux* | solaris*)
74882 if test x$gcc_no_link = xyes; then
74883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74884 /* end confdefs.h. */
74885 #include <sys/sendfile.h>
74887 main ()
74889 sendfile(1, 2, (off_t*)0, sizeof 1);
74891 return 0;
74893 _ACEOF
74894 if ac_fn_cxx_try_compile "$LINENO"; then :
74895 glibcxx_cv_sendfile=yes
74896 else
74897 glibcxx_cv_sendfile=no
74899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74900 else
74901 if test x$gcc_no_link = xyes; then
74902 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74905 /* end confdefs.h. */
74906 #include <sys/sendfile.h>
74908 main ()
74910 sendfile(1, 2, (off_t*)0, sizeof 1);
74912 return 0;
74914 _ACEOF
74915 if ac_fn_cxx_try_link "$LINENO"; then :
74916 glibcxx_cv_sendfile=yes
74917 else
74918 glibcxx_cv_sendfile=no
74920 rm -f core conftest.err conftest.$ac_objext \
74921 conftest$ac_exeext conftest.$ac_ext
74925 glibcxx_cv_sendfile=no
74927 esac
74931 if test $glibcxx_cv_sendfile = yes; then
74933 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
74936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
74937 $as_echo "$glibcxx_cv_sendfile" >&6; }
74938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
74939 $as_echo_n "checking for link... " >&6; }
74940 if ${glibcxx_cv_link+:} false; then :
74941 $as_echo_n "(cached) " >&6
74942 else
74943 if test x$gcc_no_link = xyes; then
74944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74945 /* end confdefs.h. */
74946 #include <unistd.h>
74948 main ()
74950 link("", "");
74952 return 0;
74954 _ACEOF
74955 if ac_fn_cxx_try_compile "$LINENO"; then :
74956 glibcxx_cv_link=yes
74957 else
74958 glibcxx_cv_link=no
74960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74961 else
74962 if test x$gcc_no_link = xyes; then
74963 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74966 /* end confdefs.h. */
74967 #include <unistd.h>
74969 main ()
74971 link("", "");
74973 return 0;
74975 _ACEOF
74976 if ac_fn_cxx_try_link "$LINENO"; then :
74977 glibcxx_cv_link=yes
74978 else
74979 glibcxx_cv_link=no
74981 rm -f core conftest.err conftest.$ac_objext \
74982 conftest$ac_exeext conftest.$ac_ext
74987 if test $glibcxx_cv_link = yes; then
74989 $as_echo "#define HAVE_LINK 1" >>confdefs.h
74992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_link" >&5
74993 $as_echo "$glibcxx_cv_link" >&6; }
74994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readlink" >&5
74995 $as_echo_n "checking for readlink... " >&6; }
74996 if ${glibcxx_cv_readlink+:} false; then :
74997 $as_echo_n "(cached) " >&6
74998 else
74999 if test x$gcc_no_link = xyes; then
75000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75001 /* end confdefs.h. */
75002 #include <unistd.h>
75004 main ()
75006 char buf[32]; readlink("", buf, sizeof(buf));
75008 return 0;
75010 _ACEOF
75011 if ac_fn_cxx_try_compile "$LINENO"; then :
75012 glibcxx_cv_readlink=yes
75013 else
75014 glibcxx_cv_readlink=no
75016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75017 else
75018 if test x$gcc_no_link = xyes; then
75019 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75022 /* end confdefs.h. */
75023 #include <unistd.h>
75025 main ()
75027 char buf[32]; readlink("", buf, sizeof(buf));
75029 return 0;
75031 _ACEOF
75032 if ac_fn_cxx_try_link "$LINENO"; then :
75033 glibcxx_cv_readlink=yes
75034 else
75035 glibcxx_cv_readlink=no
75037 rm -f core conftest.err conftest.$ac_objext \
75038 conftest$ac_exeext conftest.$ac_ext
75043 if test $glibcxx_cv_readlink = yes; then
75045 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
75048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_readlink" >&5
75049 $as_echo "$glibcxx_cv_readlink" >&6; }
75050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
75051 $as_echo_n "checking for symlink... " >&6; }
75052 if ${glibcxx_cv_symlink+:} false; then :
75053 $as_echo_n "(cached) " >&6
75054 else
75055 if test x$gcc_no_link = xyes; then
75056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75057 /* end confdefs.h. */
75058 #include <unistd.h>
75060 main ()
75062 symlink("", "");
75064 return 0;
75066 _ACEOF
75067 if ac_fn_cxx_try_compile "$LINENO"; then :
75068 glibcxx_cv_symlink=yes
75069 else
75070 glibcxx_cv_symlink=no
75072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75073 else
75074 if test x$gcc_no_link = xyes; then
75075 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75078 /* end confdefs.h. */
75079 #include <unistd.h>
75081 main ()
75083 symlink("", "");
75085 return 0;
75087 _ACEOF
75088 if ac_fn_cxx_try_link "$LINENO"; then :
75089 glibcxx_cv_symlink=yes
75090 else
75091 glibcxx_cv_symlink=no
75093 rm -f core conftest.err conftest.$ac_objext \
75094 conftest$ac_exeext conftest.$ac_ext
75099 if test $glibcxx_cv_symlink = yes; then
75101 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
75104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_symlink" >&5
75105 $as_echo "$glibcxx_cv_symlink" >&6; }
75106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncate" >&5
75107 $as_echo_n "checking for truncate... " >&6; }
75108 if ${glibcxx_cv_truncate+:} false; then :
75109 $as_echo_n "(cached) " >&6
75110 else
75111 if test x$gcc_no_link = xyes; then
75112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75113 /* end confdefs.h. */
75114 #include <unistd.h>
75116 main ()
75118 truncate("", 99);
75120 return 0;
75122 _ACEOF
75123 if ac_fn_cxx_try_compile "$LINENO"; then :
75124 glibcxx_cv_truncate=yes
75125 else
75126 glibcxx_cv_truncate=no
75128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75129 else
75130 if test x$gcc_no_link = xyes; then
75131 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75134 /* end confdefs.h. */
75135 #include <unistd.h>
75137 main ()
75139 truncate("", 99);
75141 return 0;
75143 _ACEOF
75144 if ac_fn_cxx_try_link "$LINENO"; then :
75145 glibcxx_cv_truncate=yes
75146 else
75147 glibcxx_cv_truncate=no
75149 rm -f core conftest.err conftest.$ac_objext \
75150 conftest$ac_exeext conftest.$ac_ext
75155 if test $glibcxx_cv_truncate = yes; then
75157 $as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
75160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_truncate" >&5
75161 $as_echo "$glibcxx_cv_truncate" >&6; }
75162 CXXFLAGS="$ac_save_CXXFLAGS"
75163 ac_ext=c
75164 ac_cpp='$CPP $CPPFLAGS'
75165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75172 # For Networking TS.
75173 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
75174 do :
75175 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
75176 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
75177 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
75178 cat >>confdefs.h <<_ACEOF
75179 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
75180 _ACEOF
75184 done
75187 # For Transactional Memory TS
75189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
75190 $as_echo_n "checking how size_t is mangled... " >&6; }
75191 if ${glibcxx_cv_size_t_mangling+:} false; then :
75192 $as_echo_n "(cached) " >&6
75193 else
75195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75196 /* end confdefs.h. */
75199 main ()
75201 extern __SIZE_TYPE__ x; extern unsigned long x;
75203 return 0;
75205 _ACEOF
75206 if ac_fn_c_try_compile "$LINENO"; then :
75207 glibcxx_cv_size_t_mangling=m
75208 else
75210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75211 /* end confdefs.h. */
75214 main ()
75216 extern __SIZE_TYPE__ x; extern unsigned int x;
75218 return 0;
75220 _ACEOF
75221 if ac_fn_c_try_compile "$LINENO"; then :
75222 glibcxx_cv_size_t_mangling=j
75223 else
75225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75226 /* end confdefs.h. */
75229 main ()
75231 extern __SIZE_TYPE__ x; extern unsigned long long x;
75233 return 0;
75235 _ACEOF
75236 if ac_fn_c_try_compile "$LINENO"; then :
75237 glibcxx_cv_size_t_mangling=y
75238 else
75240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75241 /* end confdefs.h. */
75244 main ()
75246 extern __SIZE_TYPE__ x; extern unsigned short x;
75248 return 0;
75250 _ACEOF
75251 if ac_fn_c_try_compile "$LINENO"; then :
75252 glibcxx_cv_size_t_mangling=t
75253 else
75255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75256 /* end confdefs.h. */
75259 main ()
75261 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
75263 return 0;
75265 _ACEOF
75266 if ac_fn_c_try_compile "$LINENO"; then :
75267 glibcxx_cv_size_t_mangling=u6uint20
75268 else
75269 glibcxx_cv_size_t_mangling=x
75271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
75287 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
75288 if test $glibcxx_cv_size_t_mangling = x; then
75289 as_fn_error $? "Unknown underlying type for size_t" "$LINENO" 5
75292 cat >>confdefs.h <<_ACEOF
75293 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
75294 _ACEOF
75298 # Check which release added std::exception_ptr for the target
75300 if test $enable_symvers != no; then
75301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
75302 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
75303 case ${target} in
75304 aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
75305 m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
75306 ac_exception_ptr_since_gcc46=yes
75309 # If the value of this macro changes then we will need to hardcode
75310 # yes/no here for additional targets based on the original value.
75311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75312 /* end confdefs.h. */
75315 main ()
75318 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
75319 # error atomic int not always lock free
75320 #endif
75323 return 0;
75325 _ACEOF
75326 if ac_fn_c_try_compile "$LINENO"; then :
75327 ac_exception_ptr_since_gcc46=yes
75328 else
75329 ac_exception_ptr_since_gcc46=no
75331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75333 esac
75334 if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
75336 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
75338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
75339 $as_echo "4.6.0" >&6; }
75340 else
75341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
75342 $as_echo "7.1.0" >&6; }
75347 # Define documentation rules conditionally.
75349 # See if makeinfo has been installed and is modern enough
75350 # that we can use it.
75352 # Extract the first word of "makeinfo", so it can be a program name with args.
75353 set dummy makeinfo; ac_word=$2
75354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
75355 $as_echo_n "checking for $ac_word... " >&6; }
75356 if ${ac_cv_prog_MAKEINFO+:} false; then :
75357 $as_echo_n "(cached) " >&6
75358 else
75359 if test -n "$MAKEINFO"; then
75360 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
75361 else
75362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
75363 for as_dir in $PATH
75365 IFS=$as_save_IFS
75366 test -z "$as_dir" && as_dir=.
75367 for ac_exec_ext in '' $ac_executable_extensions; do
75368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
75369 ac_cv_prog_MAKEINFO="makeinfo"
75370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
75371 break 2
75373 done
75374 done
75375 IFS=$as_save_IFS
75379 MAKEINFO=$ac_cv_prog_MAKEINFO
75380 if test -n "$MAKEINFO"; then
75381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
75382 $as_echo "$MAKEINFO" >&6; }
75383 else
75384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
75385 $as_echo "no" >&6; }
75389 if test -n "$MAKEINFO"; then
75390 # Found it, now check the version.
75391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
75392 $as_echo_n "checking for modern makeinfo... " >&6; }
75393 if ${gcc_cv_prog_makeinfo_modern+:} false; then :
75394 $as_echo_n "(cached) " >&6
75395 else
75396 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
75397 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
75399 case $ac_prog_version in
75400 '') gcc_cv_prog_makeinfo_modern=no;;
75401 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
75402 *) gcc_cv_prog_makeinfo_modern=no;;
75403 esac
75406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
75407 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
75408 else
75409 gcc_cv_prog_makeinfo_modern=no
75411 if test $gcc_cv_prog_makeinfo_modern = no; then
75412 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
75415 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
75416 BUILD_INFO_TRUE=
75417 BUILD_INFO_FALSE='#'
75418 else
75419 BUILD_INFO_TRUE='#'
75420 BUILD_INFO_FALSE=
75424 # Check for doxygen
75425 # Extract the first word of "doxygen", so it can be a program name with args.
75426 set dummy doxygen; ac_word=$2
75427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
75428 $as_echo_n "checking for $ac_word... " >&6; }
75429 if ${ac_cv_prog_DOXYGEN+:} false; then :
75430 $as_echo_n "(cached) " >&6
75431 else
75432 if test -n "$DOXYGEN"; then
75433 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
75434 else
75435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
75436 for as_dir in $PATH
75438 IFS=$as_save_IFS
75439 test -z "$as_dir" && as_dir=.
75440 for ac_exec_ext in '' $ac_executable_extensions; do
75441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
75442 ac_cv_prog_DOXYGEN="yes"
75443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
75444 break 2
75446 done
75447 done
75448 IFS=$as_save_IFS
75450 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
75453 DOXYGEN=$ac_cv_prog_DOXYGEN
75454 if test -n "$DOXYGEN"; then
75455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
75456 $as_echo "$DOXYGEN" >&6; }
75457 else
75458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
75459 $as_echo "no" >&6; }
75463 # Extract the first word of "dot", so it can be a program name with args.
75464 set dummy dot; ac_word=$2
75465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
75466 $as_echo_n "checking for $ac_word... " >&6; }
75467 if ${ac_cv_prog_DOT+:} false; then :
75468 $as_echo_n "(cached) " >&6
75469 else
75470 if test -n "$DOT"; then
75471 ac_cv_prog_DOT="$DOT" # Let the user override the test.
75472 else
75473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
75474 for as_dir in $PATH
75476 IFS=$as_save_IFS
75477 test -z "$as_dir" && as_dir=.
75478 for ac_exec_ext in '' $ac_executable_extensions; do
75479 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
75480 ac_cv_prog_DOT="yes"
75481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
75482 break 2
75484 done
75485 done
75486 IFS=$as_save_IFS
75488 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
75491 DOT=$ac_cv_prog_DOT
75492 if test -n "$DOT"; then
75493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
75494 $as_echo "$DOT" >&6; }
75495 else
75496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
75497 $as_echo "no" >&6; }
75502 # Check for docbook
75503 # Extract the first word of "xmlcatalog", so it can be a program name with args.
75504 set dummy xmlcatalog; ac_word=$2
75505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
75506 $as_echo_n "checking for $ac_word... " >&6; }
75507 if ${ac_cv_prog_XMLCATALOG+:} false; then :
75508 $as_echo_n "(cached) " >&6
75509 else
75510 if test -n "$XMLCATALOG"; then
75511 ac_cv_prog_XMLCATALOG="$XMLCATALOG" # Let the user override the test.
75512 else
75513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
75514 for as_dir in $PATH
75516 IFS=$as_save_IFS
75517 test -z "$as_dir" && as_dir=.
75518 for ac_exec_ext in '' $ac_executable_extensions; do
75519 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
75520 ac_cv_prog_XMLCATALOG="yes"
75521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
75522 break 2
75524 done
75525 done
75526 IFS=$as_save_IFS
75528 test -z "$ac_cv_prog_XMLCATALOG" && ac_cv_prog_XMLCATALOG="no"
75531 XMLCATALOG=$ac_cv_prog_XMLCATALOG
75532 if test -n "$XMLCATALOG"; then
75533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLCATALOG" >&5
75534 $as_echo "$XMLCATALOG" >&6; }
75535 else
75536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
75537 $as_echo "no" >&6; }
75541 # Extract the first word of "xsltproc", so it can be a program name with args.
75542 set dummy xsltproc; ac_word=$2
75543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
75544 $as_echo_n "checking for $ac_word... " >&6; }
75545 if ${ac_cv_prog_XSLTPROC+:} false; then :
75546 $as_echo_n "(cached) " >&6
75547 else
75548 if test -n "$XSLTPROC"; then
75549 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
75550 else
75551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
75552 for as_dir in $PATH
75554 IFS=$as_save_IFS
75555 test -z "$as_dir" && as_dir=.
75556 for ac_exec_ext in '' $ac_executable_extensions; do
75557 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
75558 ac_cv_prog_XSLTPROC="yes"
75559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
75560 break 2
75562 done
75563 done
75564 IFS=$as_save_IFS
75566 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
75569 XSLTPROC=$ac_cv_prog_XSLTPROC
75570 if test -n "$XSLTPROC"; then
75571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
75572 $as_echo "$XSLTPROC" >&6; }
75573 else
75574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
75575 $as_echo "no" >&6; }
75579 # Extract the first word of "xmllint", so it can be a program name with args.
75580 set dummy xmllint; ac_word=$2
75581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
75582 $as_echo_n "checking for $ac_word... " >&6; }
75583 if ${ac_cv_prog_XMLLINT+:} false; then :
75584 $as_echo_n "(cached) " >&6
75585 else
75586 if test -n "$XMLLINT"; then
75587 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
75588 else
75589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
75590 for as_dir in $PATH
75592 IFS=$as_save_IFS
75593 test -z "$as_dir" && as_dir=.
75594 for ac_exec_ext in '' $ac_executable_extensions; do
75595 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
75596 ac_cv_prog_XMLLINT="yes"
75597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
75598 break 2
75600 done
75601 done
75602 IFS=$as_save_IFS
75604 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
75607 XMLLINT=$ac_cv_prog_XMLLINT
75608 if test -n "$XMLLINT"; then
75609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
75610 $as_echo "$XMLLINT" >&6; }
75611 else
75612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
75613 $as_echo "no" >&6; }
75619 glibcxx_docbook_url=http://docbook.sourceforge.net/release/xsl-ns/current/
75621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
75622 $as_echo_n "checking for local stylesheet directory... " >&6; }
75623 glibcxx_local_stylesheets=no
75624 if test x${XMLCATALOG} = xyes && xsl_style_dir=`xmlcatalog "" $glibcxx_docbook_url 2>/dev/null`
75625 then
75626 XSL_STYLE_DIR=`echo $xsl_style_dir | sed -n 's;^file://;;p'`
75627 glibcxx_local_stylesheets=yes
75628 else
75629 for dir in \
75630 /usr/share/sgml/docbook/xsl-ns-stylesheets \
75631 /usr/share/xml/docbook/stylesheet/docbook-xsl-ns \
75632 /usr/share/xml/docbook/stylesheet/nwalsh5/current \
75633 /usr/share/xml/docbook/stylesheet/nwalsh/current
75635 if test -d $dir; then
75636 glibcxx_local_stylesheets=yes
75637 XSL_STYLE_DIR=$dir
75638 break
75640 done
75642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
75643 $as_echo "$glibcxx_local_stylesheets" >&6; }
75645 if test x"$glibcxx_local_stylesheets" = x"yes"; then
75647 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
75648 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
75650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
75651 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
75652 glibcxx_stylesheets=no
75653 if test x${XMLCATALOG} = xno || xmlcatalog "" $glibcxx_docbook_url/xhtml/docbook.xsl >/dev/null 2>&1; then
75654 if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude $glibcxx_docbook_url/xhtml/docbook.xsl - 2>/dev/null; then
75655 glibcxx_stylesheets=yes
75658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
75659 $as_echo "$glibcxx_stylesheets" >&6; }
75661 else
75662 glibcxx_stylesheets=no
75665 # Check for epub3 dependencies.
75666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
75667 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
75668 glibcxx_epub_stylesheets=no
75669 if test x"$glibcxx_local_stylesheets" = x"yes"; then
75670 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
75671 glibcxx_epub_stylesheets=yes
75674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
75675 $as_echo "$glibcxx_epub_stylesheets" >&6; }
75676 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
75677 BUILD_EPUB_TRUE=
75678 BUILD_EPUB_FALSE='#'
75679 else
75680 BUILD_EPUB_TRUE='#'
75681 BUILD_EPUB_FALSE=
75687 # Check for xml/html dependencies.
75688 if test $ac_cv_prog_DOXYGEN = "yes" &&
75689 test $ac_cv_prog_DOT = "yes" &&
75690 test $ac_cv_prog_XSLTPROC = "yes" &&
75691 test $ac_cv_prog_XMLLINT = "yes" &&
75692 test $glibcxx_stylesheets = "yes"; then
75693 BUILD_XML_TRUE=
75694 BUILD_XML_FALSE='#'
75695 else
75696 BUILD_XML_TRUE='#'
75697 BUILD_XML_FALSE=
75701 if test $ac_cv_prog_DOXYGEN = "yes" &&
75702 test $ac_cv_prog_DOT = "yes" &&
75703 test $ac_cv_prog_XSLTPROC = "yes" &&
75704 test $ac_cv_prog_XMLLINT = "yes" &&
75705 test $glibcxx_stylesheets = "yes"; then
75706 BUILD_HTML_TRUE=
75707 BUILD_HTML_FALSE='#'
75708 else
75709 BUILD_HTML_TRUE='#'
75710 BUILD_HTML_FALSE=
75714 # Check for man dependencies.
75715 if test $ac_cv_prog_DOXYGEN = "yes" &&
75716 test $ac_cv_prog_DOT = "yes"; then
75717 BUILD_MAN_TRUE=
75718 BUILD_MAN_FALSE='#'
75719 else
75720 BUILD_MAN_TRUE='#'
75721 BUILD_MAN_FALSE=
75725 # Check for pdf dependencies.
75726 # Extract the first word of "dblatex", so it can be a program name with args.
75727 set dummy dblatex; ac_word=$2
75728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
75729 $as_echo_n "checking for $ac_word... " >&6; }
75730 if ${ac_cv_prog_DBLATEX+:} false; then :
75731 $as_echo_n "(cached) " >&6
75732 else
75733 if test -n "$DBLATEX"; then
75734 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
75735 else
75736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
75737 for as_dir in $PATH
75739 IFS=$as_save_IFS
75740 test -z "$as_dir" && as_dir=.
75741 for ac_exec_ext in '' $ac_executable_extensions; do
75742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
75743 ac_cv_prog_DBLATEX="yes"
75744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
75745 break 2
75747 done
75748 done
75749 IFS=$as_save_IFS
75751 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
75754 DBLATEX=$ac_cv_prog_DBLATEX
75755 if test -n "$DBLATEX"; then
75756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
75757 $as_echo "$DBLATEX" >&6; }
75758 else
75759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
75760 $as_echo "no" >&6; }
75764 # Extract the first word of "pdflatex", so it can be a program name with args.
75765 set dummy pdflatex; ac_word=$2
75766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
75767 $as_echo_n "checking for $ac_word... " >&6; }
75768 if ${ac_cv_prog_PDFLATEX+:} false; then :
75769 $as_echo_n "(cached) " >&6
75770 else
75771 if test -n "$PDFLATEX"; then
75772 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
75773 else
75774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
75775 for as_dir in $PATH
75777 IFS=$as_save_IFS
75778 test -z "$as_dir" && as_dir=.
75779 for ac_exec_ext in '' $ac_executable_extensions; do
75780 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
75781 ac_cv_prog_PDFLATEX="yes"
75782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
75783 break 2
75785 done
75786 done
75787 IFS=$as_save_IFS
75789 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
75792 PDFLATEX=$ac_cv_prog_PDFLATEX
75793 if test -n "$PDFLATEX"; then
75794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
75795 $as_echo "$PDFLATEX" >&6; }
75796 else
75797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
75798 $as_echo "no" >&6; }
75802 if test $ac_cv_prog_DOXYGEN = "yes" &&
75803 test $ac_cv_prog_DOT = "yes" &&
75804 test $ac_cv_prog_XSLTPROC = "yes" &&
75805 test $ac_cv_prog_XMLLINT = "yes" &&
75806 test $ac_cv_prog_DBLATEX = "yes" &&
75807 test $ac_cv_prog_PDFLATEX = "yes"; then
75808 BUILD_PDF_TRUE=
75809 BUILD_PDF_FALSE='#'
75810 else
75811 BUILD_PDF_TRUE='#'
75812 BUILD_PDF_FALSE=
75816 case "$build" in
75817 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
75818 * ) glibcxx_include_dir_notparallel=no ;;
75819 esac
75820 if test $glibcxx_include_dir_notparallel = "yes"; then
75821 INCLUDE_DIR_NOTPARALLEL_TRUE=
75822 INCLUDE_DIR_NOTPARALLEL_FALSE='#'
75823 else
75824 INCLUDE_DIR_NOTPARALLEL_TRUE='#'
75825 INCLUDE_DIR_NOTPARALLEL_FALSE=
75829 # Propagate the target-specific source directories through the build chain.
75830 ATOMICITY_SRCDIR=config/${atomicity_dir}
75831 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
75832 ATOMIC_FLAGS=${atomic_flags}
75833 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
75834 OS_INC_SRCDIR=config/${os_include_dir}
75835 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
75836 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
75837 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
75838 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
75850 # Add CET specific flags if Intel CET is enabled.
75851 # Check whether --enable-cet was given.
75852 if test "${enable_cet+set}" = set; then :
75853 enableval=$enable_cet;
75854 case "$enableval" in
75855 yes|no|auto) ;;
75856 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
75857 esac
75859 else
75860 enable_cet=no
75864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
75865 $as_echo_n "checking for CET support... " >&6; }
75867 case "$host" in
75868 i[34567]86-*-linux* | x86_64-*-linux*)
75869 case "$enable_cet" in
75870 auto)
75871 # Check if target supports multi-byte NOPs
75872 # and if assembler supports CET insn.
75873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75874 /* end confdefs.h. */
75877 main ()
75880 #if !defined(__SSE2__)
75881 #error target does not support multi-byte NOPs
75882 #else
75883 asm ("setssbsy");
75884 #endif
75887 return 0;
75889 _ACEOF
75890 if ac_fn_c_try_compile "$LINENO"; then :
75891 enable_cet=yes
75892 else
75893 enable_cet=no
75895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75897 yes)
75898 # Check if assembler supports CET.
75899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75900 /* end confdefs.h. */
75903 main ()
75905 asm ("setssbsy");
75907 return 0;
75909 _ACEOF
75910 if ac_fn_c_try_compile "$LINENO"; then :
75912 else
75913 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
75915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75917 esac
75920 enable_cet=no
75922 esac
75923 if test x$enable_cet = xyes; then
75924 CET_FLAGS="-fcf-protection -mshstk"
75925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
75926 $as_echo "yes" >&6; }
75927 else
75928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
75929 $as_echo "no" >&6; }
75932 EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
75933 EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
75937 # Determine cross-compile flags and AM_CONDITIONALs.
75938 #AC_SUBST(GLIBCXX_IS_NATIVE)
75939 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
75940 if test $is_hosted = yes; then
75941 GLIBCXX_HOSTED_TRUE=
75942 GLIBCXX_HOSTED_FALSE='#'
75943 else
75944 GLIBCXX_HOSTED_TRUE='#'
75945 GLIBCXX_HOSTED_FALSE=
75949 if test $enable_libstdcxx_pch = yes; then
75950 GLIBCXX_BUILD_PCH_TRUE=
75951 GLIBCXX_BUILD_PCH_FALSE='#'
75952 else
75953 GLIBCXX_BUILD_PCH_TRUE='#'
75954 GLIBCXX_BUILD_PCH_FALSE=
75958 if test $enable_float128 = yes; then
75959 ENABLE_FLOAT128_TRUE=
75960 ENABLE_FLOAT128_FALSE='#'
75961 else
75962 ENABLE_FLOAT128_TRUE='#'
75963 ENABLE_FLOAT128_FALSE=
75967 if test $enable_libstdcxx_allocator_flag = new; then
75968 ENABLE_ALLOCATOR_NEW_TRUE=
75969 ENABLE_ALLOCATOR_NEW_FALSE='#'
75970 else
75971 ENABLE_ALLOCATOR_NEW_TRUE='#'
75972 ENABLE_ALLOCATOR_NEW_FALSE=
75976 if test $enable_cheaders = c; then
75977 GLIBCXX_C_HEADERS_C_TRUE=
75978 GLIBCXX_C_HEADERS_C_FALSE='#'
75979 else
75980 GLIBCXX_C_HEADERS_C_TRUE='#'
75981 GLIBCXX_C_HEADERS_C_FALSE=
75985 if test $enable_cheaders = c_std; then
75986 GLIBCXX_C_HEADERS_C_STD_TRUE=
75987 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
75988 else
75989 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
75990 GLIBCXX_C_HEADERS_C_STD_FALSE=
75994 if test $enable_cheaders = c_global; then
75995 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
75996 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
75997 else
75998 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
75999 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
76003 if test $c_compatibility = yes; then
76004 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
76005 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
76006 else
76007 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
76008 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
76012 if test $enable_libstdcxx_debug = yes; then
76013 GLIBCXX_BUILD_DEBUG_TRUE=
76014 GLIBCXX_BUILD_DEBUG_FALSE='#'
76015 else
76016 GLIBCXX_BUILD_DEBUG_TRUE='#'
76017 GLIBCXX_BUILD_DEBUG_FALSE=
76021 if test $enable_extern_template = yes; then
76022 ENABLE_EXTERN_TEMPLATE_TRUE=
76023 ENABLE_EXTERN_TEMPLATE_FALSE='#'
76024 else
76025 ENABLE_EXTERN_TEMPLATE_TRUE='#'
76026 ENABLE_EXTERN_TEMPLATE_FALSE=
76030 if test $python_mod_dir != no; then
76031 ENABLE_PYTHONDIR_TRUE=
76032 ENABLE_PYTHONDIR_FALSE='#'
76033 else
76034 ENABLE_PYTHONDIR_TRUE='#'
76035 ENABLE_PYTHONDIR_FALSE=
76039 if test $enable_werror = yes; then
76040 ENABLE_WERROR_TRUE=
76041 ENABLE_WERROR_FALSE='#'
76042 else
76043 ENABLE_WERROR_TRUE='#'
76044 ENABLE_WERROR_FALSE=
76048 if test $enable_vtable_verify = yes; then
76049 ENABLE_VTABLE_VERIFY_TRUE=
76050 ENABLE_VTABLE_VERIFY_FALSE='#'
76051 else
76052 ENABLE_VTABLE_VERIFY_TRUE='#'
76053 ENABLE_VTABLE_VERIFY_FALSE=
76057 if test $enable_symvers != no; then
76058 ENABLE_SYMVERS_TRUE=
76059 ENABLE_SYMVERS_FALSE='#'
76060 else
76061 ENABLE_SYMVERS_TRUE='#'
76062 ENABLE_SYMVERS_FALSE=
76066 if test $enable_symvers = gnu; then
76067 ENABLE_SYMVERS_GNU_TRUE=
76068 ENABLE_SYMVERS_GNU_FALSE='#'
76069 else
76070 ENABLE_SYMVERS_GNU_TRUE='#'
76071 ENABLE_SYMVERS_GNU_FALSE=
76075 if test $enable_symvers = gnu-versioned-namespace; then
76076 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
76077 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
76078 else
76079 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
76080 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
76084 if test $enable_symvers = darwin; then
76085 ENABLE_SYMVERS_DARWIN_TRUE=
76086 ENABLE_SYMVERS_DARWIN_FALSE='#'
76087 else
76088 ENABLE_SYMVERS_DARWIN_TRUE='#'
76089 ENABLE_SYMVERS_DARWIN_FALSE=
76093 if test $enable_symvers = sun; then
76094 ENABLE_SYMVERS_SUN_TRUE=
76095 ENABLE_SYMVERS_SUN_FALSE='#'
76096 else
76097 ENABLE_SYMVERS_SUN_TRUE='#'
76098 ENABLE_SYMVERS_SUN_FALSE=
76102 if test $enable_libstdcxx_visibility = yes; then
76103 ENABLE_VISIBILITY_TRUE=
76104 ENABLE_VISIBILITY_FALSE='#'
76105 else
76106 ENABLE_VISIBILITY_TRUE='#'
76107 ENABLE_VISIBILITY_FALSE=
76111 if test $enable_libstdcxx_dual_abi = yes; then
76112 ENABLE_DUAL_ABI_TRUE=
76113 ENABLE_DUAL_ABI_FALSE='#'
76114 else
76115 ENABLE_DUAL_ABI_TRUE='#'
76116 ENABLE_DUAL_ABI_FALSE=
76120 if test $glibcxx_cxx11_abi = 1; then
76121 ENABLE_CXX11_ABI_TRUE=
76122 ENABLE_CXX11_ABI_FALSE='#'
76123 else
76124 ENABLE_CXX11_ABI_TRUE='#'
76125 ENABLE_CXX11_ABI_FALSE=
76129 if test $ac_ldbl_compat = yes; then
76130 GLIBCXX_LDBL_COMPAT_TRUE=
76131 GLIBCXX_LDBL_COMPAT_FALSE='#'
76132 else
76133 GLIBCXX_LDBL_COMPAT_TRUE='#'
76134 GLIBCXX_LDBL_COMPAT_FALSE=
76138 if test $enable_libstdcxx_filesystem_ts = yes; then
76139 ENABLE_FILESYSTEM_TS_TRUE=
76140 ENABLE_FILESYSTEM_TS_FALSE='#'
76141 else
76142 ENABLE_FILESYSTEM_TS_TRUE='#'
76143 ENABLE_FILESYSTEM_TS_FALSE=
76149 cat >confcache <<\_ACEOF
76150 # This file is a shell script that caches the results of configure
76151 # tests run on this system so they can be shared between configure
76152 # scripts and configure runs, see configure's option --config-cache.
76153 # It is not useful on other systems. If it contains results you don't
76154 # want to keep, you may remove or edit it.
76156 # config.status only pays attention to the cache file if you give it
76157 # the --recheck option to rerun configure.
76159 # `ac_cv_env_foo' variables (set or unset) will be overridden when
76160 # loading this file, other *unset* `ac_cv_foo' will be assigned the
76161 # following values.
76163 _ACEOF
76165 # The following way of writing the cache mishandles newlines in values,
76166 # but we know of no workaround that is simple, portable, and efficient.
76167 # So, we kill variables containing newlines.
76168 # Ultrix sh set writes to stderr and can't be redirected directly,
76169 # and sets the high bit in the cache file unless we assign to the vars.
76171 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
76172 eval ac_val=\$$ac_var
76173 case $ac_val in #(
76174 *${as_nl}*)
76175 case $ac_var in #(
76176 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
76177 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
76178 esac
76179 case $ac_var in #(
76180 _ | IFS | as_nl) ;; #(
76181 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
76182 *) { eval $ac_var=; unset $ac_var;} ;;
76183 esac ;;
76184 esac
76185 done
76187 (set) 2>&1 |
76188 case $as_nl`(ac_space=' '; set) 2>&1` in #(
76189 *${as_nl}ac_space=\ *)
76190 # `set' does not quote correctly, so add quotes: double-quote
76191 # substitution turns \\\\ into \\, and sed turns \\ into \.
76192 sed -n \
76193 "s/'/'\\\\''/g;
76194 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
76195 ;; #(
76197 # `set' quotes correctly as required by POSIX, so do not add quotes.
76198 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
76200 esac |
76201 sort
76203 sed '
76204 /^ac_cv_env_/b end
76205 t clear
76206 :clear
76207 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
76208 t end
76209 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
76210 :end' >>confcache
76211 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
76212 if test -w "$cache_file"; then
76213 if test "x$cache_file" != "x/dev/null"; then
76214 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
76215 $as_echo "$as_me: updating cache $cache_file" >&6;}
76216 if test ! -f "$cache_file" || test -h "$cache_file"; then
76217 cat confcache >"$cache_file"
76218 else
76219 case $cache_file in #(
76220 */* | ?:*)
76221 mv -f confcache "$cache_file"$$ &&
76222 mv -f "$cache_file"$$ "$cache_file" ;; #(
76224 mv -f confcache "$cache_file" ;;
76225 esac
76228 else
76229 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
76230 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
76233 rm -f confcache
76235 if test ${multilib} = yes; then
76236 multilib_arg="--enable-multilib"
76237 else
76238 multilib_arg=
76241 # Export all the install information.
76243 glibcxx_toolexecdir=no
76244 glibcxx_toolexeclibdir=no
76245 glibcxx_prefixdir=$prefix
76247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
76248 $as_echo_n "checking for gxx-include-dir... " >&6; }
76250 # Check whether --with-gxx-include-dir was given.
76251 if test "${with_gxx_include_dir+set}" = set; then :
76252 withval=$with_gxx_include_dir; case "$withval" in
76253 yes) as_fn_error $? "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
76254 no) gxx_include_dir=no ;;
76255 *) gxx_include_dir=$withval ;;
76256 esac
76257 else
76258 gxx_include_dir=no
76261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
76262 $as_echo "$gxx_include_dir" >&6; }
76264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
76265 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
76266 # Check whether --enable-version-specific-runtime-libs was given.
76267 if test "${enable_version_specific_runtime_libs+set}" = set; then :
76268 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
76269 yes) version_specific_libs=yes ;;
76270 no) version_specific_libs=no ;;
76271 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
76272 esac
76273 else
76274 version_specific_libs=no
76277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
76278 $as_echo "$version_specific_libs" >&6; }
76280 # Default case for install directory for include files.
76281 if test $version_specific_libs = no && test $gxx_include_dir = no; then
76282 gxx_include_dir='include/c++/${gcc_version}'
76283 if test -n "$with_cross_host" &&
76284 test x"$with_cross_host" != x"no"; then
76285 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
76286 else
76287 gxx_include_dir='${prefix}/'"$gxx_include_dir"
76291 # Version-specific runtime libs processing.
76292 if test $version_specific_libs = yes; then
76293 # Need the gcc compiler version to know where to install libraries
76294 # and header files if --enable-version-specific-runtime-libs option
76295 # is selected. FIXME: these variables are misnamed, there are
76296 # no executables installed in _toolexecdir or _toolexeclibdir.
76297 if test x"$gxx_include_dir" = x"no"; then
76298 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
76300 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
76301 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
76304 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
76305 # Install a library built with a cross compiler in tooldir, not libdir.
76306 if test x"$glibcxx_toolexecdir" = x"no"; then
76307 if test -n "$with_cross_host" &&
76308 test x"$with_cross_host" != x"no"; then
76309 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
76310 glibcxx_toolexeclibdir='${toolexecdir}/lib'
76311 else
76312 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
76313 glibcxx_toolexeclibdir='${libdir}'
76315 multi_os_directory=`$CXX -print-multi-os-directory`
76316 case $multi_os_directory in
76317 .) ;; # Avoid trailing /.
76318 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
76319 esac
76322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
76323 $as_echo_n "checking for install location... " >&6; }
76324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
76325 $as_echo "$gxx_include_dir" >&6; }
76333 # Export all the include and flag information to Makefiles.
76335 # Used for every C++ compile we perform.
76336 GLIBCXX_INCLUDES="\
76337 -I$glibcxx_builddir/include/$host_alias \
76338 -I$glibcxx_builddir/include \
76339 -I$glibcxx_srcdir/libsupc++"
76341 # For Canadian crosses, pick this up too.
76342 if test $CANADIAN = yes; then
76343 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
76346 # Stuff in the actual top level. Currently only used by libsupc++ to
76347 # get unwind* headers from the libgcc dir.
76348 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
76349 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
76351 # Now, export this to all the little Makefiles....
76356 # Optimization flags that are probably a good idea for thrill-seekers. Just
76357 # uncomment the lines below and make, everything else is ready to go...
76358 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
76359 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
76362 WARN_FLAGS="-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2"
76366 # Determine what GCC version number to use in filesystem paths.
76368 get_gcc_base_ver="cat"
76370 # Check whether --with-gcc-major-version-only was given.
76371 if test "${with_gcc_major_version_only+set}" = set; then :
76372 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
76373 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
76381 ac_config_files="$ac_config_files Makefile"
76383 ac_config_files="$ac_config_files scripts/testsuite_flags"
76385 ac_config_files="$ac_config_files scripts/extract_symvers"
76387 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
76390 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
76391 # that multilib installs will end up installed in the correct place.
76392 # The testsuite needs it for multilib-aware ABI baseline files.
76393 # To work around this not being passed down from config-ml.in ->
76394 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
76395 # append it here. Only modify Makefiles that have just been created.
76397 # Also, get rid of this simulated-VPATH thing that automake does.
76398 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"
76401 ac_config_commands="$ac_config_commands generate-headers"
76404 cat >confcache <<\_ACEOF
76405 # This file is a shell script that caches the results of configure
76406 # tests run on this system so they can be shared between configure
76407 # scripts and configure runs, see configure's option --config-cache.
76408 # It is not useful on other systems. If it contains results you don't
76409 # want to keep, you may remove or edit it.
76411 # config.status only pays attention to the cache file if you give it
76412 # the --recheck option to rerun configure.
76414 # `ac_cv_env_foo' variables (set or unset) will be overridden when
76415 # loading this file, other *unset* `ac_cv_foo' will be assigned the
76416 # following values.
76418 _ACEOF
76420 # The following way of writing the cache mishandles newlines in values,
76421 # but we know of no workaround that is simple, portable, and efficient.
76422 # So, we kill variables containing newlines.
76423 # Ultrix sh set writes to stderr and can't be redirected directly,
76424 # and sets the high bit in the cache file unless we assign to the vars.
76426 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
76427 eval ac_val=\$$ac_var
76428 case $ac_val in #(
76429 *${as_nl}*)
76430 case $ac_var in #(
76431 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
76432 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
76433 esac
76434 case $ac_var in #(
76435 _ | IFS | as_nl) ;; #(
76436 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
76437 *) { eval $ac_var=; unset $ac_var;} ;;
76438 esac ;;
76439 esac
76440 done
76442 (set) 2>&1 |
76443 case $as_nl`(ac_space=' '; set) 2>&1` in #(
76444 *${as_nl}ac_space=\ *)
76445 # `set' does not quote correctly, so add quotes: double-quote
76446 # substitution turns \\\\ into \\, and sed turns \\ into \.
76447 sed -n \
76448 "s/'/'\\\\''/g;
76449 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
76450 ;; #(
76452 # `set' quotes correctly as required by POSIX, so do not add quotes.
76453 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
76455 esac |
76456 sort
76458 sed '
76459 /^ac_cv_env_/b end
76460 t clear
76461 :clear
76462 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
76463 t end
76464 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
76465 :end' >>confcache
76466 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
76467 if test -w "$cache_file"; then
76468 if test "x$cache_file" != "x/dev/null"; then
76469 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
76470 $as_echo "$as_me: updating cache $cache_file" >&6;}
76471 if test ! -f "$cache_file" || test -h "$cache_file"; then
76472 cat confcache >"$cache_file"
76473 else
76474 case $cache_file in #(
76475 */* | ?:*)
76476 mv -f confcache "$cache_file"$$ &&
76477 mv -f "$cache_file"$$ "$cache_file" ;; #(
76479 mv -f confcache "$cache_file" ;;
76480 esac
76483 else
76484 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
76485 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
76488 rm -f confcache
76490 test "x$prefix" = xNONE && prefix=$ac_default_prefix
76491 # Let make expand exec_prefix.
76492 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
76494 DEFS=-DHAVE_CONFIG_H
76496 ac_libobjs=
76497 ac_ltlibobjs=
76499 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
76500 # 1. Remove the extension, and $U if already installed.
76501 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
76502 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
76503 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
76504 # will be set to the directory where LIBOBJS objects are built.
76505 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
76506 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
76507 done
76508 LIBOBJS=$ac_libobjs
76510 LTLIBOBJS=$ac_ltlibobjs
76513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
76514 $as_echo_n "checking that generated files are newer than configure... " >&6; }
76515 if test -n "$am_sleep_pid"; then
76516 # Hide warnings about reused PIDs.
76517 wait $am_sleep_pid 2>/dev/null
76519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
76520 $as_echo "done" >&6; }
76521 if test -n "$EXEEXT"; then
76522 am__EXEEXT_TRUE=
76523 am__EXEEXT_FALSE='#'
76524 else
76525 am__EXEEXT_TRUE='#'
76526 am__EXEEXT_FALSE=
76529 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
76530 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
76531 Usually this means the macro was only invoked conditionally." "$LINENO" 5
76533 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
76534 as_fn_error $? "conditional \"GLIBCXX_HOSTED\" was never defined.
76535 Usually this means the macro was only invoked conditionally." "$LINENO" 5
76537 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
76538 as_fn_error $? "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
76539 Usually this means the macro was only invoked conditionally." "$LINENO" 5
76541 if test -z "${ENABLE_FLOAT128_TRUE}" && test -z "${ENABLE_FLOAT128_FALSE}"; then
76542 as_fn_error $? "conditional \"ENABLE_FLOAT128\" was never defined.
76543 Usually this means the macro was only invoked conditionally." "$LINENO" 5
76545 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
76546 as_fn_error $? "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
76547 Usually this means the macro was only invoked conditionally." "$LINENO" 5
76549 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
76550 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
76551 Usually this means the macro was only invoked conditionally." "$LINENO" 5
76553 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
76554 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
76555 Usually this means the macro was only invoked conditionally." "$LINENO" 5
76557 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
76558 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
76559 Usually this means the macro was only invoked conditionally." "$LINENO" 5
76561 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
76562 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
76563 Usually this means the macro was only invoked conditionally." "$LINENO" 5
76565 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
76566 as_fn_error $? "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
76567 Usually this means the macro was only invoked conditionally." "$LINENO" 5
76569 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
76570 as_fn_error $? "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
76571 Usually this means the macro was only invoked conditionally." "$LINENO" 5
76573 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
76574 as_fn_error $? "conditional \"ENABLE_PYTHONDIR\" was never defined.
76575 Usually this means the macro was only invoked conditionally." "$LINENO" 5
76577 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
76578 as_fn_error $? "conditional \"ENABLE_WERROR\" was never defined.
76579 Usually this means the macro was only invoked conditionally." "$LINENO" 5
76581 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
76582 as_fn_error $? "conditional \"VTV_CYGMIN\" was never defined.
76583 Usually this means the macro was only invoked conditionally." "$LINENO" 5
76585 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
76586 as_fn_error $? "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
76587 Usually this means the macro was only invoked conditionally." "$LINENO" 5
76589 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
76590 as_fn_error $? "conditional \"ENABLE_SYMVERS\" was never defined.
76591 Usually this means the macro was only invoked conditionally." "$LINENO" 5
76593 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
76594 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
76595 Usually this means the macro was only invoked conditionally." "$LINENO" 5
76597 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
76598 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
76599 Usually this means the macro was only invoked conditionally." "$LINENO" 5
76601 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
76602 as_fn_error $? "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
76603 Usually this means the macro was only invoked conditionally." "$LINENO" 5
76605 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
76606 as_fn_error $? "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
76607 Usually this means the macro was only invoked conditionally." "$LINENO" 5
76609 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
76610 as_fn_error $? "conditional \"ENABLE_VISIBILITY\" was never defined.
76611 Usually this means the macro was only invoked conditionally." "$LINENO" 5
76613 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
76614 as_fn_error $? "conditional \"ENABLE_DUAL_ABI\" was never defined.
76615 Usually this means the macro was only invoked conditionally." "$LINENO" 5
76617 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
76618 as_fn_error $? "conditional \"ENABLE_CXX11_ABI\" was never defined.
76619 Usually this means the macro was only invoked conditionally." "$LINENO" 5
76621 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
76622 as_fn_error $? "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
76623 Usually this means the macro was only invoked conditionally." "$LINENO" 5
76625 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
76626 as_fn_error $? "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
76627 Usually this means the macro was only invoked conditionally." "$LINENO" 5
76629 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
76630 as_fn_error $? "conditional \"BUILD_INFO\" was never defined.
76631 Usually this means the macro was only invoked conditionally." "$LINENO" 5
76633 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
76634 as_fn_error $? "conditional \"BUILD_EPUB\" was never defined.
76635 Usually this means the macro was only invoked conditionally." "$LINENO" 5
76637 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
76638 as_fn_error $? "conditional \"BUILD_XML\" was never defined.
76639 Usually this means the macro was only invoked conditionally." "$LINENO" 5
76641 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
76642 as_fn_error $? "conditional \"BUILD_HTML\" was never defined.
76643 Usually this means the macro was only invoked conditionally." "$LINENO" 5
76645 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
76646 as_fn_error $? "conditional \"BUILD_MAN\" was never defined.
76647 Usually this means the macro was only invoked conditionally." "$LINENO" 5
76649 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
76650 as_fn_error $? "conditional \"BUILD_PDF\" was never defined.
76651 Usually this means the macro was only invoked conditionally." "$LINENO" 5
76653 if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
76654 as_fn_error $? "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
76655 Usually this means the macro was only invoked conditionally." "$LINENO" 5
76658 : "${CONFIG_STATUS=./config.status}"
76659 ac_write_fail=0
76660 ac_clean_files_save=$ac_clean_files
76661 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
76662 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
76663 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
76664 as_write_fail=0
76665 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
76666 #! $SHELL
76667 # Generated by $as_me.
76668 # Run this file to recreate the current configuration.
76669 # Compiler output produced by configure, useful for debugging
76670 # configure, is in config.log if it exists.
76672 debug=false
76673 ac_cs_recheck=false
76674 ac_cs_silent=false
76676 SHELL=\${CONFIG_SHELL-$SHELL}
76677 export SHELL
76678 _ASEOF
76679 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
76680 ## -------------------- ##
76681 ## M4sh Initialization. ##
76682 ## -------------------- ##
76684 # Be more Bourne compatible
76685 DUALCASE=1; export DUALCASE # for MKS sh
76686 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
76687 emulate sh
76688 NULLCMD=:
76689 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
76690 # is contrary to our usage. Disable this feature.
76691 alias -g '${1+"$@"}'='"$@"'
76692 setopt NO_GLOB_SUBST
76693 else
76694 case `(set -o) 2>/dev/null` in #(
76695 *posix*) :
76696 set -o posix ;; #(
76697 *) :
76699 esac
76703 as_nl='
76705 export as_nl
76706 # Printing a long string crashes Solaris 7 /usr/bin/printf.
76707 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
76708 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
76709 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
76710 # Prefer a ksh shell builtin over an external printf program on Solaris,
76711 # but without wasting forks for bash or zsh.
76712 if test -z "$BASH_VERSION$ZSH_VERSION" \
76713 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
76714 as_echo='print -r --'
76715 as_echo_n='print -rn --'
76716 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
76717 as_echo='printf %s\n'
76718 as_echo_n='printf %s'
76719 else
76720 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
76721 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
76722 as_echo_n='/usr/ucb/echo -n'
76723 else
76724 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
76725 as_echo_n_body='eval
76726 arg=$1;
76727 case $arg in #(
76728 *"$as_nl"*)
76729 expr "X$arg" : "X\\(.*\\)$as_nl";
76730 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
76731 esac;
76732 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
76734 export as_echo_n_body
76735 as_echo_n='sh -c $as_echo_n_body as_echo'
76737 export as_echo_body
76738 as_echo='sh -c $as_echo_body as_echo'
76741 # The user is always right.
76742 if test "${PATH_SEPARATOR+set}" != set; then
76743 PATH_SEPARATOR=:
76744 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76745 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
76746 PATH_SEPARATOR=';'
76751 # IFS
76752 # We need space, tab and new line, in precisely that order. Quoting is
76753 # there to prevent editors from complaining about space-tab.
76754 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
76755 # splitting by setting IFS to empty value.)
76756 IFS=" "" $as_nl"
76758 # Find who we are. Look in the path if we contain no directory separator.
76759 as_myself=
76760 case $0 in #((
76761 *[\\/]* ) as_myself=$0 ;;
76762 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76763 for as_dir in $PATH
76765 IFS=$as_save_IFS
76766 test -z "$as_dir" && as_dir=.
76767 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
76768 done
76769 IFS=$as_save_IFS
76772 esac
76773 # We did not find ourselves, most probably we were run as `sh COMMAND'
76774 # in which case we are not to be found in the path.
76775 if test "x$as_myself" = x; then
76776 as_myself=$0
76778 if test ! -f "$as_myself"; then
76779 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
76780 exit 1
76783 # Unset variables that we do not need and which cause bugs (e.g. in
76784 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
76785 # suppresses any "Segmentation fault" message there. '((' could
76786 # trigger a bug in pdksh 5.2.14.
76787 for as_var in BASH_ENV ENV MAIL MAILPATH
76788 do eval test x\${$as_var+set} = xset \
76789 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
76790 done
76791 PS1='$ '
76792 PS2='> '
76793 PS4='+ '
76795 # NLS nuisances.
76796 LC_ALL=C
76797 export LC_ALL
76798 LANGUAGE=C
76799 export LANGUAGE
76801 # CDPATH.
76802 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
76805 # as_fn_error STATUS ERROR [LINENO LOG_FD]
76806 # ----------------------------------------
76807 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
76808 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
76809 # script with STATUS, using 1 if that was 0.
76810 as_fn_error ()
76812 as_status=$1; test $as_status -eq 0 && as_status=1
76813 if test "$4"; then
76814 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
76815 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
76817 $as_echo "$as_me: error: $2" >&2
76818 as_fn_exit $as_status
76819 } # as_fn_error
76822 # as_fn_set_status STATUS
76823 # -----------------------
76824 # Set $? to STATUS, without forking.
76825 as_fn_set_status ()
76827 return $1
76828 } # as_fn_set_status
76830 # as_fn_exit STATUS
76831 # -----------------
76832 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
76833 as_fn_exit ()
76835 set +e
76836 as_fn_set_status $1
76837 exit $1
76838 } # as_fn_exit
76840 # as_fn_unset VAR
76841 # ---------------
76842 # Portably unset VAR.
76843 as_fn_unset ()
76845 { eval $1=; unset $1;}
76847 as_unset=as_fn_unset
76848 # as_fn_append VAR VALUE
76849 # ----------------------
76850 # Append the text in VALUE to the end of the definition contained in VAR. Take
76851 # advantage of any shell optimizations that allow amortized linear growth over
76852 # repeated appends, instead of the typical quadratic growth present in naive
76853 # implementations.
76854 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
76855 eval 'as_fn_append ()
76857 eval $1+=\$2
76859 else
76860 as_fn_append ()
76862 eval $1=\$$1\$2
76864 fi # as_fn_append
76866 # as_fn_arith ARG...
76867 # ------------------
76868 # Perform arithmetic evaluation on the ARGs, and store the result in the
76869 # global $as_val. Take advantage of shells that can avoid forks. The arguments
76870 # must be portable across $(()) and expr.
76871 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
76872 eval 'as_fn_arith ()
76874 as_val=$(( $* ))
76876 else
76877 as_fn_arith ()
76879 as_val=`expr "$@" || test $? -eq 1`
76881 fi # as_fn_arith
76884 if expr a : '\(a\)' >/dev/null 2>&1 &&
76885 test "X`expr 00001 : '.*\(...\)'`" = X001; then
76886 as_expr=expr
76887 else
76888 as_expr=false
76891 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
76892 as_basename=basename
76893 else
76894 as_basename=false
76897 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
76898 as_dirname=dirname
76899 else
76900 as_dirname=false
76903 as_me=`$as_basename -- "$0" ||
76904 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
76905 X"$0" : 'X\(//\)$' \| \
76906 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
76907 $as_echo X/"$0" |
76908 sed '/^.*\/\([^/][^/]*\)\/*$/{
76909 s//\1/
76912 /^X\/\(\/\/\)$/{
76913 s//\1/
76916 /^X\/\(\/\).*/{
76917 s//\1/
76920 s/.*/./; q'`
76922 # Avoid depending upon Character Ranges.
76923 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
76924 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
76925 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
76926 as_cr_digits='0123456789'
76927 as_cr_alnum=$as_cr_Letters$as_cr_digits
76929 ECHO_C= ECHO_N= ECHO_T=
76930 case `echo -n x` in #(((((
76931 -n*)
76932 case `echo 'xy\c'` in
76933 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
76934 xy) ECHO_C='\c';;
76935 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
76936 ECHO_T=' ';;
76937 esac;;
76939 ECHO_N='-n';;
76940 esac
76942 rm -f conf$$ conf$$.exe conf$$.file
76943 if test -d conf$$.dir; then
76944 rm -f conf$$.dir/conf$$.file
76945 else
76946 rm -f conf$$.dir
76947 mkdir conf$$.dir 2>/dev/null
76949 if (echo >conf$$.file) 2>/dev/null; then
76950 if ln -s conf$$.file conf$$ 2>/dev/null; then
76951 as_ln_s='ln -s'
76952 # ... but there are two gotchas:
76953 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
76954 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
76955 # In both cases, we have to default to `cp -pR'.
76956 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
76957 as_ln_s='cp -pR'
76958 elif ln conf$$.file conf$$ 2>/dev/null; then
76959 as_ln_s=ln
76960 else
76961 as_ln_s='cp -pR'
76963 else
76964 as_ln_s='cp -pR'
76966 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
76967 rmdir conf$$.dir 2>/dev/null
76970 # as_fn_mkdir_p
76971 # -------------
76972 # Create "$as_dir" as a directory, including parents if necessary.
76973 as_fn_mkdir_p ()
76976 case $as_dir in #(
76977 -*) as_dir=./$as_dir;;
76978 esac
76979 test -d "$as_dir" || eval $as_mkdir_p || {
76980 as_dirs=
76981 while :; do
76982 case $as_dir in #(
76983 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
76984 *) as_qdir=$as_dir;;
76985 esac
76986 as_dirs="'$as_qdir' $as_dirs"
76987 as_dir=`$as_dirname -- "$as_dir" ||
76988 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
76989 X"$as_dir" : 'X\(//\)[^/]' \| \
76990 X"$as_dir" : 'X\(//\)$' \| \
76991 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
76992 $as_echo X"$as_dir" |
76993 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
76994 s//\1/
76997 /^X\(\/\/\)[^/].*/{
76998 s//\1/
77001 /^X\(\/\/\)$/{
77002 s//\1/
77005 /^X\(\/\).*/{
77006 s//\1/
77009 s/.*/./; q'`
77010 test -d "$as_dir" && break
77011 done
77012 test -z "$as_dirs" || eval "mkdir $as_dirs"
77013 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
77016 } # as_fn_mkdir_p
77017 if mkdir -p . 2>/dev/null; then
77018 as_mkdir_p='mkdir -p "$as_dir"'
77019 else
77020 test -d ./-p && rmdir ./-p
77021 as_mkdir_p=false
77025 # as_fn_executable_p FILE
77026 # -----------------------
77027 # Test if FILE is an executable regular file.
77028 as_fn_executable_p ()
77030 test -f "$1" && test -x "$1"
77031 } # as_fn_executable_p
77032 as_test_x='test -x'
77033 as_executable_p=as_fn_executable_p
77035 # Sed expression to map a string onto a valid CPP name.
77036 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
77038 # Sed expression to map a string onto a valid variable name.
77039 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
77042 exec 6>&1
77043 ## ----------------------------------- ##
77044 ## Main body of $CONFIG_STATUS script. ##
77045 ## ----------------------------------- ##
77046 _ASEOF
77047 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
77049 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
77050 # Save the log message, to keep $0 and so on meaningful, and to
77051 # report actual input values of CONFIG_FILES etc. instead of their
77052 # values after options handling.
77053 ac_log="
77054 This file was extended by package-unused $as_me version-unused, which was
77055 generated by GNU Autoconf 2.69. Invocation command line was
77057 CONFIG_FILES = $CONFIG_FILES
77058 CONFIG_HEADERS = $CONFIG_HEADERS
77059 CONFIG_LINKS = $CONFIG_LINKS
77060 CONFIG_COMMANDS = $CONFIG_COMMANDS
77061 $ $0 $@
77063 on `(hostname || uname -n) 2>/dev/null | sed 1q`
77066 _ACEOF
77068 case $ac_config_files in *"
77069 "*) set x $ac_config_files; shift; ac_config_files=$*;;
77070 esac
77072 case $ac_config_headers in *"
77073 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
77074 esac
77077 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
77078 # Files that config.status was made for.
77079 config_files="$ac_config_files"
77080 config_headers="$ac_config_headers"
77081 config_commands="$ac_config_commands"
77083 _ACEOF
77085 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
77086 ac_cs_usage="\
77087 \`$as_me' instantiates files and other configuration actions
77088 from templates according to the current configuration. Unless the files
77089 and actions are specified as TAGs, all are instantiated by default.
77091 Usage: $0 [OPTION]... [TAG]...
77093 -h, --help print this help, then exit
77094 -V, --version print version number and configuration settings, then exit
77095 --config print configuration, then exit
77096 -q, --quiet, --silent
77097 do not print progress messages
77098 -d, --debug don't remove temporary files
77099 --recheck update $as_me by reconfiguring in the same conditions
77100 --file=FILE[:TEMPLATE]
77101 instantiate the configuration file FILE
77102 --header=FILE[:TEMPLATE]
77103 instantiate the configuration header FILE
77105 Configuration files:
77106 $config_files
77108 Configuration headers:
77109 $config_headers
77111 Configuration commands:
77112 $config_commands
77114 Report bugs to the package provider."
77116 _ACEOF
77117 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
77118 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
77119 ac_cs_version="\\
77120 package-unused config.status version-unused
77121 configured by $0, generated by GNU Autoconf 2.69,
77122 with options \\"\$ac_cs_config\\"
77124 Copyright (C) 2012 Free Software Foundation, Inc.
77125 This config.status script is free software; the Free Software Foundation
77126 gives unlimited permission to copy, distribute and modify it."
77128 ac_pwd='$ac_pwd'
77129 srcdir='$srcdir'
77130 INSTALL='$INSTALL'
77131 MKDIR_P='$MKDIR_P'
77132 AWK='$AWK'
77133 test -n "\$AWK" || AWK=awk
77134 _ACEOF
77136 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
77137 # The default lists apply if the user does not specify any file.
77138 ac_need_defaults=:
77139 while test $# != 0
77141 case $1 in
77142 --*=?*)
77143 ac_option=`expr "X$1" : 'X\([^=]*\)='`
77144 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
77145 ac_shift=:
77147 --*=)
77148 ac_option=`expr "X$1" : 'X\([^=]*\)='`
77149 ac_optarg=
77150 ac_shift=:
77153 ac_option=$1
77154 ac_optarg=$2
77155 ac_shift=shift
77157 esac
77159 case $ac_option in
77160 # Handling of the options.
77161 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
77162 ac_cs_recheck=: ;;
77163 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
77164 $as_echo "$ac_cs_version"; exit ;;
77165 --config | --confi | --conf | --con | --co | --c )
77166 $as_echo "$ac_cs_config"; exit ;;
77167 --debug | --debu | --deb | --de | --d | -d )
77168 debug=: ;;
77169 --file | --fil | --fi | --f )
77170 $ac_shift
77171 case $ac_optarg in
77172 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
77173 '') as_fn_error $? "missing file argument" ;;
77174 esac
77175 as_fn_append CONFIG_FILES " '$ac_optarg'"
77176 ac_need_defaults=false;;
77177 --header | --heade | --head | --hea )
77178 $ac_shift
77179 case $ac_optarg in
77180 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
77181 esac
77182 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
77183 ac_need_defaults=false;;
77184 --he | --h)
77185 # Conflict between --help and --header
77186 as_fn_error $? "ambiguous option: \`$1'
77187 Try \`$0 --help' for more information.";;
77188 --help | --hel | -h )
77189 $as_echo "$ac_cs_usage"; exit ;;
77190 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
77191 | -silent | --silent | --silen | --sile | --sil | --si | --s)
77192 ac_cs_silent=: ;;
77194 # This is an error.
77195 -*) as_fn_error $? "unrecognized option: \`$1'
77196 Try \`$0 --help' for more information." ;;
77198 *) as_fn_append ac_config_targets " $1"
77199 ac_need_defaults=false ;;
77201 esac
77202 shift
77203 done
77205 ac_configure_extra_args=
77207 if $ac_cs_silent; then
77208 exec 6>/dev/null
77209 ac_configure_extra_args="$ac_configure_extra_args --silent"
77212 _ACEOF
77213 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
77214 if \$ac_cs_recheck; then
77215 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
77216 shift
77217 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
77218 CONFIG_SHELL='$SHELL'
77219 export CONFIG_SHELL
77220 exec "\$@"
77223 _ACEOF
77224 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
77225 exec 5>>config.log
77227 echo
77228 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
77229 ## Running $as_me. ##
77230 _ASBOX
77231 $as_echo "$ac_log"
77232 } >&5
77234 _ACEOF
77235 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
77237 # INIT-COMMANDS
77240 srcdir="$srcdir"
77241 host="$host"
77242 target="$target"
77243 with_multisubdir="$with_multisubdir"
77244 with_multisrctop="$with_multisrctop"
77245 with_target_subdir="$with_target_subdir"
77246 ac_configure_args="${multilib_arg} ${ac_configure_args}"
77247 multi_basedir="$multi_basedir"
77248 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
77249 CC="$CC"
77250 CXX="$CXX"
77251 GFORTRAN="$GFORTRAN"
77252 GDC="$GDC"
77255 # The HP-UX ksh and POSIX shell print the target directory to stdout
77256 # if CDPATH is set.
77257 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
77259 sed_quote_subst='$sed_quote_subst'
77260 double_quote_subst='$double_quote_subst'
77261 delay_variable_subst='$delay_variable_subst'
77262 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
77263 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
77264 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
77265 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
77266 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
77267 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
77268 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
77269 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
77270 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
77271 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
77272 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
77273 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
77274 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
77275 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
77276 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
77277 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
77278 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
77279 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
77280 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
77281 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
77282 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
77283 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
77284 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
77285 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
77286 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
77287 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
77288 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
77289 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
77290 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
77291 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
77292 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
77293 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
77294 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
77295 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
77296 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
77297 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
77298 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
77299 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
77300 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
77301 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
77302 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
77303 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
77304 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
77305 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
77306 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
77307 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
77308 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
77309 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
77310 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"`'
77311 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
77312 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
77313 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
77314 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
77315 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
77316 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
77317 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
77318 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
77319 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
77320 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
77321 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
77322 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
77323 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
77324 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
77325 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
77326 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
77327 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
77328 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
77329 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
77330 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
77331 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
77332 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
77333 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
77334 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
77335 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
77336 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
77337 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
77338 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
77339 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
77340 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
77341 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
77342 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
77343 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
77344 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
77345 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
77346 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
77347 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
77348 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
77349 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
77350 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
77351 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
77352 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
77353 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
77354 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
77355 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
77356 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
77357 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
77358 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
77359 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
77360 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
77361 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
77362 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
77363 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
77364 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
77365 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
77366 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
77367 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
77368 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
77369 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
77370 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
77371 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
77372 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
77373 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
77374 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
77375 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
77376 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
77377 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
77378 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
77379 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
77380 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
77381 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
77382 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
77383 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
77384 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
77385 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
77386 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
77387 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
77388 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
77389 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
77390 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
77391 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
77392 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
77393 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
77394 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
77395 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
77396 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
77397 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
77398 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
77399 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
77400 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
77401 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
77402 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
77403 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
77404 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
77405 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
77406 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
77407 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
77408 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
77409 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
77410 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
77411 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
77412 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
77413 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
77414 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
77415 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
77416 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
77417 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
77418 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
77419 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
77420 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
77421 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
77422 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
77423 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
77424 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
77425 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
77426 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
77427 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
77428 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
77429 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
77430 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
77431 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
77432 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
77433 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
77434 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
77435 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
77436 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
77438 LTCC='$LTCC'
77439 LTCFLAGS='$LTCFLAGS'
77440 compiler='$compiler_DEFAULT'
77442 # A function that is used when there is no print builtin or printf.
77443 func_fallback_echo ()
77445 eval 'cat <<_LTECHO_EOF
77447 _LTECHO_EOF'
77450 # Quote evaled strings.
77451 for var in SHELL \
77452 ECHO \
77453 SED \
77454 GREP \
77455 EGREP \
77456 FGREP \
77457 LD \
77458 NM \
77459 LN_S \
77460 lt_SP2NL \
77461 lt_NL2SP \
77462 reload_flag \
77463 OBJDUMP \
77464 deplibs_check_method \
77465 file_magic_cmd \
77466 AR \
77467 AR_FLAGS \
77468 STRIP \
77469 RANLIB \
77470 CC \
77471 CFLAGS \
77472 compiler \
77473 lt_cv_sys_global_symbol_pipe \
77474 lt_cv_sys_global_symbol_to_cdecl \
77475 lt_cv_sys_global_symbol_to_c_name_address \
77476 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
77477 lt_prog_compiler_no_builtin_flag \
77478 lt_prog_compiler_wl \
77479 lt_prog_compiler_pic \
77480 lt_prog_compiler_static \
77481 lt_cv_prog_compiler_c_o \
77482 need_locks \
77483 DSYMUTIL \
77484 NMEDIT \
77485 LIPO \
77486 OTOOL \
77487 OTOOL64 \
77488 shrext_cmds \
77489 export_dynamic_flag_spec \
77490 whole_archive_flag_spec \
77491 compiler_needs_object \
77492 with_gnu_ld \
77493 allow_undefined_flag \
77494 no_undefined_flag \
77495 hardcode_libdir_flag_spec \
77496 hardcode_libdir_flag_spec_ld \
77497 hardcode_libdir_separator \
77498 fix_srcfile_path \
77499 exclude_expsyms \
77500 include_expsyms \
77501 file_list_spec \
77502 variables_saved_for_relink \
77503 libname_spec \
77504 library_names_spec \
77505 soname_spec \
77506 install_override_mode \
77507 finish_eval \
77508 old_striplib \
77509 striplib \
77510 compiler_lib_search_dirs \
77511 predep_objects \
77512 postdep_objects \
77513 predeps \
77514 postdeps \
77515 compiler_lib_search_path \
77516 LD_CXX \
77517 reload_flag_CXX \
77518 compiler_CXX \
77519 lt_prog_compiler_no_builtin_flag_CXX \
77520 lt_prog_compiler_wl_CXX \
77521 lt_prog_compiler_pic_CXX \
77522 lt_prog_compiler_static_CXX \
77523 lt_cv_prog_compiler_c_o_CXX \
77524 export_dynamic_flag_spec_CXX \
77525 whole_archive_flag_spec_CXX \
77526 compiler_needs_object_CXX \
77527 with_gnu_ld_CXX \
77528 allow_undefined_flag_CXX \
77529 no_undefined_flag_CXX \
77530 hardcode_libdir_flag_spec_CXX \
77531 hardcode_libdir_flag_spec_ld_CXX \
77532 hardcode_libdir_separator_CXX \
77533 fix_srcfile_path_CXX \
77534 exclude_expsyms_CXX \
77535 include_expsyms_CXX \
77536 file_list_spec_CXX \
77537 compiler_lib_search_dirs_CXX \
77538 predep_objects_CXX \
77539 postdep_objects_CXX \
77540 predeps_CXX \
77541 postdeps_CXX \
77542 compiler_lib_search_path_CXX; do
77543 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
77544 *[\\\\\\\`\\"\\\$]*)
77545 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
77548 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
77550 esac
77551 done
77553 # Double-quote double-evaled strings.
77554 for var in reload_cmds \
77555 old_postinstall_cmds \
77556 old_postuninstall_cmds \
77557 old_archive_cmds \
77558 extract_expsyms_cmds \
77559 old_archive_from_new_cmds \
77560 old_archive_from_expsyms_cmds \
77561 archive_cmds \
77562 archive_expsym_cmds \
77563 module_cmds \
77564 module_expsym_cmds \
77565 export_symbols_cmds \
77566 prelink_cmds \
77567 postinstall_cmds \
77568 postuninstall_cmds \
77569 finish_cmds \
77570 sys_lib_search_path_spec \
77571 sys_lib_dlsearch_path_spec \
77572 reload_cmds_CXX \
77573 old_archive_cmds_CXX \
77574 old_archive_from_new_cmds_CXX \
77575 old_archive_from_expsyms_cmds_CXX \
77576 archive_cmds_CXX \
77577 archive_expsym_cmds_CXX \
77578 module_cmds_CXX \
77579 module_expsym_cmds_CXX \
77580 export_symbols_cmds_CXX \
77581 prelink_cmds_CXX; do
77582 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
77583 *[\\\\\\\`\\"\\\$]*)
77584 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
77587 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
77589 esac
77590 done
77592 ac_aux_dir='$ac_aux_dir'
77593 xsi_shell='$xsi_shell'
77594 lt_shell_append='$lt_shell_append'
77596 # See if we are running on zsh, and set the options which allow our
77597 # commands through without removal of \ escapes INIT.
77598 if test -n "\${ZSH_VERSION+set}" ; then
77599 setopt NO_GLOB_SUBST
77603 PACKAGE='$PACKAGE'
77604 VERSION='$VERSION'
77605 TIMESTAMP='$TIMESTAMP'
77606 RM='$RM'
77607 ofile='$ofile'
77614 GCC="$GCC"
77615 CC="$CC"
77616 acx_cv_header_stdint="$acx_cv_header_stdint"
77617 acx_cv_type_int8_t="$acx_cv_type_int8_t"
77618 acx_cv_type_int16_t="$acx_cv_type_int16_t"
77619 acx_cv_type_int32_t="$acx_cv_type_int32_t"
77620 acx_cv_type_int64_t="$acx_cv_type_int64_t"
77621 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
77622 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
77623 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
77624 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
77625 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
77626 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
77627 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
77628 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
77629 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
77632 _ACEOF
77634 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
77636 # Handling of arguments.
77637 for ac_config_target in $ac_config_targets
77639 case $ac_config_target in
77640 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
77641 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
77642 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
77643 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
77644 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
77645 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
77646 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
77647 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
77648 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
77649 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
77650 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
77651 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
77652 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
77653 "src/c++17/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++17/Makefile" ;;
77654 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
77655 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
77656 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
77657 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
77658 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
77659 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
77661 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
77662 esac
77663 done
77666 # If the user did not use the arguments to specify the items to instantiate,
77667 # then the envvar interface is used. Set only those that are not.
77668 # We use the long form for the default assignment because of an extremely
77669 # bizarre bug on SunOS 4.1.3.
77670 if $ac_need_defaults; then
77671 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
77672 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
77673 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
77676 # Have a temporary directory for convenience. Make it in the build tree
77677 # simply because there is no reason against having it here, and in addition,
77678 # creating and moving files from /tmp can sometimes cause problems.
77679 # Hook for its removal unless debugging.
77680 # Note that there is a small window in which the directory will not be cleaned:
77681 # after its creation but before its name has been assigned to `$tmp'.
77682 $debug ||
77684 tmp= ac_tmp=
77685 trap 'exit_status=$?
77686 : "${ac_tmp:=$tmp}"
77687 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
77689 trap 'as_fn_exit 1' 1 2 13 15
77691 # Create a (secure) tmp directory for tmp files.
77694 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
77695 test -d "$tmp"
77696 } ||
77698 tmp=./conf$$-$RANDOM
77699 (umask 077 && mkdir "$tmp")
77700 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
77701 ac_tmp=$tmp
77703 # Set up the scripts for CONFIG_FILES section.
77704 # No need to generate them if there are no CONFIG_FILES.
77705 # This happens for instance with `./config.status config.h'.
77706 if test -n "$CONFIG_FILES"; then
77709 ac_cr=`echo X | tr X '\015'`
77710 # On cygwin, bash can eat \r inside `` if the user requested igncr.
77711 # But we know of no other shell where ac_cr would be empty at this
77712 # point, so we can use a bashism as a fallback.
77713 if test "x$ac_cr" = x; then
77714 eval ac_cr=\$\'\\r\'
77716 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
77717 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
77718 ac_cs_awk_cr='\\r'
77719 else
77720 ac_cs_awk_cr=$ac_cr
77723 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
77724 _ACEOF
77728 echo "cat >conf$$subs.awk <<_ACEOF" &&
77729 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
77730 echo "_ACEOF"
77731 } >conf$$subs.sh ||
77732 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
77733 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
77734 ac_delim='%!_!# '
77735 for ac_last_try in false false false false false :; do
77736 . ./conf$$subs.sh ||
77737 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
77739 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
77740 if test $ac_delim_n = $ac_delim_num; then
77741 break
77742 elif $ac_last_try; then
77743 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
77744 else
77745 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
77747 done
77748 rm -f conf$$subs.sh
77750 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
77751 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
77752 _ACEOF
77753 sed -n '
77755 s/^/S["/; s/!.*/"]=/
77758 s/^[^!]*!//
77759 :repl
77760 t repl
77761 s/'"$ac_delim"'$//
77762 t delim
77765 s/\(.\{148\}\)..*/\1/
77766 t more1
77767 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
77770 b repl
77771 :more1
77772 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
77775 s/.\{148\}//
77776 t nl
77777 :delim
77779 s/\(.\{148\}\)..*/\1/
77780 t more2
77781 s/["\\]/\\&/g; s/^/"/; s/$/"/
77784 :more2
77785 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
77788 s/.\{148\}//
77789 t delim
77790 ' <conf$$subs.awk | sed '
77791 /^[^""]/{
77793 s/\n//
77795 ' >>$CONFIG_STATUS || ac_write_fail=1
77796 rm -f conf$$subs.awk
77797 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
77798 _ACAWK
77799 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
77800 for (key in S) S_is_set[key] = 1
77801 FS = "\a"
77805 line = $ 0
77806 nfields = split(line, field, "@")
77807 substed = 0
77808 len = length(field[1])
77809 for (i = 2; i < nfields; i++) {
77810 key = field[i]
77811 keylen = length(key)
77812 if (S_is_set[key]) {
77813 value = S[key]
77814 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
77815 len += length(value) + length(field[++i])
77816 substed = 1
77817 } else
77818 len += 1 + keylen
77821 print line
77824 _ACAWK
77825 _ACEOF
77826 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
77827 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
77828 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
77829 else
77831 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
77832 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
77833 _ACEOF
77835 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
77836 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
77837 # trailing colons and then remove the whole line if VPATH becomes empty
77838 # (actually we leave an empty line to preserve line numbers).
77839 if test "x$srcdir" = x.; then
77840 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
77842 s///
77843 s/^/:/
77844 s/[ ]*$/:/
77845 s/:\$(srcdir):/:/g
77846 s/:\${srcdir}:/:/g
77847 s/:@srcdir@:/:/g
77848 s/^:*//
77849 s/:*$//
77851 s/\(=[ ]*\).*/\1/
77853 s/\n//
77854 s/^[^=]*=[ ]*$//
77858 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
77859 fi # test -n "$CONFIG_FILES"
77861 # Set up the scripts for CONFIG_HEADERS section.
77862 # No need to generate them if there are no CONFIG_HEADERS.
77863 # This happens for instance with `./config.status Makefile'.
77864 if test -n "$CONFIG_HEADERS"; then
77865 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
77866 BEGIN {
77867 _ACEOF
77869 # Transform confdefs.h into an awk script `defines.awk', embedded as
77870 # here-document in config.status, that substitutes the proper values into
77871 # config.h.in to produce config.h.
77873 # Create a delimiter string that does not exist in confdefs.h, to ease
77874 # handling of long lines.
77875 ac_delim='%!_!# '
77876 for ac_last_try in false false :; do
77877 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
77878 if test -z "$ac_tt"; then
77879 break
77880 elif $ac_last_try; then
77881 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
77882 else
77883 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
77885 done
77887 # For the awk script, D is an array of macro values keyed by name,
77888 # likewise P contains macro parameters if any. Preserve backslash
77889 # newline sequences.
77891 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
77892 sed -n '
77893 s/.\{148\}/&'"$ac_delim"'/g
77894 t rset
77895 :rset
77896 s/^[ ]*#[ ]*define[ ][ ]*/ /
77897 t def
77899 :def
77900 s/\\$//
77901 t bsnl
77902 s/["\\]/\\&/g
77903 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
77904 D["\1"]=" \3"/p
77905 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
77907 :bsnl
77908 s/["\\]/\\&/g
77909 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
77910 D["\1"]=" \3\\\\\\n"\\/p
77911 t cont
77912 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
77913 t cont
77915 :cont
77917 s/.\{148\}/&'"$ac_delim"'/g
77918 t clear
77919 :clear
77920 s/\\$//
77921 t bsnlc
77922 s/["\\]/\\&/g; s/^/"/; s/$/"/p
77924 :bsnlc
77925 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
77926 b cont
77927 ' <confdefs.h | sed '
77928 s/'"$ac_delim"'/"\\\
77929 "/g' >>$CONFIG_STATUS || ac_write_fail=1
77931 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
77932 for (key in D) D_is_set[key] = 1
77933 FS = "\a"
77935 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
77936 line = \$ 0
77937 split(line, arg, " ")
77938 if (arg[1] == "#") {
77939 defundef = arg[2]
77940 mac1 = arg[3]
77941 } else {
77942 defundef = substr(arg[1], 2)
77943 mac1 = arg[2]
77945 split(mac1, mac2, "(") #)
77946 macro = mac2[1]
77947 prefix = substr(line, 1, index(line, defundef) - 1)
77948 if (D_is_set[macro]) {
77949 # Preserve the white space surrounding the "#".
77950 print prefix "define", macro P[macro] D[macro]
77951 next
77952 } else {
77953 # Replace #undef with comments. This is necessary, for example,
77954 # in the case of _POSIX_SOURCE, which is predefined and required
77955 # on some systems where configure will not decide to define it.
77956 if (defundef == "undef") {
77957 print "/*", prefix defundef, macro, "*/"
77958 next
77962 { print }
77963 _ACAWK
77964 _ACEOF
77965 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
77966 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
77967 fi # test -n "$CONFIG_HEADERS"
77970 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
77971 shift
77972 for ac_tag
77974 case $ac_tag in
77975 :[FHLC]) ac_mode=$ac_tag; continue;;
77976 esac
77977 case $ac_mode$ac_tag in
77978 :[FHL]*:*);;
77979 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
77980 :[FH]-) ac_tag=-:-;;
77981 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
77982 esac
77983 ac_save_IFS=$IFS
77984 IFS=:
77985 set x $ac_tag
77986 IFS=$ac_save_IFS
77987 shift
77988 ac_file=$1
77989 shift
77991 case $ac_mode in
77992 :L) ac_source=$1;;
77993 :[FH])
77994 ac_file_inputs=
77995 for ac_f
77997 case $ac_f in
77998 -) ac_f="$ac_tmp/stdin";;
77999 *) # Look for the file first in the build tree, then in the source tree
78000 # (if the path is not absolute). The absolute path cannot be DOS-style,
78001 # because $ac_f cannot contain `:'.
78002 test -f "$ac_f" ||
78003 case $ac_f in
78004 [\\/$]*) false;;
78005 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
78006 esac ||
78007 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
78008 esac
78009 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
78010 as_fn_append ac_file_inputs " '$ac_f'"
78011 done
78013 # Let's still pretend it is `configure' which instantiates (i.e., don't
78014 # use $as_me), people would be surprised to read:
78015 # /* config.h. Generated by config.status. */
78016 configure_input='Generated from '`
78017 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
78018 `' by configure.'
78019 if test x"$ac_file" != x-; then
78020 configure_input="$ac_file. $configure_input"
78021 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
78022 $as_echo "$as_me: creating $ac_file" >&6;}
78024 # Neutralize special characters interpreted by sed in replacement strings.
78025 case $configure_input in #(
78026 *\&* | *\|* | *\\* )
78027 ac_sed_conf_input=`$as_echo "$configure_input" |
78028 sed 's/[\\\\&|]/\\\\&/g'`;; #(
78029 *) ac_sed_conf_input=$configure_input;;
78030 esac
78032 case $ac_tag in
78033 *:-:* | *:-) cat >"$ac_tmp/stdin" \
78034 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
78035 esac
78037 esac
78039 ac_dir=`$as_dirname -- "$ac_file" ||
78040 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
78041 X"$ac_file" : 'X\(//\)[^/]' \| \
78042 X"$ac_file" : 'X\(//\)$' \| \
78043 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
78044 $as_echo X"$ac_file" |
78045 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
78046 s//\1/
78049 /^X\(\/\/\)[^/].*/{
78050 s//\1/
78053 /^X\(\/\/\)$/{
78054 s//\1/
78057 /^X\(\/\).*/{
78058 s//\1/
78061 s/.*/./; q'`
78062 as_dir="$ac_dir"; as_fn_mkdir_p
78063 ac_builddir=.
78065 case "$ac_dir" in
78066 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
78068 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
78069 # A ".." for each directory in $ac_dir_suffix.
78070 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
78071 case $ac_top_builddir_sub in
78072 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
78073 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
78074 esac ;;
78075 esac
78076 ac_abs_top_builddir=$ac_pwd
78077 ac_abs_builddir=$ac_pwd$ac_dir_suffix
78078 # for backward compatibility:
78079 ac_top_builddir=$ac_top_build_prefix
78081 case $srcdir in
78082 .) # We are building in place.
78083 ac_srcdir=.
78084 ac_top_srcdir=$ac_top_builddir_sub
78085 ac_abs_top_srcdir=$ac_pwd ;;
78086 [\\/]* | ?:[\\/]* ) # Absolute name.
78087 ac_srcdir=$srcdir$ac_dir_suffix;
78088 ac_top_srcdir=$srcdir
78089 ac_abs_top_srcdir=$srcdir ;;
78090 *) # Relative name.
78091 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
78092 ac_top_srcdir=$ac_top_build_prefix$srcdir
78093 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
78094 esac
78095 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
78098 case $ac_mode in
78101 # CONFIG_FILE
78104 case $INSTALL in
78105 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
78106 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
78107 esac
78108 ac_MKDIR_P=$MKDIR_P
78109 case $MKDIR_P in
78110 [\\/$]* | ?:[\\/]* ) ;;
78111 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
78112 esac
78113 _ACEOF
78115 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78116 # If the template does not know about datarootdir, expand it.
78117 # FIXME: This hack should be removed a few years after 2.60.
78118 ac_datarootdir_hack=; ac_datarootdir_seen=
78119 ac_sed_dataroot='
78120 /datarootdir/ {
78124 /@datadir@/p
78125 /@docdir@/p
78126 /@infodir@/p
78127 /@localedir@/p
78128 /@mandir@/p'
78129 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
78130 *datarootdir*) ac_datarootdir_seen=yes;;
78131 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
78132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
78133 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
78134 _ACEOF
78135 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
78136 ac_datarootdir_hack='
78137 s&@datadir@&$datadir&g
78138 s&@docdir@&$docdir&g
78139 s&@infodir@&$infodir&g
78140 s&@localedir@&$localedir&g
78141 s&@mandir@&$mandir&g
78142 s&\\\${datarootdir}&$datarootdir&g' ;;
78143 esac
78144 _ACEOF
78146 # Neutralize VPATH when `$srcdir' = `.'.
78147 # Shell code in configure.ac might set extrasub.
78148 # FIXME: do we really want to maintain this feature?
78149 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
78150 ac_sed_extra="$ac_vpsub
78151 $extrasub
78152 _ACEOF
78153 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78155 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
78156 s|@configure_input@|$ac_sed_conf_input|;t t
78157 s&@top_builddir@&$ac_top_builddir_sub&;t t
78158 s&@top_build_prefix@&$ac_top_build_prefix&;t t
78159 s&@srcdir@&$ac_srcdir&;t t
78160 s&@abs_srcdir@&$ac_abs_srcdir&;t t
78161 s&@top_srcdir@&$ac_top_srcdir&;t t
78162 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
78163 s&@builddir@&$ac_builddir&;t t
78164 s&@abs_builddir@&$ac_abs_builddir&;t t
78165 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
78166 s&@INSTALL@&$ac_INSTALL&;t t
78167 s&@MKDIR_P@&$ac_MKDIR_P&;t t
78168 $ac_datarootdir_hack
78170 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
78171 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
78173 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
78174 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
78175 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
78176 "$ac_tmp/out"`; test -z "$ac_out"; } &&
78177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
78178 which seems to be undefined. Please make sure it is defined" >&5
78179 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
78180 which seems to be undefined. Please make sure it is defined" >&2;}
78182 rm -f "$ac_tmp/stdin"
78183 case $ac_file in
78184 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
78185 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
78186 esac \
78187 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
78191 # CONFIG_HEADER
78193 if test x"$ac_file" != x-; then
78195 $as_echo "/* $configure_input */" \
78196 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
78197 } >"$ac_tmp/config.h" \
78198 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
78199 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
78200 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
78201 $as_echo "$as_me: $ac_file is unchanged" >&6;}
78202 else
78203 rm -f "$ac_file"
78204 mv "$ac_tmp/config.h" "$ac_file" \
78205 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
78207 else
78208 $as_echo "/* $configure_input */" \
78209 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
78210 || as_fn_error $? "could not create -" "$LINENO" 5
78212 # Compute "$ac_file"'s index in $config_headers.
78213 _am_arg="$ac_file"
78214 _am_stamp_count=1
78215 for _am_header in $config_headers :; do
78216 case $_am_header in
78217 $_am_arg | $_am_arg:* )
78218 break ;;
78220 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
78221 esac
78222 done
78223 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
78224 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
78225 X"$_am_arg" : 'X\(//\)[^/]' \| \
78226 X"$_am_arg" : 'X\(//\)$' \| \
78227 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
78228 $as_echo X"$_am_arg" |
78229 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
78230 s//\1/
78233 /^X\(\/\/\)[^/].*/{
78234 s//\1/
78237 /^X\(\/\/\)$/{
78238 s//\1/
78241 /^X\(\/\).*/{
78242 s//\1/
78245 s/.*/./; q'`/stamp-h$_am_stamp_count
78248 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
78249 $as_echo "$as_me: executing $ac_file commands" >&6;}
78251 esac
78254 case $ac_file$ac_mode in
78255 "default-1":C)
78256 # Only add multilib support code if we just rebuilt the top-level
78257 # Makefile.
78258 case " $CONFIG_FILES " in
78259 *" Makefile "*)
78260 ac_file=Makefile . ${multi_basedir}/config-ml.in
78262 esac ;;
78263 "libtool":C)
78265 # See if we are running on zsh, and set the options which allow our
78266 # commands through without removal of \ escapes.
78267 if test -n "${ZSH_VERSION+set}" ; then
78268 setopt NO_GLOB_SUBST
78271 cfgfile="${ofile}T"
78272 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
78273 $RM "$cfgfile"
78275 cat <<_LT_EOF >> "$cfgfile"
78276 #! $SHELL
78278 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
78279 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
78280 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
78281 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
78283 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
78284 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
78285 # Written by Gordon Matzigkeit, 1996
78287 # This file is part of GNU Libtool.
78289 # GNU Libtool is free software; you can redistribute it and/or
78290 # modify it under the terms of the GNU General Public License as
78291 # published by the Free Software Foundation; either version 2 of
78292 # the License, or (at your option) any later version.
78294 # As a special exception to the GNU General Public License,
78295 # if you distribute this file as part of a program or library that
78296 # is built using GNU Libtool, you may include this file under the
78297 # same distribution terms that you use for the rest of that program.
78299 # GNU Libtool is distributed in the hope that it will be useful,
78300 # but WITHOUT ANY WARRANTY; without even the implied warranty of
78301 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
78302 # GNU General Public License for more details.
78304 # You should have received a copy of the GNU General Public License
78305 # along with GNU Libtool; see the file COPYING. If not, a copy
78306 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
78307 # obtained by writing to the Free Software Foundation, Inc.,
78308 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
78311 # The names of the tagged configurations supported by this script.
78312 available_tags="CXX "
78314 # ### BEGIN LIBTOOL CONFIG
78316 # Which release of libtool.m4 was used?
78317 macro_version=$macro_version
78318 macro_revision=$macro_revision
78320 # Whether or not to build shared libraries.
78321 build_libtool_libs=$enable_shared
78323 # Whether or not to build static libraries.
78324 build_old_libs=$enable_static
78326 # What type of objects to build.
78327 pic_mode=$pic_mode
78329 # Whether or not to optimize for fast installation.
78330 fast_install=$enable_fast_install
78332 # Shell to use when invoking shell scripts.
78333 SHELL=$lt_SHELL
78335 # An echo program that protects backslashes.
78336 ECHO=$lt_ECHO
78338 # The host system.
78339 host_alias=$host_alias
78340 host=$host
78341 host_os=$host_os
78343 # The build system.
78344 build_alias=$build_alias
78345 build=$build
78346 build_os=$build_os
78348 # A sed program that does not truncate output.
78349 SED=$lt_SED
78351 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
78352 Xsed="\$SED -e 1s/^X//"
78354 # A grep program that handles long lines.
78355 GREP=$lt_GREP
78357 # An ERE matcher.
78358 EGREP=$lt_EGREP
78360 # A literal string matcher.
78361 FGREP=$lt_FGREP
78363 # A BSD- or MS-compatible name lister.
78364 NM=$lt_NM
78366 # Whether we need soft or hard links.
78367 LN_S=$lt_LN_S
78369 # What is the maximum length of a command?
78370 max_cmd_len=$max_cmd_len
78372 # Object file suffix (normally "o").
78373 objext=$ac_objext
78375 # Executable file suffix (normally "").
78376 exeext=$exeext
78378 # whether the shell understands "unset".
78379 lt_unset=$lt_unset
78381 # turn spaces into newlines.
78382 SP2NL=$lt_lt_SP2NL
78384 # turn newlines into spaces.
78385 NL2SP=$lt_lt_NL2SP
78387 # An object symbol dumper.
78388 OBJDUMP=$lt_OBJDUMP
78390 # Method to check whether dependent libraries are shared objects.
78391 deplibs_check_method=$lt_deplibs_check_method
78393 # Command to use when deplibs_check_method == "file_magic".
78394 file_magic_cmd=$lt_file_magic_cmd
78396 # The archiver.
78397 AR=$lt_AR
78398 AR_FLAGS=$lt_AR_FLAGS
78400 # A symbol stripping program.
78401 STRIP=$lt_STRIP
78403 # Commands used to install an old-style archive.
78404 RANLIB=$lt_RANLIB
78405 old_postinstall_cmds=$lt_old_postinstall_cmds
78406 old_postuninstall_cmds=$lt_old_postuninstall_cmds
78408 # Whether to use a lock for old archive extraction.
78409 lock_old_archive_extraction=$lock_old_archive_extraction
78411 # A C compiler.
78412 LTCC=$lt_CC
78414 # LTCC compiler flags.
78415 LTCFLAGS=$lt_CFLAGS
78417 # Take the output of nm and produce a listing of raw symbols and C names.
78418 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
78420 # Transform the output of nm in a proper C declaration.
78421 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
78423 # Transform the output of nm in a C name address pair.
78424 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
78426 # Transform the output of nm in a C name address pair when lib prefix is needed.
78427 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
78429 # The name of the directory that contains temporary libtool files.
78430 objdir=$objdir
78432 # Used to examine libraries when file_magic_cmd begins with "file".
78433 MAGIC_CMD=$MAGIC_CMD
78435 # Must we lock files when doing compilation?
78436 need_locks=$lt_need_locks
78438 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
78439 DSYMUTIL=$lt_DSYMUTIL
78441 # Tool to change global to local symbols on Mac OS X.
78442 NMEDIT=$lt_NMEDIT
78444 # Tool to manipulate fat objects and archives on Mac OS X.
78445 LIPO=$lt_LIPO
78447 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
78448 OTOOL=$lt_OTOOL
78450 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
78451 OTOOL64=$lt_OTOOL64
78453 # Old archive suffix (normally "a").
78454 libext=$libext
78456 # Shared library suffix (normally ".so").
78457 shrext_cmds=$lt_shrext_cmds
78459 # The commands to extract the exported symbol list from a shared archive.
78460 extract_expsyms_cmds=$lt_extract_expsyms_cmds
78462 # Variables whose values should be saved in libtool wrapper scripts and
78463 # restored at link time.
78464 variables_saved_for_relink=$lt_variables_saved_for_relink
78466 # Do we need the "lib" prefix for modules?
78467 need_lib_prefix=$need_lib_prefix
78469 # Do we need a version for libraries?
78470 need_version=$need_version
78472 # Library versioning type.
78473 version_type=$version_type
78475 # Shared library runtime path variable.
78476 runpath_var=$runpath_var
78478 # Shared library path variable.
78479 shlibpath_var=$shlibpath_var
78481 # Is shlibpath searched before the hard-coded library search path?
78482 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
78484 # Format of library name prefix.
78485 libname_spec=$lt_libname_spec
78487 # List of archive names. First name is the real one, the rest are links.
78488 # The last name is the one that the linker finds with -lNAME
78489 library_names_spec=$lt_library_names_spec
78491 # The coded name of the library, if different from the real name.
78492 soname_spec=$lt_soname_spec
78494 # Permission mode override for installation of shared libraries.
78495 install_override_mode=$lt_install_override_mode
78497 # Command to use after installation of a shared archive.
78498 postinstall_cmds=$lt_postinstall_cmds
78500 # Command to use after uninstallation of a shared archive.
78501 postuninstall_cmds=$lt_postuninstall_cmds
78503 # Commands used to finish a libtool library installation in a directory.
78504 finish_cmds=$lt_finish_cmds
78506 # As "finish_cmds", except a single script fragment to be evaled but
78507 # not shown.
78508 finish_eval=$lt_finish_eval
78510 # Whether we should hardcode library paths into libraries.
78511 hardcode_into_libs=$hardcode_into_libs
78513 # Compile-time system search path for libraries.
78514 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
78516 # Run-time system search path for libraries.
78517 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
78519 # Whether dlopen is supported.
78520 dlopen_support=$enable_dlopen
78522 # Whether dlopen of programs is supported.
78523 dlopen_self=$enable_dlopen_self
78525 # Whether dlopen of statically linked programs is supported.
78526 dlopen_self_static=$enable_dlopen_self_static
78528 # Commands to strip libraries.
78529 old_striplib=$lt_old_striplib
78530 striplib=$lt_striplib
78533 # The linker used to build libraries.
78534 LD=$lt_LD
78536 # How to create reloadable object files.
78537 reload_flag=$lt_reload_flag
78538 reload_cmds=$lt_reload_cmds
78540 # Commands used to build an old-style archive.
78541 old_archive_cmds=$lt_old_archive_cmds
78543 # A language specific compiler.
78544 CC=$lt_compiler
78546 # Is the compiler the GNU compiler?
78547 with_gcc=$GCC
78549 # Compiler flag to turn off builtin functions.
78550 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
78552 # How to pass a linker flag through the compiler.
78553 wl=$lt_lt_prog_compiler_wl
78555 # Additional compiler flags for building library objects.
78556 pic_flag=$lt_lt_prog_compiler_pic
78558 # Compiler flag to prevent dynamic linking.
78559 link_static_flag=$lt_lt_prog_compiler_static
78561 # Does compiler simultaneously support -c and -o options?
78562 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
78564 # Whether or not to add -lc for building shared libraries.
78565 build_libtool_need_lc=$archive_cmds_need_lc
78567 # Whether or not to disallow shared libs when runtime libs are static.
78568 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
78570 # Compiler flag to allow reflexive dlopens.
78571 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
78573 # Compiler flag to generate shared objects directly from archives.
78574 whole_archive_flag_spec=$lt_whole_archive_flag_spec
78576 # Whether the compiler copes with passing no objects directly.
78577 compiler_needs_object=$lt_compiler_needs_object
78579 # Create an old-style archive from a shared archive.
78580 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
78582 # Create a temporary old-style archive to link instead of a shared archive.
78583 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
78585 # Commands used to build a shared archive.
78586 archive_cmds=$lt_archive_cmds
78587 archive_expsym_cmds=$lt_archive_expsym_cmds
78589 # Commands used to build a loadable module if different from building
78590 # a shared archive.
78591 module_cmds=$lt_module_cmds
78592 module_expsym_cmds=$lt_module_expsym_cmds
78594 # Whether we are building with GNU ld or not.
78595 with_gnu_ld=$lt_with_gnu_ld
78597 # Flag that allows shared libraries with undefined symbols to be built.
78598 allow_undefined_flag=$lt_allow_undefined_flag
78600 # Flag that enforces no undefined symbols.
78601 no_undefined_flag=$lt_no_undefined_flag
78603 # Flag to hardcode \$libdir into a binary during linking.
78604 # This must work even if \$libdir does not exist
78605 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
78607 # If ld is used when linking, flag to hardcode \$libdir into a binary
78608 # during linking. This must work even if \$libdir does not exist.
78609 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
78611 # Whether we need a single "-rpath" flag with a separated argument.
78612 hardcode_libdir_separator=$lt_hardcode_libdir_separator
78614 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
78615 # DIR into the resulting binary.
78616 hardcode_direct=$hardcode_direct
78618 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
78619 # DIR into the resulting binary and the resulting library dependency is
78620 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
78621 # library is relocated.
78622 hardcode_direct_absolute=$hardcode_direct_absolute
78624 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
78625 # into the resulting binary.
78626 hardcode_minus_L=$hardcode_minus_L
78628 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
78629 # into the resulting binary.
78630 hardcode_shlibpath_var=$hardcode_shlibpath_var
78632 # Set to "yes" if building a shared library automatically hardcodes DIR
78633 # into the library and all subsequent libraries and executables linked
78634 # against it.
78635 hardcode_automatic=$hardcode_automatic
78637 # Set to yes if linker adds runtime paths of dependent libraries
78638 # to runtime path list.
78639 inherit_rpath=$inherit_rpath
78641 # Whether libtool must link a program against all its dependency libraries.
78642 link_all_deplibs=$link_all_deplibs
78644 # Fix the shell variable \$srcfile for the compiler.
78645 fix_srcfile_path=$lt_fix_srcfile_path
78647 # Set to "yes" if exported symbols are required.
78648 always_export_symbols=$always_export_symbols
78650 # The commands to list exported symbols.
78651 export_symbols_cmds=$lt_export_symbols_cmds
78653 # Symbols that should not be listed in the preloaded symbols.
78654 exclude_expsyms=$lt_exclude_expsyms
78656 # Symbols that must always be exported.
78657 include_expsyms=$lt_include_expsyms
78659 # Commands necessary for linking programs (against libraries) with templates.
78660 prelink_cmds=$lt_prelink_cmds
78662 # Specify filename containing input files.
78663 file_list_spec=$lt_file_list_spec
78665 # How to hardcode a shared library path into an executable.
78666 hardcode_action=$hardcode_action
78668 # The directories searched by this compiler when creating a shared library.
78669 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
78671 # Dependencies to place before and after the objects being linked to
78672 # create a shared library.
78673 predep_objects=$lt_predep_objects
78674 postdep_objects=$lt_postdep_objects
78675 predeps=$lt_predeps
78676 postdeps=$lt_postdeps
78678 # The library search path used internally by the compiler when linking
78679 # a shared library.
78680 compiler_lib_search_path=$lt_compiler_lib_search_path
78682 # ### END LIBTOOL CONFIG
78684 _LT_EOF
78686 case $host_os in
78687 aix3*)
78688 cat <<\_LT_EOF >> "$cfgfile"
78689 # AIX sometimes has problems with the GCC collect2 program. For some
78690 # reason, if we set the COLLECT_NAMES environment variable, the problems
78691 # vanish in a puff of smoke.
78692 if test "X${COLLECT_NAMES+set}" != Xset; then
78693 COLLECT_NAMES=
78694 export COLLECT_NAMES
78696 _LT_EOF
78698 esac
78701 ltmain="$ac_aux_dir/ltmain.sh"
78704 # We use sed instead of cat because bash on DJGPP gets confused if
78705 # if finds mixed CR/LF and LF-only lines. Since sed operates in
78706 # text mode, it properly converts lines to CR/LF. This bash problem
78707 # is reportedly fixed, but why not run on old versions too?
78708 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
78709 || (rm -f "$cfgfile"; exit 1)
78711 case $xsi_shell in
78712 yes)
78713 cat << \_LT_EOF >> "$cfgfile"
78715 # func_dirname file append nondir_replacement
78716 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
78717 # otherwise set result to NONDIR_REPLACEMENT.
78718 func_dirname ()
78720 case ${1} in
78721 */*) func_dirname_result="${1%/*}${2}" ;;
78722 * ) func_dirname_result="${3}" ;;
78723 esac
78726 # func_basename file
78727 func_basename ()
78729 func_basename_result="${1##*/}"
78732 # func_dirname_and_basename file append nondir_replacement
78733 # perform func_basename and func_dirname in a single function
78734 # call:
78735 # dirname: Compute the dirname of FILE. If nonempty,
78736 # add APPEND to the result, otherwise set result
78737 # to NONDIR_REPLACEMENT.
78738 # value returned in "$func_dirname_result"
78739 # basename: Compute filename of FILE.
78740 # value retuned in "$func_basename_result"
78741 # Implementation must be kept synchronized with func_dirname
78742 # and func_basename. For efficiency, we do not delegate to
78743 # those functions but instead duplicate the functionality here.
78744 func_dirname_and_basename ()
78746 case ${1} in
78747 */*) func_dirname_result="${1%/*}${2}" ;;
78748 * ) func_dirname_result="${3}" ;;
78749 esac
78750 func_basename_result="${1##*/}"
78753 # func_stripname prefix suffix name
78754 # strip PREFIX and SUFFIX off of NAME.
78755 # PREFIX and SUFFIX must not contain globbing or regex special
78756 # characters, hashes, percent signs, but SUFFIX may contain a leading
78757 # dot (in which case that matches only a dot).
78758 func_stripname ()
78760 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
78761 # positional parameters, so assign one to ordinary parameter first.
78762 func_stripname_result=${3}
78763 func_stripname_result=${func_stripname_result#"${1}"}
78764 func_stripname_result=${func_stripname_result%"${2}"}
78767 # func_opt_split
78768 func_opt_split ()
78770 func_opt_split_opt=${1%%=*}
78771 func_opt_split_arg=${1#*=}
78774 # func_lo2o object
78775 func_lo2o ()
78777 case ${1} in
78778 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
78779 *) func_lo2o_result=${1} ;;
78780 esac
78783 # func_xform libobj-or-source
78784 func_xform ()
78786 func_xform_result=${1%.*}.lo
78789 # func_arith arithmetic-term...
78790 func_arith ()
78792 func_arith_result=$(( $* ))
78795 # func_len string
78796 # STRING may not start with a hyphen.
78797 func_len ()
78799 func_len_result=${#1}
78802 _LT_EOF
78804 *) # Bourne compatible functions.
78805 cat << \_LT_EOF >> "$cfgfile"
78807 # func_dirname file append nondir_replacement
78808 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
78809 # otherwise set result to NONDIR_REPLACEMENT.
78810 func_dirname ()
78812 # Extract subdirectory from the argument.
78813 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
78814 if test "X$func_dirname_result" = "X${1}"; then
78815 func_dirname_result="${3}"
78816 else
78817 func_dirname_result="$func_dirname_result${2}"
78821 # func_basename file
78822 func_basename ()
78824 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
78828 # func_stripname prefix suffix name
78829 # strip PREFIX and SUFFIX off of NAME.
78830 # PREFIX and SUFFIX must not contain globbing or regex special
78831 # characters, hashes, percent signs, but SUFFIX may contain a leading
78832 # dot (in which case that matches only a dot).
78833 # func_strip_suffix prefix name
78834 func_stripname ()
78836 case ${2} in
78837 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
78838 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
78839 esac
78842 # sed scripts:
78843 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
78844 my_sed_long_arg='1s/^-[^=]*=//'
78846 # func_opt_split
78847 func_opt_split ()
78849 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
78850 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
78853 # func_lo2o object
78854 func_lo2o ()
78856 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
78859 # func_xform libobj-or-source
78860 func_xform ()
78862 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
78865 # func_arith arithmetic-term...
78866 func_arith ()
78868 func_arith_result=`expr "$@"`
78871 # func_len string
78872 # STRING may not start with a hyphen.
78873 func_len ()
78875 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
78878 _LT_EOF
78879 esac
78881 case $lt_shell_append in
78882 yes)
78883 cat << \_LT_EOF >> "$cfgfile"
78885 # func_append var value
78886 # Append VALUE to the end of shell variable VAR.
78887 func_append ()
78889 eval "$1+=\$2"
78891 _LT_EOF
78894 cat << \_LT_EOF >> "$cfgfile"
78896 # func_append var value
78897 # Append VALUE to the end of shell variable VAR.
78898 func_append ()
78900 eval "$1=\$$1\$2"
78903 _LT_EOF
78905 esac
78908 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
78909 || (rm -f "$cfgfile"; exit 1)
78911 mv -f "$cfgfile" "$ofile" ||
78912 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
78913 chmod +x "$ofile"
78916 cat <<_LT_EOF >> "$ofile"
78918 # ### BEGIN LIBTOOL TAG CONFIG: CXX
78920 # The linker used to build libraries.
78921 LD=$lt_LD_CXX
78923 # How to create reloadable object files.
78924 reload_flag=$lt_reload_flag_CXX
78925 reload_cmds=$lt_reload_cmds_CXX
78927 # Commands used to build an old-style archive.
78928 old_archive_cmds=$lt_old_archive_cmds_CXX
78930 # A language specific compiler.
78931 CC=$lt_compiler_CXX
78933 # Is the compiler the GNU compiler?
78934 with_gcc=$GCC_CXX
78936 # Compiler flag to turn off builtin functions.
78937 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
78939 # How to pass a linker flag through the compiler.
78940 wl=$lt_lt_prog_compiler_wl_CXX
78942 # Additional compiler flags for building library objects.
78943 pic_flag=$lt_lt_prog_compiler_pic_CXX
78945 # Compiler flag to prevent dynamic linking.
78946 link_static_flag=$lt_lt_prog_compiler_static_CXX
78948 # Does compiler simultaneously support -c and -o options?
78949 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
78951 # Whether or not to add -lc for building shared libraries.
78952 build_libtool_need_lc=$archive_cmds_need_lc_CXX
78954 # Whether or not to disallow shared libs when runtime libs are static.
78955 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
78957 # Compiler flag to allow reflexive dlopens.
78958 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
78960 # Compiler flag to generate shared objects directly from archives.
78961 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
78963 # Whether the compiler copes with passing no objects directly.
78964 compiler_needs_object=$lt_compiler_needs_object_CXX
78966 # Create an old-style archive from a shared archive.
78967 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
78969 # Create a temporary old-style archive to link instead of a shared archive.
78970 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
78972 # Commands used to build a shared archive.
78973 archive_cmds=$lt_archive_cmds_CXX
78974 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
78976 # Commands used to build a loadable module if different from building
78977 # a shared archive.
78978 module_cmds=$lt_module_cmds_CXX
78979 module_expsym_cmds=$lt_module_expsym_cmds_CXX
78981 # Whether we are building with GNU ld or not.
78982 with_gnu_ld=$lt_with_gnu_ld_CXX
78984 # Flag that allows shared libraries with undefined symbols to be built.
78985 allow_undefined_flag=$lt_allow_undefined_flag_CXX
78987 # Flag that enforces no undefined symbols.
78988 no_undefined_flag=$lt_no_undefined_flag_CXX
78990 # Flag to hardcode \$libdir into a binary during linking.
78991 # This must work even if \$libdir does not exist
78992 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
78994 # If ld is used when linking, flag to hardcode \$libdir into a binary
78995 # during linking. This must work even if \$libdir does not exist.
78996 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
78998 # Whether we need a single "-rpath" flag with a separated argument.
78999 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
79001 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
79002 # DIR into the resulting binary.
79003 hardcode_direct=$hardcode_direct_CXX
79005 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
79006 # DIR into the resulting binary and the resulting library dependency is
79007 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
79008 # library is relocated.
79009 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
79011 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
79012 # into the resulting binary.
79013 hardcode_minus_L=$hardcode_minus_L_CXX
79015 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
79016 # into the resulting binary.
79017 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
79019 # Set to "yes" if building a shared library automatically hardcodes DIR
79020 # into the library and all subsequent libraries and executables linked
79021 # against it.
79022 hardcode_automatic=$hardcode_automatic_CXX
79024 # Set to yes if linker adds runtime paths of dependent libraries
79025 # to runtime path list.
79026 inherit_rpath=$inherit_rpath_CXX
79028 # Whether libtool must link a program against all its dependency libraries.
79029 link_all_deplibs=$link_all_deplibs_CXX
79031 # Fix the shell variable \$srcfile for the compiler.
79032 fix_srcfile_path=$lt_fix_srcfile_path_CXX
79034 # Set to "yes" if exported symbols are required.
79035 always_export_symbols=$always_export_symbols_CXX
79037 # The commands to list exported symbols.
79038 export_symbols_cmds=$lt_export_symbols_cmds_CXX
79040 # Symbols that should not be listed in the preloaded symbols.
79041 exclude_expsyms=$lt_exclude_expsyms_CXX
79043 # Symbols that must always be exported.
79044 include_expsyms=$lt_include_expsyms_CXX
79046 # Commands necessary for linking programs (against libraries) with templates.
79047 prelink_cmds=$lt_prelink_cmds_CXX
79049 # Specify filename containing input files.
79050 file_list_spec=$lt_file_list_spec_CXX
79052 # How to hardcode a shared library path into an executable.
79053 hardcode_action=$hardcode_action_CXX
79055 # The directories searched by this compiler when creating a shared library.
79056 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
79058 # Dependencies to place before and after the objects being linked to
79059 # create a shared library.
79060 predep_objects=$lt_predep_objects_CXX
79061 postdep_objects=$lt_postdep_objects_CXX
79062 predeps=$lt_predeps_CXX
79063 postdeps=$lt_postdeps_CXX
79065 # The library search path used internally by the compiler when linking
79066 # a shared library.
79067 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
79069 # ### END LIBTOOL TAG CONFIG: CXX
79070 _LT_EOF
79073 "include/gstdint.h":C)
79074 if test "$GCC" = yes; then
79075 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
79076 else
79077 echo "/* generated for $CC */" > tmp-stdint.h
79080 sed 's/^ *//' >> tmp-stdint.h <<EOF
79082 #ifndef GCC_GENERATED_STDINT_H
79083 #define GCC_GENERATED_STDINT_H 1
79085 #include <sys/types.h>
79088 if test "$acx_cv_header_stdint" != stdint.h; then
79089 echo "#include <stddef.h>" >> tmp-stdint.h
79091 if test "$acx_cv_header_stdint" != stddef.h; then
79092 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
79095 sed 's/^ *//' >> tmp-stdint.h <<EOF
79096 /* glibc uses these symbols as guards to prevent redefinitions. */
79097 #ifdef __int8_t_defined
79098 #define _INT8_T
79099 #define _INT16_T
79100 #define _INT32_T
79101 #endif
79102 #ifdef __uint32_t_defined
79103 #define _UINT32_T
79104 #endif
79108 # ----------------- done header, emit basic int types -------------
79109 if test "$acx_cv_header_stdint" = stddef.h; then
79110 sed 's/^ *//' >> tmp-stdint.h <<EOF
79112 #ifndef _UINT8_T
79113 #define _UINT8_T
79114 #ifndef __uint8_t_defined
79115 #define __uint8_t_defined
79116 #ifndef uint8_t
79117 typedef unsigned $acx_cv_type_int8_t uint8_t;
79118 #endif
79119 #endif
79120 #endif
79122 #ifndef _UINT16_T
79123 #define _UINT16_T
79124 #ifndef __uint16_t_defined
79125 #define __uint16_t_defined
79126 #ifndef uint16_t
79127 typedef unsigned $acx_cv_type_int16_t uint16_t;
79128 #endif
79129 #endif
79130 #endif
79132 #ifndef _UINT32_T
79133 #define _UINT32_T
79134 #ifndef __uint32_t_defined
79135 #define __uint32_t_defined
79136 #ifndef uint32_t
79137 typedef unsigned $acx_cv_type_int32_t uint32_t;
79138 #endif
79139 #endif
79140 #endif
79142 #ifndef _INT8_T
79143 #define _INT8_T
79144 #ifndef __int8_t_defined
79145 #define __int8_t_defined
79146 #ifndef int8_t
79147 typedef $acx_cv_type_int8_t int8_t;
79148 #endif
79149 #endif
79150 #endif
79152 #ifndef _INT16_T
79153 #define _INT16_T
79154 #ifndef __int16_t_defined
79155 #define __int16_t_defined
79156 #ifndef int16_t
79157 typedef $acx_cv_type_int16_t int16_t;
79158 #endif
79159 #endif
79160 #endif
79162 #ifndef _INT32_T
79163 #define _INT32_T
79164 #ifndef __int32_t_defined
79165 #define __int32_t_defined
79166 #ifndef int32_t
79167 typedef $acx_cv_type_int32_t int32_t;
79168 #endif
79169 #endif
79170 #endif
79172 elif test "$ac_cv_type_u_int32_t" = yes; then
79173 sed 's/^ *//' >> tmp-stdint.h <<EOF
79175 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
79176 #ifndef _INT8_T
79177 #define _INT8_T
79178 #endif
79179 #ifndef _INT16_T
79180 #define _INT16_T
79181 #endif
79182 #ifndef _INT32_T
79183 #define _INT32_T
79184 #endif
79186 #ifndef _UINT8_T
79187 #define _UINT8_T
79188 #ifndef __uint8_t_defined
79189 #define __uint8_t_defined
79190 #ifndef uint8_t
79191 typedef u_int8_t uint8_t;
79192 #endif
79193 #endif
79194 #endif
79196 #ifndef _UINT16_T
79197 #define _UINT16_T
79198 #ifndef __uint16_t_defined
79199 #define __uint16_t_defined
79200 #ifndef uint16_t
79201 typedef u_int16_t uint16_t;
79202 #endif
79203 #endif
79204 #endif
79206 #ifndef _UINT32_T
79207 #define _UINT32_T
79208 #ifndef __uint32_t_defined
79209 #define __uint32_t_defined
79210 #ifndef uint32_t
79211 typedef u_int32_t uint32_t;
79212 #endif
79213 #endif
79214 #endif
79216 else
79217 sed 's/^ *//' >> tmp-stdint.h <<EOF
79219 /* Some systems have guard macros to prevent redefinitions, define them. */
79220 #ifndef _INT8_T
79221 #define _INT8_T
79222 #endif
79223 #ifndef _INT16_T
79224 #define _INT16_T
79225 #endif
79226 #ifndef _INT32_T
79227 #define _INT32_T
79228 #endif
79229 #ifndef _UINT8_T
79230 #define _UINT8_T
79231 #endif
79232 #ifndef _UINT16_T
79233 #define _UINT16_T
79234 #endif
79235 #ifndef _UINT32_T
79236 #define _UINT32_T
79237 #endif
79241 # ------------- done basic int types, emit int64_t types ------------
79242 if test "$ac_cv_type_uint64_t" = yes; then
79243 sed 's/^ *//' >> tmp-stdint.h <<EOF
79245 /* system headers have good uint64_t and int64_t */
79246 #ifndef _INT64_T
79247 #define _INT64_T
79248 #endif
79249 #ifndef _UINT64_T
79250 #define _UINT64_T
79251 #endif
79253 elif test "$ac_cv_type_u_int64_t" = yes; then
79254 sed 's/^ *//' >> tmp-stdint.h <<EOF
79256 /* system headers have an u_int64_t (and int64_t) */
79257 #ifndef _INT64_T
79258 #define _INT64_T
79259 #endif
79260 #ifndef _UINT64_T
79261 #define _UINT64_T
79262 #ifndef __uint64_t_defined
79263 #define __uint64_t_defined
79264 #ifndef uint64_t
79265 typedef u_int64_t uint64_t;
79266 #endif
79267 #endif
79268 #endif
79270 elif test -n "$acx_cv_type_int64_t"; then
79271 sed 's/^ *//' >> tmp-stdint.h <<EOF
79273 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
79274 #ifndef _INT64_T
79275 #define _INT64_T
79276 #ifndef int64_t
79277 typedef $acx_cv_type_int64_t int64_t;
79278 #endif
79279 #endif
79280 #ifndef _UINT64_T
79281 #define _UINT64_T
79282 #ifndef __uint64_t_defined
79283 #define __uint64_t_defined
79284 #ifndef uint64_t
79285 typedef unsigned $acx_cv_type_int64_t uint64_t;
79286 #endif
79287 #endif
79288 #endif
79290 else
79291 sed 's/^ *//' >> tmp-stdint.h <<EOF
79293 /* some common heuristics for int64_t, using compiler-specific tests */
79294 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
79295 #ifndef _INT64_T
79296 #define _INT64_T
79297 #ifndef __int64_t_defined
79298 #ifndef int64_t
79299 typedef long long int64_t;
79300 #endif
79301 #endif
79302 #endif
79303 #ifndef _UINT64_T
79304 #define _UINT64_T
79305 #ifndef uint64_t
79306 typedef unsigned long long uint64_t;
79307 #endif
79308 #endif
79310 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
79311 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
79312 does not implement __extension__. But that compiler doesn't define
79313 __GNUC_MINOR__. */
79314 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
79315 # define __extension__
79316 # endif
79318 # ifndef _INT64_T
79319 # define _INT64_T
79320 # ifndef int64_t
79321 __extension__ typedef long long int64_t;
79322 # endif
79323 # endif
79324 # ifndef _UINT64_T
79325 # define _UINT64_T
79326 # ifndef uint64_t
79327 __extension__ typedef unsigned long long uint64_t;
79328 # endif
79329 # endif
79331 #elif !defined __STRICT_ANSI__
79332 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
79334 # ifndef _INT64_T
79335 # define _INT64_T
79336 # ifndef int64_t
79337 typedef __int64 int64_t;
79338 # endif
79339 # endif
79340 # ifndef _UINT64_T
79341 # define _UINT64_T
79342 # ifndef uint64_t
79343 typedef unsigned __int64 uint64_t;
79344 # endif
79345 # endif
79346 # endif /* compiler */
79348 #endif /* ANSI version */
79352 # ------------- done int64_t types, emit intptr types ------------
79353 if test "$ac_cv_type_uintptr_t" != yes; then
79354 sed 's/^ *//' >> tmp-stdint.h <<EOF
79356 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
79357 #ifndef __uintptr_t_defined
79358 #ifndef uintptr_t
79359 typedef u$acx_cv_type_intptr_t uintptr_t;
79360 #endif
79361 #endif
79362 #ifndef __intptr_t_defined
79363 #ifndef intptr_t
79364 typedef $acx_cv_type_intptr_t intptr_t;
79365 #endif
79366 #endif
79370 # ------------- done intptr types, emit int_least types ------------
79371 if test "$ac_cv_type_int_least32_t" != yes; then
79372 sed 's/^ *//' >> tmp-stdint.h <<EOF
79374 /* Define int_least types */
79375 typedef int8_t int_least8_t;
79376 typedef int16_t int_least16_t;
79377 typedef int32_t int_least32_t;
79378 #ifdef _INT64_T
79379 typedef int64_t int_least64_t;
79380 #endif
79382 typedef uint8_t uint_least8_t;
79383 typedef uint16_t uint_least16_t;
79384 typedef uint32_t uint_least32_t;
79385 #ifdef _UINT64_T
79386 typedef uint64_t uint_least64_t;
79387 #endif
79391 # ------------- done intptr types, emit int_fast types ------------
79392 if test "$ac_cv_type_int_fast32_t" != yes; then
79393 sed 's/^ *//' >> tmp-stdint.h <<EOF
79395 /* Define int_fast types. short is often slow */
79396 typedef int8_t int_fast8_t;
79397 typedef int int_fast16_t;
79398 typedef int32_t int_fast32_t;
79399 #ifdef _INT64_T
79400 typedef int64_t int_fast64_t;
79401 #endif
79403 typedef uint8_t uint_fast8_t;
79404 typedef unsigned int uint_fast16_t;
79405 typedef uint32_t uint_fast32_t;
79406 #ifdef _UINT64_T
79407 typedef uint64_t uint_fast64_t;
79408 #endif
79412 if test "$ac_cv_type_uintmax_t" != yes; then
79413 sed 's/^ *//' >> tmp-stdint.h <<EOF
79415 /* Define intmax based on what we found */
79416 #ifndef intmax_t
79417 #ifdef _INT64_T
79418 typedef int64_t intmax_t;
79419 #else
79420 typedef long intmax_t;
79421 #endif
79422 #endif
79423 #ifndef uintmax_t
79424 #ifdef _UINT64_T
79425 typedef uint64_t uintmax_t;
79426 #else
79427 typedef unsigned long uintmax_t;
79428 #endif
79429 #endif
79433 sed 's/^ *//' >> tmp-stdint.h <<EOF
79435 #endif /* GCC_GENERATED_STDINT_H */
79438 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
79439 rm -f tmp-stdint.h
79440 else
79441 mv -f tmp-stdint.h include/gstdint.h
79445 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
79446 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
79447 "include/Makefile":F) cat > vpsed$$ << \_EOF
79448 s!`test -f '$<' || echo '$(srcdir)/'`!!
79449 _EOF
79450 sed -f vpsed$$ $ac_file > tmp$$
79451 mv tmp$$ $ac_file
79452 rm vpsed$$
79453 echo 'MULTISUBDIR =' >> $ac_file
79454 ml_norecursion=yes
79455 . ${multi_basedir}/config-ml.in
79456 { ml_norecursion=; unset ml_norecursion;}
79458 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
79459 s!`test -f '$<' || echo '$(srcdir)/'`!!
79460 _EOF
79461 sed -f vpsed$$ $ac_file > tmp$$
79462 mv tmp$$ $ac_file
79463 rm vpsed$$
79464 echo 'MULTISUBDIR =' >> $ac_file
79465 ml_norecursion=yes
79466 . ${multi_basedir}/config-ml.in
79467 { ml_norecursion=; unset ml_norecursion;}
79469 "src/Makefile":F) cat > vpsed$$ << \_EOF
79470 s!`test -f '$<' || echo '$(srcdir)/'`!!
79471 _EOF
79472 sed -f vpsed$$ $ac_file > tmp$$
79473 mv tmp$$ $ac_file
79474 rm vpsed$$
79475 echo 'MULTISUBDIR =' >> $ac_file
79476 ml_norecursion=yes
79477 . ${multi_basedir}/config-ml.in
79478 { ml_norecursion=; unset ml_norecursion;}
79480 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
79481 s!`test -f '$<' || echo '$(srcdir)/'`!!
79482 _EOF
79483 sed -f vpsed$$ $ac_file > tmp$$
79484 mv tmp$$ $ac_file
79485 rm vpsed$$
79486 echo 'MULTISUBDIR =' >> $ac_file
79487 ml_norecursion=yes
79488 . ${multi_basedir}/config-ml.in
79489 { ml_norecursion=; unset ml_norecursion;}
79491 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
79492 s!`test -f '$<' || echo '$(srcdir)/'`!!
79493 _EOF
79494 sed -f vpsed$$ $ac_file > tmp$$
79495 mv tmp$$ $ac_file
79496 rm vpsed$$
79497 echo 'MULTISUBDIR =' >> $ac_file
79498 ml_norecursion=yes
79499 . ${multi_basedir}/config-ml.in
79500 { ml_norecursion=; unset ml_norecursion;}
79502 "src/c++17/Makefile":F) cat > vpsed$$ << \_EOF
79503 s!`test -f '$<' || echo '$(srcdir)/'`!!
79504 _EOF
79505 sed -f vpsed$$ $ac_file > tmp$$
79506 mv tmp$$ $ac_file
79507 rm vpsed$$
79508 echo 'MULTISUBDIR =' >> $ac_file
79509 ml_norecursion=yes
79510 . ${multi_basedir}/config-ml.in
79511 { ml_norecursion=; unset ml_norecursion;}
79513 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
79514 s!`test -f '$<' || echo '$(srcdir)/'`!!
79515 _EOF
79516 sed -f vpsed$$ $ac_file > tmp$$
79517 mv tmp$$ $ac_file
79518 rm vpsed$$
79519 echo 'MULTISUBDIR =' >> $ac_file
79520 ml_norecursion=yes
79521 . ${multi_basedir}/config-ml.in
79522 { ml_norecursion=; unset ml_norecursion;}
79524 "doc/Makefile":F) cat > vpsed$$ << \_EOF
79525 s!`test -f '$<' || echo '$(srcdir)/'`!!
79526 _EOF
79527 sed -f vpsed$$ $ac_file > tmp$$
79528 mv tmp$$ $ac_file
79529 rm vpsed$$
79530 echo 'MULTISUBDIR =' >> $ac_file
79531 ml_norecursion=yes
79532 . ${multi_basedir}/config-ml.in
79533 { ml_norecursion=; unset ml_norecursion;}
79535 "po/Makefile":F) cat > vpsed$$ << \_EOF
79536 s!`test -f '$<' || echo '$(srcdir)/'`!!
79537 _EOF
79538 sed -f vpsed$$ $ac_file > tmp$$
79539 mv tmp$$ $ac_file
79540 rm vpsed$$
79541 echo 'MULTISUBDIR =' >> $ac_file
79542 ml_norecursion=yes
79543 . ${multi_basedir}/config-ml.in
79544 { ml_norecursion=; unset ml_norecursion;}
79546 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
79547 s!`test -f '$<' || echo '$(srcdir)/'`!!
79548 _EOF
79549 sed -f vpsed$$ $ac_file > tmp$$
79550 mv tmp$$ $ac_file
79551 rm vpsed$$
79552 echo 'MULTISUBDIR =' >> $ac_file
79553 ml_norecursion=yes
79554 . ${multi_basedir}/config-ml.in
79555 { ml_norecursion=; unset ml_norecursion;}
79557 "python/Makefile":F) cat > vpsed$$ << \_EOF
79558 s!`test -f '$<' || echo '$(srcdir)/'`!!
79559 _EOF
79560 sed -f vpsed$$ $ac_file > tmp$$
79561 mv tmp$$ $ac_file
79562 rm vpsed$$
79563 echo 'MULTISUBDIR =' >> $ac_file
79564 ml_norecursion=yes
79565 . ${multi_basedir}/config-ml.in
79566 { ml_norecursion=; unset ml_norecursion;}
79568 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
79570 esac
79571 done # for ac_tag
79574 as_fn_exit 0
79575 _ACEOF
79576 ac_clean_files=$ac_clean_files_save
79578 test $ac_write_fail = 0 ||
79579 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
79582 # configure is writing to config.log, and then calls config.status.
79583 # config.status does its own redirection, appending to config.log.
79584 # Unfortunately, on DOS this fails, as config.log is still kept open
79585 # by configure, so config.status won't be able to write to it; its
79586 # output is simply discarded. So we exec the FD to /dev/null,
79587 # effectively closing config.log, so it can be properly (re)opened and
79588 # appended to by config.status. When coming back to configure, we
79589 # need to make the FD available again.
79590 if test "$no_create" != yes; then
79591 ac_cs_success=:
79592 ac_config_status_args=
79593 test "$silent" = yes &&
79594 ac_config_status_args="$ac_config_status_args --quiet"
79595 exec 5>/dev/null
79596 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
79597 exec 5>>config.log
79598 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
79599 # would make configure fail if this is the last instruction.
79600 $ac_cs_success || as_fn_exit 1
79602 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
79603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
79604 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}