C _BitInt support [PR102989]
[official-gcc.git] / libstdc++-v3 / configure
blobdb1932300c0103161ba1503fc5799a73c3ff9032
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for package-unused version-unused.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
174 esac
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
190 else
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1
201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 PATH=/empty FPATH=/empty; export PATH FPATH
206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208 if (eval "$as_required") 2>/dev/null; then :
209 as_have_required=yes
210 else
211 as_have_required=no
213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
215 else
216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217 as_found=false
218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
220 IFS=$as_save_IFS
221 test -z "$as_dir" && as_dir=.
222 as_found=:
223 case $as_dir in #(
225 for as_base in sh bash ksh sh5; do
226 # Try only shells that exist, to save several forks.
227 as_shell=$as_dir/$as_base
228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230 CONFIG_SHELL=$as_shell as_have_required=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 break 2
235 done;;
236 esac
237 as_found=false
238 done
239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241 CONFIG_SHELL=$SHELL as_have_required=yes
242 fi; }
243 IFS=$as_save_IFS
246 if test "x$CONFIG_SHELL" != x; then :
247 export CONFIG_SHELL
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
252 BASH_ENV=/dev/null
253 ENV=/dev/null
254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255 case $- in # ((((
256 *v*x* | *x*v* ) as_opts=-vx ;;
257 *v* ) as_opts=-v ;;
258 *x* ) as_opts=-x ;;
259 * ) as_opts= ;;
260 esac
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265 exit 255
268 if test x$as_have_required = xno; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x${ZSH_VERSION+set} = xset ; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274 else
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
280 exit 1
284 SHELL=${CONFIG_SHELL-/bin/sh}
285 export SHELL
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE= GREP_OPTIONS=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
293 # as_fn_unset VAR
294 # ---------------
295 # Portably unset VAR.
296 as_fn_unset ()
298 { eval $1=; unset $1;}
300 as_unset=as_fn_unset
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
305 as_fn_set_status ()
307 return $1
308 } # as_fn_set_status
310 # as_fn_exit STATUS
311 # -----------------
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 as_fn_exit ()
315 set +e
316 as_fn_set_status $1
317 exit $1
318 } # as_fn_exit
320 # as_fn_mkdir_p
321 # -------------
322 # Create "$as_dir" as a directory, including parents if necessary.
323 as_fn_mkdir_p ()
326 case $as_dir in #(
327 -*) as_dir=./$as_dir;;
328 esac
329 test -d "$as_dir" || eval $as_mkdir_p || {
330 as_dirs=
331 while :; do
332 case $as_dir in #(
333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334 *) as_qdir=$as_dir;;
335 esac
336 as_dirs="'$as_qdir' $as_dirs"
337 as_dir=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344 s//\1/
347 /^X\(\/\/\)[^/].*/{
348 s//\1/
351 /^X\(\/\/\)$/{
352 s//\1/
355 /^X\(\/\).*/{
356 s//\1/
359 s/.*/./; q'`
360 test -d "$as_dir" && break
361 done
362 test -z "$as_dirs" || eval "mkdir $as_dirs"
363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
366 } # as_fn_mkdir_p
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p ()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
380 # implementations.
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382 eval 'as_fn_append ()
384 eval $1+=\$2
386 else
387 as_fn_append ()
389 eval $1=\$$1\$2
391 fi # as_fn_append
393 # as_fn_arith ARG...
394 # ------------------
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399 eval 'as_fn_arith ()
401 as_val=$(( $* ))
403 else
404 as_fn_arith ()
406 as_val=`expr "$@" || test $? -eq 1`
408 fi # as_fn_arith
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
416 as_fn_error ()
418 as_status=$1; test $as_status -eq 0 && as_status=1
419 if test "$4"; then
420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit $as_status
425 } # as_fn_error
427 if expr a : '\(a\)' >/dev/null 2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001; then
429 as_expr=expr
430 else
431 as_expr=false
434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 as_basename=basename
436 else
437 as_basename=false
440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441 as_dirname=dirname
442 else
443 as_dirname=false
446 as_me=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450 $as_echo X/"$0" |
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
452 s//\1/
455 /^X\/\(\/\/\)$/{
456 s//\1/
459 /^X\/\(\/\).*/{
460 s//\1/
463 s/.*/./; q'`
465 # Avoid depending upon Character Ranges.
466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits='0123456789'
470 as_cr_alnum=$as_cr_Letters$as_cr_digits
473 as_lineno_1=$LINENO as_lineno_1a=$LINENO
474 as_lineno_2=$LINENO as_lineno_2a=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
478 sed -n '
480 /[$]LINENO/=
481 ' <$as_myself |
482 sed '
483 s/[$]LINENO.*/&-/
484 t lineno
486 :lineno
488 :loop
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490 t loop
491 s/-\n.*//
492 ' >$as_me.lineno &&
493 chmod +x "$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec=no; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
503 . "./$as_me.lineno"
504 # Exit status is that of the last command.
505 exit
508 ECHO_C= ECHO_N= ECHO_T=
509 case `echo -n x` in #(((((
510 -n*)
511 case `echo 'xy\c'` in
512 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
513 xy) ECHO_C='\c';;
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
515 ECHO_T=' ';;
516 esac;;
518 ECHO_N='-n';;
519 esac
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523 rm -f conf$$.dir/conf$$.file
524 else
525 rm -f conf$$.dir
526 mkdir conf$$.dir 2>/dev/null
528 if (echo >conf$$.file) 2>/dev/null; then
529 if ln -s conf$$.file conf$$ 2>/dev/null; then
530 as_ln_s='ln -s'
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536 as_ln_s='cp -pR'
537 elif ln conf$$.file conf$$ 2>/dev/null; then
538 as_ln_s=ln
539 else
540 as_ln_s='cp -pR'
542 else
543 as_ln_s='cp -pR'
545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546 rmdir conf$$.dir 2>/dev/null
548 if mkdir -p . 2>/dev/null; then
549 as_mkdir_p='mkdir -p "$as_dir"'
550 else
551 test -d ./-p && rmdir ./-p
552 as_mkdir_p=false
555 as_test_x='test -x'
556 as_executable_p=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" || exec 7<&0 </dev/null
568 exec 6>&1
570 # Name of the host.
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
576 # Initializations.
578 ac_default_prefix=/usr/local
579 ac_clean_files=
580 ac_config_libobj_dir=.
581 LIBOBJS=
582 cross_compiling=no
583 subdirs=
584 MFLAGS=
585 MAKEFLAGS=
587 # Identity of this package.
588 PACKAGE_NAME='package-unused'
589 PACKAGE_TARNAME='libstdc++'
590 PACKAGE_VERSION='version-unused'
591 PACKAGE_STRING='package-unused version-unused'
592 PACKAGE_BUGREPORT=''
593 PACKAGE_URL=''
595 ac_unique_file="src/shared/hashtable-aux.cc"
596 # Factoring default headers for most tests.
597 ac_includes_default="\
598 #include <stdio.h>
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
601 #endif
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
604 #endif
605 #ifdef STDC_HEADERS
606 # include <stdlib.h>
607 # include <stddef.h>
608 #else
609 # ifdef HAVE_STDLIB_H
610 # include <stdlib.h>
611 # endif
612 #endif
613 #ifdef HAVE_STRING_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
615 # include <memory.h>
616 # endif
617 # include <string.h>
618 #endif
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
621 #endif
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
624 #endif
625 #ifdef HAVE_STDINT_H
626 # include <stdint.h>
627 #endif
628 #ifdef HAVE_UNISTD_H
629 # include <unistd.h>
630 #endif"
632 ac_subst_vars='am__EXEEXT_FALSE
633 am__EXEEXT_TRUE
634 LTLIBOBJS
635 LIBOBJS
636 get_gcc_base_ver
637 WARN_FLAGS
638 OPTIMIZE_CXXFLAGS
639 TOPLEVEL_INCLUDES
640 GLIBCXX_INCLUDES
641 glibcxx_toolexeclibdir
642 glibcxx_toolexecdir
643 gxx_include_dir
644 glibcxx_prefixdir
645 EXTRA_CFLAGS
646 tmake_file
647 CPU_OPT_BITS_RANDOM
648 CPU_OPT_EXT_RANDOM
649 ERROR_CONSTANTS_SRCDIR
650 OS_INC_SRCDIR
651 ABI_TWEAKS_SRCDIR
652 CPU_DEFINES_SRCDIR
653 ATOMIC_FLAGS
654 ATOMIC_WORD_SRCDIR
655 ATOMICITY_SRCDIR
656 INCLUDE_DIR_NOTPARALLEL_FALSE
657 INCLUDE_DIR_NOTPARALLEL_TRUE
658 BUILD_PDF_FALSE
659 BUILD_PDF_TRUE
660 PDFLATEX
661 DBLATEX
662 BUILD_MAN_FALSE
663 BUILD_MAN_TRUE
664 BUILD_HTML_FALSE
665 BUILD_HTML_TRUE
666 BUILD_XML_FALSE
667 BUILD_XML_TRUE
668 BUILD_EPUB_FALSE
669 BUILD_EPUB_TRUE
670 XSL_STYLE_DIR
671 XMLLINT
672 XSLTPROC
673 XMLCATALOG
675 DOXYGEN
676 BUILD_INFO_FALSE
677 BUILD_INFO_TRUE
678 USE_STATIC_TZDATA_FALSE
679 USE_STATIC_TZDATA_TRUE
680 EH_POOL_FLAGS
681 ENABLE_BACKTRACE_FALSE
682 ENABLE_BACKTRACE_TRUE
683 BACKTRACE_SUPPORTS_THREADS
684 BACKTRACE_USES_MALLOC
685 BACKTRACE_SUPPORTED
686 BACKTRACE_CPPFLAGS
687 ALLOC_FILE
688 VIEW_FILE
689 FORMAT_FILE
690 ENABLE_FILESYSTEM_TS_FALSE
691 ENABLE_FILESYSTEM_TS_TRUE
692 baseline_subdir_switch
693 baseline_dir
694 HWCAP_CFLAGS
695 GLIBCXX_LDBL_ALT128_COMPAT_FALSE
696 GLIBCXX_LDBL_ALT128_COMPAT_TRUE
697 GLIBCXX_LDBL_COMPAT_FALSE
698 GLIBCXX_LDBL_COMPAT_TRUE
699 LONG_DOUBLE_ALT128_COMPAT_FLAGS
700 LONG_DOUBLE_128_FLAGS
701 LONG_DOUBLE_COMPAT_FLAGS
702 ENABLE_CXX11_ABI_FALSE
703 ENABLE_CXX11_ABI_TRUE
704 glibcxx_cxx98_abi
705 ENABLE_DUAL_ABI_FALSE
706 ENABLE_DUAL_ABI_TRUE
707 ENABLE_VISIBILITY_FALSE
708 ENABLE_VISIBILITY_TRUE
709 libtool_VERSION
710 ENABLE_SYMVERS_SUN_FALSE
711 ENABLE_SYMVERS_SUN_TRUE
712 ENABLE_SYMVERS_DARWIN_FALSE
713 ENABLE_SYMVERS_DARWIN_TRUE
714 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
715 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
716 ENABLE_SYMVERS_GNU_FALSE
717 ENABLE_SYMVERS_GNU_TRUE
718 ENABLE_SYMVERS_FALSE
719 ENABLE_SYMVERS_TRUE
720 port_specific_symbol_files
721 SYMVER_FILE
722 CXXFILT
723 LTLIBICONV
724 LIBICONV
725 OPT_LDFLAGS
726 SECTION_LDFLAGS
727 GLIBCXX_LIBS
728 ENABLE_VTABLE_VERIFY_FALSE
729 ENABLE_VTABLE_VERIFY_TRUE
730 VTV_CYGMIN_FALSE
731 VTV_CYGMIN_TRUE
732 VTV_CXXLINKFLAGS
733 VTV_PCH_CXXFLAGS
734 VTV_CXXFLAGS
735 ENABLE_WERROR_FALSE
736 ENABLE_WERROR_TRUE
737 ENABLE_PYTHONDIR_FALSE
738 ENABLE_PYTHONDIR_TRUE
739 python_mod_dir
740 ENABLE_EXTERN_TEMPLATE_FALSE
741 ENABLE_EXTERN_TEMPLATE_TRUE
742 EXTRA_CXX_FLAGS
743 GLIBCXX_BUILD_DEBUG_FALSE
744 GLIBCXX_BUILD_DEBUG_TRUE
745 DEBUG_FLAGS
746 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
747 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
748 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
749 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
750 GLIBCXX_C_HEADERS_C_STD_FALSE
751 GLIBCXX_C_HEADERS_C_STD_TRUE
752 GLIBCXX_C_HEADERS_C_FALSE
753 GLIBCXX_C_HEADERS_C_TRUE
754 C_INCLUDE_DIR
755 ALLOCATOR_NAME
756 ALLOCATOR_H
757 ENABLE_ALLOCATOR_NEW_FALSE
758 ENABLE_ALLOCATOR_NEW_TRUE
759 CLOCALE_INTERNAL_H
760 CLOCALE_CC
761 CTIME_CC
762 CTIME_H
763 CNUMERIC_CC
764 CMONEY_CC
765 CMESSAGES_CC
766 CCTYPE_CC
767 CCOLLATE_CC
768 CCODECVT_CC
769 CMESSAGES_H
770 CLOCALE_H
771 USE_NLS
772 glibcxx_localedir
773 glibcxx_POFILES
774 glibcxx_MOFILES
775 check_msgfmt
776 BASIC_FILE_CC
777 BASIC_FILE_H
778 CSTDIO_H
779 SECTION_FLAGS
780 ENABLE_FLOAT128_FALSE
781 ENABLE_FLOAT128_TRUE
782 thread_header
783 glibcxx_PCHFLAGS
784 GLIBCXX_BUILD_PCH_FALSE
785 GLIBCXX_BUILD_PCH_TRUE
786 FREESTANDING_FLAGS
787 GLIBCXX_HOSTED_FALSE
788 GLIBCXX_HOSTED_TRUE
789 glibcxx_compiler_shared_flag
790 glibcxx_compiler_pic_flag
791 glibcxx_lt_pic_flag
792 enable_static
793 enable_shared
794 lt_host_flags
795 CXXCPP
796 OTOOL64
797 OTOOL
798 LIPO
799 NMEDIT
800 DSYMUTIL
801 OBJDUMP
803 ac_ct_DUMPBIN
804 DUMPBIN
806 FGREP
808 LIBTOOL
809 EGREP
810 GREP
812 MAINT
813 MAINTAINER_MODE_FALSE
814 MAINTAINER_MODE_TRUE
815 RANLIB
818 LN_S
819 toplevel_srcdir
820 toplevel_builddir
821 glibcxx_srcdir
822 glibcxx_builddir
823 ac_ct_CXX
824 CXXFLAGS
826 OBJEXT
827 EXEEXT
828 ac_ct_CC
829 CPPFLAGS
830 LDFLAGS
831 CFLAGS
833 AM_BACKSLASH
834 AM_DEFAULT_VERBOSITY
835 AM_DEFAULT_V
836 AM_V
837 am__untar
838 am__tar
839 AMTAR
840 am__leading_dot
841 SET_MAKE
843 mkdir_p
844 MKDIR_P
845 INSTALL_STRIP_PROGRAM
846 STRIP
847 install_sh
848 MAKEINFO
849 AUTOHEADER
850 AUTOMAKE
851 AUTOCONF
852 ACLOCAL
853 VERSION
854 PACKAGE
855 CYGPATH_W
856 am__isrc
857 INSTALL_DATA
858 INSTALL_SCRIPT
859 INSTALL_PROGRAM
860 target_os
861 target_vendor
862 target_cpu
863 target
864 host_os
865 host_vendor
866 host_cpu
867 host
868 build_os
869 build_vendor
870 build_cpu
871 build
872 multi_basedir
873 target_alias
874 host_alias
875 build_alias
876 LIBS
877 ECHO_T
878 ECHO_N
879 ECHO_C
880 DEFS
881 mandir
882 localedir
883 libdir
884 psdir
885 pdfdir
886 dvidir
887 htmldir
888 infodir
889 docdir
890 oldincludedir
891 includedir
892 localstatedir
893 sharedstatedir
894 sysconfdir
895 datadir
896 datarootdir
897 libexecdir
898 sbindir
899 bindir
900 program_transform_name
901 prefix
902 exec_prefix
903 PACKAGE_URL
904 PACKAGE_BUGREPORT
905 PACKAGE_STRING
906 PACKAGE_VERSION
907 PACKAGE_TARNAME
908 PACKAGE_NAME
909 PATH_SEPARATOR
910 SHELL'
911 ac_subst_files=''
912 ac_user_opts='
913 enable_option_checking
914 enable_multilib
915 enable_silent_rules
916 enable_largefile
917 with_target_subdir
918 with_cross_host
919 with_newlib
920 enable_maintainer_mode
921 enable_shared
922 enable_static
923 with_pic
924 enable_fast_install
925 with_gnu_ld
926 enable_libtool_lock
927 enable_hosted_libstdcxx
928 enable_libstdcxx_hosted
929 enable_libstdcxx_verbose
930 enable_libstdcxx_pch
931 with_libstdcxx_lock_policy
932 enable_cstdio
933 enable_clocale
934 enable_nls
935 enable_libstdcxx_allocator
936 enable_cheaders_obsolete
937 enable_cheaders
938 enable_long_long
939 enable_wchar_t
940 enable_c99
941 enable_concept_checks
942 enable_libstdcxx_debug_flags
943 enable_libstdcxx_debug
944 enable_cxx_flags
945 enable_fully_dynamic_string
946 enable_extern_template
947 with_python_dir
948 enable_werror
949 enable_vtable_verify
950 enable_libstdcxx_time
951 enable_tls
952 enable_rpath
953 with_libiconv_prefix
954 with_libiconv_type
955 with_system_libunwind
956 enable_linux_futex
957 enable_symvers
958 enable_libstdcxx_visibility
959 enable_libstdcxx_dual_abi
960 with_default_libstdcxx_abi
961 enable_libstdcxx_threads
962 enable_libstdcxx_filesystem_ts
963 enable_libstdcxx_backtrace
964 enable_libstdcxx_static_eh_pool
965 with_libstdcxx_eh_pool_obj_count
966 with_libstdcxx_zoneinfo
967 enable_cet
968 with_gxx_include_dir
969 enable_version_specific_runtime_libs
970 with_toolexeclibdir
971 with_gcc_major_version_only
973 ac_precious_vars='build_alias
974 host_alias
975 target_alias
977 CFLAGS
978 LDFLAGS
979 LIBS
980 CPPFLAGS
982 CXXFLAGS
985 CXXCPP
986 CXXFILT'
989 # Initialize some variables set by options.
990 ac_init_help=
991 ac_init_version=false
992 ac_unrecognized_opts=
993 ac_unrecognized_sep=
994 # The variables have the same names as the options, with
995 # dashes changed to underlines.
996 cache_file=/dev/null
997 exec_prefix=NONE
998 no_create=
999 no_recursion=
1000 prefix=NONE
1001 program_prefix=NONE
1002 program_suffix=NONE
1003 program_transform_name=s,x,x,
1004 silent=
1005 site=
1006 srcdir=
1007 verbose=
1008 x_includes=NONE
1009 x_libraries=NONE
1011 # Installation directory options.
1012 # These are left unexpanded so users can "make install exec_prefix=/foo"
1013 # and all the variables that are supposed to be based on exec_prefix
1014 # by default will actually change.
1015 # Use braces instead of parens because sh, perl, etc. also accept them.
1016 # (The list follows the same order as the GNU Coding Standards.)
1017 bindir='${exec_prefix}/bin'
1018 sbindir='${exec_prefix}/sbin'
1019 libexecdir='${exec_prefix}/libexec'
1020 datarootdir='${prefix}/share'
1021 datadir='${datarootdir}'
1022 sysconfdir='${prefix}/etc'
1023 sharedstatedir='${prefix}/com'
1024 localstatedir='${prefix}/var'
1025 includedir='${prefix}/include'
1026 oldincludedir='/usr/include'
1027 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1028 infodir='${datarootdir}/info'
1029 htmldir='${docdir}'
1030 dvidir='${docdir}'
1031 pdfdir='${docdir}'
1032 psdir='${docdir}'
1033 libdir='${exec_prefix}/lib'
1034 localedir='${datarootdir}/locale'
1035 mandir='${datarootdir}/man'
1037 ac_prev=
1038 ac_dashdash=
1039 for ac_option
1041 # If the previous option needs an argument, assign it.
1042 if test -n "$ac_prev"; then
1043 eval $ac_prev=\$ac_option
1044 ac_prev=
1045 continue
1048 case $ac_option in
1049 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1050 *=) ac_optarg= ;;
1051 *) ac_optarg=yes ;;
1052 esac
1054 # Accept the important Cygnus configure options, so we can diagnose typos.
1056 case $ac_dashdash$ac_option in
1058 ac_dashdash=yes ;;
1060 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1061 ac_prev=bindir ;;
1062 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1063 bindir=$ac_optarg ;;
1065 -build | --build | --buil | --bui | --bu)
1066 ac_prev=build_alias ;;
1067 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1068 build_alias=$ac_optarg ;;
1070 -cache-file | --cache-file | --cache-fil | --cache-fi \
1071 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1072 ac_prev=cache_file ;;
1073 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1074 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1075 cache_file=$ac_optarg ;;
1077 --config-cache | -C)
1078 cache_file=config.cache ;;
1080 -datadir | --datadir | --datadi | --datad)
1081 ac_prev=datadir ;;
1082 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1083 datadir=$ac_optarg ;;
1085 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1086 | --dataroo | --dataro | --datar)
1087 ac_prev=datarootdir ;;
1088 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1089 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1090 datarootdir=$ac_optarg ;;
1092 -disable-* | --disable-*)
1093 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1094 # Reject names that are not valid shell variable names.
1095 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1096 as_fn_error $? "invalid feature name: $ac_useropt"
1097 ac_useropt_orig=$ac_useropt
1098 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1099 case $ac_user_opts in
1101 "enable_$ac_useropt"
1102 "*) ;;
1103 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1104 ac_unrecognized_sep=', ';;
1105 esac
1106 eval enable_$ac_useropt=no ;;
1108 -docdir | --docdir | --docdi | --doc | --do)
1109 ac_prev=docdir ;;
1110 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1111 docdir=$ac_optarg ;;
1113 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1114 ac_prev=dvidir ;;
1115 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1116 dvidir=$ac_optarg ;;
1118 -enable-* | --enable-*)
1119 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1120 # Reject names that are not valid shell variable names.
1121 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1122 as_fn_error $? "invalid feature name: $ac_useropt"
1123 ac_useropt_orig=$ac_useropt
1124 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1125 case $ac_user_opts in
1127 "enable_$ac_useropt"
1128 "*) ;;
1129 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1130 ac_unrecognized_sep=', ';;
1131 esac
1132 eval enable_$ac_useropt=\$ac_optarg ;;
1134 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1135 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1136 | --exec | --exe | --ex)
1137 ac_prev=exec_prefix ;;
1138 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1139 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1140 | --exec=* | --exe=* | --ex=*)
1141 exec_prefix=$ac_optarg ;;
1143 -gas | --gas | --ga | --g)
1144 # Obsolete; use --with-gas.
1145 with_gas=yes ;;
1147 -help | --help | --hel | --he | -h)
1148 ac_init_help=long ;;
1149 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1150 ac_init_help=recursive ;;
1151 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1152 ac_init_help=short ;;
1154 -host | --host | --hos | --ho)
1155 ac_prev=host_alias ;;
1156 -host=* | --host=* | --hos=* | --ho=*)
1157 host_alias=$ac_optarg ;;
1159 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1160 ac_prev=htmldir ;;
1161 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1162 | --ht=*)
1163 htmldir=$ac_optarg ;;
1165 -includedir | --includedir | --includedi | --included | --include \
1166 | --includ | --inclu | --incl | --inc)
1167 ac_prev=includedir ;;
1168 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1169 | --includ=* | --inclu=* | --incl=* | --inc=*)
1170 includedir=$ac_optarg ;;
1172 -infodir | --infodir | --infodi | --infod | --info | --inf)
1173 ac_prev=infodir ;;
1174 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1175 infodir=$ac_optarg ;;
1177 -libdir | --libdir | --libdi | --libd)
1178 ac_prev=libdir ;;
1179 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1180 libdir=$ac_optarg ;;
1182 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1183 | --libexe | --libex | --libe)
1184 ac_prev=libexecdir ;;
1185 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1186 | --libexe=* | --libex=* | --libe=*)
1187 libexecdir=$ac_optarg ;;
1189 -localedir | --localedir | --localedi | --localed | --locale)
1190 ac_prev=localedir ;;
1191 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1192 localedir=$ac_optarg ;;
1194 -localstatedir | --localstatedir | --localstatedi | --localstated \
1195 | --localstate | --localstat | --localsta | --localst | --locals)
1196 ac_prev=localstatedir ;;
1197 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1198 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1199 localstatedir=$ac_optarg ;;
1201 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1202 ac_prev=mandir ;;
1203 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1204 mandir=$ac_optarg ;;
1206 -nfp | --nfp | --nf)
1207 # Obsolete; use --without-fp.
1208 with_fp=no ;;
1210 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1211 | --no-cr | --no-c | -n)
1212 no_create=yes ;;
1214 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1215 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1216 no_recursion=yes ;;
1218 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1219 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1220 | --oldin | --oldi | --old | --ol | --o)
1221 ac_prev=oldincludedir ;;
1222 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1223 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1224 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1225 oldincludedir=$ac_optarg ;;
1227 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1228 ac_prev=prefix ;;
1229 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1230 prefix=$ac_optarg ;;
1232 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1233 | --program-pre | --program-pr | --program-p)
1234 ac_prev=program_prefix ;;
1235 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1236 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1237 program_prefix=$ac_optarg ;;
1239 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1240 | --program-suf | --program-su | --program-s)
1241 ac_prev=program_suffix ;;
1242 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1243 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1244 program_suffix=$ac_optarg ;;
1246 -program-transform-name | --program-transform-name \
1247 | --program-transform-nam | --program-transform-na \
1248 | --program-transform-n | --program-transform- \
1249 | --program-transform | --program-transfor \
1250 | --program-transfo | --program-transf \
1251 | --program-trans | --program-tran \
1252 | --progr-tra | --program-tr | --program-t)
1253 ac_prev=program_transform_name ;;
1254 -program-transform-name=* | --program-transform-name=* \
1255 | --program-transform-nam=* | --program-transform-na=* \
1256 | --program-transform-n=* | --program-transform-=* \
1257 | --program-transform=* | --program-transfor=* \
1258 | --program-transfo=* | --program-transf=* \
1259 | --program-trans=* | --program-tran=* \
1260 | --progr-tra=* | --program-tr=* | --program-t=*)
1261 program_transform_name=$ac_optarg ;;
1263 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1264 ac_prev=pdfdir ;;
1265 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1266 pdfdir=$ac_optarg ;;
1268 -psdir | --psdir | --psdi | --psd | --ps)
1269 ac_prev=psdir ;;
1270 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1271 psdir=$ac_optarg ;;
1273 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1274 | -silent | --silent | --silen | --sile | --sil)
1275 silent=yes ;;
1277 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1278 ac_prev=sbindir ;;
1279 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1280 | --sbi=* | --sb=*)
1281 sbindir=$ac_optarg ;;
1283 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1284 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1285 | --sharedst | --shareds | --shared | --share | --shar \
1286 | --sha | --sh)
1287 ac_prev=sharedstatedir ;;
1288 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1289 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1290 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1291 | --sha=* | --sh=*)
1292 sharedstatedir=$ac_optarg ;;
1294 -site | --site | --sit)
1295 ac_prev=site ;;
1296 -site=* | --site=* | --sit=*)
1297 site=$ac_optarg ;;
1299 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1300 ac_prev=srcdir ;;
1301 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1302 srcdir=$ac_optarg ;;
1304 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1305 | --syscon | --sysco | --sysc | --sys | --sy)
1306 ac_prev=sysconfdir ;;
1307 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1308 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1309 sysconfdir=$ac_optarg ;;
1311 -target | --target | --targe | --targ | --tar | --ta | --t)
1312 ac_prev=target_alias ;;
1313 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1314 target_alias=$ac_optarg ;;
1316 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1317 verbose=yes ;;
1319 -version | --version | --versio | --versi | --vers | -V)
1320 ac_init_version=: ;;
1322 -with-* | --with-*)
1323 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1324 # Reject names that are not valid shell variable names.
1325 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1326 as_fn_error $? "invalid package name: $ac_useropt"
1327 ac_useropt_orig=$ac_useropt
1328 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1329 case $ac_user_opts in
1331 "with_$ac_useropt"
1332 "*) ;;
1333 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1334 ac_unrecognized_sep=', ';;
1335 esac
1336 eval with_$ac_useropt=\$ac_optarg ;;
1338 -without-* | --without-*)
1339 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1340 # Reject names that are not valid shell variable names.
1341 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1342 as_fn_error $? "invalid package name: $ac_useropt"
1343 ac_useropt_orig=$ac_useropt
1344 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1345 case $ac_user_opts in
1347 "with_$ac_useropt"
1348 "*) ;;
1349 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1350 ac_unrecognized_sep=', ';;
1351 esac
1352 eval with_$ac_useropt=no ;;
1354 --x)
1355 # Obsolete; use --with-x.
1356 with_x=yes ;;
1358 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1359 | --x-incl | --x-inc | --x-in | --x-i)
1360 ac_prev=x_includes ;;
1361 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1362 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1363 x_includes=$ac_optarg ;;
1365 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1366 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1367 ac_prev=x_libraries ;;
1368 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1369 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1370 x_libraries=$ac_optarg ;;
1372 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1373 Try \`$0 --help' for more information"
1376 *=*)
1377 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1378 # Reject names that are not valid shell variable names.
1379 case $ac_envvar in #(
1380 '' | [0-9]* | *[!_$as_cr_alnum]* )
1381 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1382 esac
1383 eval $ac_envvar=\$ac_optarg
1384 export $ac_envvar ;;
1387 # FIXME: should be removed in autoconf 3.0.
1388 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1389 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1390 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1391 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1394 esac
1395 done
1397 if test -n "$ac_prev"; then
1398 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1399 as_fn_error $? "missing argument to $ac_option"
1402 if test -n "$ac_unrecognized_opts"; then
1403 case $enable_option_checking in
1404 no) ;;
1405 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1406 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1407 esac
1410 # Check all directory arguments for consistency.
1411 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1412 datadir sysconfdir sharedstatedir localstatedir includedir \
1413 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1414 libdir localedir mandir
1416 eval ac_val=\$$ac_var
1417 # Remove trailing slashes.
1418 case $ac_val in
1419 */ )
1420 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1421 eval $ac_var=\$ac_val;;
1422 esac
1423 # Be sure to have absolute directory names.
1424 case $ac_val in
1425 [\\/$]* | ?:[\\/]* ) continue;;
1426 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1427 esac
1428 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1429 done
1431 # There might be people who depend on the old broken behavior: `$host'
1432 # used to hold the argument of --host etc.
1433 # FIXME: To remove some day.
1434 build=$build_alias
1435 host=$host_alias
1436 target=$target_alias
1438 # FIXME: To remove some day.
1439 if test "x$host_alias" != x; then
1440 if test "x$build_alias" = x; then
1441 cross_compiling=maybe
1442 elif test "x$build_alias" != "x$host_alias"; then
1443 cross_compiling=yes
1447 ac_tool_prefix=
1448 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1450 test "$silent" = yes && exec 6>/dev/null
1453 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1454 ac_ls_di=`ls -di .` &&
1455 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1456 as_fn_error $? "working directory cannot be determined"
1457 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1458 as_fn_error $? "pwd does not report name of working directory"
1461 # Find the source files, if location was not specified.
1462 if test -z "$srcdir"; then
1463 ac_srcdir_defaulted=yes
1464 # Try the directory containing this script, then the parent directory.
1465 ac_confdir=`$as_dirname -- "$as_myself" ||
1466 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1467 X"$as_myself" : 'X\(//\)[^/]' \| \
1468 X"$as_myself" : 'X\(//\)$' \| \
1469 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1470 $as_echo X"$as_myself" |
1471 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1472 s//\1/
1475 /^X\(\/\/\)[^/].*/{
1476 s//\1/
1479 /^X\(\/\/\)$/{
1480 s//\1/
1483 /^X\(\/\).*/{
1484 s//\1/
1487 s/.*/./; q'`
1488 srcdir=$ac_confdir
1489 if test ! -r "$srcdir/$ac_unique_file"; then
1490 srcdir=..
1492 else
1493 ac_srcdir_defaulted=no
1495 if test ! -r "$srcdir/$ac_unique_file"; then
1496 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1497 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1499 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1500 ac_abs_confdir=`(
1501 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1502 pwd)`
1503 # When building in place, set srcdir=.
1504 if test "$ac_abs_confdir" = "$ac_pwd"; then
1505 srcdir=.
1507 # Remove unnecessary trailing slashes from srcdir.
1508 # Double slashes in file names in object file debugging info
1509 # mess up M-x gdb in Emacs.
1510 case $srcdir in
1511 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1512 esac
1513 for ac_var in $ac_precious_vars; do
1514 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1515 eval ac_env_${ac_var}_value=\$${ac_var}
1516 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1517 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1518 done
1521 # Report the --help message.
1523 if test "$ac_init_help" = "long"; then
1524 # Omit some internal or obsolete options to make the list less imposing.
1525 # This message is too long to be a string in the A/UX 3.1 sh.
1526 cat <<_ACEOF
1527 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1529 Usage: $0 [OPTION]... [VAR=VALUE]...
1531 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1532 VAR=VALUE. See below for descriptions of some of the useful variables.
1534 Defaults for the options are specified in brackets.
1536 Configuration:
1537 -h, --help display this help and exit
1538 --help=short display options specific to this package
1539 --help=recursive display the short help of all the included packages
1540 -V, --version display version information and exit
1541 -q, --quiet, --silent do not print \`checking ...' messages
1542 --cache-file=FILE cache test results in FILE [disabled]
1543 -C, --config-cache alias for \`--cache-file=config.cache'
1544 -n, --no-create do not create output files
1545 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1547 Installation directories:
1548 --prefix=PREFIX install architecture-independent files in PREFIX
1549 [$ac_default_prefix]
1550 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1551 [PREFIX]
1553 By default, \`make install' will install all the files in
1554 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1555 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1556 for instance \`--prefix=\$HOME'.
1558 For better control, use the options below.
1560 Fine tuning of the installation directories:
1561 --bindir=DIR user executables [EPREFIX/bin]
1562 --sbindir=DIR system admin executables [EPREFIX/sbin]
1563 --libexecdir=DIR program executables [EPREFIX/libexec]
1564 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1565 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1566 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1567 --libdir=DIR object code libraries [EPREFIX/lib]
1568 --includedir=DIR C header files [PREFIX/include]
1569 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1570 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1571 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1572 --infodir=DIR info documentation [DATAROOTDIR/info]
1573 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1574 --mandir=DIR man documentation [DATAROOTDIR/man]
1575 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1576 --htmldir=DIR html documentation [DOCDIR]
1577 --dvidir=DIR dvi documentation [DOCDIR]
1578 --pdfdir=DIR pdf documentation [DOCDIR]
1579 --psdir=DIR ps documentation [DOCDIR]
1580 _ACEOF
1582 cat <<\_ACEOF
1584 Program names:
1585 --program-prefix=PREFIX prepend PREFIX to installed program names
1586 --program-suffix=SUFFIX append SUFFIX to installed program names
1587 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1589 System types:
1590 --build=BUILD configure for building on BUILD [guessed]
1591 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1592 --target=TARGET configure for building compilers for TARGET [HOST]
1593 _ACEOF
1596 if test -n "$ac_init_help"; then
1597 case $ac_init_help in
1598 short | recursive ) echo "Configuration of package-unused version-unused:";;
1599 esac
1600 cat <<\_ACEOF
1602 Optional Features:
1603 --disable-option-checking ignore unrecognized --enable/--with options
1604 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1605 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1606 --enable-multilib build many library versions (default)
1607 --enable-silent-rules less verbose build output (undo: "make V=1")
1608 --disable-silent-rules verbose build output (undo: "make V=0")
1609 --disable-largefile omit support for large files
1610 --enable-maintainer-mode
1611 enable make rules and dependencies not useful (and
1612 sometimes confusing) to the casual installer
1613 --enable-shared[=PKGS] build shared libraries [default=yes]
1614 --enable-static[=PKGS] build static libraries [default=yes]
1615 --enable-fast-install[=PKGS]
1616 optimize for fast installation [default=yes]
1617 --disable-libtool-lock avoid locking (might break parallel builds)
1618 --disable-hosted-libstdcxx
1619 only build freestanding C++ runtime support
1620 --disable-libstdcxx-hosted
1621 alias for --disable-hosted-libstdcxx
1622 --disable-libstdcxx-verbose
1623 disable termination messages to standard error
1624 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1625 [default=$is_hosted]
1626 --enable-cstdio[=PACKAGE]
1627 use target-specific I/O package [default=stdio]
1628 --enable-clocale[=MODEL]
1629 use MODEL for target locale package [default=auto]
1630 --enable-nls use Native Language Support (default)
1631 --enable-libstdcxx-allocator[=KIND]
1632 use KIND for target std::allocator base
1633 [default=auto]
1634 --enable-cheaders-obsolete
1635 allow use of obsolete "C" headers for g++
1636 [default=no]
1637 --enable-cheaders[=KIND]
1638 construct "C" headers for g++ [default=$c_model]
1639 --enable-long-long enable template specializations for 'long long'
1640 [default=yes]
1641 --enable-wchar_t enable template specializations for 'wchar_t'
1642 [default=yes]
1643 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1644 --enable-concept-checks use Boost-derived template checks [default=no]
1645 --enable-libstdcxx-debug-flags=FLAGS
1646 pass compiler FLAGS when building debug library
1647 [default="-g3 -O0 -D_GLIBCXX_ASSERTIONS"]
1648 --enable-libstdcxx-debug
1649 build extra debug library [default=no]
1650 --enable-cxx-flags=FLAGS
1651 pass compiler FLAGS when building library [default=]
1652 --enable-fully-dynamic-string
1653 do not put empty strings in per-process static
1654 memory [default=no]
1655 --enable-extern-template
1656 enable extern template [default=yes]
1657 --enable-werror turns on -Werror [default=no]
1658 --enable-vtable-verify enable vtable verify [default=no]
1659 --enable-libstdcxx-time[=KIND]
1660 use KIND for check type [default=auto]
1661 --enable-tls Use thread-local storage [default=yes]
1662 --disable-rpath do not hardcode runtime library paths
1663 --enable-linux-futex use the Linux futex system call [default=default]
1664 --enable-symvers[=STYLE]
1665 enables symbol versioning of the shared library
1666 [default=yes]
1667 --enable-libstdcxx-visibility
1668 enables visibility safe usage [default=yes]
1669 --enable-libstdcxx-dual-abi
1670 support two versions of std::string [default=yes]
1671 --enable-libstdcxx-threads
1672 enable C++11 threads support [default=auto]
1673 --enable-libstdcxx-filesystem-ts
1674 turns on ISO/IEC TS 18822 support [default=auto]
1675 --enable-libstdcxx-backtrace
1676 turns on libbacktrace support [default=auto]
1677 --enable-libstdcxx-static-eh-pool
1678 use a fixed-size static buffer for allocating
1679 exceptions if malloc fails
1680 --enable-cet enable Intel CET in target libraries [default=auto]
1681 --enable-version-specific-runtime-libs
1682 Specify that runtime libraries should be installed
1683 in a compiler-specific directory
1685 Optional Packages:
1686 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1687 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1688 --with-target-subdir=SUBDIR
1689 configuring in a subdirectory
1690 --with-cross-host=HOST configuring with a cross compiler
1691 --with-newlib assume newlib as a system C library
1692 --with-pic try to use only PIC/non-PIC objects [default=use
1693 both]
1694 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1695 --with-libstdcxx-lock-policy={atomic,mutex,auto}
1696 synchronization policy for shared_ptr reference
1697 counting [default=auto]
1698 --with-python-dir the location to install Python modules. This path is
1699 relative starting from the prefix.
1700 --with-gnu-ld assume the C compiler uses GNU ld default=no
1701 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1702 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1703 --with-libiconv-type=TYPE type of library to search for (auto/static/shared)
1704 --with-system-libunwind use installed libunwind
1705 --with-default-libstdcxx-abi
1706 set the std::string ABI to use by default
1707 --with-libstdcxx-eh-pool-obj-count
1708 the number of exceptions that can be allocated from
1709 the pool if malloc fails
1710 --with-libstdcxx-zoneinfo
1711 the location to use for tzdata
1712 --with-gxx-include-dir=DIR
1713 installation directory for include files
1714 --with-toolexeclibdir=DIR
1715 install libraries built with a cross compiler within
1717 --with-gcc-major-version-only
1718 use only GCC major number in filesystem paths
1720 Some influential environment variables:
1721 CC C compiler command
1722 CFLAGS C compiler flags
1723 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1724 nonstandard directory <lib dir>
1725 LIBS libraries to pass to the linker, e.g. -l<library>
1726 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1727 you have headers in a nonstandard directory <include dir>
1728 CXX C++ compiler command
1729 CXXFLAGS C++ compiler flags
1730 CPP C preprocessor
1731 CXXCPP C++ preprocessor
1732 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1733 `c++filt', `gc++filt' on PATH.
1735 Use these variables to override the choices made by `configure' or to help
1736 it to find libraries and programs with nonstandard names/locations.
1738 Report bugs to the package provider.
1739 _ACEOF
1740 ac_status=$?
1743 if test "$ac_init_help" = "recursive"; then
1744 # If there are subdirs, report their specific --help.
1745 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1746 test -d "$ac_dir" ||
1747 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1748 continue
1749 ac_builddir=.
1751 case "$ac_dir" in
1752 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1754 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1755 # A ".." for each directory in $ac_dir_suffix.
1756 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1757 case $ac_top_builddir_sub in
1758 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1759 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1760 esac ;;
1761 esac
1762 ac_abs_top_builddir=$ac_pwd
1763 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1764 # for backward compatibility:
1765 ac_top_builddir=$ac_top_build_prefix
1767 case $srcdir in
1768 .) # We are building in place.
1769 ac_srcdir=.
1770 ac_top_srcdir=$ac_top_builddir_sub
1771 ac_abs_top_srcdir=$ac_pwd ;;
1772 [\\/]* | ?:[\\/]* ) # Absolute name.
1773 ac_srcdir=$srcdir$ac_dir_suffix;
1774 ac_top_srcdir=$srcdir
1775 ac_abs_top_srcdir=$srcdir ;;
1776 *) # Relative name.
1777 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1778 ac_top_srcdir=$ac_top_build_prefix$srcdir
1779 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1780 esac
1781 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1783 cd "$ac_dir" || { ac_status=$?; continue; }
1784 # Check for guested configure.
1785 if test -f "$ac_srcdir/configure.gnu"; then
1786 echo &&
1787 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1788 elif test -f "$ac_srcdir/configure"; then
1789 echo &&
1790 $SHELL "$ac_srcdir/configure" --help=recursive
1791 else
1792 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1793 fi || ac_status=$?
1794 cd "$ac_pwd" || { ac_status=$?; break; }
1795 done
1798 test -n "$ac_init_help" && exit $ac_status
1799 if $ac_init_version; then
1800 cat <<\_ACEOF
1801 package-unused configure version-unused
1802 generated by GNU Autoconf 2.69
1804 Copyright (C) 2012 Free Software Foundation, Inc.
1805 This configure script is free software; the Free Software Foundation
1806 gives unlimited permission to copy, distribute and modify it.
1807 _ACEOF
1808 exit
1811 ## ------------------------ ##
1812 ## Autoconf initialization. ##
1813 ## ------------------------ ##
1815 # ac_fn_c_try_compile LINENO
1816 # --------------------------
1817 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1818 ac_fn_c_try_compile ()
1820 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1821 rm -f conftest.$ac_objext
1822 if { { ac_try="$ac_compile"
1823 case "(($ac_try" in
1824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1825 *) ac_try_echo=$ac_try;;
1826 esac
1827 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1828 $as_echo "$ac_try_echo"; } >&5
1829 (eval "$ac_compile") 2>conftest.err
1830 ac_status=$?
1831 if test -s conftest.err; then
1832 grep -v '^ *+' conftest.err >conftest.er1
1833 cat conftest.er1 >&5
1834 mv -f conftest.er1 conftest.err
1836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1837 test $ac_status = 0; } && {
1838 test -z "$ac_c_werror_flag" ||
1839 test ! -s conftest.err
1840 } && test -s conftest.$ac_objext; then :
1841 ac_retval=0
1842 else
1843 $as_echo "$as_me: failed program was:" >&5
1844 sed 's/^/| /' conftest.$ac_ext >&5
1846 ac_retval=1
1848 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1849 as_fn_set_status $ac_retval
1851 } # ac_fn_c_try_compile
1853 # ac_fn_cxx_try_compile LINENO
1854 # ----------------------------
1855 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1856 ac_fn_cxx_try_compile ()
1858 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1859 rm -f conftest.$ac_objext
1860 if { { ac_try="$ac_compile"
1861 case "(($ac_try" in
1862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1863 *) ac_try_echo=$ac_try;;
1864 esac
1865 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1866 $as_echo "$ac_try_echo"; } >&5
1867 (eval "$ac_compile") 2>conftest.err
1868 ac_status=$?
1869 if test -s conftest.err; then
1870 grep -v '^ *+' conftest.err >conftest.er1
1871 cat conftest.er1 >&5
1872 mv -f conftest.er1 conftest.err
1874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1875 test $ac_status = 0; } && {
1876 test -z "$ac_cxx_werror_flag" ||
1877 test ! -s conftest.err
1878 } && test -s conftest.$ac_objext; then :
1879 ac_retval=0
1880 else
1881 $as_echo "$as_me: failed program was:" >&5
1882 sed 's/^/| /' conftest.$ac_ext >&5
1884 ac_retval=1
1886 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1887 as_fn_set_status $ac_retval
1889 } # ac_fn_cxx_try_compile
1891 # ac_fn_c_try_cpp LINENO
1892 # ----------------------
1893 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1894 ac_fn_c_try_cpp ()
1896 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1897 if { { ac_try="$ac_cpp conftest.$ac_ext"
1898 case "(($ac_try" in
1899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1900 *) ac_try_echo=$ac_try;;
1901 esac
1902 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1903 $as_echo "$ac_try_echo"; } >&5
1904 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1905 ac_status=$?
1906 if test -s conftest.err; then
1907 grep -v '^ *+' conftest.err >conftest.er1
1908 cat conftest.er1 >&5
1909 mv -f conftest.er1 conftest.err
1911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1912 test $ac_status = 0; } > conftest.i && {
1913 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1914 test ! -s conftest.err
1915 }; then :
1916 ac_retval=0
1917 else
1918 $as_echo "$as_me: failed program was:" >&5
1919 sed 's/^/| /' conftest.$ac_ext >&5
1921 ac_retval=1
1923 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1924 as_fn_set_status $ac_retval
1926 } # ac_fn_c_try_cpp
1928 # ac_fn_c_try_link LINENO
1929 # -----------------------
1930 # Try to link conftest.$ac_ext, and return whether this succeeded.
1931 ac_fn_c_try_link ()
1933 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1934 rm -f conftest.$ac_objext conftest$ac_exeext
1935 if { { ac_try="$ac_link"
1936 case "(($ac_try" in
1937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1938 *) ac_try_echo=$ac_try;;
1939 esac
1940 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1941 $as_echo "$ac_try_echo"; } >&5
1942 (eval "$ac_link") 2>conftest.err
1943 ac_status=$?
1944 if test -s conftest.err; then
1945 grep -v '^ *+' conftest.err >conftest.er1
1946 cat conftest.er1 >&5
1947 mv -f conftest.er1 conftest.err
1949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1950 test $ac_status = 0; } && {
1951 test -z "$ac_c_werror_flag" ||
1952 test ! -s conftest.err
1953 } && test -s conftest$ac_exeext && {
1954 test "$cross_compiling" = yes ||
1955 test -x conftest$ac_exeext
1956 }; then :
1957 ac_retval=0
1958 else
1959 $as_echo "$as_me: failed program was:" >&5
1960 sed 's/^/| /' conftest.$ac_ext >&5
1962 ac_retval=1
1964 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1965 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1966 # interfere with the next link command; also delete a directory that is
1967 # left behind by Apple's compiler. We do this before executing the actions.
1968 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1969 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1970 as_fn_set_status $ac_retval
1972 } # ac_fn_c_try_link
1974 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1975 # -------------------------------------------------------
1976 # Tests whether HEADER exists and can be compiled using the include files in
1977 # INCLUDES, setting the cache variable VAR accordingly.
1978 ac_fn_c_check_header_compile ()
1980 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1982 $as_echo_n "checking for $2... " >&6; }
1983 if eval \${$3+:} false; then :
1984 $as_echo_n "(cached) " >&6
1985 else
1986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1987 /* end confdefs.h. */
1989 #include <$2>
1990 _ACEOF
1991 if ac_fn_c_try_compile "$LINENO"; then :
1992 eval "$3=yes"
1993 else
1994 eval "$3=no"
1996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1998 eval ac_res=\$$3
1999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2000 $as_echo "$ac_res" >&6; }
2001 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2003 } # ac_fn_c_check_header_compile
2005 # ac_fn_c_try_run LINENO
2006 # ----------------------
2007 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2008 # that executables *can* be run.
2009 ac_fn_c_try_run ()
2011 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2012 if { { ac_try="$ac_link"
2013 case "(($ac_try" in
2014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2015 *) ac_try_echo=$ac_try;;
2016 esac
2017 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2018 $as_echo "$ac_try_echo"; } >&5
2019 (eval "$ac_link") 2>&5
2020 ac_status=$?
2021 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2022 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2023 { { case "(($ac_try" in
2024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2025 *) ac_try_echo=$ac_try;;
2026 esac
2027 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2028 $as_echo "$ac_try_echo"; } >&5
2029 (eval "$ac_try") 2>&5
2030 ac_status=$?
2031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2032 test $ac_status = 0; }; }; then :
2033 ac_retval=0
2034 else
2035 $as_echo "$as_me: program exited with status $ac_status" >&5
2036 $as_echo "$as_me: failed program was:" >&5
2037 sed 's/^/| /' conftest.$ac_ext >&5
2039 ac_retval=$ac_status
2041 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2042 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2043 as_fn_set_status $ac_retval
2045 } # ac_fn_c_try_run
2047 # ac_fn_c_check_func LINENO FUNC VAR
2048 # ----------------------------------
2049 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2050 ac_fn_c_check_func ()
2052 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2054 $as_echo_n "checking for $2... " >&6; }
2055 if eval \${$3+:} false; then :
2056 $as_echo_n "(cached) " >&6
2057 else
2058 if test x$gcc_no_link = xyes; then
2059 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2062 /* end confdefs.h. */
2063 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2064 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2065 #define $2 innocuous_$2
2067 /* System header to define __stub macros and hopefully few prototypes,
2068 which can conflict with char $2 (); below.
2069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2070 <limits.h> exists even on freestanding compilers. */
2072 #ifdef __STDC__
2073 # include <limits.h>
2074 #else
2075 # include <assert.h>
2076 #endif
2078 #undef $2
2080 /* Override any GCC internal prototype to avoid an error.
2081 Use char because int might match the return type of a GCC
2082 builtin and then its argument prototype would still apply. */
2083 #ifdef __cplusplus
2084 extern "C"
2085 #endif
2086 char $2 ();
2087 /* The GNU C library defines this for functions which it implements
2088 to always fail with ENOSYS. Some functions are actually named
2089 something starting with __ and the normal name is an alias. */
2090 #if defined __stub_$2 || defined __stub___$2
2091 choke me
2092 #endif
2095 main ()
2097 return $2 ();
2099 return 0;
2101 _ACEOF
2102 if ac_fn_c_try_link "$LINENO"; then :
2103 eval "$3=yes"
2104 else
2105 eval "$3=no"
2107 rm -f core conftest.err conftest.$ac_objext \
2108 conftest$ac_exeext conftest.$ac_ext
2110 eval ac_res=\$$3
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2112 $as_echo "$ac_res" >&6; }
2113 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2115 } # ac_fn_c_check_func
2117 # ac_fn_cxx_try_cpp LINENO
2118 # ------------------------
2119 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2120 ac_fn_cxx_try_cpp ()
2122 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2123 if { { ac_try="$ac_cpp conftest.$ac_ext"
2124 case "(($ac_try" in
2125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2126 *) ac_try_echo=$ac_try;;
2127 esac
2128 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2129 $as_echo "$ac_try_echo"; } >&5
2130 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2131 ac_status=$?
2132 if test -s conftest.err; then
2133 grep -v '^ *+' conftest.err >conftest.er1
2134 cat conftest.er1 >&5
2135 mv -f conftest.er1 conftest.err
2137 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2138 test $ac_status = 0; } > conftest.i && {
2139 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2140 test ! -s conftest.err
2141 }; then :
2142 ac_retval=0
2143 else
2144 $as_echo "$as_me: failed program was:" >&5
2145 sed 's/^/| /' conftest.$ac_ext >&5
2147 ac_retval=1
2149 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2150 as_fn_set_status $ac_retval
2152 } # ac_fn_cxx_try_cpp
2154 # ac_fn_cxx_try_link LINENO
2155 # -------------------------
2156 # Try to link conftest.$ac_ext, and return whether this succeeded.
2157 ac_fn_cxx_try_link ()
2159 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2160 rm -f conftest.$ac_objext conftest$ac_exeext
2161 if { { ac_try="$ac_link"
2162 case "(($ac_try" in
2163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2164 *) ac_try_echo=$ac_try;;
2165 esac
2166 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2167 $as_echo "$ac_try_echo"; } >&5
2168 (eval "$ac_link") 2>conftest.err
2169 ac_status=$?
2170 if test -s conftest.err; then
2171 grep -v '^ *+' conftest.err >conftest.er1
2172 cat conftest.er1 >&5
2173 mv -f conftest.er1 conftest.err
2175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2176 test $ac_status = 0; } && {
2177 test -z "$ac_cxx_werror_flag" ||
2178 test ! -s conftest.err
2179 } && test -s conftest$ac_exeext && {
2180 test "$cross_compiling" = yes ||
2181 test -x conftest$ac_exeext
2182 }; then :
2183 ac_retval=0
2184 else
2185 $as_echo "$as_me: failed program was:" >&5
2186 sed 's/^/| /' conftest.$ac_ext >&5
2188 ac_retval=1
2190 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2191 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2192 # interfere with the next link command; also delete a directory that is
2193 # left behind by Apple's compiler. We do this before executing the actions.
2194 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2195 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2196 as_fn_set_status $ac_retval
2198 } # ac_fn_cxx_try_link
2200 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2201 # -------------------------------------------------------
2202 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2203 # the include files in INCLUDES and setting the cache variable VAR
2204 # accordingly.
2205 ac_fn_c_check_header_mongrel ()
2207 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2208 if eval \${$3+:} false; then :
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2210 $as_echo_n "checking for $2... " >&6; }
2211 if eval \${$3+:} false; then :
2212 $as_echo_n "(cached) " >&6
2214 eval ac_res=\$$3
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2216 $as_echo "$ac_res" >&6; }
2217 else
2218 # Is the header compilable?
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2220 $as_echo_n "checking $2 usability... " >&6; }
2221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2222 /* end confdefs.h. */
2224 #include <$2>
2225 _ACEOF
2226 if ac_fn_c_try_compile "$LINENO"; then :
2227 ac_header_compiler=yes
2228 else
2229 ac_header_compiler=no
2231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2233 $as_echo "$ac_header_compiler" >&6; }
2235 # Is the header present?
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2237 $as_echo_n "checking $2 presence... " >&6; }
2238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2239 /* end confdefs.h. */
2240 #include <$2>
2241 _ACEOF
2242 if ac_fn_c_try_cpp "$LINENO"; then :
2243 ac_header_preproc=yes
2244 else
2245 ac_header_preproc=no
2247 rm -f conftest.err conftest.i conftest.$ac_ext
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2249 $as_echo "$ac_header_preproc" >&6; }
2251 # So? What about this header?
2252 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2253 yes:no: )
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2255 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2257 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2259 no:yes:* )
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2261 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2263 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2265 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2267 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2269 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2271 esac
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2273 $as_echo_n "checking for $2... " >&6; }
2274 if eval \${$3+:} false; then :
2275 $as_echo_n "(cached) " >&6
2276 else
2277 eval "$3=\$ac_header_compiler"
2279 eval ac_res=\$$3
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2281 $as_echo "$ac_res" >&6; }
2283 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2285 } # ac_fn_c_check_header_mongrel
2287 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2288 # ---------------------------------------------------------
2289 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2290 # the include files in INCLUDES and setting the cache variable VAR
2291 # accordingly.
2292 ac_fn_cxx_check_header_mongrel ()
2294 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2295 if eval \${$3+:} false; then :
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2297 $as_echo_n "checking for $2... " >&6; }
2298 if eval \${$3+:} false; then :
2299 $as_echo_n "(cached) " >&6
2301 eval ac_res=\$$3
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2303 $as_echo "$ac_res" >&6; }
2304 else
2305 # Is the header compilable?
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2307 $as_echo_n "checking $2 usability... " >&6; }
2308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2309 /* end confdefs.h. */
2311 #include <$2>
2312 _ACEOF
2313 if ac_fn_cxx_try_compile "$LINENO"; then :
2314 ac_header_compiler=yes
2315 else
2316 ac_header_compiler=no
2318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2320 $as_echo "$ac_header_compiler" >&6; }
2322 # Is the header present?
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2324 $as_echo_n "checking $2 presence... " >&6; }
2325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2326 /* end confdefs.h. */
2327 #include <$2>
2328 _ACEOF
2329 if ac_fn_cxx_try_cpp "$LINENO"; then :
2330 ac_header_preproc=yes
2331 else
2332 ac_header_preproc=no
2334 rm -f conftest.err conftest.i conftest.$ac_ext
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2336 $as_echo "$ac_header_preproc" >&6; }
2338 # So? What about this header?
2339 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2340 yes:no: )
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2342 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2344 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2346 no:yes:* )
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2348 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2350 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2352 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2354 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2356 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2358 esac
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2360 $as_echo_n "checking for $2... " >&6; }
2361 if eval \${$3+:} false; then :
2362 $as_echo_n "(cached) " >&6
2363 else
2364 eval "$3=\$ac_header_compiler"
2366 eval ac_res=\$$3
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2368 $as_echo "$ac_res" >&6; }
2370 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2372 } # ac_fn_cxx_check_header_mongrel
2374 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2375 # --------------------------------------------
2376 # Tries to find the compile-time value of EXPR in a program that includes
2377 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2378 # computed
2379 ac_fn_c_compute_int ()
2381 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2382 if test "$cross_compiling" = yes; then
2383 # Depending upon the size, compute the lo and hi bounds.
2384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2385 /* end confdefs.h. */
2388 main ()
2390 static int test_array [1 - 2 * !(($2) >= 0)];
2391 test_array [0] = 0;
2392 return test_array [0];
2395 return 0;
2397 _ACEOF
2398 if ac_fn_c_try_compile "$LINENO"; then :
2399 ac_lo=0 ac_mid=0
2400 while :; do
2401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2402 /* end confdefs.h. */
2405 main ()
2407 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2408 test_array [0] = 0;
2409 return test_array [0];
2412 return 0;
2414 _ACEOF
2415 if ac_fn_c_try_compile "$LINENO"; then :
2416 ac_hi=$ac_mid; break
2417 else
2418 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2419 if test $ac_lo -le $ac_mid; then
2420 ac_lo= ac_hi=
2421 break
2423 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2426 done
2427 else
2428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2429 /* end confdefs.h. */
2432 main ()
2434 static int test_array [1 - 2 * !(($2) < 0)];
2435 test_array [0] = 0;
2436 return test_array [0];
2439 return 0;
2441 _ACEOF
2442 if ac_fn_c_try_compile "$LINENO"; then :
2443 ac_hi=-1 ac_mid=-1
2444 while :; do
2445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2446 /* end confdefs.h. */
2449 main ()
2451 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2452 test_array [0] = 0;
2453 return test_array [0];
2456 return 0;
2458 _ACEOF
2459 if ac_fn_c_try_compile "$LINENO"; then :
2460 ac_lo=$ac_mid; break
2461 else
2462 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2463 if test $ac_mid -le $ac_hi; then
2464 ac_lo= ac_hi=
2465 break
2467 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2470 done
2471 else
2472 ac_lo= ac_hi=
2474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2477 # Binary search between lo and hi bounds.
2478 while test "x$ac_lo" != "x$ac_hi"; do
2479 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2481 /* end confdefs.h. */
2484 main ()
2486 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2487 test_array [0] = 0;
2488 return test_array [0];
2491 return 0;
2493 _ACEOF
2494 if ac_fn_c_try_compile "$LINENO"; then :
2495 ac_hi=$ac_mid
2496 else
2497 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2500 done
2501 case $ac_lo in #((
2502 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2503 '') ac_retval=1 ;;
2504 esac
2505 else
2506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2507 /* end confdefs.h. */
2509 static long int longval () { return $2; }
2510 static unsigned long int ulongval () { return $2; }
2511 #include <stdio.h>
2512 #include <stdlib.h>
2514 main ()
2517 FILE *f = fopen ("conftest.val", "w");
2518 if (! f)
2519 return 1;
2520 if (($2) < 0)
2522 long int i = longval ();
2523 if (i != ($2))
2524 return 1;
2525 fprintf (f, "%ld", i);
2527 else
2529 unsigned long int i = ulongval ();
2530 if (i != ($2))
2531 return 1;
2532 fprintf (f, "%lu", i);
2534 /* Do not output a trailing newline, as this causes \r\n confusion
2535 on some platforms. */
2536 return ferror (f) || fclose (f) != 0;
2539 return 0;
2541 _ACEOF
2542 if ac_fn_c_try_run "$LINENO"; then :
2543 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2544 else
2545 ac_retval=1
2547 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2548 conftest.$ac_objext conftest.beam conftest.$ac_ext
2549 rm -f conftest.val
2552 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2553 as_fn_set_status $ac_retval
2555 } # ac_fn_c_compute_int
2557 # ac_fn_cxx_check_func LINENO FUNC VAR
2558 # ------------------------------------
2559 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2560 ac_fn_cxx_check_func ()
2562 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2564 $as_echo_n "checking for $2... " >&6; }
2565 if eval \${$3+:} false; then :
2566 $as_echo_n "(cached) " >&6
2567 else
2568 if test x$gcc_no_link = xyes; then
2569 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2572 /* end confdefs.h. */
2573 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2575 #define $2 innocuous_$2
2577 /* System header to define __stub macros and hopefully few prototypes,
2578 which can conflict with char $2 (); below.
2579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2580 <limits.h> exists even on freestanding compilers. */
2582 #ifdef __STDC__
2583 # include <limits.h>
2584 #else
2585 # include <assert.h>
2586 #endif
2588 #undef $2
2590 /* Override any GCC internal prototype to avoid an error.
2591 Use char because int might match the return type of a GCC
2592 builtin and then its argument prototype would still apply. */
2593 #ifdef __cplusplus
2594 extern "C"
2595 #endif
2596 char $2 ();
2597 /* The GNU C library defines this for functions which it implements
2598 to always fail with ENOSYS. Some functions are actually named
2599 something starting with __ and the normal name is an alias. */
2600 #if defined __stub_$2 || defined __stub___$2
2601 choke me
2602 #endif
2605 main ()
2607 return $2 ();
2609 return 0;
2611 _ACEOF
2612 if ac_fn_cxx_try_link "$LINENO"; then :
2613 eval "$3=yes"
2614 else
2615 eval "$3=no"
2617 rm -f core conftest.err conftest.$ac_objext \
2618 conftest$ac_exeext conftest.$ac_ext
2620 eval ac_res=\$$3
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2622 $as_echo "$ac_res" >&6; }
2623 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2625 } # ac_fn_cxx_check_func
2627 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2628 # ---------------------------------------------
2629 # Tests whether TYPE exists after having included INCLUDES, setting cache
2630 # variable VAR accordingly.
2631 ac_fn_cxx_check_type ()
2633 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2635 $as_echo_n "checking for $2... " >&6; }
2636 if eval \${$3+:} false; then :
2637 $as_echo_n "(cached) " >&6
2638 else
2639 eval "$3=no"
2640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2641 /* end confdefs.h. */
2644 main ()
2646 if (sizeof ($2))
2647 return 0;
2649 return 0;
2651 _ACEOF
2652 if ac_fn_cxx_try_compile "$LINENO"; then :
2653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2654 /* end confdefs.h. */
2657 main ()
2659 if (sizeof (($2)))
2660 return 0;
2662 return 0;
2664 _ACEOF
2665 if ac_fn_cxx_try_compile "$LINENO"; then :
2667 else
2668 eval "$3=yes"
2670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2674 eval ac_res=\$$3
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2676 $as_echo "$ac_res" >&6; }
2677 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2679 } # ac_fn_cxx_check_type
2681 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2682 # ---------------------------------------------
2683 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2684 # accordingly.
2685 ac_fn_c_check_decl ()
2687 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2688 as_decl_name=`echo $2|sed 's/ *(.*//'`
2689 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2691 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2692 if eval \${$3+:} false; then :
2693 $as_echo_n "(cached) " >&6
2694 else
2695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2696 /* end confdefs.h. */
2699 main ()
2701 #ifndef $as_decl_name
2702 #ifdef __cplusplus
2703 (void) $as_decl_use;
2704 #else
2705 (void) $as_decl_name;
2706 #endif
2707 #endif
2710 return 0;
2712 _ACEOF
2713 if ac_fn_c_try_compile "$LINENO"; then :
2714 eval "$3=yes"
2715 else
2716 eval "$3=no"
2718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2720 eval ac_res=\$$3
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2722 $as_echo "$ac_res" >&6; }
2723 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2725 } # ac_fn_c_check_decl
2726 cat >config.log <<_ACEOF
2727 This file contains any messages produced by compilers while
2728 running configure, to aid debugging if configure makes a mistake.
2730 It was created by package-unused $as_me version-unused, which was
2731 generated by GNU Autoconf 2.69. Invocation command line was
2733 $ $0 $@
2735 _ACEOF
2736 exec 5>>config.log
2738 cat <<_ASUNAME
2739 ## --------- ##
2740 ## Platform. ##
2741 ## --------- ##
2743 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2744 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2745 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2746 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2747 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2749 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2750 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2752 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2753 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2754 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2755 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2756 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2757 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2758 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2760 _ASUNAME
2762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2763 for as_dir in $PATH
2765 IFS=$as_save_IFS
2766 test -z "$as_dir" && as_dir=.
2767 $as_echo "PATH: $as_dir"
2768 done
2769 IFS=$as_save_IFS
2771 } >&5
2773 cat >&5 <<_ACEOF
2776 ## ----------- ##
2777 ## Core tests. ##
2778 ## ----------- ##
2780 _ACEOF
2783 # Keep a trace of the command line.
2784 # Strip out --no-create and --no-recursion so they do not pile up.
2785 # Strip out --silent because we don't want to record it for future runs.
2786 # Also quote any args containing shell meta-characters.
2787 # Make two passes to allow for proper duplicate-argument suppression.
2788 ac_configure_args=
2789 ac_configure_args0=
2790 ac_configure_args1=
2791 ac_must_keep_next=false
2792 for ac_pass in 1 2
2794 for ac_arg
2796 case $ac_arg in
2797 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2798 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2799 | -silent | --silent | --silen | --sile | --sil)
2800 continue ;;
2801 *\'*)
2802 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2803 esac
2804 case $ac_pass in
2805 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2807 as_fn_append ac_configure_args1 " '$ac_arg'"
2808 if test $ac_must_keep_next = true; then
2809 ac_must_keep_next=false # Got value, back to normal.
2810 else
2811 case $ac_arg in
2812 *=* | --config-cache | -C | -disable-* | --disable-* \
2813 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2814 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2815 | -with-* | --with-* | -without-* | --without-* | --x)
2816 case "$ac_configure_args0 " in
2817 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2818 esac
2820 -* ) ac_must_keep_next=true ;;
2821 esac
2823 as_fn_append ac_configure_args " '$ac_arg'"
2825 esac
2826 done
2827 done
2828 { ac_configure_args0=; unset ac_configure_args0;}
2829 { ac_configure_args1=; unset ac_configure_args1;}
2831 # When interrupted or exit'd, cleanup temporary files, and complete
2832 # config.log. We remove comments because anyway the quotes in there
2833 # would cause problems or look ugly.
2834 # WARNING: Use '\'' to represent an apostrophe within the trap.
2835 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2836 trap 'exit_status=$?
2837 # Save into config.log some information that might help in debugging.
2839 echo
2841 $as_echo "## ---------------- ##
2842 ## Cache variables. ##
2843 ## ---------------- ##"
2844 echo
2845 # The following way of writing the cache mishandles newlines in values,
2847 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2848 eval ac_val=\$$ac_var
2849 case $ac_val in #(
2850 *${as_nl}*)
2851 case $ac_var in #(
2852 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2853 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2854 esac
2855 case $ac_var in #(
2856 _ | IFS | as_nl) ;; #(
2857 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2858 *) { eval $ac_var=; unset $ac_var;} ;;
2859 esac ;;
2860 esac
2861 done
2862 (set) 2>&1 |
2863 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2864 *${as_nl}ac_space=\ *)
2865 sed -n \
2866 "s/'\''/'\''\\\\'\'''\''/g;
2867 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2868 ;; #(
2870 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2872 esac |
2873 sort
2875 echo
2877 $as_echo "## ----------------- ##
2878 ## Output variables. ##
2879 ## ----------------- ##"
2880 echo
2881 for ac_var in $ac_subst_vars
2883 eval ac_val=\$$ac_var
2884 case $ac_val in
2885 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2886 esac
2887 $as_echo "$ac_var='\''$ac_val'\''"
2888 done | sort
2889 echo
2891 if test -n "$ac_subst_files"; then
2892 $as_echo "## ------------------- ##
2893 ## File substitutions. ##
2894 ## ------------------- ##"
2895 echo
2896 for ac_var in $ac_subst_files
2898 eval ac_val=\$$ac_var
2899 case $ac_val in
2900 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2901 esac
2902 $as_echo "$ac_var='\''$ac_val'\''"
2903 done | sort
2904 echo
2907 if test -s confdefs.h; then
2908 $as_echo "## ----------- ##
2909 ## confdefs.h. ##
2910 ## ----------- ##"
2911 echo
2912 cat confdefs.h
2913 echo
2915 test "$ac_signal" != 0 &&
2916 $as_echo "$as_me: caught signal $ac_signal"
2917 $as_echo "$as_me: exit $exit_status"
2918 } >&5
2919 rm -f core *.core core.conftest.* &&
2920 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2921 exit $exit_status
2923 for ac_signal in 1 2 13 15; do
2924 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2925 done
2926 ac_signal=0
2928 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2929 rm -f -r conftest* confdefs.h
2931 $as_echo "/* confdefs.h */" > confdefs.h
2933 # Predefined preprocessor variables.
2935 cat >>confdefs.h <<_ACEOF
2936 #define PACKAGE_NAME "$PACKAGE_NAME"
2937 _ACEOF
2939 cat >>confdefs.h <<_ACEOF
2940 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2941 _ACEOF
2943 cat >>confdefs.h <<_ACEOF
2944 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2945 _ACEOF
2947 cat >>confdefs.h <<_ACEOF
2948 #define PACKAGE_STRING "$PACKAGE_STRING"
2949 _ACEOF
2951 cat >>confdefs.h <<_ACEOF
2952 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2953 _ACEOF
2955 cat >>confdefs.h <<_ACEOF
2956 #define PACKAGE_URL "$PACKAGE_URL"
2957 _ACEOF
2960 # Let the site file select an alternate cache file if it wants to.
2961 # Prefer an explicitly selected file to automatically selected ones.
2962 ac_site_file1=NONE
2963 ac_site_file2=NONE
2964 if test -n "$CONFIG_SITE"; then
2965 # We do not want a PATH search for config.site.
2966 case $CONFIG_SITE in #((
2967 -*) ac_site_file1=./$CONFIG_SITE;;
2968 */*) ac_site_file1=$CONFIG_SITE;;
2969 *) ac_site_file1=./$CONFIG_SITE;;
2970 esac
2971 elif test "x$prefix" != xNONE; then
2972 ac_site_file1=$prefix/share/config.site
2973 ac_site_file2=$prefix/etc/config.site
2974 else
2975 ac_site_file1=$ac_default_prefix/share/config.site
2976 ac_site_file2=$ac_default_prefix/etc/config.site
2978 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2980 test "x$ac_site_file" = xNONE && continue
2981 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2983 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2984 sed 's/^/| /' "$ac_site_file" >&5
2985 . "$ac_site_file" \
2986 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2987 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2988 as_fn_error $? "failed to load site script $ac_site_file
2989 See \`config.log' for more details" "$LINENO" 5; }
2991 done
2993 if test -r "$cache_file"; then
2994 # Some versions of bash will fail to source /dev/null (special files
2995 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2996 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2998 $as_echo "$as_me: loading cache $cache_file" >&6;}
2999 case $cache_file in
3000 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3001 *) . "./$cache_file";;
3002 esac
3004 else
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3006 $as_echo "$as_me: creating cache $cache_file" >&6;}
3007 >$cache_file
3010 # Check that the precious variables saved in the cache have kept the same
3011 # value.
3012 ac_cache_corrupted=false
3013 for ac_var in $ac_precious_vars; do
3014 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3015 eval ac_new_set=\$ac_env_${ac_var}_set
3016 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3017 eval ac_new_val=\$ac_env_${ac_var}_value
3018 case $ac_old_set,$ac_new_set in
3019 set,)
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3021 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3022 ac_cache_corrupted=: ;;
3023 ,set)
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3025 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3026 ac_cache_corrupted=: ;;
3027 ,);;
3029 if test "x$ac_old_val" != "x$ac_new_val"; then
3030 # differences in whitespace do not lead to failure.
3031 ac_old_val_w=`echo x $ac_old_val`
3032 ac_new_val_w=`echo x $ac_new_val`
3033 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3035 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3036 ac_cache_corrupted=:
3037 else
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3039 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3040 eval $ac_var=\$ac_old_val
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3043 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3045 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3046 fi;;
3047 esac
3048 # Pass precious variables to config.status.
3049 if test "$ac_new_set" = set; then
3050 case $ac_new_val in
3051 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3052 *) ac_arg=$ac_var=$ac_new_val ;;
3053 esac
3054 case " $ac_configure_args " in
3055 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3056 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3057 esac
3059 done
3060 if $ac_cache_corrupted; then
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3062 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3064 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3065 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3067 ## -------------------- ##
3068 ## Main body of script. ##
3069 ## -------------------- ##
3071 ac_ext=c
3072 ac_cpp='$CPP $CPPFLAGS'
3073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3082 ac_config_headers="$ac_config_headers config.h"
3085 # This works around the fact that libtool configuration may change LD
3086 # for this particular configuration, but some shells, instead of
3087 # keeping the changes in LD private, export them just because LD is
3088 # exported. Only used at the end of this file.
3089 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
3091 # Find the rest of the source tree framework.
3092 # Default to --enable-multilib
3093 # Check whether --enable-multilib was given.
3094 if test "${enable_multilib+set}" = set; then :
3095 enableval=$enable_multilib; case "$enableval" in
3096 yes) multilib=yes ;;
3097 no) multilib=no ;;
3098 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
3099 esac
3100 else
3101 multilib=yes
3105 # We may get other options which we leave undocumented:
3106 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3107 # See config-ml.in if you want the gory details.
3109 if test "$srcdir" = "."; then
3110 if test "$with_target_subdir" != "."; then
3111 multi_basedir="$srcdir/$with_multisrctop../.."
3112 else
3113 multi_basedir="$srcdir/$with_multisrctop.."
3115 else
3116 multi_basedir="$srcdir/.."
3120 # Even if the default multilib is not a cross compilation,
3121 # it may be that some of the other multilibs are.
3122 if test $cross_compiling = no && test $multilib = yes \
3123 && test "x${with_multisubdir}" != x ; then
3124 cross_compiling=maybe
3127 ac_config_commands="$ac_config_commands default-1"
3130 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
3132 # You will slowly go insane if you do not grok the following fact: when
3133 # building v3 as part of the compiler, the top-level /target/ becomes the
3134 # library's /host/. configure then causes --target to default to --host,
3135 # exactly like any other package using autoconf. Therefore, 'target' and
3136 # 'host' will always be the same. This makes sense both for native and
3137 # cross compilers, just think about it for a little while. :-)
3139 # Also, if v3 is being configured as part of a cross compiler, the top-level
3140 # configure script will pass the "real" host as $with_cross_host.
3142 # Do not delete or change the following two lines. For why, see
3143 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
3144 ac_aux_dir=
3145 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3146 if test -f "$ac_dir/install-sh"; then
3147 ac_aux_dir=$ac_dir
3148 ac_install_sh="$ac_aux_dir/install-sh -c"
3149 break
3150 elif test -f "$ac_dir/install.sh"; then
3151 ac_aux_dir=$ac_dir
3152 ac_install_sh="$ac_aux_dir/install.sh -c"
3153 break
3154 elif test -f "$ac_dir/shtool"; then
3155 ac_aux_dir=$ac_dir
3156 ac_install_sh="$ac_aux_dir/shtool install -c"
3157 break
3159 done
3160 if test -z "$ac_aux_dir"; then
3161 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3164 # These three variables are undocumented and unsupported,
3165 # and are intended to be withdrawn in a future Autoconf release.
3166 # They can cause serious problems if a builder's source tree is in a directory
3167 # whose full name contains unusual characters.
3168 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3169 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3170 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3173 # Make sure we can run config.sub.
3174 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3175 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3178 $as_echo_n "checking build system type... " >&6; }
3179 if ${ac_cv_build+:} false; then :
3180 $as_echo_n "(cached) " >&6
3181 else
3182 ac_build_alias=$build_alias
3183 test "x$ac_build_alias" = x &&
3184 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3185 test "x$ac_build_alias" = x &&
3186 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3187 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3188 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3192 $as_echo "$ac_cv_build" >&6; }
3193 case $ac_cv_build in
3194 *-*-*) ;;
3195 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3196 esac
3197 build=$ac_cv_build
3198 ac_save_IFS=$IFS; IFS='-'
3199 set x $ac_cv_build
3200 shift
3201 build_cpu=$1
3202 build_vendor=$2
3203 shift; shift
3204 # Remember, the first character of IFS is used to create $*,
3205 # except with old shells:
3206 build_os=$*
3207 IFS=$ac_save_IFS
3208 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3212 $as_echo_n "checking host system type... " >&6; }
3213 if ${ac_cv_host+:} false; then :
3214 $as_echo_n "(cached) " >&6
3215 else
3216 if test "x$host_alias" = x; then
3217 ac_cv_host=$ac_cv_build
3218 else
3219 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3220 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3225 $as_echo "$ac_cv_host" >&6; }
3226 case $ac_cv_host in
3227 *-*-*) ;;
3228 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3229 esac
3230 host=$ac_cv_host
3231 ac_save_IFS=$IFS; IFS='-'
3232 set x $ac_cv_host
3233 shift
3234 host_cpu=$1
3235 host_vendor=$2
3236 shift; shift
3237 # Remember, the first character of IFS is used to create $*,
3238 # except with old shells:
3239 host_os=$*
3240 IFS=$ac_save_IFS
3241 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3245 $as_echo_n "checking target system type... " >&6; }
3246 if ${ac_cv_target+:} false; then :
3247 $as_echo_n "(cached) " >&6
3248 else
3249 if test "x$target_alias" = x; then
3250 ac_cv_target=$ac_cv_host
3251 else
3252 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3253 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3258 $as_echo "$ac_cv_target" >&6; }
3259 case $ac_cv_target in
3260 *-*-*) ;;
3261 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
3262 esac
3263 target=$ac_cv_target
3264 ac_save_IFS=$IFS; IFS='-'
3265 set x $ac_cv_target
3266 shift
3267 target_cpu=$1
3268 target_vendor=$2
3269 shift; shift
3270 # Remember, the first character of IFS is used to create $*,
3271 # except with old shells:
3272 target_os=$*
3273 IFS=$ac_save_IFS
3274 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3277 # The aliases save the names the user supplied, while $host etc.
3278 # will get canonicalized.
3279 test -n "$target_alias" &&
3280 test "$program_prefix$program_suffix$program_transform_name" = \
3281 NONENONEs,x,x, &&
3282 program_prefix=${target_alias}-
3284 target_alias=${target_alias-$host_alias}
3286 # Handy for debugging:
3287 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3289 if test "$build" != "$host"; then
3290 # We are being configured with some form of cross compiler.
3291 GLIBCXX_IS_NATIVE=false
3292 case "$host","$target" in
3293 # Darwin crosses can use the host system's libraries and headers,
3294 # because of the fat library support. Of course, it must be the
3295 # same version of Darwin on both sides. Allow the user to
3296 # just say --target=foo-darwin without a version number to mean
3297 # "the version on this system".
3298 *-*-darwin*,*-*-darwin*)
3299 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3300 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3301 if test $hostos = $targetos || test $targetos = darwin ; then
3302 GLIBCXX_IS_NATIVE=true
3309 esac
3310 else
3311 GLIBCXX_IS_NATIVE=true
3314 # In the case that we're building without headers, we won't have <stdio.h>
3315 # available. In these cases, we have to instruct autotools to never include
3316 # <stdio.h> as a part of default headers.
3318 if test "x$with_headers" = "xno"; then
3319 ac_includes_default=`echo "$ac_includes_default" | sed '/^#include <stdio.h>$/d'`
3323 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3324 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3325 # 1.x: minimum required version
3326 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3327 # of other PACKAGE_* variables will, however, and there's nothing
3328 # we can do about that; they come from AC_INIT).
3329 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3330 # file in the top srcdir, etc, etc), so stop complaining.
3331 # no-dependencies: turns off auto dependency generation (just for now)
3332 # no-dist: we don't want 'dist' and related rules.
3333 # -Wall: turns on all automake warnings...
3334 # -Wno-portability: ...except this one, since GNU make is now required.
3335 am__api_version='1.15'
3337 # Find a good install program. We prefer a C program (faster),
3338 # so one script is as good as another. But avoid the broken or
3339 # incompatible versions:
3340 # SysV /etc/install, /usr/sbin/install
3341 # SunOS /usr/etc/install
3342 # IRIX /sbin/install
3343 # AIX /bin/install
3344 # AmigaOS /C/install, which installs bootblocks on floppy discs
3345 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3346 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3347 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3348 # OS/2's system install, which has a completely different semantic
3349 # ./install, which can be erroneously created by make from ./install.sh.
3350 # Reject install programs that cannot install multiple files.
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3352 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3353 if test -z "$INSTALL"; then
3354 if ${ac_cv_path_install+:} false; then :
3355 $as_echo_n "(cached) " >&6
3356 else
3357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3358 for as_dir in $PATH
3360 IFS=$as_save_IFS
3361 test -z "$as_dir" && as_dir=.
3362 # Account for people who put trailing slashes in PATH elements.
3363 case $as_dir/ in #((
3364 ./ | .// | /[cC]/* | \
3365 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3366 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3367 /usr/ucb/* ) ;;
3369 # OSF1 and SCO ODT 3.0 have their own names for install.
3370 # Don't use installbsd from OSF since it installs stuff as root
3371 # by default.
3372 for ac_prog in ginstall scoinst install; do
3373 for ac_exec_ext in '' $ac_executable_extensions; do
3374 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3375 if test $ac_prog = install &&
3376 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3377 # AIX install. It has an incompatible calling convention.
3379 elif test $ac_prog = install &&
3380 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3381 # program-specific install script used by HP pwplus--don't use.
3383 else
3384 rm -rf conftest.one conftest.two conftest.dir
3385 echo one > conftest.one
3386 echo two > conftest.two
3387 mkdir conftest.dir
3388 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3389 test -s conftest.one && test -s conftest.two &&
3390 test -s conftest.dir/conftest.one &&
3391 test -s conftest.dir/conftest.two
3392 then
3393 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3394 break 3
3398 done
3399 done
3401 esac
3403 done
3404 IFS=$as_save_IFS
3406 rm -rf conftest.one conftest.two conftest.dir
3409 if test "${ac_cv_path_install+set}" = set; then
3410 INSTALL=$ac_cv_path_install
3411 else
3412 # As a last resort, use the slow shell script. Don't cache a
3413 # value for INSTALL within a source directory, because that will
3414 # break other packages using the cache if that directory is
3415 # removed, or if the value is a relative name.
3416 INSTALL=$ac_install_sh
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3420 $as_echo "$INSTALL" >&6; }
3422 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3423 # It thinks the first close brace ends the variable substitution.
3424 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3426 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3428 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3431 $as_echo_n "checking whether build environment is sane... " >&6; }
3432 # Reject unsafe characters in $srcdir or the absolute working directory
3433 # name. Accept space and tab only in the latter.
3434 am_lf='
3436 case `pwd` in
3437 *[\\\"\#\$\&\'\`$am_lf]*)
3438 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3439 esac
3440 case $srcdir in
3441 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3442 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3443 esac
3445 # Do 'set' in a subshell so we don't clobber the current shell's
3446 # arguments. Must try -L first in case configure is actually a
3447 # symlink; some systems play weird games with the mod time of symlinks
3448 # (eg FreeBSD returns the mod time of the symlink's containing
3449 # directory).
3450 if (
3451 am_has_slept=no
3452 for am_try in 1 2; do
3453 echo "timestamp, slept: $am_has_slept" > conftest.file
3454 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3455 if test "$*" = "X"; then
3456 # -L didn't work.
3457 set X `ls -t "$srcdir/configure" conftest.file`
3459 if test "$*" != "X $srcdir/configure conftest.file" \
3460 && test "$*" != "X conftest.file $srcdir/configure"; then
3462 # If neither matched, then we have a broken ls. This can happen
3463 # if, for instance, CONFIG_SHELL is bash and it inherits a
3464 # broken ls alias from the environment. This has actually
3465 # happened. Such a system could not be considered "sane".
3466 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3467 alias in your environment" "$LINENO" 5
3469 if test "$2" = conftest.file || test $am_try -eq 2; then
3470 break
3472 # Just in case.
3473 sleep 1
3474 am_has_slept=yes
3475 done
3476 test "$2" = conftest.file
3478 then
3479 # Ok.
3481 else
3482 as_fn_error $? "newly created file is older than distributed files!
3483 Check your system clock" "$LINENO" 5
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3486 $as_echo "yes" >&6; }
3487 # If we didn't sleep, we still need to ensure time stamps of config.status and
3488 # generated files are strictly newer.
3489 am_sleep_pid=
3490 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3491 ( sleep 1 ) &
3492 am_sleep_pid=$!
3495 rm -f conftest.file
3497 test "$program_prefix" != NONE &&
3498 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3499 # Use a double $ so make ignores it.
3500 test "$program_suffix" != NONE &&
3501 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3502 # Double any \ or $.
3503 # By default was `s,x,x', remove it if useless.
3504 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3505 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3507 # Expand $ac_aux_dir to an absolute path.
3508 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3510 if test x"${MISSING+set}" != xset; then
3511 case $am_aux_dir in
3512 *\ * | *\ *)
3513 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3515 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3516 esac
3518 # Use eval to expand $SHELL
3519 if eval "$MISSING --is-lightweight"; then
3520 am_missing_run="$MISSING "
3521 else
3522 am_missing_run=
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3524 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3527 if test x"${install_sh+set}" != xset; then
3528 case $am_aux_dir in
3529 *\ * | *\ *)
3530 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3532 install_sh="\${SHELL} $am_aux_dir/install-sh"
3533 esac
3536 # Installed binaries are usually stripped using 'strip' when the user
3537 # run "make install-strip". However 'strip' might not be the right
3538 # tool to use in cross-compilation environments, therefore Automake
3539 # will honor the 'STRIP' environment variable to overrule this program.
3540 if test "$cross_compiling" != no; then
3541 if test -n "$ac_tool_prefix"; then
3542 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3543 set dummy ${ac_tool_prefix}strip; ac_word=$2
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3545 $as_echo_n "checking for $ac_word... " >&6; }
3546 if ${ac_cv_prog_STRIP+:} false; then :
3547 $as_echo_n "(cached) " >&6
3548 else
3549 if test -n "$STRIP"; then
3550 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3551 else
3552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3553 for as_dir in $PATH
3555 IFS=$as_save_IFS
3556 test -z "$as_dir" && as_dir=.
3557 for ac_exec_ext in '' $ac_executable_extensions; do
3558 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3559 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3561 break 2
3563 done
3564 done
3565 IFS=$as_save_IFS
3569 STRIP=$ac_cv_prog_STRIP
3570 if test -n "$STRIP"; then
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3572 $as_echo "$STRIP" >&6; }
3573 else
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3575 $as_echo "no" >&6; }
3580 if test -z "$ac_cv_prog_STRIP"; then
3581 ac_ct_STRIP=$STRIP
3582 # Extract the first word of "strip", so it can be a program name with args.
3583 set dummy strip; ac_word=$2
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3585 $as_echo_n "checking for $ac_word... " >&6; }
3586 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3587 $as_echo_n "(cached) " >&6
3588 else
3589 if test -n "$ac_ct_STRIP"; then
3590 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3591 else
3592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3593 for as_dir in $PATH
3595 IFS=$as_save_IFS
3596 test -z "$as_dir" && as_dir=.
3597 for ac_exec_ext in '' $ac_executable_extensions; do
3598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3599 ac_cv_prog_ac_ct_STRIP="strip"
3600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3601 break 2
3603 done
3604 done
3605 IFS=$as_save_IFS
3609 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3610 if test -n "$ac_ct_STRIP"; then
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3612 $as_echo "$ac_ct_STRIP" >&6; }
3613 else
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3615 $as_echo "no" >&6; }
3618 if test "x$ac_ct_STRIP" = x; then
3619 STRIP=":"
3620 else
3621 case $cross_compiling:$ac_tool_warned in
3622 yes:)
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3624 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3625 ac_tool_warned=yes ;;
3626 esac
3627 STRIP=$ac_ct_STRIP
3629 else
3630 STRIP="$ac_cv_prog_STRIP"
3634 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3637 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3638 if test -z "$MKDIR_P"; then
3639 if ${ac_cv_path_mkdir+:} false; then :
3640 $as_echo_n "(cached) " >&6
3641 else
3642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3643 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3645 IFS=$as_save_IFS
3646 test -z "$as_dir" && as_dir=.
3647 for ac_prog in mkdir gmkdir; do
3648 for ac_exec_ext in '' $ac_executable_extensions; do
3649 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3650 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3651 'mkdir (GNU coreutils) '* | \
3652 'mkdir (coreutils) '* | \
3653 'mkdir (fileutils) '4.1*)
3654 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3655 break 3;;
3656 esac
3657 done
3658 done
3659 done
3660 IFS=$as_save_IFS
3664 test -d ./--version && rmdir ./--version
3665 if test "${ac_cv_path_mkdir+set}" = set; then
3666 MKDIR_P="$ac_cv_path_mkdir -p"
3667 else
3668 # As a last resort, use the slow shell script. Don't cache a
3669 # value for MKDIR_P within a source directory, because that will
3670 # break other packages using the cache if that directory is
3671 # removed, or if the value is a relative name.
3672 MKDIR_P="$ac_install_sh -d"
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3676 $as_echo "$MKDIR_P" >&6; }
3678 for ac_prog in gawk mawk nawk awk
3680 # Extract the first word of "$ac_prog", so it can be a program name with args.
3681 set dummy $ac_prog; ac_word=$2
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3683 $as_echo_n "checking for $ac_word... " >&6; }
3684 if ${ac_cv_prog_AWK+:} false; then :
3685 $as_echo_n "(cached) " >&6
3686 else
3687 if test -n "$AWK"; then
3688 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3689 else
3690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3691 for as_dir in $PATH
3693 IFS=$as_save_IFS
3694 test -z "$as_dir" && as_dir=.
3695 for ac_exec_ext in '' $ac_executable_extensions; do
3696 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3697 ac_cv_prog_AWK="$ac_prog"
3698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3699 break 2
3701 done
3702 done
3703 IFS=$as_save_IFS
3707 AWK=$ac_cv_prog_AWK
3708 if test -n "$AWK"; then
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3710 $as_echo "$AWK" >&6; }
3711 else
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3713 $as_echo "no" >&6; }
3717 test -n "$AWK" && break
3718 done
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3721 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3722 set x ${MAKE-make}
3723 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3724 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3725 $as_echo_n "(cached) " >&6
3726 else
3727 cat >conftest.make <<\_ACEOF
3728 SHELL = /bin/sh
3729 all:
3730 @echo '@@@%%%=$(MAKE)=@@@%%%'
3731 _ACEOF
3732 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3733 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3734 *@@@%%%=?*=@@@%%%*)
3735 eval ac_cv_prog_make_${ac_make}_set=yes;;
3737 eval ac_cv_prog_make_${ac_make}_set=no;;
3738 esac
3739 rm -f conftest.make
3741 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3743 $as_echo "yes" >&6; }
3744 SET_MAKE=
3745 else
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3747 $as_echo "no" >&6; }
3748 SET_MAKE="MAKE=${MAKE-make}"
3751 rm -rf .tst 2>/dev/null
3752 mkdir .tst 2>/dev/null
3753 if test -d .tst; then
3754 am__leading_dot=.
3755 else
3756 am__leading_dot=_
3758 rmdir .tst 2>/dev/null
3760 # Check whether --enable-silent-rules was given.
3761 if test "${enable_silent_rules+set}" = set; then :
3762 enableval=$enable_silent_rules;
3765 case $enable_silent_rules in # (((
3766 yes) AM_DEFAULT_VERBOSITY=0;;
3767 no) AM_DEFAULT_VERBOSITY=1;;
3768 *) AM_DEFAULT_VERBOSITY=1;;
3769 esac
3770 am_make=${MAKE-make}
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3772 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3773 if ${am_cv_make_support_nested_variables+:} false; then :
3774 $as_echo_n "(cached) " >&6
3775 else
3776 if $as_echo 'TRUE=$(BAR$(V))
3777 BAR0=false
3778 BAR1=true
3780 am__doit:
3781 @$(TRUE)
3782 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3783 am_cv_make_support_nested_variables=yes
3784 else
3785 am_cv_make_support_nested_variables=no
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3789 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3790 if test $am_cv_make_support_nested_variables = yes; then
3791 AM_V='$(V)'
3792 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3793 else
3794 AM_V=$AM_DEFAULT_VERBOSITY
3795 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3797 AM_BACKSLASH='\'
3799 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3800 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3801 # is not polluted with repeated "-I."
3802 am__isrc=' -I$(srcdir)'
3803 # test to see if srcdir already configured
3804 if test -f $srcdir/config.status; then
3805 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3809 # test whether we have cygpath
3810 if test -z "$CYGPATH_W"; then
3811 if (cygpath --version) >/dev/null 2>/dev/null; then
3812 CYGPATH_W='cygpath -w'
3813 else
3814 CYGPATH_W=echo
3819 # Define the identity of the package.
3820 PACKAGE='libstdc++'
3821 VERSION='version-unused'
3824 # Some tools Automake needs.
3826 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3829 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3832 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3835 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3838 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3840 # For better backward compatibility. To be removed once Automake 1.9.x
3841 # dies out for good. For more background, see:
3842 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3843 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3844 mkdir_p='$(MKDIR_P)'
3846 # We need awk for the "check" target (and possibly the TAP driver). The
3847 # system "awk" is bad on some platforms.
3848 # Always define AMTAR for backward compatibility. Yes, it's still used
3849 # in the wild :-( We should find a proper way to deprecate it ...
3850 AMTAR='$${TAR-tar}'
3853 # We'll loop over all known methods to create a tar archive until one works.
3854 _am_tools='gnutar pax cpio none'
3856 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3863 # POSIX will say in a future version that running "rm -f" with no argument
3864 # is OK; and we want to be able to make that assumption in our Makefile
3865 # recipes. So use an aggressive probe to check that the usage we want is
3866 # actually supported "in the wild" to an acceptable degree.
3867 # See automake bug#10828.
3868 # To make any issue more visible, cause the running configure to be aborted
3869 # by default if the 'rm' program in use doesn't match our expectations; the
3870 # user can still override this though.
3871 if rm -f && rm -fr && rm -rf; then : OK; else
3872 cat >&2 <<'END'
3873 Oops!
3875 Your 'rm' program seems unable to run without file operands specified
3876 on the command line, even when the '-f' option is present. This is contrary
3877 to the behaviour of most rm programs out there, and not conforming with
3878 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3880 Please tell bug-automake@gnu.org about your system, including the value
3881 of your $PATH and any error possibly output before this message. This
3882 can help us improve future automake versions.
3885 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3886 echo 'Configuration will proceed anyway, since you have set the' >&2
3887 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3888 echo >&2
3889 else
3890 cat >&2 <<'END'
3891 Aborting the configuration process, to ensure you take notice of the issue.
3893 You can download and install GNU coreutils to get an 'rm' implementation
3894 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3896 If you want to complete the configuration process using your problematic
3897 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3898 to "yes", and re-run configure.
3901 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3908 # -fno-builtin must be present here so that a non-conflicting form of
3909 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3911 save_CXXFLAGS="$CXXFLAGS"
3912 CXXFLAGS="$CXXFLAGS -fno-builtin"
3913 ac_ext=c
3914 ac_cpp='$CPP $CPPFLAGS'
3915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3918 if test -n "$ac_tool_prefix"; then
3919 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3920 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3922 $as_echo_n "checking for $ac_word... " >&6; }
3923 if ${ac_cv_prog_CC+:} false; then :
3924 $as_echo_n "(cached) " >&6
3925 else
3926 if test -n "$CC"; then
3927 ac_cv_prog_CC="$CC" # Let the user override the test.
3928 else
3929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3930 for as_dir in $PATH
3932 IFS=$as_save_IFS
3933 test -z "$as_dir" && as_dir=.
3934 for ac_exec_ext in '' $ac_executable_extensions; do
3935 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3936 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3938 break 2
3940 done
3941 done
3942 IFS=$as_save_IFS
3946 CC=$ac_cv_prog_CC
3947 if test -n "$CC"; then
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3949 $as_echo "$CC" >&6; }
3950 else
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3952 $as_echo "no" >&6; }
3957 if test -z "$ac_cv_prog_CC"; then
3958 ac_ct_CC=$CC
3959 # Extract the first word of "gcc", so it can be a program name with args.
3960 set dummy gcc; ac_word=$2
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3962 $as_echo_n "checking for $ac_word... " >&6; }
3963 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3964 $as_echo_n "(cached) " >&6
3965 else
3966 if test -n "$ac_ct_CC"; then
3967 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3968 else
3969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3970 for as_dir in $PATH
3972 IFS=$as_save_IFS
3973 test -z "$as_dir" && as_dir=.
3974 for ac_exec_ext in '' $ac_executable_extensions; do
3975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3976 ac_cv_prog_ac_ct_CC="gcc"
3977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3978 break 2
3980 done
3981 done
3982 IFS=$as_save_IFS
3986 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3987 if test -n "$ac_ct_CC"; then
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3989 $as_echo "$ac_ct_CC" >&6; }
3990 else
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3992 $as_echo "no" >&6; }
3995 if test "x$ac_ct_CC" = x; then
3996 CC=""
3997 else
3998 case $cross_compiling:$ac_tool_warned in
3999 yes:)
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4001 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4002 ac_tool_warned=yes ;;
4003 esac
4004 CC=$ac_ct_CC
4006 else
4007 CC="$ac_cv_prog_CC"
4010 if test -z "$CC"; then
4011 if test -n "$ac_tool_prefix"; then
4012 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4013 set dummy ${ac_tool_prefix}cc; ac_word=$2
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4015 $as_echo_n "checking for $ac_word... " >&6; }
4016 if ${ac_cv_prog_CC+:} false; then :
4017 $as_echo_n "(cached) " >&6
4018 else
4019 if test -n "$CC"; then
4020 ac_cv_prog_CC="$CC" # Let the user override the test.
4021 else
4022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4023 for as_dir in $PATH
4025 IFS=$as_save_IFS
4026 test -z "$as_dir" && as_dir=.
4027 for ac_exec_ext in '' $ac_executable_extensions; do
4028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4029 ac_cv_prog_CC="${ac_tool_prefix}cc"
4030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4031 break 2
4033 done
4034 done
4035 IFS=$as_save_IFS
4039 CC=$ac_cv_prog_CC
4040 if test -n "$CC"; then
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4042 $as_echo "$CC" >&6; }
4043 else
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4045 $as_echo "no" >&6; }
4051 if test -z "$CC"; then
4052 # Extract the first word of "cc", so it can be a program name with args.
4053 set dummy cc; ac_word=$2
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4055 $as_echo_n "checking for $ac_word... " >&6; }
4056 if ${ac_cv_prog_CC+:} false; then :
4057 $as_echo_n "(cached) " >&6
4058 else
4059 if test -n "$CC"; then
4060 ac_cv_prog_CC="$CC" # Let the user override the test.
4061 else
4062 ac_prog_rejected=no
4063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4064 for as_dir in $PATH
4066 IFS=$as_save_IFS
4067 test -z "$as_dir" && as_dir=.
4068 for ac_exec_ext in '' $ac_executable_extensions; do
4069 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4070 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4071 ac_prog_rejected=yes
4072 continue
4074 ac_cv_prog_CC="cc"
4075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4076 break 2
4078 done
4079 done
4080 IFS=$as_save_IFS
4082 if test $ac_prog_rejected = yes; then
4083 # We found a bogon in the path, so make sure we never use it.
4084 set dummy $ac_cv_prog_CC
4085 shift
4086 if test $# != 0; then
4087 # We chose a different compiler from the bogus one.
4088 # However, it has the same basename, so the bogon will be chosen
4089 # first if we set CC to just the basename; use the full file name.
4090 shift
4091 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4096 CC=$ac_cv_prog_CC
4097 if test -n "$CC"; then
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4099 $as_echo "$CC" >&6; }
4100 else
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4102 $as_echo "no" >&6; }
4107 if test -z "$CC"; then
4108 if test -n "$ac_tool_prefix"; then
4109 for ac_prog in cl.exe
4111 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4112 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4114 $as_echo_n "checking for $ac_word... " >&6; }
4115 if ${ac_cv_prog_CC+:} false; then :
4116 $as_echo_n "(cached) " >&6
4117 else
4118 if test -n "$CC"; then
4119 ac_cv_prog_CC="$CC" # Let the user override the test.
4120 else
4121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4122 for as_dir in $PATH
4124 IFS=$as_save_IFS
4125 test -z "$as_dir" && as_dir=.
4126 for ac_exec_ext in '' $ac_executable_extensions; do
4127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4128 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4130 break 2
4132 done
4133 done
4134 IFS=$as_save_IFS
4138 CC=$ac_cv_prog_CC
4139 if test -n "$CC"; then
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4141 $as_echo "$CC" >&6; }
4142 else
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4144 $as_echo "no" >&6; }
4148 test -n "$CC" && break
4149 done
4151 if test -z "$CC"; then
4152 ac_ct_CC=$CC
4153 for ac_prog in cl.exe
4155 # Extract the first word of "$ac_prog", so it can be a program name with args.
4156 set dummy $ac_prog; ac_word=$2
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4158 $as_echo_n "checking for $ac_word... " >&6; }
4159 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4160 $as_echo_n "(cached) " >&6
4161 else
4162 if test -n "$ac_ct_CC"; then
4163 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4164 else
4165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4166 for as_dir in $PATH
4168 IFS=$as_save_IFS
4169 test -z "$as_dir" && as_dir=.
4170 for ac_exec_ext in '' $ac_executable_extensions; do
4171 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4172 ac_cv_prog_ac_ct_CC="$ac_prog"
4173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4174 break 2
4176 done
4177 done
4178 IFS=$as_save_IFS
4182 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4183 if test -n "$ac_ct_CC"; then
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4185 $as_echo "$ac_ct_CC" >&6; }
4186 else
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4188 $as_echo "no" >&6; }
4192 test -n "$ac_ct_CC" && break
4193 done
4195 if test "x$ac_ct_CC" = x; then
4196 CC=""
4197 else
4198 case $cross_compiling:$ac_tool_warned in
4199 yes:)
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4201 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4202 ac_tool_warned=yes ;;
4203 esac
4204 CC=$ac_ct_CC
4211 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4212 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4213 as_fn_error $? "no acceptable C compiler found in \$PATH
4214 See \`config.log' for more details" "$LINENO" 5; }
4216 # Provide some information about the compiler.
4217 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4218 set X $ac_compile
4219 ac_compiler=$2
4220 for ac_option in --version -v -V -qversion; do
4221 { { ac_try="$ac_compiler $ac_option >&5"
4222 case "(($ac_try" in
4223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4224 *) ac_try_echo=$ac_try;;
4225 esac
4226 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4227 $as_echo "$ac_try_echo"; } >&5
4228 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4229 ac_status=$?
4230 if test -s conftest.err; then
4231 sed '10a\
4232 ... rest of stderr output deleted ...
4233 10q' conftest.err >conftest.er1
4234 cat conftest.er1 >&5
4236 rm -f conftest.er1 conftest.err
4237 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4238 test $ac_status = 0; }
4239 done
4241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4242 /* end confdefs.h. */
4243 #include <stdio.h>
4245 main ()
4247 printf ("hello world\n");
4249 return 0;
4251 _ACEOF
4252 # FIXME: Cleanup?
4253 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4254 (eval $ac_link) 2>&5
4255 ac_status=$?
4256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4257 test $ac_status = 0; }; then :
4258 gcc_no_link=no
4259 else
4260 gcc_no_link=yes
4262 if test x$gcc_no_link = xyes; then
4263 # Setting cross_compile will disable run tests; it will
4264 # also disable AC_CHECK_FILE but that's generally
4265 # correct if we can't link.
4266 cross_compiling=yes
4267 EXEEXT=
4268 else
4269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4270 /* end confdefs.h. */
4273 main ()
4277 return 0;
4279 _ACEOF
4280 ac_clean_files_save=$ac_clean_files
4281 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4282 # Try to create an executable without -o first, disregard a.out.
4283 # It will help us diagnose broken compilers, and finding out an intuition
4284 # of exeext.
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4286 $as_echo_n "checking whether the C compiler works... " >&6; }
4287 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4289 # The possible output files:
4290 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4292 ac_rmfiles=
4293 for ac_file in $ac_files
4295 case $ac_file in
4296 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4297 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4298 esac
4299 done
4300 rm -f $ac_rmfiles
4302 if { { ac_try="$ac_link_default"
4303 case "(($ac_try" in
4304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4305 *) ac_try_echo=$ac_try;;
4306 esac
4307 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4308 $as_echo "$ac_try_echo"; } >&5
4309 (eval "$ac_link_default") 2>&5
4310 ac_status=$?
4311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4312 test $ac_status = 0; }; then :
4313 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4314 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4315 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4316 # so that the user can short-circuit this test for compilers unknown to
4317 # Autoconf.
4318 for ac_file in $ac_files ''
4320 test -f "$ac_file" || continue
4321 case $ac_file in
4322 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4324 [ab].out )
4325 # We found the default executable, but exeext='' is most
4326 # certainly right.
4327 break;;
4328 *.* )
4329 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4330 then :; else
4331 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4333 # We set ac_cv_exeext here because the later test for it is not
4334 # safe: cross compilers may not add the suffix if given an `-o'
4335 # argument, so we may need to know it at that point already.
4336 # Even if this section looks crufty: it has the advantage of
4337 # actually working.
4338 break;;
4340 break;;
4341 esac
4342 done
4343 test "$ac_cv_exeext" = no && ac_cv_exeext=
4345 else
4346 ac_file=''
4348 if test -z "$ac_file"; then :
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4350 $as_echo "no" >&6; }
4351 $as_echo "$as_me: failed program was:" >&5
4352 sed 's/^/| /' conftest.$ac_ext >&5
4354 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4355 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4356 as_fn_error 77 "C compiler cannot create executables
4357 See \`config.log' for more details" "$LINENO" 5; }
4358 else
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4360 $as_echo "yes" >&6; }
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4363 $as_echo_n "checking for C compiler default output file name... " >&6; }
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4365 $as_echo "$ac_file" >&6; }
4366 ac_exeext=$ac_cv_exeext
4368 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4369 ac_clean_files=$ac_clean_files_save
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4371 $as_echo_n "checking for suffix of executables... " >&6; }
4372 if { { ac_try="$ac_link"
4373 case "(($ac_try" in
4374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4375 *) ac_try_echo=$ac_try;;
4376 esac
4377 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4378 $as_echo "$ac_try_echo"; } >&5
4379 (eval "$ac_link") 2>&5
4380 ac_status=$?
4381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4382 test $ac_status = 0; }; then :
4383 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4384 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4385 # work properly (i.e., refer to `conftest.exe'), while it won't with
4386 # `rm'.
4387 for ac_file in conftest.exe conftest conftest.*; do
4388 test -f "$ac_file" || continue
4389 case $ac_file in
4390 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4391 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4392 break;;
4393 * ) break;;
4394 esac
4395 done
4396 else
4397 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4398 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4399 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4400 See \`config.log' for more details" "$LINENO" 5; }
4402 rm -f conftest conftest$ac_cv_exeext
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4404 $as_echo "$ac_cv_exeext" >&6; }
4406 rm -f conftest.$ac_ext
4407 EXEEXT=$ac_cv_exeext
4408 ac_exeext=$EXEEXT
4409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4410 /* end confdefs.h. */
4411 #include <stdio.h>
4413 main ()
4415 FILE *f = fopen ("conftest.out", "w");
4416 return ferror (f) || fclose (f) != 0;
4419 return 0;
4421 _ACEOF
4422 ac_clean_files="$ac_clean_files conftest.out"
4423 # Check that the compiler produces executables we can run. If not, either
4424 # the compiler is broken, or we cross compile.
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4426 $as_echo_n "checking whether we are cross compiling... " >&6; }
4427 if test "$cross_compiling" != yes; then
4428 { { ac_try="$ac_link"
4429 case "(($ac_try" in
4430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4431 *) ac_try_echo=$ac_try;;
4432 esac
4433 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4434 $as_echo "$ac_try_echo"; } >&5
4435 (eval "$ac_link") 2>&5
4436 ac_status=$?
4437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4438 test $ac_status = 0; }
4439 if { ac_try='./conftest$ac_cv_exeext'
4440 { { case "(($ac_try" in
4441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4442 *) ac_try_echo=$ac_try;;
4443 esac
4444 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4445 $as_echo "$ac_try_echo"; } >&5
4446 (eval "$ac_try") 2>&5
4447 ac_status=$?
4448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4449 test $ac_status = 0; }; }; then
4450 cross_compiling=no
4451 else
4452 if test "$cross_compiling" = maybe; then
4453 cross_compiling=yes
4454 else
4455 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4456 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4457 as_fn_error $? "cannot run C compiled programs.
4458 If you meant to cross compile, use \`--host'.
4459 See \`config.log' for more details" "$LINENO" 5; }
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4464 $as_echo "$cross_compiling" >&6; }
4466 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4467 ac_clean_files=$ac_clean_files_save
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4470 $as_echo_n "checking for suffix of object files... " >&6; }
4471 if ${ac_cv_objext+:} false; then :
4472 $as_echo_n "(cached) " >&6
4473 else
4474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4475 /* end confdefs.h. */
4478 main ()
4482 return 0;
4484 _ACEOF
4485 rm -f conftest.o conftest.obj
4486 if { { ac_try="$ac_compile"
4487 case "(($ac_try" in
4488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4489 *) ac_try_echo=$ac_try;;
4490 esac
4491 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4492 $as_echo "$ac_try_echo"; } >&5
4493 (eval "$ac_compile") 2>&5
4494 ac_status=$?
4495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4496 test $ac_status = 0; }; then :
4497 for ac_file in conftest.o conftest.obj conftest.*; do
4498 test -f "$ac_file" || continue;
4499 case $ac_file in
4500 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4501 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4502 break;;
4503 esac
4504 done
4505 else
4506 $as_echo "$as_me: failed program was:" >&5
4507 sed 's/^/| /' conftest.$ac_ext >&5
4509 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4510 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4511 as_fn_error $? "cannot compute suffix of object files: cannot compile
4512 See \`config.log' for more details" "$LINENO" 5; }
4514 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4517 $as_echo "$ac_cv_objext" >&6; }
4518 OBJEXT=$ac_cv_objext
4519 ac_objext=$OBJEXT
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4521 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4522 if ${ac_cv_c_compiler_gnu+:} false; then :
4523 $as_echo_n "(cached) " >&6
4524 else
4525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4526 /* end confdefs.h. */
4529 main ()
4531 #ifndef __GNUC__
4532 choke me
4533 #endif
4536 return 0;
4538 _ACEOF
4539 if ac_fn_c_try_compile "$LINENO"; then :
4540 ac_compiler_gnu=yes
4541 else
4542 ac_compiler_gnu=no
4544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4545 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4549 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4550 if test $ac_compiler_gnu = yes; then
4551 GCC=yes
4552 else
4553 GCC=
4555 ac_test_CFLAGS=${CFLAGS+set}
4556 ac_save_CFLAGS=$CFLAGS
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4558 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4559 if ${ac_cv_prog_cc_g+:} false; then :
4560 $as_echo_n "(cached) " >&6
4561 else
4562 ac_save_c_werror_flag=$ac_c_werror_flag
4563 ac_c_werror_flag=yes
4564 ac_cv_prog_cc_g=no
4565 CFLAGS="-g"
4566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4567 /* end confdefs.h. */
4570 main ()
4574 return 0;
4576 _ACEOF
4577 if ac_fn_c_try_compile "$LINENO"; then :
4578 ac_cv_prog_cc_g=yes
4579 else
4580 CFLAGS=""
4581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4582 /* end confdefs.h. */
4585 main ()
4589 return 0;
4591 _ACEOF
4592 if ac_fn_c_try_compile "$LINENO"; then :
4594 else
4595 ac_c_werror_flag=$ac_save_c_werror_flag
4596 CFLAGS="-g"
4597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4598 /* end confdefs.h. */
4601 main ()
4605 return 0;
4607 _ACEOF
4608 if ac_fn_c_try_compile "$LINENO"; then :
4609 ac_cv_prog_cc_g=yes
4611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4616 ac_c_werror_flag=$ac_save_c_werror_flag
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4619 $as_echo "$ac_cv_prog_cc_g" >&6; }
4620 if test "$ac_test_CFLAGS" = set; then
4621 CFLAGS=$ac_save_CFLAGS
4622 elif test $ac_cv_prog_cc_g = yes; then
4623 if test "$GCC" = yes; then
4624 CFLAGS="-g -O2"
4625 else
4626 CFLAGS="-g"
4628 else
4629 if test "$GCC" = yes; then
4630 CFLAGS="-O2"
4631 else
4632 CFLAGS=
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4636 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4637 if ${ac_cv_prog_cc_c89+:} false; then :
4638 $as_echo_n "(cached) " >&6
4639 else
4640 ac_cv_prog_cc_c89=no
4641 ac_save_CC=$CC
4642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4643 /* end confdefs.h. */
4644 #include <stdarg.h>
4645 #include <stdio.h>
4646 struct stat;
4647 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4648 struct buf { int x; };
4649 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4650 static char *e (p, i)
4651 char **p;
4652 int i;
4654 return p[i];
4656 static char *f (char * (*g) (char **, int), char **p, ...)
4658 char *s;
4659 va_list v;
4660 va_start (v,p);
4661 s = g (p, va_arg (v,int));
4662 va_end (v);
4663 return s;
4666 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4667 function prototypes and stuff, but not '\xHH' hex character constants.
4668 These don't provoke an error unfortunately, instead are silently treated
4669 as 'x'. The following induces an error, until -std is added to get
4670 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4671 array size at least. It's necessary to write '\x00'==0 to get something
4672 that's true only with -std. */
4673 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4675 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4676 inside strings and character constants. */
4677 #define FOO(x) 'x'
4678 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4680 int test (int i, double x);
4681 struct s1 {int (*f) (int a);};
4682 struct s2 {int (*f) (double a);};
4683 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4684 int argc;
4685 char **argv;
4687 main ()
4689 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4691 return 0;
4693 _ACEOF
4694 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4695 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4697 CC="$ac_save_CC $ac_arg"
4698 if ac_fn_c_try_compile "$LINENO"; then :
4699 ac_cv_prog_cc_c89=$ac_arg
4701 rm -f core conftest.err conftest.$ac_objext
4702 test "x$ac_cv_prog_cc_c89" != "xno" && break
4703 done
4704 rm -f conftest.$ac_ext
4705 CC=$ac_save_CC
4708 # AC_CACHE_VAL
4709 case "x$ac_cv_prog_cc_c89" in
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4712 $as_echo "none needed" >&6; } ;;
4713 xno)
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4715 $as_echo "unsupported" >&6; } ;;
4717 CC="$CC $ac_cv_prog_cc_c89"
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4719 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4720 esac
4721 if test "x$ac_cv_prog_cc_c89" != xno; then :
4725 ac_ext=c
4726 ac_cpp='$CPP $CPPFLAGS'
4727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4731 ac_ext=c
4732 ac_cpp='$CPP $CPPFLAGS'
4733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4737 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4738 if ${am_cv_prog_cc_c_o+:} false; then :
4739 $as_echo_n "(cached) " >&6
4740 else
4741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4742 /* end confdefs.h. */
4745 main ()
4749 return 0;
4751 _ACEOF
4752 # Make sure it works both with $CC and with simple cc.
4753 # Following AC_PROG_CC_C_O, we do the test twice because some
4754 # compilers refuse to overwrite an existing .o file with -o,
4755 # though they will create one.
4756 am_cv_prog_cc_c_o=yes
4757 for am_i in 1 2; do
4758 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4759 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4760 ac_status=$?
4761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4762 (exit $ac_status); } \
4763 && test -f conftest2.$ac_objext; then
4764 : OK
4765 else
4766 am_cv_prog_cc_c_o=no
4767 break
4769 done
4770 rm -f core conftest*
4771 unset am_i
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4774 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4775 if test "$am_cv_prog_cc_c_o" != yes; then
4776 # Losing compiler, so override with the script.
4777 # FIXME: It is wrong to rewrite CC.
4778 # But if we don't then we get into trouble of one sort or another.
4779 # A longer-term fix would be to have automake use am__CC in this case,
4780 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4781 CC="$am_aux_dir/compile $CC"
4783 ac_ext=c
4784 ac_cpp='$CPP $CPPFLAGS'
4785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4790 ac_ext=cpp
4791 ac_cpp='$CXXCPP $CPPFLAGS'
4792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4795 if test -z "$CXX"; then
4796 if test -n "$CCC"; then
4797 CXX=$CCC
4798 else
4799 if test -n "$ac_tool_prefix"; then
4800 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4802 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4803 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4805 $as_echo_n "checking for $ac_word... " >&6; }
4806 if ${ac_cv_prog_CXX+:} false; then :
4807 $as_echo_n "(cached) " >&6
4808 else
4809 if test -n "$CXX"; then
4810 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4811 else
4812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4813 for as_dir in $PATH
4815 IFS=$as_save_IFS
4816 test -z "$as_dir" && as_dir=.
4817 for ac_exec_ext in '' $ac_executable_extensions; do
4818 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4819 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4821 break 2
4823 done
4824 done
4825 IFS=$as_save_IFS
4829 CXX=$ac_cv_prog_CXX
4830 if test -n "$CXX"; then
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4832 $as_echo "$CXX" >&6; }
4833 else
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4835 $as_echo "no" >&6; }
4839 test -n "$CXX" && break
4840 done
4842 if test -z "$CXX"; then
4843 ac_ct_CXX=$CXX
4844 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4846 # Extract the first word of "$ac_prog", so it can be a program name with args.
4847 set dummy $ac_prog; ac_word=$2
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4849 $as_echo_n "checking for $ac_word... " >&6; }
4850 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4851 $as_echo_n "(cached) " >&6
4852 else
4853 if test -n "$ac_ct_CXX"; then
4854 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4855 else
4856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4857 for as_dir in $PATH
4859 IFS=$as_save_IFS
4860 test -z "$as_dir" && as_dir=.
4861 for ac_exec_ext in '' $ac_executable_extensions; do
4862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4863 ac_cv_prog_ac_ct_CXX="$ac_prog"
4864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4865 break 2
4867 done
4868 done
4869 IFS=$as_save_IFS
4873 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4874 if test -n "$ac_ct_CXX"; then
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4876 $as_echo "$ac_ct_CXX" >&6; }
4877 else
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4879 $as_echo "no" >&6; }
4883 test -n "$ac_ct_CXX" && break
4884 done
4886 if test "x$ac_ct_CXX" = x; then
4887 CXX="g++"
4888 else
4889 case $cross_compiling:$ac_tool_warned in
4890 yes:)
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4892 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4893 ac_tool_warned=yes ;;
4894 esac
4895 CXX=$ac_ct_CXX
4901 # Provide some information about the compiler.
4902 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4903 set X $ac_compile
4904 ac_compiler=$2
4905 for ac_option in --version -v -V -qversion; do
4906 { { ac_try="$ac_compiler $ac_option >&5"
4907 case "(($ac_try" in
4908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4909 *) ac_try_echo=$ac_try;;
4910 esac
4911 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4912 $as_echo "$ac_try_echo"; } >&5
4913 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4914 ac_status=$?
4915 if test -s conftest.err; then
4916 sed '10a\
4917 ... rest of stderr output deleted ...
4918 10q' conftest.err >conftest.er1
4919 cat conftest.er1 >&5
4921 rm -f conftest.er1 conftest.err
4922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4923 test $ac_status = 0; }
4924 done
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4927 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4928 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4929 $as_echo_n "(cached) " >&6
4930 else
4931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4932 /* end confdefs.h. */
4935 main ()
4937 #ifndef __GNUC__
4938 choke me
4939 #endif
4942 return 0;
4944 _ACEOF
4945 if ac_fn_cxx_try_compile "$LINENO"; then :
4946 ac_compiler_gnu=yes
4947 else
4948 ac_compiler_gnu=no
4950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4951 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4955 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4956 if test $ac_compiler_gnu = yes; then
4957 GXX=yes
4958 else
4959 GXX=
4961 ac_test_CXXFLAGS=${CXXFLAGS+set}
4962 ac_save_CXXFLAGS=$CXXFLAGS
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4964 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4965 if ${ac_cv_prog_cxx_g+:} false; then :
4966 $as_echo_n "(cached) " >&6
4967 else
4968 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4969 ac_cxx_werror_flag=yes
4970 ac_cv_prog_cxx_g=no
4971 CXXFLAGS="-g"
4972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4973 /* end confdefs.h. */
4976 main ()
4980 return 0;
4982 _ACEOF
4983 if ac_fn_cxx_try_compile "$LINENO"; then :
4984 ac_cv_prog_cxx_g=yes
4985 else
4986 CXXFLAGS=""
4987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4988 /* end confdefs.h. */
4991 main ()
4995 return 0;
4997 _ACEOF
4998 if ac_fn_cxx_try_compile "$LINENO"; then :
5000 else
5001 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5002 CXXFLAGS="-g"
5003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5004 /* end confdefs.h. */
5007 main ()
5011 return 0;
5013 _ACEOF
5014 if ac_fn_cxx_try_compile "$LINENO"; then :
5015 ac_cv_prog_cxx_g=yes
5017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5022 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5025 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5026 if test "$ac_test_CXXFLAGS" = set; then
5027 CXXFLAGS=$ac_save_CXXFLAGS
5028 elif test $ac_cv_prog_cxx_g = yes; then
5029 if test "$GXX" = yes; then
5030 CXXFLAGS="-g -O2"
5031 else
5032 CXXFLAGS="-g"
5034 else
5035 if test "$GXX" = yes; then
5036 CXXFLAGS="-O2"
5037 else
5038 CXXFLAGS=
5041 ac_ext=c
5042 ac_cpp='$CPP $CPPFLAGS'
5043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5047 CXXFLAGS="$save_CXXFLAGS"
5050 # Check whether --enable-largefile was given.
5051 if test "${enable_largefile+set}" = set; then :
5052 enableval=$enable_largefile;
5055 if test "$enable_largefile" != no; then
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5058 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5059 if ${ac_cv_sys_largefile_CC+:} false; then :
5060 $as_echo_n "(cached) " >&6
5061 else
5062 ac_cv_sys_largefile_CC=no
5063 if test "$GCC" != yes; then
5064 ac_save_CC=$CC
5065 while :; do
5066 # IRIX 6.2 and later do not support large files by default,
5067 # so use the C compiler's -n32 option if that helps.
5068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5069 /* end confdefs.h. */
5070 #include <sys/types.h>
5071 /* Check that off_t can represent 2**63 - 1 correctly.
5072 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5073 since some C++ compilers masquerading as C compilers
5074 incorrectly reject 9223372036854775807. */
5075 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5076 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5077 && LARGE_OFF_T % 2147483647 == 1)
5078 ? 1 : -1];
5080 main ()
5084 return 0;
5086 _ACEOF
5087 if ac_fn_c_try_compile "$LINENO"; then :
5088 break
5090 rm -f core conftest.err conftest.$ac_objext
5091 CC="$CC -n32"
5092 if ac_fn_c_try_compile "$LINENO"; then :
5093 ac_cv_sys_largefile_CC=' -n32'; break
5095 rm -f core conftest.err conftest.$ac_objext
5096 break
5097 done
5098 CC=$ac_save_CC
5099 rm -f conftest.$ac_ext
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5103 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5104 if test "$ac_cv_sys_largefile_CC" != no; then
5105 CC=$CC$ac_cv_sys_largefile_CC
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5109 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5110 if ${ac_cv_sys_file_offset_bits+:} false; then :
5111 $as_echo_n "(cached) " >&6
5112 else
5113 while :; do
5114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5115 /* end confdefs.h. */
5116 #include <sys/types.h>
5117 /* Check that off_t can represent 2**63 - 1 correctly.
5118 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5119 since some C++ compilers masquerading as C compilers
5120 incorrectly reject 9223372036854775807. */
5121 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5122 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5123 && LARGE_OFF_T % 2147483647 == 1)
5124 ? 1 : -1];
5126 main ()
5130 return 0;
5132 _ACEOF
5133 if ac_fn_c_try_compile "$LINENO"; then :
5134 ac_cv_sys_file_offset_bits=no; break
5136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5138 /* end confdefs.h. */
5139 #define _FILE_OFFSET_BITS 64
5140 #include <sys/types.h>
5141 /* Check that off_t can represent 2**63 - 1 correctly.
5142 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5143 since some C++ compilers masquerading as C compilers
5144 incorrectly reject 9223372036854775807. */
5145 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5146 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5147 && LARGE_OFF_T % 2147483647 == 1)
5148 ? 1 : -1];
5150 main ()
5154 return 0;
5156 _ACEOF
5157 if ac_fn_c_try_compile "$LINENO"; then :
5158 ac_cv_sys_file_offset_bits=64; break
5160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5161 ac_cv_sys_file_offset_bits=unknown
5162 break
5163 done
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5166 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5167 case $ac_cv_sys_file_offset_bits in #(
5168 no | unknown) ;;
5170 cat >>confdefs.h <<_ACEOF
5171 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5172 _ACEOF
5174 esac
5175 rm -rf conftest*
5176 if test $ac_cv_sys_file_offset_bits = unknown; then
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5178 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5179 if ${ac_cv_sys_large_files+:} false; then :
5180 $as_echo_n "(cached) " >&6
5181 else
5182 while :; do
5183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5184 /* end confdefs.h. */
5185 #include <sys/types.h>
5186 /* Check that off_t can represent 2**63 - 1 correctly.
5187 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5188 since some C++ compilers masquerading as C compilers
5189 incorrectly reject 9223372036854775807. */
5190 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5191 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5192 && LARGE_OFF_T % 2147483647 == 1)
5193 ? 1 : -1];
5195 main ()
5199 return 0;
5201 _ACEOF
5202 if ac_fn_c_try_compile "$LINENO"; then :
5203 ac_cv_sys_large_files=no; break
5205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5207 /* end confdefs.h. */
5208 #define _LARGE_FILES 1
5209 #include <sys/types.h>
5210 /* Check that off_t can represent 2**63 - 1 correctly.
5211 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5212 since some C++ compilers masquerading as C compilers
5213 incorrectly reject 9223372036854775807. */
5214 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5215 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5216 && LARGE_OFF_T % 2147483647 == 1)
5217 ? 1 : -1];
5219 main ()
5223 return 0;
5225 _ACEOF
5226 if ac_fn_c_try_compile "$LINENO"; then :
5227 ac_cv_sys_large_files=1; break
5229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5230 ac_cv_sys_large_files=unknown
5231 break
5232 done
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5235 $as_echo "$ac_cv_sys_large_files" >&6; }
5236 case $ac_cv_sys_large_files in #(
5237 no | unknown) ;;
5239 cat >>confdefs.h <<_ACEOF
5240 #define _LARGE_FILES $ac_cv_sys_large_files
5241 _ACEOF
5243 esac
5244 rm -rf conftest*
5251 # Runs configure.host, and assorted other critical bits. Sets
5252 # up critical shell variables.
5253 ac_ext=c
5254 ac_cpp='$CPP $CPPFLAGS'
5255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5259 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5260 # On Suns, sometimes $CPP names a directory.
5261 if test -n "$CPP" && test -d "$CPP"; then
5262 CPP=
5264 if test -z "$CPP"; then
5265 if ${ac_cv_prog_CPP+:} false; then :
5266 $as_echo_n "(cached) " >&6
5267 else
5268 # Double quotes because CPP needs to be expanded
5269 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5271 ac_preproc_ok=false
5272 for ac_c_preproc_warn_flag in '' yes
5274 # Use a header file that comes with gcc, so configuring glibc
5275 # with a fresh cross-compiler works.
5276 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5277 # <limits.h> exists even on freestanding compilers.
5278 # On the NeXT, cc -E runs the code through the compiler's parser,
5279 # not just through cpp. "Syntax error" is here to catch this case.
5280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5281 /* end confdefs.h. */
5282 #ifdef __STDC__
5283 # include <limits.h>
5284 #else
5285 # include <assert.h>
5286 #endif
5287 Syntax error
5288 _ACEOF
5289 if ac_fn_c_try_cpp "$LINENO"; then :
5291 else
5292 # Broken: fails on valid input.
5293 continue
5295 rm -f conftest.err conftest.i conftest.$ac_ext
5297 # OK, works on sane cases. Now check whether nonexistent headers
5298 # can be detected and how.
5299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5300 /* end confdefs.h. */
5301 #include <ac_nonexistent.h>
5302 _ACEOF
5303 if ac_fn_c_try_cpp "$LINENO"; then :
5304 # Broken: success on invalid input.
5305 continue
5306 else
5307 # Passes both tests.
5308 ac_preproc_ok=:
5309 break
5311 rm -f conftest.err conftest.i conftest.$ac_ext
5313 done
5314 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5315 rm -f conftest.i conftest.err conftest.$ac_ext
5316 if $ac_preproc_ok; then :
5317 break
5320 done
5321 ac_cv_prog_CPP=$CPP
5324 CPP=$ac_cv_prog_CPP
5325 else
5326 ac_cv_prog_CPP=$CPP
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5329 $as_echo "$CPP" >&6; }
5330 ac_preproc_ok=false
5331 for ac_c_preproc_warn_flag in '' yes
5333 # Use a header file that comes with gcc, so configuring glibc
5334 # with a fresh cross-compiler works.
5335 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5336 # <limits.h> exists even on freestanding compilers.
5337 # On the NeXT, cc -E runs the code through the compiler's parser,
5338 # not just through cpp. "Syntax error" is here to catch this case.
5339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5340 /* end confdefs.h. */
5341 #ifdef __STDC__
5342 # include <limits.h>
5343 #else
5344 # include <assert.h>
5345 #endif
5346 Syntax error
5347 _ACEOF
5348 if ac_fn_c_try_cpp "$LINENO"; then :
5350 else
5351 # Broken: fails on valid input.
5352 continue
5354 rm -f conftest.err conftest.i conftest.$ac_ext
5356 # OK, works on sane cases. Now check whether nonexistent headers
5357 # can be detected and how.
5358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5359 /* end confdefs.h. */
5360 #include <ac_nonexistent.h>
5361 _ACEOF
5362 if ac_fn_c_try_cpp "$LINENO"; then :
5363 # Broken: success on invalid input.
5364 continue
5365 else
5366 # Passes both tests.
5367 ac_preproc_ok=:
5368 break
5370 rm -f conftest.err conftest.i conftest.$ac_ext
5372 done
5373 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5374 rm -f conftest.i conftest.err conftest.$ac_ext
5375 if $ac_preproc_ok; then :
5377 else
5378 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5379 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5380 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5381 See \`config.log' for more details" "$LINENO" 5; }
5384 ac_ext=c
5385 ac_cpp='$CPP $CPPFLAGS'
5386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5392 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5393 if ${ac_cv_path_GREP+:} false; then :
5394 $as_echo_n "(cached) " >&6
5395 else
5396 if test -z "$GREP"; then
5397 ac_path_GREP_found=false
5398 # Loop through the user's path and test for each of PROGNAME-LIST
5399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5400 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5402 IFS=$as_save_IFS
5403 test -z "$as_dir" && as_dir=.
5404 for ac_prog in grep ggrep; do
5405 for ac_exec_ext in '' $ac_executable_extensions; do
5406 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5407 as_fn_executable_p "$ac_path_GREP" || continue
5408 # Check for GNU ac_path_GREP and select it if it is found.
5409 # Check for GNU $ac_path_GREP
5410 case `"$ac_path_GREP" --version 2>&1` in
5411 *GNU*)
5412 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5414 ac_count=0
5415 $as_echo_n 0123456789 >"conftest.in"
5416 while :
5418 cat "conftest.in" "conftest.in" >"conftest.tmp"
5419 mv "conftest.tmp" "conftest.in"
5420 cp "conftest.in" "conftest.nl"
5421 $as_echo 'GREP' >> "conftest.nl"
5422 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5423 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5424 as_fn_arith $ac_count + 1 && ac_count=$as_val
5425 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5426 # Best one so far, save it but keep looking for a better one
5427 ac_cv_path_GREP="$ac_path_GREP"
5428 ac_path_GREP_max=$ac_count
5430 # 10*(2^10) chars as input seems more than enough
5431 test $ac_count -gt 10 && break
5432 done
5433 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5434 esac
5436 $ac_path_GREP_found && break 3
5437 done
5438 done
5439 done
5440 IFS=$as_save_IFS
5441 if test -z "$ac_cv_path_GREP"; then
5442 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5444 else
5445 ac_cv_path_GREP=$GREP
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5450 $as_echo "$ac_cv_path_GREP" >&6; }
5451 GREP="$ac_cv_path_GREP"
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5455 $as_echo_n "checking for egrep... " >&6; }
5456 if ${ac_cv_path_EGREP+:} false; then :
5457 $as_echo_n "(cached) " >&6
5458 else
5459 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5460 then ac_cv_path_EGREP="$GREP -E"
5461 else
5462 if test -z "$EGREP"; then
5463 ac_path_EGREP_found=false
5464 # Loop through the user's path and test for each of PROGNAME-LIST
5465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5466 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5468 IFS=$as_save_IFS
5469 test -z "$as_dir" && as_dir=.
5470 for ac_prog in egrep; do
5471 for ac_exec_ext in '' $ac_executable_extensions; do
5472 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5473 as_fn_executable_p "$ac_path_EGREP" || continue
5474 # Check for GNU ac_path_EGREP and select it if it is found.
5475 # Check for GNU $ac_path_EGREP
5476 case `"$ac_path_EGREP" --version 2>&1` in
5477 *GNU*)
5478 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5480 ac_count=0
5481 $as_echo_n 0123456789 >"conftest.in"
5482 while :
5484 cat "conftest.in" "conftest.in" >"conftest.tmp"
5485 mv "conftest.tmp" "conftest.in"
5486 cp "conftest.in" "conftest.nl"
5487 $as_echo 'EGREP' >> "conftest.nl"
5488 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5489 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5490 as_fn_arith $ac_count + 1 && ac_count=$as_val
5491 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5492 # Best one so far, save it but keep looking for a better one
5493 ac_cv_path_EGREP="$ac_path_EGREP"
5494 ac_path_EGREP_max=$ac_count
5496 # 10*(2^10) chars as input seems more than enough
5497 test $ac_count -gt 10 && break
5498 done
5499 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5500 esac
5502 $ac_path_EGREP_found && break 3
5503 done
5504 done
5505 done
5506 IFS=$as_save_IFS
5507 if test -z "$ac_cv_path_EGREP"; then
5508 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5510 else
5511 ac_cv_path_EGREP=$EGREP
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5517 $as_echo "$ac_cv_path_EGREP" >&6; }
5518 EGREP="$ac_cv_path_EGREP"
5522 # Keep these sync'd with the list in Makefile.am. The first provides an
5523 # expandable list at autoconf time; the second provides an expandable list
5524 # (i.e., shell variable) at configure time.
5526 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/c++17 src/c++20 src/filesystem src/libbacktrace src/experimental doc po testsuite python'
5528 # These need to be absolute paths, yet at the same time need to
5529 # canonicalize only relative paths, because then amd will not unmount
5530 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
5531 glibcxx_builddir=`${PWDCMD-pwd}`
5532 case $srcdir in
5533 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
5534 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
5535 esac
5536 toplevel_builddir=${glibcxx_builddir}/..
5537 toplevel_srcdir=${glibcxx_srcdir}/..
5543 # We use these options to decide which functions to include. They are
5544 # set from the top level.
5546 # Check whether --with-target-subdir was given.
5547 if test "${with_target_subdir+set}" = set; then :
5548 withval=$with_target_subdir;
5553 # Check whether --with-cross-host was given.
5554 if test "${with_cross_host+set}" = set; then :
5555 withval=$with_cross_host;
5560 # Check whether --with-newlib was given.
5561 if test "${with_newlib+set}" = set; then :
5562 withval=$with_newlib;
5566 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5567 # available). Uncomment the next line to force a particular method.
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5569 $as_echo_n "checking whether ln -s works... " >&6; }
5570 LN_S=$as_ln_s
5571 if test "$LN_S" = "ln -s"; then
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5573 $as_echo "yes" >&6; }
5574 else
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5576 $as_echo "no, using $LN_S" >&6; }
5579 #LN_S='cp -p'
5581 if test -n "$ac_tool_prefix"; then
5582 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5583 set dummy ${ac_tool_prefix}as; ac_word=$2
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5585 $as_echo_n "checking for $ac_word... " >&6; }
5586 if ${ac_cv_prog_AS+:} false; then :
5587 $as_echo_n "(cached) " >&6
5588 else
5589 if test -n "$AS"; then
5590 ac_cv_prog_AS="$AS" # Let the user override the test.
5591 else
5592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5593 for as_dir in $PATH
5595 IFS=$as_save_IFS
5596 test -z "$as_dir" && as_dir=.
5597 for ac_exec_ext in '' $ac_executable_extensions; do
5598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5599 ac_cv_prog_AS="${ac_tool_prefix}as"
5600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5601 break 2
5603 done
5604 done
5605 IFS=$as_save_IFS
5609 AS=$ac_cv_prog_AS
5610 if test -n "$AS"; then
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5612 $as_echo "$AS" >&6; }
5613 else
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5615 $as_echo "no" >&6; }
5620 if test -z "$ac_cv_prog_AS"; then
5621 ac_ct_AS=$AS
5622 # Extract the first word of "as", so it can be a program name with args.
5623 set dummy as; ac_word=$2
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5625 $as_echo_n "checking for $ac_word... " >&6; }
5626 if ${ac_cv_prog_ac_ct_AS+:} false; then :
5627 $as_echo_n "(cached) " >&6
5628 else
5629 if test -n "$ac_ct_AS"; then
5630 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5631 else
5632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5633 for as_dir in $PATH
5635 IFS=$as_save_IFS
5636 test -z "$as_dir" && as_dir=.
5637 for ac_exec_ext in '' $ac_executable_extensions; do
5638 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5639 ac_cv_prog_ac_ct_AS="as"
5640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5641 break 2
5643 done
5644 done
5645 IFS=$as_save_IFS
5649 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5650 if test -n "$ac_ct_AS"; then
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5652 $as_echo "$ac_ct_AS" >&6; }
5653 else
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5655 $as_echo "no" >&6; }
5658 if test "x$ac_ct_AS" = x; then
5659 AS=""
5660 else
5661 case $cross_compiling:$ac_tool_warned in
5662 yes:)
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5664 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5665 ac_tool_warned=yes ;;
5666 esac
5667 AS=$ac_ct_AS
5669 else
5670 AS="$ac_cv_prog_AS"
5673 if test -n "$ac_tool_prefix"; then
5674 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5675 set dummy ${ac_tool_prefix}ar; ac_word=$2
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5677 $as_echo_n "checking for $ac_word... " >&6; }
5678 if ${ac_cv_prog_AR+:} false; then :
5679 $as_echo_n "(cached) " >&6
5680 else
5681 if test -n "$AR"; then
5682 ac_cv_prog_AR="$AR" # Let the user override the test.
5683 else
5684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5685 for as_dir in $PATH
5687 IFS=$as_save_IFS
5688 test -z "$as_dir" && as_dir=.
5689 for ac_exec_ext in '' $ac_executable_extensions; do
5690 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5691 ac_cv_prog_AR="${ac_tool_prefix}ar"
5692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5693 break 2
5695 done
5696 done
5697 IFS=$as_save_IFS
5701 AR=$ac_cv_prog_AR
5702 if test -n "$AR"; then
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5704 $as_echo "$AR" >&6; }
5705 else
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5707 $as_echo "no" >&6; }
5712 if test -z "$ac_cv_prog_AR"; then
5713 ac_ct_AR=$AR
5714 # Extract the first word of "ar", so it can be a program name with args.
5715 set dummy ar; ac_word=$2
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5717 $as_echo_n "checking for $ac_word... " >&6; }
5718 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5719 $as_echo_n "(cached) " >&6
5720 else
5721 if test -n "$ac_ct_AR"; then
5722 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5723 else
5724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5725 for as_dir in $PATH
5727 IFS=$as_save_IFS
5728 test -z "$as_dir" && as_dir=.
5729 for ac_exec_ext in '' $ac_executable_extensions; do
5730 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5731 ac_cv_prog_ac_ct_AR="ar"
5732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5733 break 2
5735 done
5736 done
5737 IFS=$as_save_IFS
5741 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5742 if test -n "$ac_ct_AR"; then
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5744 $as_echo "$ac_ct_AR" >&6; }
5745 else
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5747 $as_echo "no" >&6; }
5750 if test "x$ac_ct_AR" = x; then
5751 AR=""
5752 else
5753 case $cross_compiling:$ac_tool_warned in
5754 yes:)
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5756 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5757 ac_tool_warned=yes ;;
5758 esac
5759 AR=$ac_ct_AR
5761 else
5762 AR="$ac_cv_prog_AR"
5765 if test -n "$ac_tool_prefix"; then
5766 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5767 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5769 $as_echo_n "checking for $ac_word... " >&6; }
5770 if ${ac_cv_prog_RANLIB+:} false; then :
5771 $as_echo_n "(cached) " >&6
5772 else
5773 if test -n "$RANLIB"; then
5774 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5775 else
5776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5777 for as_dir in $PATH
5779 IFS=$as_save_IFS
5780 test -z "$as_dir" && as_dir=.
5781 for ac_exec_ext in '' $ac_executable_extensions; do
5782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5783 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5785 break 2
5787 done
5788 done
5789 IFS=$as_save_IFS
5793 RANLIB=$ac_cv_prog_RANLIB
5794 if test -n "$RANLIB"; then
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5796 $as_echo "$RANLIB" >&6; }
5797 else
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5799 $as_echo "no" >&6; }
5804 if test -z "$ac_cv_prog_RANLIB"; then
5805 ac_ct_RANLIB=$RANLIB
5806 # Extract the first word of "ranlib", so it can be a program name with args.
5807 set dummy ranlib; ac_word=$2
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5809 $as_echo_n "checking for $ac_word... " >&6; }
5810 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5811 $as_echo_n "(cached) " >&6
5812 else
5813 if test -n "$ac_ct_RANLIB"; then
5814 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5815 else
5816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5817 for as_dir in $PATH
5819 IFS=$as_save_IFS
5820 test -z "$as_dir" && as_dir=.
5821 for ac_exec_ext in '' $ac_executable_extensions; do
5822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5823 ac_cv_prog_ac_ct_RANLIB="ranlib"
5824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5825 break 2
5827 done
5828 done
5829 IFS=$as_save_IFS
5833 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5834 if test -n "$ac_ct_RANLIB"; then
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5836 $as_echo "$ac_ct_RANLIB" >&6; }
5837 else
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5839 $as_echo "no" >&6; }
5842 if test "x$ac_ct_RANLIB" = x; then
5843 RANLIB="ranlib-not-found-in-path-error"
5844 else
5845 case $cross_compiling:$ac_tool_warned in
5846 yes:)
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5848 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5849 ac_tool_warned=yes ;;
5850 esac
5851 RANLIB=$ac_ct_RANLIB
5853 else
5854 RANLIB="$ac_cv_prog_RANLIB"
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5860 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5861 # Check whether --enable-maintainer-mode was given.
5862 if test "${enable_maintainer_mode+set}" = set; then :
5863 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5864 else
5865 USE_MAINTAINER_MODE=no
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5869 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5870 if test $USE_MAINTAINER_MODE = yes; then
5871 MAINTAINER_MODE_TRUE=
5872 MAINTAINER_MODE_FALSE='#'
5873 else
5874 MAINTAINER_MODE_TRUE='#'
5875 MAINTAINER_MODE_FALSE=
5878 MAINT=$MAINTAINER_MODE_TRUE
5882 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5883 # which are themselves conditionally expanded.
5884 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5885 ## other macros from doing the same. This should be automated.) -pme
5887 # Check for C library flavor since GNU/Linux platforms use different
5888 # configuration directories depending on the C library in use.
5889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5890 /* end confdefs.h. */
5892 #include <stdio.h>
5893 #if __UCLIBC__
5894 _using_uclibc
5895 #endif
5897 _ACEOF
5898 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5899 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5900 uclibc=yes
5901 else
5902 uclibc=no
5904 rm -f conftest*
5907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5908 /* end confdefs.h. */
5910 #include <stdio.h>
5911 #if __BIONIC__
5912 _using_bionic
5913 #endif
5915 _ACEOF
5916 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5917 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5918 bionic=yes
5919 else
5920 bionic=no
5922 rm -f conftest*
5925 # Find platform-specific directories containing configuration info.
5926 # Also possibly modify flags used elsewhere, as needed by the platform.
5928 . $glibcxx_srcdir/configure.host
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5930 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5932 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5936 # Libtool setup.
5937 if test "x${with_newlib}" != "xyes" &&
5938 test "x${with_avrlibc}" != "xyes" &&
5939 test "x$with_headers" != "xno"; then
5940 enable_dlopen=yes
5945 case `pwd` in
5946 *\ * | *\ *)
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5948 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5949 esac
5953 macro_version='2.2.7a'
5954 macro_revision='1.3134'
5968 ltmain="$ac_aux_dir/ltmain.sh"
5970 # Backslashify metacharacters that are still active within
5971 # double-quoted strings.
5972 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5974 # Same as above, but do not quote variable references.
5975 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5977 # Sed substitution to delay expansion of an escaped shell variable in a
5978 # double_quote_subst'ed string.
5979 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5981 # Sed substitution to delay expansion of an escaped single quote.
5982 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5984 # Sed substitution to avoid accidental globbing in evaled expressions
5985 no_glob_subst='s/\*/\\\*/g'
5987 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5988 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5989 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5992 $as_echo_n "checking how to print strings... " >&6; }
5993 # Test print first, because it will be a builtin if present.
5994 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5995 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5996 ECHO='print -r --'
5997 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5998 ECHO='printf %s\n'
5999 else
6000 # Use this function as a fallback that always works.
6001 func_fallback_echo ()
6003 eval 'cat <<_LTECHO_EOF
6005 _LTECHO_EOF'
6007 ECHO='func_fallback_echo'
6010 # func_echo_all arg...
6011 # Invoke $ECHO with all args, space-separated.
6012 func_echo_all ()
6014 $ECHO ""
6017 case "$ECHO" in
6018 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6019 $as_echo "printf" >&6; } ;;
6020 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6021 $as_echo "print -r" >&6; } ;;
6022 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6023 $as_echo "cat" >&6; } ;;
6024 esac
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6040 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6041 if ${ac_cv_path_SED+:} false; then :
6042 $as_echo_n "(cached) " >&6
6043 else
6044 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6045 for ac_i in 1 2 3 4 5 6 7; do
6046 ac_script="$ac_script$as_nl$ac_script"
6047 done
6048 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6049 { ac_script=; unset ac_script;}
6050 if test -z "$SED"; then
6051 ac_path_SED_found=false
6052 # Loop through the user's path and test for each of PROGNAME-LIST
6053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6054 for as_dir in $PATH
6056 IFS=$as_save_IFS
6057 test -z "$as_dir" && as_dir=.
6058 for ac_prog in sed gsed; do
6059 for ac_exec_ext in '' $ac_executable_extensions; do
6060 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6061 as_fn_executable_p "$ac_path_SED" || continue
6062 # Check for GNU ac_path_SED and select it if it is found.
6063 # Check for GNU $ac_path_SED
6064 case `"$ac_path_SED" --version 2>&1` in
6065 *GNU*)
6066 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6068 ac_count=0
6069 $as_echo_n 0123456789 >"conftest.in"
6070 while :
6072 cat "conftest.in" "conftest.in" >"conftest.tmp"
6073 mv "conftest.tmp" "conftest.in"
6074 cp "conftest.in" "conftest.nl"
6075 $as_echo '' >> "conftest.nl"
6076 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6077 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6078 as_fn_arith $ac_count + 1 && ac_count=$as_val
6079 if test $ac_count -gt ${ac_path_SED_max-0}; then
6080 # Best one so far, save it but keep looking for a better one
6081 ac_cv_path_SED="$ac_path_SED"
6082 ac_path_SED_max=$ac_count
6084 # 10*(2^10) chars as input seems more than enough
6085 test $ac_count -gt 10 && break
6086 done
6087 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6088 esac
6090 $ac_path_SED_found && break 3
6091 done
6092 done
6093 done
6094 IFS=$as_save_IFS
6095 if test -z "$ac_cv_path_SED"; then
6096 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6098 else
6099 ac_cv_path_SED=$SED
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6104 $as_echo "$ac_cv_path_SED" >&6; }
6105 SED="$ac_cv_path_SED"
6106 rm -f conftest.sed
6108 test -z "$SED" && SED=sed
6109 Xsed="$SED -e 1s/^X//"
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6122 $as_echo_n "checking for fgrep... " >&6; }
6123 if ${ac_cv_path_FGREP+:} false; then :
6124 $as_echo_n "(cached) " >&6
6125 else
6126 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6127 then ac_cv_path_FGREP="$GREP -F"
6128 else
6129 if test -z "$FGREP"; then
6130 ac_path_FGREP_found=false
6131 # Loop through the user's path and test for each of PROGNAME-LIST
6132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6133 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6135 IFS=$as_save_IFS
6136 test -z "$as_dir" && as_dir=.
6137 for ac_prog in fgrep; do
6138 for ac_exec_ext in '' $ac_executable_extensions; do
6139 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6140 as_fn_executable_p "$ac_path_FGREP" || continue
6141 # Check for GNU ac_path_FGREP and select it if it is found.
6142 # Check for GNU $ac_path_FGREP
6143 case `"$ac_path_FGREP" --version 2>&1` in
6144 *GNU*)
6145 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6147 ac_count=0
6148 $as_echo_n 0123456789 >"conftest.in"
6149 while :
6151 cat "conftest.in" "conftest.in" >"conftest.tmp"
6152 mv "conftest.tmp" "conftest.in"
6153 cp "conftest.in" "conftest.nl"
6154 $as_echo 'FGREP' >> "conftest.nl"
6155 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6156 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6157 as_fn_arith $ac_count + 1 && ac_count=$as_val
6158 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6159 # Best one so far, save it but keep looking for a better one
6160 ac_cv_path_FGREP="$ac_path_FGREP"
6161 ac_path_FGREP_max=$ac_count
6163 # 10*(2^10) chars as input seems more than enough
6164 test $ac_count -gt 10 && break
6165 done
6166 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6167 esac
6169 $ac_path_FGREP_found && break 3
6170 done
6171 done
6172 done
6173 IFS=$as_save_IFS
6174 if test -z "$ac_cv_path_FGREP"; then
6175 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6177 else
6178 ac_cv_path_FGREP=$FGREP
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6184 $as_echo "$ac_cv_path_FGREP" >&6; }
6185 FGREP="$ac_cv_path_FGREP"
6188 test -z "$GREP" && GREP=grep
6208 # Check whether --with-gnu-ld was given.
6209 if test "${with_gnu_ld+set}" = set; then :
6210 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6211 else
6212 with_gnu_ld=no
6215 ac_prog=ld
6216 if test "$GCC" = yes; then
6217 # Check if gcc -print-prog-name=ld gives a path.
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6219 $as_echo_n "checking for ld used by $CC... " >&6; }
6220 case $host in
6221 *-*-mingw*)
6222 # gcc leaves a trailing carriage return which upsets mingw
6223 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6225 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6226 esac
6227 case $ac_prog in
6228 # Accept absolute paths.
6229 [\\/]* | ?:[\\/]*)
6230 re_direlt='/[^/][^/]*/\.\./'
6231 # Canonicalize the pathname of ld
6232 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6233 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6234 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6235 done
6236 test -z "$LD" && LD="$ac_prog"
6239 # If it fails, then pretend we aren't using GCC.
6240 ac_prog=ld
6243 # If it is relative, then search for the first ld in PATH.
6244 with_gnu_ld=unknown
6246 esac
6247 elif test "$with_gnu_ld" = yes; then
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6249 $as_echo_n "checking for GNU ld... " >&6; }
6250 else
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6252 $as_echo_n "checking for non-GNU ld... " >&6; }
6254 if ${lt_cv_path_LD+:} false; then :
6255 $as_echo_n "(cached) " >&6
6256 else
6257 if test -z "$LD"; then
6258 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6259 for ac_dir in $PATH; do
6260 IFS="$lt_save_ifs"
6261 test -z "$ac_dir" && ac_dir=.
6262 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6263 lt_cv_path_LD="$ac_dir/$ac_prog"
6264 # Check to see if the program is GNU ld. I'd rather use --version,
6265 # but apparently some variants of GNU ld only accept -v.
6266 # Break only if it was the GNU/non-GNU ld that we prefer.
6267 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6268 *GNU* | *'with BFD'*)
6269 test "$with_gnu_ld" != no && break
6272 test "$with_gnu_ld" != yes && break
6274 esac
6276 done
6277 IFS="$lt_save_ifs"
6278 else
6279 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6283 LD="$lt_cv_path_LD"
6284 if test -n "$LD"; then
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6286 $as_echo "$LD" >&6; }
6287 else
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6289 $as_echo "no" >&6; }
6291 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6293 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6294 if ${lt_cv_prog_gnu_ld+:} false; then :
6295 $as_echo_n "(cached) " >&6
6296 else
6297 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6298 case `$LD -v 2>&1 </dev/null` in
6299 *GNU* | *'with BFD'*)
6300 lt_cv_prog_gnu_ld=yes
6303 lt_cv_prog_gnu_ld=no
6305 esac
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6308 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6309 with_gnu_ld=$lt_cv_prog_gnu_ld
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6320 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6321 if ${lt_cv_path_NM+:} false; then :
6322 $as_echo_n "(cached) " >&6
6323 else
6324 if test -n "$NM"; then
6325 # Let the user override the nm to test.
6326 lt_nm_to_check="$NM"
6327 else
6328 lt_nm_to_check="${ac_tool_prefix}nm"
6329 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6330 lt_nm_to_check="$lt_nm_to_check nm"
6333 for lt_tmp_nm in "$lt_nm_to_check"; do
6334 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6335 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6336 IFS="$lt_save_ifs"
6337 test -z "$ac_dir" && ac_dir=.
6338 # Strip out any user-provided options from the nm to test twice,
6339 # the first time to test to see if nm (rather than its options) has
6340 # an explicit path, the second time to yield a file which can be
6341 # nm'ed itself.
6342 tmp_nm_path="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
6343 case "$tmp_nm_path" in
6344 */*|*\\*) tmp_nm="$lt_tmp_nm";;
6345 *) tmp_nm="$ac_dir/$lt_tmp_nm";;
6346 esac
6347 tmp_nm_to_nm="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
6348 if test -f "$tmp_nm_to_nm" || test -f "$tmp_nm_to_nm$ac_exeext" ; then
6349 # Check to see if the nm accepts a BSD-compat flag.
6350 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6351 # nm: unknown option "B" ignored
6352 case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
6353 *$tmp_nm*) lt_cv_path_NM="$tmp_nm -B"
6354 break
6357 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
6358 *$tmp_nm*)
6359 lt_cv_path_NM="$tmp_nm -p"
6360 break
6363 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6364 continue # so that we can try to find one that supports BSD flags
6366 esac
6368 esac
6370 done
6371 IFS="$lt_save_ifs"
6372 done
6373 : ${lt_cv_path_NM=no}
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6376 $as_echo "$lt_cv_path_NM" >&6; }
6377 if test "$lt_cv_path_NM" != "no"; then
6378 NM="$lt_cv_path_NM"
6379 else
6380 # Didn't find any BSD compatible name lister, look for dumpbin.
6381 if test -n "$DUMPBIN"; then :
6382 # Let the user override the test.
6383 else
6384 if test -n "$ac_tool_prefix"; then
6385 for ac_prog in dumpbin "link -dump"
6387 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6388 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6390 $as_echo_n "checking for $ac_word... " >&6; }
6391 if ${ac_cv_prog_DUMPBIN+:} false; then :
6392 $as_echo_n "(cached) " >&6
6393 else
6394 if test -n "$DUMPBIN"; then
6395 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6396 else
6397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6398 for as_dir in $PATH
6400 IFS=$as_save_IFS
6401 test -z "$as_dir" && as_dir=.
6402 for ac_exec_ext in '' $ac_executable_extensions; do
6403 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6404 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6406 break 2
6408 done
6409 done
6410 IFS=$as_save_IFS
6414 DUMPBIN=$ac_cv_prog_DUMPBIN
6415 if test -n "$DUMPBIN"; then
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6417 $as_echo "$DUMPBIN" >&6; }
6418 else
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6420 $as_echo "no" >&6; }
6424 test -n "$DUMPBIN" && break
6425 done
6427 if test -z "$DUMPBIN"; then
6428 ac_ct_DUMPBIN=$DUMPBIN
6429 for ac_prog in dumpbin "link -dump"
6431 # Extract the first word of "$ac_prog", so it can be a program name with args.
6432 set dummy $ac_prog; ac_word=$2
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6434 $as_echo_n "checking for $ac_word... " >&6; }
6435 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6436 $as_echo_n "(cached) " >&6
6437 else
6438 if test -n "$ac_ct_DUMPBIN"; then
6439 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6440 else
6441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6442 for as_dir in $PATH
6444 IFS=$as_save_IFS
6445 test -z "$as_dir" && as_dir=.
6446 for ac_exec_ext in '' $ac_executable_extensions; do
6447 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6448 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6450 break 2
6452 done
6453 done
6454 IFS=$as_save_IFS
6458 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6459 if test -n "$ac_ct_DUMPBIN"; then
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6461 $as_echo "$ac_ct_DUMPBIN" >&6; }
6462 else
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6464 $as_echo "no" >&6; }
6468 test -n "$ac_ct_DUMPBIN" && break
6469 done
6471 if test "x$ac_ct_DUMPBIN" = x; then
6472 DUMPBIN=":"
6473 else
6474 case $cross_compiling:$ac_tool_warned in
6475 yes:)
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6477 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6478 ac_tool_warned=yes ;;
6479 esac
6480 DUMPBIN=$ac_ct_DUMPBIN
6484 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6485 *COFF*)
6486 DUMPBIN="$DUMPBIN -symbols"
6489 DUMPBIN=:
6491 esac
6494 if test "$DUMPBIN" != ":"; then
6495 NM="$DUMPBIN"
6498 test -z "$NM" && NM=nm
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6506 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6507 if ${lt_cv_nm_interface+:} false; then :
6508 $as_echo_n "(cached) " >&6
6509 else
6510 lt_cv_nm_interface="BSD nm"
6511 echo "int some_variable = 0;" > conftest.$ac_ext
6512 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6513 (eval "$ac_compile" 2>conftest.err)
6514 cat conftest.err >&5
6515 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6516 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6517 cat conftest.err >&5
6518 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6519 cat conftest.out >&5
6520 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6521 lt_cv_nm_interface="MS dumpbin"
6523 rm -f conftest*
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6526 $as_echo "$lt_cv_nm_interface" >&6; }
6528 # find the maximum length of command line arguments
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6530 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6531 if ${lt_cv_sys_max_cmd_len+:} false; then :
6532 $as_echo_n "(cached) " >&6
6533 else
6535 teststring="ABCD"
6537 case $build_os in
6538 msdosdjgpp*)
6539 # On DJGPP, this test can blow up pretty badly due to problems in libc
6540 # (any single argument exceeding 2000 bytes causes a buffer overrun
6541 # during glob expansion). Even if it were fixed, the result of this
6542 # check would be larger than it should be.
6543 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6546 gnu*)
6547 # Under GNU Hurd, this test is not required because there is
6548 # no limit to the length of command line arguments.
6549 # Libtool will interpret -1 as no limit whatsoever
6550 lt_cv_sys_max_cmd_len=-1;
6553 cygwin* | mingw* | cegcc*)
6554 # On Win9x/ME, this test blows up -- it succeeds, but takes
6555 # about 5 minutes as the teststring grows exponentially.
6556 # Worse, since 9x/ME are not pre-emptively multitasking,
6557 # you end up with a "frozen" computer, even though with patience
6558 # the test eventually succeeds (with a max line length of 256k).
6559 # Instead, let's just punt: use the minimum linelength reported by
6560 # all of the supported platforms: 8192 (on NT/2K/XP).
6561 lt_cv_sys_max_cmd_len=8192;
6564 mint*)
6565 # On MiNT this can take a long time and run out of memory.
6566 lt_cv_sys_max_cmd_len=8192;
6569 amigaos*)
6570 # On AmigaOS with pdksh, this test takes hours, literally.
6571 # So we just punt and use a minimum line length of 8192.
6572 lt_cv_sys_max_cmd_len=8192;
6575 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6576 # This has been around since 386BSD, at least. Likely further.
6577 if test -x /sbin/sysctl; then
6578 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6579 elif test -x /usr/sbin/sysctl; then
6580 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6581 else
6582 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6584 # And add a safety zone
6585 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6586 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6589 interix*)
6590 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6591 lt_cv_sys_max_cmd_len=196608
6594 osf*)
6595 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6596 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6597 # nice to cause kernel panics so lets avoid the loop below.
6598 # First set a reasonable default.
6599 lt_cv_sys_max_cmd_len=16384
6601 if test -x /sbin/sysconfig; then
6602 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6603 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6604 esac
6607 sco3.2v5*)
6608 lt_cv_sys_max_cmd_len=102400
6610 sysv5* | sco5v6* | sysv4.2uw2*)
6611 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6612 if test -n "$kargmax"; then
6613 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6614 else
6615 lt_cv_sys_max_cmd_len=32768
6619 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6620 if test -n "$lt_cv_sys_max_cmd_len"; then
6621 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6622 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6623 else
6624 # Make teststring a little bigger before we do anything with it.
6625 # a 1K string should be a reasonable start.
6626 for i in 1 2 3 4 5 6 7 8 ; do
6627 teststring=$teststring$teststring
6628 done
6629 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6630 # If test is not a shell built-in, we'll probably end up computing a
6631 # maximum length that is only half of the actual maximum length, but
6632 # we can't tell.
6633 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6634 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6635 test $i != 17 # 1/2 MB should be enough
6637 i=`expr $i + 1`
6638 teststring=$teststring$teststring
6639 done
6640 # Only check the string length outside the loop.
6641 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6642 teststring=
6643 # Add a significant safety factor because C++ compilers can tack on
6644 # massive amounts of additional arguments before passing them to the
6645 # linker. It appears as though 1/2 is a usable value.
6646 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6649 esac
6653 if test -n $lt_cv_sys_max_cmd_len ; then
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6655 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6656 else
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6658 $as_echo "none" >&6; }
6660 max_cmd_len=$lt_cv_sys_max_cmd_len
6667 : ${CP="cp -f"}
6668 : ${MV="mv -f"}
6669 : ${RM="rm -f"}
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6672 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6673 # Try some XSI features
6674 xsi_shell=no
6675 ( _lt_dummy="a/b/c"
6676 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6677 = c,a/b,, \
6678 && eval 'test $(( 1 + 1 )) -eq 2 \
6679 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6680 && xsi_shell=yes
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6682 $as_echo "$xsi_shell" >&6; }
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6686 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6687 lt_shell_append=no
6688 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6689 >/dev/null 2>&1 \
6690 && lt_shell_append=yes
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6692 $as_echo "$lt_shell_append" >&6; }
6695 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6696 lt_unset=unset
6697 else
6698 lt_unset=false
6705 # test EBCDIC or ASCII
6706 case `echo X|tr X '\101'` in
6707 A) # ASCII based system
6708 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6709 lt_SP2NL='tr \040 \012'
6710 lt_NL2SP='tr \015\012 \040\040'
6712 *) # EBCDIC based system
6713 lt_SP2NL='tr \100 \n'
6714 lt_NL2SP='tr \r\n \100\100'
6716 esac
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6727 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6728 if ${lt_cv_ld_reload_flag+:} false; then :
6729 $as_echo_n "(cached) " >&6
6730 else
6731 lt_cv_ld_reload_flag='-r'
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6734 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6735 reload_flag=$lt_cv_ld_reload_flag
6736 case $reload_flag in
6737 "" | " "*) ;;
6738 *) reload_flag=" $reload_flag" ;;
6739 esac
6740 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6741 case $host_os in
6742 darwin*)
6743 if test "$GCC" = yes; then
6744 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6745 else
6746 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6749 esac
6759 if test -n "$ac_tool_prefix"; then
6760 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6761 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6763 $as_echo_n "checking for $ac_word... " >&6; }
6764 if ${ac_cv_prog_OBJDUMP+:} false; then :
6765 $as_echo_n "(cached) " >&6
6766 else
6767 if test -n "$OBJDUMP"; then
6768 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6769 else
6770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6771 for as_dir in $PATH
6773 IFS=$as_save_IFS
6774 test -z "$as_dir" && as_dir=.
6775 for ac_exec_ext in '' $ac_executable_extensions; do
6776 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6777 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6779 break 2
6781 done
6782 done
6783 IFS=$as_save_IFS
6787 OBJDUMP=$ac_cv_prog_OBJDUMP
6788 if test -n "$OBJDUMP"; then
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6790 $as_echo "$OBJDUMP" >&6; }
6791 else
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6793 $as_echo "no" >&6; }
6798 if test -z "$ac_cv_prog_OBJDUMP"; then
6799 ac_ct_OBJDUMP=$OBJDUMP
6800 # Extract the first word of "objdump", so it can be a program name with args.
6801 set dummy objdump; ac_word=$2
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6803 $as_echo_n "checking for $ac_word... " >&6; }
6804 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6805 $as_echo_n "(cached) " >&6
6806 else
6807 if test -n "$ac_ct_OBJDUMP"; then
6808 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6809 else
6810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6811 for as_dir in $PATH
6813 IFS=$as_save_IFS
6814 test -z "$as_dir" && as_dir=.
6815 for ac_exec_ext in '' $ac_executable_extensions; do
6816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6817 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6819 break 2
6821 done
6822 done
6823 IFS=$as_save_IFS
6827 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6828 if test -n "$ac_ct_OBJDUMP"; then
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6830 $as_echo "$ac_ct_OBJDUMP" >&6; }
6831 else
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6833 $as_echo "no" >&6; }
6836 if test "x$ac_ct_OBJDUMP" = x; then
6837 OBJDUMP="false"
6838 else
6839 case $cross_compiling:$ac_tool_warned in
6840 yes:)
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6842 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6843 ac_tool_warned=yes ;;
6844 esac
6845 OBJDUMP=$ac_ct_OBJDUMP
6847 else
6848 OBJDUMP="$ac_cv_prog_OBJDUMP"
6851 test -z "$OBJDUMP" && OBJDUMP=objdump
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6862 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6863 if ${lt_cv_deplibs_check_method+:} false; then :
6864 $as_echo_n "(cached) " >&6
6865 else
6866 lt_cv_file_magic_cmd='$MAGIC_CMD'
6867 lt_cv_file_magic_test_file=
6868 lt_cv_deplibs_check_method='unknown'
6869 # Need to set the preceding variable on all platforms that support
6870 # interlibrary dependencies.
6871 # 'none' -- dependencies not supported.
6872 # `unknown' -- same as none, but documents that we really don't know.
6873 # 'pass_all' -- all dependencies passed with no checks.
6874 # 'test_compile' -- check by making test program.
6875 # 'file_magic [[regex]]' -- check by looking for files in library path
6876 # which responds to the $file_magic_cmd with a given extended regex.
6877 # If you have `file' or equivalent on your system and you're not sure
6878 # whether `pass_all' will *always* work, you probably want this one.
6880 case $host_os in
6881 aix[4-9]*)
6882 lt_cv_deplibs_check_method=pass_all
6885 beos*)
6886 lt_cv_deplibs_check_method=pass_all
6889 bsdi[45]*)
6890 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6891 lt_cv_file_magic_cmd='/usr/bin/file -L'
6892 lt_cv_file_magic_test_file=/shlib/libc.so
6895 cygwin*)
6896 # func_win32_libid is a shell function defined in ltmain.sh
6897 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6898 lt_cv_file_magic_cmd='func_win32_libid'
6901 mingw* | pw32*)
6902 # Base MSYS/MinGW do not provide the 'file' command needed by
6903 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6904 # unless we find 'file', for example because we are cross-compiling.
6905 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6906 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6907 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6908 lt_cv_file_magic_cmd='func_win32_libid'
6909 else
6910 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6911 lt_cv_file_magic_cmd='$OBJDUMP -f'
6915 cegcc*)
6916 # use the weaker test based on 'objdump'. See mingw*.
6917 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6918 lt_cv_file_magic_cmd='$OBJDUMP -f'
6921 darwin* | rhapsody*)
6922 lt_cv_deplibs_check_method=pass_all
6925 freebsd* | dragonfly*)
6926 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6927 case $host_cpu in
6928 i*86 )
6929 # Not sure whether the presence of OpenBSD here was a mistake.
6930 # Let's accept both of them until this is cleared up.
6931 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6932 lt_cv_file_magic_cmd=/usr/bin/file
6933 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6935 esac
6936 else
6937 lt_cv_deplibs_check_method=pass_all
6941 gnu*)
6942 lt_cv_deplibs_check_method=pass_all
6945 haiku*)
6946 lt_cv_deplibs_check_method=pass_all
6949 hpux10.20* | hpux11*)
6950 lt_cv_file_magic_cmd=/usr/bin/file
6951 case $host_cpu in
6952 ia64*)
6953 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6954 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6956 hppa*64*)
6957 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]'
6958 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6961 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6962 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6964 esac
6967 interix[3-9]*)
6968 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6969 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6972 irix5* | irix6* | nonstopux*)
6973 case $LD in
6974 *-32|*"-32 ") libmagic=32-bit;;
6975 *-n32|*"-n32 ") libmagic=N32;;
6976 *-64|*"-64 ") libmagic=64-bit;;
6977 *) libmagic=never-match;;
6978 esac
6979 lt_cv_deplibs_check_method=pass_all
6982 # This must be Linux ELF.
6983 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
6984 lt_cv_deplibs_check_method=pass_all
6987 netbsd*)
6988 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6989 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6990 else
6991 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6995 newos6*)
6996 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6997 lt_cv_file_magic_cmd=/usr/bin/file
6998 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7001 *nto* | *qnx*)
7002 lt_cv_deplibs_check_method=pass_all
7005 openbsd*)
7006 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7007 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7008 else
7009 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7013 osf3* | osf4* | osf5*)
7014 lt_cv_deplibs_check_method=pass_all
7017 rdos*)
7018 lt_cv_deplibs_check_method=pass_all
7021 solaris*)
7022 lt_cv_deplibs_check_method=pass_all
7025 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7026 lt_cv_deplibs_check_method=pass_all
7029 sysv4 | sysv4.3*)
7030 case $host_vendor in
7031 motorola)
7032 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]'
7033 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7035 ncr)
7036 lt_cv_deplibs_check_method=pass_all
7038 sequent)
7039 lt_cv_file_magic_cmd='/bin/file'
7040 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7042 sni)
7043 lt_cv_file_magic_cmd='/bin/file'
7044 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7045 lt_cv_file_magic_test_file=/lib/libc.so
7047 siemens)
7048 lt_cv_deplibs_check_method=pass_all
7051 lt_cv_deplibs_check_method=pass_all
7053 esac
7056 tpf*)
7057 lt_cv_deplibs_check_method=pass_all
7059 vxworks*)
7060 # Assume VxWorks cross toolchains are built on Linux, possibly
7061 # as canadian for Windows hosts.
7062 lt_cv_deplibs_check_method=pass_all
7064 esac
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7068 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7069 file_magic_cmd=$lt_cv_file_magic_cmd
7070 deplibs_check_method=$lt_cv_deplibs_check_method
7071 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7084 plugin_option=
7085 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
7086 for plugin in $plugin_names; do
7087 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
7088 if test x$plugin_so = x$plugin; then
7089 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
7091 if test x$plugin_so != x$plugin; then
7092 plugin_option="--plugin $plugin_so"
7093 break
7095 done
7097 if test -n "$ac_tool_prefix"; then
7098 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7099 set dummy ${ac_tool_prefix}ar; ac_word=$2
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7101 $as_echo_n "checking for $ac_word... " >&6; }
7102 if ${ac_cv_prog_AR+:} false; then :
7103 $as_echo_n "(cached) " >&6
7104 else
7105 if test -n "$AR"; then
7106 ac_cv_prog_AR="$AR" # Let the user override the test.
7107 else
7108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7109 for as_dir in $PATH
7111 IFS=$as_save_IFS
7112 test -z "$as_dir" && as_dir=.
7113 for ac_exec_ext in '' $ac_executable_extensions; do
7114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7115 ac_cv_prog_AR="${ac_tool_prefix}ar"
7116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7117 break 2
7119 done
7120 done
7121 IFS=$as_save_IFS
7125 AR=$ac_cv_prog_AR
7126 if test -n "$AR"; then
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7128 $as_echo "$AR" >&6; }
7129 else
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7131 $as_echo "no" >&6; }
7136 if test -z "$ac_cv_prog_AR"; then
7137 ac_ct_AR=$AR
7138 # Extract the first word of "ar", so it can be a program name with args.
7139 set dummy ar; ac_word=$2
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7141 $as_echo_n "checking for $ac_word... " >&6; }
7142 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7143 $as_echo_n "(cached) " >&6
7144 else
7145 if test -n "$ac_ct_AR"; then
7146 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7147 else
7148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7149 for as_dir in $PATH
7151 IFS=$as_save_IFS
7152 test -z "$as_dir" && as_dir=.
7153 for ac_exec_ext in '' $ac_executable_extensions; do
7154 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7155 ac_cv_prog_ac_ct_AR="ar"
7156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7157 break 2
7159 done
7160 done
7161 IFS=$as_save_IFS
7165 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7166 if test -n "$ac_ct_AR"; then
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7168 $as_echo "$ac_ct_AR" >&6; }
7169 else
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7171 $as_echo "no" >&6; }
7174 if test "x$ac_ct_AR" = x; then
7175 AR="false"
7176 else
7177 case $cross_compiling:$ac_tool_warned in
7178 yes:)
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7180 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7181 ac_tool_warned=yes ;;
7182 esac
7183 AR=$ac_ct_AR
7185 else
7186 AR="$ac_cv_prog_AR"
7189 test -z "$AR" && AR=ar
7190 if test -n "$plugin_option"; then
7191 if $AR --help 2>&1 | grep -q "\--plugin"; then
7192 touch conftest.c
7193 $AR $plugin_option rc conftest.a conftest.c
7194 if test "$?" != 0; then
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
7196 $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
7197 else
7198 AR="$AR $plugin_option"
7200 rm -f conftest.*
7203 test -z "$AR_FLAGS" && AR_FLAGS=cru
7215 if test -n "$ac_tool_prefix"; then
7216 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7217 set dummy ${ac_tool_prefix}strip; ac_word=$2
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7219 $as_echo_n "checking for $ac_word... " >&6; }
7220 if ${ac_cv_prog_STRIP+:} false; then :
7221 $as_echo_n "(cached) " >&6
7222 else
7223 if test -n "$STRIP"; then
7224 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7225 else
7226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7227 for as_dir in $PATH
7229 IFS=$as_save_IFS
7230 test -z "$as_dir" && as_dir=.
7231 for ac_exec_ext in '' $ac_executable_extensions; do
7232 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7233 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7235 break 2
7237 done
7238 done
7239 IFS=$as_save_IFS
7243 STRIP=$ac_cv_prog_STRIP
7244 if test -n "$STRIP"; then
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7246 $as_echo "$STRIP" >&6; }
7247 else
7248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7249 $as_echo "no" >&6; }
7254 if test -z "$ac_cv_prog_STRIP"; then
7255 ac_ct_STRIP=$STRIP
7256 # Extract the first word of "strip", so it can be a program name with args.
7257 set dummy strip; ac_word=$2
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7259 $as_echo_n "checking for $ac_word... " >&6; }
7260 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7261 $as_echo_n "(cached) " >&6
7262 else
7263 if test -n "$ac_ct_STRIP"; then
7264 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7265 else
7266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7267 for as_dir in $PATH
7269 IFS=$as_save_IFS
7270 test -z "$as_dir" && as_dir=.
7271 for ac_exec_ext in '' $ac_executable_extensions; do
7272 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7273 ac_cv_prog_ac_ct_STRIP="strip"
7274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7275 break 2
7277 done
7278 done
7279 IFS=$as_save_IFS
7283 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7284 if test -n "$ac_ct_STRIP"; then
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7286 $as_echo "$ac_ct_STRIP" >&6; }
7287 else
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7289 $as_echo "no" >&6; }
7292 if test "x$ac_ct_STRIP" = x; then
7293 STRIP=":"
7294 else
7295 case $cross_compiling:$ac_tool_warned in
7296 yes:)
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7298 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7299 ac_tool_warned=yes ;;
7300 esac
7301 STRIP=$ac_ct_STRIP
7303 else
7304 STRIP="$ac_cv_prog_STRIP"
7307 test -z "$STRIP" && STRIP=:
7314 if test -n "$ac_tool_prefix"; then
7315 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7316 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7318 $as_echo_n "checking for $ac_word... " >&6; }
7319 if ${ac_cv_prog_RANLIB+:} false; then :
7320 $as_echo_n "(cached) " >&6
7321 else
7322 if test -n "$RANLIB"; then
7323 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7324 else
7325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7326 for as_dir in $PATH
7328 IFS=$as_save_IFS
7329 test -z "$as_dir" && as_dir=.
7330 for ac_exec_ext in '' $ac_executable_extensions; do
7331 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7332 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7334 break 2
7336 done
7337 done
7338 IFS=$as_save_IFS
7342 RANLIB=$ac_cv_prog_RANLIB
7343 if test -n "$RANLIB"; then
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7345 $as_echo "$RANLIB" >&6; }
7346 else
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7348 $as_echo "no" >&6; }
7353 if test -z "$ac_cv_prog_RANLIB"; then
7354 ac_ct_RANLIB=$RANLIB
7355 # Extract the first word of "ranlib", so it can be a program name with args.
7356 set dummy ranlib; ac_word=$2
7357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7358 $as_echo_n "checking for $ac_word... " >&6; }
7359 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7360 $as_echo_n "(cached) " >&6
7361 else
7362 if test -n "$ac_ct_RANLIB"; then
7363 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7364 else
7365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7366 for as_dir in $PATH
7368 IFS=$as_save_IFS
7369 test -z "$as_dir" && as_dir=.
7370 for ac_exec_ext in '' $ac_executable_extensions; do
7371 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7372 ac_cv_prog_ac_ct_RANLIB="ranlib"
7373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7374 break 2
7376 done
7377 done
7378 IFS=$as_save_IFS
7382 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7383 if test -n "$ac_ct_RANLIB"; then
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7385 $as_echo "$ac_ct_RANLIB" >&6; }
7386 else
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7388 $as_echo "no" >&6; }
7391 if test "x$ac_ct_RANLIB" = x; then
7392 RANLIB=":"
7393 else
7394 case $cross_compiling:$ac_tool_warned in
7395 yes:)
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7397 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7398 ac_tool_warned=yes ;;
7399 esac
7400 RANLIB=$ac_ct_RANLIB
7402 else
7403 RANLIB="$ac_cv_prog_RANLIB"
7406 test -z "$RANLIB" && RANLIB=:
7407 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
7408 if $RANLIB --help 2>&1 | grep -q "\--plugin"; then
7409 RANLIB="$RANLIB $plugin_option"
7418 # Determine commands to create old-style static archives.
7419 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7420 old_postinstall_cmds='chmod 644 $oldlib'
7421 old_postuninstall_cmds=
7423 if test -n "$RANLIB"; then
7424 case $host_os in
7425 openbsd*)
7426 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7429 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7431 esac
7432 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7435 case $host_os in
7436 darwin*)
7437 lock_old_archive_extraction=yes ;;
7439 lock_old_archive_extraction=no ;;
7440 esac
7480 # If no C compiler was specified, use CC.
7481 LTCC=${LTCC-"$CC"}
7483 # If no C compiler flags were specified, use CFLAGS.
7484 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7486 # Allow CC to be a program name with arguments.
7487 compiler=$CC
7490 # Check for command to grab the raw symbol name followed by C symbol from nm.
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7492 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7493 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7494 $as_echo_n "(cached) " >&6
7495 else
7497 # These are sane defaults that work on at least a few old systems.
7498 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7500 # Character class describing NM global symbol codes.
7501 symcode='[BCDEGRST]'
7503 # Regexp to match symbols that can be accessed directly from C.
7504 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7506 # Define system-specific variables.
7507 case $host_os in
7508 aix*)
7509 symcode='[BCDT]'
7511 cygwin* | mingw* | pw32* | cegcc*)
7512 symcode='[ABCDGISTW]'
7514 hpux*)
7515 if test "$host_cpu" = ia64; then
7516 symcode='[ABCDEGRST]'
7519 irix* | nonstopux*)
7520 symcode='[BCDEGRST]'
7522 osf*)
7523 symcode='[BCDEGQRST]'
7525 solaris*)
7526 symcode='[BCDRT]'
7528 sco3.2v5*)
7529 symcode='[DT]'
7531 sysv4.2uw2*)
7532 symcode='[DT]'
7534 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7535 symcode='[ABDT]'
7537 sysv4)
7538 symcode='[DFNSTU]'
7540 esac
7542 # If we're using GNU nm, then use its standard symbol codes.
7543 case `$NM -V 2>&1` in
7544 *GNU* | *'with BFD'*)
7545 symcode='[ABCDGIRSTW]' ;;
7546 esac
7548 # Transform an extracted symbol line into a proper C declaration.
7549 # Some systems (esp. on ia64) link data and code symbols differently,
7550 # so use this general approach.
7551 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7553 # Transform an extracted symbol line into symbol name and symbol address
7554 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7555 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'"
7557 # Handle CRLF in mingw tool chain
7558 opt_cr=
7559 case $build_os in
7560 mingw*)
7561 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7563 esac
7565 # Try without a prefix underscore, then with it.
7566 for ac_symprfx in "" "_"; do
7568 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7569 symxfrm="\\1 $ac_symprfx\\2 \\2"
7571 # Write the raw and C identifiers.
7572 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7573 # Fake it for dumpbin and say T for any non-static function
7574 # and D for any global variable.
7575 # Also find C++ and __fastcall symbols from MSVC++,
7576 # which start with @ or ?.
7577 lt_cv_sys_global_symbol_pipe="$AWK '"\
7578 " {last_section=section; section=\$ 3};"\
7579 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7580 " \$ 0!~/External *\|/{next};"\
7581 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7582 " {if(hide[section]) next};"\
7583 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7584 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7585 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7586 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7587 " ' prfx=^$ac_symprfx"
7588 else
7589 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7592 # Check to see that the pipe works correctly.
7593 pipe_works=no
7595 rm -f conftest*
7596 cat > conftest.$ac_ext <<_LT_EOF
7597 #ifdef __cplusplus
7598 extern "C" {
7599 #endif
7600 char nm_test_var;
7601 void nm_test_func(void);
7602 void nm_test_func(void){}
7603 #ifdef __cplusplus
7605 #endif
7606 int main(){nm_test_var='a';nm_test_func();return(0);}
7607 _LT_EOF
7609 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7610 (eval $ac_compile) 2>&5
7611 ac_status=$?
7612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7613 test $ac_status = 0; }; then
7614 # Now try to grab the symbols.
7615 nlist=conftest.nm
7616 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7617 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7618 ac_status=$?
7619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7620 test $ac_status = 0; } && test -s "$nlist"; then
7621 # Try sorting and uniquifying the output.
7622 if sort "$nlist" | uniq > "$nlist"T; then
7623 mv -f "$nlist"T "$nlist"
7624 else
7625 rm -f "$nlist"T
7628 # Make sure that we snagged all the symbols we need.
7629 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7630 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7631 cat <<_LT_EOF > conftest.$ac_ext
7632 #ifdef __cplusplus
7633 extern "C" {
7634 #endif
7636 _LT_EOF
7637 # Now generate the symbol file.
7638 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7640 cat <<_LT_EOF >> conftest.$ac_ext
7642 /* The mapping between symbol names and symbols. */
7643 const struct {
7644 const char *name;
7645 void *address;
7647 lt__PROGRAM__LTX_preloaded_symbols[] =
7649 { "@PROGRAM@", (void *) 0 },
7650 _LT_EOF
7651 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7652 cat <<\_LT_EOF >> conftest.$ac_ext
7653 {0, (void *) 0}
7656 /* This works around a problem in FreeBSD linker */
7657 #ifdef FREEBSD_WORKAROUND
7658 static const void *lt_preloaded_setup() {
7659 return lt__PROGRAM__LTX_preloaded_symbols;
7661 #endif
7663 #ifdef __cplusplus
7665 #endif
7666 _LT_EOF
7667 # Now try linking the two files.
7668 mv conftest.$ac_objext conftstm.$ac_objext
7669 lt_save_LIBS="$LIBS"
7670 lt_save_CFLAGS="$CFLAGS"
7671 LIBS="conftstm.$ac_objext"
7672 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7673 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7674 (eval $ac_link) 2>&5
7675 ac_status=$?
7676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7677 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7678 pipe_works=yes
7680 LIBS="$lt_save_LIBS"
7681 CFLAGS="$lt_save_CFLAGS"
7682 else
7683 echo "cannot find nm_test_func in $nlist" >&5
7685 else
7686 echo "cannot find nm_test_var in $nlist" >&5
7688 else
7689 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7691 else
7692 echo "$progname: failed program was:" >&5
7693 cat conftest.$ac_ext >&5
7695 rm -rf conftest* conftst*
7697 # Do not use the global_symbol_pipe unless it works.
7698 if test "$pipe_works" = yes; then
7699 break
7700 else
7701 lt_cv_sys_global_symbol_pipe=
7703 done
7707 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7708 lt_cv_sys_global_symbol_to_cdecl=
7710 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7712 $as_echo "failed" >&6; }
7713 else
7714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7715 $as_echo "ok" >&6; }
7739 # Check whether --enable-libtool-lock was given.
7740 if test "${enable_libtool_lock+set}" = set; then :
7741 enableval=$enable_libtool_lock;
7744 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7746 # Some flags need to be propagated to the compiler or linker for good
7747 # libtool support.
7748 case $host in
7749 ia64-*-hpux*)
7750 # Find out which ABI we are using.
7751 echo 'int i;' > conftest.$ac_ext
7752 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7753 (eval $ac_compile) 2>&5
7754 ac_status=$?
7755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7756 test $ac_status = 0; }; then
7757 case `/usr/bin/file conftest.$ac_objext` in
7758 *ELF-32*)
7759 HPUX_IA64_MODE="32"
7761 *ELF-64*)
7762 HPUX_IA64_MODE="64"
7764 esac
7766 rm -rf conftest*
7768 *-*-irix6*)
7769 # Find out which ABI we are using.
7770 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7771 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7772 (eval $ac_compile) 2>&5
7773 ac_status=$?
7774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7775 test $ac_status = 0; }; then
7776 if test "$lt_cv_prog_gnu_ld" = yes; then
7777 case `/usr/bin/file conftest.$ac_objext` in
7778 *32-bit*)
7779 LD="${LD-ld} -melf32bsmip"
7781 *N32*)
7782 LD="${LD-ld} -melf32bmipn32"
7784 *64-bit*)
7785 LD="${LD-ld} -melf64bmip"
7787 esac
7788 else
7789 case `/usr/bin/file conftest.$ac_objext` in
7790 *32-bit*)
7791 LD="${LD-ld} -32"
7793 *N32*)
7794 LD="${LD-ld} -n32"
7796 *64-bit*)
7797 LD="${LD-ld} -64"
7799 esac
7802 rm -rf conftest*
7805 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7806 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7807 # Find out which ABI we are using.
7808 echo 'int i;' > conftest.$ac_ext
7809 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7810 (eval $ac_compile) 2>&5
7811 ac_status=$?
7812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7813 test $ac_status = 0; }; then
7814 case `/usr/bin/file conftest.o` in
7815 *32-bit*)
7816 case $host in
7817 x86_64-*kfreebsd*-gnu)
7818 LD="${LD-ld} -m elf_i386_fbsd"
7820 x86_64-*linux*)
7821 case `/usr/bin/file conftest.o` in
7822 *x86-64*)
7823 LD="${LD-ld} -m elf32_x86_64"
7826 LD="${LD-ld} -m elf_i386"
7828 esac
7830 powerpc64le-*linux*)
7831 LD="${LD-ld} -m elf32lppclinux"
7833 powerpc64-*linux*)
7834 LD="${LD-ld} -m elf32ppclinux"
7836 s390x-*linux*)
7837 LD="${LD-ld} -m elf_s390"
7839 sparc64-*linux*)
7840 LD="${LD-ld} -m elf32_sparc"
7842 esac
7844 *64-bit*)
7845 case $host in
7846 x86_64-*kfreebsd*-gnu)
7847 LD="${LD-ld} -m elf_x86_64_fbsd"
7849 x86_64-*linux*)
7850 LD="${LD-ld} -m elf_x86_64"
7852 powerpcle-*linux*)
7853 LD="${LD-ld} -m elf64lppc"
7855 powerpc-*linux*)
7856 LD="${LD-ld} -m elf64ppc"
7858 s390*-*linux*|s390*-*tpf*)
7859 LD="${LD-ld} -m elf64_s390"
7861 sparc*-*linux*)
7862 LD="${LD-ld} -m elf64_sparc"
7864 esac
7866 esac
7868 rm -rf conftest*
7871 *-*-sco3.2v5*)
7872 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7873 SAVE_CFLAGS="$CFLAGS"
7874 CFLAGS="$CFLAGS -belf"
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7876 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7877 if ${lt_cv_cc_needs_belf+:} false; then :
7878 $as_echo_n "(cached) " >&6
7879 else
7880 ac_ext=c
7881 ac_cpp='$CPP $CPPFLAGS'
7882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7886 if test x$gcc_no_link = xyes; then
7887 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7890 /* end confdefs.h. */
7893 main ()
7897 return 0;
7899 _ACEOF
7900 if ac_fn_c_try_link "$LINENO"; then :
7901 lt_cv_cc_needs_belf=yes
7902 else
7903 lt_cv_cc_needs_belf=no
7905 rm -f core conftest.err conftest.$ac_objext \
7906 conftest$ac_exeext conftest.$ac_ext
7907 ac_ext=c
7908 ac_cpp='$CPP $CPPFLAGS'
7909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7915 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7916 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7917 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7918 CFLAGS="$SAVE_CFLAGS"
7921 sparc*-*solaris*)
7922 # Find out which ABI we are using.
7923 echo 'int i;' > conftest.$ac_ext
7924 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7925 (eval $ac_compile) 2>&5
7926 ac_status=$?
7927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7928 test $ac_status = 0; }; then
7929 case `/usr/bin/file conftest.o` in
7930 *64-bit*)
7931 case $lt_cv_prog_gnu_ld in
7932 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7934 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7935 LD="${LD-ld} -64"
7938 esac
7940 esac
7942 rm -rf conftest*
7944 esac
7946 need_locks="$enable_libtool_lock"
7949 case $host_os in
7950 rhapsody* | darwin*)
7951 if test -n "$ac_tool_prefix"; then
7952 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7953 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7955 $as_echo_n "checking for $ac_word... " >&6; }
7956 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7957 $as_echo_n "(cached) " >&6
7958 else
7959 if test -n "$DSYMUTIL"; then
7960 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7961 else
7962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7963 for as_dir in $PATH
7965 IFS=$as_save_IFS
7966 test -z "$as_dir" && as_dir=.
7967 for ac_exec_ext in '' $ac_executable_extensions; do
7968 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7969 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7971 break 2
7973 done
7974 done
7975 IFS=$as_save_IFS
7979 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7980 if test -n "$DSYMUTIL"; then
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7982 $as_echo "$DSYMUTIL" >&6; }
7983 else
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7985 $as_echo "no" >&6; }
7990 if test -z "$ac_cv_prog_DSYMUTIL"; then
7991 ac_ct_DSYMUTIL=$DSYMUTIL
7992 # Extract the first word of "dsymutil", so it can be a program name with args.
7993 set dummy dsymutil; ac_word=$2
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7995 $as_echo_n "checking for $ac_word... " >&6; }
7996 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7997 $as_echo_n "(cached) " >&6
7998 else
7999 if test -n "$ac_ct_DSYMUTIL"; then
8000 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8001 else
8002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8003 for as_dir in $PATH
8005 IFS=$as_save_IFS
8006 test -z "$as_dir" && as_dir=.
8007 for ac_exec_ext in '' $ac_executable_extensions; do
8008 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8009 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8011 break 2
8013 done
8014 done
8015 IFS=$as_save_IFS
8019 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8020 if test -n "$ac_ct_DSYMUTIL"; then
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8022 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8023 else
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8025 $as_echo "no" >&6; }
8028 if test "x$ac_ct_DSYMUTIL" = x; then
8029 DSYMUTIL=":"
8030 else
8031 case $cross_compiling:$ac_tool_warned in
8032 yes:)
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8034 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8035 ac_tool_warned=yes ;;
8036 esac
8037 DSYMUTIL=$ac_ct_DSYMUTIL
8039 else
8040 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8043 if test -n "$ac_tool_prefix"; then
8044 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8045 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8047 $as_echo_n "checking for $ac_word... " >&6; }
8048 if ${ac_cv_prog_NMEDIT+:} false; then :
8049 $as_echo_n "(cached) " >&6
8050 else
8051 if test -n "$NMEDIT"; then
8052 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8053 else
8054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8055 for as_dir in $PATH
8057 IFS=$as_save_IFS
8058 test -z "$as_dir" && as_dir=.
8059 for ac_exec_ext in '' $ac_executable_extensions; do
8060 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8061 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8063 break 2
8065 done
8066 done
8067 IFS=$as_save_IFS
8071 NMEDIT=$ac_cv_prog_NMEDIT
8072 if test -n "$NMEDIT"; then
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8074 $as_echo "$NMEDIT" >&6; }
8075 else
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8077 $as_echo "no" >&6; }
8082 if test -z "$ac_cv_prog_NMEDIT"; then
8083 ac_ct_NMEDIT=$NMEDIT
8084 # Extract the first word of "nmedit", so it can be a program name with args.
8085 set dummy nmedit; ac_word=$2
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8087 $as_echo_n "checking for $ac_word... " >&6; }
8088 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8089 $as_echo_n "(cached) " >&6
8090 else
8091 if test -n "$ac_ct_NMEDIT"; then
8092 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8093 else
8094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8095 for as_dir in $PATH
8097 IFS=$as_save_IFS
8098 test -z "$as_dir" && as_dir=.
8099 for ac_exec_ext in '' $ac_executable_extensions; do
8100 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8101 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8103 break 2
8105 done
8106 done
8107 IFS=$as_save_IFS
8111 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8112 if test -n "$ac_ct_NMEDIT"; then
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8114 $as_echo "$ac_ct_NMEDIT" >&6; }
8115 else
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8117 $as_echo "no" >&6; }
8120 if test "x$ac_ct_NMEDIT" = x; then
8121 NMEDIT=":"
8122 else
8123 case $cross_compiling:$ac_tool_warned in
8124 yes:)
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8126 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8127 ac_tool_warned=yes ;;
8128 esac
8129 NMEDIT=$ac_ct_NMEDIT
8131 else
8132 NMEDIT="$ac_cv_prog_NMEDIT"
8135 if test -n "$ac_tool_prefix"; then
8136 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8137 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8139 $as_echo_n "checking for $ac_word... " >&6; }
8140 if ${ac_cv_prog_LIPO+:} false; then :
8141 $as_echo_n "(cached) " >&6
8142 else
8143 if test -n "$LIPO"; then
8144 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8145 else
8146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8147 for as_dir in $PATH
8149 IFS=$as_save_IFS
8150 test -z "$as_dir" && as_dir=.
8151 for ac_exec_ext in '' $ac_executable_extensions; do
8152 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8153 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8155 break 2
8157 done
8158 done
8159 IFS=$as_save_IFS
8163 LIPO=$ac_cv_prog_LIPO
8164 if test -n "$LIPO"; then
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8166 $as_echo "$LIPO" >&6; }
8167 else
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8169 $as_echo "no" >&6; }
8174 if test -z "$ac_cv_prog_LIPO"; then
8175 ac_ct_LIPO=$LIPO
8176 # Extract the first word of "lipo", so it can be a program name with args.
8177 set dummy lipo; ac_word=$2
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8179 $as_echo_n "checking for $ac_word... " >&6; }
8180 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8181 $as_echo_n "(cached) " >&6
8182 else
8183 if test -n "$ac_ct_LIPO"; then
8184 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8185 else
8186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8187 for as_dir in $PATH
8189 IFS=$as_save_IFS
8190 test -z "$as_dir" && as_dir=.
8191 for ac_exec_ext in '' $ac_executable_extensions; do
8192 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8193 ac_cv_prog_ac_ct_LIPO="lipo"
8194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8195 break 2
8197 done
8198 done
8199 IFS=$as_save_IFS
8203 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8204 if test -n "$ac_ct_LIPO"; then
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8206 $as_echo "$ac_ct_LIPO" >&6; }
8207 else
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8209 $as_echo "no" >&6; }
8212 if test "x$ac_ct_LIPO" = x; then
8213 LIPO=":"
8214 else
8215 case $cross_compiling:$ac_tool_warned in
8216 yes:)
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8218 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8219 ac_tool_warned=yes ;;
8220 esac
8221 LIPO=$ac_ct_LIPO
8223 else
8224 LIPO="$ac_cv_prog_LIPO"
8227 if test -n "$ac_tool_prefix"; then
8228 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8229 set dummy ${ac_tool_prefix}otool; ac_word=$2
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8231 $as_echo_n "checking for $ac_word... " >&6; }
8232 if ${ac_cv_prog_OTOOL+:} false; then :
8233 $as_echo_n "(cached) " >&6
8234 else
8235 if test -n "$OTOOL"; then
8236 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8237 else
8238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8239 for as_dir in $PATH
8241 IFS=$as_save_IFS
8242 test -z "$as_dir" && as_dir=.
8243 for ac_exec_ext in '' $ac_executable_extensions; do
8244 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8245 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8247 break 2
8249 done
8250 done
8251 IFS=$as_save_IFS
8255 OTOOL=$ac_cv_prog_OTOOL
8256 if test -n "$OTOOL"; then
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8258 $as_echo "$OTOOL" >&6; }
8259 else
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8261 $as_echo "no" >&6; }
8266 if test -z "$ac_cv_prog_OTOOL"; then
8267 ac_ct_OTOOL=$OTOOL
8268 # Extract the first word of "otool", so it can be a program name with args.
8269 set dummy otool; ac_word=$2
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8271 $as_echo_n "checking for $ac_word... " >&6; }
8272 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8273 $as_echo_n "(cached) " >&6
8274 else
8275 if test -n "$ac_ct_OTOOL"; then
8276 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8277 else
8278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8279 for as_dir in $PATH
8281 IFS=$as_save_IFS
8282 test -z "$as_dir" && as_dir=.
8283 for ac_exec_ext in '' $ac_executable_extensions; do
8284 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8285 ac_cv_prog_ac_ct_OTOOL="otool"
8286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8287 break 2
8289 done
8290 done
8291 IFS=$as_save_IFS
8295 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8296 if test -n "$ac_ct_OTOOL"; then
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8298 $as_echo "$ac_ct_OTOOL" >&6; }
8299 else
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8301 $as_echo "no" >&6; }
8304 if test "x$ac_ct_OTOOL" = x; then
8305 OTOOL=":"
8306 else
8307 case $cross_compiling:$ac_tool_warned in
8308 yes:)
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8310 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8311 ac_tool_warned=yes ;;
8312 esac
8313 OTOOL=$ac_ct_OTOOL
8315 else
8316 OTOOL="$ac_cv_prog_OTOOL"
8319 if test -n "$ac_tool_prefix"; then
8320 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8321 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8323 $as_echo_n "checking for $ac_word... " >&6; }
8324 if ${ac_cv_prog_OTOOL64+:} false; then :
8325 $as_echo_n "(cached) " >&6
8326 else
8327 if test -n "$OTOOL64"; then
8328 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8329 else
8330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8331 for as_dir in $PATH
8333 IFS=$as_save_IFS
8334 test -z "$as_dir" && as_dir=.
8335 for ac_exec_ext in '' $ac_executable_extensions; do
8336 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8337 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8339 break 2
8341 done
8342 done
8343 IFS=$as_save_IFS
8347 OTOOL64=$ac_cv_prog_OTOOL64
8348 if test -n "$OTOOL64"; then
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8350 $as_echo "$OTOOL64" >&6; }
8351 else
8352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8353 $as_echo "no" >&6; }
8358 if test -z "$ac_cv_prog_OTOOL64"; then
8359 ac_ct_OTOOL64=$OTOOL64
8360 # Extract the first word of "otool64", so it can be a program name with args.
8361 set dummy otool64; ac_word=$2
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8363 $as_echo_n "checking for $ac_word... " >&6; }
8364 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8365 $as_echo_n "(cached) " >&6
8366 else
8367 if test -n "$ac_ct_OTOOL64"; then
8368 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8369 else
8370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8371 for as_dir in $PATH
8373 IFS=$as_save_IFS
8374 test -z "$as_dir" && as_dir=.
8375 for ac_exec_ext in '' $ac_executable_extensions; do
8376 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8377 ac_cv_prog_ac_ct_OTOOL64="otool64"
8378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8379 break 2
8381 done
8382 done
8383 IFS=$as_save_IFS
8387 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8388 if test -n "$ac_ct_OTOOL64"; then
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8390 $as_echo "$ac_ct_OTOOL64" >&6; }
8391 else
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8393 $as_echo "no" >&6; }
8396 if test "x$ac_ct_OTOOL64" = x; then
8397 OTOOL64=":"
8398 else
8399 case $cross_compiling:$ac_tool_warned in
8400 yes:)
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8402 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8403 ac_tool_warned=yes ;;
8404 esac
8405 OTOOL64=$ac_ct_OTOOL64
8407 else
8408 OTOOL64="$ac_cv_prog_OTOOL64"
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8438 $as_echo_n "checking for -single_module linker flag... " >&6; }
8439 if ${lt_cv_apple_cc_single_mod+:} false; then :
8440 $as_echo_n "(cached) " >&6
8441 else
8442 lt_cv_apple_cc_single_mod=no
8443 if test -z "${LT_MULTI_MODULE}"; then
8444 # By default we will add the -single_module flag. You can override
8445 # by either setting the environment variable LT_MULTI_MODULE
8446 # non-empty at configure time, or by adding -multi_module to the
8447 # link flags.
8448 rm -rf libconftest.dylib*
8449 echo "int foo(void){return 1;}" > conftest.c
8450 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8451 -dynamiclib -Wl,-single_module conftest.c" >&5
8452 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8453 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8454 _lt_result=$?
8455 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8456 lt_cv_apple_cc_single_mod=yes
8457 else
8458 cat conftest.err >&5
8460 rm -rf libconftest.dylib*
8461 rm -f conftest.*
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8465 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8467 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8468 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8469 $as_echo_n "(cached) " >&6
8470 else
8471 lt_cv_ld_exported_symbols_list=no
8472 save_LDFLAGS=$LDFLAGS
8473 echo "_main" > conftest.sym
8474 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8475 if test x$gcc_no_link = xyes; then
8476 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8479 /* end confdefs.h. */
8482 main ()
8486 return 0;
8488 _ACEOF
8489 if ac_fn_c_try_link "$LINENO"; then :
8490 lt_cv_ld_exported_symbols_list=yes
8491 else
8492 lt_cv_ld_exported_symbols_list=no
8494 rm -f core conftest.err conftest.$ac_objext \
8495 conftest$ac_exeext conftest.$ac_ext
8496 LDFLAGS="$save_LDFLAGS"
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8500 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8502 $as_echo_n "checking for -force_load linker flag... " >&6; }
8503 if ${lt_cv_ld_force_load+:} false; then :
8504 $as_echo_n "(cached) " >&6
8505 else
8506 lt_cv_ld_force_load=no
8507 cat > conftest.c << _LT_EOF
8508 int forced_loaded() { return 2;}
8509 _LT_EOF
8510 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8511 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8512 echo "$AR cru libconftest.a conftest.o" >&5
8513 $AR cru libconftest.a conftest.o 2>&5
8514 cat > conftest.c << _LT_EOF
8515 int main() { return 0;}
8516 _LT_EOF
8517 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8518 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8519 _lt_result=$?
8520 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8521 lt_cv_ld_force_load=yes
8522 else
8523 cat conftest.err >&5
8525 rm -f conftest.err libconftest.a conftest conftest.c
8526 rm -rf conftest.dSYM
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8530 $as_echo "$lt_cv_ld_force_load" >&6; }
8531 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
8532 # build without first building modern cctools / linker.
8533 case $host_cpu-$host_os in
8534 *-rhapsody* | *-darwin1.[012])
8535 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8536 *-darwin1.*)
8537 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8538 *-darwin*)
8539 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
8540 # deployment target is forced to an earlier version.
8541 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
8542 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
8544 10.[012][,.]*)
8545 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8549 esac
8551 esac
8552 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8553 _lt_dar_single_mod='$single_module'
8555 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8556 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8557 else
8558 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8560 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8561 _lt_dsymutil='~$DSYMUTIL $lib || :'
8562 else
8563 _lt_dsymutil=
8566 esac
8568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8569 $as_echo_n "checking for ANSI C header files... " >&6; }
8570 if ${ac_cv_header_stdc+:} false; then :
8571 $as_echo_n "(cached) " >&6
8572 else
8573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8574 /* end confdefs.h. */
8575 #include <stdlib.h>
8576 #include <stdarg.h>
8577 #include <string.h>
8578 #include <float.h>
8581 main ()
8585 return 0;
8587 _ACEOF
8588 if ac_fn_c_try_compile "$LINENO"; then :
8589 ac_cv_header_stdc=yes
8590 else
8591 ac_cv_header_stdc=no
8593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8595 if test $ac_cv_header_stdc = yes; then
8596 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8598 /* end confdefs.h. */
8599 #include <string.h>
8601 _ACEOF
8602 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8603 $EGREP "memchr" >/dev/null 2>&1; then :
8605 else
8606 ac_cv_header_stdc=no
8608 rm -f conftest*
8612 if test $ac_cv_header_stdc = yes; then
8613 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8615 /* end confdefs.h. */
8616 #include <stdlib.h>
8618 _ACEOF
8619 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8620 $EGREP "free" >/dev/null 2>&1; then :
8622 else
8623 ac_cv_header_stdc=no
8625 rm -f conftest*
8629 if test $ac_cv_header_stdc = yes; then
8630 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8631 if test "$cross_compiling" = yes; then :
8633 else
8634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8635 /* end confdefs.h. */
8636 #include <ctype.h>
8637 #include <stdlib.h>
8638 #if ((' ' & 0x0FF) == 0x020)
8639 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8640 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8641 #else
8642 # define ISLOWER(c) \
8643 (('a' <= (c) && (c) <= 'i') \
8644 || ('j' <= (c) && (c) <= 'r') \
8645 || ('s' <= (c) && (c) <= 'z'))
8646 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8647 #endif
8649 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8651 main ()
8653 int i;
8654 for (i = 0; i < 256; i++)
8655 if (XOR (islower (i), ISLOWER (i))
8656 || toupper (i) != TOUPPER (i))
8657 return 2;
8658 return 0;
8660 _ACEOF
8661 if ac_fn_c_try_run "$LINENO"; then :
8663 else
8664 ac_cv_header_stdc=no
8666 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8667 conftest.$ac_objext conftest.beam conftest.$ac_ext
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8673 $as_echo "$ac_cv_header_stdc" >&6; }
8674 if test $ac_cv_header_stdc = yes; then
8676 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8680 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8681 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8682 inttypes.h stdint.h unistd.h
8683 do :
8684 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8685 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8687 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8688 cat >>confdefs.h <<_ACEOF
8689 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8690 _ACEOF
8694 done
8697 for ac_header in dlfcn.h
8698 do :
8699 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8701 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8702 cat >>confdefs.h <<_ACEOF
8703 #define HAVE_DLFCN_H 1
8704 _ACEOF
8708 done
8715 # Set options
8720 enable_win32_dll=no
8723 # Check whether --enable-shared was given.
8724 if test "${enable_shared+set}" = set; then :
8725 enableval=$enable_shared; p=${PACKAGE-default}
8726 case $enableval in
8727 yes) enable_shared=yes ;;
8728 no) enable_shared=no ;;
8730 enable_shared=no
8731 # Look at the argument we got. We use all the common list separators.
8732 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8733 for pkg in $enableval; do
8734 IFS="$lt_save_ifs"
8735 if test "X$pkg" = "X$p"; then
8736 enable_shared=yes
8738 done
8739 IFS="$lt_save_ifs"
8741 esac
8742 else
8743 enable_shared=yes
8754 # Check whether --enable-static was given.
8755 if test "${enable_static+set}" = set; then :
8756 enableval=$enable_static; p=${PACKAGE-default}
8757 case $enableval in
8758 yes) enable_static=yes ;;
8759 no) enable_static=no ;;
8761 enable_static=no
8762 # Look at the argument we got. We use all the common list separators.
8763 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8764 for pkg in $enableval; do
8765 IFS="$lt_save_ifs"
8766 if test "X$pkg" = "X$p"; then
8767 enable_static=yes
8769 done
8770 IFS="$lt_save_ifs"
8772 esac
8773 else
8774 enable_static=yes
8786 # Check whether --with-pic was given.
8787 if test "${with_pic+set}" = set; then :
8788 withval=$with_pic; pic_mode="$withval"
8789 else
8790 pic_mode=default
8794 test -z "$pic_mode" && pic_mode=default
8802 # Check whether --enable-fast-install was given.
8803 if test "${enable_fast_install+set}" = set; then :
8804 enableval=$enable_fast_install; p=${PACKAGE-default}
8805 case $enableval in
8806 yes) enable_fast_install=yes ;;
8807 no) enable_fast_install=no ;;
8809 enable_fast_install=no
8810 # Look at the argument we got. We use all the common list separators.
8811 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8812 for pkg in $enableval; do
8813 IFS="$lt_save_ifs"
8814 if test "X$pkg" = "X$p"; then
8815 enable_fast_install=yes
8817 done
8818 IFS="$lt_save_ifs"
8820 esac
8821 else
8822 enable_fast_install=yes
8835 # This can be used to rebuild libtool when needed
8836 LIBTOOL_DEPS="$ltmain"
8838 # Always use our own libtool.
8839 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8866 test -z "$LN_S" && LN_S="ln -s"
8881 if test -n "${ZSH_VERSION+set}" ; then
8882 setopt NO_GLOB_SUBST
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8886 $as_echo_n "checking for objdir... " >&6; }
8887 if ${lt_cv_objdir+:} false; then :
8888 $as_echo_n "(cached) " >&6
8889 else
8890 rm -f .libs 2>/dev/null
8891 mkdir .libs 2>/dev/null
8892 if test -d .libs; then
8893 lt_cv_objdir=.libs
8894 else
8895 # MS-DOS does not allow filenames that begin with a dot.
8896 lt_cv_objdir=_libs
8898 rmdir .libs 2>/dev/null
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8901 $as_echo "$lt_cv_objdir" >&6; }
8902 objdir=$lt_cv_objdir
8908 cat >>confdefs.h <<_ACEOF
8909 #define LT_OBJDIR "$lt_cv_objdir/"
8910 _ACEOF
8915 case $host_os in
8916 aix3*)
8917 # AIX sometimes has problems with the GCC collect2 program. For some
8918 # reason, if we set the COLLECT_NAMES environment variable, the problems
8919 # vanish in a puff of smoke.
8920 if test "X${COLLECT_NAMES+set}" != Xset; then
8921 COLLECT_NAMES=
8922 export COLLECT_NAMES
8925 esac
8927 # Global variables:
8928 ofile=libtool
8929 can_build_shared=yes
8931 # All known linkers require a `.a' archive for static linking (except MSVC,
8932 # which needs '.lib').
8933 libext=a
8935 with_gnu_ld="$lt_cv_prog_gnu_ld"
8937 old_CC="$CC"
8938 old_CFLAGS="$CFLAGS"
8940 # Set sane defaults for various variables
8941 test -z "$CC" && CC=cc
8942 test -z "$LTCC" && LTCC=$CC
8943 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8944 test -z "$LD" && LD=ld
8945 test -z "$ac_objext" && ac_objext=o
8947 for cc_temp in $compiler""; do
8948 case $cc_temp in
8949 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8950 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8951 \-*) ;;
8952 *) break;;
8953 esac
8954 done
8955 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8958 # Only perform the check for file, if the check method requires it
8959 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8960 case $deplibs_check_method in
8961 file_magic*)
8962 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8964 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8965 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8966 $as_echo_n "(cached) " >&6
8967 else
8968 case $MAGIC_CMD in
8969 [\\/*] | ?:[\\/]*)
8970 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8973 lt_save_MAGIC_CMD="$MAGIC_CMD"
8974 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8975 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8976 for ac_dir in $ac_dummy; do
8977 IFS="$lt_save_ifs"
8978 test -z "$ac_dir" && ac_dir=.
8979 if test -f $ac_dir/${ac_tool_prefix}file; then
8980 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8981 if test -n "$file_magic_test_file"; then
8982 case $deplibs_check_method in
8983 "file_magic "*)
8984 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8985 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8986 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8987 $EGREP "$file_magic_regex" > /dev/null; then
8989 else
8990 cat <<_LT_EOF 1>&2
8992 *** Warning: the command libtool uses to detect shared libraries,
8993 *** $file_magic_cmd, produces output that libtool cannot recognize.
8994 *** The result is that libtool may fail to recognize shared libraries
8995 *** as such. This will affect the creation of libtool libraries that
8996 *** depend on shared libraries, but programs linked with such libtool
8997 *** libraries will work regardless of this problem. Nevertheless, you
8998 *** may want to report the problem to your system manager and/or to
8999 *** bug-libtool@gnu.org
9001 _LT_EOF
9002 fi ;;
9003 esac
9005 break
9007 done
9008 IFS="$lt_save_ifs"
9009 MAGIC_CMD="$lt_save_MAGIC_CMD"
9011 esac
9014 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9015 if test -n "$MAGIC_CMD"; then
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9017 $as_echo "$MAGIC_CMD" >&6; }
9018 else
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9020 $as_echo "no" >&6; }
9027 if test -z "$lt_cv_path_MAGIC_CMD"; then
9028 if test -n "$ac_tool_prefix"; then
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9030 $as_echo_n "checking for file... " >&6; }
9031 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9032 $as_echo_n "(cached) " >&6
9033 else
9034 case $MAGIC_CMD in
9035 [\\/*] | ?:[\\/]*)
9036 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9039 lt_save_MAGIC_CMD="$MAGIC_CMD"
9040 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9041 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9042 for ac_dir in $ac_dummy; do
9043 IFS="$lt_save_ifs"
9044 test -z "$ac_dir" && ac_dir=.
9045 if test -f $ac_dir/file; then
9046 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9047 if test -n "$file_magic_test_file"; then
9048 case $deplibs_check_method in
9049 "file_magic "*)
9050 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9051 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9052 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9053 $EGREP "$file_magic_regex" > /dev/null; then
9055 else
9056 cat <<_LT_EOF 1>&2
9058 *** Warning: the command libtool uses to detect shared libraries,
9059 *** $file_magic_cmd, produces output that libtool cannot recognize.
9060 *** The result is that libtool may fail to recognize shared libraries
9061 *** as such. This will affect the creation of libtool libraries that
9062 *** depend on shared libraries, but programs linked with such libtool
9063 *** libraries will work regardless of this problem. Nevertheless, you
9064 *** may want to report the problem to your system manager and/or to
9065 *** bug-libtool@gnu.org
9067 _LT_EOF
9068 fi ;;
9069 esac
9071 break
9073 done
9074 IFS="$lt_save_ifs"
9075 MAGIC_CMD="$lt_save_MAGIC_CMD"
9077 esac
9080 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9081 if test -n "$MAGIC_CMD"; then
9082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9083 $as_echo "$MAGIC_CMD" >&6; }
9084 else
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9086 $as_echo "no" >&6; }
9090 else
9091 MAGIC_CMD=:
9097 esac
9099 # Use C for the default configuration in the libtool script
9101 lt_save_CC="$CC"
9102 ac_ext=c
9103 ac_cpp='$CPP $CPPFLAGS'
9104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9109 # Source file extension for C test sources.
9110 ac_ext=c
9112 # Object file extension for compiled C test sources.
9113 objext=o
9114 objext=$objext
9116 # Code to be used in simple compile tests
9117 lt_simple_compile_test_code="int some_variable = 0;"
9119 # Code to be used in simple link tests
9120 lt_simple_link_test_code='int main(){return(0);}'
9128 # If no C compiler was specified, use CC.
9129 LTCC=${LTCC-"$CC"}
9131 # If no C compiler flags were specified, use CFLAGS.
9132 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9134 # Allow CC to be a program name with arguments.
9135 compiler=$CC
9137 # Save the default compiler, since it gets overwritten when the other
9138 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9139 compiler_DEFAULT=$CC
9141 # save warnings/boilerplate of simple test code
9142 ac_outfile=conftest.$ac_objext
9143 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9144 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9145 _lt_compiler_boilerplate=`cat conftest.err`
9146 $RM conftest*
9148 ac_outfile=conftest.$ac_objext
9149 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9150 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9151 _lt_linker_boilerplate=`cat conftest.err`
9152 $RM -r conftest*
9155 ## CAVEAT EMPTOR:
9156 ## There is no encapsulation within the following macros, do not change
9157 ## the running order or otherwise move them around unless you know exactly
9158 ## what you are doing...
9159 if test -n "$compiler"; then
9161 lt_prog_compiler_no_builtin_flag=
9163 if test "$GCC" = yes; then
9164 case $cc_basename in
9165 nvcc*)
9166 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9168 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9169 esac
9171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9172 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9173 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9174 $as_echo_n "(cached) " >&6
9175 else
9176 lt_cv_prog_compiler_rtti_exceptions=no
9177 ac_outfile=conftest.$ac_objext
9178 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9179 lt_compiler_flag="-fno-rtti -fno-exceptions"
9180 # Insert the option either (1) after the last *FLAGS variable, or
9181 # (2) before a word containing "conftest.", or (3) at the end.
9182 # Note that $ac_compile itself does not contain backslashes and begins
9183 # with a dollar sign (not a hyphen), so the echo should work correctly.
9184 # The option is referenced via a variable to avoid confusing sed.
9185 lt_compile=`echo "$ac_compile" | $SED \
9186 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9187 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9188 -e 's:$: $lt_compiler_flag:'`
9189 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9190 (eval "$lt_compile" 2>conftest.err)
9191 ac_status=$?
9192 cat conftest.err >&5
9193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9194 if (exit $ac_status) && test -s "$ac_outfile"; then
9195 # The compiler can only warn and ignore the option if not recognized
9196 # So say no if there are warnings other than the usual output.
9197 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9198 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9199 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9200 lt_cv_prog_compiler_rtti_exceptions=yes
9203 $RM conftest*
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9207 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9209 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9210 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9211 else
9222 lt_prog_compiler_wl=
9223 lt_prog_compiler_pic=
9224 lt_prog_compiler_static=
9226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9227 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9229 if test "$GCC" = yes; then
9230 lt_prog_compiler_wl='-Wl,'
9231 lt_prog_compiler_static='-static'
9233 case $host_os in
9234 aix*)
9235 # All AIX code is PIC.
9236 if test "$host_cpu" = ia64; then
9237 # AIX 5 now supports IA64 processor
9238 lt_prog_compiler_static='-Bstatic'
9240 lt_prog_compiler_pic='-fPIC'
9243 amigaos*)
9244 case $host_cpu in
9245 powerpc)
9246 # see comment about AmigaOS4 .so support
9247 lt_prog_compiler_pic='-fPIC'
9249 m68k)
9250 # FIXME: we need at least 68020 code to build shared libraries, but
9251 # adding the `-m68020' flag to GCC prevents building anything better,
9252 # like `-m68040'.
9253 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9255 esac
9258 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9259 # PIC is the default for these OSes.
9262 mingw* | cygwin* | pw32* | os2* | cegcc*)
9263 # This hack is so that the source file can tell whether it is being
9264 # built for inclusion in a dll (and should export symbols for example).
9265 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9266 # (--disable-auto-import) libraries
9267 lt_prog_compiler_pic='-DDLL_EXPORT'
9270 darwin* | rhapsody*)
9271 # PIC is the default on this platform
9272 # Common symbols not allowed in MH_DYLIB files
9273 lt_prog_compiler_pic='-fno-common'
9276 haiku*)
9277 # PIC is the default for Haiku.
9278 # The "-static" flag exists, but is broken.
9279 lt_prog_compiler_static=
9282 hpux*)
9283 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9284 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9285 # sets the default TLS model and affects inlining.
9286 case $host_cpu in
9287 hppa*64*)
9288 # +Z the default
9291 lt_prog_compiler_pic='-fPIC'
9293 esac
9296 interix[3-9]*)
9297 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9298 # Instead, we relocate shared libraries at runtime.
9301 msdosdjgpp*)
9302 # Just because we use GCC doesn't mean we suddenly get shared libraries
9303 # on systems that don't support them.
9304 lt_prog_compiler_can_build_shared=no
9305 enable_shared=no
9308 *nto* | *qnx*)
9309 # QNX uses GNU C++, but need to define -shared option too, otherwise
9310 # it will coredump.
9311 lt_prog_compiler_pic='-fPIC -shared'
9314 sysv4*MP*)
9315 if test -d /usr/nec; then
9316 lt_prog_compiler_pic=-Kconform_pic
9321 lt_prog_compiler_pic='-fPIC'
9323 esac
9325 case $cc_basename in
9326 nvcc*) # Cuda Compiler Driver 2.2
9327 lt_prog_compiler_wl='-Xlinker '
9328 lt_prog_compiler_pic='-Xcompiler -fPIC'
9330 esac
9331 else
9332 # PORTME Check for flag to pass linker flags through the system compiler.
9333 case $host_os in
9334 aix*)
9335 lt_prog_compiler_wl='-Wl,'
9336 if test "$host_cpu" = ia64; then
9337 # AIX 5 now supports IA64 processor
9338 lt_prog_compiler_static='-Bstatic'
9339 else
9340 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9344 mingw* | cygwin* | pw32* | os2* | cegcc*)
9345 # This hack is so that the source file can tell whether it is being
9346 # built for inclusion in a dll (and should export symbols for example).
9347 lt_prog_compiler_pic='-DDLL_EXPORT'
9350 hpux9* | hpux10* | hpux11*)
9351 lt_prog_compiler_wl='-Wl,'
9352 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9353 # not for PA HP-UX.
9354 case $host_cpu in
9355 hppa*64*|ia64*)
9356 # +Z the default
9359 lt_prog_compiler_pic='+Z'
9361 esac
9362 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9363 lt_prog_compiler_static='${wl}-a ${wl}archive'
9366 irix5* | irix6* | nonstopux*)
9367 lt_prog_compiler_wl='-Wl,'
9368 # PIC (with -KPIC) is the default.
9369 lt_prog_compiler_static='-non_shared'
9372 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9373 case $cc_basename in
9374 # old Intel for x86_64 which still supported -KPIC.
9375 ecc*)
9376 lt_prog_compiler_wl='-Wl,'
9377 lt_prog_compiler_pic='-KPIC'
9378 lt_prog_compiler_static='-static'
9380 # icc used to be incompatible with GCC.
9381 # ICC 10 doesn't accept -KPIC any more.
9382 icc* | ifort*)
9383 lt_prog_compiler_wl='-Wl,'
9384 lt_prog_compiler_pic='-fPIC'
9385 lt_prog_compiler_static='-static'
9387 # Lahey Fortran 8.1.
9388 lf95*)
9389 lt_prog_compiler_wl='-Wl,'
9390 lt_prog_compiler_pic='--shared'
9391 lt_prog_compiler_static='--static'
9393 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9394 # Portland Group compilers (*not* the Pentium gcc compiler,
9395 # which looks to be a dead project)
9396 lt_prog_compiler_wl='-Wl,'
9397 lt_prog_compiler_pic='-fpic'
9398 lt_prog_compiler_static='-Bstatic'
9400 ccc*)
9401 lt_prog_compiler_wl='-Wl,'
9402 # All Alpha code is PIC.
9403 lt_prog_compiler_static='-non_shared'
9405 xl* | bgxl* | bgf* | mpixl*)
9406 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9407 lt_prog_compiler_wl='-Wl,'
9408 lt_prog_compiler_pic='-qpic'
9409 lt_prog_compiler_static='-qstaticlink'
9412 case `$CC -V 2>&1 | sed 5q` in
9413 *Sun\ F* | *Sun*Fortran*)
9414 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9415 lt_prog_compiler_pic='-KPIC'
9416 lt_prog_compiler_static='-Bstatic'
9417 lt_prog_compiler_wl=''
9419 *Sun\ C*)
9420 # Sun C 5.9
9421 lt_prog_compiler_pic='-KPIC'
9422 lt_prog_compiler_static='-Bstatic'
9423 lt_prog_compiler_wl='-Wl,'
9425 esac
9427 esac
9430 newsos6)
9431 lt_prog_compiler_pic='-KPIC'
9432 lt_prog_compiler_static='-Bstatic'
9435 *nto* | *qnx*)
9436 # QNX uses GNU C++, but need to define -shared option too, otherwise
9437 # it will coredump.
9438 lt_prog_compiler_pic='-fPIC -shared'
9441 osf3* | osf4* | osf5*)
9442 lt_prog_compiler_wl='-Wl,'
9443 # All OSF/1 code is PIC.
9444 lt_prog_compiler_static='-non_shared'
9447 rdos*)
9448 lt_prog_compiler_static='-non_shared'
9451 solaris*)
9452 lt_prog_compiler_pic='-KPIC'
9453 lt_prog_compiler_static='-Bstatic'
9454 case $cc_basename in
9455 f77* | f90* | f95*)
9456 lt_prog_compiler_wl='-Qoption ld ';;
9458 lt_prog_compiler_wl='-Wl,';;
9459 esac
9462 sunos4*)
9463 lt_prog_compiler_wl='-Qoption ld '
9464 lt_prog_compiler_pic='-PIC'
9465 lt_prog_compiler_static='-Bstatic'
9468 sysv4 | sysv4.2uw2* | sysv4.3*)
9469 lt_prog_compiler_wl='-Wl,'
9470 lt_prog_compiler_pic='-KPIC'
9471 lt_prog_compiler_static='-Bstatic'
9474 sysv4*MP*)
9475 if test -d /usr/nec ;then
9476 lt_prog_compiler_pic='-Kconform_pic'
9477 lt_prog_compiler_static='-Bstatic'
9481 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9482 lt_prog_compiler_wl='-Wl,'
9483 lt_prog_compiler_pic='-KPIC'
9484 lt_prog_compiler_static='-Bstatic'
9487 unicos*)
9488 lt_prog_compiler_wl='-Wl,'
9489 lt_prog_compiler_can_build_shared=no
9492 uts4*)
9493 lt_prog_compiler_pic='-pic'
9494 lt_prog_compiler_static='-Bstatic'
9498 lt_prog_compiler_can_build_shared=no
9500 esac
9503 case $host_os in
9504 # For platforms which do not support PIC, -DPIC is meaningless:
9505 *djgpp*)
9506 lt_prog_compiler_pic=
9509 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9511 esac
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9513 $as_echo "$lt_prog_compiler_pic" >&6; }
9521 # Check to make sure the PIC flag actually works.
9523 if test -n "$lt_prog_compiler_pic"; then
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9525 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9526 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9527 $as_echo_n "(cached) " >&6
9528 else
9529 lt_cv_prog_compiler_pic_works=no
9530 ac_outfile=conftest.$ac_objext
9531 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9532 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9533 # Insert the option either (1) after the last *FLAGS variable, or
9534 # (2) before a word containing "conftest.", or (3) at the end.
9535 # Note that $ac_compile itself does not contain backslashes and begins
9536 # with a dollar sign (not a hyphen), so the echo should work correctly.
9537 # The option is referenced via a variable to avoid confusing sed.
9538 lt_compile=`echo "$ac_compile" | $SED \
9539 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9540 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9541 -e 's:$: $lt_compiler_flag:'`
9542 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9543 (eval "$lt_compile" 2>conftest.err)
9544 ac_status=$?
9545 cat conftest.err >&5
9546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9547 if (exit $ac_status) && test -s "$ac_outfile"; then
9548 # The compiler can only warn and ignore the option if not recognized
9549 # So say no if there are warnings other than the usual output.
9550 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9551 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9552 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9553 lt_cv_prog_compiler_pic_works=yes
9556 $RM conftest*
9559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9560 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9562 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9563 case $lt_prog_compiler_pic in
9564 "" | " "*) ;;
9565 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9566 esac
9567 else
9568 lt_prog_compiler_pic=
9569 lt_prog_compiler_can_build_shared=no
9580 # Check to make sure the static flag actually works.
9582 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9584 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9585 if ${lt_cv_prog_compiler_static_works+:} false; then :
9586 $as_echo_n "(cached) " >&6
9587 else
9588 lt_cv_prog_compiler_static_works=no
9589 save_LDFLAGS="$LDFLAGS"
9590 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9591 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9592 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9593 # The linker can only warn and ignore the option if not recognized
9594 # So say no if there are warnings
9595 if test -s conftest.err; then
9596 # Append any errors to the config.log.
9597 cat conftest.err 1>&5
9598 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9599 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9600 if diff conftest.exp conftest.er2 >/dev/null; then
9601 lt_cv_prog_compiler_static_works=yes
9603 else
9604 lt_cv_prog_compiler_static_works=yes
9607 $RM -r conftest*
9608 LDFLAGS="$save_LDFLAGS"
9611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9612 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9614 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9616 else
9617 lt_prog_compiler_static=
9626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9627 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9628 if ${lt_cv_prog_compiler_c_o+:} false; then :
9629 $as_echo_n "(cached) " >&6
9630 else
9631 lt_cv_prog_compiler_c_o=no
9632 $RM -r conftest 2>/dev/null
9633 mkdir conftest
9634 cd conftest
9635 mkdir out
9636 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9638 lt_compiler_flag="-o out/conftest2.$ac_objext"
9639 # Insert the option either (1) after the last *FLAGS variable, or
9640 # (2) before a word containing "conftest.", or (3) at the end.
9641 # Note that $ac_compile itself does not contain backslashes and begins
9642 # with a dollar sign (not a hyphen), so the echo should work correctly.
9643 lt_compile=`echo "$ac_compile" | $SED \
9644 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9645 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9646 -e 's:$: $lt_compiler_flag:'`
9647 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9648 (eval "$lt_compile" 2>out/conftest.err)
9649 ac_status=$?
9650 cat out/conftest.err >&5
9651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9652 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9653 then
9654 # The compiler can only warn and ignore the option if not recognized
9655 # So say no if there are warnings
9656 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9657 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9658 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9659 lt_cv_prog_compiler_c_o=yes
9662 chmod u+w . 2>&5
9663 $RM conftest*
9664 # SGI C++ compiler will create directory out/ii_files/ for
9665 # template instantiation
9666 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9667 $RM out/* && rmdir out
9668 cd ..
9669 $RM -r conftest
9670 $RM conftest*
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9674 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9682 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9683 if ${lt_cv_prog_compiler_c_o+:} false; then :
9684 $as_echo_n "(cached) " >&6
9685 else
9686 lt_cv_prog_compiler_c_o=no
9687 $RM -r conftest 2>/dev/null
9688 mkdir conftest
9689 cd conftest
9690 mkdir out
9691 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9693 lt_compiler_flag="-o out/conftest2.$ac_objext"
9694 # Insert the option either (1) after the last *FLAGS variable, or
9695 # (2) before a word containing "conftest.", or (3) at the end.
9696 # Note that $ac_compile itself does not contain backslashes and begins
9697 # with a dollar sign (not a hyphen), so the echo should work correctly.
9698 lt_compile=`echo "$ac_compile" | $SED \
9699 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9700 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9701 -e 's:$: $lt_compiler_flag:'`
9702 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9703 (eval "$lt_compile" 2>out/conftest.err)
9704 ac_status=$?
9705 cat out/conftest.err >&5
9706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9707 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9708 then
9709 # The compiler can only warn and ignore the option if not recognized
9710 # So say no if there are warnings
9711 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9712 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9713 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9714 lt_cv_prog_compiler_c_o=yes
9717 chmod u+w . 2>&5
9718 $RM conftest*
9719 # SGI C++ compiler will create directory out/ii_files/ for
9720 # template instantiation
9721 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9722 $RM out/* && rmdir out
9723 cd ..
9724 $RM -r conftest
9725 $RM conftest*
9728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9729 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9734 hard_links="nottested"
9735 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9736 # do not overwrite the value of need_locks provided by the user
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9738 $as_echo_n "checking if we can lock with hard links... " >&6; }
9739 hard_links=yes
9740 $RM conftest*
9741 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9742 touch conftest.a
9743 ln conftest.a conftest.b 2>&5 || hard_links=no
9744 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9746 $as_echo "$hard_links" >&6; }
9747 if test "$hard_links" = no; then
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9749 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9750 need_locks=warn
9752 else
9753 need_locks=no
9761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9762 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9764 runpath_var=
9765 allow_undefined_flag=
9766 always_export_symbols=no
9767 archive_cmds=
9768 archive_expsym_cmds=
9769 compiler_needs_object=no
9770 enable_shared_with_static_runtimes=no
9771 export_dynamic_flag_spec=
9772 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9773 hardcode_automatic=no
9774 hardcode_direct=no
9775 hardcode_direct_absolute=no
9776 hardcode_libdir_flag_spec=
9777 hardcode_libdir_flag_spec_ld=
9778 hardcode_libdir_separator=
9779 hardcode_minus_L=no
9780 hardcode_shlibpath_var=unsupported
9781 inherit_rpath=no
9782 link_all_deplibs=unknown
9783 module_cmds=
9784 module_expsym_cmds=
9785 old_archive_from_new_cmds=
9786 old_archive_from_expsyms_cmds=
9787 thread_safe_flag_spec=
9788 whole_archive_flag_spec=
9789 # include_expsyms should be a list of space-separated symbols to be *always*
9790 # included in the symbol list
9791 include_expsyms=
9792 # exclude_expsyms can be an extended regexp of symbols to exclude
9793 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9794 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9795 # as well as any symbol that contains `d'.
9796 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9797 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9798 # platforms (ab)use it in PIC code, but their linkers get confused if
9799 # the symbol is explicitly referenced. Since portable code cannot
9800 # rely on this symbol name, it's probably fine to never include it in
9801 # preloaded symbol tables.
9802 # Exclude shared library initialization/finalization symbols.
9803 extract_expsyms_cmds=
9805 case $host_os in
9806 cygwin* | mingw* | pw32* | cegcc*)
9807 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9808 # When not using gcc, we currently assume that we are using
9809 # Microsoft Visual C++.
9810 if test "$GCC" != yes; then
9811 with_gnu_ld=no
9814 interix*)
9815 # we just hope/assume this is gcc and not c89 (= MSVC++)
9816 with_gnu_ld=yes
9818 openbsd*)
9819 with_gnu_ld=no
9821 esac
9823 ld_shlibs=yes
9825 # On some targets, GNU ld is compatible enough with the native linker
9826 # that we're better off using the native interface for both.
9827 lt_use_gnu_ld_interface=no
9828 if test "$with_gnu_ld" = yes; then
9829 case $host_os in
9830 aix*)
9831 # The AIX port of GNU ld has always aspired to compatibility
9832 # with the native linker. However, as the warning in the GNU ld
9833 # block says, versions before 2.19.5* couldn't really create working
9834 # shared libraries, regardless of the interface used.
9835 case `$LD -v 2>&1` in
9836 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9837 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9838 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9840 lt_use_gnu_ld_interface=yes
9842 esac
9845 lt_use_gnu_ld_interface=yes
9847 esac
9850 if test "$lt_use_gnu_ld_interface" = yes; then
9851 # If archive_cmds runs LD, not CC, wlarc should be empty
9852 wlarc='${wl}'
9854 # Set some defaults for GNU ld with shared library support. These
9855 # are reset later if shared libraries are not supported. Putting them
9856 # here allows them to be overridden if necessary.
9857 runpath_var=LD_RUN_PATH
9858 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9859 export_dynamic_flag_spec='${wl}--export-dynamic'
9860 # ancient GNU ld didn't support --whole-archive et. al.
9861 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9862 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9863 else
9864 whole_archive_flag_spec=
9866 supports_anon_versioning=no
9867 case `$LD -v 2>&1` in
9868 *GNU\ gold*) supports_anon_versioning=yes ;;
9869 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9870 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9871 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9872 *\ 2.11.*) ;; # other 2.11 versions
9873 *) supports_anon_versioning=yes ;;
9874 esac
9876 # See if GNU ld supports shared libraries.
9877 case $host_os in
9878 aix[3-9]*)
9879 # On AIX/PPC, the GNU linker is very broken
9880 if test "$host_cpu" != ia64; then
9881 ld_shlibs=no
9882 cat <<_LT_EOF 1>&2
9884 *** Warning: the GNU linker, at least up to release 2.19, is reported
9885 *** to be unable to reliably create shared libraries on AIX.
9886 *** Therefore, libtool is disabling shared libraries support. If you
9887 *** really care for shared libraries, you may want to install binutils
9888 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9889 *** You will then need to restart the configuration process.
9891 _LT_EOF
9895 amigaos*)
9896 case $host_cpu in
9897 powerpc)
9898 # see comment about AmigaOS4 .so support
9899 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9900 archive_expsym_cmds=''
9902 m68k)
9903 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)'
9904 hardcode_libdir_flag_spec='-L$libdir'
9905 hardcode_minus_L=yes
9907 esac
9910 beos*)
9911 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9912 allow_undefined_flag=unsupported
9913 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9914 # support --undefined. This deserves some investigation. FIXME
9915 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9916 else
9917 ld_shlibs=no
9921 cygwin* | mingw* | pw32* | cegcc*)
9922 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9923 # as there is no search path for DLLs.
9924 hardcode_libdir_flag_spec='-L$libdir'
9925 export_dynamic_flag_spec='${wl}--export-all-symbols'
9926 allow_undefined_flag=unsupported
9927 always_export_symbols=no
9928 enable_shared_with_static_runtimes=yes
9929 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9931 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9932 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9933 # If the export-symbols file already is a .def file (1st line
9934 # is EXPORTS), use it as is; otherwise, prepend...
9935 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9936 cp $export_symbols $output_objdir/$soname.def;
9937 else
9938 echo EXPORTS > $output_objdir/$soname.def;
9939 cat $export_symbols >> $output_objdir/$soname.def;
9941 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9942 else
9943 ld_shlibs=no
9947 haiku*)
9948 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9949 link_all_deplibs=yes
9952 interix[3-9]*)
9953 hardcode_direct=no
9954 hardcode_shlibpath_var=no
9955 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9956 export_dynamic_flag_spec='${wl}-E'
9957 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9958 # Instead, shared libraries are loaded at an image base (0x10000000 by
9959 # default) and relocated if they conflict, which is a slow very memory
9960 # consuming and fragmenting process. To avoid this, we pick a random,
9961 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9962 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9963 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9964 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'
9967 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
9968 tmp_diet=no
9969 if test "$host_os" = linux-dietlibc; then
9970 case $cc_basename in
9971 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9972 esac
9974 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9975 && test "$tmp_diet" = no
9976 then
9977 tmp_addflag=' $pic_flag'
9978 tmp_sharedflag='-shared'
9979 case $cc_basename,$host_cpu in
9980 pgcc*) # Portland Group C compiler
9981 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'
9982 tmp_addflag=' $pic_flag'
9984 pgf77* | pgf90* | pgf95* | pgfortran*)
9985 # Portland Group f77 and f90 compilers
9986 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9987 tmp_addflag=' $pic_flag -Mnomain' ;;
9988 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9989 tmp_addflag=' -i_dynamic' ;;
9990 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9991 tmp_addflag=' -i_dynamic -nofor_main' ;;
9992 ifc* | ifort*) # Intel Fortran compiler
9993 tmp_addflag=' -nofor_main' ;;
9994 lf95*) # Lahey Fortran 8.1
9995 whole_archive_flag_spec=
9996 tmp_sharedflag='--shared' ;;
9997 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9998 tmp_sharedflag='-qmkshrobj'
9999 tmp_addflag= ;;
10000 nvcc*) # Cuda Compiler Driver 2.2
10001 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'
10002 compiler_needs_object=yes
10004 esac
10005 case `$CC -V 2>&1 | sed 5q` in
10006 *Sun\ C*) # Sun C 5.9
10007 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'
10008 compiler_needs_object=yes
10009 tmp_sharedflag='-G' ;;
10010 *Sun\ F*) # Sun Fortran 8.3
10011 tmp_sharedflag='-G' ;;
10012 esac
10013 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10015 if test "x$supports_anon_versioning" = xyes; then
10016 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10017 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10018 echo "local: *; };" >> $output_objdir/$libname.ver~
10019 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10022 case $cc_basename in
10023 xlf* | bgf* | bgxlf* | mpixlf*)
10024 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10025 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10026 hardcode_libdir_flag_spec=
10027 hardcode_libdir_flag_spec_ld='-rpath $libdir'
10028 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10029 if test "x$supports_anon_versioning" = xyes; then
10030 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10031 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10032 echo "local: *; };" >> $output_objdir/$libname.ver~
10033 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10036 esac
10037 else
10038 ld_shlibs=no
10042 netbsd*)
10043 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10044 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10045 wlarc=
10046 else
10047 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10048 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10052 solaris*)
10053 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10054 ld_shlibs=no
10055 cat <<_LT_EOF 1>&2
10057 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10058 *** create shared libraries on Solaris systems. Therefore, libtool
10059 *** is disabling shared libraries support. We urge you to upgrade GNU
10060 *** binutils to release 2.9.1 or newer. Another option is to modify
10061 *** your PATH or compiler configuration so that the native linker is
10062 *** used, and then restart.
10064 _LT_EOF
10065 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10066 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10067 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10068 else
10069 ld_shlibs=no
10073 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10074 case `$LD -v 2>&1` in
10075 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10076 ld_shlibs=no
10077 cat <<_LT_EOF 1>&2
10079 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10080 *** reliably create shared libraries on SCO systems. Therefore, libtool
10081 *** is disabling shared libraries support. We urge you to upgrade GNU
10082 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10083 *** your PATH or compiler configuration so that the native linker is
10084 *** used, and then restart.
10086 _LT_EOF
10089 # For security reasons, it is highly recommended that you always
10090 # use absolute paths for naming shared libraries, and exclude the
10091 # DT_RUNPATH tag from executables and libraries. But doing so
10092 # requires that you compile everything twice, which is a pain.
10093 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10094 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10095 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10096 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10097 else
10098 ld_shlibs=no
10101 esac
10104 sunos4*)
10105 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10106 wlarc=
10107 hardcode_direct=yes
10108 hardcode_shlibpath_var=no
10112 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10113 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10114 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10115 else
10116 ld_shlibs=no
10119 esac
10121 if test "$ld_shlibs" = no; then
10122 runpath_var=
10123 hardcode_libdir_flag_spec=
10124 export_dynamic_flag_spec=
10125 whole_archive_flag_spec=
10127 else
10128 # PORTME fill in a description of your system's linker (not GNU ld)
10129 case $host_os in
10130 aix3*)
10131 allow_undefined_flag=unsupported
10132 always_export_symbols=yes
10133 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'
10134 # Note: this linker hardcodes the directories in LIBPATH if there
10135 # are no directories specified by -L.
10136 hardcode_minus_L=yes
10137 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10138 # Neither direct hardcoding nor static linking is supported with a
10139 # broken collect2.
10140 hardcode_direct=unsupported
10144 aix[4-9]*)
10145 if test "$host_cpu" = ia64; then
10146 # On IA64, the linker does run time linking by default, so we don't
10147 # have to do anything special.
10148 aix_use_runtimelinking=no
10149 exp_sym_flag='-Bexport'
10150 no_entry_flag=""
10151 else
10152 # If we're using GNU nm, then we don't want the "-C" option.
10153 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10154 # Also, AIX nm treats weak defined symbols like other global
10155 # defined symbols, whereas GNU nm marks them as "W".
10156 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10157 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'
10158 else
10159 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'
10161 aix_use_runtimelinking=no
10163 # Test if we are trying to use run time linking or normal
10164 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10165 # need to do runtime linking.
10166 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10167 for ld_flag in $LDFLAGS; do
10168 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10169 aix_use_runtimelinking=yes
10170 break
10172 done
10174 esac
10176 exp_sym_flag='-bexport'
10177 no_entry_flag='-bnoentry'
10180 # When large executables or shared objects are built, AIX ld can
10181 # have problems creating the table of contents. If linking a library
10182 # or program results in "error TOC overflow" add -mminimal-toc to
10183 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10184 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10186 archive_cmds=''
10187 hardcode_direct=yes
10188 hardcode_direct_absolute=yes
10189 hardcode_libdir_separator=':'
10190 link_all_deplibs=yes
10191 file_list_spec='${wl}-f,'
10193 if test "$GCC" = yes; then
10194 case $host_os in aix4.[012]|aix4.[012].*)
10195 # We only want to do this on AIX 4.2 and lower, the check
10196 # below for broken collect2 doesn't work under 4.3+
10197 collect2name=`${CC} -print-prog-name=collect2`
10198 if test -f "$collect2name" &&
10199 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10200 then
10201 # We have reworked collect2
10203 else
10204 # We have old collect2
10205 hardcode_direct=unsupported
10206 # It fails to find uninstalled libraries when the uninstalled
10207 # path is not listed in the libpath. Setting hardcode_minus_L
10208 # to unsupported forces relinking
10209 hardcode_minus_L=yes
10210 hardcode_libdir_flag_spec='-L$libdir'
10211 hardcode_libdir_separator=
10214 esac
10215 shared_flag='-shared'
10216 if test "$aix_use_runtimelinking" = yes; then
10217 shared_flag="$shared_flag "'${wl}-G'
10219 else
10220 # not using gcc
10221 if test "$host_cpu" = ia64; then
10222 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10223 # chokes on -Wl,-G. The following line is correct:
10224 shared_flag='-G'
10225 else
10226 if test "$aix_use_runtimelinking" = yes; then
10227 shared_flag='${wl}-G'
10228 else
10229 shared_flag='${wl}-bM:SRE'
10234 export_dynamic_flag_spec='${wl}-bexpall'
10235 # It seems that -bexpall does not export symbols beginning with
10236 # underscore (_), so it is better to generate a list of symbols to export.
10237 always_export_symbols=yes
10238 if test "$aix_use_runtimelinking" = yes; then
10239 # Warning - without using the other runtime loading flags (-brtl),
10240 # -berok will link without error, but may produce a broken library.
10241 allow_undefined_flag='-berok'
10242 # Determine the default libpath from the value encoded in an
10243 # empty executable.
10244 if test x$gcc_no_link = xyes; then
10245 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10248 /* end confdefs.h. */
10251 main ()
10255 return 0;
10257 _ACEOF
10258 if ac_fn_c_try_link "$LINENO"; then :
10260 lt_aix_libpath_sed='
10261 /Import File Strings/,/^$/ {
10262 /^0/ {
10263 s/^0 *\(.*\)$/\1/
10267 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10268 # Check for a 64-bit object if we didn't find anything.
10269 if test -z "$aix_libpath"; then
10270 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10273 rm -f core conftest.err conftest.$ac_objext \
10274 conftest$ac_exeext conftest.$ac_ext
10275 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10277 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10278 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"
10279 else
10280 if test "$host_cpu" = ia64; then
10281 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10282 allow_undefined_flag="-z nodefs"
10283 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"
10284 else
10285 # Determine the default libpath from the value encoded in an
10286 # empty executable.
10287 if test x$gcc_no_link = xyes; then
10288 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10291 /* end confdefs.h. */
10294 main ()
10298 return 0;
10300 _ACEOF
10301 if ac_fn_c_try_link "$LINENO"; then :
10303 lt_aix_libpath_sed='
10304 /Import File Strings/,/^$/ {
10305 /^0/ {
10306 s/^0 *\(.*\)$/\1/
10310 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10311 # Check for a 64-bit object if we didn't find anything.
10312 if test -z "$aix_libpath"; then
10313 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10316 rm -f core conftest.err conftest.$ac_objext \
10317 conftest$ac_exeext conftest.$ac_ext
10318 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10320 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10321 # Warning - without using the other run time loading flags,
10322 # -berok will link without error, but may produce a broken library.
10323 no_undefined_flag=' ${wl}-bernotok'
10324 allow_undefined_flag=' ${wl}-berok'
10325 if test "$with_gnu_ld" = yes; then
10326 # We only use this code for GNU lds that support --whole-archive.
10327 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10328 else
10329 # Exported symbols can be pulled into shared objects from archives
10330 whole_archive_flag_spec='$convenience'
10332 archive_cmds_need_lc=yes
10333 # This is similar to how AIX traditionally builds its shared libraries.
10334 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'
10339 amigaos*)
10340 case $host_cpu in
10341 powerpc)
10342 # see comment about AmigaOS4 .so support
10343 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10344 archive_expsym_cmds=''
10346 m68k)
10347 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)'
10348 hardcode_libdir_flag_spec='-L$libdir'
10349 hardcode_minus_L=yes
10351 esac
10354 bsdi[45]*)
10355 export_dynamic_flag_spec=-rdynamic
10358 cygwin* | mingw* | pw32* | cegcc*)
10359 # When not using gcc, we currently assume that we are using
10360 # Microsoft Visual C++.
10361 # hardcode_libdir_flag_spec is actually meaningless, as there is
10362 # no search path for DLLs.
10363 hardcode_libdir_flag_spec=' '
10364 allow_undefined_flag=unsupported
10365 # Tell ltmain to make .lib files, not .a files.
10366 libext=lib
10367 # Tell ltmain to make .dll files, not .so files.
10368 shrext_cmds=".dll"
10369 # FIXME: Setting linknames here is a bad hack.
10370 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10371 # The linker will automatically build a .lib file if we build a DLL.
10372 old_archive_from_new_cmds='true'
10373 # FIXME: Should let the user specify the lib program.
10374 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10375 fix_srcfile_path='`cygpath -w "$srcfile"`'
10376 enable_shared_with_static_runtimes=yes
10379 darwin* | rhapsody*)
10382 archive_cmds_need_lc=no
10383 hardcode_direct=no
10384 hardcode_automatic=yes
10385 hardcode_shlibpath_var=unsupported
10386 if test "$lt_cv_ld_force_load" = "yes"; then
10387 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\"`'
10388 else
10389 whole_archive_flag_spec=''
10391 link_all_deplibs=yes
10392 allow_undefined_flag="$_lt_dar_allow_undefined"
10393 case $cc_basename in
10394 ifort*) _lt_dar_can_shared=yes ;;
10395 *) _lt_dar_can_shared=$GCC ;;
10396 esac
10397 if test "$_lt_dar_can_shared" = "yes"; then
10398 output_verbose_link_cmd=func_echo_all
10399 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10400 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10401 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}"
10402 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}"
10404 else
10405 ld_shlibs=no
10410 dgux*)
10411 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10412 hardcode_libdir_flag_spec='-L$libdir'
10413 hardcode_shlibpath_var=no
10416 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10417 # support. Future versions do this automatically, but an explicit c++rt0.o
10418 # does not break anything, and helps significantly (at the cost of a little
10419 # extra space).
10420 freebsd2.2*)
10421 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10422 hardcode_libdir_flag_spec='-R$libdir'
10423 hardcode_direct=yes
10424 hardcode_shlibpath_var=no
10427 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10428 freebsd2.*)
10429 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10430 hardcode_direct=yes
10431 hardcode_minus_L=yes
10432 hardcode_shlibpath_var=no
10435 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10436 freebsd* | dragonfly*)
10437 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10438 hardcode_libdir_flag_spec='-R$libdir'
10439 hardcode_direct=yes
10440 hardcode_shlibpath_var=no
10443 hpux9*)
10444 if test "$GCC" = yes; then
10445 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'
10446 else
10447 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'
10449 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10450 hardcode_libdir_separator=:
10451 hardcode_direct=yes
10453 # hardcode_minus_L: Not really in the search PATH,
10454 # but as the default location of the library.
10455 hardcode_minus_L=yes
10456 export_dynamic_flag_spec='${wl}-E'
10459 hpux10*)
10460 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10461 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10462 else
10463 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10465 if test "$with_gnu_ld" = no; then
10466 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10467 hardcode_libdir_flag_spec_ld='+b $libdir'
10468 hardcode_libdir_separator=:
10469 hardcode_direct=yes
10470 hardcode_direct_absolute=yes
10471 export_dynamic_flag_spec='${wl}-E'
10472 # hardcode_minus_L: Not really in the search PATH,
10473 # but as the default location of the library.
10474 hardcode_minus_L=yes
10478 hpux11*)
10479 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10480 case $host_cpu in
10481 hppa*64*)
10482 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10484 ia64*)
10485 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10488 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10490 esac
10491 else
10492 case $host_cpu in
10493 hppa*64*)
10494 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10496 ia64*)
10497 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10501 # Older versions of the 11.00 compiler do not understand -b yet
10502 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10504 $as_echo_n "checking if $CC understands -b... " >&6; }
10505 if ${lt_cv_prog_compiler__b+:} false; then :
10506 $as_echo_n "(cached) " >&6
10507 else
10508 lt_cv_prog_compiler__b=no
10509 save_LDFLAGS="$LDFLAGS"
10510 LDFLAGS="$LDFLAGS -b"
10511 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10512 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10513 # The linker can only warn and ignore the option if not recognized
10514 # So say no if there are warnings
10515 if test -s conftest.err; then
10516 # Append any errors to the config.log.
10517 cat conftest.err 1>&5
10518 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10519 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10520 if diff conftest.exp conftest.er2 >/dev/null; then
10521 lt_cv_prog_compiler__b=yes
10523 else
10524 lt_cv_prog_compiler__b=yes
10527 $RM -r conftest*
10528 LDFLAGS="$save_LDFLAGS"
10531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10532 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10534 if test x"$lt_cv_prog_compiler__b" = xyes; then
10535 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10536 else
10537 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10541 esac
10543 if test "$with_gnu_ld" = no; then
10544 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10545 hardcode_libdir_separator=:
10547 case $host_cpu in
10548 hppa*64*|ia64*)
10549 hardcode_direct=no
10550 hardcode_shlibpath_var=no
10553 hardcode_direct=yes
10554 hardcode_direct_absolute=yes
10555 export_dynamic_flag_spec='${wl}-E'
10557 # hardcode_minus_L: Not really in the search PATH,
10558 # but as the default location of the library.
10559 hardcode_minus_L=yes
10561 esac
10565 irix5* | irix6* | nonstopux*)
10566 if test "$GCC" = yes; then
10567 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'
10568 # Try to use the -exported_symbol ld option, if it does not
10569 # work, assume that -exports_file does not work either and
10570 # implicitly export all symbols.
10571 save_LDFLAGS="$LDFLAGS"
10572 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10573 if test x$gcc_no_link = xyes; then
10574 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10577 /* end confdefs.h. */
10578 int foo(void) {}
10579 _ACEOF
10580 if ac_fn_c_try_link "$LINENO"; then :
10581 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'
10584 rm -f core conftest.err conftest.$ac_objext \
10585 conftest$ac_exeext conftest.$ac_ext
10586 LDFLAGS="$save_LDFLAGS"
10587 else
10588 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'
10589 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'
10591 archive_cmds_need_lc='no'
10592 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10593 hardcode_libdir_separator=:
10594 inherit_rpath=yes
10595 link_all_deplibs=yes
10598 netbsd*)
10599 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10600 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10601 else
10602 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10604 hardcode_libdir_flag_spec='-R$libdir'
10605 hardcode_direct=yes
10606 hardcode_shlibpath_var=no
10609 newsos6)
10610 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10611 hardcode_direct=yes
10612 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10613 hardcode_libdir_separator=:
10614 hardcode_shlibpath_var=no
10617 *nto* | *qnx*)
10620 openbsd*)
10621 if test -f /usr/libexec/ld.so; then
10622 hardcode_direct=yes
10623 hardcode_shlibpath_var=no
10624 hardcode_direct_absolute=yes
10625 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10626 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10627 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10628 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10629 export_dynamic_flag_spec='${wl}-E'
10630 else
10631 case $host_os in
10632 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10633 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10634 hardcode_libdir_flag_spec='-R$libdir'
10637 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10638 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10640 esac
10642 else
10643 ld_shlibs=no
10647 os2*)
10648 hardcode_libdir_flag_spec='-L$libdir'
10649 hardcode_minus_L=yes
10650 allow_undefined_flag=unsupported
10651 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'
10652 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10655 osf3*)
10656 if test "$GCC" = yes; then
10657 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10658 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'
10659 else
10660 allow_undefined_flag=' -expect_unresolved \*'
10661 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'
10663 archive_cmds_need_lc='no'
10664 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10665 hardcode_libdir_separator=:
10668 osf4* | osf5*) # as osf3* with the addition of -msym flag
10669 if test "$GCC" = yes; then
10670 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10671 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'
10672 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10673 else
10674 allow_undefined_flag=' -expect_unresolved \*'
10675 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'
10676 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~
10677 $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'
10679 # Both c and cxx compiler support -rpath directly
10680 hardcode_libdir_flag_spec='-rpath $libdir'
10682 archive_cmds_need_lc='no'
10683 hardcode_libdir_separator=:
10686 solaris*)
10687 no_undefined_flag=' -z defs'
10688 if test "$GCC" = yes; then
10689 wlarc='${wl}'
10690 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10691 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10692 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10693 else
10694 case `$CC -V 2>&1` in
10695 *"Compilers 5.0"*)
10696 wlarc=''
10697 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10698 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10699 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10702 wlarc='${wl}'
10703 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10704 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10705 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10707 esac
10709 hardcode_libdir_flag_spec='-R$libdir'
10710 hardcode_shlibpath_var=no
10711 case $host_os in
10712 solaris2.[0-5] | solaris2.[0-5].*) ;;
10714 # The compiler driver will combine and reorder linker options,
10715 # but understands `-z linker_flag'. GCC discards it without `$wl',
10716 # but is careful enough not to reorder.
10717 # Supported since Solaris 2.6 (maybe 2.5.1?)
10718 if test "$GCC" = yes; then
10719 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10720 else
10721 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10724 esac
10725 link_all_deplibs=yes
10728 sunos4*)
10729 if test "x$host_vendor" = xsequent; then
10730 # Use $CC to link under sequent, because it throws in some extra .o
10731 # files that make .init and .fini sections work.
10732 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10733 else
10734 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10736 hardcode_libdir_flag_spec='-L$libdir'
10737 hardcode_direct=yes
10738 hardcode_minus_L=yes
10739 hardcode_shlibpath_var=no
10742 sysv4)
10743 case $host_vendor in
10744 sni)
10745 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10746 hardcode_direct=yes # is this really true???
10748 siemens)
10749 ## LD is ld it makes a PLAMLIB
10750 ## CC just makes a GrossModule.
10751 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10752 reload_cmds='$CC -r -o $output$reload_objs'
10753 hardcode_direct=no
10755 motorola)
10756 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10757 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10759 esac
10760 runpath_var='LD_RUN_PATH'
10761 hardcode_shlibpath_var=no
10764 sysv4.3*)
10765 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10766 hardcode_shlibpath_var=no
10767 export_dynamic_flag_spec='-Bexport'
10770 sysv4*MP*)
10771 if test -d /usr/nec; then
10772 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10773 hardcode_shlibpath_var=no
10774 runpath_var=LD_RUN_PATH
10775 hardcode_runpath_var=yes
10776 ld_shlibs=yes
10780 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10781 no_undefined_flag='${wl}-z,text'
10782 archive_cmds_need_lc=no
10783 hardcode_shlibpath_var=no
10784 runpath_var='LD_RUN_PATH'
10786 if test "$GCC" = yes; then
10787 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10788 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10789 else
10790 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10791 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10795 sysv5* | sco3.2v5* | sco5v6*)
10796 # Note: We can NOT use -z defs as we might desire, because we do not
10797 # link with -lc, and that would cause any symbols used from libc to
10798 # always be unresolved, which means just about no library would
10799 # ever link correctly. If we're not using GNU ld we use -z text
10800 # though, which does catch some bad symbols but isn't as heavy-handed
10801 # as -z defs.
10802 no_undefined_flag='${wl}-z,text'
10803 allow_undefined_flag='${wl}-z,nodefs'
10804 archive_cmds_need_lc=no
10805 hardcode_shlibpath_var=no
10806 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10807 hardcode_libdir_separator=':'
10808 link_all_deplibs=yes
10809 export_dynamic_flag_spec='${wl}-Bexport'
10810 runpath_var='LD_RUN_PATH'
10812 if test "$GCC" = yes; then
10813 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10814 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10815 else
10816 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10817 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10821 uts4*)
10822 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10823 hardcode_libdir_flag_spec='-L$libdir'
10824 hardcode_shlibpath_var=no
10828 ld_shlibs=no
10830 esac
10832 if test x$host_vendor = xsni; then
10833 case $host in
10834 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10835 export_dynamic_flag_spec='${wl}-Blargedynsym'
10837 esac
10841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10842 $as_echo "$ld_shlibs" >&6; }
10843 test "$ld_shlibs" = no && can_build_shared=no
10845 with_gnu_ld=$with_gnu_ld
10862 # Do we need to explicitly link libc?
10864 case "x$archive_cmds_need_lc" in
10865 x|xyes)
10866 # Assume -lc should be added
10867 archive_cmds_need_lc=yes
10869 if test "$enable_shared" = yes && test "$GCC" = yes; then
10870 case $archive_cmds in
10871 *'~'*)
10872 # FIXME: we may have to deal with multi-command sequences.
10874 '$CC '*)
10875 # Test whether the compiler implicitly links with -lc since on some
10876 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10877 # to ld, don't add -lc before -lgcc.
10878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10879 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10880 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10881 $as_echo_n "(cached) " >&6
10882 else
10883 $RM conftest*
10884 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10886 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10887 (eval $ac_compile) 2>&5
10888 ac_status=$?
10889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10890 test $ac_status = 0; } 2>conftest.err; then
10891 soname=conftest
10892 lib=conftest
10893 libobjs=conftest.$ac_objext
10894 deplibs=
10895 wl=$lt_prog_compiler_wl
10896 pic_flag=$lt_prog_compiler_pic
10897 compiler_flags=-v
10898 linker_flags=-v
10899 verstring=
10900 output_objdir=.
10901 libname=conftest
10902 lt_save_allow_undefined_flag=$allow_undefined_flag
10903 allow_undefined_flag=
10904 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10905 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10906 ac_status=$?
10907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10908 test $ac_status = 0; }
10909 then
10910 lt_cv_archive_cmds_need_lc=no
10911 else
10912 lt_cv_archive_cmds_need_lc=yes
10914 allow_undefined_flag=$lt_save_allow_undefined_flag
10915 else
10916 cat conftest.err 1>&5
10918 $RM conftest*
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10922 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10923 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10925 esac
10928 esac
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11087 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11089 if test "$GCC" = yes; then
11090 case $host_os in
11091 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11092 *) lt_awk_arg="/^libraries:/" ;;
11093 esac
11094 case $host_os in
11095 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11096 *) lt_sed_strip_eq="s,=/,/,g" ;;
11097 esac
11098 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11099 case $lt_search_path_spec in
11100 *\;*)
11101 # if the path contains ";" then we assume it to be the separator
11102 # otherwise default to the standard path separator (i.e. ":") - it is
11103 # assumed that no part of a normal pathname contains ";" but that should
11104 # okay in the real world where ";" in dirpaths is itself problematic.
11105 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11108 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11110 esac
11111 # Ok, now we have the path, separated by spaces, we can step through it
11112 # and add multilib dir if necessary.
11113 lt_tmp_lt_search_path_spec=
11114 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11115 for lt_sys_path in $lt_search_path_spec; do
11116 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11117 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11118 else
11119 test -d "$lt_sys_path" && \
11120 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11122 done
11123 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11124 BEGIN {RS=" "; FS="/|\n";} {
11125 lt_foo="";
11126 lt_count=0;
11127 for (lt_i = NF; lt_i > 0; lt_i--) {
11128 if ($lt_i != "" && $lt_i != ".") {
11129 if ($lt_i == "..") {
11130 lt_count++;
11131 } else {
11132 if (lt_count == 0) {
11133 lt_foo="/" $lt_i lt_foo;
11134 } else {
11135 lt_count--;
11140 if (lt_foo != "") { lt_freq[lt_foo]++; }
11141 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11143 # AWK program above erroneously prepends '/' to C:/dos/paths
11144 # for these hosts.
11145 case $host_os in
11146 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11147 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11148 esac
11149 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11150 else
11151 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11153 library_names_spec=
11154 libname_spec='lib$name'
11155 soname_spec=
11156 shrext_cmds=".so"
11157 postinstall_cmds=
11158 postuninstall_cmds=
11159 finish_cmds=
11160 finish_eval=
11161 shlibpath_var=
11162 shlibpath_overrides_runpath=unknown
11163 version_type=none
11164 dynamic_linker="$host_os ld.so"
11165 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11166 need_lib_prefix=unknown
11167 hardcode_into_libs=no
11169 # when you set need_version to no, make sure it does not cause -set_version
11170 # flags to be left without arguments
11171 need_version=unknown
11173 case $host_os in
11174 aix3*)
11175 version_type=linux
11176 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11177 shlibpath_var=LIBPATH
11179 # AIX 3 has no versioning support, so we append a major version to the name.
11180 soname_spec='${libname}${release}${shared_ext}$major'
11183 aix[4-9]*)
11184 version_type=linux
11185 need_lib_prefix=no
11186 need_version=no
11187 hardcode_into_libs=yes
11188 if test "$host_cpu" = ia64; then
11189 # AIX 5 supports IA64
11190 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11191 shlibpath_var=LD_LIBRARY_PATH
11192 else
11193 # With GCC up to 2.95.x, collect2 would create an import file
11194 # for dependence libraries. The import file would start with
11195 # the line `#! .'. This would cause the generated library to
11196 # depend on `.', always an invalid library. This was fixed in
11197 # development snapshots of GCC prior to 3.0.
11198 case $host_os in
11199 aix4 | aix4.[01] | aix4.[01].*)
11200 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11201 echo ' yes '
11202 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11204 else
11205 can_build_shared=no
11208 esac
11209 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11210 # soname into executable. Probably we can add versioning support to
11211 # collect2, so additional links can be useful in future.
11212 if test "$aix_use_runtimelinking" = yes; then
11213 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11214 # instead of lib<name>.a to let people know that these are not
11215 # typical AIX shared libraries.
11216 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11217 else
11218 # We preserve .a as extension for shared libraries through AIX4.2
11219 # and later when we are not doing run time linking.
11220 library_names_spec='${libname}${release}.a $libname.a'
11221 soname_spec='${libname}${release}${shared_ext}$major'
11223 shlibpath_var=LIBPATH
11227 amigaos*)
11228 case $host_cpu in
11229 powerpc)
11230 # Since July 2007 AmigaOS4 officially supports .so libraries.
11231 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11232 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11234 m68k)
11235 library_names_spec='$libname.ixlibrary $libname.a'
11236 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11237 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'
11239 esac
11242 beos*)
11243 library_names_spec='${libname}${shared_ext}'
11244 dynamic_linker="$host_os ld.so"
11245 shlibpath_var=LIBRARY_PATH
11248 bsdi[45]*)
11249 version_type=linux
11250 need_version=no
11251 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11252 soname_spec='${libname}${release}${shared_ext}$major'
11253 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11254 shlibpath_var=LD_LIBRARY_PATH
11255 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11256 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11257 # the default ld.so.conf also contains /usr/contrib/lib and
11258 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11259 # libtool to hard-code these into programs
11262 cygwin* | mingw* | pw32* | cegcc*)
11263 version_type=windows
11264 shrext_cmds=".dll"
11265 need_version=no
11266 need_lib_prefix=no
11268 case $GCC,$host_os in
11269 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11270 library_names_spec='$libname.dll.a'
11271 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11272 postinstall_cmds='base_file=`basename \${file}`~
11273 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11274 dldir=$destdir/`dirname \$dlpath`~
11275 test -d \$dldir || mkdir -p \$dldir~
11276 $install_prog $dir/$dlname \$dldir/$dlname~
11277 chmod a+x \$dldir/$dlname~
11278 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11279 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11281 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11282 dlpath=$dir/\$dldll~
11283 $RM \$dlpath'
11284 shlibpath_overrides_runpath=yes
11286 case $host_os in
11287 cygwin*)
11288 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11289 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11291 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11293 mingw* | cegcc*)
11294 # MinGW DLLs use traditional 'lib' prefix
11295 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11297 pw32*)
11298 # pw32 DLLs use 'pw' prefix rather than 'lib'
11299 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11301 esac
11305 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11307 esac
11308 dynamic_linker='Win32 ld.exe'
11309 # FIXME: first we should search . and the directory the executable is in
11310 shlibpath_var=PATH
11313 darwin* | rhapsody*)
11314 dynamic_linker="$host_os dyld"
11315 version_type=darwin
11316 need_lib_prefix=no
11317 need_version=no
11318 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11319 soname_spec='${libname}${release}${major}$shared_ext'
11320 shlibpath_overrides_runpath=yes
11321 shlibpath_var=DYLD_LIBRARY_PATH
11322 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11324 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11325 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11328 dgux*)
11329 version_type=linux
11330 need_lib_prefix=no
11331 need_version=no
11332 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11333 soname_spec='${libname}${release}${shared_ext}$major'
11334 shlibpath_var=LD_LIBRARY_PATH
11337 freebsd* | dragonfly*)
11338 # DragonFly does not have aout. When/if they implement a new
11339 # versioning mechanism, adjust this.
11340 if test -x /usr/bin/objformat; then
11341 objformat=`/usr/bin/objformat`
11342 else
11343 case $host_os in
11344 freebsd[23].*) objformat=aout ;;
11345 *) objformat=elf ;;
11346 esac
11348 version_type=freebsd-$objformat
11349 case $version_type in
11350 freebsd-elf*)
11351 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11352 need_version=no
11353 need_lib_prefix=no
11355 freebsd-*)
11356 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11357 need_version=yes
11359 esac
11360 shlibpath_var=LD_LIBRARY_PATH
11361 case $host_os in
11362 freebsd2.*)
11363 shlibpath_overrides_runpath=yes
11365 freebsd3.[01]* | freebsdelf3.[01]*)
11366 shlibpath_overrides_runpath=yes
11367 hardcode_into_libs=yes
11369 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11370 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11371 shlibpath_overrides_runpath=no
11372 hardcode_into_libs=yes
11374 *) # from 4.6 on, and DragonFly
11375 shlibpath_overrides_runpath=yes
11376 hardcode_into_libs=yes
11378 esac
11381 haiku*)
11382 version_type=linux
11383 need_lib_prefix=no
11384 need_version=no
11385 dynamic_linker="$host_os runtime_loader"
11386 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11387 soname_spec='${libname}${release}${shared_ext}$major'
11388 shlibpath_var=LIBRARY_PATH
11389 shlibpath_overrides_runpath=yes
11390 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11391 hardcode_into_libs=yes
11394 hpux9* | hpux10* | hpux11*)
11395 # Give a soname corresponding to the major version so that dld.sl refuses to
11396 # link against other versions.
11397 version_type=sunos
11398 need_lib_prefix=no
11399 need_version=no
11400 case $host_cpu in
11401 ia64*)
11402 shrext_cmds='.so'
11403 hardcode_into_libs=yes
11404 dynamic_linker="$host_os dld.so"
11405 shlibpath_var=LD_LIBRARY_PATH
11406 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11407 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11408 soname_spec='${libname}${release}${shared_ext}$major'
11409 if test "X$HPUX_IA64_MODE" = X32; then
11410 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11411 else
11412 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11414 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11416 hppa*64*)
11417 shrext_cmds='.sl'
11418 hardcode_into_libs=yes
11419 dynamic_linker="$host_os dld.sl"
11420 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11421 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11422 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11423 soname_spec='${libname}${release}${shared_ext}$major'
11424 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11425 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11428 shrext_cmds='.sl'
11429 dynamic_linker="$host_os dld.sl"
11430 shlibpath_var=SHLIB_PATH
11431 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11432 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11433 soname_spec='${libname}${release}${shared_ext}$major'
11435 esac
11436 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11437 postinstall_cmds='chmod 555 $lib'
11438 # or fails outright, so override atomically:
11439 install_override_mode=555
11442 interix[3-9]*)
11443 version_type=linux
11444 need_lib_prefix=no
11445 need_version=no
11446 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11447 soname_spec='${libname}${release}${shared_ext}$major'
11448 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11449 shlibpath_var=LD_LIBRARY_PATH
11450 shlibpath_overrides_runpath=no
11451 hardcode_into_libs=yes
11454 irix5* | irix6* | nonstopux*)
11455 case $host_os in
11456 nonstopux*) version_type=nonstopux ;;
11458 if test "$lt_cv_prog_gnu_ld" = yes; then
11459 version_type=linux
11460 else
11461 version_type=irix
11462 fi ;;
11463 esac
11464 need_lib_prefix=no
11465 need_version=no
11466 soname_spec='${libname}${release}${shared_ext}$major'
11467 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11468 case $host_os in
11469 irix5* | nonstopux*)
11470 libsuff= shlibsuff=
11473 case $LD in # libtool.m4 will add one of these switches to LD
11474 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11475 libsuff= shlibsuff= libmagic=32-bit;;
11476 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11477 libsuff=32 shlibsuff=N32 libmagic=N32;;
11478 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11479 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11480 *) libsuff= shlibsuff= libmagic=never-match;;
11481 esac
11483 esac
11484 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11485 shlibpath_overrides_runpath=no
11486 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11487 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11488 hardcode_into_libs=yes
11491 # No shared lib support for Linux oldld, aout, or coff.
11492 linux*oldld* | linux*aout* | linux*coff*)
11493 dynamic_linker=no
11496 # This must be Linux ELF.
11498 # uclinux* changes (here and below) have been submitted to the libtool
11499 # project, but have not yet been accepted: they are GCC-local changes
11500 # for the time being. (See
11501 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
11502 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
11503 version_type=linux
11504 need_lib_prefix=no
11505 need_version=no
11506 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11507 soname_spec='${libname}${release}${shared_ext}$major'
11508 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11509 shlibpath_var=LD_LIBRARY_PATH
11510 shlibpath_overrides_runpath=no
11512 # Some binutils ld are patched to set DT_RUNPATH
11513 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11514 $as_echo_n "(cached) " >&6
11515 else
11516 lt_cv_shlibpath_overrides_runpath=no
11517 save_LDFLAGS=$LDFLAGS
11518 save_libdir=$libdir
11519 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11520 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11521 if test x$gcc_no_link = xyes; then
11522 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11525 /* end confdefs.h. */
11528 main ()
11532 return 0;
11534 _ACEOF
11535 if ac_fn_c_try_link "$LINENO"; then :
11536 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11537 lt_cv_shlibpath_overrides_runpath=yes
11540 rm -f core conftest.err conftest.$ac_objext \
11541 conftest$ac_exeext conftest.$ac_ext
11542 LDFLAGS=$save_LDFLAGS
11543 libdir=$save_libdir
11547 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11549 # This implies no fast_install, which is unacceptable.
11550 # Some rework will be needed to allow for fast_install
11551 # before this can be enabled.
11552 hardcode_into_libs=yes
11554 # Append ld.so.conf contents to the search path
11555 if test -f /etc/ld.so.conf; then
11556 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' ' '`
11557 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11560 # We used to test for /lib/ld.so.1 and disable shared libraries on
11561 # powerpc, because MkLinux only supported shared libraries with the
11562 # GNU dynamic linker. Since this was broken with cross compilers,
11563 # most powerpc-linux boxes support dynamic linking these days and
11564 # people can always --disable-shared, the test was removed, and we
11565 # assume the GNU/Linux dynamic linker is in use.
11566 dynamic_linker='GNU/Linux ld.so'
11569 netbsd*)
11570 version_type=sunos
11571 need_lib_prefix=no
11572 need_version=no
11573 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11574 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11575 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11576 dynamic_linker='NetBSD (a.out) ld.so'
11577 else
11578 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11579 soname_spec='${libname}${release}${shared_ext}$major'
11580 dynamic_linker='NetBSD ld.elf_so'
11582 shlibpath_var=LD_LIBRARY_PATH
11583 shlibpath_overrides_runpath=yes
11584 hardcode_into_libs=yes
11587 newsos6)
11588 version_type=linux
11589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11590 shlibpath_var=LD_LIBRARY_PATH
11591 shlibpath_overrides_runpath=yes
11594 *nto* | *qnx*)
11595 version_type=qnx
11596 need_lib_prefix=no
11597 need_version=no
11598 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11599 soname_spec='${libname}${release}${shared_ext}$major'
11600 shlibpath_var=LD_LIBRARY_PATH
11601 shlibpath_overrides_runpath=no
11602 hardcode_into_libs=yes
11603 dynamic_linker='ldqnx.so'
11606 openbsd*)
11607 version_type=sunos
11608 sys_lib_dlsearch_path_spec="/usr/lib"
11609 need_lib_prefix=no
11610 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11611 case $host_os in
11612 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11613 *) need_version=no ;;
11614 esac
11615 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11616 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11617 shlibpath_var=LD_LIBRARY_PATH
11618 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11619 case $host_os in
11620 openbsd2.[89] | openbsd2.[89].*)
11621 shlibpath_overrides_runpath=no
11624 shlibpath_overrides_runpath=yes
11626 esac
11627 else
11628 shlibpath_overrides_runpath=yes
11632 os2*)
11633 libname_spec='$name'
11634 shrext_cmds=".dll"
11635 need_lib_prefix=no
11636 library_names_spec='$libname${shared_ext} $libname.a'
11637 dynamic_linker='OS/2 ld.exe'
11638 shlibpath_var=LIBPATH
11641 osf3* | osf4* | osf5*)
11642 version_type=osf
11643 need_lib_prefix=no
11644 need_version=no
11645 soname_spec='${libname}${release}${shared_ext}$major'
11646 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11647 shlibpath_var=LD_LIBRARY_PATH
11648 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11649 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11652 rdos*)
11653 dynamic_linker=no
11656 solaris*)
11657 version_type=linux
11658 need_lib_prefix=no
11659 need_version=no
11660 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11661 soname_spec='${libname}${release}${shared_ext}$major'
11662 shlibpath_var=LD_LIBRARY_PATH
11663 shlibpath_overrides_runpath=yes
11664 hardcode_into_libs=yes
11665 # ldd complains unless libraries are executable
11666 postinstall_cmds='chmod +x $lib'
11669 sunos4*)
11670 version_type=sunos
11671 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11672 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11673 shlibpath_var=LD_LIBRARY_PATH
11674 shlibpath_overrides_runpath=yes
11675 if test "$with_gnu_ld" = yes; then
11676 need_lib_prefix=no
11678 need_version=yes
11681 sysv4 | sysv4.3*)
11682 version_type=linux
11683 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11684 soname_spec='${libname}${release}${shared_ext}$major'
11685 shlibpath_var=LD_LIBRARY_PATH
11686 case $host_vendor in
11687 sni)
11688 shlibpath_overrides_runpath=no
11689 need_lib_prefix=no
11690 runpath_var=LD_RUN_PATH
11692 siemens)
11693 need_lib_prefix=no
11695 motorola)
11696 need_lib_prefix=no
11697 need_version=no
11698 shlibpath_overrides_runpath=no
11699 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11701 esac
11704 sysv4*MP*)
11705 if test -d /usr/nec ;then
11706 version_type=linux
11707 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11708 soname_spec='$libname${shared_ext}.$major'
11709 shlibpath_var=LD_LIBRARY_PATH
11713 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11714 version_type=freebsd-elf
11715 need_lib_prefix=no
11716 need_version=no
11717 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11718 soname_spec='${libname}${release}${shared_ext}$major'
11719 shlibpath_var=LD_LIBRARY_PATH
11720 shlibpath_overrides_runpath=yes
11721 hardcode_into_libs=yes
11722 if test "$with_gnu_ld" = yes; then
11723 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11724 else
11725 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11726 case $host_os in
11727 sco3.2v5*)
11728 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11730 esac
11732 sys_lib_dlsearch_path_spec='/usr/lib'
11735 tpf*)
11736 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11737 version_type=linux
11738 need_lib_prefix=no
11739 need_version=no
11740 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11741 shlibpath_var=LD_LIBRARY_PATH
11742 shlibpath_overrides_runpath=no
11743 hardcode_into_libs=yes
11746 uts4*)
11747 version_type=linux
11748 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11749 soname_spec='${libname}${release}${shared_ext}$major'
11750 shlibpath_var=LD_LIBRARY_PATH
11753 # Shared libraries for VwWorks, >= 7 only at this stage
11754 # and (fpic) still incompatible with "large" code models
11755 # in a few configurations. Only for RTP mode in any case,
11756 # and upon explicit request at configure time.
11757 vxworks7*)
11758 dynamic_linker=no
11759 case ${with_multisubdir}-${enable_shared} in
11760 *large*)
11762 *mrtp*-yes)
11763 version_type=linux
11764 need_lib_prefix=no
11765 need_version=no
11766 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11767 soname_spec='${libname}${release}${shared_ext}$major'
11768 dynamic_linker="$host_os module_loader"
11770 esac
11773 dynamic_linker=no
11775 esac
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11777 $as_echo "$dynamic_linker" >&6; }
11778 test "$dynamic_linker" = no && can_build_shared=no
11780 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11781 if test "$GCC" = yes; then
11782 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11785 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11786 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11788 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11789 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11884 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11885 hardcode_action=
11886 if test -n "$hardcode_libdir_flag_spec" ||
11887 test -n "$runpath_var" ||
11888 test "X$hardcode_automatic" = "Xyes" ; then
11890 # We can hardcode non-existent directories.
11891 if test "$hardcode_direct" != no &&
11892 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11893 # have to relink, otherwise we might link with an installed library
11894 # when we should be linking with a yet-to-be-installed one
11895 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11896 test "$hardcode_minus_L" != no; then
11897 # Linking always hardcodes the temporary library directory.
11898 hardcode_action=relink
11899 else
11900 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11901 hardcode_action=immediate
11903 else
11904 # We cannot hardcode anything, or else we can only hardcode existing
11905 # directories.
11906 hardcode_action=unsupported
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11909 $as_echo "$hardcode_action" >&6; }
11911 if test "$hardcode_action" = relink ||
11912 test "$inherit_rpath" = yes; then
11913 # Fast installation is not supported
11914 enable_fast_install=no
11915 elif test "$shlibpath_overrides_runpath" = yes ||
11916 test "$enable_shared" = no; then
11917 # Fast installation is not necessary
11918 enable_fast_install=needless
11926 if test "x$enable_dlopen" != xyes; then
11927 enable_dlopen=unknown
11928 enable_dlopen_self=unknown
11929 enable_dlopen_self_static=unknown
11930 else
11931 lt_cv_dlopen=no
11932 lt_cv_dlopen_libs=
11934 case $host_os in
11935 beos*)
11936 lt_cv_dlopen="load_add_on"
11937 lt_cv_dlopen_libs=
11938 lt_cv_dlopen_self=yes
11941 mingw* | pw32* | cegcc*)
11942 lt_cv_dlopen="LoadLibrary"
11943 lt_cv_dlopen_libs=
11946 cygwin*)
11947 lt_cv_dlopen="dlopen"
11948 lt_cv_dlopen_libs=
11951 darwin*)
11952 # if libdl is installed we need to link against it
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11954 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11955 if ${ac_cv_lib_dl_dlopen+:} false; then :
11956 $as_echo_n "(cached) " >&6
11957 else
11958 ac_check_lib_save_LIBS=$LIBS
11959 LIBS="-ldl $LIBS"
11960 if test x$gcc_no_link = xyes; then
11961 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11964 /* end confdefs.h. */
11966 /* Override any GCC internal prototype to avoid an error.
11967 Use char because int might match the return type of a GCC
11968 builtin and then its argument prototype would still apply. */
11969 #ifdef __cplusplus
11970 extern "C"
11971 #endif
11972 char dlopen ();
11974 main ()
11976 return dlopen ();
11978 return 0;
11980 _ACEOF
11981 if ac_fn_c_try_link "$LINENO"; then :
11982 ac_cv_lib_dl_dlopen=yes
11983 else
11984 ac_cv_lib_dl_dlopen=no
11986 rm -f core conftest.err conftest.$ac_objext \
11987 conftest$ac_exeext conftest.$ac_ext
11988 LIBS=$ac_check_lib_save_LIBS
11990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11991 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11992 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11993 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11994 else
11996 lt_cv_dlopen="dyld"
11997 lt_cv_dlopen_libs=
11998 lt_cv_dlopen_self=yes
12005 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12006 if test "x$ac_cv_func_shl_load" = xyes; then :
12007 lt_cv_dlopen="shl_load"
12008 else
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12010 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12011 if ${ac_cv_lib_dld_shl_load+:} false; then :
12012 $as_echo_n "(cached) " >&6
12013 else
12014 ac_check_lib_save_LIBS=$LIBS
12015 LIBS="-ldld $LIBS"
12016 if test x$gcc_no_link = xyes; then
12017 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12020 /* end confdefs.h. */
12022 /* Override any GCC internal prototype to avoid an error.
12023 Use char because int might match the return type of a GCC
12024 builtin and then its argument prototype would still apply. */
12025 #ifdef __cplusplus
12026 extern "C"
12027 #endif
12028 char shl_load ();
12030 main ()
12032 return shl_load ();
12034 return 0;
12036 _ACEOF
12037 if ac_fn_c_try_link "$LINENO"; then :
12038 ac_cv_lib_dld_shl_load=yes
12039 else
12040 ac_cv_lib_dld_shl_load=no
12042 rm -f core conftest.err conftest.$ac_objext \
12043 conftest$ac_exeext conftest.$ac_ext
12044 LIBS=$ac_check_lib_save_LIBS
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12047 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12048 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12049 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12050 else
12051 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12052 if test "x$ac_cv_func_dlopen" = xyes; then :
12053 lt_cv_dlopen="dlopen"
12054 else
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12056 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12057 if ${ac_cv_lib_dl_dlopen+:} false; then :
12058 $as_echo_n "(cached) " >&6
12059 else
12060 ac_check_lib_save_LIBS=$LIBS
12061 LIBS="-ldl $LIBS"
12062 if test x$gcc_no_link = xyes; then
12063 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12066 /* end confdefs.h. */
12068 /* Override any GCC internal prototype to avoid an error.
12069 Use char because int might match the return type of a GCC
12070 builtin and then its argument prototype would still apply. */
12071 #ifdef __cplusplus
12072 extern "C"
12073 #endif
12074 char dlopen ();
12076 main ()
12078 return dlopen ();
12080 return 0;
12082 _ACEOF
12083 if ac_fn_c_try_link "$LINENO"; then :
12084 ac_cv_lib_dl_dlopen=yes
12085 else
12086 ac_cv_lib_dl_dlopen=no
12088 rm -f core conftest.err conftest.$ac_objext \
12089 conftest$ac_exeext conftest.$ac_ext
12090 LIBS=$ac_check_lib_save_LIBS
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12093 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12094 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12095 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12096 else
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12098 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12099 if ${ac_cv_lib_svld_dlopen+:} false; then :
12100 $as_echo_n "(cached) " >&6
12101 else
12102 ac_check_lib_save_LIBS=$LIBS
12103 LIBS="-lsvld $LIBS"
12104 if test x$gcc_no_link = xyes; then
12105 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12108 /* end confdefs.h. */
12110 /* Override any GCC internal prototype to avoid an error.
12111 Use char because int might match the return type of a GCC
12112 builtin and then its argument prototype would still apply. */
12113 #ifdef __cplusplus
12114 extern "C"
12115 #endif
12116 char dlopen ();
12118 main ()
12120 return dlopen ();
12122 return 0;
12124 _ACEOF
12125 if ac_fn_c_try_link "$LINENO"; then :
12126 ac_cv_lib_svld_dlopen=yes
12127 else
12128 ac_cv_lib_svld_dlopen=no
12130 rm -f core conftest.err conftest.$ac_objext \
12131 conftest$ac_exeext conftest.$ac_ext
12132 LIBS=$ac_check_lib_save_LIBS
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12135 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12136 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12137 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12138 else
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12140 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12141 if ${ac_cv_lib_dld_dld_link+:} false; then :
12142 $as_echo_n "(cached) " >&6
12143 else
12144 ac_check_lib_save_LIBS=$LIBS
12145 LIBS="-ldld $LIBS"
12146 if test x$gcc_no_link = xyes; then
12147 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12150 /* end confdefs.h. */
12152 /* Override any GCC internal prototype to avoid an error.
12153 Use char because int might match the return type of a GCC
12154 builtin and then its argument prototype would still apply. */
12155 #ifdef __cplusplus
12156 extern "C"
12157 #endif
12158 char dld_link ();
12160 main ()
12162 return dld_link ();
12164 return 0;
12166 _ACEOF
12167 if ac_fn_c_try_link "$LINENO"; then :
12168 ac_cv_lib_dld_dld_link=yes
12169 else
12170 ac_cv_lib_dld_dld_link=no
12172 rm -f core conftest.err conftest.$ac_objext \
12173 conftest$ac_exeext conftest.$ac_ext
12174 LIBS=$ac_check_lib_save_LIBS
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12177 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12178 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12179 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12198 esac
12200 if test "x$lt_cv_dlopen" != xno; then
12201 enable_dlopen=yes
12202 else
12203 enable_dlopen=no
12206 case $lt_cv_dlopen in
12207 dlopen)
12208 save_CPPFLAGS="$CPPFLAGS"
12209 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12211 save_LDFLAGS="$LDFLAGS"
12212 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12214 save_LIBS="$LIBS"
12215 LIBS="$lt_cv_dlopen_libs $LIBS"
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12218 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12219 if ${lt_cv_dlopen_self+:} false; then :
12220 $as_echo_n "(cached) " >&6
12221 else
12222 if test "$cross_compiling" = yes; then :
12223 lt_cv_dlopen_self=cross
12224 else
12225 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12226 lt_status=$lt_dlunknown
12227 cat > conftest.$ac_ext <<_LT_EOF
12228 #line 12228 "configure"
12229 #include "confdefs.h"
12231 #if HAVE_DLFCN_H
12232 #include <dlfcn.h>
12233 #endif
12235 #include <stdio.h>
12237 #ifdef RTLD_GLOBAL
12238 # define LT_DLGLOBAL RTLD_GLOBAL
12239 #else
12240 # ifdef DL_GLOBAL
12241 # define LT_DLGLOBAL DL_GLOBAL
12242 # else
12243 # define LT_DLGLOBAL 0
12244 # endif
12245 #endif
12247 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12248 find out it does not work in some platform. */
12249 #ifndef LT_DLLAZY_OR_NOW
12250 # ifdef RTLD_LAZY
12251 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12252 # else
12253 # ifdef DL_LAZY
12254 # define LT_DLLAZY_OR_NOW DL_LAZY
12255 # else
12256 # ifdef RTLD_NOW
12257 # define LT_DLLAZY_OR_NOW RTLD_NOW
12258 # else
12259 # ifdef DL_NOW
12260 # define LT_DLLAZY_OR_NOW DL_NOW
12261 # else
12262 # define LT_DLLAZY_OR_NOW 0
12263 # endif
12264 # endif
12265 # endif
12266 # endif
12267 #endif
12269 /* When -fvisbility=hidden is used, assume the code has been annotated
12270 correspondingly for the symbols needed. */
12271 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12272 void fnord () __attribute__((visibility("default")));
12273 #endif
12275 void fnord () { int i=42; }
12276 int main ()
12278 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12279 int status = $lt_dlunknown;
12281 if (self)
12283 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12284 else
12286 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12287 else puts (dlerror ());
12289 /* dlclose (self); */
12291 else
12292 puts (dlerror ());
12294 return status;
12296 _LT_EOF
12297 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12298 (eval $ac_link) 2>&5
12299 ac_status=$?
12300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12301 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12302 (./conftest; exit; ) >&5 2>/dev/null
12303 lt_status=$?
12304 case x$lt_status in
12305 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12306 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12307 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12308 esac
12309 else :
12310 # compilation failed
12311 lt_cv_dlopen_self=no
12314 rm -fr conftest*
12318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12319 $as_echo "$lt_cv_dlopen_self" >&6; }
12321 if test "x$lt_cv_dlopen_self" = xyes; then
12322 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12324 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12325 if ${lt_cv_dlopen_self_static+:} false; then :
12326 $as_echo_n "(cached) " >&6
12327 else
12328 if test "$cross_compiling" = yes; then :
12329 lt_cv_dlopen_self_static=cross
12330 else
12331 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12332 lt_status=$lt_dlunknown
12333 cat > conftest.$ac_ext <<_LT_EOF
12334 #line 12334 "configure"
12335 #include "confdefs.h"
12337 #if HAVE_DLFCN_H
12338 #include <dlfcn.h>
12339 #endif
12341 #include <stdio.h>
12343 #ifdef RTLD_GLOBAL
12344 # define LT_DLGLOBAL RTLD_GLOBAL
12345 #else
12346 # ifdef DL_GLOBAL
12347 # define LT_DLGLOBAL DL_GLOBAL
12348 # else
12349 # define LT_DLGLOBAL 0
12350 # endif
12351 #endif
12353 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12354 find out it does not work in some platform. */
12355 #ifndef LT_DLLAZY_OR_NOW
12356 # ifdef RTLD_LAZY
12357 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12358 # else
12359 # ifdef DL_LAZY
12360 # define LT_DLLAZY_OR_NOW DL_LAZY
12361 # else
12362 # ifdef RTLD_NOW
12363 # define LT_DLLAZY_OR_NOW RTLD_NOW
12364 # else
12365 # ifdef DL_NOW
12366 # define LT_DLLAZY_OR_NOW DL_NOW
12367 # else
12368 # define LT_DLLAZY_OR_NOW 0
12369 # endif
12370 # endif
12371 # endif
12372 # endif
12373 #endif
12375 /* When -fvisbility=hidden is used, assume the code has been annotated
12376 correspondingly for the symbols needed. */
12377 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12378 void fnord () __attribute__((visibility("default")));
12379 #endif
12381 void fnord () { int i=42; }
12382 int main ()
12384 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12385 int status = $lt_dlunknown;
12387 if (self)
12389 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12390 else
12392 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12393 else puts (dlerror ());
12395 /* dlclose (self); */
12397 else
12398 puts (dlerror ());
12400 return status;
12402 _LT_EOF
12403 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12404 (eval $ac_link) 2>&5
12405 ac_status=$?
12406 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12407 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12408 (./conftest; exit; ) >&5 2>/dev/null
12409 lt_status=$?
12410 case x$lt_status in
12411 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12412 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12413 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12414 esac
12415 else :
12416 # compilation failed
12417 lt_cv_dlopen_self_static=no
12420 rm -fr conftest*
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12425 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12428 CPPFLAGS="$save_CPPFLAGS"
12429 LDFLAGS="$save_LDFLAGS"
12430 LIBS="$save_LIBS"
12432 esac
12434 case $lt_cv_dlopen_self in
12435 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12436 *) enable_dlopen_self=unknown ;;
12437 esac
12439 case $lt_cv_dlopen_self_static in
12440 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12441 *) enable_dlopen_self_static=unknown ;;
12442 esac
12461 striplib=
12462 old_striplib=
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12464 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12465 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12466 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12467 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12469 $as_echo "yes" >&6; }
12470 else
12471 # FIXME - insert some real tests, host_os isn't really good enough
12472 case $host_os in
12473 darwin*)
12474 if test -n "$STRIP" ; then
12475 striplib="$STRIP -x"
12476 old_striplib="$STRIP -S"
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12478 $as_echo "yes" >&6; }
12479 else
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12481 $as_echo "no" >&6; }
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12486 $as_echo "no" >&6; }
12488 esac
12502 # Report which library types will actually be built
12503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12504 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12506 $as_echo "$can_build_shared" >&6; }
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12509 $as_echo_n "checking whether to build shared libraries... " >&6; }
12510 test "$can_build_shared" = "no" && enable_shared=no
12512 # On AIX, shared libraries and static libraries use the same namespace, and
12513 # are all built from PIC.
12514 case $host_os in
12515 aix3*)
12516 test "$enable_shared" = yes && enable_static=no
12517 if test -n "$RANLIB"; then
12518 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12519 postinstall_cmds='$RANLIB $lib'
12523 aix[4-9]*)
12524 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12525 test "$enable_shared" = yes && enable_static=no
12528 esac
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12530 $as_echo "$enable_shared" >&6; }
12532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12533 $as_echo_n "checking whether to build static libraries... " >&6; }
12534 # Make sure either enable_shared or enable_static is yes.
12535 test "$enable_shared" = yes || enable_static=yes
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12537 $as_echo "$enable_static" >&6; }
12543 ac_ext=c
12544 ac_cpp='$CPP $CPPFLAGS'
12545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12549 CC="$lt_save_CC"
12551 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12552 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12553 (test "X$CXX" != "Xg++"))) ; then
12554 ac_ext=cpp
12555 ac_cpp='$CXXCPP $CPPFLAGS'
12556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12560 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12561 if test -z "$CXXCPP"; then
12562 if ${ac_cv_prog_CXXCPP+:} false; then :
12563 $as_echo_n "(cached) " >&6
12564 else
12565 # Double quotes because CXXCPP needs to be expanded
12566 for CXXCPP in "$CXX -E" "/lib/cpp"
12568 ac_preproc_ok=false
12569 for ac_cxx_preproc_warn_flag in '' yes
12571 # Use a header file that comes with gcc, so configuring glibc
12572 # with a fresh cross-compiler works.
12573 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12574 # <limits.h> exists even on freestanding compilers.
12575 # On the NeXT, cc -E runs the code through the compiler's parser,
12576 # not just through cpp. "Syntax error" is here to catch this case.
12577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12578 /* end confdefs.h. */
12579 #ifdef __STDC__
12580 # include <limits.h>
12581 #else
12582 # include <assert.h>
12583 #endif
12584 Syntax error
12585 _ACEOF
12586 if ac_fn_cxx_try_cpp "$LINENO"; then :
12588 else
12589 # Broken: fails on valid input.
12590 continue
12592 rm -f conftest.err conftest.i conftest.$ac_ext
12594 # OK, works on sane cases. Now check whether nonexistent headers
12595 # can be detected and how.
12596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12597 /* end confdefs.h. */
12598 #include <ac_nonexistent.h>
12599 _ACEOF
12600 if ac_fn_cxx_try_cpp "$LINENO"; then :
12601 # Broken: success on invalid input.
12602 continue
12603 else
12604 # Passes both tests.
12605 ac_preproc_ok=:
12606 break
12608 rm -f conftest.err conftest.i conftest.$ac_ext
12610 done
12611 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12612 rm -f conftest.i conftest.err conftest.$ac_ext
12613 if $ac_preproc_ok; then :
12614 break
12617 done
12618 ac_cv_prog_CXXCPP=$CXXCPP
12621 CXXCPP=$ac_cv_prog_CXXCPP
12622 else
12623 ac_cv_prog_CXXCPP=$CXXCPP
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12626 $as_echo "$CXXCPP" >&6; }
12627 ac_preproc_ok=false
12628 for ac_cxx_preproc_warn_flag in '' yes
12630 # Use a header file that comes with gcc, so configuring glibc
12631 # with a fresh cross-compiler works.
12632 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12633 # <limits.h> exists even on freestanding compilers.
12634 # On the NeXT, cc -E runs the code through the compiler's parser,
12635 # not just through cpp. "Syntax error" is here to catch this case.
12636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12637 /* end confdefs.h. */
12638 #ifdef __STDC__
12639 # include <limits.h>
12640 #else
12641 # include <assert.h>
12642 #endif
12643 Syntax error
12644 _ACEOF
12645 if ac_fn_cxx_try_cpp "$LINENO"; then :
12647 else
12648 # Broken: fails on valid input.
12649 continue
12651 rm -f conftest.err conftest.i conftest.$ac_ext
12653 # OK, works on sane cases. Now check whether nonexistent headers
12654 # can be detected and how.
12655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12656 /* end confdefs.h. */
12657 #include <ac_nonexistent.h>
12658 _ACEOF
12659 if ac_fn_cxx_try_cpp "$LINENO"; then :
12660 # Broken: success on invalid input.
12661 continue
12662 else
12663 # Passes both tests.
12664 ac_preproc_ok=:
12665 break
12667 rm -f conftest.err conftest.i conftest.$ac_ext
12669 done
12670 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12671 rm -f conftest.i conftest.err conftest.$ac_ext
12672 if $ac_preproc_ok; then :
12674 else
12675 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12676 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12677 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12678 See \`config.log' for more details" "$LINENO" 5; }
12681 ac_ext=c
12682 ac_cpp='$CPP $CPPFLAGS'
12683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12687 else
12688 _lt_caught_CXX_error=yes
12691 ac_ext=cpp
12692 ac_cpp='$CXXCPP $CPPFLAGS'
12693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12697 archive_cmds_need_lc_CXX=no
12698 allow_undefined_flag_CXX=
12699 always_export_symbols_CXX=no
12700 archive_expsym_cmds_CXX=
12701 compiler_needs_object_CXX=no
12702 export_dynamic_flag_spec_CXX=
12703 hardcode_direct_CXX=no
12704 hardcode_direct_absolute_CXX=no
12705 hardcode_libdir_flag_spec_CXX=
12706 hardcode_libdir_flag_spec_ld_CXX=
12707 hardcode_libdir_separator_CXX=
12708 hardcode_minus_L_CXX=no
12709 hardcode_shlibpath_var_CXX=unsupported
12710 hardcode_automatic_CXX=no
12711 inherit_rpath_CXX=no
12712 module_cmds_CXX=
12713 module_expsym_cmds_CXX=
12714 link_all_deplibs_CXX=unknown
12715 old_archive_cmds_CXX=$old_archive_cmds
12716 reload_flag_CXX=$reload_flag
12717 reload_cmds_CXX=$reload_cmds
12718 no_undefined_flag_CXX=
12719 whole_archive_flag_spec_CXX=
12720 enable_shared_with_static_runtimes_CXX=no
12722 # Source file extension for C++ test sources.
12723 ac_ext=cpp
12725 # Object file extension for compiled C++ test sources.
12726 objext=o
12727 objext_CXX=$objext
12729 # No sense in running all these tests if we already determined that
12730 # the CXX compiler isn't working. Some variables (like enable_shared)
12731 # are currently assumed to apply to all compilers on this platform,
12732 # and will be corrupted by setting them based on a non-working compiler.
12733 if test "$_lt_caught_CXX_error" != yes; then
12734 # Code to be used in simple compile tests
12735 lt_simple_compile_test_code="int some_variable = 0;"
12737 # Code to be used in simple link tests
12738 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12740 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12747 # If no C compiler was specified, use CC.
12748 LTCC=${LTCC-"$CC"}
12750 # If no C compiler flags were specified, use CFLAGS.
12751 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12753 # Allow CC to be a program name with arguments.
12754 compiler=$CC
12757 # save warnings/boilerplate of simple test code
12758 ac_outfile=conftest.$ac_objext
12759 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12760 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12761 _lt_compiler_boilerplate=`cat conftest.err`
12762 $RM conftest*
12764 ac_outfile=conftest.$ac_objext
12765 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12766 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12767 _lt_linker_boilerplate=`cat conftest.err`
12768 $RM -r conftest*
12771 # Allow CC to be a program name with arguments.
12772 lt_save_CC=$CC
12773 lt_save_LD=$LD
12774 lt_save_GCC=$GCC
12775 GCC=$GXX
12776 lt_save_with_gnu_ld=$with_gnu_ld
12777 lt_save_path_LD=$lt_cv_path_LD
12778 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12779 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12780 else
12781 $as_unset lt_cv_prog_gnu_ld
12783 if test -n "${lt_cv_path_LDCXX+set}"; then
12784 lt_cv_path_LD=$lt_cv_path_LDCXX
12785 else
12786 $as_unset lt_cv_path_LD
12788 test -z "${LDCXX+set}" || LD=$LDCXX
12789 CC=${CXX-"c++"}
12790 compiler=$CC
12791 compiler_CXX=$CC
12792 for cc_temp in $compiler""; do
12793 case $cc_temp in
12794 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12795 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12796 \-*) ;;
12797 *) break;;
12798 esac
12799 done
12800 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12803 if test -n "$compiler"; then
12804 # We don't want -fno-exception when compiling C++ code, so set the
12805 # no_builtin_flag separately
12806 if test "$GXX" = yes; then
12807 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12808 else
12809 lt_prog_compiler_no_builtin_flag_CXX=
12812 if test "$GXX" = yes; then
12813 # Set up default GNU C++ configuration
12817 # Check whether --with-gnu-ld was given.
12818 if test "${with_gnu_ld+set}" = set; then :
12819 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12820 else
12821 with_gnu_ld=no
12824 ac_prog=ld
12825 if test "$GCC" = yes; then
12826 # Check if gcc -print-prog-name=ld gives a path.
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12828 $as_echo_n "checking for ld used by $CC... " >&6; }
12829 case $host in
12830 *-*-mingw*)
12831 # gcc leaves a trailing carriage return which upsets mingw
12832 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12834 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12835 esac
12836 case $ac_prog in
12837 # Accept absolute paths.
12838 [\\/]* | ?:[\\/]*)
12839 re_direlt='/[^/][^/]*/\.\./'
12840 # Canonicalize the pathname of ld
12841 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12842 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12843 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12844 done
12845 test -z "$LD" && LD="$ac_prog"
12848 # If it fails, then pretend we aren't using GCC.
12849 ac_prog=ld
12852 # If it is relative, then search for the first ld in PATH.
12853 with_gnu_ld=unknown
12855 esac
12856 elif test "$with_gnu_ld" = yes; then
12857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12858 $as_echo_n "checking for GNU ld... " >&6; }
12859 else
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12861 $as_echo_n "checking for non-GNU ld... " >&6; }
12863 if ${lt_cv_path_LD+:} false; then :
12864 $as_echo_n "(cached) " >&6
12865 else
12866 if test -z "$LD"; then
12867 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12868 for ac_dir in $PATH; do
12869 IFS="$lt_save_ifs"
12870 test -z "$ac_dir" && ac_dir=.
12871 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12872 lt_cv_path_LD="$ac_dir/$ac_prog"
12873 # Check to see if the program is GNU ld. I'd rather use --version,
12874 # but apparently some variants of GNU ld only accept -v.
12875 # Break only if it was the GNU/non-GNU ld that we prefer.
12876 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12877 *GNU* | *'with BFD'*)
12878 test "$with_gnu_ld" != no && break
12881 test "$with_gnu_ld" != yes && break
12883 esac
12885 done
12886 IFS="$lt_save_ifs"
12887 else
12888 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12892 LD="$lt_cv_path_LD"
12893 if test -n "$LD"; then
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12895 $as_echo "$LD" >&6; }
12896 else
12897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12898 $as_echo "no" >&6; }
12900 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12902 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12903 if ${lt_cv_prog_gnu_ld+:} false; then :
12904 $as_echo_n "(cached) " >&6
12905 else
12906 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12907 case `$LD -v 2>&1 </dev/null` in
12908 *GNU* | *'with BFD'*)
12909 lt_cv_prog_gnu_ld=yes
12912 lt_cv_prog_gnu_ld=no
12914 esac
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12917 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12918 with_gnu_ld=$lt_cv_prog_gnu_ld
12926 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12927 # archiving commands below assume that GNU ld is being used.
12928 if test "$with_gnu_ld" = yes; then
12929 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12930 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'
12932 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12933 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12935 # If archive_cmds runs LD, not CC, wlarc should be empty
12936 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12937 # investigate it a little bit more. (MM)
12938 wlarc='${wl}'
12940 # ancient GNU ld didn't support --whole-archive et. al.
12941 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12942 $GREP 'no-whole-archive' > /dev/null; then
12943 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12944 else
12945 whole_archive_flag_spec_CXX=
12947 else
12948 with_gnu_ld=no
12949 wlarc=
12951 # A generic and very simple default shared library creation
12952 # command for GNU C++ for the case where it uses the native
12953 # linker, instead of GNU ld. If possible, this setting should
12954 # overridden to take advantage of the native linker features on
12955 # the platform it is being used on.
12956 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12959 # Commands to make compiler produce verbose output that lists
12960 # what "hidden" libraries, object files and flags are used when
12961 # linking a shared library.
12962 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12964 else
12965 GXX=no
12966 with_gnu_ld=no
12967 wlarc=
12970 # PORTME: fill in a description of your system's C++ link characteristics
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12972 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12973 ld_shlibs_CXX=yes
12974 case $host_os in
12975 aix3*)
12976 # FIXME: insert proper C++ library support
12977 ld_shlibs_CXX=no
12979 aix[4-9]*)
12980 if test "$host_cpu" = ia64; then
12981 # On IA64, the linker does run time linking by default, so we don't
12982 # have to do anything special.
12983 aix_use_runtimelinking=no
12984 exp_sym_flag='-Bexport'
12985 no_entry_flag=""
12986 else
12987 aix_use_runtimelinking=no
12989 # Test if we are trying to use run time linking or normal
12990 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12991 # need to do runtime linking.
12992 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12993 for ld_flag in $LDFLAGS; do
12994 case $ld_flag in
12995 *-brtl*)
12996 aix_use_runtimelinking=yes
12997 break
12999 esac
13000 done
13002 esac
13004 exp_sym_flag='-bexport'
13005 no_entry_flag='-bnoentry'
13008 # When large executables or shared objects are built, AIX ld can
13009 # have problems creating the table of contents. If linking a library
13010 # or program results in "error TOC overflow" add -mminimal-toc to
13011 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13012 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13014 archive_cmds_CXX=''
13015 hardcode_direct_CXX=yes
13016 hardcode_direct_absolute_CXX=yes
13017 hardcode_libdir_separator_CXX=':'
13018 link_all_deplibs_CXX=yes
13019 file_list_spec_CXX='${wl}-f,'
13021 if test "$GXX" = yes; then
13022 case $host_os in aix4.[012]|aix4.[012].*)
13023 # We only want to do this on AIX 4.2 and lower, the check
13024 # below for broken collect2 doesn't work under 4.3+
13025 collect2name=`${CC} -print-prog-name=collect2`
13026 if test -f "$collect2name" &&
13027 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13028 then
13029 # We have reworked collect2
13031 else
13032 # We have old collect2
13033 hardcode_direct_CXX=unsupported
13034 # It fails to find uninstalled libraries when the uninstalled
13035 # path is not listed in the libpath. Setting hardcode_minus_L
13036 # to unsupported forces relinking
13037 hardcode_minus_L_CXX=yes
13038 hardcode_libdir_flag_spec_CXX='-L$libdir'
13039 hardcode_libdir_separator_CXX=
13041 esac
13042 shared_flag='-shared'
13043 if test "$aix_use_runtimelinking" = yes; then
13044 shared_flag="$shared_flag "'${wl}-G'
13046 else
13047 # not using gcc
13048 if test "$host_cpu" = ia64; then
13049 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13050 # chokes on -Wl,-G. The following line is correct:
13051 shared_flag='-G'
13052 else
13053 if test "$aix_use_runtimelinking" = yes; then
13054 shared_flag='${wl}-G'
13055 else
13056 shared_flag='${wl}-bM:SRE'
13061 export_dynamic_flag_spec_CXX='${wl}-bexpall'
13062 # It seems that -bexpall does not export symbols beginning with
13063 # underscore (_), so it is better to generate a list of symbols to
13064 # export.
13065 always_export_symbols_CXX=yes
13066 if test "$aix_use_runtimelinking" = yes; then
13067 # Warning - without using the other runtime loading flags (-brtl),
13068 # -berok will link without error, but may produce a broken library.
13069 allow_undefined_flag_CXX='-berok'
13070 # Determine the default libpath from the value encoded in an empty
13071 # executable.
13072 if test x$gcc_no_link = xyes; then
13073 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13076 /* end confdefs.h. */
13079 main ()
13083 return 0;
13085 _ACEOF
13086 if ac_fn_cxx_try_link "$LINENO"; then :
13088 lt_aix_libpath_sed='
13089 /Import File Strings/,/^$/ {
13090 /^0/ {
13091 s/^0 *\(.*\)$/\1/
13095 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13096 # Check for a 64-bit object if we didn't find anything.
13097 if test -z "$aix_libpath"; then
13098 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13101 rm -f core conftest.err conftest.$ac_objext \
13102 conftest$ac_exeext conftest.$ac_ext
13103 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13105 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13107 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"
13108 else
13109 if test "$host_cpu" = ia64; then
13110 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13111 allow_undefined_flag_CXX="-z nodefs"
13112 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"
13113 else
13114 # Determine the default libpath from the value encoded in an
13115 # empty executable.
13116 if test x$gcc_no_link = xyes; then
13117 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13120 /* end confdefs.h. */
13123 main ()
13127 return 0;
13129 _ACEOF
13130 if ac_fn_cxx_try_link "$LINENO"; then :
13132 lt_aix_libpath_sed='
13133 /Import File Strings/,/^$/ {
13134 /^0/ {
13135 s/^0 *\(.*\)$/\1/
13139 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13140 # Check for a 64-bit object if we didn't find anything.
13141 if test -z "$aix_libpath"; then
13142 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13145 rm -f core conftest.err conftest.$ac_objext \
13146 conftest$ac_exeext conftest.$ac_ext
13147 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13149 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13150 # Warning - without using the other run time loading flags,
13151 # -berok will link without error, but may produce a broken library.
13152 no_undefined_flag_CXX=' ${wl}-bernotok'
13153 allow_undefined_flag_CXX=' ${wl}-berok'
13154 if test "$with_gnu_ld" = yes; then
13155 # We only use this code for GNU lds that support --whole-archive.
13156 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13157 else
13158 # Exported symbols can be pulled into shared objects from archives
13159 whole_archive_flag_spec_CXX='$convenience'
13161 archive_cmds_need_lc_CXX=yes
13162 # This is similar to how AIX traditionally builds its shared
13163 # libraries.
13164 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'
13169 beos*)
13170 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13171 allow_undefined_flag_CXX=unsupported
13172 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13173 # support --undefined. This deserves some investigation. FIXME
13174 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13175 else
13176 ld_shlibs_CXX=no
13180 chorus*)
13181 case $cc_basename in
13183 # FIXME: insert proper C++ library support
13184 ld_shlibs_CXX=no
13186 esac
13189 cygwin* | mingw* | pw32* | cegcc*)
13190 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13191 # as there is no search path for DLLs.
13192 hardcode_libdir_flag_spec_CXX='-L$libdir'
13193 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13194 allow_undefined_flag_CXX=unsupported
13195 always_export_symbols_CXX=no
13196 enable_shared_with_static_runtimes_CXX=yes
13198 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13199 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'
13200 # If the export-symbols file already is a .def file (1st line
13201 # is EXPORTS), use it as is; otherwise, prepend...
13202 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13203 cp $export_symbols $output_objdir/$soname.def;
13204 else
13205 echo EXPORTS > $output_objdir/$soname.def;
13206 cat $export_symbols >> $output_objdir/$soname.def;
13208 $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'
13209 else
13210 ld_shlibs_CXX=no
13213 darwin* | rhapsody*)
13216 archive_cmds_need_lc_CXX=no
13217 hardcode_direct_CXX=no
13218 hardcode_automatic_CXX=yes
13219 hardcode_shlibpath_var_CXX=unsupported
13220 if test "$lt_cv_ld_force_load" = "yes"; then
13221 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\"`'
13222 else
13223 whole_archive_flag_spec_CXX=''
13225 link_all_deplibs_CXX=yes
13226 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13227 case $cc_basename in
13228 ifort*) _lt_dar_can_shared=yes ;;
13229 *) _lt_dar_can_shared=$GCC ;;
13230 esac
13231 if test "$_lt_dar_can_shared" = "yes"; then
13232 output_verbose_link_cmd=func_echo_all
13233 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}"
13234 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13235 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}"
13236 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}"
13237 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13238 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}"
13239 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}"
13242 else
13243 ld_shlibs_CXX=no
13248 dgux*)
13249 case $cc_basename in
13250 ec++*)
13251 # FIXME: insert proper C++ library support
13252 ld_shlibs_CXX=no
13254 ghcx*)
13255 # Green Hills C++ Compiler
13256 # FIXME: insert proper C++ library support
13257 ld_shlibs_CXX=no
13260 # FIXME: insert proper C++ library support
13261 ld_shlibs_CXX=no
13263 esac
13266 freebsd2.*)
13267 # C++ shared libraries reported to be fairly broken before
13268 # switch to ELF
13269 ld_shlibs_CXX=no
13272 freebsd-elf*)
13273 archive_cmds_need_lc_CXX=no
13276 freebsd* | dragonfly*)
13277 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13278 # conventions
13279 ld_shlibs_CXX=yes
13282 gnu*)
13285 haiku*)
13286 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13287 link_all_deplibs_CXX=yes
13290 hpux9*)
13291 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13292 hardcode_libdir_separator_CXX=:
13293 export_dynamic_flag_spec_CXX='${wl}-E'
13294 hardcode_direct_CXX=yes
13295 hardcode_minus_L_CXX=yes # Not in the search PATH,
13296 # but as the default
13297 # location of the library.
13299 case $cc_basename in
13300 CC*)
13301 # FIXME: insert proper C++ library support
13302 ld_shlibs_CXX=no
13304 aCC*)
13305 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'
13306 # Commands to make compiler produce verbose output that lists
13307 # what "hidden" libraries, object files and flags are used when
13308 # linking a shared library.
13310 # There doesn't appear to be a way to prevent this compiler from
13311 # explicitly linking system object files so we need to strip them
13312 # from the output so that they don't get included in the library
13313 # dependencies.
13314 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"'
13317 if test "$GXX" = yes; then
13318 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'
13319 else
13320 # FIXME: insert proper C++ library support
13321 ld_shlibs_CXX=no
13324 esac
13327 hpux10*|hpux11*)
13328 if test $with_gnu_ld = no; then
13329 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13330 hardcode_libdir_separator_CXX=:
13332 case $host_cpu in
13333 hppa*64*|ia64*)
13336 export_dynamic_flag_spec_CXX='${wl}-E'
13338 esac
13340 case $host_cpu in
13341 hppa*64*|ia64*)
13342 hardcode_direct_CXX=no
13343 hardcode_shlibpath_var_CXX=no
13346 hardcode_direct_CXX=yes
13347 hardcode_direct_absolute_CXX=yes
13348 hardcode_minus_L_CXX=yes # Not in the search PATH,
13349 # but as the default
13350 # location of the library.
13352 esac
13354 case $cc_basename in
13355 CC*)
13356 # FIXME: insert proper C++ library support
13357 ld_shlibs_CXX=no
13359 aCC*)
13360 case $host_cpu in
13361 hppa*64*)
13362 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13364 ia64*)
13365 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13368 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13370 esac
13371 # Commands to make compiler produce verbose output that lists
13372 # what "hidden" libraries, object files and flags are used when
13373 # linking a shared library.
13375 # There doesn't appear to be a way to prevent this compiler from
13376 # explicitly linking system object files so we need to strip them
13377 # from the output so that they don't get included in the library
13378 # dependencies.
13379 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"'
13382 if test "$GXX" = yes; then
13383 if test $with_gnu_ld = no; then
13384 case $host_cpu in
13385 hppa*64*)
13386 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13388 ia64*)
13389 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13392 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'
13394 esac
13396 else
13397 # FIXME: insert proper C++ library support
13398 ld_shlibs_CXX=no
13401 esac
13404 interix[3-9]*)
13405 hardcode_direct_CXX=no
13406 hardcode_shlibpath_var_CXX=no
13407 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13408 export_dynamic_flag_spec_CXX='${wl}-E'
13409 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13410 # Instead, shared libraries are loaded at an image base (0x10000000 by
13411 # default) and relocated if they conflict, which is a slow very memory
13412 # consuming and fragmenting process. To avoid this, we pick a random,
13413 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13414 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13415 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'
13416 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'
13418 irix5* | irix6*)
13419 case $cc_basename in
13420 CC*)
13421 # SGI C++
13422 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'
13424 # Archives containing C++ object files must be created using
13425 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13426 # necessary to make sure instantiated templates are included
13427 # in the archive.
13428 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13431 if test "$GXX" = yes; then
13432 if test "$with_gnu_ld" = no; then
13433 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'
13434 else
13435 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'
13438 link_all_deplibs_CXX=yes
13440 esac
13441 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13442 hardcode_libdir_separator_CXX=:
13443 inherit_rpath_CXX=yes
13446 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13447 case $cc_basename in
13448 KCC*)
13449 # Kuck and Associates, Inc. (KAI) C++ Compiler
13451 # KCC will only create a shared library if the output file
13452 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13453 # to its proper name (with version) after linking.
13454 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'
13455 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'
13456 # Commands to make compiler produce verbose output that lists
13457 # what "hidden" libraries, object files and flags are used when
13458 # linking a shared library.
13460 # There doesn't appear to be a way to prevent this compiler from
13461 # explicitly linking system object files so we need to strip them
13462 # from the output so that they don't get included in the library
13463 # dependencies.
13464 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"'
13466 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13467 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13469 # Archives containing C++ object files must be created using
13470 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13471 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13473 icpc* | ecpc* )
13474 # Intel C++
13475 with_gnu_ld=yes
13476 # version 8.0 and above of icpc choke on multiply defined symbols
13477 # if we add $predep_objects and $postdep_objects, however 7.1 and
13478 # earlier do not add the objects themselves.
13479 case `$CC -V 2>&1` in
13480 *"Version 7."*)
13481 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13482 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'
13484 *) # Version 8.0 or newer
13485 tmp_idyn=
13486 case $host_cpu in
13487 ia64*) tmp_idyn=' -i_dynamic';;
13488 esac
13489 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13490 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'
13492 esac
13493 archive_cmds_need_lc_CXX=no
13494 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13495 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13496 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13498 pgCC* | pgcpp*)
13499 # Portland Group C++ compiler
13500 case `$CC -V` in
13501 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13502 prelink_cmds_CXX='tpldir=Template.dir~
13503 rm -rf $tpldir~
13504 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13505 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13506 old_archive_cmds_CXX='tpldir=Template.dir~
13507 rm -rf $tpldir~
13508 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13509 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13510 $RANLIB $oldlib'
13511 archive_cmds_CXX='tpldir=Template.dir~
13512 rm -rf $tpldir~
13513 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13514 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13515 archive_expsym_cmds_CXX='tpldir=Template.dir~
13516 rm -rf $tpldir~
13517 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13518 $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'
13520 *) # Version 6 and above use weak symbols
13521 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13522 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'
13524 esac
13526 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13527 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13528 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'
13530 cxx*)
13531 # Compaq C++
13532 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13533 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'
13535 runpath_var=LD_RUN_PATH
13536 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13537 hardcode_libdir_separator_CXX=:
13539 # Commands to make compiler produce verbose output that lists
13540 # what "hidden" libraries, object files and flags are used when
13541 # linking a shared library.
13543 # There doesn't appear to be a way to prevent this compiler from
13544 # explicitly linking system object files so we need to strip them
13545 # from the output so that they don't get included in the library
13546 # dependencies.
13547 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'
13549 xl* | mpixl* | bgxl*)
13550 # IBM XL 8.0 on PPC, with GNU ld
13551 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13552 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13553 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13554 if test "x$supports_anon_versioning" = xyes; then
13555 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13556 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13557 echo "local: *; };" >> $output_objdir/$libname.ver~
13558 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13562 case `$CC -V 2>&1 | sed 5q` in
13563 *Sun\ C*)
13564 # Sun C++ 5.9
13565 no_undefined_flag_CXX=' -zdefs'
13566 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13567 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'
13568 hardcode_libdir_flag_spec_CXX='-R$libdir'
13569 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'
13570 compiler_needs_object_CXX=yes
13572 # Not sure whether something based on
13573 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13574 # would be better.
13575 output_verbose_link_cmd='func_echo_all'
13577 # Archives containing C++ object files must be created using
13578 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13579 # necessary to make sure instantiated templates are included
13580 # in the archive.
13581 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13583 esac
13585 esac
13588 lynxos*)
13589 # FIXME: insert proper C++ library support
13590 ld_shlibs_CXX=no
13593 m88k*)
13594 # FIXME: insert proper C++ library support
13595 ld_shlibs_CXX=no
13598 mvs*)
13599 case $cc_basename in
13600 cxx*)
13601 # FIXME: insert proper C++ library support
13602 ld_shlibs_CXX=no
13605 # FIXME: insert proper C++ library support
13606 ld_shlibs_CXX=no
13608 esac
13611 netbsd*)
13612 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13613 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13614 wlarc=
13615 hardcode_libdir_flag_spec_CXX='-R$libdir'
13616 hardcode_direct_CXX=yes
13617 hardcode_shlibpath_var_CXX=no
13619 # Workaround some broken pre-1.5 toolchains
13620 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13623 *nto* | *qnx*)
13624 ld_shlibs_CXX=yes
13627 openbsd2*)
13628 # C++ shared libraries are fairly broken
13629 ld_shlibs_CXX=no
13632 openbsd*)
13633 if test -f /usr/libexec/ld.so; then
13634 hardcode_direct_CXX=yes
13635 hardcode_shlibpath_var_CXX=no
13636 hardcode_direct_absolute_CXX=yes
13637 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13638 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13639 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13640 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13641 export_dynamic_flag_spec_CXX='${wl}-E'
13642 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13644 output_verbose_link_cmd=func_echo_all
13645 else
13646 ld_shlibs_CXX=no
13650 osf3* | osf4* | osf5*)
13651 case $cc_basename in
13652 KCC*)
13653 # Kuck and Associates, Inc. (KAI) C++ Compiler
13655 # KCC will only create a shared library if the output file
13656 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13657 # to its proper name (with version) after linking.
13658 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'
13660 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13661 hardcode_libdir_separator_CXX=:
13663 # Archives containing C++ object files must be created using
13664 # the KAI C++ compiler.
13665 case $host in
13666 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13667 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13668 esac
13670 RCC*)
13671 # Rational C++ 2.4.1
13672 # FIXME: insert proper C++ library support
13673 ld_shlibs_CXX=no
13675 cxx*)
13676 case $host in
13677 osf3*)
13678 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13679 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'
13680 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13683 allow_undefined_flag_CXX=' -expect_unresolved \*'
13684 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'
13685 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13686 echo "-hidden">> $lib.exp~
13687 $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~
13688 $RM $lib.exp'
13689 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13691 esac
13693 hardcode_libdir_separator_CXX=:
13695 # Commands to make compiler produce verbose output that lists
13696 # what "hidden" libraries, object files and flags are used when
13697 # linking a shared library.
13699 # There doesn't appear to be a way to prevent this compiler from
13700 # explicitly linking system object files so we need to strip them
13701 # from the output so that they don't get included in the library
13702 # dependencies.
13703 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"'
13706 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13707 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13708 case $host in
13709 osf3*)
13710 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'
13713 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'
13715 esac
13717 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13718 hardcode_libdir_separator_CXX=:
13720 # Commands to make compiler produce verbose output that lists
13721 # what "hidden" libraries, object files and flags are used when
13722 # linking a shared library.
13723 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13725 else
13726 # FIXME: insert proper C++ library support
13727 ld_shlibs_CXX=no
13730 esac
13733 psos*)
13734 # FIXME: insert proper C++ library support
13735 ld_shlibs_CXX=no
13738 sunos4*)
13739 case $cc_basename in
13740 CC*)
13741 # Sun C++ 4.x
13742 # FIXME: insert proper C++ library support
13743 ld_shlibs_CXX=no
13745 lcc*)
13746 # Lucid
13747 # FIXME: insert proper C++ library support
13748 ld_shlibs_CXX=no
13751 # FIXME: insert proper C++ library support
13752 ld_shlibs_CXX=no
13754 esac
13757 solaris*)
13758 case $cc_basename in
13759 CC*)
13760 # Sun C++ 4.2, 5.x and Centerline C++
13761 archive_cmds_need_lc_CXX=yes
13762 no_undefined_flag_CXX=' -zdefs'
13763 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13764 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13765 $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'
13767 hardcode_libdir_flag_spec_CXX='-R$libdir'
13768 hardcode_shlibpath_var_CXX=no
13769 case $host_os in
13770 solaris2.[0-5] | solaris2.[0-5].*) ;;
13772 # The compiler driver will combine and reorder linker options,
13773 # but understands `-z linker_flag'.
13774 # Supported since Solaris 2.6 (maybe 2.5.1?)
13775 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13777 esac
13778 link_all_deplibs_CXX=yes
13780 output_verbose_link_cmd='func_echo_all'
13782 # Archives containing C++ object files must be created using
13783 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13784 # necessary to make sure instantiated templates are included
13785 # in the archive.
13786 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13788 gcx*)
13789 # Green Hills C++ Compiler
13790 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13792 # The C++ compiler must be used to create the archive.
13793 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13796 # GNU C++ compiler with Solaris linker
13797 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13798 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13799 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13800 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13801 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13802 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13804 # Commands to make compiler produce verbose output that lists
13805 # what "hidden" libraries, object files and flags are used when
13806 # linking a shared library.
13807 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13808 else
13809 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13810 # platform.
13811 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13812 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13813 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13815 # Commands to make compiler produce verbose output that lists
13816 # what "hidden" libraries, object files and flags are used when
13817 # linking a shared library.
13818 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13821 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13822 case $host_os in
13823 solaris2.[0-5] | solaris2.[0-5].*) ;;
13825 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13827 esac
13830 esac
13833 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13834 no_undefined_flag_CXX='${wl}-z,text'
13835 archive_cmds_need_lc_CXX=no
13836 hardcode_shlibpath_var_CXX=no
13837 runpath_var='LD_RUN_PATH'
13839 case $cc_basename in
13840 CC*)
13841 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13842 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13845 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13846 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13848 esac
13851 sysv5* | sco3.2v5* | sco5v6*)
13852 # Note: We can NOT use -z defs as we might desire, because we do not
13853 # link with -lc, and that would cause any symbols used from libc to
13854 # always be unresolved, which means just about no library would
13855 # ever link correctly. If we're not using GNU ld we use -z text
13856 # though, which does catch some bad symbols but isn't as heavy-handed
13857 # as -z defs.
13858 no_undefined_flag_CXX='${wl}-z,text'
13859 allow_undefined_flag_CXX='${wl}-z,nodefs'
13860 archive_cmds_need_lc_CXX=no
13861 hardcode_shlibpath_var_CXX=no
13862 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13863 hardcode_libdir_separator_CXX=':'
13864 link_all_deplibs_CXX=yes
13865 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13866 runpath_var='LD_RUN_PATH'
13868 case $cc_basename in
13869 CC*)
13870 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13871 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13872 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13873 '"$old_archive_cmds_CXX"
13874 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13875 '"$reload_cmds_CXX"
13878 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13879 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13881 esac
13884 tandem*)
13885 case $cc_basename in
13886 NCC*)
13887 # NonStop-UX NCC 3.20
13888 # FIXME: insert proper C++ library support
13889 ld_shlibs_CXX=no
13892 # FIXME: insert proper C++ library support
13893 ld_shlibs_CXX=no
13895 esac
13898 vxworks*)
13899 # For VxWorks ports, we assume the use of a GNU linker with
13900 # standard elf conventions.
13901 ld_shlibs_CXX=yes
13905 # FIXME: insert proper C++ library support
13906 ld_shlibs_CXX=no
13908 esac
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13911 $as_echo "$ld_shlibs_CXX" >&6; }
13912 test "$ld_shlibs_CXX" = no && can_build_shared=no
13914 GCC_CXX="$GXX"
13915 LD_CXX="$LD"
13917 ## CAVEAT EMPTOR:
13918 ## There is no encapsulation within the following macros, do not change
13919 ## the running order or otherwise move them around unless you know exactly
13920 ## what you are doing...
13921 # Dependencies to place before and after the object being linked:
13922 predep_objects_CXX=
13923 postdep_objects_CXX=
13924 predeps_CXX=
13925 postdeps_CXX=
13926 compiler_lib_search_path_CXX=
13928 cat > conftest.$ac_ext <<_LT_EOF
13929 class Foo
13931 public:
13932 Foo (void) { a = 0; }
13933 private:
13934 int a;
13936 _LT_EOF
13938 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13939 (eval $ac_compile) 2>&5
13940 ac_status=$?
13941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13942 test $ac_status = 0; }; then
13943 # Parse the compiler output and extract the necessary
13944 # objects, libraries and library flags.
13946 # Sentinel used to keep track of whether or not we are before
13947 # the conftest object file.
13948 pre_test_object_deps_done=no
13950 for p in `eval "$output_verbose_link_cmd"`; do
13951 case $p in
13953 -L* | -R* | -l*)
13954 # Some compilers place space between "-{L,R}" and the path.
13955 # Remove the space.
13956 if test $p = "-L" ||
13957 test $p = "-R"; then
13958 prev=$p
13959 continue
13960 else
13961 prev=
13964 if test "$pre_test_object_deps_done" = no; then
13965 case $p in
13966 -L* | -R*)
13967 # Internal compiler library paths should come after those
13968 # provided the user. The postdeps already come after the
13969 # user supplied libs so there is no need to process them.
13970 if test -z "$compiler_lib_search_path_CXX"; then
13971 compiler_lib_search_path_CXX="${prev}${p}"
13972 else
13973 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13976 # The "-l" case would never come before the object being
13977 # linked, so don't bother handling this case.
13978 esac
13979 else
13980 if test -z "$postdeps_CXX"; then
13981 postdeps_CXX="${prev}${p}"
13982 else
13983 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13988 *.$objext)
13989 # This assumes that the test object file only shows up
13990 # once in the compiler output.
13991 if test "$p" = "conftest.$objext"; then
13992 pre_test_object_deps_done=yes
13993 continue
13996 if test "$pre_test_object_deps_done" = no; then
13997 if test -z "$predep_objects_CXX"; then
13998 predep_objects_CXX="$p"
13999 else
14000 predep_objects_CXX="$predep_objects_CXX $p"
14002 else
14003 if test -z "$postdep_objects_CXX"; then
14004 postdep_objects_CXX="$p"
14005 else
14006 postdep_objects_CXX="$postdep_objects_CXX $p"
14011 *) ;; # Ignore the rest.
14013 esac
14014 done
14016 # Clean up.
14017 rm -f a.out a.exe
14018 else
14019 echo "libtool.m4: error: problem compiling CXX test program"
14022 $RM -f confest.$objext
14024 # PORTME: override above test on systems where it is broken
14025 case $host_os in
14026 interix[3-9]*)
14027 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14028 # hack all around it, let's just trust "g++" to DTRT.
14029 predep_objects_CXX=
14030 postdep_objects_CXX=
14031 postdeps_CXX=
14034 linux*)
14035 case `$CC -V 2>&1 | sed 5q` in
14036 *Sun\ C*)
14037 # Sun C++ 5.9
14039 # The more standards-conforming stlport4 library is
14040 # incompatible with the Cstd library. Avoid specifying
14041 # it if it's in CXXFLAGS. Ignore libCrun as
14042 # -library=stlport4 depends on it.
14043 case " $CXX $CXXFLAGS " in
14044 *" -library=stlport4 "*)
14045 solaris_use_stlport4=yes
14047 esac
14049 if test "$solaris_use_stlport4" != yes; then
14050 postdeps_CXX='-library=Cstd -library=Crun'
14053 esac
14056 solaris*)
14057 case $cc_basename in
14058 CC*)
14059 # The more standards-conforming stlport4 library is
14060 # incompatible with the Cstd library. Avoid specifying
14061 # it if it's in CXXFLAGS. Ignore libCrun as
14062 # -library=stlport4 depends on it.
14063 case " $CXX $CXXFLAGS " in
14064 *" -library=stlport4 "*)
14065 solaris_use_stlport4=yes
14067 esac
14069 # Adding this requires a known-good setup of shared libraries for
14070 # Sun compiler versions before 5.6, else PIC objects from an old
14071 # archive will be linked into the output, leading to subtle bugs.
14072 if test "$solaris_use_stlport4" != yes; then
14073 postdeps_CXX='-library=Cstd -library=Crun'
14076 esac
14078 esac
14081 case " $postdeps_CXX " in
14082 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14083 esac
14084 compiler_lib_search_dirs_CXX=
14085 if test -n "${compiler_lib_search_path_CXX}"; then
14086 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14119 lt_prog_compiler_wl_CXX=
14120 lt_prog_compiler_pic_CXX=
14121 lt_prog_compiler_static_CXX=
14123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14124 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14126 # C++ specific cases for pic, static, wl, etc.
14127 if test "$GXX" = yes; then
14128 lt_prog_compiler_wl_CXX='-Wl,'
14129 lt_prog_compiler_static_CXX='-static'
14131 case $host_os in
14132 aix*)
14133 # All AIX code is PIC.
14134 if test "$host_cpu" = ia64; then
14135 # AIX 5 now supports IA64 processor
14136 lt_prog_compiler_static_CXX='-Bstatic'
14138 lt_prog_compiler_pic_CXX='-fPIC'
14141 amigaos*)
14142 case $host_cpu in
14143 powerpc)
14144 # see comment about AmigaOS4 .so support
14145 lt_prog_compiler_pic_CXX='-fPIC'
14147 m68k)
14148 # FIXME: we need at least 68020 code to build shared libraries, but
14149 # adding the `-m68020' flag to GCC prevents building anything better,
14150 # like `-m68040'.
14151 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14153 esac
14156 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14157 # PIC is the default for these OSes.
14159 mingw* | cygwin* | os2* | pw32* | cegcc*)
14160 # This hack is so that the source file can tell whether it is being
14161 # built for inclusion in a dll (and should export symbols for example).
14162 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14163 # (--disable-auto-import) libraries
14164 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14166 darwin* | rhapsody*)
14167 # PIC is the default on this platform
14168 # Common symbols not allowed in MH_DYLIB files
14169 lt_prog_compiler_pic_CXX='-fno-common'
14171 *djgpp*)
14172 # DJGPP does not support shared libraries at all
14173 lt_prog_compiler_pic_CXX=
14175 haiku*)
14176 # PIC is the default for Haiku.
14177 # The "-static" flag exists, but is broken.
14178 lt_prog_compiler_static_CXX=
14180 interix[3-9]*)
14181 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14182 # Instead, we relocate shared libraries at runtime.
14184 sysv4*MP*)
14185 if test -d /usr/nec; then
14186 lt_prog_compiler_pic_CXX=-Kconform_pic
14189 hpux*)
14190 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14191 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14192 # sets the default TLS model and affects inlining.
14193 case $host_cpu in
14194 hppa*64*)
14197 lt_prog_compiler_pic_CXX='-fPIC'
14199 esac
14201 *qnx* | *nto*)
14202 # QNX uses GNU C++, but need to define -shared option too, otherwise
14203 # it will coredump.
14204 lt_prog_compiler_pic_CXX='-fPIC -shared'
14207 lt_prog_compiler_pic_CXX='-fPIC'
14209 esac
14210 else
14211 case $host_os in
14212 aix[4-9]*)
14213 # All AIX code is PIC.
14214 if test "$host_cpu" = ia64; then
14215 # AIX 5 now supports IA64 processor
14216 lt_prog_compiler_static_CXX='-Bstatic'
14217 else
14218 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14221 chorus*)
14222 case $cc_basename in
14223 cxch68*)
14224 # Green Hills C++ Compiler
14225 # _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"
14227 esac
14229 dgux*)
14230 case $cc_basename in
14231 ec++*)
14232 lt_prog_compiler_pic_CXX='-KPIC'
14234 ghcx*)
14235 # Green Hills C++ Compiler
14236 lt_prog_compiler_pic_CXX='-pic'
14240 esac
14242 freebsd* | dragonfly*)
14243 # FreeBSD uses GNU C++
14245 hpux9* | hpux10* | hpux11*)
14246 case $cc_basename in
14247 CC*)
14248 lt_prog_compiler_wl_CXX='-Wl,'
14249 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14250 if test "$host_cpu" != ia64; then
14251 lt_prog_compiler_pic_CXX='+Z'
14254 aCC*)
14255 lt_prog_compiler_wl_CXX='-Wl,'
14256 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14257 case $host_cpu in
14258 hppa*64*|ia64*)
14259 # +Z the default
14262 lt_prog_compiler_pic_CXX='+Z'
14264 esac
14268 esac
14270 interix*)
14271 # This is c89, which is MS Visual C++ (no shared libs)
14272 # Anyone wants to do a port?
14274 irix5* | irix6* | nonstopux*)
14275 case $cc_basename in
14276 CC*)
14277 lt_prog_compiler_wl_CXX='-Wl,'
14278 lt_prog_compiler_static_CXX='-non_shared'
14279 # CC pic flag -KPIC is the default.
14283 esac
14285 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14286 case $cc_basename in
14287 KCC*)
14288 # KAI C++ Compiler
14289 lt_prog_compiler_wl_CXX='--backend -Wl,'
14290 lt_prog_compiler_pic_CXX='-fPIC'
14292 ecpc* )
14293 # old Intel C++ for x86_64 which still supported -KPIC.
14294 lt_prog_compiler_wl_CXX='-Wl,'
14295 lt_prog_compiler_pic_CXX='-KPIC'
14296 lt_prog_compiler_static_CXX='-static'
14298 icpc* )
14299 # Intel C++, used to be incompatible with GCC.
14300 # ICC 10 doesn't accept -KPIC any more.
14301 lt_prog_compiler_wl_CXX='-Wl,'
14302 lt_prog_compiler_pic_CXX='-fPIC'
14303 lt_prog_compiler_static_CXX='-static'
14305 pgCC* | pgcpp*)
14306 # Portland Group C++ compiler
14307 lt_prog_compiler_wl_CXX='-Wl,'
14308 lt_prog_compiler_pic_CXX='-fpic'
14309 lt_prog_compiler_static_CXX='-Bstatic'
14311 cxx*)
14312 # Compaq C++
14313 # Make sure the PIC flag is empty. It appears that all Alpha
14314 # Linux and Compaq Tru64 Unix objects are PIC.
14315 lt_prog_compiler_pic_CXX=
14316 lt_prog_compiler_static_CXX='-non_shared'
14318 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14319 # IBM XL 8.0, 9.0 on PPC and BlueGene
14320 lt_prog_compiler_wl_CXX='-Wl,'
14321 lt_prog_compiler_pic_CXX='-qpic'
14322 lt_prog_compiler_static_CXX='-qstaticlink'
14325 case `$CC -V 2>&1 | sed 5q` in
14326 *Sun\ C*)
14327 # Sun C++ 5.9
14328 lt_prog_compiler_pic_CXX='-KPIC'
14329 lt_prog_compiler_static_CXX='-Bstatic'
14330 lt_prog_compiler_wl_CXX='-Qoption ld '
14332 esac
14334 esac
14336 lynxos*)
14338 m88k*)
14340 mvs*)
14341 case $cc_basename in
14342 cxx*)
14343 lt_prog_compiler_pic_CXX='-W c,exportall'
14347 esac
14349 netbsd*)
14351 *qnx* | *nto*)
14352 # QNX uses GNU C++, but need to define -shared option too, otherwise
14353 # it will coredump.
14354 lt_prog_compiler_pic_CXX='-fPIC -shared'
14356 osf3* | osf4* | osf5*)
14357 case $cc_basename in
14358 KCC*)
14359 lt_prog_compiler_wl_CXX='--backend -Wl,'
14361 RCC*)
14362 # Rational C++ 2.4.1
14363 lt_prog_compiler_pic_CXX='-pic'
14365 cxx*)
14366 # Digital/Compaq C++
14367 lt_prog_compiler_wl_CXX='-Wl,'
14368 # Make sure the PIC flag is empty. It appears that all Alpha
14369 # Linux and Compaq Tru64 Unix objects are PIC.
14370 lt_prog_compiler_pic_CXX=
14371 lt_prog_compiler_static_CXX='-non_shared'
14375 esac
14377 psos*)
14379 solaris*)
14380 case $cc_basename in
14381 CC*)
14382 # Sun C++ 4.2, 5.x and Centerline C++
14383 lt_prog_compiler_pic_CXX='-KPIC'
14384 lt_prog_compiler_static_CXX='-Bstatic'
14385 lt_prog_compiler_wl_CXX='-Qoption ld '
14387 gcx*)
14388 # Green Hills C++ Compiler
14389 lt_prog_compiler_pic_CXX='-PIC'
14393 esac
14395 sunos4*)
14396 case $cc_basename in
14397 CC*)
14398 # Sun C++ 4.x
14399 lt_prog_compiler_pic_CXX='-pic'
14400 lt_prog_compiler_static_CXX='-Bstatic'
14402 lcc*)
14403 # Lucid
14404 lt_prog_compiler_pic_CXX='-pic'
14408 esac
14410 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14411 case $cc_basename in
14412 CC*)
14413 lt_prog_compiler_wl_CXX='-Wl,'
14414 lt_prog_compiler_pic_CXX='-KPIC'
14415 lt_prog_compiler_static_CXX='-Bstatic'
14417 esac
14419 tandem*)
14420 case $cc_basename in
14421 NCC*)
14422 # NonStop-UX NCC 3.20
14423 lt_prog_compiler_pic_CXX='-KPIC'
14427 esac
14429 vxworks*)
14432 lt_prog_compiler_can_build_shared_CXX=no
14434 esac
14437 case $host_os in
14438 # For platforms which do not support PIC, -DPIC is meaningless:
14439 *djgpp*)
14440 lt_prog_compiler_pic_CXX=
14443 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14445 esac
14446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14447 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14452 # Check to make sure the PIC flag actually works.
14454 if test -n "$lt_prog_compiler_pic_CXX"; then
14455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14456 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14457 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14458 $as_echo_n "(cached) " >&6
14459 else
14460 lt_cv_prog_compiler_pic_works_CXX=no
14461 ac_outfile=conftest.$ac_objext
14462 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14463 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14464 # Insert the option either (1) after the last *FLAGS variable, or
14465 # (2) before a word containing "conftest.", or (3) at the end.
14466 # Note that $ac_compile itself does not contain backslashes and begins
14467 # with a dollar sign (not a hyphen), so the echo should work correctly.
14468 # The option is referenced via a variable to avoid confusing sed.
14469 lt_compile=`echo "$ac_compile" | $SED \
14470 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14471 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14472 -e 's:$: $lt_compiler_flag:'`
14473 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14474 (eval "$lt_compile" 2>conftest.err)
14475 ac_status=$?
14476 cat conftest.err >&5
14477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14478 if (exit $ac_status) && test -s "$ac_outfile"; then
14479 # The compiler can only warn and ignore the option if not recognized
14480 # So say no if there are warnings other than the usual output.
14481 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14482 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14483 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14484 lt_cv_prog_compiler_pic_works_CXX=yes
14487 $RM conftest*
14490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14491 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14493 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14494 case $lt_prog_compiler_pic_CXX in
14495 "" | " "*) ;;
14496 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14497 esac
14498 else
14499 lt_prog_compiler_pic_CXX=
14500 lt_prog_compiler_can_build_shared_CXX=no
14508 # Check to make sure the static flag actually works.
14510 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14512 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14513 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14514 $as_echo_n "(cached) " >&6
14515 else
14516 lt_cv_prog_compiler_static_works_CXX=no
14517 save_LDFLAGS="$LDFLAGS"
14518 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14519 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14520 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14521 # The linker can only warn and ignore the option if not recognized
14522 # So say no if there are warnings
14523 if test -s conftest.err; then
14524 # Append any errors to the config.log.
14525 cat conftest.err 1>&5
14526 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14527 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14528 if diff conftest.exp conftest.er2 >/dev/null; then
14529 lt_cv_prog_compiler_static_works_CXX=yes
14531 else
14532 lt_cv_prog_compiler_static_works_CXX=yes
14535 $RM -r conftest*
14536 LDFLAGS="$save_LDFLAGS"
14539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14540 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14542 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14544 else
14545 lt_prog_compiler_static_CXX=
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14552 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14553 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14554 $as_echo_n "(cached) " >&6
14555 else
14556 lt_cv_prog_compiler_c_o_CXX=no
14557 $RM -r conftest 2>/dev/null
14558 mkdir conftest
14559 cd conftest
14560 mkdir out
14561 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14563 lt_compiler_flag="-o out/conftest2.$ac_objext"
14564 # Insert the option either (1) after the last *FLAGS variable, or
14565 # (2) before a word containing "conftest.", or (3) at the end.
14566 # Note that $ac_compile itself does not contain backslashes and begins
14567 # with a dollar sign (not a hyphen), so the echo should work correctly.
14568 lt_compile=`echo "$ac_compile" | $SED \
14569 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14570 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14571 -e 's:$: $lt_compiler_flag:'`
14572 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14573 (eval "$lt_compile" 2>out/conftest.err)
14574 ac_status=$?
14575 cat out/conftest.err >&5
14576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14577 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14578 then
14579 # The compiler can only warn and ignore the option if not recognized
14580 # So say no if there are warnings
14581 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14582 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14583 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14584 lt_cv_prog_compiler_c_o_CXX=yes
14587 chmod u+w . 2>&5
14588 $RM conftest*
14589 # SGI C++ compiler will create directory out/ii_files/ for
14590 # template instantiation
14591 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14592 $RM out/* && rmdir out
14593 cd ..
14594 $RM -r conftest
14595 $RM conftest*
14598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14599 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14604 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14605 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14606 $as_echo_n "(cached) " >&6
14607 else
14608 lt_cv_prog_compiler_c_o_CXX=no
14609 $RM -r conftest 2>/dev/null
14610 mkdir conftest
14611 cd conftest
14612 mkdir out
14613 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14615 lt_compiler_flag="-o out/conftest2.$ac_objext"
14616 # Insert the option either (1) after the last *FLAGS variable, or
14617 # (2) before a word containing "conftest.", or (3) at the end.
14618 # Note that $ac_compile itself does not contain backslashes and begins
14619 # with a dollar sign (not a hyphen), so the echo should work correctly.
14620 lt_compile=`echo "$ac_compile" | $SED \
14621 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14622 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14623 -e 's:$: $lt_compiler_flag:'`
14624 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14625 (eval "$lt_compile" 2>out/conftest.err)
14626 ac_status=$?
14627 cat out/conftest.err >&5
14628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14629 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14630 then
14631 # The compiler can only warn and ignore the option if not recognized
14632 # So say no if there are warnings
14633 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14634 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14635 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14636 lt_cv_prog_compiler_c_o_CXX=yes
14639 chmod u+w . 2>&5
14640 $RM conftest*
14641 # SGI C++ compiler will create directory out/ii_files/ for
14642 # template instantiation
14643 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14644 $RM out/* && rmdir out
14645 cd ..
14646 $RM -r conftest
14647 $RM conftest*
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14651 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14656 hard_links="nottested"
14657 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14658 # do not overwrite the value of need_locks provided by the user
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14660 $as_echo_n "checking if we can lock with hard links... " >&6; }
14661 hard_links=yes
14662 $RM conftest*
14663 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14664 touch conftest.a
14665 ln conftest.a conftest.b 2>&5 || hard_links=no
14666 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14668 $as_echo "$hard_links" >&6; }
14669 if test "$hard_links" = no; then
14670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14671 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14672 need_locks=warn
14674 else
14675 need_locks=no
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14681 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14683 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14684 case $host_os in
14685 aix[4-9]*)
14686 # If we're using GNU nm, then we don't want the "-C" option.
14687 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14688 # Also, AIX nm treats weak defined symbols like other global defined
14689 # symbols, whereas GNU nm marks them as "W".
14690 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14691 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'
14692 else
14693 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'
14696 pw32*)
14697 export_symbols_cmds_CXX="$ltdll_cmds"
14699 cygwin* | mingw* | cegcc*)
14700 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'
14703 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14705 esac
14706 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14709 $as_echo "$ld_shlibs_CXX" >&6; }
14710 test "$ld_shlibs_CXX" = no && can_build_shared=no
14712 with_gnu_ld_CXX=$with_gnu_ld
14720 # Do we need to explicitly link libc?
14722 case "x$archive_cmds_need_lc_CXX" in
14723 x|xyes)
14724 # Assume -lc should be added
14725 archive_cmds_need_lc_CXX=yes
14727 if test "$enable_shared" = yes && test "$GCC" = yes; then
14728 case $archive_cmds_CXX in
14729 *'~'*)
14730 # FIXME: we may have to deal with multi-command sequences.
14732 '$CC '*)
14733 # Test whether the compiler implicitly links with -lc since on some
14734 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14735 # to ld, don't add -lc before -lgcc.
14736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14737 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14738 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14739 $as_echo_n "(cached) " >&6
14740 else
14741 $RM conftest*
14742 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14744 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14745 (eval $ac_compile) 2>&5
14746 ac_status=$?
14747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14748 test $ac_status = 0; } 2>conftest.err; then
14749 soname=conftest
14750 lib=conftest
14751 libobjs=conftest.$ac_objext
14752 deplibs=
14753 wl=$lt_prog_compiler_wl_CXX
14754 pic_flag=$lt_prog_compiler_pic_CXX
14755 compiler_flags=-v
14756 linker_flags=-v
14757 verstring=
14758 output_objdir=.
14759 libname=conftest
14760 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14761 allow_undefined_flag_CXX=
14762 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14763 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14764 ac_status=$?
14765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14766 test $ac_status = 0; }
14767 then
14768 lt_cv_archive_cmds_need_lc_CXX=no
14769 else
14770 lt_cv_archive_cmds_need_lc_CXX=yes
14772 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14773 else
14774 cat conftest.err 1>&5
14776 $RM conftest*
14779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14780 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14781 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14783 esac
14786 esac
14851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14852 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14854 library_names_spec=
14855 libname_spec='lib$name'
14856 soname_spec=
14857 shrext_cmds=".so"
14858 postinstall_cmds=
14859 postuninstall_cmds=
14860 finish_cmds=
14861 finish_eval=
14862 shlibpath_var=
14863 shlibpath_overrides_runpath=unknown
14864 version_type=none
14865 dynamic_linker="$host_os ld.so"
14866 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14867 need_lib_prefix=unknown
14868 hardcode_into_libs=no
14870 # when you set need_version to no, make sure it does not cause -set_version
14871 # flags to be left without arguments
14872 need_version=unknown
14874 case $host_os in
14875 aix3*)
14876 version_type=linux
14877 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14878 shlibpath_var=LIBPATH
14880 # AIX 3 has no versioning support, so we append a major version to the name.
14881 soname_spec='${libname}${release}${shared_ext}$major'
14884 aix[4-9]*)
14885 version_type=linux
14886 need_lib_prefix=no
14887 need_version=no
14888 hardcode_into_libs=yes
14889 if test "$host_cpu" = ia64; then
14890 # AIX 5 supports IA64
14891 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14892 shlibpath_var=LD_LIBRARY_PATH
14893 else
14894 # With GCC up to 2.95.x, collect2 would create an import file
14895 # for dependence libraries. The import file would start with
14896 # the line `#! .'. This would cause the generated library to
14897 # depend on `.', always an invalid library. This was fixed in
14898 # development snapshots of GCC prior to 3.0.
14899 case $host_os in
14900 aix4 | aix4.[01] | aix4.[01].*)
14901 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14902 echo ' yes '
14903 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14905 else
14906 can_build_shared=no
14909 esac
14910 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14911 # soname into executable. Probably we can add versioning support to
14912 # collect2, so additional links can be useful in future.
14913 if test "$aix_use_runtimelinking" = yes; then
14914 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14915 # instead of lib<name>.a to let people know that these are not
14916 # typical AIX shared libraries.
14917 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14918 else
14919 # We preserve .a as extension for shared libraries through AIX4.2
14920 # and later when we are not doing run time linking.
14921 library_names_spec='${libname}${release}.a $libname.a'
14922 soname_spec='${libname}${release}${shared_ext}$major'
14924 shlibpath_var=LIBPATH
14928 amigaos*)
14929 case $host_cpu in
14930 powerpc)
14931 # Since July 2007 AmigaOS4 officially supports .so libraries.
14932 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14933 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14935 m68k)
14936 library_names_spec='$libname.ixlibrary $libname.a'
14937 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14938 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'
14940 esac
14943 beos*)
14944 library_names_spec='${libname}${shared_ext}'
14945 dynamic_linker="$host_os ld.so"
14946 shlibpath_var=LIBRARY_PATH
14949 bsdi[45]*)
14950 version_type=linux
14951 need_version=no
14952 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14953 soname_spec='${libname}${release}${shared_ext}$major'
14954 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14955 shlibpath_var=LD_LIBRARY_PATH
14956 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14957 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14958 # the default ld.so.conf also contains /usr/contrib/lib and
14959 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14960 # libtool to hard-code these into programs
14963 cygwin* | mingw* | pw32* | cegcc*)
14964 version_type=windows
14965 shrext_cmds=".dll"
14966 need_version=no
14967 need_lib_prefix=no
14969 case $GCC,$host_os in
14970 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14971 library_names_spec='$libname.dll.a'
14972 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14973 postinstall_cmds='base_file=`basename \${file}`~
14974 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14975 dldir=$destdir/`dirname \$dlpath`~
14976 test -d \$dldir || mkdir -p \$dldir~
14977 $install_prog $dir/$dlname \$dldir/$dlname~
14978 chmod a+x \$dldir/$dlname~
14979 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14980 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14982 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14983 dlpath=$dir/\$dldll~
14984 $RM \$dlpath'
14985 shlibpath_overrides_runpath=yes
14987 case $host_os in
14988 cygwin*)
14989 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14990 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14993 mingw* | cegcc*)
14994 # MinGW DLLs use traditional 'lib' prefix
14995 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14997 pw32*)
14998 # pw32 DLLs use 'pw' prefix rather than 'lib'
14999 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15001 esac
15005 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15007 esac
15008 dynamic_linker='Win32 ld.exe'
15009 # FIXME: first we should search . and the directory the executable is in
15010 shlibpath_var=PATH
15013 darwin* | rhapsody*)
15014 dynamic_linker="$host_os dyld"
15015 version_type=darwin
15016 need_lib_prefix=no
15017 need_version=no
15018 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15019 soname_spec='${libname}${release}${major}$shared_ext'
15020 shlibpath_overrides_runpath=yes
15021 shlibpath_var=DYLD_LIBRARY_PATH
15022 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15024 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15027 dgux*)
15028 version_type=linux
15029 need_lib_prefix=no
15030 need_version=no
15031 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15032 soname_spec='${libname}${release}${shared_ext}$major'
15033 shlibpath_var=LD_LIBRARY_PATH
15036 freebsd* | dragonfly*)
15037 # DragonFly does not have aout. When/if they implement a new
15038 # versioning mechanism, adjust this.
15039 if test -x /usr/bin/objformat; then
15040 objformat=`/usr/bin/objformat`
15041 else
15042 case $host_os in
15043 freebsd[23].*) objformat=aout ;;
15044 *) objformat=elf ;;
15045 esac
15047 version_type=freebsd-$objformat
15048 case $version_type in
15049 freebsd-elf*)
15050 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15051 need_version=no
15052 need_lib_prefix=no
15054 freebsd-*)
15055 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15056 need_version=yes
15058 esac
15059 shlibpath_var=LD_LIBRARY_PATH
15060 case $host_os in
15061 freebsd2.*)
15062 shlibpath_overrides_runpath=yes
15064 freebsd3.[01]* | freebsdelf3.[01]*)
15065 shlibpath_overrides_runpath=yes
15066 hardcode_into_libs=yes
15068 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15069 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15070 shlibpath_overrides_runpath=no
15071 hardcode_into_libs=yes
15073 *) # from 4.6 on, and DragonFly
15074 shlibpath_overrides_runpath=yes
15075 hardcode_into_libs=yes
15077 esac
15080 haiku*)
15081 version_type=linux
15082 need_lib_prefix=no
15083 need_version=no
15084 dynamic_linker="$host_os runtime_loader"
15085 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15086 soname_spec='${libname}${release}${shared_ext}$major'
15087 shlibpath_var=LIBRARY_PATH
15088 shlibpath_overrides_runpath=yes
15089 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15090 hardcode_into_libs=yes
15093 hpux9* | hpux10* | hpux11*)
15094 # Give a soname corresponding to the major version so that dld.sl refuses to
15095 # link against other versions.
15096 version_type=sunos
15097 need_lib_prefix=no
15098 need_version=no
15099 case $host_cpu in
15100 ia64*)
15101 shrext_cmds='.so'
15102 hardcode_into_libs=yes
15103 dynamic_linker="$host_os dld.so"
15104 shlibpath_var=LD_LIBRARY_PATH
15105 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15106 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15107 soname_spec='${libname}${release}${shared_ext}$major'
15108 if test "X$HPUX_IA64_MODE" = X32; then
15109 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15110 else
15111 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15113 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15115 hppa*64*)
15116 shrext_cmds='.sl'
15117 hardcode_into_libs=yes
15118 dynamic_linker="$host_os dld.sl"
15119 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15120 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15121 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15122 soname_spec='${libname}${release}${shared_ext}$major'
15123 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15124 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15127 shrext_cmds='.sl'
15128 dynamic_linker="$host_os dld.sl"
15129 shlibpath_var=SHLIB_PATH
15130 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15131 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15132 soname_spec='${libname}${release}${shared_ext}$major'
15134 esac
15135 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15136 postinstall_cmds='chmod 555 $lib'
15137 # or fails outright, so override atomically:
15138 install_override_mode=555
15141 interix[3-9]*)
15142 version_type=linux
15143 need_lib_prefix=no
15144 need_version=no
15145 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15146 soname_spec='${libname}${release}${shared_ext}$major'
15147 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15148 shlibpath_var=LD_LIBRARY_PATH
15149 shlibpath_overrides_runpath=no
15150 hardcode_into_libs=yes
15153 irix5* | irix6* | nonstopux*)
15154 case $host_os in
15155 nonstopux*) version_type=nonstopux ;;
15157 if test "$lt_cv_prog_gnu_ld" = yes; then
15158 version_type=linux
15159 else
15160 version_type=irix
15161 fi ;;
15162 esac
15163 need_lib_prefix=no
15164 need_version=no
15165 soname_spec='${libname}${release}${shared_ext}$major'
15166 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15167 case $host_os in
15168 irix5* | nonstopux*)
15169 libsuff= shlibsuff=
15172 case $LD in # libtool.m4 will add one of these switches to LD
15173 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15174 libsuff= shlibsuff= libmagic=32-bit;;
15175 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15176 libsuff=32 shlibsuff=N32 libmagic=N32;;
15177 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15178 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15179 *) libsuff= shlibsuff= libmagic=never-match;;
15180 esac
15182 esac
15183 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15184 shlibpath_overrides_runpath=no
15185 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15186 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15187 hardcode_into_libs=yes
15190 # No shared lib support for Linux oldld, aout, or coff.
15191 linux*oldld* | linux*aout* | linux*coff*)
15192 dynamic_linker=no
15195 # This must be Linux ELF.
15197 # uclinux* changes (here and below) have been submitted to the libtool
15198 # project, but have not yet been accepted: they are GCC-local changes
15199 # for the time being. (See
15200 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15201 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
15202 version_type=linux
15203 need_lib_prefix=no
15204 need_version=no
15205 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15206 soname_spec='${libname}${release}${shared_ext}$major'
15207 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15208 shlibpath_var=LD_LIBRARY_PATH
15209 shlibpath_overrides_runpath=no
15211 # Some binutils ld are patched to set DT_RUNPATH
15212 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15213 $as_echo_n "(cached) " >&6
15214 else
15215 lt_cv_shlibpath_overrides_runpath=no
15216 save_LDFLAGS=$LDFLAGS
15217 save_libdir=$libdir
15218 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15219 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15220 if test x$gcc_no_link = xyes; then
15221 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15224 /* end confdefs.h. */
15227 main ()
15231 return 0;
15233 _ACEOF
15234 if ac_fn_cxx_try_link "$LINENO"; then :
15235 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15236 lt_cv_shlibpath_overrides_runpath=yes
15239 rm -f core conftest.err conftest.$ac_objext \
15240 conftest$ac_exeext conftest.$ac_ext
15241 LDFLAGS=$save_LDFLAGS
15242 libdir=$save_libdir
15246 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15248 # This implies no fast_install, which is unacceptable.
15249 # Some rework will be needed to allow for fast_install
15250 # before this can be enabled.
15251 hardcode_into_libs=yes
15253 # Append ld.so.conf contents to the search path
15254 if test -f /etc/ld.so.conf; then
15255 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' ' '`
15256 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15259 # We used to test for /lib/ld.so.1 and disable shared libraries on
15260 # powerpc, because MkLinux only supported shared libraries with the
15261 # GNU dynamic linker. Since this was broken with cross compilers,
15262 # most powerpc-linux boxes support dynamic linking these days and
15263 # people can always --disable-shared, the test was removed, and we
15264 # assume the GNU/Linux dynamic linker is in use.
15265 dynamic_linker='GNU/Linux ld.so'
15268 netbsd*)
15269 version_type=sunos
15270 need_lib_prefix=no
15271 need_version=no
15272 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15273 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15274 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15275 dynamic_linker='NetBSD (a.out) ld.so'
15276 else
15277 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15278 soname_spec='${libname}${release}${shared_ext}$major'
15279 dynamic_linker='NetBSD ld.elf_so'
15281 shlibpath_var=LD_LIBRARY_PATH
15282 shlibpath_overrides_runpath=yes
15283 hardcode_into_libs=yes
15286 newsos6)
15287 version_type=linux
15288 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15289 shlibpath_var=LD_LIBRARY_PATH
15290 shlibpath_overrides_runpath=yes
15293 *nto* | *qnx*)
15294 version_type=qnx
15295 need_lib_prefix=no
15296 need_version=no
15297 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15298 soname_spec='${libname}${release}${shared_ext}$major'
15299 shlibpath_var=LD_LIBRARY_PATH
15300 shlibpath_overrides_runpath=no
15301 hardcode_into_libs=yes
15302 dynamic_linker='ldqnx.so'
15305 openbsd*)
15306 version_type=sunos
15307 sys_lib_dlsearch_path_spec="/usr/lib"
15308 need_lib_prefix=no
15309 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15310 case $host_os in
15311 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15312 *) need_version=no ;;
15313 esac
15314 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15315 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15316 shlibpath_var=LD_LIBRARY_PATH
15317 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15318 case $host_os in
15319 openbsd2.[89] | openbsd2.[89].*)
15320 shlibpath_overrides_runpath=no
15323 shlibpath_overrides_runpath=yes
15325 esac
15326 else
15327 shlibpath_overrides_runpath=yes
15331 os2*)
15332 libname_spec='$name'
15333 shrext_cmds=".dll"
15334 need_lib_prefix=no
15335 library_names_spec='$libname${shared_ext} $libname.a'
15336 dynamic_linker='OS/2 ld.exe'
15337 shlibpath_var=LIBPATH
15340 osf3* | osf4* | osf5*)
15341 version_type=osf
15342 need_lib_prefix=no
15343 need_version=no
15344 soname_spec='${libname}${release}${shared_ext}$major'
15345 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15346 shlibpath_var=LD_LIBRARY_PATH
15347 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15348 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15351 rdos*)
15352 dynamic_linker=no
15355 solaris*)
15356 version_type=linux
15357 need_lib_prefix=no
15358 need_version=no
15359 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15360 soname_spec='${libname}${release}${shared_ext}$major'
15361 shlibpath_var=LD_LIBRARY_PATH
15362 shlibpath_overrides_runpath=yes
15363 hardcode_into_libs=yes
15364 # ldd complains unless libraries are executable
15365 postinstall_cmds='chmod +x $lib'
15368 sunos4*)
15369 version_type=sunos
15370 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15371 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15372 shlibpath_var=LD_LIBRARY_PATH
15373 shlibpath_overrides_runpath=yes
15374 if test "$with_gnu_ld" = yes; then
15375 need_lib_prefix=no
15377 need_version=yes
15380 sysv4 | sysv4.3*)
15381 version_type=linux
15382 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15383 soname_spec='${libname}${release}${shared_ext}$major'
15384 shlibpath_var=LD_LIBRARY_PATH
15385 case $host_vendor in
15386 sni)
15387 shlibpath_overrides_runpath=no
15388 need_lib_prefix=no
15389 runpath_var=LD_RUN_PATH
15391 siemens)
15392 need_lib_prefix=no
15394 motorola)
15395 need_lib_prefix=no
15396 need_version=no
15397 shlibpath_overrides_runpath=no
15398 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15400 esac
15403 sysv4*MP*)
15404 if test -d /usr/nec ;then
15405 version_type=linux
15406 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15407 soname_spec='$libname${shared_ext}.$major'
15408 shlibpath_var=LD_LIBRARY_PATH
15412 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15413 version_type=freebsd-elf
15414 need_lib_prefix=no
15415 need_version=no
15416 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15417 soname_spec='${libname}${release}${shared_ext}$major'
15418 shlibpath_var=LD_LIBRARY_PATH
15419 shlibpath_overrides_runpath=yes
15420 hardcode_into_libs=yes
15421 if test "$with_gnu_ld" = yes; then
15422 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15423 else
15424 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15425 case $host_os in
15426 sco3.2v5*)
15427 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15429 esac
15431 sys_lib_dlsearch_path_spec='/usr/lib'
15434 tpf*)
15435 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15436 version_type=linux
15437 need_lib_prefix=no
15438 need_version=no
15439 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15440 shlibpath_var=LD_LIBRARY_PATH
15441 shlibpath_overrides_runpath=no
15442 hardcode_into_libs=yes
15445 uts4*)
15446 version_type=linux
15447 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15448 soname_spec='${libname}${release}${shared_ext}$major'
15449 shlibpath_var=LD_LIBRARY_PATH
15452 # Shared libraries for VwWorks, >= 7 only at this stage
15453 # and (fpic) still incompatible with "large" code models
15454 # in a few configurations. Only for RTP mode in any case,
15455 # and upon explicit request at configure time.
15456 vxworks7*)
15457 dynamic_linker=no
15458 case ${with_multisubdir}-${enable_shared} in
15459 *large*)
15461 *mrtp*-yes)
15462 version_type=linux
15463 need_lib_prefix=no
15464 need_version=no
15465 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15466 soname_spec='${libname}${release}${shared_ext}$major'
15467 dynamic_linker="$host_os module_loader"
15469 esac
15472 dynamic_linker=no
15474 esac
15475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15476 $as_echo "$dynamic_linker" >&6; }
15477 test "$dynamic_linker" = no && can_build_shared=no
15479 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15480 if test "$GCC" = yes; then
15481 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15484 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15485 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15487 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15488 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15529 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15530 hardcode_action_CXX=
15531 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15532 test -n "$runpath_var_CXX" ||
15533 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15535 # We can hardcode non-existent directories.
15536 if test "$hardcode_direct_CXX" != no &&
15537 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15538 # have to relink, otherwise we might link with an installed library
15539 # when we should be linking with a yet-to-be-installed one
15540 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15541 test "$hardcode_minus_L_CXX" != no; then
15542 # Linking always hardcodes the temporary library directory.
15543 hardcode_action_CXX=relink
15544 else
15545 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15546 hardcode_action_CXX=immediate
15548 else
15549 # We cannot hardcode anything, or else we can only hardcode existing
15550 # directories.
15551 hardcode_action_CXX=unsupported
15553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15554 $as_echo "$hardcode_action_CXX" >&6; }
15556 if test "$hardcode_action_CXX" = relink ||
15557 test "$inherit_rpath_CXX" = yes; then
15558 # Fast installation is not supported
15559 enable_fast_install=no
15560 elif test "$shlibpath_overrides_runpath" = yes ||
15561 test "$enable_shared" = no; then
15562 # Fast installation is not necessary
15563 enable_fast_install=needless
15572 fi # test -n "$compiler"
15574 CC=$lt_save_CC
15575 LDCXX=$LD
15576 LD=$lt_save_LD
15577 GCC=$lt_save_GCC
15578 with_gnu_ld=$lt_save_with_gnu_ld
15579 lt_cv_path_LDCXX=$lt_cv_path_LD
15580 lt_cv_path_LD=$lt_save_path_LD
15581 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15582 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15583 fi # test "$_lt_caught_CXX_error" != yes
15585 ac_ext=c
15586 ac_cpp='$CPP $CPPFLAGS'
15587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15603 ac_config_commands="$ac_config_commands libtool"
15608 # Only expand once:
15614 case $host in
15615 *-cygwin* | *-mingw*)
15616 # 'host' will be top-level target in the case of a target lib,
15617 # we must compare to with_cross_host to decide if this is a native
15618 # or cross-compiler and select where to install dlls appropriately.
15619 if test -n "$with_cross_host" &&
15620 test x"$with_cross_host" != x"no"; then
15621 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
15622 else
15623 lt_host_flags='-no-undefined -bindir "$(bindir)"';
15627 lt_host_flags=
15629 esac
15636 if test "$enable_vtable_verify" = yes; then
15637 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15638 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15642 # libtool variables for C++ shared and position-independent compiles.
15644 # Use glibcxx_lt_pic_flag to designate the automake variable
15645 # used to encapsulate the default libtool approach to creating objects
15646 # with position-independent code. Default: -prefer-pic.
15648 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15649 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15651 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15652 # creating position-independent objects. This varies with the target
15653 # hardware and operating system, but is often: -DPIC -fPIC.
15654 if test "$enable_shared" = yes; then
15655 glibcxx_lt_pic_flag="-prefer-pic"
15656 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15657 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15659 else
15660 glibcxx_lt_pic_flag=
15661 glibcxx_compiler_pic_flag=
15662 glibcxx_compiler_shared_flag=
15668 # Override the libtool's pic_flag and pic_mode.
15669 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15670 # NB: this impacts --with-pic and --without-pic.
15671 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15672 pic_mode='default'
15674 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15675 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15677 # Possibly disable most of the library.
15678 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15679 ## than just ignoring the results. Faster /and/ more correct, win win.
15681 # Check whether --enable-hosted-libstdcxx was given.
15682 if test "${enable_hosted_libstdcxx+set}" = set; then :
15683 enableval=$enable_hosted_libstdcxx; enable_hosted_libstdcxx_was_given=yes
15684 else
15685 case "$host" in
15686 arm*-*-symbianelf*)
15687 enable_hosted_libstdcxx=no
15690 case "${with_newlib}-${with_headers}" in
15691 no-no) enable_hosted_libstdcxx=no ;;
15692 *) enable_hosted_libstdcxx=yes ;;
15693 esac
15695 esac
15699 # Because most configure args are --enable-libstdcxx-foo add an alias
15700 # of that form for --enable-hosted-libstdcxx.
15701 # Check whether --enable-libstdcxx-hosted was given.
15702 if test "${enable_libstdcxx_hosted+set}" = set; then :
15703 enableval=$enable_libstdcxx_hosted; if test "$enable_hosted_libstdcxx_was_given" = yes; then
15704 if test "$enable_hosted_libstdcxx" != "$enableval"; then
15705 as_fn_error $? "--enable-libstdcxx-hosted=$enableval conflicts with --enable-hosted-libstdcxx=$enable_hosted_libstdcxx" "$LINENO" 5
15707 else
15708 enable_hosted_libstdcxx=${enableval}
15714 freestanding_flags=
15715 if test "$enable_hosted_libstdcxx" = no; then
15716 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15717 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15718 is_hosted=no
15719 hosted_define=0
15720 enable_abi_check=no
15721 enable_libstdcxx_pch=no
15722 if test "x$with_headers" = xno; then
15723 freestanding_flags="-ffreestanding"
15725 else
15726 is_hosted=yes
15727 hosted_define=__STDC_HOSTED__
15731 cat >>confdefs.h <<_ACEOF
15732 #define _GLIBCXX_HOSTED $hosted_define
15733 _ACEOF
15735 FREESTANDING_FLAGS="$freestanding_flags"
15739 # Enable descriptive messages to standard output on termination.
15741 # Check whether --enable-libstdcxx-verbose was given.
15742 if test "${enable_libstdcxx_verbose+set}" = set; then :
15743 enableval=$enable_libstdcxx_verbose;
15744 else
15745 enable_libstdcxx_verbose=yes
15748 if test x"$enable_libstdcxx_verbose" = xyes; then
15749 verbose_define=1
15750 else
15751 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15752 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15753 verbose_define=0
15756 cat >>confdefs.h <<_ACEOF
15757 #define _GLIBCXX_VERBOSE $verbose_define
15758 _ACEOF
15762 # Enable compiler support that doesn't require linking.
15764 # Check whether --enable-libstdcxx-pch was given.
15765 if test "${enable_libstdcxx_pch+set}" = set; then :
15766 enableval=$enable_libstdcxx_pch;
15767 case "$enableval" in
15768 yes|no) ;;
15769 *) as_fn_error $? "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15770 esac
15772 else
15773 enable_libstdcxx_pch=$is_hosted
15777 if test $enable_libstdcxx_pch = yes; then
15778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15779 $as_echo_n "checking for compiler with PCH support... " >&6; }
15780 if ${glibcxx_cv_prog_CXX_pch+:} false; then :
15781 $as_echo_n "(cached) " >&6
15782 else
15783 ac_save_CXXFLAGS="$CXXFLAGS"
15784 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15786 ac_ext=cpp
15787 ac_cpp='$CXXCPP $CPPFLAGS'
15788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15792 echo '#include <math.h>' > conftest.h
15793 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15794 -o conftest.h.gch 1>&5 2>&1 &&
15795 echo '#error "pch failed"' > conftest.h &&
15796 echo '#include "conftest.h"' > conftest.cc &&
15797 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15798 then
15799 glibcxx_cv_prog_CXX_pch=yes
15800 else
15801 glibcxx_cv_prog_CXX_pch=no
15803 rm -f conftest*
15804 CXXFLAGS=$ac_save_CXXFLAGS
15805 ac_ext=c
15806 ac_cpp='$CPP $CPPFLAGS'
15807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15814 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15815 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15819 $as_echo_n "checking for enabled PCH... " >&6; }
15820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15821 $as_echo "$enable_libstdcxx_pch" >&6; }
15824 if test $enable_libstdcxx_pch = yes; then
15825 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15826 else
15827 glibcxx_PCHFLAGS=""
15832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15833 $as_echo_n "checking for thread model used by GCC... " >&6; }
15834 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15836 $as_echo "$target_thread_file" >&6; }
15838 case $target_thread_file in
15839 aix) thread_header=config/rs6000/gthr-aix.h ;;
15840 dce) thread_header=config/pa/gthr-dce.h ;;
15841 gcn) thread_header=config/gcn/gthr-gcn.h ;;
15842 lynx) thread_header=config/gthr-lynx.h ;;
15843 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15844 posix) thread_header=gthr-posix.h ;;
15845 rtems) thread_header=config/gthr-rtems.h ;;
15846 single) thread_header=gthr-single.h ;;
15847 tpf) thread_header=config/s390/gthr-tpf.h ;;
15848 vxworks) thread_header=config/gthr-vxworks.h ;;
15849 win32) thread_header=config/i386/gthr-win32.h ;;
15850 mcf) thread_header=config/i386/gthr-mcf.h ;;
15851 esac
15857 ac_ext=cpp
15858 ac_cpp='$CXXCPP $CPPFLAGS'
15859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15863 old_CXXFLAGS="$CXXFLAGS"
15865 # Do link tests if possible, instead asm tests, limited to some platforms
15866 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15867 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15868 atomic_builtins_link_tests=no
15869 if test x$gcc_no_link != xyes; then
15870 # Can do link tests. Limit to some tested platforms
15871 case "$host" in
15872 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15873 atomic_builtins_link_tests=yes
15875 esac
15878 if test x$atomic_builtins_link_tests = xyes; then
15880 # Do link tests.
15882 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15885 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15886 if ${glibcxx_cv_atomic_bool+:} false; then :
15887 $as_echo_n "(cached) " >&6
15888 else
15890 if test x$gcc_no_link = xyes; then
15891 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15894 /* end confdefs.h. */
15897 main ()
15899 typedef bool atomic_type;
15900 atomic_type c1;
15901 atomic_type c2;
15902 atomic_type c3(0);
15903 // N.B. __atomic_fetch_add is not supported for bool.
15904 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15905 __ATOMIC_RELAXED);
15906 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15907 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15910 return 0;
15912 _ACEOF
15913 if ac_fn_cxx_try_link "$LINENO"; then :
15914 glibcxx_cv_atomic_bool=yes
15915 else
15916 glibcxx_cv_atomic_bool=no
15918 rm -f core conftest.err conftest.$ac_objext \
15919 conftest$ac_exeext conftest.$ac_ext
15922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15923 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15926 $as_echo_n "checking for atomic builtins for short... " >&6; }
15927 if ${glibcxx_cv_atomic_short+:} false; then :
15928 $as_echo_n "(cached) " >&6
15929 else
15931 if test x$gcc_no_link = xyes; then
15932 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15935 /* end confdefs.h. */
15938 main ()
15940 typedef short atomic_type;
15941 atomic_type c1;
15942 atomic_type c2;
15943 atomic_type c3(0);
15944 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15945 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15946 __ATOMIC_RELAXED);
15947 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15948 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15951 return 0;
15953 _ACEOF
15954 if ac_fn_cxx_try_link "$LINENO"; then :
15955 glibcxx_cv_atomic_short=yes
15956 else
15957 glibcxx_cv_atomic_short=no
15959 rm -f core conftest.err conftest.$ac_objext \
15960 conftest$ac_exeext conftest.$ac_ext
15963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15964 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15967 $as_echo_n "checking for atomic builtins for int... " >&6; }
15968 if ${glibcxx_cv_atomic_int+:} false; then :
15969 $as_echo_n "(cached) " >&6
15970 else
15972 if test x$gcc_no_link = xyes; then
15973 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15976 /* end confdefs.h. */
15979 main ()
15981 typedef int atomic_type;
15982 atomic_type c1;
15983 atomic_type c2;
15984 atomic_type c3(0);
15985 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15986 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15987 __ATOMIC_RELAXED);
15988 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15989 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15992 return 0;
15994 _ACEOF
15995 if ac_fn_cxx_try_link "$LINENO"; then :
15996 glibcxx_cv_atomic_int=yes
15997 else
15998 glibcxx_cv_atomic_int=no
16000 rm -f core conftest.err conftest.$ac_objext \
16001 conftest$ac_exeext conftest.$ac_ext
16004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
16005 $as_echo "$glibcxx_cv_atomic_int" >&6; }
16007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
16008 $as_echo_n "checking for atomic builtins for long long... " >&6; }
16009 if ${glibcxx_cv_atomic_long_long+:} false; then :
16010 $as_echo_n "(cached) " >&6
16011 else
16013 if test x$gcc_no_link = xyes; then
16014 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16017 /* end confdefs.h. */
16020 main ()
16022 typedef long long atomic_type;
16023 atomic_type c1;
16024 atomic_type c2;
16025 atomic_type c3(0);
16026 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16027 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16028 __ATOMIC_RELAXED);
16029 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16030 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16033 return 0;
16035 _ACEOF
16036 if ac_fn_cxx_try_link "$LINENO"; then :
16037 glibcxx_cv_atomic_long_long=yes
16038 else
16039 glibcxx_cv_atomic_long_long=no
16041 rm -f core conftest.err conftest.$ac_objext \
16042 conftest$ac_exeext conftest.$ac_ext
16045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
16046 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
16048 else
16050 # Do asm tests.
16052 # Compile unoptimized.
16053 CXXFLAGS='-O0 -S'
16055 # Fake what AC_TRY_COMPILE does.
16057 cat > conftest.$ac_ext << EOF
16058 #line 16058 "configure"
16059 int main()
16061 typedef bool atomic_type;
16062 atomic_type c1;
16063 atomic_type c2;
16064 atomic_type c3(0);
16065 // N.B. __atomic_fetch_add is not supported for bool.
16066 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16067 __ATOMIC_RELAXED);
16068 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16069 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16071 return 0;
16075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
16076 $as_echo_n "checking for atomic builtins for bool... " >&6; }
16077 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16078 (eval $ac_compile) 2>&5
16079 ac_status=$?
16080 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16081 test $ac_status = 0; }; then
16082 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16083 glibcxx_cv_atomic_bool=no
16084 else
16085 glibcxx_cv_atomic_bool=yes
16088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
16089 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
16090 rm -f conftest*
16092 cat > conftest.$ac_ext << EOF
16093 #line 16093 "configure"
16094 int main()
16096 typedef short atomic_type;
16097 atomic_type c1;
16098 atomic_type c2;
16099 atomic_type c3(0);
16100 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16101 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16102 __ATOMIC_RELAXED);
16103 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16104 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16106 return 0;
16110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
16111 $as_echo_n "checking for atomic builtins for short... " >&6; }
16112 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16113 (eval $ac_compile) 2>&5
16114 ac_status=$?
16115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16116 test $ac_status = 0; }; then
16117 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16118 glibcxx_cv_atomic_short=no
16119 else
16120 glibcxx_cv_atomic_short=yes
16123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
16124 $as_echo "$glibcxx_cv_atomic_short" >&6; }
16125 rm -f conftest*
16127 cat > conftest.$ac_ext << EOF
16128 #line 16128 "configure"
16129 int main()
16131 // NB: _Atomic_word not necessarily int.
16132 typedef int atomic_type;
16133 atomic_type c1;
16134 atomic_type c2;
16135 atomic_type c3(0);
16136 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16137 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16138 __ATOMIC_RELAXED);
16139 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16140 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16142 return 0;
16146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
16147 $as_echo_n "checking for atomic builtins for int... " >&6; }
16148 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16149 (eval $ac_compile) 2>&5
16150 ac_status=$?
16151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16152 test $ac_status = 0; }; then
16153 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16154 glibcxx_cv_atomic_int=no
16155 else
16156 glibcxx_cv_atomic_int=yes
16159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
16160 $as_echo "$glibcxx_cv_atomic_int" >&6; }
16161 rm -f conftest*
16163 cat > conftest.$ac_ext << EOF
16164 #line 16164 "configure"
16165 int main()
16167 typedef long long atomic_type;
16168 atomic_type c1;
16169 atomic_type c2;
16170 atomic_type c3(0);
16171 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16172 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16173 __ATOMIC_RELAXED);
16174 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16175 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16177 return 0;
16181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
16182 $as_echo_n "checking for atomic builtins for long long... " >&6; }
16183 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16184 (eval $ac_compile) 2>&5
16185 ac_status=$?
16186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16187 test $ac_status = 0; }; then
16188 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16189 glibcxx_cv_atomic_long_long=no
16190 else
16191 glibcxx_cv_atomic_long_long=yes
16194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
16195 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
16196 rm -f conftest*
16200 CXXFLAGS="$old_CXXFLAGS"
16201 ac_ext=c
16202 ac_cpp='$CPP $CPPFLAGS'
16203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16208 # Set atomicity_dir to builtins if all but the long long test above passes,
16209 # or if the builtins were already chosen (e.g. by configure.host).
16210 if { test "$glibcxx_cv_atomic_bool" = yes \
16211 && test "$glibcxx_cv_atomic_short" = yes \
16212 && test "$glibcxx_cv_atomic_int" = yes; } \
16213 || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
16215 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
16217 atomicity_dir=cpu/generic/atomicity_builtins
16220 # If still generic, set to mutex.
16221 if test $atomicity_dir = "cpu/generic" ; then
16222 atomicity_dir=cpu/generic/atomicity_mutex
16223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
16224 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
16225 if test "x$target_thread_file" = xsingle; then
16226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
16227 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
16228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
16229 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
16230 else
16231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
16232 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
16233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
16234 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
16242 # Check whether --with-libstdcxx-lock-policy was given.
16243 if test "${with_libstdcxx_lock_policy+set}" = set; then :
16244 withval=$with_libstdcxx_lock_policy; libstdcxx_atomic_lock_policy=$withval
16245 else
16246 libstdcxx_atomic_lock_policy=auto
16250 case "$libstdcxx_atomic_lock_policy" in
16251 atomic|mutex|auto) ;;
16252 *) as_fn_error $? "Invalid argument for --with-libstdcxx-lock-policy" "$LINENO" 5 ;;
16253 esac
16254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lock policy for shared_ptr reference counts" >&5
16255 $as_echo_n "checking for lock policy for shared_ptr reference counts... " >&6; }
16257 if test x"$libstdcxx_atomic_lock_policy" = x"auto"; then
16259 ac_ext=cpp
16260 ac_cpp='$CXXCPP $CPPFLAGS'
16261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16265 ac_save_CXXFLAGS="$CXXFLAGS"
16267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16268 /* end confdefs.h. */
16270 #if defined __riscv
16271 # error "Defaulting to mutex-based locks for ABI compatibility"
16272 #endif
16273 #if ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
16274 # error "No 2-byte compare-and-swap"
16275 #elif ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
16276 # error "No 4-byte compare-and-swap"
16277 #endif
16280 main ()
16284 return 0;
16286 _ACEOF
16287 if ac_fn_cxx_try_compile "$LINENO"; then :
16288 libstdcxx_atomic_lock_policy=atomic
16289 else
16290 libstdcxx_atomic_lock_policy=mutex
16292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16293 ac_ext=c
16294 ac_cpp='$CPP $CPPFLAGS'
16295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16299 CXXFLAGS="$ac_save_CXXFLAGS"
16302 if test x"$libstdcxx_atomic_lock_policy" = x"atomic"; then
16303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: atomic" >&5
16304 $as_echo "atomic" >&6; }
16306 $as_echo "#define HAVE_ATOMIC_LOCK_POLICY 1" >>confdefs.h
16308 else
16309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mutex" >&5
16310 $as_echo "mutex" >&6; }
16316 # Fake what AC_TRY_COMPILE does, without linking as this is
16317 # unnecessary for this test.
16319 cat > conftest.$ac_ext << EOF
16320 #line 16320 "configure"
16321 int main()
16323 _Decimal32 d1;
16324 _Decimal64 d2;
16325 _Decimal128 d3;
16326 return 0;
16330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
16331 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
16332 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16333 (eval $ac_compile) 2>&5
16334 ac_status=$?
16335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16336 test $ac_status = 0; }; then
16338 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
16340 enable_dfp=yes
16341 else
16342 enable_dfp=no
16344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
16345 $as_echo "$enable_dfp" >&6; }
16346 rm -f conftest*
16351 ac_ext=cpp
16352 ac_cpp='$CXXCPP $CPPFLAGS'
16353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16358 # Fake what AC_TRY_COMPILE does, without linking as this is
16359 # unnecessary for this test.
16361 cat > conftest.$ac_ext << EOF
16362 #line 16362 "configure"
16363 template<typename T1, typename T2>
16364 struct same
16365 { typedef T2 type; };
16367 template<typename T>
16368 struct same<T, T>;
16370 int main()
16372 typename same<double, __float128>::type f1;
16373 typename same<long double, __float128>::type f2;
16377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
16378 $as_echo_n "checking for __float128... " >&6; }
16379 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16380 (eval $ac_compile) 2>&5
16381 ac_status=$?
16382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16383 test $ac_status = 0; }; then
16384 enable_float128=yes
16385 else
16386 enable_float128=no
16388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
16389 $as_echo "$enable_float128" >&6; }
16391 rm -f conftest*
16393 ac_ext=c
16394 ac_cpp='$CPP $CPPFLAGS'
16395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16400 if test "$enable_float128" = yes; then
16401 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
16404 # Checks for compiler support that doesn't require linking.
16406 # All these tests are for C++; save the language and the compiler flags.
16407 # The CXXFLAGS thing is suspicious, but based on similar bits previously
16408 # found in GLIBCXX_CONFIGURE.
16410 ac_ext=cpp
16411 ac_cpp='$CXXCPP $CPPFLAGS'
16412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16416 ac_test_CXXFLAGS="${CXXFLAGS+set}"
16417 ac_save_CXXFLAGS="$CXXFLAGS"
16419 # Check for -ffunction-sections -fdata-sections
16420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
16421 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
16422 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
16423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16424 /* end confdefs.h. */
16425 int foo; void bar() { };
16427 main ()
16431 return 0;
16433 _ACEOF
16434 if ac_fn_cxx_try_compile "$LINENO"; then :
16435 ac_fdsections=yes
16436 else
16437 ac_fdsections=no
16439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16440 if test "$ac_test_CXXFLAGS" = set; then
16441 CXXFLAGS="$ac_save_CXXFLAGS"
16442 else
16443 # this is the suspicious part
16444 CXXFLAGS=''
16446 if test x"$ac_fdsections" = x"yes"; then
16447 SECTION_FLAGS='-ffunction-sections -fdata-sections'
16449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
16450 $as_echo "$ac_fdsections" >&6; }
16452 ac_ext=c
16453 ac_cpp='$CPP $CPPFLAGS'
16454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16461 # Enable all the variable C++ runtime options that don't require linking.
16463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
16464 $as_echo_n "checking for underlying I/O to use... " >&6; }
16465 # Check whether --enable-cstdio was given.
16466 if test "${enable_cstdio+set}" = set; then :
16467 enableval=$enable_cstdio;
16468 case "$enableval" in
16469 stdio|stdio_posix|stdio_pure) ;;
16470 *) as_fn_error $? "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
16471 esac
16473 else
16474 enable_cstdio=stdio
16479 # The only available I/O model is based on stdio, via basic_file_stdio.
16480 # The default "stdio" is actually "stdio + POSIX" because it uses fdopen(3)
16481 # to get a file descriptor and then uses read(3) and write(3) with it.
16482 # The "stdio_pure" model doesn't use fdopen and only uses FILE* for I/O.
16483 case ${enable_cstdio} in
16484 stdio*)
16485 CSTDIO_H=config/io/c_io_stdio.h
16486 BASIC_FILE_H=config/io/basic_file_stdio.h
16487 BASIC_FILE_CC=config/io/basic_file_stdio.cc
16489 if test "x$enable_cstdio" = "xstdio_pure" ; then
16490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio (without POSIX read/write)" >&5
16491 $as_echo "stdio (without POSIX read/write)" >&6; }
16493 $as_echo "#define _GLIBCXX_USE_STDIO_PURE 1" >>confdefs.h
16495 else
16496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio (with POSIX read/write)" >&5
16497 $as_echo "stdio (with POSIX read/write)" >&6; }
16500 esac
16507 # Check whether --enable-clocale was given.
16508 if test "${enable_clocale+set}" = set; then :
16509 enableval=$enable_clocale;
16510 case "$enableval" in
16511 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
16512 *) as_fn_error $? "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
16513 esac
16515 else
16516 enable_clocale=auto
16521 # Deal with gettext issues. Default to not using it (=no) until we detect
16522 # support for it later. Let the user turn it off via --e/d, but let that
16523 # default to on for easier handling.
16524 USE_NLS=no
16525 # Check whether --enable-nls was given.
16526 if test "${enable_nls+set}" = set; then :
16527 enableval=$enable_nls;
16528 else
16529 enable_nls=yes
16533 # Either a known package, or "auto"
16534 if test $enable_clocale = no || test $enable_clocale = yes; then
16535 enable_clocale=auto
16537 enable_clocale_flag=$enable_clocale
16539 # Probe for locale model to use if none specified.
16540 # Default to "generic".
16541 if test $enable_clocale_flag = auto; then
16542 case ${target_os} in
16543 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16544 enable_clocale_flag=gnu
16546 darwin*)
16547 enable_clocale_flag=darwin
16549 vxworks*)
16550 enable_clocale_flag=vxworks
16552 dragonfly* | freebsd*)
16553 enable_clocale_flag=dragonfly
16555 openbsd*)
16556 enable_clocale_flag=newlib
16559 if test x"$with_newlib" = x"yes"; then
16560 enable_clocale_flag=newlib
16561 else
16562 enable_clocale_flag=generic
16565 esac
16568 # Sanity check model, and test for special functionality.
16569 if test $enable_clocale_flag = gnu; then
16570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16571 /* end confdefs.h. */
16573 #include <features.h>
16574 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
16575 _GLIBCXX_ok
16576 #endif
16578 _ACEOF
16579 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16580 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
16581 enable_clocale_flag=gnu
16582 else
16583 enable_clocale_flag=generic
16585 rm -f conftest*
16588 # Set it to scream when it hurts.
16589 ac_save_CFLAGS="$CFLAGS"
16590 CFLAGS="-Wimplicit-function-declaration -Werror"
16592 # Use strxfrm_l if available.
16593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16594 /* end confdefs.h. */
16595 #define _GNU_SOURCE 1
16596 #include <string.h>
16597 #include <locale.h>
16599 main ()
16601 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
16603 return 0;
16605 _ACEOF
16606 if ac_fn_c_try_compile "$LINENO"; then :
16608 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
16611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16613 # Use strerror_l if available.
16614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16615 /* end confdefs.h. */
16616 #define _GNU_SOURCE 1
16617 #include <string.h>
16618 #include <locale.h>
16620 main ()
16622 __locale_t loc; strerror_l(5, loc);
16624 return 0;
16626 _ACEOF
16627 if ac_fn_c_try_compile "$LINENO"; then :
16629 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
16632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16634 CFLAGS="$ac_save_CFLAGS"
16637 # Perhaps use strerror_r if available, and strerror_l isn't.
16638 ac_save_CFLAGS="$CFLAGS"
16639 CFLAGS="-Wimplicit-function-declaration -Werror"
16640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16641 /* end confdefs.h. */
16642 #define _GNU_SOURCE 1
16643 #include <string.h>
16644 #include <locale.h>
16646 main ()
16648 char s[128]; strerror_r(5, s, 128);
16650 return 0;
16652 _ACEOF
16653 if ac_fn_c_try_compile "$LINENO"; then :
16655 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16659 CFLAGS="$ac_save_CFLAGS"
16661 # Set configure bits for specified locale package
16662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
16663 $as_echo_n "checking for C locale to use... " >&6; }
16664 case ${enable_clocale_flag} in
16665 generic)
16666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
16667 $as_echo "generic" >&6; }
16669 CLOCALE_H=config/locale/generic/c_locale.h
16670 CLOCALE_CC=config/locale/generic/c_locale.cc
16671 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16672 CCOLLATE_CC=config/locale/generic/collate_members.cc
16673 CCTYPE_CC=config/locale/generic/ctype_members.cc
16674 CMESSAGES_H=config/locale/generic/messages_members.h
16675 CMESSAGES_CC=config/locale/generic/messages_members.cc
16676 CMONEY_CC=config/locale/generic/monetary_members.cc
16677 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16678 CTIME_H=config/locale/generic/time_members.h
16679 CTIME_CC=config/locale/generic/time_members.cc
16680 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16682 darwin)
16683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
16684 $as_echo "darwin" >&6; }
16686 CLOCALE_H=config/locale/generic/c_locale.h
16687 CLOCALE_CC=config/locale/generic/c_locale.cc
16688 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16689 CCOLLATE_CC=config/locale/generic/collate_members.cc
16690 CCTYPE_CC=config/locale/darwin/ctype_members.cc
16691 CMESSAGES_H=config/locale/generic/messages_members.h
16692 CMESSAGES_CC=config/locale/generic/messages_members.cc
16693 CMONEY_CC=config/locale/generic/monetary_members.cc
16694 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16695 CTIME_H=config/locale/generic/time_members.h
16696 CTIME_CC=config/locale/generic/time_members.cc
16697 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16699 vxworks)
16700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: vxworks" >&5
16701 $as_echo "vxworks" >&6; }
16703 CLOCALE_H=config/locale/generic/c_locale.h
16704 CLOCALE_CC=config/locale/generic/c_locale.cc
16705 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16706 CCOLLATE_CC=config/locale/generic/collate_members.cc
16707 CCTYPE_CC=config/locale/vxworks/ctype_members.cc
16708 CMESSAGES_H=config/locale/generic/messages_members.h
16709 CMESSAGES_CC=config/locale/generic/messages_members.cc
16710 CMONEY_CC=config/locale/generic/monetary_members.cc
16711 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16712 CTIME_H=config/locale/generic/time_members.h
16713 CTIME_CC=config/locale/generic/time_members.cc
16714 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16716 dragonfly)
16717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
16718 $as_echo "dragonfly or freebsd" >&6; }
16720 CLOCALE_H=config/locale/dragonfly/c_locale.h
16721 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16722 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16723 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16724 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16725 CMESSAGES_H=config/locale/generic/messages_members.h
16726 CMESSAGES_CC=config/locale/generic/messages_members.cc
16727 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16728 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16729 CTIME_H=config/locale/dragonfly/time_members.h
16730 CTIME_CC=config/locale/dragonfly/time_members.cc
16731 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16734 gnu)
16735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16736 $as_echo "gnu" >&6; }
16738 # Declare intention to use gettext, and add support for specific
16739 # languages.
16740 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16741 ALL_LINGUAS="de fr"
16743 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16744 # Extract the first word of "msgfmt", so it can be a program name with args.
16745 set dummy msgfmt; ac_word=$2
16746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16747 $as_echo_n "checking for $ac_word... " >&6; }
16748 if ${ac_cv_prog_check_msgfmt+:} false; then :
16749 $as_echo_n "(cached) " >&6
16750 else
16751 if test -n "$check_msgfmt"; then
16752 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16753 else
16754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16755 for as_dir in $PATH
16757 IFS=$as_save_IFS
16758 test -z "$as_dir" && as_dir=.
16759 for ac_exec_ext in '' $ac_executable_extensions; do
16760 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16761 ac_cv_prog_check_msgfmt="yes"
16762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16763 break 2
16765 done
16766 done
16767 IFS=$as_save_IFS
16769 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16772 check_msgfmt=$ac_cv_prog_check_msgfmt
16773 if test -n "$check_msgfmt"; then
16774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16775 $as_echo "$check_msgfmt" >&6; }
16776 else
16777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16778 $as_echo "no" >&6; }
16782 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16783 USE_NLS=yes
16785 # Export the build objects.
16786 for ling in $ALL_LINGUAS; do \
16787 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16788 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16789 done
16793 CLOCALE_H=config/locale/gnu/c_locale.h
16794 CLOCALE_CC=config/locale/gnu/c_locale.cc
16795 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16796 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16797 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16798 CMESSAGES_H=config/locale/gnu/messages_members.h
16799 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16800 CMONEY_CC=config/locale/gnu/monetary_members.cc
16801 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16802 CTIME_H=config/locale/gnu/time_members.h
16803 CTIME_CC=config/locale/gnu/time_members.cc
16804 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16806 ieee_1003.1-2001)
16807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16808 $as_echo "IEEE 1003.1" >&6; }
16810 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16811 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16812 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16813 CCOLLATE_CC=config/locale/generic/collate_members.cc
16814 CCTYPE_CC=config/locale/generic/ctype_members.cc
16815 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16816 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16817 CMONEY_CC=config/locale/generic/monetary_members.cc
16818 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16819 CTIME_H=config/locale/generic/time_members.h
16820 CTIME_CC=config/locale/generic/time_members.cc
16821 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16823 newlib)
16824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16825 $as_echo "newlib" >&6; }
16827 CLOCALE_H=config/locale/generic/c_locale.h
16828 CLOCALE_CC=config/locale/generic/c_locale.cc
16829 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16830 CCOLLATE_CC=config/locale/generic/collate_members.cc
16831 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16832 CMESSAGES_H=config/locale/generic/messages_members.h
16833 CMESSAGES_CC=config/locale/generic/messages_members.cc
16834 CMONEY_CC=config/locale/generic/monetary_members.cc
16835 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16836 CTIME_H=config/locale/generic/time_members.h
16837 CTIME_CC=config/locale/generic/time_members.cc
16838 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16840 esac
16842 # This is where the testsuite looks for locale catalogs, using the
16843 # -DLOCALEDIR define during testsuite compilation.
16844 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16847 # A standalone libintl (e.g., GNU libintl) may be in use.
16848 if test $USE_NLS = yes; then
16849 for ac_header in libintl.h
16850 do :
16851 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16852 if test "x$ac_cv_header_libintl_h" = xyes; then :
16853 cat >>confdefs.h <<_ACEOF
16854 #define HAVE_LIBINTL_H 1
16855 _ACEOF
16857 else
16858 USE_NLS=no
16861 done
16863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16864 $as_echo_n "checking for library containing gettext... " >&6; }
16865 if ${ac_cv_search_gettext+:} false; then :
16866 $as_echo_n "(cached) " >&6
16867 else
16868 ac_func_search_save_LIBS=$LIBS
16869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16870 /* end confdefs.h. */
16872 /* Override any GCC internal prototype to avoid an error.
16873 Use char because int might match the return type of a GCC
16874 builtin and then its argument prototype would still apply. */
16875 #ifdef __cplusplus
16876 extern "C"
16877 #endif
16878 char gettext ();
16880 main ()
16882 return gettext ();
16884 return 0;
16886 _ACEOF
16887 for ac_lib in '' intl; do
16888 if test -z "$ac_lib"; then
16889 ac_res="none required"
16890 else
16891 ac_res=-l$ac_lib
16892 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16894 if test x$gcc_no_link = xyes; then
16895 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16897 if ac_fn_c_try_link "$LINENO"; then :
16898 ac_cv_search_gettext=$ac_res
16900 rm -f core conftest.err conftest.$ac_objext \
16901 conftest$ac_exeext
16902 if ${ac_cv_search_gettext+:} false; then :
16903 break
16905 done
16906 if ${ac_cv_search_gettext+:} false; then :
16908 else
16909 ac_cv_search_gettext=no
16911 rm conftest.$ac_ext
16912 LIBS=$ac_func_search_save_LIBS
16914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16915 $as_echo "$ac_cv_search_gettext" >&6; }
16916 ac_res=$ac_cv_search_gettext
16917 if test "$ac_res" != no; then :
16918 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16920 else
16921 USE_NLS=no
16925 if test $USE_NLS = yes; then
16927 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16947 $as_echo_n "checking for std::allocator base class... " >&6; }
16948 # Check whether --enable-libstdcxx-allocator was given.
16949 if test "${enable_libstdcxx_allocator+set}" = set; then :
16950 enableval=$enable_libstdcxx_allocator;
16951 case "$enableval" in
16952 new|malloc|yes|no|auto) ;;
16953 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16954 esac
16956 else
16957 enable_libstdcxx_allocator=auto
16962 # If they didn't use this option switch, or if they specified --enable
16963 # with no specific model, we'll have to look for one. If they
16964 # specified --disable (???), do likewise.
16965 if test $enable_libstdcxx_allocator = no ||
16966 test $enable_libstdcxx_allocator = yes;
16967 then
16968 enable_libstdcxx_allocator=auto
16971 # Either a known package, or "auto". Auto implies the default choice
16972 # for a particular platform.
16973 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16975 # Probe for host-specific support if no specific model is specified.
16976 # Default to "new".
16977 if test $enable_libstdcxx_allocator_flag = auto; then
16978 case ${target_os} in
16979 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16980 enable_libstdcxx_allocator_flag=new
16983 enable_libstdcxx_allocator_flag=new
16985 esac
16987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16988 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16991 # Set configure bits for specified locale package
16992 case ${enable_libstdcxx_allocator_flag} in
16993 malloc)
16994 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16995 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16997 new)
16998 ALLOCATOR_H=config/allocator/new_allocator_base.h
16999 ALLOCATOR_NAME=__gnu_cxx::new_allocator
17001 esac
17008 # Check whether --enable-cheaders-obsolete was given.
17009 if test "${enable_cheaders_obsolete+set}" = set; then :
17010 enableval=$enable_cheaders_obsolete;
17011 case "$enableval" in
17012 yes|no) ;;
17013 *) as_fn_error $? "Argument to enable/disable cheaders-obsolete must be yes or no" "$LINENO" 5 ;;
17014 esac
17016 else
17017 enable_cheaders_obsolete=no
17021 # Check whether --enable-cheaders was given.
17022 if test "${enable_cheaders+set}" = set; then :
17023 enableval=$enable_cheaders;
17024 case "$enableval" in
17025 c|c_global|c_std) ;;
17026 *) as_fn_error $? "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
17027 esac
17029 else
17030 enable_cheaders=$c_model
17034 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
17035 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
17036 if test $enable_cheaders = c_std ; then
17037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: the --enable-cheaders=c_std configuration is obsolete, c_global should be used instead" >&5
17038 $as_echo "$as_me: WARNING: the --enable-cheaders=c_std configuration is obsolete, c_global should be used instead" >&2;}
17039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: if you are unable to use c_global please report a bug or inform libstdc++@gcc.gnu.org" >&5
17040 $as_echo "$as_me: WARNING: if you are unable to use c_global please report a bug or inform libstdc++@gcc.gnu.org" >&2;}
17041 if test $enable_cheaders_obsolete != yes ; then
17042 as_fn_error $? "use --enable-cheaders-obsolete to use c_std \"C\" headers" "$LINENO" 5
17046 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
17048 # Allow overrides to configure.host here.
17049 if test $enable_cheaders = c_global; then
17050 c_compatibility=yes
17059 # Check whether --enable-long-long was given.
17060 if test "${enable_long_long+set}" = set; then :
17061 enableval=$enable_long_long;
17062 case "$enableval" in
17063 yes|no) ;;
17064 *) as_fn_error $? "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
17065 esac
17067 else
17068 enable_long_long=yes
17072 if test $enable_long_long = yes; then
17074 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
17077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
17078 $as_echo_n "checking for enabled long long specializations... " >&6; }
17079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
17080 $as_echo "$enable_long_long" >&6; }
17083 # Check whether --enable-wchar_t was given.
17084 if test "${enable_wchar_t+set}" = set; then :
17085 enableval=$enable_wchar_t;
17086 case "$enableval" in
17087 yes|no) ;;
17088 *) as_fn_error $? "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
17089 esac
17091 else
17092 enable_wchar_t=yes
17097 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
17098 for ac_header in wchar.h
17099 do :
17100 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
17101 if test "x$ac_cv_header_wchar_h" = xyes; then :
17102 cat >>confdefs.h <<_ACEOF
17103 #define HAVE_WCHAR_H 1
17104 _ACEOF
17105 ac_has_wchar_h=yes
17106 else
17107 ac_has_wchar_h=no
17110 done
17112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
17113 $as_echo_n "checking for mbstate_t... " >&6; }
17114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17115 /* end confdefs.h. */
17116 #include <wchar.h>
17118 main ()
17120 mbstate_t teststate;
17122 return 0;
17124 _ACEOF
17125 if ac_fn_c_try_compile "$LINENO"; then :
17126 have_mbstate_t=yes
17127 else
17128 have_mbstate_t=no
17130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
17132 $as_echo "$have_mbstate_t" >&6; }
17133 if test x"$have_mbstate_t" = xyes; then
17135 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
17139 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
17140 # ac_has_wchar_h.
17141 for ac_header in wctype.h
17142 do :
17143 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
17144 if test "x$ac_cv_header_wctype_h" = xyes; then :
17145 cat >>confdefs.h <<_ACEOF
17146 #define HAVE_WCTYPE_H 1
17147 _ACEOF
17148 ac_has_wctype_h=yes
17149 else
17150 ac_has_wctype_h=no
17153 done
17156 if test x"$enable_wchar_t" = x"yes"; then
17159 ac_ext=cpp
17160 ac_cpp='$CXXCPP $CPPFLAGS'
17161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17166 if test x"$ac_has_wchar_h" = xyes &&
17167 test x"$ac_has_wctype_h" = xyes; then
17168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17169 /* end confdefs.h. */
17170 #include <wchar.h>
17171 #include <stddef.h>
17172 wint_t i;
17173 long l = WEOF;
17174 long j = WCHAR_MIN;
17175 long k = WCHAR_MAX;
17176 namespace test
17178 using ::btowc;
17179 using ::fgetwc;
17180 using ::fgetws;
17181 using ::fputwc;
17182 using ::fputws;
17183 using ::fwide;
17184 using ::fwprintf;
17185 using ::fwscanf;
17186 using ::getwc;
17187 using ::getwchar;
17188 using ::mbrlen;
17189 using ::mbrtowc;
17190 using ::mbsinit;
17191 using ::mbsrtowcs;
17192 using ::putwc;
17193 using ::putwchar;
17194 using ::swprintf;
17195 using ::swscanf;
17196 using ::ungetwc;
17197 using ::vfwprintf;
17198 using ::vswprintf;
17199 using ::vwprintf;
17200 using ::wcrtomb;
17201 using ::wcscat;
17202 using ::wcschr;
17203 using ::wcscmp;
17204 using ::wcscoll;
17205 using ::wcscpy;
17206 using ::wcscspn;
17207 using ::wcsftime;
17208 using ::wcslen;
17209 using ::wcsncat;
17210 using ::wcsncmp;
17211 using ::wcsncpy;
17212 using ::wcspbrk;
17213 using ::wcsrchr;
17214 using ::wcsrtombs;
17215 using ::wcsspn;
17216 using ::wcsstr;
17217 using ::wcstod;
17218 using ::wcstok;
17219 using ::wcstol;
17220 using ::wcstoul;
17221 using ::wcsxfrm;
17222 using ::wctob;
17223 using ::wmemchr;
17224 using ::wmemcmp;
17225 using ::wmemcpy;
17226 using ::wmemmove;
17227 using ::wmemset;
17228 using ::wprintf;
17229 using ::wscanf;
17233 main ()
17237 return 0;
17239 _ACEOF
17240 if ac_fn_cxx_try_compile "$LINENO"; then :
17242 else
17243 enable_wchar_t=no
17245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17246 else
17247 enable_wchar_t=no
17250 ac_ext=c
17251 ac_cpp='$CPP $CPPFLAGS'
17252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17258 if test x"$enable_wchar_t" = x"yes"; then
17260 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
17264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
17265 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
17266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
17267 $as_echo "$enable_wchar_t" >&6; }
17271 # Check whether --enable-c99 was given.
17272 if test "${enable_c99+set}" = set; then :
17273 enableval=$enable_c99;
17274 case "$enableval" in
17275 yes|no) ;;
17276 *) as_fn_error $? "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
17277 esac
17279 else
17280 enable_c99=yes
17285 if test x"$enable_c99" = x"yes"; then
17287 ac_ext=cpp
17288 ac_cpp='$CXXCPP $CPPFLAGS'
17289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17294 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
17295 # undefined may cause fake C99 facilities, like pre-standard snprintf,
17296 # to be spuriously enabled.
17297 ac_save_CXXFLAGS="$CXXFLAGS"
17298 CXXFLAGS="$CXXFLAGS -std=c++98"
17299 ac_save_LIBS="$LIBS"
17300 ac_save_gcc_no_link="$gcc_no_link"
17302 if test x$gcc_no_link != xyes; then
17303 # Use -fno-exceptions to that the C driver can link these tests without
17304 # hitting undefined references to personality routines.
17305 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17307 $as_echo_n "checking for sin in -lm... " >&6; }
17308 if ${ac_cv_lib_m_sin+:} false; then :
17309 $as_echo_n "(cached) " >&6
17310 else
17311 ac_check_lib_save_LIBS=$LIBS
17312 LIBS="-lm $LIBS"
17313 if test x$gcc_no_link = xyes; then
17314 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17317 /* end confdefs.h. */
17319 /* Override any GCC internal prototype to avoid an error.
17320 Use char because int might match the return type of a GCC
17321 builtin and then its argument prototype would still apply. */
17322 #ifdef __cplusplus
17323 extern "C"
17324 #endif
17325 char sin ();
17327 main ()
17329 return sin ();
17331 return 0;
17333 _ACEOF
17334 if ac_fn_cxx_try_link "$LINENO"; then :
17335 ac_cv_lib_m_sin=yes
17336 else
17337 ac_cv_lib_m_sin=no
17339 rm -f core conftest.err conftest.$ac_objext \
17340 conftest$ac_exeext conftest.$ac_ext
17341 LIBS=$ac_check_lib_save_LIBS
17343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17344 $as_echo "$ac_cv_lib_m_sin" >&6; }
17345 if test "x$ac_cv_lib_m_sin" = xyes; then :
17346 LIBS="$LIBS -lm"
17347 else
17349 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17350 gcc_no_link=yes
17356 # Check for the existence of <math.h> functions used if C99 is enabled.
17357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
17358 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
17359 if ${glibcxx_cv_c99_math_cxx98+:} false; then :
17360 $as_echo_n "(cached) " >&6
17361 else
17363 if test x$gcc_no_link = xyes; then
17364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17365 /* end confdefs.h. */
17366 #include <math.h>
17367 volatile double d1, d2;
17368 volatile int i;
17370 main ()
17372 i = fpclassify(d1);
17373 i = isfinite(d1);
17374 i = isinf(d1);
17375 i = isnan(d1);
17376 i = isnormal(d1);
17377 i = signbit(d1);
17378 i = isgreater(d1, d2);
17379 i = isgreaterequal(d1, d2);
17380 i = isless(d1, d2);
17381 i = islessequal(d1, d2);
17382 i = islessgreater(d1, d2);
17383 i = islessgreater(d1, d2);
17384 i = isunordered(d1, d2);
17387 return 0;
17389 _ACEOF
17390 if ac_fn_cxx_try_compile "$LINENO"; then :
17391 glibcxx_cv_c99_math_cxx98=yes
17392 else
17393 glibcxx_cv_c99_math_cxx98=no
17395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17396 else
17397 if test x$gcc_no_link = xyes; then
17398 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17401 /* end confdefs.h. */
17402 #include <math.h>
17403 volatile double d1, d2;
17404 volatile int i;
17406 main ()
17408 i = fpclassify(d1);
17409 i = isfinite(d1);
17410 i = isinf(d1);
17411 i = isnan(d1);
17412 i = isnormal(d1);
17413 i = signbit(d1);
17414 i = isgreater(d1, d2);
17415 i = isgreaterequal(d1, d2);
17416 i = isless(d1, d2);
17417 i = islessequal(d1, d2);
17418 i = islessgreater(d1, d2);
17419 i = islessgreater(d1, d2);
17420 i = isunordered(d1, d2);
17423 return 0;
17425 _ACEOF
17426 if ac_fn_cxx_try_link "$LINENO"; then :
17427 glibcxx_cv_c99_math_cxx98=yes
17428 else
17429 glibcxx_cv_c99_math_cxx98=no
17431 rm -f core conftest.err conftest.$ac_objext \
17432 conftest$ac_exeext conftest.$ac_ext
17436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
17437 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
17438 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
17440 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
17444 # Check for the existence of <complex.h> complex math functions.
17445 # This is necessary even though libstdc++ uses the builtin versions
17446 # of these functions, because if the builtin cannot be used, a reference
17447 # to the library function is emitted.
17448 for ac_header in tgmath.h
17449 do :
17450 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17451 if test "x$ac_cv_header_tgmath_h" = xyes; then :
17452 cat >>confdefs.h <<_ACEOF
17453 #define HAVE_TGMATH_H 1
17454 _ACEOF
17455 ac_has_tgmath_h=yes
17456 else
17457 ac_has_tgmath_h=no
17460 done
17462 for ac_header in complex.h
17463 do :
17464 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17465 if test "x$ac_cv_header_complex_h" = xyes; then :
17466 cat >>confdefs.h <<_ACEOF
17467 #define HAVE_COMPLEX_H 1
17468 _ACEOF
17469 ac_has_complex_h=yes
17470 else
17471 ac_has_complex_h=no
17474 done
17476 if test x"$ac_has_complex_h" = x"yes"; then
17477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
17478 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
17479 if ${glibcxx_cv_c99_complex_cxx98+:} false; then :
17480 $as_echo_n "(cached) " >&6
17481 else
17483 if test x$gcc_no_link = xyes; then
17484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17485 /* end confdefs.h. */
17486 #include <complex.h>
17487 typedef __complex__ float float_type;
17488 typedef __complex__ double double_type;
17489 typedef __complex__ long double ld_type;
17490 volatile float_type tmpf;
17491 volatile double_type tmpd;
17492 volatile ld_type tmpld;
17493 volatile float f;
17494 volatile double d;
17495 volatile long double ld;
17497 main ()
17499 f = cabsf(tmpf);
17500 f = cargf(tmpf);
17501 tmpf = ccosf(tmpf);
17502 tmpf = ccoshf(tmpf);
17503 tmpf = cexpf(tmpf);
17504 tmpf = clogf(tmpf);
17505 tmpf = csinf(tmpf);
17506 tmpf = csinhf(tmpf);
17507 tmpf = csqrtf(tmpf);
17508 tmpf = ctanf(tmpf);
17509 tmpf = ctanhf(tmpf);
17510 tmpf = cpowf(tmpf, tmpf);
17511 tmpf = cprojf(tmpf);
17512 d = cabs(tmpd);
17513 d = carg(tmpd);
17514 tmpd = ccos(tmpd);
17515 tmpd = ccosh(tmpd);
17516 tmpd = cexp(tmpd);
17517 tmpd = clog(tmpd);
17518 tmpd = csin(tmpd);
17519 tmpd = csinh(tmpd);
17520 tmpd = csqrt(tmpd);
17521 tmpd = ctan(tmpd);
17522 tmpd = ctanh(tmpd);
17523 tmpd = cpow(tmpd, tmpd);
17524 tmpd = cproj(tmpd);
17525 ld = cabsl(tmpld);
17526 ld = cargl(tmpld);
17527 tmpld = ccosl(tmpld);
17528 tmpld = ccoshl(tmpld);
17529 tmpld = cexpl(tmpld);
17530 tmpld = clogl(tmpld);
17531 tmpld = csinl(tmpld);
17532 tmpld = csinhl(tmpld);
17533 tmpld = csqrtl(tmpld);
17534 tmpld = ctanl(tmpld);
17535 tmpld = ctanhl(tmpld);
17536 tmpld = cpowl(tmpld, tmpld);
17537 tmpld = cprojl(tmpld);
17540 return 0;
17542 _ACEOF
17543 if ac_fn_cxx_try_compile "$LINENO"; then :
17544 glibcxx_cv_c99_complex_cxx98=yes
17545 else
17546 glibcxx_cv_c99_complex_cxx98=no
17548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17549 else
17550 if test x$gcc_no_link = xyes; then
17551 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17554 /* end confdefs.h. */
17555 #include <complex.h>
17556 typedef __complex__ float float_type;
17557 typedef __complex__ double double_type;
17558 typedef __complex__ long double ld_type;
17559 volatile float_type tmpf;
17560 volatile double_type tmpd;
17561 volatile ld_type tmpld;
17562 volatile float f;
17563 volatile double d;
17564 volatile long double ld;
17566 main ()
17568 f = cabsf(tmpf);
17569 f = cargf(tmpf);
17570 tmpf = ccosf(tmpf);
17571 tmpf = ccoshf(tmpf);
17572 tmpf = cexpf(tmpf);
17573 tmpf = clogf(tmpf);
17574 tmpf = csinf(tmpf);
17575 tmpf = csinhf(tmpf);
17576 tmpf = csqrtf(tmpf);
17577 tmpf = ctanf(tmpf);
17578 tmpf = ctanhf(tmpf);
17579 tmpf = cpowf(tmpf, tmpf);
17580 tmpf = cprojf(tmpf);
17581 d = cabs(tmpd);
17582 d = carg(tmpd);
17583 tmpd = ccos(tmpd);
17584 tmpd = ccosh(tmpd);
17585 tmpd = cexp(tmpd);
17586 tmpd = clog(tmpd);
17587 tmpd = csin(tmpd);
17588 tmpd = csinh(tmpd);
17589 tmpd = csqrt(tmpd);
17590 tmpd = ctan(tmpd);
17591 tmpd = ctanh(tmpd);
17592 tmpd = cpow(tmpd, tmpd);
17593 tmpd = cproj(tmpd);
17594 ld = cabsl(tmpld);
17595 ld = cargl(tmpld);
17596 tmpld = ccosl(tmpld);
17597 tmpld = ccoshl(tmpld);
17598 tmpld = cexpl(tmpld);
17599 tmpld = clogl(tmpld);
17600 tmpld = csinl(tmpld);
17601 tmpld = csinhl(tmpld);
17602 tmpld = csqrtl(tmpld);
17603 tmpld = ctanl(tmpld);
17604 tmpld = ctanhl(tmpld);
17605 tmpld = cpowl(tmpld, tmpld);
17606 tmpld = cprojl(tmpld);
17609 return 0;
17611 _ACEOF
17612 if ac_fn_cxx_try_link "$LINENO"; then :
17613 glibcxx_cv_c99_complex_cxx98=yes
17614 else
17615 glibcxx_cv_c99_complex_cxx98=no
17617 rm -f core conftest.err conftest.$ac_objext \
17618 conftest$ac_exeext conftest.$ac_ext
17622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
17623 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
17625 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
17627 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
17631 # Check for the existence in <stdio.h> of vscanf, et. al.
17632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
17633 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
17634 if ${glibcxx_cv_c99_stdio_cxx98+:} false; then :
17635 $as_echo_n "(cached) " >&6
17636 else
17638 if test x$gcc_no_link = xyes; then
17639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17640 /* end confdefs.h. */
17641 #include <stdio.h>
17642 #include <stdarg.h>
17643 void foo(char* fmt, ...)
17645 va_list args; va_start(args, fmt);
17646 vfscanf(stderr, "%i", args);
17647 vscanf("%i", args);
17648 vsnprintf(fmt, 0, "%i", args);
17649 vsscanf(fmt, "%i", args);
17650 snprintf(fmt, 0, "%i");
17653 main ()
17657 return 0;
17659 _ACEOF
17660 if ac_fn_cxx_try_compile "$LINENO"; then :
17661 glibcxx_cv_c99_stdio_cxx98=yes
17662 else
17663 glibcxx_cv_c99_stdio_cxx98=no
17665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17666 else
17667 if test x$gcc_no_link = xyes; then
17668 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17671 /* end confdefs.h. */
17672 #include <stdio.h>
17673 #include <stdarg.h>
17674 void foo(char* fmt, ...)
17676 va_list args; va_start(args, fmt);
17677 vfscanf(stderr, "%i", args);
17678 vscanf("%i", args);
17679 vsnprintf(fmt, 0, "%i", args);
17680 vsscanf(fmt, "%i", args);
17681 snprintf(fmt, 0, "%i");
17684 main ()
17688 return 0;
17690 _ACEOF
17691 if ac_fn_cxx_try_link "$LINENO"; then :
17692 glibcxx_cv_c99_stdio_cxx98=yes
17693 else
17694 glibcxx_cv_c99_stdio_cxx98=no
17696 rm -f core conftest.err conftest.$ac_objext \
17697 conftest$ac_exeext conftest.$ac_ext
17701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
17702 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
17703 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
17705 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
17709 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
17711 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
17712 if ${glibcxx_cv_c99_stdlib_cxx98+:} false; then :
17713 $as_echo_n "(cached) " >&6
17714 else
17716 if test x$gcc_no_link = xyes; then
17717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17718 /* end confdefs.h. */
17719 #include <stdlib.h>
17720 volatile float f;
17721 volatile long double ld;
17722 volatile unsigned long long ll;
17723 lldiv_t mydivt;
17725 main ()
17727 char* tmp;
17728 f = strtof("gnu", &tmp);
17729 ld = strtold("gnu", &tmp);
17730 ll = strtoll("gnu", &tmp, 10);
17731 ll = strtoull("gnu", &tmp, 10);
17732 ll = llabs(10);
17733 mydivt = lldiv(10,1);
17734 ll = mydivt.quot;
17735 ll = mydivt.rem;
17736 ll = atoll("10");
17737 _Exit(0);
17740 return 0;
17742 _ACEOF
17743 if ac_fn_cxx_try_compile "$LINENO"; then :
17744 glibcxx_cv_c99_stdlib_cxx98=yes
17745 else
17746 glibcxx_cv_c99_stdlib_cxx98=no
17748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17749 else
17750 if test x$gcc_no_link = xyes; then
17751 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17754 /* end confdefs.h. */
17755 #include <stdlib.h>
17756 volatile float f;
17757 volatile long double ld;
17758 volatile unsigned long long ll;
17759 lldiv_t mydivt;
17761 main ()
17763 char* tmp;
17764 f = strtof("gnu", &tmp);
17765 ld = strtold("gnu", &tmp);
17766 ll = strtoll("gnu", &tmp, 10);
17767 ll = strtoull("gnu", &tmp, 10);
17768 ll = llabs(10);
17769 mydivt = lldiv(10,1);
17770 ll = mydivt.quot;
17771 ll = mydivt.rem;
17772 ll = atoll("10");
17773 _Exit(0);
17776 return 0;
17778 _ACEOF
17779 if ac_fn_cxx_try_link "$LINENO"; then :
17780 glibcxx_cv_c99_stdlib_cxx98=yes
17781 else
17782 glibcxx_cv_c99_stdlib_cxx98=no
17784 rm -f core conftest.err conftest.$ac_objext \
17785 conftest$ac_exeext conftest.$ac_ext
17789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17790 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17791 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17793 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17797 # Check for the existence in <wchar.h> of wcstold, etc.
17798 if test x"$ac_has_wchar_h" = xyes &&
17799 test x"$ac_has_wctype_h" = xyes; then
17800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17801 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17802 if ${glibcxx_cv_c99_wchar_cxx98+:} false; then :
17803 $as_echo_n "(cached) " >&6
17804 else
17806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17807 /* end confdefs.h. */
17808 #include <wchar.h>
17809 namespace test
17811 using ::wcstold;
17812 using ::wcstoll;
17813 using ::wcstoull;
17817 main ()
17821 return 0;
17823 _ACEOF
17824 if ac_fn_cxx_try_compile "$LINENO"; then :
17825 glibcxx_cv_c99_wchar_cxx98=yes
17826 else
17827 glibcxx_cv_c99_wchar_cxx98=no
17829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17833 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17835 # Checks for wide character functions that may not be present.
17836 # Injection of these is wrapped with guard macros.
17837 # NB: only put functions here, instead of immediately above, if
17838 # absolutely necessary.
17839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17840 /* end confdefs.h. */
17841 #include <wchar.h>
17842 namespace test { using ::vfwscanf; }
17844 main ()
17848 return 0;
17850 _ACEOF
17851 if ac_fn_cxx_try_compile "$LINENO"; then :
17853 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17859 /* end confdefs.h. */
17860 #include <wchar.h>
17861 namespace test { using ::vswscanf; }
17863 main ()
17867 return 0;
17869 _ACEOF
17870 if ac_fn_cxx_try_compile "$LINENO"; then :
17872 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17878 /* end confdefs.h. */
17879 #include <wchar.h>
17880 namespace test { using ::vwscanf; }
17882 main ()
17886 return 0;
17888 _ACEOF
17889 if ac_fn_cxx_try_compile "$LINENO"; then :
17891 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17897 /* end confdefs.h. */
17898 #include <wchar.h>
17899 namespace test { using ::wcstof; }
17901 main ()
17905 return 0;
17907 _ACEOF
17908 if ac_fn_cxx_try_compile "$LINENO"; then :
17910 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17916 /* end confdefs.h. */
17917 #include <wctype.h>
17919 main ()
17921 wint_t t; int i = iswblank(t);
17923 return 0;
17925 _ACEOF
17926 if ac_fn_cxx_try_compile "$LINENO"; then :
17928 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17933 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17935 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17940 # Option parsed, now set things appropriately.
17941 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17942 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17943 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17944 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17945 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17946 enable_c99=no;
17947 else
17949 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17953 gcc_no_link="$ac_save_gcc_no_link"
17954 LIBS="$ac_save_LIBS"
17955 CXXFLAGS="$ac_save_CXXFLAGS"
17956 ac_ext=c
17957 ac_cpp='$CPP $CPPFLAGS'
17958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17964 ac_ext=cpp
17965 ac_cpp='$CXXCPP $CPPFLAGS'
17966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17971 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17972 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17973 ac_save_CXXFLAGS="$CXXFLAGS"
17974 CXXFLAGS="$CXXFLAGS -std=c++11"
17975 ac_save_LIBS="$LIBS"
17976 ac_save_gcc_no_link="$gcc_no_link"
17978 if test x$gcc_no_link != xyes; then
17979 # Use -fno-exceptions to that the C driver can link these tests without
17980 # hitting undefined references to personality routines.
17981 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17983 $as_echo_n "checking for sin in -lm... " >&6; }
17984 if ${ac_cv_lib_m_sin+:} false; then :
17985 $as_echo_n "(cached) " >&6
17986 else
17987 ac_check_lib_save_LIBS=$LIBS
17988 LIBS="-lm $LIBS"
17989 if test x$gcc_no_link = xyes; then
17990 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17993 /* end confdefs.h. */
17995 /* Override any GCC internal prototype to avoid an error.
17996 Use char because int might match the return type of a GCC
17997 builtin and then its argument prototype would still apply. */
17998 #ifdef __cplusplus
17999 extern "C"
18000 #endif
18001 char sin ();
18003 main ()
18005 return sin ();
18007 return 0;
18009 _ACEOF
18010 if ac_fn_cxx_try_link "$LINENO"; then :
18011 ac_cv_lib_m_sin=yes
18012 else
18013 ac_cv_lib_m_sin=no
18015 rm -f core conftest.err conftest.$ac_objext \
18016 conftest$ac_exeext conftest.$ac_ext
18017 LIBS=$ac_check_lib_save_LIBS
18019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
18020 $as_echo "$ac_cv_lib_m_sin" >&6; }
18021 if test "x$ac_cv_lib_m_sin" = xyes; then :
18022 LIBS="$LIBS -lm"
18023 else
18025 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
18026 gcc_no_link=yes
18032 # Check for the existence of <stdint.h> types.
18033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdint.h> for C++11" >&5
18034 $as_echo_n "checking for ISO C99 support in <stdint.h> for C++11... " >&6; }
18035 if ${glibcxx_cv_c99_stdint+:} false; then :
18036 $as_echo_n "(cached) " >&6
18037 else
18039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18040 /* end confdefs.h. */
18041 #define __STDC_LIMIT_MACROS
18042 #define __STDC_CONSTANT_MACROS
18043 #include <stdint.h>
18045 main ()
18047 typedef int8_t my_int8_t;
18048 my_int8_t i8 = INT8_MIN;
18049 i8 = INT8_MAX;
18050 typedef int16_t my_int16_t;
18051 my_int16_t i16 = INT16_MIN;
18052 i16 = INT16_MAX;
18053 typedef int32_t my_int32_t;
18054 my_int32_t i32 = INT32_MIN;
18055 i32 = INT32_MAX;
18056 typedef int64_t my_int64_t;
18057 my_int64_t i64 = INT64_MIN;
18058 i64 = INT64_MAX;
18059 typedef int_fast8_t my_int_fast8_t;
18060 my_int_fast8_t if8 = INT_FAST8_MIN;
18061 if8 = INT_FAST8_MAX;
18062 typedef int_fast16_t my_int_fast16_t;
18063 my_int_fast16_t if16 = INT_FAST16_MIN;
18064 if16 = INT_FAST16_MAX;
18065 typedef int_fast32_t my_int_fast32_t;
18066 my_int_fast32_t if32 = INT_FAST32_MIN;
18067 if32 = INT_FAST32_MAX;
18068 typedef int_fast64_t my_int_fast64_t;
18069 my_int_fast64_t if64 = INT_FAST64_MIN;
18070 if64 = INT_FAST64_MAX;
18071 typedef int_least8_t my_int_least8_t;
18072 my_int_least8_t il8 = INT_LEAST8_MIN;
18073 il8 = INT_LEAST8_MAX;
18074 typedef int_least16_t my_int_least16_t;
18075 my_int_least16_t il16 = INT_LEAST16_MIN;
18076 il16 = INT_LEAST16_MAX;
18077 typedef int_least32_t my_int_least32_t;
18078 my_int_least32_t il32 = INT_LEAST32_MIN;
18079 il32 = INT_LEAST32_MAX;
18080 typedef int_least64_t my_int_least64_t;
18081 my_int_least64_t il64 = INT_LEAST64_MIN;
18082 il64 = INT_LEAST64_MAX;
18083 typedef intmax_t my_intmax_t;
18084 my_intmax_t im = INTMAX_MAX;
18085 im = INTMAX_MIN;
18086 typedef intptr_t my_intptr_t;
18087 my_intptr_t ip = INTPTR_MAX;
18088 ip = INTPTR_MIN;
18089 typedef uint8_t my_uint8_t;
18090 my_uint8_t ui8 = UINT8_MAX;
18091 ui8 = UINT8_MAX;
18092 typedef uint16_t my_uint16_t;
18093 my_uint16_t ui16 = UINT16_MAX;
18094 ui16 = UINT16_MAX;
18095 typedef uint32_t my_uint32_t;
18096 my_uint32_t ui32 = UINT32_MAX;
18097 ui32 = UINT32_MAX;
18098 typedef uint64_t my_uint64_t;
18099 my_uint64_t ui64 = UINT64_MAX;
18100 ui64 = UINT64_MAX;
18101 typedef uint_fast8_t my_uint_fast8_t;
18102 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18103 uif8 = UINT_FAST8_MAX;
18104 typedef uint_fast16_t my_uint_fast16_t;
18105 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18106 uif16 = UINT_FAST16_MAX;
18107 typedef uint_fast32_t my_uint_fast32_t;
18108 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18109 uif32 = UINT_FAST32_MAX;
18110 typedef uint_fast64_t my_uint_fast64_t;
18111 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18112 uif64 = UINT_FAST64_MAX;
18113 typedef uint_least8_t my_uint_least8_t;
18114 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18115 uil8 = UINT_LEAST8_MAX;
18116 typedef uint_least16_t my_uint_least16_t;
18117 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18118 uil16 = UINT_LEAST16_MAX;
18119 typedef uint_least32_t my_uint_least32_t;
18120 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18121 uil32 = UINT_LEAST32_MAX;
18122 typedef uint_least64_t my_uint_least64_t;
18123 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18124 uil64 = UINT_LEAST64_MAX;
18125 typedef uintmax_t my_uintmax_t;
18126 my_uintmax_t uim = UINTMAX_MAX;
18127 uim = UINTMAX_MAX;
18128 typedef uintptr_t my_uintptr_t;
18129 my_uintptr_t uip = UINTPTR_MAX;
18130 uip = UINTPTR_MAX;
18133 return 0;
18135 _ACEOF
18136 if ac_fn_cxx_try_compile "$LINENO"; then :
18137 glibcxx_cv_c99_stdint=yes
18138 else
18139 glibcxx_cv_c99_stdint=no
18141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint" >&5
18145 $as_echo "$glibcxx_cv_c99_stdint" >&6; }
18146 if test x"$glibcxx_cv_c99_stdint" = x"yes"; then
18148 $as_echo "#define _GLIBCXX_USE_C99_STDINT 1" >>confdefs.h
18152 # Check for the existence of <inttypes.h> functions (NB: doesn't make
18153 # sense if the glibcxx_cv_c99_stdint check fails, per C99, 7.8/1).
18154 ac_c99_inttypes=no;
18155 if test x"$glibcxx_cv_c99_stdint" = x"yes"; then
18156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support for C++11 in <inttypes.h>" >&5
18157 $as_echo_n "checking for ISO C99 support for C++11 in <inttypes.h>... " >&6; }
18158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18159 /* end confdefs.h. */
18160 #include <inttypes.h>
18162 main ()
18164 intmax_t i, numer, denom, base;
18165 const char* s;
18166 char** endptr;
18167 intmax_t ret = imaxabs(i);
18168 imaxdiv_t dret = imaxdiv(numer, denom);
18169 ret = strtoimax(s, endptr, base);
18170 uintmax_t uret = strtoumax(s, endptr, base);
18173 return 0;
18175 _ACEOF
18176 if ac_fn_cxx_try_compile "$LINENO"; then :
18177 ac_c99_inttypes=yes
18178 else
18179 ac_c99_inttypes=no
18181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes" >&5
18183 $as_echo "$ac_c99_inttypes" >&6; }
18185 if test x"$ac_c99_inttypes" = x"yes"; then
18187 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES 1" >>confdefs.h
18191 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
18192 # make sense if the glibcxx_cv_c99_stdint check fails, per C99, 7.8/1).
18193 ac_c99_inttypes_wchar_t=no;
18194 if test x"$glibcxx_cv_c99_stdint" = x"yes"; then
18195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support for C++11 in <inttypes.h>" >&5
18196 $as_echo_n "checking for wchar_t ISO C99 support for C++11 in <inttypes.h>... " >&6; }
18197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18198 /* end confdefs.h. */
18199 #include <inttypes.h>
18201 main ()
18203 intmax_t base;
18204 const wchar_t* s;
18205 wchar_t** endptr;
18206 intmax_t ret = wcstoimax(s, endptr, base);
18207 uintmax_t uret = wcstoumax(s, endptr, base);
18210 return 0;
18212 _ACEOF
18213 if ac_fn_cxx_try_compile "$LINENO"; then :
18214 ac_c99_inttypes_wchar_t=yes
18215 else
18216 ac_c99_inttypes_wchar_t=no
18218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t" >&5
18220 $as_echo "$ac_c99_inttypes_wchar_t" >&6; }
18222 if test x"$ac_c99_inttypes_wchar_t" = x"yes"; then
18224 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T 1" >>confdefs.h
18228 # Check for the existence of <math.h> generic macros used if C99 is enabled.
18229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 generic macro support in <math.h> for C++11" >&5
18230 $as_echo_n "checking for ISO C99 generic macro support in <math.h> for C++11... " >&6; }
18231 if ${glibcxx_cv_c99_math_cxx11+:} false; then :
18232 $as_echo_n "(cached) " >&6
18233 else
18235 if test x$gcc_no_link = xyes; then
18236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18237 /* end confdefs.h. */
18238 #include <math.h>
18239 volatile double d1, d2;
18240 volatile int i;
18242 main ()
18244 i = fpclassify(d1);
18245 i = isfinite(d1);
18246 i = isinf(d1);
18247 i = isnan(d1);
18248 i = isnormal(d1);
18249 i = signbit(d1);
18250 i = isgreater(d1, d2);
18251 i = isgreaterequal(d1, d2);
18252 i = isless(d1, d2);
18253 i = islessequal(d1, d2);
18254 i = islessgreater(d1, d2);
18255 i = islessgreater(d1, d2);
18256 i = isunordered(d1, d2);
18259 return 0;
18261 _ACEOF
18262 if ac_fn_cxx_try_compile "$LINENO"; then :
18263 glibcxx_cv_c99_math_cxx11=yes
18264 else
18265 glibcxx_cv_c99_math_cxx11=no
18267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18268 else
18269 if test x$gcc_no_link = xyes; then
18270 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18273 /* end confdefs.h. */
18274 #include <math.h>
18275 volatile double d1, d2;
18276 volatile int i;
18278 main ()
18280 i = fpclassify(d1);
18281 i = isfinite(d1);
18282 i = isinf(d1);
18283 i = isnan(d1);
18284 i = isnormal(d1);
18285 i = signbit(d1);
18286 i = isgreater(d1, d2);
18287 i = isgreaterequal(d1, d2);
18288 i = isless(d1, d2);
18289 i = islessequal(d1, d2);
18290 i = islessgreater(d1, d2);
18291 i = islessgreater(d1, d2);
18292 i = isunordered(d1, d2);
18295 return 0;
18297 _ACEOF
18298 if ac_fn_cxx_try_link "$LINENO"; then :
18299 glibcxx_cv_c99_math_cxx11=yes
18300 else
18301 glibcxx_cv_c99_math_cxx11=no
18303 rm -f core conftest.err conftest.$ac_objext \
18304 conftest$ac_exeext conftest.$ac_ext
18308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
18309 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
18310 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
18312 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
18316 # Check for the existence of <math.h> typedefs.
18317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 float types for C++11 in <math.h>" >&5
18318 $as_echo_n "checking for ISO C99 float types for C++11 in <math.h>... " >&6; }
18319 if ${glibcxx_cv_c99_flt_eval_types+:} false; then :
18320 $as_echo_n "(cached) " >&6
18321 else
18323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18324 /* end confdefs.h. */
18325 #include <math.h>
18327 main ()
18329 // Types
18330 typedef double_t my_double_t;
18331 typedef float_t my_float_t;
18334 return 0;
18336 _ACEOF
18337 if ac_fn_cxx_try_compile "$LINENO"; then :
18338 glibcxx_cv_c99_flt_eval_types=yes
18339 else
18340 glibcxx_cv_c99_flt_eval_types=no
18342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_flt_eval_types" >&5
18346 $as_echo "$glibcxx_cv_c99_flt_eval_types" >&6; }
18347 if test x"$glibcxx_cv_c99_flt_eval_types" = x"yes"; then
18349 $as_echo "#define HAVE_C99_FLT_EVAL_TYPES 1" >>confdefs.h
18353 # Check for the existence of <math.h> functions.
18354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 function support for C++11 in <math.h>" >&5
18355 $as_echo_n "checking for ISO C99 function support for C++11 in <math.h>... " >&6; }
18356 if ${glibcxx_cv_c99_math_funcs+:} false; then :
18357 $as_echo_n "(cached) " >&6
18358 else
18360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18361 /* end confdefs.h. */
18362 #include <math.h>
18364 main ()
18367 // Hyperbolic
18368 acosh(0.0);
18369 acoshf(0.0f);
18370 acoshl(0.0l);
18371 asinh(0.0);
18372 asinhf(0.0f);
18373 asinhl(0.0l);
18374 atanh(0.0);
18375 atanhf(0.0f);
18376 atanhl(0.0l);
18377 // Exponential and logarithmic
18378 exp2(0.0);
18379 exp2f(0.0f);
18380 exp2l(0.0l);
18381 expm1(0.0);
18382 expm1f(0.0f);
18383 expm1l(0.0l);
18384 ilogb(0.0);
18385 ilogbf(0.0f);
18386 ilogbl(0.0l);
18387 log1p(0.0);
18388 log1pf(0.0f);
18389 log1pl(0.0l);
18390 log2(0.0);
18391 log2f(0.0f);
18392 log2l(0.0l);
18393 logb(0.0);
18394 logbf(0.0f);
18395 logbl(0.0l);
18396 scalbln(0.0, 0l);
18397 scalblnf(0.0f, 0l);
18398 scalblnl(0.0l, 0l);
18399 scalbn(0.0, 0);
18400 scalbnf(0.0f, 0);
18401 scalbnl(0.0l, 0);
18402 // Power and absolute-value
18403 cbrt(0.0);
18404 cbrtf(0.0f);
18405 cbrtl(0.0l);
18406 hypot(0.0, 0.0);
18407 hypotf(0.0f, 0.0f);
18408 hypotl(0.0l, 0.0l);
18409 // Error and gamma
18410 erf(0.0);
18411 erff(0.0f);
18412 erfl(0.0l);
18413 erfc(0.0);
18414 erfcf(0.0f);
18415 erfcl(0.0l);
18416 lgamma(0.0);
18417 lgammaf(0.0f);
18418 lgammal(0.0l);
18419 tgamma(0.0);
18420 tgammaf(0.0f);
18421 tgammal(0.0l);
18422 // Nearest integer
18423 nearbyint(0.0);
18424 nearbyintf(0.0f);
18425 nearbyintl(0.0l);
18426 rint(0.0);
18427 rintf(0.0f);
18428 rintl(0.0l);
18429 round(0.0);
18430 roundf(0.0f);
18431 roundl(0.0l);
18432 lrint(0.0);
18433 lrintf(0.0f);
18434 lrintl(0.0l);
18435 lround(0.0);
18436 lroundf(0.0f);
18437 lroundl(0.0l);
18438 #ifndef __APPLE__ /* see below */
18439 llrint(0.0);
18440 llrintf(0.0f);
18441 llrintl(0.0l);
18442 llround(0.0);
18443 llroundf(0.0f);
18444 llroundl(0.0l);
18445 #endif
18446 trunc(0.0);
18447 truncf(0.0f);
18448 truncl(0.0l);
18449 // Remainder
18450 remainder(0.0, 0.0);
18451 remainderf(0.0f, 0.0f);
18452 remainderl(0.0l, 0.0l);
18453 remquo(0.0, 0.0, 0);
18454 remquof(0.0f, 0.0f, 0);
18455 remquol(0.0l, 0.0l, 0);
18456 // Manipulation
18457 copysign(0.0, 0.0);
18458 copysignf(0.0f, 0.0f);
18459 copysignl(0.0l, 0.0l);
18460 nan("");
18461 nanf("");
18462 nanl("");
18463 nextafter(0.0, 0.0);
18464 nextafterf(0.0f, 0.0f);
18465 nextafterl(0.0l, 0.0l);
18466 nexttoward(0.0, 0.0);
18467 nexttowardf(0.0f, 0.0f);
18468 nexttowardl(0.0l, 0.0l);
18469 // Max, min, positive difference
18470 fdim(0.0, 0.0);
18471 fdimf(0.0f, 0.0f);
18472 fdiml(0.0l, 0.0l);
18473 fmax(0.0, 0.0);
18474 fmaxf(0.0f, 0.0f);
18475 fmaxl(0.0l, 0.0l);
18476 fmin(0.0, 0.0);
18477 fminf(0.0f, 0.0f);
18478 fminl(0.0l, 0.0l);
18479 // FP Multiply-add
18480 fma(0.0, 0.0, 0.0);
18481 fmaf(0.0f, 0.0f, 0.0f);
18482 fmal(0.0l, 0.0l, 0.0l);
18485 return 0;
18487 _ACEOF
18488 if ac_fn_cxx_try_compile "$LINENO"; then :
18489 glibcxx_cv_c99_math_funcs=yes
18490 else
18491 glibcxx_cv_c99_math_funcs=no
18493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_funcs" >&5
18497 $as_echo "$glibcxx_cv_c99_math_funcs" >&6; }
18498 if test x"$glibcxx_cv_c99_math_funcs" = x"yes"; then
18500 $as_echo "#define _GLIBCXX_USE_C99_MATH_FUNCS 1" >>confdefs.h
18503 case "${target_os}" in
18504 darwin*)
18505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
18506 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
18507 if ${glibcxx_cv_c99_math_llround+:} false; then :
18508 $as_echo_n "(cached) " >&6
18509 else
18511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18512 /* end confdefs.h. */
18513 #include <math.h>
18515 main ()
18517 llrint(0.0);
18518 llrintf(0.0f);
18519 llrintl(0.0l);
18520 llround(0.0);
18521 llroundf(0.0f);
18522 llroundl(0.0l);
18525 return 0;
18527 _ACEOF
18528 if ac_fn_cxx_try_compile "$LINENO"; then :
18529 glibcxx_cv_c99_math_llround=yes
18530 else
18531 glibcxx_cv_c99_math_llround=no
18533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
18537 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
18539 esac
18540 if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
18542 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
18547 # Check for the existence of <complex.h> complex math functions.
18548 # This is necessary even though libstdc++ uses the builtin versions
18549 # of these functions, because if the builtin cannot be used, a reference
18550 # to the library function is emitted.
18551 for ac_header in tgmath.h
18552 do :
18553 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
18554 if test "x$ac_cv_header_tgmath_h" = xyes; then :
18555 cat >>confdefs.h <<_ACEOF
18556 #define HAVE_TGMATH_H 1
18557 _ACEOF
18558 ac_has_tgmath_h=yes
18559 else
18560 ac_has_tgmath_h=no
18563 done
18565 for ac_header in complex.h
18566 do :
18567 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18568 if test "x$ac_cv_header_complex_h" = xyes; then :
18569 cat >>confdefs.h <<_ACEOF
18570 #define HAVE_COMPLEX_H 1
18571 _ACEOF
18572 ac_has_complex_h=yes
18573 else
18574 ac_has_complex_h=no
18577 done
18579 if test x"$ac_has_complex_h" = x"yes"; then
18580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
18581 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
18582 if ${glibcxx_cv_c99_complex_cxx11+:} false; then :
18583 $as_echo_n "(cached) " >&6
18584 else
18586 if test x$gcc_no_link = xyes; then
18587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18588 /* end confdefs.h. */
18589 #include <complex.h>
18590 typedef __complex__ float float_type;
18591 typedef __complex__ double double_type;
18592 typedef __complex__ long double ld_type;
18593 volatile float_type tmpf;
18594 volatile double_type tmpd;
18595 volatile ld_type tmpld;
18596 volatile float f;
18597 volatile double d;
18598 volatile long double ld;
18600 main ()
18602 f = cabsf(tmpf);
18603 f = cargf(tmpf);
18604 tmpf = ccosf(tmpf);
18605 tmpf = ccoshf(tmpf);
18606 tmpf = cexpf(tmpf);
18607 tmpf = clogf(tmpf);
18608 tmpf = csinf(tmpf);
18609 tmpf = csinhf(tmpf);
18610 tmpf = csqrtf(tmpf);
18611 tmpf = ctanf(tmpf);
18612 tmpf = ctanhf(tmpf);
18613 tmpf = cpowf(tmpf, tmpf);
18614 tmpf = cprojf(tmpf);
18615 d = cabs(tmpd);
18616 d = carg(tmpd);
18617 tmpd = ccos(tmpd);
18618 tmpd = ccosh(tmpd);
18619 tmpd = cexp(tmpd);
18620 tmpd = clog(tmpd);
18621 tmpd = csin(tmpd);
18622 tmpd = csinh(tmpd);
18623 tmpd = csqrt(tmpd);
18624 tmpd = ctan(tmpd);
18625 tmpd = ctanh(tmpd);
18626 tmpd = cpow(tmpd, tmpd);
18627 tmpd = cproj(tmpd);
18628 ld = cabsl(tmpld);
18629 ld = cargl(tmpld);
18630 tmpld = ccosl(tmpld);
18631 tmpld = ccoshl(tmpld);
18632 tmpld = cexpl(tmpld);
18633 tmpld = clogl(tmpld);
18634 tmpld = csinl(tmpld);
18635 tmpld = csinhl(tmpld);
18636 tmpld = csqrtl(tmpld);
18637 tmpld = ctanl(tmpld);
18638 tmpld = ctanhl(tmpld);
18639 tmpld = cpowl(tmpld, tmpld);
18640 tmpld = cprojl(tmpld);
18643 return 0;
18645 _ACEOF
18646 if ac_fn_cxx_try_compile "$LINENO"; then :
18647 glibcxx_cv_c99_complex_cxx11=yes
18648 else
18649 glibcxx_cv_c99_complex_cxx11=no
18651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18652 else
18653 if test x$gcc_no_link = xyes; then
18654 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18657 /* end confdefs.h. */
18658 #include <complex.h>
18659 typedef __complex__ float float_type;
18660 typedef __complex__ double double_type;
18661 typedef __complex__ long double ld_type;
18662 volatile float_type tmpf;
18663 volatile double_type tmpd;
18664 volatile ld_type tmpld;
18665 volatile float f;
18666 volatile double d;
18667 volatile long double ld;
18669 main ()
18671 f = cabsf(tmpf);
18672 f = cargf(tmpf);
18673 tmpf = ccosf(tmpf);
18674 tmpf = ccoshf(tmpf);
18675 tmpf = cexpf(tmpf);
18676 tmpf = clogf(tmpf);
18677 tmpf = csinf(tmpf);
18678 tmpf = csinhf(tmpf);
18679 tmpf = csqrtf(tmpf);
18680 tmpf = ctanf(tmpf);
18681 tmpf = ctanhf(tmpf);
18682 tmpf = cpowf(tmpf, tmpf);
18683 tmpf = cprojf(tmpf);
18684 d = cabs(tmpd);
18685 d = carg(tmpd);
18686 tmpd = ccos(tmpd);
18687 tmpd = ccosh(tmpd);
18688 tmpd = cexp(tmpd);
18689 tmpd = clog(tmpd);
18690 tmpd = csin(tmpd);
18691 tmpd = csinh(tmpd);
18692 tmpd = csqrt(tmpd);
18693 tmpd = ctan(tmpd);
18694 tmpd = ctanh(tmpd);
18695 tmpd = cpow(tmpd, tmpd);
18696 tmpd = cproj(tmpd);
18697 ld = cabsl(tmpld);
18698 ld = cargl(tmpld);
18699 tmpld = ccosl(tmpld);
18700 tmpld = ccoshl(tmpld);
18701 tmpld = cexpl(tmpld);
18702 tmpld = clogl(tmpld);
18703 tmpld = csinl(tmpld);
18704 tmpld = csinhl(tmpld);
18705 tmpld = csqrtl(tmpld);
18706 tmpld = ctanl(tmpld);
18707 tmpld = ctanhl(tmpld);
18708 tmpld = cpowl(tmpld, tmpld);
18709 tmpld = cprojl(tmpld);
18712 return 0;
18714 _ACEOF
18715 if ac_fn_cxx_try_link "$LINENO"; then :
18716 glibcxx_cv_c99_complex_cxx11=yes
18717 else
18718 glibcxx_cv_c99_complex_cxx11=no
18720 rm -f core conftest.err conftest.$ac_objext \
18721 conftest$ac_exeext conftest.$ac_ext
18725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
18726 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
18728 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
18730 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
18734 # Check for the existence of <complex.h> complex inverse trigonometric
18735 # math functions used by <complex> for C++11 and later.
18736 ac_c99_complex_arc=no;
18737 if test x"$ac_has_complex_h" = x"yes"; then
18738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support for inverse trig functions in <complex.h>" >&5
18739 $as_echo_n "checking for ISO C99 support for inverse trig functions in <complex.h>... " >&6; }
18740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18741 /* end confdefs.h. */
18742 #include <complex.h>
18744 main ()
18746 typedef __complex__ float float_type; float_type tmpf;
18747 cacosf(tmpf);
18748 casinf(tmpf);
18749 catanf(tmpf);
18750 cacoshf(tmpf);
18751 casinhf(tmpf);
18752 catanhf(tmpf);
18753 typedef __complex__ double double_type; double_type tmpd;
18754 cacos(tmpd);
18755 casin(tmpd);
18756 catan(tmpd);
18757 cacosh(tmpd);
18758 casinh(tmpd);
18759 catanh(tmpd);
18760 typedef __complex__ long double ld_type; ld_type tmpld;
18761 cacosl(tmpld);
18762 casinl(tmpld);
18763 catanl(tmpld);
18764 cacoshl(tmpld);
18765 casinhl(tmpld);
18766 catanhl(tmpld);
18769 return 0;
18771 _ACEOF
18772 if ac_fn_cxx_try_compile "$LINENO"; then :
18773 ac_c99_complex_arc=yes
18774 else
18775 ac_c99_complex_arc=no
18777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_arc" >&5
18780 $as_echo "$ac_c99_complex_arc" >&6; }
18781 if test x"$ac_c99_complex_arc" = x"yes"; then
18783 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_ARC 1" >>confdefs.h
18787 # Check for the existence in <stdio.h> of vscanf, et. al.
18788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
18789 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
18790 if ${glibcxx_cv_c99_stdio_cxx11+:} false; then :
18791 $as_echo_n "(cached) " >&6
18792 else
18794 if test x$gcc_no_link = xyes; then
18795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18796 /* end confdefs.h. */
18797 #include <stdio.h>
18798 #include <stdarg.h>
18799 void foo(char* fmt, ...)
18801 va_list args; va_start(args, fmt);
18802 vfscanf(stderr, "%i", args);
18803 vscanf("%i", args);
18804 vsnprintf(fmt, 0, "%i", args);
18805 vsscanf(fmt, "%i", args);
18806 snprintf(fmt, 0, "%i");
18809 main ()
18813 return 0;
18815 _ACEOF
18816 if ac_fn_cxx_try_compile "$LINENO"; then :
18817 glibcxx_cv_c99_stdio_cxx11=yes
18818 else
18819 glibcxx_cv_c99_stdio_cxx11=no
18821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18822 else
18823 if test x$gcc_no_link = xyes; then
18824 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18827 /* end confdefs.h. */
18828 #include <stdio.h>
18829 #include <stdarg.h>
18830 void foo(char* fmt, ...)
18832 va_list args; va_start(args, fmt);
18833 vfscanf(stderr, "%i", args);
18834 vscanf("%i", args);
18835 vsnprintf(fmt, 0, "%i", args);
18836 vsscanf(fmt, "%i", args);
18837 snprintf(fmt, 0, "%i");
18840 main ()
18844 return 0;
18846 _ACEOF
18847 if ac_fn_cxx_try_link "$LINENO"; then :
18848 glibcxx_cv_c99_stdio_cxx11=yes
18849 else
18850 glibcxx_cv_c99_stdio_cxx11=no
18852 rm -f core conftest.err conftest.$ac_objext \
18853 conftest$ac_exeext conftest.$ac_ext
18857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
18858 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
18859 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
18861 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
18865 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
18866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
18867 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
18868 if ${glibcxx_cv_c99_stdlib_cxx11+:} false; then :
18869 $as_echo_n "(cached) " >&6
18870 else
18872 if test x$gcc_no_link = xyes; then
18873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18874 /* end confdefs.h. */
18875 #include <stdlib.h>
18876 volatile float f;
18877 volatile long double ld;
18878 volatile unsigned long long ll;
18879 lldiv_t mydivt;
18881 main ()
18883 char* tmp;
18884 f = strtof("gnu", &tmp);
18885 ld = strtold("gnu", &tmp);
18886 ll = strtoll("gnu", &tmp, 10);
18887 ll = strtoull("gnu", &tmp, 10);
18888 ll = llabs(10);
18889 mydivt = lldiv(10,1);
18890 ll = mydivt.quot;
18891 ll = mydivt.rem;
18892 ll = atoll("10");
18893 _Exit(0);
18896 return 0;
18898 _ACEOF
18899 if ac_fn_cxx_try_compile "$LINENO"; then :
18900 glibcxx_cv_c99_stdlib_cxx11=yes
18901 else
18902 glibcxx_cv_c99_stdlib_cxx11=no
18904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18905 else
18906 if test x$gcc_no_link = xyes; then
18907 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18910 /* end confdefs.h. */
18911 #include <stdlib.h>
18912 volatile float f;
18913 volatile long double ld;
18914 volatile unsigned long long ll;
18915 lldiv_t mydivt;
18917 main ()
18919 char* tmp;
18920 f = strtof("gnu", &tmp);
18921 ld = strtold("gnu", &tmp);
18922 ll = strtoll("gnu", &tmp, 10);
18923 ll = strtoull("gnu", &tmp, 10);
18924 ll = llabs(10);
18925 mydivt = lldiv(10,1);
18926 ll = mydivt.quot;
18927 ll = mydivt.rem;
18928 ll = atoll("10");
18929 _Exit(0);
18932 return 0;
18934 _ACEOF
18935 if ac_fn_cxx_try_link "$LINENO"; then :
18936 glibcxx_cv_c99_stdlib_cxx11=yes
18937 else
18938 glibcxx_cv_c99_stdlib_cxx11=no
18940 rm -f core conftest.err conftest.$ac_objext \
18941 conftest$ac_exeext conftest.$ac_ext
18945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
18946 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
18947 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
18949 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
18953 # Check for the existence in <wchar.h> of wcstold, etc.
18954 if test x"$ac_has_wchar_h" = xyes &&
18955 test x"$ac_has_wctype_h" = xyes; then
18956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
18957 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
18958 if ${glibcxx_cv_c99_wchar_cxx11+:} false; then :
18959 $as_echo_n "(cached) " >&6
18960 else
18962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18963 /* end confdefs.h. */
18964 #include <wchar.h>
18965 namespace test
18967 using ::wcstold;
18968 using ::wcstoll;
18969 using ::wcstoull;
18973 main ()
18977 return 0;
18979 _ACEOF
18980 if ac_fn_cxx_try_compile "$LINENO"; then :
18981 glibcxx_cv_c99_wchar_cxx11=yes
18982 else
18983 glibcxx_cv_c99_wchar_cxx11=no
18985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
18989 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
18991 # Checks for wide character functions that may not be present.
18992 # Injection of these is wrapped with guard macros.
18993 # NB: only put functions here, instead of immediately above, if
18994 # absolutely necessary.
18995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18996 /* end confdefs.h. */
18997 #include <wchar.h>
18998 namespace test { using ::vfwscanf; }
19000 main ()
19004 return 0;
19006 _ACEOF
19007 if ac_fn_cxx_try_compile "$LINENO"; then :
19009 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
19012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19015 /* end confdefs.h. */
19016 #include <wchar.h>
19017 namespace test { using ::vswscanf; }
19019 main ()
19023 return 0;
19025 _ACEOF
19026 if ac_fn_cxx_try_compile "$LINENO"; then :
19028 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
19031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19034 /* end confdefs.h. */
19035 #include <wchar.h>
19036 namespace test { using ::vwscanf; }
19038 main ()
19042 return 0;
19044 _ACEOF
19045 if ac_fn_cxx_try_compile "$LINENO"; then :
19047 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
19050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19053 /* end confdefs.h. */
19054 #include <wchar.h>
19055 namespace test { using ::wcstof; }
19057 main ()
19061 return 0;
19063 _ACEOF
19064 if ac_fn_cxx_try_compile "$LINENO"; then :
19066 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
19069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19072 /* end confdefs.h. */
19073 #include <wctype.h>
19075 main ()
19077 wint_t t; int i = iswblank(t);
19079 return 0;
19081 _ACEOF
19082 if ac_fn_cxx_try_compile "$LINENO"; then :
19084 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
19087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19089 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
19091 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
19096 # Check for the existence of <ctype.h> functions.
19097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support for C++11 in <ctype.h>" >&5
19098 $as_echo_n "checking for ISO C99 support for C++11 in <ctype.h>... " >&6; }
19099 if ${glibcxx_cv_c99_ctype+:} false; then :
19100 $as_echo_n "(cached) " >&6
19101 else
19103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19104 /* end confdefs.h. */
19105 #include <ctype.h>
19107 main ()
19109 int ch;
19110 int ret;
19111 ret = isblank(ch);
19114 return 0;
19116 _ACEOF
19117 if ac_fn_cxx_try_compile "$LINENO"; then :
19118 glibcxx_cv_c99_ctype=yes
19119 else
19120 glibcxx_cv_c99_ctype=no
19122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype" >&5
19126 $as_echo "$glibcxx_cv_c99_ctype" >&6; }
19127 if test x"$glibcxx_cv_c99_ctype" = x"yes"; then
19129 $as_echo "#define _GLIBCXX_USE_C99_CTYPE 1" >>confdefs.h
19133 # Check for the existence of <fenv.h> functions.
19134 for ac_header in fenv.h
19135 do :
19136 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19137 if test "x$ac_cv_header_fenv_h" = xyes; then :
19138 cat >>confdefs.h <<_ACEOF
19139 #define HAVE_FENV_H 1
19140 _ACEOF
19141 ac_has_fenv_h=yes
19142 else
19143 ac_has_fenv_h=no
19146 done
19148 ac_c99_fenv=no;
19149 if test x"$ac_has_fenv_h" = x"yes"; then
19150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support for C++11 in <fenv.h>" >&5
19151 $as_echo_n "checking for ISO C99 support for C++11 in <fenv.h>... " >&6; }
19152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19153 /* end confdefs.h. */
19154 #include <fenv.h>
19156 main ()
19158 int except, mode;
19159 fexcept_t* pflag;
19160 fenv_t* penv;
19161 int ret;
19162 ret = feclearexcept(except);
19163 ret = fegetexceptflag(pflag, except);
19164 ret = feraiseexcept(except);
19165 ret = fesetexceptflag(pflag, except);
19166 ret = fetestexcept(except);
19167 ret = fegetround();
19168 ret = fesetround(mode);
19169 ret = fegetenv(penv);
19170 ret = feholdexcept(penv);
19171 ret = fesetenv(penv);
19172 ret = feupdateenv(penv);
19175 return 0;
19177 _ACEOF
19178 if ac_fn_cxx_try_compile "$LINENO"; then :
19179 ac_c99_fenv=yes
19180 else
19181 ac_c99_fenv=no
19183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv" >&5
19185 $as_echo "$ac_c99_fenv" >&6; }
19187 if test x"$ac_c99_fenv" = x"yes"; then
19189 $as_echo "#define _GLIBCXX_USE_C99_FENV 1" >>confdefs.h
19193 gcc_no_link="$ac_save_gcc_no_link"
19194 LIBS="$ac_save_LIBS"
19195 CXXFLAGS="$ac_save_CXXFLAGS"
19196 ac_ext=c
19197 ac_cpp='$CPP $CPPFLAGS'
19198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
19205 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
19206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
19207 $as_echo "$enable_c99" >&6; }
19210 # Check whether --enable-concept-checks was given.
19211 if test "${enable_concept_checks+set}" = set; then :
19212 enableval=$enable_concept_checks;
19213 case "$enableval" in
19214 yes|no) ;;
19215 *) as_fn_error $? "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
19216 esac
19218 else
19219 enable_concept_checks=no
19223 if test $enable_concept_checks = yes; then
19225 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
19230 # Check whether --enable-libstdcxx-debug-flags was given.
19231 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
19232 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
19233 xno | x) enable_libstdcxx_debug_flags= ;;
19234 x-*) ;;
19235 *) as_fn_error $? "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
19236 esac
19237 else
19238 enable_libstdcxx_debug_flags="-g3 -O0 -D_GLIBCXX_ASSERTIONS"
19243 # Option parsed, now set things appropriately
19244 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
19247 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
19248 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
19251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
19252 $as_echo_n "checking for additional debug build... " >&6; }
19253 skip_debug_build=
19254 # Check whether --enable-libstdcxx-debug was given.
19255 if test "${enable_libstdcxx_debug+set}" = set; then :
19256 enableval=$enable_libstdcxx_debug;
19257 case "$enableval" in
19258 yes|no) ;;
19259 *) as_fn_error $? "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
19260 esac
19262 else
19263 enable_libstdcxx_debug=no
19267 if test x$enable_libstdcxx_debug = xyes; then
19268 if test -f $toplevel_builddir/../stage_final \
19269 && test -f $toplevel_builddir/../stage_current; then
19270 stage_final=`cat $toplevel_builddir/../stage_final`
19271 stage_current=`cat $toplevel_builddir/../stage_current`
19272 if test x$stage_current != x$stage_final ; then
19273 skip_debug_build=" (skipped for bootstrap stage $stage_current)"
19274 enable_libstdcxx_debug=no
19278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug$skip_debug_build" >&5
19279 $as_echo "$enable_libstdcxx_debug$skip_debug_build" >&6; }
19284 enable_parallel=no;
19286 # See if configured libgomp/omp.h exists. (libgomp may be in
19287 # noconfigdirs but not explicitly disabled.)
19288 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
19289 enable_parallel=yes;
19290 else
19291 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
19292 $as_echo "$as_me: target-libgomp not built" >&6;}
19295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
19296 $as_echo_n "checking for parallel mode support... " >&6; }
19297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
19298 $as_echo "$enable_parallel" >&6; }
19300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
19301 $as_echo_n "checking for extra compiler flags for building... " >&6; }
19302 # Check whether --enable-cxx-flags was given.
19303 if test "${enable_cxx_flags+set}" = set; then :
19304 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
19305 xno | x) enable_cxx_flags= ;;
19306 x-*) ;;
19307 *) as_fn_error $? "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
19308 esac
19309 else
19310 enable_cxx_flags=
19315 # Run through flags (either default or command-line) and set anything
19316 # extra (e.g., #defines) that must accompany particular g++ options.
19317 if test -n "$enable_cxx_flags"; then
19318 for f in $enable_cxx_flags; do
19319 case "$f" in
19320 -fhonor-std) ;;
19321 -*) ;;
19322 *) # and we're trying to pass /what/ exactly?
19323 as_fn_error $? "compiler flags start with a -" "$LINENO" 5 ;;
19324 esac
19325 done
19328 EXTRA_CXX_FLAGS="$enable_cxx_flags"
19329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
19330 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
19334 # Check whether --enable-fully-dynamic-string was given.
19335 if test "${enable_fully_dynamic_string+set}" = set; then :
19336 enableval=$enable_fully_dynamic_string;
19337 case "$enableval" in
19338 yes|no) ;;
19339 *) as_fn_error $? "Unknown argument to enable/disable fully-dynamic-string" "$LINENO" 5 ;;
19340 esac
19342 else
19343 enable_fully_dynamic_string=no
19347 if test $enable_fully_dynamic_string = yes; then
19348 enable_fully_dynamic_string_def=1
19349 else
19350 enable_fully_dynamic_string_def=0
19353 cat >>confdefs.h <<_ACEOF
19354 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
19355 _ACEOF
19360 # Check whether --enable-extern-template was given.
19361 if test "${enable_extern_template+set}" = set; then :
19362 enableval=$enable_extern_template;
19363 case "$enableval" in
19364 yes|no) ;;
19365 *) as_fn_error $? "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
19366 esac
19368 else
19369 enable_extern_template=yes
19374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
19375 $as_echo_n "checking for extern template support... " >&6; }
19376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
19377 $as_echo "$enable_extern_template" >&6; }
19383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
19384 $as_echo_n "checking for custom python install directory... " >&6; }
19386 # Check whether --with-python-dir was given.
19387 if test "${with_python_dir+set}" = set; then :
19388 withval=$with_python_dir; with_python_dir=$withval
19389 else
19390 with_python_dir="no"
19393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
19394 $as_echo "${with_python_dir}" >&6; }
19396 # Needed for installing Python modules during make install.
19397 python_mod_dir="${with_python_dir}"
19402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
19403 $as_echo_n "checking for -Werror... " >&6; }
19404 # Check whether --enable-werror was given.
19405 if test "${enable_werror+set}" = set; then :
19406 enableval=$enable_werror;
19407 case "$enableval" in
19408 yes|no) ;;
19409 *) as_fn_error $? "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
19410 esac
19412 else
19413 enable_werror=no
19417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
19418 $as_echo "$enable_werror" >&6; }
19423 # Check whether --enable-vtable-verify was given.
19424 if test "${enable_vtable_verify+set}" = set; then :
19425 enableval=$enable_vtable_verify;
19426 case "$enableval" in
19427 yes|no) ;;
19428 *) as_fn_error $? "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
19429 esac
19431 else
19432 enable_vtable_verify=no
19437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
19438 $as_echo_n "checking for vtable verify support... " >&6; }
19439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
19440 $as_echo "$enable_vtable_verify" >&6; }
19442 vtv_cygmin=no
19443 if test $enable_vtable_verify = yes; then
19444 case ${target_os} in
19445 cygwin*|mingw32*)
19446 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
19447 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
19448 vtv_cygmin=yes
19450 darwin*)
19451 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
19452 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
19454 solaris2*)
19455 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
19456 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
19459 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
19460 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
19462 esac
19463 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
19464 else
19465 VTV_CXXFLAGS=
19466 VTV_PCH_CXXFLAGS=
19467 VTV_CXXLINKFLAGS=
19473 if test x$vtv_cygmin = xyes; then
19474 VTV_CYGMIN_TRUE=
19475 VTV_CYGMIN_FALSE='#'
19476 else
19477 VTV_CYGMIN_TRUE='#'
19478 VTV_CYGMIN_FALSE=
19484 # Checks for operating systems support that doesn't require linking.
19488 ac_ext=cpp
19489 ac_cpp='$CXXCPP $CPPFLAGS'
19490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19494 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
19495 # and we don't need a declaration for C++14 anyway.
19496 ac_save_CXXFLAGS="$CXXFLAGS"
19497 CXXFLAGS="$CXXFLAGS -std=gnu++11"
19499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
19500 $as_echo_n "checking for gets declaration... " >&6; }
19501 if ${glibcxx_cv_gets+:} false; then :
19502 $as_echo_n "(cached) " >&6
19503 else
19505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19506 /* end confdefs.h. */
19507 #include <stdio.h>
19508 namespace test
19510 using ::gets;
19513 _ACEOF
19514 if ac_fn_cxx_try_compile "$LINENO"; then :
19515 glibcxx_cv_gets=yes
19516 else
19517 glibcxx_cv_gets=no
19520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
19523 $as_echo "$glibcxx_cv_gets" >&6; }
19525 if test $glibcxx_cv_gets = yes; then
19527 $as_echo "#define HAVE_GETS 1" >>confdefs.h
19531 CXXFLAGS="$ac_save_CXXFLAGS"
19532 ac_ext=c
19533 ac_cpp='$CPP $CPPFLAGS'
19534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19542 ac_ext=cpp
19543 ac_cpp='$CXXCPP $CPPFLAGS'
19544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19548 ac_save_CXXFLAGS="$CXXFLAGS"
19549 CXXFLAGS="$CXXFLAGS -std=c++11"
19551 case "$host" in
19552 *-*-solaris2.*)
19553 # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
19554 # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
19555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
19556 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
19557 if ${glibcxx_cv_math11_fp_overload+:} false; then :
19558 $as_echo_n "(cached) " >&6
19559 else
19561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19562 /* end confdefs.h. */
19563 #include <math.h>
19564 #undef isfinite
19565 namespace std {
19566 inline bool isfinite(float __x)
19567 { return __builtin_isfinite(__x); }
19570 _ACEOF
19571 if ac_fn_cxx_try_compile "$LINENO"; then :
19572 glibcxx_cv_math11_fp_overload=no
19573 else
19574 glibcxx_cv_math11_fp_overload=yes
19577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
19580 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
19582 # autoheader cannot handle indented templates.
19585 if test $glibcxx_cv_math11_fp_overload = yes; then
19586 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
19590 # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
19591 # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
19592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
19593 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
19594 if ${glibcxx_cv_math11_int_overload+:} false; then :
19595 $as_echo_n "(cached) " >&6
19596 else
19598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19599 /* end confdefs.h. */
19600 #include <math.h>
19601 namespace std {
19602 template<typename _Tp>
19603 struct __is_integer;
19604 template<>
19605 struct __is_integer<int>
19607 enum { __value = 1 };
19610 namespace __gnu_cxx {
19611 template<bool, typename>
19612 struct __enable_if;
19613 template<typename _Tp>
19614 struct __enable_if<true, _Tp>
19615 { typedef _Tp __type; };
19617 namespace std {
19618 template<typename _Tp>
19619 constexpr typename __gnu_cxx::__enable_if
19620 <__is_integer<_Tp>::__value, double>::__type
19621 log2(_Tp __x)
19622 { return __builtin_log2(__x); }
19625 main (void)
19627 int i = 1000;
19628 return std::log2(i);
19631 _ACEOF
19632 if ac_fn_cxx_try_compile "$LINENO"; then :
19633 glibcxx_cv_math11_int_overload=no
19634 else
19635 glibcxx_cv_math11_int_overload=yes
19638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
19641 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
19643 # autoheader cannot handle indented templates.
19646 if test $glibcxx_cv_math11_int_overload = yes; then
19647 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
19652 # If <math.h> defines the obsolete isinf(double) and isnan(double)
19653 # functions (instead of or as well as the C99 generic macros) then we
19654 # can't define std::isinf(double) and std::isnan(double) in <cmath>
19655 # and must use the ones from <math.h> instead.
19656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
19657 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
19658 if ${glibcxx_cv_obsolete_isinf+:} false; then :
19659 $as_echo_n "(cached) " >&6
19660 else
19662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19663 /* end confdefs.h. */
19664 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
19665 #include <math.h>
19666 #undef isinf
19667 namespace std {
19668 using ::isinf;
19669 bool isinf(float);
19670 bool isinf(long double);
19672 using std::isinf;
19673 bool b = isinf(0.0);
19675 _ACEOF
19676 if ac_fn_cxx_try_compile "$LINENO"; then :
19677 glibcxx_cv_obsolete_isinf=yes
19678 else
19679 glibcxx_cv_obsolete_isinf=no
19682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
19685 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
19686 if test $glibcxx_cv_obsolete_isinf = yes; then
19688 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
19692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
19693 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
19694 if ${glibcxx_cv_obsolete_isnan+:} false; then :
19695 $as_echo_n "(cached) " >&6
19696 else
19698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19699 /* end confdefs.h. */
19700 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
19701 #include <math.h>
19702 #undef isnan
19703 namespace std {
19704 using ::isnan;
19705 bool isnan(float);
19706 bool isnan(long double);
19708 using std::isnan;
19709 bool b = isnan(0.0);
19711 _ACEOF
19712 if ac_fn_cxx_try_compile "$LINENO"; then :
19713 glibcxx_cv_obsolete_isnan=yes
19714 else
19715 glibcxx_cv_obsolete_isnan=no
19718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
19721 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
19722 if test $glibcxx_cv_obsolete_isnan = yes; then
19724 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
19728 esac
19730 CXXFLAGS="$ac_save_CXXFLAGS"
19731 ac_ext=c
19732 ac_cpp='$CPP $CPPFLAGS'
19733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19740 # Test uchar.h.
19741 for ac_header in uchar.h
19742 do :
19743 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19744 if test "x$ac_cv_header_uchar_h" = xyes; then :
19745 cat >>confdefs.h <<_ACEOF
19746 #define HAVE_UCHAR_H 1
19747 _ACEOF
19748 ac_has_uchar_h=yes
19749 else
19750 ac_has_uchar_h=no
19753 done
19757 ac_ext=cpp
19758 ac_cpp='$CXXCPP $CPPFLAGS'
19759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19763 ac_save_CXXFLAGS="$CXXFLAGS"
19764 CXXFLAGS="$CXXFLAGS -std=c++11"
19766 if test x"$ac_has_uchar_h" = x"yes"; then
19767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19768 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19770 /* end confdefs.h. */
19771 #include <uchar.h>
19772 #ifdef __STDC_UTF_16__
19773 long i = __STDC_UTF_16__;
19774 #endif
19775 #ifdef __STDC_UTF_32__
19776 long j = __STDC_UTF_32__;
19777 #endif
19778 namespace test
19780 using ::c16rtomb;
19781 using ::c32rtomb;
19782 using ::mbrtoc16;
19783 using ::mbrtoc32;
19787 main ()
19791 return 0;
19793 _ACEOF
19794 if ac_fn_cxx_try_compile "$LINENO"; then :
19795 ac_c11_uchar_cxx11=yes
19796 else
19797 ac_c11_uchar_cxx11=no
19799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19801 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19802 else
19803 ac_c11_uchar_cxx11=no
19805 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19807 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19811 CXXFLAGS="$CXXFLAGS -fchar8_t"
19812 if test x"$ac_has_uchar_h" = x"yes"; then
19813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c8rtomb and mbrtoc8 in <uchar.h> with -fchar8_t" >&5
19814 $as_echo_n "checking for c8rtomb and mbrtoc8 in <uchar.h> with -fchar8_t... " >&6; }
19815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19816 /* end confdefs.h. */
19817 #include <uchar.h>
19818 namespace test
19820 using ::c8rtomb;
19821 using ::mbrtoc8;
19825 main ()
19829 return 0;
19831 _ACEOF
19832 if ac_fn_cxx_try_compile "$LINENO"; then :
19833 ac_uchar_c8rtomb_mbrtoc8_fchar8_t=yes
19834 else
19835 ac_uchar_c8rtomb_mbrtoc8_fchar8_t=no
19837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_uchar_c8rtomb_mbrtoc8_fchar8_t" >&5
19839 $as_echo "$ac_uchar_c8rtomb_mbrtoc8_fchar8_t" >&6; }
19840 else
19841 ac_uchar_c8rtomb_mbrtoc8_fchar8_t=no
19843 if test x"$ac_uchar_c8rtomb_mbrtoc8_fchar8_t" = x"yes"; then
19845 $as_echo "#define _GLIBCXX_USE_UCHAR_C8RTOMB_MBRTOC8_FCHAR8_T 1" >>confdefs.h
19849 CXXFLAGS="$CXXFLAGS -std=c++20"
19850 if test x"$ac_has_uchar_h" = x"yes"; then
19851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c8rtomb and mbrtoc8 in <uchar.h> with -std=c++20" >&5
19852 $as_echo_n "checking for c8rtomb and mbrtoc8 in <uchar.h> with -std=c++20... " >&6; }
19853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19854 /* end confdefs.h. */
19855 #include <uchar.h>
19856 namespace test
19858 using ::c8rtomb;
19859 using ::mbrtoc8;
19863 main ()
19867 return 0;
19869 _ACEOF
19870 if ac_fn_cxx_try_compile "$LINENO"; then :
19871 ac_uchar_c8rtomb_mbrtoc8_cxx20=yes
19872 else
19873 ac_uchar_c8rtomb_mbrtoc8_cxx20=no
19875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_uchar_c8rtomb_mbrtoc8_cxx20" >&5
19877 $as_echo "$ac_uchar_c8rtomb_mbrtoc8_cxx20" >&6; }
19878 else
19879 ac_uchar_c8rtomb_mbrtoc8_cxx20=no
19881 if test x"$ac_uchar_c8rtomb_mbrtoc8_cxx20" = x"yes"; then
19883 $as_echo "#define _GLIBCXX_USE_UCHAR_C8RTOMB_MBRTOC8_CXX20 1" >>confdefs.h
19887 CXXFLAGS="$ac_save_CXXFLAGS"
19888 ac_ext=c
19889 ac_cpp='$CPP $CPPFLAGS'
19890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19896 # For LFS support.
19899 ac_ext=cpp
19900 ac_cpp='$CXXCPP $CPPFLAGS'
19901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19905 ac_save_CXXFLAGS="$CXXFLAGS"
19906 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19908 $as_echo_n "checking for LFS support... " >&6; }
19909 if ${glibcxx_cv_LFS+:} false; then :
19910 $as_echo_n "(cached) " >&6
19911 else
19913 if test x$gcc_no_link = xyes; then
19914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19915 /* end confdefs.h. */
19916 #include <unistd.h>
19917 #include <stdio.h>
19918 #include <sys/stat.h>
19921 main ()
19923 FILE* fp;
19924 fopen64("t", "w");
19925 fseeko64(fp, 0, SEEK_CUR);
19926 ftello64(fp);
19927 lseek64(1, 0, SEEK_CUR);
19928 struct stat64 buf;
19929 fstat64(1, &buf);
19931 return 0;
19933 _ACEOF
19934 if ac_fn_cxx_try_compile "$LINENO"; then :
19935 glibcxx_cv_LFS=yes
19936 else
19937 glibcxx_cv_LFS=no
19939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19940 else
19941 if test x$gcc_no_link = xyes; then
19942 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19945 /* end confdefs.h. */
19946 #include <unistd.h>
19947 #include <stdio.h>
19948 #include <sys/stat.h>
19951 main ()
19953 FILE* fp;
19954 fopen64("t", "w");
19955 fseeko64(fp, 0, SEEK_CUR);
19956 ftello64(fp);
19957 lseek64(1, 0, SEEK_CUR);
19958 struct stat64 buf;
19959 fstat64(1, &buf);
19961 return 0;
19963 _ACEOF
19964 if ac_fn_cxx_try_link "$LINENO"; then :
19965 glibcxx_cv_LFS=yes
19966 else
19967 glibcxx_cv_LFS=no
19969 rm -f core conftest.err conftest.$ac_objext \
19970 conftest$ac_exeext conftest.$ac_ext
19974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19975 $as_echo "$glibcxx_cv_LFS" >&6; }
19976 if test $glibcxx_cv_LFS = yes; then
19978 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fseeko and ftello" >&5
19983 $as_echo_n "checking for fseeko and ftello... " >&6; }
19984 if ${glibcxx_cv_posix_lfs+:} false; then :
19985 $as_echo_n "(cached) " >&6
19986 else
19988 if test x$gcc_no_link = xyes; then
19989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19990 /* end confdefs.h. */
19991 #include <stdio.h>
19994 main ()
19996 FILE* fp;
19997 fseeko(fp, 0, SEEK_CUR);
19998 ftello(fp);
20001 return 0;
20003 _ACEOF
20004 if ac_fn_cxx_try_compile "$LINENO"; then :
20005 glibcxx_cv_posix_lfs=yes
20006 else
20007 glibcxx_cv_posix_lfs=no
20009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20010 else
20011 if test x$gcc_no_link = xyes; then
20012 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20015 /* end confdefs.h. */
20016 #include <stdio.h>
20019 main ()
20021 FILE* fp;
20022 fseeko(fp, 0, SEEK_CUR);
20023 ftello(fp);
20026 return 0;
20028 _ACEOF
20029 if ac_fn_cxx_try_link "$LINENO"; then :
20030 glibcxx_cv_posix_lfs=yes
20031 else
20032 glibcxx_cv_posix_lfs=no
20034 rm -f core conftest.err conftest.$ac_objext \
20035 conftest$ac_exeext conftest.$ac_ext
20039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_posix_lfs" >&5
20040 $as_echo "$glibcxx_cv_posix_lfs" >&6; }
20041 if test $glibcxx_cv_posix_lfs = yes; then
20043 $as_echo "#define _GLIBCXX_USE_FSEEKO_FTELLO 1" >>confdefs.h
20047 CXXFLAGS="$ac_save_CXXFLAGS"
20048 ac_ext=c
20049 ac_cpp='$CPP $CPPFLAGS'
20050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20056 # For showmanyc_helper().
20057 for ac_header in sys/ioctl.h sys/filio.h
20058 do :
20059 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20060 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20061 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20062 cat >>confdefs.h <<_ACEOF
20063 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20064 _ACEOF
20068 done
20073 ac_ext=cpp
20074 ac_cpp='$CXXCPP $CPPFLAGS'
20075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20079 ac_save_CXXFLAGS="$CXXFLAGS"
20080 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
20083 $as_echo_n "checking for poll... " >&6; }
20084 if ${glibcxx_cv_POLL+:} false; then :
20085 $as_echo_n "(cached) " >&6
20086 else
20088 if test x$gcc_no_link = xyes; then
20089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20090 /* end confdefs.h. */
20091 #include <poll.h>
20093 main ()
20095 struct pollfd pfd[1];
20096 pfd[0].events = POLLIN;
20097 poll(pfd, 1, 0);
20099 return 0;
20101 _ACEOF
20102 if ac_fn_cxx_try_compile "$LINENO"; then :
20103 glibcxx_cv_POLL=yes
20104 else
20105 glibcxx_cv_POLL=no
20107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20108 else
20109 if test x$gcc_no_link = xyes; then
20110 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20113 /* end confdefs.h. */
20114 #include <poll.h>
20116 main ()
20118 struct pollfd pfd[1];
20119 pfd[0].events = POLLIN;
20120 poll(pfd, 1, 0);
20122 return 0;
20124 _ACEOF
20125 if ac_fn_cxx_try_link "$LINENO"; then :
20126 glibcxx_cv_POLL=yes
20127 else
20128 glibcxx_cv_POLL=no
20130 rm -f core conftest.err conftest.$ac_objext \
20131 conftest$ac_exeext conftest.$ac_ext
20135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
20136 $as_echo "$glibcxx_cv_POLL" >&6; }
20137 if test $glibcxx_cv_POLL = yes; then
20139 $as_echo "#define HAVE_POLL 1" >>confdefs.h
20143 CXXFLAGS="$ac_save_CXXFLAGS"
20144 ac_ext=c
20145 ac_cpp='$CPP $CPPFLAGS'
20146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20154 ac_ext=cpp
20155 ac_cpp='$CXXCPP $CPPFLAGS'
20156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20160 ac_save_CXXFLAGS="$CXXFLAGS"
20161 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
20164 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
20165 if ${glibcxx_cv_S_ISREG+:} false; then :
20166 $as_echo_n "(cached) " >&6
20167 else
20169 if test x$gcc_no_link = xyes; then
20170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20171 /* end confdefs.h. */
20172 #include <sys/stat.h>
20174 main ()
20176 struct stat buffer;
20177 fstat(0, &buffer);
20178 S_ISREG(buffer.st_mode);
20180 return 0;
20182 _ACEOF
20183 if ac_fn_cxx_try_compile "$LINENO"; then :
20184 glibcxx_cv_S_ISREG=yes
20185 else
20186 glibcxx_cv_S_ISREG=no
20188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20189 else
20190 if test x$gcc_no_link = xyes; then
20191 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20194 /* end confdefs.h. */
20195 #include <sys/stat.h>
20197 main ()
20199 struct stat buffer;
20200 fstat(0, &buffer);
20201 S_ISREG(buffer.st_mode);
20203 return 0;
20205 _ACEOF
20206 if ac_fn_cxx_try_link "$LINENO"; then :
20207 glibcxx_cv_S_ISREG=yes
20208 else
20209 glibcxx_cv_S_ISREG=no
20211 rm -f core conftest.err conftest.$ac_objext \
20212 conftest$ac_exeext conftest.$ac_ext
20217 if ${glibcxx_cv_S_IFREG+:} false; then :
20218 $as_echo_n "(cached) " >&6
20219 else
20221 if test x$gcc_no_link = xyes; then
20222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20223 /* end confdefs.h. */
20224 #include <sys/stat.h>
20226 main ()
20228 struct stat buffer;
20229 fstat(0, &buffer);
20230 S_IFREG & buffer.st_mode;
20232 return 0;
20234 _ACEOF
20235 if ac_fn_cxx_try_compile "$LINENO"; then :
20236 glibcxx_cv_S_IFREG=yes
20237 else
20238 glibcxx_cv_S_IFREG=no
20240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20241 else
20242 if test x$gcc_no_link = xyes; then
20243 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20246 /* end confdefs.h. */
20247 #include <sys/stat.h>
20249 main ()
20251 struct stat buffer;
20252 fstat(0, &buffer);
20253 S_IFREG & buffer.st_mode;
20255 return 0;
20257 _ACEOF
20258 if ac_fn_cxx_try_link "$LINENO"; then :
20259 glibcxx_cv_S_IFREG=yes
20260 else
20261 glibcxx_cv_S_IFREG=no
20263 rm -f core conftest.err conftest.$ac_objext \
20264 conftest$ac_exeext conftest.$ac_ext
20269 res=no
20270 if test $glibcxx_cv_S_ISREG = yes; then
20272 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
20274 res=S_ISREG
20275 elif test $glibcxx_cv_S_IFREG = yes; then
20277 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
20279 res=S_IFREG
20281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
20282 $as_echo "$res" >&6; }
20284 CXXFLAGS="$ac_save_CXXFLAGS"
20285 ac_ext=c
20286 ac_cpp='$CPP $CPPFLAGS'
20287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20293 # For xsputn_2().
20294 for ac_header in sys/uio.h
20295 do :
20296 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
20297 if test "x$ac_cv_header_sys_uio_h" = xyes; then :
20298 cat >>confdefs.h <<_ACEOF
20299 #define HAVE_SYS_UIO_H 1
20300 _ACEOF
20304 done
20309 ac_ext=cpp
20310 ac_cpp='$CXXCPP $CPPFLAGS'
20311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20315 ac_save_CXXFLAGS="$CXXFLAGS"
20316 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
20319 $as_echo_n "checking for writev... " >&6; }
20320 if ${glibcxx_cv_WRITEV+:} false; then :
20321 $as_echo_n "(cached) " >&6
20322 else
20324 if test x$gcc_no_link = xyes; then
20325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20326 /* end confdefs.h. */
20327 #include <sys/uio.h>
20329 main ()
20331 struct iovec iov[2];
20332 writev(0, iov, 0);
20334 return 0;
20336 _ACEOF
20337 if ac_fn_cxx_try_compile "$LINENO"; then :
20338 glibcxx_cv_WRITEV=yes
20339 else
20340 glibcxx_cv_WRITEV=no
20342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20343 else
20344 if test x$gcc_no_link = xyes; then
20345 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20348 /* end confdefs.h. */
20349 #include <sys/uio.h>
20351 main ()
20353 struct iovec iov[2];
20354 writev(0, iov, 0);
20356 return 0;
20358 _ACEOF
20359 if ac_fn_cxx_try_link "$LINENO"; then :
20360 glibcxx_cv_WRITEV=yes
20361 else
20362 glibcxx_cv_WRITEV=no
20364 rm -f core conftest.err conftest.$ac_objext \
20365 conftest$ac_exeext conftest.$ac_ext
20369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
20370 $as_echo "$glibcxx_cv_WRITEV" >&6; }
20371 if test $glibcxx_cv_WRITEV = yes; then
20373 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
20377 CXXFLAGS="$ac_save_CXXFLAGS"
20378 ac_ext=c
20379 ac_cpp='$CPP $CPPFLAGS'
20380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20386 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
20387 # so that the check is done with the C compiler (not C++).
20388 # Checking with C++ can break a canadian cross build if either
20389 # file does not exist in C but does in C++.
20390 for ac_header in fenv.h complex.h
20391 do :
20392 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20393 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20394 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20395 cat >>confdefs.h <<_ACEOF
20396 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20397 _ACEOF
20401 done
20404 # For C99 support to TR1.
20408 ac_ext=cpp
20409 ac_cpp='$CXXCPP $CPPFLAGS'
20410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20415 # Use -std=c++98 because -std=gnu++98 leaves __STRICT_ANSI__
20416 # undefined and fake C99 facilities may be spuriously enabled.
20417 ac_save_CXXFLAGS="$CXXFLAGS"
20418 CXXFLAGS="$CXXFLAGS -std=c++98"
20420 # Check for the existence of <complex.h> complex math functions used
20421 # by tr1/complex.
20422 for ac_header in complex.h
20423 do :
20424 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
20425 if test "x$ac_cv_header_complex_h" = xyes; then :
20426 cat >>confdefs.h <<_ACEOF
20427 #define HAVE_COMPLEX_H 1
20428 _ACEOF
20429 ac_has_complex_h=yes
20430 else
20431 ac_has_complex_h=no
20434 done
20436 ac_c99_complex_tr1=no;
20437 if test x"$ac_has_complex_h" = x"yes"; then
20438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
20439 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
20440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20441 /* end confdefs.h. */
20442 #include <complex.h>
20444 main ()
20446 typedef __complex__ float float_type; float_type tmpf;
20447 cacosf(tmpf);
20448 casinf(tmpf);
20449 catanf(tmpf);
20450 cacoshf(tmpf);
20451 casinhf(tmpf);
20452 catanhf(tmpf);
20453 typedef __complex__ double double_type; double_type tmpd;
20454 cacos(tmpd);
20455 casin(tmpd);
20456 catan(tmpd);
20457 cacosh(tmpd);
20458 casinh(tmpd);
20459 catanh(tmpd);
20460 typedef __complex__ long double ld_type; ld_type tmpld;
20461 cacosl(tmpld);
20462 casinl(tmpld);
20463 catanl(tmpld);
20464 cacoshl(tmpld);
20465 casinhl(tmpld);
20466 catanhl(tmpld);
20469 return 0;
20471 _ACEOF
20472 if ac_fn_cxx_try_compile "$LINENO"; then :
20473 ac_c99_complex_tr1=yes
20474 else
20475 ac_c99_complex_tr1=no
20477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
20480 $as_echo "$ac_c99_complex_tr1" >&6; }
20481 if test x"$ac_c99_complex_tr1" = x"yes"; then
20483 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
20487 # Check for the existence of <ctype.h> functions.
20488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
20489 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
20490 if ${glibcxx_cv_c99_ctype_tr1+:} false; then :
20491 $as_echo_n "(cached) " >&6
20492 else
20494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20495 /* end confdefs.h. */
20496 #include <ctype.h>
20498 main ()
20500 int ch;
20501 int ret;
20502 ret = isblank(ch);
20505 return 0;
20507 _ACEOF
20508 if ac_fn_cxx_try_compile "$LINENO"; then :
20509 glibcxx_cv_c99_ctype_tr1=yes
20510 else
20511 glibcxx_cv_c99_ctype_tr1=no
20513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
20517 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
20518 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
20520 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
20524 # Check for the existence of <fenv.h> functions.
20525 for ac_header in fenv.h
20526 do :
20527 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
20528 if test "x$ac_cv_header_fenv_h" = xyes; then :
20529 cat >>confdefs.h <<_ACEOF
20530 #define HAVE_FENV_H 1
20531 _ACEOF
20532 ac_has_fenv_h=yes
20533 else
20534 ac_has_fenv_h=no
20537 done
20539 ac_c99_fenv_tr1=no;
20540 if test x"$ac_has_fenv_h" = x"yes"; then
20541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
20542 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
20543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20544 /* end confdefs.h. */
20545 #include <fenv.h>
20547 main ()
20549 int except, mode;
20550 fexcept_t* pflag;
20551 fenv_t* penv;
20552 int ret;
20553 ret = feclearexcept(except);
20554 ret = fegetexceptflag(pflag, except);
20555 ret = feraiseexcept(except);
20556 ret = fesetexceptflag(pflag, except);
20557 ret = fetestexcept(except);
20558 ret = fegetround();
20559 ret = fesetround(mode);
20560 ret = fegetenv(penv);
20561 ret = feholdexcept(penv);
20562 ret = fesetenv(penv);
20563 ret = feupdateenv(penv);
20566 return 0;
20568 _ACEOF
20569 if ac_fn_cxx_try_compile "$LINENO"; then :
20570 ac_c99_fenv_tr1=yes
20571 else
20572 ac_c99_fenv_tr1=no
20574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
20576 $as_echo "$ac_c99_fenv_tr1" >&6; }
20578 if test x"$ac_c99_fenv_tr1" = x"yes"; then
20580 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
20584 # Check for the existence of <stdint.h> types.
20585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
20586 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
20587 if ${glibcxx_cv_c99_stdint_tr1+:} false; then :
20588 $as_echo_n "(cached) " >&6
20589 else
20591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20592 /* end confdefs.h. */
20593 #define __STDC_LIMIT_MACROS
20594 #define __STDC_CONSTANT_MACROS
20595 #include <stdint.h>
20597 main ()
20599 typedef int8_t my_int8_t;
20600 my_int8_t i8 = INT8_MIN;
20601 i8 = INT8_MAX;
20602 typedef int16_t my_int16_t;
20603 my_int16_t i16 = INT16_MIN;
20604 i16 = INT16_MAX;
20605 typedef int32_t my_int32_t;
20606 my_int32_t i32 = INT32_MIN;
20607 i32 = INT32_MAX;
20608 typedef int64_t my_int64_t;
20609 my_int64_t i64 = INT64_MIN;
20610 i64 = INT64_MAX;
20611 typedef int_fast8_t my_int_fast8_t;
20612 my_int_fast8_t if8 = INT_FAST8_MIN;
20613 if8 = INT_FAST8_MAX;
20614 typedef int_fast16_t my_int_fast16_t;
20615 my_int_fast16_t if16 = INT_FAST16_MIN;
20616 if16 = INT_FAST16_MAX;
20617 typedef int_fast32_t my_int_fast32_t;
20618 my_int_fast32_t if32 = INT_FAST32_MIN;
20619 if32 = INT_FAST32_MAX;
20620 typedef int_fast64_t my_int_fast64_t;
20621 my_int_fast64_t if64 = INT_FAST64_MIN;
20622 if64 = INT_FAST64_MAX;
20623 typedef int_least8_t my_int_least8_t;
20624 my_int_least8_t il8 = INT_LEAST8_MIN;
20625 il8 = INT_LEAST8_MAX;
20626 typedef int_least16_t my_int_least16_t;
20627 my_int_least16_t il16 = INT_LEAST16_MIN;
20628 il16 = INT_LEAST16_MAX;
20629 typedef int_least32_t my_int_least32_t;
20630 my_int_least32_t il32 = INT_LEAST32_MIN;
20631 il32 = INT_LEAST32_MAX;
20632 typedef int_least64_t my_int_least64_t;
20633 my_int_least64_t il64 = INT_LEAST64_MIN;
20634 il64 = INT_LEAST64_MAX;
20635 typedef intmax_t my_intmax_t;
20636 my_intmax_t im = INTMAX_MAX;
20637 im = INTMAX_MIN;
20638 typedef intptr_t my_intptr_t;
20639 my_intptr_t ip = INTPTR_MAX;
20640 ip = INTPTR_MIN;
20641 typedef uint8_t my_uint8_t;
20642 my_uint8_t ui8 = UINT8_MAX;
20643 ui8 = UINT8_MAX;
20644 typedef uint16_t my_uint16_t;
20645 my_uint16_t ui16 = UINT16_MAX;
20646 ui16 = UINT16_MAX;
20647 typedef uint32_t my_uint32_t;
20648 my_uint32_t ui32 = UINT32_MAX;
20649 ui32 = UINT32_MAX;
20650 typedef uint64_t my_uint64_t;
20651 my_uint64_t ui64 = UINT64_MAX;
20652 ui64 = UINT64_MAX;
20653 typedef uint_fast8_t my_uint_fast8_t;
20654 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
20655 uif8 = UINT_FAST8_MAX;
20656 typedef uint_fast16_t my_uint_fast16_t;
20657 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
20658 uif16 = UINT_FAST16_MAX;
20659 typedef uint_fast32_t my_uint_fast32_t;
20660 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
20661 uif32 = UINT_FAST32_MAX;
20662 typedef uint_fast64_t my_uint_fast64_t;
20663 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
20664 uif64 = UINT_FAST64_MAX;
20665 typedef uint_least8_t my_uint_least8_t;
20666 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
20667 uil8 = UINT_LEAST8_MAX;
20668 typedef uint_least16_t my_uint_least16_t;
20669 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
20670 uil16 = UINT_LEAST16_MAX;
20671 typedef uint_least32_t my_uint_least32_t;
20672 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
20673 uil32 = UINT_LEAST32_MAX;
20674 typedef uint_least64_t my_uint_least64_t;
20675 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
20676 uil64 = UINT_LEAST64_MAX;
20677 typedef uintmax_t my_uintmax_t;
20678 my_uintmax_t uim = UINTMAX_MAX;
20679 uim = UINTMAX_MAX;
20680 typedef uintptr_t my_uintptr_t;
20681 my_uintptr_t uip = UINTPTR_MAX;
20682 uip = UINTPTR_MAX;
20685 return 0;
20687 _ACEOF
20688 if ac_fn_cxx_try_compile "$LINENO"; then :
20689 glibcxx_cv_c99_stdint_tr1=yes
20690 else
20691 glibcxx_cv_c99_stdint_tr1=no
20693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
20697 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
20698 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20700 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
20704 # Check for the existence of <math.h> functions.
20705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
20706 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
20707 if ${glibcxx_cv_c99_math_tr1+:} false; then :
20708 $as_echo_n "(cached) " >&6
20709 else
20711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20712 /* end confdefs.h. */
20713 #include <math.h>
20715 main ()
20717 typedef double_t my_double_t;
20718 typedef float_t my_float_t;
20719 acosh(0.0);
20720 acoshf(0.0f);
20721 acoshl(0.0l);
20722 asinh(0.0);
20723 asinhf(0.0f);
20724 asinhl(0.0l);
20725 atanh(0.0);
20726 atanhf(0.0f);
20727 atanhl(0.0l);
20728 cbrt(0.0);
20729 cbrtf(0.0f);
20730 cbrtl(0.0l);
20731 copysign(0.0, 0.0);
20732 copysignf(0.0f, 0.0f);
20733 copysignl(0.0l, 0.0l);
20734 erf(0.0);
20735 erff(0.0f);
20736 erfl(0.0l);
20737 erfc(0.0);
20738 erfcf(0.0f);
20739 erfcl(0.0l);
20740 exp2(0.0);
20741 exp2f(0.0f);
20742 exp2l(0.0l);
20743 expm1(0.0);
20744 expm1f(0.0f);
20745 expm1l(0.0l);
20746 fdim(0.0, 0.0);
20747 fdimf(0.0f, 0.0f);
20748 fdiml(0.0l, 0.0l);
20749 fma(0.0, 0.0, 0.0);
20750 fmaf(0.0f, 0.0f, 0.0f);
20751 fmal(0.0l, 0.0l, 0.0l);
20752 fmax(0.0, 0.0);
20753 fmaxf(0.0f, 0.0f);
20754 fmaxl(0.0l, 0.0l);
20755 fmin(0.0, 0.0);
20756 fminf(0.0f, 0.0f);
20757 fminl(0.0l, 0.0l);
20758 hypot(0.0, 0.0);
20759 hypotf(0.0f, 0.0f);
20760 hypotl(0.0l, 0.0l);
20761 ilogb(0.0);
20762 ilogbf(0.0f);
20763 ilogbl(0.0l);
20764 lgamma(0.0);
20765 lgammaf(0.0f);
20766 lgammal(0.0l);
20767 #ifndef __APPLE__ /* see below */
20768 llrint(0.0);
20769 llrintf(0.0f);
20770 llrintl(0.0l);
20771 llround(0.0);
20772 llroundf(0.0f);
20773 llroundl(0.0l);
20774 #endif
20775 log1p(0.0);
20776 log1pf(0.0f);
20777 log1pl(0.0l);
20778 log2(0.0);
20779 log2f(0.0f);
20780 log2l(0.0l);
20781 logb(0.0);
20782 logbf(0.0f);
20783 logbl(0.0l);
20784 lrint(0.0);
20785 lrintf(0.0f);
20786 lrintl(0.0l);
20787 lround(0.0);
20788 lroundf(0.0f);
20789 lroundl(0.0l);
20790 nan("");
20791 nanf("");
20792 nanl("");
20793 nearbyint(0.0);
20794 nearbyintf(0.0f);
20795 nearbyintl(0.0l);
20796 nextafter(0.0, 0.0);
20797 nextafterf(0.0f, 0.0f);
20798 nextafterl(0.0l, 0.0l);
20799 nexttoward(0.0, 0.0);
20800 nexttowardf(0.0f, 0.0f);
20801 nexttowardl(0.0l, 0.0l);
20802 remainder(0.0, 0.0);
20803 remainderf(0.0f, 0.0f);
20804 remainderl(0.0l, 0.0l);
20805 remquo(0.0, 0.0, 0);
20806 remquof(0.0f, 0.0f, 0);
20807 remquol(0.0l, 0.0l, 0);
20808 rint(0.0);
20809 rintf(0.0f);
20810 rintl(0.0l);
20811 round(0.0);
20812 roundf(0.0f);
20813 roundl(0.0l);
20814 scalbln(0.0, 0l);
20815 scalblnf(0.0f, 0l);
20816 scalblnl(0.0l, 0l);
20817 scalbn(0.0, 0);
20818 scalbnf(0.0f, 0);
20819 scalbnl(0.0l, 0);
20820 tgamma(0.0);
20821 tgammaf(0.0f);
20822 tgammal(0.0l);
20823 trunc(0.0);
20824 truncf(0.0f);
20825 truncl(0.0l);
20828 return 0;
20830 _ACEOF
20831 if ac_fn_cxx_try_compile "$LINENO"; then :
20832 glibcxx_cv_c99_math_tr1=yes
20833 else
20834 glibcxx_cv_c99_math_tr1=no
20836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20840 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20841 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20843 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20847 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20848 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20849 ac_c99_inttypes_tr1=no;
20850 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20852 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20854 /* end confdefs.h. */
20855 #include <inttypes.h>
20857 main ()
20859 intmax_t i, numer, denom, base;
20860 const char* s;
20861 char** endptr;
20862 intmax_t ret = imaxabs(i);
20863 imaxdiv_t dret = imaxdiv(numer, denom);
20864 ret = strtoimax(s, endptr, base);
20865 uintmax_t uret = strtoumax(s, endptr, base);
20868 return 0;
20870 _ACEOF
20871 if ac_fn_cxx_try_compile "$LINENO"; then :
20872 ac_c99_inttypes_tr1=yes
20873 else
20874 ac_c99_inttypes_tr1=no
20876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20878 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20880 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20882 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20886 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20887 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20888 ac_c99_inttypes_wchar_t_tr1=no;
20889 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20891 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20893 /* end confdefs.h. */
20894 #include <inttypes.h>
20896 main ()
20898 intmax_t base;
20899 const wchar_t* s;
20900 wchar_t** endptr;
20901 intmax_t ret = wcstoimax(s, endptr, base);
20902 uintmax_t uret = wcstoumax(s, endptr, base);
20905 return 0;
20907 _ACEOF
20908 if ac_fn_cxx_try_compile "$LINENO"; then :
20909 ac_c99_inttypes_wchar_t_tr1=yes
20910 else
20911 ac_c99_inttypes_wchar_t_tr1=no
20913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20915 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20917 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20919 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20923 # Check for the existence of the <stdbool.h> header.
20924 for ac_header in stdbool.h
20925 do :
20926 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20927 if test "x$ac_cv_header_stdbool_h" = xyes; then :
20928 cat >>confdefs.h <<_ACEOF
20929 #define HAVE_STDBOOL_H 1
20930 _ACEOF
20934 done
20937 # Check for the existence of the <stdalign.h> header.
20938 for ac_header in stdalign.h
20939 do :
20940 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20941 if test "x$ac_cv_header_stdalign_h" = xyes; then :
20942 cat >>confdefs.h <<_ACEOF
20943 #define HAVE_STDALIGN_H 1
20944 _ACEOF
20948 done
20951 CXXFLAGS="$ac_save_CXXFLAGS"
20952 ac_ext=c
20953 ac_cpp='$CPP $CPPFLAGS'
20954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20960 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20963 if test "$is_hosted" = yes; then
20964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20965 $as_echo_n "checking for the value of EOF... " >&6; }
20966 if ${glibcxx_cv_stdio_eof+:} false; then :
20967 $as_echo_n "(cached) " >&6
20968 else
20970 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20972 else
20973 as_fn_error $? "computing EOF failed" "$LINENO" 5
20978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20979 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20981 cat >>confdefs.h <<_ACEOF
20982 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20983 _ACEOF
20986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20987 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20988 if ${glibcxx_cv_stdio_seek_cur+:} false; then :
20989 $as_echo_n "(cached) " >&6
20990 else
20992 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20994 else
20995 as_fn_error $? "computing SEEK_CUR failed" "$LINENO" 5
21000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
21001 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
21003 cat >>confdefs.h <<_ACEOF
21004 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
21005 _ACEOF
21008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
21009 $as_echo_n "checking for the value of SEEK_END... " >&6; }
21010 if ${glibcxx_cv_stdio_seek_end+:} false; then :
21011 $as_echo_n "(cached) " >&6
21012 else
21014 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
21016 else
21017 as_fn_error $? "computing SEEK_END failed" "$LINENO" 5
21022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
21023 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
21025 cat >>confdefs.h <<_ACEOF
21026 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
21027 _ACEOF
21032 # For gettimeofday support.
21035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
21036 $as_echo_n "checking for gettimeofday... " >&6; }
21039 ac_ext=cpp
21040 ac_cpp='$CXXCPP $CPPFLAGS'
21041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21045 ac_save_CXXFLAGS="$CXXFLAGS"
21046 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21048 ac_has_gettimeofday=no;
21049 for ac_header in sys/time.h
21050 do :
21051 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
21052 if test "x$ac_cv_header_sys_time_h" = xyes; then :
21053 cat >>confdefs.h <<_ACEOF
21054 #define HAVE_SYS_TIME_H 1
21055 _ACEOF
21056 ac_has_sys_time_h=yes
21057 else
21058 ac_has_sys_time_h=no
21061 done
21063 if test x"$ac_has_sys_time_h" = x"yes"; then
21064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
21065 $as_echo_n "checking for gettimeofday... " >&6; }
21066 if test x$gcc_no_link = xyes; then
21067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21068 /* end confdefs.h. */
21069 #include <sys/time.h>
21071 main ()
21073 timeval tv; gettimeofday(&tv, 0);
21075 return 0;
21077 _ACEOF
21078 if ac_fn_cxx_try_compile "$LINENO"; then :
21079 ac_has_gettimeofday=yes
21080 else
21081 ac_has_gettimeofday=no
21083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21084 else
21085 if test x$gcc_no_link = xyes; then
21086 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21089 /* end confdefs.h. */
21090 #include <sys/time.h>
21092 main ()
21094 timeval tv; gettimeofday(&tv, 0);
21096 return 0;
21098 _ACEOF
21099 if ac_fn_cxx_try_link "$LINENO"; then :
21100 ac_has_gettimeofday=yes
21101 else
21102 ac_has_gettimeofday=no
21104 rm -f core conftest.err conftest.$ac_objext \
21105 conftest$ac_exeext conftest.$ac_ext
21108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
21109 $as_echo "$ac_has_gettimeofday" >&6; }
21112 if test x"$ac_has_gettimeofday" = x"yes"; then
21114 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
21118 CXXFLAGS="$ac_save_CXXFLAGS"
21119 ac_ext=c
21120 ac_cpp='$CPP $CPPFLAGS'
21121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21127 # For clock_gettime, nanosleep and sched_yield support.
21130 # Check whether --enable-libstdcxx-time was given.
21131 if test "${enable_libstdcxx_time+set}" = set; then :
21132 enableval=$enable_libstdcxx_time;
21133 case "$enableval" in
21134 yes|no|rt) ;;
21135 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
21136 esac
21138 else
21139 enable_libstdcxx_time=auto
21145 ac_ext=cpp
21146 ac_cpp='$CXXCPP $CPPFLAGS'
21147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21151 ac_save_CXXFLAGS="$CXXFLAGS"
21152 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21153 ac_save_LIBS="$LIBS"
21155 ac_has_clock_monotonic=no
21156 ac_has_clock_realtime=no
21157 ac_has_nanosleep=no
21158 ac_has_sched_yield=no
21160 if test x"$enable_libstdcxx_time" = x"auto"; then
21162 case "${target_os}" in
21163 cygwin*)
21164 ac_has_nanosleep=yes
21166 mingw*)
21167 ac_has_win32_sleep=yes
21168 ac_has_sched_yield=yes
21170 darwin*)
21171 ac_has_nanosleep=yes
21172 ac_has_sched_yield=yes
21174 # VxWorks has nanosleep as soon as the kernel is configured with
21175 # INCLUDE_POSIX_TIMERS, which is normally/most-often the case.
21176 vxworks*)
21177 ac_has_nanosleep=yes
21179 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
21180 # Don't use link test for freestanding library, in case gcc_no_link=yes
21181 if test x"$is_hosted" = xyes; then
21182 # Versions of glibc before 2.17 needed -lrt for clock_gettime.
21183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
21184 $as_echo_n "checking for library containing clock_gettime... " >&6; }
21185 if ${ac_cv_search_clock_gettime+:} false; then :
21186 $as_echo_n "(cached) " >&6
21187 else
21188 ac_func_search_save_LIBS=$LIBS
21189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21190 /* end confdefs.h. */
21192 /* Override any GCC internal prototype to avoid an error.
21193 Use char because int might match the return type of a GCC
21194 builtin and then its argument prototype would still apply. */
21195 #ifdef __cplusplus
21196 extern "C"
21197 #endif
21198 char clock_gettime ();
21200 main ()
21202 return clock_gettime ();
21204 return 0;
21206 _ACEOF
21207 for ac_lib in '' rt; do
21208 if test -z "$ac_lib"; then
21209 ac_res="none required"
21210 else
21211 ac_res=-l$ac_lib
21212 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21214 if test x$gcc_no_link = xyes; then
21215 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21217 if ac_fn_cxx_try_link "$LINENO"; then :
21218 ac_cv_search_clock_gettime=$ac_res
21220 rm -f core conftest.err conftest.$ac_objext \
21221 conftest$ac_exeext
21222 if ${ac_cv_search_clock_gettime+:} false; then :
21223 break
21225 done
21226 if ${ac_cv_search_clock_gettime+:} false; then :
21228 else
21229 ac_cv_search_clock_gettime=no
21231 rm conftest.$ac_ext
21232 LIBS=$ac_func_search_save_LIBS
21234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
21235 $as_echo "$ac_cv_search_clock_gettime" >&6; }
21236 ac_res=$ac_cv_search_clock_gettime
21237 if test "$ac_res" != no; then :
21238 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21242 if test x"$ac_cv_search_clock_gettime" = x"none required"; then
21243 ac_has_clock_monotonic=yes
21244 ac_has_clock_realtime=yes
21247 ac_has_nanosleep=yes
21248 ac_has_sched_yield=yes
21250 freebsd*|netbsd*|dragonfly*|rtems*)
21251 ac_has_clock_monotonic=yes
21252 ac_has_clock_realtime=yes
21253 ac_has_nanosleep=yes
21254 ac_has_sched_yield=yes
21256 openbsd*)
21257 ac_has_clock_monotonic=yes
21258 ac_has_clock_realtime=yes
21259 ac_has_nanosleep=yes
21261 solaris*)
21262 ac_has_clock_monotonic=yes
21263 ac_has_clock_realtime=yes
21264 ac_has_nanosleep=yes
21265 ac_has_sched_yield=yes
21267 uclinux*)
21268 ac_has_nanosleep=yes
21269 ac_has_sched_yield=yes
21270 esac
21272 elif test x"$enable_libstdcxx_time" != x"no"; then
21274 if test x"$enable_libstdcxx_time" = x"rt"; then
21275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
21276 $as_echo_n "checking for library containing clock_gettime... " >&6; }
21277 if ${ac_cv_search_clock_gettime+:} false; then :
21278 $as_echo_n "(cached) " >&6
21279 else
21280 ac_func_search_save_LIBS=$LIBS
21281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21282 /* end confdefs.h. */
21284 /* Override any GCC internal prototype to avoid an error.
21285 Use char because int might match the return type of a GCC
21286 builtin and then its argument prototype would still apply. */
21287 #ifdef __cplusplus
21288 extern "C"
21289 #endif
21290 char clock_gettime ();
21292 main ()
21294 return clock_gettime ();
21296 return 0;
21298 _ACEOF
21299 for ac_lib in '' rt; do
21300 if test -z "$ac_lib"; then
21301 ac_res="none required"
21302 else
21303 ac_res=-l$ac_lib
21304 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21306 if test x$gcc_no_link = xyes; then
21307 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21309 if ac_fn_cxx_try_link "$LINENO"; then :
21310 ac_cv_search_clock_gettime=$ac_res
21312 rm -f core conftest.err conftest.$ac_objext \
21313 conftest$ac_exeext
21314 if ${ac_cv_search_clock_gettime+:} false; then :
21315 break
21317 done
21318 if ${ac_cv_search_clock_gettime+:} false; then :
21320 else
21321 ac_cv_search_clock_gettime=no
21323 rm conftest.$ac_ext
21324 LIBS=$ac_func_search_save_LIBS
21326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
21327 $as_echo "$ac_cv_search_clock_gettime" >&6; }
21328 ac_res=$ac_cv_search_clock_gettime
21329 if test "$ac_res" != no; then :
21330 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
21335 $as_echo_n "checking for library containing nanosleep... " >&6; }
21336 if ${ac_cv_search_nanosleep+:} false; then :
21337 $as_echo_n "(cached) " >&6
21338 else
21339 ac_func_search_save_LIBS=$LIBS
21340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21341 /* end confdefs.h. */
21343 /* Override any GCC internal prototype to avoid an error.
21344 Use char because int might match the return type of a GCC
21345 builtin and then its argument prototype would still apply. */
21346 #ifdef __cplusplus
21347 extern "C"
21348 #endif
21349 char nanosleep ();
21351 main ()
21353 return nanosleep ();
21355 return 0;
21357 _ACEOF
21358 for ac_lib in '' rt; do
21359 if test -z "$ac_lib"; then
21360 ac_res="none required"
21361 else
21362 ac_res=-l$ac_lib
21363 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21365 if test x$gcc_no_link = xyes; then
21366 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21368 if ac_fn_cxx_try_link "$LINENO"; then :
21369 ac_cv_search_nanosleep=$ac_res
21371 rm -f core conftest.err conftest.$ac_objext \
21372 conftest$ac_exeext
21373 if ${ac_cv_search_nanosleep+:} false; then :
21374 break
21376 done
21377 if ${ac_cv_search_nanosleep+:} false; then :
21379 else
21380 ac_cv_search_nanosleep=no
21382 rm conftest.$ac_ext
21383 LIBS=$ac_func_search_save_LIBS
21385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
21386 $as_echo "$ac_cv_search_nanosleep" >&6; }
21387 ac_res=$ac_cv_search_nanosleep
21388 if test "$ac_res" != no; then :
21389 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21393 else
21394 ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
21395 if test "x$ac_cv_func_clock_gettime" = xyes; then :
21399 ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
21400 if test "x$ac_cv_func_nanosleep" = xyes; then :
21406 case "$ac_cv_search_clock_gettime" in
21407 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
21409 esac
21410 case "$ac_cv_search_nanosleep" in
21411 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
21413 esac
21415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
21416 $as_echo_n "checking for library containing sched_yield... " >&6; }
21417 if ${ac_cv_search_sched_yield+:} false; then :
21418 $as_echo_n "(cached) " >&6
21419 else
21420 ac_func_search_save_LIBS=$LIBS
21421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21422 /* end confdefs.h. */
21424 /* Override any GCC internal prototype to avoid an error.
21425 Use char because int might match the return type of a GCC
21426 builtin and then its argument prototype would still apply. */
21427 #ifdef __cplusplus
21428 extern "C"
21429 #endif
21430 char sched_yield ();
21432 main ()
21434 return sched_yield ();
21436 return 0;
21438 _ACEOF
21439 for ac_lib in '' rt; do
21440 if test -z "$ac_lib"; then
21441 ac_res="none required"
21442 else
21443 ac_res=-l$ac_lib
21444 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21446 if test x$gcc_no_link = xyes; then
21447 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21449 if ac_fn_cxx_try_link "$LINENO"; then :
21450 ac_cv_search_sched_yield=$ac_res
21452 rm -f core conftest.err conftest.$ac_objext \
21453 conftest$ac_exeext
21454 if ${ac_cv_search_sched_yield+:} false; then :
21455 break
21457 done
21458 if ${ac_cv_search_sched_yield+:} false; then :
21460 else
21461 ac_cv_search_sched_yield=no
21463 rm conftest.$ac_ext
21464 LIBS=$ac_func_search_save_LIBS
21466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
21467 $as_echo "$ac_cv_search_sched_yield" >&6; }
21468 ac_res=$ac_cv_search_sched_yield
21469 if test "$ac_res" != no; then :
21470 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21475 case "$ac_cv_search_sched_yield" in
21476 -lrt*)
21477 if test x"$enable_libstdcxx_time" = x"rt"; then
21478 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
21479 ac_has_sched_yield=yes
21483 ac_has_sched_yield=yes
21485 esac
21487 for ac_header in unistd.h
21488 do :
21489 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21490 if test "x$ac_cv_header_unistd_h" = xyes; then :
21491 cat >>confdefs.h <<_ACEOF
21492 #define HAVE_UNISTD_H 1
21493 _ACEOF
21494 ac_has_unistd_h=yes
21495 else
21496 ac_has_unistd_h=no
21499 done
21502 if test x"$ac_has_unistd_h" = x"yes"; then
21503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
21504 $as_echo_n "checking for monotonic clock... " >&6; }
21505 if test x$gcc_no_link = xyes; then
21506 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21509 /* end confdefs.h. */
21510 #include <unistd.h>
21511 #include <time.h>
21514 main ()
21516 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21517 timespec tp;
21518 #endif
21519 clock_gettime(CLOCK_MONOTONIC, &tp);
21522 return 0;
21524 _ACEOF
21525 if ac_fn_cxx_try_link "$LINENO"; then :
21526 ac_has_clock_monotonic=yes
21527 else
21528 ac_has_clock_monotonic=no
21530 rm -f core conftest.err conftest.$ac_objext \
21531 conftest$ac_exeext conftest.$ac_ext
21533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
21534 $as_echo "$ac_has_clock_monotonic" >&6; }
21536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
21537 $as_echo_n "checking for realtime clock... " >&6; }
21538 if test x$gcc_no_link = xyes; then
21539 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21542 /* end confdefs.h. */
21543 #include <unistd.h>
21544 #include <time.h>
21547 main ()
21549 #if _POSIX_TIMERS > 0
21550 timespec tp;
21551 #endif
21552 clock_gettime(CLOCK_REALTIME, &tp);
21555 return 0;
21557 _ACEOF
21558 if ac_fn_cxx_try_link "$LINENO"; then :
21559 ac_has_clock_realtime=yes
21560 else
21561 ac_has_clock_realtime=no
21563 rm -f core conftest.err conftest.$ac_objext \
21564 conftest$ac_exeext conftest.$ac_ext
21566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
21567 $as_echo "$ac_has_clock_realtime" >&6; }
21569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
21570 $as_echo_n "checking for nanosleep... " >&6; }
21571 if test x$gcc_no_link = xyes; then
21572 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21575 /* end confdefs.h. */
21576 #include <unistd.h>
21577 #include <time.h>
21580 main ()
21582 #if _POSIX_TIMERS > 0
21583 timespec tp;
21584 #endif
21585 nanosleep(&tp, 0);
21588 return 0;
21590 _ACEOF
21591 if ac_fn_cxx_try_link "$LINENO"; then :
21592 ac_has_nanosleep=yes
21593 else
21594 ac_has_nanosleep=no
21596 rm -f core conftest.err conftest.$ac_objext \
21597 conftest$ac_exeext conftest.$ac_ext
21599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
21600 $as_echo "$ac_has_nanosleep" >&6; }
21604 if test x"$ac_has_clock_monotonic" != x"yes"; then
21605 case ${target_os} in
21606 linux* | uclinux*)
21607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
21608 $as_echo_n "checking for clock_gettime syscall... " >&6; }
21609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21610 /* end confdefs.h. */
21611 #include <unistd.h>
21612 #include <time.h>
21613 #include <sys/syscall.h>
21616 main ()
21618 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21619 timespec tp;
21620 #endif
21621 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
21622 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
21625 return 0;
21627 _ACEOF
21628 if ac_fn_cxx_try_compile "$LINENO"; then :
21629 ac_has_clock_gettime_syscall=yes
21630 else
21631 ac_has_clock_gettime_syscall=no
21633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_gettime_syscall" >&5
21635 $as_echo "$ac_has_clock_gettime_syscall" >&6; }
21636 if test x"$ac_has_clock_gettime_syscall" = x"yes"; then
21638 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
21640 ac_has_clock_monotonic=yes
21641 ac_has_clock_realtime=yes
21642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec that matches syscall" >&5
21643 $as_echo_n "checking for struct timespec that matches syscall... " >&6; }
21644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21645 /* end confdefs.h. */
21646 #include <time.h>
21647 #include <sys/syscall.h>
21650 main ()
21652 #ifdef SYS_clock_gettime64
21653 #if SYS_clock_gettime64 != SYS_clock_gettime
21654 // We need to use SYS_clock_gettime and libc appears to
21655 // also know about the SYS_clock_gettime64 syscall.
21656 // Check that userspace doesn't use time64 version of timespec.
21657 static_assert(sizeof(timespec::tv_sec) == sizeof(long),
21658 "struct timespec must be compatible with SYS_clock_gettime");
21659 #endif
21660 #endif
21663 return 0;
21665 _ACEOF
21666 if ac_fn_cxx_try_compile "$LINENO"; then :
21667 ac_timespec_matches_syscall=yes
21668 else
21669 ac_timespec_matches_syscall=no
21671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_timespec_matches_syscall" >&5
21673 $as_echo "$ac_timespec_matches_syscall" >&6; }
21674 if test x"$ac_timespec_matches_syscall" = no; then
21675 as_fn_error $? "struct timespec is not compatible with SYS_clock_gettime, please report a bug to http://gcc.gnu.org/bugzilla" "$LINENO" 5
21677 fi;;
21678 esac
21681 if test x"$ac_has_clock_monotonic" = x"yes"; then
21683 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21687 if test x"$ac_has_clock_realtime" = x"yes"; then
21689 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21693 if test x"$ac_has_sched_yield" = x"yes"; then
21695 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21699 if test x"$ac_has_nanosleep" = x"yes"; then
21701 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21703 elif test x"$ac_has_win32_sleep" = x"yes"; then
21705 $as_echo "#define _GLIBCXX_USE_WIN32_SLEEP 1" >>confdefs.h
21707 else
21708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21709 $as_echo_n "checking for sleep... " >&6; }
21710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21711 /* end confdefs.h. */
21712 #include <unistd.h>
21714 main ()
21716 sleep(1)
21718 return 0;
21720 _ACEOF
21721 if ac_fn_cxx_try_compile "$LINENO"; then :
21722 ac_has_sleep=yes
21723 else
21724 ac_has_sleep=no
21726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21727 if test x"$ac_has_sleep" = x"yes"; then
21729 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21733 $as_echo "$ac_has_sleep" >&6; }
21734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21735 $as_echo_n "checking for usleep... " >&6; }
21736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21737 /* end confdefs.h. */
21738 #include <unistd.h>
21740 main ()
21742 sleep(1);
21743 usleep(100);
21745 return 0;
21747 _ACEOF
21748 if ac_fn_cxx_try_compile "$LINENO"; then :
21749 ac_has_usleep=yes
21750 else
21751 ac_has_usleep=no
21753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21754 if test x"$ac_has_usleep" = x"yes"; then
21756 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21760 $as_echo "$ac_has_usleep" >&6; }
21763 if test x"$ac_has_nanosleep$ac_has_win32_sleep$ac_has_sleep" = x"nonono"; then
21765 $as_echo "#define _GLIBCXX_NO_SLEEP 1" >>confdefs.h
21771 CXXFLAGS="$ac_save_CXXFLAGS"
21772 LIBS="$ac_save_LIBS"
21773 ac_ext=c
21774 ac_cpp='$CPP $CPPFLAGS'
21775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21781 # Check for tmpnam which is obsolescent in POSIX.1-2008
21783 ac_ext=cpp
21784 ac_cpp='$CXXCPP $CPPFLAGS'
21785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21789 ac_save_CXXFLAGS="$CXXFLAGS"
21790 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21792 $as_echo_n "checking for tmpnam... " >&6; }
21793 if ${glibcxx_cv_TMPNAM+:} false; then :
21794 $as_echo_n "(cached) " >&6
21795 else
21796 if test x$gcc_no_link = xyes; then
21797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21798 /* end confdefs.h. */
21799 #include <stdio.h>
21801 main ()
21803 char *tmp = tmpnam(NULL);
21805 return 0;
21807 _ACEOF
21808 if ac_fn_cxx_try_compile "$LINENO"; then :
21809 glibcxx_cv_TMPNAM=yes
21810 else
21811 glibcxx_cv_TMPNAM=no
21813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21814 else
21815 if test x$gcc_no_link = xyes; then
21816 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21819 /* end confdefs.h. */
21820 #include <stdio.h>
21822 main ()
21824 char *tmp = tmpnam(NULL);
21826 return 0;
21828 _ACEOF
21829 if ac_fn_cxx_try_link "$LINENO"; then :
21830 glibcxx_cv_TMPNAM=yes
21831 else
21832 glibcxx_cv_TMPNAM=no
21834 rm -f core conftest.err conftest.$ac_objext \
21835 conftest$ac_exeext conftest.$ac_ext
21839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21840 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21841 if test $glibcxx_cv_TMPNAM = yes; then
21843 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21846 CXXFLAGS="$ac_save_CXXFLAGS"
21847 ac_ext=c
21848 ac_cpp='$CPP $CPPFLAGS'
21849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21855 # For pthread_cond_clockwait
21859 ac_ext=cpp
21860 ac_cpp='$CXXCPP $CPPFLAGS'
21861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21865 ac_save_CXXFLAGS="$CXXFLAGS"
21866 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21867 ac_save_LIBS="$LIBS"
21868 LIBS="$LIBS -lpthread"
21870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_clockwait" >&5
21871 $as_echo_n "checking for pthread_cond_clockwait... " >&6; }
21872 if ${glibcxx_cv_PTHREAD_COND_CLOCKWAIT+:} false; then :
21873 $as_echo_n "(cached) " >&6
21874 else
21876 if test x$gcc_no_link = xyes; then
21877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21878 /* end confdefs.h. */
21879 #include <pthread.h>
21881 main ()
21883 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21885 return 0;
21887 _ACEOF
21888 if ac_fn_cxx_try_compile "$LINENO"; then :
21889 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21890 else
21891 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21894 else
21895 if test x$gcc_no_link = xyes; then
21896 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21899 /* end confdefs.h. */
21900 #include <pthread.h>
21902 main ()
21904 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21906 return 0;
21908 _ACEOF
21909 if ac_fn_cxx_try_link "$LINENO"; then :
21910 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21911 else
21912 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21914 rm -f core conftest.err conftest.$ac_objext \
21915 conftest$ac_exeext conftest.$ac_ext
21919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&5
21920 $as_echo "$glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&6; }
21921 if test $glibcxx_cv_PTHREAD_COND_CLOCKWAIT = yes; then
21923 $as_echo "#define _GLIBCXX_USE_PTHREAD_COND_CLOCKWAIT 1" >>confdefs.h
21927 CXXFLAGS="$ac_save_CXXFLAGS"
21928 LIBS="$ac_save_LIBS"
21929 ac_ext=c
21930 ac_cpp='$CPP $CPPFLAGS'
21931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21937 # For pthread_mutex_clocklock
21941 ac_ext=cpp
21942 ac_cpp='$CXXCPP $CPPFLAGS'
21943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21947 ac_save_CXXFLAGS="$CXXFLAGS"
21948 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21949 ac_save_LIBS="$LIBS"
21950 LIBS="$LIBS -lpthread"
21952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_clocklock" >&5
21953 $as_echo_n "checking for pthread_mutex_clocklock... " >&6; }
21954 if ${glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK+:} false; then :
21955 $as_echo_n "(cached) " >&6
21956 else
21958 if test x$gcc_no_link = xyes; then
21959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21960 /* end confdefs.h. */
21961 #include <pthread.h>
21963 main ()
21965 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21967 return 0;
21969 _ACEOF
21970 if ac_fn_cxx_try_compile "$LINENO"; then :
21971 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21972 else
21973 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21976 else
21977 if test x$gcc_no_link = xyes; then
21978 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21981 /* end confdefs.h. */
21982 #include <pthread.h>
21984 main ()
21986 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21988 return 0;
21990 _ACEOF
21991 if ac_fn_cxx_try_link "$LINENO"; then :
21992 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21993 else
21994 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21996 rm -f core conftest.err conftest.$ac_objext \
21997 conftest$ac_exeext conftest.$ac_ext
22001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&5
22002 $as_echo "$glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&6; }
22003 if test $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK = yes; then
22005 $as_echo "#define _GLIBCXX_USE_PTHREAD_MUTEX_CLOCKLOCK (_GLIBCXX_TSAN==0)" >>confdefs.h
22009 CXXFLAGS="$ac_save_CXXFLAGS"
22010 LIBS="$ac_save_LIBS"
22011 ac_ext=c
22012 ac_cpp='$CPP $CPPFLAGS'
22013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22019 # For pthread_rwlock_clockrdlock and pthread_rwlock_clockwrlock
22023 ac_ext=cpp
22024 ac_cpp='$CXXCPP $CPPFLAGS'
22025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22029 ac_save_CXXFLAGS="$CXXFLAGS"
22030 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22031 ac_save_LIBS="$LIBS"
22032 LIBS="$LIBS -lpthread"
22034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock" >&5
22035 $as_echo_n "checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock... " >&6; }
22036 if ${glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK+:} false; then :
22037 $as_echo_n "(cached) " >&6
22038 else
22040 if test x$gcc_no_link = xyes; then
22041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22042 /* end confdefs.h. */
22043 #include <pthread.h>
22045 main ()
22047 pthread_rwlock_t rwl; struct timespec ts;
22048 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
22049 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
22051 return 0;
22053 _ACEOF
22054 if ac_fn_cxx_try_compile "$LINENO"; then :
22055 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
22056 else
22057 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
22059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22060 else
22061 if test x$gcc_no_link = xyes; then
22062 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22065 /* end confdefs.h. */
22066 #include <pthread.h>
22068 main ()
22070 pthread_rwlock_t rwl; struct timespec ts;
22071 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
22072 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
22074 return 0;
22076 _ACEOF
22077 if ac_fn_cxx_try_link "$LINENO"; then :
22078 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
22079 else
22080 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
22082 rm -f core conftest.err conftest.$ac_objext \
22083 conftest$ac_exeext conftest.$ac_ext
22087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&5
22088 $as_echo "$glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&6; }
22089 if test $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK = yes; then
22091 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_CLOCKLOCK 1" >>confdefs.h
22095 CXXFLAGS="$ac_save_CXXFLAGS"
22096 LIBS="$ac_save_LIBS"
22097 ac_ext=c
22098 ac_cpp='$CPP $CPPFLAGS'
22099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22106 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
22107 if test "x$ac_cv_header_locale_h" = xyes; then :
22109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
22110 $as_echo_n "checking for LC_MESSAGES... " >&6; }
22111 if ${ac_cv_val_LC_MESSAGES+:} false; then :
22112 $as_echo_n "(cached) " >&6
22113 else
22114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22115 /* end confdefs.h. */
22116 #include <locale.h>
22118 main ()
22120 return LC_MESSAGES
22122 return 0;
22124 _ACEOF
22125 if ac_fn_c_try_compile "$LINENO"; then :
22126 ac_cv_val_LC_MESSAGES=yes
22127 else
22128 ac_cv_val_LC_MESSAGES=no
22130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
22133 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
22134 if test $ac_cv_val_LC_MESSAGES = yes; then
22136 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
22145 # For hardware_concurrency
22146 for ac_header in sys/sysinfo.h
22147 do :
22148 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
22149 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
22150 cat >>confdefs.h <<_ACEOF
22151 #define HAVE_SYS_SYSINFO_H 1
22152 _ACEOF
22156 done
22161 ac_ext=cpp
22162 ac_cpp='$CXXCPP $CPPFLAGS'
22163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22167 ac_save_CXXFLAGS="$CXXFLAGS"
22168 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
22171 $as_echo_n "checking for get_nprocs... " >&6; }
22172 if ${glibcxx_cv_GET_NPROCS+:} false; then :
22173 $as_echo_n "(cached) " >&6
22174 else
22176 if test x$gcc_no_link = xyes; then
22177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22178 /* end confdefs.h. */
22179 #include <sys/sysinfo.h>
22181 main ()
22183 int n = get_nprocs();
22185 return 0;
22187 _ACEOF
22188 if ac_fn_cxx_try_compile "$LINENO"; then :
22189 glibcxx_cv_GET_NPROCS=yes
22190 else
22191 glibcxx_cv_GET_NPROCS=no
22193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22194 else
22195 if test x$gcc_no_link = xyes; then
22196 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22199 /* end confdefs.h. */
22200 #include <sys/sysinfo.h>
22202 main ()
22204 int n = get_nprocs();
22206 return 0;
22208 _ACEOF
22209 if ac_fn_cxx_try_link "$LINENO"; then :
22210 glibcxx_cv_GET_NPROCS=yes
22211 else
22212 glibcxx_cv_GET_NPROCS=no
22214 rm -f core conftest.err conftest.$ac_objext \
22215 conftest$ac_exeext conftest.$ac_ext
22219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
22220 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
22221 if test $glibcxx_cv_GET_NPROCS = yes; then
22223 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
22227 CXXFLAGS="$ac_save_CXXFLAGS"
22228 ac_ext=c
22229 ac_cpp='$CPP $CPPFLAGS'
22230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22235 for ac_header in unistd.h
22236 do :
22237 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
22238 if test "x$ac_cv_header_unistd_h" = xyes; then :
22239 cat >>confdefs.h <<_ACEOF
22240 #define HAVE_UNISTD_H 1
22241 _ACEOF
22245 done
22250 ac_ext=cpp
22251 ac_cpp='$CXXCPP $CPPFLAGS'
22252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22256 ac_save_CXXFLAGS="$CXXFLAGS"
22257 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
22260 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
22261 if ${glibcxx_cv_SC_NPROCESSORS_ONLN+:} false; then :
22262 $as_echo_n "(cached) " >&6
22263 else
22265 if test x$gcc_no_link = xyes; then
22266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22267 /* end confdefs.h. */
22268 #include <unistd.h>
22270 main ()
22272 int n = sysconf(_SC_NPROCESSORS_ONLN);
22274 return 0;
22276 _ACEOF
22277 if ac_fn_cxx_try_compile "$LINENO"; then :
22278 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
22279 else
22280 glibcxx_cv_SC_NPROCESSORS_ONLN=no
22282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22283 else
22284 if test x$gcc_no_link = xyes; then
22285 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22288 /* end confdefs.h. */
22289 #include <unistd.h>
22291 main ()
22293 int n = sysconf(_SC_NPROCESSORS_ONLN);
22295 return 0;
22297 _ACEOF
22298 if ac_fn_cxx_try_link "$LINENO"; then :
22299 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
22300 else
22301 glibcxx_cv_SC_NPROCESSORS_ONLN=no
22303 rm -f core conftest.err conftest.$ac_objext \
22304 conftest$ac_exeext conftest.$ac_ext
22308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
22309 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
22310 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
22312 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
22316 CXXFLAGS="$ac_save_CXXFLAGS"
22317 ac_ext=c
22318 ac_cpp='$CPP $CPPFLAGS'
22319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22327 ac_ext=cpp
22328 ac_cpp='$CXXCPP $CPPFLAGS'
22329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22333 ac_save_CXXFLAGS="$CXXFLAGS"
22334 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
22337 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
22338 if ${glibcxx_cv_SC_NPROC_ONLN+:} false; then :
22339 $as_echo_n "(cached) " >&6
22340 else
22342 if test x$gcc_no_link = xyes; then
22343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22344 /* end confdefs.h. */
22345 #include <unistd.h>
22347 main ()
22349 int n = sysconf(_SC_NPROC_ONLN);
22351 return 0;
22353 _ACEOF
22354 if ac_fn_cxx_try_compile "$LINENO"; then :
22355 glibcxx_cv_SC_NPROC_ONLN=yes
22356 else
22357 glibcxx_cv_SC_NPROC_ONLN=no
22359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22360 else
22361 if test x$gcc_no_link = xyes; then
22362 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22365 /* end confdefs.h. */
22366 #include <unistd.h>
22368 main ()
22370 int n = sysconf(_SC_NPROC_ONLN);
22372 return 0;
22374 _ACEOF
22375 if ac_fn_cxx_try_link "$LINENO"; then :
22376 glibcxx_cv_SC_NPROC_ONLN=yes
22377 else
22378 glibcxx_cv_SC_NPROC_ONLN=no
22380 rm -f core conftest.err conftest.$ac_objext \
22381 conftest$ac_exeext conftest.$ac_ext
22385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
22386 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
22387 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
22389 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
22393 CXXFLAGS="$ac_save_CXXFLAGS"
22394 ac_ext=c
22395 ac_cpp='$CPP $CPPFLAGS'
22396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22404 ac_ext=cpp
22405 ac_cpp='$CXXCPP $CPPFLAGS'
22406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22410 ac_save_CXXFLAGS="$CXXFLAGS"
22411 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
22414 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
22415 if ${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+:} false; then :
22416 $as_echo_n "(cached) " >&6
22417 else
22419 if test x$gcc_no_link = xyes; then
22420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22421 /* end confdefs.h. */
22422 #include <pthread.h>
22424 main ()
22426 int n = pthread_num_processors_np();
22428 return 0;
22430 _ACEOF
22431 if ac_fn_cxx_try_compile "$LINENO"; then :
22432 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
22433 else
22434 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
22436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22437 else
22438 if test x$gcc_no_link = xyes; then
22439 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22442 /* end confdefs.h. */
22443 #include <pthread.h>
22445 main ()
22447 int n = pthread_num_processors_np();
22449 return 0;
22451 _ACEOF
22452 if ac_fn_cxx_try_link "$LINENO"; then :
22453 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
22454 else
22455 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
22457 rm -f core conftest.err conftest.$ac_objext \
22458 conftest$ac_exeext conftest.$ac_ext
22462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
22463 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
22464 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
22466 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
22470 CXXFLAGS="$ac_save_CXXFLAGS"
22471 ac_ext=c
22472 ac_cpp='$CPP $CPPFLAGS'
22473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22481 ac_ext=cpp
22482 ac_cpp='$CXXCPP $CPPFLAGS'
22483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22487 ac_save_CXXFLAGS="$CXXFLAGS"
22488 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
22491 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
22492 if ${glibcxx_cv_SYSCTL_HW_NCPU+:} false; then :
22493 $as_echo_n "(cached) " >&6
22494 else
22496 if test x$gcc_no_link = xyes; then
22497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22498 /* end confdefs.h. */
22500 #include <stddef.h>
22501 #include <sys/sysctl.h>
22504 main ()
22507 int count;
22508 size_t size = sizeof(count);
22509 int mib[] = { CTL_HW, HW_NCPU };
22510 sysctl(mib, 2, &count, &size, NULL, 0);
22513 return 0;
22515 _ACEOF
22516 if ac_fn_cxx_try_compile "$LINENO"; then :
22517 glibcxx_cv_SYSCTL_HW_NCPU=yes
22518 else
22519 glibcxx_cv_SYSCTL_HW_NCPU=no
22521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22522 else
22523 if test x$gcc_no_link = xyes; then
22524 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22527 /* end confdefs.h. */
22529 #include <stddef.h>
22530 #include <sys/sysctl.h>
22533 main ()
22536 int count;
22537 size_t size = sizeof(count);
22538 int mib[] = { CTL_HW, HW_NCPU };
22539 sysctl(mib, 2, &count, &size, NULL, 0);
22542 return 0;
22544 _ACEOF
22545 if ac_fn_cxx_try_link "$LINENO"; then :
22546 glibcxx_cv_SYSCTL_HW_NCPU=yes
22547 else
22548 glibcxx_cv_SYSCTL_HW_NCPU=no
22550 rm -f core conftest.err conftest.$ac_objext \
22551 conftest$ac_exeext conftest.$ac_ext
22555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
22556 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
22557 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
22559 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
22563 CXXFLAGS="$ac_save_CXXFLAGS"
22564 ac_ext=c
22565 ac_cpp='$CPP $CPPFLAGS'
22566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22572 # Note that this test has to be run with the C language.
22573 # Otherwise, sdt.h will try to include some headers from
22574 # libstdc++ itself.
22576 ac_ext=c
22577 ac_cpp='$CPP $CPPFLAGS'
22578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
22583 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
22584 if ${glibcxx_cv_sys_sdt_h+:} false; then :
22585 $as_echo_n "(cached) " >&6
22586 else
22588 # Because we have to run the test in C, we use grep rather
22589 # than the compiler to check for the bug. The bug is that
22590 # were strings without trailing whitespace, causing g++
22591 # to look for operator"". The pattern searches for the fixed
22592 # output.
22593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22594 /* end confdefs.h. */
22596 #include <sys/sdt.h>
22597 int f() { STAP_PROBE(hi, bob); }
22599 _ACEOF
22600 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22601 $EGREP " \",\" " >/dev/null 2>&1; then :
22602 glibcxx_cv_sys_sdt_h=yes
22603 else
22604 glibcxx_cv_sys_sdt_h=no
22606 rm -f conftest*
22610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
22611 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
22612 ac_ext=c
22613 ac_cpp='$CPP $CPPFLAGS'
22614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22618 if test $glibcxx_cv_sys_sdt_h = yes; then
22620 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
22625 # Check for available headers.
22626 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
22627 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
22628 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
22629 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
22630 wchar.h wctype.h linux/types.h
22631 do :
22632 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22633 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
22634 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
22635 cat >>confdefs.h <<_ACEOF
22636 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22637 _ACEOF
22641 done
22644 for ac_header in linux/random.h
22645 do :
22646 ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
22647 # include <linux/types.h>
22648 #endif
22651 if test "x$ac_cv_header_linux_random_h" = xyes; then :
22652 cat >>confdefs.h <<_ACEOF
22653 #define HAVE_LINUX_RANDOM_H 1
22654 _ACEOF
22658 done
22661 for ac_header in xlocale.h
22662 do :
22663 ac_fn_c_check_header_mongrel "$LINENO" "xlocale.h" "ac_cv_header_xlocale_h" "$ac_includes_default"
22664 if test "x$ac_cv_header_xlocale_h" = xyes; then :
22665 cat >>confdefs.h <<_ACEOF
22666 #define HAVE_XLOCALE_H 1
22667 _ACEOF
22671 done
22674 # Only do link tests if native. Else, hardcode.
22675 if $GLIBCXX_IS_NATIVE; then
22677 # We can do more elaborate tests that assume a working linker.
22678 CANADIAN=no
22682 # Check whether --with-gnu-ld was given.
22683 if test "${with_gnu_ld+set}" = set; then :
22684 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
22685 else
22686 with_gnu_ld=no
22689 ac_prog=ld
22690 if test "$GCC" = yes; then
22691 # Check if gcc -print-prog-name=ld gives a path.
22692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
22693 $as_echo_n "checking for ld used by $CC... " >&6; }
22694 case $host in
22695 *-*-mingw*)
22696 # gcc leaves a trailing carriage return which upsets mingw
22697 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
22699 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
22700 esac
22701 case $ac_prog in
22702 # Accept absolute paths.
22703 [\\/]* | ?:[\\/]*)
22704 re_direlt='/[^/][^/]*/\.\./'
22705 # Canonicalize the pathname of ld
22706 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
22707 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
22708 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
22709 done
22710 test -z "$LD" && LD="$ac_prog"
22713 # If it fails, then pretend we aren't using GCC.
22714 ac_prog=ld
22717 # If it is relative, then search for the first ld in PATH.
22718 with_gnu_ld=unknown
22720 esac
22721 elif test "$with_gnu_ld" = yes; then
22722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
22723 $as_echo_n "checking for GNU ld... " >&6; }
22724 else
22725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
22726 $as_echo_n "checking for non-GNU ld... " >&6; }
22728 if ${lt_cv_path_LD+:} false; then :
22729 $as_echo_n "(cached) " >&6
22730 else
22731 if test -z "$LD"; then
22732 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
22733 for ac_dir in $PATH; do
22734 IFS="$lt_save_ifs"
22735 test -z "$ac_dir" && ac_dir=.
22736 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
22737 lt_cv_path_LD="$ac_dir/$ac_prog"
22738 # Check to see if the program is GNU ld. I'd rather use --version,
22739 # but apparently some variants of GNU ld only accept -v.
22740 # Break only if it was the GNU/non-GNU ld that we prefer.
22741 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
22742 *GNU* | *'with BFD'*)
22743 test "$with_gnu_ld" != no && break
22746 test "$with_gnu_ld" != yes && break
22748 esac
22750 done
22751 IFS="$lt_save_ifs"
22752 else
22753 lt_cv_path_LD="$LD" # Let the user override the test with a path.
22757 LD="$lt_cv_path_LD"
22758 if test -n "$LD"; then
22759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
22760 $as_echo "$LD" >&6; }
22761 else
22762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22763 $as_echo "no" >&6; }
22765 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
22766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
22767 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
22768 if ${lt_cv_prog_gnu_ld+:} false; then :
22769 $as_echo_n "(cached) " >&6
22770 else
22771 # I'd rather use --version here, but apparently some GNU lds only accept -v.
22772 case `$LD -v 2>&1 </dev/null` in
22773 *GNU* | *'with BFD'*)
22774 lt_cv_prog_gnu_ld=yes
22777 lt_cv_prog_gnu_ld=no
22779 esac
22781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
22782 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
22783 with_gnu_ld=$lt_cv_prog_gnu_ld
22791 # If we're not using GNU ld, then there's no point in even trying these
22792 # tests. Check for that first. We should have already tested for gld
22793 # by now (in libtool), but require it now just to be safe...
22794 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
22795 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
22799 # The name set by libtool depends on the version of libtool. Shame on us
22800 # for depending on an impl detail, but c'est la vie. Older versions used
22801 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
22802 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
22803 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
22804 # set (hence we're using an older libtool), then set it.
22805 if test x${with_gnu_ld+set} != xset; then
22806 if test x${ac_cv_prog_gnu_ld+set} != xset; then
22807 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
22808 with_gnu_ld=no
22809 else
22810 with_gnu_ld=$ac_cv_prog_gnu_ld
22814 # Start by getting the version number. I think the libtool test already
22815 # does some of this, but throws away the result.
22816 glibcxx_ld_is_gold=no
22817 glibcxx_ld_is_mold=no
22818 if test x"$with_gnu_ld" = x"yes"; then
22819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
22820 $as_echo_n "checking for ld version... " >&6; }
22822 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
22823 glibcxx_ld_is_gold=yes
22824 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
22825 glibcxx_ld_is_mold=yes
22827 ldver=`$LD --version 2>/dev/null |
22828 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
22830 glibcxx_gnu_ld_version=`echo $ldver | \
22831 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
22832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
22833 $as_echo "$glibcxx_gnu_ld_version" >&6; }
22836 # Set --gc-sections.
22837 glibcxx_have_gc_sections=no
22838 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
22839 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
22840 glibcxx_have_gc_sections=yes
22842 else
22843 glibcxx_gcsections_min_ld=21602
22844 if test x"$with_gnu_ld" = x"yes" &&
22845 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
22846 glibcxx_have_gc_sections=yes
22849 if test "$glibcxx_have_gc_sections" = "yes"; then
22850 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
22851 # NB: This flag only works reliably after 2.16.1. Configure tests
22852 # for this are difficult, so hard wire a value that should work.
22854 ac_test_CFLAGS="${CFLAGS+set}"
22855 ac_save_CFLAGS="$CFLAGS"
22856 CFLAGS='-Wl,--gc-sections'
22858 # Check for -Wl,--gc-sections
22859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22860 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22861 if test x$gcc_no_link = xyes; then
22862 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22865 /* end confdefs.h. */
22866 int one(void) { return 1; }
22867 int two(void) { return 2; }
22870 main ()
22872 two();
22874 return 0;
22876 _ACEOF
22877 if ac_fn_c_try_link "$LINENO"; then :
22878 ac_gcsections=yes
22879 else
22880 ac_gcsections=no
22882 rm -f core conftest.err conftest.$ac_objext \
22883 conftest$ac_exeext conftest.$ac_ext
22884 if test "$ac_gcsections" = "yes"; then
22885 rm -f conftest.c
22886 touch conftest.c
22887 if $CC -c conftest.c; then
22888 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22889 grep "Warning: gc-sections option ignored" > /dev/null; then
22890 ac_gcsections=no
22893 rm -f conftest.c conftest.o conftest
22895 if test "$ac_gcsections" = "yes"; then
22896 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22899 $as_echo "$ac_gcsections" >&6; }
22901 if test "$ac_test_CFLAGS" = set; then
22902 CFLAGS="$ac_save_CFLAGS"
22903 else
22904 # this is the suspicious part
22905 CFLAGS=''
22909 # Set -z,relro.
22910 # Note this is only for shared objects.
22911 ac_ld_relro=no
22912 if test x"$with_gnu_ld" = x"yes"; then
22913 # cygwin and mingw uses PE, which has no ELF relro support,
22914 # multi target ld may confuse configure machinery
22915 case "$host" in
22916 *-*-cygwin*)
22918 *-*-mingw*)
22921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22922 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22923 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22924 if test -n "$cxx_z_relo"; then
22925 OPT_LDFLAGS="-Wl,-z,relro"
22926 ac_ld_relro=yes
22928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22929 $as_echo "$ac_ld_relro" >&6; }
22930 esac
22933 # Set linker optimization flags.
22934 if test x"$with_gnu_ld" = x"yes"; then
22935 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22942 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22943 ac_save_CXXFLAGS="$CXXFLAGS"
22944 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22947 $as_echo_n "checking for sin in -lm... " >&6; }
22948 if ${ac_cv_lib_m_sin+:} false; then :
22949 $as_echo_n "(cached) " >&6
22950 else
22951 ac_check_lib_save_LIBS=$LIBS
22952 LIBS="-lm $LIBS"
22953 if test x$gcc_no_link = xyes; then
22954 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22957 /* end confdefs.h. */
22959 /* Override any GCC internal prototype to avoid an error.
22960 Use char because int might match the return type of a GCC
22961 builtin and then its argument prototype would still apply. */
22962 #ifdef __cplusplus
22963 extern "C"
22964 #endif
22965 char sin ();
22967 main ()
22969 return sin ();
22971 return 0;
22973 _ACEOF
22974 if ac_fn_c_try_link "$LINENO"; then :
22975 ac_cv_lib_m_sin=yes
22976 else
22977 ac_cv_lib_m_sin=no
22979 rm -f core conftest.err conftest.$ac_objext \
22980 conftest$ac_exeext conftest.$ac_ext
22981 LIBS=$ac_check_lib_save_LIBS
22983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22984 $as_echo "$ac_cv_lib_m_sin" >&6; }
22985 if test "x$ac_cv_lib_m_sin" = xyes; then :
22986 libm="-lm"
22989 ac_save_LIBS="$LIBS"
22990 LIBS="$LIBS $libm"
22994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22995 $as_echo_n "checking for isinf declaration... " >&6; }
22996 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22997 if ${glibcxx_cv_func_isinf_use+:} false; then :
22998 $as_echo_n "(cached) " >&6
22999 else
23002 ac_ext=cpp
23003 ac_cpp='$CXXCPP $CPPFLAGS'
23004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23009 /* end confdefs.h. */
23010 #include <math.h>
23011 #ifdef HAVE_IEEEFP_H
23012 #include <ieeefp.h>
23013 #endif
23016 main ()
23018 isinf(0);
23020 return 0;
23022 _ACEOF
23023 if ac_fn_cxx_try_compile "$LINENO"; then :
23024 glibcxx_cv_func_isinf_use=yes
23025 else
23026 glibcxx_cv_func_isinf_use=no
23028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23029 ac_ext=c
23030 ac_cpp='$CPP $CPPFLAGS'
23031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
23040 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
23042 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
23043 for ac_func in isinf
23044 do :
23045 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
23046 if test "x$ac_cv_func_isinf" = xyes; then :
23047 cat >>confdefs.h <<_ACEOF
23048 #define HAVE_ISINF 1
23049 _ACEOF
23052 done
23054 else
23056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
23057 $as_echo_n "checking for _isinf declaration... " >&6; }
23058 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
23059 if ${glibcxx_cv_func__isinf_use+:} false; then :
23060 $as_echo_n "(cached) " >&6
23061 else
23064 ac_ext=cpp
23065 ac_cpp='$CXXCPP $CPPFLAGS'
23066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23071 /* end confdefs.h. */
23072 #include <math.h>
23073 #ifdef HAVE_IEEEFP_H
23074 #include <ieeefp.h>
23075 #endif
23078 main ()
23080 _isinf(0);
23082 return 0;
23084 _ACEOF
23085 if ac_fn_cxx_try_compile "$LINENO"; then :
23086 glibcxx_cv_func__isinf_use=yes
23087 else
23088 glibcxx_cv_func__isinf_use=no
23090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23091 ac_ext=c
23092 ac_cpp='$CPP $CPPFLAGS'
23093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
23102 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
23104 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
23105 for ac_func in _isinf
23106 do :
23107 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
23108 if test "x$ac_cv_func__isinf" = xyes; then :
23109 cat >>confdefs.h <<_ACEOF
23110 #define HAVE__ISINF 1
23111 _ACEOF
23114 done
23123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
23124 $as_echo_n "checking for isnan declaration... " >&6; }
23125 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
23126 if ${glibcxx_cv_func_isnan_use+:} false; then :
23127 $as_echo_n "(cached) " >&6
23128 else
23131 ac_ext=cpp
23132 ac_cpp='$CXXCPP $CPPFLAGS'
23133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23138 /* end confdefs.h. */
23139 #include <math.h>
23140 #ifdef HAVE_IEEEFP_H
23141 #include <ieeefp.h>
23142 #endif
23145 main ()
23147 isnan(0);
23149 return 0;
23151 _ACEOF
23152 if ac_fn_cxx_try_compile "$LINENO"; then :
23153 glibcxx_cv_func_isnan_use=yes
23154 else
23155 glibcxx_cv_func_isnan_use=no
23157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23158 ac_ext=c
23159 ac_cpp='$CPP $CPPFLAGS'
23160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
23169 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
23171 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
23172 for ac_func in isnan
23173 do :
23174 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
23175 if test "x$ac_cv_func_isnan" = xyes; then :
23176 cat >>confdefs.h <<_ACEOF
23177 #define HAVE_ISNAN 1
23178 _ACEOF
23181 done
23183 else
23185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
23186 $as_echo_n "checking for _isnan declaration... " >&6; }
23187 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
23188 if ${glibcxx_cv_func__isnan_use+:} false; then :
23189 $as_echo_n "(cached) " >&6
23190 else
23193 ac_ext=cpp
23194 ac_cpp='$CXXCPP $CPPFLAGS'
23195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23200 /* end confdefs.h. */
23201 #include <math.h>
23202 #ifdef HAVE_IEEEFP_H
23203 #include <ieeefp.h>
23204 #endif
23207 main ()
23209 _isnan(0);
23211 return 0;
23213 _ACEOF
23214 if ac_fn_cxx_try_compile "$LINENO"; then :
23215 glibcxx_cv_func__isnan_use=yes
23216 else
23217 glibcxx_cv_func__isnan_use=no
23219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23220 ac_ext=c
23221 ac_cpp='$CPP $CPPFLAGS'
23222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
23231 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
23233 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
23234 for ac_func in _isnan
23235 do :
23236 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
23237 if test "x$ac_cv_func__isnan" = xyes; then :
23238 cat >>confdefs.h <<_ACEOF
23239 #define HAVE__ISNAN 1
23240 _ACEOF
23243 done
23252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
23253 $as_echo_n "checking for finite declaration... " >&6; }
23254 if test x${glibcxx_cv_func_finite_use+set} != xset; then
23255 if ${glibcxx_cv_func_finite_use+:} false; then :
23256 $as_echo_n "(cached) " >&6
23257 else
23260 ac_ext=cpp
23261 ac_cpp='$CXXCPP $CPPFLAGS'
23262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23267 /* end confdefs.h. */
23268 #include <math.h>
23269 #ifdef HAVE_IEEEFP_H
23270 #include <ieeefp.h>
23271 #endif
23274 main ()
23276 finite(0);
23278 return 0;
23280 _ACEOF
23281 if ac_fn_cxx_try_compile "$LINENO"; then :
23282 glibcxx_cv_func_finite_use=yes
23283 else
23284 glibcxx_cv_func_finite_use=no
23286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23287 ac_ext=c
23288 ac_cpp='$CPP $CPPFLAGS'
23289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
23298 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
23300 if test x$glibcxx_cv_func_finite_use = x"yes"; then
23301 for ac_func in finite
23302 do :
23303 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
23304 if test "x$ac_cv_func_finite" = xyes; then :
23305 cat >>confdefs.h <<_ACEOF
23306 #define HAVE_FINITE 1
23307 _ACEOF
23310 done
23312 else
23314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
23315 $as_echo_n "checking for _finite declaration... " >&6; }
23316 if test x${glibcxx_cv_func__finite_use+set} != xset; then
23317 if ${glibcxx_cv_func__finite_use+:} false; then :
23318 $as_echo_n "(cached) " >&6
23319 else
23322 ac_ext=cpp
23323 ac_cpp='$CXXCPP $CPPFLAGS'
23324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23329 /* end confdefs.h. */
23330 #include <math.h>
23331 #ifdef HAVE_IEEEFP_H
23332 #include <ieeefp.h>
23333 #endif
23336 main ()
23338 _finite(0);
23340 return 0;
23342 _ACEOF
23343 if ac_fn_cxx_try_compile "$LINENO"; then :
23344 glibcxx_cv_func__finite_use=yes
23345 else
23346 glibcxx_cv_func__finite_use=no
23348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23349 ac_ext=c
23350 ac_cpp='$CPP $CPPFLAGS'
23351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
23360 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
23362 if test x$glibcxx_cv_func__finite_use = x"yes"; then
23363 for ac_func in _finite
23364 do :
23365 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
23366 if test "x$ac_cv_func__finite" = xyes; then :
23367 cat >>confdefs.h <<_ACEOF
23368 #define HAVE__FINITE 1
23369 _ACEOF
23372 done
23381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
23382 $as_echo_n "checking for sincos declaration... " >&6; }
23383 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
23384 if ${glibcxx_cv_func_sincos_use+:} false; then :
23385 $as_echo_n "(cached) " >&6
23386 else
23389 ac_ext=cpp
23390 ac_cpp='$CXXCPP $CPPFLAGS'
23391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23396 /* end confdefs.h. */
23397 #include <math.h>
23399 main ()
23401 sincos(0, 0, 0);
23403 return 0;
23405 _ACEOF
23406 if ac_fn_cxx_try_compile "$LINENO"; then :
23407 glibcxx_cv_func_sincos_use=yes
23408 else
23409 glibcxx_cv_func_sincos_use=no
23411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23412 ac_ext=c
23413 ac_cpp='$CPP $CPPFLAGS'
23414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
23423 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
23425 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
23426 for ac_func in sincos
23427 do :
23428 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
23429 if test "x$ac_cv_func_sincos" = xyes; then :
23430 cat >>confdefs.h <<_ACEOF
23431 #define HAVE_SINCOS 1
23432 _ACEOF
23435 done
23437 else
23439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
23440 $as_echo_n "checking for _sincos declaration... " >&6; }
23441 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
23442 if ${glibcxx_cv_func__sincos_use+:} false; then :
23443 $as_echo_n "(cached) " >&6
23444 else
23447 ac_ext=cpp
23448 ac_cpp='$CXXCPP $CPPFLAGS'
23449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23454 /* end confdefs.h. */
23455 #include <math.h>
23457 main ()
23459 _sincos(0, 0, 0);
23461 return 0;
23463 _ACEOF
23464 if ac_fn_cxx_try_compile "$LINENO"; then :
23465 glibcxx_cv_func__sincos_use=yes
23466 else
23467 glibcxx_cv_func__sincos_use=no
23469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23470 ac_ext=c
23471 ac_cpp='$CPP $CPPFLAGS'
23472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
23481 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
23483 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
23484 for ac_func in _sincos
23485 do :
23486 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
23487 if test "x$ac_cv_func__sincos" = xyes; then :
23488 cat >>confdefs.h <<_ACEOF
23489 #define HAVE__SINCOS 1
23490 _ACEOF
23493 done
23502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
23503 $as_echo_n "checking for fpclass declaration... " >&6; }
23504 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
23505 if ${glibcxx_cv_func_fpclass_use+:} false; then :
23506 $as_echo_n "(cached) " >&6
23507 else
23510 ac_ext=cpp
23511 ac_cpp='$CXXCPP $CPPFLAGS'
23512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23517 /* end confdefs.h. */
23518 #include <math.h>
23519 #ifdef HAVE_IEEEFP_H
23520 #include <ieeefp.h>
23521 #endif
23524 main ()
23526 fpclass(0);
23528 return 0;
23530 _ACEOF
23531 if ac_fn_cxx_try_compile "$LINENO"; then :
23532 glibcxx_cv_func_fpclass_use=yes
23533 else
23534 glibcxx_cv_func_fpclass_use=no
23536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23537 ac_ext=c
23538 ac_cpp='$CPP $CPPFLAGS'
23539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
23548 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
23550 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
23551 for ac_func in fpclass
23552 do :
23553 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
23554 if test "x$ac_cv_func_fpclass" = xyes; then :
23555 cat >>confdefs.h <<_ACEOF
23556 #define HAVE_FPCLASS 1
23557 _ACEOF
23560 done
23562 else
23564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
23565 $as_echo_n "checking for _fpclass declaration... " >&6; }
23566 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
23567 if ${glibcxx_cv_func__fpclass_use+:} false; then :
23568 $as_echo_n "(cached) " >&6
23569 else
23572 ac_ext=cpp
23573 ac_cpp='$CXXCPP $CPPFLAGS'
23574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23579 /* end confdefs.h. */
23580 #include <math.h>
23581 #ifdef HAVE_IEEEFP_H
23582 #include <ieeefp.h>
23583 #endif
23586 main ()
23588 _fpclass(0);
23590 return 0;
23592 _ACEOF
23593 if ac_fn_cxx_try_compile "$LINENO"; then :
23594 glibcxx_cv_func__fpclass_use=yes
23595 else
23596 glibcxx_cv_func__fpclass_use=no
23598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23599 ac_ext=c
23600 ac_cpp='$CPP $CPPFLAGS'
23601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
23610 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
23612 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
23613 for ac_func in _fpclass
23614 do :
23615 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
23616 if test "x$ac_cv_func__fpclass" = xyes; then :
23617 cat >>confdefs.h <<_ACEOF
23618 #define HAVE__FPCLASS 1
23619 _ACEOF
23622 done
23631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
23632 $as_echo_n "checking for qfpclass declaration... " >&6; }
23633 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
23634 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
23635 $as_echo_n "(cached) " >&6
23636 else
23639 ac_ext=cpp
23640 ac_cpp='$CXXCPP $CPPFLAGS'
23641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23646 /* end confdefs.h. */
23647 #include <math.h>
23648 #ifdef HAVE_IEEEFP_H
23649 #include <ieeefp.h>
23650 #endif
23653 main ()
23655 qfpclass(0);
23657 return 0;
23659 _ACEOF
23660 if ac_fn_cxx_try_compile "$LINENO"; then :
23661 glibcxx_cv_func_qfpclass_use=yes
23662 else
23663 glibcxx_cv_func_qfpclass_use=no
23665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23666 ac_ext=c
23667 ac_cpp='$CPP $CPPFLAGS'
23668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
23677 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
23679 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
23680 for ac_func in qfpclass
23681 do :
23682 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
23683 if test "x$ac_cv_func_qfpclass" = xyes; then :
23684 cat >>confdefs.h <<_ACEOF
23685 #define HAVE_QFPCLASS 1
23686 _ACEOF
23689 done
23691 else
23693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
23694 $as_echo_n "checking for _qfpclass declaration... " >&6; }
23695 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
23696 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
23697 $as_echo_n "(cached) " >&6
23698 else
23701 ac_ext=cpp
23702 ac_cpp='$CXXCPP $CPPFLAGS'
23703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23708 /* end confdefs.h. */
23709 #include <math.h>
23710 #ifdef HAVE_IEEEFP_H
23711 #include <ieeefp.h>
23712 #endif
23715 main ()
23717 _qfpclass(0);
23719 return 0;
23721 _ACEOF
23722 if ac_fn_cxx_try_compile "$LINENO"; then :
23723 glibcxx_cv_func__qfpclass_use=yes
23724 else
23725 glibcxx_cv_func__qfpclass_use=no
23727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23728 ac_ext=c
23729 ac_cpp='$CPP $CPPFLAGS'
23730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
23739 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
23741 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
23742 for ac_func in _qfpclass
23743 do :
23744 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
23745 if test "x$ac_cv_func__qfpclass" = xyes; then :
23746 cat >>confdefs.h <<_ACEOF
23747 #define HAVE__QFPCLASS 1
23748 _ACEOF
23751 done
23760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
23761 $as_echo_n "checking for hypot declaration... " >&6; }
23762 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
23763 if ${glibcxx_cv_func_hypot_use+:} false; then :
23764 $as_echo_n "(cached) " >&6
23765 else
23768 ac_ext=cpp
23769 ac_cpp='$CXXCPP $CPPFLAGS'
23770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23775 /* end confdefs.h. */
23776 #include <math.h>
23778 main ()
23780 hypot(0, 0);
23782 return 0;
23784 _ACEOF
23785 if ac_fn_cxx_try_compile "$LINENO"; then :
23786 glibcxx_cv_func_hypot_use=yes
23787 else
23788 glibcxx_cv_func_hypot_use=no
23790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23791 ac_ext=c
23792 ac_cpp='$CPP $CPPFLAGS'
23793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
23802 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
23804 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
23805 for ac_func in hypot
23806 do :
23807 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
23808 if test "x$ac_cv_func_hypot" = xyes; then :
23809 cat >>confdefs.h <<_ACEOF
23810 #define HAVE_HYPOT 1
23811 _ACEOF
23814 done
23816 else
23818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
23819 $as_echo_n "checking for _hypot declaration... " >&6; }
23820 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
23821 if ${glibcxx_cv_func__hypot_use+:} false; then :
23822 $as_echo_n "(cached) " >&6
23823 else
23826 ac_ext=cpp
23827 ac_cpp='$CXXCPP $CPPFLAGS'
23828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23833 /* end confdefs.h. */
23834 #include <math.h>
23836 main ()
23838 _hypot(0, 0);
23840 return 0;
23842 _ACEOF
23843 if ac_fn_cxx_try_compile "$LINENO"; then :
23844 glibcxx_cv_func__hypot_use=yes
23845 else
23846 glibcxx_cv_func__hypot_use=no
23848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23849 ac_ext=c
23850 ac_cpp='$CPP $CPPFLAGS'
23851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23860 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23862 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23863 for ac_func in _hypot
23864 do :
23865 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23866 if test "x$ac_cv_func__hypot" = xyes; then :
23867 cat >>confdefs.h <<_ACEOF
23868 #define HAVE__HYPOT 1
23869 _ACEOF
23872 done
23881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23882 $as_echo_n "checking for float trig functions... " >&6; }
23883 if ${glibcxx_cv_func_float_trig_use+:} false; then :
23884 $as_echo_n "(cached) " >&6
23885 else
23888 ac_ext=cpp
23889 ac_cpp='$CXXCPP $CPPFLAGS'
23890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23895 /* end confdefs.h. */
23896 #include <math.h>
23898 main ()
23900 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23902 return 0;
23904 _ACEOF
23905 if ac_fn_cxx_try_compile "$LINENO"; then :
23906 glibcxx_cv_func_float_trig_use=yes
23907 else
23908 glibcxx_cv_func_float_trig_use=no
23910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23911 ac_ext=c
23912 ac_cpp='$CPP $CPPFLAGS'
23913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23920 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23921 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23922 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23923 do :
23924 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23925 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23926 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23927 cat >>confdefs.h <<_ACEOF
23928 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23929 _ACEOF
23932 done
23934 else
23935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23936 $as_echo_n "checking for _float trig functions... " >&6; }
23937 if ${glibcxx_cv_func__float_trig_use+:} false; then :
23938 $as_echo_n "(cached) " >&6
23939 else
23942 ac_ext=cpp
23943 ac_cpp='$CXXCPP $CPPFLAGS'
23944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23949 /* end confdefs.h. */
23950 #include <math.h>
23952 main ()
23954 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23956 return 0;
23958 _ACEOF
23959 if ac_fn_cxx_try_compile "$LINENO"; then :
23960 glibcxx_cv_func__float_trig_use=yes
23961 else
23962 glibcxx_cv_func__float_trig_use=no
23964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23965 ac_ext=c
23966 ac_cpp='$CPP $CPPFLAGS'
23967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23974 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23975 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23976 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23977 do :
23978 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23979 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23980 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23981 cat >>confdefs.h <<_ACEOF
23982 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23983 _ACEOF
23986 done
23995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23996 $as_echo_n "checking for float round functions... " >&6; }
23997 if ${glibcxx_cv_func_float_round_use+:} false; then :
23998 $as_echo_n "(cached) " >&6
23999 else
24002 ac_ext=cpp
24003 ac_cpp='$CXXCPP $CPPFLAGS'
24004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24009 /* end confdefs.h. */
24010 #include <math.h>
24012 main ()
24014 ceilf (0); floorf (0);
24016 return 0;
24018 _ACEOF
24019 if ac_fn_cxx_try_compile "$LINENO"; then :
24020 glibcxx_cv_func_float_round_use=yes
24021 else
24022 glibcxx_cv_func_float_round_use=no
24024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24025 ac_ext=c
24026 ac_cpp='$CPP $CPPFLAGS'
24027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
24034 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
24035 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
24036 for ac_func in ceilf floorf
24037 do :
24038 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24039 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24040 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
24041 cat >>confdefs.h <<_ACEOF
24042 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24043 _ACEOF
24046 done
24048 else
24049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
24050 $as_echo_n "checking for _float round functions... " >&6; }
24051 if ${glibcxx_cv_func__float_round_use+:} false; then :
24052 $as_echo_n "(cached) " >&6
24053 else
24056 ac_ext=cpp
24057 ac_cpp='$CXXCPP $CPPFLAGS'
24058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24063 /* end confdefs.h. */
24064 #include <math.h>
24066 main ()
24068 _ceilf (0); _floorf (0);
24070 return 0;
24072 _ACEOF
24073 if ac_fn_cxx_try_compile "$LINENO"; then :
24074 glibcxx_cv_func__float_round_use=yes
24075 else
24076 glibcxx_cv_func__float_round_use=no
24078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24079 ac_ext=c
24080 ac_cpp='$CPP $CPPFLAGS'
24081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
24088 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
24089 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
24090 for ac_func in _ceilf _floorf
24091 do :
24092 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24093 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24094 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
24095 cat >>confdefs.h <<_ACEOF
24096 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24097 _ACEOF
24100 done
24110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
24111 $as_echo_n "checking for expf declaration... " >&6; }
24112 if test x${glibcxx_cv_func_expf_use+set} != xset; then
24113 if ${glibcxx_cv_func_expf_use+:} false; then :
24114 $as_echo_n "(cached) " >&6
24115 else
24118 ac_ext=cpp
24119 ac_cpp='$CXXCPP $CPPFLAGS'
24120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24125 /* end confdefs.h. */
24126 #include <math.h>
24127 #ifdef HAVE_IEEEFP_H
24128 #include <ieeefp.h>
24129 #endif
24132 main ()
24134 expf(0);
24136 return 0;
24138 _ACEOF
24139 if ac_fn_cxx_try_compile "$LINENO"; then :
24140 glibcxx_cv_func_expf_use=yes
24141 else
24142 glibcxx_cv_func_expf_use=no
24144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24145 ac_ext=c
24146 ac_cpp='$CPP $CPPFLAGS'
24147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
24156 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
24158 if test x$glibcxx_cv_func_expf_use = x"yes"; then
24159 for ac_func in expf
24160 do :
24161 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
24162 if test "x$ac_cv_func_expf" = xyes; then :
24163 cat >>confdefs.h <<_ACEOF
24164 #define HAVE_EXPF 1
24165 _ACEOF
24168 done
24170 else
24172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
24173 $as_echo_n "checking for _expf declaration... " >&6; }
24174 if test x${glibcxx_cv_func__expf_use+set} != xset; then
24175 if ${glibcxx_cv_func__expf_use+:} false; then :
24176 $as_echo_n "(cached) " >&6
24177 else
24180 ac_ext=cpp
24181 ac_cpp='$CXXCPP $CPPFLAGS'
24182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24187 /* end confdefs.h. */
24188 #include <math.h>
24189 #ifdef HAVE_IEEEFP_H
24190 #include <ieeefp.h>
24191 #endif
24194 main ()
24196 _expf(0);
24198 return 0;
24200 _ACEOF
24201 if ac_fn_cxx_try_compile "$LINENO"; then :
24202 glibcxx_cv_func__expf_use=yes
24203 else
24204 glibcxx_cv_func__expf_use=no
24206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24207 ac_ext=c
24208 ac_cpp='$CPP $CPPFLAGS'
24209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
24218 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
24220 if test x$glibcxx_cv_func__expf_use = x"yes"; then
24221 for ac_func in _expf
24222 do :
24223 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
24224 if test "x$ac_cv_func__expf" = xyes; then :
24225 cat >>confdefs.h <<_ACEOF
24226 #define HAVE__EXPF 1
24227 _ACEOF
24230 done
24239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
24240 $as_echo_n "checking for isnanf declaration... " >&6; }
24241 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
24242 if ${glibcxx_cv_func_isnanf_use+:} false; then :
24243 $as_echo_n "(cached) " >&6
24244 else
24247 ac_ext=cpp
24248 ac_cpp='$CXXCPP $CPPFLAGS'
24249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24254 /* end confdefs.h. */
24255 #include <math.h>
24256 #ifdef HAVE_IEEEFP_H
24257 #include <ieeefp.h>
24258 #endif
24261 main ()
24263 isnanf(0);
24265 return 0;
24267 _ACEOF
24268 if ac_fn_cxx_try_compile "$LINENO"; then :
24269 glibcxx_cv_func_isnanf_use=yes
24270 else
24271 glibcxx_cv_func_isnanf_use=no
24273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24274 ac_ext=c
24275 ac_cpp='$CPP $CPPFLAGS'
24276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
24285 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
24287 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
24288 for ac_func in isnanf
24289 do :
24290 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
24291 if test "x$ac_cv_func_isnanf" = xyes; then :
24292 cat >>confdefs.h <<_ACEOF
24293 #define HAVE_ISNANF 1
24294 _ACEOF
24297 done
24299 else
24301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
24302 $as_echo_n "checking for _isnanf declaration... " >&6; }
24303 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
24304 if ${glibcxx_cv_func__isnanf_use+:} false; then :
24305 $as_echo_n "(cached) " >&6
24306 else
24309 ac_ext=cpp
24310 ac_cpp='$CXXCPP $CPPFLAGS'
24311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24316 /* end confdefs.h. */
24317 #include <math.h>
24318 #ifdef HAVE_IEEEFP_H
24319 #include <ieeefp.h>
24320 #endif
24323 main ()
24325 _isnanf(0);
24327 return 0;
24329 _ACEOF
24330 if ac_fn_cxx_try_compile "$LINENO"; then :
24331 glibcxx_cv_func__isnanf_use=yes
24332 else
24333 glibcxx_cv_func__isnanf_use=no
24335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24336 ac_ext=c
24337 ac_cpp='$CPP $CPPFLAGS'
24338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
24347 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
24349 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
24350 for ac_func in _isnanf
24351 do :
24352 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
24353 if test "x$ac_cv_func__isnanf" = xyes; then :
24354 cat >>confdefs.h <<_ACEOF
24355 #define HAVE__ISNANF 1
24356 _ACEOF
24359 done
24368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
24369 $as_echo_n "checking for isinff declaration... " >&6; }
24370 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
24371 if ${glibcxx_cv_func_isinff_use+:} false; then :
24372 $as_echo_n "(cached) " >&6
24373 else
24376 ac_ext=cpp
24377 ac_cpp='$CXXCPP $CPPFLAGS'
24378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24383 /* end confdefs.h. */
24384 #include <math.h>
24385 #ifdef HAVE_IEEEFP_H
24386 #include <ieeefp.h>
24387 #endif
24390 main ()
24392 isinff(0);
24394 return 0;
24396 _ACEOF
24397 if ac_fn_cxx_try_compile "$LINENO"; then :
24398 glibcxx_cv_func_isinff_use=yes
24399 else
24400 glibcxx_cv_func_isinff_use=no
24402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24403 ac_ext=c
24404 ac_cpp='$CPP $CPPFLAGS'
24405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
24414 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
24416 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
24417 for ac_func in isinff
24418 do :
24419 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
24420 if test "x$ac_cv_func_isinff" = xyes; then :
24421 cat >>confdefs.h <<_ACEOF
24422 #define HAVE_ISINFF 1
24423 _ACEOF
24426 done
24428 else
24430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
24431 $as_echo_n "checking for _isinff declaration... " >&6; }
24432 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
24433 if ${glibcxx_cv_func__isinff_use+:} false; then :
24434 $as_echo_n "(cached) " >&6
24435 else
24438 ac_ext=cpp
24439 ac_cpp='$CXXCPP $CPPFLAGS'
24440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24445 /* end confdefs.h. */
24446 #include <math.h>
24447 #ifdef HAVE_IEEEFP_H
24448 #include <ieeefp.h>
24449 #endif
24452 main ()
24454 _isinff(0);
24456 return 0;
24458 _ACEOF
24459 if ac_fn_cxx_try_compile "$LINENO"; then :
24460 glibcxx_cv_func__isinff_use=yes
24461 else
24462 glibcxx_cv_func__isinff_use=no
24464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24465 ac_ext=c
24466 ac_cpp='$CPP $CPPFLAGS'
24467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
24476 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
24478 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
24479 for ac_func in _isinff
24480 do :
24481 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
24482 if test "x$ac_cv_func__isinff" = xyes; then :
24483 cat >>confdefs.h <<_ACEOF
24484 #define HAVE__ISINFF 1
24485 _ACEOF
24488 done
24497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
24498 $as_echo_n "checking for atan2f declaration... " >&6; }
24499 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
24500 if ${glibcxx_cv_func_atan2f_use+:} false; then :
24501 $as_echo_n "(cached) " >&6
24502 else
24505 ac_ext=cpp
24506 ac_cpp='$CXXCPP $CPPFLAGS'
24507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24512 /* end confdefs.h. */
24513 #include <math.h>
24515 main ()
24517 atan2f(0, 0);
24519 return 0;
24521 _ACEOF
24522 if ac_fn_cxx_try_compile "$LINENO"; then :
24523 glibcxx_cv_func_atan2f_use=yes
24524 else
24525 glibcxx_cv_func_atan2f_use=no
24527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24528 ac_ext=c
24529 ac_cpp='$CPP $CPPFLAGS'
24530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
24539 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
24541 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
24542 for ac_func in atan2f
24543 do :
24544 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
24545 if test "x$ac_cv_func_atan2f" = xyes; then :
24546 cat >>confdefs.h <<_ACEOF
24547 #define HAVE_ATAN2F 1
24548 _ACEOF
24551 done
24553 else
24555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
24556 $as_echo_n "checking for _atan2f declaration... " >&6; }
24557 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
24558 if ${glibcxx_cv_func__atan2f_use+:} false; then :
24559 $as_echo_n "(cached) " >&6
24560 else
24563 ac_ext=cpp
24564 ac_cpp='$CXXCPP $CPPFLAGS'
24565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24570 /* end confdefs.h. */
24571 #include <math.h>
24573 main ()
24575 _atan2f(0, 0);
24577 return 0;
24579 _ACEOF
24580 if ac_fn_cxx_try_compile "$LINENO"; then :
24581 glibcxx_cv_func__atan2f_use=yes
24582 else
24583 glibcxx_cv_func__atan2f_use=no
24585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24586 ac_ext=c
24587 ac_cpp='$CPP $CPPFLAGS'
24588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
24597 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
24599 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
24600 for ac_func in _atan2f
24601 do :
24602 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
24603 if test "x$ac_cv_func__atan2f" = xyes; then :
24604 cat >>confdefs.h <<_ACEOF
24605 #define HAVE__ATAN2F 1
24606 _ACEOF
24609 done
24618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
24619 $as_echo_n "checking for fabsf declaration... " >&6; }
24620 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
24621 if ${glibcxx_cv_func_fabsf_use+:} false; then :
24622 $as_echo_n "(cached) " >&6
24623 else
24626 ac_ext=cpp
24627 ac_cpp='$CXXCPP $CPPFLAGS'
24628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24633 /* end confdefs.h. */
24634 #include <math.h>
24635 #ifdef HAVE_IEEEFP_H
24636 #include <ieeefp.h>
24637 #endif
24640 main ()
24642 fabsf(0);
24644 return 0;
24646 _ACEOF
24647 if ac_fn_cxx_try_compile "$LINENO"; then :
24648 glibcxx_cv_func_fabsf_use=yes
24649 else
24650 glibcxx_cv_func_fabsf_use=no
24652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24653 ac_ext=c
24654 ac_cpp='$CPP $CPPFLAGS'
24655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
24664 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
24666 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
24667 for ac_func in fabsf
24668 do :
24669 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
24670 if test "x$ac_cv_func_fabsf" = xyes; then :
24671 cat >>confdefs.h <<_ACEOF
24672 #define HAVE_FABSF 1
24673 _ACEOF
24676 done
24678 else
24680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
24681 $as_echo_n "checking for _fabsf declaration... " >&6; }
24682 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
24683 if ${glibcxx_cv_func__fabsf_use+:} false; then :
24684 $as_echo_n "(cached) " >&6
24685 else
24688 ac_ext=cpp
24689 ac_cpp='$CXXCPP $CPPFLAGS'
24690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24695 /* end confdefs.h. */
24696 #include <math.h>
24697 #ifdef HAVE_IEEEFP_H
24698 #include <ieeefp.h>
24699 #endif
24702 main ()
24704 _fabsf(0);
24706 return 0;
24708 _ACEOF
24709 if ac_fn_cxx_try_compile "$LINENO"; then :
24710 glibcxx_cv_func__fabsf_use=yes
24711 else
24712 glibcxx_cv_func__fabsf_use=no
24714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24715 ac_ext=c
24716 ac_cpp='$CPP $CPPFLAGS'
24717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
24726 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
24728 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24729 for ac_func in _fabsf
24730 do :
24731 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
24732 if test "x$ac_cv_func__fabsf" = xyes; then :
24733 cat >>confdefs.h <<_ACEOF
24734 #define HAVE__FABSF 1
24735 _ACEOF
24738 done
24747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
24748 $as_echo_n "checking for fmodf declaration... " >&6; }
24749 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24750 if ${glibcxx_cv_func_fmodf_use+:} false; then :
24751 $as_echo_n "(cached) " >&6
24752 else
24755 ac_ext=cpp
24756 ac_cpp='$CXXCPP $CPPFLAGS'
24757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24762 /* end confdefs.h. */
24763 #include <math.h>
24765 main ()
24767 fmodf(0, 0);
24769 return 0;
24771 _ACEOF
24772 if ac_fn_cxx_try_compile "$LINENO"; then :
24773 glibcxx_cv_func_fmodf_use=yes
24774 else
24775 glibcxx_cv_func_fmodf_use=no
24777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24778 ac_ext=c
24779 ac_cpp='$CPP $CPPFLAGS'
24780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
24789 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
24791 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24792 for ac_func in fmodf
24793 do :
24794 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
24795 if test "x$ac_cv_func_fmodf" = xyes; then :
24796 cat >>confdefs.h <<_ACEOF
24797 #define HAVE_FMODF 1
24798 _ACEOF
24801 done
24803 else
24805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
24806 $as_echo_n "checking for _fmodf declaration... " >&6; }
24807 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24808 if ${glibcxx_cv_func__fmodf_use+:} false; then :
24809 $as_echo_n "(cached) " >&6
24810 else
24813 ac_ext=cpp
24814 ac_cpp='$CXXCPP $CPPFLAGS'
24815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24820 /* end confdefs.h. */
24821 #include <math.h>
24823 main ()
24825 _fmodf(0, 0);
24827 return 0;
24829 _ACEOF
24830 if ac_fn_cxx_try_compile "$LINENO"; then :
24831 glibcxx_cv_func__fmodf_use=yes
24832 else
24833 glibcxx_cv_func__fmodf_use=no
24835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24836 ac_ext=c
24837 ac_cpp='$CPP $CPPFLAGS'
24838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
24847 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
24849 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24850 for ac_func in _fmodf
24851 do :
24852 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
24853 if test "x$ac_cv_func__fmodf" = xyes; then :
24854 cat >>confdefs.h <<_ACEOF
24855 #define HAVE__FMODF 1
24856 _ACEOF
24859 done
24868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24869 $as_echo_n "checking for frexpf declaration... " >&6; }
24870 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24871 if ${glibcxx_cv_func_frexpf_use+:} false; then :
24872 $as_echo_n "(cached) " >&6
24873 else
24876 ac_ext=cpp
24877 ac_cpp='$CXXCPP $CPPFLAGS'
24878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24883 /* end confdefs.h. */
24884 #include <math.h>
24886 main ()
24888 frexpf(0, 0);
24890 return 0;
24892 _ACEOF
24893 if ac_fn_cxx_try_compile "$LINENO"; then :
24894 glibcxx_cv_func_frexpf_use=yes
24895 else
24896 glibcxx_cv_func_frexpf_use=no
24898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24899 ac_ext=c
24900 ac_cpp='$CPP $CPPFLAGS'
24901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24910 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24912 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24913 for ac_func in frexpf
24914 do :
24915 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24916 if test "x$ac_cv_func_frexpf" = xyes; then :
24917 cat >>confdefs.h <<_ACEOF
24918 #define HAVE_FREXPF 1
24919 _ACEOF
24922 done
24924 else
24926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24927 $as_echo_n "checking for _frexpf declaration... " >&6; }
24928 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24929 if ${glibcxx_cv_func__frexpf_use+:} false; then :
24930 $as_echo_n "(cached) " >&6
24931 else
24934 ac_ext=cpp
24935 ac_cpp='$CXXCPP $CPPFLAGS'
24936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24941 /* end confdefs.h. */
24942 #include <math.h>
24944 main ()
24946 _frexpf(0, 0);
24948 return 0;
24950 _ACEOF
24951 if ac_fn_cxx_try_compile "$LINENO"; then :
24952 glibcxx_cv_func__frexpf_use=yes
24953 else
24954 glibcxx_cv_func__frexpf_use=no
24956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24957 ac_ext=c
24958 ac_cpp='$CPP $CPPFLAGS'
24959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24968 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24970 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24971 for ac_func in _frexpf
24972 do :
24973 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24974 if test "x$ac_cv_func__frexpf" = xyes; then :
24975 cat >>confdefs.h <<_ACEOF
24976 #define HAVE__FREXPF 1
24977 _ACEOF
24980 done
24989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24990 $as_echo_n "checking for hypotf declaration... " >&6; }
24991 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24992 if ${glibcxx_cv_func_hypotf_use+:} false; then :
24993 $as_echo_n "(cached) " >&6
24994 else
24997 ac_ext=cpp
24998 ac_cpp='$CXXCPP $CPPFLAGS'
24999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25004 /* end confdefs.h. */
25005 #include <math.h>
25007 main ()
25009 hypotf(0, 0);
25011 return 0;
25013 _ACEOF
25014 if ac_fn_cxx_try_compile "$LINENO"; then :
25015 glibcxx_cv_func_hypotf_use=yes
25016 else
25017 glibcxx_cv_func_hypotf_use=no
25019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25020 ac_ext=c
25021 ac_cpp='$CPP $CPPFLAGS'
25022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
25031 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
25033 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
25034 for ac_func in hypotf
25035 do :
25036 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
25037 if test "x$ac_cv_func_hypotf" = xyes; then :
25038 cat >>confdefs.h <<_ACEOF
25039 #define HAVE_HYPOTF 1
25040 _ACEOF
25043 done
25045 else
25047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
25048 $as_echo_n "checking for _hypotf declaration... " >&6; }
25049 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
25050 if ${glibcxx_cv_func__hypotf_use+:} false; then :
25051 $as_echo_n "(cached) " >&6
25052 else
25055 ac_ext=cpp
25056 ac_cpp='$CXXCPP $CPPFLAGS'
25057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25062 /* end confdefs.h. */
25063 #include <math.h>
25065 main ()
25067 _hypotf(0, 0);
25069 return 0;
25071 _ACEOF
25072 if ac_fn_cxx_try_compile "$LINENO"; then :
25073 glibcxx_cv_func__hypotf_use=yes
25074 else
25075 glibcxx_cv_func__hypotf_use=no
25077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25078 ac_ext=c
25079 ac_cpp='$CPP $CPPFLAGS'
25080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
25089 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
25091 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
25092 for ac_func in _hypotf
25093 do :
25094 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
25095 if test "x$ac_cv_func__hypotf" = xyes; then :
25096 cat >>confdefs.h <<_ACEOF
25097 #define HAVE__HYPOTF 1
25098 _ACEOF
25101 done
25110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
25111 $as_echo_n "checking for ldexpf declaration... " >&6; }
25112 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
25113 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
25114 $as_echo_n "(cached) " >&6
25115 else
25118 ac_ext=cpp
25119 ac_cpp='$CXXCPP $CPPFLAGS'
25120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25125 /* end confdefs.h. */
25126 #include <math.h>
25128 main ()
25130 ldexpf(0, 0);
25132 return 0;
25134 _ACEOF
25135 if ac_fn_cxx_try_compile "$LINENO"; then :
25136 glibcxx_cv_func_ldexpf_use=yes
25137 else
25138 glibcxx_cv_func_ldexpf_use=no
25140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25141 ac_ext=c
25142 ac_cpp='$CPP $CPPFLAGS'
25143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
25152 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
25154 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
25155 for ac_func in ldexpf
25156 do :
25157 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
25158 if test "x$ac_cv_func_ldexpf" = xyes; then :
25159 cat >>confdefs.h <<_ACEOF
25160 #define HAVE_LDEXPF 1
25161 _ACEOF
25164 done
25166 else
25168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
25169 $as_echo_n "checking for _ldexpf declaration... " >&6; }
25170 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
25171 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
25172 $as_echo_n "(cached) " >&6
25173 else
25176 ac_ext=cpp
25177 ac_cpp='$CXXCPP $CPPFLAGS'
25178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25183 /* end confdefs.h. */
25184 #include <math.h>
25186 main ()
25188 _ldexpf(0, 0);
25190 return 0;
25192 _ACEOF
25193 if ac_fn_cxx_try_compile "$LINENO"; then :
25194 glibcxx_cv_func__ldexpf_use=yes
25195 else
25196 glibcxx_cv_func__ldexpf_use=no
25198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25199 ac_ext=c
25200 ac_cpp='$CPP $CPPFLAGS'
25201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
25210 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
25212 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
25213 for ac_func in _ldexpf
25214 do :
25215 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
25216 if test "x$ac_cv_func__ldexpf" = xyes; then :
25217 cat >>confdefs.h <<_ACEOF
25218 #define HAVE__LDEXPF 1
25219 _ACEOF
25222 done
25231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
25232 $as_echo_n "checking for logf declaration... " >&6; }
25233 if test x${glibcxx_cv_func_logf_use+set} != xset; then
25234 if ${glibcxx_cv_func_logf_use+:} false; then :
25235 $as_echo_n "(cached) " >&6
25236 else
25239 ac_ext=cpp
25240 ac_cpp='$CXXCPP $CPPFLAGS'
25241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25246 /* end confdefs.h. */
25247 #include <math.h>
25248 #ifdef HAVE_IEEEFP_H
25249 #include <ieeefp.h>
25250 #endif
25253 main ()
25255 logf(0);
25257 return 0;
25259 _ACEOF
25260 if ac_fn_cxx_try_compile "$LINENO"; then :
25261 glibcxx_cv_func_logf_use=yes
25262 else
25263 glibcxx_cv_func_logf_use=no
25265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25266 ac_ext=c
25267 ac_cpp='$CPP $CPPFLAGS'
25268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
25277 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
25279 if test x$glibcxx_cv_func_logf_use = x"yes"; then
25280 for ac_func in logf
25281 do :
25282 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
25283 if test "x$ac_cv_func_logf" = xyes; then :
25284 cat >>confdefs.h <<_ACEOF
25285 #define HAVE_LOGF 1
25286 _ACEOF
25289 done
25291 else
25293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
25294 $as_echo_n "checking for _logf declaration... " >&6; }
25295 if test x${glibcxx_cv_func__logf_use+set} != xset; then
25296 if ${glibcxx_cv_func__logf_use+:} false; then :
25297 $as_echo_n "(cached) " >&6
25298 else
25301 ac_ext=cpp
25302 ac_cpp='$CXXCPP $CPPFLAGS'
25303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25308 /* end confdefs.h. */
25309 #include <math.h>
25310 #ifdef HAVE_IEEEFP_H
25311 #include <ieeefp.h>
25312 #endif
25315 main ()
25317 _logf(0);
25319 return 0;
25321 _ACEOF
25322 if ac_fn_cxx_try_compile "$LINENO"; then :
25323 glibcxx_cv_func__logf_use=yes
25324 else
25325 glibcxx_cv_func__logf_use=no
25327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25328 ac_ext=c
25329 ac_cpp='$CPP $CPPFLAGS'
25330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
25339 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
25341 if test x$glibcxx_cv_func__logf_use = x"yes"; then
25342 for ac_func in _logf
25343 do :
25344 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
25345 if test "x$ac_cv_func__logf" = xyes; then :
25346 cat >>confdefs.h <<_ACEOF
25347 #define HAVE__LOGF 1
25348 _ACEOF
25351 done
25360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
25361 $as_echo_n "checking for log10f declaration... " >&6; }
25362 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
25363 if ${glibcxx_cv_func_log10f_use+:} false; then :
25364 $as_echo_n "(cached) " >&6
25365 else
25368 ac_ext=cpp
25369 ac_cpp='$CXXCPP $CPPFLAGS'
25370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25375 /* end confdefs.h. */
25376 #include <math.h>
25377 #ifdef HAVE_IEEEFP_H
25378 #include <ieeefp.h>
25379 #endif
25382 main ()
25384 log10f(0);
25386 return 0;
25388 _ACEOF
25389 if ac_fn_cxx_try_compile "$LINENO"; then :
25390 glibcxx_cv_func_log10f_use=yes
25391 else
25392 glibcxx_cv_func_log10f_use=no
25394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25395 ac_ext=c
25396 ac_cpp='$CPP $CPPFLAGS'
25397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
25406 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
25408 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
25409 for ac_func in log10f
25410 do :
25411 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
25412 if test "x$ac_cv_func_log10f" = xyes; then :
25413 cat >>confdefs.h <<_ACEOF
25414 #define HAVE_LOG10F 1
25415 _ACEOF
25418 done
25420 else
25422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
25423 $as_echo_n "checking for _log10f declaration... " >&6; }
25424 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
25425 if ${glibcxx_cv_func__log10f_use+:} false; then :
25426 $as_echo_n "(cached) " >&6
25427 else
25430 ac_ext=cpp
25431 ac_cpp='$CXXCPP $CPPFLAGS'
25432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25437 /* end confdefs.h. */
25438 #include <math.h>
25439 #ifdef HAVE_IEEEFP_H
25440 #include <ieeefp.h>
25441 #endif
25444 main ()
25446 _log10f(0);
25448 return 0;
25450 _ACEOF
25451 if ac_fn_cxx_try_compile "$LINENO"; then :
25452 glibcxx_cv_func__log10f_use=yes
25453 else
25454 glibcxx_cv_func__log10f_use=no
25456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25457 ac_ext=c
25458 ac_cpp='$CPP $CPPFLAGS'
25459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
25468 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
25470 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
25471 for ac_func in _log10f
25472 do :
25473 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
25474 if test "x$ac_cv_func__log10f" = xyes; then :
25475 cat >>confdefs.h <<_ACEOF
25476 #define HAVE__LOG10F 1
25477 _ACEOF
25480 done
25489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
25490 $as_echo_n "checking for modff declaration... " >&6; }
25491 if test x${glibcxx_cv_func_modff_use+set} != xset; then
25492 if ${glibcxx_cv_func_modff_use+:} false; then :
25493 $as_echo_n "(cached) " >&6
25494 else
25497 ac_ext=cpp
25498 ac_cpp='$CXXCPP $CPPFLAGS'
25499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25504 /* end confdefs.h. */
25505 #include <math.h>
25507 main ()
25509 modff(0, 0);
25511 return 0;
25513 _ACEOF
25514 if ac_fn_cxx_try_compile "$LINENO"; then :
25515 glibcxx_cv_func_modff_use=yes
25516 else
25517 glibcxx_cv_func_modff_use=no
25519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25520 ac_ext=c
25521 ac_cpp='$CPP $CPPFLAGS'
25522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
25531 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
25533 if test x$glibcxx_cv_func_modff_use = x"yes"; then
25534 for ac_func in modff
25535 do :
25536 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
25537 if test "x$ac_cv_func_modff" = xyes; then :
25538 cat >>confdefs.h <<_ACEOF
25539 #define HAVE_MODFF 1
25540 _ACEOF
25543 done
25545 else
25547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
25548 $as_echo_n "checking for _modff declaration... " >&6; }
25549 if test x${glibcxx_cv_func__modff_use+set} != xset; then
25550 if ${glibcxx_cv_func__modff_use+:} false; then :
25551 $as_echo_n "(cached) " >&6
25552 else
25555 ac_ext=cpp
25556 ac_cpp='$CXXCPP $CPPFLAGS'
25557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25562 /* end confdefs.h. */
25563 #include <math.h>
25565 main ()
25567 _modff(0, 0);
25569 return 0;
25571 _ACEOF
25572 if ac_fn_cxx_try_compile "$LINENO"; then :
25573 glibcxx_cv_func__modff_use=yes
25574 else
25575 glibcxx_cv_func__modff_use=no
25577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25578 ac_ext=c
25579 ac_cpp='$CPP $CPPFLAGS'
25580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
25589 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
25591 if test x$glibcxx_cv_func__modff_use = x"yes"; then
25592 for ac_func in _modff
25593 do :
25594 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
25595 if test "x$ac_cv_func__modff" = xyes; then :
25596 cat >>confdefs.h <<_ACEOF
25597 #define HAVE__MODFF 1
25598 _ACEOF
25601 done
25610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
25611 $as_echo_n "checking for modf declaration... " >&6; }
25612 if test x${glibcxx_cv_func_modf_use+set} != xset; then
25613 if ${glibcxx_cv_func_modf_use+:} false; then :
25614 $as_echo_n "(cached) " >&6
25615 else
25618 ac_ext=cpp
25619 ac_cpp='$CXXCPP $CPPFLAGS'
25620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25625 /* end confdefs.h. */
25626 #include <math.h>
25628 main ()
25630 modf(0, 0);
25632 return 0;
25634 _ACEOF
25635 if ac_fn_cxx_try_compile "$LINENO"; then :
25636 glibcxx_cv_func_modf_use=yes
25637 else
25638 glibcxx_cv_func_modf_use=no
25640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25641 ac_ext=c
25642 ac_cpp='$CPP $CPPFLAGS'
25643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
25652 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
25654 if test x$glibcxx_cv_func_modf_use = x"yes"; then
25655 for ac_func in modf
25656 do :
25657 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
25658 if test "x$ac_cv_func_modf" = xyes; then :
25659 cat >>confdefs.h <<_ACEOF
25660 #define HAVE_MODF 1
25661 _ACEOF
25664 done
25666 else
25668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
25669 $as_echo_n "checking for _modf declaration... " >&6; }
25670 if test x${glibcxx_cv_func__modf_use+set} != xset; then
25671 if ${glibcxx_cv_func__modf_use+:} false; then :
25672 $as_echo_n "(cached) " >&6
25673 else
25676 ac_ext=cpp
25677 ac_cpp='$CXXCPP $CPPFLAGS'
25678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25683 /* end confdefs.h. */
25684 #include <math.h>
25686 main ()
25688 _modf(0, 0);
25690 return 0;
25692 _ACEOF
25693 if ac_fn_cxx_try_compile "$LINENO"; then :
25694 glibcxx_cv_func__modf_use=yes
25695 else
25696 glibcxx_cv_func__modf_use=no
25698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25699 ac_ext=c
25700 ac_cpp='$CPP $CPPFLAGS'
25701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
25710 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
25712 if test x$glibcxx_cv_func__modf_use = x"yes"; then
25713 for ac_func in _modf
25714 do :
25715 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
25716 if test "x$ac_cv_func__modf" = xyes; then :
25717 cat >>confdefs.h <<_ACEOF
25718 #define HAVE__MODF 1
25719 _ACEOF
25722 done
25731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
25732 $as_echo_n "checking for powf declaration... " >&6; }
25733 if test x${glibcxx_cv_func_powf_use+set} != xset; then
25734 if ${glibcxx_cv_func_powf_use+:} false; then :
25735 $as_echo_n "(cached) " >&6
25736 else
25739 ac_ext=cpp
25740 ac_cpp='$CXXCPP $CPPFLAGS'
25741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25746 /* end confdefs.h. */
25747 #include <math.h>
25749 main ()
25751 powf(0, 0);
25753 return 0;
25755 _ACEOF
25756 if ac_fn_cxx_try_compile "$LINENO"; then :
25757 glibcxx_cv_func_powf_use=yes
25758 else
25759 glibcxx_cv_func_powf_use=no
25761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25762 ac_ext=c
25763 ac_cpp='$CPP $CPPFLAGS'
25764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
25773 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
25775 if test x$glibcxx_cv_func_powf_use = x"yes"; then
25776 for ac_func in powf
25777 do :
25778 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
25779 if test "x$ac_cv_func_powf" = xyes; then :
25780 cat >>confdefs.h <<_ACEOF
25781 #define HAVE_POWF 1
25782 _ACEOF
25785 done
25787 else
25789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
25790 $as_echo_n "checking for _powf declaration... " >&6; }
25791 if test x${glibcxx_cv_func__powf_use+set} != xset; then
25792 if ${glibcxx_cv_func__powf_use+:} false; then :
25793 $as_echo_n "(cached) " >&6
25794 else
25797 ac_ext=cpp
25798 ac_cpp='$CXXCPP $CPPFLAGS'
25799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25804 /* end confdefs.h. */
25805 #include <math.h>
25807 main ()
25809 _powf(0, 0);
25811 return 0;
25813 _ACEOF
25814 if ac_fn_cxx_try_compile "$LINENO"; then :
25815 glibcxx_cv_func__powf_use=yes
25816 else
25817 glibcxx_cv_func__powf_use=no
25819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25820 ac_ext=c
25821 ac_cpp='$CPP $CPPFLAGS'
25822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
25831 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
25833 if test x$glibcxx_cv_func__powf_use = x"yes"; then
25834 for ac_func in _powf
25835 do :
25836 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
25837 if test "x$ac_cv_func__powf" = xyes; then :
25838 cat >>confdefs.h <<_ACEOF
25839 #define HAVE__POWF 1
25840 _ACEOF
25843 done
25852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
25853 $as_echo_n "checking for sqrtf declaration... " >&6; }
25854 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
25855 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
25856 $as_echo_n "(cached) " >&6
25857 else
25860 ac_ext=cpp
25861 ac_cpp='$CXXCPP $CPPFLAGS'
25862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25867 /* end confdefs.h. */
25868 #include <math.h>
25869 #ifdef HAVE_IEEEFP_H
25870 #include <ieeefp.h>
25871 #endif
25874 main ()
25876 sqrtf(0);
25878 return 0;
25880 _ACEOF
25881 if ac_fn_cxx_try_compile "$LINENO"; then :
25882 glibcxx_cv_func_sqrtf_use=yes
25883 else
25884 glibcxx_cv_func_sqrtf_use=no
25886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25887 ac_ext=c
25888 ac_cpp='$CPP $CPPFLAGS'
25889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25898 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25900 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25901 for ac_func in sqrtf
25902 do :
25903 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25904 if test "x$ac_cv_func_sqrtf" = xyes; then :
25905 cat >>confdefs.h <<_ACEOF
25906 #define HAVE_SQRTF 1
25907 _ACEOF
25910 done
25912 else
25914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25915 $as_echo_n "checking for _sqrtf declaration... " >&6; }
25916 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25917 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
25918 $as_echo_n "(cached) " >&6
25919 else
25922 ac_ext=cpp
25923 ac_cpp='$CXXCPP $CPPFLAGS'
25924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25929 /* end confdefs.h. */
25930 #include <math.h>
25931 #ifdef HAVE_IEEEFP_H
25932 #include <ieeefp.h>
25933 #endif
25936 main ()
25938 _sqrtf(0);
25940 return 0;
25942 _ACEOF
25943 if ac_fn_cxx_try_compile "$LINENO"; then :
25944 glibcxx_cv_func__sqrtf_use=yes
25945 else
25946 glibcxx_cv_func__sqrtf_use=no
25948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25949 ac_ext=c
25950 ac_cpp='$CPP $CPPFLAGS'
25951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25960 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25962 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25963 for ac_func in _sqrtf
25964 do :
25965 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25966 if test "x$ac_cv_func__sqrtf" = xyes; then :
25967 cat >>confdefs.h <<_ACEOF
25968 #define HAVE__SQRTF 1
25969 _ACEOF
25972 done
25981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25982 $as_echo_n "checking for sincosf declaration... " >&6; }
25983 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25984 if ${glibcxx_cv_func_sincosf_use+:} false; then :
25985 $as_echo_n "(cached) " >&6
25986 else
25989 ac_ext=cpp
25990 ac_cpp='$CXXCPP $CPPFLAGS'
25991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25996 /* end confdefs.h. */
25997 #include <math.h>
25999 main ()
26001 sincosf(0, 0, 0);
26003 return 0;
26005 _ACEOF
26006 if ac_fn_cxx_try_compile "$LINENO"; then :
26007 glibcxx_cv_func_sincosf_use=yes
26008 else
26009 glibcxx_cv_func_sincosf_use=no
26011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26012 ac_ext=c
26013 ac_cpp='$CPP $CPPFLAGS'
26014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
26023 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
26025 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
26026 for ac_func in sincosf
26027 do :
26028 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
26029 if test "x$ac_cv_func_sincosf" = xyes; then :
26030 cat >>confdefs.h <<_ACEOF
26031 #define HAVE_SINCOSF 1
26032 _ACEOF
26035 done
26037 else
26039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
26040 $as_echo_n "checking for _sincosf declaration... " >&6; }
26041 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
26042 if ${glibcxx_cv_func__sincosf_use+:} false; then :
26043 $as_echo_n "(cached) " >&6
26044 else
26047 ac_ext=cpp
26048 ac_cpp='$CXXCPP $CPPFLAGS'
26049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26054 /* end confdefs.h. */
26055 #include <math.h>
26057 main ()
26059 _sincosf(0, 0, 0);
26061 return 0;
26063 _ACEOF
26064 if ac_fn_cxx_try_compile "$LINENO"; then :
26065 glibcxx_cv_func__sincosf_use=yes
26066 else
26067 glibcxx_cv_func__sincosf_use=no
26069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26070 ac_ext=c
26071 ac_cpp='$CPP $CPPFLAGS'
26072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
26081 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
26083 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
26084 for ac_func in _sincosf
26085 do :
26086 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
26087 if test "x$ac_cv_func__sincosf" = xyes; then :
26088 cat >>confdefs.h <<_ACEOF
26089 #define HAVE__SINCOSF 1
26090 _ACEOF
26093 done
26102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
26103 $as_echo_n "checking for finitef declaration... " >&6; }
26104 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
26105 if ${glibcxx_cv_func_finitef_use+:} false; then :
26106 $as_echo_n "(cached) " >&6
26107 else
26110 ac_ext=cpp
26111 ac_cpp='$CXXCPP $CPPFLAGS'
26112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26117 /* end confdefs.h. */
26118 #include <math.h>
26119 #ifdef HAVE_IEEEFP_H
26120 #include <ieeefp.h>
26121 #endif
26124 main ()
26126 finitef(0);
26128 return 0;
26130 _ACEOF
26131 if ac_fn_cxx_try_compile "$LINENO"; then :
26132 glibcxx_cv_func_finitef_use=yes
26133 else
26134 glibcxx_cv_func_finitef_use=no
26136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26137 ac_ext=c
26138 ac_cpp='$CPP $CPPFLAGS'
26139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
26148 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
26150 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
26151 for ac_func in finitef
26152 do :
26153 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
26154 if test "x$ac_cv_func_finitef" = xyes; then :
26155 cat >>confdefs.h <<_ACEOF
26156 #define HAVE_FINITEF 1
26157 _ACEOF
26160 done
26162 else
26164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
26165 $as_echo_n "checking for _finitef declaration... " >&6; }
26166 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
26167 if ${glibcxx_cv_func__finitef_use+:} false; then :
26168 $as_echo_n "(cached) " >&6
26169 else
26172 ac_ext=cpp
26173 ac_cpp='$CXXCPP $CPPFLAGS'
26174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26179 /* end confdefs.h. */
26180 #include <math.h>
26181 #ifdef HAVE_IEEEFP_H
26182 #include <ieeefp.h>
26183 #endif
26186 main ()
26188 _finitef(0);
26190 return 0;
26192 _ACEOF
26193 if ac_fn_cxx_try_compile "$LINENO"; then :
26194 glibcxx_cv_func__finitef_use=yes
26195 else
26196 glibcxx_cv_func__finitef_use=no
26198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26199 ac_ext=c
26200 ac_cpp='$CPP $CPPFLAGS'
26201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
26210 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
26212 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
26213 for ac_func in _finitef
26214 do :
26215 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
26216 if test "x$ac_cv_func__finitef" = xyes; then :
26217 cat >>confdefs.h <<_ACEOF
26218 #define HAVE__FINITEF 1
26219 _ACEOF
26222 done
26231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
26232 $as_echo_n "checking for long double trig functions... " >&6; }
26233 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
26234 $as_echo_n "(cached) " >&6
26235 else
26238 ac_ext=cpp
26239 ac_cpp='$CXXCPP $CPPFLAGS'
26240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26245 /* end confdefs.h. */
26246 #include <math.h>
26248 main ()
26250 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
26252 return 0;
26254 _ACEOF
26255 if ac_fn_cxx_try_compile "$LINENO"; then :
26256 glibcxx_cv_func_long_double_trig_use=yes
26257 else
26258 glibcxx_cv_func_long_double_trig_use=no
26260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26261 ac_ext=c
26262 ac_cpp='$CPP $CPPFLAGS'
26263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
26270 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
26271 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
26272 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
26273 do :
26274 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26275 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26276 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26277 cat >>confdefs.h <<_ACEOF
26278 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26279 _ACEOF
26282 done
26284 else
26285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
26286 $as_echo_n "checking for _long double trig functions... " >&6; }
26287 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
26288 $as_echo_n "(cached) " >&6
26289 else
26292 ac_ext=cpp
26293 ac_cpp='$CXXCPP $CPPFLAGS'
26294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26299 /* end confdefs.h. */
26300 #include <math.h>
26302 main ()
26304 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
26306 return 0;
26308 _ACEOF
26309 if ac_fn_cxx_try_compile "$LINENO"; then :
26310 glibcxx_cv_func__long_double_trig_use=yes
26311 else
26312 glibcxx_cv_func__long_double_trig_use=no
26314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26315 ac_ext=c
26316 ac_cpp='$CPP $CPPFLAGS'
26317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
26324 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
26325 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
26326 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
26327 do :
26328 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26329 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26330 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26331 cat >>confdefs.h <<_ACEOF
26332 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26333 _ACEOF
26336 done
26345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
26346 $as_echo_n "checking for long double round functions... " >&6; }
26347 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
26348 $as_echo_n "(cached) " >&6
26349 else
26352 ac_ext=cpp
26353 ac_cpp='$CXXCPP $CPPFLAGS'
26354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26359 /* end confdefs.h. */
26360 #include <math.h>
26362 main ()
26364 ceill (0); floorl (0);
26366 return 0;
26368 _ACEOF
26369 if ac_fn_cxx_try_compile "$LINENO"; then :
26370 glibcxx_cv_func_long_double_round_use=yes
26371 else
26372 glibcxx_cv_func_long_double_round_use=no
26374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26375 ac_ext=c
26376 ac_cpp='$CPP $CPPFLAGS'
26377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
26384 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
26385 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
26386 for ac_func in ceill floorl
26387 do :
26388 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26389 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26390 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26391 cat >>confdefs.h <<_ACEOF
26392 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26393 _ACEOF
26396 done
26398 else
26399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
26400 $as_echo_n "checking for _long double round functions... " >&6; }
26401 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
26402 $as_echo_n "(cached) " >&6
26403 else
26406 ac_ext=cpp
26407 ac_cpp='$CXXCPP $CPPFLAGS'
26408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26413 /* end confdefs.h. */
26414 #include <math.h>
26416 main ()
26418 _ceill (0); _floorl (0);
26420 return 0;
26422 _ACEOF
26423 if ac_fn_cxx_try_compile "$LINENO"; then :
26424 glibcxx_cv_func__long_double_round_use=yes
26425 else
26426 glibcxx_cv_func__long_double_round_use=no
26428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26429 ac_ext=c
26430 ac_cpp='$CPP $CPPFLAGS'
26431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
26438 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
26439 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
26440 for ac_func in _ceill _floorl
26441 do :
26442 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26443 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26444 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26445 cat >>confdefs.h <<_ACEOF
26446 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26447 _ACEOF
26450 done
26460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
26461 $as_echo_n "checking for isnanl declaration... " >&6; }
26462 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
26463 if ${glibcxx_cv_func_isnanl_use+:} false; then :
26464 $as_echo_n "(cached) " >&6
26465 else
26468 ac_ext=cpp
26469 ac_cpp='$CXXCPP $CPPFLAGS'
26470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26475 /* end confdefs.h. */
26476 #include <math.h>
26477 #ifdef HAVE_IEEEFP_H
26478 #include <ieeefp.h>
26479 #endif
26482 main ()
26484 isnanl(0);
26486 return 0;
26488 _ACEOF
26489 if ac_fn_cxx_try_compile "$LINENO"; then :
26490 glibcxx_cv_func_isnanl_use=yes
26491 else
26492 glibcxx_cv_func_isnanl_use=no
26494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26495 ac_ext=c
26496 ac_cpp='$CPP $CPPFLAGS'
26497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
26506 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
26508 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
26509 for ac_func in isnanl
26510 do :
26511 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
26512 if test "x$ac_cv_func_isnanl" = xyes; then :
26513 cat >>confdefs.h <<_ACEOF
26514 #define HAVE_ISNANL 1
26515 _ACEOF
26518 done
26520 else
26522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
26523 $as_echo_n "checking for _isnanl declaration... " >&6; }
26524 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
26525 if ${glibcxx_cv_func__isnanl_use+:} false; then :
26526 $as_echo_n "(cached) " >&6
26527 else
26530 ac_ext=cpp
26531 ac_cpp='$CXXCPP $CPPFLAGS'
26532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26537 /* end confdefs.h. */
26538 #include <math.h>
26539 #ifdef HAVE_IEEEFP_H
26540 #include <ieeefp.h>
26541 #endif
26544 main ()
26546 _isnanl(0);
26548 return 0;
26550 _ACEOF
26551 if ac_fn_cxx_try_compile "$LINENO"; then :
26552 glibcxx_cv_func__isnanl_use=yes
26553 else
26554 glibcxx_cv_func__isnanl_use=no
26556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26557 ac_ext=c
26558 ac_cpp='$CPP $CPPFLAGS'
26559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
26568 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
26570 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
26571 for ac_func in _isnanl
26572 do :
26573 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
26574 if test "x$ac_cv_func__isnanl" = xyes; then :
26575 cat >>confdefs.h <<_ACEOF
26576 #define HAVE__ISNANL 1
26577 _ACEOF
26580 done
26589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
26590 $as_echo_n "checking for isinfl declaration... " >&6; }
26591 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
26592 if ${glibcxx_cv_func_isinfl_use+:} false; then :
26593 $as_echo_n "(cached) " >&6
26594 else
26597 ac_ext=cpp
26598 ac_cpp='$CXXCPP $CPPFLAGS'
26599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26604 /* end confdefs.h. */
26605 #include <math.h>
26606 #ifdef HAVE_IEEEFP_H
26607 #include <ieeefp.h>
26608 #endif
26611 main ()
26613 isinfl(0);
26615 return 0;
26617 _ACEOF
26618 if ac_fn_cxx_try_compile "$LINENO"; then :
26619 glibcxx_cv_func_isinfl_use=yes
26620 else
26621 glibcxx_cv_func_isinfl_use=no
26623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26624 ac_ext=c
26625 ac_cpp='$CPP $CPPFLAGS'
26626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
26635 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
26637 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
26638 for ac_func in isinfl
26639 do :
26640 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
26641 if test "x$ac_cv_func_isinfl" = xyes; then :
26642 cat >>confdefs.h <<_ACEOF
26643 #define HAVE_ISINFL 1
26644 _ACEOF
26647 done
26649 else
26651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
26652 $as_echo_n "checking for _isinfl declaration... " >&6; }
26653 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
26654 if ${glibcxx_cv_func__isinfl_use+:} false; then :
26655 $as_echo_n "(cached) " >&6
26656 else
26659 ac_ext=cpp
26660 ac_cpp='$CXXCPP $CPPFLAGS'
26661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26666 /* end confdefs.h. */
26667 #include <math.h>
26668 #ifdef HAVE_IEEEFP_H
26669 #include <ieeefp.h>
26670 #endif
26673 main ()
26675 _isinfl(0);
26677 return 0;
26679 _ACEOF
26680 if ac_fn_cxx_try_compile "$LINENO"; then :
26681 glibcxx_cv_func__isinfl_use=yes
26682 else
26683 glibcxx_cv_func__isinfl_use=no
26685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26686 ac_ext=c
26687 ac_cpp='$CPP $CPPFLAGS'
26688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
26697 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
26699 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
26700 for ac_func in _isinfl
26701 do :
26702 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
26703 if test "x$ac_cv_func__isinfl" = xyes; then :
26704 cat >>confdefs.h <<_ACEOF
26705 #define HAVE__ISINFL 1
26706 _ACEOF
26709 done
26718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
26719 $as_echo_n "checking for atan2l declaration... " >&6; }
26720 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
26721 if ${glibcxx_cv_func_atan2l_use+:} false; then :
26722 $as_echo_n "(cached) " >&6
26723 else
26726 ac_ext=cpp
26727 ac_cpp='$CXXCPP $CPPFLAGS'
26728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26733 /* end confdefs.h. */
26734 #include <math.h>
26736 main ()
26738 atan2l(0, 0);
26740 return 0;
26742 _ACEOF
26743 if ac_fn_cxx_try_compile "$LINENO"; then :
26744 glibcxx_cv_func_atan2l_use=yes
26745 else
26746 glibcxx_cv_func_atan2l_use=no
26748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26749 ac_ext=c
26750 ac_cpp='$CPP $CPPFLAGS'
26751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
26760 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
26762 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
26763 for ac_func in atan2l
26764 do :
26765 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
26766 if test "x$ac_cv_func_atan2l" = xyes; then :
26767 cat >>confdefs.h <<_ACEOF
26768 #define HAVE_ATAN2L 1
26769 _ACEOF
26772 done
26774 else
26776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
26777 $as_echo_n "checking for _atan2l declaration... " >&6; }
26778 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
26779 if ${glibcxx_cv_func__atan2l_use+:} false; then :
26780 $as_echo_n "(cached) " >&6
26781 else
26784 ac_ext=cpp
26785 ac_cpp='$CXXCPP $CPPFLAGS'
26786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26791 /* end confdefs.h. */
26792 #include <math.h>
26794 main ()
26796 _atan2l(0, 0);
26798 return 0;
26800 _ACEOF
26801 if ac_fn_cxx_try_compile "$LINENO"; then :
26802 glibcxx_cv_func__atan2l_use=yes
26803 else
26804 glibcxx_cv_func__atan2l_use=no
26806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26807 ac_ext=c
26808 ac_cpp='$CPP $CPPFLAGS'
26809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
26818 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
26820 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
26821 for ac_func in _atan2l
26822 do :
26823 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
26824 if test "x$ac_cv_func__atan2l" = xyes; then :
26825 cat >>confdefs.h <<_ACEOF
26826 #define HAVE__ATAN2L 1
26827 _ACEOF
26830 done
26839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
26840 $as_echo_n "checking for expl declaration... " >&6; }
26841 if test x${glibcxx_cv_func_expl_use+set} != xset; then
26842 if ${glibcxx_cv_func_expl_use+:} false; then :
26843 $as_echo_n "(cached) " >&6
26844 else
26847 ac_ext=cpp
26848 ac_cpp='$CXXCPP $CPPFLAGS'
26849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26854 /* end confdefs.h. */
26855 #include <math.h>
26856 #ifdef HAVE_IEEEFP_H
26857 #include <ieeefp.h>
26858 #endif
26861 main ()
26863 expl(0);
26865 return 0;
26867 _ACEOF
26868 if ac_fn_cxx_try_compile "$LINENO"; then :
26869 glibcxx_cv_func_expl_use=yes
26870 else
26871 glibcxx_cv_func_expl_use=no
26873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26874 ac_ext=c
26875 ac_cpp='$CPP $CPPFLAGS'
26876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26885 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26887 if test x$glibcxx_cv_func_expl_use = x"yes"; then
26888 for ac_func in expl
26889 do :
26890 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26891 if test "x$ac_cv_func_expl" = xyes; then :
26892 cat >>confdefs.h <<_ACEOF
26893 #define HAVE_EXPL 1
26894 _ACEOF
26897 done
26899 else
26901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26902 $as_echo_n "checking for _expl declaration... " >&6; }
26903 if test x${glibcxx_cv_func__expl_use+set} != xset; then
26904 if ${glibcxx_cv_func__expl_use+:} false; then :
26905 $as_echo_n "(cached) " >&6
26906 else
26909 ac_ext=cpp
26910 ac_cpp='$CXXCPP $CPPFLAGS'
26911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26916 /* end confdefs.h. */
26917 #include <math.h>
26918 #ifdef HAVE_IEEEFP_H
26919 #include <ieeefp.h>
26920 #endif
26923 main ()
26925 _expl(0);
26927 return 0;
26929 _ACEOF
26930 if ac_fn_cxx_try_compile "$LINENO"; then :
26931 glibcxx_cv_func__expl_use=yes
26932 else
26933 glibcxx_cv_func__expl_use=no
26935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26936 ac_ext=c
26937 ac_cpp='$CPP $CPPFLAGS'
26938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26947 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26949 if test x$glibcxx_cv_func__expl_use = x"yes"; then
26950 for ac_func in _expl
26951 do :
26952 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26953 if test "x$ac_cv_func__expl" = xyes; then :
26954 cat >>confdefs.h <<_ACEOF
26955 #define HAVE__EXPL 1
26956 _ACEOF
26959 done
26968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26969 $as_echo_n "checking for fabsl declaration... " >&6; }
26970 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26971 if ${glibcxx_cv_func_fabsl_use+:} false; then :
26972 $as_echo_n "(cached) " >&6
26973 else
26976 ac_ext=cpp
26977 ac_cpp='$CXXCPP $CPPFLAGS'
26978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26983 /* end confdefs.h. */
26984 #include <math.h>
26985 #ifdef HAVE_IEEEFP_H
26986 #include <ieeefp.h>
26987 #endif
26990 main ()
26992 fabsl(0);
26994 return 0;
26996 _ACEOF
26997 if ac_fn_cxx_try_compile "$LINENO"; then :
26998 glibcxx_cv_func_fabsl_use=yes
26999 else
27000 glibcxx_cv_func_fabsl_use=no
27002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27003 ac_ext=c
27004 ac_cpp='$CPP $CPPFLAGS'
27005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
27014 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
27016 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
27017 for ac_func in fabsl
27018 do :
27019 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
27020 if test "x$ac_cv_func_fabsl" = xyes; then :
27021 cat >>confdefs.h <<_ACEOF
27022 #define HAVE_FABSL 1
27023 _ACEOF
27026 done
27028 else
27030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
27031 $as_echo_n "checking for _fabsl declaration... " >&6; }
27032 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
27033 if ${glibcxx_cv_func__fabsl_use+:} false; then :
27034 $as_echo_n "(cached) " >&6
27035 else
27038 ac_ext=cpp
27039 ac_cpp='$CXXCPP $CPPFLAGS'
27040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27045 /* end confdefs.h. */
27046 #include <math.h>
27047 #ifdef HAVE_IEEEFP_H
27048 #include <ieeefp.h>
27049 #endif
27052 main ()
27054 _fabsl(0);
27056 return 0;
27058 _ACEOF
27059 if ac_fn_cxx_try_compile "$LINENO"; then :
27060 glibcxx_cv_func__fabsl_use=yes
27061 else
27062 glibcxx_cv_func__fabsl_use=no
27064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27065 ac_ext=c
27066 ac_cpp='$CPP $CPPFLAGS'
27067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
27076 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
27078 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
27079 for ac_func in _fabsl
27080 do :
27081 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
27082 if test "x$ac_cv_func__fabsl" = xyes; then :
27083 cat >>confdefs.h <<_ACEOF
27084 #define HAVE__FABSL 1
27085 _ACEOF
27088 done
27097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
27098 $as_echo_n "checking for fmodl declaration... " >&6; }
27099 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
27100 if ${glibcxx_cv_func_fmodl_use+:} false; then :
27101 $as_echo_n "(cached) " >&6
27102 else
27105 ac_ext=cpp
27106 ac_cpp='$CXXCPP $CPPFLAGS'
27107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27112 /* end confdefs.h. */
27113 #include <math.h>
27115 main ()
27117 fmodl(0, 0);
27119 return 0;
27121 _ACEOF
27122 if ac_fn_cxx_try_compile "$LINENO"; then :
27123 glibcxx_cv_func_fmodl_use=yes
27124 else
27125 glibcxx_cv_func_fmodl_use=no
27127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27128 ac_ext=c
27129 ac_cpp='$CPP $CPPFLAGS'
27130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
27139 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
27141 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
27142 for ac_func in fmodl
27143 do :
27144 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
27145 if test "x$ac_cv_func_fmodl" = xyes; then :
27146 cat >>confdefs.h <<_ACEOF
27147 #define HAVE_FMODL 1
27148 _ACEOF
27151 done
27153 else
27155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
27156 $as_echo_n "checking for _fmodl declaration... " >&6; }
27157 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
27158 if ${glibcxx_cv_func__fmodl_use+:} false; then :
27159 $as_echo_n "(cached) " >&6
27160 else
27163 ac_ext=cpp
27164 ac_cpp='$CXXCPP $CPPFLAGS'
27165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27170 /* end confdefs.h. */
27171 #include <math.h>
27173 main ()
27175 _fmodl(0, 0);
27177 return 0;
27179 _ACEOF
27180 if ac_fn_cxx_try_compile "$LINENO"; then :
27181 glibcxx_cv_func__fmodl_use=yes
27182 else
27183 glibcxx_cv_func__fmodl_use=no
27185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27186 ac_ext=c
27187 ac_cpp='$CPP $CPPFLAGS'
27188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
27197 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
27199 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
27200 for ac_func in _fmodl
27201 do :
27202 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
27203 if test "x$ac_cv_func__fmodl" = xyes; then :
27204 cat >>confdefs.h <<_ACEOF
27205 #define HAVE__FMODL 1
27206 _ACEOF
27209 done
27218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
27219 $as_echo_n "checking for frexpl declaration... " >&6; }
27220 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
27221 if ${glibcxx_cv_func_frexpl_use+:} false; then :
27222 $as_echo_n "(cached) " >&6
27223 else
27226 ac_ext=cpp
27227 ac_cpp='$CXXCPP $CPPFLAGS'
27228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27233 /* end confdefs.h. */
27234 #include <math.h>
27236 main ()
27238 frexpl(0, 0);
27240 return 0;
27242 _ACEOF
27243 if ac_fn_cxx_try_compile "$LINENO"; then :
27244 glibcxx_cv_func_frexpl_use=yes
27245 else
27246 glibcxx_cv_func_frexpl_use=no
27248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27249 ac_ext=c
27250 ac_cpp='$CPP $CPPFLAGS'
27251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
27260 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
27262 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
27263 for ac_func in frexpl
27264 do :
27265 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
27266 if test "x$ac_cv_func_frexpl" = xyes; then :
27267 cat >>confdefs.h <<_ACEOF
27268 #define HAVE_FREXPL 1
27269 _ACEOF
27272 done
27274 else
27276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
27277 $as_echo_n "checking for _frexpl declaration... " >&6; }
27278 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
27279 if ${glibcxx_cv_func__frexpl_use+:} false; then :
27280 $as_echo_n "(cached) " >&6
27281 else
27284 ac_ext=cpp
27285 ac_cpp='$CXXCPP $CPPFLAGS'
27286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27291 /* end confdefs.h. */
27292 #include <math.h>
27294 main ()
27296 _frexpl(0, 0);
27298 return 0;
27300 _ACEOF
27301 if ac_fn_cxx_try_compile "$LINENO"; then :
27302 glibcxx_cv_func__frexpl_use=yes
27303 else
27304 glibcxx_cv_func__frexpl_use=no
27306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27307 ac_ext=c
27308 ac_cpp='$CPP $CPPFLAGS'
27309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
27318 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
27320 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
27321 for ac_func in _frexpl
27322 do :
27323 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
27324 if test "x$ac_cv_func__frexpl" = xyes; then :
27325 cat >>confdefs.h <<_ACEOF
27326 #define HAVE__FREXPL 1
27327 _ACEOF
27330 done
27339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
27340 $as_echo_n "checking for hypotl declaration... " >&6; }
27341 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
27342 if ${glibcxx_cv_func_hypotl_use+:} false; then :
27343 $as_echo_n "(cached) " >&6
27344 else
27347 ac_ext=cpp
27348 ac_cpp='$CXXCPP $CPPFLAGS'
27349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27354 /* end confdefs.h. */
27355 #include <math.h>
27357 main ()
27359 hypotl(0, 0);
27361 return 0;
27363 _ACEOF
27364 if ac_fn_cxx_try_compile "$LINENO"; then :
27365 glibcxx_cv_func_hypotl_use=yes
27366 else
27367 glibcxx_cv_func_hypotl_use=no
27369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27370 ac_ext=c
27371 ac_cpp='$CPP $CPPFLAGS'
27372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
27381 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
27383 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
27384 for ac_func in hypotl
27385 do :
27386 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
27387 if test "x$ac_cv_func_hypotl" = xyes; then :
27388 cat >>confdefs.h <<_ACEOF
27389 #define HAVE_HYPOTL 1
27390 _ACEOF
27393 done
27395 else
27397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
27398 $as_echo_n "checking for _hypotl declaration... " >&6; }
27399 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
27400 if ${glibcxx_cv_func__hypotl_use+:} false; then :
27401 $as_echo_n "(cached) " >&6
27402 else
27405 ac_ext=cpp
27406 ac_cpp='$CXXCPP $CPPFLAGS'
27407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27412 /* end confdefs.h. */
27413 #include <math.h>
27415 main ()
27417 _hypotl(0, 0);
27419 return 0;
27421 _ACEOF
27422 if ac_fn_cxx_try_compile "$LINENO"; then :
27423 glibcxx_cv_func__hypotl_use=yes
27424 else
27425 glibcxx_cv_func__hypotl_use=no
27427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27428 ac_ext=c
27429 ac_cpp='$CPP $CPPFLAGS'
27430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
27439 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
27441 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
27442 for ac_func in _hypotl
27443 do :
27444 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
27445 if test "x$ac_cv_func__hypotl" = xyes; then :
27446 cat >>confdefs.h <<_ACEOF
27447 #define HAVE__HYPOTL 1
27448 _ACEOF
27451 done
27460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
27461 $as_echo_n "checking for ldexpl declaration... " >&6; }
27462 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
27463 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
27464 $as_echo_n "(cached) " >&6
27465 else
27468 ac_ext=cpp
27469 ac_cpp='$CXXCPP $CPPFLAGS'
27470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27475 /* end confdefs.h. */
27476 #include <math.h>
27478 main ()
27480 ldexpl(0, 0);
27482 return 0;
27484 _ACEOF
27485 if ac_fn_cxx_try_compile "$LINENO"; then :
27486 glibcxx_cv_func_ldexpl_use=yes
27487 else
27488 glibcxx_cv_func_ldexpl_use=no
27490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27491 ac_ext=c
27492 ac_cpp='$CPP $CPPFLAGS'
27493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
27502 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
27504 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
27505 for ac_func in ldexpl
27506 do :
27507 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
27508 if test "x$ac_cv_func_ldexpl" = xyes; then :
27509 cat >>confdefs.h <<_ACEOF
27510 #define HAVE_LDEXPL 1
27511 _ACEOF
27514 done
27516 else
27518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
27519 $as_echo_n "checking for _ldexpl declaration... " >&6; }
27520 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
27521 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
27522 $as_echo_n "(cached) " >&6
27523 else
27526 ac_ext=cpp
27527 ac_cpp='$CXXCPP $CPPFLAGS'
27528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27533 /* end confdefs.h. */
27534 #include <math.h>
27536 main ()
27538 _ldexpl(0, 0);
27540 return 0;
27542 _ACEOF
27543 if ac_fn_cxx_try_compile "$LINENO"; then :
27544 glibcxx_cv_func__ldexpl_use=yes
27545 else
27546 glibcxx_cv_func__ldexpl_use=no
27548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27549 ac_ext=c
27550 ac_cpp='$CPP $CPPFLAGS'
27551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
27560 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
27562 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
27563 for ac_func in _ldexpl
27564 do :
27565 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
27566 if test "x$ac_cv_func__ldexpl" = xyes; then :
27567 cat >>confdefs.h <<_ACEOF
27568 #define HAVE__LDEXPL 1
27569 _ACEOF
27572 done
27581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
27582 $as_echo_n "checking for logl declaration... " >&6; }
27583 if test x${glibcxx_cv_func_logl_use+set} != xset; then
27584 if ${glibcxx_cv_func_logl_use+:} false; then :
27585 $as_echo_n "(cached) " >&6
27586 else
27589 ac_ext=cpp
27590 ac_cpp='$CXXCPP $CPPFLAGS'
27591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27596 /* end confdefs.h. */
27597 #include <math.h>
27598 #ifdef HAVE_IEEEFP_H
27599 #include <ieeefp.h>
27600 #endif
27603 main ()
27605 logl(0);
27607 return 0;
27609 _ACEOF
27610 if ac_fn_cxx_try_compile "$LINENO"; then :
27611 glibcxx_cv_func_logl_use=yes
27612 else
27613 glibcxx_cv_func_logl_use=no
27615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27616 ac_ext=c
27617 ac_cpp='$CPP $CPPFLAGS'
27618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
27627 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
27629 if test x$glibcxx_cv_func_logl_use = x"yes"; then
27630 for ac_func in logl
27631 do :
27632 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
27633 if test "x$ac_cv_func_logl" = xyes; then :
27634 cat >>confdefs.h <<_ACEOF
27635 #define HAVE_LOGL 1
27636 _ACEOF
27639 done
27641 else
27643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
27644 $as_echo_n "checking for _logl declaration... " >&6; }
27645 if test x${glibcxx_cv_func__logl_use+set} != xset; then
27646 if ${glibcxx_cv_func__logl_use+:} false; then :
27647 $as_echo_n "(cached) " >&6
27648 else
27651 ac_ext=cpp
27652 ac_cpp='$CXXCPP $CPPFLAGS'
27653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27658 /* end confdefs.h. */
27659 #include <math.h>
27660 #ifdef HAVE_IEEEFP_H
27661 #include <ieeefp.h>
27662 #endif
27665 main ()
27667 _logl(0);
27669 return 0;
27671 _ACEOF
27672 if ac_fn_cxx_try_compile "$LINENO"; then :
27673 glibcxx_cv_func__logl_use=yes
27674 else
27675 glibcxx_cv_func__logl_use=no
27677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27678 ac_ext=c
27679 ac_cpp='$CPP $CPPFLAGS'
27680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
27689 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
27691 if test x$glibcxx_cv_func__logl_use = x"yes"; then
27692 for ac_func in _logl
27693 do :
27694 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
27695 if test "x$ac_cv_func__logl" = xyes; then :
27696 cat >>confdefs.h <<_ACEOF
27697 #define HAVE__LOGL 1
27698 _ACEOF
27701 done
27710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
27711 $as_echo_n "checking for log10l declaration... " >&6; }
27712 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
27713 if ${glibcxx_cv_func_log10l_use+:} false; then :
27714 $as_echo_n "(cached) " >&6
27715 else
27718 ac_ext=cpp
27719 ac_cpp='$CXXCPP $CPPFLAGS'
27720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27725 /* end confdefs.h. */
27726 #include <math.h>
27727 #ifdef HAVE_IEEEFP_H
27728 #include <ieeefp.h>
27729 #endif
27732 main ()
27734 log10l(0);
27736 return 0;
27738 _ACEOF
27739 if ac_fn_cxx_try_compile "$LINENO"; then :
27740 glibcxx_cv_func_log10l_use=yes
27741 else
27742 glibcxx_cv_func_log10l_use=no
27744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27745 ac_ext=c
27746 ac_cpp='$CPP $CPPFLAGS'
27747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
27756 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
27758 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
27759 for ac_func in log10l
27760 do :
27761 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
27762 if test "x$ac_cv_func_log10l" = xyes; then :
27763 cat >>confdefs.h <<_ACEOF
27764 #define HAVE_LOG10L 1
27765 _ACEOF
27768 done
27770 else
27772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
27773 $as_echo_n "checking for _log10l declaration... " >&6; }
27774 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
27775 if ${glibcxx_cv_func__log10l_use+:} false; then :
27776 $as_echo_n "(cached) " >&6
27777 else
27780 ac_ext=cpp
27781 ac_cpp='$CXXCPP $CPPFLAGS'
27782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27787 /* end confdefs.h. */
27788 #include <math.h>
27789 #ifdef HAVE_IEEEFP_H
27790 #include <ieeefp.h>
27791 #endif
27794 main ()
27796 _log10l(0);
27798 return 0;
27800 _ACEOF
27801 if ac_fn_cxx_try_compile "$LINENO"; then :
27802 glibcxx_cv_func__log10l_use=yes
27803 else
27804 glibcxx_cv_func__log10l_use=no
27806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27807 ac_ext=c
27808 ac_cpp='$CPP $CPPFLAGS'
27809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
27818 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
27820 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
27821 for ac_func in _log10l
27822 do :
27823 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
27824 if test "x$ac_cv_func__log10l" = xyes; then :
27825 cat >>confdefs.h <<_ACEOF
27826 #define HAVE__LOG10L 1
27827 _ACEOF
27830 done
27839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
27840 $as_echo_n "checking for modfl declaration... " >&6; }
27841 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
27842 if ${glibcxx_cv_func_modfl_use+:} false; then :
27843 $as_echo_n "(cached) " >&6
27844 else
27847 ac_ext=cpp
27848 ac_cpp='$CXXCPP $CPPFLAGS'
27849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27854 /* end confdefs.h. */
27855 #include <math.h>
27857 main ()
27859 modfl(0, 0);
27861 return 0;
27863 _ACEOF
27864 if ac_fn_cxx_try_compile "$LINENO"; then :
27865 glibcxx_cv_func_modfl_use=yes
27866 else
27867 glibcxx_cv_func_modfl_use=no
27869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27870 ac_ext=c
27871 ac_cpp='$CPP $CPPFLAGS'
27872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27881 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27883 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27884 for ac_func in modfl
27885 do :
27886 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27887 if test "x$ac_cv_func_modfl" = xyes; then :
27888 cat >>confdefs.h <<_ACEOF
27889 #define HAVE_MODFL 1
27890 _ACEOF
27893 done
27895 else
27897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27898 $as_echo_n "checking for _modfl declaration... " >&6; }
27899 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27900 if ${glibcxx_cv_func__modfl_use+:} false; then :
27901 $as_echo_n "(cached) " >&6
27902 else
27905 ac_ext=cpp
27906 ac_cpp='$CXXCPP $CPPFLAGS'
27907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27912 /* end confdefs.h. */
27913 #include <math.h>
27915 main ()
27917 _modfl(0, 0);
27919 return 0;
27921 _ACEOF
27922 if ac_fn_cxx_try_compile "$LINENO"; then :
27923 glibcxx_cv_func__modfl_use=yes
27924 else
27925 glibcxx_cv_func__modfl_use=no
27927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27928 ac_ext=c
27929 ac_cpp='$CPP $CPPFLAGS'
27930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27939 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27941 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27942 for ac_func in _modfl
27943 do :
27944 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27945 if test "x$ac_cv_func__modfl" = xyes; then :
27946 cat >>confdefs.h <<_ACEOF
27947 #define HAVE__MODFL 1
27948 _ACEOF
27951 done
27960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27961 $as_echo_n "checking for powl declaration... " >&6; }
27962 if test x${glibcxx_cv_func_powl_use+set} != xset; then
27963 if ${glibcxx_cv_func_powl_use+:} false; then :
27964 $as_echo_n "(cached) " >&6
27965 else
27968 ac_ext=cpp
27969 ac_cpp='$CXXCPP $CPPFLAGS'
27970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27975 /* end confdefs.h. */
27976 #include <math.h>
27978 main ()
27980 powl(0, 0);
27982 return 0;
27984 _ACEOF
27985 if ac_fn_cxx_try_compile "$LINENO"; then :
27986 glibcxx_cv_func_powl_use=yes
27987 else
27988 glibcxx_cv_func_powl_use=no
27990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27991 ac_ext=c
27992 ac_cpp='$CPP $CPPFLAGS'
27993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
28002 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
28004 if test x$glibcxx_cv_func_powl_use = x"yes"; then
28005 for ac_func in powl
28006 do :
28007 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
28008 if test "x$ac_cv_func_powl" = xyes; then :
28009 cat >>confdefs.h <<_ACEOF
28010 #define HAVE_POWL 1
28011 _ACEOF
28014 done
28016 else
28018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
28019 $as_echo_n "checking for _powl declaration... " >&6; }
28020 if test x${glibcxx_cv_func__powl_use+set} != xset; then
28021 if ${glibcxx_cv_func__powl_use+:} false; then :
28022 $as_echo_n "(cached) " >&6
28023 else
28026 ac_ext=cpp
28027 ac_cpp='$CXXCPP $CPPFLAGS'
28028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28033 /* end confdefs.h. */
28034 #include <math.h>
28036 main ()
28038 _powl(0, 0);
28040 return 0;
28042 _ACEOF
28043 if ac_fn_cxx_try_compile "$LINENO"; then :
28044 glibcxx_cv_func__powl_use=yes
28045 else
28046 glibcxx_cv_func__powl_use=no
28048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28049 ac_ext=c
28050 ac_cpp='$CPP $CPPFLAGS'
28051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
28060 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
28062 if test x$glibcxx_cv_func__powl_use = x"yes"; then
28063 for ac_func in _powl
28064 do :
28065 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
28066 if test "x$ac_cv_func__powl" = xyes; then :
28067 cat >>confdefs.h <<_ACEOF
28068 #define HAVE__POWL 1
28069 _ACEOF
28072 done
28081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
28082 $as_echo_n "checking for sqrtl declaration... " >&6; }
28083 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
28084 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
28085 $as_echo_n "(cached) " >&6
28086 else
28089 ac_ext=cpp
28090 ac_cpp='$CXXCPP $CPPFLAGS'
28091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28096 /* end confdefs.h. */
28097 #include <math.h>
28098 #ifdef HAVE_IEEEFP_H
28099 #include <ieeefp.h>
28100 #endif
28103 main ()
28105 sqrtl(0);
28107 return 0;
28109 _ACEOF
28110 if ac_fn_cxx_try_compile "$LINENO"; then :
28111 glibcxx_cv_func_sqrtl_use=yes
28112 else
28113 glibcxx_cv_func_sqrtl_use=no
28115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28116 ac_ext=c
28117 ac_cpp='$CPP $CPPFLAGS'
28118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
28127 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
28129 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
28130 for ac_func in sqrtl
28131 do :
28132 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
28133 if test "x$ac_cv_func_sqrtl" = xyes; then :
28134 cat >>confdefs.h <<_ACEOF
28135 #define HAVE_SQRTL 1
28136 _ACEOF
28139 done
28141 else
28143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
28144 $as_echo_n "checking for _sqrtl declaration... " >&6; }
28145 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
28146 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
28147 $as_echo_n "(cached) " >&6
28148 else
28151 ac_ext=cpp
28152 ac_cpp='$CXXCPP $CPPFLAGS'
28153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28158 /* end confdefs.h. */
28159 #include <math.h>
28160 #ifdef HAVE_IEEEFP_H
28161 #include <ieeefp.h>
28162 #endif
28165 main ()
28167 _sqrtl(0);
28169 return 0;
28171 _ACEOF
28172 if ac_fn_cxx_try_compile "$LINENO"; then :
28173 glibcxx_cv_func__sqrtl_use=yes
28174 else
28175 glibcxx_cv_func__sqrtl_use=no
28177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28178 ac_ext=c
28179 ac_cpp='$CPP $CPPFLAGS'
28180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
28189 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
28191 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
28192 for ac_func in _sqrtl
28193 do :
28194 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
28195 if test "x$ac_cv_func__sqrtl" = xyes; then :
28196 cat >>confdefs.h <<_ACEOF
28197 #define HAVE__SQRTL 1
28198 _ACEOF
28201 done
28210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
28211 $as_echo_n "checking for sincosl declaration... " >&6; }
28212 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
28213 if ${glibcxx_cv_func_sincosl_use+:} false; then :
28214 $as_echo_n "(cached) " >&6
28215 else
28218 ac_ext=cpp
28219 ac_cpp='$CXXCPP $CPPFLAGS'
28220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28225 /* end confdefs.h. */
28226 #include <math.h>
28228 main ()
28230 sincosl(0, 0, 0);
28232 return 0;
28234 _ACEOF
28235 if ac_fn_cxx_try_compile "$LINENO"; then :
28236 glibcxx_cv_func_sincosl_use=yes
28237 else
28238 glibcxx_cv_func_sincosl_use=no
28240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28241 ac_ext=c
28242 ac_cpp='$CPP $CPPFLAGS'
28243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
28252 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
28254 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
28255 for ac_func in sincosl
28256 do :
28257 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
28258 if test "x$ac_cv_func_sincosl" = xyes; then :
28259 cat >>confdefs.h <<_ACEOF
28260 #define HAVE_SINCOSL 1
28261 _ACEOF
28264 done
28266 else
28268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
28269 $as_echo_n "checking for _sincosl declaration... " >&6; }
28270 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
28271 if ${glibcxx_cv_func__sincosl_use+:} false; then :
28272 $as_echo_n "(cached) " >&6
28273 else
28276 ac_ext=cpp
28277 ac_cpp='$CXXCPP $CPPFLAGS'
28278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28283 /* end confdefs.h. */
28284 #include <math.h>
28286 main ()
28288 _sincosl(0, 0, 0);
28290 return 0;
28292 _ACEOF
28293 if ac_fn_cxx_try_compile "$LINENO"; then :
28294 glibcxx_cv_func__sincosl_use=yes
28295 else
28296 glibcxx_cv_func__sincosl_use=no
28298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28299 ac_ext=c
28300 ac_cpp='$CPP $CPPFLAGS'
28301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
28310 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
28312 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
28313 for ac_func in _sincosl
28314 do :
28315 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
28316 if test "x$ac_cv_func__sincosl" = xyes; then :
28317 cat >>confdefs.h <<_ACEOF
28318 #define HAVE__SINCOSL 1
28319 _ACEOF
28322 done
28331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
28332 $as_echo_n "checking for finitel declaration... " >&6; }
28333 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
28334 if ${glibcxx_cv_func_finitel_use+:} false; then :
28335 $as_echo_n "(cached) " >&6
28336 else
28339 ac_ext=cpp
28340 ac_cpp='$CXXCPP $CPPFLAGS'
28341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28346 /* end confdefs.h. */
28347 #include <math.h>
28348 #ifdef HAVE_IEEEFP_H
28349 #include <ieeefp.h>
28350 #endif
28353 main ()
28355 finitel(0);
28357 return 0;
28359 _ACEOF
28360 if ac_fn_cxx_try_compile "$LINENO"; then :
28361 glibcxx_cv_func_finitel_use=yes
28362 else
28363 glibcxx_cv_func_finitel_use=no
28365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28366 ac_ext=c
28367 ac_cpp='$CPP $CPPFLAGS'
28368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
28377 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
28379 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
28380 for ac_func in finitel
28381 do :
28382 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
28383 if test "x$ac_cv_func_finitel" = xyes; then :
28384 cat >>confdefs.h <<_ACEOF
28385 #define HAVE_FINITEL 1
28386 _ACEOF
28389 done
28391 else
28393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
28394 $as_echo_n "checking for _finitel declaration... " >&6; }
28395 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
28396 if ${glibcxx_cv_func__finitel_use+:} false; then :
28397 $as_echo_n "(cached) " >&6
28398 else
28401 ac_ext=cpp
28402 ac_cpp='$CXXCPP $CPPFLAGS'
28403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28408 /* end confdefs.h. */
28409 #include <math.h>
28410 #ifdef HAVE_IEEEFP_H
28411 #include <ieeefp.h>
28412 #endif
28415 main ()
28417 _finitel(0);
28419 return 0;
28421 _ACEOF
28422 if ac_fn_cxx_try_compile "$LINENO"; then :
28423 glibcxx_cv_func__finitel_use=yes
28424 else
28425 glibcxx_cv_func__finitel_use=no
28427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28428 ac_ext=c
28429 ac_cpp='$CPP $CPPFLAGS'
28430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
28439 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
28441 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
28442 for ac_func in _finitel
28443 do :
28444 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
28445 if test "x$ac_cv_func__finitel" = xyes; then :
28446 cat >>confdefs.h <<_ACEOF
28447 #define HAVE__FINITEL 1
28448 _ACEOF
28451 done
28459 LIBS="$ac_save_LIBS"
28460 CXXFLAGS="$ac_save_CXXFLAGS"
28463 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28464 ac_save_CXXFLAGS="$CXXFLAGS"
28465 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
28469 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
28470 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
28471 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
28472 $as_echo_n "(cached) " >&6
28473 else
28476 ac_ext=cpp
28477 ac_cpp='$CXXCPP $CPPFLAGS'
28478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28483 /* end confdefs.h. */
28484 #include <stdlib.h>
28486 main ()
28488 at_quick_exit(0);
28490 return 0;
28492 _ACEOF
28493 if ac_fn_cxx_try_compile "$LINENO"; then :
28494 glibcxx_cv_func_at_quick_exit_use=yes
28495 else
28496 glibcxx_cv_func_at_quick_exit_use=no
28498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28499 ac_ext=c
28500 ac_cpp='$CPP $CPPFLAGS'
28501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
28510 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
28511 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
28512 for ac_func in at_quick_exit
28513 do :
28514 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
28515 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
28516 cat >>confdefs.h <<_ACEOF
28517 #define HAVE_AT_QUICK_EXIT 1
28518 _ACEOF
28521 done
28526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
28527 $as_echo_n "checking for quick_exit declaration... " >&6; }
28528 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
28529 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
28530 $as_echo_n "(cached) " >&6
28531 else
28534 ac_ext=cpp
28535 ac_cpp='$CXXCPP $CPPFLAGS'
28536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28541 /* end confdefs.h. */
28542 #include <stdlib.h>
28544 main ()
28546 quick_exit(0);
28548 return 0;
28550 _ACEOF
28551 if ac_fn_cxx_try_compile "$LINENO"; then :
28552 glibcxx_cv_func_quick_exit_use=yes
28553 else
28554 glibcxx_cv_func_quick_exit_use=no
28556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28557 ac_ext=c
28558 ac_cpp='$CPP $CPPFLAGS'
28559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
28568 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
28569 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
28570 for ac_func in quick_exit
28571 do :
28572 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
28573 if test "x$ac_cv_func_quick_exit" = xyes; then :
28574 cat >>confdefs.h <<_ACEOF
28575 #define HAVE_QUICK_EXIT 1
28576 _ACEOF
28579 done
28584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
28585 $as_echo_n "checking for strtold declaration... " >&6; }
28586 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
28587 if ${glibcxx_cv_func_strtold_use+:} false; then :
28588 $as_echo_n "(cached) " >&6
28589 else
28592 ac_ext=cpp
28593 ac_cpp='$CXXCPP $CPPFLAGS'
28594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28599 /* end confdefs.h. */
28600 #include <stdlib.h>
28602 main ()
28604 strtold(0, 0);
28606 return 0;
28608 _ACEOF
28609 if ac_fn_cxx_try_compile "$LINENO"; then :
28610 glibcxx_cv_func_strtold_use=yes
28611 else
28612 glibcxx_cv_func_strtold_use=no
28614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28615 ac_ext=c
28616 ac_cpp='$CPP $CPPFLAGS'
28617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
28626 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
28627 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28628 for ac_func in strtold
28629 do :
28630 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
28631 if test "x$ac_cv_func_strtold" = xyes; then :
28632 cat >>confdefs.h <<_ACEOF
28633 #define HAVE_STRTOLD 1
28634 _ACEOF
28637 done
28644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
28645 $as_echo_n "checking for strtof declaration... " >&6; }
28646 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
28647 if ${glibcxx_cv_func_strtof_use+:} false; then :
28648 $as_echo_n "(cached) " >&6
28649 else
28652 ac_ext=cpp
28653 ac_cpp='$CXXCPP $CPPFLAGS'
28654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28659 /* end confdefs.h. */
28660 #include <stdlib.h>
28662 main ()
28664 strtof(0, 0);
28666 return 0;
28668 _ACEOF
28669 if ac_fn_cxx_try_compile "$LINENO"; then :
28670 glibcxx_cv_func_strtof_use=yes
28671 else
28672 glibcxx_cv_func_strtof_use=no
28674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28675 ac_ext=c
28676 ac_cpp='$CPP $CPPFLAGS'
28677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
28686 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
28687 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
28688 for ac_func in strtof
28689 do :
28690 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
28691 if test "x$ac_cv_func_strtof" = xyes; then :
28692 cat >>confdefs.h <<_ACEOF
28693 #define HAVE_STRTOF 1
28694 _ACEOF
28697 done
28704 CXXFLAGS="$ac_save_CXXFLAGS"
28707 # For /dev/random and /dev/urandom for std::random_device.
28710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device" >&5
28711 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device... " >&6; }
28712 if ${glibcxx_cv_dev_random+:} false; then :
28713 $as_echo_n "(cached) " >&6
28714 else
28716 if test -r /dev/random && test -r /dev/urandom; then
28717 ## For MSys environment the test above is detected as false-positive
28718 ## on mingw-targets. So disable it explicitly for them.
28719 case ${target_os} in
28720 *mingw*) glibcxx_cv_dev_random=no ;;
28721 *) glibcxx_cv_dev_random=yes ;;
28722 esac
28723 else
28724 glibcxx_cv_dev_random=no;
28728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dev_random" >&5
28729 $as_echo "$glibcxx_cv_dev_random" >&6; }
28731 if test x"$glibcxx_cv_dev_random" = x"yes"; then
28733 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
28736 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
28742 # For TLS support.
28745 # Check whether --enable-tls was given.
28746 if test "${enable_tls+set}" = set; then :
28747 enableval=$enable_tls;
28748 case "$enableval" in
28749 yes|no) ;;
28750 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
28751 esac
28753 else
28754 enable_tls=yes
28758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
28759 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
28760 if ${gcc_cv_have_tls+:} false; then :
28761 $as_echo_n "(cached) " >&6
28762 else
28764 if test "$cross_compiling" = yes; then :
28765 if test x$gcc_no_link = xyes; then
28766 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28769 /* end confdefs.h. */
28770 __thread int a; int b; int main() { return a = b; }
28771 _ACEOF
28772 if ac_fn_c_try_link "$LINENO"; then :
28773 chktls_save_LDFLAGS="$LDFLAGS"
28774 case $host in
28775 *-*-linux* | -*-uclinuxfdpic*)
28776 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
28778 esac
28779 chktls_save_CFLAGS="$CFLAGS"
28780 CFLAGS="-fPIC $CFLAGS"
28781 if test x$gcc_no_link = xyes; then
28782 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28785 /* end confdefs.h. */
28786 int f() { return 0; }
28787 _ACEOF
28788 if ac_fn_c_try_link "$LINENO"; then :
28789 if test x$gcc_no_link = xyes; then
28790 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28793 /* end confdefs.h. */
28794 __thread int a; int b; int f() { return a = b; }
28795 _ACEOF
28796 if ac_fn_c_try_link "$LINENO"; then :
28797 gcc_cv_have_tls=yes
28798 else
28799 gcc_cv_have_tls=no
28801 rm -f core conftest.err conftest.$ac_objext \
28802 conftest$ac_exeext conftest.$ac_ext
28803 else
28804 gcc_cv_have_tls=yes
28806 rm -f core conftest.err conftest.$ac_objext \
28807 conftest$ac_exeext conftest.$ac_ext
28808 CFLAGS="$chktls_save_CFLAGS"
28809 LDFLAGS="$chktls_save_LDFLAGS"
28810 else
28811 gcc_cv_have_tls=no
28813 rm -f core conftest.err conftest.$ac_objext \
28814 conftest$ac_exeext conftest.$ac_ext
28817 else
28818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28819 /* end confdefs.h. */
28820 __thread int a; int b; int main() { return a = b; }
28821 _ACEOF
28822 if ac_fn_c_try_run "$LINENO"; then :
28823 chktls_save_LDFLAGS="$LDFLAGS"
28824 LDFLAGS="-static $LDFLAGS"
28825 if test x$gcc_no_link = xyes; then
28826 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28829 /* end confdefs.h. */
28830 int main() { return 0; }
28831 _ACEOF
28832 if ac_fn_c_try_link "$LINENO"; then :
28833 if test "$cross_compiling" = yes; then :
28834 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28835 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28836 as_fn_error $? "cannot run test program while cross compiling
28837 See \`config.log' for more details" "$LINENO" 5; }
28838 else
28839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28840 /* end confdefs.h. */
28841 __thread int a; int b; int main() { return a = b; }
28842 _ACEOF
28843 if ac_fn_c_try_run "$LINENO"; then :
28844 gcc_cv_have_tls=yes
28845 else
28846 gcc_cv_have_tls=no
28848 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28849 conftest.$ac_objext conftest.beam conftest.$ac_ext
28852 else
28853 gcc_cv_have_tls=yes
28855 rm -f core conftest.err conftest.$ac_objext \
28856 conftest$ac_exeext conftest.$ac_ext
28857 LDFLAGS="$chktls_save_LDFLAGS"
28858 if test $gcc_cv_have_tls = yes; then
28859 chktls_save_CFLAGS="$CFLAGS"
28860 thread_CFLAGS=failed
28861 for flag in '' '-pthread' '-lpthread'; do
28862 CFLAGS="$flag $chktls_save_CFLAGS"
28863 if test x$gcc_no_link = xyes; then
28864 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28867 /* end confdefs.h. */
28868 #include <pthread.h>
28869 void *g(void *d) { return NULL; }
28871 main ()
28873 pthread_t t; pthread_create(&t,NULL,g,NULL);
28875 return 0;
28877 _ACEOF
28878 if ac_fn_c_try_link "$LINENO"; then :
28879 thread_CFLAGS="$flag"
28881 rm -f core conftest.err conftest.$ac_objext \
28882 conftest$ac_exeext conftest.$ac_ext
28883 if test "X$thread_CFLAGS" != Xfailed; then
28884 break
28886 done
28887 CFLAGS="$chktls_save_CFLAGS"
28888 if test "X$thread_CFLAGS" != Xfailed; then
28889 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28890 if test "$cross_compiling" = yes; then :
28891 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28892 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28893 as_fn_error $? "cannot run test program while cross compiling
28894 See \`config.log' for more details" "$LINENO" 5; }
28895 else
28896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28897 /* end confdefs.h. */
28898 #include <pthread.h>
28899 __thread int a;
28900 static int *volatile a_in_other_thread;
28901 static void *
28902 thread_func (void *arg)
28904 a_in_other_thread = &a;
28905 return (void *)0;
28908 main ()
28910 pthread_t thread;
28911 void *thread_retval;
28912 int *volatile a_in_main_thread;
28913 a_in_main_thread = &a;
28914 if (pthread_create (&thread, (pthread_attr_t *)0,
28915 thread_func, (void *)0))
28916 return 0;
28917 if (pthread_join (thread, &thread_retval))
28918 return 0;
28919 return (a_in_other_thread == a_in_main_thread);
28921 return 0;
28923 _ACEOF
28924 if ac_fn_c_try_run "$LINENO"; then :
28925 gcc_cv_have_tls=yes
28926 else
28927 gcc_cv_have_tls=no
28929 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28930 conftest.$ac_objext conftest.beam conftest.$ac_ext
28933 CFLAGS="$chktls_save_CFLAGS"
28936 else
28937 gcc_cv_have_tls=no
28939 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28940 conftest.$ac_objext conftest.beam conftest.$ac_ext
28944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28945 $as_echo "$gcc_cv_have_tls" >&6; }
28946 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28948 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28952 for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28953 do :
28954 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28955 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28956 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28957 cat >>confdefs.h <<_ACEOF
28958 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28959 _ACEOF
28962 done
28964 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28965 do :
28966 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28967 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28968 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28969 cat >>confdefs.h <<_ACEOF
28970 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28971 _ACEOF
28974 done
28976 for ac_func in _wfopen
28977 do :
28978 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
28979 if test "x$ac_cv_func__wfopen" = xyes; then :
28980 cat >>confdefs.h <<_ACEOF
28981 #define HAVE__WFOPEN 1
28982 _ACEOF
28985 done
28987 for ac_func in secure_getenv
28988 do :
28989 ac_fn_c_check_func "$LINENO" "secure_getenv" "ac_cv_func_secure_getenv"
28990 if test "x$ac_cv_func_secure_getenv" = xyes; then :
28991 cat >>confdefs.h <<_ACEOF
28992 #define HAVE_SECURE_GETENV 1
28993 _ACEOF
28996 done
28999 # C11 functions for C++17 library
29000 for ac_func in timespec_get
29001 do :
29002 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
29003 if test "x$ac_cv_func_timespec_get" = xyes; then :
29004 cat >>confdefs.h <<_ACEOF
29005 #define HAVE_TIMESPEC_GET 1
29006 _ACEOF
29009 done
29012 # For Networking TS.
29013 for ac_func in sockatmark
29014 do :
29015 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
29016 if test "x$ac_cv_func_sockatmark" = xyes; then :
29017 cat >>confdefs.h <<_ACEOF
29018 #define HAVE_SOCKATMARK 1
29019 _ACEOF
29022 done
29025 # Non-standard functions used by C++17 std::from_chars
29026 for ac_func in uselocale
29027 do :
29028 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
29029 if test "x$ac_cv_func_uselocale" = xyes; then :
29030 cat >>confdefs.h <<_ACEOF
29031 #define HAVE_USELOCALE 1
29032 _ACEOF
29035 done
29038 # For iconv support.
29040 if test "X$prefix" = "XNONE"; then
29041 acl_final_prefix="$ac_default_prefix"
29042 else
29043 acl_final_prefix="$prefix"
29045 if test "X$exec_prefix" = "XNONE"; then
29046 acl_final_exec_prefix='${prefix}'
29047 else
29048 acl_final_exec_prefix="$exec_prefix"
29050 acl_save_prefix="$prefix"
29051 prefix="$acl_final_prefix"
29052 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
29053 prefix="$acl_save_prefix"
29056 # Check whether --with-gnu-ld was given.
29057 if test "${with_gnu_ld+set}" = set; then :
29058 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
29059 else
29060 with_gnu_ld=no
29063 # Prepare PATH_SEPARATOR.
29064 # The user is always right.
29065 if test "${PATH_SEPARATOR+set}" != set; then
29066 echo "#! /bin/sh" >conf$$.sh
29067 echo "exit 0" >>conf$$.sh
29068 chmod +x conf$$.sh
29069 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
29070 PATH_SEPARATOR=';'
29071 else
29072 PATH_SEPARATOR=:
29074 rm -f conf$$.sh
29076 ac_prog=ld
29077 if test "$GCC" = yes; then
29078 # Check if gcc -print-prog-name=ld gives a path.
29079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
29080 $as_echo_n "checking for ld used by GCC... " >&6; }
29081 case $host in
29082 *-*-mingw*)
29083 # gcc leaves a trailing carriage return which upsets mingw
29084 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
29086 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
29087 esac
29088 case $ac_prog in
29089 # Accept absolute paths.
29090 [\\/]* | [A-Za-z]:[\\/]*)
29091 re_direlt='/[^/][^/]*/\.\./'
29092 # Canonicalize the path of ld
29093 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
29094 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
29095 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
29096 done
29097 test -z "$LD" && LD="$ac_prog"
29100 # If it fails, then pretend we aren't using GCC.
29101 ac_prog=ld
29104 # If it is relative, then search for the first ld in PATH.
29105 with_gnu_ld=unknown
29107 esac
29108 elif test "$with_gnu_ld" = yes; then
29109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
29110 $as_echo_n "checking for GNU ld... " >&6; }
29111 else
29112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
29113 $as_echo_n "checking for non-GNU ld... " >&6; }
29115 if ${acl_cv_path_LD+:} false; then :
29116 $as_echo_n "(cached) " >&6
29117 else
29118 if test -z "$LD"; then
29119 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
29120 for ac_dir in $PATH; do
29121 test -z "$ac_dir" && ac_dir=.
29122 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
29123 acl_cv_path_LD="$ac_dir/$ac_prog"
29124 # Check to see if the program is GNU ld. I'd rather use --version,
29125 # but apparently some GNU ld's only accept -v.
29126 # Break only if it was the GNU/non-GNU ld that we prefer.
29127 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | $EGREP '(GNU|with BFD)' > /dev/null; then
29128 test "$with_gnu_ld" != no && break
29129 else
29130 test "$with_gnu_ld" != yes && break
29133 done
29134 IFS="$ac_save_ifs"
29135 else
29136 acl_cv_path_LD="$LD" # Let the user override the test with a path.
29140 LD="$acl_cv_path_LD"
29141 if test -n "$LD"; then
29142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
29143 $as_echo "$LD" >&6; }
29144 else
29145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29146 $as_echo "no" >&6; }
29148 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
29149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
29150 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
29151 if ${acl_cv_prog_gnu_ld+:} false; then :
29152 $as_echo_n "(cached) " >&6
29153 else
29154 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
29155 if $LD -v 2>&1 </dev/null | $EGREP '(GNU|with BFD)' 1>&5; then
29156 acl_cv_prog_gnu_ld=yes
29157 else
29158 acl_cv_prog_gnu_ld=no
29161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
29162 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
29163 with_gnu_ld=$acl_cv_prog_gnu_ld
29167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
29168 $as_echo_n "checking for shared library run path origin... " >&6; }
29169 if ${acl_cv_rpath+:} false; then :
29170 $as_echo_n "(cached) " >&6
29171 else
29173 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
29174 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
29175 . ./conftest.sh
29176 rm -f ./conftest.sh
29177 acl_cv_rpath=done
29180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
29181 $as_echo "$acl_cv_rpath" >&6; }
29182 wl="$acl_cv_wl"
29183 libext="$acl_cv_libext"
29184 shlibext="$acl_cv_shlibext"
29185 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
29186 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
29187 hardcode_direct="$acl_cv_hardcode_direct"
29188 hardcode_minus_L="$acl_cv_hardcode_minus_L"
29189 # Check whether --enable-rpath was given.
29190 if test "${enable_rpath+set}" = set; then :
29191 enableval=$enable_rpath; :
29192 else
29193 enable_rpath=yes
29203 use_additional=yes
29205 acl_save_prefix="$prefix"
29206 prefix="$acl_final_prefix"
29207 acl_save_exec_prefix="$exec_prefix"
29208 exec_prefix="$acl_final_exec_prefix"
29210 eval additional_includedir=\"$includedir\"
29211 eval additional_libdir=\"$libdir\"
29213 exec_prefix="$acl_save_exec_prefix"
29214 prefix="$acl_save_prefix"
29217 # Check whether --with-libiconv-prefix was given.
29218 if test "${with_libiconv_prefix+set}" = set; then :
29219 withval=$with_libiconv_prefix;
29220 if test "X$withval" = "Xno"; then
29221 use_additional=no
29222 else
29223 if test "X$withval" = "X"; then
29225 acl_save_prefix="$prefix"
29226 prefix="$acl_final_prefix"
29227 acl_save_exec_prefix="$exec_prefix"
29228 exec_prefix="$acl_final_exec_prefix"
29230 eval additional_includedir=\"$includedir\"
29231 eval additional_libdir=\"$libdir\"
29233 exec_prefix="$acl_save_exec_prefix"
29234 prefix="$acl_save_prefix"
29236 else
29237 additional_includedir="$withval/include"
29238 additional_libdir="$withval/lib"
29245 # Check whether --with-libiconv-type was given.
29246 if test "${with_libiconv_type+set}" = set; then :
29247 withval=$with_libiconv_type; with_libiconv_type=$withval
29248 else
29249 with_libiconv_type=auto
29252 lib_type=`eval echo \$with_libiconv_type`
29254 LIBICONV=
29255 LTLIBICONV=
29256 INCICONV=
29257 rpathdirs=
29258 ltrpathdirs=
29259 names_already_handled=
29260 names_next_round='iconv '
29261 while test -n "$names_next_round"; do
29262 names_this_round="$names_next_round"
29263 names_next_round=
29264 for name in $names_this_round; do
29265 already_handled=
29266 for n in $names_already_handled; do
29267 if test "$n" = "$name"; then
29268 already_handled=yes
29269 break
29271 done
29272 if test -z "$already_handled"; then
29273 names_already_handled="$names_already_handled $name"
29274 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
29275 eval value=\"\$HAVE_LIB$uppername\"
29276 if test -n "$value"; then
29277 if test "$value" = yes; then
29278 eval value=\"\$LIB$uppername\"
29279 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
29280 eval value=\"\$LTLIB$uppername\"
29281 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
29282 else
29285 else
29286 found_dir=
29287 found_la=
29288 found_so=
29289 found_a=
29290 if test $use_additional = yes; then
29291 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x$lib_type != xstatic; then
29292 found_dir="$additional_libdir"
29293 found_so="$additional_libdir/lib$name.$shlibext"
29294 if test -f "$additional_libdir/lib$name.la"; then
29295 found_la="$additional_libdir/lib$name.la"
29297 elif test x$lib_type != xshared; then
29298 if test -f "$additional_libdir/lib$name.$libext"; then
29299 found_dir="$additional_libdir"
29300 found_a="$additional_libdir/lib$name.$libext"
29301 if test -f "$additional_libdir/lib$name.la"; then
29302 found_la="$additional_libdir/lib$name.la"
29307 if test "X$found_dir" = "X"; then
29308 for x in $LDFLAGS $LTLIBICONV; do
29310 acl_save_prefix="$prefix"
29311 prefix="$acl_final_prefix"
29312 acl_save_exec_prefix="$exec_prefix"
29313 exec_prefix="$acl_final_exec_prefix"
29314 eval x=\"$x\"
29315 exec_prefix="$acl_save_exec_prefix"
29316 prefix="$acl_save_prefix"
29318 case "$x" in
29319 -L*)
29320 dir=`echo "X$x" | sed -e 's/^X-L//'`
29321 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x$lib_type != xstatic; then
29322 found_dir="$dir"
29323 found_so="$dir/lib$name.$shlibext"
29324 if test -f "$dir/lib$name.la"; then
29325 found_la="$dir/lib$name.la"
29327 elif test x$lib_type != xshared; then
29328 if test -f "$dir/lib$name.$libext"; then
29329 found_dir="$dir"
29330 found_a="$dir/lib$name.$libext"
29331 if test -f "$dir/lib$name.la"; then
29332 found_la="$dir/lib$name.la"
29337 esac
29338 if test "X$found_dir" != "X"; then
29339 break
29341 done
29343 if test "X$found_dir" != "X"; then
29344 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
29345 if test "X$found_so" != "X"; then
29346 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
29347 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29348 else
29349 haveit=
29350 for x in $ltrpathdirs; do
29351 if test "X$x" = "X$found_dir"; then
29352 haveit=yes
29353 break
29355 done
29356 if test -z "$haveit"; then
29357 ltrpathdirs="$ltrpathdirs $found_dir"
29359 if test "$hardcode_direct" = yes; then
29360 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29361 else
29362 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
29363 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29364 haveit=
29365 for x in $rpathdirs; do
29366 if test "X$x" = "X$found_dir"; then
29367 haveit=yes
29368 break
29370 done
29371 if test -z "$haveit"; then
29372 rpathdirs="$rpathdirs $found_dir"
29374 else
29375 haveit=
29376 for x in $LDFLAGS $LIBICONV; do
29378 acl_save_prefix="$prefix"
29379 prefix="$acl_final_prefix"
29380 acl_save_exec_prefix="$exec_prefix"
29381 exec_prefix="$acl_final_exec_prefix"
29382 eval x=\"$x\"
29383 exec_prefix="$acl_save_exec_prefix"
29384 prefix="$acl_save_prefix"
29386 if test "X$x" = "X-L$found_dir"; then
29387 haveit=yes
29388 break
29390 done
29391 if test -z "$haveit"; then
29392 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
29394 if test "$hardcode_minus_L" != no; then
29395 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29396 else
29397 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
29402 else
29403 if test "X$found_a" != "X"; then
29404 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
29405 else
29406 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
29409 additional_includedir=
29410 case "$found_dir" in
29411 */lib | */lib/)
29412 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
29413 additional_includedir="$basedir/include"
29415 esac
29416 if test "X$additional_includedir" != "X"; then
29417 if test "X$additional_includedir" != "X/usr/include"; then
29418 haveit=
29419 if test "X$additional_includedir" = "X/usr/local/include"; then
29420 if test -n "$GCC"; then
29421 case $host_os in
29422 linux*) haveit=yes;;
29423 esac
29426 if test -z "$haveit"; then
29427 for x in $CPPFLAGS $INCICONV; do
29429 acl_save_prefix="$prefix"
29430 prefix="$acl_final_prefix"
29431 acl_save_exec_prefix="$exec_prefix"
29432 exec_prefix="$acl_final_exec_prefix"
29433 eval x=\"$x\"
29434 exec_prefix="$acl_save_exec_prefix"
29435 prefix="$acl_save_prefix"
29437 if test "X$x" = "X-I$additional_includedir"; then
29438 haveit=yes
29439 break
29441 done
29442 if test -z "$haveit"; then
29443 if test -d "$additional_includedir"; then
29444 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
29450 if test -n "$found_la"; then
29451 save_libdir="$libdir"
29452 case "$found_la" in
29453 */* | *\\*) . "$found_la" ;;
29454 *) . "./$found_la" ;;
29455 esac
29456 libdir="$save_libdir"
29457 for dep in $dependency_libs; do
29458 case "$dep" in
29459 -L*)
29460 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
29461 if test "X$additional_libdir" != "X/usr/lib"; then
29462 haveit=
29463 if test "X$additional_libdir" = "X/usr/local/lib"; then
29464 if test -n "$GCC"; then
29465 case $host_os in
29466 linux*) haveit=yes;;
29467 esac
29470 if test -z "$haveit"; then
29471 haveit=
29472 for x in $LDFLAGS $LIBICONV; do
29474 acl_save_prefix="$prefix"
29475 prefix="$acl_final_prefix"
29476 acl_save_exec_prefix="$exec_prefix"
29477 exec_prefix="$acl_final_exec_prefix"
29478 eval x=\"$x\"
29479 exec_prefix="$acl_save_exec_prefix"
29480 prefix="$acl_save_prefix"
29482 if test "X$x" = "X-L$additional_libdir"; then
29483 haveit=yes
29484 break
29486 done
29487 if test -z "$haveit"; then
29488 if test -d "$additional_libdir"; then
29489 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
29492 haveit=
29493 for x in $LDFLAGS $LTLIBICONV; do
29495 acl_save_prefix="$prefix"
29496 prefix="$acl_final_prefix"
29497 acl_save_exec_prefix="$exec_prefix"
29498 exec_prefix="$acl_final_exec_prefix"
29499 eval x=\"$x\"
29500 exec_prefix="$acl_save_exec_prefix"
29501 prefix="$acl_save_prefix"
29503 if test "X$x" = "X-L$additional_libdir"; then
29504 haveit=yes
29505 break
29507 done
29508 if test -z "$haveit"; then
29509 if test -d "$additional_libdir"; then
29510 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
29516 -R*)
29517 dir=`echo "X$dep" | sed -e 's/^X-R//'`
29518 if test "$enable_rpath" != no; then
29519 haveit=
29520 for x in $rpathdirs; do
29521 if test "X$x" = "X$dir"; then
29522 haveit=yes
29523 break
29525 done
29526 if test -z "$haveit"; then
29527 rpathdirs="$rpathdirs $dir"
29529 haveit=
29530 for x in $ltrpathdirs; do
29531 if test "X$x" = "X$dir"; then
29532 haveit=yes
29533 break
29535 done
29536 if test -z "$haveit"; then
29537 ltrpathdirs="$ltrpathdirs $dir"
29541 -l*)
29542 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
29544 *.la)
29545 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
29548 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
29549 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
29551 esac
29552 done
29554 else
29555 if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then
29556 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
29557 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
29558 else
29559 LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext"
29560 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext"
29565 done
29566 done
29567 if test "X$rpathdirs" != "X"; then
29568 if test -n "$hardcode_libdir_separator"; then
29569 alldirs=
29570 for found_dir in $rpathdirs; do
29571 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
29572 done
29573 acl_save_libdir="$libdir"
29574 libdir="$alldirs"
29575 eval flag=\"$hardcode_libdir_flag_spec\"
29576 libdir="$acl_save_libdir"
29577 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
29578 else
29579 for found_dir in $rpathdirs; do
29580 acl_save_libdir="$libdir"
29581 libdir="$found_dir"
29582 eval flag=\"$hardcode_libdir_flag_spec\"
29583 libdir="$acl_save_libdir"
29584 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
29585 done
29588 if test "X$ltrpathdirs" != "X"; then
29589 for found_dir in $ltrpathdirs; do
29590 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
29591 done
29600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
29601 $as_echo_n "checking for iconv... " >&6; }
29602 if ${am_cv_func_iconv+:} false; then :
29603 $as_echo_n "(cached) " >&6
29604 else
29606 am_cv_func_iconv="no, consider installing GNU libiconv"
29607 am_cv_lib_iconv=no
29608 am_save_CPPFLAGS="$CPPFLAGS"
29609 CPPFLAGS="$CPPFLAGS $INCICONV"
29610 if test x$gcc_no_link = xyes; then
29611 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29614 /* end confdefs.h. */
29615 #include <stdlib.h>
29616 #include <iconv.h>
29618 main ()
29620 iconv_t cd = iconv_open("","");
29621 iconv(cd,NULL,NULL,NULL,NULL);
29622 iconv_close(cd);
29624 return 0;
29626 _ACEOF
29627 if ac_fn_c_try_link "$LINENO"; then :
29628 am_cv_func_iconv=yes
29630 rm -f core conftest.err conftest.$ac_objext \
29631 conftest$ac_exeext conftest.$ac_ext
29632 CPPFLAGS="$am_save_CPPFLAGS"
29634 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
29635 for _libs in .libs _libs; do
29636 am_save_CPPFLAGS="$CPPFLAGS"
29637 am_save_LIBS="$LIBS"
29638 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
29639 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
29640 if test x$gcc_no_link = xyes; then
29641 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29644 /* end confdefs.h. */
29645 #include <stdlib.h>
29646 #include <iconv.h>
29648 main ()
29650 iconv_t cd = iconv_open("","");
29651 iconv(cd,NULL,NULL,NULL,NULL);
29652 iconv_close(cd);
29654 return 0;
29656 _ACEOF
29657 if ac_fn_c_try_link "$LINENO"; then :
29658 INCICONV="-I../libiconv/include"
29659 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
29660 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
29661 am_cv_lib_iconv=yes
29662 am_cv_func_iconv=yes
29664 rm -f core conftest.err conftest.$ac_objext \
29665 conftest$ac_exeext conftest.$ac_ext
29666 CPPFLAGS="$am_save_CPPFLAGS"
29667 LIBS="$am_save_LIBS"
29668 if test "$am_cv_func_iconv" = "yes"; then
29669 break
29671 done
29674 if test "$am_cv_func_iconv" != yes; then
29675 am_save_CPPFLAGS="$CPPFLAGS"
29676 am_save_LIBS="$LIBS"
29677 CPPFLAGS="$CPPFLAGS $INCICONV"
29678 LIBS="$LIBS $LIBICONV"
29679 if test x$gcc_no_link = xyes; then
29680 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29683 /* end confdefs.h. */
29684 #include <stdlib.h>
29685 #include <iconv.h>
29687 main ()
29689 iconv_t cd = iconv_open("","");
29690 iconv(cd,NULL,NULL,NULL,NULL);
29691 iconv_close(cd);
29693 return 0;
29695 _ACEOF
29696 if ac_fn_c_try_link "$LINENO"; then :
29697 am_cv_lib_iconv=yes
29698 am_cv_func_iconv=yes
29700 rm -f core conftest.err conftest.$ac_objext \
29701 conftest$ac_exeext conftest.$ac_ext
29702 CPPFLAGS="$am_save_CPPFLAGS"
29703 LIBS="$am_save_LIBS"
29707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
29708 $as_echo "$am_cv_func_iconv" >&6; }
29709 if test "$am_cv_func_iconv" = yes; then
29711 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29714 if test "$am_cv_lib_iconv" = yes; then
29716 for element in $INCICONV; do
29717 haveit=
29718 for x in $CPPFLAGS; do
29720 acl_save_prefix="$prefix"
29721 prefix="$acl_final_prefix"
29722 acl_save_exec_prefix="$exec_prefix"
29723 exec_prefix="$acl_final_exec_prefix"
29724 eval x=\"$x\"
29725 exec_prefix="$acl_save_exec_prefix"
29726 prefix="$acl_save_prefix"
29728 if test "X$x" = "X$element"; then
29729 haveit=yes
29730 break
29732 done
29733 if test -z "$haveit"; then
29734 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
29736 done
29738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
29739 $as_echo_n "checking how to link with libiconv... " >&6; }
29740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
29741 $as_echo "$LIBICONV" >&6; }
29742 else
29743 LIBICONV=
29744 LTLIBICONV=
29749 if test "$am_cv_func_iconv" = yes; then
29750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
29751 $as_echo_n "checking for iconv declaration... " >&6; }
29752 if ${am_cv_proto_iconv+:} false; then :
29753 $as_echo_n "(cached) " >&6
29754 else
29756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29757 /* end confdefs.h. */
29759 #include <stdlib.h>
29760 #include <iconv.h>
29761 extern
29762 #ifdef __cplusplus
29764 #endif
29765 #if defined(__STDC__) || defined(__cplusplus)
29766 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29767 #else
29768 size_t iconv();
29769 #endif
29772 main ()
29776 return 0;
29778 _ACEOF
29779 if ac_fn_c_try_compile "$LINENO"; then :
29780 am_cv_proto_iconv_arg1=""
29781 else
29782 am_cv_proto_iconv_arg1="const"
29784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29785 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);"
29788 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
29789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
29790 }$am_cv_proto_iconv" >&5
29791 $as_echo "${ac_t:-
29792 }$am_cv_proto_iconv" >&6; }
29794 cat >>confdefs.h <<_ACEOF
29795 #define ICONV_CONST $am_cv_proto_iconv_arg1
29796 _ACEOF
29801 else
29803 # This lets us hard-code the functionality we know we'll have in the cross
29804 # target environment. "Let" is a sugar-coated word placed on an especially
29805 # dull and tedious hack, actually.
29807 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
29808 # that involve linking, can't be used:
29809 # "cannot open sim-crt0.o"
29810 # "cannot open crt0.o"
29811 # etc. All this is because there currently exists no unified, consistent
29812 # way for top level CC information to be passed down to target directories:
29813 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
29814 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
29815 # crosses can be removed.
29817 # If Canadian cross, then don't pick up tools from the build directory.
29818 # Used only in GLIBCXX_EXPORT_INCLUDES.
29819 if test -n "$with_cross_host" &&
29820 test x"$build_alias" != x"$with_cross_host" &&
29821 test x"$build" != x"$target";
29822 then
29823 CANADIAN=yes
29824 else
29825 CANADIAN=no
29828 # Construct crosses by hand, eliminating bits that need ld...
29829 # GLIBCXX_CHECK_MATH_SUPPORT
29831 # First, test for "known" system libraries. We may be using newlib even
29832 # on a hosted environment.
29833 if test "x${with_newlib}" = "xyes"; then
29834 os_include_dir="os/newlib"
29835 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
29838 # GLIBCXX_CHECK_STDLIB_SUPPORT
29839 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
29842 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29844 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29846 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29848 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29850 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29852 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29854 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29856 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29858 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29860 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29862 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29864 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29866 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29868 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29870 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29872 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29874 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29876 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29878 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29880 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29882 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29884 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29886 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl declaration" >&5
29893 $as_echo_n "checking for acosl declaration... " >&6; }
29894 if ${glibcxx_cv_func_acosl_use+:} false; then :
29895 $as_echo_n "(cached) " >&6
29896 else
29899 ac_ext=c
29900 ac_cpp='$CPP $CPPFLAGS'
29901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29906 /* end confdefs.h. */
29908 #include <math.h>
29909 #ifdef HAVE_IEEEFP_H
29910 # include <ieeefp.h>
29911 #endif
29912 #undef acosl
29915 main ()
29918 void (*f)(void) = (void (*)(void))acosl;
29921 return 0;
29923 _ACEOF
29924 if ac_fn_c_try_compile "$LINENO"; then :
29925 glibcxx_cv_func_acosl_use=yes
29927 else
29928 glibcxx_cv_func_acosl_use=no
29930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_acosl_use" >&5
29933 $as_echo "$glibcxx_cv_func_acosl_use" >&6; }
29934 if test "x$glibcxx_cv_func_acosl_use" = xyes; then
29935 cat >>confdefs.h <<_ACEOF
29936 #define HAVE_ACOSL 1
29937 _ACEOF
29943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl declaration" >&5
29944 $as_echo_n "checking for asinl declaration... " >&6; }
29945 if ${glibcxx_cv_func_asinl_use+:} false; then :
29946 $as_echo_n "(cached) " >&6
29947 else
29950 ac_ext=c
29951 ac_cpp='$CPP $CPPFLAGS'
29952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29957 /* end confdefs.h. */
29959 #include <math.h>
29960 #ifdef HAVE_IEEEFP_H
29961 # include <ieeefp.h>
29962 #endif
29963 #undef asinl
29966 main ()
29969 void (*f)(void) = (void (*)(void))asinl;
29972 return 0;
29974 _ACEOF
29975 if ac_fn_c_try_compile "$LINENO"; then :
29976 glibcxx_cv_func_asinl_use=yes
29978 else
29979 glibcxx_cv_func_asinl_use=no
29981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_asinl_use" >&5
29984 $as_echo "$glibcxx_cv_func_asinl_use" >&6; }
29985 if test "x$glibcxx_cv_func_asinl_use" = xyes; then
29986 cat >>confdefs.h <<_ACEOF
29987 #define HAVE_ASINL 1
29988 _ACEOF
29994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
29995 $as_echo_n "checking for atan2l declaration... " >&6; }
29996 if ${glibcxx_cv_func_atan2l_use+:} false; then :
29997 $as_echo_n "(cached) " >&6
29998 else
30001 ac_ext=c
30002 ac_cpp='$CPP $CPPFLAGS'
30003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30008 /* end confdefs.h. */
30010 #include <math.h>
30011 #ifdef HAVE_IEEEFP_H
30012 # include <ieeefp.h>
30013 #endif
30014 #undef atan2l
30017 main ()
30020 void (*f)(void) = (void (*)(void))atan2l;
30023 return 0;
30025 _ACEOF
30026 if ac_fn_c_try_compile "$LINENO"; then :
30027 glibcxx_cv_func_atan2l_use=yes
30029 else
30030 glibcxx_cv_func_atan2l_use=no
30032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
30035 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
30036 if test "x$glibcxx_cv_func_atan2l_use" = xyes; then
30037 cat >>confdefs.h <<_ACEOF
30038 #define HAVE_ATAN2L 1
30039 _ACEOF
30045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl declaration" >&5
30046 $as_echo_n "checking for atanl declaration... " >&6; }
30047 if ${glibcxx_cv_func_atanl_use+:} false; then :
30048 $as_echo_n "(cached) " >&6
30049 else
30052 ac_ext=c
30053 ac_cpp='$CPP $CPPFLAGS'
30054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30059 /* end confdefs.h. */
30061 #include <math.h>
30062 #ifdef HAVE_IEEEFP_H
30063 # include <ieeefp.h>
30064 #endif
30065 #undef atanl
30068 main ()
30071 void (*f)(void) = (void (*)(void))atanl;
30074 return 0;
30076 _ACEOF
30077 if ac_fn_c_try_compile "$LINENO"; then :
30078 glibcxx_cv_func_atanl_use=yes
30080 else
30081 glibcxx_cv_func_atanl_use=no
30083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atanl_use" >&5
30086 $as_echo "$glibcxx_cv_func_atanl_use" >&6; }
30087 if test "x$glibcxx_cv_func_atanl_use" = xyes; then
30088 cat >>confdefs.h <<_ACEOF
30089 #define HAVE_ATANL 1
30090 _ACEOF
30096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill declaration" >&5
30097 $as_echo_n "checking for ceill declaration... " >&6; }
30098 if ${glibcxx_cv_func_ceill_use+:} false; then :
30099 $as_echo_n "(cached) " >&6
30100 else
30103 ac_ext=c
30104 ac_cpp='$CPP $CPPFLAGS'
30105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30110 /* end confdefs.h. */
30112 #include <math.h>
30113 #ifdef HAVE_IEEEFP_H
30114 # include <ieeefp.h>
30115 #endif
30116 #undef ceill
30119 main ()
30122 void (*f)(void) = (void (*)(void))ceill;
30125 return 0;
30127 _ACEOF
30128 if ac_fn_c_try_compile "$LINENO"; then :
30129 glibcxx_cv_func_ceill_use=yes
30131 else
30132 glibcxx_cv_func_ceill_use=no
30134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ceill_use" >&5
30137 $as_echo "$glibcxx_cv_func_ceill_use" >&6; }
30138 if test "x$glibcxx_cv_func_ceill_use" = xyes; then
30139 cat >>confdefs.h <<_ACEOF
30140 #define HAVE_CEILL 1
30141 _ACEOF
30147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl declaration" >&5
30148 $as_echo_n "checking for coshl declaration... " >&6; }
30149 if ${glibcxx_cv_func_coshl_use+:} false; then :
30150 $as_echo_n "(cached) " >&6
30151 else
30154 ac_ext=c
30155 ac_cpp='$CPP $CPPFLAGS'
30156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30161 /* end confdefs.h. */
30163 #include <math.h>
30164 #ifdef HAVE_IEEEFP_H
30165 # include <ieeefp.h>
30166 #endif
30167 #undef coshl
30170 main ()
30173 void (*f)(void) = (void (*)(void))coshl;
30176 return 0;
30178 _ACEOF
30179 if ac_fn_c_try_compile "$LINENO"; then :
30180 glibcxx_cv_func_coshl_use=yes
30182 else
30183 glibcxx_cv_func_coshl_use=no
30185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_coshl_use" >&5
30188 $as_echo "$glibcxx_cv_func_coshl_use" >&6; }
30189 if test "x$glibcxx_cv_func_coshl_use" = xyes; then
30190 cat >>confdefs.h <<_ACEOF
30191 #define HAVE_COSHL 1
30192 _ACEOF
30198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl declaration" >&5
30199 $as_echo_n "checking for cosl declaration... " >&6; }
30200 if ${glibcxx_cv_func_cosl_use+:} false; then :
30201 $as_echo_n "(cached) " >&6
30202 else
30205 ac_ext=c
30206 ac_cpp='$CPP $CPPFLAGS'
30207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30212 /* end confdefs.h. */
30214 #include <math.h>
30215 #ifdef HAVE_IEEEFP_H
30216 # include <ieeefp.h>
30217 #endif
30218 #undef cosl
30221 main ()
30224 void (*f)(void) = (void (*)(void))cosl;
30227 return 0;
30229 _ACEOF
30230 if ac_fn_c_try_compile "$LINENO"; then :
30231 glibcxx_cv_func_cosl_use=yes
30233 else
30234 glibcxx_cv_func_cosl_use=no
30236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_cosl_use" >&5
30239 $as_echo "$glibcxx_cv_func_cosl_use" >&6; }
30240 if test "x$glibcxx_cv_func_cosl_use" = xyes; then
30241 cat >>confdefs.h <<_ACEOF
30242 #define HAVE_COSL 1
30243 _ACEOF
30249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
30250 $as_echo_n "checking for expl declaration... " >&6; }
30251 if ${glibcxx_cv_func_expl_use+:} false; then :
30252 $as_echo_n "(cached) " >&6
30253 else
30256 ac_ext=c
30257 ac_cpp='$CPP $CPPFLAGS'
30258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30263 /* end confdefs.h. */
30265 #include <math.h>
30266 #ifdef HAVE_IEEEFP_H
30267 # include <ieeefp.h>
30268 #endif
30269 #undef expl
30272 main ()
30275 void (*f)(void) = (void (*)(void))expl;
30278 return 0;
30280 _ACEOF
30281 if ac_fn_c_try_compile "$LINENO"; then :
30282 glibcxx_cv_func_expl_use=yes
30284 else
30285 glibcxx_cv_func_expl_use=no
30287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
30290 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
30291 if test "x$glibcxx_cv_func_expl_use" = xyes; then
30292 cat >>confdefs.h <<_ACEOF
30293 #define HAVE_EXPL 1
30294 _ACEOF
30300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
30301 $as_echo_n "checking for fabsl declaration... " >&6; }
30302 if ${glibcxx_cv_func_fabsl_use+:} false; then :
30303 $as_echo_n "(cached) " >&6
30304 else
30307 ac_ext=c
30308 ac_cpp='$CPP $CPPFLAGS'
30309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30314 /* end confdefs.h. */
30316 #include <math.h>
30317 #ifdef HAVE_IEEEFP_H
30318 # include <ieeefp.h>
30319 #endif
30320 #undef fabsl
30323 main ()
30326 void (*f)(void) = (void (*)(void))fabsl;
30329 return 0;
30331 _ACEOF
30332 if ac_fn_c_try_compile "$LINENO"; then :
30333 glibcxx_cv_func_fabsl_use=yes
30335 else
30336 glibcxx_cv_func_fabsl_use=no
30338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
30341 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
30342 if test "x$glibcxx_cv_func_fabsl_use" = xyes; then
30343 cat >>confdefs.h <<_ACEOF
30344 #define HAVE_FABSL 1
30345 _ACEOF
30351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl declaration" >&5
30352 $as_echo_n "checking for floorl declaration... " >&6; }
30353 if ${glibcxx_cv_func_floorl_use+:} false; then :
30354 $as_echo_n "(cached) " >&6
30355 else
30358 ac_ext=c
30359 ac_cpp='$CPP $CPPFLAGS'
30360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30365 /* end confdefs.h. */
30367 #include <math.h>
30368 #ifdef HAVE_IEEEFP_H
30369 # include <ieeefp.h>
30370 #endif
30371 #undef floorl
30374 main ()
30377 void (*f)(void) = (void (*)(void))floorl;
30380 return 0;
30382 _ACEOF
30383 if ac_fn_c_try_compile "$LINENO"; then :
30384 glibcxx_cv_func_floorl_use=yes
30386 else
30387 glibcxx_cv_func_floorl_use=no
30389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_floorl_use" >&5
30392 $as_echo "$glibcxx_cv_func_floorl_use" >&6; }
30393 if test "x$glibcxx_cv_func_floorl_use" = xyes; then
30394 cat >>confdefs.h <<_ACEOF
30395 #define HAVE_FLOORL 1
30396 _ACEOF
30402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
30403 $as_echo_n "checking for fmodl declaration... " >&6; }
30404 if ${glibcxx_cv_func_fmodl_use+:} false; then :
30405 $as_echo_n "(cached) " >&6
30406 else
30409 ac_ext=c
30410 ac_cpp='$CPP $CPPFLAGS'
30411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30416 /* end confdefs.h. */
30418 #include <math.h>
30419 #ifdef HAVE_IEEEFP_H
30420 # include <ieeefp.h>
30421 #endif
30422 #undef fmodl
30425 main ()
30428 void (*f)(void) = (void (*)(void))fmodl;
30431 return 0;
30433 _ACEOF
30434 if ac_fn_c_try_compile "$LINENO"; then :
30435 glibcxx_cv_func_fmodl_use=yes
30437 else
30438 glibcxx_cv_func_fmodl_use=no
30440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
30443 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
30444 if test "x$glibcxx_cv_func_fmodl_use" = xyes; then
30445 cat >>confdefs.h <<_ACEOF
30446 #define HAVE_FMODL 1
30447 _ACEOF
30453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
30454 $as_echo_n "checking for frexpl declaration... " >&6; }
30455 if ${glibcxx_cv_func_frexpl_use+:} false; then :
30456 $as_echo_n "(cached) " >&6
30457 else
30460 ac_ext=c
30461 ac_cpp='$CPP $CPPFLAGS'
30462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30467 /* end confdefs.h. */
30469 #include <math.h>
30470 #ifdef HAVE_IEEEFP_H
30471 # include <ieeefp.h>
30472 #endif
30473 #undef frexpl
30476 main ()
30479 void (*f)(void) = (void (*)(void))frexpl;
30482 return 0;
30484 _ACEOF
30485 if ac_fn_c_try_compile "$LINENO"; then :
30486 glibcxx_cv_func_frexpl_use=yes
30488 else
30489 glibcxx_cv_func_frexpl_use=no
30491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
30494 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
30495 if test "x$glibcxx_cv_func_frexpl_use" = xyes; then
30496 cat >>confdefs.h <<_ACEOF
30497 #define HAVE_FREXPL 1
30498 _ACEOF
30504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
30505 $as_echo_n "checking for hypotl declaration... " >&6; }
30506 if ${glibcxx_cv_func_hypotl_use+:} false; then :
30507 $as_echo_n "(cached) " >&6
30508 else
30511 ac_ext=c
30512 ac_cpp='$CPP $CPPFLAGS'
30513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30518 /* end confdefs.h. */
30520 #include <math.h>
30521 #ifdef HAVE_IEEEFP_H
30522 # include <ieeefp.h>
30523 #endif
30524 #undef hypotl
30527 main ()
30530 void (*f)(void) = (void (*)(void))hypotl;
30533 return 0;
30535 _ACEOF
30536 if ac_fn_c_try_compile "$LINENO"; then :
30537 glibcxx_cv_func_hypotl_use=yes
30539 else
30540 glibcxx_cv_func_hypotl_use=no
30542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
30545 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
30546 if test "x$glibcxx_cv_func_hypotl_use" = xyes; then
30547 cat >>confdefs.h <<_ACEOF
30548 #define HAVE_HYPOTL 1
30549 _ACEOF
30555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
30556 $as_echo_n "checking for ldexpl declaration... " >&6; }
30557 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
30558 $as_echo_n "(cached) " >&6
30559 else
30562 ac_ext=c
30563 ac_cpp='$CPP $CPPFLAGS'
30564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30569 /* end confdefs.h. */
30571 #include <math.h>
30572 #ifdef HAVE_IEEEFP_H
30573 # include <ieeefp.h>
30574 #endif
30575 #undef ldexpl
30578 main ()
30581 void (*f)(void) = (void (*)(void))ldexpl;
30584 return 0;
30586 _ACEOF
30587 if ac_fn_c_try_compile "$LINENO"; then :
30588 glibcxx_cv_func_ldexpl_use=yes
30590 else
30591 glibcxx_cv_func_ldexpl_use=no
30593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
30596 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
30597 if test "x$glibcxx_cv_func_ldexpl_use" = xyes; then
30598 cat >>confdefs.h <<_ACEOF
30599 #define HAVE_LDEXPL 1
30600 _ACEOF
30606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
30607 $as_echo_n "checking for log10l declaration... " >&6; }
30608 if ${glibcxx_cv_func_log10l_use+:} false; then :
30609 $as_echo_n "(cached) " >&6
30610 else
30613 ac_ext=c
30614 ac_cpp='$CPP $CPPFLAGS'
30615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30620 /* end confdefs.h. */
30622 #include <math.h>
30623 #ifdef HAVE_IEEEFP_H
30624 # include <ieeefp.h>
30625 #endif
30626 #undef log10l
30629 main ()
30632 void (*f)(void) = (void (*)(void))log10l;
30635 return 0;
30637 _ACEOF
30638 if ac_fn_c_try_compile "$LINENO"; then :
30639 glibcxx_cv_func_log10l_use=yes
30641 else
30642 glibcxx_cv_func_log10l_use=no
30644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
30647 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
30648 if test "x$glibcxx_cv_func_log10l_use" = xyes; then
30649 cat >>confdefs.h <<_ACEOF
30650 #define HAVE_LOG10L 1
30651 _ACEOF
30657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
30658 $as_echo_n "checking for logl declaration... " >&6; }
30659 if ${glibcxx_cv_func_logl_use+:} false; then :
30660 $as_echo_n "(cached) " >&6
30661 else
30664 ac_ext=c
30665 ac_cpp='$CPP $CPPFLAGS'
30666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30671 /* end confdefs.h. */
30673 #include <math.h>
30674 #ifdef HAVE_IEEEFP_H
30675 # include <ieeefp.h>
30676 #endif
30677 #undef logl
30680 main ()
30683 void (*f)(void) = (void (*)(void))logl;
30686 return 0;
30688 _ACEOF
30689 if ac_fn_c_try_compile "$LINENO"; then :
30690 glibcxx_cv_func_logl_use=yes
30692 else
30693 glibcxx_cv_func_logl_use=no
30695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
30698 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
30699 if test "x$glibcxx_cv_func_logl_use" = xyes; then
30700 cat >>confdefs.h <<_ACEOF
30701 #define HAVE_LOGL 1
30702 _ACEOF
30708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
30709 $as_echo_n "checking for modfl declaration... " >&6; }
30710 if ${glibcxx_cv_func_modfl_use+:} false; then :
30711 $as_echo_n "(cached) " >&6
30712 else
30715 ac_ext=c
30716 ac_cpp='$CPP $CPPFLAGS'
30717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30722 /* end confdefs.h. */
30724 #include <math.h>
30725 #ifdef HAVE_IEEEFP_H
30726 # include <ieeefp.h>
30727 #endif
30728 #undef modfl
30731 main ()
30734 void (*f)(void) = (void (*)(void))modfl;
30737 return 0;
30739 _ACEOF
30740 if ac_fn_c_try_compile "$LINENO"; then :
30741 glibcxx_cv_func_modfl_use=yes
30743 else
30744 glibcxx_cv_func_modfl_use=no
30746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
30749 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
30750 if test "x$glibcxx_cv_func_modfl_use" = xyes; then
30751 cat >>confdefs.h <<_ACEOF
30752 #define HAVE_MODFL 1
30753 _ACEOF
30759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
30760 $as_echo_n "checking for powl declaration... " >&6; }
30761 if ${glibcxx_cv_func_powl_use+:} false; then :
30762 $as_echo_n "(cached) " >&6
30763 else
30766 ac_ext=c
30767 ac_cpp='$CPP $CPPFLAGS'
30768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30773 /* end confdefs.h. */
30775 #include <math.h>
30776 #ifdef HAVE_IEEEFP_H
30777 # include <ieeefp.h>
30778 #endif
30779 #undef powl
30782 main ()
30785 void (*f)(void) = (void (*)(void))powl;
30788 return 0;
30790 _ACEOF
30791 if ac_fn_c_try_compile "$LINENO"; then :
30792 glibcxx_cv_func_powl_use=yes
30794 else
30795 glibcxx_cv_func_powl_use=no
30797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
30800 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
30801 if test "x$glibcxx_cv_func_powl_use" = xyes; then
30802 cat >>confdefs.h <<_ACEOF
30803 #define HAVE_POWL 1
30804 _ACEOF
30810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl declaration" >&5
30811 $as_echo_n "checking for sinhl declaration... " >&6; }
30812 if ${glibcxx_cv_func_sinhl_use+:} false; then :
30813 $as_echo_n "(cached) " >&6
30814 else
30817 ac_ext=c
30818 ac_cpp='$CPP $CPPFLAGS'
30819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30824 /* end confdefs.h. */
30826 #include <math.h>
30827 #ifdef HAVE_IEEEFP_H
30828 # include <ieeefp.h>
30829 #endif
30830 #undef sinhl
30833 main ()
30836 void (*f)(void) = (void (*)(void))sinhl;
30839 return 0;
30841 _ACEOF
30842 if ac_fn_c_try_compile "$LINENO"; then :
30843 glibcxx_cv_func_sinhl_use=yes
30845 else
30846 glibcxx_cv_func_sinhl_use=no
30848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinhl_use" >&5
30851 $as_echo "$glibcxx_cv_func_sinhl_use" >&6; }
30852 if test "x$glibcxx_cv_func_sinhl_use" = xyes; then
30853 cat >>confdefs.h <<_ACEOF
30854 #define HAVE_SINHL 1
30855 _ACEOF
30861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl declaration" >&5
30862 $as_echo_n "checking for sinl declaration... " >&6; }
30863 if ${glibcxx_cv_func_sinl_use+:} false; then :
30864 $as_echo_n "(cached) " >&6
30865 else
30868 ac_ext=c
30869 ac_cpp='$CPP $CPPFLAGS'
30870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30875 /* end confdefs.h. */
30877 #include <math.h>
30878 #ifdef HAVE_IEEEFP_H
30879 # include <ieeefp.h>
30880 #endif
30881 #undef sinl
30884 main ()
30887 void (*f)(void) = (void (*)(void))sinl;
30890 return 0;
30892 _ACEOF
30893 if ac_fn_c_try_compile "$LINENO"; then :
30894 glibcxx_cv_func_sinl_use=yes
30896 else
30897 glibcxx_cv_func_sinl_use=no
30899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinl_use" >&5
30902 $as_echo "$glibcxx_cv_func_sinl_use" >&6; }
30903 if test "x$glibcxx_cv_func_sinl_use" = xyes; then
30904 cat >>confdefs.h <<_ACEOF
30905 #define HAVE_SINL 1
30906 _ACEOF
30912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
30913 $as_echo_n "checking for sqrtl declaration... " >&6; }
30914 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
30915 $as_echo_n "(cached) " >&6
30916 else
30919 ac_ext=c
30920 ac_cpp='$CPP $CPPFLAGS'
30921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30926 /* end confdefs.h. */
30928 #include <math.h>
30929 #ifdef HAVE_IEEEFP_H
30930 # include <ieeefp.h>
30931 #endif
30932 #undef sqrtl
30935 main ()
30938 void (*f)(void) = (void (*)(void))sqrtl;
30941 return 0;
30943 _ACEOF
30944 if ac_fn_c_try_compile "$LINENO"; then :
30945 glibcxx_cv_func_sqrtl_use=yes
30947 else
30948 glibcxx_cv_func_sqrtl_use=no
30950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
30953 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
30954 if test "x$glibcxx_cv_func_sqrtl_use" = xyes; then
30955 cat >>confdefs.h <<_ACEOF
30956 #define HAVE_SQRTL 1
30957 _ACEOF
30963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl declaration" >&5
30964 $as_echo_n "checking for tanhl declaration... " >&6; }
30965 if ${glibcxx_cv_func_tanhl_use+:} false; then :
30966 $as_echo_n "(cached) " >&6
30967 else
30970 ac_ext=c
30971 ac_cpp='$CPP $CPPFLAGS'
30972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30977 /* end confdefs.h. */
30979 #include <math.h>
30980 #ifdef HAVE_IEEEFP_H
30981 # include <ieeefp.h>
30982 #endif
30983 #undef tanhl
30986 main ()
30989 void (*f)(void) = (void (*)(void))tanhl;
30992 return 0;
30994 _ACEOF
30995 if ac_fn_c_try_compile "$LINENO"; then :
30996 glibcxx_cv_func_tanhl_use=yes
30998 else
30999 glibcxx_cv_func_tanhl_use=no
31001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanhl_use" >&5
31004 $as_echo "$glibcxx_cv_func_tanhl_use" >&6; }
31005 if test "x$glibcxx_cv_func_tanhl_use" = xyes; then
31006 cat >>confdefs.h <<_ACEOF
31007 #define HAVE_TANHL 1
31008 _ACEOF
31014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl declaration" >&5
31015 $as_echo_n "checking for tanl declaration... " >&6; }
31016 if ${glibcxx_cv_func_tanl_use+:} false; then :
31017 $as_echo_n "(cached) " >&6
31018 else
31021 ac_ext=c
31022 ac_cpp='$CPP $CPPFLAGS'
31023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31028 /* end confdefs.h. */
31030 #include <math.h>
31031 #ifdef HAVE_IEEEFP_H
31032 # include <ieeefp.h>
31033 #endif
31034 #undef tanl
31037 main ()
31040 void (*f)(void) = (void (*)(void))tanl;
31043 return 0;
31045 _ACEOF
31046 if ac_fn_c_try_compile "$LINENO"; then :
31047 glibcxx_cv_func_tanl_use=yes
31049 else
31050 glibcxx_cv_func_tanl_use=no
31052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanl_use" >&5
31055 $as_echo "$glibcxx_cv_func_tanl_use" >&6; }
31056 if test "x$glibcxx_cv_func_tanl_use" = xyes; then
31057 cat >>confdefs.h <<_ACEOF
31058 #define HAVE_TANL 1
31059 _ACEOF
31066 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
31068 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
31071 case "${target}" in
31072 *-rtems*)
31073 case "${target}" in
31074 bfin* | lm32* | mips* | moxie* | or1k* | v850*)
31077 $as_echo "#define HAVE_TLS 1" >>confdefs.h
31080 esac
31081 $as_echo "#define HAVE_ALIGNED_ALLOC 1" >>confdefs.h
31083 $as_echo "#define HAVE_AT_QUICK_EXIT 1" >>confdefs.h
31085 $as_echo "#define HAVE_LINK 1" >>confdefs.h
31087 $as_echo "#define HAVE_QUICK_EXIT 1" >>confdefs.h
31089 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
31091 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
31093 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
31095 $as_echo "#define HAVE_SOCKATMARK 1" >>confdefs.h
31097 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
31099 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
31101 $as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
31103 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
31106 esac
31107 elif test "x$with_headers" != "xno"; then
31109 # Base decisions on target environment.
31110 case "${host}" in
31111 arm*-*-symbianelf*)
31112 # This is a freestanding configuration; there is nothing to do here.
31115 avr*-*-*)
31116 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
31118 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
31120 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
31122 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
31124 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
31126 $as_echo "#define HAVE_COSF 1" >>confdefs.h
31128 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
31130 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
31132 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
31134 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
31136 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
31138 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
31140 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
31142 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
31144 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
31146 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
31148 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
31150 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
31152 $as_echo "#define HAVE_POWF 1" >>confdefs.h
31154 $as_echo "#define HAVE_SINF 1" >>confdefs.h
31156 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
31158 $as_echo "#define HAVE_TANF 1" >>confdefs.h
31160 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
31164 mips*-sde-elf*)
31165 # These definitions are for the SDE C library rather than newlib.
31166 SECTION_FLAGS='-ffunction-sections -fdata-sections'
31169 # All these tests are for C++; save the language and the compiler flags.
31170 # The CXXFLAGS thing is suspicious, but based on similar bits previously
31171 # found in GLIBCXX_CONFIGURE.
31173 ac_ext=cpp
31174 ac_cpp='$CXXCPP $CPPFLAGS'
31175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31179 ac_test_CXXFLAGS="${CXXFLAGS+set}"
31180 ac_save_CXXFLAGS="$CXXFLAGS"
31182 # Check for -ffunction-sections -fdata-sections
31183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
31184 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
31185 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
31186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31187 /* end confdefs.h. */
31188 int foo; void bar() { };
31190 main ()
31194 return 0;
31196 _ACEOF
31197 if ac_fn_cxx_try_compile "$LINENO"; then :
31198 ac_fdsections=yes
31199 else
31200 ac_fdsections=no
31202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31203 if test "$ac_test_CXXFLAGS" = set; then
31204 CXXFLAGS="$ac_save_CXXFLAGS"
31205 else
31206 # this is the suspicious part
31207 CXXFLAGS=''
31209 if test x"$ac_fdsections" = x"yes"; then
31210 SECTION_FLAGS='-ffunction-sections -fdata-sections'
31212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
31213 $as_echo "$ac_fdsections" >&6; }
31215 ac_ext=c
31216 ac_cpp='$CPP $CPPFLAGS'
31217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31224 # If we're not using GNU ld, then there's no point in even trying these
31225 # tests. Check for that first. We should have already tested for gld
31226 # by now (in libtool), but require it now just to be safe...
31227 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
31228 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
31232 # The name set by libtool depends on the version of libtool. Shame on us
31233 # for depending on an impl detail, but c'est la vie. Older versions used
31234 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
31235 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
31236 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
31237 # set (hence we're using an older libtool), then set it.
31238 if test x${with_gnu_ld+set} != xset; then
31239 if test x${ac_cv_prog_gnu_ld+set} != xset; then
31240 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
31241 with_gnu_ld=no
31242 else
31243 with_gnu_ld=$ac_cv_prog_gnu_ld
31247 # Start by getting the version number. I think the libtool test already
31248 # does some of this, but throws away the result.
31249 glibcxx_ld_is_gold=no
31250 glibcxx_ld_is_mold=no
31251 if test x"$with_gnu_ld" = x"yes"; then
31252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
31253 $as_echo_n "checking for ld version... " >&6; }
31255 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
31256 glibcxx_ld_is_gold=yes
31257 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
31258 glibcxx_ld_is_mold=yes
31260 ldver=`$LD --version 2>/dev/null |
31261 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
31263 glibcxx_gnu_ld_version=`echo $ldver | \
31264 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
31265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
31266 $as_echo "$glibcxx_gnu_ld_version" >&6; }
31269 # Set --gc-sections.
31270 glibcxx_have_gc_sections=no
31271 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
31272 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
31273 glibcxx_have_gc_sections=yes
31275 else
31276 glibcxx_gcsections_min_ld=21602
31277 if test x"$with_gnu_ld" = x"yes" &&
31278 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
31279 glibcxx_have_gc_sections=yes
31282 if test "$glibcxx_have_gc_sections" = "yes"; then
31283 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
31284 # NB: This flag only works reliably after 2.16.1. Configure tests
31285 # for this are difficult, so hard wire a value that should work.
31287 ac_test_CFLAGS="${CFLAGS+set}"
31288 ac_save_CFLAGS="$CFLAGS"
31289 CFLAGS='-Wl,--gc-sections'
31291 # Check for -Wl,--gc-sections
31292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
31293 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
31294 if test x$gcc_no_link = xyes; then
31295 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
31297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31298 /* end confdefs.h. */
31299 int one(void) { return 1; }
31300 int two(void) { return 2; }
31303 main ()
31305 two();
31307 return 0;
31309 _ACEOF
31310 if ac_fn_c_try_link "$LINENO"; then :
31311 ac_gcsections=yes
31312 else
31313 ac_gcsections=no
31315 rm -f core conftest.err conftest.$ac_objext \
31316 conftest$ac_exeext conftest.$ac_ext
31317 if test "$ac_gcsections" = "yes"; then
31318 rm -f conftest.c
31319 touch conftest.c
31320 if $CC -c conftest.c; then
31321 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
31322 grep "Warning: gc-sections option ignored" > /dev/null; then
31323 ac_gcsections=no
31326 rm -f conftest.c conftest.o conftest
31328 if test "$ac_gcsections" = "yes"; then
31329 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
31331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
31332 $as_echo "$ac_gcsections" >&6; }
31334 if test "$ac_test_CFLAGS" = set; then
31335 CFLAGS="$ac_save_CFLAGS"
31336 else
31337 # this is the suspicious part
31338 CFLAGS=''
31342 # Set -z,relro.
31343 # Note this is only for shared objects.
31344 ac_ld_relro=no
31345 if test x"$with_gnu_ld" = x"yes"; then
31346 # cygwin and mingw uses PE, which has no ELF relro support,
31347 # multi target ld may confuse configure machinery
31348 case "$host" in
31349 *-*-cygwin*)
31351 *-*-mingw*)
31354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
31355 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
31356 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
31357 if test -n "$cxx_z_relo"; then
31358 OPT_LDFLAGS="-Wl,-z,relro"
31359 ac_ld_relro=yes
31361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
31362 $as_echo "$ac_ld_relro" >&6; }
31363 esac
31366 # Set linker optimization flags.
31367 if test x"$with_gnu_ld" = x"yes"; then
31368 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
31375 ac_test_CXXFLAGS="${CXXFLAGS+set}"
31376 ac_save_CXXFLAGS="$CXXFLAGS"
31377 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
31379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
31380 $as_echo_n "checking for sin in -lm... " >&6; }
31381 if ${ac_cv_lib_m_sin+:} false; then :
31382 $as_echo_n "(cached) " >&6
31383 else
31384 ac_check_lib_save_LIBS=$LIBS
31385 LIBS="-lm $LIBS"
31386 if test x$gcc_no_link = xyes; then
31387 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
31389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31390 /* end confdefs.h. */
31392 /* Override any GCC internal prototype to avoid an error.
31393 Use char because int might match the return type of a GCC
31394 builtin and then its argument prototype would still apply. */
31395 #ifdef __cplusplus
31396 extern "C"
31397 #endif
31398 char sin ();
31400 main ()
31402 return sin ();
31404 return 0;
31406 _ACEOF
31407 if ac_fn_c_try_link "$LINENO"; then :
31408 ac_cv_lib_m_sin=yes
31409 else
31410 ac_cv_lib_m_sin=no
31412 rm -f core conftest.err conftest.$ac_objext \
31413 conftest$ac_exeext conftest.$ac_ext
31414 LIBS=$ac_check_lib_save_LIBS
31416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
31417 $as_echo "$ac_cv_lib_m_sin" >&6; }
31418 if test "x$ac_cv_lib_m_sin" = xyes; then :
31419 libm="-lm"
31422 ac_save_LIBS="$LIBS"
31423 LIBS="$LIBS $libm"
31427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
31428 $as_echo_n "checking for isinf declaration... " >&6; }
31429 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
31430 if ${glibcxx_cv_func_isinf_use+:} false; then :
31431 $as_echo_n "(cached) " >&6
31432 else
31435 ac_ext=cpp
31436 ac_cpp='$CXXCPP $CPPFLAGS'
31437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31442 /* end confdefs.h. */
31443 #include <math.h>
31444 #ifdef HAVE_IEEEFP_H
31445 #include <ieeefp.h>
31446 #endif
31449 main ()
31451 isinf(0);
31453 return 0;
31455 _ACEOF
31456 if ac_fn_cxx_try_compile "$LINENO"; then :
31457 glibcxx_cv_func_isinf_use=yes
31458 else
31459 glibcxx_cv_func_isinf_use=no
31461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31462 ac_ext=c
31463 ac_cpp='$CPP $CPPFLAGS'
31464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
31473 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
31475 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
31476 for ac_func in isinf
31477 do :
31478 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
31479 if test "x$ac_cv_func_isinf" = xyes; then :
31480 cat >>confdefs.h <<_ACEOF
31481 #define HAVE_ISINF 1
31482 _ACEOF
31485 done
31487 else
31489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
31490 $as_echo_n "checking for _isinf declaration... " >&6; }
31491 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
31492 if ${glibcxx_cv_func__isinf_use+:} false; then :
31493 $as_echo_n "(cached) " >&6
31494 else
31497 ac_ext=cpp
31498 ac_cpp='$CXXCPP $CPPFLAGS'
31499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31504 /* end confdefs.h. */
31505 #include <math.h>
31506 #ifdef HAVE_IEEEFP_H
31507 #include <ieeefp.h>
31508 #endif
31511 main ()
31513 _isinf(0);
31515 return 0;
31517 _ACEOF
31518 if ac_fn_cxx_try_compile "$LINENO"; then :
31519 glibcxx_cv_func__isinf_use=yes
31520 else
31521 glibcxx_cv_func__isinf_use=no
31523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31524 ac_ext=c
31525 ac_cpp='$CPP $CPPFLAGS'
31526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
31535 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
31537 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
31538 for ac_func in _isinf
31539 do :
31540 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
31541 if test "x$ac_cv_func__isinf" = xyes; then :
31542 cat >>confdefs.h <<_ACEOF
31543 #define HAVE__ISINF 1
31544 _ACEOF
31547 done
31556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
31557 $as_echo_n "checking for isnan declaration... " >&6; }
31558 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
31559 if ${glibcxx_cv_func_isnan_use+:} false; then :
31560 $as_echo_n "(cached) " >&6
31561 else
31564 ac_ext=cpp
31565 ac_cpp='$CXXCPP $CPPFLAGS'
31566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31571 /* end confdefs.h. */
31572 #include <math.h>
31573 #ifdef HAVE_IEEEFP_H
31574 #include <ieeefp.h>
31575 #endif
31578 main ()
31580 isnan(0);
31582 return 0;
31584 _ACEOF
31585 if ac_fn_cxx_try_compile "$LINENO"; then :
31586 glibcxx_cv_func_isnan_use=yes
31587 else
31588 glibcxx_cv_func_isnan_use=no
31590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31591 ac_ext=c
31592 ac_cpp='$CPP $CPPFLAGS'
31593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
31602 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
31604 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
31605 for ac_func in isnan
31606 do :
31607 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
31608 if test "x$ac_cv_func_isnan" = xyes; then :
31609 cat >>confdefs.h <<_ACEOF
31610 #define HAVE_ISNAN 1
31611 _ACEOF
31614 done
31616 else
31618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
31619 $as_echo_n "checking for _isnan declaration... " >&6; }
31620 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
31621 if ${glibcxx_cv_func__isnan_use+:} false; then :
31622 $as_echo_n "(cached) " >&6
31623 else
31626 ac_ext=cpp
31627 ac_cpp='$CXXCPP $CPPFLAGS'
31628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31633 /* end confdefs.h. */
31634 #include <math.h>
31635 #ifdef HAVE_IEEEFP_H
31636 #include <ieeefp.h>
31637 #endif
31640 main ()
31642 _isnan(0);
31644 return 0;
31646 _ACEOF
31647 if ac_fn_cxx_try_compile "$LINENO"; then :
31648 glibcxx_cv_func__isnan_use=yes
31649 else
31650 glibcxx_cv_func__isnan_use=no
31652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31653 ac_ext=c
31654 ac_cpp='$CPP $CPPFLAGS'
31655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
31664 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
31666 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
31667 for ac_func in _isnan
31668 do :
31669 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
31670 if test "x$ac_cv_func__isnan" = xyes; then :
31671 cat >>confdefs.h <<_ACEOF
31672 #define HAVE__ISNAN 1
31673 _ACEOF
31676 done
31685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
31686 $as_echo_n "checking for finite declaration... " >&6; }
31687 if test x${glibcxx_cv_func_finite_use+set} != xset; then
31688 if ${glibcxx_cv_func_finite_use+:} false; then :
31689 $as_echo_n "(cached) " >&6
31690 else
31693 ac_ext=cpp
31694 ac_cpp='$CXXCPP $CPPFLAGS'
31695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31700 /* end confdefs.h. */
31701 #include <math.h>
31702 #ifdef HAVE_IEEEFP_H
31703 #include <ieeefp.h>
31704 #endif
31707 main ()
31709 finite(0);
31711 return 0;
31713 _ACEOF
31714 if ac_fn_cxx_try_compile "$LINENO"; then :
31715 glibcxx_cv_func_finite_use=yes
31716 else
31717 glibcxx_cv_func_finite_use=no
31719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31720 ac_ext=c
31721 ac_cpp='$CPP $CPPFLAGS'
31722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
31731 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
31733 if test x$glibcxx_cv_func_finite_use = x"yes"; then
31734 for ac_func in finite
31735 do :
31736 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
31737 if test "x$ac_cv_func_finite" = xyes; then :
31738 cat >>confdefs.h <<_ACEOF
31739 #define HAVE_FINITE 1
31740 _ACEOF
31743 done
31745 else
31747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
31748 $as_echo_n "checking for _finite declaration... " >&6; }
31749 if test x${glibcxx_cv_func__finite_use+set} != xset; then
31750 if ${glibcxx_cv_func__finite_use+:} false; then :
31751 $as_echo_n "(cached) " >&6
31752 else
31755 ac_ext=cpp
31756 ac_cpp='$CXXCPP $CPPFLAGS'
31757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31762 /* end confdefs.h. */
31763 #include <math.h>
31764 #ifdef HAVE_IEEEFP_H
31765 #include <ieeefp.h>
31766 #endif
31769 main ()
31771 _finite(0);
31773 return 0;
31775 _ACEOF
31776 if ac_fn_cxx_try_compile "$LINENO"; then :
31777 glibcxx_cv_func__finite_use=yes
31778 else
31779 glibcxx_cv_func__finite_use=no
31781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31782 ac_ext=c
31783 ac_cpp='$CPP $CPPFLAGS'
31784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
31793 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
31795 if test x$glibcxx_cv_func__finite_use = x"yes"; then
31796 for ac_func in _finite
31797 do :
31798 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
31799 if test "x$ac_cv_func__finite" = xyes; then :
31800 cat >>confdefs.h <<_ACEOF
31801 #define HAVE__FINITE 1
31802 _ACEOF
31805 done
31814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
31815 $as_echo_n "checking for sincos declaration... " >&6; }
31816 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
31817 if ${glibcxx_cv_func_sincos_use+:} false; then :
31818 $as_echo_n "(cached) " >&6
31819 else
31822 ac_ext=cpp
31823 ac_cpp='$CXXCPP $CPPFLAGS'
31824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31829 /* end confdefs.h. */
31830 #include <math.h>
31832 main ()
31834 sincos(0, 0, 0);
31836 return 0;
31838 _ACEOF
31839 if ac_fn_cxx_try_compile "$LINENO"; then :
31840 glibcxx_cv_func_sincos_use=yes
31841 else
31842 glibcxx_cv_func_sincos_use=no
31844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31845 ac_ext=c
31846 ac_cpp='$CPP $CPPFLAGS'
31847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
31856 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
31858 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
31859 for ac_func in sincos
31860 do :
31861 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
31862 if test "x$ac_cv_func_sincos" = xyes; then :
31863 cat >>confdefs.h <<_ACEOF
31864 #define HAVE_SINCOS 1
31865 _ACEOF
31868 done
31870 else
31872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
31873 $as_echo_n "checking for _sincos declaration... " >&6; }
31874 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
31875 if ${glibcxx_cv_func__sincos_use+:} false; then :
31876 $as_echo_n "(cached) " >&6
31877 else
31880 ac_ext=cpp
31881 ac_cpp='$CXXCPP $CPPFLAGS'
31882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31887 /* end confdefs.h. */
31888 #include <math.h>
31890 main ()
31892 _sincos(0, 0, 0);
31894 return 0;
31896 _ACEOF
31897 if ac_fn_cxx_try_compile "$LINENO"; then :
31898 glibcxx_cv_func__sincos_use=yes
31899 else
31900 glibcxx_cv_func__sincos_use=no
31902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31903 ac_ext=c
31904 ac_cpp='$CPP $CPPFLAGS'
31905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
31914 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
31916 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
31917 for ac_func in _sincos
31918 do :
31919 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
31920 if test "x$ac_cv_func__sincos" = xyes; then :
31921 cat >>confdefs.h <<_ACEOF
31922 #define HAVE__SINCOS 1
31923 _ACEOF
31926 done
31935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
31936 $as_echo_n "checking for fpclass declaration... " >&6; }
31937 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
31938 if ${glibcxx_cv_func_fpclass_use+:} false; then :
31939 $as_echo_n "(cached) " >&6
31940 else
31943 ac_ext=cpp
31944 ac_cpp='$CXXCPP $CPPFLAGS'
31945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31950 /* end confdefs.h. */
31951 #include <math.h>
31952 #ifdef HAVE_IEEEFP_H
31953 #include <ieeefp.h>
31954 #endif
31957 main ()
31959 fpclass(0);
31961 return 0;
31963 _ACEOF
31964 if ac_fn_cxx_try_compile "$LINENO"; then :
31965 glibcxx_cv_func_fpclass_use=yes
31966 else
31967 glibcxx_cv_func_fpclass_use=no
31969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31970 ac_ext=c
31971 ac_cpp='$CPP $CPPFLAGS'
31972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
31981 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
31983 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
31984 for ac_func in fpclass
31985 do :
31986 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
31987 if test "x$ac_cv_func_fpclass" = xyes; then :
31988 cat >>confdefs.h <<_ACEOF
31989 #define HAVE_FPCLASS 1
31990 _ACEOF
31993 done
31995 else
31997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
31998 $as_echo_n "checking for _fpclass declaration... " >&6; }
31999 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
32000 if ${glibcxx_cv_func__fpclass_use+:} false; then :
32001 $as_echo_n "(cached) " >&6
32002 else
32005 ac_ext=cpp
32006 ac_cpp='$CXXCPP $CPPFLAGS'
32007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32012 /* end confdefs.h. */
32013 #include <math.h>
32014 #ifdef HAVE_IEEEFP_H
32015 #include <ieeefp.h>
32016 #endif
32019 main ()
32021 _fpclass(0);
32023 return 0;
32025 _ACEOF
32026 if ac_fn_cxx_try_compile "$LINENO"; then :
32027 glibcxx_cv_func__fpclass_use=yes
32028 else
32029 glibcxx_cv_func__fpclass_use=no
32031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32032 ac_ext=c
32033 ac_cpp='$CPP $CPPFLAGS'
32034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
32043 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
32045 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
32046 for ac_func in _fpclass
32047 do :
32048 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
32049 if test "x$ac_cv_func__fpclass" = xyes; then :
32050 cat >>confdefs.h <<_ACEOF
32051 #define HAVE__FPCLASS 1
32052 _ACEOF
32055 done
32064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
32065 $as_echo_n "checking for qfpclass declaration... " >&6; }
32066 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
32067 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
32068 $as_echo_n "(cached) " >&6
32069 else
32072 ac_ext=cpp
32073 ac_cpp='$CXXCPP $CPPFLAGS'
32074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32079 /* end confdefs.h. */
32080 #include <math.h>
32081 #ifdef HAVE_IEEEFP_H
32082 #include <ieeefp.h>
32083 #endif
32086 main ()
32088 qfpclass(0);
32090 return 0;
32092 _ACEOF
32093 if ac_fn_cxx_try_compile "$LINENO"; then :
32094 glibcxx_cv_func_qfpclass_use=yes
32095 else
32096 glibcxx_cv_func_qfpclass_use=no
32098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32099 ac_ext=c
32100 ac_cpp='$CPP $CPPFLAGS'
32101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
32110 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
32112 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
32113 for ac_func in qfpclass
32114 do :
32115 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
32116 if test "x$ac_cv_func_qfpclass" = xyes; then :
32117 cat >>confdefs.h <<_ACEOF
32118 #define HAVE_QFPCLASS 1
32119 _ACEOF
32122 done
32124 else
32126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
32127 $as_echo_n "checking for _qfpclass declaration... " >&6; }
32128 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
32129 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
32130 $as_echo_n "(cached) " >&6
32131 else
32134 ac_ext=cpp
32135 ac_cpp='$CXXCPP $CPPFLAGS'
32136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32141 /* end confdefs.h. */
32142 #include <math.h>
32143 #ifdef HAVE_IEEEFP_H
32144 #include <ieeefp.h>
32145 #endif
32148 main ()
32150 _qfpclass(0);
32152 return 0;
32154 _ACEOF
32155 if ac_fn_cxx_try_compile "$LINENO"; then :
32156 glibcxx_cv_func__qfpclass_use=yes
32157 else
32158 glibcxx_cv_func__qfpclass_use=no
32160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32161 ac_ext=c
32162 ac_cpp='$CPP $CPPFLAGS'
32163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
32172 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
32174 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
32175 for ac_func in _qfpclass
32176 do :
32177 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
32178 if test "x$ac_cv_func__qfpclass" = xyes; then :
32179 cat >>confdefs.h <<_ACEOF
32180 #define HAVE__QFPCLASS 1
32181 _ACEOF
32184 done
32193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
32194 $as_echo_n "checking for hypot declaration... " >&6; }
32195 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
32196 if ${glibcxx_cv_func_hypot_use+:} false; then :
32197 $as_echo_n "(cached) " >&6
32198 else
32201 ac_ext=cpp
32202 ac_cpp='$CXXCPP $CPPFLAGS'
32203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32208 /* end confdefs.h. */
32209 #include <math.h>
32211 main ()
32213 hypot(0, 0);
32215 return 0;
32217 _ACEOF
32218 if ac_fn_cxx_try_compile "$LINENO"; then :
32219 glibcxx_cv_func_hypot_use=yes
32220 else
32221 glibcxx_cv_func_hypot_use=no
32223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32224 ac_ext=c
32225 ac_cpp='$CPP $CPPFLAGS'
32226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
32235 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
32237 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
32238 for ac_func in hypot
32239 do :
32240 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
32241 if test "x$ac_cv_func_hypot" = xyes; then :
32242 cat >>confdefs.h <<_ACEOF
32243 #define HAVE_HYPOT 1
32244 _ACEOF
32247 done
32249 else
32251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
32252 $as_echo_n "checking for _hypot declaration... " >&6; }
32253 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
32254 if ${glibcxx_cv_func__hypot_use+:} false; then :
32255 $as_echo_n "(cached) " >&6
32256 else
32259 ac_ext=cpp
32260 ac_cpp='$CXXCPP $CPPFLAGS'
32261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32266 /* end confdefs.h. */
32267 #include <math.h>
32269 main ()
32271 _hypot(0, 0);
32273 return 0;
32275 _ACEOF
32276 if ac_fn_cxx_try_compile "$LINENO"; then :
32277 glibcxx_cv_func__hypot_use=yes
32278 else
32279 glibcxx_cv_func__hypot_use=no
32281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32282 ac_ext=c
32283 ac_cpp='$CPP $CPPFLAGS'
32284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
32293 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
32295 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
32296 for ac_func in _hypot
32297 do :
32298 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
32299 if test "x$ac_cv_func__hypot" = xyes; then :
32300 cat >>confdefs.h <<_ACEOF
32301 #define HAVE__HYPOT 1
32302 _ACEOF
32305 done
32314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
32315 $as_echo_n "checking for float trig functions... " >&6; }
32316 if ${glibcxx_cv_func_float_trig_use+:} false; then :
32317 $as_echo_n "(cached) " >&6
32318 else
32321 ac_ext=cpp
32322 ac_cpp='$CXXCPP $CPPFLAGS'
32323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32328 /* end confdefs.h. */
32329 #include <math.h>
32331 main ()
32333 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
32335 return 0;
32337 _ACEOF
32338 if ac_fn_cxx_try_compile "$LINENO"; then :
32339 glibcxx_cv_func_float_trig_use=yes
32340 else
32341 glibcxx_cv_func_float_trig_use=no
32343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32344 ac_ext=c
32345 ac_cpp='$CPP $CPPFLAGS'
32346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
32353 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
32354 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
32355 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
32356 do :
32357 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32358 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32359 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32360 cat >>confdefs.h <<_ACEOF
32361 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32362 _ACEOF
32365 done
32367 else
32368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
32369 $as_echo_n "checking for _float trig functions... " >&6; }
32370 if ${glibcxx_cv_func__float_trig_use+:} false; then :
32371 $as_echo_n "(cached) " >&6
32372 else
32375 ac_ext=cpp
32376 ac_cpp='$CXXCPP $CPPFLAGS'
32377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32382 /* end confdefs.h. */
32383 #include <math.h>
32385 main ()
32387 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
32389 return 0;
32391 _ACEOF
32392 if ac_fn_cxx_try_compile "$LINENO"; then :
32393 glibcxx_cv_func__float_trig_use=yes
32394 else
32395 glibcxx_cv_func__float_trig_use=no
32397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32398 ac_ext=c
32399 ac_cpp='$CPP $CPPFLAGS'
32400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
32407 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
32408 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
32409 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
32410 do :
32411 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32412 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32413 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32414 cat >>confdefs.h <<_ACEOF
32415 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32416 _ACEOF
32419 done
32428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
32429 $as_echo_n "checking for float round functions... " >&6; }
32430 if ${glibcxx_cv_func_float_round_use+:} false; then :
32431 $as_echo_n "(cached) " >&6
32432 else
32435 ac_ext=cpp
32436 ac_cpp='$CXXCPP $CPPFLAGS'
32437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32442 /* end confdefs.h. */
32443 #include <math.h>
32445 main ()
32447 ceilf (0); floorf (0);
32449 return 0;
32451 _ACEOF
32452 if ac_fn_cxx_try_compile "$LINENO"; then :
32453 glibcxx_cv_func_float_round_use=yes
32454 else
32455 glibcxx_cv_func_float_round_use=no
32457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32458 ac_ext=c
32459 ac_cpp='$CPP $CPPFLAGS'
32460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
32467 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
32468 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
32469 for ac_func in ceilf floorf
32470 do :
32471 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32472 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32473 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32474 cat >>confdefs.h <<_ACEOF
32475 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32476 _ACEOF
32479 done
32481 else
32482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
32483 $as_echo_n "checking for _float round functions... " >&6; }
32484 if ${glibcxx_cv_func__float_round_use+:} false; then :
32485 $as_echo_n "(cached) " >&6
32486 else
32489 ac_ext=cpp
32490 ac_cpp='$CXXCPP $CPPFLAGS'
32491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32496 /* end confdefs.h. */
32497 #include <math.h>
32499 main ()
32501 _ceilf (0); _floorf (0);
32503 return 0;
32505 _ACEOF
32506 if ac_fn_cxx_try_compile "$LINENO"; then :
32507 glibcxx_cv_func__float_round_use=yes
32508 else
32509 glibcxx_cv_func__float_round_use=no
32511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32512 ac_ext=c
32513 ac_cpp='$CPP $CPPFLAGS'
32514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
32521 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
32522 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
32523 for ac_func in _ceilf _floorf
32524 do :
32525 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32526 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32527 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32528 cat >>confdefs.h <<_ACEOF
32529 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32530 _ACEOF
32533 done
32543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
32544 $as_echo_n "checking for expf declaration... " >&6; }
32545 if test x${glibcxx_cv_func_expf_use+set} != xset; then
32546 if ${glibcxx_cv_func_expf_use+:} false; then :
32547 $as_echo_n "(cached) " >&6
32548 else
32551 ac_ext=cpp
32552 ac_cpp='$CXXCPP $CPPFLAGS'
32553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32558 /* end confdefs.h. */
32559 #include <math.h>
32560 #ifdef HAVE_IEEEFP_H
32561 #include <ieeefp.h>
32562 #endif
32565 main ()
32567 expf(0);
32569 return 0;
32571 _ACEOF
32572 if ac_fn_cxx_try_compile "$LINENO"; then :
32573 glibcxx_cv_func_expf_use=yes
32574 else
32575 glibcxx_cv_func_expf_use=no
32577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32578 ac_ext=c
32579 ac_cpp='$CPP $CPPFLAGS'
32580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
32589 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
32591 if test x$glibcxx_cv_func_expf_use = x"yes"; then
32592 for ac_func in expf
32593 do :
32594 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
32595 if test "x$ac_cv_func_expf" = xyes; then :
32596 cat >>confdefs.h <<_ACEOF
32597 #define HAVE_EXPF 1
32598 _ACEOF
32601 done
32603 else
32605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
32606 $as_echo_n "checking for _expf declaration... " >&6; }
32607 if test x${glibcxx_cv_func__expf_use+set} != xset; then
32608 if ${glibcxx_cv_func__expf_use+:} false; then :
32609 $as_echo_n "(cached) " >&6
32610 else
32613 ac_ext=cpp
32614 ac_cpp='$CXXCPP $CPPFLAGS'
32615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32620 /* end confdefs.h. */
32621 #include <math.h>
32622 #ifdef HAVE_IEEEFP_H
32623 #include <ieeefp.h>
32624 #endif
32627 main ()
32629 _expf(0);
32631 return 0;
32633 _ACEOF
32634 if ac_fn_cxx_try_compile "$LINENO"; then :
32635 glibcxx_cv_func__expf_use=yes
32636 else
32637 glibcxx_cv_func__expf_use=no
32639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32640 ac_ext=c
32641 ac_cpp='$CPP $CPPFLAGS'
32642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
32651 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
32653 if test x$glibcxx_cv_func__expf_use = x"yes"; then
32654 for ac_func in _expf
32655 do :
32656 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
32657 if test "x$ac_cv_func__expf" = xyes; then :
32658 cat >>confdefs.h <<_ACEOF
32659 #define HAVE__EXPF 1
32660 _ACEOF
32663 done
32672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
32673 $as_echo_n "checking for isnanf declaration... " >&6; }
32674 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
32675 if ${glibcxx_cv_func_isnanf_use+:} false; then :
32676 $as_echo_n "(cached) " >&6
32677 else
32680 ac_ext=cpp
32681 ac_cpp='$CXXCPP $CPPFLAGS'
32682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32687 /* end confdefs.h. */
32688 #include <math.h>
32689 #ifdef HAVE_IEEEFP_H
32690 #include <ieeefp.h>
32691 #endif
32694 main ()
32696 isnanf(0);
32698 return 0;
32700 _ACEOF
32701 if ac_fn_cxx_try_compile "$LINENO"; then :
32702 glibcxx_cv_func_isnanf_use=yes
32703 else
32704 glibcxx_cv_func_isnanf_use=no
32706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32707 ac_ext=c
32708 ac_cpp='$CPP $CPPFLAGS'
32709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
32718 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
32720 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
32721 for ac_func in isnanf
32722 do :
32723 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
32724 if test "x$ac_cv_func_isnanf" = xyes; then :
32725 cat >>confdefs.h <<_ACEOF
32726 #define HAVE_ISNANF 1
32727 _ACEOF
32730 done
32732 else
32734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
32735 $as_echo_n "checking for _isnanf declaration... " >&6; }
32736 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
32737 if ${glibcxx_cv_func__isnanf_use+:} false; then :
32738 $as_echo_n "(cached) " >&6
32739 else
32742 ac_ext=cpp
32743 ac_cpp='$CXXCPP $CPPFLAGS'
32744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32749 /* end confdefs.h. */
32750 #include <math.h>
32751 #ifdef HAVE_IEEEFP_H
32752 #include <ieeefp.h>
32753 #endif
32756 main ()
32758 _isnanf(0);
32760 return 0;
32762 _ACEOF
32763 if ac_fn_cxx_try_compile "$LINENO"; then :
32764 glibcxx_cv_func__isnanf_use=yes
32765 else
32766 glibcxx_cv_func__isnanf_use=no
32768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32769 ac_ext=c
32770 ac_cpp='$CPP $CPPFLAGS'
32771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
32780 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
32782 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
32783 for ac_func in _isnanf
32784 do :
32785 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
32786 if test "x$ac_cv_func__isnanf" = xyes; then :
32787 cat >>confdefs.h <<_ACEOF
32788 #define HAVE__ISNANF 1
32789 _ACEOF
32792 done
32801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
32802 $as_echo_n "checking for isinff declaration... " >&6; }
32803 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
32804 if ${glibcxx_cv_func_isinff_use+:} false; then :
32805 $as_echo_n "(cached) " >&6
32806 else
32809 ac_ext=cpp
32810 ac_cpp='$CXXCPP $CPPFLAGS'
32811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32816 /* end confdefs.h. */
32817 #include <math.h>
32818 #ifdef HAVE_IEEEFP_H
32819 #include <ieeefp.h>
32820 #endif
32823 main ()
32825 isinff(0);
32827 return 0;
32829 _ACEOF
32830 if ac_fn_cxx_try_compile "$LINENO"; then :
32831 glibcxx_cv_func_isinff_use=yes
32832 else
32833 glibcxx_cv_func_isinff_use=no
32835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32836 ac_ext=c
32837 ac_cpp='$CPP $CPPFLAGS'
32838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
32847 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
32849 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
32850 for ac_func in isinff
32851 do :
32852 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
32853 if test "x$ac_cv_func_isinff" = xyes; then :
32854 cat >>confdefs.h <<_ACEOF
32855 #define HAVE_ISINFF 1
32856 _ACEOF
32859 done
32861 else
32863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
32864 $as_echo_n "checking for _isinff declaration... " >&6; }
32865 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
32866 if ${glibcxx_cv_func__isinff_use+:} false; then :
32867 $as_echo_n "(cached) " >&6
32868 else
32871 ac_ext=cpp
32872 ac_cpp='$CXXCPP $CPPFLAGS'
32873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32878 /* end confdefs.h. */
32879 #include <math.h>
32880 #ifdef HAVE_IEEEFP_H
32881 #include <ieeefp.h>
32882 #endif
32885 main ()
32887 _isinff(0);
32889 return 0;
32891 _ACEOF
32892 if ac_fn_cxx_try_compile "$LINENO"; then :
32893 glibcxx_cv_func__isinff_use=yes
32894 else
32895 glibcxx_cv_func__isinff_use=no
32897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32898 ac_ext=c
32899 ac_cpp='$CPP $CPPFLAGS'
32900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
32909 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
32911 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
32912 for ac_func in _isinff
32913 do :
32914 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
32915 if test "x$ac_cv_func__isinff" = xyes; then :
32916 cat >>confdefs.h <<_ACEOF
32917 #define HAVE__ISINFF 1
32918 _ACEOF
32921 done
32930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
32931 $as_echo_n "checking for atan2f declaration... " >&6; }
32932 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
32933 if ${glibcxx_cv_func_atan2f_use+:} false; then :
32934 $as_echo_n "(cached) " >&6
32935 else
32938 ac_ext=cpp
32939 ac_cpp='$CXXCPP $CPPFLAGS'
32940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32945 /* end confdefs.h. */
32946 #include <math.h>
32948 main ()
32950 atan2f(0, 0);
32952 return 0;
32954 _ACEOF
32955 if ac_fn_cxx_try_compile "$LINENO"; then :
32956 glibcxx_cv_func_atan2f_use=yes
32957 else
32958 glibcxx_cv_func_atan2f_use=no
32960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32961 ac_ext=c
32962 ac_cpp='$CPP $CPPFLAGS'
32963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
32972 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
32974 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
32975 for ac_func in atan2f
32976 do :
32977 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
32978 if test "x$ac_cv_func_atan2f" = xyes; then :
32979 cat >>confdefs.h <<_ACEOF
32980 #define HAVE_ATAN2F 1
32981 _ACEOF
32984 done
32986 else
32988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
32989 $as_echo_n "checking for _atan2f declaration... " >&6; }
32990 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
32991 if ${glibcxx_cv_func__atan2f_use+:} false; then :
32992 $as_echo_n "(cached) " >&6
32993 else
32996 ac_ext=cpp
32997 ac_cpp='$CXXCPP $CPPFLAGS'
32998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33003 /* end confdefs.h. */
33004 #include <math.h>
33006 main ()
33008 _atan2f(0, 0);
33010 return 0;
33012 _ACEOF
33013 if ac_fn_cxx_try_compile "$LINENO"; then :
33014 glibcxx_cv_func__atan2f_use=yes
33015 else
33016 glibcxx_cv_func__atan2f_use=no
33018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33019 ac_ext=c
33020 ac_cpp='$CPP $CPPFLAGS'
33021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
33030 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
33032 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
33033 for ac_func in _atan2f
33034 do :
33035 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
33036 if test "x$ac_cv_func__atan2f" = xyes; then :
33037 cat >>confdefs.h <<_ACEOF
33038 #define HAVE__ATAN2F 1
33039 _ACEOF
33042 done
33051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
33052 $as_echo_n "checking for fabsf declaration... " >&6; }
33053 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
33054 if ${glibcxx_cv_func_fabsf_use+:} false; then :
33055 $as_echo_n "(cached) " >&6
33056 else
33059 ac_ext=cpp
33060 ac_cpp='$CXXCPP $CPPFLAGS'
33061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33066 /* end confdefs.h. */
33067 #include <math.h>
33068 #ifdef HAVE_IEEEFP_H
33069 #include <ieeefp.h>
33070 #endif
33073 main ()
33075 fabsf(0);
33077 return 0;
33079 _ACEOF
33080 if ac_fn_cxx_try_compile "$LINENO"; then :
33081 glibcxx_cv_func_fabsf_use=yes
33082 else
33083 glibcxx_cv_func_fabsf_use=no
33085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33086 ac_ext=c
33087 ac_cpp='$CPP $CPPFLAGS'
33088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
33097 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
33099 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
33100 for ac_func in fabsf
33101 do :
33102 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
33103 if test "x$ac_cv_func_fabsf" = xyes; then :
33104 cat >>confdefs.h <<_ACEOF
33105 #define HAVE_FABSF 1
33106 _ACEOF
33109 done
33111 else
33113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
33114 $as_echo_n "checking for _fabsf declaration... " >&6; }
33115 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
33116 if ${glibcxx_cv_func__fabsf_use+:} false; then :
33117 $as_echo_n "(cached) " >&6
33118 else
33121 ac_ext=cpp
33122 ac_cpp='$CXXCPP $CPPFLAGS'
33123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33128 /* end confdefs.h. */
33129 #include <math.h>
33130 #ifdef HAVE_IEEEFP_H
33131 #include <ieeefp.h>
33132 #endif
33135 main ()
33137 _fabsf(0);
33139 return 0;
33141 _ACEOF
33142 if ac_fn_cxx_try_compile "$LINENO"; then :
33143 glibcxx_cv_func__fabsf_use=yes
33144 else
33145 glibcxx_cv_func__fabsf_use=no
33147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33148 ac_ext=c
33149 ac_cpp='$CPP $CPPFLAGS'
33150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
33159 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
33161 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
33162 for ac_func in _fabsf
33163 do :
33164 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
33165 if test "x$ac_cv_func__fabsf" = xyes; then :
33166 cat >>confdefs.h <<_ACEOF
33167 #define HAVE__FABSF 1
33168 _ACEOF
33171 done
33180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
33181 $as_echo_n "checking for fmodf declaration... " >&6; }
33182 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
33183 if ${glibcxx_cv_func_fmodf_use+:} false; then :
33184 $as_echo_n "(cached) " >&6
33185 else
33188 ac_ext=cpp
33189 ac_cpp='$CXXCPP $CPPFLAGS'
33190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33195 /* end confdefs.h. */
33196 #include <math.h>
33198 main ()
33200 fmodf(0, 0);
33202 return 0;
33204 _ACEOF
33205 if ac_fn_cxx_try_compile "$LINENO"; then :
33206 glibcxx_cv_func_fmodf_use=yes
33207 else
33208 glibcxx_cv_func_fmodf_use=no
33210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33211 ac_ext=c
33212 ac_cpp='$CPP $CPPFLAGS'
33213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
33222 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
33224 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
33225 for ac_func in fmodf
33226 do :
33227 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
33228 if test "x$ac_cv_func_fmodf" = xyes; then :
33229 cat >>confdefs.h <<_ACEOF
33230 #define HAVE_FMODF 1
33231 _ACEOF
33234 done
33236 else
33238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
33239 $as_echo_n "checking for _fmodf declaration... " >&6; }
33240 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
33241 if ${glibcxx_cv_func__fmodf_use+:} false; then :
33242 $as_echo_n "(cached) " >&6
33243 else
33246 ac_ext=cpp
33247 ac_cpp='$CXXCPP $CPPFLAGS'
33248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33253 /* end confdefs.h. */
33254 #include <math.h>
33256 main ()
33258 _fmodf(0, 0);
33260 return 0;
33262 _ACEOF
33263 if ac_fn_cxx_try_compile "$LINENO"; then :
33264 glibcxx_cv_func__fmodf_use=yes
33265 else
33266 glibcxx_cv_func__fmodf_use=no
33268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33269 ac_ext=c
33270 ac_cpp='$CPP $CPPFLAGS'
33271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
33280 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
33282 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
33283 for ac_func in _fmodf
33284 do :
33285 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
33286 if test "x$ac_cv_func__fmodf" = xyes; then :
33287 cat >>confdefs.h <<_ACEOF
33288 #define HAVE__FMODF 1
33289 _ACEOF
33292 done
33301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
33302 $as_echo_n "checking for frexpf declaration... " >&6; }
33303 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
33304 if ${glibcxx_cv_func_frexpf_use+:} false; then :
33305 $as_echo_n "(cached) " >&6
33306 else
33309 ac_ext=cpp
33310 ac_cpp='$CXXCPP $CPPFLAGS'
33311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33316 /* end confdefs.h. */
33317 #include <math.h>
33319 main ()
33321 frexpf(0, 0);
33323 return 0;
33325 _ACEOF
33326 if ac_fn_cxx_try_compile "$LINENO"; then :
33327 glibcxx_cv_func_frexpf_use=yes
33328 else
33329 glibcxx_cv_func_frexpf_use=no
33331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33332 ac_ext=c
33333 ac_cpp='$CPP $CPPFLAGS'
33334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
33343 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
33345 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
33346 for ac_func in frexpf
33347 do :
33348 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
33349 if test "x$ac_cv_func_frexpf" = xyes; then :
33350 cat >>confdefs.h <<_ACEOF
33351 #define HAVE_FREXPF 1
33352 _ACEOF
33355 done
33357 else
33359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
33360 $as_echo_n "checking for _frexpf declaration... " >&6; }
33361 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
33362 if ${glibcxx_cv_func__frexpf_use+:} false; then :
33363 $as_echo_n "(cached) " >&6
33364 else
33367 ac_ext=cpp
33368 ac_cpp='$CXXCPP $CPPFLAGS'
33369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33374 /* end confdefs.h. */
33375 #include <math.h>
33377 main ()
33379 _frexpf(0, 0);
33381 return 0;
33383 _ACEOF
33384 if ac_fn_cxx_try_compile "$LINENO"; then :
33385 glibcxx_cv_func__frexpf_use=yes
33386 else
33387 glibcxx_cv_func__frexpf_use=no
33389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33390 ac_ext=c
33391 ac_cpp='$CPP $CPPFLAGS'
33392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
33401 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
33403 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
33404 for ac_func in _frexpf
33405 do :
33406 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
33407 if test "x$ac_cv_func__frexpf" = xyes; then :
33408 cat >>confdefs.h <<_ACEOF
33409 #define HAVE__FREXPF 1
33410 _ACEOF
33413 done
33422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
33423 $as_echo_n "checking for hypotf declaration... " >&6; }
33424 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
33425 if ${glibcxx_cv_func_hypotf_use+:} false; then :
33426 $as_echo_n "(cached) " >&6
33427 else
33430 ac_ext=cpp
33431 ac_cpp='$CXXCPP $CPPFLAGS'
33432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33437 /* end confdefs.h. */
33438 #include <math.h>
33440 main ()
33442 hypotf(0, 0);
33444 return 0;
33446 _ACEOF
33447 if ac_fn_cxx_try_compile "$LINENO"; then :
33448 glibcxx_cv_func_hypotf_use=yes
33449 else
33450 glibcxx_cv_func_hypotf_use=no
33452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33453 ac_ext=c
33454 ac_cpp='$CPP $CPPFLAGS'
33455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
33464 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
33466 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
33467 for ac_func in hypotf
33468 do :
33469 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
33470 if test "x$ac_cv_func_hypotf" = xyes; then :
33471 cat >>confdefs.h <<_ACEOF
33472 #define HAVE_HYPOTF 1
33473 _ACEOF
33476 done
33478 else
33480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
33481 $as_echo_n "checking for _hypotf declaration... " >&6; }
33482 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
33483 if ${glibcxx_cv_func__hypotf_use+:} false; then :
33484 $as_echo_n "(cached) " >&6
33485 else
33488 ac_ext=cpp
33489 ac_cpp='$CXXCPP $CPPFLAGS'
33490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33495 /* end confdefs.h. */
33496 #include <math.h>
33498 main ()
33500 _hypotf(0, 0);
33502 return 0;
33504 _ACEOF
33505 if ac_fn_cxx_try_compile "$LINENO"; then :
33506 glibcxx_cv_func__hypotf_use=yes
33507 else
33508 glibcxx_cv_func__hypotf_use=no
33510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33511 ac_ext=c
33512 ac_cpp='$CPP $CPPFLAGS'
33513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
33522 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
33524 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
33525 for ac_func in _hypotf
33526 do :
33527 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
33528 if test "x$ac_cv_func__hypotf" = xyes; then :
33529 cat >>confdefs.h <<_ACEOF
33530 #define HAVE__HYPOTF 1
33531 _ACEOF
33534 done
33543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
33544 $as_echo_n "checking for ldexpf declaration... " >&6; }
33545 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
33546 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
33547 $as_echo_n "(cached) " >&6
33548 else
33551 ac_ext=cpp
33552 ac_cpp='$CXXCPP $CPPFLAGS'
33553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33558 /* end confdefs.h. */
33559 #include <math.h>
33561 main ()
33563 ldexpf(0, 0);
33565 return 0;
33567 _ACEOF
33568 if ac_fn_cxx_try_compile "$LINENO"; then :
33569 glibcxx_cv_func_ldexpf_use=yes
33570 else
33571 glibcxx_cv_func_ldexpf_use=no
33573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33574 ac_ext=c
33575 ac_cpp='$CPP $CPPFLAGS'
33576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
33585 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
33587 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
33588 for ac_func in ldexpf
33589 do :
33590 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
33591 if test "x$ac_cv_func_ldexpf" = xyes; then :
33592 cat >>confdefs.h <<_ACEOF
33593 #define HAVE_LDEXPF 1
33594 _ACEOF
33597 done
33599 else
33601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
33602 $as_echo_n "checking for _ldexpf declaration... " >&6; }
33603 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
33604 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
33605 $as_echo_n "(cached) " >&6
33606 else
33609 ac_ext=cpp
33610 ac_cpp='$CXXCPP $CPPFLAGS'
33611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33616 /* end confdefs.h. */
33617 #include <math.h>
33619 main ()
33621 _ldexpf(0, 0);
33623 return 0;
33625 _ACEOF
33626 if ac_fn_cxx_try_compile "$LINENO"; then :
33627 glibcxx_cv_func__ldexpf_use=yes
33628 else
33629 glibcxx_cv_func__ldexpf_use=no
33631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33632 ac_ext=c
33633 ac_cpp='$CPP $CPPFLAGS'
33634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
33643 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
33645 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
33646 for ac_func in _ldexpf
33647 do :
33648 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
33649 if test "x$ac_cv_func__ldexpf" = xyes; then :
33650 cat >>confdefs.h <<_ACEOF
33651 #define HAVE__LDEXPF 1
33652 _ACEOF
33655 done
33664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
33665 $as_echo_n "checking for logf declaration... " >&6; }
33666 if test x${glibcxx_cv_func_logf_use+set} != xset; then
33667 if ${glibcxx_cv_func_logf_use+:} false; then :
33668 $as_echo_n "(cached) " >&6
33669 else
33672 ac_ext=cpp
33673 ac_cpp='$CXXCPP $CPPFLAGS'
33674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33679 /* end confdefs.h. */
33680 #include <math.h>
33681 #ifdef HAVE_IEEEFP_H
33682 #include <ieeefp.h>
33683 #endif
33686 main ()
33688 logf(0);
33690 return 0;
33692 _ACEOF
33693 if ac_fn_cxx_try_compile "$LINENO"; then :
33694 glibcxx_cv_func_logf_use=yes
33695 else
33696 glibcxx_cv_func_logf_use=no
33698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33699 ac_ext=c
33700 ac_cpp='$CPP $CPPFLAGS'
33701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
33710 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
33712 if test x$glibcxx_cv_func_logf_use = x"yes"; then
33713 for ac_func in logf
33714 do :
33715 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
33716 if test "x$ac_cv_func_logf" = xyes; then :
33717 cat >>confdefs.h <<_ACEOF
33718 #define HAVE_LOGF 1
33719 _ACEOF
33722 done
33724 else
33726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
33727 $as_echo_n "checking for _logf declaration... " >&6; }
33728 if test x${glibcxx_cv_func__logf_use+set} != xset; then
33729 if ${glibcxx_cv_func__logf_use+:} false; then :
33730 $as_echo_n "(cached) " >&6
33731 else
33734 ac_ext=cpp
33735 ac_cpp='$CXXCPP $CPPFLAGS'
33736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33741 /* end confdefs.h. */
33742 #include <math.h>
33743 #ifdef HAVE_IEEEFP_H
33744 #include <ieeefp.h>
33745 #endif
33748 main ()
33750 _logf(0);
33752 return 0;
33754 _ACEOF
33755 if ac_fn_cxx_try_compile "$LINENO"; then :
33756 glibcxx_cv_func__logf_use=yes
33757 else
33758 glibcxx_cv_func__logf_use=no
33760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33761 ac_ext=c
33762 ac_cpp='$CPP $CPPFLAGS'
33763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
33772 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
33774 if test x$glibcxx_cv_func__logf_use = x"yes"; then
33775 for ac_func in _logf
33776 do :
33777 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
33778 if test "x$ac_cv_func__logf" = xyes; then :
33779 cat >>confdefs.h <<_ACEOF
33780 #define HAVE__LOGF 1
33781 _ACEOF
33784 done
33793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
33794 $as_echo_n "checking for log10f declaration... " >&6; }
33795 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
33796 if ${glibcxx_cv_func_log10f_use+:} false; then :
33797 $as_echo_n "(cached) " >&6
33798 else
33801 ac_ext=cpp
33802 ac_cpp='$CXXCPP $CPPFLAGS'
33803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33808 /* end confdefs.h. */
33809 #include <math.h>
33810 #ifdef HAVE_IEEEFP_H
33811 #include <ieeefp.h>
33812 #endif
33815 main ()
33817 log10f(0);
33819 return 0;
33821 _ACEOF
33822 if ac_fn_cxx_try_compile "$LINENO"; then :
33823 glibcxx_cv_func_log10f_use=yes
33824 else
33825 glibcxx_cv_func_log10f_use=no
33827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33828 ac_ext=c
33829 ac_cpp='$CPP $CPPFLAGS'
33830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
33839 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
33841 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
33842 for ac_func in log10f
33843 do :
33844 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
33845 if test "x$ac_cv_func_log10f" = xyes; then :
33846 cat >>confdefs.h <<_ACEOF
33847 #define HAVE_LOG10F 1
33848 _ACEOF
33851 done
33853 else
33855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
33856 $as_echo_n "checking for _log10f declaration... " >&6; }
33857 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
33858 if ${glibcxx_cv_func__log10f_use+:} false; then :
33859 $as_echo_n "(cached) " >&6
33860 else
33863 ac_ext=cpp
33864 ac_cpp='$CXXCPP $CPPFLAGS'
33865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33870 /* end confdefs.h. */
33871 #include <math.h>
33872 #ifdef HAVE_IEEEFP_H
33873 #include <ieeefp.h>
33874 #endif
33877 main ()
33879 _log10f(0);
33881 return 0;
33883 _ACEOF
33884 if ac_fn_cxx_try_compile "$LINENO"; then :
33885 glibcxx_cv_func__log10f_use=yes
33886 else
33887 glibcxx_cv_func__log10f_use=no
33889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33890 ac_ext=c
33891 ac_cpp='$CPP $CPPFLAGS'
33892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
33901 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
33903 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
33904 for ac_func in _log10f
33905 do :
33906 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
33907 if test "x$ac_cv_func__log10f" = xyes; then :
33908 cat >>confdefs.h <<_ACEOF
33909 #define HAVE__LOG10F 1
33910 _ACEOF
33913 done
33922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
33923 $as_echo_n "checking for modff declaration... " >&6; }
33924 if test x${glibcxx_cv_func_modff_use+set} != xset; then
33925 if ${glibcxx_cv_func_modff_use+:} false; then :
33926 $as_echo_n "(cached) " >&6
33927 else
33930 ac_ext=cpp
33931 ac_cpp='$CXXCPP $CPPFLAGS'
33932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33937 /* end confdefs.h. */
33938 #include <math.h>
33940 main ()
33942 modff(0, 0);
33944 return 0;
33946 _ACEOF
33947 if ac_fn_cxx_try_compile "$LINENO"; then :
33948 glibcxx_cv_func_modff_use=yes
33949 else
33950 glibcxx_cv_func_modff_use=no
33952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33953 ac_ext=c
33954 ac_cpp='$CPP $CPPFLAGS'
33955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
33964 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
33966 if test x$glibcxx_cv_func_modff_use = x"yes"; then
33967 for ac_func in modff
33968 do :
33969 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
33970 if test "x$ac_cv_func_modff" = xyes; then :
33971 cat >>confdefs.h <<_ACEOF
33972 #define HAVE_MODFF 1
33973 _ACEOF
33976 done
33978 else
33980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
33981 $as_echo_n "checking for _modff declaration... " >&6; }
33982 if test x${glibcxx_cv_func__modff_use+set} != xset; then
33983 if ${glibcxx_cv_func__modff_use+:} false; then :
33984 $as_echo_n "(cached) " >&6
33985 else
33988 ac_ext=cpp
33989 ac_cpp='$CXXCPP $CPPFLAGS'
33990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33995 /* end confdefs.h. */
33996 #include <math.h>
33998 main ()
34000 _modff(0, 0);
34002 return 0;
34004 _ACEOF
34005 if ac_fn_cxx_try_compile "$LINENO"; then :
34006 glibcxx_cv_func__modff_use=yes
34007 else
34008 glibcxx_cv_func__modff_use=no
34010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34011 ac_ext=c
34012 ac_cpp='$CPP $CPPFLAGS'
34013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
34022 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
34024 if test x$glibcxx_cv_func__modff_use = x"yes"; then
34025 for ac_func in _modff
34026 do :
34027 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
34028 if test "x$ac_cv_func__modff" = xyes; then :
34029 cat >>confdefs.h <<_ACEOF
34030 #define HAVE__MODFF 1
34031 _ACEOF
34034 done
34043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
34044 $as_echo_n "checking for modf declaration... " >&6; }
34045 if test x${glibcxx_cv_func_modf_use+set} != xset; then
34046 if ${glibcxx_cv_func_modf_use+:} false; then :
34047 $as_echo_n "(cached) " >&6
34048 else
34051 ac_ext=cpp
34052 ac_cpp='$CXXCPP $CPPFLAGS'
34053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34058 /* end confdefs.h. */
34059 #include <math.h>
34061 main ()
34063 modf(0, 0);
34065 return 0;
34067 _ACEOF
34068 if ac_fn_cxx_try_compile "$LINENO"; then :
34069 glibcxx_cv_func_modf_use=yes
34070 else
34071 glibcxx_cv_func_modf_use=no
34073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34074 ac_ext=c
34075 ac_cpp='$CPP $CPPFLAGS'
34076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
34085 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
34087 if test x$glibcxx_cv_func_modf_use = x"yes"; then
34088 for ac_func in modf
34089 do :
34090 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
34091 if test "x$ac_cv_func_modf" = xyes; then :
34092 cat >>confdefs.h <<_ACEOF
34093 #define HAVE_MODF 1
34094 _ACEOF
34097 done
34099 else
34101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
34102 $as_echo_n "checking for _modf declaration... " >&6; }
34103 if test x${glibcxx_cv_func__modf_use+set} != xset; then
34104 if ${glibcxx_cv_func__modf_use+:} false; then :
34105 $as_echo_n "(cached) " >&6
34106 else
34109 ac_ext=cpp
34110 ac_cpp='$CXXCPP $CPPFLAGS'
34111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34116 /* end confdefs.h. */
34117 #include <math.h>
34119 main ()
34121 _modf(0, 0);
34123 return 0;
34125 _ACEOF
34126 if ac_fn_cxx_try_compile "$LINENO"; then :
34127 glibcxx_cv_func__modf_use=yes
34128 else
34129 glibcxx_cv_func__modf_use=no
34131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34132 ac_ext=c
34133 ac_cpp='$CPP $CPPFLAGS'
34134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
34143 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
34145 if test x$glibcxx_cv_func__modf_use = x"yes"; then
34146 for ac_func in _modf
34147 do :
34148 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
34149 if test "x$ac_cv_func__modf" = xyes; then :
34150 cat >>confdefs.h <<_ACEOF
34151 #define HAVE__MODF 1
34152 _ACEOF
34155 done
34164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
34165 $as_echo_n "checking for powf declaration... " >&6; }
34166 if test x${glibcxx_cv_func_powf_use+set} != xset; then
34167 if ${glibcxx_cv_func_powf_use+:} false; then :
34168 $as_echo_n "(cached) " >&6
34169 else
34172 ac_ext=cpp
34173 ac_cpp='$CXXCPP $CPPFLAGS'
34174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34179 /* end confdefs.h. */
34180 #include <math.h>
34182 main ()
34184 powf(0, 0);
34186 return 0;
34188 _ACEOF
34189 if ac_fn_cxx_try_compile "$LINENO"; then :
34190 glibcxx_cv_func_powf_use=yes
34191 else
34192 glibcxx_cv_func_powf_use=no
34194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34195 ac_ext=c
34196 ac_cpp='$CPP $CPPFLAGS'
34197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
34206 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
34208 if test x$glibcxx_cv_func_powf_use = x"yes"; then
34209 for ac_func in powf
34210 do :
34211 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
34212 if test "x$ac_cv_func_powf" = xyes; then :
34213 cat >>confdefs.h <<_ACEOF
34214 #define HAVE_POWF 1
34215 _ACEOF
34218 done
34220 else
34222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
34223 $as_echo_n "checking for _powf declaration... " >&6; }
34224 if test x${glibcxx_cv_func__powf_use+set} != xset; then
34225 if ${glibcxx_cv_func__powf_use+:} false; then :
34226 $as_echo_n "(cached) " >&6
34227 else
34230 ac_ext=cpp
34231 ac_cpp='$CXXCPP $CPPFLAGS'
34232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34237 /* end confdefs.h. */
34238 #include <math.h>
34240 main ()
34242 _powf(0, 0);
34244 return 0;
34246 _ACEOF
34247 if ac_fn_cxx_try_compile "$LINENO"; then :
34248 glibcxx_cv_func__powf_use=yes
34249 else
34250 glibcxx_cv_func__powf_use=no
34252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34253 ac_ext=c
34254 ac_cpp='$CPP $CPPFLAGS'
34255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
34264 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
34266 if test x$glibcxx_cv_func__powf_use = x"yes"; then
34267 for ac_func in _powf
34268 do :
34269 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
34270 if test "x$ac_cv_func__powf" = xyes; then :
34271 cat >>confdefs.h <<_ACEOF
34272 #define HAVE__POWF 1
34273 _ACEOF
34276 done
34285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
34286 $as_echo_n "checking for sqrtf declaration... " >&6; }
34287 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
34288 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
34289 $as_echo_n "(cached) " >&6
34290 else
34293 ac_ext=cpp
34294 ac_cpp='$CXXCPP $CPPFLAGS'
34295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34300 /* end confdefs.h. */
34301 #include <math.h>
34302 #ifdef HAVE_IEEEFP_H
34303 #include <ieeefp.h>
34304 #endif
34307 main ()
34309 sqrtf(0);
34311 return 0;
34313 _ACEOF
34314 if ac_fn_cxx_try_compile "$LINENO"; then :
34315 glibcxx_cv_func_sqrtf_use=yes
34316 else
34317 glibcxx_cv_func_sqrtf_use=no
34319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34320 ac_ext=c
34321 ac_cpp='$CPP $CPPFLAGS'
34322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
34331 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
34333 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
34334 for ac_func in sqrtf
34335 do :
34336 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
34337 if test "x$ac_cv_func_sqrtf" = xyes; then :
34338 cat >>confdefs.h <<_ACEOF
34339 #define HAVE_SQRTF 1
34340 _ACEOF
34343 done
34345 else
34347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
34348 $as_echo_n "checking for _sqrtf declaration... " >&6; }
34349 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
34350 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
34351 $as_echo_n "(cached) " >&6
34352 else
34355 ac_ext=cpp
34356 ac_cpp='$CXXCPP $CPPFLAGS'
34357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34362 /* end confdefs.h. */
34363 #include <math.h>
34364 #ifdef HAVE_IEEEFP_H
34365 #include <ieeefp.h>
34366 #endif
34369 main ()
34371 _sqrtf(0);
34373 return 0;
34375 _ACEOF
34376 if ac_fn_cxx_try_compile "$LINENO"; then :
34377 glibcxx_cv_func__sqrtf_use=yes
34378 else
34379 glibcxx_cv_func__sqrtf_use=no
34381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34382 ac_ext=c
34383 ac_cpp='$CPP $CPPFLAGS'
34384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
34393 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
34395 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
34396 for ac_func in _sqrtf
34397 do :
34398 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
34399 if test "x$ac_cv_func__sqrtf" = xyes; then :
34400 cat >>confdefs.h <<_ACEOF
34401 #define HAVE__SQRTF 1
34402 _ACEOF
34405 done
34414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
34415 $as_echo_n "checking for sincosf declaration... " >&6; }
34416 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
34417 if ${glibcxx_cv_func_sincosf_use+:} false; then :
34418 $as_echo_n "(cached) " >&6
34419 else
34422 ac_ext=cpp
34423 ac_cpp='$CXXCPP $CPPFLAGS'
34424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34429 /* end confdefs.h. */
34430 #include <math.h>
34432 main ()
34434 sincosf(0, 0, 0);
34436 return 0;
34438 _ACEOF
34439 if ac_fn_cxx_try_compile "$LINENO"; then :
34440 glibcxx_cv_func_sincosf_use=yes
34441 else
34442 glibcxx_cv_func_sincosf_use=no
34444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34445 ac_ext=c
34446 ac_cpp='$CPP $CPPFLAGS'
34447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
34456 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
34458 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
34459 for ac_func in sincosf
34460 do :
34461 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
34462 if test "x$ac_cv_func_sincosf" = xyes; then :
34463 cat >>confdefs.h <<_ACEOF
34464 #define HAVE_SINCOSF 1
34465 _ACEOF
34468 done
34470 else
34472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
34473 $as_echo_n "checking for _sincosf declaration... " >&6; }
34474 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
34475 if ${glibcxx_cv_func__sincosf_use+:} false; then :
34476 $as_echo_n "(cached) " >&6
34477 else
34480 ac_ext=cpp
34481 ac_cpp='$CXXCPP $CPPFLAGS'
34482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34487 /* end confdefs.h. */
34488 #include <math.h>
34490 main ()
34492 _sincosf(0, 0, 0);
34494 return 0;
34496 _ACEOF
34497 if ac_fn_cxx_try_compile "$LINENO"; then :
34498 glibcxx_cv_func__sincosf_use=yes
34499 else
34500 glibcxx_cv_func__sincosf_use=no
34502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34503 ac_ext=c
34504 ac_cpp='$CPP $CPPFLAGS'
34505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
34514 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
34516 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
34517 for ac_func in _sincosf
34518 do :
34519 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
34520 if test "x$ac_cv_func__sincosf" = xyes; then :
34521 cat >>confdefs.h <<_ACEOF
34522 #define HAVE__SINCOSF 1
34523 _ACEOF
34526 done
34535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
34536 $as_echo_n "checking for finitef declaration... " >&6; }
34537 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
34538 if ${glibcxx_cv_func_finitef_use+:} false; then :
34539 $as_echo_n "(cached) " >&6
34540 else
34543 ac_ext=cpp
34544 ac_cpp='$CXXCPP $CPPFLAGS'
34545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34550 /* end confdefs.h. */
34551 #include <math.h>
34552 #ifdef HAVE_IEEEFP_H
34553 #include <ieeefp.h>
34554 #endif
34557 main ()
34559 finitef(0);
34561 return 0;
34563 _ACEOF
34564 if ac_fn_cxx_try_compile "$LINENO"; then :
34565 glibcxx_cv_func_finitef_use=yes
34566 else
34567 glibcxx_cv_func_finitef_use=no
34569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34570 ac_ext=c
34571 ac_cpp='$CPP $CPPFLAGS'
34572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
34581 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
34583 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
34584 for ac_func in finitef
34585 do :
34586 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
34587 if test "x$ac_cv_func_finitef" = xyes; then :
34588 cat >>confdefs.h <<_ACEOF
34589 #define HAVE_FINITEF 1
34590 _ACEOF
34593 done
34595 else
34597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
34598 $as_echo_n "checking for _finitef declaration... " >&6; }
34599 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
34600 if ${glibcxx_cv_func__finitef_use+:} false; then :
34601 $as_echo_n "(cached) " >&6
34602 else
34605 ac_ext=cpp
34606 ac_cpp='$CXXCPP $CPPFLAGS'
34607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34612 /* end confdefs.h. */
34613 #include <math.h>
34614 #ifdef HAVE_IEEEFP_H
34615 #include <ieeefp.h>
34616 #endif
34619 main ()
34621 _finitef(0);
34623 return 0;
34625 _ACEOF
34626 if ac_fn_cxx_try_compile "$LINENO"; then :
34627 glibcxx_cv_func__finitef_use=yes
34628 else
34629 glibcxx_cv_func__finitef_use=no
34631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34632 ac_ext=c
34633 ac_cpp='$CPP $CPPFLAGS'
34634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
34643 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
34645 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
34646 for ac_func in _finitef
34647 do :
34648 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
34649 if test "x$ac_cv_func__finitef" = xyes; then :
34650 cat >>confdefs.h <<_ACEOF
34651 #define HAVE__FINITEF 1
34652 _ACEOF
34655 done
34664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
34665 $as_echo_n "checking for long double trig functions... " >&6; }
34666 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
34667 $as_echo_n "(cached) " >&6
34668 else
34671 ac_ext=cpp
34672 ac_cpp='$CXXCPP $CPPFLAGS'
34673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34678 /* end confdefs.h. */
34679 #include <math.h>
34681 main ()
34683 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
34685 return 0;
34687 _ACEOF
34688 if ac_fn_cxx_try_compile "$LINENO"; then :
34689 glibcxx_cv_func_long_double_trig_use=yes
34690 else
34691 glibcxx_cv_func_long_double_trig_use=no
34693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34694 ac_ext=c
34695 ac_cpp='$CPP $CPPFLAGS'
34696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
34703 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
34704 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
34705 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
34706 do :
34707 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34708 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34709 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
34710 cat >>confdefs.h <<_ACEOF
34711 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34712 _ACEOF
34715 done
34717 else
34718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
34719 $as_echo_n "checking for _long double trig functions... " >&6; }
34720 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
34721 $as_echo_n "(cached) " >&6
34722 else
34725 ac_ext=cpp
34726 ac_cpp='$CXXCPP $CPPFLAGS'
34727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34732 /* end confdefs.h. */
34733 #include <math.h>
34735 main ()
34737 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
34739 return 0;
34741 _ACEOF
34742 if ac_fn_cxx_try_compile "$LINENO"; then :
34743 glibcxx_cv_func__long_double_trig_use=yes
34744 else
34745 glibcxx_cv_func__long_double_trig_use=no
34747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34748 ac_ext=c
34749 ac_cpp='$CPP $CPPFLAGS'
34750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
34757 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
34758 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
34759 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
34760 do :
34761 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34762 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34763 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
34764 cat >>confdefs.h <<_ACEOF
34765 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34766 _ACEOF
34769 done
34778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
34779 $as_echo_n "checking for long double round functions... " >&6; }
34780 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
34781 $as_echo_n "(cached) " >&6
34782 else
34785 ac_ext=cpp
34786 ac_cpp='$CXXCPP $CPPFLAGS'
34787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34792 /* end confdefs.h. */
34793 #include <math.h>
34795 main ()
34797 ceill (0); floorl (0);
34799 return 0;
34801 _ACEOF
34802 if ac_fn_cxx_try_compile "$LINENO"; then :
34803 glibcxx_cv_func_long_double_round_use=yes
34804 else
34805 glibcxx_cv_func_long_double_round_use=no
34807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34808 ac_ext=c
34809 ac_cpp='$CPP $CPPFLAGS'
34810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
34817 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
34818 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
34819 for ac_func in ceill floorl
34820 do :
34821 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34822 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34823 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
34824 cat >>confdefs.h <<_ACEOF
34825 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34826 _ACEOF
34829 done
34831 else
34832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
34833 $as_echo_n "checking for _long double round functions... " >&6; }
34834 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
34835 $as_echo_n "(cached) " >&6
34836 else
34839 ac_ext=cpp
34840 ac_cpp='$CXXCPP $CPPFLAGS'
34841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34846 /* end confdefs.h. */
34847 #include <math.h>
34849 main ()
34851 _ceill (0); _floorl (0);
34853 return 0;
34855 _ACEOF
34856 if ac_fn_cxx_try_compile "$LINENO"; then :
34857 glibcxx_cv_func__long_double_round_use=yes
34858 else
34859 glibcxx_cv_func__long_double_round_use=no
34861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34862 ac_ext=c
34863 ac_cpp='$CPP $CPPFLAGS'
34864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
34871 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
34872 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
34873 for ac_func in _ceill _floorl
34874 do :
34875 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34876 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34877 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
34878 cat >>confdefs.h <<_ACEOF
34879 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34880 _ACEOF
34883 done
34893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
34894 $as_echo_n "checking for isnanl declaration... " >&6; }
34895 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
34896 if ${glibcxx_cv_func_isnanl_use+:} false; then :
34897 $as_echo_n "(cached) " >&6
34898 else
34901 ac_ext=cpp
34902 ac_cpp='$CXXCPP $CPPFLAGS'
34903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34908 /* end confdefs.h. */
34909 #include <math.h>
34910 #ifdef HAVE_IEEEFP_H
34911 #include <ieeefp.h>
34912 #endif
34915 main ()
34917 isnanl(0);
34919 return 0;
34921 _ACEOF
34922 if ac_fn_cxx_try_compile "$LINENO"; then :
34923 glibcxx_cv_func_isnanl_use=yes
34924 else
34925 glibcxx_cv_func_isnanl_use=no
34927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34928 ac_ext=c
34929 ac_cpp='$CPP $CPPFLAGS'
34930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
34939 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
34941 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
34942 for ac_func in isnanl
34943 do :
34944 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
34945 if test "x$ac_cv_func_isnanl" = xyes; then :
34946 cat >>confdefs.h <<_ACEOF
34947 #define HAVE_ISNANL 1
34948 _ACEOF
34951 done
34953 else
34955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
34956 $as_echo_n "checking for _isnanl declaration... " >&6; }
34957 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
34958 if ${glibcxx_cv_func__isnanl_use+:} false; then :
34959 $as_echo_n "(cached) " >&6
34960 else
34963 ac_ext=cpp
34964 ac_cpp='$CXXCPP $CPPFLAGS'
34965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34970 /* end confdefs.h. */
34971 #include <math.h>
34972 #ifdef HAVE_IEEEFP_H
34973 #include <ieeefp.h>
34974 #endif
34977 main ()
34979 _isnanl(0);
34981 return 0;
34983 _ACEOF
34984 if ac_fn_cxx_try_compile "$LINENO"; then :
34985 glibcxx_cv_func__isnanl_use=yes
34986 else
34987 glibcxx_cv_func__isnanl_use=no
34989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34990 ac_ext=c
34991 ac_cpp='$CPP $CPPFLAGS'
34992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
35001 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
35003 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
35004 for ac_func in _isnanl
35005 do :
35006 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
35007 if test "x$ac_cv_func__isnanl" = xyes; then :
35008 cat >>confdefs.h <<_ACEOF
35009 #define HAVE__ISNANL 1
35010 _ACEOF
35013 done
35022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
35023 $as_echo_n "checking for isinfl declaration... " >&6; }
35024 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
35025 if ${glibcxx_cv_func_isinfl_use+:} false; then :
35026 $as_echo_n "(cached) " >&6
35027 else
35030 ac_ext=cpp
35031 ac_cpp='$CXXCPP $CPPFLAGS'
35032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35037 /* end confdefs.h. */
35038 #include <math.h>
35039 #ifdef HAVE_IEEEFP_H
35040 #include <ieeefp.h>
35041 #endif
35044 main ()
35046 isinfl(0);
35048 return 0;
35050 _ACEOF
35051 if ac_fn_cxx_try_compile "$LINENO"; then :
35052 glibcxx_cv_func_isinfl_use=yes
35053 else
35054 glibcxx_cv_func_isinfl_use=no
35056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35057 ac_ext=c
35058 ac_cpp='$CPP $CPPFLAGS'
35059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
35068 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
35070 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
35071 for ac_func in isinfl
35072 do :
35073 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
35074 if test "x$ac_cv_func_isinfl" = xyes; then :
35075 cat >>confdefs.h <<_ACEOF
35076 #define HAVE_ISINFL 1
35077 _ACEOF
35080 done
35082 else
35084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
35085 $as_echo_n "checking for _isinfl declaration... " >&6; }
35086 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
35087 if ${glibcxx_cv_func__isinfl_use+:} false; then :
35088 $as_echo_n "(cached) " >&6
35089 else
35092 ac_ext=cpp
35093 ac_cpp='$CXXCPP $CPPFLAGS'
35094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35099 /* end confdefs.h. */
35100 #include <math.h>
35101 #ifdef HAVE_IEEEFP_H
35102 #include <ieeefp.h>
35103 #endif
35106 main ()
35108 _isinfl(0);
35110 return 0;
35112 _ACEOF
35113 if ac_fn_cxx_try_compile "$LINENO"; then :
35114 glibcxx_cv_func__isinfl_use=yes
35115 else
35116 glibcxx_cv_func__isinfl_use=no
35118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35119 ac_ext=c
35120 ac_cpp='$CPP $CPPFLAGS'
35121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
35130 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
35132 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
35133 for ac_func in _isinfl
35134 do :
35135 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
35136 if test "x$ac_cv_func__isinfl" = xyes; then :
35137 cat >>confdefs.h <<_ACEOF
35138 #define HAVE__ISINFL 1
35139 _ACEOF
35142 done
35151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
35152 $as_echo_n "checking for atan2l declaration... " >&6; }
35153 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
35154 if ${glibcxx_cv_func_atan2l_use+:} false; then :
35155 $as_echo_n "(cached) " >&6
35156 else
35159 ac_ext=cpp
35160 ac_cpp='$CXXCPP $CPPFLAGS'
35161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35166 /* end confdefs.h. */
35167 #include <math.h>
35169 main ()
35171 atan2l(0, 0);
35173 return 0;
35175 _ACEOF
35176 if ac_fn_cxx_try_compile "$LINENO"; then :
35177 glibcxx_cv_func_atan2l_use=yes
35178 else
35179 glibcxx_cv_func_atan2l_use=no
35181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35182 ac_ext=c
35183 ac_cpp='$CPP $CPPFLAGS'
35184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
35193 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
35195 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
35196 for ac_func in atan2l
35197 do :
35198 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
35199 if test "x$ac_cv_func_atan2l" = xyes; then :
35200 cat >>confdefs.h <<_ACEOF
35201 #define HAVE_ATAN2L 1
35202 _ACEOF
35205 done
35207 else
35209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
35210 $as_echo_n "checking for _atan2l declaration... " >&6; }
35211 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
35212 if ${glibcxx_cv_func__atan2l_use+:} false; then :
35213 $as_echo_n "(cached) " >&6
35214 else
35217 ac_ext=cpp
35218 ac_cpp='$CXXCPP $CPPFLAGS'
35219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35224 /* end confdefs.h. */
35225 #include <math.h>
35227 main ()
35229 _atan2l(0, 0);
35231 return 0;
35233 _ACEOF
35234 if ac_fn_cxx_try_compile "$LINENO"; then :
35235 glibcxx_cv_func__atan2l_use=yes
35236 else
35237 glibcxx_cv_func__atan2l_use=no
35239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35240 ac_ext=c
35241 ac_cpp='$CPP $CPPFLAGS'
35242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
35251 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
35253 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
35254 for ac_func in _atan2l
35255 do :
35256 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
35257 if test "x$ac_cv_func__atan2l" = xyes; then :
35258 cat >>confdefs.h <<_ACEOF
35259 #define HAVE__ATAN2L 1
35260 _ACEOF
35263 done
35272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
35273 $as_echo_n "checking for expl declaration... " >&6; }
35274 if test x${glibcxx_cv_func_expl_use+set} != xset; then
35275 if ${glibcxx_cv_func_expl_use+:} false; then :
35276 $as_echo_n "(cached) " >&6
35277 else
35280 ac_ext=cpp
35281 ac_cpp='$CXXCPP $CPPFLAGS'
35282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35287 /* end confdefs.h. */
35288 #include <math.h>
35289 #ifdef HAVE_IEEEFP_H
35290 #include <ieeefp.h>
35291 #endif
35294 main ()
35296 expl(0);
35298 return 0;
35300 _ACEOF
35301 if ac_fn_cxx_try_compile "$LINENO"; then :
35302 glibcxx_cv_func_expl_use=yes
35303 else
35304 glibcxx_cv_func_expl_use=no
35306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35307 ac_ext=c
35308 ac_cpp='$CPP $CPPFLAGS'
35309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
35318 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
35320 if test x$glibcxx_cv_func_expl_use = x"yes"; then
35321 for ac_func in expl
35322 do :
35323 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
35324 if test "x$ac_cv_func_expl" = xyes; then :
35325 cat >>confdefs.h <<_ACEOF
35326 #define HAVE_EXPL 1
35327 _ACEOF
35330 done
35332 else
35334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
35335 $as_echo_n "checking for _expl declaration... " >&6; }
35336 if test x${glibcxx_cv_func__expl_use+set} != xset; then
35337 if ${glibcxx_cv_func__expl_use+:} false; then :
35338 $as_echo_n "(cached) " >&6
35339 else
35342 ac_ext=cpp
35343 ac_cpp='$CXXCPP $CPPFLAGS'
35344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35349 /* end confdefs.h. */
35350 #include <math.h>
35351 #ifdef HAVE_IEEEFP_H
35352 #include <ieeefp.h>
35353 #endif
35356 main ()
35358 _expl(0);
35360 return 0;
35362 _ACEOF
35363 if ac_fn_cxx_try_compile "$LINENO"; then :
35364 glibcxx_cv_func__expl_use=yes
35365 else
35366 glibcxx_cv_func__expl_use=no
35368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35369 ac_ext=c
35370 ac_cpp='$CPP $CPPFLAGS'
35371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
35380 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
35382 if test x$glibcxx_cv_func__expl_use = x"yes"; then
35383 for ac_func in _expl
35384 do :
35385 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
35386 if test "x$ac_cv_func__expl" = xyes; then :
35387 cat >>confdefs.h <<_ACEOF
35388 #define HAVE__EXPL 1
35389 _ACEOF
35392 done
35401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
35402 $as_echo_n "checking for fabsl declaration... " >&6; }
35403 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
35404 if ${glibcxx_cv_func_fabsl_use+:} false; then :
35405 $as_echo_n "(cached) " >&6
35406 else
35409 ac_ext=cpp
35410 ac_cpp='$CXXCPP $CPPFLAGS'
35411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35416 /* end confdefs.h. */
35417 #include <math.h>
35418 #ifdef HAVE_IEEEFP_H
35419 #include <ieeefp.h>
35420 #endif
35423 main ()
35425 fabsl(0);
35427 return 0;
35429 _ACEOF
35430 if ac_fn_cxx_try_compile "$LINENO"; then :
35431 glibcxx_cv_func_fabsl_use=yes
35432 else
35433 glibcxx_cv_func_fabsl_use=no
35435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35436 ac_ext=c
35437 ac_cpp='$CPP $CPPFLAGS'
35438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
35447 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
35449 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
35450 for ac_func in fabsl
35451 do :
35452 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
35453 if test "x$ac_cv_func_fabsl" = xyes; then :
35454 cat >>confdefs.h <<_ACEOF
35455 #define HAVE_FABSL 1
35456 _ACEOF
35459 done
35461 else
35463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
35464 $as_echo_n "checking for _fabsl declaration... " >&6; }
35465 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
35466 if ${glibcxx_cv_func__fabsl_use+:} false; then :
35467 $as_echo_n "(cached) " >&6
35468 else
35471 ac_ext=cpp
35472 ac_cpp='$CXXCPP $CPPFLAGS'
35473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35478 /* end confdefs.h. */
35479 #include <math.h>
35480 #ifdef HAVE_IEEEFP_H
35481 #include <ieeefp.h>
35482 #endif
35485 main ()
35487 _fabsl(0);
35489 return 0;
35491 _ACEOF
35492 if ac_fn_cxx_try_compile "$LINENO"; then :
35493 glibcxx_cv_func__fabsl_use=yes
35494 else
35495 glibcxx_cv_func__fabsl_use=no
35497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35498 ac_ext=c
35499 ac_cpp='$CPP $CPPFLAGS'
35500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
35509 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
35511 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
35512 for ac_func in _fabsl
35513 do :
35514 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
35515 if test "x$ac_cv_func__fabsl" = xyes; then :
35516 cat >>confdefs.h <<_ACEOF
35517 #define HAVE__FABSL 1
35518 _ACEOF
35521 done
35530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
35531 $as_echo_n "checking for fmodl declaration... " >&6; }
35532 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
35533 if ${glibcxx_cv_func_fmodl_use+:} false; then :
35534 $as_echo_n "(cached) " >&6
35535 else
35538 ac_ext=cpp
35539 ac_cpp='$CXXCPP $CPPFLAGS'
35540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35545 /* end confdefs.h. */
35546 #include <math.h>
35548 main ()
35550 fmodl(0, 0);
35552 return 0;
35554 _ACEOF
35555 if ac_fn_cxx_try_compile "$LINENO"; then :
35556 glibcxx_cv_func_fmodl_use=yes
35557 else
35558 glibcxx_cv_func_fmodl_use=no
35560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35561 ac_ext=c
35562 ac_cpp='$CPP $CPPFLAGS'
35563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
35572 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
35574 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
35575 for ac_func in fmodl
35576 do :
35577 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
35578 if test "x$ac_cv_func_fmodl" = xyes; then :
35579 cat >>confdefs.h <<_ACEOF
35580 #define HAVE_FMODL 1
35581 _ACEOF
35584 done
35586 else
35588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
35589 $as_echo_n "checking for _fmodl declaration... " >&6; }
35590 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
35591 if ${glibcxx_cv_func__fmodl_use+:} false; then :
35592 $as_echo_n "(cached) " >&6
35593 else
35596 ac_ext=cpp
35597 ac_cpp='$CXXCPP $CPPFLAGS'
35598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35603 /* end confdefs.h. */
35604 #include <math.h>
35606 main ()
35608 _fmodl(0, 0);
35610 return 0;
35612 _ACEOF
35613 if ac_fn_cxx_try_compile "$LINENO"; then :
35614 glibcxx_cv_func__fmodl_use=yes
35615 else
35616 glibcxx_cv_func__fmodl_use=no
35618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35619 ac_ext=c
35620 ac_cpp='$CPP $CPPFLAGS'
35621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
35630 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
35632 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
35633 for ac_func in _fmodl
35634 do :
35635 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
35636 if test "x$ac_cv_func__fmodl" = xyes; then :
35637 cat >>confdefs.h <<_ACEOF
35638 #define HAVE__FMODL 1
35639 _ACEOF
35642 done
35651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
35652 $as_echo_n "checking for frexpl declaration... " >&6; }
35653 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
35654 if ${glibcxx_cv_func_frexpl_use+:} false; then :
35655 $as_echo_n "(cached) " >&6
35656 else
35659 ac_ext=cpp
35660 ac_cpp='$CXXCPP $CPPFLAGS'
35661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35666 /* end confdefs.h. */
35667 #include <math.h>
35669 main ()
35671 frexpl(0, 0);
35673 return 0;
35675 _ACEOF
35676 if ac_fn_cxx_try_compile "$LINENO"; then :
35677 glibcxx_cv_func_frexpl_use=yes
35678 else
35679 glibcxx_cv_func_frexpl_use=no
35681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35682 ac_ext=c
35683 ac_cpp='$CPP $CPPFLAGS'
35684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
35693 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
35695 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
35696 for ac_func in frexpl
35697 do :
35698 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
35699 if test "x$ac_cv_func_frexpl" = xyes; then :
35700 cat >>confdefs.h <<_ACEOF
35701 #define HAVE_FREXPL 1
35702 _ACEOF
35705 done
35707 else
35709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
35710 $as_echo_n "checking for _frexpl declaration... " >&6; }
35711 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
35712 if ${glibcxx_cv_func__frexpl_use+:} false; then :
35713 $as_echo_n "(cached) " >&6
35714 else
35717 ac_ext=cpp
35718 ac_cpp='$CXXCPP $CPPFLAGS'
35719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35724 /* end confdefs.h. */
35725 #include <math.h>
35727 main ()
35729 _frexpl(0, 0);
35731 return 0;
35733 _ACEOF
35734 if ac_fn_cxx_try_compile "$LINENO"; then :
35735 glibcxx_cv_func__frexpl_use=yes
35736 else
35737 glibcxx_cv_func__frexpl_use=no
35739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35740 ac_ext=c
35741 ac_cpp='$CPP $CPPFLAGS'
35742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
35751 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
35753 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
35754 for ac_func in _frexpl
35755 do :
35756 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
35757 if test "x$ac_cv_func__frexpl" = xyes; then :
35758 cat >>confdefs.h <<_ACEOF
35759 #define HAVE__FREXPL 1
35760 _ACEOF
35763 done
35772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
35773 $as_echo_n "checking for hypotl declaration... " >&6; }
35774 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
35775 if ${glibcxx_cv_func_hypotl_use+:} false; then :
35776 $as_echo_n "(cached) " >&6
35777 else
35780 ac_ext=cpp
35781 ac_cpp='$CXXCPP $CPPFLAGS'
35782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35787 /* end confdefs.h. */
35788 #include <math.h>
35790 main ()
35792 hypotl(0, 0);
35794 return 0;
35796 _ACEOF
35797 if ac_fn_cxx_try_compile "$LINENO"; then :
35798 glibcxx_cv_func_hypotl_use=yes
35799 else
35800 glibcxx_cv_func_hypotl_use=no
35802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35803 ac_ext=c
35804 ac_cpp='$CPP $CPPFLAGS'
35805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
35814 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
35816 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
35817 for ac_func in hypotl
35818 do :
35819 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
35820 if test "x$ac_cv_func_hypotl" = xyes; then :
35821 cat >>confdefs.h <<_ACEOF
35822 #define HAVE_HYPOTL 1
35823 _ACEOF
35826 done
35828 else
35830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
35831 $as_echo_n "checking for _hypotl declaration... " >&6; }
35832 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
35833 if ${glibcxx_cv_func__hypotl_use+:} false; then :
35834 $as_echo_n "(cached) " >&6
35835 else
35838 ac_ext=cpp
35839 ac_cpp='$CXXCPP $CPPFLAGS'
35840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35845 /* end confdefs.h. */
35846 #include <math.h>
35848 main ()
35850 _hypotl(0, 0);
35852 return 0;
35854 _ACEOF
35855 if ac_fn_cxx_try_compile "$LINENO"; then :
35856 glibcxx_cv_func__hypotl_use=yes
35857 else
35858 glibcxx_cv_func__hypotl_use=no
35860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35861 ac_ext=c
35862 ac_cpp='$CPP $CPPFLAGS'
35863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
35872 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
35874 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
35875 for ac_func in _hypotl
35876 do :
35877 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
35878 if test "x$ac_cv_func__hypotl" = xyes; then :
35879 cat >>confdefs.h <<_ACEOF
35880 #define HAVE__HYPOTL 1
35881 _ACEOF
35884 done
35893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
35894 $as_echo_n "checking for ldexpl declaration... " >&6; }
35895 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
35896 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
35897 $as_echo_n "(cached) " >&6
35898 else
35901 ac_ext=cpp
35902 ac_cpp='$CXXCPP $CPPFLAGS'
35903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35908 /* end confdefs.h. */
35909 #include <math.h>
35911 main ()
35913 ldexpl(0, 0);
35915 return 0;
35917 _ACEOF
35918 if ac_fn_cxx_try_compile "$LINENO"; then :
35919 glibcxx_cv_func_ldexpl_use=yes
35920 else
35921 glibcxx_cv_func_ldexpl_use=no
35923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35924 ac_ext=c
35925 ac_cpp='$CPP $CPPFLAGS'
35926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
35935 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
35937 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
35938 for ac_func in ldexpl
35939 do :
35940 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
35941 if test "x$ac_cv_func_ldexpl" = xyes; then :
35942 cat >>confdefs.h <<_ACEOF
35943 #define HAVE_LDEXPL 1
35944 _ACEOF
35947 done
35949 else
35951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
35952 $as_echo_n "checking for _ldexpl declaration... " >&6; }
35953 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
35954 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
35955 $as_echo_n "(cached) " >&6
35956 else
35959 ac_ext=cpp
35960 ac_cpp='$CXXCPP $CPPFLAGS'
35961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35966 /* end confdefs.h. */
35967 #include <math.h>
35969 main ()
35971 _ldexpl(0, 0);
35973 return 0;
35975 _ACEOF
35976 if ac_fn_cxx_try_compile "$LINENO"; then :
35977 glibcxx_cv_func__ldexpl_use=yes
35978 else
35979 glibcxx_cv_func__ldexpl_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__ldexpl_use" >&5
35993 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
35995 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
35996 for ac_func in _ldexpl
35997 do :
35998 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
35999 if test "x$ac_cv_func__ldexpl" = xyes; then :
36000 cat >>confdefs.h <<_ACEOF
36001 #define HAVE__LDEXPL 1
36002 _ACEOF
36005 done
36014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
36015 $as_echo_n "checking for logl declaration... " >&6; }
36016 if test x${glibcxx_cv_func_logl_use+set} != xset; then
36017 if ${glibcxx_cv_func_logl_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>
36031 #ifdef HAVE_IEEEFP_H
36032 #include <ieeefp.h>
36033 #endif
36036 main ()
36038 logl(0);
36040 return 0;
36042 _ACEOF
36043 if ac_fn_cxx_try_compile "$LINENO"; then :
36044 glibcxx_cv_func_logl_use=yes
36045 else
36046 glibcxx_cv_func_logl_use=no
36048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36049 ac_ext=c
36050 ac_cpp='$CPP $CPPFLAGS'
36051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
36060 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
36062 if test x$glibcxx_cv_func_logl_use = x"yes"; then
36063 for ac_func in logl
36064 do :
36065 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
36066 if test "x$ac_cv_func_logl" = xyes; then :
36067 cat >>confdefs.h <<_ACEOF
36068 #define HAVE_LOGL 1
36069 _ACEOF
36072 done
36074 else
36076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
36077 $as_echo_n "checking for _logl declaration... " >&6; }
36078 if test x${glibcxx_cv_func__logl_use+set} != xset; then
36079 if ${glibcxx_cv_func__logl_use+:} false; then :
36080 $as_echo_n "(cached) " >&6
36081 else
36084 ac_ext=cpp
36085 ac_cpp='$CXXCPP $CPPFLAGS'
36086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36091 /* end confdefs.h. */
36092 #include <math.h>
36093 #ifdef HAVE_IEEEFP_H
36094 #include <ieeefp.h>
36095 #endif
36098 main ()
36100 _logl(0);
36102 return 0;
36104 _ACEOF
36105 if ac_fn_cxx_try_compile "$LINENO"; then :
36106 glibcxx_cv_func__logl_use=yes
36107 else
36108 glibcxx_cv_func__logl_use=no
36110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36111 ac_ext=c
36112 ac_cpp='$CPP $CPPFLAGS'
36113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
36122 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
36124 if test x$glibcxx_cv_func__logl_use = x"yes"; then
36125 for ac_func in _logl
36126 do :
36127 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
36128 if test "x$ac_cv_func__logl" = xyes; then :
36129 cat >>confdefs.h <<_ACEOF
36130 #define HAVE__LOGL 1
36131 _ACEOF
36134 done
36143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
36144 $as_echo_n "checking for log10l declaration... " >&6; }
36145 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
36146 if ${glibcxx_cv_func_log10l_use+:} false; then :
36147 $as_echo_n "(cached) " >&6
36148 else
36151 ac_ext=cpp
36152 ac_cpp='$CXXCPP $CPPFLAGS'
36153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36158 /* end confdefs.h. */
36159 #include <math.h>
36160 #ifdef HAVE_IEEEFP_H
36161 #include <ieeefp.h>
36162 #endif
36165 main ()
36167 log10l(0);
36169 return 0;
36171 _ACEOF
36172 if ac_fn_cxx_try_compile "$LINENO"; then :
36173 glibcxx_cv_func_log10l_use=yes
36174 else
36175 glibcxx_cv_func_log10l_use=no
36177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36178 ac_ext=c
36179 ac_cpp='$CPP $CPPFLAGS'
36180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
36189 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
36191 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
36192 for ac_func in log10l
36193 do :
36194 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
36195 if test "x$ac_cv_func_log10l" = xyes; then :
36196 cat >>confdefs.h <<_ACEOF
36197 #define HAVE_LOG10L 1
36198 _ACEOF
36201 done
36203 else
36205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
36206 $as_echo_n "checking for _log10l declaration... " >&6; }
36207 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
36208 if ${glibcxx_cv_func__log10l_use+:} false; then :
36209 $as_echo_n "(cached) " >&6
36210 else
36213 ac_ext=cpp
36214 ac_cpp='$CXXCPP $CPPFLAGS'
36215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36220 /* end confdefs.h. */
36221 #include <math.h>
36222 #ifdef HAVE_IEEEFP_H
36223 #include <ieeefp.h>
36224 #endif
36227 main ()
36229 _log10l(0);
36231 return 0;
36233 _ACEOF
36234 if ac_fn_cxx_try_compile "$LINENO"; then :
36235 glibcxx_cv_func__log10l_use=yes
36236 else
36237 glibcxx_cv_func__log10l_use=no
36239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36240 ac_ext=c
36241 ac_cpp='$CPP $CPPFLAGS'
36242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
36251 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
36253 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
36254 for ac_func in _log10l
36255 do :
36256 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
36257 if test "x$ac_cv_func__log10l" = xyes; then :
36258 cat >>confdefs.h <<_ACEOF
36259 #define HAVE__LOG10L 1
36260 _ACEOF
36263 done
36272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
36273 $as_echo_n "checking for modfl declaration... " >&6; }
36274 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
36275 if ${glibcxx_cv_func_modfl_use+:} false; then :
36276 $as_echo_n "(cached) " >&6
36277 else
36280 ac_ext=cpp
36281 ac_cpp='$CXXCPP $CPPFLAGS'
36282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36287 /* end confdefs.h. */
36288 #include <math.h>
36290 main ()
36292 modfl(0, 0);
36294 return 0;
36296 _ACEOF
36297 if ac_fn_cxx_try_compile "$LINENO"; then :
36298 glibcxx_cv_func_modfl_use=yes
36299 else
36300 glibcxx_cv_func_modfl_use=no
36302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36303 ac_ext=c
36304 ac_cpp='$CPP $CPPFLAGS'
36305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
36314 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
36316 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
36317 for ac_func in modfl
36318 do :
36319 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
36320 if test "x$ac_cv_func_modfl" = xyes; then :
36321 cat >>confdefs.h <<_ACEOF
36322 #define HAVE_MODFL 1
36323 _ACEOF
36326 done
36328 else
36330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
36331 $as_echo_n "checking for _modfl declaration... " >&6; }
36332 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
36333 if ${glibcxx_cv_func__modfl_use+:} false; then :
36334 $as_echo_n "(cached) " >&6
36335 else
36338 ac_ext=cpp
36339 ac_cpp='$CXXCPP $CPPFLAGS'
36340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36345 /* end confdefs.h. */
36346 #include <math.h>
36348 main ()
36350 _modfl(0, 0);
36352 return 0;
36354 _ACEOF
36355 if ac_fn_cxx_try_compile "$LINENO"; then :
36356 glibcxx_cv_func__modfl_use=yes
36357 else
36358 glibcxx_cv_func__modfl_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__modfl_use" >&5
36372 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
36374 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
36375 for ac_func in _modfl
36376 do :
36377 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
36378 if test "x$ac_cv_func__modfl" = xyes; then :
36379 cat >>confdefs.h <<_ACEOF
36380 #define HAVE__MODFL 1
36381 _ACEOF
36384 done
36393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
36394 $as_echo_n "checking for powl declaration... " >&6; }
36395 if test x${glibcxx_cv_func_powl_use+set} != xset; then
36396 if ${glibcxx_cv_func_powl_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 powl(0, 0);
36415 return 0;
36417 _ACEOF
36418 if ac_fn_cxx_try_compile "$LINENO"; then :
36419 glibcxx_cv_func_powl_use=yes
36420 else
36421 glibcxx_cv_func_powl_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_powl_use" >&5
36435 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
36437 if test x$glibcxx_cv_func_powl_use = x"yes"; then
36438 for ac_func in powl
36439 do :
36440 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
36441 if test "x$ac_cv_func_powl" = xyes; then :
36442 cat >>confdefs.h <<_ACEOF
36443 #define HAVE_POWL 1
36444 _ACEOF
36447 done
36449 else
36451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
36452 $as_echo_n "checking for _powl declaration... " >&6; }
36453 if test x${glibcxx_cv_func__powl_use+set} != xset; then
36454 if ${glibcxx_cv_func__powl_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 _powl(0, 0);
36473 return 0;
36475 _ACEOF
36476 if ac_fn_cxx_try_compile "$LINENO"; then :
36477 glibcxx_cv_func__powl_use=yes
36478 else
36479 glibcxx_cv_func__powl_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__powl_use" >&5
36493 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
36495 if test x$glibcxx_cv_func__powl_use = x"yes"; then
36496 for ac_func in _powl
36497 do :
36498 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
36499 if test "x$ac_cv_func__powl" = xyes; then :
36500 cat >>confdefs.h <<_ACEOF
36501 #define HAVE__POWL 1
36502 _ACEOF
36505 done
36514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
36515 $as_echo_n "checking for sqrtl declaration... " >&6; }
36516 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
36517 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
36518 $as_echo_n "(cached) " >&6
36519 else
36522 ac_ext=cpp
36523 ac_cpp='$CXXCPP $CPPFLAGS'
36524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36529 /* end confdefs.h. */
36530 #include <math.h>
36531 #ifdef HAVE_IEEEFP_H
36532 #include <ieeefp.h>
36533 #endif
36536 main ()
36538 sqrtl(0);
36540 return 0;
36542 _ACEOF
36543 if ac_fn_cxx_try_compile "$LINENO"; then :
36544 glibcxx_cv_func_sqrtl_use=yes
36545 else
36546 glibcxx_cv_func_sqrtl_use=no
36548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36549 ac_ext=c
36550 ac_cpp='$CPP $CPPFLAGS'
36551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
36560 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
36562 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
36563 for ac_func in sqrtl
36564 do :
36565 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
36566 if test "x$ac_cv_func_sqrtl" = xyes; then :
36567 cat >>confdefs.h <<_ACEOF
36568 #define HAVE_SQRTL 1
36569 _ACEOF
36572 done
36574 else
36576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
36577 $as_echo_n "checking for _sqrtl declaration... " >&6; }
36578 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
36579 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
36580 $as_echo_n "(cached) " >&6
36581 else
36584 ac_ext=cpp
36585 ac_cpp='$CXXCPP $CPPFLAGS'
36586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36591 /* end confdefs.h. */
36592 #include <math.h>
36593 #ifdef HAVE_IEEEFP_H
36594 #include <ieeefp.h>
36595 #endif
36598 main ()
36600 _sqrtl(0);
36602 return 0;
36604 _ACEOF
36605 if ac_fn_cxx_try_compile "$LINENO"; then :
36606 glibcxx_cv_func__sqrtl_use=yes
36607 else
36608 glibcxx_cv_func__sqrtl_use=no
36610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36611 ac_ext=c
36612 ac_cpp='$CPP $CPPFLAGS'
36613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
36622 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
36624 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
36625 for ac_func in _sqrtl
36626 do :
36627 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
36628 if test "x$ac_cv_func__sqrtl" = xyes; then :
36629 cat >>confdefs.h <<_ACEOF
36630 #define HAVE__SQRTL 1
36631 _ACEOF
36634 done
36643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
36644 $as_echo_n "checking for sincosl declaration... " >&6; }
36645 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
36646 if ${glibcxx_cv_func_sincosl_use+:} false; then :
36647 $as_echo_n "(cached) " >&6
36648 else
36651 ac_ext=cpp
36652 ac_cpp='$CXXCPP $CPPFLAGS'
36653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36658 /* end confdefs.h. */
36659 #include <math.h>
36661 main ()
36663 sincosl(0, 0, 0);
36665 return 0;
36667 _ACEOF
36668 if ac_fn_cxx_try_compile "$LINENO"; then :
36669 glibcxx_cv_func_sincosl_use=yes
36670 else
36671 glibcxx_cv_func_sincosl_use=no
36673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36674 ac_ext=c
36675 ac_cpp='$CPP $CPPFLAGS'
36676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
36685 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
36687 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
36688 for ac_func in sincosl
36689 do :
36690 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
36691 if test "x$ac_cv_func_sincosl" = xyes; then :
36692 cat >>confdefs.h <<_ACEOF
36693 #define HAVE_SINCOSL 1
36694 _ACEOF
36697 done
36699 else
36701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
36702 $as_echo_n "checking for _sincosl declaration... " >&6; }
36703 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
36704 if ${glibcxx_cv_func__sincosl_use+:} false; then :
36705 $as_echo_n "(cached) " >&6
36706 else
36709 ac_ext=cpp
36710 ac_cpp='$CXXCPP $CPPFLAGS'
36711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36716 /* end confdefs.h. */
36717 #include <math.h>
36719 main ()
36721 _sincosl(0, 0, 0);
36723 return 0;
36725 _ACEOF
36726 if ac_fn_cxx_try_compile "$LINENO"; then :
36727 glibcxx_cv_func__sincosl_use=yes
36728 else
36729 glibcxx_cv_func__sincosl_use=no
36731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36732 ac_ext=c
36733 ac_cpp='$CPP $CPPFLAGS'
36734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
36743 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
36745 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
36746 for ac_func in _sincosl
36747 do :
36748 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
36749 if test "x$ac_cv_func__sincosl" = xyes; then :
36750 cat >>confdefs.h <<_ACEOF
36751 #define HAVE__SINCOSL 1
36752 _ACEOF
36755 done
36764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
36765 $as_echo_n "checking for finitel declaration... " >&6; }
36766 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
36767 if ${glibcxx_cv_func_finitel_use+:} false; then :
36768 $as_echo_n "(cached) " >&6
36769 else
36772 ac_ext=cpp
36773 ac_cpp='$CXXCPP $CPPFLAGS'
36774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36779 /* end confdefs.h. */
36780 #include <math.h>
36781 #ifdef HAVE_IEEEFP_H
36782 #include <ieeefp.h>
36783 #endif
36786 main ()
36788 finitel(0);
36790 return 0;
36792 _ACEOF
36793 if ac_fn_cxx_try_compile "$LINENO"; then :
36794 glibcxx_cv_func_finitel_use=yes
36795 else
36796 glibcxx_cv_func_finitel_use=no
36798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36799 ac_ext=c
36800 ac_cpp='$CPP $CPPFLAGS'
36801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
36810 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
36812 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
36813 for ac_func in finitel
36814 do :
36815 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
36816 if test "x$ac_cv_func_finitel" = xyes; then :
36817 cat >>confdefs.h <<_ACEOF
36818 #define HAVE_FINITEL 1
36819 _ACEOF
36822 done
36824 else
36826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
36827 $as_echo_n "checking for _finitel declaration... " >&6; }
36828 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
36829 if ${glibcxx_cv_func__finitel_use+:} false; then :
36830 $as_echo_n "(cached) " >&6
36831 else
36834 ac_ext=cpp
36835 ac_cpp='$CXXCPP $CPPFLAGS'
36836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36841 /* end confdefs.h. */
36842 #include <math.h>
36843 #ifdef HAVE_IEEEFP_H
36844 #include <ieeefp.h>
36845 #endif
36848 main ()
36850 _finitel(0);
36852 return 0;
36854 _ACEOF
36855 if ac_fn_cxx_try_compile "$LINENO"; then :
36856 glibcxx_cv_func__finitel_use=yes
36857 else
36858 glibcxx_cv_func__finitel_use=no
36860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36861 ac_ext=c
36862 ac_cpp='$CPP $CPPFLAGS'
36863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
36872 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
36874 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
36875 for ac_func in _finitel
36876 do :
36877 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
36878 if test "x$ac_cv_func__finitel" = xyes; then :
36879 cat >>confdefs.h <<_ACEOF
36880 #define HAVE__FINITEL 1
36881 _ACEOF
36884 done
36892 LIBS="$ac_save_LIBS"
36893 CXXFLAGS="$ac_save_CXXFLAGS"
36896 ac_test_CXXFLAGS="${CXXFLAGS+set}"
36897 ac_save_CXXFLAGS="$CXXFLAGS"
36898 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
36901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
36902 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
36903 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
36904 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
36905 $as_echo_n "(cached) " >&6
36906 else
36909 ac_ext=cpp
36910 ac_cpp='$CXXCPP $CPPFLAGS'
36911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36916 /* end confdefs.h. */
36917 #include <stdlib.h>
36919 main ()
36921 at_quick_exit(0);
36923 return 0;
36925 _ACEOF
36926 if ac_fn_cxx_try_compile "$LINENO"; then :
36927 glibcxx_cv_func_at_quick_exit_use=yes
36928 else
36929 glibcxx_cv_func_at_quick_exit_use=no
36931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36932 ac_ext=c
36933 ac_cpp='$CPP $CPPFLAGS'
36934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
36943 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
36944 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
36945 for ac_func in at_quick_exit
36946 do :
36947 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
36948 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
36949 cat >>confdefs.h <<_ACEOF
36950 #define HAVE_AT_QUICK_EXIT 1
36951 _ACEOF
36954 done
36959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
36960 $as_echo_n "checking for quick_exit declaration... " >&6; }
36961 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
36962 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
36963 $as_echo_n "(cached) " >&6
36964 else
36967 ac_ext=cpp
36968 ac_cpp='$CXXCPP $CPPFLAGS'
36969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36974 /* end confdefs.h. */
36975 #include <stdlib.h>
36977 main ()
36979 quick_exit(0);
36981 return 0;
36983 _ACEOF
36984 if ac_fn_cxx_try_compile "$LINENO"; then :
36985 glibcxx_cv_func_quick_exit_use=yes
36986 else
36987 glibcxx_cv_func_quick_exit_use=no
36989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36990 ac_ext=c
36991 ac_cpp='$CPP $CPPFLAGS'
36992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
37001 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
37002 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
37003 for ac_func in quick_exit
37004 do :
37005 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
37006 if test "x$ac_cv_func_quick_exit" = xyes; then :
37007 cat >>confdefs.h <<_ACEOF
37008 #define HAVE_QUICK_EXIT 1
37009 _ACEOF
37012 done
37017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
37018 $as_echo_n "checking for strtold declaration... " >&6; }
37019 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
37020 if ${glibcxx_cv_func_strtold_use+:} false; then :
37021 $as_echo_n "(cached) " >&6
37022 else
37025 ac_ext=cpp
37026 ac_cpp='$CXXCPP $CPPFLAGS'
37027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37032 /* end confdefs.h. */
37033 #include <stdlib.h>
37035 main ()
37037 strtold(0, 0);
37039 return 0;
37041 _ACEOF
37042 if ac_fn_cxx_try_compile "$LINENO"; then :
37043 glibcxx_cv_func_strtold_use=yes
37044 else
37045 glibcxx_cv_func_strtold_use=no
37047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37048 ac_ext=c
37049 ac_cpp='$CPP $CPPFLAGS'
37050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
37059 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
37060 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
37061 for ac_func in strtold
37062 do :
37063 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
37064 if test "x$ac_cv_func_strtold" = xyes; then :
37065 cat >>confdefs.h <<_ACEOF
37066 #define HAVE_STRTOLD 1
37067 _ACEOF
37070 done
37077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
37078 $as_echo_n "checking for strtof declaration... " >&6; }
37079 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
37080 if ${glibcxx_cv_func_strtof_use+:} false; then :
37081 $as_echo_n "(cached) " >&6
37082 else
37085 ac_ext=cpp
37086 ac_cpp='$CXXCPP $CPPFLAGS'
37087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37092 /* end confdefs.h. */
37093 #include <stdlib.h>
37095 main ()
37097 strtof(0, 0);
37099 return 0;
37101 _ACEOF
37102 if ac_fn_cxx_try_compile "$LINENO"; then :
37103 glibcxx_cv_func_strtof_use=yes
37104 else
37105 glibcxx_cv_func_strtof_use=no
37107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37108 ac_ext=c
37109 ac_cpp='$CPP $CPPFLAGS'
37110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
37119 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
37120 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
37121 for ac_func in strtof
37122 do :
37123 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
37124 if test "x$ac_cv_func_strtof" = xyes; then :
37125 cat >>confdefs.h <<_ACEOF
37126 #define HAVE_STRTOF 1
37127 _ACEOF
37130 done
37137 CXXFLAGS="$ac_save_CXXFLAGS"
37140 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
37142 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
37144 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
37146 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
37149 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
37151 $as_echo "#define HAVE_MODF 1" >>confdefs.h
37153 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
37157 *-aix*)
37159 # If we're not using GNU ld, then there's no point in even trying these
37160 # tests. Check for that first. We should have already tested for gld
37161 # by now (in libtool), but require it now just to be safe...
37162 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
37163 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
37167 # The name set by libtool depends on the version of libtool. Shame on us
37168 # for depending on an impl detail, but c'est la vie. Older versions used
37169 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
37170 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
37171 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
37172 # set (hence we're using an older libtool), then set it.
37173 if test x${with_gnu_ld+set} != xset; then
37174 if test x${ac_cv_prog_gnu_ld+set} != xset; then
37175 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
37176 with_gnu_ld=no
37177 else
37178 with_gnu_ld=$ac_cv_prog_gnu_ld
37182 # Start by getting the version number. I think the libtool test already
37183 # does some of this, but throws away the result.
37184 glibcxx_ld_is_gold=no
37185 glibcxx_ld_is_mold=no
37186 if test x"$with_gnu_ld" = x"yes"; then
37187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
37188 $as_echo_n "checking for ld version... " >&6; }
37190 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
37191 glibcxx_ld_is_gold=yes
37192 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
37193 glibcxx_ld_is_mold=yes
37195 ldver=`$LD --version 2>/dev/null |
37196 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
37198 glibcxx_gnu_ld_version=`echo $ldver | \
37199 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
37200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
37201 $as_echo "$glibcxx_gnu_ld_version" >&6; }
37204 # Set --gc-sections.
37205 glibcxx_have_gc_sections=no
37206 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
37207 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
37208 glibcxx_have_gc_sections=yes
37210 else
37211 glibcxx_gcsections_min_ld=21602
37212 if test x"$with_gnu_ld" = x"yes" &&
37213 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
37214 glibcxx_have_gc_sections=yes
37217 if test "$glibcxx_have_gc_sections" = "yes"; then
37218 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
37219 # NB: This flag only works reliably after 2.16.1. Configure tests
37220 # for this are difficult, so hard wire a value that should work.
37222 ac_test_CFLAGS="${CFLAGS+set}"
37223 ac_save_CFLAGS="$CFLAGS"
37224 CFLAGS='-Wl,--gc-sections'
37226 # Check for -Wl,--gc-sections
37227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
37228 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
37229 if test x$gcc_no_link = xyes; then
37230 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
37232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37233 /* end confdefs.h. */
37234 int one(void) { return 1; }
37235 int two(void) { return 2; }
37238 main ()
37240 two();
37242 return 0;
37244 _ACEOF
37245 if ac_fn_c_try_link "$LINENO"; then :
37246 ac_gcsections=yes
37247 else
37248 ac_gcsections=no
37250 rm -f core conftest.err conftest.$ac_objext \
37251 conftest$ac_exeext conftest.$ac_ext
37252 if test "$ac_gcsections" = "yes"; then
37253 rm -f conftest.c
37254 touch conftest.c
37255 if $CC -c conftest.c; then
37256 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
37257 grep "Warning: gc-sections option ignored" > /dev/null; then
37258 ac_gcsections=no
37261 rm -f conftest.c conftest.o conftest
37263 if test "$ac_gcsections" = "yes"; then
37264 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
37266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
37267 $as_echo "$ac_gcsections" >&6; }
37269 if test "$ac_test_CFLAGS" = set; then
37270 CFLAGS="$ac_save_CFLAGS"
37271 else
37272 # this is the suspicious part
37273 CFLAGS=''
37277 # Set -z,relro.
37278 # Note this is only for shared objects.
37279 ac_ld_relro=no
37280 if test x"$with_gnu_ld" = x"yes"; then
37281 # cygwin and mingw uses PE, which has no ELF relro support,
37282 # multi target ld may confuse configure machinery
37283 case "$host" in
37284 *-*-cygwin*)
37286 *-*-mingw*)
37289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
37290 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
37291 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
37292 if test -n "$cxx_z_relo"; then
37293 OPT_LDFLAGS="-Wl,-z,relro"
37294 ac_ld_relro=yes
37296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
37297 $as_echo "$ac_ld_relro" >&6; }
37298 esac
37301 # Set linker optimization flags.
37302 if test x"$with_gnu_ld" = x"yes"; then
37303 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
37310 ac_test_CXXFLAGS="${CXXFLAGS+set}"
37311 ac_save_CXXFLAGS="$CXXFLAGS"
37312 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
37314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
37315 $as_echo_n "checking for sin in -lm... " >&6; }
37316 if ${ac_cv_lib_m_sin+:} false; then :
37317 $as_echo_n "(cached) " >&6
37318 else
37319 ac_check_lib_save_LIBS=$LIBS
37320 LIBS="-lm $LIBS"
37321 if test x$gcc_no_link = xyes; then
37322 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
37324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37325 /* end confdefs.h. */
37327 /* Override any GCC internal prototype to avoid an error.
37328 Use char because int might match the return type of a GCC
37329 builtin and then its argument prototype would still apply. */
37330 #ifdef __cplusplus
37331 extern "C"
37332 #endif
37333 char sin ();
37335 main ()
37337 return sin ();
37339 return 0;
37341 _ACEOF
37342 if ac_fn_c_try_link "$LINENO"; then :
37343 ac_cv_lib_m_sin=yes
37344 else
37345 ac_cv_lib_m_sin=no
37347 rm -f core conftest.err conftest.$ac_objext \
37348 conftest$ac_exeext conftest.$ac_ext
37349 LIBS=$ac_check_lib_save_LIBS
37351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
37352 $as_echo "$ac_cv_lib_m_sin" >&6; }
37353 if test "x$ac_cv_lib_m_sin" = xyes; then :
37354 libm="-lm"
37357 ac_save_LIBS="$LIBS"
37358 LIBS="$LIBS $libm"
37362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
37363 $as_echo_n "checking for isinf declaration... " >&6; }
37364 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
37365 if ${glibcxx_cv_func_isinf_use+:} false; then :
37366 $as_echo_n "(cached) " >&6
37367 else
37370 ac_ext=cpp
37371 ac_cpp='$CXXCPP $CPPFLAGS'
37372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37377 /* end confdefs.h. */
37378 #include <math.h>
37379 #ifdef HAVE_IEEEFP_H
37380 #include <ieeefp.h>
37381 #endif
37384 main ()
37386 isinf(0);
37388 return 0;
37390 _ACEOF
37391 if ac_fn_cxx_try_compile "$LINENO"; then :
37392 glibcxx_cv_func_isinf_use=yes
37393 else
37394 glibcxx_cv_func_isinf_use=no
37396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37397 ac_ext=c
37398 ac_cpp='$CPP $CPPFLAGS'
37399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
37408 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
37410 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
37411 for ac_func in isinf
37412 do :
37413 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
37414 if test "x$ac_cv_func_isinf" = xyes; then :
37415 cat >>confdefs.h <<_ACEOF
37416 #define HAVE_ISINF 1
37417 _ACEOF
37420 done
37422 else
37424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
37425 $as_echo_n "checking for _isinf declaration... " >&6; }
37426 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
37427 if ${glibcxx_cv_func__isinf_use+:} false; then :
37428 $as_echo_n "(cached) " >&6
37429 else
37432 ac_ext=cpp
37433 ac_cpp='$CXXCPP $CPPFLAGS'
37434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37439 /* end confdefs.h. */
37440 #include <math.h>
37441 #ifdef HAVE_IEEEFP_H
37442 #include <ieeefp.h>
37443 #endif
37446 main ()
37448 _isinf(0);
37450 return 0;
37452 _ACEOF
37453 if ac_fn_cxx_try_compile "$LINENO"; then :
37454 glibcxx_cv_func__isinf_use=yes
37455 else
37456 glibcxx_cv_func__isinf_use=no
37458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37459 ac_ext=c
37460 ac_cpp='$CPP $CPPFLAGS'
37461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
37470 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
37472 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
37473 for ac_func in _isinf
37474 do :
37475 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
37476 if test "x$ac_cv_func__isinf" = xyes; then :
37477 cat >>confdefs.h <<_ACEOF
37478 #define HAVE__ISINF 1
37479 _ACEOF
37482 done
37491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
37492 $as_echo_n "checking for isnan declaration... " >&6; }
37493 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
37494 if ${glibcxx_cv_func_isnan_use+:} false; then :
37495 $as_echo_n "(cached) " >&6
37496 else
37499 ac_ext=cpp
37500 ac_cpp='$CXXCPP $CPPFLAGS'
37501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37506 /* end confdefs.h. */
37507 #include <math.h>
37508 #ifdef HAVE_IEEEFP_H
37509 #include <ieeefp.h>
37510 #endif
37513 main ()
37515 isnan(0);
37517 return 0;
37519 _ACEOF
37520 if ac_fn_cxx_try_compile "$LINENO"; then :
37521 glibcxx_cv_func_isnan_use=yes
37522 else
37523 glibcxx_cv_func_isnan_use=no
37525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37526 ac_ext=c
37527 ac_cpp='$CPP $CPPFLAGS'
37528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
37537 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
37539 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
37540 for ac_func in isnan
37541 do :
37542 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
37543 if test "x$ac_cv_func_isnan" = xyes; then :
37544 cat >>confdefs.h <<_ACEOF
37545 #define HAVE_ISNAN 1
37546 _ACEOF
37549 done
37551 else
37553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
37554 $as_echo_n "checking for _isnan declaration... " >&6; }
37555 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
37556 if ${glibcxx_cv_func__isnan_use+:} false; then :
37557 $as_echo_n "(cached) " >&6
37558 else
37561 ac_ext=cpp
37562 ac_cpp='$CXXCPP $CPPFLAGS'
37563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37568 /* end confdefs.h. */
37569 #include <math.h>
37570 #ifdef HAVE_IEEEFP_H
37571 #include <ieeefp.h>
37572 #endif
37575 main ()
37577 _isnan(0);
37579 return 0;
37581 _ACEOF
37582 if ac_fn_cxx_try_compile "$LINENO"; then :
37583 glibcxx_cv_func__isnan_use=yes
37584 else
37585 glibcxx_cv_func__isnan_use=no
37587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37588 ac_ext=c
37589 ac_cpp='$CPP $CPPFLAGS'
37590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
37599 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
37601 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
37602 for ac_func in _isnan
37603 do :
37604 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
37605 if test "x$ac_cv_func__isnan" = xyes; then :
37606 cat >>confdefs.h <<_ACEOF
37607 #define HAVE__ISNAN 1
37608 _ACEOF
37611 done
37620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
37621 $as_echo_n "checking for finite declaration... " >&6; }
37622 if test x${glibcxx_cv_func_finite_use+set} != xset; then
37623 if ${glibcxx_cv_func_finite_use+:} false; then :
37624 $as_echo_n "(cached) " >&6
37625 else
37628 ac_ext=cpp
37629 ac_cpp='$CXXCPP $CPPFLAGS'
37630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37635 /* end confdefs.h. */
37636 #include <math.h>
37637 #ifdef HAVE_IEEEFP_H
37638 #include <ieeefp.h>
37639 #endif
37642 main ()
37644 finite(0);
37646 return 0;
37648 _ACEOF
37649 if ac_fn_cxx_try_compile "$LINENO"; then :
37650 glibcxx_cv_func_finite_use=yes
37651 else
37652 glibcxx_cv_func_finite_use=no
37654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37655 ac_ext=c
37656 ac_cpp='$CPP $CPPFLAGS'
37657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
37666 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
37668 if test x$glibcxx_cv_func_finite_use = x"yes"; then
37669 for ac_func in finite
37670 do :
37671 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
37672 if test "x$ac_cv_func_finite" = xyes; then :
37673 cat >>confdefs.h <<_ACEOF
37674 #define HAVE_FINITE 1
37675 _ACEOF
37678 done
37680 else
37682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
37683 $as_echo_n "checking for _finite declaration... " >&6; }
37684 if test x${glibcxx_cv_func__finite_use+set} != xset; then
37685 if ${glibcxx_cv_func__finite_use+:} false; then :
37686 $as_echo_n "(cached) " >&6
37687 else
37690 ac_ext=cpp
37691 ac_cpp='$CXXCPP $CPPFLAGS'
37692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37697 /* end confdefs.h. */
37698 #include <math.h>
37699 #ifdef HAVE_IEEEFP_H
37700 #include <ieeefp.h>
37701 #endif
37704 main ()
37706 _finite(0);
37708 return 0;
37710 _ACEOF
37711 if ac_fn_cxx_try_compile "$LINENO"; then :
37712 glibcxx_cv_func__finite_use=yes
37713 else
37714 glibcxx_cv_func__finite_use=no
37716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37717 ac_ext=c
37718 ac_cpp='$CPP $CPPFLAGS'
37719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
37728 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
37730 if test x$glibcxx_cv_func__finite_use = x"yes"; then
37731 for ac_func in _finite
37732 do :
37733 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
37734 if test "x$ac_cv_func__finite" = xyes; then :
37735 cat >>confdefs.h <<_ACEOF
37736 #define HAVE__FINITE 1
37737 _ACEOF
37740 done
37749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
37750 $as_echo_n "checking for sincos declaration... " >&6; }
37751 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
37752 if ${glibcxx_cv_func_sincos_use+:} false; then :
37753 $as_echo_n "(cached) " >&6
37754 else
37757 ac_ext=cpp
37758 ac_cpp='$CXXCPP $CPPFLAGS'
37759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37764 /* end confdefs.h. */
37765 #include <math.h>
37767 main ()
37769 sincos(0, 0, 0);
37771 return 0;
37773 _ACEOF
37774 if ac_fn_cxx_try_compile "$LINENO"; then :
37775 glibcxx_cv_func_sincos_use=yes
37776 else
37777 glibcxx_cv_func_sincos_use=no
37779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37780 ac_ext=c
37781 ac_cpp='$CPP $CPPFLAGS'
37782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
37791 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
37793 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
37794 for ac_func in sincos
37795 do :
37796 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
37797 if test "x$ac_cv_func_sincos" = xyes; then :
37798 cat >>confdefs.h <<_ACEOF
37799 #define HAVE_SINCOS 1
37800 _ACEOF
37803 done
37805 else
37807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
37808 $as_echo_n "checking for _sincos declaration... " >&6; }
37809 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
37810 if ${glibcxx_cv_func__sincos_use+:} false; then :
37811 $as_echo_n "(cached) " >&6
37812 else
37815 ac_ext=cpp
37816 ac_cpp='$CXXCPP $CPPFLAGS'
37817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37822 /* end confdefs.h. */
37823 #include <math.h>
37825 main ()
37827 _sincos(0, 0, 0);
37829 return 0;
37831 _ACEOF
37832 if ac_fn_cxx_try_compile "$LINENO"; then :
37833 glibcxx_cv_func__sincos_use=yes
37834 else
37835 glibcxx_cv_func__sincos_use=no
37837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37838 ac_ext=c
37839 ac_cpp='$CPP $CPPFLAGS'
37840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
37849 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
37851 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
37852 for ac_func in _sincos
37853 do :
37854 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
37855 if test "x$ac_cv_func__sincos" = xyes; then :
37856 cat >>confdefs.h <<_ACEOF
37857 #define HAVE__SINCOS 1
37858 _ACEOF
37861 done
37870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
37871 $as_echo_n "checking for fpclass declaration... " >&6; }
37872 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
37873 if ${glibcxx_cv_func_fpclass_use+:} false; then :
37874 $as_echo_n "(cached) " >&6
37875 else
37878 ac_ext=cpp
37879 ac_cpp='$CXXCPP $CPPFLAGS'
37880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37885 /* end confdefs.h. */
37886 #include <math.h>
37887 #ifdef HAVE_IEEEFP_H
37888 #include <ieeefp.h>
37889 #endif
37892 main ()
37894 fpclass(0);
37896 return 0;
37898 _ACEOF
37899 if ac_fn_cxx_try_compile "$LINENO"; then :
37900 glibcxx_cv_func_fpclass_use=yes
37901 else
37902 glibcxx_cv_func_fpclass_use=no
37904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37905 ac_ext=c
37906 ac_cpp='$CPP $CPPFLAGS'
37907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
37916 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
37918 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
37919 for ac_func in fpclass
37920 do :
37921 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
37922 if test "x$ac_cv_func_fpclass" = xyes; then :
37923 cat >>confdefs.h <<_ACEOF
37924 #define HAVE_FPCLASS 1
37925 _ACEOF
37928 done
37930 else
37932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
37933 $as_echo_n "checking for _fpclass declaration... " >&6; }
37934 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
37935 if ${glibcxx_cv_func__fpclass_use+:} false; then :
37936 $as_echo_n "(cached) " >&6
37937 else
37940 ac_ext=cpp
37941 ac_cpp='$CXXCPP $CPPFLAGS'
37942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37947 /* end confdefs.h. */
37948 #include <math.h>
37949 #ifdef HAVE_IEEEFP_H
37950 #include <ieeefp.h>
37951 #endif
37954 main ()
37956 _fpclass(0);
37958 return 0;
37960 _ACEOF
37961 if ac_fn_cxx_try_compile "$LINENO"; then :
37962 glibcxx_cv_func__fpclass_use=yes
37963 else
37964 glibcxx_cv_func__fpclass_use=no
37966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37967 ac_ext=c
37968 ac_cpp='$CPP $CPPFLAGS'
37969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
37978 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
37980 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
37981 for ac_func in _fpclass
37982 do :
37983 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
37984 if test "x$ac_cv_func__fpclass" = xyes; then :
37985 cat >>confdefs.h <<_ACEOF
37986 #define HAVE__FPCLASS 1
37987 _ACEOF
37990 done
37999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
38000 $as_echo_n "checking for qfpclass declaration... " >&6; }
38001 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
38002 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
38003 $as_echo_n "(cached) " >&6
38004 else
38007 ac_ext=cpp
38008 ac_cpp='$CXXCPP $CPPFLAGS'
38009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38014 /* end confdefs.h. */
38015 #include <math.h>
38016 #ifdef HAVE_IEEEFP_H
38017 #include <ieeefp.h>
38018 #endif
38021 main ()
38023 qfpclass(0);
38025 return 0;
38027 _ACEOF
38028 if ac_fn_cxx_try_compile "$LINENO"; then :
38029 glibcxx_cv_func_qfpclass_use=yes
38030 else
38031 glibcxx_cv_func_qfpclass_use=no
38033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38034 ac_ext=c
38035 ac_cpp='$CPP $CPPFLAGS'
38036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
38045 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
38047 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
38048 for ac_func in qfpclass
38049 do :
38050 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
38051 if test "x$ac_cv_func_qfpclass" = xyes; then :
38052 cat >>confdefs.h <<_ACEOF
38053 #define HAVE_QFPCLASS 1
38054 _ACEOF
38057 done
38059 else
38061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
38062 $as_echo_n "checking for _qfpclass declaration... " >&6; }
38063 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
38064 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
38065 $as_echo_n "(cached) " >&6
38066 else
38069 ac_ext=cpp
38070 ac_cpp='$CXXCPP $CPPFLAGS'
38071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38076 /* end confdefs.h. */
38077 #include <math.h>
38078 #ifdef HAVE_IEEEFP_H
38079 #include <ieeefp.h>
38080 #endif
38083 main ()
38085 _qfpclass(0);
38087 return 0;
38089 _ACEOF
38090 if ac_fn_cxx_try_compile "$LINENO"; then :
38091 glibcxx_cv_func__qfpclass_use=yes
38092 else
38093 glibcxx_cv_func__qfpclass_use=no
38095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38096 ac_ext=c
38097 ac_cpp='$CPP $CPPFLAGS'
38098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
38107 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
38109 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
38110 for ac_func in _qfpclass
38111 do :
38112 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
38113 if test "x$ac_cv_func__qfpclass" = xyes; then :
38114 cat >>confdefs.h <<_ACEOF
38115 #define HAVE__QFPCLASS 1
38116 _ACEOF
38119 done
38128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
38129 $as_echo_n "checking for hypot declaration... " >&6; }
38130 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
38131 if ${glibcxx_cv_func_hypot_use+:} false; then :
38132 $as_echo_n "(cached) " >&6
38133 else
38136 ac_ext=cpp
38137 ac_cpp='$CXXCPP $CPPFLAGS'
38138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38143 /* end confdefs.h. */
38144 #include <math.h>
38146 main ()
38148 hypot(0, 0);
38150 return 0;
38152 _ACEOF
38153 if ac_fn_cxx_try_compile "$LINENO"; then :
38154 glibcxx_cv_func_hypot_use=yes
38155 else
38156 glibcxx_cv_func_hypot_use=no
38158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38159 ac_ext=c
38160 ac_cpp='$CPP $CPPFLAGS'
38161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
38170 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
38172 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
38173 for ac_func in hypot
38174 do :
38175 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
38176 if test "x$ac_cv_func_hypot" = xyes; then :
38177 cat >>confdefs.h <<_ACEOF
38178 #define HAVE_HYPOT 1
38179 _ACEOF
38182 done
38184 else
38186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
38187 $as_echo_n "checking for _hypot declaration... " >&6; }
38188 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
38189 if ${glibcxx_cv_func__hypot_use+:} false; then :
38190 $as_echo_n "(cached) " >&6
38191 else
38194 ac_ext=cpp
38195 ac_cpp='$CXXCPP $CPPFLAGS'
38196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38201 /* end confdefs.h. */
38202 #include <math.h>
38204 main ()
38206 _hypot(0, 0);
38208 return 0;
38210 _ACEOF
38211 if ac_fn_cxx_try_compile "$LINENO"; then :
38212 glibcxx_cv_func__hypot_use=yes
38213 else
38214 glibcxx_cv_func__hypot_use=no
38216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38217 ac_ext=c
38218 ac_cpp='$CPP $CPPFLAGS'
38219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
38228 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
38230 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
38231 for ac_func in _hypot
38232 do :
38233 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
38234 if test "x$ac_cv_func__hypot" = xyes; then :
38235 cat >>confdefs.h <<_ACEOF
38236 #define HAVE__HYPOT 1
38237 _ACEOF
38240 done
38249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
38250 $as_echo_n "checking for float trig functions... " >&6; }
38251 if ${glibcxx_cv_func_float_trig_use+:} false; then :
38252 $as_echo_n "(cached) " >&6
38253 else
38256 ac_ext=cpp
38257 ac_cpp='$CXXCPP $CPPFLAGS'
38258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38263 /* end confdefs.h. */
38264 #include <math.h>
38266 main ()
38268 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
38270 return 0;
38272 _ACEOF
38273 if ac_fn_cxx_try_compile "$LINENO"; then :
38274 glibcxx_cv_func_float_trig_use=yes
38275 else
38276 glibcxx_cv_func_float_trig_use=no
38278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38279 ac_ext=c
38280 ac_cpp='$CPP $CPPFLAGS'
38281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
38288 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
38289 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
38290 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
38291 do :
38292 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38293 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38294 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38295 cat >>confdefs.h <<_ACEOF
38296 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38297 _ACEOF
38300 done
38302 else
38303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
38304 $as_echo_n "checking for _float trig functions... " >&6; }
38305 if ${glibcxx_cv_func__float_trig_use+:} false; then :
38306 $as_echo_n "(cached) " >&6
38307 else
38310 ac_ext=cpp
38311 ac_cpp='$CXXCPP $CPPFLAGS'
38312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38317 /* end confdefs.h. */
38318 #include <math.h>
38320 main ()
38322 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
38324 return 0;
38326 _ACEOF
38327 if ac_fn_cxx_try_compile "$LINENO"; then :
38328 glibcxx_cv_func__float_trig_use=yes
38329 else
38330 glibcxx_cv_func__float_trig_use=no
38332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38333 ac_ext=c
38334 ac_cpp='$CPP $CPPFLAGS'
38335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
38342 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
38343 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
38344 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
38345 do :
38346 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38347 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38348 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38349 cat >>confdefs.h <<_ACEOF
38350 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38351 _ACEOF
38354 done
38363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
38364 $as_echo_n "checking for float round functions... " >&6; }
38365 if ${glibcxx_cv_func_float_round_use+:} false; then :
38366 $as_echo_n "(cached) " >&6
38367 else
38370 ac_ext=cpp
38371 ac_cpp='$CXXCPP $CPPFLAGS'
38372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38377 /* end confdefs.h. */
38378 #include <math.h>
38380 main ()
38382 ceilf (0); floorf (0);
38384 return 0;
38386 _ACEOF
38387 if ac_fn_cxx_try_compile "$LINENO"; then :
38388 glibcxx_cv_func_float_round_use=yes
38389 else
38390 glibcxx_cv_func_float_round_use=no
38392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38393 ac_ext=c
38394 ac_cpp='$CPP $CPPFLAGS'
38395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
38402 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
38403 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
38404 for ac_func in ceilf floorf
38405 do :
38406 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38407 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38408 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38409 cat >>confdefs.h <<_ACEOF
38410 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38411 _ACEOF
38414 done
38416 else
38417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
38418 $as_echo_n "checking for _float round functions... " >&6; }
38419 if ${glibcxx_cv_func__float_round_use+:} false; then :
38420 $as_echo_n "(cached) " >&6
38421 else
38424 ac_ext=cpp
38425 ac_cpp='$CXXCPP $CPPFLAGS'
38426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38431 /* end confdefs.h. */
38432 #include <math.h>
38434 main ()
38436 _ceilf (0); _floorf (0);
38438 return 0;
38440 _ACEOF
38441 if ac_fn_cxx_try_compile "$LINENO"; then :
38442 glibcxx_cv_func__float_round_use=yes
38443 else
38444 glibcxx_cv_func__float_round_use=no
38446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38447 ac_ext=c
38448 ac_cpp='$CPP $CPPFLAGS'
38449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
38456 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
38457 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
38458 for ac_func in _ceilf _floorf
38459 do :
38460 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38461 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38462 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38463 cat >>confdefs.h <<_ACEOF
38464 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38465 _ACEOF
38468 done
38478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
38479 $as_echo_n "checking for expf declaration... " >&6; }
38480 if test x${glibcxx_cv_func_expf_use+set} != xset; then
38481 if ${glibcxx_cv_func_expf_use+:} false; then :
38482 $as_echo_n "(cached) " >&6
38483 else
38486 ac_ext=cpp
38487 ac_cpp='$CXXCPP $CPPFLAGS'
38488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38493 /* end confdefs.h. */
38494 #include <math.h>
38495 #ifdef HAVE_IEEEFP_H
38496 #include <ieeefp.h>
38497 #endif
38500 main ()
38502 expf(0);
38504 return 0;
38506 _ACEOF
38507 if ac_fn_cxx_try_compile "$LINENO"; then :
38508 glibcxx_cv_func_expf_use=yes
38509 else
38510 glibcxx_cv_func_expf_use=no
38512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38513 ac_ext=c
38514 ac_cpp='$CPP $CPPFLAGS'
38515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
38524 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
38526 if test x$glibcxx_cv_func_expf_use = x"yes"; then
38527 for ac_func in expf
38528 do :
38529 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
38530 if test "x$ac_cv_func_expf" = xyes; then :
38531 cat >>confdefs.h <<_ACEOF
38532 #define HAVE_EXPF 1
38533 _ACEOF
38536 done
38538 else
38540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
38541 $as_echo_n "checking for _expf declaration... " >&6; }
38542 if test x${glibcxx_cv_func__expf_use+set} != xset; then
38543 if ${glibcxx_cv_func__expf_use+:} false; then :
38544 $as_echo_n "(cached) " >&6
38545 else
38548 ac_ext=cpp
38549 ac_cpp='$CXXCPP $CPPFLAGS'
38550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38555 /* end confdefs.h. */
38556 #include <math.h>
38557 #ifdef HAVE_IEEEFP_H
38558 #include <ieeefp.h>
38559 #endif
38562 main ()
38564 _expf(0);
38566 return 0;
38568 _ACEOF
38569 if ac_fn_cxx_try_compile "$LINENO"; then :
38570 glibcxx_cv_func__expf_use=yes
38571 else
38572 glibcxx_cv_func__expf_use=no
38574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38575 ac_ext=c
38576 ac_cpp='$CPP $CPPFLAGS'
38577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
38586 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
38588 if test x$glibcxx_cv_func__expf_use = x"yes"; then
38589 for ac_func in _expf
38590 do :
38591 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
38592 if test "x$ac_cv_func__expf" = xyes; then :
38593 cat >>confdefs.h <<_ACEOF
38594 #define HAVE__EXPF 1
38595 _ACEOF
38598 done
38607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
38608 $as_echo_n "checking for isnanf declaration... " >&6; }
38609 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
38610 if ${glibcxx_cv_func_isnanf_use+:} false; then :
38611 $as_echo_n "(cached) " >&6
38612 else
38615 ac_ext=cpp
38616 ac_cpp='$CXXCPP $CPPFLAGS'
38617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38622 /* end confdefs.h. */
38623 #include <math.h>
38624 #ifdef HAVE_IEEEFP_H
38625 #include <ieeefp.h>
38626 #endif
38629 main ()
38631 isnanf(0);
38633 return 0;
38635 _ACEOF
38636 if ac_fn_cxx_try_compile "$LINENO"; then :
38637 glibcxx_cv_func_isnanf_use=yes
38638 else
38639 glibcxx_cv_func_isnanf_use=no
38641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38642 ac_ext=c
38643 ac_cpp='$CPP $CPPFLAGS'
38644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
38653 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
38655 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
38656 for ac_func in isnanf
38657 do :
38658 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
38659 if test "x$ac_cv_func_isnanf" = xyes; then :
38660 cat >>confdefs.h <<_ACEOF
38661 #define HAVE_ISNANF 1
38662 _ACEOF
38665 done
38667 else
38669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
38670 $as_echo_n "checking for _isnanf declaration... " >&6; }
38671 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
38672 if ${glibcxx_cv_func__isnanf_use+:} false; then :
38673 $as_echo_n "(cached) " >&6
38674 else
38677 ac_ext=cpp
38678 ac_cpp='$CXXCPP $CPPFLAGS'
38679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38684 /* end confdefs.h. */
38685 #include <math.h>
38686 #ifdef HAVE_IEEEFP_H
38687 #include <ieeefp.h>
38688 #endif
38691 main ()
38693 _isnanf(0);
38695 return 0;
38697 _ACEOF
38698 if ac_fn_cxx_try_compile "$LINENO"; then :
38699 glibcxx_cv_func__isnanf_use=yes
38700 else
38701 glibcxx_cv_func__isnanf_use=no
38703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38704 ac_ext=c
38705 ac_cpp='$CPP $CPPFLAGS'
38706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
38715 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
38717 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
38718 for ac_func in _isnanf
38719 do :
38720 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
38721 if test "x$ac_cv_func__isnanf" = xyes; then :
38722 cat >>confdefs.h <<_ACEOF
38723 #define HAVE__ISNANF 1
38724 _ACEOF
38727 done
38736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
38737 $as_echo_n "checking for isinff declaration... " >&6; }
38738 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
38739 if ${glibcxx_cv_func_isinff_use+:} false; then :
38740 $as_echo_n "(cached) " >&6
38741 else
38744 ac_ext=cpp
38745 ac_cpp='$CXXCPP $CPPFLAGS'
38746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38751 /* end confdefs.h. */
38752 #include <math.h>
38753 #ifdef HAVE_IEEEFP_H
38754 #include <ieeefp.h>
38755 #endif
38758 main ()
38760 isinff(0);
38762 return 0;
38764 _ACEOF
38765 if ac_fn_cxx_try_compile "$LINENO"; then :
38766 glibcxx_cv_func_isinff_use=yes
38767 else
38768 glibcxx_cv_func_isinff_use=no
38770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38771 ac_ext=c
38772 ac_cpp='$CPP $CPPFLAGS'
38773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
38782 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
38784 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
38785 for ac_func in isinff
38786 do :
38787 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
38788 if test "x$ac_cv_func_isinff" = xyes; then :
38789 cat >>confdefs.h <<_ACEOF
38790 #define HAVE_ISINFF 1
38791 _ACEOF
38794 done
38796 else
38798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
38799 $as_echo_n "checking for _isinff declaration... " >&6; }
38800 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
38801 if ${glibcxx_cv_func__isinff_use+:} false; then :
38802 $as_echo_n "(cached) " >&6
38803 else
38806 ac_ext=cpp
38807 ac_cpp='$CXXCPP $CPPFLAGS'
38808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38813 /* end confdefs.h. */
38814 #include <math.h>
38815 #ifdef HAVE_IEEEFP_H
38816 #include <ieeefp.h>
38817 #endif
38820 main ()
38822 _isinff(0);
38824 return 0;
38826 _ACEOF
38827 if ac_fn_cxx_try_compile "$LINENO"; then :
38828 glibcxx_cv_func__isinff_use=yes
38829 else
38830 glibcxx_cv_func__isinff_use=no
38832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38833 ac_ext=c
38834 ac_cpp='$CPP $CPPFLAGS'
38835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
38844 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
38846 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
38847 for ac_func in _isinff
38848 do :
38849 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
38850 if test "x$ac_cv_func__isinff" = xyes; then :
38851 cat >>confdefs.h <<_ACEOF
38852 #define HAVE__ISINFF 1
38853 _ACEOF
38856 done
38865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
38866 $as_echo_n "checking for atan2f declaration... " >&6; }
38867 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
38868 if ${glibcxx_cv_func_atan2f_use+:} false; then :
38869 $as_echo_n "(cached) " >&6
38870 else
38873 ac_ext=cpp
38874 ac_cpp='$CXXCPP $CPPFLAGS'
38875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38880 /* end confdefs.h. */
38881 #include <math.h>
38883 main ()
38885 atan2f(0, 0);
38887 return 0;
38889 _ACEOF
38890 if ac_fn_cxx_try_compile "$LINENO"; then :
38891 glibcxx_cv_func_atan2f_use=yes
38892 else
38893 glibcxx_cv_func_atan2f_use=no
38895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38896 ac_ext=c
38897 ac_cpp='$CPP $CPPFLAGS'
38898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
38907 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
38909 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
38910 for ac_func in atan2f
38911 do :
38912 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
38913 if test "x$ac_cv_func_atan2f" = xyes; then :
38914 cat >>confdefs.h <<_ACEOF
38915 #define HAVE_ATAN2F 1
38916 _ACEOF
38919 done
38921 else
38923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
38924 $as_echo_n "checking for _atan2f declaration... " >&6; }
38925 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
38926 if ${glibcxx_cv_func__atan2f_use+:} false; then :
38927 $as_echo_n "(cached) " >&6
38928 else
38931 ac_ext=cpp
38932 ac_cpp='$CXXCPP $CPPFLAGS'
38933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38938 /* end confdefs.h. */
38939 #include <math.h>
38941 main ()
38943 _atan2f(0, 0);
38945 return 0;
38947 _ACEOF
38948 if ac_fn_cxx_try_compile "$LINENO"; then :
38949 glibcxx_cv_func__atan2f_use=yes
38950 else
38951 glibcxx_cv_func__atan2f_use=no
38953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38954 ac_ext=c
38955 ac_cpp='$CPP $CPPFLAGS'
38956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
38965 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
38967 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
38968 for ac_func in _atan2f
38969 do :
38970 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
38971 if test "x$ac_cv_func__atan2f" = xyes; then :
38972 cat >>confdefs.h <<_ACEOF
38973 #define HAVE__ATAN2F 1
38974 _ACEOF
38977 done
38986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
38987 $as_echo_n "checking for fabsf declaration... " >&6; }
38988 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
38989 if ${glibcxx_cv_func_fabsf_use+:} false; then :
38990 $as_echo_n "(cached) " >&6
38991 else
38994 ac_ext=cpp
38995 ac_cpp='$CXXCPP $CPPFLAGS'
38996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39001 /* end confdefs.h. */
39002 #include <math.h>
39003 #ifdef HAVE_IEEEFP_H
39004 #include <ieeefp.h>
39005 #endif
39008 main ()
39010 fabsf(0);
39012 return 0;
39014 _ACEOF
39015 if ac_fn_cxx_try_compile "$LINENO"; then :
39016 glibcxx_cv_func_fabsf_use=yes
39017 else
39018 glibcxx_cv_func_fabsf_use=no
39020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39021 ac_ext=c
39022 ac_cpp='$CPP $CPPFLAGS'
39023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
39032 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
39034 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
39035 for ac_func in fabsf
39036 do :
39037 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
39038 if test "x$ac_cv_func_fabsf" = xyes; then :
39039 cat >>confdefs.h <<_ACEOF
39040 #define HAVE_FABSF 1
39041 _ACEOF
39044 done
39046 else
39048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
39049 $as_echo_n "checking for _fabsf declaration... " >&6; }
39050 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
39051 if ${glibcxx_cv_func__fabsf_use+:} false; then :
39052 $as_echo_n "(cached) " >&6
39053 else
39056 ac_ext=cpp
39057 ac_cpp='$CXXCPP $CPPFLAGS'
39058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39063 /* end confdefs.h. */
39064 #include <math.h>
39065 #ifdef HAVE_IEEEFP_H
39066 #include <ieeefp.h>
39067 #endif
39070 main ()
39072 _fabsf(0);
39074 return 0;
39076 _ACEOF
39077 if ac_fn_cxx_try_compile "$LINENO"; then :
39078 glibcxx_cv_func__fabsf_use=yes
39079 else
39080 glibcxx_cv_func__fabsf_use=no
39082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39083 ac_ext=c
39084 ac_cpp='$CPP $CPPFLAGS'
39085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
39094 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
39096 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
39097 for ac_func in _fabsf
39098 do :
39099 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
39100 if test "x$ac_cv_func__fabsf" = xyes; then :
39101 cat >>confdefs.h <<_ACEOF
39102 #define HAVE__FABSF 1
39103 _ACEOF
39106 done
39115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
39116 $as_echo_n "checking for fmodf declaration... " >&6; }
39117 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
39118 if ${glibcxx_cv_func_fmodf_use+:} false; then :
39119 $as_echo_n "(cached) " >&6
39120 else
39123 ac_ext=cpp
39124 ac_cpp='$CXXCPP $CPPFLAGS'
39125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39130 /* end confdefs.h. */
39131 #include <math.h>
39133 main ()
39135 fmodf(0, 0);
39137 return 0;
39139 _ACEOF
39140 if ac_fn_cxx_try_compile "$LINENO"; then :
39141 glibcxx_cv_func_fmodf_use=yes
39142 else
39143 glibcxx_cv_func_fmodf_use=no
39145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39146 ac_ext=c
39147 ac_cpp='$CPP $CPPFLAGS'
39148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
39157 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
39159 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
39160 for ac_func in fmodf
39161 do :
39162 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
39163 if test "x$ac_cv_func_fmodf" = xyes; then :
39164 cat >>confdefs.h <<_ACEOF
39165 #define HAVE_FMODF 1
39166 _ACEOF
39169 done
39171 else
39173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
39174 $as_echo_n "checking for _fmodf declaration... " >&6; }
39175 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
39176 if ${glibcxx_cv_func__fmodf_use+:} false; then :
39177 $as_echo_n "(cached) " >&6
39178 else
39181 ac_ext=cpp
39182 ac_cpp='$CXXCPP $CPPFLAGS'
39183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39188 /* end confdefs.h. */
39189 #include <math.h>
39191 main ()
39193 _fmodf(0, 0);
39195 return 0;
39197 _ACEOF
39198 if ac_fn_cxx_try_compile "$LINENO"; then :
39199 glibcxx_cv_func__fmodf_use=yes
39200 else
39201 glibcxx_cv_func__fmodf_use=no
39203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39204 ac_ext=c
39205 ac_cpp='$CPP $CPPFLAGS'
39206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
39215 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
39217 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
39218 for ac_func in _fmodf
39219 do :
39220 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
39221 if test "x$ac_cv_func__fmodf" = xyes; then :
39222 cat >>confdefs.h <<_ACEOF
39223 #define HAVE__FMODF 1
39224 _ACEOF
39227 done
39236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
39237 $as_echo_n "checking for frexpf declaration... " >&6; }
39238 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
39239 if ${glibcxx_cv_func_frexpf_use+:} false; then :
39240 $as_echo_n "(cached) " >&6
39241 else
39244 ac_ext=cpp
39245 ac_cpp='$CXXCPP $CPPFLAGS'
39246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39251 /* end confdefs.h. */
39252 #include <math.h>
39254 main ()
39256 frexpf(0, 0);
39258 return 0;
39260 _ACEOF
39261 if ac_fn_cxx_try_compile "$LINENO"; then :
39262 glibcxx_cv_func_frexpf_use=yes
39263 else
39264 glibcxx_cv_func_frexpf_use=no
39266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39267 ac_ext=c
39268 ac_cpp='$CPP $CPPFLAGS'
39269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
39278 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
39280 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
39281 for ac_func in frexpf
39282 do :
39283 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
39284 if test "x$ac_cv_func_frexpf" = xyes; then :
39285 cat >>confdefs.h <<_ACEOF
39286 #define HAVE_FREXPF 1
39287 _ACEOF
39290 done
39292 else
39294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
39295 $as_echo_n "checking for _frexpf declaration... " >&6; }
39296 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
39297 if ${glibcxx_cv_func__frexpf_use+:} false; then :
39298 $as_echo_n "(cached) " >&6
39299 else
39302 ac_ext=cpp
39303 ac_cpp='$CXXCPP $CPPFLAGS'
39304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39309 /* end confdefs.h. */
39310 #include <math.h>
39312 main ()
39314 _frexpf(0, 0);
39316 return 0;
39318 _ACEOF
39319 if ac_fn_cxx_try_compile "$LINENO"; then :
39320 glibcxx_cv_func__frexpf_use=yes
39321 else
39322 glibcxx_cv_func__frexpf_use=no
39324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39325 ac_ext=c
39326 ac_cpp='$CPP $CPPFLAGS'
39327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
39336 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
39338 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
39339 for ac_func in _frexpf
39340 do :
39341 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
39342 if test "x$ac_cv_func__frexpf" = xyes; then :
39343 cat >>confdefs.h <<_ACEOF
39344 #define HAVE__FREXPF 1
39345 _ACEOF
39348 done
39357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
39358 $as_echo_n "checking for hypotf declaration... " >&6; }
39359 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
39360 if ${glibcxx_cv_func_hypotf_use+:} false; then :
39361 $as_echo_n "(cached) " >&6
39362 else
39365 ac_ext=cpp
39366 ac_cpp='$CXXCPP $CPPFLAGS'
39367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39372 /* end confdefs.h. */
39373 #include <math.h>
39375 main ()
39377 hypotf(0, 0);
39379 return 0;
39381 _ACEOF
39382 if ac_fn_cxx_try_compile "$LINENO"; then :
39383 glibcxx_cv_func_hypotf_use=yes
39384 else
39385 glibcxx_cv_func_hypotf_use=no
39387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39388 ac_ext=c
39389 ac_cpp='$CPP $CPPFLAGS'
39390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
39399 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
39401 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
39402 for ac_func in hypotf
39403 do :
39404 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
39405 if test "x$ac_cv_func_hypotf" = xyes; then :
39406 cat >>confdefs.h <<_ACEOF
39407 #define HAVE_HYPOTF 1
39408 _ACEOF
39411 done
39413 else
39415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
39416 $as_echo_n "checking for _hypotf declaration... " >&6; }
39417 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
39418 if ${glibcxx_cv_func__hypotf_use+:} false; then :
39419 $as_echo_n "(cached) " >&6
39420 else
39423 ac_ext=cpp
39424 ac_cpp='$CXXCPP $CPPFLAGS'
39425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39430 /* end confdefs.h. */
39431 #include <math.h>
39433 main ()
39435 _hypotf(0, 0);
39437 return 0;
39439 _ACEOF
39440 if ac_fn_cxx_try_compile "$LINENO"; then :
39441 glibcxx_cv_func__hypotf_use=yes
39442 else
39443 glibcxx_cv_func__hypotf_use=no
39445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39446 ac_ext=c
39447 ac_cpp='$CPP $CPPFLAGS'
39448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
39457 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
39459 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
39460 for ac_func in _hypotf
39461 do :
39462 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
39463 if test "x$ac_cv_func__hypotf" = xyes; then :
39464 cat >>confdefs.h <<_ACEOF
39465 #define HAVE__HYPOTF 1
39466 _ACEOF
39469 done
39478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
39479 $as_echo_n "checking for ldexpf declaration... " >&6; }
39480 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
39481 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
39482 $as_echo_n "(cached) " >&6
39483 else
39486 ac_ext=cpp
39487 ac_cpp='$CXXCPP $CPPFLAGS'
39488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39493 /* end confdefs.h. */
39494 #include <math.h>
39496 main ()
39498 ldexpf(0, 0);
39500 return 0;
39502 _ACEOF
39503 if ac_fn_cxx_try_compile "$LINENO"; then :
39504 glibcxx_cv_func_ldexpf_use=yes
39505 else
39506 glibcxx_cv_func_ldexpf_use=no
39508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39509 ac_ext=c
39510 ac_cpp='$CPP $CPPFLAGS'
39511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
39520 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
39522 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
39523 for ac_func in ldexpf
39524 do :
39525 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
39526 if test "x$ac_cv_func_ldexpf" = xyes; then :
39527 cat >>confdefs.h <<_ACEOF
39528 #define HAVE_LDEXPF 1
39529 _ACEOF
39532 done
39534 else
39536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
39537 $as_echo_n "checking for _ldexpf declaration... " >&6; }
39538 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
39539 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
39540 $as_echo_n "(cached) " >&6
39541 else
39544 ac_ext=cpp
39545 ac_cpp='$CXXCPP $CPPFLAGS'
39546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39551 /* end confdefs.h. */
39552 #include <math.h>
39554 main ()
39556 _ldexpf(0, 0);
39558 return 0;
39560 _ACEOF
39561 if ac_fn_cxx_try_compile "$LINENO"; then :
39562 glibcxx_cv_func__ldexpf_use=yes
39563 else
39564 glibcxx_cv_func__ldexpf_use=no
39566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39567 ac_ext=c
39568 ac_cpp='$CPP $CPPFLAGS'
39569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
39578 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
39580 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
39581 for ac_func in _ldexpf
39582 do :
39583 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
39584 if test "x$ac_cv_func__ldexpf" = xyes; then :
39585 cat >>confdefs.h <<_ACEOF
39586 #define HAVE__LDEXPF 1
39587 _ACEOF
39590 done
39599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
39600 $as_echo_n "checking for logf declaration... " >&6; }
39601 if test x${glibcxx_cv_func_logf_use+set} != xset; then
39602 if ${glibcxx_cv_func_logf_use+:} false; then :
39603 $as_echo_n "(cached) " >&6
39604 else
39607 ac_ext=cpp
39608 ac_cpp='$CXXCPP $CPPFLAGS'
39609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39614 /* end confdefs.h. */
39615 #include <math.h>
39616 #ifdef HAVE_IEEEFP_H
39617 #include <ieeefp.h>
39618 #endif
39621 main ()
39623 logf(0);
39625 return 0;
39627 _ACEOF
39628 if ac_fn_cxx_try_compile "$LINENO"; then :
39629 glibcxx_cv_func_logf_use=yes
39630 else
39631 glibcxx_cv_func_logf_use=no
39633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39634 ac_ext=c
39635 ac_cpp='$CPP $CPPFLAGS'
39636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
39645 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
39647 if test x$glibcxx_cv_func_logf_use = x"yes"; then
39648 for ac_func in logf
39649 do :
39650 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
39651 if test "x$ac_cv_func_logf" = xyes; then :
39652 cat >>confdefs.h <<_ACEOF
39653 #define HAVE_LOGF 1
39654 _ACEOF
39657 done
39659 else
39661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
39662 $as_echo_n "checking for _logf declaration... " >&6; }
39663 if test x${glibcxx_cv_func__logf_use+set} != xset; then
39664 if ${glibcxx_cv_func__logf_use+:} false; then :
39665 $as_echo_n "(cached) " >&6
39666 else
39669 ac_ext=cpp
39670 ac_cpp='$CXXCPP $CPPFLAGS'
39671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39676 /* end confdefs.h. */
39677 #include <math.h>
39678 #ifdef HAVE_IEEEFP_H
39679 #include <ieeefp.h>
39680 #endif
39683 main ()
39685 _logf(0);
39687 return 0;
39689 _ACEOF
39690 if ac_fn_cxx_try_compile "$LINENO"; then :
39691 glibcxx_cv_func__logf_use=yes
39692 else
39693 glibcxx_cv_func__logf_use=no
39695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39696 ac_ext=c
39697 ac_cpp='$CPP $CPPFLAGS'
39698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
39707 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
39709 if test x$glibcxx_cv_func__logf_use = x"yes"; then
39710 for ac_func in _logf
39711 do :
39712 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
39713 if test "x$ac_cv_func__logf" = xyes; then :
39714 cat >>confdefs.h <<_ACEOF
39715 #define HAVE__LOGF 1
39716 _ACEOF
39719 done
39728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
39729 $as_echo_n "checking for log10f declaration... " >&6; }
39730 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
39731 if ${glibcxx_cv_func_log10f_use+:} false; then :
39732 $as_echo_n "(cached) " >&6
39733 else
39736 ac_ext=cpp
39737 ac_cpp='$CXXCPP $CPPFLAGS'
39738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39743 /* end confdefs.h. */
39744 #include <math.h>
39745 #ifdef HAVE_IEEEFP_H
39746 #include <ieeefp.h>
39747 #endif
39750 main ()
39752 log10f(0);
39754 return 0;
39756 _ACEOF
39757 if ac_fn_cxx_try_compile "$LINENO"; then :
39758 glibcxx_cv_func_log10f_use=yes
39759 else
39760 glibcxx_cv_func_log10f_use=no
39762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39763 ac_ext=c
39764 ac_cpp='$CPP $CPPFLAGS'
39765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
39774 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
39776 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
39777 for ac_func in log10f
39778 do :
39779 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
39780 if test "x$ac_cv_func_log10f" = xyes; then :
39781 cat >>confdefs.h <<_ACEOF
39782 #define HAVE_LOG10F 1
39783 _ACEOF
39786 done
39788 else
39790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
39791 $as_echo_n "checking for _log10f declaration... " >&6; }
39792 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
39793 if ${glibcxx_cv_func__log10f_use+:} false; then :
39794 $as_echo_n "(cached) " >&6
39795 else
39798 ac_ext=cpp
39799 ac_cpp='$CXXCPP $CPPFLAGS'
39800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39805 /* end confdefs.h. */
39806 #include <math.h>
39807 #ifdef HAVE_IEEEFP_H
39808 #include <ieeefp.h>
39809 #endif
39812 main ()
39814 _log10f(0);
39816 return 0;
39818 _ACEOF
39819 if ac_fn_cxx_try_compile "$LINENO"; then :
39820 glibcxx_cv_func__log10f_use=yes
39821 else
39822 glibcxx_cv_func__log10f_use=no
39824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39825 ac_ext=c
39826 ac_cpp='$CPP $CPPFLAGS'
39827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
39836 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
39838 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
39839 for ac_func in _log10f
39840 do :
39841 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
39842 if test "x$ac_cv_func__log10f" = xyes; then :
39843 cat >>confdefs.h <<_ACEOF
39844 #define HAVE__LOG10F 1
39845 _ACEOF
39848 done
39857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
39858 $as_echo_n "checking for modff declaration... " >&6; }
39859 if test x${glibcxx_cv_func_modff_use+set} != xset; then
39860 if ${glibcxx_cv_func_modff_use+:} false; then :
39861 $as_echo_n "(cached) " >&6
39862 else
39865 ac_ext=cpp
39866 ac_cpp='$CXXCPP $CPPFLAGS'
39867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39872 /* end confdefs.h. */
39873 #include <math.h>
39875 main ()
39877 modff(0, 0);
39879 return 0;
39881 _ACEOF
39882 if ac_fn_cxx_try_compile "$LINENO"; then :
39883 glibcxx_cv_func_modff_use=yes
39884 else
39885 glibcxx_cv_func_modff_use=no
39887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39888 ac_ext=c
39889 ac_cpp='$CPP $CPPFLAGS'
39890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
39899 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
39901 if test x$glibcxx_cv_func_modff_use = x"yes"; then
39902 for ac_func in modff
39903 do :
39904 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
39905 if test "x$ac_cv_func_modff" = xyes; then :
39906 cat >>confdefs.h <<_ACEOF
39907 #define HAVE_MODFF 1
39908 _ACEOF
39911 done
39913 else
39915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
39916 $as_echo_n "checking for _modff declaration... " >&6; }
39917 if test x${glibcxx_cv_func__modff_use+set} != xset; then
39918 if ${glibcxx_cv_func__modff_use+:} false; then :
39919 $as_echo_n "(cached) " >&6
39920 else
39923 ac_ext=cpp
39924 ac_cpp='$CXXCPP $CPPFLAGS'
39925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39930 /* end confdefs.h. */
39931 #include <math.h>
39933 main ()
39935 _modff(0, 0);
39937 return 0;
39939 _ACEOF
39940 if ac_fn_cxx_try_compile "$LINENO"; then :
39941 glibcxx_cv_func__modff_use=yes
39942 else
39943 glibcxx_cv_func__modff_use=no
39945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39946 ac_ext=c
39947 ac_cpp='$CPP $CPPFLAGS'
39948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
39957 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
39959 if test x$glibcxx_cv_func__modff_use = x"yes"; then
39960 for ac_func in _modff
39961 do :
39962 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
39963 if test "x$ac_cv_func__modff" = xyes; then :
39964 cat >>confdefs.h <<_ACEOF
39965 #define HAVE__MODFF 1
39966 _ACEOF
39969 done
39978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
39979 $as_echo_n "checking for modf declaration... " >&6; }
39980 if test x${glibcxx_cv_func_modf_use+set} != xset; then
39981 if ${glibcxx_cv_func_modf_use+:} false; then :
39982 $as_echo_n "(cached) " >&6
39983 else
39986 ac_ext=cpp
39987 ac_cpp='$CXXCPP $CPPFLAGS'
39988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39993 /* end confdefs.h. */
39994 #include <math.h>
39996 main ()
39998 modf(0, 0);
40000 return 0;
40002 _ACEOF
40003 if ac_fn_cxx_try_compile "$LINENO"; then :
40004 glibcxx_cv_func_modf_use=yes
40005 else
40006 glibcxx_cv_func_modf_use=no
40008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40009 ac_ext=c
40010 ac_cpp='$CPP $CPPFLAGS'
40011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
40020 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
40022 if test x$glibcxx_cv_func_modf_use = x"yes"; then
40023 for ac_func in modf
40024 do :
40025 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
40026 if test "x$ac_cv_func_modf" = xyes; then :
40027 cat >>confdefs.h <<_ACEOF
40028 #define HAVE_MODF 1
40029 _ACEOF
40032 done
40034 else
40036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
40037 $as_echo_n "checking for _modf declaration... " >&6; }
40038 if test x${glibcxx_cv_func__modf_use+set} != xset; then
40039 if ${glibcxx_cv_func__modf_use+:} false; then :
40040 $as_echo_n "(cached) " >&6
40041 else
40044 ac_ext=cpp
40045 ac_cpp='$CXXCPP $CPPFLAGS'
40046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40051 /* end confdefs.h. */
40052 #include <math.h>
40054 main ()
40056 _modf(0, 0);
40058 return 0;
40060 _ACEOF
40061 if ac_fn_cxx_try_compile "$LINENO"; then :
40062 glibcxx_cv_func__modf_use=yes
40063 else
40064 glibcxx_cv_func__modf_use=no
40066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40067 ac_ext=c
40068 ac_cpp='$CPP $CPPFLAGS'
40069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
40078 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
40080 if test x$glibcxx_cv_func__modf_use = x"yes"; then
40081 for ac_func in _modf
40082 do :
40083 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
40084 if test "x$ac_cv_func__modf" = xyes; then :
40085 cat >>confdefs.h <<_ACEOF
40086 #define HAVE__MODF 1
40087 _ACEOF
40090 done
40099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
40100 $as_echo_n "checking for powf declaration... " >&6; }
40101 if test x${glibcxx_cv_func_powf_use+set} != xset; then
40102 if ${glibcxx_cv_func_powf_use+:} false; then :
40103 $as_echo_n "(cached) " >&6
40104 else
40107 ac_ext=cpp
40108 ac_cpp='$CXXCPP $CPPFLAGS'
40109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40114 /* end confdefs.h. */
40115 #include <math.h>
40117 main ()
40119 powf(0, 0);
40121 return 0;
40123 _ACEOF
40124 if ac_fn_cxx_try_compile "$LINENO"; then :
40125 glibcxx_cv_func_powf_use=yes
40126 else
40127 glibcxx_cv_func_powf_use=no
40129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40130 ac_ext=c
40131 ac_cpp='$CPP $CPPFLAGS'
40132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
40141 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
40143 if test x$glibcxx_cv_func_powf_use = x"yes"; then
40144 for ac_func in powf
40145 do :
40146 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
40147 if test "x$ac_cv_func_powf" = xyes; then :
40148 cat >>confdefs.h <<_ACEOF
40149 #define HAVE_POWF 1
40150 _ACEOF
40153 done
40155 else
40157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
40158 $as_echo_n "checking for _powf declaration... " >&6; }
40159 if test x${glibcxx_cv_func__powf_use+set} != xset; then
40160 if ${glibcxx_cv_func__powf_use+:} false; then :
40161 $as_echo_n "(cached) " >&6
40162 else
40165 ac_ext=cpp
40166 ac_cpp='$CXXCPP $CPPFLAGS'
40167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40172 /* end confdefs.h. */
40173 #include <math.h>
40175 main ()
40177 _powf(0, 0);
40179 return 0;
40181 _ACEOF
40182 if ac_fn_cxx_try_compile "$LINENO"; then :
40183 glibcxx_cv_func__powf_use=yes
40184 else
40185 glibcxx_cv_func__powf_use=no
40187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40188 ac_ext=c
40189 ac_cpp='$CPP $CPPFLAGS'
40190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
40199 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
40201 if test x$glibcxx_cv_func__powf_use = x"yes"; then
40202 for ac_func in _powf
40203 do :
40204 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
40205 if test "x$ac_cv_func__powf" = xyes; then :
40206 cat >>confdefs.h <<_ACEOF
40207 #define HAVE__POWF 1
40208 _ACEOF
40211 done
40220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
40221 $as_echo_n "checking for sqrtf declaration... " >&6; }
40222 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
40223 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
40224 $as_echo_n "(cached) " >&6
40225 else
40228 ac_ext=cpp
40229 ac_cpp='$CXXCPP $CPPFLAGS'
40230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40235 /* end confdefs.h. */
40236 #include <math.h>
40237 #ifdef HAVE_IEEEFP_H
40238 #include <ieeefp.h>
40239 #endif
40242 main ()
40244 sqrtf(0);
40246 return 0;
40248 _ACEOF
40249 if ac_fn_cxx_try_compile "$LINENO"; then :
40250 glibcxx_cv_func_sqrtf_use=yes
40251 else
40252 glibcxx_cv_func_sqrtf_use=no
40254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40255 ac_ext=c
40256 ac_cpp='$CPP $CPPFLAGS'
40257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
40266 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
40268 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
40269 for ac_func in sqrtf
40270 do :
40271 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
40272 if test "x$ac_cv_func_sqrtf" = xyes; then :
40273 cat >>confdefs.h <<_ACEOF
40274 #define HAVE_SQRTF 1
40275 _ACEOF
40278 done
40280 else
40282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
40283 $as_echo_n "checking for _sqrtf declaration... " >&6; }
40284 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
40285 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
40286 $as_echo_n "(cached) " >&6
40287 else
40290 ac_ext=cpp
40291 ac_cpp='$CXXCPP $CPPFLAGS'
40292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40297 /* end confdefs.h. */
40298 #include <math.h>
40299 #ifdef HAVE_IEEEFP_H
40300 #include <ieeefp.h>
40301 #endif
40304 main ()
40306 _sqrtf(0);
40308 return 0;
40310 _ACEOF
40311 if ac_fn_cxx_try_compile "$LINENO"; then :
40312 glibcxx_cv_func__sqrtf_use=yes
40313 else
40314 glibcxx_cv_func__sqrtf_use=no
40316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40317 ac_ext=c
40318 ac_cpp='$CPP $CPPFLAGS'
40319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
40328 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
40330 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
40331 for ac_func in _sqrtf
40332 do :
40333 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
40334 if test "x$ac_cv_func__sqrtf" = xyes; then :
40335 cat >>confdefs.h <<_ACEOF
40336 #define HAVE__SQRTF 1
40337 _ACEOF
40340 done
40349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
40350 $as_echo_n "checking for sincosf declaration... " >&6; }
40351 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
40352 if ${glibcxx_cv_func_sincosf_use+:} false; then :
40353 $as_echo_n "(cached) " >&6
40354 else
40357 ac_ext=cpp
40358 ac_cpp='$CXXCPP $CPPFLAGS'
40359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40364 /* end confdefs.h. */
40365 #include <math.h>
40367 main ()
40369 sincosf(0, 0, 0);
40371 return 0;
40373 _ACEOF
40374 if ac_fn_cxx_try_compile "$LINENO"; then :
40375 glibcxx_cv_func_sincosf_use=yes
40376 else
40377 glibcxx_cv_func_sincosf_use=no
40379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40380 ac_ext=c
40381 ac_cpp='$CPP $CPPFLAGS'
40382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
40391 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
40393 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
40394 for ac_func in sincosf
40395 do :
40396 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
40397 if test "x$ac_cv_func_sincosf" = xyes; then :
40398 cat >>confdefs.h <<_ACEOF
40399 #define HAVE_SINCOSF 1
40400 _ACEOF
40403 done
40405 else
40407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
40408 $as_echo_n "checking for _sincosf declaration... " >&6; }
40409 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
40410 if ${glibcxx_cv_func__sincosf_use+:} false; then :
40411 $as_echo_n "(cached) " >&6
40412 else
40415 ac_ext=cpp
40416 ac_cpp='$CXXCPP $CPPFLAGS'
40417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40422 /* end confdefs.h. */
40423 #include <math.h>
40425 main ()
40427 _sincosf(0, 0, 0);
40429 return 0;
40431 _ACEOF
40432 if ac_fn_cxx_try_compile "$LINENO"; then :
40433 glibcxx_cv_func__sincosf_use=yes
40434 else
40435 glibcxx_cv_func__sincosf_use=no
40437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40438 ac_ext=c
40439 ac_cpp='$CPP $CPPFLAGS'
40440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
40449 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
40451 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
40452 for ac_func in _sincosf
40453 do :
40454 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
40455 if test "x$ac_cv_func__sincosf" = xyes; then :
40456 cat >>confdefs.h <<_ACEOF
40457 #define HAVE__SINCOSF 1
40458 _ACEOF
40461 done
40470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
40471 $as_echo_n "checking for finitef declaration... " >&6; }
40472 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
40473 if ${glibcxx_cv_func_finitef_use+:} false; then :
40474 $as_echo_n "(cached) " >&6
40475 else
40478 ac_ext=cpp
40479 ac_cpp='$CXXCPP $CPPFLAGS'
40480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40485 /* end confdefs.h. */
40486 #include <math.h>
40487 #ifdef HAVE_IEEEFP_H
40488 #include <ieeefp.h>
40489 #endif
40492 main ()
40494 finitef(0);
40496 return 0;
40498 _ACEOF
40499 if ac_fn_cxx_try_compile "$LINENO"; then :
40500 glibcxx_cv_func_finitef_use=yes
40501 else
40502 glibcxx_cv_func_finitef_use=no
40504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40505 ac_ext=c
40506 ac_cpp='$CPP $CPPFLAGS'
40507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
40516 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
40518 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
40519 for ac_func in finitef
40520 do :
40521 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
40522 if test "x$ac_cv_func_finitef" = xyes; then :
40523 cat >>confdefs.h <<_ACEOF
40524 #define HAVE_FINITEF 1
40525 _ACEOF
40528 done
40530 else
40532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
40533 $as_echo_n "checking for _finitef declaration... " >&6; }
40534 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
40535 if ${glibcxx_cv_func__finitef_use+:} false; then :
40536 $as_echo_n "(cached) " >&6
40537 else
40540 ac_ext=cpp
40541 ac_cpp='$CXXCPP $CPPFLAGS'
40542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40547 /* end confdefs.h. */
40548 #include <math.h>
40549 #ifdef HAVE_IEEEFP_H
40550 #include <ieeefp.h>
40551 #endif
40554 main ()
40556 _finitef(0);
40558 return 0;
40560 _ACEOF
40561 if ac_fn_cxx_try_compile "$LINENO"; then :
40562 glibcxx_cv_func__finitef_use=yes
40563 else
40564 glibcxx_cv_func__finitef_use=no
40566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40567 ac_ext=c
40568 ac_cpp='$CPP $CPPFLAGS'
40569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
40578 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
40580 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
40581 for ac_func in _finitef
40582 do :
40583 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
40584 if test "x$ac_cv_func__finitef" = xyes; then :
40585 cat >>confdefs.h <<_ACEOF
40586 #define HAVE__FINITEF 1
40587 _ACEOF
40590 done
40599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
40600 $as_echo_n "checking for long double trig functions... " >&6; }
40601 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
40602 $as_echo_n "(cached) " >&6
40603 else
40606 ac_ext=cpp
40607 ac_cpp='$CXXCPP $CPPFLAGS'
40608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40613 /* end confdefs.h. */
40614 #include <math.h>
40616 main ()
40618 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
40620 return 0;
40622 _ACEOF
40623 if ac_fn_cxx_try_compile "$LINENO"; then :
40624 glibcxx_cv_func_long_double_trig_use=yes
40625 else
40626 glibcxx_cv_func_long_double_trig_use=no
40628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40629 ac_ext=c
40630 ac_cpp='$CPP $CPPFLAGS'
40631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
40638 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
40639 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
40640 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
40641 do :
40642 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40643 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40644 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
40645 cat >>confdefs.h <<_ACEOF
40646 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40647 _ACEOF
40650 done
40652 else
40653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
40654 $as_echo_n "checking for _long double trig functions... " >&6; }
40655 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
40656 $as_echo_n "(cached) " >&6
40657 else
40660 ac_ext=cpp
40661 ac_cpp='$CXXCPP $CPPFLAGS'
40662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40667 /* end confdefs.h. */
40668 #include <math.h>
40670 main ()
40672 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
40674 return 0;
40676 _ACEOF
40677 if ac_fn_cxx_try_compile "$LINENO"; then :
40678 glibcxx_cv_func__long_double_trig_use=yes
40679 else
40680 glibcxx_cv_func__long_double_trig_use=no
40682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40683 ac_ext=c
40684 ac_cpp='$CPP $CPPFLAGS'
40685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
40692 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
40693 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
40694 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
40695 do :
40696 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40697 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40698 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
40699 cat >>confdefs.h <<_ACEOF
40700 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40701 _ACEOF
40704 done
40713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
40714 $as_echo_n "checking for long double round functions... " >&6; }
40715 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
40716 $as_echo_n "(cached) " >&6
40717 else
40720 ac_ext=cpp
40721 ac_cpp='$CXXCPP $CPPFLAGS'
40722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40727 /* end confdefs.h. */
40728 #include <math.h>
40730 main ()
40732 ceill (0); floorl (0);
40734 return 0;
40736 _ACEOF
40737 if ac_fn_cxx_try_compile "$LINENO"; then :
40738 glibcxx_cv_func_long_double_round_use=yes
40739 else
40740 glibcxx_cv_func_long_double_round_use=no
40742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40743 ac_ext=c
40744 ac_cpp='$CPP $CPPFLAGS'
40745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
40752 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
40753 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
40754 for ac_func in ceill floorl
40755 do :
40756 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40757 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40758 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
40759 cat >>confdefs.h <<_ACEOF
40760 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40761 _ACEOF
40764 done
40766 else
40767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
40768 $as_echo_n "checking for _long double round functions... " >&6; }
40769 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
40770 $as_echo_n "(cached) " >&6
40771 else
40774 ac_ext=cpp
40775 ac_cpp='$CXXCPP $CPPFLAGS'
40776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40781 /* end confdefs.h. */
40782 #include <math.h>
40784 main ()
40786 _ceill (0); _floorl (0);
40788 return 0;
40790 _ACEOF
40791 if ac_fn_cxx_try_compile "$LINENO"; then :
40792 glibcxx_cv_func__long_double_round_use=yes
40793 else
40794 glibcxx_cv_func__long_double_round_use=no
40796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40797 ac_ext=c
40798 ac_cpp='$CPP $CPPFLAGS'
40799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
40806 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
40807 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
40808 for ac_func in _ceill _floorl
40809 do :
40810 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40811 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40812 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
40813 cat >>confdefs.h <<_ACEOF
40814 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40815 _ACEOF
40818 done
40828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
40829 $as_echo_n "checking for isnanl declaration... " >&6; }
40830 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
40831 if ${glibcxx_cv_func_isnanl_use+:} false; then :
40832 $as_echo_n "(cached) " >&6
40833 else
40836 ac_ext=cpp
40837 ac_cpp='$CXXCPP $CPPFLAGS'
40838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40843 /* end confdefs.h. */
40844 #include <math.h>
40845 #ifdef HAVE_IEEEFP_H
40846 #include <ieeefp.h>
40847 #endif
40850 main ()
40852 isnanl(0);
40854 return 0;
40856 _ACEOF
40857 if ac_fn_cxx_try_compile "$LINENO"; then :
40858 glibcxx_cv_func_isnanl_use=yes
40859 else
40860 glibcxx_cv_func_isnanl_use=no
40862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40863 ac_ext=c
40864 ac_cpp='$CPP $CPPFLAGS'
40865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
40874 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
40876 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
40877 for ac_func in isnanl
40878 do :
40879 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
40880 if test "x$ac_cv_func_isnanl" = xyes; then :
40881 cat >>confdefs.h <<_ACEOF
40882 #define HAVE_ISNANL 1
40883 _ACEOF
40886 done
40888 else
40890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
40891 $as_echo_n "checking for _isnanl declaration... " >&6; }
40892 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
40893 if ${glibcxx_cv_func__isnanl_use+:} false; then :
40894 $as_echo_n "(cached) " >&6
40895 else
40898 ac_ext=cpp
40899 ac_cpp='$CXXCPP $CPPFLAGS'
40900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40905 /* end confdefs.h. */
40906 #include <math.h>
40907 #ifdef HAVE_IEEEFP_H
40908 #include <ieeefp.h>
40909 #endif
40912 main ()
40914 _isnanl(0);
40916 return 0;
40918 _ACEOF
40919 if ac_fn_cxx_try_compile "$LINENO"; then :
40920 glibcxx_cv_func__isnanl_use=yes
40921 else
40922 glibcxx_cv_func__isnanl_use=no
40924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40925 ac_ext=c
40926 ac_cpp='$CPP $CPPFLAGS'
40927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
40936 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
40938 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
40939 for ac_func in _isnanl
40940 do :
40941 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
40942 if test "x$ac_cv_func__isnanl" = xyes; then :
40943 cat >>confdefs.h <<_ACEOF
40944 #define HAVE__ISNANL 1
40945 _ACEOF
40948 done
40957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
40958 $as_echo_n "checking for isinfl declaration... " >&6; }
40959 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
40960 if ${glibcxx_cv_func_isinfl_use+:} false; then :
40961 $as_echo_n "(cached) " >&6
40962 else
40965 ac_ext=cpp
40966 ac_cpp='$CXXCPP $CPPFLAGS'
40967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40972 /* end confdefs.h. */
40973 #include <math.h>
40974 #ifdef HAVE_IEEEFP_H
40975 #include <ieeefp.h>
40976 #endif
40979 main ()
40981 isinfl(0);
40983 return 0;
40985 _ACEOF
40986 if ac_fn_cxx_try_compile "$LINENO"; then :
40987 glibcxx_cv_func_isinfl_use=yes
40988 else
40989 glibcxx_cv_func_isinfl_use=no
40991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40992 ac_ext=c
40993 ac_cpp='$CPP $CPPFLAGS'
40994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
41003 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
41005 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
41006 for ac_func in isinfl
41007 do :
41008 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
41009 if test "x$ac_cv_func_isinfl" = xyes; then :
41010 cat >>confdefs.h <<_ACEOF
41011 #define HAVE_ISINFL 1
41012 _ACEOF
41015 done
41017 else
41019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
41020 $as_echo_n "checking for _isinfl declaration... " >&6; }
41021 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
41022 if ${glibcxx_cv_func__isinfl_use+:} false; then :
41023 $as_echo_n "(cached) " >&6
41024 else
41027 ac_ext=cpp
41028 ac_cpp='$CXXCPP $CPPFLAGS'
41029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41034 /* end confdefs.h. */
41035 #include <math.h>
41036 #ifdef HAVE_IEEEFP_H
41037 #include <ieeefp.h>
41038 #endif
41041 main ()
41043 _isinfl(0);
41045 return 0;
41047 _ACEOF
41048 if ac_fn_cxx_try_compile "$LINENO"; then :
41049 glibcxx_cv_func__isinfl_use=yes
41050 else
41051 glibcxx_cv_func__isinfl_use=no
41053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41054 ac_ext=c
41055 ac_cpp='$CPP $CPPFLAGS'
41056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
41065 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
41067 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
41068 for ac_func in _isinfl
41069 do :
41070 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
41071 if test "x$ac_cv_func__isinfl" = xyes; then :
41072 cat >>confdefs.h <<_ACEOF
41073 #define HAVE__ISINFL 1
41074 _ACEOF
41077 done
41086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
41087 $as_echo_n "checking for atan2l declaration... " >&6; }
41088 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
41089 if ${glibcxx_cv_func_atan2l_use+:} false; then :
41090 $as_echo_n "(cached) " >&6
41091 else
41094 ac_ext=cpp
41095 ac_cpp='$CXXCPP $CPPFLAGS'
41096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41101 /* end confdefs.h. */
41102 #include <math.h>
41104 main ()
41106 atan2l(0, 0);
41108 return 0;
41110 _ACEOF
41111 if ac_fn_cxx_try_compile "$LINENO"; then :
41112 glibcxx_cv_func_atan2l_use=yes
41113 else
41114 glibcxx_cv_func_atan2l_use=no
41116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41117 ac_ext=c
41118 ac_cpp='$CPP $CPPFLAGS'
41119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
41128 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
41130 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
41131 for ac_func in atan2l
41132 do :
41133 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
41134 if test "x$ac_cv_func_atan2l" = xyes; then :
41135 cat >>confdefs.h <<_ACEOF
41136 #define HAVE_ATAN2L 1
41137 _ACEOF
41140 done
41142 else
41144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
41145 $as_echo_n "checking for _atan2l declaration... " >&6; }
41146 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
41147 if ${glibcxx_cv_func__atan2l_use+:} false; then :
41148 $as_echo_n "(cached) " >&6
41149 else
41152 ac_ext=cpp
41153 ac_cpp='$CXXCPP $CPPFLAGS'
41154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41159 /* end confdefs.h. */
41160 #include <math.h>
41162 main ()
41164 _atan2l(0, 0);
41166 return 0;
41168 _ACEOF
41169 if ac_fn_cxx_try_compile "$LINENO"; then :
41170 glibcxx_cv_func__atan2l_use=yes
41171 else
41172 glibcxx_cv_func__atan2l_use=no
41174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41175 ac_ext=c
41176 ac_cpp='$CPP $CPPFLAGS'
41177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
41186 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
41188 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
41189 for ac_func in _atan2l
41190 do :
41191 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
41192 if test "x$ac_cv_func__atan2l" = xyes; then :
41193 cat >>confdefs.h <<_ACEOF
41194 #define HAVE__ATAN2L 1
41195 _ACEOF
41198 done
41207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
41208 $as_echo_n "checking for expl declaration... " >&6; }
41209 if test x${glibcxx_cv_func_expl_use+set} != xset; then
41210 if ${glibcxx_cv_func_expl_use+:} false; then :
41211 $as_echo_n "(cached) " >&6
41212 else
41215 ac_ext=cpp
41216 ac_cpp='$CXXCPP $CPPFLAGS'
41217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41222 /* end confdefs.h. */
41223 #include <math.h>
41224 #ifdef HAVE_IEEEFP_H
41225 #include <ieeefp.h>
41226 #endif
41229 main ()
41231 expl(0);
41233 return 0;
41235 _ACEOF
41236 if ac_fn_cxx_try_compile "$LINENO"; then :
41237 glibcxx_cv_func_expl_use=yes
41238 else
41239 glibcxx_cv_func_expl_use=no
41241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41242 ac_ext=c
41243 ac_cpp='$CPP $CPPFLAGS'
41244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
41253 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
41255 if test x$glibcxx_cv_func_expl_use = x"yes"; then
41256 for ac_func in expl
41257 do :
41258 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
41259 if test "x$ac_cv_func_expl" = xyes; then :
41260 cat >>confdefs.h <<_ACEOF
41261 #define HAVE_EXPL 1
41262 _ACEOF
41265 done
41267 else
41269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
41270 $as_echo_n "checking for _expl declaration... " >&6; }
41271 if test x${glibcxx_cv_func__expl_use+set} != xset; then
41272 if ${glibcxx_cv_func__expl_use+:} false; then :
41273 $as_echo_n "(cached) " >&6
41274 else
41277 ac_ext=cpp
41278 ac_cpp='$CXXCPP $CPPFLAGS'
41279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41284 /* end confdefs.h. */
41285 #include <math.h>
41286 #ifdef HAVE_IEEEFP_H
41287 #include <ieeefp.h>
41288 #endif
41291 main ()
41293 _expl(0);
41295 return 0;
41297 _ACEOF
41298 if ac_fn_cxx_try_compile "$LINENO"; then :
41299 glibcxx_cv_func__expl_use=yes
41300 else
41301 glibcxx_cv_func__expl_use=no
41303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41304 ac_ext=c
41305 ac_cpp='$CPP $CPPFLAGS'
41306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
41315 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
41317 if test x$glibcxx_cv_func__expl_use = x"yes"; then
41318 for ac_func in _expl
41319 do :
41320 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
41321 if test "x$ac_cv_func__expl" = xyes; then :
41322 cat >>confdefs.h <<_ACEOF
41323 #define HAVE__EXPL 1
41324 _ACEOF
41327 done
41336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
41337 $as_echo_n "checking for fabsl declaration... " >&6; }
41338 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
41339 if ${glibcxx_cv_func_fabsl_use+:} false; then :
41340 $as_echo_n "(cached) " >&6
41341 else
41344 ac_ext=cpp
41345 ac_cpp='$CXXCPP $CPPFLAGS'
41346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41351 /* end confdefs.h. */
41352 #include <math.h>
41353 #ifdef HAVE_IEEEFP_H
41354 #include <ieeefp.h>
41355 #endif
41358 main ()
41360 fabsl(0);
41362 return 0;
41364 _ACEOF
41365 if ac_fn_cxx_try_compile "$LINENO"; then :
41366 glibcxx_cv_func_fabsl_use=yes
41367 else
41368 glibcxx_cv_func_fabsl_use=no
41370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41371 ac_ext=c
41372 ac_cpp='$CPP $CPPFLAGS'
41373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
41382 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
41384 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
41385 for ac_func in fabsl
41386 do :
41387 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
41388 if test "x$ac_cv_func_fabsl" = xyes; then :
41389 cat >>confdefs.h <<_ACEOF
41390 #define HAVE_FABSL 1
41391 _ACEOF
41394 done
41396 else
41398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
41399 $as_echo_n "checking for _fabsl declaration... " >&6; }
41400 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
41401 if ${glibcxx_cv_func__fabsl_use+:} false; then :
41402 $as_echo_n "(cached) " >&6
41403 else
41406 ac_ext=cpp
41407 ac_cpp='$CXXCPP $CPPFLAGS'
41408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41413 /* end confdefs.h. */
41414 #include <math.h>
41415 #ifdef HAVE_IEEEFP_H
41416 #include <ieeefp.h>
41417 #endif
41420 main ()
41422 _fabsl(0);
41424 return 0;
41426 _ACEOF
41427 if ac_fn_cxx_try_compile "$LINENO"; then :
41428 glibcxx_cv_func__fabsl_use=yes
41429 else
41430 glibcxx_cv_func__fabsl_use=no
41432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41433 ac_ext=c
41434 ac_cpp='$CPP $CPPFLAGS'
41435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
41444 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
41446 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
41447 for ac_func in _fabsl
41448 do :
41449 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
41450 if test "x$ac_cv_func__fabsl" = xyes; then :
41451 cat >>confdefs.h <<_ACEOF
41452 #define HAVE__FABSL 1
41453 _ACEOF
41456 done
41465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
41466 $as_echo_n "checking for fmodl declaration... " >&6; }
41467 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
41468 if ${glibcxx_cv_func_fmodl_use+:} false; then :
41469 $as_echo_n "(cached) " >&6
41470 else
41473 ac_ext=cpp
41474 ac_cpp='$CXXCPP $CPPFLAGS'
41475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41480 /* end confdefs.h. */
41481 #include <math.h>
41483 main ()
41485 fmodl(0, 0);
41487 return 0;
41489 _ACEOF
41490 if ac_fn_cxx_try_compile "$LINENO"; then :
41491 glibcxx_cv_func_fmodl_use=yes
41492 else
41493 glibcxx_cv_func_fmodl_use=no
41495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41496 ac_ext=c
41497 ac_cpp='$CPP $CPPFLAGS'
41498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
41507 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
41509 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
41510 for ac_func in fmodl
41511 do :
41512 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
41513 if test "x$ac_cv_func_fmodl" = xyes; then :
41514 cat >>confdefs.h <<_ACEOF
41515 #define HAVE_FMODL 1
41516 _ACEOF
41519 done
41521 else
41523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
41524 $as_echo_n "checking for _fmodl declaration... " >&6; }
41525 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
41526 if ${glibcxx_cv_func__fmodl_use+:} false; then :
41527 $as_echo_n "(cached) " >&6
41528 else
41531 ac_ext=cpp
41532 ac_cpp='$CXXCPP $CPPFLAGS'
41533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41538 /* end confdefs.h. */
41539 #include <math.h>
41541 main ()
41543 _fmodl(0, 0);
41545 return 0;
41547 _ACEOF
41548 if ac_fn_cxx_try_compile "$LINENO"; then :
41549 glibcxx_cv_func__fmodl_use=yes
41550 else
41551 glibcxx_cv_func__fmodl_use=no
41553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41554 ac_ext=c
41555 ac_cpp='$CPP $CPPFLAGS'
41556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
41565 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
41567 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
41568 for ac_func in _fmodl
41569 do :
41570 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
41571 if test "x$ac_cv_func__fmodl" = xyes; then :
41572 cat >>confdefs.h <<_ACEOF
41573 #define HAVE__FMODL 1
41574 _ACEOF
41577 done
41586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
41587 $as_echo_n "checking for frexpl declaration... " >&6; }
41588 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
41589 if ${glibcxx_cv_func_frexpl_use+:} false; then :
41590 $as_echo_n "(cached) " >&6
41591 else
41594 ac_ext=cpp
41595 ac_cpp='$CXXCPP $CPPFLAGS'
41596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41601 /* end confdefs.h. */
41602 #include <math.h>
41604 main ()
41606 frexpl(0, 0);
41608 return 0;
41610 _ACEOF
41611 if ac_fn_cxx_try_compile "$LINENO"; then :
41612 glibcxx_cv_func_frexpl_use=yes
41613 else
41614 glibcxx_cv_func_frexpl_use=no
41616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41617 ac_ext=c
41618 ac_cpp='$CPP $CPPFLAGS'
41619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
41628 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
41630 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
41631 for ac_func in frexpl
41632 do :
41633 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
41634 if test "x$ac_cv_func_frexpl" = xyes; then :
41635 cat >>confdefs.h <<_ACEOF
41636 #define HAVE_FREXPL 1
41637 _ACEOF
41640 done
41642 else
41644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
41645 $as_echo_n "checking for _frexpl declaration... " >&6; }
41646 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
41647 if ${glibcxx_cv_func__frexpl_use+:} false; then :
41648 $as_echo_n "(cached) " >&6
41649 else
41652 ac_ext=cpp
41653 ac_cpp='$CXXCPP $CPPFLAGS'
41654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41659 /* end confdefs.h. */
41660 #include <math.h>
41662 main ()
41664 _frexpl(0, 0);
41666 return 0;
41668 _ACEOF
41669 if ac_fn_cxx_try_compile "$LINENO"; then :
41670 glibcxx_cv_func__frexpl_use=yes
41671 else
41672 glibcxx_cv_func__frexpl_use=no
41674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41675 ac_ext=c
41676 ac_cpp='$CPP $CPPFLAGS'
41677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
41686 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
41688 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
41689 for ac_func in _frexpl
41690 do :
41691 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
41692 if test "x$ac_cv_func__frexpl" = xyes; then :
41693 cat >>confdefs.h <<_ACEOF
41694 #define HAVE__FREXPL 1
41695 _ACEOF
41698 done
41707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
41708 $as_echo_n "checking for hypotl declaration... " >&6; }
41709 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
41710 if ${glibcxx_cv_func_hypotl_use+:} false; then :
41711 $as_echo_n "(cached) " >&6
41712 else
41715 ac_ext=cpp
41716 ac_cpp='$CXXCPP $CPPFLAGS'
41717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41722 /* end confdefs.h. */
41723 #include <math.h>
41725 main ()
41727 hypotl(0, 0);
41729 return 0;
41731 _ACEOF
41732 if ac_fn_cxx_try_compile "$LINENO"; then :
41733 glibcxx_cv_func_hypotl_use=yes
41734 else
41735 glibcxx_cv_func_hypotl_use=no
41737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41738 ac_ext=c
41739 ac_cpp='$CPP $CPPFLAGS'
41740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
41749 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
41751 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
41752 for ac_func in hypotl
41753 do :
41754 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
41755 if test "x$ac_cv_func_hypotl" = xyes; then :
41756 cat >>confdefs.h <<_ACEOF
41757 #define HAVE_HYPOTL 1
41758 _ACEOF
41761 done
41763 else
41765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
41766 $as_echo_n "checking for _hypotl declaration... " >&6; }
41767 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
41768 if ${glibcxx_cv_func__hypotl_use+:} false; then :
41769 $as_echo_n "(cached) " >&6
41770 else
41773 ac_ext=cpp
41774 ac_cpp='$CXXCPP $CPPFLAGS'
41775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41780 /* end confdefs.h. */
41781 #include <math.h>
41783 main ()
41785 _hypotl(0, 0);
41787 return 0;
41789 _ACEOF
41790 if ac_fn_cxx_try_compile "$LINENO"; then :
41791 glibcxx_cv_func__hypotl_use=yes
41792 else
41793 glibcxx_cv_func__hypotl_use=no
41795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41796 ac_ext=c
41797 ac_cpp='$CPP $CPPFLAGS'
41798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
41807 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
41809 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
41810 for ac_func in _hypotl
41811 do :
41812 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
41813 if test "x$ac_cv_func__hypotl" = xyes; then :
41814 cat >>confdefs.h <<_ACEOF
41815 #define HAVE__HYPOTL 1
41816 _ACEOF
41819 done
41828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
41829 $as_echo_n "checking for ldexpl declaration... " >&6; }
41830 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
41831 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
41832 $as_echo_n "(cached) " >&6
41833 else
41836 ac_ext=cpp
41837 ac_cpp='$CXXCPP $CPPFLAGS'
41838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41843 /* end confdefs.h. */
41844 #include <math.h>
41846 main ()
41848 ldexpl(0, 0);
41850 return 0;
41852 _ACEOF
41853 if ac_fn_cxx_try_compile "$LINENO"; then :
41854 glibcxx_cv_func_ldexpl_use=yes
41855 else
41856 glibcxx_cv_func_ldexpl_use=no
41858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41859 ac_ext=c
41860 ac_cpp='$CPP $CPPFLAGS'
41861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
41870 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
41872 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
41873 for ac_func in ldexpl
41874 do :
41875 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
41876 if test "x$ac_cv_func_ldexpl" = xyes; then :
41877 cat >>confdefs.h <<_ACEOF
41878 #define HAVE_LDEXPL 1
41879 _ACEOF
41882 done
41884 else
41886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
41887 $as_echo_n "checking for _ldexpl declaration... " >&6; }
41888 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
41889 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
41890 $as_echo_n "(cached) " >&6
41891 else
41894 ac_ext=cpp
41895 ac_cpp='$CXXCPP $CPPFLAGS'
41896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41901 /* end confdefs.h. */
41902 #include <math.h>
41904 main ()
41906 _ldexpl(0, 0);
41908 return 0;
41910 _ACEOF
41911 if ac_fn_cxx_try_compile "$LINENO"; then :
41912 glibcxx_cv_func__ldexpl_use=yes
41913 else
41914 glibcxx_cv_func__ldexpl_use=no
41916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41917 ac_ext=c
41918 ac_cpp='$CPP $CPPFLAGS'
41919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
41928 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
41930 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
41931 for ac_func in _ldexpl
41932 do :
41933 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
41934 if test "x$ac_cv_func__ldexpl" = xyes; then :
41935 cat >>confdefs.h <<_ACEOF
41936 #define HAVE__LDEXPL 1
41937 _ACEOF
41940 done
41949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
41950 $as_echo_n "checking for logl declaration... " >&6; }
41951 if test x${glibcxx_cv_func_logl_use+set} != xset; then
41952 if ${glibcxx_cv_func_logl_use+:} false; then :
41953 $as_echo_n "(cached) " >&6
41954 else
41957 ac_ext=cpp
41958 ac_cpp='$CXXCPP $CPPFLAGS'
41959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41964 /* end confdefs.h. */
41965 #include <math.h>
41966 #ifdef HAVE_IEEEFP_H
41967 #include <ieeefp.h>
41968 #endif
41971 main ()
41973 logl(0);
41975 return 0;
41977 _ACEOF
41978 if ac_fn_cxx_try_compile "$LINENO"; then :
41979 glibcxx_cv_func_logl_use=yes
41980 else
41981 glibcxx_cv_func_logl_use=no
41983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41984 ac_ext=c
41985 ac_cpp='$CPP $CPPFLAGS'
41986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
41995 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
41997 if test x$glibcxx_cv_func_logl_use = x"yes"; then
41998 for ac_func in logl
41999 do :
42000 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
42001 if test "x$ac_cv_func_logl" = xyes; then :
42002 cat >>confdefs.h <<_ACEOF
42003 #define HAVE_LOGL 1
42004 _ACEOF
42007 done
42009 else
42011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
42012 $as_echo_n "checking for _logl declaration... " >&6; }
42013 if test x${glibcxx_cv_func__logl_use+set} != xset; then
42014 if ${glibcxx_cv_func__logl_use+:} false; then :
42015 $as_echo_n "(cached) " >&6
42016 else
42019 ac_ext=cpp
42020 ac_cpp='$CXXCPP $CPPFLAGS'
42021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42026 /* end confdefs.h. */
42027 #include <math.h>
42028 #ifdef HAVE_IEEEFP_H
42029 #include <ieeefp.h>
42030 #endif
42033 main ()
42035 _logl(0);
42037 return 0;
42039 _ACEOF
42040 if ac_fn_cxx_try_compile "$LINENO"; then :
42041 glibcxx_cv_func__logl_use=yes
42042 else
42043 glibcxx_cv_func__logl_use=no
42045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42046 ac_ext=c
42047 ac_cpp='$CPP $CPPFLAGS'
42048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
42057 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
42059 if test x$glibcxx_cv_func__logl_use = x"yes"; then
42060 for ac_func in _logl
42061 do :
42062 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
42063 if test "x$ac_cv_func__logl" = xyes; then :
42064 cat >>confdefs.h <<_ACEOF
42065 #define HAVE__LOGL 1
42066 _ACEOF
42069 done
42078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
42079 $as_echo_n "checking for log10l declaration... " >&6; }
42080 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
42081 if ${glibcxx_cv_func_log10l_use+:} false; then :
42082 $as_echo_n "(cached) " >&6
42083 else
42086 ac_ext=cpp
42087 ac_cpp='$CXXCPP $CPPFLAGS'
42088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42093 /* end confdefs.h. */
42094 #include <math.h>
42095 #ifdef HAVE_IEEEFP_H
42096 #include <ieeefp.h>
42097 #endif
42100 main ()
42102 log10l(0);
42104 return 0;
42106 _ACEOF
42107 if ac_fn_cxx_try_compile "$LINENO"; then :
42108 glibcxx_cv_func_log10l_use=yes
42109 else
42110 glibcxx_cv_func_log10l_use=no
42112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42113 ac_ext=c
42114 ac_cpp='$CPP $CPPFLAGS'
42115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
42124 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
42126 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
42127 for ac_func in log10l
42128 do :
42129 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
42130 if test "x$ac_cv_func_log10l" = xyes; then :
42131 cat >>confdefs.h <<_ACEOF
42132 #define HAVE_LOG10L 1
42133 _ACEOF
42136 done
42138 else
42140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
42141 $as_echo_n "checking for _log10l declaration... " >&6; }
42142 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
42143 if ${glibcxx_cv_func__log10l_use+:} false; then :
42144 $as_echo_n "(cached) " >&6
42145 else
42148 ac_ext=cpp
42149 ac_cpp='$CXXCPP $CPPFLAGS'
42150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42155 /* end confdefs.h. */
42156 #include <math.h>
42157 #ifdef HAVE_IEEEFP_H
42158 #include <ieeefp.h>
42159 #endif
42162 main ()
42164 _log10l(0);
42166 return 0;
42168 _ACEOF
42169 if ac_fn_cxx_try_compile "$LINENO"; then :
42170 glibcxx_cv_func__log10l_use=yes
42171 else
42172 glibcxx_cv_func__log10l_use=no
42174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42175 ac_ext=c
42176 ac_cpp='$CPP $CPPFLAGS'
42177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
42186 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
42188 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
42189 for ac_func in _log10l
42190 do :
42191 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
42192 if test "x$ac_cv_func__log10l" = xyes; then :
42193 cat >>confdefs.h <<_ACEOF
42194 #define HAVE__LOG10L 1
42195 _ACEOF
42198 done
42207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
42208 $as_echo_n "checking for modfl declaration... " >&6; }
42209 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
42210 if ${glibcxx_cv_func_modfl_use+:} false; then :
42211 $as_echo_n "(cached) " >&6
42212 else
42215 ac_ext=cpp
42216 ac_cpp='$CXXCPP $CPPFLAGS'
42217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42222 /* end confdefs.h. */
42223 #include <math.h>
42225 main ()
42227 modfl(0, 0);
42229 return 0;
42231 _ACEOF
42232 if ac_fn_cxx_try_compile "$LINENO"; then :
42233 glibcxx_cv_func_modfl_use=yes
42234 else
42235 glibcxx_cv_func_modfl_use=no
42237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42238 ac_ext=c
42239 ac_cpp='$CPP $CPPFLAGS'
42240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
42249 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
42251 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
42252 for ac_func in modfl
42253 do :
42254 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
42255 if test "x$ac_cv_func_modfl" = xyes; then :
42256 cat >>confdefs.h <<_ACEOF
42257 #define HAVE_MODFL 1
42258 _ACEOF
42261 done
42263 else
42265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
42266 $as_echo_n "checking for _modfl declaration... " >&6; }
42267 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
42268 if ${glibcxx_cv_func__modfl_use+:} false; then :
42269 $as_echo_n "(cached) " >&6
42270 else
42273 ac_ext=cpp
42274 ac_cpp='$CXXCPP $CPPFLAGS'
42275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42280 /* end confdefs.h. */
42281 #include <math.h>
42283 main ()
42285 _modfl(0, 0);
42287 return 0;
42289 _ACEOF
42290 if ac_fn_cxx_try_compile "$LINENO"; then :
42291 glibcxx_cv_func__modfl_use=yes
42292 else
42293 glibcxx_cv_func__modfl_use=no
42295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42296 ac_ext=c
42297 ac_cpp='$CPP $CPPFLAGS'
42298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
42307 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
42309 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
42310 for ac_func in _modfl
42311 do :
42312 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
42313 if test "x$ac_cv_func__modfl" = xyes; then :
42314 cat >>confdefs.h <<_ACEOF
42315 #define HAVE__MODFL 1
42316 _ACEOF
42319 done
42328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
42329 $as_echo_n "checking for powl declaration... " >&6; }
42330 if test x${glibcxx_cv_func_powl_use+set} != xset; then
42331 if ${glibcxx_cv_func_powl_use+:} false; then :
42332 $as_echo_n "(cached) " >&6
42333 else
42336 ac_ext=cpp
42337 ac_cpp='$CXXCPP $CPPFLAGS'
42338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42343 /* end confdefs.h. */
42344 #include <math.h>
42346 main ()
42348 powl(0, 0);
42350 return 0;
42352 _ACEOF
42353 if ac_fn_cxx_try_compile "$LINENO"; then :
42354 glibcxx_cv_func_powl_use=yes
42355 else
42356 glibcxx_cv_func_powl_use=no
42358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42359 ac_ext=c
42360 ac_cpp='$CPP $CPPFLAGS'
42361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
42370 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
42372 if test x$glibcxx_cv_func_powl_use = x"yes"; then
42373 for ac_func in powl
42374 do :
42375 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
42376 if test "x$ac_cv_func_powl" = xyes; then :
42377 cat >>confdefs.h <<_ACEOF
42378 #define HAVE_POWL 1
42379 _ACEOF
42382 done
42384 else
42386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
42387 $as_echo_n "checking for _powl declaration... " >&6; }
42388 if test x${glibcxx_cv_func__powl_use+set} != xset; then
42389 if ${glibcxx_cv_func__powl_use+:} false; then :
42390 $as_echo_n "(cached) " >&6
42391 else
42394 ac_ext=cpp
42395 ac_cpp='$CXXCPP $CPPFLAGS'
42396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42401 /* end confdefs.h. */
42402 #include <math.h>
42404 main ()
42406 _powl(0, 0);
42408 return 0;
42410 _ACEOF
42411 if ac_fn_cxx_try_compile "$LINENO"; then :
42412 glibcxx_cv_func__powl_use=yes
42413 else
42414 glibcxx_cv_func__powl_use=no
42416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42417 ac_ext=c
42418 ac_cpp='$CPP $CPPFLAGS'
42419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
42428 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
42430 if test x$glibcxx_cv_func__powl_use = x"yes"; then
42431 for ac_func in _powl
42432 do :
42433 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
42434 if test "x$ac_cv_func__powl" = xyes; then :
42435 cat >>confdefs.h <<_ACEOF
42436 #define HAVE__POWL 1
42437 _ACEOF
42440 done
42449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
42450 $as_echo_n "checking for sqrtl declaration... " >&6; }
42451 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
42452 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
42453 $as_echo_n "(cached) " >&6
42454 else
42457 ac_ext=cpp
42458 ac_cpp='$CXXCPP $CPPFLAGS'
42459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42464 /* end confdefs.h. */
42465 #include <math.h>
42466 #ifdef HAVE_IEEEFP_H
42467 #include <ieeefp.h>
42468 #endif
42471 main ()
42473 sqrtl(0);
42475 return 0;
42477 _ACEOF
42478 if ac_fn_cxx_try_compile "$LINENO"; then :
42479 glibcxx_cv_func_sqrtl_use=yes
42480 else
42481 glibcxx_cv_func_sqrtl_use=no
42483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42484 ac_ext=c
42485 ac_cpp='$CPP $CPPFLAGS'
42486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
42495 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
42497 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
42498 for ac_func in sqrtl
42499 do :
42500 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
42501 if test "x$ac_cv_func_sqrtl" = xyes; then :
42502 cat >>confdefs.h <<_ACEOF
42503 #define HAVE_SQRTL 1
42504 _ACEOF
42507 done
42509 else
42511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
42512 $as_echo_n "checking for _sqrtl declaration... " >&6; }
42513 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
42514 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
42515 $as_echo_n "(cached) " >&6
42516 else
42519 ac_ext=cpp
42520 ac_cpp='$CXXCPP $CPPFLAGS'
42521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42526 /* end confdefs.h. */
42527 #include <math.h>
42528 #ifdef HAVE_IEEEFP_H
42529 #include <ieeefp.h>
42530 #endif
42533 main ()
42535 _sqrtl(0);
42537 return 0;
42539 _ACEOF
42540 if ac_fn_cxx_try_compile "$LINENO"; then :
42541 glibcxx_cv_func__sqrtl_use=yes
42542 else
42543 glibcxx_cv_func__sqrtl_use=no
42545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42546 ac_ext=c
42547 ac_cpp='$CPP $CPPFLAGS'
42548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
42557 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
42559 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
42560 for ac_func in _sqrtl
42561 do :
42562 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
42563 if test "x$ac_cv_func__sqrtl" = xyes; then :
42564 cat >>confdefs.h <<_ACEOF
42565 #define HAVE__SQRTL 1
42566 _ACEOF
42569 done
42578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
42579 $as_echo_n "checking for sincosl declaration... " >&6; }
42580 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
42581 if ${glibcxx_cv_func_sincosl_use+:} false; then :
42582 $as_echo_n "(cached) " >&6
42583 else
42586 ac_ext=cpp
42587 ac_cpp='$CXXCPP $CPPFLAGS'
42588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42593 /* end confdefs.h. */
42594 #include <math.h>
42596 main ()
42598 sincosl(0, 0, 0);
42600 return 0;
42602 _ACEOF
42603 if ac_fn_cxx_try_compile "$LINENO"; then :
42604 glibcxx_cv_func_sincosl_use=yes
42605 else
42606 glibcxx_cv_func_sincosl_use=no
42608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42609 ac_ext=c
42610 ac_cpp='$CPP $CPPFLAGS'
42611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
42620 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
42622 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
42623 for ac_func in sincosl
42624 do :
42625 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
42626 if test "x$ac_cv_func_sincosl" = xyes; then :
42627 cat >>confdefs.h <<_ACEOF
42628 #define HAVE_SINCOSL 1
42629 _ACEOF
42632 done
42634 else
42636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
42637 $as_echo_n "checking for _sincosl declaration... " >&6; }
42638 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
42639 if ${glibcxx_cv_func__sincosl_use+:} false; then :
42640 $as_echo_n "(cached) " >&6
42641 else
42644 ac_ext=cpp
42645 ac_cpp='$CXXCPP $CPPFLAGS'
42646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42651 /* end confdefs.h. */
42652 #include <math.h>
42654 main ()
42656 _sincosl(0, 0, 0);
42658 return 0;
42660 _ACEOF
42661 if ac_fn_cxx_try_compile "$LINENO"; then :
42662 glibcxx_cv_func__sincosl_use=yes
42663 else
42664 glibcxx_cv_func__sincosl_use=no
42666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42667 ac_ext=c
42668 ac_cpp='$CPP $CPPFLAGS'
42669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
42678 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
42680 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
42681 for ac_func in _sincosl
42682 do :
42683 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
42684 if test "x$ac_cv_func__sincosl" = xyes; then :
42685 cat >>confdefs.h <<_ACEOF
42686 #define HAVE__SINCOSL 1
42687 _ACEOF
42690 done
42699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
42700 $as_echo_n "checking for finitel declaration... " >&6; }
42701 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
42702 if ${glibcxx_cv_func_finitel_use+:} false; then :
42703 $as_echo_n "(cached) " >&6
42704 else
42707 ac_ext=cpp
42708 ac_cpp='$CXXCPP $CPPFLAGS'
42709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42714 /* end confdefs.h. */
42715 #include <math.h>
42716 #ifdef HAVE_IEEEFP_H
42717 #include <ieeefp.h>
42718 #endif
42721 main ()
42723 finitel(0);
42725 return 0;
42727 _ACEOF
42728 if ac_fn_cxx_try_compile "$LINENO"; then :
42729 glibcxx_cv_func_finitel_use=yes
42730 else
42731 glibcxx_cv_func_finitel_use=no
42733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42734 ac_ext=c
42735 ac_cpp='$CPP $CPPFLAGS'
42736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
42745 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
42747 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
42748 for ac_func in finitel
42749 do :
42750 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
42751 if test "x$ac_cv_func_finitel" = xyes; then :
42752 cat >>confdefs.h <<_ACEOF
42753 #define HAVE_FINITEL 1
42754 _ACEOF
42757 done
42759 else
42761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
42762 $as_echo_n "checking for _finitel declaration... " >&6; }
42763 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
42764 if ${glibcxx_cv_func__finitel_use+:} false; then :
42765 $as_echo_n "(cached) " >&6
42766 else
42769 ac_ext=cpp
42770 ac_cpp='$CXXCPP $CPPFLAGS'
42771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42776 /* end confdefs.h. */
42777 #include <math.h>
42778 #ifdef HAVE_IEEEFP_H
42779 #include <ieeefp.h>
42780 #endif
42783 main ()
42785 _finitel(0);
42787 return 0;
42789 _ACEOF
42790 if ac_fn_cxx_try_compile "$LINENO"; then :
42791 glibcxx_cv_func__finitel_use=yes
42792 else
42793 glibcxx_cv_func__finitel_use=no
42795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42796 ac_ext=c
42797 ac_cpp='$CPP $CPPFLAGS'
42798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
42807 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
42809 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
42810 for ac_func in _finitel
42811 do :
42812 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
42813 if test "x$ac_cv_func__finitel" = xyes; then :
42814 cat >>confdefs.h <<_ACEOF
42815 #define HAVE__FINITEL 1
42816 _ACEOF
42819 done
42827 LIBS="$ac_save_LIBS"
42828 CXXFLAGS="$ac_save_CXXFLAGS"
42831 ac_test_CXXFLAGS="${CXXFLAGS+set}"
42832 ac_save_CXXFLAGS="$CXXFLAGS"
42833 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
42836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
42837 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
42838 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
42839 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
42840 $as_echo_n "(cached) " >&6
42841 else
42844 ac_ext=cpp
42845 ac_cpp='$CXXCPP $CPPFLAGS'
42846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42851 /* end confdefs.h. */
42852 #include <stdlib.h>
42854 main ()
42856 at_quick_exit(0);
42858 return 0;
42860 _ACEOF
42861 if ac_fn_cxx_try_compile "$LINENO"; then :
42862 glibcxx_cv_func_at_quick_exit_use=yes
42863 else
42864 glibcxx_cv_func_at_quick_exit_use=no
42866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42867 ac_ext=c
42868 ac_cpp='$CPP $CPPFLAGS'
42869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
42878 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
42879 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
42880 for ac_func in at_quick_exit
42881 do :
42882 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
42883 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
42884 cat >>confdefs.h <<_ACEOF
42885 #define HAVE_AT_QUICK_EXIT 1
42886 _ACEOF
42889 done
42894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
42895 $as_echo_n "checking for quick_exit declaration... " >&6; }
42896 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
42897 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
42898 $as_echo_n "(cached) " >&6
42899 else
42902 ac_ext=cpp
42903 ac_cpp='$CXXCPP $CPPFLAGS'
42904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42909 /* end confdefs.h. */
42910 #include <stdlib.h>
42912 main ()
42914 quick_exit(0);
42916 return 0;
42918 _ACEOF
42919 if ac_fn_cxx_try_compile "$LINENO"; then :
42920 glibcxx_cv_func_quick_exit_use=yes
42921 else
42922 glibcxx_cv_func_quick_exit_use=no
42924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42925 ac_ext=c
42926 ac_cpp='$CPP $CPPFLAGS'
42927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
42936 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
42937 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
42938 for ac_func in quick_exit
42939 do :
42940 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
42941 if test "x$ac_cv_func_quick_exit" = xyes; then :
42942 cat >>confdefs.h <<_ACEOF
42943 #define HAVE_QUICK_EXIT 1
42944 _ACEOF
42947 done
42952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
42953 $as_echo_n "checking for strtold declaration... " >&6; }
42954 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
42955 if ${glibcxx_cv_func_strtold_use+:} false; then :
42956 $as_echo_n "(cached) " >&6
42957 else
42960 ac_ext=cpp
42961 ac_cpp='$CXXCPP $CPPFLAGS'
42962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42967 /* end confdefs.h. */
42968 #include <stdlib.h>
42970 main ()
42972 strtold(0, 0);
42974 return 0;
42976 _ACEOF
42977 if ac_fn_cxx_try_compile "$LINENO"; then :
42978 glibcxx_cv_func_strtold_use=yes
42979 else
42980 glibcxx_cv_func_strtold_use=no
42982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42983 ac_ext=c
42984 ac_cpp='$CPP $CPPFLAGS'
42985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
42994 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
42995 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
42996 for ac_func in strtold
42997 do :
42998 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
42999 if test "x$ac_cv_func_strtold" = xyes; then :
43000 cat >>confdefs.h <<_ACEOF
43001 #define HAVE_STRTOLD 1
43002 _ACEOF
43005 done
43012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
43013 $as_echo_n "checking for strtof declaration... " >&6; }
43014 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
43015 if ${glibcxx_cv_func_strtof_use+:} false; then :
43016 $as_echo_n "(cached) " >&6
43017 else
43020 ac_ext=cpp
43021 ac_cpp='$CXXCPP $CPPFLAGS'
43022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43027 /* end confdefs.h. */
43028 #include <stdlib.h>
43030 main ()
43032 strtof(0, 0);
43034 return 0;
43036 _ACEOF
43037 if ac_fn_cxx_try_compile "$LINENO"; then :
43038 glibcxx_cv_func_strtof_use=yes
43039 else
43040 glibcxx_cv_func_strtof_use=no
43042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43043 ac_ext=c
43044 ac_cpp='$CPP $CPPFLAGS'
43045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
43054 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
43055 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
43056 for ac_func in strtof
43057 do :
43058 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
43059 if test "x$ac_cv_func_strtof" = xyes; then :
43060 cat >>confdefs.h <<_ACEOF
43061 #define HAVE_STRTOF 1
43062 _ACEOF
43065 done
43072 CXXFLAGS="$ac_save_CXXFLAGS"
43074 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
43076 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
43078 # We don't yet support AIX's TLS ABI.
43079 #GCC_CHECK_TLS
43085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
43086 $as_echo_n "checking for iconv... " >&6; }
43087 if ${am_cv_func_iconv+:} false; then :
43088 $as_echo_n "(cached) " >&6
43089 else
43091 am_cv_func_iconv="no, consider installing GNU libiconv"
43092 am_cv_lib_iconv=no
43093 am_save_CPPFLAGS="$CPPFLAGS"
43094 CPPFLAGS="$CPPFLAGS $INCICONV"
43095 if test x$gcc_no_link = xyes; then
43096 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
43098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43099 /* end confdefs.h. */
43100 #include <stdlib.h>
43101 #include <iconv.h>
43103 main ()
43105 iconv_t cd = iconv_open("","");
43106 iconv(cd,NULL,NULL,NULL,NULL);
43107 iconv_close(cd);
43109 return 0;
43111 _ACEOF
43112 if ac_fn_c_try_link "$LINENO"; then :
43113 am_cv_func_iconv=yes
43115 rm -f core conftest.err conftest.$ac_objext \
43116 conftest$ac_exeext conftest.$ac_ext
43117 CPPFLAGS="$am_save_CPPFLAGS"
43119 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
43120 for _libs in .libs _libs; do
43121 am_save_CPPFLAGS="$CPPFLAGS"
43122 am_save_LIBS="$LIBS"
43123 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
43124 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
43125 if test x$gcc_no_link = xyes; then
43126 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
43128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43129 /* end confdefs.h. */
43130 #include <stdlib.h>
43131 #include <iconv.h>
43133 main ()
43135 iconv_t cd = iconv_open("","");
43136 iconv(cd,NULL,NULL,NULL,NULL);
43137 iconv_close(cd);
43139 return 0;
43141 _ACEOF
43142 if ac_fn_c_try_link "$LINENO"; then :
43143 INCICONV="-I../libiconv/include"
43144 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
43145 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
43146 am_cv_lib_iconv=yes
43147 am_cv_func_iconv=yes
43149 rm -f core conftest.err conftest.$ac_objext \
43150 conftest$ac_exeext conftest.$ac_ext
43151 CPPFLAGS="$am_save_CPPFLAGS"
43152 LIBS="$am_save_LIBS"
43153 if test "$am_cv_func_iconv" = "yes"; then
43154 break
43156 done
43159 if test "$am_cv_func_iconv" != yes; then
43160 am_save_CPPFLAGS="$CPPFLAGS"
43161 am_save_LIBS="$LIBS"
43162 CPPFLAGS="$CPPFLAGS $INCICONV"
43163 LIBS="$LIBS $LIBICONV"
43164 if test x$gcc_no_link = xyes; then
43165 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
43167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43168 /* end confdefs.h. */
43169 #include <stdlib.h>
43170 #include <iconv.h>
43172 main ()
43174 iconv_t cd = iconv_open("","");
43175 iconv(cd,NULL,NULL,NULL,NULL);
43176 iconv_close(cd);
43178 return 0;
43180 _ACEOF
43181 if ac_fn_c_try_link "$LINENO"; then :
43182 am_cv_lib_iconv=yes
43183 am_cv_func_iconv=yes
43185 rm -f core conftest.err conftest.$ac_objext \
43186 conftest$ac_exeext conftest.$ac_ext
43187 CPPFLAGS="$am_save_CPPFLAGS"
43188 LIBS="$am_save_LIBS"
43192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
43193 $as_echo "$am_cv_func_iconv" >&6; }
43194 if test "$am_cv_func_iconv" = yes; then
43196 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
43199 if test "$am_cv_lib_iconv" = yes; then
43201 for element in $INCICONV; do
43202 haveit=
43203 for x in $CPPFLAGS; do
43205 acl_save_prefix="$prefix"
43206 prefix="$acl_final_prefix"
43207 acl_save_exec_prefix="$exec_prefix"
43208 exec_prefix="$acl_final_exec_prefix"
43209 eval x=\"$x\"
43210 exec_prefix="$acl_save_exec_prefix"
43211 prefix="$acl_save_prefix"
43213 if test "X$x" = "X$element"; then
43214 haveit=yes
43215 break
43217 done
43218 if test -z "$haveit"; then
43219 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
43221 done
43223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
43224 $as_echo_n "checking how to link with libiconv... " >&6; }
43225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
43226 $as_echo "$LIBICONV" >&6; }
43227 else
43228 LIBICONV=
43229 LTLIBICONV=
43234 if test "$am_cv_func_iconv" = yes; then
43235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
43236 $as_echo_n "checking for iconv declaration... " >&6; }
43237 if ${am_cv_proto_iconv+:} false; then :
43238 $as_echo_n "(cached) " >&6
43239 else
43241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43242 /* end confdefs.h. */
43244 #include <stdlib.h>
43245 #include <iconv.h>
43246 extern
43247 #ifdef __cplusplus
43249 #endif
43250 #if defined(__STDC__) || defined(__cplusplus)
43251 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
43252 #else
43253 size_t iconv();
43254 #endif
43257 main ()
43261 return 0;
43263 _ACEOF
43264 if ac_fn_c_try_compile "$LINENO"; then :
43265 am_cv_proto_iconv_arg1=""
43266 else
43267 am_cv_proto_iconv_arg1="const"
43269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43270 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);"
43273 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
43274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
43275 }$am_cv_proto_iconv" >&5
43276 $as_echo "${ac_t:-
43277 }$am_cv_proto_iconv" >&6; }
43279 cat >>confdefs.h <<_ACEOF
43280 #define ICONV_CONST $am_cv_proto_iconv_arg1
43281 _ACEOF
43286 $as_echo "#define HAVE_USELOCALE 1" >>confdefs.h
43290 *-darwin*)
43291 # Darwin versions vary, but the linker should work in a cross environment,
43292 # so we just check for all the features here.
43293 # Check for available headers.
43295 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
43297 ac_test_CXXFLAGS="${CXXFLAGS+set}"
43298 ac_save_CXXFLAGS="$CXXFLAGS"
43299 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
43302 $as_echo_n "checking for sin in -lm... " >&6; }
43303 if ${ac_cv_lib_m_sin+:} false; then :
43304 $as_echo_n "(cached) " >&6
43305 else
43306 ac_check_lib_save_LIBS=$LIBS
43307 LIBS="-lm $LIBS"
43308 if test x$gcc_no_link = xyes; then
43309 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
43311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43312 /* end confdefs.h. */
43314 /* Override any GCC internal prototype to avoid an error.
43315 Use char because int might match the return type of a GCC
43316 builtin and then its argument prototype would still apply. */
43317 #ifdef __cplusplus
43318 extern "C"
43319 #endif
43320 char sin ();
43322 main ()
43324 return sin ();
43326 return 0;
43328 _ACEOF
43329 if ac_fn_c_try_link "$LINENO"; then :
43330 ac_cv_lib_m_sin=yes
43331 else
43332 ac_cv_lib_m_sin=no
43334 rm -f core conftest.err conftest.$ac_objext \
43335 conftest$ac_exeext conftest.$ac_ext
43336 LIBS=$ac_check_lib_save_LIBS
43338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
43339 $as_echo "$ac_cv_lib_m_sin" >&6; }
43340 if test "x$ac_cv_lib_m_sin" = xyes; then :
43341 libm="-lm"
43344 ac_save_LIBS="$LIBS"
43345 LIBS="$LIBS $libm"
43349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
43350 $as_echo_n "checking for isinf declaration... " >&6; }
43351 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
43352 if ${glibcxx_cv_func_isinf_use+:} false; then :
43353 $as_echo_n "(cached) " >&6
43354 else
43357 ac_ext=cpp
43358 ac_cpp='$CXXCPP $CPPFLAGS'
43359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43364 /* end confdefs.h. */
43365 #include <math.h>
43366 #ifdef HAVE_IEEEFP_H
43367 #include <ieeefp.h>
43368 #endif
43371 main ()
43373 isinf(0);
43375 return 0;
43377 _ACEOF
43378 if ac_fn_cxx_try_compile "$LINENO"; then :
43379 glibcxx_cv_func_isinf_use=yes
43380 else
43381 glibcxx_cv_func_isinf_use=no
43383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43384 ac_ext=c
43385 ac_cpp='$CPP $CPPFLAGS'
43386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
43395 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
43397 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
43398 for ac_func in isinf
43399 do :
43400 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
43401 if test "x$ac_cv_func_isinf" = xyes; then :
43402 cat >>confdefs.h <<_ACEOF
43403 #define HAVE_ISINF 1
43404 _ACEOF
43407 done
43409 else
43411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
43412 $as_echo_n "checking for _isinf declaration... " >&6; }
43413 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
43414 if ${glibcxx_cv_func__isinf_use+:} false; then :
43415 $as_echo_n "(cached) " >&6
43416 else
43419 ac_ext=cpp
43420 ac_cpp='$CXXCPP $CPPFLAGS'
43421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43426 /* end confdefs.h. */
43427 #include <math.h>
43428 #ifdef HAVE_IEEEFP_H
43429 #include <ieeefp.h>
43430 #endif
43433 main ()
43435 _isinf(0);
43437 return 0;
43439 _ACEOF
43440 if ac_fn_cxx_try_compile "$LINENO"; then :
43441 glibcxx_cv_func__isinf_use=yes
43442 else
43443 glibcxx_cv_func__isinf_use=no
43445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43446 ac_ext=c
43447 ac_cpp='$CPP $CPPFLAGS'
43448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
43457 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
43459 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
43460 for ac_func in _isinf
43461 do :
43462 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
43463 if test "x$ac_cv_func__isinf" = xyes; then :
43464 cat >>confdefs.h <<_ACEOF
43465 #define HAVE__ISINF 1
43466 _ACEOF
43469 done
43478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
43479 $as_echo_n "checking for isnan declaration... " >&6; }
43480 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
43481 if ${glibcxx_cv_func_isnan_use+:} false; then :
43482 $as_echo_n "(cached) " >&6
43483 else
43486 ac_ext=cpp
43487 ac_cpp='$CXXCPP $CPPFLAGS'
43488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43493 /* end confdefs.h. */
43494 #include <math.h>
43495 #ifdef HAVE_IEEEFP_H
43496 #include <ieeefp.h>
43497 #endif
43500 main ()
43502 isnan(0);
43504 return 0;
43506 _ACEOF
43507 if ac_fn_cxx_try_compile "$LINENO"; then :
43508 glibcxx_cv_func_isnan_use=yes
43509 else
43510 glibcxx_cv_func_isnan_use=no
43512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43513 ac_ext=c
43514 ac_cpp='$CPP $CPPFLAGS'
43515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
43524 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
43526 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
43527 for ac_func in isnan
43528 do :
43529 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
43530 if test "x$ac_cv_func_isnan" = xyes; then :
43531 cat >>confdefs.h <<_ACEOF
43532 #define HAVE_ISNAN 1
43533 _ACEOF
43536 done
43538 else
43540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
43541 $as_echo_n "checking for _isnan declaration... " >&6; }
43542 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
43543 if ${glibcxx_cv_func__isnan_use+:} false; then :
43544 $as_echo_n "(cached) " >&6
43545 else
43548 ac_ext=cpp
43549 ac_cpp='$CXXCPP $CPPFLAGS'
43550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43555 /* end confdefs.h. */
43556 #include <math.h>
43557 #ifdef HAVE_IEEEFP_H
43558 #include <ieeefp.h>
43559 #endif
43562 main ()
43564 _isnan(0);
43566 return 0;
43568 _ACEOF
43569 if ac_fn_cxx_try_compile "$LINENO"; then :
43570 glibcxx_cv_func__isnan_use=yes
43571 else
43572 glibcxx_cv_func__isnan_use=no
43574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43575 ac_ext=c
43576 ac_cpp='$CPP $CPPFLAGS'
43577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
43586 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
43588 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
43589 for ac_func in _isnan
43590 do :
43591 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
43592 if test "x$ac_cv_func__isnan" = xyes; then :
43593 cat >>confdefs.h <<_ACEOF
43594 #define HAVE__ISNAN 1
43595 _ACEOF
43598 done
43607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
43608 $as_echo_n "checking for finite declaration... " >&6; }
43609 if test x${glibcxx_cv_func_finite_use+set} != xset; then
43610 if ${glibcxx_cv_func_finite_use+:} false; then :
43611 $as_echo_n "(cached) " >&6
43612 else
43615 ac_ext=cpp
43616 ac_cpp='$CXXCPP $CPPFLAGS'
43617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43622 /* end confdefs.h. */
43623 #include <math.h>
43624 #ifdef HAVE_IEEEFP_H
43625 #include <ieeefp.h>
43626 #endif
43629 main ()
43631 finite(0);
43633 return 0;
43635 _ACEOF
43636 if ac_fn_cxx_try_compile "$LINENO"; then :
43637 glibcxx_cv_func_finite_use=yes
43638 else
43639 glibcxx_cv_func_finite_use=no
43641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43642 ac_ext=c
43643 ac_cpp='$CPP $CPPFLAGS'
43644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
43653 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
43655 if test x$glibcxx_cv_func_finite_use = x"yes"; then
43656 for ac_func in finite
43657 do :
43658 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
43659 if test "x$ac_cv_func_finite" = xyes; then :
43660 cat >>confdefs.h <<_ACEOF
43661 #define HAVE_FINITE 1
43662 _ACEOF
43665 done
43667 else
43669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
43670 $as_echo_n "checking for _finite declaration... " >&6; }
43671 if test x${glibcxx_cv_func__finite_use+set} != xset; then
43672 if ${glibcxx_cv_func__finite_use+:} false; then :
43673 $as_echo_n "(cached) " >&6
43674 else
43677 ac_ext=cpp
43678 ac_cpp='$CXXCPP $CPPFLAGS'
43679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43684 /* end confdefs.h. */
43685 #include <math.h>
43686 #ifdef HAVE_IEEEFP_H
43687 #include <ieeefp.h>
43688 #endif
43691 main ()
43693 _finite(0);
43695 return 0;
43697 _ACEOF
43698 if ac_fn_cxx_try_compile "$LINENO"; then :
43699 glibcxx_cv_func__finite_use=yes
43700 else
43701 glibcxx_cv_func__finite_use=no
43703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43704 ac_ext=c
43705 ac_cpp='$CPP $CPPFLAGS'
43706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
43715 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
43717 if test x$glibcxx_cv_func__finite_use = x"yes"; then
43718 for ac_func in _finite
43719 do :
43720 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
43721 if test "x$ac_cv_func__finite" = xyes; then :
43722 cat >>confdefs.h <<_ACEOF
43723 #define HAVE__FINITE 1
43724 _ACEOF
43727 done
43736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
43737 $as_echo_n "checking for sincos declaration... " >&6; }
43738 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
43739 if ${glibcxx_cv_func_sincos_use+:} false; then :
43740 $as_echo_n "(cached) " >&6
43741 else
43744 ac_ext=cpp
43745 ac_cpp='$CXXCPP $CPPFLAGS'
43746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43751 /* end confdefs.h. */
43752 #include <math.h>
43754 main ()
43756 sincos(0, 0, 0);
43758 return 0;
43760 _ACEOF
43761 if ac_fn_cxx_try_compile "$LINENO"; then :
43762 glibcxx_cv_func_sincos_use=yes
43763 else
43764 glibcxx_cv_func_sincos_use=no
43766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43767 ac_ext=c
43768 ac_cpp='$CPP $CPPFLAGS'
43769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
43778 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
43780 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
43781 for ac_func in sincos
43782 do :
43783 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
43784 if test "x$ac_cv_func_sincos" = xyes; then :
43785 cat >>confdefs.h <<_ACEOF
43786 #define HAVE_SINCOS 1
43787 _ACEOF
43790 done
43792 else
43794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
43795 $as_echo_n "checking for _sincos declaration... " >&6; }
43796 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
43797 if ${glibcxx_cv_func__sincos_use+:} false; then :
43798 $as_echo_n "(cached) " >&6
43799 else
43802 ac_ext=cpp
43803 ac_cpp='$CXXCPP $CPPFLAGS'
43804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43809 /* end confdefs.h. */
43810 #include <math.h>
43812 main ()
43814 _sincos(0, 0, 0);
43816 return 0;
43818 _ACEOF
43819 if ac_fn_cxx_try_compile "$LINENO"; then :
43820 glibcxx_cv_func__sincos_use=yes
43821 else
43822 glibcxx_cv_func__sincos_use=no
43824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43825 ac_ext=c
43826 ac_cpp='$CPP $CPPFLAGS'
43827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
43836 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
43838 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
43839 for ac_func in _sincos
43840 do :
43841 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
43842 if test "x$ac_cv_func__sincos" = xyes; then :
43843 cat >>confdefs.h <<_ACEOF
43844 #define HAVE__SINCOS 1
43845 _ACEOF
43848 done
43857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
43858 $as_echo_n "checking for fpclass declaration... " >&6; }
43859 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
43860 if ${glibcxx_cv_func_fpclass_use+:} false; then :
43861 $as_echo_n "(cached) " >&6
43862 else
43865 ac_ext=cpp
43866 ac_cpp='$CXXCPP $CPPFLAGS'
43867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43872 /* end confdefs.h. */
43873 #include <math.h>
43874 #ifdef HAVE_IEEEFP_H
43875 #include <ieeefp.h>
43876 #endif
43879 main ()
43881 fpclass(0);
43883 return 0;
43885 _ACEOF
43886 if ac_fn_cxx_try_compile "$LINENO"; then :
43887 glibcxx_cv_func_fpclass_use=yes
43888 else
43889 glibcxx_cv_func_fpclass_use=no
43891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43892 ac_ext=c
43893 ac_cpp='$CPP $CPPFLAGS'
43894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
43903 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
43905 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
43906 for ac_func in fpclass
43907 do :
43908 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
43909 if test "x$ac_cv_func_fpclass" = xyes; then :
43910 cat >>confdefs.h <<_ACEOF
43911 #define HAVE_FPCLASS 1
43912 _ACEOF
43915 done
43917 else
43919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
43920 $as_echo_n "checking for _fpclass declaration... " >&6; }
43921 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
43922 if ${glibcxx_cv_func__fpclass_use+:} false; then :
43923 $as_echo_n "(cached) " >&6
43924 else
43927 ac_ext=cpp
43928 ac_cpp='$CXXCPP $CPPFLAGS'
43929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43934 /* end confdefs.h. */
43935 #include <math.h>
43936 #ifdef HAVE_IEEEFP_H
43937 #include <ieeefp.h>
43938 #endif
43941 main ()
43943 _fpclass(0);
43945 return 0;
43947 _ACEOF
43948 if ac_fn_cxx_try_compile "$LINENO"; then :
43949 glibcxx_cv_func__fpclass_use=yes
43950 else
43951 glibcxx_cv_func__fpclass_use=no
43953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43954 ac_ext=c
43955 ac_cpp='$CPP $CPPFLAGS'
43956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
43965 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
43967 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
43968 for ac_func in _fpclass
43969 do :
43970 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
43971 if test "x$ac_cv_func__fpclass" = xyes; then :
43972 cat >>confdefs.h <<_ACEOF
43973 #define HAVE__FPCLASS 1
43974 _ACEOF
43977 done
43986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
43987 $as_echo_n "checking for qfpclass declaration... " >&6; }
43988 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
43989 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
43990 $as_echo_n "(cached) " >&6
43991 else
43994 ac_ext=cpp
43995 ac_cpp='$CXXCPP $CPPFLAGS'
43996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44001 /* end confdefs.h. */
44002 #include <math.h>
44003 #ifdef HAVE_IEEEFP_H
44004 #include <ieeefp.h>
44005 #endif
44008 main ()
44010 qfpclass(0);
44012 return 0;
44014 _ACEOF
44015 if ac_fn_cxx_try_compile "$LINENO"; then :
44016 glibcxx_cv_func_qfpclass_use=yes
44017 else
44018 glibcxx_cv_func_qfpclass_use=no
44020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44021 ac_ext=c
44022 ac_cpp='$CPP $CPPFLAGS'
44023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
44032 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
44034 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
44035 for ac_func in qfpclass
44036 do :
44037 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
44038 if test "x$ac_cv_func_qfpclass" = xyes; then :
44039 cat >>confdefs.h <<_ACEOF
44040 #define HAVE_QFPCLASS 1
44041 _ACEOF
44044 done
44046 else
44048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
44049 $as_echo_n "checking for _qfpclass declaration... " >&6; }
44050 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
44051 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
44052 $as_echo_n "(cached) " >&6
44053 else
44056 ac_ext=cpp
44057 ac_cpp='$CXXCPP $CPPFLAGS'
44058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44063 /* end confdefs.h. */
44064 #include <math.h>
44065 #ifdef HAVE_IEEEFP_H
44066 #include <ieeefp.h>
44067 #endif
44070 main ()
44072 _qfpclass(0);
44074 return 0;
44076 _ACEOF
44077 if ac_fn_cxx_try_compile "$LINENO"; then :
44078 glibcxx_cv_func__qfpclass_use=yes
44079 else
44080 glibcxx_cv_func__qfpclass_use=no
44082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44083 ac_ext=c
44084 ac_cpp='$CPP $CPPFLAGS'
44085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
44094 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
44096 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
44097 for ac_func in _qfpclass
44098 do :
44099 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
44100 if test "x$ac_cv_func__qfpclass" = xyes; then :
44101 cat >>confdefs.h <<_ACEOF
44102 #define HAVE__QFPCLASS 1
44103 _ACEOF
44106 done
44115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
44116 $as_echo_n "checking for hypot declaration... " >&6; }
44117 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
44118 if ${glibcxx_cv_func_hypot_use+:} false; then :
44119 $as_echo_n "(cached) " >&6
44120 else
44123 ac_ext=cpp
44124 ac_cpp='$CXXCPP $CPPFLAGS'
44125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44130 /* end confdefs.h. */
44131 #include <math.h>
44133 main ()
44135 hypot(0, 0);
44137 return 0;
44139 _ACEOF
44140 if ac_fn_cxx_try_compile "$LINENO"; then :
44141 glibcxx_cv_func_hypot_use=yes
44142 else
44143 glibcxx_cv_func_hypot_use=no
44145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44146 ac_ext=c
44147 ac_cpp='$CPP $CPPFLAGS'
44148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
44157 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
44159 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
44160 for ac_func in hypot
44161 do :
44162 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
44163 if test "x$ac_cv_func_hypot" = xyes; then :
44164 cat >>confdefs.h <<_ACEOF
44165 #define HAVE_HYPOT 1
44166 _ACEOF
44169 done
44171 else
44173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
44174 $as_echo_n "checking for _hypot declaration... " >&6; }
44175 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
44176 if ${glibcxx_cv_func__hypot_use+:} false; then :
44177 $as_echo_n "(cached) " >&6
44178 else
44181 ac_ext=cpp
44182 ac_cpp='$CXXCPP $CPPFLAGS'
44183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44188 /* end confdefs.h. */
44189 #include <math.h>
44191 main ()
44193 _hypot(0, 0);
44195 return 0;
44197 _ACEOF
44198 if ac_fn_cxx_try_compile "$LINENO"; then :
44199 glibcxx_cv_func__hypot_use=yes
44200 else
44201 glibcxx_cv_func__hypot_use=no
44203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44204 ac_ext=c
44205 ac_cpp='$CPP $CPPFLAGS'
44206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
44215 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
44217 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
44218 for ac_func in _hypot
44219 do :
44220 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
44221 if test "x$ac_cv_func__hypot" = xyes; then :
44222 cat >>confdefs.h <<_ACEOF
44223 #define HAVE__HYPOT 1
44224 _ACEOF
44227 done
44236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
44237 $as_echo_n "checking for float trig functions... " >&6; }
44238 if ${glibcxx_cv_func_float_trig_use+:} false; then :
44239 $as_echo_n "(cached) " >&6
44240 else
44243 ac_ext=cpp
44244 ac_cpp='$CXXCPP $CPPFLAGS'
44245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44250 /* end confdefs.h. */
44251 #include <math.h>
44253 main ()
44255 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
44257 return 0;
44259 _ACEOF
44260 if ac_fn_cxx_try_compile "$LINENO"; then :
44261 glibcxx_cv_func_float_trig_use=yes
44262 else
44263 glibcxx_cv_func_float_trig_use=no
44265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44266 ac_ext=c
44267 ac_cpp='$CPP $CPPFLAGS'
44268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
44275 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
44276 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
44277 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
44278 do :
44279 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44280 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44281 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44282 cat >>confdefs.h <<_ACEOF
44283 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44284 _ACEOF
44287 done
44289 else
44290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
44291 $as_echo_n "checking for _float trig functions... " >&6; }
44292 if ${glibcxx_cv_func__float_trig_use+:} false; then :
44293 $as_echo_n "(cached) " >&6
44294 else
44297 ac_ext=cpp
44298 ac_cpp='$CXXCPP $CPPFLAGS'
44299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44304 /* end confdefs.h. */
44305 #include <math.h>
44307 main ()
44309 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
44311 return 0;
44313 _ACEOF
44314 if ac_fn_cxx_try_compile "$LINENO"; then :
44315 glibcxx_cv_func__float_trig_use=yes
44316 else
44317 glibcxx_cv_func__float_trig_use=no
44319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44320 ac_ext=c
44321 ac_cpp='$CPP $CPPFLAGS'
44322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
44329 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
44330 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
44331 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
44332 do :
44333 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44334 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44335 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44336 cat >>confdefs.h <<_ACEOF
44337 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44338 _ACEOF
44341 done
44350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
44351 $as_echo_n "checking for float round functions... " >&6; }
44352 if ${glibcxx_cv_func_float_round_use+:} false; then :
44353 $as_echo_n "(cached) " >&6
44354 else
44357 ac_ext=cpp
44358 ac_cpp='$CXXCPP $CPPFLAGS'
44359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44364 /* end confdefs.h. */
44365 #include <math.h>
44367 main ()
44369 ceilf (0); floorf (0);
44371 return 0;
44373 _ACEOF
44374 if ac_fn_cxx_try_compile "$LINENO"; then :
44375 glibcxx_cv_func_float_round_use=yes
44376 else
44377 glibcxx_cv_func_float_round_use=no
44379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44380 ac_ext=c
44381 ac_cpp='$CPP $CPPFLAGS'
44382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
44389 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
44390 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
44391 for ac_func in ceilf floorf
44392 do :
44393 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44394 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44395 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44396 cat >>confdefs.h <<_ACEOF
44397 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44398 _ACEOF
44401 done
44403 else
44404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
44405 $as_echo_n "checking for _float round functions... " >&6; }
44406 if ${glibcxx_cv_func__float_round_use+:} false; then :
44407 $as_echo_n "(cached) " >&6
44408 else
44411 ac_ext=cpp
44412 ac_cpp='$CXXCPP $CPPFLAGS'
44413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44418 /* end confdefs.h. */
44419 #include <math.h>
44421 main ()
44423 _ceilf (0); _floorf (0);
44425 return 0;
44427 _ACEOF
44428 if ac_fn_cxx_try_compile "$LINENO"; then :
44429 glibcxx_cv_func__float_round_use=yes
44430 else
44431 glibcxx_cv_func__float_round_use=no
44433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44434 ac_ext=c
44435 ac_cpp='$CPP $CPPFLAGS'
44436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
44443 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
44444 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
44445 for ac_func in _ceilf _floorf
44446 do :
44447 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44448 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44449 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44450 cat >>confdefs.h <<_ACEOF
44451 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44452 _ACEOF
44455 done
44465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
44466 $as_echo_n "checking for expf declaration... " >&6; }
44467 if test x${glibcxx_cv_func_expf_use+set} != xset; then
44468 if ${glibcxx_cv_func_expf_use+:} false; then :
44469 $as_echo_n "(cached) " >&6
44470 else
44473 ac_ext=cpp
44474 ac_cpp='$CXXCPP $CPPFLAGS'
44475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44480 /* end confdefs.h. */
44481 #include <math.h>
44482 #ifdef HAVE_IEEEFP_H
44483 #include <ieeefp.h>
44484 #endif
44487 main ()
44489 expf(0);
44491 return 0;
44493 _ACEOF
44494 if ac_fn_cxx_try_compile "$LINENO"; then :
44495 glibcxx_cv_func_expf_use=yes
44496 else
44497 glibcxx_cv_func_expf_use=no
44499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44500 ac_ext=c
44501 ac_cpp='$CPP $CPPFLAGS'
44502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
44511 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
44513 if test x$glibcxx_cv_func_expf_use = x"yes"; then
44514 for ac_func in expf
44515 do :
44516 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
44517 if test "x$ac_cv_func_expf" = xyes; then :
44518 cat >>confdefs.h <<_ACEOF
44519 #define HAVE_EXPF 1
44520 _ACEOF
44523 done
44525 else
44527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
44528 $as_echo_n "checking for _expf declaration... " >&6; }
44529 if test x${glibcxx_cv_func__expf_use+set} != xset; then
44530 if ${glibcxx_cv_func__expf_use+:} false; then :
44531 $as_echo_n "(cached) " >&6
44532 else
44535 ac_ext=cpp
44536 ac_cpp='$CXXCPP $CPPFLAGS'
44537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44542 /* end confdefs.h. */
44543 #include <math.h>
44544 #ifdef HAVE_IEEEFP_H
44545 #include <ieeefp.h>
44546 #endif
44549 main ()
44551 _expf(0);
44553 return 0;
44555 _ACEOF
44556 if ac_fn_cxx_try_compile "$LINENO"; then :
44557 glibcxx_cv_func__expf_use=yes
44558 else
44559 glibcxx_cv_func__expf_use=no
44561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44562 ac_ext=c
44563 ac_cpp='$CPP $CPPFLAGS'
44564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
44573 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
44575 if test x$glibcxx_cv_func__expf_use = x"yes"; then
44576 for ac_func in _expf
44577 do :
44578 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
44579 if test "x$ac_cv_func__expf" = xyes; then :
44580 cat >>confdefs.h <<_ACEOF
44581 #define HAVE__EXPF 1
44582 _ACEOF
44585 done
44594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
44595 $as_echo_n "checking for isnanf declaration... " >&6; }
44596 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
44597 if ${glibcxx_cv_func_isnanf_use+:} false; then :
44598 $as_echo_n "(cached) " >&6
44599 else
44602 ac_ext=cpp
44603 ac_cpp='$CXXCPP $CPPFLAGS'
44604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44609 /* end confdefs.h. */
44610 #include <math.h>
44611 #ifdef HAVE_IEEEFP_H
44612 #include <ieeefp.h>
44613 #endif
44616 main ()
44618 isnanf(0);
44620 return 0;
44622 _ACEOF
44623 if ac_fn_cxx_try_compile "$LINENO"; then :
44624 glibcxx_cv_func_isnanf_use=yes
44625 else
44626 glibcxx_cv_func_isnanf_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_isnanf_use" >&5
44640 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
44642 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
44643 for ac_func in isnanf
44644 do :
44645 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
44646 if test "x$ac_cv_func_isnanf" = xyes; then :
44647 cat >>confdefs.h <<_ACEOF
44648 #define HAVE_ISNANF 1
44649 _ACEOF
44652 done
44654 else
44656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
44657 $as_echo_n "checking for _isnanf declaration... " >&6; }
44658 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
44659 if ${glibcxx_cv_func__isnanf_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>
44673 #ifdef HAVE_IEEEFP_H
44674 #include <ieeefp.h>
44675 #endif
44678 main ()
44680 _isnanf(0);
44682 return 0;
44684 _ACEOF
44685 if ac_fn_cxx_try_compile "$LINENO"; then :
44686 glibcxx_cv_func__isnanf_use=yes
44687 else
44688 glibcxx_cv_func__isnanf_use=no
44690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44691 ac_ext=c
44692 ac_cpp='$CPP $CPPFLAGS'
44693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
44702 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
44704 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
44705 for ac_func in _isnanf
44706 do :
44707 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
44708 if test "x$ac_cv_func__isnanf" = xyes; then :
44709 cat >>confdefs.h <<_ACEOF
44710 #define HAVE__ISNANF 1
44711 _ACEOF
44714 done
44723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
44724 $as_echo_n "checking for isinff declaration... " >&6; }
44725 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
44726 if ${glibcxx_cv_func_isinff_use+:} false; then :
44727 $as_echo_n "(cached) " >&6
44728 else
44731 ac_ext=cpp
44732 ac_cpp='$CXXCPP $CPPFLAGS'
44733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44738 /* end confdefs.h. */
44739 #include <math.h>
44740 #ifdef HAVE_IEEEFP_H
44741 #include <ieeefp.h>
44742 #endif
44745 main ()
44747 isinff(0);
44749 return 0;
44751 _ACEOF
44752 if ac_fn_cxx_try_compile "$LINENO"; then :
44753 glibcxx_cv_func_isinff_use=yes
44754 else
44755 glibcxx_cv_func_isinff_use=no
44757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44758 ac_ext=c
44759 ac_cpp='$CPP $CPPFLAGS'
44760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
44769 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
44771 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
44772 for ac_func in isinff
44773 do :
44774 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
44775 if test "x$ac_cv_func_isinff" = xyes; then :
44776 cat >>confdefs.h <<_ACEOF
44777 #define HAVE_ISINFF 1
44778 _ACEOF
44781 done
44783 else
44785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
44786 $as_echo_n "checking for _isinff declaration... " >&6; }
44787 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
44788 if ${glibcxx_cv_func__isinff_use+:} false; then :
44789 $as_echo_n "(cached) " >&6
44790 else
44793 ac_ext=cpp
44794 ac_cpp='$CXXCPP $CPPFLAGS'
44795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44800 /* end confdefs.h. */
44801 #include <math.h>
44802 #ifdef HAVE_IEEEFP_H
44803 #include <ieeefp.h>
44804 #endif
44807 main ()
44809 _isinff(0);
44811 return 0;
44813 _ACEOF
44814 if ac_fn_cxx_try_compile "$LINENO"; then :
44815 glibcxx_cv_func__isinff_use=yes
44816 else
44817 glibcxx_cv_func__isinff_use=no
44819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44820 ac_ext=c
44821 ac_cpp='$CPP $CPPFLAGS'
44822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
44831 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
44833 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
44834 for ac_func in _isinff
44835 do :
44836 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
44837 if test "x$ac_cv_func__isinff" = xyes; then :
44838 cat >>confdefs.h <<_ACEOF
44839 #define HAVE__ISINFF 1
44840 _ACEOF
44843 done
44852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
44853 $as_echo_n "checking for atan2f declaration... " >&6; }
44854 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
44855 if ${glibcxx_cv_func_atan2f_use+:} false; then :
44856 $as_echo_n "(cached) " >&6
44857 else
44860 ac_ext=cpp
44861 ac_cpp='$CXXCPP $CPPFLAGS'
44862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44867 /* end confdefs.h. */
44868 #include <math.h>
44870 main ()
44872 atan2f(0, 0);
44874 return 0;
44876 _ACEOF
44877 if ac_fn_cxx_try_compile "$LINENO"; then :
44878 glibcxx_cv_func_atan2f_use=yes
44879 else
44880 glibcxx_cv_func_atan2f_use=no
44882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44883 ac_ext=c
44884 ac_cpp='$CPP $CPPFLAGS'
44885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
44894 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
44896 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
44897 for ac_func in atan2f
44898 do :
44899 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
44900 if test "x$ac_cv_func_atan2f" = xyes; then :
44901 cat >>confdefs.h <<_ACEOF
44902 #define HAVE_ATAN2F 1
44903 _ACEOF
44906 done
44908 else
44910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
44911 $as_echo_n "checking for _atan2f declaration... " >&6; }
44912 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
44913 if ${glibcxx_cv_func__atan2f_use+:} false; then :
44914 $as_echo_n "(cached) " >&6
44915 else
44918 ac_ext=cpp
44919 ac_cpp='$CXXCPP $CPPFLAGS'
44920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44925 /* end confdefs.h. */
44926 #include <math.h>
44928 main ()
44930 _atan2f(0, 0);
44932 return 0;
44934 _ACEOF
44935 if ac_fn_cxx_try_compile "$LINENO"; then :
44936 glibcxx_cv_func__atan2f_use=yes
44937 else
44938 glibcxx_cv_func__atan2f_use=no
44940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44941 ac_ext=c
44942 ac_cpp='$CPP $CPPFLAGS'
44943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
44952 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
44954 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
44955 for ac_func in _atan2f
44956 do :
44957 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
44958 if test "x$ac_cv_func__atan2f" = xyes; then :
44959 cat >>confdefs.h <<_ACEOF
44960 #define HAVE__ATAN2F 1
44961 _ACEOF
44964 done
44973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
44974 $as_echo_n "checking for fabsf declaration... " >&6; }
44975 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
44976 if ${glibcxx_cv_func_fabsf_use+:} false; then :
44977 $as_echo_n "(cached) " >&6
44978 else
44981 ac_ext=cpp
44982 ac_cpp='$CXXCPP $CPPFLAGS'
44983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44988 /* end confdefs.h. */
44989 #include <math.h>
44990 #ifdef HAVE_IEEEFP_H
44991 #include <ieeefp.h>
44992 #endif
44995 main ()
44997 fabsf(0);
44999 return 0;
45001 _ACEOF
45002 if ac_fn_cxx_try_compile "$LINENO"; then :
45003 glibcxx_cv_func_fabsf_use=yes
45004 else
45005 glibcxx_cv_func_fabsf_use=no
45007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45008 ac_ext=c
45009 ac_cpp='$CPP $CPPFLAGS'
45010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
45019 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
45021 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
45022 for ac_func in fabsf
45023 do :
45024 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
45025 if test "x$ac_cv_func_fabsf" = xyes; then :
45026 cat >>confdefs.h <<_ACEOF
45027 #define HAVE_FABSF 1
45028 _ACEOF
45031 done
45033 else
45035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
45036 $as_echo_n "checking for _fabsf declaration... " >&6; }
45037 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
45038 if ${glibcxx_cv_func__fabsf_use+:} false; then :
45039 $as_echo_n "(cached) " >&6
45040 else
45043 ac_ext=cpp
45044 ac_cpp='$CXXCPP $CPPFLAGS'
45045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45050 /* end confdefs.h. */
45051 #include <math.h>
45052 #ifdef HAVE_IEEEFP_H
45053 #include <ieeefp.h>
45054 #endif
45057 main ()
45059 _fabsf(0);
45061 return 0;
45063 _ACEOF
45064 if ac_fn_cxx_try_compile "$LINENO"; then :
45065 glibcxx_cv_func__fabsf_use=yes
45066 else
45067 glibcxx_cv_func__fabsf_use=no
45069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45070 ac_ext=c
45071 ac_cpp='$CPP $CPPFLAGS'
45072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
45081 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
45083 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
45084 for ac_func in _fabsf
45085 do :
45086 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
45087 if test "x$ac_cv_func__fabsf" = xyes; then :
45088 cat >>confdefs.h <<_ACEOF
45089 #define HAVE__FABSF 1
45090 _ACEOF
45093 done
45102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
45103 $as_echo_n "checking for fmodf declaration... " >&6; }
45104 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
45105 if ${glibcxx_cv_func_fmodf_use+:} false; then :
45106 $as_echo_n "(cached) " >&6
45107 else
45110 ac_ext=cpp
45111 ac_cpp='$CXXCPP $CPPFLAGS'
45112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45117 /* end confdefs.h. */
45118 #include <math.h>
45120 main ()
45122 fmodf(0, 0);
45124 return 0;
45126 _ACEOF
45127 if ac_fn_cxx_try_compile "$LINENO"; then :
45128 glibcxx_cv_func_fmodf_use=yes
45129 else
45130 glibcxx_cv_func_fmodf_use=no
45132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45133 ac_ext=c
45134 ac_cpp='$CPP $CPPFLAGS'
45135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
45144 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
45146 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
45147 for ac_func in fmodf
45148 do :
45149 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
45150 if test "x$ac_cv_func_fmodf" = xyes; then :
45151 cat >>confdefs.h <<_ACEOF
45152 #define HAVE_FMODF 1
45153 _ACEOF
45156 done
45158 else
45160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
45161 $as_echo_n "checking for _fmodf declaration... " >&6; }
45162 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
45163 if ${glibcxx_cv_func__fmodf_use+:} false; then :
45164 $as_echo_n "(cached) " >&6
45165 else
45168 ac_ext=cpp
45169 ac_cpp='$CXXCPP $CPPFLAGS'
45170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45175 /* end confdefs.h. */
45176 #include <math.h>
45178 main ()
45180 _fmodf(0, 0);
45182 return 0;
45184 _ACEOF
45185 if ac_fn_cxx_try_compile "$LINENO"; then :
45186 glibcxx_cv_func__fmodf_use=yes
45187 else
45188 glibcxx_cv_func__fmodf_use=no
45190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45191 ac_ext=c
45192 ac_cpp='$CPP $CPPFLAGS'
45193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
45202 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
45204 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
45205 for ac_func in _fmodf
45206 do :
45207 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
45208 if test "x$ac_cv_func__fmodf" = xyes; then :
45209 cat >>confdefs.h <<_ACEOF
45210 #define HAVE__FMODF 1
45211 _ACEOF
45214 done
45223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
45224 $as_echo_n "checking for frexpf declaration... " >&6; }
45225 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
45226 if ${glibcxx_cv_func_frexpf_use+:} false; then :
45227 $as_echo_n "(cached) " >&6
45228 else
45231 ac_ext=cpp
45232 ac_cpp='$CXXCPP $CPPFLAGS'
45233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45238 /* end confdefs.h. */
45239 #include <math.h>
45241 main ()
45243 frexpf(0, 0);
45245 return 0;
45247 _ACEOF
45248 if ac_fn_cxx_try_compile "$LINENO"; then :
45249 glibcxx_cv_func_frexpf_use=yes
45250 else
45251 glibcxx_cv_func_frexpf_use=no
45253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45254 ac_ext=c
45255 ac_cpp='$CPP $CPPFLAGS'
45256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
45265 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
45267 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
45268 for ac_func in frexpf
45269 do :
45270 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
45271 if test "x$ac_cv_func_frexpf" = xyes; then :
45272 cat >>confdefs.h <<_ACEOF
45273 #define HAVE_FREXPF 1
45274 _ACEOF
45277 done
45279 else
45281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
45282 $as_echo_n "checking for _frexpf declaration... " >&6; }
45283 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
45284 if ${glibcxx_cv_func__frexpf_use+:} false; then :
45285 $as_echo_n "(cached) " >&6
45286 else
45289 ac_ext=cpp
45290 ac_cpp='$CXXCPP $CPPFLAGS'
45291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45296 /* end confdefs.h. */
45297 #include <math.h>
45299 main ()
45301 _frexpf(0, 0);
45303 return 0;
45305 _ACEOF
45306 if ac_fn_cxx_try_compile "$LINENO"; then :
45307 glibcxx_cv_func__frexpf_use=yes
45308 else
45309 glibcxx_cv_func__frexpf_use=no
45311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45312 ac_ext=c
45313 ac_cpp='$CPP $CPPFLAGS'
45314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
45323 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
45325 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
45326 for ac_func in _frexpf
45327 do :
45328 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
45329 if test "x$ac_cv_func__frexpf" = xyes; then :
45330 cat >>confdefs.h <<_ACEOF
45331 #define HAVE__FREXPF 1
45332 _ACEOF
45335 done
45344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
45345 $as_echo_n "checking for hypotf declaration... " >&6; }
45346 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
45347 if ${glibcxx_cv_func_hypotf_use+:} false; then :
45348 $as_echo_n "(cached) " >&6
45349 else
45352 ac_ext=cpp
45353 ac_cpp='$CXXCPP $CPPFLAGS'
45354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45359 /* end confdefs.h. */
45360 #include <math.h>
45362 main ()
45364 hypotf(0, 0);
45366 return 0;
45368 _ACEOF
45369 if ac_fn_cxx_try_compile "$LINENO"; then :
45370 glibcxx_cv_func_hypotf_use=yes
45371 else
45372 glibcxx_cv_func_hypotf_use=no
45374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45375 ac_ext=c
45376 ac_cpp='$CPP $CPPFLAGS'
45377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
45386 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
45388 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
45389 for ac_func in hypotf
45390 do :
45391 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
45392 if test "x$ac_cv_func_hypotf" = xyes; then :
45393 cat >>confdefs.h <<_ACEOF
45394 #define HAVE_HYPOTF 1
45395 _ACEOF
45398 done
45400 else
45402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
45403 $as_echo_n "checking for _hypotf declaration... " >&6; }
45404 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
45405 if ${glibcxx_cv_func__hypotf_use+:} false; then :
45406 $as_echo_n "(cached) " >&6
45407 else
45410 ac_ext=cpp
45411 ac_cpp='$CXXCPP $CPPFLAGS'
45412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45417 /* end confdefs.h. */
45418 #include <math.h>
45420 main ()
45422 _hypotf(0, 0);
45424 return 0;
45426 _ACEOF
45427 if ac_fn_cxx_try_compile "$LINENO"; then :
45428 glibcxx_cv_func__hypotf_use=yes
45429 else
45430 glibcxx_cv_func__hypotf_use=no
45432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45433 ac_ext=c
45434 ac_cpp='$CPP $CPPFLAGS'
45435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
45444 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
45446 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
45447 for ac_func in _hypotf
45448 do :
45449 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
45450 if test "x$ac_cv_func__hypotf" = xyes; then :
45451 cat >>confdefs.h <<_ACEOF
45452 #define HAVE__HYPOTF 1
45453 _ACEOF
45456 done
45465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
45466 $as_echo_n "checking for ldexpf declaration... " >&6; }
45467 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
45468 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
45469 $as_echo_n "(cached) " >&6
45470 else
45473 ac_ext=cpp
45474 ac_cpp='$CXXCPP $CPPFLAGS'
45475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45480 /* end confdefs.h. */
45481 #include <math.h>
45483 main ()
45485 ldexpf(0, 0);
45487 return 0;
45489 _ACEOF
45490 if ac_fn_cxx_try_compile "$LINENO"; then :
45491 glibcxx_cv_func_ldexpf_use=yes
45492 else
45493 glibcxx_cv_func_ldexpf_use=no
45495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45496 ac_ext=c
45497 ac_cpp='$CPP $CPPFLAGS'
45498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
45507 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
45509 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
45510 for ac_func in ldexpf
45511 do :
45512 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
45513 if test "x$ac_cv_func_ldexpf" = xyes; then :
45514 cat >>confdefs.h <<_ACEOF
45515 #define HAVE_LDEXPF 1
45516 _ACEOF
45519 done
45521 else
45523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
45524 $as_echo_n "checking for _ldexpf declaration... " >&6; }
45525 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
45526 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
45527 $as_echo_n "(cached) " >&6
45528 else
45531 ac_ext=cpp
45532 ac_cpp='$CXXCPP $CPPFLAGS'
45533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45538 /* end confdefs.h. */
45539 #include <math.h>
45541 main ()
45543 _ldexpf(0, 0);
45545 return 0;
45547 _ACEOF
45548 if ac_fn_cxx_try_compile "$LINENO"; then :
45549 glibcxx_cv_func__ldexpf_use=yes
45550 else
45551 glibcxx_cv_func__ldexpf_use=no
45553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45554 ac_ext=c
45555 ac_cpp='$CPP $CPPFLAGS'
45556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
45565 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
45567 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
45568 for ac_func in _ldexpf
45569 do :
45570 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
45571 if test "x$ac_cv_func__ldexpf" = xyes; then :
45572 cat >>confdefs.h <<_ACEOF
45573 #define HAVE__LDEXPF 1
45574 _ACEOF
45577 done
45586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
45587 $as_echo_n "checking for logf declaration... " >&6; }
45588 if test x${glibcxx_cv_func_logf_use+set} != xset; then
45589 if ${glibcxx_cv_func_logf_use+:} false; then :
45590 $as_echo_n "(cached) " >&6
45591 else
45594 ac_ext=cpp
45595 ac_cpp='$CXXCPP $CPPFLAGS'
45596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45601 /* end confdefs.h. */
45602 #include <math.h>
45603 #ifdef HAVE_IEEEFP_H
45604 #include <ieeefp.h>
45605 #endif
45608 main ()
45610 logf(0);
45612 return 0;
45614 _ACEOF
45615 if ac_fn_cxx_try_compile "$LINENO"; then :
45616 glibcxx_cv_func_logf_use=yes
45617 else
45618 glibcxx_cv_func_logf_use=no
45620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45621 ac_ext=c
45622 ac_cpp='$CPP $CPPFLAGS'
45623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
45632 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
45634 if test x$glibcxx_cv_func_logf_use = x"yes"; then
45635 for ac_func in logf
45636 do :
45637 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
45638 if test "x$ac_cv_func_logf" = xyes; then :
45639 cat >>confdefs.h <<_ACEOF
45640 #define HAVE_LOGF 1
45641 _ACEOF
45644 done
45646 else
45648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
45649 $as_echo_n "checking for _logf declaration... " >&6; }
45650 if test x${glibcxx_cv_func__logf_use+set} != xset; then
45651 if ${glibcxx_cv_func__logf_use+:} false; then :
45652 $as_echo_n "(cached) " >&6
45653 else
45656 ac_ext=cpp
45657 ac_cpp='$CXXCPP $CPPFLAGS'
45658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45663 /* end confdefs.h. */
45664 #include <math.h>
45665 #ifdef HAVE_IEEEFP_H
45666 #include <ieeefp.h>
45667 #endif
45670 main ()
45672 _logf(0);
45674 return 0;
45676 _ACEOF
45677 if ac_fn_cxx_try_compile "$LINENO"; then :
45678 glibcxx_cv_func__logf_use=yes
45679 else
45680 glibcxx_cv_func__logf_use=no
45682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45683 ac_ext=c
45684 ac_cpp='$CPP $CPPFLAGS'
45685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
45694 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
45696 if test x$glibcxx_cv_func__logf_use = x"yes"; then
45697 for ac_func in _logf
45698 do :
45699 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
45700 if test "x$ac_cv_func__logf" = xyes; then :
45701 cat >>confdefs.h <<_ACEOF
45702 #define HAVE__LOGF 1
45703 _ACEOF
45706 done
45715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
45716 $as_echo_n "checking for log10f declaration... " >&6; }
45717 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
45718 if ${glibcxx_cv_func_log10f_use+:} false; then :
45719 $as_echo_n "(cached) " >&6
45720 else
45723 ac_ext=cpp
45724 ac_cpp='$CXXCPP $CPPFLAGS'
45725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45730 /* end confdefs.h. */
45731 #include <math.h>
45732 #ifdef HAVE_IEEEFP_H
45733 #include <ieeefp.h>
45734 #endif
45737 main ()
45739 log10f(0);
45741 return 0;
45743 _ACEOF
45744 if ac_fn_cxx_try_compile "$LINENO"; then :
45745 glibcxx_cv_func_log10f_use=yes
45746 else
45747 glibcxx_cv_func_log10f_use=no
45749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45750 ac_ext=c
45751 ac_cpp='$CPP $CPPFLAGS'
45752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
45761 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
45763 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
45764 for ac_func in log10f
45765 do :
45766 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
45767 if test "x$ac_cv_func_log10f" = xyes; then :
45768 cat >>confdefs.h <<_ACEOF
45769 #define HAVE_LOG10F 1
45770 _ACEOF
45773 done
45775 else
45777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
45778 $as_echo_n "checking for _log10f declaration... " >&6; }
45779 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
45780 if ${glibcxx_cv_func__log10f_use+:} false; then :
45781 $as_echo_n "(cached) " >&6
45782 else
45785 ac_ext=cpp
45786 ac_cpp='$CXXCPP $CPPFLAGS'
45787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45792 /* end confdefs.h. */
45793 #include <math.h>
45794 #ifdef HAVE_IEEEFP_H
45795 #include <ieeefp.h>
45796 #endif
45799 main ()
45801 _log10f(0);
45803 return 0;
45805 _ACEOF
45806 if ac_fn_cxx_try_compile "$LINENO"; then :
45807 glibcxx_cv_func__log10f_use=yes
45808 else
45809 glibcxx_cv_func__log10f_use=no
45811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45812 ac_ext=c
45813 ac_cpp='$CPP $CPPFLAGS'
45814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
45823 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
45825 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
45826 for ac_func in _log10f
45827 do :
45828 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
45829 if test "x$ac_cv_func__log10f" = xyes; then :
45830 cat >>confdefs.h <<_ACEOF
45831 #define HAVE__LOG10F 1
45832 _ACEOF
45835 done
45844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
45845 $as_echo_n "checking for modff declaration... " >&6; }
45846 if test x${glibcxx_cv_func_modff_use+set} != xset; then
45847 if ${glibcxx_cv_func_modff_use+:} false; then :
45848 $as_echo_n "(cached) " >&6
45849 else
45852 ac_ext=cpp
45853 ac_cpp='$CXXCPP $CPPFLAGS'
45854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45859 /* end confdefs.h. */
45860 #include <math.h>
45862 main ()
45864 modff(0, 0);
45866 return 0;
45868 _ACEOF
45869 if ac_fn_cxx_try_compile "$LINENO"; then :
45870 glibcxx_cv_func_modff_use=yes
45871 else
45872 glibcxx_cv_func_modff_use=no
45874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45875 ac_ext=c
45876 ac_cpp='$CPP $CPPFLAGS'
45877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
45886 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
45888 if test x$glibcxx_cv_func_modff_use = x"yes"; then
45889 for ac_func in modff
45890 do :
45891 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
45892 if test "x$ac_cv_func_modff" = xyes; then :
45893 cat >>confdefs.h <<_ACEOF
45894 #define HAVE_MODFF 1
45895 _ACEOF
45898 done
45900 else
45902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
45903 $as_echo_n "checking for _modff declaration... " >&6; }
45904 if test x${glibcxx_cv_func__modff_use+set} != xset; then
45905 if ${glibcxx_cv_func__modff_use+:} false; then :
45906 $as_echo_n "(cached) " >&6
45907 else
45910 ac_ext=cpp
45911 ac_cpp='$CXXCPP $CPPFLAGS'
45912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45917 /* end confdefs.h. */
45918 #include <math.h>
45920 main ()
45922 _modff(0, 0);
45924 return 0;
45926 _ACEOF
45927 if ac_fn_cxx_try_compile "$LINENO"; then :
45928 glibcxx_cv_func__modff_use=yes
45929 else
45930 glibcxx_cv_func__modff_use=no
45932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45933 ac_ext=c
45934 ac_cpp='$CPP $CPPFLAGS'
45935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
45944 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
45946 if test x$glibcxx_cv_func__modff_use = x"yes"; then
45947 for ac_func in _modff
45948 do :
45949 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
45950 if test "x$ac_cv_func__modff" = xyes; then :
45951 cat >>confdefs.h <<_ACEOF
45952 #define HAVE__MODFF 1
45953 _ACEOF
45956 done
45965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
45966 $as_echo_n "checking for modf declaration... " >&6; }
45967 if test x${glibcxx_cv_func_modf_use+set} != xset; then
45968 if ${glibcxx_cv_func_modf_use+:} false; then :
45969 $as_echo_n "(cached) " >&6
45970 else
45973 ac_ext=cpp
45974 ac_cpp='$CXXCPP $CPPFLAGS'
45975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45980 /* end confdefs.h. */
45981 #include <math.h>
45983 main ()
45985 modf(0, 0);
45987 return 0;
45989 _ACEOF
45990 if ac_fn_cxx_try_compile "$LINENO"; then :
45991 glibcxx_cv_func_modf_use=yes
45992 else
45993 glibcxx_cv_func_modf_use=no
45995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45996 ac_ext=c
45997 ac_cpp='$CPP $CPPFLAGS'
45998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
46007 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
46009 if test x$glibcxx_cv_func_modf_use = x"yes"; then
46010 for ac_func in modf
46011 do :
46012 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
46013 if test "x$ac_cv_func_modf" = xyes; then :
46014 cat >>confdefs.h <<_ACEOF
46015 #define HAVE_MODF 1
46016 _ACEOF
46019 done
46021 else
46023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
46024 $as_echo_n "checking for _modf declaration... " >&6; }
46025 if test x${glibcxx_cv_func__modf_use+set} != xset; then
46026 if ${glibcxx_cv_func__modf_use+:} false; then :
46027 $as_echo_n "(cached) " >&6
46028 else
46031 ac_ext=cpp
46032 ac_cpp='$CXXCPP $CPPFLAGS'
46033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46038 /* end confdefs.h. */
46039 #include <math.h>
46041 main ()
46043 _modf(0, 0);
46045 return 0;
46047 _ACEOF
46048 if ac_fn_cxx_try_compile "$LINENO"; then :
46049 glibcxx_cv_func__modf_use=yes
46050 else
46051 glibcxx_cv_func__modf_use=no
46053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46054 ac_ext=c
46055 ac_cpp='$CPP $CPPFLAGS'
46056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
46065 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
46067 if test x$glibcxx_cv_func__modf_use = x"yes"; then
46068 for ac_func in _modf
46069 do :
46070 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
46071 if test "x$ac_cv_func__modf" = xyes; then :
46072 cat >>confdefs.h <<_ACEOF
46073 #define HAVE__MODF 1
46074 _ACEOF
46077 done
46086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
46087 $as_echo_n "checking for powf declaration... " >&6; }
46088 if test x${glibcxx_cv_func_powf_use+set} != xset; then
46089 if ${glibcxx_cv_func_powf_use+:} false; then :
46090 $as_echo_n "(cached) " >&6
46091 else
46094 ac_ext=cpp
46095 ac_cpp='$CXXCPP $CPPFLAGS'
46096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46101 /* end confdefs.h. */
46102 #include <math.h>
46104 main ()
46106 powf(0, 0);
46108 return 0;
46110 _ACEOF
46111 if ac_fn_cxx_try_compile "$LINENO"; then :
46112 glibcxx_cv_func_powf_use=yes
46113 else
46114 glibcxx_cv_func_powf_use=no
46116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46117 ac_ext=c
46118 ac_cpp='$CPP $CPPFLAGS'
46119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
46128 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
46130 if test x$glibcxx_cv_func_powf_use = x"yes"; then
46131 for ac_func in powf
46132 do :
46133 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
46134 if test "x$ac_cv_func_powf" = xyes; then :
46135 cat >>confdefs.h <<_ACEOF
46136 #define HAVE_POWF 1
46137 _ACEOF
46140 done
46142 else
46144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
46145 $as_echo_n "checking for _powf declaration... " >&6; }
46146 if test x${glibcxx_cv_func__powf_use+set} != xset; then
46147 if ${glibcxx_cv_func__powf_use+:} false; then :
46148 $as_echo_n "(cached) " >&6
46149 else
46152 ac_ext=cpp
46153 ac_cpp='$CXXCPP $CPPFLAGS'
46154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46159 /* end confdefs.h. */
46160 #include <math.h>
46162 main ()
46164 _powf(0, 0);
46166 return 0;
46168 _ACEOF
46169 if ac_fn_cxx_try_compile "$LINENO"; then :
46170 glibcxx_cv_func__powf_use=yes
46171 else
46172 glibcxx_cv_func__powf_use=no
46174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46175 ac_ext=c
46176 ac_cpp='$CPP $CPPFLAGS'
46177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
46186 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
46188 if test x$glibcxx_cv_func__powf_use = x"yes"; then
46189 for ac_func in _powf
46190 do :
46191 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
46192 if test "x$ac_cv_func__powf" = xyes; then :
46193 cat >>confdefs.h <<_ACEOF
46194 #define HAVE__POWF 1
46195 _ACEOF
46198 done
46207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
46208 $as_echo_n "checking for sqrtf declaration... " >&6; }
46209 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
46210 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
46211 $as_echo_n "(cached) " >&6
46212 else
46215 ac_ext=cpp
46216 ac_cpp='$CXXCPP $CPPFLAGS'
46217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46222 /* end confdefs.h. */
46223 #include <math.h>
46224 #ifdef HAVE_IEEEFP_H
46225 #include <ieeefp.h>
46226 #endif
46229 main ()
46231 sqrtf(0);
46233 return 0;
46235 _ACEOF
46236 if ac_fn_cxx_try_compile "$LINENO"; then :
46237 glibcxx_cv_func_sqrtf_use=yes
46238 else
46239 glibcxx_cv_func_sqrtf_use=no
46241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46242 ac_ext=c
46243 ac_cpp='$CPP $CPPFLAGS'
46244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
46253 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
46255 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
46256 for ac_func in sqrtf
46257 do :
46258 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
46259 if test "x$ac_cv_func_sqrtf" = xyes; then :
46260 cat >>confdefs.h <<_ACEOF
46261 #define HAVE_SQRTF 1
46262 _ACEOF
46265 done
46267 else
46269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
46270 $as_echo_n "checking for _sqrtf declaration... " >&6; }
46271 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
46272 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
46273 $as_echo_n "(cached) " >&6
46274 else
46277 ac_ext=cpp
46278 ac_cpp='$CXXCPP $CPPFLAGS'
46279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46284 /* end confdefs.h. */
46285 #include <math.h>
46286 #ifdef HAVE_IEEEFP_H
46287 #include <ieeefp.h>
46288 #endif
46291 main ()
46293 _sqrtf(0);
46295 return 0;
46297 _ACEOF
46298 if ac_fn_cxx_try_compile "$LINENO"; then :
46299 glibcxx_cv_func__sqrtf_use=yes
46300 else
46301 glibcxx_cv_func__sqrtf_use=no
46303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46304 ac_ext=c
46305 ac_cpp='$CPP $CPPFLAGS'
46306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
46315 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
46317 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
46318 for ac_func in _sqrtf
46319 do :
46320 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
46321 if test "x$ac_cv_func__sqrtf" = xyes; then :
46322 cat >>confdefs.h <<_ACEOF
46323 #define HAVE__SQRTF 1
46324 _ACEOF
46327 done
46336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
46337 $as_echo_n "checking for sincosf declaration... " >&6; }
46338 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
46339 if ${glibcxx_cv_func_sincosf_use+:} false; then :
46340 $as_echo_n "(cached) " >&6
46341 else
46344 ac_ext=cpp
46345 ac_cpp='$CXXCPP $CPPFLAGS'
46346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46351 /* end confdefs.h. */
46352 #include <math.h>
46354 main ()
46356 sincosf(0, 0, 0);
46358 return 0;
46360 _ACEOF
46361 if ac_fn_cxx_try_compile "$LINENO"; then :
46362 glibcxx_cv_func_sincosf_use=yes
46363 else
46364 glibcxx_cv_func_sincosf_use=no
46366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46367 ac_ext=c
46368 ac_cpp='$CPP $CPPFLAGS'
46369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
46378 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
46380 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
46381 for ac_func in sincosf
46382 do :
46383 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
46384 if test "x$ac_cv_func_sincosf" = xyes; then :
46385 cat >>confdefs.h <<_ACEOF
46386 #define HAVE_SINCOSF 1
46387 _ACEOF
46390 done
46392 else
46394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
46395 $as_echo_n "checking for _sincosf declaration... " >&6; }
46396 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
46397 if ${glibcxx_cv_func__sincosf_use+:} false; then :
46398 $as_echo_n "(cached) " >&6
46399 else
46402 ac_ext=cpp
46403 ac_cpp='$CXXCPP $CPPFLAGS'
46404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46409 /* end confdefs.h. */
46410 #include <math.h>
46412 main ()
46414 _sincosf(0, 0, 0);
46416 return 0;
46418 _ACEOF
46419 if ac_fn_cxx_try_compile "$LINENO"; then :
46420 glibcxx_cv_func__sincosf_use=yes
46421 else
46422 glibcxx_cv_func__sincosf_use=no
46424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46425 ac_ext=c
46426 ac_cpp='$CPP $CPPFLAGS'
46427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
46436 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
46438 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
46439 for ac_func in _sincosf
46440 do :
46441 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
46442 if test "x$ac_cv_func__sincosf" = xyes; then :
46443 cat >>confdefs.h <<_ACEOF
46444 #define HAVE__SINCOSF 1
46445 _ACEOF
46448 done
46457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
46458 $as_echo_n "checking for finitef declaration... " >&6; }
46459 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
46460 if ${glibcxx_cv_func_finitef_use+:} false; then :
46461 $as_echo_n "(cached) " >&6
46462 else
46465 ac_ext=cpp
46466 ac_cpp='$CXXCPP $CPPFLAGS'
46467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46472 /* end confdefs.h. */
46473 #include <math.h>
46474 #ifdef HAVE_IEEEFP_H
46475 #include <ieeefp.h>
46476 #endif
46479 main ()
46481 finitef(0);
46483 return 0;
46485 _ACEOF
46486 if ac_fn_cxx_try_compile "$LINENO"; then :
46487 glibcxx_cv_func_finitef_use=yes
46488 else
46489 glibcxx_cv_func_finitef_use=no
46491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46492 ac_ext=c
46493 ac_cpp='$CPP $CPPFLAGS'
46494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
46503 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
46505 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
46506 for ac_func in finitef
46507 do :
46508 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
46509 if test "x$ac_cv_func_finitef" = xyes; then :
46510 cat >>confdefs.h <<_ACEOF
46511 #define HAVE_FINITEF 1
46512 _ACEOF
46515 done
46517 else
46519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
46520 $as_echo_n "checking for _finitef declaration... " >&6; }
46521 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
46522 if ${glibcxx_cv_func__finitef_use+:} false; then :
46523 $as_echo_n "(cached) " >&6
46524 else
46527 ac_ext=cpp
46528 ac_cpp='$CXXCPP $CPPFLAGS'
46529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46534 /* end confdefs.h. */
46535 #include <math.h>
46536 #ifdef HAVE_IEEEFP_H
46537 #include <ieeefp.h>
46538 #endif
46541 main ()
46543 _finitef(0);
46545 return 0;
46547 _ACEOF
46548 if ac_fn_cxx_try_compile "$LINENO"; then :
46549 glibcxx_cv_func__finitef_use=yes
46550 else
46551 glibcxx_cv_func__finitef_use=no
46553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46554 ac_ext=c
46555 ac_cpp='$CPP $CPPFLAGS'
46556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
46565 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
46567 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
46568 for ac_func in _finitef
46569 do :
46570 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
46571 if test "x$ac_cv_func__finitef" = xyes; then :
46572 cat >>confdefs.h <<_ACEOF
46573 #define HAVE__FINITEF 1
46574 _ACEOF
46577 done
46586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
46587 $as_echo_n "checking for long double trig functions... " >&6; }
46588 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
46589 $as_echo_n "(cached) " >&6
46590 else
46593 ac_ext=cpp
46594 ac_cpp='$CXXCPP $CPPFLAGS'
46595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46600 /* end confdefs.h. */
46601 #include <math.h>
46603 main ()
46605 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
46607 return 0;
46609 _ACEOF
46610 if ac_fn_cxx_try_compile "$LINENO"; then :
46611 glibcxx_cv_func_long_double_trig_use=yes
46612 else
46613 glibcxx_cv_func_long_double_trig_use=no
46615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46616 ac_ext=c
46617 ac_cpp='$CPP $CPPFLAGS'
46618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
46625 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
46626 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
46627 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
46628 do :
46629 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46630 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46631 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
46632 cat >>confdefs.h <<_ACEOF
46633 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46634 _ACEOF
46637 done
46639 else
46640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
46641 $as_echo_n "checking for _long double trig functions... " >&6; }
46642 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
46643 $as_echo_n "(cached) " >&6
46644 else
46647 ac_ext=cpp
46648 ac_cpp='$CXXCPP $CPPFLAGS'
46649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46654 /* end confdefs.h. */
46655 #include <math.h>
46657 main ()
46659 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
46661 return 0;
46663 _ACEOF
46664 if ac_fn_cxx_try_compile "$LINENO"; then :
46665 glibcxx_cv_func__long_double_trig_use=yes
46666 else
46667 glibcxx_cv_func__long_double_trig_use=no
46669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46670 ac_ext=c
46671 ac_cpp='$CPP $CPPFLAGS'
46672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
46679 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
46680 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
46681 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
46682 do :
46683 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46684 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46685 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
46686 cat >>confdefs.h <<_ACEOF
46687 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46688 _ACEOF
46691 done
46700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
46701 $as_echo_n "checking for long double round functions... " >&6; }
46702 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
46703 $as_echo_n "(cached) " >&6
46704 else
46707 ac_ext=cpp
46708 ac_cpp='$CXXCPP $CPPFLAGS'
46709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46714 /* end confdefs.h. */
46715 #include <math.h>
46717 main ()
46719 ceill (0); floorl (0);
46721 return 0;
46723 _ACEOF
46724 if ac_fn_cxx_try_compile "$LINENO"; then :
46725 glibcxx_cv_func_long_double_round_use=yes
46726 else
46727 glibcxx_cv_func_long_double_round_use=no
46729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46730 ac_ext=c
46731 ac_cpp='$CPP $CPPFLAGS'
46732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
46739 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
46740 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
46741 for ac_func in ceill floorl
46742 do :
46743 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46744 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46745 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
46746 cat >>confdefs.h <<_ACEOF
46747 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46748 _ACEOF
46751 done
46753 else
46754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
46755 $as_echo_n "checking for _long double round functions... " >&6; }
46756 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
46757 $as_echo_n "(cached) " >&6
46758 else
46761 ac_ext=cpp
46762 ac_cpp='$CXXCPP $CPPFLAGS'
46763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46768 /* end confdefs.h. */
46769 #include <math.h>
46771 main ()
46773 _ceill (0); _floorl (0);
46775 return 0;
46777 _ACEOF
46778 if ac_fn_cxx_try_compile "$LINENO"; then :
46779 glibcxx_cv_func__long_double_round_use=yes
46780 else
46781 glibcxx_cv_func__long_double_round_use=no
46783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46784 ac_ext=c
46785 ac_cpp='$CPP $CPPFLAGS'
46786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
46793 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
46794 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
46795 for ac_func in _ceill _floorl
46796 do :
46797 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46798 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46799 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
46800 cat >>confdefs.h <<_ACEOF
46801 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46802 _ACEOF
46805 done
46815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
46816 $as_echo_n "checking for isnanl declaration... " >&6; }
46817 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
46818 if ${glibcxx_cv_func_isnanl_use+:} false; then :
46819 $as_echo_n "(cached) " >&6
46820 else
46823 ac_ext=cpp
46824 ac_cpp='$CXXCPP $CPPFLAGS'
46825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46830 /* end confdefs.h. */
46831 #include <math.h>
46832 #ifdef HAVE_IEEEFP_H
46833 #include <ieeefp.h>
46834 #endif
46837 main ()
46839 isnanl(0);
46841 return 0;
46843 _ACEOF
46844 if ac_fn_cxx_try_compile "$LINENO"; then :
46845 glibcxx_cv_func_isnanl_use=yes
46846 else
46847 glibcxx_cv_func_isnanl_use=no
46849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46850 ac_ext=c
46851 ac_cpp='$CPP $CPPFLAGS'
46852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
46861 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
46863 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
46864 for ac_func in isnanl
46865 do :
46866 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
46867 if test "x$ac_cv_func_isnanl" = xyes; then :
46868 cat >>confdefs.h <<_ACEOF
46869 #define HAVE_ISNANL 1
46870 _ACEOF
46873 done
46875 else
46877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
46878 $as_echo_n "checking for _isnanl declaration... " >&6; }
46879 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
46880 if ${glibcxx_cv_func__isnanl_use+:} false; then :
46881 $as_echo_n "(cached) " >&6
46882 else
46885 ac_ext=cpp
46886 ac_cpp='$CXXCPP $CPPFLAGS'
46887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46892 /* end confdefs.h. */
46893 #include <math.h>
46894 #ifdef HAVE_IEEEFP_H
46895 #include <ieeefp.h>
46896 #endif
46899 main ()
46901 _isnanl(0);
46903 return 0;
46905 _ACEOF
46906 if ac_fn_cxx_try_compile "$LINENO"; then :
46907 glibcxx_cv_func__isnanl_use=yes
46908 else
46909 glibcxx_cv_func__isnanl_use=no
46911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46912 ac_ext=c
46913 ac_cpp='$CPP $CPPFLAGS'
46914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
46923 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
46925 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
46926 for ac_func in _isnanl
46927 do :
46928 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
46929 if test "x$ac_cv_func__isnanl" = xyes; then :
46930 cat >>confdefs.h <<_ACEOF
46931 #define HAVE__ISNANL 1
46932 _ACEOF
46935 done
46944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
46945 $as_echo_n "checking for isinfl declaration... " >&6; }
46946 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
46947 if ${glibcxx_cv_func_isinfl_use+:} false; then :
46948 $as_echo_n "(cached) " >&6
46949 else
46952 ac_ext=cpp
46953 ac_cpp='$CXXCPP $CPPFLAGS'
46954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46959 /* end confdefs.h. */
46960 #include <math.h>
46961 #ifdef HAVE_IEEEFP_H
46962 #include <ieeefp.h>
46963 #endif
46966 main ()
46968 isinfl(0);
46970 return 0;
46972 _ACEOF
46973 if ac_fn_cxx_try_compile "$LINENO"; then :
46974 glibcxx_cv_func_isinfl_use=yes
46975 else
46976 glibcxx_cv_func_isinfl_use=no
46978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46979 ac_ext=c
46980 ac_cpp='$CPP $CPPFLAGS'
46981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
46990 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
46992 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
46993 for ac_func in isinfl
46994 do :
46995 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
46996 if test "x$ac_cv_func_isinfl" = xyes; then :
46997 cat >>confdefs.h <<_ACEOF
46998 #define HAVE_ISINFL 1
46999 _ACEOF
47002 done
47004 else
47006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
47007 $as_echo_n "checking for _isinfl declaration... " >&6; }
47008 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
47009 if ${glibcxx_cv_func__isinfl_use+:} false; then :
47010 $as_echo_n "(cached) " >&6
47011 else
47014 ac_ext=cpp
47015 ac_cpp='$CXXCPP $CPPFLAGS'
47016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47021 /* end confdefs.h. */
47022 #include <math.h>
47023 #ifdef HAVE_IEEEFP_H
47024 #include <ieeefp.h>
47025 #endif
47028 main ()
47030 _isinfl(0);
47032 return 0;
47034 _ACEOF
47035 if ac_fn_cxx_try_compile "$LINENO"; then :
47036 glibcxx_cv_func__isinfl_use=yes
47037 else
47038 glibcxx_cv_func__isinfl_use=no
47040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47041 ac_ext=c
47042 ac_cpp='$CPP $CPPFLAGS'
47043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
47052 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
47054 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
47055 for ac_func in _isinfl
47056 do :
47057 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
47058 if test "x$ac_cv_func__isinfl" = xyes; then :
47059 cat >>confdefs.h <<_ACEOF
47060 #define HAVE__ISINFL 1
47061 _ACEOF
47064 done
47073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
47074 $as_echo_n "checking for atan2l declaration... " >&6; }
47075 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
47076 if ${glibcxx_cv_func_atan2l_use+:} false; then :
47077 $as_echo_n "(cached) " >&6
47078 else
47081 ac_ext=cpp
47082 ac_cpp='$CXXCPP $CPPFLAGS'
47083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47088 /* end confdefs.h. */
47089 #include <math.h>
47091 main ()
47093 atan2l(0, 0);
47095 return 0;
47097 _ACEOF
47098 if ac_fn_cxx_try_compile "$LINENO"; then :
47099 glibcxx_cv_func_atan2l_use=yes
47100 else
47101 glibcxx_cv_func_atan2l_use=no
47103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47104 ac_ext=c
47105 ac_cpp='$CPP $CPPFLAGS'
47106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
47115 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
47117 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
47118 for ac_func in atan2l
47119 do :
47120 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
47121 if test "x$ac_cv_func_atan2l" = xyes; then :
47122 cat >>confdefs.h <<_ACEOF
47123 #define HAVE_ATAN2L 1
47124 _ACEOF
47127 done
47129 else
47131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
47132 $as_echo_n "checking for _atan2l declaration... " >&6; }
47133 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
47134 if ${glibcxx_cv_func__atan2l_use+:} false; then :
47135 $as_echo_n "(cached) " >&6
47136 else
47139 ac_ext=cpp
47140 ac_cpp='$CXXCPP $CPPFLAGS'
47141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47146 /* end confdefs.h. */
47147 #include <math.h>
47149 main ()
47151 _atan2l(0, 0);
47153 return 0;
47155 _ACEOF
47156 if ac_fn_cxx_try_compile "$LINENO"; then :
47157 glibcxx_cv_func__atan2l_use=yes
47158 else
47159 glibcxx_cv_func__atan2l_use=no
47161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47162 ac_ext=c
47163 ac_cpp='$CPP $CPPFLAGS'
47164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
47173 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
47175 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
47176 for ac_func in _atan2l
47177 do :
47178 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
47179 if test "x$ac_cv_func__atan2l" = xyes; then :
47180 cat >>confdefs.h <<_ACEOF
47181 #define HAVE__ATAN2L 1
47182 _ACEOF
47185 done
47194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
47195 $as_echo_n "checking for expl declaration... " >&6; }
47196 if test x${glibcxx_cv_func_expl_use+set} != xset; then
47197 if ${glibcxx_cv_func_expl_use+:} false; then :
47198 $as_echo_n "(cached) " >&6
47199 else
47202 ac_ext=cpp
47203 ac_cpp='$CXXCPP $CPPFLAGS'
47204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47209 /* end confdefs.h. */
47210 #include <math.h>
47211 #ifdef HAVE_IEEEFP_H
47212 #include <ieeefp.h>
47213 #endif
47216 main ()
47218 expl(0);
47220 return 0;
47222 _ACEOF
47223 if ac_fn_cxx_try_compile "$LINENO"; then :
47224 glibcxx_cv_func_expl_use=yes
47225 else
47226 glibcxx_cv_func_expl_use=no
47228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47229 ac_ext=c
47230 ac_cpp='$CPP $CPPFLAGS'
47231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
47240 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
47242 if test x$glibcxx_cv_func_expl_use = x"yes"; then
47243 for ac_func in expl
47244 do :
47245 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
47246 if test "x$ac_cv_func_expl" = xyes; then :
47247 cat >>confdefs.h <<_ACEOF
47248 #define HAVE_EXPL 1
47249 _ACEOF
47252 done
47254 else
47256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
47257 $as_echo_n "checking for _expl declaration... " >&6; }
47258 if test x${glibcxx_cv_func__expl_use+set} != xset; then
47259 if ${glibcxx_cv_func__expl_use+:} false; then :
47260 $as_echo_n "(cached) " >&6
47261 else
47264 ac_ext=cpp
47265 ac_cpp='$CXXCPP $CPPFLAGS'
47266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47271 /* end confdefs.h. */
47272 #include <math.h>
47273 #ifdef HAVE_IEEEFP_H
47274 #include <ieeefp.h>
47275 #endif
47278 main ()
47280 _expl(0);
47282 return 0;
47284 _ACEOF
47285 if ac_fn_cxx_try_compile "$LINENO"; then :
47286 glibcxx_cv_func__expl_use=yes
47287 else
47288 glibcxx_cv_func__expl_use=no
47290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47291 ac_ext=c
47292 ac_cpp='$CPP $CPPFLAGS'
47293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
47302 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
47304 if test x$glibcxx_cv_func__expl_use = x"yes"; then
47305 for ac_func in _expl
47306 do :
47307 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
47308 if test "x$ac_cv_func__expl" = xyes; then :
47309 cat >>confdefs.h <<_ACEOF
47310 #define HAVE__EXPL 1
47311 _ACEOF
47314 done
47323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
47324 $as_echo_n "checking for fabsl declaration... " >&6; }
47325 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
47326 if ${glibcxx_cv_func_fabsl_use+:} false; then :
47327 $as_echo_n "(cached) " >&6
47328 else
47331 ac_ext=cpp
47332 ac_cpp='$CXXCPP $CPPFLAGS'
47333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47338 /* end confdefs.h. */
47339 #include <math.h>
47340 #ifdef HAVE_IEEEFP_H
47341 #include <ieeefp.h>
47342 #endif
47345 main ()
47347 fabsl(0);
47349 return 0;
47351 _ACEOF
47352 if ac_fn_cxx_try_compile "$LINENO"; then :
47353 glibcxx_cv_func_fabsl_use=yes
47354 else
47355 glibcxx_cv_func_fabsl_use=no
47357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47358 ac_ext=c
47359 ac_cpp='$CPP $CPPFLAGS'
47360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
47369 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
47371 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
47372 for ac_func in fabsl
47373 do :
47374 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
47375 if test "x$ac_cv_func_fabsl" = xyes; then :
47376 cat >>confdefs.h <<_ACEOF
47377 #define HAVE_FABSL 1
47378 _ACEOF
47381 done
47383 else
47385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
47386 $as_echo_n "checking for _fabsl declaration... " >&6; }
47387 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
47388 if ${glibcxx_cv_func__fabsl_use+:} false; then :
47389 $as_echo_n "(cached) " >&6
47390 else
47393 ac_ext=cpp
47394 ac_cpp='$CXXCPP $CPPFLAGS'
47395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47400 /* end confdefs.h. */
47401 #include <math.h>
47402 #ifdef HAVE_IEEEFP_H
47403 #include <ieeefp.h>
47404 #endif
47407 main ()
47409 _fabsl(0);
47411 return 0;
47413 _ACEOF
47414 if ac_fn_cxx_try_compile "$LINENO"; then :
47415 glibcxx_cv_func__fabsl_use=yes
47416 else
47417 glibcxx_cv_func__fabsl_use=no
47419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47420 ac_ext=c
47421 ac_cpp='$CPP $CPPFLAGS'
47422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
47431 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
47433 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
47434 for ac_func in _fabsl
47435 do :
47436 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
47437 if test "x$ac_cv_func__fabsl" = xyes; then :
47438 cat >>confdefs.h <<_ACEOF
47439 #define HAVE__FABSL 1
47440 _ACEOF
47443 done
47452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
47453 $as_echo_n "checking for fmodl declaration... " >&6; }
47454 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
47455 if ${glibcxx_cv_func_fmodl_use+:} false; then :
47456 $as_echo_n "(cached) " >&6
47457 else
47460 ac_ext=cpp
47461 ac_cpp='$CXXCPP $CPPFLAGS'
47462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47467 /* end confdefs.h. */
47468 #include <math.h>
47470 main ()
47472 fmodl(0, 0);
47474 return 0;
47476 _ACEOF
47477 if ac_fn_cxx_try_compile "$LINENO"; then :
47478 glibcxx_cv_func_fmodl_use=yes
47479 else
47480 glibcxx_cv_func_fmodl_use=no
47482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47483 ac_ext=c
47484 ac_cpp='$CPP $CPPFLAGS'
47485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
47494 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
47496 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
47497 for ac_func in fmodl
47498 do :
47499 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
47500 if test "x$ac_cv_func_fmodl" = xyes; then :
47501 cat >>confdefs.h <<_ACEOF
47502 #define HAVE_FMODL 1
47503 _ACEOF
47506 done
47508 else
47510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
47511 $as_echo_n "checking for _fmodl declaration... " >&6; }
47512 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
47513 if ${glibcxx_cv_func__fmodl_use+:} false; then :
47514 $as_echo_n "(cached) " >&6
47515 else
47518 ac_ext=cpp
47519 ac_cpp='$CXXCPP $CPPFLAGS'
47520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47525 /* end confdefs.h. */
47526 #include <math.h>
47528 main ()
47530 _fmodl(0, 0);
47532 return 0;
47534 _ACEOF
47535 if ac_fn_cxx_try_compile "$LINENO"; then :
47536 glibcxx_cv_func__fmodl_use=yes
47537 else
47538 glibcxx_cv_func__fmodl_use=no
47540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47541 ac_ext=c
47542 ac_cpp='$CPP $CPPFLAGS'
47543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
47552 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
47554 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
47555 for ac_func in _fmodl
47556 do :
47557 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
47558 if test "x$ac_cv_func__fmodl" = xyes; then :
47559 cat >>confdefs.h <<_ACEOF
47560 #define HAVE__FMODL 1
47561 _ACEOF
47564 done
47573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
47574 $as_echo_n "checking for frexpl declaration... " >&6; }
47575 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
47576 if ${glibcxx_cv_func_frexpl_use+:} false; then :
47577 $as_echo_n "(cached) " >&6
47578 else
47581 ac_ext=cpp
47582 ac_cpp='$CXXCPP $CPPFLAGS'
47583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47588 /* end confdefs.h. */
47589 #include <math.h>
47591 main ()
47593 frexpl(0, 0);
47595 return 0;
47597 _ACEOF
47598 if ac_fn_cxx_try_compile "$LINENO"; then :
47599 glibcxx_cv_func_frexpl_use=yes
47600 else
47601 glibcxx_cv_func_frexpl_use=no
47603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47604 ac_ext=c
47605 ac_cpp='$CPP $CPPFLAGS'
47606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
47615 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
47617 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
47618 for ac_func in frexpl
47619 do :
47620 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
47621 if test "x$ac_cv_func_frexpl" = xyes; then :
47622 cat >>confdefs.h <<_ACEOF
47623 #define HAVE_FREXPL 1
47624 _ACEOF
47627 done
47629 else
47631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
47632 $as_echo_n "checking for _frexpl declaration... " >&6; }
47633 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
47634 if ${glibcxx_cv_func__frexpl_use+:} false; then :
47635 $as_echo_n "(cached) " >&6
47636 else
47639 ac_ext=cpp
47640 ac_cpp='$CXXCPP $CPPFLAGS'
47641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47646 /* end confdefs.h. */
47647 #include <math.h>
47649 main ()
47651 _frexpl(0, 0);
47653 return 0;
47655 _ACEOF
47656 if ac_fn_cxx_try_compile "$LINENO"; then :
47657 glibcxx_cv_func__frexpl_use=yes
47658 else
47659 glibcxx_cv_func__frexpl_use=no
47661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47662 ac_ext=c
47663 ac_cpp='$CPP $CPPFLAGS'
47664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
47673 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
47675 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
47676 for ac_func in _frexpl
47677 do :
47678 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
47679 if test "x$ac_cv_func__frexpl" = xyes; then :
47680 cat >>confdefs.h <<_ACEOF
47681 #define HAVE__FREXPL 1
47682 _ACEOF
47685 done
47694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
47695 $as_echo_n "checking for hypotl declaration... " >&6; }
47696 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
47697 if ${glibcxx_cv_func_hypotl_use+:} false; then :
47698 $as_echo_n "(cached) " >&6
47699 else
47702 ac_ext=cpp
47703 ac_cpp='$CXXCPP $CPPFLAGS'
47704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47709 /* end confdefs.h. */
47710 #include <math.h>
47712 main ()
47714 hypotl(0, 0);
47716 return 0;
47718 _ACEOF
47719 if ac_fn_cxx_try_compile "$LINENO"; then :
47720 glibcxx_cv_func_hypotl_use=yes
47721 else
47722 glibcxx_cv_func_hypotl_use=no
47724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47725 ac_ext=c
47726 ac_cpp='$CPP $CPPFLAGS'
47727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
47736 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
47738 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
47739 for ac_func in hypotl
47740 do :
47741 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
47742 if test "x$ac_cv_func_hypotl" = xyes; then :
47743 cat >>confdefs.h <<_ACEOF
47744 #define HAVE_HYPOTL 1
47745 _ACEOF
47748 done
47750 else
47752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
47753 $as_echo_n "checking for _hypotl declaration... " >&6; }
47754 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
47755 if ${glibcxx_cv_func__hypotl_use+:} false; then :
47756 $as_echo_n "(cached) " >&6
47757 else
47760 ac_ext=cpp
47761 ac_cpp='$CXXCPP $CPPFLAGS'
47762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47767 /* end confdefs.h. */
47768 #include <math.h>
47770 main ()
47772 _hypotl(0, 0);
47774 return 0;
47776 _ACEOF
47777 if ac_fn_cxx_try_compile "$LINENO"; then :
47778 glibcxx_cv_func__hypotl_use=yes
47779 else
47780 glibcxx_cv_func__hypotl_use=no
47782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47783 ac_ext=c
47784 ac_cpp='$CPP $CPPFLAGS'
47785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
47794 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
47796 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
47797 for ac_func in _hypotl
47798 do :
47799 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
47800 if test "x$ac_cv_func__hypotl" = xyes; then :
47801 cat >>confdefs.h <<_ACEOF
47802 #define HAVE__HYPOTL 1
47803 _ACEOF
47806 done
47815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
47816 $as_echo_n "checking for ldexpl declaration... " >&6; }
47817 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
47818 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
47819 $as_echo_n "(cached) " >&6
47820 else
47823 ac_ext=cpp
47824 ac_cpp='$CXXCPP $CPPFLAGS'
47825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47830 /* end confdefs.h. */
47831 #include <math.h>
47833 main ()
47835 ldexpl(0, 0);
47837 return 0;
47839 _ACEOF
47840 if ac_fn_cxx_try_compile "$LINENO"; then :
47841 glibcxx_cv_func_ldexpl_use=yes
47842 else
47843 glibcxx_cv_func_ldexpl_use=no
47845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47846 ac_ext=c
47847 ac_cpp='$CPP $CPPFLAGS'
47848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
47857 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
47859 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
47860 for ac_func in ldexpl
47861 do :
47862 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
47863 if test "x$ac_cv_func_ldexpl" = xyes; then :
47864 cat >>confdefs.h <<_ACEOF
47865 #define HAVE_LDEXPL 1
47866 _ACEOF
47869 done
47871 else
47873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
47874 $as_echo_n "checking for _ldexpl declaration... " >&6; }
47875 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
47876 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
47877 $as_echo_n "(cached) " >&6
47878 else
47881 ac_ext=cpp
47882 ac_cpp='$CXXCPP $CPPFLAGS'
47883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47888 /* end confdefs.h. */
47889 #include <math.h>
47891 main ()
47893 _ldexpl(0, 0);
47895 return 0;
47897 _ACEOF
47898 if ac_fn_cxx_try_compile "$LINENO"; then :
47899 glibcxx_cv_func__ldexpl_use=yes
47900 else
47901 glibcxx_cv_func__ldexpl_use=no
47903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47904 ac_ext=c
47905 ac_cpp='$CPP $CPPFLAGS'
47906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
47915 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
47917 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
47918 for ac_func in _ldexpl
47919 do :
47920 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
47921 if test "x$ac_cv_func__ldexpl" = xyes; then :
47922 cat >>confdefs.h <<_ACEOF
47923 #define HAVE__LDEXPL 1
47924 _ACEOF
47927 done
47936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
47937 $as_echo_n "checking for logl declaration... " >&6; }
47938 if test x${glibcxx_cv_func_logl_use+set} != xset; then
47939 if ${glibcxx_cv_func_logl_use+:} false; then :
47940 $as_echo_n "(cached) " >&6
47941 else
47944 ac_ext=cpp
47945 ac_cpp='$CXXCPP $CPPFLAGS'
47946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47951 /* end confdefs.h. */
47952 #include <math.h>
47953 #ifdef HAVE_IEEEFP_H
47954 #include <ieeefp.h>
47955 #endif
47958 main ()
47960 logl(0);
47962 return 0;
47964 _ACEOF
47965 if ac_fn_cxx_try_compile "$LINENO"; then :
47966 glibcxx_cv_func_logl_use=yes
47967 else
47968 glibcxx_cv_func_logl_use=no
47970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47971 ac_ext=c
47972 ac_cpp='$CPP $CPPFLAGS'
47973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
47982 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
47984 if test x$glibcxx_cv_func_logl_use = x"yes"; then
47985 for ac_func in logl
47986 do :
47987 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
47988 if test "x$ac_cv_func_logl" = xyes; then :
47989 cat >>confdefs.h <<_ACEOF
47990 #define HAVE_LOGL 1
47991 _ACEOF
47994 done
47996 else
47998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
47999 $as_echo_n "checking for _logl declaration... " >&6; }
48000 if test x${glibcxx_cv_func__logl_use+set} != xset; then
48001 if ${glibcxx_cv_func__logl_use+:} false; then :
48002 $as_echo_n "(cached) " >&6
48003 else
48006 ac_ext=cpp
48007 ac_cpp='$CXXCPP $CPPFLAGS'
48008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48013 /* end confdefs.h. */
48014 #include <math.h>
48015 #ifdef HAVE_IEEEFP_H
48016 #include <ieeefp.h>
48017 #endif
48020 main ()
48022 _logl(0);
48024 return 0;
48026 _ACEOF
48027 if ac_fn_cxx_try_compile "$LINENO"; then :
48028 glibcxx_cv_func__logl_use=yes
48029 else
48030 glibcxx_cv_func__logl_use=no
48032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48033 ac_ext=c
48034 ac_cpp='$CPP $CPPFLAGS'
48035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
48044 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
48046 if test x$glibcxx_cv_func__logl_use = x"yes"; then
48047 for ac_func in _logl
48048 do :
48049 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
48050 if test "x$ac_cv_func__logl" = xyes; then :
48051 cat >>confdefs.h <<_ACEOF
48052 #define HAVE__LOGL 1
48053 _ACEOF
48056 done
48065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
48066 $as_echo_n "checking for log10l declaration... " >&6; }
48067 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
48068 if ${glibcxx_cv_func_log10l_use+:} false; then :
48069 $as_echo_n "(cached) " >&6
48070 else
48073 ac_ext=cpp
48074 ac_cpp='$CXXCPP $CPPFLAGS'
48075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48080 /* end confdefs.h. */
48081 #include <math.h>
48082 #ifdef HAVE_IEEEFP_H
48083 #include <ieeefp.h>
48084 #endif
48087 main ()
48089 log10l(0);
48091 return 0;
48093 _ACEOF
48094 if ac_fn_cxx_try_compile "$LINENO"; then :
48095 glibcxx_cv_func_log10l_use=yes
48096 else
48097 glibcxx_cv_func_log10l_use=no
48099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48100 ac_ext=c
48101 ac_cpp='$CPP $CPPFLAGS'
48102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
48111 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
48113 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
48114 for ac_func in log10l
48115 do :
48116 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
48117 if test "x$ac_cv_func_log10l" = xyes; then :
48118 cat >>confdefs.h <<_ACEOF
48119 #define HAVE_LOG10L 1
48120 _ACEOF
48123 done
48125 else
48127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
48128 $as_echo_n "checking for _log10l declaration... " >&6; }
48129 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
48130 if ${glibcxx_cv_func__log10l_use+:} false; then :
48131 $as_echo_n "(cached) " >&6
48132 else
48135 ac_ext=cpp
48136 ac_cpp='$CXXCPP $CPPFLAGS'
48137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48142 /* end confdefs.h. */
48143 #include <math.h>
48144 #ifdef HAVE_IEEEFP_H
48145 #include <ieeefp.h>
48146 #endif
48149 main ()
48151 _log10l(0);
48153 return 0;
48155 _ACEOF
48156 if ac_fn_cxx_try_compile "$LINENO"; then :
48157 glibcxx_cv_func__log10l_use=yes
48158 else
48159 glibcxx_cv_func__log10l_use=no
48161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48162 ac_ext=c
48163 ac_cpp='$CPP $CPPFLAGS'
48164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
48173 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
48175 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
48176 for ac_func in _log10l
48177 do :
48178 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
48179 if test "x$ac_cv_func__log10l" = xyes; then :
48180 cat >>confdefs.h <<_ACEOF
48181 #define HAVE__LOG10L 1
48182 _ACEOF
48185 done
48194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
48195 $as_echo_n "checking for modfl declaration... " >&6; }
48196 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
48197 if ${glibcxx_cv_func_modfl_use+:} false; then :
48198 $as_echo_n "(cached) " >&6
48199 else
48202 ac_ext=cpp
48203 ac_cpp='$CXXCPP $CPPFLAGS'
48204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48209 /* end confdefs.h. */
48210 #include <math.h>
48212 main ()
48214 modfl(0, 0);
48216 return 0;
48218 _ACEOF
48219 if ac_fn_cxx_try_compile "$LINENO"; then :
48220 glibcxx_cv_func_modfl_use=yes
48221 else
48222 glibcxx_cv_func_modfl_use=no
48224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48225 ac_ext=c
48226 ac_cpp='$CPP $CPPFLAGS'
48227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
48236 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
48238 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
48239 for ac_func in modfl
48240 do :
48241 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
48242 if test "x$ac_cv_func_modfl" = xyes; then :
48243 cat >>confdefs.h <<_ACEOF
48244 #define HAVE_MODFL 1
48245 _ACEOF
48248 done
48250 else
48252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
48253 $as_echo_n "checking for _modfl declaration... " >&6; }
48254 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
48255 if ${glibcxx_cv_func__modfl_use+:} false; then :
48256 $as_echo_n "(cached) " >&6
48257 else
48260 ac_ext=cpp
48261 ac_cpp='$CXXCPP $CPPFLAGS'
48262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48267 /* end confdefs.h. */
48268 #include <math.h>
48270 main ()
48272 _modfl(0, 0);
48274 return 0;
48276 _ACEOF
48277 if ac_fn_cxx_try_compile "$LINENO"; then :
48278 glibcxx_cv_func__modfl_use=yes
48279 else
48280 glibcxx_cv_func__modfl_use=no
48282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48283 ac_ext=c
48284 ac_cpp='$CPP $CPPFLAGS'
48285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
48294 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
48296 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
48297 for ac_func in _modfl
48298 do :
48299 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
48300 if test "x$ac_cv_func__modfl" = xyes; then :
48301 cat >>confdefs.h <<_ACEOF
48302 #define HAVE__MODFL 1
48303 _ACEOF
48306 done
48315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
48316 $as_echo_n "checking for powl declaration... " >&6; }
48317 if test x${glibcxx_cv_func_powl_use+set} != xset; then
48318 if ${glibcxx_cv_func_powl_use+:} false; then :
48319 $as_echo_n "(cached) " >&6
48320 else
48323 ac_ext=cpp
48324 ac_cpp='$CXXCPP $CPPFLAGS'
48325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48330 /* end confdefs.h. */
48331 #include <math.h>
48333 main ()
48335 powl(0, 0);
48337 return 0;
48339 _ACEOF
48340 if ac_fn_cxx_try_compile "$LINENO"; then :
48341 glibcxx_cv_func_powl_use=yes
48342 else
48343 glibcxx_cv_func_powl_use=no
48345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48346 ac_ext=c
48347 ac_cpp='$CPP $CPPFLAGS'
48348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
48357 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
48359 if test x$glibcxx_cv_func_powl_use = x"yes"; then
48360 for ac_func in powl
48361 do :
48362 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
48363 if test "x$ac_cv_func_powl" = xyes; then :
48364 cat >>confdefs.h <<_ACEOF
48365 #define HAVE_POWL 1
48366 _ACEOF
48369 done
48371 else
48373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
48374 $as_echo_n "checking for _powl declaration... " >&6; }
48375 if test x${glibcxx_cv_func__powl_use+set} != xset; then
48376 if ${glibcxx_cv_func__powl_use+:} false; then :
48377 $as_echo_n "(cached) " >&6
48378 else
48381 ac_ext=cpp
48382 ac_cpp='$CXXCPP $CPPFLAGS'
48383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48388 /* end confdefs.h. */
48389 #include <math.h>
48391 main ()
48393 _powl(0, 0);
48395 return 0;
48397 _ACEOF
48398 if ac_fn_cxx_try_compile "$LINENO"; then :
48399 glibcxx_cv_func__powl_use=yes
48400 else
48401 glibcxx_cv_func__powl_use=no
48403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48404 ac_ext=c
48405 ac_cpp='$CPP $CPPFLAGS'
48406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
48415 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
48417 if test x$glibcxx_cv_func__powl_use = x"yes"; then
48418 for ac_func in _powl
48419 do :
48420 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
48421 if test "x$ac_cv_func__powl" = xyes; then :
48422 cat >>confdefs.h <<_ACEOF
48423 #define HAVE__POWL 1
48424 _ACEOF
48427 done
48436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
48437 $as_echo_n "checking for sqrtl declaration... " >&6; }
48438 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
48439 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
48440 $as_echo_n "(cached) " >&6
48441 else
48444 ac_ext=cpp
48445 ac_cpp='$CXXCPP $CPPFLAGS'
48446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48451 /* end confdefs.h. */
48452 #include <math.h>
48453 #ifdef HAVE_IEEEFP_H
48454 #include <ieeefp.h>
48455 #endif
48458 main ()
48460 sqrtl(0);
48462 return 0;
48464 _ACEOF
48465 if ac_fn_cxx_try_compile "$LINENO"; then :
48466 glibcxx_cv_func_sqrtl_use=yes
48467 else
48468 glibcxx_cv_func_sqrtl_use=no
48470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48471 ac_ext=c
48472 ac_cpp='$CPP $CPPFLAGS'
48473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
48482 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
48484 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
48485 for ac_func in sqrtl
48486 do :
48487 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
48488 if test "x$ac_cv_func_sqrtl" = xyes; then :
48489 cat >>confdefs.h <<_ACEOF
48490 #define HAVE_SQRTL 1
48491 _ACEOF
48494 done
48496 else
48498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
48499 $as_echo_n "checking for _sqrtl declaration... " >&6; }
48500 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
48501 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
48502 $as_echo_n "(cached) " >&6
48503 else
48506 ac_ext=cpp
48507 ac_cpp='$CXXCPP $CPPFLAGS'
48508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48513 /* end confdefs.h. */
48514 #include <math.h>
48515 #ifdef HAVE_IEEEFP_H
48516 #include <ieeefp.h>
48517 #endif
48520 main ()
48522 _sqrtl(0);
48524 return 0;
48526 _ACEOF
48527 if ac_fn_cxx_try_compile "$LINENO"; then :
48528 glibcxx_cv_func__sqrtl_use=yes
48529 else
48530 glibcxx_cv_func__sqrtl_use=no
48532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48533 ac_ext=c
48534 ac_cpp='$CPP $CPPFLAGS'
48535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
48544 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
48546 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
48547 for ac_func in _sqrtl
48548 do :
48549 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
48550 if test "x$ac_cv_func__sqrtl" = xyes; then :
48551 cat >>confdefs.h <<_ACEOF
48552 #define HAVE__SQRTL 1
48553 _ACEOF
48556 done
48565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
48566 $as_echo_n "checking for sincosl declaration... " >&6; }
48567 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
48568 if ${glibcxx_cv_func_sincosl_use+:} false; then :
48569 $as_echo_n "(cached) " >&6
48570 else
48573 ac_ext=cpp
48574 ac_cpp='$CXXCPP $CPPFLAGS'
48575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48580 /* end confdefs.h. */
48581 #include <math.h>
48583 main ()
48585 sincosl(0, 0, 0);
48587 return 0;
48589 _ACEOF
48590 if ac_fn_cxx_try_compile "$LINENO"; then :
48591 glibcxx_cv_func_sincosl_use=yes
48592 else
48593 glibcxx_cv_func_sincosl_use=no
48595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48596 ac_ext=c
48597 ac_cpp='$CPP $CPPFLAGS'
48598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
48607 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
48609 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
48610 for ac_func in sincosl
48611 do :
48612 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
48613 if test "x$ac_cv_func_sincosl" = xyes; then :
48614 cat >>confdefs.h <<_ACEOF
48615 #define HAVE_SINCOSL 1
48616 _ACEOF
48619 done
48621 else
48623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
48624 $as_echo_n "checking for _sincosl declaration... " >&6; }
48625 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
48626 if ${glibcxx_cv_func__sincosl_use+:} false; then :
48627 $as_echo_n "(cached) " >&6
48628 else
48631 ac_ext=cpp
48632 ac_cpp='$CXXCPP $CPPFLAGS'
48633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48638 /* end confdefs.h. */
48639 #include <math.h>
48641 main ()
48643 _sincosl(0, 0, 0);
48645 return 0;
48647 _ACEOF
48648 if ac_fn_cxx_try_compile "$LINENO"; then :
48649 glibcxx_cv_func__sincosl_use=yes
48650 else
48651 glibcxx_cv_func__sincosl_use=no
48653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48654 ac_ext=c
48655 ac_cpp='$CPP $CPPFLAGS'
48656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
48665 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
48667 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
48668 for ac_func in _sincosl
48669 do :
48670 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
48671 if test "x$ac_cv_func__sincosl" = xyes; then :
48672 cat >>confdefs.h <<_ACEOF
48673 #define HAVE__SINCOSL 1
48674 _ACEOF
48677 done
48686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
48687 $as_echo_n "checking for finitel declaration... " >&6; }
48688 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
48689 if ${glibcxx_cv_func_finitel_use+:} false; then :
48690 $as_echo_n "(cached) " >&6
48691 else
48694 ac_ext=cpp
48695 ac_cpp='$CXXCPP $CPPFLAGS'
48696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48701 /* end confdefs.h. */
48702 #include <math.h>
48703 #ifdef HAVE_IEEEFP_H
48704 #include <ieeefp.h>
48705 #endif
48708 main ()
48710 finitel(0);
48712 return 0;
48714 _ACEOF
48715 if ac_fn_cxx_try_compile "$LINENO"; then :
48716 glibcxx_cv_func_finitel_use=yes
48717 else
48718 glibcxx_cv_func_finitel_use=no
48720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48721 ac_ext=c
48722 ac_cpp='$CPP $CPPFLAGS'
48723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
48732 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
48734 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
48735 for ac_func in finitel
48736 do :
48737 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
48738 if test "x$ac_cv_func_finitel" = xyes; then :
48739 cat >>confdefs.h <<_ACEOF
48740 #define HAVE_FINITEL 1
48741 _ACEOF
48744 done
48746 else
48748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
48749 $as_echo_n "checking for _finitel declaration... " >&6; }
48750 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
48751 if ${glibcxx_cv_func__finitel_use+:} false; then :
48752 $as_echo_n "(cached) " >&6
48753 else
48756 ac_ext=cpp
48757 ac_cpp='$CXXCPP $CPPFLAGS'
48758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48763 /* end confdefs.h. */
48764 #include <math.h>
48765 #ifdef HAVE_IEEEFP_H
48766 #include <ieeefp.h>
48767 #endif
48770 main ()
48772 _finitel(0);
48774 return 0;
48776 _ACEOF
48777 if ac_fn_cxx_try_compile "$LINENO"; then :
48778 glibcxx_cv_func__finitel_use=yes
48779 else
48780 glibcxx_cv_func__finitel_use=no
48782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48783 ac_ext=c
48784 ac_cpp='$CPP $CPPFLAGS'
48785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
48794 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
48796 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
48797 for ac_func in _finitel
48798 do :
48799 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
48800 if test "x$ac_cv_func__finitel" = xyes; then :
48801 cat >>confdefs.h <<_ACEOF
48802 #define HAVE__FINITEL 1
48803 _ACEOF
48806 done
48814 LIBS="$ac_save_LIBS"
48815 CXXFLAGS="$ac_save_CXXFLAGS"
48818 ac_test_CXXFLAGS="${CXXFLAGS+set}"
48819 ac_save_CXXFLAGS="$CXXFLAGS"
48820 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
48823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
48824 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
48825 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
48826 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
48827 $as_echo_n "(cached) " >&6
48828 else
48831 ac_ext=cpp
48832 ac_cpp='$CXXCPP $CPPFLAGS'
48833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48838 /* end confdefs.h. */
48839 #include <stdlib.h>
48841 main ()
48843 at_quick_exit(0);
48845 return 0;
48847 _ACEOF
48848 if ac_fn_cxx_try_compile "$LINENO"; then :
48849 glibcxx_cv_func_at_quick_exit_use=yes
48850 else
48851 glibcxx_cv_func_at_quick_exit_use=no
48853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48854 ac_ext=c
48855 ac_cpp='$CPP $CPPFLAGS'
48856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
48865 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
48866 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
48867 for ac_func in at_quick_exit
48868 do :
48869 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
48870 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
48871 cat >>confdefs.h <<_ACEOF
48872 #define HAVE_AT_QUICK_EXIT 1
48873 _ACEOF
48876 done
48881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
48882 $as_echo_n "checking for quick_exit declaration... " >&6; }
48883 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
48884 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
48885 $as_echo_n "(cached) " >&6
48886 else
48889 ac_ext=cpp
48890 ac_cpp='$CXXCPP $CPPFLAGS'
48891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48896 /* end confdefs.h. */
48897 #include <stdlib.h>
48899 main ()
48901 quick_exit(0);
48903 return 0;
48905 _ACEOF
48906 if ac_fn_cxx_try_compile "$LINENO"; then :
48907 glibcxx_cv_func_quick_exit_use=yes
48908 else
48909 glibcxx_cv_func_quick_exit_use=no
48911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48912 ac_ext=c
48913 ac_cpp='$CPP $CPPFLAGS'
48914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
48923 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
48924 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
48925 for ac_func in quick_exit
48926 do :
48927 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
48928 if test "x$ac_cv_func_quick_exit" = xyes; then :
48929 cat >>confdefs.h <<_ACEOF
48930 #define HAVE_QUICK_EXIT 1
48931 _ACEOF
48934 done
48939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
48940 $as_echo_n "checking for strtold declaration... " >&6; }
48941 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
48942 if ${glibcxx_cv_func_strtold_use+:} false; then :
48943 $as_echo_n "(cached) " >&6
48944 else
48947 ac_ext=cpp
48948 ac_cpp='$CXXCPP $CPPFLAGS'
48949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48954 /* end confdefs.h. */
48955 #include <stdlib.h>
48957 main ()
48959 strtold(0, 0);
48961 return 0;
48963 _ACEOF
48964 if ac_fn_cxx_try_compile "$LINENO"; then :
48965 glibcxx_cv_func_strtold_use=yes
48966 else
48967 glibcxx_cv_func_strtold_use=no
48969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48970 ac_ext=c
48971 ac_cpp='$CPP $CPPFLAGS'
48972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
48981 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
48982 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
48983 for ac_func in strtold
48984 do :
48985 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
48986 if test "x$ac_cv_func_strtold" = xyes; then :
48987 cat >>confdefs.h <<_ACEOF
48988 #define HAVE_STRTOLD 1
48989 _ACEOF
48992 done
48999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
49000 $as_echo_n "checking for strtof declaration... " >&6; }
49001 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
49002 if ${glibcxx_cv_func_strtof_use+:} false; then :
49003 $as_echo_n "(cached) " >&6
49004 else
49007 ac_ext=cpp
49008 ac_cpp='$CXXCPP $CPPFLAGS'
49009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49014 /* end confdefs.h. */
49015 #include <stdlib.h>
49017 main ()
49019 strtof(0, 0);
49021 return 0;
49023 _ACEOF
49024 if ac_fn_cxx_try_compile "$LINENO"; then :
49025 glibcxx_cv_func_strtof_use=yes
49026 else
49027 glibcxx_cv_func_strtof_use=no
49029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49030 ac_ext=c
49031 ac_cpp='$CPP $CPPFLAGS'
49032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
49041 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
49042 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
49043 for ac_func in strtof
49044 do :
49045 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
49046 if test "x$ac_cv_func_strtof" = xyes; then :
49047 cat >>confdefs.h <<_ACEOF
49048 #define HAVE_STRTOF 1
49049 _ACEOF
49052 done
49059 CXXFLAGS="$ac_save_CXXFLAGS"
49062 for ac_func in uselocale
49063 do :
49064 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
49065 if test "x$ac_cv_func_uselocale" = xyes; then :
49066 cat >>confdefs.h <<_ACEOF
49067 #define HAVE_USELOCALE 1
49068 _ACEOF
49071 done
49075 *djgpp)
49076 # GLIBCXX_CHECK_MATH_SUPPORT
49077 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
49079 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
49081 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
49083 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
49085 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
49089 *-freebsd*)
49090 SECTION_FLAGS='-ffunction-sections -fdata-sections'
49093 # If we're not using GNU ld, then there's no point in even trying these
49094 # tests. Check for that first. We should have already tested for gld
49095 # by now (in libtool), but require it now just to be safe...
49096 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
49097 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
49101 # The name set by libtool depends on the version of libtool. Shame on us
49102 # for depending on an impl detail, but c'est la vie. Older versions used
49103 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
49104 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
49105 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
49106 # set (hence we're using an older libtool), then set it.
49107 if test x${with_gnu_ld+set} != xset; then
49108 if test x${ac_cv_prog_gnu_ld+set} != xset; then
49109 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
49110 with_gnu_ld=no
49111 else
49112 with_gnu_ld=$ac_cv_prog_gnu_ld
49116 # Start by getting the version number. I think the libtool test already
49117 # does some of this, but throws away the result.
49118 glibcxx_ld_is_gold=no
49119 glibcxx_ld_is_mold=no
49120 if test x"$with_gnu_ld" = x"yes"; then
49121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
49122 $as_echo_n "checking for ld version... " >&6; }
49124 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
49125 glibcxx_ld_is_gold=yes
49126 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
49127 glibcxx_ld_is_mold=yes
49129 ldver=`$LD --version 2>/dev/null |
49130 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
49132 glibcxx_gnu_ld_version=`echo $ldver | \
49133 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
49134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
49135 $as_echo "$glibcxx_gnu_ld_version" >&6; }
49138 # Set --gc-sections.
49139 glibcxx_have_gc_sections=no
49140 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
49141 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
49142 glibcxx_have_gc_sections=yes
49144 else
49145 glibcxx_gcsections_min_ld=21602
49146 if test x"$with_gnu_ld" = x"yes" &&
49147 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
49148 glibcxx_have_gc_sections=yes
49151 if test "$glibcxx_have_gc_sections" = "yes"; then
49152 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
49153 # NB: This flag only works reliably after 2.16.1. Configure tests
49154 # for this are difficult, so hard wire a value that should work.
49156 ac_test_CFLAGS="${CFLAGS+set}"
49157 ac_save_CFLAGS="$CFLAGS"
49158 CFLAGS='-Wl,--gc-sections'
49160 # Check for -Wl,--gc-sections
49161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
49162 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
49163 if test x$gcc_no_link = xyes; then
49164 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
49166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49167 /* end confdefs.h. */
49168 int one(void) { return 1; }
49169 int two(void) { return 2; }
49172 main ()
49174 two();
49176 return 0;
49178 _ACEOF
49179 if ac_fn_c_try_link "$LINENO"; then :
49180 ac_gcsections=yes
49181 else
49182 ac_gcsections=no
49184 rm -f core conftest.err conftest.$ac_objext \
49185 conftest$ac_exeext conftest.$ac_ext
49186 if test "$ac_gcsections" = "yes"; then
49187 rm -f conftest.c
49188 touch conftest.c
49189 if $CC -c conftest.c; then
49190 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
49191 grep "Warning: gc-sections option ignored" > /dev/null; then
49192 ac_gcsections=no
49195 rm -f conftest.c conftest.o conftest
49197 if test "$ac_gcsections" = "yes"; then
49198 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
49200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
49201 $as_echo "$ac_gcsections" >&6; }
49203 if test "$ac_test_CFLAGS" = set; then
49204 CFLAGS="$ac_save_CFLAGS"
49205 else
49206 # this is the suspicious part
49207 CFLAGS=''
49211 # Set -z,relro.
49212 # Note this is only for shared objects.
49213 ac_ld_relro=no
49214 if test x"$with_gnu_ld" = x"yes"; then
49215 # cygwin and mingw uses PE, which has no ELF relro support,
49216 # multi target ld may confuse configure machinery
49217 case "$host" in
49218 *-*-cygwin*)
49220 *-*-mingw*)
49223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
49224 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
49225 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
49226 if test -n "$cxx_z_relo"; then
49227 OPT_LDFLAGS="-Wl,-z,relro"
49228 ac_ld_relro=yes
49230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
49231 $as_echo "$ac_ld_relro" >&6; }
49232 esac
49235 # Set linker optimization flags.
49236 if test x"$with_gnu_ld" = x"yes"; then
49237 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
49243 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
49245 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
49247 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
49249 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
49251 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
49253 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
49255 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
49257 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
49259 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
49262 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
49264 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
49266 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
49268 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
49270 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
49272 $as_echo "#define HAVE_COSF 1" >>confdefs.h
49274 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
49276 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
49278 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
49280 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
49282 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
49284 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
49286 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
49288 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
49290 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
49292 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
49294 $as_echo "#define HAVE_POWF 1" >>confdefs.h
49296 $as_echo "#define HAVE_SINF 1" >>confdefs.h
49298 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
49300 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
49302 $as_echo "#define HAVE_TANF 1" >>confdefs.h
49304 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
49306 if test x"long_double_math_on_this_cpu" = x"yes"; then
49307 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
49309 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
49311 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
49314 for ac_func in __cxa_thread_atexit
49315 do :
49316 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
49317 if test "x$ac_cv_func___cxa_thread_atexit" = xyes; then :
49318 cat >>confdefs.h <<_ACEOF
49319 #define HAVE___CXA_THREAD_ATEXIT 1
49320 _ACEOF
49323 done
49325 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
49326 do :
49327 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49328 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49329 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49330 cat >>confdefs.h <<_ACEOF
49331 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49332 _ACEOF
49335 done
49337 for ac_func in timespec_get
49338 do :
49339 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
49340 if test "x$ac_cv_func_timespec_get" = xyes; then :
49341 cat >>confdefs.h <<_ACEOF
49342 #define HAVE_TIMESPEC_GET 1
49343 _ACEOF
49346 done
49348 for ac_func in sockatmark
49349 do :
49350 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
49351 if test "x$ac_cv_func_sockatmark" = xyes; then :
49352 cat >>confdefs.h <<_ACEOF
49353 #define HAVE_SOCKATMARK 1
49354 _ACEOF
49357 done
49359 for ac_func in uselocale
49360 do :
49361 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
49362 if test "x$ac_cv_func_uselocale" = xyes; then :
49363 cat >>confdefs.h <<_ACEOF
49364 #define HAVE_USELOCALE 1
49365 _ACEOF
49368 done
49372 *-fuchsia*)
49373 SECTION_FLAGS='-ffunction-sections -fdata-sections'
49377 *-hpux*)
49378 SECTION_FLAGS='-ffunction-sections -fdata-sections'
49381 # If we're not using GNU ld, then there's no point in even trying these
49382 # tests. Check for that first. We should have already tested for gld
49383 # by now (in libtool), but require it now just to be safe...
49384 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
49385 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
49389 # The name set by libtool depends on the version of libtool. Shame on us
49390 # for depending on an impl detail, but c'est la vie. Older versions used
49391 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
49392 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
49393 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
49394 # set (hence we're using an older libtool), then set it.
49395 if test x${with_gnu_ld+set} != xset; then
49396 if test x${ac_cv_prog_gnu_ld+set} != xset; then
49397 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
49398 with_gnu_ld=no
49399 else
49400 with_gnu_ld=$ac_cv_prog_gnu_ld
49404 # Start by getting the version number. I think the libtool test already
49405 # does some of this, but throws away the result.
49406 glibcxx_ld_is_gold=no
49407 glibcxx_ld_is_mold=no
49408 if test x"$with_gnu_ld" = x"yes"; then
49409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
49410 $as_echo_n "checking for ld version... " >&6; }
49412 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
49413 glibcxx_ld_is_gold=yes
49414 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
49415 glibcxx_ld_is_mold=yes
49417 ldver=`$LD --version 2>/dev/null |
49418 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
49420 glibcxx_gnu_ld_version=`echo $ldver | \
49421 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
49422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
49423 $as_echo "$glibcxx_gnu_ld_version" >&6; }
49426 # Set --gc-sections.
49427 glibcxx_have_gc_sections=no
49428 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
49429 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
49430 glibcxx_have_gc_sections=yes
49432 else
49433 glibcxx_gcsections_min_ld=21602
49434 if test x"$with_gnu_ld" = x"yes" &&
49435 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
49436 glibcxx_have_gc_sections=yes
49439 if test "$glibcxx_have_gc_sections" = "yes"; then
49440 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
49441 # NB: This flag only works reliably after 2.16.1. Configure tests
49442 # for this are difficult, so hard wire a value that should work.
49444 ac_test_CFLAGS="${CFLAGS+set}"
49445 ac_save_CFLAGS="$CFLAGS"
49446 CFLAGS='-Wl,--gc-sections'
49448 # Check for -Wl,--gc-sections
49449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
49450 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
49451 if test x$gcc_no_link = xyes; then
49452 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
49454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49455 /* end confdefs.h. */
49456 int one(void) { return 1; }
49457 int two(void) { return 2; }
49460 main ()
49462 two();
49464 return 0;
49466 _ACEOF
49467 if ac_fn_c_try_link "$LINENO"; then :
49468 ac_gcsections=yes
49469 else
49470 ac_gcsections=no
49472 rm -f core conftest.err conftest.$ac_objext \
49473 conftest$ac_exeext conftest.$ac_ext
49474 if test "$ac_gcsections" = "yes"; then
49475 rm -f conftest.c
49476 touch conftest.c
49477 if $CC -c conftest.c; then
49478 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
49479 grep "Warning: gc-sections option ignored" > /dev/null; then
49480 ac_gcsections=no
49483 rm -f conftest.c conftest.o conftest
49485 if test "$ac_gcsections" = "yes"; then
49486 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
49488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
49489 $as_echo "$ac_gcsections" >&6; }
49491 if test "$ac_test_CFLAGS" = set; then
49492 CFLAGS="$ac_save_CFLAGS"
49493 else
49494 # this is the suspicious part
49495 CFLAGS=''
49499 # Set -z,relro.
49500 # Note this is only for shared objects.
49501 ac_ld_relro=no
49502 if test x"$with_gnu_ld" = x"yes"; then
49503 # cygwin and mingw uses PE, which has no ELF relro support,
49504 # multi target ld may confuse configure machinery
49505 case "$host" in
49506 *-*-cygwin*)
49508 *-*-mingw*)
49511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
49512 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
49513 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
49514 if test -n "$cxx_z_relo"; then
49515 OPT_LDFLAGS="-Wl,-z,relro"
49516 ac_ld_relro=yes
49518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
49519 $as_echo "$ac_ld_relro" >&6; }
49520 esac
49523 # Set linker optimization flags.
49524 if test x"$with_gnu_ld" = x"yes"; then
49525 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
49532 # GLIBCXX_CHECK_MATH_SUPPORT
49533 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
49535 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
49537 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
49539 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
49541 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
49543 $as_echo "#define HAVE_COSF 1" >>confdefs.h
49545 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
49547 $as_echo "#define HAVE_SINF 1" >>confdefs.h
49549 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
49551 $as_echo "#define HAVE_TANF 1" >>confdefs.h
49553 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
49555 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
49557 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
49559 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
49561 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
49563 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
49565 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
49567 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
49569 $as_echo "#define HAVE_MODF 1" >>confdefs.h
49571 $as_echo "#define HAVE_POWF 1" >>confdefs.h
49573 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
49576 # GLIBCXX_CHECK_STDLIB_SUPPORT
49577 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
49582 # Check whether --enable-tls was given.
49583 if test "${enable_tls+set}" = set; then :
49584 enableval=$enable_tls;
49585 case "$enableval" in
49586 yes|no) ;;
49587 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
49588 esac
49590 else
49591 enable_tls=yes
49595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
49596 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
49597 if ${gcc_cv_have_tls+:} false; then :
49598 $as_echo_n "(cached) " >&6
49599 else
49601 if test "$cross_compiling" = yes; then :
49602 if test x$gcc_no_link = xyes; then
49603 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
49605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49606 /* end confdefs.h. */
49607 __thread int a; int b; int main() { return a = b; }
49608 _ACEOF
49609 if ac_fn_c_try_link "$LINENO"; then :
49610 chktls_save_LDFLAGS="$LDFLAGS"
49611 case $host in
49612 *-*-linux* | -*-uclinuxfdpic*)
49613 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
49615 esac
49616 chktls_save_CFLAGS="$CFLAGS"
49617 CFLAGS="-fPIC $CFLAGS"
49618 if test x$gcc_no_link = xyes; then
49619 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
49621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49622 /* end confdefs.h. */
49623 int f() { return 0; }
49624 _ACEOF
49625 if ac_fn_c_try_link "$LINENO"; then :
49626 if test x$gcc_no_link = xyes; then
49627 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
49629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49630 /* end confdefs.h. */
49631 __thread int a; int b; int f() { return a = b; }
49632 _ACEOF
49633 if ac_fn_c_try_link "$LINENO"; then :
49634 gcc_cv_have_tls=yes
49635 else
49636 gcc_cv_have_tls=no
49638 rm -f core conftest.err conftest.$ac_objext \
49639 conftest$ac_exeext conftest.$ac_ext
49640 else
49641 gcc_cv_have_tls=yes
49643 rm -f core conftest.err conftest.$ac_objext \
49644 conftest$ac_exeext conftest.$ac_ext
49645 CFLAGS="$chktls_save_CFLAGS"
49646 LDFLAGS="$chktls_save_LDFLAGS"
49647 else
49648 gcc_cv_have_tls=no
49650 rm -f core conftest.err conftest.$ac_objext \
49651 conftest$ac_exeext conftest.$ac_ext
49654 else
49655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49656 /* end confdefs.h. */
49657 __thread int a; int b; int main() { return a = b; }
49658 _ACEOF
49659 if ac_fn_c_try_run "$LINENO"; then :
49660 chktls_save_LDFLAGS="$LDFLAGS"
49661 LDFLAGS="-static $LDFLAGS"
49662 if test x$gcc_no_link = xyes; then
49663 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
49665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49666 /* end confdefs.h. */
49667 int main() { return 0; }
49668 _ACEOF
49669 if ac_fn_c_try_link "$LINENO"; then :
49670 if test "$cross_compiling" = yes; then :
49671 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
49672 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
49673 as_fn_error $? "cannot run test program while cross compiling
49674 See \`config.log' for more details" "$LINENO" 5; }
49675 else
49676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49677 /* end confdefs.h. */
49678 __thread int a; int b; int main() { return a = b; }
49679 _ACEOF
49680 if ac_fn_c_try_run "$LINENO"; then :
49681 gcc_cv_have_tls=yes
49682 else
49683 gcc_cv_have_tls=no
49685 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
49686 conftest.$ac_objext conftest.beam conftest.$ac_ext
49689 else
49690 gcc_cv_have_tls=yes
49692 rm -f core conftest.err conftest.$ac_objext \
49693 conftest$ac_exeext conftest.$ac_ext
49694 LDFLAGS="$chktls_save_LDFLAGS"
49695 if test $gcc_cv_have_tls = yes; then
49696 chktls_save_CFLAGS="$CFLAGS"
49697 thread_CFLAGS=failed
49698 for flag in '' '-pthread' '-lpthread'; do
49699 CFLAGS="$flag $chktls_save_CFLAGS"
49700 if test x$gcc_no_link = xyes; then
49701 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
49703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49704 /* end confdefs.h. */
49705 #include <pthread.h>
49706 void *g(void *d) { return NULL; }
49708 main ()
49710 pthread_t t; pthread_create(&t,NULL,g,NULL);
49712 return 0;
49714 _ACEOF
49715 if ac_fn_c_try_link "$LINENO"; then :
49716 thread_CFLAGS="$flag"
49718 rm -f core conftest.err conftest.$ac_objext \
49719 conftest$ac_exeext conftest.$ac_ext
49720 if test "X$thread_CFLAGS" != Xfailed; then
49721 break
49723 done
49724 CFLAGS="$chktls_save_CFLAGS"
49725 if test "X$thread_CFLAGS" != Xfailed; then
49726 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
49727 if test "$cross_compiling" = yes; then :
49728 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
49729 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
49730 as_fn_error $? "cannot run test program while cross compiling
49731 See \`config.log' for more details" "$LINENO" 5; }
49732 else
49733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49734 /* end confdefs.h. */
49735 #include <pthread.h>
49736 __thread int a;
49737 static int *volatile a_in_other_thread;
49738 static void *
49739 thread_func (void *arg)
49741 a_in_other_thread = &a;
49742 return (void *)0;
49745 main ()
49747 pthread_t thread;
49748 void *thread_retval;
49749 int *volatile a_in_main_thread;
49750 a_in_main_thread = &a;
49751 if (pthread_create (&thread, (pthread_attr_t *)0,
49752 thread_func, (void *)0))
49753 return 0;
49754 if (pthread_join (thread, &thread_retval))
49755 return 0;
49756 return (a_in_other_thread == a_in_main_thread);
49758 return 0;
49760 _ACEOF
49761 if ac_fn_c_try_run "$LINENO"; then :
49762 gcc_cv_have_tls=yes
49763 else
49764 gcc_cv_have_tls=no
49766 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
49767 conftest.$ac_objext conftest.beam conftest.$ac_ext
49770 CFLAGS="$chktls_save_CFLAGS"
49773 else
49774 gcc_cv_have_tls=no
49776 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
49777 conftest.$ac_objext conftest.beam conftest.$ac_ext
49781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
49782 $as_echo "$gcc_cv_have_tls" >&6; }
49783 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
49785 $as_echo "#define HAVE_TLS 1" >>confdefs.h
49789 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
49791 # All these tests are for C++; save the language and the compiler flags.
49792 # The CXXFLAGS thing is suspicious, but based on similar bits previously
49793 # found in GLIBCXX_CONFIGURE.
49795 ac_ext=cpp
49796 ac_cpp='$CXXCPP $CPPFLAGS'
49797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49801 ac_test_CXXFLAGS="${CXXFLAGS+set}"
49802 ac_save_CXXFLAGS="$CXXFLAGS"
49804 # Check for -ffunction-sections -fdata-sections
49805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
49806 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
49807 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
49808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49809 /* end confdefs.h. */
49810 int foo; void bar() { };
49812 main ()
49816 return 0;
49818 _ACEOF
49819 if ac_fn_cxx_try_compile "$LINENO"; then :
49820 ac_fdsections=yes
49821 else
49822 ac_fdsections=no
49824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49825 if test "$ac_test_CXXFLAGS" = set; then
49826 CXXFLAGS="$ac_save_CXXFLAGS"
49827 else
49828 # this is the suspicious part
49829 CXXFLAGS=''
49831 if test x"$ac_fdsections" = x"yes"; then
49832 SECTION_FLAGS='-ffunction-sections -fdata-sections'
49834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
49835 $as_echo "$ac_fdsections" >&6; }
49837 ac_ext=c
49838 ac_cpp='$CPP $CPPFLAGS'
49839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49846 # If we're not using GNU ld, then there's no point in even trying these
49847 # tests. Check for that first. We should have already tested for gld
49848 # by now (in libtool), but require it now just to be safe...
49849 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
49850 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
49854 # The name set by libtool depends on the version of libtool. Shame on us
49855 # for depending on an impl detail, but c'est la vie. Older versions used
49856 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
49857 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
49858 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
49859 # set (hence we're using an older libtool), then set it.
49860 if test x${with_gnu_ld+set} != xset; then
49861 if test x${ac_cv_prog_gnu_ld+set} != xset; then
49862 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
49863 with_gnu_ld=no
49864 else
49865 with_gnu_ld=$ac_cv_prog_gnu_ld
49869 # Start by getting the version number. I think the libtool test already
49870 # does some of this, but throws away the result.
49871 glibcxx_ld_is_gold=no
49872 glibcxx_ld_is_mold=no
49873 if test x"$with_gnu_ld" = x"yes"; then
49874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
49875 $as_echo_n "checking for ld version... " >&6; }
49877 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
49878 glibcxx_ld_is_gold=yes
49879 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
49880 glibcxx_ld_is_mold=yes
49882 ldver=`$LD --version 2>/dev/null |
49883 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
49885 glibcxx_gnu_ld_version=`echo $ldver | \
49886 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
49887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
49888 $as_echo "$glibcxx_gnu_ld_version" >&6; }
49891 # Set --gc-sections.
49892 glibcxx_have_gc_sections=no
49893 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
49894 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
49895 glibcxx_have_gc_sections=yes
49897 else
49898 glibcxx_gcsections_min_ld=21602
49899 if test x"$with_gnu_ld" = x"yes" &&
49900 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
49901 glibcxx_have_gc_sections=yes
49904 if test "$glibcxx_have_gc_sections" = "yes"; then
49905 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
49906 # NB: This flag only works reliably after 2.16.1. Configure tests
49907 # for this are difficult, so hard wire a value that should work.
49909 ac_test_CFLAGS="${CFLAGS+set}"
49910 ac_save_CFLAGS="$CFLAGS"
49911 CFLAGS='-Wl,--gc-sections'
49913 # Check for -Wl,--gc-sections
49914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
49915 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
49916 if test x$gcc_no_link = xyes; then
49917 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
49919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49920 /* end confdefs.h. */
49921 int one(void) { return 1; }
49922 int two(void) { return 2; }
49925 main ()
49927 two();
49929 return 0;
49931 _ACEOF
49932 if ac_fn_c_try_link "$LINENO"; then :
49933 ac_gcsections=yes
49934 else
49935 ac_gcsections=no
49937 rm -f core conftest.err conftest.$ac_objext \
49938 conftest$ac_exeext conftest.$ac_ext
49939 if test "$ac_gcsections" = "yes"; then
49940 rm -f conftest.c
49941 touch conftest.c
49942 if $CC -c conftest.c; then
49943 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
49944 grep "Warning: gc-sections option ignored" > /dev/null; then
49945 ac_gcsections=no
49948 rm -f conftest.c conftest.o conftest
49950 if test "$ac_gcsections" = "yes"; then
49951 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
49953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
49954 $as_echo "$ac_gcsections" >&6; }
49956 if test "$ac_test_CFLAGS" = set; then
49957 CFLAGS="$ac_save_CFLAGS"
49958 else
49959 # this is the suspicious part
49960 CFLAGS=''
49964 # Set -z,relro.
49965 # Note this is only for shared objects.
49966 ac_ld_relro=no
49967 if test x"$with_gnu_ld" = x"yes"; then
49968 # cygwin and mingw uses PE, which has no ELF relro support,
49969 # multi target ld may confuse configure machinery
49970 case "$host" in
49971 *-*-cygwin*)
49973 *-*-mingw*)
49976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
49977 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
49978 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
49979 if test -n "$cxx_z_relo"; then
49980 OPT_LDFLAGS="-Wl,-z,relro"
49981 ac_ld_relro=yes
49983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
49984 $as_echo "$ac_ld_relro" >&6; }
49985 esac
49988 # Set linker optimization flags.
49989 if test x"$with_gnu_ld" = x"yes"; then
49990 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
49997 ac_test_CXXFLAGS="${CXXFLAGS+set}"
49998 ac_save_CXXFLAGS="$CXXFLAGS"
49999 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
50002 $as_echo_n "checking for sin in -lm... " >&6; }
50003 if ${ac_cv_lib_m_sin+:} false; then :
50004 $as_echo_n "(cached) " >&6
50005 else
50006 ac_check_lib_save_LIBS=$LIBS
50007 LIBS="-lm $LIBS"
50008 if test x$gcc_no_link = xyes; then
50009 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50012 /* end confdefs.h. */
50014 /* Override any GCC internal prototype to avoid an error.
50015 Use char because int might match the return type of a GCC
50016 builtin and then its argument prototype would still apply. */
50017 #ifdef __cplusplus
50018 extern "C"
50019 #endif
50020 char sin ();
50022 main ()
50024 return sin ();
50026 return 0;
50028 _ACEOF
50029 if ac_fn_c_try_link "$LINENO"; then :
50030 ac_cv_lib_m_sin=yes
50031 else
50032 ac_cv_lib_m_sin=no
50034 rm -f core conftest.err conftest.$ac_objext \
50035 conftest$ac_exeext conftest.$ac_ext
50036 LIBS=$ac_check_lib_save_LIBS
50038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
50039 $as_echo "$ac_cv_lib_m_sin" >&6; }
50040 if test "x$ac_cv_lib_m_sin" = xyes; then :
50041 libm="-lm"
50044 ac_save_LIBS="$LIBS"
50045 LIBS="$LIBS $libm"
50049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
50050 $as_echo_n "checking for isinf declaration... " >&6; }
50051 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
50052 if ${glibcxx_cv_func_isinf_use+:} false; then :
50053 $as_echo_n "(cached) " >&6
50054 else
50057 ac_ext=cpp
50058 ac_cpp='$CXXCPP $CPPFLAGS'
50059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50064 /* end confdefs.h. */
50065 #include <math.h>
50066 #ifdef HAVE_IEEEFP_H
50067 #include <ieeefp.h>
50068 #endif
50071 main ()
50073 isinf(0);
50075 return 0;
50077 _ACEOF
50078 if ac_fn_cxx_try_compile "$LINENO"; then :
50079 glibcxx_cv_func_isinf_use=yes
50080 else
50081 glibcxx_cv_func_isinf_use=no
50083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50084 ac_ext=c
50085 ac_cpp='$CPP $CPPFLAGS'
50086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
50095 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
50097 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
50098 for ac_func in isinf
50099 do :
50100 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
50101 if test "x$ac_cv_func_isinf" = xyes; then :
50102 cat >>confdefs.h <<_ACEOF
50103 #define HAVE_ISINF 1
50104 _ACEOF
50107 done
50109 else
50111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
50112 $as_echo_n "checking for _isinf declaration... " >&6; }
50113 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
50114 if ${glibcxx_cv_func__isinf_use+:} false; then :
50115 $as_echo_n "(cached) " >&6
50116 else
50119 ac_ext=cpp
50120 ac_cpp='$CXXCPP $CPPFLAGS'
50121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50126 /* end confdefs.h. */
50127 #include <math.h>
50128 #ifdef HAVE_IEEEFP_H
50129 #include <ieeefp.h>
50130 #endif
50133 main ()
50135 _isinf(0);
50137 return 0;
50139 _ACEOF
50140 if ac_fn_cxx_try_compile "$LINENO"; then :
50141 glibcxx_cv_func__isinf_use=yes
50142 else
50143 glibcxx_cv_func__isinf_use=no
50145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50146 ac_ext=c
50147 ac_cpp='$CPP $CPPFLAGS'
50148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
50157 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
50159 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
50160 for ac_func in _isinf
50161 do :
50162 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
50163 if test "x$ac_cv_func__isinf" = xyes; then :
50164 cat >>confdefs.h <<_ACEOF
50165 #define HAVE__ISINF 1
50166 _ACEOF
50169 done
50178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
50179 $as_echo_n "checking for isnan declaration... " >&6; }
50180 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
50181 if ${glibcxx_cv_func_isnan_use+:} false; then :
50182 $as_echo_n "(cached) " >&6
50183 else
50186 ac_ext=cpp
50187 ac_cpp='$CXXCPP $CPPFLAGS'
50188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50193 /* end confdefs.h. */
50194 #include <math.h>
50195 #ifdef HAVE_IEEEFP_H
50196 #include <ieeefp.h>
50197 #endif
50200 main ()
50202 isnan(0);
50204 return 0;
50206 _ACEOF
50207 if ac_fn_cxx_try_compile "$LINENO"; then :
50208 glibcxx_cv_func_isnan_use=yes
50209 else
50210 glibcxx_cv_func_isnan_use=no
50212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50213 ac_ext=c
50214 ac_cpp='$CPP $CPPFLAGS'
50215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
50224 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
50226 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
50227 for ac_func in isnan
50228 do :
50229 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
50230 if test "x$ac_cv_func_isnan" = xyes; then :
50231 cat >>confdefs.h <<_ACEOF
50232 #define HAVE_ISNAN 1
50233 _ACEOF
50236 done
50238 else
50240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
50241 $as_echo_n "checking for _isnan declaration... " >&6; }
50242 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
50243 if ${glibcxx_cv_func__isnan_use+:} false; then :
50244 $as_echo_n "(cached) " >&6
50245 else
50248 ac_ext=cpp
50249 ac_cpp='$CXXCPP $CPPFLAGS'
50250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50255 /* end confdefs.h. */
50256 #include <math.h>
50257 #ifdef HAVE_IEEEFP_H
50258 #include <ieeefp.h>
50259 #endif
50262 main ()
50264 _isnan(0);
50266 return 0;
50268 _ACEOF
50269 if ac_fn_cxx_try_compile "$LINENO"; then :
50270 glibcxx_cv_func__isnan_use=yes
50271 else
50272 glibcxx_cv_func__isnan_use=no
50274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50275 ac_ext=c
50276 ac_cpp='$CPP $CPPFLAGS'
50277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
50286 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
50288 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
50289 for ac_func in _isnan
50290 do :
50291 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
50292 if test "x$ac_cv_func__isnan" = xyes; then :
50293 cat >>confdefs.h <<_ACEOF
50294 #define HAVE__ISNAN 1
50295 _ACEOF
50298 done
50307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
50308 $as_echo_n "checking for finite declaration... " >&6; }
50309 if test x${glibcxx_cv_func_finite_use+set} != xset; then
50310 if ${glibcxx_cv_func_finite_use+:} false; then :
50311 $as_echo_n "(cached) " >&6
50312 else
50315 ac_ext=cpp
50316 ac_cpp='$CXXCPP $CPPFLAGS'
50317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50322 /* end confdefs.h. */
50323 #include <math.h>
50324 #ifdef HAVE_IEEEFP_H
50325 #include <ieeefp.h>
50326 #endif
50329 main ()
50331 finite(0);
50333 return 0;
50335 _ACEOF
50336 if ac_fn_cxx_try_compile "$LINENO"; then :
50337 glibcxx_cv_func_finite_use=yes
50338 else
50339 glibcxx_cv_func_finite_use=no
50341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50342 ac_ext=c
50343 ac_cpp='$CPP $CPPFLAGS'
50344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
50353 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
50355 if test x$glibcxx_cv_func_finite_use = x"yes"; then
50356 for ac_func in finite
50357 do :
50358 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
50359 if test "x$ac_cv_func_finite" = xyes; then :
50360 cat >>confdefs.h <<_ACEOF
50361 #define HAVE_FINITE 1
50362 _ACEOF
50365 done
50367 else
50369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
50370 $as_echo_n "checking for _finite declaration... " >&6; }
50371 if test x${glibcxx_cv_func__finite_use+set} != xset; then
50372 if ${glibcxx_cv_func__finite_use+:} false; then :
50373 $as_echo_n "(cached) " >&6
50374 else
50377 ac_ext=cpp
50378 ac_cpp='$CXXCPP $CPPFLAGS'
50379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50384 /* end confdefs.h. */
50385 #include <math.h>
50386 #ifdef HAVE_IEEEFP_H
50387 #include <ieeefp.h>
50388 #endif
50391 main ()
50393 _finite(0);
50395 return 0;
50397 _ACEOF
50398 if ac_fn_cxx_try_compile "$LINENO"; then :
50399 glibcxx_cv_func__finite_use=yes
50400 else
50401 glibcxx_cv_func__finite_use=no
50403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50404 ac_ext=c
50405 ac_cpp='$CPP $CPPFLAGS'
50406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
50415 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
50417 if test x$glibcxx_cv_func__finite_use = x"yes"; then
50418 for ac_func in _finite
50419 do :
50420 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
50421 if test "x$ac_cv_func__finite" = xyes; then :
50422 cat >>confdefs.h <<_ACEOF
50423 #define HAVE__FINITE 1
50424 _ACEOF
50427 done
50436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
50437 $as_echo_n "checking for sincos declaration... " >&6; }
50438 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
50439 if ${glibcxx_cv_func_sincos_use+:} false; then :
50440 $as_echo_n "(cached) " >&6
50441 else
50444 ac_ext=cpp
50445 ac_cpp='$CXXCPP $CPPFLAGS'
50446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50451 /* end confdefs.h. */
50452 #include <math.h>
50454 main ()
50456 sincos(0, 0, 0);
50458 return 0;
50460 _ACEOF
50461 if ac_fn_cxx_try_compile "$LINENO"; then :
50462 glibcxx_cv_func_sincos_use=yes
50463 else
50464 glibcxx_cv_func_sincos_use=no
50466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50467 ac_ext=c
50468 ac_cpp='$CPP $CPPFLAGS'
50469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
50478 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
50480 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
50481 for ac_func in sincos
50482 do :
50483 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
50484 if test "x$ac_cv_func_sincos" = xyes; then :
50485 cat >>confdefs.h <<_ACEOF
50486 #define HAVE_SINCOS 1
50487 _ACEOF
50490 done
50492 else
50494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
50495 $as_echo_n "checking for _sincos declaration... " >&6; }
50496 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
50497 if ${glibcxx_cv_func__sincos_use+:} false; then :
50498 $as_echo_n "(cached) " >&6
50499 else
50502 ac_ext=cpp
50503 ac_cpp='$CXXCPP $CPPFLAGS'
50504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50509 /* end confdefs.h. */
50510 #include <math.h>
50512 main ()
50514 _sincos(0, 0, 0);
50516 return 0;
50518 _ACEOF
50519 if ac_fn_cxx_try_compile "$LINENO"; then :
50520 glibcxx_cv_func__sincos_use=yes
50521 else
50522 glibcxx_cv_func__sincos_use=no
50524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50525 ac_ext=c
50526 ac_cpp='$CPP $CPPFLAGS'
50527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
50536 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
50538 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
50539 for ac_func in _sincos
50540 do :
50541 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
50542 if test "x$ac_cv_func__sincos" = xyes; then :
50543 cat >>confdefs.h <<_ACEOF
50544 #define HAVE__SINCOS 1
50545 _ACEOF
50548 done
50557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
50558 $as_echo_n "checking for fpclass declaration... " >&6; }
50559 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
50560 if ${glibcxx_cv_func_fpclass_use+:} false; then :
50561 $as_echo_n "(cached) " >&6
50562 else
50565 ac_ext=cpp
50566 ac_cpp='$CXXCPP $CPPFLAGS'
50567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50572 /* end confdefs.h. */
50573 #include <math.h>
50574 #ifdef HAVE_IEEEFP_H
50575 #include <ieeefp.h>
50576 #endif
50579 main ()
50581 fpclass(0);
50583 return 0;
50585 _ACEOF
50586 if ac_fn_cxx_try_compile "$LINENO"; then :
50587 glibcxx_cv_func_fpclass_use=yes
50588 else
50589 glibcxx_cv_func_fpclass_use=no
50591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50592 ac_ext=c
50593 ac_cpp='$CPP $CPPFLAGS'
50594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
50603 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
50605 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
50606 for ac_func in fpclass
50607 do :
50608 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
50609 if test "x$ac_cv_func_fpclass" = xyes; then :
50610 cat >>confdefs.h <<_ACEOF
50611 #define HAVE_FPCLASS 1
50612 _ACEOF
50615 done
50617 else
50619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
50620 $as_echo_n "checking for _fpclass declaration... " >&6; }
50621 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
50622 if ${glibcxx_cv_func__fpclass_use+:} false; then :
50623 $as_echo_n "(cached) " >&6
50624 else
50627 ac_ext=cpp
50628 ac_cpp='$CXXCPP $CPPFLAGS'
50629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50634 /* end confdefs.h. */
50635 #include <math.h>
50636 #ifdef HAVE_IEEEFP_H
50637 #include <ieeefp.h>
50638 #endif
50641 main ()
50643 _fpclass(0);
50645 return 0;
50647 _ACEOF
50648 if ac_fn_cxx_try_compile "$LINENO"; then :
50649 glibcxx_cv_func__fpclass_use=yes
50650 else
50651 glibcxx_cv_func__fpclass_use=no
50653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50654 ac_ext=c
50655 ac_cpp='$CPP $CPPFLAGS'
50656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
50665 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
50667 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
50668 for ac_func in _fpclass
50669 do :
50670 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
50671 if test "x$ac_cv_func__fpclass" = xyes; then :
50672 cat >>confdefs.h <<_ACEOF
50673 #define HAVE__FPCLASS 1
50674 _ACEOF
50677 done
50686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
50687 $as_echo_n "checking for qfpclass declaration... " >&6; }
50688 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
50689 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
50690 $as_echo_n "(cached) " >&6
50691 else
50694 ac_ext=cpp
50695 ac_cpp='$CXXCPP $CPPFLAGS'
50696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50701 /* end confdefs.h. */
50702 #include <math.h>
50703 #ifdef HAVE_IEEEFP_H
50704 #include <ieeefp.h>
50705 #endif
50708 main ()
50710 qfpclass(0);
50712 return 0;
50714 _ACEOF
50715 if ac_fn_cxx_try_compile "$LINENO"; then :
50716 glibcxx_cv_func_qfpclass_use=yes
50717 else
50718 glibcxx_cv_func_qfpclass_use=no
50720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50721 ac_ext=c
50722 ac_cpp='$CPP $CPPFLAGS'
50723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
50732 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
50734 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
50735 for ac_func in qfpclass
50736 do :
50737 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
50738 if test "x$ac_cv_func_qfpclass" = xyes; then :
50739 cat >>confdefs.h <<_ACEOF
50740 #define HAVE_QFPCLASS 1
50741 _ACEOF
50744 done
50746 else
50748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
50749 $as_echo_n "checking for _qfpclass declaration... " >&6; }
50750 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
50751 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
50752 $as_echo_n "(cached) " >&6
50753 else
50756 ac_ext=cpp
50757 ac_cpp='$CXXCPP $CPPFLAGS'
50758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50763 /* end confdefs.h. */
50764 #include <math.h>
50765 #ifdef HAVE_IEEEFP_H
50766 #include <ieeefp.h>
50767 #endif
50770 main ()
50772 _qfpclass(0);
50774 return 0;
50776 _ACEOF
50777 if ac_fn_cxx_try_compile "$LINENO"; then :
50778 glibcxx_cv_func__qfpclass_use=yes
50779 else
50780 glibcxx_cv_func__qfpclass_use=no
50782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50783 ac_ext=c
50784 ac_cpp='$CPP $CPPFLAGS'
50785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
50794 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
50796 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
50797 for ac_func in _qfpclass
50798 do :
50799 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
50800 if test "x$ac_cv_func__qfpclass" = xyes; then :
50801 cat >>confdefs.h <<_ACEOF
50802 #define HAVE__QFPCLASS 1
50803 _ACEOF
50806 done
50815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
50816 $as_echo_n "checking for hypot declaration... " >&6; }
50817 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
50818 if ${glibcxx_cv_func_hypot_use+:} false; then :
50819 $as_echo_n "(cached) " >&6
50820 else
50823 ac_ext=cpp
50824 ac_cpp='$CXXCPP $CPPFLAGS'
50825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50830 /* end confdefs.h. */
50831 #include <math.h>
50833 main ()
50835 hypot(0, 0);
50837 return 0;
50839 _ACEOF
50840 if ac_fn_cxx_try_compile "$LINENO"; then :
50841 glibcxx_cv_func_hypot_use=yes
50842 else
50843 glibcxx_cv_func_hypot_use=no
50845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50846 ac_ext=c
50847 ac_cpp='$CPP $CPPFLAGS'
50848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
50857 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
50859 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
50860 for ac_func in hypot
50861 do :
50862 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
50863 if test "x$ac_cv_func_hypot" = xyes; then :
50864 cat >>confdefs.h <<_ACEOF
50865 #define HAVE_HYPOT 1
50866 _ACEOF
50869 done
50871 else
50873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
50874 $as_echo_n "checking for _hypot declaration... " >&6; }
50875 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
50876 if ${glibcxx_cv_func__hypot_use+:} false; then :
50877 $as_echo_n "(cached) " >&6
50878 else
50881 ac_ext=cpp
50882 ac_cpp='$CXXCPP $CPPFLAGS'
50883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50888 /* end confdefs.h. */
50889 #include <math.h>
50891 main ()
50893 _hypot(0, 0);
50895 return 0;
50897 _ACEOF
50898 if ac_fn_cxx_try_compile "$LINENO"; then :
50899 glibcxx_cv_func__hypot_use=yes
50900 else
50901 glibcxx_cv_func__hypot_use=no
50903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50904 ac_ext=c
50905 ac_cpp='$CPP $CPPFLAGS'
50906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
50915 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
50917 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
50918 for ac_func in _hypot
50919 do :
50920 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
50921 if test "x$ac_cv_func__hypot" = xyes; then :
50922 cat >>confdefs.h <<_ACEOF
50923 #define HAVE__HYPOT 1
50924 _ACEOF
50927 done
50936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
50937 $as_echo_n "checking for float trig functions... " >&6; }
50938 if ${glibcxx_cv_func_float_trig_use+:} false; then :
50939 $as_echo_n "(cached) " >&6
50940 else
50943 ac_ext=cpp
50944 ac_cpp='$CXXCPP $CPPFLAGS'
50945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50950 /* end confdefs.h. */
50951 #include <math.h>
50953 main ()
50955 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
50957 return 0;
50959 _ACEOF
50960 if ac_fn_cxx_try_compile "$LINENO"; then :
50961 glibcxx_cv_func_float_trig_use=yes
50962 else
50963 glibcxx_cv_func_float_trig_use=no
50965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50966 ac_ext=c
50967 ac_cpp='$CPP $CPPFLAGS'
50968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
50975 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
50976 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
50977 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
50978 do :
50979 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50980 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50981 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
50982 cat >>confdefs.h <<_ACEOF
50983 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50984 _ACEOF
50987 done
50989 else
50990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
50991 $as_echo_n "checking for _float trig functions... " >&6; }
50992 if ${glibcxx_cv_func__float_trig_use+:} false; then :
50993 $as_echo_n "(cached) " >&6
50994 else
50997 ac_ext=cpp
50998 ac_cpp='$CXXCPP $CPPFLAGS'
50999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51004 /* end confdefs.h. */
51005 #include <math.h>
51007 main ()
51009 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
51011 return 0;
51013 _ACEOF
51014 if ac_fn_cxx_try_compile "$LINENO"; then :
51015 glibcxx_cv_func__float_trig_use=yes
51016 else
51017 glibcxx_cv_func__float_trig_use=no
51019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51020 ac_ext=c
51021 ac_cpp='$CPP $CPPFLAGS'
51022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
51029 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
51030 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
51031 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
51032 do :
51033 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51034 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51035 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51036 cat >>confdefs.h <<_ACEOF
51037 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51038 _ACEOF
51041 done
51050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
51051 $as_echo_n "checking for float round functions... " >&6; }
51052 if ${glibcxx_cv_func_float_round_use+:} false; then :
51053 $as_echo_n "(cached) " >&6
51054 else
51057 ac_ext=cpp
51058 ac_cpp='$CXXCPP $CPPFLAGS'
51059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51064 /* end confdefs.h. */
51065 #include <math.h>
51067 main ()
51069 ceilf (0); floorf (0);
51071 return 0;
51073 _ACEOF
51074 if ac_fn_cxx_try_compile "$LINENO"; then :
51075 glibcxx_cv_func_float_round_use=yes
51076 else
51077 glibcxx_cv_func_float_round_use=no
51079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51080 ac_ext=c
51081 ac_cpp='$CPP $CPPFLAGS'
51082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
51089 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
51090 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
51091 for ac_func in ceilf floorf
51092 do :
51093 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51094 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51095 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51096 cat >>confdefs.h <<_ACEOF
51097 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51098 _ACEOF
51101 done
51103 else
51104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
51105 $as_echo_n "checking for _float round functions... " >&6; }
51106 if ${glibcxx_cv_func__float_round_use+:} false; then :
51107 $as_echo_n "(cached) " >&6
51108 else
51111 ac_ext=cpp
51112 ac_cpp='$CXXCPP $CPPFLAGS'
51113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51118 /* end confdefs.h. */
51119 #include <math.h>
51121 main ()
51123 _ceilf (0); _floorf (0);
51125 return 0;
51127 _ACEOF
51128 if ac_fn_cxx_try_compile "$LINENO"; then :
51129 glibcxx_cv_func__float_round_use=yes
51130 else
51131 glibcxx_cv_func__float_round_use=no
51133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51134 ac_ext=c
51135 ac_cpp='$CPP $CPPFLAGS'
51136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
51143 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
51144 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
51145 for ac_func in _ceilf _floorf
51146 do :
51147 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51148 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51149 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51150 cat >>confdefs.h <<_ACEOF
51151 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51152 _ACEOF
51155 done
51165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
51166 $as_echo_n "checking for expf declaration... " >&6; }
51167 if test x${glibcxx_cv_func_expf_use+set} != xset; then
51168 if ${glibcxx_cv_func_expf_use+:} false; then :
51169 $as_echo_n "(cached) " >&6
51170 else
51173 ac_ext=cpp
51174 ac_cpp='$CXXCPP $CPPFLAGS'
51175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51180 /* end confdefs.h. */
51181 #include <math.h>
51182 #ifdef HAVE_IEEEFP_H
51183 #include <ieeefp.h>
51184 #endif
51187 main ()
51189 expf(0);
51191 return 0;
51193 _ACEOF
51194 if ac_fn_cxx_try_compile "$LINENO"; then :
51195 glibcxx_cv_func_expf_use=yes
51196 else
51197 glibcxx_cv_func_expf_use=no
51199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51200 ac_ext=c
51201 ac_cpp='$CPP $CPPFLAGS'
51202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
51211 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
51213 if test x$glibcxx_cv_func_expf_use = x"yes"; then
51214 for ac_func in expf
51215 do :
51216 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
51217 if test "x$ac_cv_func_expf" = xyes; then :
51218 cat >>confdefs.h <<_ACEOF
51219 #define HAVE_EXPF 1
51220 _ACEOF
51223 done
51225 else
51227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
51228 $as_echo_n "checking for _expf declaration... " >&6; }
51229 if test x${glibcxx_cv_func__expf_use+set} != xset; then
51230 if ${glibcxx_cv_func__expf_use+:} false; then :
51231 $as_echo_n "(cached) " >&6
51232 else
51235 ac_ext=cpp
51236 ac_cpp='$CXXCPP $CPPFLAGS'
51237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51242 /* end confdefs.h. */
51243 #include <math.h>
51244 #ifdef HAVE_IEEEFP_H
51245 #include <ieeefp.h>
51246 #endif
51249 main ()
51251 _expf(0);
51253 return 0;
51255 _ACEOF
51256 if ac_fn_cxx_try_compile "$LINENO"; then :
51257 glibcxx_cv_func__expf_use=yes
51258 else
51259 glibcxx_cv_func__expf_use=no
51261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51262 ac_ext=c
51263 ac_cpp='$CPP $CPPFLAGS'
51264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
51273 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
51275 if test x$glibcxx_cv_func__expf_use = x"yes"; then
51276 for ac_func in _expf
51277 do :
51278 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
51279 if test "x$ac_cv_func__expf" = xyes; then :
51280 cat >>confdefs.h <<_ACEOF
51281 #define HAVE__EXPF 1
51282 _ACEOF
51285 done
51294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
51295 $as_echo_n "checking for isnanf declaration... " >&6; }
51296 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
51297 if ${glibcxx_cv_func_isnanf_use+:} false; then :
51298 $as_echo_n "(cached) " >&6
51299 else
51302 ac_ext=cpp
51303 ac_cpp='$CXXCPP $CPPFLAGS'
51304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51309 /* end confdefs.h. */
51310 #include <math.h>
51311 #ifdef HAVE_IEEEFP_H
51312 #include <ieeefp.h>
51313 #endif
51316 main ()
51318 isnanf(0);
51320 return 0;
51322 _ACEOF
51323 if ac_fn_cxx_try_compile "$LINENO"; then :
51324 glibcxx_cv_func_isnanf_use=yes
51325 else
51326 glibcxx_cv_func_isnanf_use=no
51328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51329 ac_ext=c
51330 ac_cpp='$CPP $CPPFLAGS'
51331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
51340 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
51342 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
51343 for ac_func in isnanf
51344 do :
51345 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
51346 if test "x$ac_cv_func_isnanf" = xyes; then :
51347 cat >>confdefs.h <<_ACEOF
51348 #define HAVE_ISNANF 1
51349 _ACEOF
51352 done
51354 else
51356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
51357 $as_echo_n "checking for _isnanf declaration... " >&6; }
51358 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
51359 if ${glibcxx_cv_func__isnanf_use+:} false; then :
51360 $as_echo_n "(cached) " >&6
51361 else
51364 ac_ext=cpp
51365 ac_cpp='$CXXCPP $CPPFLAGS'
51366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51371 /* end confdefs.h. */
51372 #include <math.h>
51373 #ifdef HAVE_IEEEFP_H
51374 #include <ieeefp.h>
51375 #endif
51378 main ()
51380 _isnanf(0);
51382 return 0;
51384 _ACEOF
51385 if ac_fn_cxx_try_compile "$LINENO"; then :
51386 glibcxx_cv_func__isnanf_use=yes
51387 else
51388 glibcxx_cv_func__isnanf_use=no
51390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51391 ac_ext=c
51392 ac_cpp='$CPP $CPPFLAGS'
51393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
51402 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
51404 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
51405 for ac_func in _isnanf
51406 do :
51407 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
51408 if test "x$ac_cv_func__isnanf" = xyes; then :
51409 cat >>confdefs.h <<_ACEOF
51410 #define HAVE__ISNANF 1
51411 _ACEOF
51414 done
51423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
51424 $as_echo_n "checking for isinff declaration... " >&6; }
51425 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
51426 if ${glibcxx_cv_func_isinff_use+:} false; then :
51427 $as_echo_n "(cached) " >&6
51428 else
51431 ac_ext=cpp
51432 ac_cpp='$CXXCPP $CPPFLAGS'
51433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51438 /* end confdefs.h. */
51439 #include <math.h>
51440 #ifdef HAVE_IEEEFP_H
51441 #include <ieeefp.h>
51442 #endif
51445 main ()
51447 isinff(0);
51449 return 0;
51451 _ACEOF
51452 if ac_fn_cxx_try_compile "$LINENO"; then :
51453 glibcxx_cv_func_isinff_use=yes
51454 else
51455 glibcxx_cv_func_isinff_use=no
51457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51458 ac_ext=c
51459 ac_cpp='$CPP $CPPFLAGS'
51460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
51469 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
51471 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
51472 for ac_func in isinff
51473 do :
51474 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
51475 if test "x$ac_cv_func_isinff" = xyes; then :
51476 cat >>confdefs.h <<_ACEOF
51477 #define HAVE_ISINFF 1
51478 _ACEOF
51481 done
51483 else
51485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
51486 $as_echo_n "checking for _isinff declaration... " >&6; }
51487 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
51488 if ${glibcxx_cv_func__isinff_use+:} false; then :
51489 $as_echo_n "(cached) " >&6
51490 else
51493 ac_ext=cpp
51494 ac_cpp='$CXXCPP $CPPFLAGS'
51495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51500 /* end confdefs.h. */
51501 #include <math.h>
51502 #ifdef HAVE_IEEEFP_H
51503 #include <ieeefp.h>
51504 #endif
51507 main ()
51509 _isinff(0);
51511 return 0;
51513 _ACEOF
51514 if ac_fn_cxx_try_compile "$LINENO"; then :
51515 glibcxx_cv_func__isinff_use=yes
51516 else
51517 glibcxx_cv_func__isinff_use=no
51519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51520 ac_ext=c
51521 ac_cpp='$CPP $CPPFLAGS'
51522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
51531 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
51533 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
51534 for ac_func in _isinff
51535 do :
51536 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
51537 if test "x$ac_cv_func__isinff" = xyes; then :
51538 cat >>confdefs.h <<_ACEOF
51539 #define HAVE__ISINFF 1
51540 _ACEOF
51543 done
51552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
51553 $as_echo_n "checking for atan2f declaration... " >&6; }
51554 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
51555 if ${glibcxx_cv_func_atan2f_use+:} false; then :
51556 $as_echo_n "(cached) " >&6
51557 else
51560 ac_ext=cpp
51561 ac_cpp='$CXXCPP $CPPFLAGS'
51562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51567 /* end confdefs.h. */
51568 #include <math.h>
51570 main ()
51572 atan2f(0, 0);
51574 return 0;
51576 _ACEOF
51577 if ac_fn_cxx_try_compile "$LINENO"; then :
51578 glibcxx_cv_func_atan2f_use=yes
51579 else
51580 glibcxx_cv_func_atan2f_use=no
51582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51583 ac_ext=c
51584 ac_cpp='$CPP $CPPFLAGS'
51585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
51594 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
51596 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
51597 for ac_func in atan2f
51598 do :
51599 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
51600 if test "x$ac_cv_func_atan2f" = xyes; then :
51601 cat >>confdefs.h <<_ACEOF
51602 #define HAVE_ATAN2F 1
51603 _ACEOF
51606 done
51608 else
51610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
51611 $as_echo_n "checking for _atan2f declaration... " >&6; }
51612 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
51613 if ${glibcxx_cv_func__atan2f_use+:} false; then :
51614 $as_echo_n "(cached) " >&6
51615 else
51618 ac_ext=cpp
51619 ac_cpp='$CXXCPP $CPPFLAGS'
51620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51625 /* end confdefs.h. */
51626 #include <math.h>
51628 main ()
51630 _atan2f(0, 0);
51632 return 0;
51634 _ACEOF
51635 if ac_fn_cxx_try_compile "$LINENO"; then :
51636 glibcxx_cv_func__atan2f_use=yes
51637 else
51638 glibcxx_cv_func__atan2f_use=no
51640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51641 ac_ext=c
51642 ac_cpp='$CPP $CPPFLAGS'
51643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
51652 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
51654 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
51655 for ac_func in _atan2f
51656 do :
51657 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
51658 if test "x$ac_cv_func__atan2f" = xyes; then :
51659 cat >>confdefs.h <<_ACEOF
51660 #define HAVE__ATAN2F 1
51661 _ACEOF
51664 done
51673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
51674 $as_echo_n "checking for fabsf declaration... " >&6; }
51675 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
51676 if ${glibcxx_cv_func_fabsf_use+:} false; then :
51677 $as_echo_n "(cached) " >&6
51678 else
51681 ac_ext=cpp
51682 ac_cpp='$CXXCPP $CPPFLAGS'
51683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51688 /* end confdefs.h. */
51689 #include <math.h>
51690 #ifdef HAVE_IEEEFP_H
51691 #include <ieeefp.h>
51692 #endif
51695 main ()
51697 fabsf(0);
51699 return 0;
51701 _ACEOF
51702 if ac_fn_cxx_try_compile "$LINENO"; then :
51703 glibcxx_cv_func_fabsf_use=yes
51704 else
51705 glibcxx_cv_func_fabsf_use=no
51707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51708 ac_ext=c
51709 ac_cpp='$CPP $CPPFLAGS'
51710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
51719 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
51721 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
51722 for ac_func in fabsf
51723 do :
51724 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
51725 if test "x$ac_cv_func_fabsf" = xyes; then :
51726 cat >>confdefs.h <<_ACEOF
51727 #define HAVE_FABSF 1
51728 _ACEOF
51731 done
51733 else
51735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
51736 $as_echo_n "checking for _fabsf declaration... " >&6; }
51737 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
51738 if ${glibcxx_cv_func__fabsf_use+:} false; then :
51739 $as_echo_n "(cached) " >&6
51740 else
51743 ac_ext=cpp
51744 ac_cpp='$CXXCPP $CPPFLAGS'
51745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51750 /* end confdefs.h. */
51751 #include <math.h>
51752 #ifdef HAVE_IEEEFP_H
51753 #include <ieeefp.h>
51754 #endif
51757 main ()
51759 _fabsf(0);
51761 return 0;
51763 _ACEOF
51764 if ac_fn_cxx_try_compile "$LINENO"; then :
51765 glibcxx_cv_func__fabsf_use=yes
51766 else
51767 glibcxx_cv_func__fabsf_use=no
51769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51770 ac_ext=c
51771 ac_cpp='$CPP $CPPFLAGS'
51772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
51781 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
51783 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
51784 for ac_func in _fabsf
51785 do :
51786 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
51787 if test "x$ac_cv_func__fabsf" = xyes; then :
51788 cat >>confdefs.h <<_ACEOF
51789 #define HAVE__FABSF 1
51790 _ACEOF
51793 done
51802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
51803 $as_echo_n "checking for fmodf declaration... " >&6; }
51804 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
51805 if ${glibcxx_cv_func_fmodf_use+:} false; then :
51806 $as_echo_n "(cached) " >&6
51807 else
51810 ac_ext=cpp
51811 ac_cpp='$CXXCPP $CPPFLAGS'
51812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51817 /* end confdefs.h. */
51818 #include <math.h>
51820 main ()
51822 fmodf(0, 0);
51824 return 0;
51826 _ACEOF
51827 if ac_fn_cxx_try_compile "$LINENO"; then :
51828 glibcxx_cv_func_fmodf_use=yes
51829 else
51830 glibcxx_cv_func_fmodf_use=no
51832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51833 ac_ext=c
51834 ac_cpp='$CPP $CPPFLAGS'
51835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
51844 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
51846 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
51847 for ac_func in fmodf
51848 do :
51849 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
51850 if test "x$ac_cv_func_fmodf" = xyes; then :
51851 cat >>confdefs.h <<_ACEOF
51852 #define HAVE_FMODF 1
51853 _ACEOF
51856 done
51858 else
51860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
51861 $as_echo_n "checking for _fmodf declaration... " >&6; }
51862 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
51863 if ${glibcxx_cv_func__fmodf_use+:} false; then :
51864 $as_echo_n "(cached) " >&6
51865 else
51868 ac_ext=cpp
51869 ac_cpp='$CXXCPP $CPPFLAGS'
51870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51875 /* end confdefs.h. */
51876 #include <math.h>
51878 main ()
51880 _fmodf(0, 0);
51882 return 0;
51884 _ACEOF
51885 if ac_fn_cxx_try_compile "$LINENO"; then :
51886 glibcxx_cv_func__fmodf_use=yes
51887 else
51888 glibcxx_cv_func__fmodf_use=no
51890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51891 ac_ext=c
51892 ac_cpp='$CPP $CPPFLAGS'
51893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
51902 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
51904 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
51905 for ac_func in _fmodf
51906 do :
51907 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
51908 if test "x$ac_cv_func__fmodf" = xyes; then :
51909 cat >>confdefs.h <<_ACEOF
51910 #define HAVE__FMODF 1
51911 _ACEOF
51914 done
51923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
51924 $as_echo_n "checking for frexpf declaration... " >&6; }
51925 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
51926 if ${glibcxx_cv_func_frexpf_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>
51941 main ()
51943 frexpf(0, 0);
51945 return 0;
51947 _ACEOF
51948 if ac_fn_cxx_try_compile "$LINENO"; then :
51949 glibcxx_cv_func_frexpf_use=yes
51950 else
51951 glibcxx_cv_func_frexpf_use=no
51953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51954 ac_ext=c
51955 ac_cpp='$CPP $CPPFLAGS'
51956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
51965 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
51967 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
51968 for ac_func in frexpf
51969 do :
51970 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
51971 if test "x$ac_cv_func_frexpf" = xyes; then :
51972 cat >>confdefs.h <<_ACEOF
51973 #define HAVE_FREXPF 1
51974 _ACEOF
51977 done
51979 else
51981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
51982 $as_echo_n "checking for _frexpf declaration... " >&6; }
51983 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
51984 if ${glibcxx_cv_func__frexpf_use+:} false; then :
51985 $as_echo_n "(cached) " >&6
51986 else
51989 ac_ext=cpp
51990 ac_cpp='$CXXCPP $CPPFLAGS'
51991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51996 /* end confdefs.h. */
51997 #include <math.h>
51999 main ()
52001 _frexpf(0, 0);
52003 return 0;
52005 _ACEOF
52006 if ac_fn_cxx_try_compile "$LINENO"; then :
52007 glibcxx_cv_func__frexpf_use=yes
52008 else
52009 glibcxx_cv_func__frexpf_use=no
52011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52012 ac_ext=c
52013 ac_cpp='$CPP $CPPFLAGS'
52014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
52023 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
52025 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
52026 for ac_func in _frexpf
52027 do :
52028 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
52029 if test "x$ac_cv_func__frexpf" = xyes; then :
52030 cat >>confdefs.h <<_ACEOF
52031 #define HAVE__FREXPF 1
52032 _ACEOF
52035 done
52044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
52045 $as_echo_n "checking for hypotf declaration... " >&6; }
52046 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
52047 if ${glibcxx_cv_func_hypotf_use+:} false; then :
52048 $as_echo_n "(cached) " >&6
52049 else
52052 ac_ext=cpp
52053 ac_cpp='$CXXCPP $CPPFLAGS'
52054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52059 /* end confdefs.h. */
52060 #include <math.h>
52062 main ()
52064 hypotf(0, 0);
52066 return 0;
52068 _ACEOF
52069 if ac_fn_cxx_try_compile "$LINENO"; then :
52070 glibcxx_cv_func_hypotf_use=yes
52071 else
52072 glibcxx_cv_func_hypotf_use=no
52074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52075 ac_ext=c
52076 ac_cpp='$CPP $CPPFLAGS'
52077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
52086 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
52088 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
52089 for ac_func in hypotf
52090 do :
52091 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
52092 if test "x$ac_cv_func_hypotf" = xyes; then :
52093 cat >>confdefs.h <<_ACEOF
52094 #define HAVE_HYPOTF 1
52095 _ACEOF
52098 done
52100 else
52102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
52103 $as_echo_n "checking for _hypotf declaration... " >&6; }
52104 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
52105 if ${glibcxx_cv_func__hypotf_use+:} false; then :
52106 $as_echo_n "(cached) " >&6
52107 else
52110 ac_ext=cpp
52111 ac_cpp='$CXXCPP $CPPFLAGS'
52112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52117 /* end confdefs.h. */
52118 #include <math.h>
52120 main ()
52122 _hypotf(0, 0);
52124 return 0;
52126 _ACEOF
52127 if ac_fn_cxx_try_compile "$LINENO"; then :
52128 glibcxx_cv_func__hypotf_use=yes
52129 else
52130 glibcxx_cv_func__hypotf_use=no
52132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52133 ac_ext=c
52134 ac_cpp='$CPP $CPPFLAGS'
52135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
52144 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
52146 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
52147 for ac_func in _hypotf
52148 do :
52149 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
52150 if test "x$ac_cv_func__hypotf" = xyes; then :
52151 cat >>confdefs.h <<_ACEOF
52152 #define HAVE__HYPOTF 1
52153 _ACEOF
52156 done
52165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
52166 $as_echo_n "checking for ldexpf declaration... " >&6; }
52167 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
52168 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
52169 $as_echo_n "(cached) " >&6
52170 else
52173 ac_ext=cpp
52174 ac_cpp='$CXXCPP $CPPFLAGS'
52175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52180 /* end confdefs.h. */
52181 #include <math.h>
52183 main ()
52185 ldexpf(0, 0);
52187 return 0;
52189 _ACEOF
52190 if ac_fn_cxx_try_compile "$LINENO"; then :
52191 glibcxx_cv_func_ldexpf_use=yes
52192 else
52193 glibcxx_cv_func_ldexpf_use=no
52195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52196 ac_ext=c
52197 ac_cpp='$CPP $CPPFLAGS'
52198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
52207 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
52209 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
52210 for ac_func in ldexpf
52211 do :
52212 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
52213 if test "x$ac_cv_func_ldexpf" = xyes; then :
52214 cat >>confdefs.h <<_ACEOF
52215 #define HAVE_LDEXPF 1
52216 _ACEOF
52219 done
52221 else
52223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
52224 $as_echo_n "checking for _ldexpf declaration... " >&6; }
52225 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
52226 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
52227 $as_echo_n "(cached) " >&6
52228 else
52231 ac_ext=cpp
52232 ac_cpp='$CXXCPP $CPPFLAGS'
52233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52238 /* end confdefs.h. */
52239 #include <math.h>
52241 main ()
52243 _ldexpf(0, 0);
52245 return 0;
52247 _ACEOF
52248 if ac_fn_cxx_try_compile "$LINENO"; then :
52249 glibcxx_cv_func__ldexpf_use=yes
52250 else
52251 glibcxx_cv_func__ldexpf_use=no
52253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52254 ac_ext=c
52255 ac_cpp='$CPP $CPPFLAGS'
52256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
52265 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
52267 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
52268 for ac_func in _ldexpf
52269 do :
52270 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
52271 if test "x$ac_cv_func__ldexpf" = xyes; then :
52272 cat >>confdefs.h <<_ACEOF
52273 #define HAVE__LDEXPF 1
52274 _ACEOF
52277 done
52286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
52287 $as_echo_n "checking for logf declaration... " >&6; }
52288 if test x${glibcxx_cv_func_logf_use+set} != xset; then
52289 if ${glibcxx_cv_func_logf_use+:} false; then :
52290 $as_echo_n "(cached) " >&6
52291 else
52294 ac_ext=cpp
52295 ac_cpp='$CXXCPP $CPPFLAGS'
52296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52301 /* end confdefs.h. */
52302 #include <math.h>
52303 #ifdef HAVE_IEEEFP_H
52304 #include <ieeefp.h>
52305 #endif
52308 main ()
52310 logf(0);
52312 return 0;
52314 _ACEOF
52315 if ac_fn_cxx_try_compile "$LINENO"; then :
52316 glibcxx_cv_func_logf_use=yes
52317 else
52318 glibcxx_cv_func_logf_use=no
52320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52321 ac_ext=c
52322 ac_cpp='$CPP $CPPFLAGS'
52323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
52332 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
52334 if test x$glibcxx_cv_func_logf_use = x"yes"; then
52335 for ac_func in logf
52336 do :
52337 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
52338 if test "x$ac_cv_func_logf" = xyes; then :
52339 cat >>confdefs.h <<_ACEOF
52340 #define HAVE_LOGF 1
52341 _ACEOF
52344 done
52346 else
52348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
52349 $as_echo_n "checking for _logf declaration... " >&6; }
52350 if test x${glibcxx_cv_func__logf_use+set} != xset; then
52351 if ${glibcxx_cv_func__logf_use+:} false; then :
52352 $as_echo_n "(cached) " >&6
52353 else
52356 ac_ext=cpp
52357 ac_cpp='$CXXCPP $CPPFLAGS'
52358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52363 /* end confdefs.h. */
52364 #include <math.h>
52365 #ifdef HAVE_IEEEFP_H
52366 #include <ieeefp.h>
52367 #endif
52370 main ()
52372 _logf(0);
52374 return 0;
52376 _ACEOF
52377 if ac_fn_cxx_try_compile "$LINENO"; then :
52378 glibcxx_cv_func__logf_use=yes
52379 else
52380 glibcxx_cv_func__logf_use=no
52382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52383 ac_ext=c
52384 ac_cpp='$CPP $CPPFLAGS'
52385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
52394 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
52396 if test x$glibcxx_cv_func__logf_use = x"yes"; then
52397 for ac_func in _logf
52398 do :
52399 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
52400 if test "x$ac_cv_func__logf" = xyes; then :
52401 cat >>confdefs.h <<_ACEOF
52402 #define HAVE__LOGF 1
52403 _ACEOF
52406 done
52415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
52416 $as_echo_n "checking for log10f declaration... " >&6; }
52417 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
52418 if ${glibcxx_cv_func_log10f_use+:} false; then :
52419 $as_echo_n "(cached) " >&6
52420 else
52423 ac_ext=cpp
52424 ac_cpp='$CXXCPP $CPPFLAGS'
52425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52430 /* end confdefs.h. */
52431 #include <math.h>
52432 #ifdef HAVE_IEEEFP_H
52433 #include <ieeefp.h>
52434 #endif
52437 main ()
52439 log10f(0);
52441 return 0;
52443 _ACEOF
52444 if ac_fn_cxx_try_compile "$LINENO"; then :
52445 glibcxx_cv_func_log10f_use=yes
52446 else
52447 glibcxx_cv_func_log10f_use=no
52449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52450 ac_ext=c
52451 ac_cpp='$CPP $CPPFLAGS'
52452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
52461 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
52463 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
52464 for ac_func in log10f
52465 do :
52466 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
52467 if test "x$ac_cv_func_log10f" = xyes; then :
52468 cat >>confdefs.h <<_ACEOF
52469 #define HAVE_LOG10F 1
52470 _ACEOF
52473 done
52475 else
52477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
52478 $as_echo_n "checking for _log10f declaration... " >&6; }
52479 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
52480 if ${glibcxx_cv_func__log10f_use+:} false; then :
52481 $as_echo_n "(cached) " >&6
52482 else
52485 ac_ext=cpp
52486 ac_cpp='$CXXCPP $CPPFLAGS'
52487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52492 /* end confdefs.h. */
52493 #include <math.h>
52494 #ifdef HAVE_IEEEFP_H
52495 #include <ieeefp.h>
52496 #endif
52499 main ()
52501 _log10f(0);
52503 return 0;
52505 _ACEOF
52506 if ac_fn_cxx_try_compile "$LINENO"; then :
52507 glibcxx_cv_func__log10f_use=yes
52508 else
52509 glibcxx_cv_func__log10f_use=no
52511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52512 ac_ext=c
52513 ac_cpp='$CPP $CPPFLAGS'
52514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
52523 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
52525 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
52526 for ac_func in _log10f
52527 do :
52528 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
52529 if test "x$ac_cv_func__log10f" = xyes; then :
52530 cat >>confdefs.h <<_ACEOF
52531 #define HAVE__LOG10F 1
52532 _ACEOF
52535 done
52544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
52545 $as_echo_n "checking for modff declaration... " >&6; }
52546 if test x${glibcxx_cv_func_modff_use+set} != xset; then
52547 if ${glibcxx_cv_func_modff_use+:} false; then :
52548 $as_echo_n "(cached) " >&6
52549 else
52552 ac_ext=cpp
52553 ac_cpp='$CXXCPP $CPPFLAGS'
52554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52559 /* end confdefs.h. */
52560 #include <math.h>
52562 main ()
52564 modff(0, 0);
52566 return 0;
52568 _ACEOF
52569 if ac_fn_cxx_try_compile "$LINENO"; then :
52570 glibcxx_cv_func_modff_use=yes
52571 else
52572 glibcxx_cv_func_modff_use=no
52574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52575 ac_ext=c
52576 ac_cpp='$CPP $CPPFLAGS'
52577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
52586 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
52588 if test x$glibcxx_cv_func_modff_use = x"yes"; then
52589 for ac_func in modff
52590 do :
52591 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
52592 if test "x$ac_cv_func_modff" = xyes; then :
52593 cat >>confdefs.h <<_ACEOF
52594 #define HAVE_MODFF 1
52595 _ACEOF
52598 done
52600 else
52602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
52603 $as_echo_n "checking for _modff declaration... " >&6; }
52604 if test x${glibcxx_cv_func__modff_use+set} != xset; then
52605 if ${glibcxx_cv_func__modff_use+:} false; then :
52606 $as_echo_n "(cached) " >&6
52607 else
52610 ac_ext=cpp
52611 ac_cpp='$CXXCPP $CPPFLAGS'
52612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52617 /* end confdefs.h. */
52618 #include <math.h>
52620 main ()
52622 _modff(0, 0);
52624 return 0;
52626 _ACEOF
52627 if ac_fn_cxx_try_compile "$LINENO"; then :
52628 glibcxx_cv_func__modff_use=yes
52629 else
52630 glibcxx_cv_func__modff_use=no
52632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52633 ac_ext=c
52634 ac_cpp='$CPP $CPPFLAGS'
52635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
52644 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
52646 if test x$glibcxx_cv_func__modff_use = x"yes"; then
52647 for ac_func in _modff
52648 do :
52649 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
52650 if test "x$ac_cv_func__modff" = xyes; then :
52651 cat >>confdefs.h <<_ACEOF
52652 #define HAVE__MODFF 1
52653 _ACEOF
52656 done
52665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
52666 $as_echo_n "checking for modf declaration... " >&6; }
52667 if test x${glibcxx_cv_func_modf_use+set} != xset; then
52668 if ${glibcxx_cv_func_modf_use+:} false; then :
52669 $as_echo_n "(cached) " >&6
52670 else
52673 ac_ext=cpp
52674 ac_cpp='$CXXCPP $CPPFLAGS'
52675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52680 /* end confdefs.h. */
52681 #include <math.h>
52683 main ()
52685 modf(0, 0);
52687 return 0;
52689 _ACEOF
52690 if ac_fn_cxx_try_compile "$LINENO"; then :
52691 glibcxx_cv_func_modf_use=yes
52692 else
52693 glibcxx_cv_func_modf_use=no
52695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52696 ac_ext=c
52697 ac_cpp='$CPP $CPPFLAGS'
52698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
52707 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
52709 if test x$glibcxx_cv_func_modf_use = x"yes"; then
52710 for ac_func in modf
52711 do :
52712 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
52713 if test "x$ac_cv_func_modf" = xyes; then :
52714 cat >>confdefs.h <<_ACEOF
52715 #define HAVE_MODF 1
52716 _ACEOF
52719 done
52721 else
52723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
52724 $as_echo_n "checking for _modf declaration... " >&6; }
52725 if test x${glibcxx_cv_func__modf_use+set} != xset; then
52726 if ${glibcxx_cv_func__modf_use+:} false; then :
52727 $as_echo_n "(cached) " >&6
52728 else
52731 ac_ext=cpp
52732 ac_cpp='$CXXCPP $CPPFLAGS'
52733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52738 /* end confdefs.h. */
52739 #include <math.h>
52741 main ()
52743 _modf(0, 0);
52745 return 0;
52747 _ACEOF
52748 if ac_fn_cxx_try_compile "$LINENO"; then :
52749 glibcxx_cv_func__modf_use=yes
52750 else
52751 glibcxx_cv_func__modf_use=no
52753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52754 ac_ext=c
52755 ac_cpp='$CPP $CPPFLAGS'
52756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
52765 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
52767 if test x$glibcxx_cv_func__modf_use = x"yes"; then
52768 for ac_func in _modf
52769 do :
52770 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
52771 if test "x$ac_cv_func__modf" = xyes; then :
52772 cat >>confdefs.h <<_ACEOF
52773 #define HAVE__MODF 1
52774 _ACEOF
52777 done
52786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
52787 $as_echo_n "checking for powf declaration... " >&6; }
52788 if test x${glibcxx_cv_func_powf_use+set} != xset; then
52789 if ${glibcxx_cv_func_powf_use+:} false; then :
52790 $as_echo_n "(cached) " >&6
52791 else
52794 ac_ext=cpp
52795 ac_cpp='$CXXCPP $CPPFLAGS'
52796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52801 /* end confdefs.h. */
52802 #include <math.h>
52804 main ()
52806 powf(0, 0);
52808 return 0;
52810 _ACEOF
52811 if ac_fn_cxx_try_compile "$LINENO"; then :
52812 glibcxx_cv_func_powf_use=yes
52813 else
52814 glibcxx_cv_func_powf_use=no
52816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52817 ac_ext=c
52818 ac_cpp='$CPP $CPPFLAGS'
52819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
52828 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
52830 if test x$glibcxx_cv_func_powf_use = x"yes"; then
52831 for ac_func in powf
52832 do :
52833 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
52834 if test "x$ac_cv_func_powf" = xyes; then :
52835 cat >>confdefs.h <<_ACEOF
52836 #define HAVE_POWF 1
52837 _ACEOF
52840 done
52842 else
52844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
52845 $as_echo_n "checking for _powf declaration... " >&6; }
52846 if test x${glibcxx_cv_func__powf_use+set} != xset; then
52847 if ${glibcxx_cv_func__powf_use+:} false; then :
52848 $as_echo_n "(cached) " >&6
52849 else
52852 ac_ext=cpp
52853 ac_cpp='$CXXCPP $CPPFLAGS'
52854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52859 /* end confdefs.h. */
52860 #include <math.h>
52862 main ()
52864 _powf(0, 0);
52866 return 0;
52868 _ACEOF
52869 if ac_fn_cxx_try_compile "$LINENO"; then :
52870 glibcxx_cv_func__powf_use=yes
52871 else
52872 glibcxx_cv_func__powf_use=no
52874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52875 ac_ext=c
52876 ac_cpp='$CPP $CPPFLAGS'
52877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
52886 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
52888 if test x$glibcxx_cv_func__powf_use = x"yes"; then
52889 for ac_func in _powf
52890 do :
52891 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
52892 if test "x$ac_cv_func__powf" = xyes; then :
52893 cat >>confdefs.h <<_ACEOF
52894 #define HAVE__POWF 1
52895 _ACEOF
52898 done
52907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
52908 $as_echo_n "checking for sqrtf declaration... " >&6; }
52909 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
52910 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
52911 $as_echo_n "(cached) " >&6
52912 else
52915 ac_ext=cpp
52916 ac_cpp='$CXXCPP $CPPFLAGS'
52917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52922 /* end confdefs.h. */
52923 #include <math.h>
52924 #ifdef HAVE_IEEEFP_H
52925 #include <ieeefp.h>
52926 #endif
52929 main ()
52931 sqrtf(0);
52933 return 0;
52935 _ACEOF
52936 if ac_fn_cxx_try_compile "$LINENO"; then :
52937 glibcxx_cv_func_sqrtf_use=yes
52938 else
52939 glibcxx_cv_func_sqrtf_use=no
52941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52942 ac_ext=c
52943 ac_cpp='$CPP $CPPFLAGS'
52944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
52953 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
52955 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
52956 for ac_func in sqrtf
52957 do :
52958 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
52959 if test "x$ac_cv_func_sqrtf" = xyes; then :
52960 cat >>confdefs.h <<_ACEOF
52961 #define HAVE_SQRTF 1
52962 _ACEOF
52965 done
52967 else
52969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
52970 $as_echo_n "checking for _sqrtf declaration... " >&6; }
52971 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
52972 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
52973 $as_echo_n "(cached) " >&6
52974 else
52977 ac_ext=cpp
52978 ac_cpp='$CXXCPP $CPPFLAGS'
52979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52984 /* end confdefs.h. */
52985 #include <math.h>
52986 #ifdef HAVE_IEEEFP_H
52987 #include <ieeefp.h>
52988 #endif
52991 main ()
52993 _sqrtf(0);
52995 return 0;
52997 _ACEOF
52998 if ac_fn_cxx_try_compile "$LINENO"; then :
52999 glibcxx_cv_func__sqrtf_use=yes
53000 else
53001 glibcxx_cv_func__sqrtf_use=no
53003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53004 ac_ext=c
53005 ac_cpp='$CPP $CPPFLAGS'
53006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
53015 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
53017 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
53018 for ac_func in _sqrtf
53019 do :
53020 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
53021 if test "x$ac_cv_func__sqrtf" = xyes; then :
53022 cat >>confdefs.h <<_ACEOF
53023 #define HAVE__SQRTF 1
53024 _ACEOF
53027 done
53036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
53037 $as_echo_n "checking for sincosf declaration... " >&6; }
53038 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
53039 if ${glibcxx_cv_func_sincosf_use+:} false; then :
53040 $as_echo_n "(cached) " >&6
53041 else
53044 ac_ext=cpp
53045 ac_cpp='$CXXCPP $CPPFLAGS'
53046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53051 /* end confdefs.h. */
53052 #include <math.h>
53054 main ()
53056 sincosf(0, 0, 0);
53058 return 0;
53060 _ACEOF
53061 if ac_fn_cxx_try_compile "$LINENO"; then :
53062 glibcxx_cv_func_sincosf_use=yes
53063 else
53064 glibcxx_cv_func_sincosf_use=no
53066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53067 ac_ext=c
53068 ac_cpp='$CPP $CPPFLAGS'
53069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
53078 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
53080 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
53081 for ac_func in sincosf
53082 do :
53083 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
53084 if test "x$ac_cv_func_sincosf" = xyes; then :
53085 cat >>confdefs.h <<_ACEOF
53086 #define HAVE_SINCOSF 1
53087 _ACEOF
53090 done
53092 else
53094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
53095 $as_echo_n "checking for _sincosf declaration... " >&6; }
53096 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
53097 if ${glibcxx_cv_func__sincosf_use+:} false; then :
53098 $as_echo_n "(cached) " >&6
53099 else
53102 ac_ext=cpp
53103 ac_cpp='$CXXCPP $CPPFLAGS'
53104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53109 /* end confdefs.h. */
53110 #include <math.h>
53112 main ()
53114 _sincosf(0, 0, 0);
53116 return 0;
53118 _ACEOF
53119 if ac_fn_cxx_try_compile "$LINENO"; then :
53120 glibcxx_cv_func__sincosf_use=yes
53121 else
53122 glibcxx_cv_func__sincosf_use=no
53124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53125 ac_ext=c
53126 ac_cpp='$CPP $CPPFLAGS'
53127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
53136 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
53138 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
53139 for ac_func in _sincosf
53140 do :
53141 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
53142 if test "x$ac_cv_func__sincosf" = xyes; then :
53143 cat >>confdefs.h <<_ACEOF
53144 #define HAVE__SINCOSF 1
53145 _ACEOF
53148 done
53157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
53158 $as_echo_n "checking for finitef declaration... " >&6; }
53159 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
53160 if ${glibcxx_cv_func_finitef_use+:} false; then :
53161 $as_echo_n "(cached) " >&6
53162 else
53165 ac_ext=cpp
53166 ac_cpp='$CXXCPP $CPPFLAGS'
53167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53172 /* end confdefs.h. */
53173 #include <math.h>
53174 #ifdef HAVE_IEEEFP_H
53175 #include <ieeefp.h>
53176 #endif
53179 main ()
53181 finitef(0);
53183 return 0;
53185 _ACEOF
53186 if ac_fn_cxx_try_compile "$LINENO"; then :
53187 glibcxx_cv_func_finitef_use=yes
53188 else
53189 glibcxx_cv_func_finitef_use=no
53191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53192 ac_ext=c
53193 ac_cpp='$CPP $CPPFLAGS'
53194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
53203 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
53205 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
53206 for ac_func in finitef
53207 do :
53208 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
53209 if test "x$ac_cv_func_finitef" = xyes; then :
53210 cat >>confdefs.h <<_ACEOF
53211 #define HAVE_FINITEF 1
53212 _ACEOF
53215 done
53217 else
53219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
53220 $as_echo_n "checking for _finitef declaration... " >&6; }
53221 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
53222 if ${glibcxx_cv_func__finitef_use+:} false; then :
53223 $as_echo_n "(cached) " >&6
53224 else
53227 ac_ext=cpp
53228 ac_cpp='$CXXCPP $CPPFLAGS'
53229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53234 /* end confdefs.h. */
53235 #include <math.h>
53236 #ifdef HAVE_IEEEFP_H
53237 #include <ieeefp.h>
53238 #endif
53241 main ()
53243 _finitef(0);
53245 return 0;
53247 _ACEOF
53248 if ac_fn_cxx_try_compile "$LINENO"; then :
53249 glibcxx_cv_func__finitef_use=yes
53250 else
53251 glibcxx_cv_func__finitef_use=no
53253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53254 ac_ext=c
53255 ac_cpp='$CPP $CPPFLAGS'
53256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
53265 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
53267 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
53268 for ac_func in _finitef
53269 do :
53270 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
53271 if test "x$ac_cv_func__finitef" = xyes; then :
53272 cat >>confdefs.h <<_ACEOF
53273 #define HAVE__FINITEF 1
53274 _ACEOF
53277 done
53286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
53287 $as_echo_n "checking for long double trig functions... " >&6; }
53288 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
53289 $as_echo_n "(cached) " >&6
53290 else
53293 ac_ext=cpp
53294 ac_cpp='$CXXCPP $CPPFLAGS'
53295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53300 /* end confdefs.h. */
53301 #include <math.h>
53303 main ()
53305 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
53307 return 0;
53309 _ACEOF
53310 if ac_fn_cxx_try_compile "$LINENO"; then :
53311 glibcxx_cv_func_long_double_trig_use=yes
53312 else
53313 glibcxx_cv_func_long_double_trig_use=no
53315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53316 ac_ext=c
53317 ac_cpp='$CPP $CPPFLAGS'
53318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
53325 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
53326 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
53327 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
53328 do :
53329 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53330 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53331 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
53332 cat >>confdefs.h <<_ACEOF
53333 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53334 _ACEOF
53337 done
53339 else
53340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
53341 $as_echo_n "checking for _long double trig functions... " >&6; }
53342 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
53343 $as_echo_n "(cached) " >&6
53344 else
53347 ac_ext=cpp
53348 ac_cpp='$CXXCPP $CPPFLAGS'
53349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53354 /* end confdefs.h. */
53355 #include <math.h>
53357 main ()
53359 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
53361 return 0;
53363 _ACEOF
53364 if ac_fn_cxx_try_compile "$LINENO"; then :
53365 glibcxx_cv_func__long_double_trig_use=yes
53366 else
53367 glibcxx_cv_func__long_double_trig_use=no
53369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53370 ac_ext=c
53371 ac_cpp='$CPP $CPPFLAGS'
53372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
53379 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
53380 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
53381 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
53382 do :
53383 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53384 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53385 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
53386 cat >>confdefs.h <<_ACEOF
53387 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53388 _ACEOF
53391 done
53400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
53401 $as_echo_n "checking for long double round functions... " >&6; }
53402 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
53403 $as_echo_n "(cached) " >&6
53404 else
53407 ac_ext=cpp
53408 ac_cpp='$CXXCPP $CPPFLAGS'
53409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53414 /* end confdefs.h. */
53415 #include <math.h>
53417 main ()
53419 ceill (0); floorl (0);
53421 return 0;
53423 _ACEOF
53424 if ac_fn_cxx_try_compile "$LINENO"; then :
53425 glibcxx_cv_func_long_double_round_use=yes
53426 else
53427 glibcxx_cv_func_long_double_round_use=no
53429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53430 ac_ext=c
53431 ac_cpp='$CPP $CPPFLAGS'
53432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
53439 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
53440 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
53441 for ac_func in ceill floorl
53442 do :
53443 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53444 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53445 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
53446 cat >>confdefs.h <<_ACEOF
53447 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53448 _ACEOF
53451 done
53453 else
53454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
53455 $as_echo_n "checking for _long double round functions... " >&6; }
53456 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
53457 $as_echo_n "(cached) " >&6
53458 else
53461 ac_ext=cpp
53462 ac_cpp='$CXXCPP $CPPFLAGS'
53463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53468 /* end confdefs.h. */
53469 #include <math.h>
53471 main ()
53473 _ceill (0); _floorl (0);
53475 return 0;
53477 _ACEOF
53478 if ac_fn_cxx_try_compile "$LINENO"; then :
53479 glibcxx_cv_func__long_double_round_use=yes
53480 else
53481 glibcxx_cv_func__long_double_round_use=no
53483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53484 ac_ext=c
53485 ac_cpp='$CPP $CPPFLAGS'
53486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
53493 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
53494 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
53495 for ac_func in _ceill _floorl
53496 do :
53497 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53498 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53499 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
53500 cat >>confdefs.h <<_ACEOF
53501 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53502 _ACEOF
53505 done
53515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
53516 $as_echo_n "checking for isnanl declaration... " >&6; }
53517 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
53518 if ${glibcxx_cv_func_isnanl_use+:} false; then :
53519 $as_echo_n "(cached) " >&6
53520 else
53523 ac_ext=cpp
53524 ac_cpp='$CXXCPP $CPPFLAGS'
53525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53530 /* end confdefs.h. */
53531 #include <math.h>
53532 #ifdef HAVE_IEEEFP_H
53533 #include <ieeefp.h>
53534 #endif
53537 main ()
53539 isnanl(0);
53541 return 0;
53543 _ACEOF
53544 if ac_fn_cxx_try_compile "$LINENO"; then :
53545 glibcxx_cv_func_isnanl_use=yes
53546 else
53547 glibcxx_cv_func_isnanl_use=no
53549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53550 ac_ext=c
53551 ac_cpp='$CPP $CPPFLAGS'
53552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
53561 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
53563 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
53564 for ac_func in isnanl
53565 do :
53566 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
53567 if test "x$ac_cv_func_isnanl" = xyes; then :
53568 cat >>confdefs.h <<_ACEOF
53569 #define HAVE_ISNANL 1
53570 _ACEOF
53573 done
53575 else
53577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
53578 $as_echo_n "checking for _isnanl declaration... " >&6; }
53579 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
53580 if ${glibcxx_cv_func__isnanl_use+:} false; then :
53581 $as_echo_n "(cached) " >&6
53582 else
53585 ac_ext=cpp
53586 ac_cpp='$CXXCPP $CPPFLAGS'
53587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53592 /* end confdefs.h. */
53593 #include <math.h>
53594 #ifdef HAVE_IEEEFP_H
53595 #include <ieeefp.h>
53596 #endif
53599 main ()
53601 _isnanl(0);
53603 return 0;
53605 _ACEOF
53606 if ac_fn_cxx_try_compile "$LINENO"; then :
53607 glibcxx_cv_func__isnanl_use=yes
53608 else
53609 glibcxx_cv_func__isnanl_use=no
53611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53612 ac_ext=c
53613 ac_cpp='$CPP $CPPFLAGS'
53614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
53623 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
53625 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
53626 for ac_func in _isnanl
53627 do :
53628 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
53629 if test "x$ac_cv_func__isnanl" = xyes; then :
53630 cat >>confdefs.h <<_ACEOF
53631 #define HAVE__ISNANL 1
53632 _ACEOF
53635 done
53644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
53645 $as_echo_n "checking for isinfl declaration... " >&6; }
53646 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
53647 if ${glibcxx_cv_func_isinfl_use+:} false; then :
53648 $as_echo_n "(cached) " >&6
53649 else
53652 ac_ext=cpp
53653 ac_cpp='$CXXCPP $CPPFLAGS'
53654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53659 /* end confdefs.h. */
53660 #include <math.h>
53661 #ifdef HAVE_IEEEFP_H
53662 #include <ieeefp.h>
53663 #endif
53666 main ()
53668 isinfl(0);
53670 return 0;
53672 _ACEOF
53673 if ac_fn_cxx_try_compile "$LINENO"; then :
53674 glibcxx_cv_func_isinfl_use=yes
53675 else
53676 glibcxx_cv_func_isinfl_use=no
53678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53679 ac_ext=c
53680 ac_cpp='$CPP $CPPFLAGS'
53681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
53690 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
53692 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
53693 for ac_func in isinfl
53694 do :
53695 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
53696 if test "x$ac_cv_func_isinfl" = xyes; then :
53697 cat >>confdefs.h <<_ACEOF
53698 #define HAVE_ISINFL 1
53699 _ACEOF
53702 done
53704 else
53706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
53707 $as_echo_n "checking for _isinfl declaration... " >&6; }
53708 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
53709 if ${glibcxx_cv_func__isinfl_use+:} false; then :
53710 $as_echo_n "(cached) " >&6
53711 else
53714 ac_ext=cpp
53715 ac_cpp='$CXXCPP $CPPFLAGS'
53716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53721 /* end confdefs.h. */
53722 #include <math.h>
53723 #ifdef HAVE_IEEEFP_H
53724 #include <ieeefp.h>
53725 #endif
53728 main ()
53730 _isinfl(0);
53732 return 0;
53734 _ACEOF
53735 if ac_fn_cxx_try_compile "$LINENO"; then :
53736 glibcxx_cv_func__isinfl_use=yes
53737 else
53738 glibcxx_cv_func__isinfl_use=no
53740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53741 ac_ext=c
53742 ac_cpp='$CPP $CPPFLAGS'
53743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
53752 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
53754 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
53755 for ac_func in _isinfl
53756 do :
53757 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
53758 if test "x$ac_cv_func__isinfl" = xyes; then :
53759 cat >>confdefs.h <<_ACEOF
53760 #define HAVE__ISINFL 1
53761 _ACEOF
53764 done
53773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
53774 $as_echo_n "checking for atan2l declaration... " >&6; }
53775 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
53776 if ${glibcxx_cv_func_atan2l_use+:} false; then :
53777 $as_echo_n "(cached) " >&6
53778 else
53781 ac_ext=cpp
53782 ac_cpp='$CXXCPP $CPPFLAGS'
53783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53788 /* end confdefs.h. */
53789 #include <math.h>
53791 main ()
53793 atan2l(0, 0);
53795 return 0;
53797 _ACEOF
53798 if ac_fn_cxx_try_compile "$LINENO"; then :
53799 glibcxx_cv_func_atan2l_use=yes
53800 else
53801 glibcxx_cv_func_atan2l_use=no
53803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53804 ac_ext=c
53805 ac_cpp='$CPP $CPPFLAGS'
53806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
53815 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
53817 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
53818 for ac_func in atan2l
53819 do :
53820 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
53821 if test "x$ac_cv_func_atan2l" = xyes; then :
53822 cat >>confdefs.h <<_ACEOF
53823 #define HAVE_ATAN2L 1
53824 _ACEOF
53827 done
53829 else
53831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
53832 $as_echo_n "checking for _atan2l declaration... " >&6; }
53833 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
53834 if ${glibcxx_cv_func__atan2l_use+:} false; then :
53835 $as_echo_n "(cached) " >&6
53836 else
53839 ac_ext=cpp
53840 ac_cpp='$CXXCPP $CPPFLAGS'
53841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53846 /* end confdefs.h. */
53847 #include <math.h>
53849 main ()
53851 _atan2l(0, 0);
53853 return 0;
53855 _ACEOF
53856 if ac_fn_cxx_try_compile "$LINENO"; then :
53857 glibcxx_cv_func__atan2l_use=yes
53858 else
53859 glibcxx_cv_func__atan2l_use=no
53861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53862 ac_ext=c
53863 ac_cpp='$CPP $CPPFLAGS'
53864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
53873 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
53875 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
53876 for ac_func in _atan2l
53877 do :
53878 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
53879 if test "x$ac_cv_func__atan2l" = xyes; then :
53880 cat >>confdefs.h <<_ACEOF
53881 #define HAVE__ATAN2L 1
53882 _ACEOF
53885 done
53894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
53895 $as_echo_n "checking for expl declaration... " >&6; }
53896 if test x${glibcxx_cv_func_expl_use+set} != xset; then
53897 if ${glibcxx_cv_func_expl_use+:} false; then :
53898 $as_echo_n "(cached) " >&6
53899 else
53902 ac_ext=cpp
53903 ac_cpp='$CXXCPP $CPPFLAGS'
53904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53909 /* end confdefs.h. */
53910 #include <math.h>
53911 #ifdef HAVE_IEEEFP_H
53912 #include <ieeefp.h>
53913 #endif
53916 main ()
53918 expl(0);
53920 return 0;
53922 _ACEOF
53923 if ac_fn_cxx_try_compile "$LINENO"; then :
53924 glibcxx_cv_func_expl_use=yes
53925 else
53926 glibcxx_cv_func_expl_use=no
53928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53929 ac_ext=c
53930 ac_cpp='$CPP $CPPFLAGS'
53931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
53940 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
53942 if test x$glibcxx_cv_func_expl_use = x"yes"; then
53943 for ac_func in expl
53944 do :
53945 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
53946 if test "x$ac_cv_func_expl" = xyes; then :
53947 cat >>confdefs.h <<_ACEOF
53948 #define HAVE_EXPL 1
53949 _ACEOF
53952 done
53954 else
53956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
53957 $as_echo_n "checking for _expl declaration... " >&6; }
53958 if test x${glibcxx_cv_func__expl_use+set} != xset; then
53959 if ${glibcxx_cv_func__expl_use+:} false; then :
53960 $as_echo_n "(cached) " >&6
53961 else
53964 ac_ext=cpp
53965 ac_cpp='$CXXCPP $CPPFLAGS'
53966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53971 /* end confdefs.h. */
53972 #include <math.h>
53973 #ifdef HAVE_IEEEFP_H
53974 #include <ieeefp.h>
53975 #endif
53978 main ()
53980 _expl(0);
53982 return 0;
53984 _ACEOF
53985 if ac_fn_cxx_try_compile "$LINENO"; then :
53986 glibcxx_cv_func__expl_use=yes
53987 else
53988 glibcxx_cv_func__expl_use=no
53990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53991 ac_ext=c
53992 ac_cpp='$CPP $CPPFLAGS'
53993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
54002 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
54004 if test x$glibcxx_cv_func__expl_use = x"yes"; then
54005 for ac_func in _expl
54006 do :
54007 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
54008 if test "x$ac_cv_func__expl" = xyes; then :
54009 cat >>confdefs.h <<_ACEOF
54010 #define HAVE__EXPL 1
54011 _ACEOF
54014 done
54023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
54024 $as_echo_n "checking for fabsl declaration... " >&6; }
54025 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
54026 if ${glibcxx_cv_func_fabsl_use+:} false; then :
54027 $as_echo_n "(cached) " >&6
54028 else
54031 ac_ext=cpp
54032 ac_cpp='$CXXCPP $CPPFLAGS'
54033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54038 /* end confdefs.h. */
54039 #include <math.h>
54040 #ifdef HAVE_IEEEFP_H
54041 #include <ieeefp.h>
54042 #endif
54045 main ()
54047 fabsl(0);
54049 return 0;
54051 _ACEOF
54052 if ac_fn_cxx_try_compile "$LINENO"; then :
54053 glibcxx_cv_func_fabsl_use=yes
54054 else
54055 glibcxx_cv_func_fabsl_use=no
54057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54058 ac_ext=c
54059 ac_cpp='$CPP $CPPFLAGS'
54060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
54069 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
54071 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
54072 for ac_func in fabsl
54073 do :
54074 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
54075 if test "x$ac_cv_func_fabsl" = xyes; then :
54076 cat >>confdefs.h <<_ACEOF
54077 #define HAVE_FABSL 1
54078 _ACEOF
54081 done
54083 else
54085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
54086 $as_echo_n "checking for _fabsl declaration... " >&6; }
54087 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
54088 if ${glibcxx_cv_func__fabsl_use+:} false; then :
54089 $as_echo_n "(cached) " >&6
54090 else
54093 ac_ext=cpp
54094 ac_cpp='$CXXCPP $CPPFLAGS'
54095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54100 /* end confdefs.h. */
54101 #include <math.h>
54102 #ifdef HAVE_IEEEFP_H
54103 #include <ieeefp.h>
54104 #endif
54107 main ()
54109 _fabsl(0);
54111 return 0;
54113 _ACEOF
54114 if ac_fn_cxx_try_compile "$LINENO"; then :
54115 glibcxx_cv_func__fabsl_use=yes
54116 else
54117 glibcxx_cv_func__fabsl_use=no
54119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54120 ac_ext=c
54121 ac_cpp='$CPP $CPPFLAGS'
54122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
54131 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
54133 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
54134 for ac_func in _fabsl
54135 do :
54136 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
54137 if test "x$ac_cv_func__fabsl" = xyes; then :
54138 cat >>confdefs.h <<_ACEOF
54139 #define HAVE__FABSL 1
54140 _ACEOF
54143 done
54152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
54153 $as_echo_n "checking for fmodl declaration... " >&6; }
54154 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
54155 if ${glibcxx_cv_func_fmodl_use+:} false; then :
54156 $as_echo_n "(cached) " >&6
54157 else
54160 ac_ext=cpp
54161 ac_cpp='$CXXCPP $CPPFLAGS'
54162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54167 /* end confdefs.h. */
54168 #include <math.h>
54170 main ()
54172 fmodl(0, 0);
54174 return 0;
54176 _ACEOF
54177 if ac_fn_cxx_try_compile "$LINENO"; then :
54178 glibcxx_cv_func_fmodl_use=yes
54179 else
54180 glibcxx_cv_func_fmodl_use=no
54182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54183 ac_ext=c
54184 ac_cpp='$CPP $CPPFLAGS'
54185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
54194 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
54196 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
54197 for ac_func in fmodl
54198 do :
54199 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
54200 if test "x$ac_cv_func_fmodl" = xyes; then :
54201 cat >>confdefs.h <<_ACEOF
54202 #define HAVE_FMODL 1
54203 _ACEOF
54206 done
54208 else
54210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
54211 $as_echo_n "checking for _fmodl declaration... " >&6; }
54212 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
54213 if ${glibcxx_cv_func__fmodl_use+:} false; then :
54214 $as_echo_n "(cached) " >&6
54215 else
54218 ac_ext=cpp
54219 ac_cpp='$CXXCPP $CPPFLAGS'
54220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54225 /* end confdefs.h. */
54226 #include <math.h>
54228 main ()
54230 _fmodl(0, 0);
54232 return 0;
54234 _ACEOF
54235 if ac_fn_cxx_try_compile "$LINENO"; then :
54236 glibcxx_cv_func__fmodl_use=yes
54237 else
54238 glibcxx_cv_func__fmodl_use=no
54240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54241 ac_ext=c
54242 ac_cpp='$CPP $CPPFLAGS'
54243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
54252 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
54254 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
54255 for ac_func in _fmodl
54256 do :
54257 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
54258 if test "x$ac_cv_func__fmodl" = xyes; then :
54259 cat >>confdefs.h <<_ACEOF
54260 #define HAVE__FMODL 1
54261 _ACEOF
54264 done
54273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
54274 $as_echo_n "checking for frexpl declaration... " >&6; }
54275 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
54276 if ${glibcxx_cv_func_frexpl_use+:} false; then :
54277 $as_echo_n "(cached) " >&6
54278 else
54281 ac_ext=cpp
54282 ac_cpp='$CXXCPP $CPPFLAGS'
54283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54288 /* end confdefs.h. */
54289 #include <math.h>
54291 main ()
54293 frexpl(0, 0);
54295 return 0;
54297 _ACEOF
54298 if ac_fn_cxx_try_compile "$LINENO"; then :
54299 glibcxx_cv_func_frexpl_use=yes
54300 else
54301 glibcxx_cv_func_frexpl_use=no
54303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54304 ac_ext=c
54305 ac_cpp='$CPP $CPPFLAGS'
54306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
54315 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
54317 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
54318 for ac_func in frexpl
54319 do :
54320 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
54321 if test "x$ac_cv_func_frexpl" = xyes; then :
54322 cat >>confdefs.h <<_ACEOF
54323 #define HAVE_FREXPL 1
54324 _ACEOF
54327 done
54329 else
54331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
54332 $as_echo_n "checking for _frexpl declaration... " >&6; }
54333 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
54334 if ${glibcxx_cv_func__frexpl_use+:} false; then :
54335 $as_echo_n "(cached) " >&6
54336 else
54339 ac_ext=cpp
54340 ac_cpp='$CXXCPP $CPPFLAGS'
54341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54346 /* end confdefs.h. */
54347 #include <math.h>
54349 main ()
54351 _frexpl(0, 0);
54353 return 0;
54355 _ACEOF
54356 if ac_fn_cxx_try_compile "$LINENO"; then :
54357 glibcxx_cv_func__frexpl_use=yes
54358 else
54359 glibcxx_cv_func__frexpl_use=no
54361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54362 ac_ext=c
54363 ac_cpp='$CPP $CPPFLAGS'
54364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
54373 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
54375 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
54376 for ac_func in _frexpl
54377 do :
54378 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
54379 if test "x$ac_cv_func__frexpl" = xyes; then :
54380 cat >>confdefs.h <<_ACEOF
54381 #define HAVE__FREXPL 1
54382 _ACEOF
54385 done
54394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
54395 $as_echo_n "checking for hypotl declaration... " >&6; }
54396 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
54397 if ${glibcxx_cv_func_hypotl_use+:} false; then :
54398 $as_echo_n "(cached) " >&6
54399 else
54402 ac_ext=cpp
54403 ac_cpp='$CXXCPP $CPPFLAGS'
54404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54409 /* end confdefs.h. */
54410 #include <math.h>
54412 main ()
54414 hypotl(0, 0);
54416 return 0;
54418 _ACEOF
54419 if ac_fn_cxx_try_compile "$LINENO"; then :
54420 glibcxx_cv_func_hypotl_use=yes
54421 else
54422 glibcxx_cv_func_hypotl_use=no
54424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54425 ac_ext=c
54426 ac_cpp='$CPP $CPPFLAGS'
54427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
54436 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
54438 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
54439 for ac_func in hypotl
54440 do :
54441 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
54442 if test "x$ac_cv_func_hypotl" = xyes; then :
54443 cat >>confdefs.h <<_ACEOF
54444 #define HAVE_HYPOTL 1
54445 _ACEOF
54448 done
54450 else
54452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
54453 $as_echo_n "checking for _hypotl declaration... " >&6; }
54454 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
54455 if ${glibcxx_cv_func__hypotl_use+:} false; then :
54456 $as_echo_n "(cached) " >&6
54457 else
54460 ac_ext=cpp
54461 ac_cpp='$CXXCPP $CPPFLAGS'
54462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54467 /* end confdefs.h. */
54468 #include <math.h>
54470 main ()
54472 _hypotl(0, 0);
54474 return 0;
54476 _ACEOF
54477 if ac_fn_cxx_try_compile "$LINENO"; then :
54478 glibcxx_cv_func__hypotl_use=yes
54479 else
54480 glibcxx_cv_func__hypotl_use=no
54482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54483 ac_ext=c
54484 ac_cpp='$CPP $CPPFLAGS'
54485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
54494 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
54496 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
54497 for ac_func in _hypotl
54498 do :
54499 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
54500 if test "x$ac_cv_func__hypotl" = xyes; then :
54501 cat >>confdefs.h <<_ACEOF
54502 #define HAVE__HYPOTL 1
54503 _ACEOF
54506 done
54515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
54516 $as_echo_n "checking for ldexpl declaration... " >&6; }
54517 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
54518 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
54519 $as_echo_n "(cached) " >&6
54520 else
54523 ac_ext=cpp
54524 ac_cpp='$CXXCPP $CPPFLAGS'
54525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54530 /* end confdefs.h. */
54531 #include <math.h>
54533 main ()
54535 ldexpl(0, 0);
54537 return 0;
54539 _ACEOF
54540 if ac_fn_cxx_try_compile "$LINENO"; then :
54541 glibcxx_cv_func_ldexpl_use=yes
54542 else
54543 glibcxx_cv_func_ldexpl_use=no
54545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54546 ac_ext=c
54547 ac_cpp='$CPP $CPPFLAGS'
54548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
54557 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
54559 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
54560 for ac_func in ldexpl
54561 do :
54562 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
54563 if test "x$ac_cv_func_ldexpl" = xyes; then :
54564 cat >>confdefs.h <<_ACEOF
54565 #define HAVE_LDEXPL 1
54566 _ACEOF
54569 done
54571 else
54573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
54574 $as_echo_n "checking for _ldexpl declaration... " >&6; }
54575 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
54576 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
54577 $as_echo_n "(cached) " >&6
54578 else
54581 ac_ext=cpp
54582 ac_cpp='$CXXCPP $CPPFLAGS'
54583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54588 /* end confdefs.h. */
54589 #include <math.h>
54591 main ()
54593 _ldexpl(0, 0);
54595 return 0;
54597 _ACEOF
54598 if ac_fn_cxx_try_compile "$LINENO"; then :
54599 glibcxx_cv_func__ldexpl_use=yes
54600 else
54601 glibcxx_cv_func__ldexpl_use=no
54603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54604 ac_ext=c
54605 ac_cpp='$CPP $CPPFLAGS'
54606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
54615 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
54617 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
54618 for ac_func in _ldexpl
54619 do :
54620 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
54621 if test "x$ac_cv_func__ldexpl" = xyes; then :
54622 cat >>confdefs.h <<_ACEOF
54623 #define HAVE__LDEXPL 1
54624 _ACEOF
54627 done
54636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
54637 $as_echo_n "checking for logl declaration... " >&6; }
54638 if test x${glibcxx_cv_func_logl_use+set} != xset; then
54639 if ${glibcxx_cv_func_logl_use+:} false; then :
54640 $as_echo_n "(cached) " >&6
54641 else
54644 ac_ext=cpp
54645 ac_cpp='$CXXCPP $CPPFLAGS'
54646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54651 /* end confdefs.h. */
54652 #include <math.h>
54653 #ifdef HAVE_IEEEFP_H
54654 #include <ieeefp.h>
54655 #endif
54658 main ()
54660 logl(0);
54662 return 0;
54664 _ACEOF
54665 if ac_fn_cxx_try_compile "$LINENO"; then :
54666 glibcxx_cv_func_logl_use=yes
54667 else
54668 glibcxx_cv_func_logl_use=no
54670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54671 ac_ext=c
54672 ac_cpp='$CPP $CPPFLAGS'
54673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
54682 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
54684 if test x$glibcxx_cv_func_logl_use = x"yes"; then
54685 for ac_func in logl
54686 do :
54687 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
54688 if test "x$ac_cv_func_logl" = xyes; then :
54689 cat >>confdefs.h <<_ACEOF
54690 #define HAVE_LOGL 1
54691 _ACEOF
54694 done
54696 else
54698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
54699 $as_echo_n "checking for _logl declaration... " >&6; }
54700 if test x${glibcxx_cv_func__logl_use+set} != xset; then
54701 if ${glibcxx_cv_func__logl_use+:} false; then :
54702 $as_echo_n "(cached) " >&6
54703 else
54706 ac_ext=cpp
54707 ac_cpp='$CXXCPP $CPPFLAGS'
54708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54713 /* end confdefs.h. */
54714 #include <math.h>
54715 #ifdef HAVE_IEEEFP_H
54716 #include <ieeefp.h>
54717 #endif
54720 main ()
54722 _logl(0);
54724 return 0;
54726 _ACEOF
54727 if ac_fn_cxx_try_compile "$LINENO"; then :
54728 glibcxx_cv_func__logl_use=yes
54729 else
54730 glibcxx_cv_func__logl_use=no
54732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54733 ac_ext=c
54734 ac_cpp='$CPP $CPPFLAGS'
54735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
54744 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
54746 if test x$glibcxx_cv_func__logl_use = x"yes"; then
54747 for ac_func in _logl
54748 do :
54749 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
54750 if test "x$ac_cv_func__logl" = xyes; then :
54751 cat >>confdefs.h <<_ACEOF
54752 #define HAVE__LOGL 1
54753 _ACEOF
54756 done
54765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
54766 $as_echo_n "checking for log10l declaration... " >&6; }
54767 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
54768 if ${glibcxx_cv_func_log10l_use+:} false; then :
54769 $as_echo_n "(cached) " >&6
54770 else
54773 ac_ext=cpp
54774 ac_cpp='$CXXCPP $CPPFLAGS'
54775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54780 /* end confdefs.h. */
54781 #include <math.h>
54782 #ifdef HAVE_IEEEFP_H
54783 #include <ieeefp.h>
54784 #endif
54787 main ()
54789 log10l(0);
54791 return 0;
54793 _ACEOF
54794 if ac_fn_cxx_try_compile "$LINENO"; then :
54795 glibcxx_cv_func_log10l_use=yes
54796 else
54797 glibcxx_cv_func_log10l_use=no
54799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54800 ac_ext=c
54801 ac_cpp='$CPP $CPPFLAGS'
54802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
54811 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
54813 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
54814 for ac_func in log10l
54815 do :
54816 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
54817 if test "x$ac_cv_func_log10l" = xyes; then :
54818 cat >>confdefs.h <<_ACEOF
54819 #define HAVE_LOG10L 1
54820 _ACEOF
54823 done
54825 else
54827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
54828 $as_echo_n "checking for _log10l declaration... " >&6; }
54829 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
54830 if ${glibcxx_cv_func__log10l_use+:} false; then :
54831 $as_echo_n "(cached) " >&6
54832 else
54835 ac_ext=cpp
54836 ac_cpp='$CXXCPP $CPPFLAGS'
54837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54842 /* end confdefs.h. */
54843 #include <math.h>
54844 #ifdef HAVE_IEEEFP_H
54845 #include <ieeefp.h>
54846 #endif
54849 main ()
54851 _log10l(0);
54853 return 0;
54855 _ACEOF
54856 if ac_fn_cxx_try_compile "$LINENO"; then :
54857 glibcxx_cv_func__log10l_use=yes
54858 else
54859 glibcxx_cv_func__log10l_use=no
54861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54862 ac_ext=c
54863 ac_cpp='$CPP $CPPFLAGS'
54864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
54873 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
54875 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
54876 for ac_func in _log10l
54877 do :
54878 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
54879 if test "x$ac_cv_func__log10l" = xyes; then :
54880 cat >>confdefs.h <<_ACEOF
54881 #define HAVE__LOG10L 1
54882 _ACEOF
54885 done
54894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
54895 $as_echo_n "checking for modfl declaration... " >&6; }
54896 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
54897 if ${glibcxx_cv_func_modfl_use+:} false; then :
54898 $as_echo_n "(cached) " >&6
54899 else
54902 ac_ext=cpp
54903 ac_cpp='$CXXCPP $CPPFLAGS'
54904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54909 /* end confdefs.h. */
54910 #include <math.h>
54912 main ()
54914 modfl(0, 0);
54916 return 0;
54918 _ACEOF
54919 if ac_fn_cxx_try_compile "$LINENO"; then :
54920 glibcxx_cv_func_modfl_use=yes
54921 else
54922 glibcxx_cv_func_modfl_use=no
54924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54925 ac_ext=c
54926 ac_cpp='$CPP $CPPFLAGS'
54927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
54936 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
54938 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
54939 for ac_func in modfl
54940 do :
54941 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
54942 if test "x$ac_cv_func_modfl" = xyes; then :
54943 cat >>confdefs.h <<_ACEOF
54944 #define HAVE_MODFL 1
54945 _ACEOF
54948 done
54950 else
54952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
54953 $as_echo_n "checking for _modfl declaration... " >&6; }
54954 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
54955 if ${glibcxx_cv_func__modfl_use+:} false; then :
54956 $as_echo_n "(cached) " >&6
54957 else
54960 ac_ext=cpp
54961 ac_cpp='$CXXCPP $CPPFLAGS'
54962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54967 /* end confdefs.h. */
54968 #include <math.h>
54970 main ()
54972 _modfl(0, 0);
54974 return 0;
54976 _ACEOF
54977 if ac_fn_cxx_try_compile "$LINENO"; then :
54978 glibcxx_cv_func__modfl_use=yes
54979 else
54980 glibcxx_cv_func__modfl_use=no
54982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54983 ac_ext=c
54984 ac_cpp='$CPP $CPPFLAGS'
54985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
54994 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
54996 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
54997 for ac_func in _modfl
54998 do :
54999 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
55000 if test "x$ac_cv_func__modfl" = xyes; then :
55001 cat >>confdefs.h <<_ACEOF
55002 #define HAVE__MODFL 1
55003 _ACEOF
55006 done
55015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
55016 $as_echo_n "checking for powl declaration... " >&6; }
55017 if test x${glibcxx_cv_func_powl_use+set} != xset; then
55018 if ${glibcxx_cv_func_powl_use+:} false; then :
55019 $as_echo_n "(cached) " >&6
55020 else
55023 ac_ext=cpp
55024 ac_cpp='$CXXCPP $CPPFLAGS'
55025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55030 /* end confdefs.h. */
55031 #include <math.h>
55033 main ()
55035 powl(0, 0);
55037 return 0;
55039 _ACEOF
55040 if ac_fn_cxx_try_compile "$LINENO"; then :
55041 glibcxx_cv_func_powl_use=yes
55042 else
55043 glibcxx_cv_func_powl_use=no
55045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55046 ac_ext=c
55047 ac_cpp='$CPP $CPPFLAGS'
55048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
55057 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
55059 if test x$glibcxx_cv_func_powl_use = x"yes"; then
55060 for ac_func in powl
55061 do :
55062 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
55063 if test "x$ac_cv_func_powl" = xyes; then :
55064 cat >>confdefs.h <<_ACEOF
55065 #define HAVE_POWL 1
55066 _ACEOF
55069 done
55071 else
55073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
55074 $as_echo_n "checking for _powl declaration... " >&6; }
55075 if test x${glibcxx_cv_func__powl_use+set} != xset; then
55076 if ${glibcxx_cv_func__powl_use+:} false; then :
55077 $as_echo_n "(cached) " >&6
55078 else
55081 ac_ext=cpp
55082 ac_cpp='$CXXCPP $CPPFLAGS'
55083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55088 /* end confdefs.h. */
55089 #include <math.h>
55091 main ()
55093 _powl(0, 0);
55095 return 0;
55097 _ACEOF
55098 if ac_fn_cxx_try_compile "$LINENO"; then :
55099 glibcxx_cv_func__powl_use=yes
55100 else
55101 glibcxx_cv_func__powl_use=no
55103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55104 ac_ext=c
55105 ac_cpp='$CPP $CPPFLAGS'
55106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
55115 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
55117 if test x$glibcxx_cv_func__powl_use = x"yes"; then
55118 for ac_func in _powl
55119 do :
55120 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
55121 if test "x$ac_cv_func__powl" = xyes; then :
55122 cat >>confdefs.h <<_ACEOF
55123 #define HAVE__POWL 1
55124 _ACEOF
55127 done
55136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
55137 $as_echo_n "checking for sqrtl declaration... " >&6; }
55138 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
55139 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
55140 $as_echo_n "(cached) " >&6
55141 else
55144 ac_ext=cpp
55145 ac_cpp='$CXXCPP $CPPFLAGS'
55146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55151 /* end confdefs.h. */
55152 #include <math.h>
55153 #ifdef HAVE_IEEEFP_H
55154 #include <ieeefp.h>
55155 #endif
55158 main ()
55160 sqrtl(0);
55162 return 0;
55164 _ACEOF
55165 if ac_fn_cxx_try_compile "$LINENO"; then :
55166 glibcxx_cv_func_sqrtl_use=yes
55167 else
55168 glibcxx_cv_func_sqrtl_use=no
55170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55171 ac_ext=c
55172 ac_cpp='$CPP $CPPFLAGS'
55173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
55182 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
55184 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
55185 for ac_func in sqrtl
55186 do :
55187 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
55188 if test "x$ac_cv_func_sqrtl" = xyes; then :
55189 cat >>confdefs.h <<_ACEOF
55190 #define HAVE_SQRTL 1
55191 _ACEOF
55194 done
55196 else
55198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
55199 $as_echo_n "checking for _sqrtl declaration... " >&6; }
55200 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
55201 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
55202 $as_echo_n "(cached) " >&6
55203 else
55206 ac_ext=cpp
55207 ac_cpp='$CXXCPP $CPPFLAGS'
55208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55213 /* end confdefs.h. */
55214 #include <math.h>
55215 #ifdef HAVE_IEEEFP_H
55216 #include <ieeefp.h>
55217 #endif
55220 main ()
55222 _sqrtl(0);
55224 return 0;
55226 _ACEOF
55227 if ac_fn_cxx_try_compile "$LINENO"; then :
55228 glibcxx_cv_func__sqrtl_use=yes
55229 else
55230 glibcxx_cv_func__sqrtl_use=no
55232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55233 ac_ext=c
55234 ac_cpp='$CPP $CPPFLAGS'
55235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
55244 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
55246 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
55247 for ac_func in _sqrtl
55248 do :
55249 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
55250 if test "x$ac_cv_func__sqrtl" = xyes; then :
55251 cat >>confdefs.h <<_ACEOF
55252 #define HAVE__SQRTL 1
55253 _ACEOF
55256 done
55265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
55266 $as_echo_n "checking for sincosl declaration... " >&6; }
55267 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
55268 if ${glibcxx_cv_func_sincosl_use+:} false; then :
55269 $as_echo_n "(cached) " >&6
55270 else
55273 ac_ext=cpp
55274 ac_cpp='$CXXCPP $CPPFLAGS'
55275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55280 /* end confdefs.h. */
55281 #include <math.h>
55283 main ()
55285 sincosl(0, 0, 0);
55287 return 0;
55289 _ACEOF
55290 if ac_fn_cxx_try_compile "$LINENO"; then :
55291 glibcxx_cv_func_sincosl_use=yes
55292 else
55293 glibcxx_cv_func_sincosl_use=no
55295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55296 ac_ext=c
55297 ac_cpp='$CPP $CPPFLAGS'
55298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
55307 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
55309 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
55310 for ac_func in sincosl
55311 do :
55312 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
55313 if test "x$ac_cv_func_sincosl" = xyes; then :
55314 cat >>confdefs.h <<_ACEOF
55315 #define HAVE_SINCOSL 1
55316 _ACEOF
55319 done
55321 else
55323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
55324 $as_echo_n "checking for _sincosl declaration... " >&6; }
55325 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
55326 if ${glibcxx_cv_func__sincosl_use+:} false; then :
55327 $as_echo_n "(cached) " >&6
55328 else
55331 ac_ext=cpp
55332 ac_cpp='$CXXCPP $CPPFLAGS'
55333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55338 /* end confdefs.h. */
55339 #include <math.h>
55341 main ()
55343 _sincosl(0, 0, 0);
55345 return 0;
55347 _ACEOF
55348 if ac_fn_cxx_try_compile "$LINENO"; then :
55349 glibcxx_cv_func__sincosl_use=yes
55350 else
55351 glibcxx_cv_func__sincosl_use=no
55353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55354 ac_ext=c
55355 ac_cpp='$CPP $CPPFLAGS'
55356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
55365 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
55367 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
55368 for ac_func in _sincosl
55369 do :
55370 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
55371 if test "x$ac_cv_func__sincosl" = xyes; then :
55372 cat >>confdefs.h <<_ACEOF
55373 #define HAVE__SINCOSL 1
55374 _ACEOF
55377 done
55386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
55387 $as_echo_n "checking for finitel declaration... " >&6; }
55388 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
55389 if ${glibcxx_cv_func_finitel_use+:} false; then :
55390 $as_echo_n "(cached) " >&6
55391 else
55394 ac_ext=cpp
55395 ac_cpp='$CXXCPP $CPPFLAGS'
55396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55401 /* end confdefs.h. */
55402 #include <math.h>
55403 #ifdef HAVE_IEEEFP_H
55404 #include <ieeefp.h>
55405 #endif
55408 main ()
55410 finitel(0);
55412 return 0;
55414 _ACEOF
55415 if ac_fn_cxx_try_compile "$LINENO"; then :
55416 glibcxx_cv_func_finitel_use=yes
55417 else
55418 glibcxx_cv_func_finitel_use=no
55420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55421 ac_ext=c
55422 ac_cpp='$CPP $CPPFLAGS'
55423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
55432 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
55434 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
55435 for ac_func in finitel
55436 do :
55437 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
55438 if test "x$ac_cv_func_finitel" = xyes; then :
55439 cat >>confdefs.h <<_ACEOF
55440 #define HAVE_FINITEL 1
55441 _ACEOF
55444 done
55446 else
55448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
55449 $as_echo_n "checking for _finitel declaration... " >&6; }
55450 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
55451 if ${glibcxx_cv_func__finitel_use+:} false; then :
55452 $as_echo_n "(cached) " >&6
55453 else
55456 ac_ext=cpp
55457 ac_cpp='$CXXCPP $CPPFLAGS'
55458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55463 /* end confdefs.h. */
55464 #include <math.h>
55465 #ifdef HAVE_IEEEFP_H
55466 #include <ieeefp.h>
55467 #endif
55470 main ()
55472 _finitel(0);
55474 return 0;
55476 _ACEOF
55477 if ac_fn_cxx_try_compile "$LINENO"; then :
55478 glibcxx_cv_func__finitel_use=yes
55479 else
55480 glibcxx_cv_func__finitel_use=no
55482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55483 ac_ext=c
55484 ac_cpp='$CPP $CPPFLAGS'
55485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
55494 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
55496 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
55497 for ac_func in _finitel
55498 do :
55499 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
55500 if test "x$ac_cv_func__finitel" = xyes; then :
55501 cat >>confdefs.h <<_ACEOF
55502 #define HAVE__FINITEL 1
55503 _ACEOF
55506 done
55514 LIBS="$ac_save_LIBS"
55515 CXXFLAGS="$ac_save_CXXFLAGS"
55518 ac_test_CXXFLAGS="${CXXFLAGS+set}"
55519 ac_save_CXXFLAGS="$CXXFLAGS"
55520 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
55523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
55524 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
55525 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
55526 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
55527 $as_echo_n "(cached) " >&6
55528 else
55531 ac_ext=cpp
55532 ac_cpp='$CXXCPP $CPPFLAGS'
55533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55538 /* end confdefs.h. */
55539 #include <stdlib.h>
55541 main ()
55543 at_quick_exit(0);
55545 return 0;
55547 _ACEOF
55548 if ac_fn_cxx_try_compile "$LINENO"; then :
55549 glibcxx_cv_func_at_quick_exit_use=yes
55550 else
55551 glibcxx_cv_func_at_quick_exit_use=no
55553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55554 ac_ext=c
55555 ac_cpp='$CPP $CPPFLAGS'
55556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
55565 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
55566 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
55567 for ac_func in at_quick_exit
55568 do :
55569 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
55570 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
55571 cat >>confdefs.h <<_ACEOF
55572 #define HAVE_AT_QUICK_EXIT 1
55573 _ACEOF
55576 done
55581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
55582 $as_echo_n "checking for quick_exit declaration... " >&6; }
55583 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
55584 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
55585 $as_echo_n "(cached) " >&6
55586 else
55589 ac_ext=cpp
55590 ac_cpp='$CXXCPP $CPPFLAGS'
55591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55596 /* end confdefs.h. */
55597 #include <stdlib.h>
55599 main ()
55601 quick_exit(0);
55603 return 0;
55605 _ACEOF
55606 if ac_fn_cxx_try_compile "$LINENO"; then :
55607 glibcxx_cv_func_quick_exit_use=yes
55608 else
55609 glibcxx_cv_func_quick_exit_use=no
55611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55612 ac_ext=c
55613 ac_cpp='$CPP $CPPFLAGS'
55614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
55623 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
55624 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
55625 for ac_func in quick_exit
55626 do :
55627 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
55628 if test "x$ac_cv_func_quick_exit" = xyes; then :
55629 cat >>confdefs.h <<_ACEOF
55630 #define HAVE_QUICK_EXIT 1
55631 _ACEOF
55634 done
55639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
55640 $as_echo_n "checking for strtold declaration... " >&6; }
55641 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
55642 if ${glibcxx_cv_func_strtold_use+:} false; then :
55643 $as_echo_n "(cached) " >&6
55644 else
55647 ac_ext=cpp
55648 ac_cpp='$CXXCPP $CPPFLAGS'
55649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55654 /* end confdefs.h. */
55655 #include <stdlib.h>
55657 main ()
55659 strtold(0, 0);
55661 return 0;
55663 _ACEOF
55664 if ac_fn_cxx_try_compile "$LINENO"; then :
55665 glibcxx_cv_func_strtold_use=yes
55666 else
55667 glibcxx_cv_func_strtold_use=no
55669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55670 ac_ext=c
55671 ac_cpp='$CPP $CPPFLAGS'
55672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
55681 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
55682 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
55683 for ac_func in strtold
55684 do :
55685 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
55686 if test "x$ac_cv_func_strtold" = xyes; then :
55687 cat >>confdefs.h <<_ACEOF
55688 #define HAVE_STRTOLD 1
55689 _ACEOF
55692 done
55699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
55700 $as_echo_n "checking for strtof declaration... " >&6; }
55701 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
55702 if ${glibcxx_cv_func_strtof_use+:} false; then :
55703 $as_echo_n "(cached) " >&6
55704 else
55707 ac_ext=cpp
55708 ac_cpp='$CXXCPP $CPPFLAGS'
55709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55714 /* end confdefs.h. */
55715 #include <stdlib.h>
55717 main ()
55719 strtof(0, 0);
55721 return 0;
55723 _ACEOF
55724 if ac_fn_cxx_try_compile "$LINENO"; then :
55725 glibcxx_cv_func_strtof_use=yes
55726 else
55727 glibcxx_cv_func_strtof_use=no
55729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55730 ac_ext=c
55731 ac_cpp='$CPP $CPPFLAGS'
55732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
55741 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
55742 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
55743 for ac_func in strtof
55744 do :
55745 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
55746 if test "x$ac_cv_func_strtof" = xyes; then :
55747 cat >>confdefs.h <<_ACEOF
55748 #define HAVE_STRTOF 1
55749 _ACEOF
55752 done
55759 CXXFLAGS="$ac_save_CXXFLAGS"
55761 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
55763 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
55767 # Check whether --enable-tls was given.
55768 if test "${enable_tls+set}" = set; then :
55769 enableval=$enable_tls;
55770 case "$enableval" in
55771 yes|no) ;;
55772 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
55773 esac
55775 else
55776 enable_tls=yes
55780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
55781 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
55782 if ${gcc_cv_have_tls+:} false; then :
55783 $as_echo_n "(cached) " >&6
55784 else
55786 if test "$cross_compiling" = yes; then :
55787 if test x$gcc_no_link = xyes; then
55788 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
55790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55791 /* end confdefs.h. */
55792 __thread int a; int b; int main() { return a = b; }
55793 _ACEOF
55794 if ac_fn_c_try_link "$LINENO"; then :
55795 chktls_save_LDFLAGS="$LDFLAGS"
55796 case $host in
55797 *-*-linux* | -*-uclinuxfdpic*)
55798 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
55800 esac
55801 chktls_save_CFLAGS="$CFLAGS"
55802 CFLAGS="-fPIC $CFLAGS"
55803 if test x$gcc_no_link = xyes; then
55804 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
55806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55807 /* end confdefs.h. */
55808 int f() { return 0; }
55809 _ACEOF
55810 if ac_fn_c_try_link "$LINENO"; then :
55811 if test x$gcc_no_link = xyes; then
55812 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
55814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55815 /* end confdefs.h. */
55816 __thread int a; int b; int f() { return a = b; }
55817 _ACEOF
55818 if ac_fn_c_try_link "$LINENO"; then :
55819 gcc_cv_have_tls=yes
55820 else
55821 gcc_cv_have_tls=no
55823 rm -f core conftest.err conftest.$ac_objext \
55824 conftest$ac_exeext conftest.$ac_ext
55825 else
55826 gcc_cv_have_tls=yes
55828 rm -f core conftest.err conftest.$ac_objext \
55829 conftest$ac_exeext conftest.$ac_ext
55830 CFLAGS="$chktls_save_CFLAGS"
55831 LDFLAGS="$chktls_save_LDFLAGS"
55832 else
55833 gcc_cv_have_tls=no
55835 rm -f core conftest.err conftest.$ac_objext \
55836 conftest$ac_exeext conftest.$ac_ext
55839 else
55840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55841 /* end confdefs.h. */
55842 __thread int a; int b; int main() { return a = b; }
55843 _ACEOF
55844 if ac_fn_c_try_run "$LINENO"; then :
55845 chktls_save_LDFLAGS="$LDFLAGS"
55846 LDFLAGS="-static $LDFLAGS"
55847 if test x$gcc_no_link = xyes; then
55848 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
55850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55851 /* end confdefs.h. */
55852 int main() { return 0; }
55853 _ACEOF
55854 if ac_fn_c_try_link "$LINENO"; then :
55855 if test "$cross_compiling" = yes; then :
55856 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
55857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
55858 as_fn_error $? "cannot run test program while cross compiling
55859 See \`config.log' for more details" "$LINENO" 5; }
55860 else
55861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55862 /* end confdefs.h. */
55863 __thread int a; int b; int main() { return a = b; }
55864 _ACEOF
55865 if ac_fn_c_try_run "$LINENO"; then :
55866 gcc_cv_have_tls=yes
55867 else
55868 gcc_cv_have_tls=no
55870 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
55871 conftest.$ac_objext conftest.beam conftest.$ac_ext
55874 else
55875 gcc_cv_have_tls=yes
55877 rm -f core conftest.err conftest.$ac_objext \
55878 conftest$ac_exeext conftest.$ac_ext
55879 LDFLAGS="$chktls_save_LDFLAGS"
55880 if test $gcc_cv_have_tls = yes; then
55881 chktls_save_CFLAGS="$CFLAGS"
55882 thread_CFLAGS=failed
55883 for flag in '' '-pthread' '-lpthread'; do
55884 CFLAGS="$flag $chktls_save_CFLAGS"
55885 if test x$gcc_no_link = xyes; then
55886 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
55888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55889 /* end confdefs.h. */
55890 #include <pthread.h>
55891 void *g(void *d) { return NULL; }
55893 main ()
55895 pthread_t t; pthread_create(&t,NULL,g,NULL);
55897 return 0;
55899 _ACEOF
55900 if ac_fn_c_try_link "$LINENO"; then :
55901 thread_CFLAGS="$flag"
55903 rm -f core conftest.err conftest.$ac_objext \
55904 conftest$ac_exeext conftest.$ac_ext
55905 if test "X$thread_CFLAGS" != Xfailed; then
55906 break
55908 done
55909 CFLAGS="$chktls_save_CFLAGS"
55910 if test "X$thread_CFLAGS" != Xfailed; then
55911 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
55912 if test "$cross_compiling" = yes; then :
55913 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
55914 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
55915 as_fn_error $? "cannot run test program while cross compiling
55916 See \`config.log' for more details" "$LINENO" 5; }
55917 else
55918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55919 /* end confdefs.h. */
55920 #include <pthread.h>
55921 __thread int a;
55922 static int *volatile a_in_other_thread;
55923 static void *
55924 thread_func (void *arg)
55926 a_in_other_thread = &a;
55927 return (void *)0;
55930 main ()
55932 pthread_t thread;
55933 void *thread_retval;
55934 int *volatile a_in_main_thread;
55935 a_in_main_thread = &a;
55936 if (pthread_create (&thread, (pthread_attr_t *)0,
55937 thread_func, (void *)0))
55938 return 0;
55939 if (pthread_join (thread, &thread_retval))
55940 return 0;
55941 return (a_in_other_thread == a_in_main_thread);
55943 return 0;
55945 _ACEOF
55946 if ac_fn_c_try_run "$LINENO"; then :
55947 gcc_cv_have_tls=yes
55948 else
55949 gcc_cv_have_tls=no
55951 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
55952 conftest.$ac_objext conftest.beam conftest.$ac_ext
55955 CFLAGS="$chktls_save_CFLAGS"
55958 else
55959 gcc_cv_have_tls=no
55961 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
55962 conftest.$ac_objext conftest.beam conftest.$ac_ext
55966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
55967 $as_echo "$gcc_cv_have_tls" >&6; }
55968 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
55970 $as_echo "#define HAVE_TLS 1" >>confdefs.h
55973 for ac_func in __cxa_thread_atexit_impl
55974 do :
55975 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
55976 if test "x$ac_cv_func___cxa_thread_atexit_impl" = xyes; then :
55977 cat >>confdefs.h <<_ACEOF
55978 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
55979 _ACEOF
55982 done
55984 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
55985 do :
55986 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55987 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55988 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55989 cat >>confdefs.h <<_ACEOF
55990 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55991 _ACEOF
55994 done
55996 for ac_func in timespec_get
55997 do :
55998 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
55999 if test "x$ac_cv_func_timespec_get" = xyes; then :
56000 cat >>confdefs.h <<_ACEOF
56001 #define HAVE_TIMESPEC_GET 1
56002 _ACEOF
56005 done
56007 for ac_func in sockatmark
56008 do :
56009 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
56010 if test "x$ac_cv_func_sockatmark" = xyes; then :
56011 cat >>confdefs.h <<_ACEOF
56012 #define HAVE_SOCKATMARK 1
56013 _ACEOF
56016 done
56018 for ac_func in uselocale
56019 do :
56020 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
56021 if test "x$ac_cv_func_uselocale" = xyes; then :
56022 cat >>confdefs.h <<_ACEOF
56023 #define HAVE_USELOCALE 1
56024 _ACEOF
56027 done
56029 for ac_func in secure_getenv
56030 do :
56031 ac_fn_c_check_func "$LINENO" "secure_getenv" "ac_cv_func_secure_getenv"
56032 if test "x$ac_cv_func_secure_getenv" = xyes; then :
56033 cat >>confdefs.h <<_ACEOF
56034 #define HAVE_SECURE_GETENV 1
56035 _ACEOF
56038 done
56045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
56046 $as_echo_n "checking for iconv... " >&6; }
56047 if ${am_cv_func_iconv+:} false; then :
56048 $as_echo_n "(cached) " >&6
56049 else
56051 am_cv_func_iconv="no, consider installing GNU libiconv"
56052 am_cv_lib_iconv=no
56053 am_save_CPPFLAGS="$CPPFLAGS"
56054 CPPFLAGS="$CPPFLAGS $INCICONV"
56055 if test x$gcc_no_link = xyes; then
56056 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56059 /* end confdefs.h. */
56060 #include <stdlib.h>
56061 #include <iconv.h>
56063 main ()
56065 iconv_t cd = iconv_open("","");
56066 iconv(cd,NULL,NULL,NULL,NULL);
56067 iconv_close(cd);
56069 return 0;
56071 _ACEOF
56072 if ac_fn_c_try_link "$LINENO"; then :
56073 am_cv_func_iconv=yes
56075 rm -f core conftest.err conftest.$ac_objext \
56076 conftest$ac_exeext conftest.$ac_ext
56077 CPPFLAGS="$am_save_CPPFLAGS"
56079 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
56080 for _libs in .libs _libs; do
56081 am_save_CPPFLAGS="$CPPFLAGS"
56082 am_save_LIBS="$LIBS"
56083 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
56084 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
56085 if test x$gcc_no_link = xyes; then
56086 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56089 /* end confdefs.h. */
56090 #include <stdlib.h>
56091 #include <iconv.h>
56093 main ()
56095 iconv_t cd = iconv_open("","");
56096 iconv(cd,NULL,NULL,NULL,NULL);
56097 iconv_close(cd);
56099 return 0;
56101 _ACEOF
56102 if ac_fn_c_try_link "$LINENO"; then :
56103 INCICONV="-I../libiconv/include"
56104 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
56105 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
56106 am_cv_lib_iconv=yes
56107 am_cv_func_iconv=yes
56109 rm -f core conftest.err conftest.$ac_objext \
56110 conftest$ac_exeext conftest.$ac_ext
56111 CPPFLAGS="$am_save_CPPFLAGS"
56112 LIBS="$am_save_LIBS"
56113 if test "$am_cv_func_iconv" = "yes"; then
56114 break
56116 done
56119 if test "$am_cv_func_iconv" != yes; then
56120 am_save_CPPFLAGS="$CPPFLAGS"
56121 am_save_LIBS="$LIBS"
56122 CPPFLAGS="$CPPFLAGS $INCICONV"
56123 LIBS="$LIBS $LIBICONV"
56124 if test x$gcc_no_link = xyes; then
56125 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56128 /* end confdefs.h. */
56129 #include <stdlib.h>
56130 #include <iconv.h>
56132 main ()
56134 iconv_t cd = iconv_open("","");
56135 iconv(cd,NULL,NULL,NULL,NULL);
56136 iconv_close(cd);
56138 return 0;
56140 _ACEOF
56141 if ac_fn_c_try_link "$LINENO"; then :
56142 am_cv_lib_iconv=yes
56143 am_cv_func_iconv=yes
56145 rm -f core conftest.err conftest.$ac_objext \
56146 conftest$ac_exeext conftest.$ac_ext
56147 CPPFLAGS="$am_save_CPPFLAGS"
56148 LIBS="$am_save_LIBS"
56152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
56153 $as_echo "$am_cv_func_iconv" >&6; }
56154 if test "$am_cv_func_iconv" = yes; then
56156 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
56159 if test "$am_cv_lib_iconv" = yes; then
56161 for element in $INCICONV; do
56162 haveit=
56163 for x in $CPPFLAGS; do
56165 acl_save_prefix="$prefix"
56166 prefix="$acl_final_prefix"
56167 acl_save_exec_prefix="$exec_prefix"
56168 exec_prefix="$acl_final_exec_prefix"
56169 eval x=\"$x\"
56170 exec_prefix="$acl_save_exec_prefix"
56171 prefix="$acl_save_prefix"
56173 if test "X$x" = "X$element"; then
56174 haveit=yes
56175 break
56177 done
56178 if test -z "$haveit"; then
56179 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
56181 done
56183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
56184 $as_echo_n "checking how to link with libiconv... " >&6; }
56185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
56186 $as_echo "$LIBICONV" >&6; }
56187 else
56188 LIBICONV=
56189 LTLIBICONV=
56194 if test "$am_cv_func_iconv" = yes; then
56195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
56196 $as_echo_n "checking for iconv declaration... " >&6; }
56197 if ${am_cv_proto_iconv+:} false; then :
56198 $as_echo_n "(cached) " >&6
56199 else
56201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56202 /* end confdefs.h. */
56204 #include <stdlib.h>
56205 #include <iconv.h>
56206 extern
56207 #ifdef __cplusplus
56209 #endif
56210 #if defined(__STDC__) || defined(__cplusplus)
56211 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
56212 #else
56213 size_t iconv();
56214 #endif
56217 main ()
56221 return 0;
56223 _ACEOF
56224 if ac_fn_c_try_compile "$LINENO"; then :
56225 am_cv_proto_iconv_arg1=""
56226 else
56227 am_cv_proto_iconv_arg1="const"
56229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56230 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);"
56233 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
56234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
56235 }$am_cv_proto_iconv" >&5
56236 $as_echo "${ac_t:-
56237 }$am_cv_proto_iconv" >&6; }
56239 cat >>confdefs.h <<_ACEOF
56240 #define ICONV_CONST $am_cv_proto_iconv_arg1
56241 _ACEOF
56246 *-mingw32*)
56248 # If we're not using GNU ld, then there's no point in even trying these
56249 # tests. Check for that first. We should have already tested for gld
56250 # by now (in libtool), but require it now just to be safe...
56251 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56252 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56256 # The name set by libtool depends on the version of libtool. Shame on us
56257 # for depending on an impl detail, but c'est la vie. Older versions used
56258 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56259 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56260 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56261 # set (hence we're using an older libtool), then set it.
56262 if test x${with_gnu_ld+set} != xset; then
56263 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56264 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56265 with_gnu_ld=no
56266 else
56267 with_gnu_ld=$ac_cv_prog_gnu_ld
56271 # Start by getting the version number. I think the libtool test already
56272 # does some of this, but throws away the result.
56273 glibcxx_ld_is_gold=no
56274 glibcxx_ld_is_mold=no
56275 if test x"$with_gnu_ld" = x"yes"; then
56276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56277 $as_echo_n "checking for ld version... " >&6; }
56279 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56280 glibcxx_ld_is_gold=yes
56281 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
56282 glibcxx_ld_is_mold=yes
56284 ldver=`$LD --version 2>/dev/null |
56285 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
56287 glibcxx_gnu_ld_version=`echo $ldver | \
56288 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56290 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56293 # Set --gc-sections.
56294 glibcxx_have_gc_sections=no
56295 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
56296 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56297 glibcxx_have_gc_sections=yes
56299 else
56300 glibcxx_gcsections_min_ld=21602
56301 if test x"$with_gnu_ld" = x"yes" &&
56302 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56303 glibcxx_have_gc_sections=yes
56306 if test "$glibcxx_have_gc_sections" = "yes"; then
56307 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56308 # NB: This flag only works reliably after 2.16.1. Configure tests
56309 # for this are difficult, so hard wire a value that should work.
56311 ac_test_CFLAGS="${CFLAGS+set}"
56312 ac_save_CFLAGS="$CFLAGS"
56313 CFLAGS='-Wl,--gc-sections'
56315 # Check for -Wl,--gc-sections
56316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56317 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56318 if test x$gcc_no_link = xyes; then
56319 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56322 /* end confdefs.h. */
56323 int one(void) { return 1; }
56324 int two(void) { return 2; }
56327 main ()
56329 two();
56331 return 0;
56333 _ACEOF
56334 if ac_fn_c_try_link "$LINENO"; then :
56335 ac_gcsections=yes
56336 else
56337 ac_gcsections=no
56339 rm -f core conftest.err conftest.$ac_objext \
56340 conftest$ac_exeext conftest.$ac_ext
56341 if test "$ac_gcsections" = "yes"; then
56342 rm -f conftest.c
56343 touch conftest.c
56344 if $CC -c conftest.c; then
56345 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56346 grep "Warning: gc-sections option ignored" > /dev/null; then
56347 ac_gcsections=no
56350 rm -f conftest.c conftest.o conftest
56352 if test "$ac_gcsections" = "yes"; then
56353 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56356 $as_echo "$ac_gcsections" >&6; }
56358 if test "$ac_test_CFLAGS" = set; then
56359 CFLAGS="$ac_save_CFLAGS"
56360 else
56361 # this is the suspicious part
56362 CFLAGS=''
56366 # Set -z,relro.
56367 # Note this is only for shared objects.
56368 ac_ld_relro=no
56369 if test x"$with_gnu_ld" = x"yes"; then
56370 # cygwin and mingw uses PE, which has no ELF relro support,
56371 # multi target ld may confuse configure machinery
56372 case "$host" in
56373 *-*-cygwin*)
56375 *-*-mingw*)
56378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56379 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56380 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56381 if test -n "$cxx_z_relo"; then
56382 OPT_LDFLAGS="-Wl,-z,relro"
56383 ac_ld_relro=yes
56385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56386 $as_echo "$ac_ld_relro" >&6; }
56387 esac
56390 # Set linker optimization flags.
56391 if test x"$with_gnu_ld" = x"yes"; then
56392 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56399 ac_test_CXXFLAGS="${CXXFLAGS+set}"
56400 ac_save_CXXFLAGS="$CXXFLAGS"
56401 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
56403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
56404 $as_echo_n "checking for sin in -lm... " >&6; }
56405 if ${ac_cv_lib_m_sin+:} false; then :
56406 $as_echo_n "(cached) " >&6
56407 else
56408 ac_check_lib_save_LIBS=$LIBS
56409 LIBS="-lm $LIBS"
56410 if test x$gcc_no_link = xyes; then
56411 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56414 /* end confdefs.h. */
56416 /* Override any GCC internal prototype to avoid an error.
56417 Use char because int might match the return type of a GCC
56418 builtin and then its argument prototype would still apply. */
56419 #ifdef __cplusplus
56420 extern "C"
56421 #endif
56422 char sin ();
56424 main ()
56426 return sin ();
56428 return 0;
56430 _ACEOF
56431 if ac_fn_c_try_link "$LINENO"; then :
56432 ac_cv_lib_m_sin=yes
56433 else
56434 ac_cv_lib_m_sin=no
56436 rm -f core conftest.err conftest.$ac_objext \
56437 conftest$ac_exeext conftest.$ac_ext
56438 LIBS=$ac_check_lib_save_LIBS
56440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
56441 $as_echo "$ac_cv_lib_m_sin" >&6; }
56442 if test "x$ac_cv_lib_m_sin" = xyes; then :
56443 libm="-lm"
56446 ac_save_LIBS="$LIBS"
56447 LIBS="$LIBS $libm"
56451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
56452 $as_echo_n "checking for isinf declaration... " >&6; }
56453 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
56454 if ${glibcxx_cv_func_isinf_use+:} false; then :
56455 $as_echo_n "(cached) " >&6
56456 else
56459 ac_ext=cpp
56460 ac_cpp='$CXXCPP $CPPFLAGS'
56461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56466 /* end confdefs.h. */
56467 #include <math.h>
56468 #ifdef HAVE_IEEEFP_H
56469 #include <ieeefp.h>
56470 #endif
56473 main ()
56475 isinf(0);
56477 return 0;
56479 _ACEOF
56480 if ac_fn_cxx_try_compile "$LINENO"; then :
56481 glibcxx_cv_func_isinf_use=yes
56482 else
56483 glibcxx_cv_func_isinf_use=no
56485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56486 ac_ext=c
56487 ac_cpp='$CPP $CPPFLAGS'
56488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
56497 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
56499 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
56500 for ac_func in isinf
56501 do :
56502 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
56503 if test "x$ac_cv_func_isinf" = xyes; then :
56504 cat >>confdefs.h <<_ACEOF
56505 #define HAVE_ISINF 1
56506 _ACEOF
56509 done
56511 else
56513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
56514 $as_echo_n "checking for _isinf declaration... " >&6; }
56515 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
56516 if ${glibcxx_cv_func__isinf_use+:} false; then :
56517 $as_echo_n "(cached) " >&6
56518 else
56521 ac_ext=cpp
56522 ac_cpp='$CXXCPP $CPPFLAGS'
56523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56528 /* end confdefs.h. */
56529 #include <math.h>
56530 #ifdef HAVE_IEEEFP_H
56531 #include <ieeefp.h>
56532 #endif
56535 main ()
56537 _isinf(0);
56539 return 0;
56541 _ACEOF
56542 if ac_fn_cxx_try_compile "$LINENO"; then :
56543 glibcxx_cv_func__isinf_use=yes
56544 else
56545 glibcxx_cv_func__isinf_use=no
56547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56548 ac_ext=c
56549 ac_cpp='$CPP $CPPFLAGS'
56550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
56559 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
56561 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
56562 for ac_func in _isinf
56563 do :
56564 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
56565 if test "x$ac_cv_func__isinf" = xyes; then :
56566 cat >>confdefs.h <<_ACEOF
56567 #define HAVE__ISINF 1
56568 _ACEOF
56571 done
56580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
56581 $as_echo_n "checking for isnan declaration... " >&6; }
56582 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
56583 if ${glibcxx_cv_func_isnan_use+:} false; then :
56584 $as_echo_n "(cached) " >&6
56585 else
56588 ac_ext=cpp
56589 ac_cpp='$CXXCPP $CPPFLAGS'
56590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56595 /* end confdefs.h. */
56596 #include <math.h>
56597 #ifdef HAVE_IEEEFP_H
56598 #include <ieeefp.h>
56599 #endif
56602 main ()
56604 isnan(0);
56606 return 0;
56608 _ACEOF
56609 if ac_fn_cxx_try_compile "$LINENO"; then :
56610 glibcxx_cv_func_isnan_use=yes
56611 else
56612 glibcxx_cv_func_isnan_use=no
56614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56615 ac_ext=c
56616 ac_cpp='$CPP $CPPFLAGS'
56617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
56626 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
56628 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
56629 for ac_func in isnan
56630 do :
56631 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
56632 if test "x$ac_cv_func_isnan" = xyes; then :
56633 cat >>confdefs.h <<_ACEOF
56634 #define HAVE_ISNAN 1
56635 _ACEOF
56638 done
56640 else
56642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
56643 $as_echo_n "checking for _isnan declaration... " >&6; }
56644 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
56645 if ${glibcxx_cv_func__isnan_use+:} false; then :
56646 $as_echo_n "(cached) " >&6
56647 else
56650 ac_ext=cpp
56651 ac_cpp='$CXXCPP $CPPFLAGS'
56652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56657 /* end confdefs.h. */
56658 #include <math.h>
56659 #ifdef HAVE_IEEEFP_H
56660 #include <ieeefp.h>
56661 #endif
56664 main ()
56666 _isnan(0);
56668 return 0;
56670 _ACEOF
56671 if ac_fn_cxx_try_compile "$LINENO"; then :
56672 glibcxx_cv_func__isnan_use=yes
56673 else
56674 glibcxx_cv_func__isnan_use=no
56676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56677 ac_ext=c
56678 ac_cpp='$CPP $CPPFLAGS'
56679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
56688 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
56690 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
56691 for ac_func in _isnan
56692 do :
56693 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
56694 if test "x$ac_cv_func__isnan" = xyes; then :
56695 cat >>confdefs.h <<_ACEOF
56696 #define HAVE__ISNAN 1
56697 _ACEOF
56700 done
56709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
56710 $as_echo_n "checking for finite declaration... " >&6; }
56711 if test x${glibcxx_cv_func_finite_use+set} != xset; then
56712 if ${glibcxx_cv_func_finite_use+:} false; then :
56713 $as_echo_n "(cached) " >&6
56714 else
56717 ac_ext=cpp
56718 ac_cpp='$CXXCPP $CPPFLAGS'
56719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56724 /* end confdefs.h. */
56725 #include <math.h>
56726 #ifdef HAVE_IEEEFP_H
56727 #include <ieeefp.h>
56728 #endif
56731 main ()
56733 finite(0);
56735 return 0;
56737 _ACEOF
56738 if ac_fn_cxx_try_compile "$LINENO"; then :
56739 glibcxx_cv_func_finite_use=yes
56740 else
56741 glibcxx_cv_func_finite_use=no
56743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56744 ac_ext=c
56745 ac_cpp='$CPP $CPPFLAGS'
56746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
56755 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
56757 if test x$glibcxx_cv_func_finite_use = x"yes"; then
56758 for ac_func in finite
56759 do :
56760 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
56761 if test "x$ac_cv_func_finite" = xyes; then :
56762 cat >>confdefs.h <<_ACEOF
56763 #define HAVE_FINITE 1
56764 _ACEOF
56767 done
56769 else
56771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
56772 $as_echo_n "checking for _finite declaration... " >&6; }
56773 if test x${glibcxx_cv_func__finite_use+set} != xset; then
56774 if ${glibcxx_cv_func__finite_use+:} false; then :
56775 $as_echo_n "(cached) " >&6
56776 else
56779 ac_ext=cpp
56780 ac_cpp='$CXXCPP $CPPFLAGS'
56781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56786 /* end confdefs.h. */
56787 #include <math.h>
56788 #ifdef HAVE_IEEEFP_H
56789 #include <ieeefp.h>
56790 #endif
56793 main ()
56795 _finite(0);
56797 return 0;
56799 _ACEOF
56800 if ac_fn_cxx_try_compile "$LINENO"; then :
56801 glibcxx_cv_func__finite_use=yes
56802 else
56803 glibcxx_cv_func__finite_use=no
56805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56806 ac_ext=c
56807 ac_cpp='$CPP $CPPFLAGS'
56808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
56817 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
56819 if test x$glibcxx_cv_func__finite_use = x"yes"; then
56820 for ac_func in _finite
56821 do :
56822 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
56823 if test "x$ac_cv_func__finite" = xyes; then :
56824 cat >>confdefs.h <<_ACEOF
56825 #define HAVE__FINITE 1
56826 _ACEOF
56829 done
56838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
56839 $as_echo_n "checking for sincos declaration... " >&6; }
56840 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
56841 if ${glibcxx_cv_func_sincos_use+:} false; then :
56842 $as_echo_n "(cached) " >&6
56843 else
56846 ac_ext=cpp
56847 ac_cpp='$CXXCPP $CPPFLAGS'
56848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56853 /* end confdefs.h. */
56854 #include <math.h>
56856 main ()
56858 sincos(0, 0, 0);
56860 return 0;
56862 _ACEOF
56863 if ac_fn_cxx_try_compile "$LINENO"; then :
56864 glibcxx_cv_func_sincos_use=yes
56865 else
56866 glibcxx_cv_func_sincos_use=no
56868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56869 ac_ext=c
56870 ac_cpp='$CPP $CPPFLAGS'
56871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
56880 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
56882 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
56883 for ac_func in sincos
56884 do :
56885 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
56886 if test "x$ac_cv_func_sincos" = xyes; then :
56887 cat >>confdefs.h <<_ACEOF
56888 #define HAVE_SINCOS 1
56889 _ACEOF
56892 done
56894 else
56896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
56897 $as_echo_n "checking for _sincos declaration... " >&6; }
56898 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
56899 if ${glibcxx_cv_func__sincos_use+:} false; then :
56900 $as_echo_n "(cached) " >&6
56901 else
56904 ac_ext=cpp
56905 ac_cpp='$CXXCPP $CPPFLAGS'
56906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56911 /* end confdefs.h. */
56912 #include <math.h>
56914 main ()
56916 _sincos(0, 0, 0);
56918 return 0;
56920 _ACEOF
56921 if ac_fn_cxx_try_compile "$LINENO"; then :
56922 glibcxx_cv_func__sincos_use=yes
56923 else
56924 glibcxx_cv_func__sincos_use=no
56926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56927 ac_ext=c
56928 ac_cpp='$CPP $CPPFLAGS'
56929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
56938 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
56940 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
56941 for ac_func in _sincos
56942 do :
56943 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
56944 if test "x$ac_cv_func__sincos" = xyes; then :
56945 cat >>confdefs.h <<_ACEOF
56946 #define HAVE__SINCOS 1
56947 _ACEOF
56950 done
56959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
56960 $as_echo_n "checking for fpclass declaration... " >&6; }
56961 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
56962 if ${glibcxx_cv_func_fpclass_use+:} false; then :
56963 $as_echo_n "(cached) " >&6
56964 else
56967 ac_ext=cpp
56968 ac_cpp='$CXXCPP $CPPFLAGS'
56969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56974 /* end confdefs.h. */
56975 #include <math.h>
56976 #ifdef HAVE_IEEEFP_H
56977 #include <ieeefp.h>
56978 #endif
56981 main ()
56983 fpclass(0);
56985 return 0;
56987 _ACEOF
56988 if ac_fn_cxx_try_compile "$LINENO"; then :
56989 glibcxx_cv_func_fpclass_use=yes
56990 else
56991 glibcxx_cv_func_fpclass_use=no
56993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56994 ac_ext=c
56995 ac_cpp='$CPP $CPPFLAGS'
56996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
57005 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
57007 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
57008 for ac_func in fpclass
57009 do :
57010 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
57011 if test "x$ac_cv_func_fpclass" = xyes; then :
57012 cat >>confdefs.h <<_ACEOF
57013 #define HAVE_FPCLASS 1
57014 _ACEOF
57017 done
57019 else
57021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
57022 $as_echo_n "checking for _fpclass declaration... " >&6; }
57023 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
57024 if ${glibcxx_cv_func__fpclass_use+:} false; then :
57025 $as_echo_n "(cached) " >&6
57026 else
57029 ac_ext=cpp
57030 ac_cpp='$CXXCPP $CPPFLAGS'
57031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57036 /* end confdefs.h. */
57037 #include <math.h>
57038 #ifdef HAVE_IEEEFP_H
57039 #include <ieeefp.h>
57040 #endif
57043 main ()
57045 _fpclass(0);
57047 return 0;
57049 _ACEOF
57050 if ac_fn_cxx_try_compile "$LINENO"; then :
57051 glibcxx_cv_func__fpclass_use=yes
57052 else
57053 glibcxx_cv_func__fpclass_use=no
57055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57056 ac_ext=c
57057 ac_cpp='$CPP $CPPFLAGS'
57058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
57067 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
57069 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
57070 for ac_func in _fpclass
57071 do :
57072 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
57073 if test "x$ac_cv_func__fpclass" = xyes; then :
57074 cat >>confdefs.h <<_ACEOF
57075 #define HAVE__FPCLASS 1
57076 _ACEOF
57079 done
57088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
57089 $as_echo_n "checking for qfpclass declaration... " >&6; }
57090 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
57091 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
57092 $as_echo_n "(cached) " >&6
57093 else
57096 ac_ext=cpp
57097 ac_cpp='$CXXCPP $CPPFLAGS'
57098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57103 /* end confdefs.h. */
57104 #include <math.h>
57105 #ifdef HAVE_IEEEFP_H
57106 #include <ieeefp.h>
57107 #endif
57110 main ()
57112 qfpclass(0);
57114 return 0;
57116 _ACEOF
57117 if ac_fn_cxx_try_compile "$LINENO"; then :
57118 glibcxx_cv_func_qfpclass_use=yes
57119 else
57120 glibcxx_cv_func_qfpclass_use=no
57122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57123 ac_ext=c
57124 ac_cpp='$CPP $CPPFLAGS'
57125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
57134 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
57136 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
57137 for ac_func in qfpclass
57138 do :
57139 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
57140 if test "x$ac_cv_func_qfpclass" = xyes; then :
57141 cat >>confdefs.h <<_ACEOF
57142 #define HAVE_QFPCLASS 1
57143 _ACEOF
57146 done
57148 else
57150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
57151 $as_echo_n "checking for _qfpclass declaration... " >&6; }
57152 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
57153 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
57154 $as_echo_n "(cached) " >&6
57155 else
57158 ac_ext=cpp
57159 ac_cpp='$CXXCPP $CPPFLAGS'
57160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57165 /* end confdefs.h. */
57166 #include <math.h>
57167 #ifdef HAVE_IEEEFP_H
57168 #include <ieeefp.h>
57169 #endif
57172 main ()
57174 _qfpclass(0);
57176 return 0;
57178 _ACEOF
57179 if ac_fn_cxx_try_compile "$LINENO"; then :
57180 glibcxx_cv_func__qfpclass_use=yes
57181 else
57182 glibcxx_cv_func__qfpclass_use=no
57184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57185 ac_ext=c
57186 ac_cpp='$CPP $CPPFLAGS'
57187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
57196 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
57198 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
57199 for ac_func in _qfpclass
57200 do :
57201 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
57202 if test "x$ac_cv_func__qfpclass" = xyes; then :
57203 cat >>confdefs.h <<_ACEOF
57204 #define HAVE__QFPCLASS 1
57205 _ACEOF
57208 done
57217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
57218 $as_echo_n "checking for hypot declaration... " >&6; }
57219 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
57220 if ${glibcxx_cv_func_hypot_use+:} false; then :
57221 $as_echo_n "(cached) " >&6
57222 else
57225 ac_ext=cpp
57226 ac_cpp='$CXXCPP $CPPFLAGS'
57227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57232 /* end confdefs.h. */
57233 #include <math.h>
57235 main ()
57237 hypot(0, 0);
57239 return 0;
57241 _ACEOF
57242 if ac_fn_cxx_try_compile "$LINENO"; then :
57243 glibcxx_cv_func_hypot_use=yes
57244 else
57245 glibcxx_cv_func_hypot_use=no
57247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57248 ac_ext=c
57249 ac_cpp='$CPP $CPPFLAGS'
57250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
57259 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
57261 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
57262 for ac_func in hypot
57263 do :
57264 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
57265 if test "x$ac_cv_func_hypot" = xyes; then :
57266 cat >>confdefs.h <<_ACEOF
57267 #define HAVE_HYPOT 1
57268 _ACEOF
57271 done
57273 else
57275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
57276 $as_echo_n "checking for _hypot declaration... " >&6; }
57277 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
57278 if ${glibcxx_cv_func__hypot_use+:} false; then :
57279 $as_echo_n "(cached) " >&6
57280 else
57283 ac_ext=cpp
57284 ac_cpp='$CXXCPP $CPPFLAGS'
57285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57290 /* end confdefs.h. */
57291 #include <math.h>
57293 main ()
57295 _hypot(0, 0);
57297 return 0;
57299 _ACEOF
57300 if ac_fn_cxx_try_compile "$LINENO"; then :
57301 glibcxx_cv_func__hypot_use=yes
57302 else
57303 glibcxx_cv_func__hypot_use=no
57305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57306 ac_ext=c
57307 ac_cpp='$CPP $CPPFLAGS'
57308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
57317 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
57319 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
57320 for ac_func in _hypot
57321 do :
57322 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
57323 if test "x$ac_cv_func__hypot" = xyes; then :
57324 cat >>confdefs.h <<_ACEOF
57325 #define HAVE__HYPOT 1
57326 _ACEOF
57329 done
57338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
57339 $as_echo_n "checking for float trig functions... " >&6; }
57340 if ${glibcxx_cv_func_float_trig_use+:} false; then :
57341 $as_echo_n "(cached) " >&6
57342 else
57345 ac_ext=cpp
57346 ac_cpp='$CXXCPP $CPPFLAGS'
57347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57352 /* end confdefs.h. */
57353 #include <math.h>
57355 main ()
57357 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
57359 return 0;
57361 _ACEOF
57362 if ac_fn_cxx_try_compile "$LINENO"; then :
57363 glibcxx_cv_func_float_trig_use=yes
57364 else
57365 glibcxx_cv_func_float_trig_use=no
57367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57368 ac_ext=c
57369 ac_cpp='$CPP $CPPFLAGS'
57370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
57377 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
57378 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
57379 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
57380 do :
57381 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57382 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57383 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57384 cat >>confdefs.h <<_ACEOF
57385 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57386 _ACEOF
57389 done
57391 else
57392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
57393 $as_echo_n "checking for _float trig functions... " >&6; }
57394 if ${glibcxx_cv_func__float_trig_use+:} false; then :
57395 $as_echo_n "(cached) " >&6
57396 else
57399 ac_ext=cpp
57400 ac_cpp='$CXXCPP $CPPFLAGS'
57401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57406 /* end confdefs.h. */
57407 #include <math.h>
57409 main ()
57411 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
57413 return 0;
57415 _ACEOF
57416 if ac_fn_cxx_try_compile "$LINENO"; then :
57417 glibcxx_cv_func__float_trig_use=yes
57418 else
57419 glibcxx_cv_func__float_trig_use=no
57421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57422 ac_ext=c
57423 ac_cpp='$CPP $CPPFLAGS'
57424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
57431 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
57432 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
57433 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
57434 do :
57435 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57436 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57437 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57438 cat >>confdefs.h <<_ACEOF
57439 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57440 _ACEOF
57443 done
57452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
57453 $as_echo_n "checking for float round functions... " >&6; }
57454 if ${glibcxx_cv_func_float_round_use+:} false; then :
57455 $as_echo_n "(cached) " >&6
57456 else
57459 ac_ext=cpp
57460 ac_cpp='$CXXCPP $CPPFLAGS'
57461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57466 /* end confdefs.h. */
57467 #include <math.h>
57469 main ()
57471 ceilf (0); floorf (0);
57473 return 0;
57475 _ACEOF
57476 if ac_fn_cxx_try_compile "$LINENO"; then :
57477 glibcxx_cv_func_float_round_use=yes
57478 else
57479 glibcxx_cv_func_float_round_use=no
57481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57482 ac_ext=c
57483 ac_cpp='$CPP $CPPFLAGS'
57484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
57491 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
57492 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
57493 for ac_func in ceilf floorf
57494 do :
57495 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57496 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57497 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57498 cat >>confdefs.h <<_ACEOF
57499 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57500 _ACEOF
57503 done
57505 else
57506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
57507 $as_echo_n "checking for _float round functions... " >&6; }
57508 if ${glibcxx_cv_func__float_round_use+:} false; then :
57509 $as_echo_n "(cached) " >&6
57510 else
57513 ac_ext=cpp
57514 ac_cpp='$CXXCPP $CPPFLAGS'
57515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57520 /* end confdefs.h. */
57521 #include <math.h>
57523 main ()
57525 _ceilf (0); _floorf (0);
57527 return 0;
57529 _ACEOF
57530 if ac_fn_cxx_try_compile "$LINENO"; then :
57531 glibcxx_cv_func__float_round_use=yes
57532 else
57533 glibcxx_cv_func__float_round_use=no
57535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57536 ac_ext=c
57537 ac_cpp='$CPP $CPPFLAGS'
57538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
57545 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
57546 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
57547 for ac_func in _ceilf _floorf
57548 do :
57549 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57550 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57551 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57552 cat >>confdefs.h <<_ACEOF
57553 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57554 _ACEOF
57557 done
57567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
57568 $as_echo_n "checking for expf declaration... " >&6; }
57569 if test x${glibcxx_cv_func_expf_use+set} != xset; then
57570 if ${glibcxx_cv_func_expf_use+:} false; then :
57571 $as_echo_n "(cached) " >&6
57572 else
57575 ac_ext=cpp
57576 ac_cpp='$CXXCPP $CPPFLAGS'
57577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57582 /* end confdefs.h. */
57583 #include <math.h>
57584 #ifdef HAVE_IEEEFP_H
57585 #include <ieeefp.h>
57586 #endif
57589 main ()
57591 expf(0);
57593 return 0;
57595 _ACEOF
57596 if ac_fn_cxx_try_compile "$LINENO"; then :
57597 glibcxx_cv_func_expf_use=yes
57598 else
57599 glibcxx_cv_func_expf_use=no
57601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57602 ac_ext=c
57603 ac_cpp='$CPP $CPPFLAGS'
57604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
57613 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
57615 if test x$glibcxx_cv_func_expf_use = x"yes"; then
57616 for ac_func in expf
57617 do :
57618 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
57619 if test "x$ac_cv_func_expf" = xyes; then :
57620 cat >>confdefs.h <<_ACEOF
57621 #define HAVE_EXPF 1
57622 _ACEOF
57625 done
57627 else
57629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
57630 $as_echo_n "checking for _expf declaration... " >&6; }
57631 if test x${glibcxx_cv_func__expf_use+set} != xset; then
57632 if ${glibcxx_cv_func__expf_use+:} false; then :
57633 $as_echo_n "(cached) " >&6
57634 else
57637 ac_ext=cpp
57638 ac_cpp='$CXXCPP $CPPFLAGS'
57639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57644 /* end confdefs.h. */
57645 #include <math.h>
57646 #ifdef HAVE_IEEEFP_H
57647 #include <ieeefp.h>
57648 #endif
57651 main ()
57653 _expf(0);
57655 return 0;
57657 _ACEOF
57658 if ac_fn_cxx_try_compile "$LINENO"; then :
57659 glibcxx_cv_func__expf_use=yes
57660 else
57661 glibcxx_cv_func__expf_use=no
57663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57664 ac_ext=c
57665 ac_cpp='$CPP $CPPFLAGS'
57666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
57675 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
57677 if test x$glibcxx_cv_func__expf_use = x"yes"; then
57678 for ac_func in _expf
57679 do :
57680 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
57681 if test "x$ac_cv_func__expf" = xyes; then :
57682 cat >>confdefs.h <<_ACEOF
57683 #define HAVE__EXPF 1
57684 _ACEOF
57687 done
57696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
57697 $as_echo_n "checking for isnanf declaration... " >&6; }
57698 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
57699 if ${glibcxx_cv_func_isnanf_use+:} false; then :
57700 $as_echo_n "(cached) " >&6
57701 else
57704 ac_ext=cpp
57705 ac_cpp='$CXXCPP $CPPFLAGS'
57706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57711 /* end confdefs.h. */
57712 #include <math.h>
57713 #ifdef HAVE_IEEEFP_H
57714 #include <ieeefp.h>
57715 #endif
57718 main ()
57720 isnanf(0);
57722 return 0;
57724 _ACEOF
57725 if ac_fn_cxx_try_compile "$LINENO"; then :
57726 glibcxx_cv_func_isnanf_use=yes
57727 else
57728 glibcxx_cv_func_isnanf_use=no
57730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57731 ac_ext=c
57732 ac_cpp='$CPP $CPPFLAGS'
57733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
57742 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
57744 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
57745 for ac_func in isnanf
57746 do :
57747 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
57748 if test "x$ac_cv_func_isnanf" = xyes; then :
57749 cat >>confdefs.h <<_ACEOF
57750 #define HAVE_ISNANF 1
57751 _ACEOF
57754 done
57756 else
57758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
57759 $as_echo_n "checking for _isnanf declaration... " >&6; }
57760 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
57761 if ${glibcxx_cv_func__isnanf_use+:} false; then :
57762 $as_echo_n "(cached) " >&6
57763 else
57766 ac_ext=cpp
57767 ac_cpp='$CXXCPP $CPPFLAGS'
57768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57773 /* end confdefs.h. */
57774 #include <math.h>
57775 #ifdef HAVE_IEEEFP_H
57776 #include <ieeefp.h>
57777 #endif
57780 main ()
57782 _isnanf(0);
57784 return 0;
57786 _ACEOF
57787 if ac_fn_cxx_try_compile "$LINENO"; then :
57788 glibcxx_cv_func__isnanf_use=yes
57789 else
57790 glibcxx_cv_func__isnanf_use=no
57792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57793 ac_ext=c
57794 ac_cpp='$CPP $CPPFLAGS'
57795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
57804 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
57806 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
57807 for ac_func in _isnanf
57808 do :
57809 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
57810 if test "x$ac_cv_func__isnanf" = xyes; then :
57811 cat >>confdefs.h <<_ACEOF
57812 #define HAVE__ISNANF 1
57813 _ACEOF
57816 done
57825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
57826 $as_echo_n "checking for isinff declaration... " >&6; }
57827 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
57828 if ${glibcxx_cv_func_isinff_use+:} false; then :
57829 $as_echo_n "(cached) " >&6
57830 else
57833 ac_ext=cpp
57834 ac_cpp='$CXXCPP $CPPFLAGS'
57835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57840 /* end confdefs.h. */
57841 #include <math.h>
57842 #ifdef HAVE_IEEEFP_H
57843 #include <ieeefp.h>
57844 #endif
57847 main ()
57849 isinff(0);
57851 return 0;
57853 _ACEOF
57854 if ac_fn_cxx_try_compile "$LINENO"; then :
57855 glibcxx_cv_func_isinff_use=yes
57856 else
57857 glibcxx_cv_func_isinff_use=no
57859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57860 ac_ext=c
57861 ac_cpp='$CPP $CPPFLAGS'
57862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
57871 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
57873 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
57874 for ac_func in isinff
57875 do :
57876 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
57877 if test "x$ac_cv_func_isinff" = xyes; then :
57878 cat >>confdefs.h <<_ACEOF
57879 #define HAVE_ISINFF 1
57880 _ACEOF
57883 done
57885 else
57887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
57888 $as_echo_n "checking for _isinff declaration... " >&6; }
57889 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
57890 if ${glibcxx_cv_func__isinff_use+:} false; then :
57891 $as_echo_n "(cached) " >&6
57892 else
57895 ac_ext=cpp
57896 ac_cpp='$CXXCPP $CPPFLAGS'
57897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57902 /* end confdefs.h. */
57903 #include <math.h>
57904 #ifdef HAVE_IEEEFP_H
57905 #include <ieeefp.h>
57906 #endif
57909 main ()
57911 _isinff(0);
57913 return 0;
57915 _ACEOF
57916 if ac_fn_cxx_try_compile "$LINENO"; then :
57917 glibcxx_cv_func__isinff_use=yes
57918 else
57919 glibcxx_cv_func__isinff_use=no
57921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57922 ac_ext=c
57923 ac_cpp='$CPP $CPPFLAGS'
57924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
57933 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
57935 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
57936 for ac_func in _isinff
57937 do :
57938 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
57939 if test "x$ac_cv_func__isinff" = xyes; then :
57940 cat >>confdefs.h <<_ACEOF
57941 #define HAVE__ISINFF 1
57942 _ACEOF
57945 done
57954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
57955 $as_echo_n "checking for atan2f declaration... " >&6; }
57956 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
57957 if ${glibcxx_cv_func_atan2f_use+:} false; then :
57958 $as_echo_n "(cached) " >&6
57959 else
57962 ac_ext=cpp
57963 ac_cpp='$CXXCPP $CPPFLAGS'
57964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57969 /* end confdefs.h. */
57970 #include <math.h>
57972 main ()
57974 atan2f(0, 0);
57976 return 0;
57978 _ACEOF
57979 if ac_fn_cxx_try_compile "$LINENO"; then :
57980 glibcxx_cv_func_atan2f_use=yes
57981 else
57982 glibcxx_cv_func_atan2f_use=no
57984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57985 ac_ext=c
57986 ac_cpp='$CPP $CPPFLAGS'
57987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
57996 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
57998 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
57999 for ac_func in atan2f
58000 do :
58001 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
58002 if test "x$ac_cv_func_atan2f" = xyes; then :
58003 cat >>confdefs.h <<_ACEOF
58004 #define HAVE_ATAN2F 1
58005 _ACEOF
58008 done
58010 else
58012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
58013 $as_echo_n "checking for _atan2f declaration... " >&6; }
58014 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
58015 if ${glibcxx_cv_func__atan2f_use+:} false; then :
58016 $as_echo_n "(cached) " >&6
58017 else
58020 ac_ext=cpp
58021 ac_cpp='$CXXCPP $CPPFLAGS'
58022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58027 /* end confdefs.h. */
58028 #include <math.h>
58030 main ()
58032 _atan2f(0, 0);
58034 return 0;
58036 _ACEOF
58037 if ac_fn_cxx_try_compile "$LINENO"; then :
58038 glibcxx_cv_func__atan2f_use=yes
58039 else
58040 glibcxx_cv_func__atan2f_use=no
58042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58043 ac_ext=c
58044 ac_cpp='$CPP $CPPFLAGS'
58045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
58054 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
58056 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
58057 for ac_func in _atan2f
58058 do :
58059 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
58060 if test "x$ac_cv_func__atan2f" = xyes; then :
58061 cat >>confdefs.h <<_ACEOF
58062 #define HAVE__ATAN2F 1
58063 _ACEOF
58066 done
58075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
58076 $as_echo_n "checking for fabsf declaration... " >&6; }
58077 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
58078 if ${glibcxx_cv_func_fabsf_use+:} false; then :
58079 $as_echo_n "(cached) " >&6
58080 else
58083 ac_ext=cpp
58084 ac_cpp='$CXXCPP $CPPFLAGS'
58085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58090 /* end confdefs.h. */
58091 #include <math.h>
58092 #ifdef HAVE_IEEEFP_H
58093 #include <ieeefp.h>
58094 #endif
58097 main ()
58099 fabsf(0);
58101 return 0;
58103 _ACEOF
58104 if ac_fn_cxx_try_compile "$LINENO"; then :
58105 glibcxx_cv_func_fabsf_use=yes
58106 else
58107 glibcxx_cv_func_fabsf_use=no
58109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58110 ac_ext=c
58111 ac_cpp='$CPP $CPPFLAGS'
58112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
58121 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
58123 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
58124 for ac_func in fabsf
58125 do :
58126 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
58127 if test "x$ac_cv_func_fabsf" = xyes; then :
58128 cat >>confdefs.h <<_ACEOF
58129 #define HAVE_FABSF 1
58130 _ACEOF
58133 done
58135 else
58137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
58138 $as_echo_n "checking for _fabsf declaration... " >&6; }
58139 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
58140 if ${glibcxx_cv_func__fabsf_use+:} false; then :
58141 $as_echo_n "(cached) " >&6
58142 else
58145 ac_ext=cpp
58146 ac_cpp='$CXXCPP $CPPFLAGS'
58147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58152 /* end confdefs.h. */
58153 #include <math.h>
58154 #ifdef HAVE_IEEEFP_H
58155 #include <ieeefp.h>
58156 #endif
58159 main ()
58161 _fabsf(0);
58163 return 0;
58165 _ACEOF
58166 if ac_fn_cxx_try_compile "$LINENO"; then :
58167 glibcxx_cv_func__fabsf_use=yes
58168 else
58169 glibcxx_cv_func__fabsf_use=no
58171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58172 ac_ext=c
58173 ac_cpp='$CPP $CPPFLAGS'
58174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
58183 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
58185 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
58186 for ac_func in _fabsf
58187 do :
58188 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
58189 if test "x$ac_cv_func__fabsf" = xyes; then :
58190 cat >>confdefs.h <<_ACEOF
58191 #define HAVE__FABSF 1
58192 _ACEOF
58195 done
58204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
58205 $as_echo_n "checking for fmodf declaration... " >&6; }
58206 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
58207 if ${glibcxx_cv_func_fmodf_use+:} false; then :
58208 $as_echo_n "(cached) " >&6
58209 else
58212 ac_ext=cpp
58213 ac_cpp='$CXXCPP $CPPFLAGS'
58214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58219 /* end confdefs.h. */
58220 #include <math.h>
58222 main ()
58224 fmodf(0, 0);
58226 return 0;
58228 _ACEOF
58229 if ac_fn_cxx_try_compile "$LINENO"; then :
58230 glibcxx_cv_func_fmodf_use=yes
58231 else
58232 glibcxx_cv_func_fmodf_use=no
58234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58235 ac_ext=c
58236 ac_cpp='$CPP $CPPFLAGS'
58237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
58246 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
58248 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
58249 for ac_func in fmodf
58250 do :
58251 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
58252 if test "x$ac_cv_func_fmodf" = xyes; then :
58253 cat >>confdefs.h <<_ACEOF
58254 #define HAVE_FMODF 1
58255 _ACEOF
58258 done
58260 else
58262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
58263 $as_echo_n "checking for _fmodf declaration... " >&6; }
58264 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
58265 if ${glibcxx_cv_func__fmodf_use+:} false; then :
58266 $as_echo_n "(cached) " >&6
58267 else
58270 ac_ext=cpp
58271 ac_cpp='$CXXCPP $CPPFLAGS'
58272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58277 /* end confdefs.h. */
58278 #include <math.h>
58280 main ()
58282 _fmodf(0, 0);
58284 return 0;
58286 _ACEOF
58287 if ac_fn_cxx_try_compile "$LINENO"; then :
58288 glibcxx_cv_func__fmodf_use=yes
58289 else
58290 glibcxx_cv_func__fmodf_use=no
58292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58293 ac_ext=c
58294 ac_cpp='$CPP $CPPFLAGS'
58295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
58304 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
58306 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
58307 for ac_func in _fmodf
58308 do :
58309 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
58310 if test "x$ac_cv_func__fmodf" = xyes; then :
58311 cat >>confdefs.h <<_ACEOF
58312 #define HAVE__FMODF 1
58313 _ACEOF
58316 done
58325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
58326 $as_echo_n "checking for frexpf declaration... " >&6; }
58327 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
58328 if ${glibcxx_cv_func_frexpf_use+:} false; then :
58329 $as_echo_n "(cached) " >&6
58330 else
58333 ac_ext=cpp
58334 ac_cpp='$CXXCPP $CPPFLAGS'
58335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58340 /* end confdefs.h. */
58341 #include <math.h>
58343 main ()
58345 frexpf(0, 0);
58347 return 0;
58349 _ACEOF
58350 if ac_fn_cxx_try_compile "$LINENO"; then :
58351 glibcxx_cv_func_frexpf_use=yes
58352 else
58353 glibcxx_cv_func_frexpf_use=no
58355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58356 ac_ext=c
58357 ac_cpp='$CPP $CPPFLAGS'
58358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
58367 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
58369 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
58370 for ac_func in frexpf
58371 do :
58372 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
58373 if test "x$ac_cv_func_frexpf" = xyes; then :
58374 cat >>confdefs.h <<_ACEOF
58375 #define HAVE_FREXPF 1
58376 _ACEOF
58379 done
58381 else
58383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
58384 $as_echo_n "checking for _frexpf declaration... " >&6; }
58385 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
58386 if ${glibcxx_cv_func__frexpf_use+:} false; then :
58387 $as_echo_n "(cached) " >&6
58388 else
58391 ac_ext=cpp
58392 ac_cpp='$CXXCPP $CPPFLAGS'
58393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58398 /* end confdefs.h. */
58399 #include <math.h>
58401 main ()
58403 _frexpf(0, 0);
58405 return 0;
58407 _ACEOF
58408 if ac_fn_cxx_try_compile "$LINENO"; then :
58409 glibcxx_cv_func__frexpf_use=yes
58410 else
58411 glibcxx_cv_func__frexpf_use=no
58413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58414 ac_ext=c
58415 ac_cpp='$CPP $CPPFLAGS'
58416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
58425 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
58427 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
58428 for ac_func in _frexpf
58429 do :
58430 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
58431 if test "x$ac_cv_func__frexpf" = xyes; then :
58432 cat >>confdefs.h <<_ACEOF
58433 #define HAVE__FREXPF 1
58434 _ACEOF
58437 done
58446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
58447 $as_echo_n "checking for hypotf declaration... " >&6; }
58448 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
58449 if ${glibcxx_cv_func_hypotf_use+:} false; then :
58450 $as_echo_n "(cached) " >&6
58451 else
58454 ac_ext=cpp
58455 ac_cpp='$CXXCPP $CPPFLAGS'
58456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58461 /* end confdefs.h. */
58462 #include <math.h>
58464 main ()
58466 hypotf(0, 0);
58468 return 0;
58470 _ACEOF
58471 if ac_fn_cxx_try_compile "$LINENO"; then :
58472 glibcxx_cv_func_hypotf_use=yes
58473 else
58474 glibcxx_cv_func_hypotf_use=no
58476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58477 ac_ext=c
58478 ac_cpp='$CPP $CPPFLAGS'
58479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
58488 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
58490 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
58491 for ac_func in hypotf
58492 do :
58493 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
58494 if test "x$ac_cv_func_hypotf" = xyes; then :
58495 cat >>confdefs.h <<_ACEOF
58496 #define HAVE_HYPOTF 1
58497 _ACEOF
58500 done
58502 else
58504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
58505 $as_echo_n "checking for _hypotf declaration... " >&6; }
58506 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
58507 if ${glibcxx_cv_func__hypotf_use+:} false; then :
58508 $as_echo_n "(cached) " >&6
58509 else
58512 ac_ext=cpp
58513 ac_cpp='$CXXCPP $CPPFLAGS'
58514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58519 /* end confdefs.h. */
58520 #include <math.h>
58522 main ()
58524 _hypotf(0, 0);
58526 return 0;
58528 _ACEOF
58529 if ac_fn_cxx_try_compile "$LINENO"; then :
58530 glibcxx_cv_func__hypotf_use=yes
58531 else
58532 glibcxx_cv_func__hypotf_use=no
58534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58535 ac_ext=c
58536 ac_cpp='$CPP $CPPFLAGS'
58537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
58546 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
58548 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
58549 for ac_func in _hypotf
58550 do :
58551 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
58552 if test "x$ac_cv_func__hypotf" = xyes; then :
58553 cat >>confdefs.h <<_ACEOF
58554 #define HAVE__HYPOTF 1
58555 _ACEOF
58558 done
58567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
58568 $as_echo_n "checking for ldexpf declaration... " >&6; }
58569 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
58570 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
58571 $as_echo_n "(cached) " >&6
58572 else
58575 ac_ext=cpp
58576 ac_cpp='$CXXCPP $CPPFLAGS'
58577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58582 /* end confdefs.h. */
58583 #include <math.h>
58585 main ()
58587 ldexpf(0, 0);
58589 return 0;
58591 _ACEOF
58592 if ac_fn_cxx_try_compile "$LINENO"; then :
58593 glibcxx_cv_func_ldexpf_use=yes
58594 else
58595 glibcxx_cv_func_ldexpf_use=no
58597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58598 ac_ext=c
58599 ac_cpp='$CPP $CPPFLAGS'
58600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
58609 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
58611 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
58612 for ac_func in ldexpf
58613 do :
58614 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
58615 if test "x$ac_cv_func_ldexpf" = xyes; then :
58616 cat >>confdefs.h <<_ACEOF
58617 #define HAVE_LDEXPF 1
58618 _ACEOF
58621 done
58623 else
58625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
58626 $as_echo_n "checking for _ldexpf declaration... " >&6; }
58627 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
58628 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
58629 $as_echo_n "(cached) " >&6
58630 else
58633 ac_ext=cpp
58634 ac_cpp='$CXXCPP $CPPFLAGS'
58635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58640 /* end confdefs.h. */
58641 #include <math.h>
58643 main ()
58645 _ldexpf(0, 0);
58647 return 0;
58649 _ACEOF
58650 if ac_fn_cxx_try_compile "$LINENO"; then :
58651 glibcxx_cv_func__ldexpf_use=yes
58652 else
58653 glibcxx_cv_func__ldexpf_use=no
58655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58656 ac_ext=c
58657 ac_cpp='$CPP $CPPFLAGS'
58658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
58667 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
58669 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
58670 for ac_func in _ldexpf
58671 do :
58672 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
58673 if test "x$ac_cv_func__ldexpf" = xyes; then :
58674 cat >>confdefs.h <<_ACEOF
58675 #define HAVE__LDEXPF 1
58676 _ACEOF
58679 done
58688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
58689 $as_echo_n "checking for logf declaration... " >&6; }
58690 if test x${glibcxx_cv_func_logf_use+set} != xset; then
58691 if ${glibcxx_cv_func_logf_use+:} false; then :
58692 $as_echo_n "(cached) " >&6
58693 else
58696 ac_ext=cpp
58697 ac_cpp='$CXXCPP $CPPFLAGS'
58698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58703 /* end confdefs.h. */
58704 #include <math.h>
58705 #ifdef HAVE_IEEEFP_H
58706 #include <ieeefp.h>
58707 #endif
58710 main ()
58712 logf(0);
58714 return 0;
58716 _ACEOF
58717 if ac_fn_cxx_try_compile "$LINENO"; then :
58718 glibcxx_cv_func_logf_use=yes
58719 else
58720 glibcxx_cv_func_logf_use=no
58722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58723 ac_ext=c
58724 ac_cpp='$CPP $CPPFLAGS'
58725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
58734 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
58736 if test x$glibcxx_cv_func_logf_use = x"yes"; then
58737 for ac_func in logf
58738 do :
58739 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
58740 if test "x$ac_cv_func_logf" = xyes; then :
58741 cat >>confdefs.h <<_ACEOF
58742 #define HAVE_LOGF 1
58743 _ACEOF
58746 done
58748 else
58750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
58751 $as_echo_n "checking for _logf declaration... " >&6; }
58752 if test x${glibcxx_cv_func__logf_use+set} != xset; then
58753 if ${glibcxx_cv_func__logf_use+:} false; then :
58754 $as_echo_n "(cached) " >&6
58755 else
58758 ac_ext=cpp
58759 ac_cpp='$CXXCPP $CPPFLAGS'
58760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58765 /* end confdefs.h. */
58766 #include <math.h>
58767 #ifdef HAVE_IEEEFP_H
58768 #include <ieeefp.h>
58769 #endif
58772 main ()
58774 _logf(0);
58776 return 0;
58778 _ACEOF
58779 if ac_fn_cxx_try_compile "$LINENO"; then :
58780 glibcxx_cv_func__logf_use=yes
58781 else
58782 glibcxx_cv_func__logf_use=no
58784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58785 ac_ext=c
58786 ac_cpp='$CPP $CPPFLAGS'
58787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
58796 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
58798 if test x$glibcxx_cv_func__logf_use = x"yes"; then
58799 for ac_func in _logf
58800 do :
58801 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
58802 if test "x$ac_cv_func__logf" = xyes; then :
58803 cat >>confdefs.h <<_ACEOF
58804 #define HAVE__LOGF 1
58805 _ACEOF
58808 done
58817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
58818 $as_echo_n "checking for log10f declaration... " >&6; }
58819 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
58820 if ${glibcxx_cv_func_log10f_use+:} false; then :
58821 $as_echo_n "(cached) " >&6
58822 else
58825 ac_ext=cpp
58826 ac_cpp='$CXXCPP $CPPFLAGS'
58827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58832 /* end confdefs.h. */
58833 #include <math.h>
58834 #ifdef HAVE_IEEEFP_H
58835 #include <ieeefp.h>
58836 #endif
58839 main ()
58841 log10f(0);
58843 return 0;
58845 _ACEOF
58846 if ac_fn_cxx_try_compile "$LINENO"; then :
58847 glibcxx_cv_func_log10f_use=yes
58848 else
58849 glibcxx_cv_func_log10f_use=no
58851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58852 ac_ext=c
58853 ac_cpp='$CPP $CPPFLAGS'
58854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
58863 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
58865 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
58866 for ac_func in log10f
58867 do :
58868 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
58869 if test "x$ac_cv_func_log10f" = xyes; then :
58870 cat >>confdefs.h <<_ACEOF
58871 #define HAVE_LOG10F 1
58872 _ACEOF
58875 done
58877 else
58879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
58880 $as_echo_n "checking for _log10f declaration... " >&6; }
58881 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
58882 if ${glibcxx_cv_func__log10f_use+:} false; then :
58883 $as_echo_n "(cached) " >&6
58884 else
58887 ac_ext=cpp
58888 ac_cpp='$CXXCPP $CPPFLAGS'
58889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58894 /* end confdefs.h. */
58895 #include <math.h>
58896 #ifdef HAVE_IEEEFP_H
58897 #include <ieeefp.h>
58898 #endif
58901 main ()
58903 _log10f(0);
58905 return 0;
58907 _ACEOF
58908 if ac_fn_cxx_try_compile "$LINENO"; then :
58909 glibcxx_cv_func__log10f_use=yes
58910 else
58911 glibcxx_cv_func__log10f_use=no
58913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58914 ac_ext=c
58915 ac_cpp='$CPP $CPPFLAGS'
58916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
58925 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
58927 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
58928 for ac_func in _log10f
58929 do :
58930 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
58931 if test "x$ac_cv_func__log10f" = xyes; then :
58932 cat >>confdefs.h <<_ACEOF
58933 #define HAVE__LOG10F 1
58934 _ACEOF
58937 done
58946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
58947 $as_echo_n "checking for modff declaration... " >&6; }
58948 if test x${glibcxx_cv_func_modff_use+set} != xset; then
58949 if ${glibcxx_cv_func_modff_use+:} false; then :
58950 $as_echo_n "(cached) " >&6
58951 else
58954 ac_ext=cpp
58955 ac_cpp='$CXXCPP $CPPFLAGS'
58956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58961 /* end confdefs.h. */
58962 #include <math.h>
58964 main ()
58966 modff(0, 0);
58968 return 0;
58970 _ACEOF
58971 if ac_fn_cxx_try_compile "$LINENO"; then :
58972 glibcxx_cv_func_modff_use=yes
58973 else
58974 glibcxx_cv_func_modff_use=no
58976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58977 ac_ext=c
58978 ac_cpp='$CPP $CPPFLAGS'
58979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
58988 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
58990 if test x$glibcxx_cv_func_modff_use = x"yes"; then
58991 for ac_func in modff
58992 do :
58993 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
58994 if test "x$ac_cv_func_modff" = xyes; then :
58995 cat >>confdefs.h <<_ACEOF
58996 #define HAVE_MODFF 1
58997 _ACEOF
59000 done
59002 else
59004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
59005 $as_echo_n "checking for _modff declaration... " >&6; }
59006 if test x${glibcxx_cv_func__modff_use+set} != xset; then
59007 if ${glibcxx_cv_func__modff_use+:} false; then :
59008 $as_echo_n "(cached) " >&6
59009 else
59012 ac_ext=cpp
59013 ac_cpp='$CXXCPP $CPPFLAGS'
59014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59019 /* end confdefs.h. */
59020 #include <math.h>
59022 main ()
59024 _modff(0, 0);
59026 return 0;
59028 _ACEOF
59029 if ac_fn_cxx_try_compile "$LINENO"; then :
59030 glibcxx_cv_func__modff_use=yes
59031 else
59032 glibcxx_cv_func__modff_use=no
59034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59035 ac_ext=c
59036 ac_cpp='$CPP $CPPFLAGS'
59037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
59046 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
59048 if test x$glibcxx_cv_func__modff_use = x"yes"; then
59049 for ac_func in _modff
59050 do :
59051 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
59052 if test "x$ac_cv_func__modff" = xyes; then :
59053 cat >>confdefs.h <<_ACEOF
59054 #define HAVE__MODFF 1
59055 _ACEOF
59058 done
59067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
59068 $as_echo_n "checking for modf declaration... " >&6; }
59069 if test x${glibcxx_cv_func_modf_use+set} != xset; then
59070 if ${glibcxx_cv_func_modf_use+:} false; then :
59071 $as_echo_n "(cached) " >&6
59072 else
59075 ac_ext=cpp
59076 ac_cpp='$CXXCPP $CPPFLAGS'
59077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59082 /* end confdefs.h. */
59083 #include <math.h>
59085 main ()
59087 modf(0, 0);
59089 return 0;
59091 _ACEOF
59092 if ac_fn_cxx_try_compile "$LINENO"; then :
59093 glibcxx_cv_func_modf_use=yes
59094 else
59095 glibcxx_cv_func_modf_use=no
59097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59098 ac_ext=c
59099 ac_cpp='$CPP $CPPFLAGS'
59100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
59109 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
59111 if test x$glibcxx_cv_func_modf_use = x"yes"; then
59112 for ac_func in modf
59113 do :
59114 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
59115 if test "x$ac_cv_func_modf" = xyes; then :
59116 cat >>confdefs.h <<_ACEOF
59117 #define HAVE_MODF 1
59118 _ACEOF
59121 done
59123 else
59125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
59126 $as_echo_n "checking for _modf declaration... " >&6; }
59127 if test x${glibcxx_cv_func__modf_use+set} != xset; then
59128 if ${glibcxx_cv_func__modf_use+:} false; then :
59129 $as_echo_n "(cached) " >&6
59130 else
59133 ac_ext=cpp
59134 ac_cpp='$CXXCPP $CPPFLAGS'
59135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59140 /* end confdefs.h. */
59141 #include <math.h>
59143 main ()
59145 _modf(0, 0);
59147 return 0;
59149 _ACEOF
59150 if ac_fn_cxx_try_compile "$LINENO"; then :
59151 glibcxx_cv_func__modf_use=yes
59152 else
59153 glibcxx_cv_func__modf_use=no
59155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59156 ac_ext=c
59157 ac_cpp='$CPP $CPPFLAGS'
59158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
59167 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
59169 if test x$glibcxx_cv_func__modf_use = x"yes"; then
59170 for ac_func in _modf
59171 do :
59172 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
59173 if test "x$ac_cv_func__modf" = xyes; then :
59174 cat >>confdefs.h <<_ACEOF
59175 #define HAVE__MODF 1
59176 _ACEOF
59179 done
59188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
59189 $as_echo_n "checking for powf declaration... " >&6; }
59190 if test x${glibcxx_cv_func_powf_use+set} != xset; then
59191 if ${glibcxx_cv_func_powf_use+:} false; then :
59192 $as_echo_n "(cached) " >&6
59193 else
59196 ac_ext=cpp
59197 ac_cpp='$CXXCPP $CPPFLAGS'
59198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59203 /* end confdefs.h. */
59204 #include <math.h>
59206 main ()
59208 powf(0, 0);
59210 return 0;
59212 _ACEOF
59213 if ac_fn_cxx_try_compile "$LINENO"; then :
59214 glibcxx_cv_func_powf_use=yes
59215 else
59216 glibcxx_cv_func_powf_use=no
59218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59219 ac_ext=c
59220 ac_cpp='$CPP $CPPFLAGS'
59221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
59230 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
59232 if test x$glibcxx_cv_func_powf_use = x"yes"; then
59233 for ac_func in powf
59234 do :
59235 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
59236 if test "x$ac_cv_func_powf" = xyes; then :
59237 cat >>confdefs.h <<_ACEOF
59238 #define HAVE_POWF 1
59239 _ACEOF
59242 done
59244 else
59246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
59247 $as_echo_n "checking for _powf declaration... " >&6; }
59248 if test x${glibcxx_cv_func__powf_use+set} != xset; then
59249 if ${glibcxx_cv_func__powf_use+:} false; then :
59250 $as_echo_n "(cached) " >&6
59251 else
59254 ac_ext=cpp
59255 ac_cpp='$CXXCPP $CPPFLAGS'
59256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59261 /* end confdefs.h. */
59262 #include <math.h>
59264 main ()
59266 _powf(0, 0);
59268 return 0;
59270 _ACEOF
59271 if ac_fn_cxx_try_compile "$LINENO"; then :
59272 glibcxx_cv_func__powf_use=yes
59273 else
59274 glibcxx_cv_func__powf_use=no
59276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59277 ac_ext=c
59278 ac_cpp='$CPP $CPPFLAGS'
59279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
59288 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
59290 if test x$glibcxx_cv_func__powf_use = x"yes"; then
59291 for ac_func in _powf
59292 do :
59293 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
59294 if test "x$ac_cv_func__powf" = xyes; then :
59295 cat >>confdefs.h <<_ACEOF
59296 #define HAVE__POWF 1
59297 _ACEOF
59300 done
59309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
59310 $as_echo_n "checking for sqrtf declaration... " >&6; }
59311 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
59312 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
59313 $as_echo_n "(cached) " >&6
59314 else
59317 ac_ext=cpp
59318 ac_cpp='$CXXCPP $CPPFLAGS'
59319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59324 /* end confdefs.h. */
59325 #include <math.h>
59326 #ifdef HAVE_IEEEFP_H
59327 #include <ieeefp.h>
59328 #endif
59331 main ()
59333 sqrtf(0);
59335 return 0;
59337 _ACEOF
59338 if ac_fn_cxx_try_compile "$LINENO"; then :
59339 glibcxx_cv_func_sqrtf_use=yes
59340 else
59341 glibcxx_cv_func_sqrtf_use=no
59343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59344 ac_ext=c
59345 ac_cpp='$CPP $CPPFLAGS'
59346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
59355 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
59357 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
59358 for ac_func in sqrtf
59359 do :
59360 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
59361 if test "x$ac_cv_func_sqrtf" = xyes; then :
59362 cat >>confdefs.h <<_ACEOF
59363 #define HAVE_SQRTF 1
59364 _ACEOF
59367 done
59369 else
59371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
59372 $as_echo_n "checking for _sqrtf declaration... " >&6; }
59373 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
59374 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
59375 $as_echo_n "(cached) " >&6
59376 else
59379 ac_ext=cpp
59380 ac_cpp='$CXXCPP $CPPFLAGS'
59381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59386 /* end confdefs.h. */
59387 #include <math.h>
59388 #ifdef HAVE_IEEEFP_H
59389 #include <ieeefp.h>
59390 #endif
59393 main ()
59395 _sqrtf(0);
59397 return 0;
59399 _ACEOF
59400 if ac_fn_cxx_try_compile "$LINENO"; then :
59401 glibcxx_cv_func__sqrtf_use=yes
59402 else
59403 glibcxx_cv_func__sqrtf_use=no
59405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59406 ac_ext=c
59407 ac_cpp='$CPP $CPPFLAGS'
59408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
59417 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
59419 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
59420 for ac_func in _sqrtf
59421 do :
59422 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
59423 if test "x$ac_cv_func__sqrtf" = xyes; then :
59424 cat >>confdefs.h <<_ACEOF
59425 #define HAVE__SQRTF 1
59426 _ACEOF
59429 done
59438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
59439 $as_echo_n "checking for sincosf declaration... " >&6; }
59440 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
59441 if ${glibcxx_cv_func_sincosf_use+:} false; then :
59442 $as_echo_n "(cached) " >&6
59443 else
59446 ac_ext=cpp
59447 ac_cpp='$CXXCPP $CPPFLAGS'
59448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59453 /* end confdefs.h. */
59454 #include <math.h>
59456 main ()
59458 sincosf(0, 0, 0);
59460 return 0;
59462 _ACEOF
59463 if ac_fn_cxx_try_compile "$LINENO"; then :
59464 glibcxx_cv_func_sincosf_use=yes
59465 else
59466 glibcxx_cv_func_sincosf_use=no
59468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59469 ac_ext=c
59470 ac_cpp='$CPP $CPPFLAGS'
59471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
59480 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
59482 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
59483 for ac_func in sincosf
59484 do :
59485 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
59486 if test "x$ac_cv_func_sincosf" = xyes; then :
59487 cat >>confdefs.h <<_ACEOF
59488 #define HAVE_SINCOSF 1
59489 _ACEOF
59492 done
59494 else
59496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
59497 $as_echo_n "checking for _sincosf declaration... " >&6; }
59498 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
59499 if ${glibcxx_cv_func__sincosf_use+:} false; then :
59500 $as_echo_n "(cached) " >&6
59501 else
59504 ac_ext=cpp
59505 ac_cpp='$CXXCPP $CPPFLAGS'
59506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59511 /* end confdefs.h. */
59512 #include <math.h>
59514 main ()
59516 _sincosf(0, 0, 0);
59518 return 0;
59520 _ACEOF
59521 if ac_fn_cxx_try_compile "$LINENO"; then :
59522 glibcxx_cv_func__sincosf_use=yes
59523 else
59524 glibcxx_cv_func__sincosf_use=no
59526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59527 ac_ext=c
59528 ac_cpp='$CPP $CPPFLAGS'
59529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
59538 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
59540 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
59541 for ac_func in _sincosf
59542 do :
59543 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
59544 if test "x$ac_cv_func__sincosf" = xyes; then :
59545 cat >>confdefs.h <<_ACEOF
59546 #define HAVE__SINCOSF 1
59547 _ACEOF
59550 done
59559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
59560 $as_echo_n "checking for finitef declaration... " >&6; }
59561 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
59562 if ${glibcxx_cv_func_finitef_use+:} false; then :
59563 $as_echo_n "(cached) " >&6
59564 else
59567 ac_ext=cpp
59568 ac_cpp='$CXXCPP $CPPFLAGS'
59569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59574 /* end confdefs.h. */
59575 #include <math.h>
59576 #ifdef HAVE_IEEEFP_H
59577 #include <ieeefp.h>
59578 #endif
59581 main ()
59583 finitef(0);
59585 return 0;
59587 _ACEOF
59588 if ac_fn_cxx_try_compile "$LINENO"; then :
59589 glibcxx_cv_func_finitef_use=yes
59590 else
59591 glibcxx_cv_func_finitef_use=no
59593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59594 ac_ext=c
59595 ac_cpp='$CPP $CPPFLAGS'
59596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
59605 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
59607 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
59608 for ac_func in finitef
59609 do :
59610 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
59611 if test "x$ac_cv_func_finitef" = xyes; then :
59612 cat >>confdefs.h <<_ACEOF
59613 #define HAVE_FINITEF 1
59614 _ACEOF
59617 done
59619 else
59621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
59622 $as_echo_n "checking for _finitef declaration... " >&6; }
59623 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
59624 if ${glibcxx_cv_func__finitef_use+:} false; then :
59625 $as_echo_n "(cached) " >&6
59626 else
59629 ac_ext=cpp
59630 ac_cpp='$CXXCPP $CPPFLAGS'
59631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59636 /* end confdefs.h. */
59637 #include <math.h>
59638 #ifdef HAVE_IEEEFP_H
59639 #include <ieeefp.h>
59640 #endif
59643 main ()
59645 _finitef(0);
59647 return 0;
59649 _ACEOF
59650 if ac_fn_cxx_try_compile "$LINENO"; then :
59651 glibcxx_cv_func__finitef_use=yes
59652 else
59653 glibcxx_cv_func__finitef_use=no
59655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59656 ac_ext=c
59657 ac_cpp='$CPP $CPPFLAGS'
59658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
59667 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
59669 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
59670 for ac_func in _finitef
59671 do :
59672 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
59673 if test "x$ac_cv_func__finitef" = xyes; then :
59674 cat >>confdefs.h <<_ACEOF
59675 #define HAVE__FINITEF 1
59676 _ACEOF
59679 done
59688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
59689 $as_echo_n "checking for long double trig functions... " >&6; }
59690 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
59691 $as_echo_n "(cached) " >&6
59692 else
59695 ac_ext=cpp
59696 ac_cpp='$CXXCPP $CPPFLAGS'
59697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59702 /* end confdefs.h. */
59703 #include <math.h>
59705 main ()
59707 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
59709 return 0;
59711 _ACEOF
59712 if ac_fn_cxx_try_compile "$LINENO"; then :
59713 glibcxx_cv_func_long_double_trig_use=yes
59714 else
59715 glibcxx_cv_func_long_double_trig_use=no
59717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59718 ac_ext=c
59719 ac_cpp='$CPP $CPPFLAGS'
59720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
59727 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
59728 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
59729 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
59730 do :
59731 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59732 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59733 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
59734 cat >>confdefs.h <<_ACEOF
59735 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59736 _ACEOF
59739 done
59741 else
59742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
59743 $as_echo_n "checking for _long double trig functions... " >&6; }
59744 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
59745 $as_echo_n "(cached) " >&6
59746 else
59749 ac_ext=cpp
59750 ac_cpp='$CXXCPP $CPPFLAGS'
59751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59756 /* end confdefs.h. */
59757 #include <math.h>
59759 main ()
59761 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
59763 return 0;
59765 _ACEOF
59766 if ac_fn_cxx_try_compile "$LINENO"; then :
59767 glibcxx_cv_func__long_double_trig_use=yes
59768 else
59769 glibcxx_cv_func__long_double_trig_use=no
59771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59772 ac_ext=c
59773 ac_cpp='$CPP $CPPFLAGS'
59774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
59781 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
59782 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
59783 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
59784 do :
59785 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59786 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59787 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
59788 cat >>confdefs.h <<_ACEOF
59789 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59790 _ACEOF
59793 done
59802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
59803 $as_echo_n "checking for long double round functions... " >&6; }
59804 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
59805 $as_echo_n "(cached) " >&6
59806 else
59809 ac_ext=cpp
59810 ac_cpp='$CXXCPP $CPPFLAGS'
59811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59816 /* end confdefs.h. */
59817 #include <math.h>
59819 main ()
59821 ceill (0); floorl (0);
59823 return 0;
59825 _ACEOF
59826 if ac_fn_cxx_try_compile "$LINENO"; then :
59827 glibcxx_cv_func_long_double_round_use=yes
59828 else
59829 glibcxx_cv_func_long_double_round_use=no
59831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59832 ac_ext=c
59833 ac_cpp='$CPP $CPPFLAGS'
59834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
59841 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
59842 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
59843 for ac_func in ceill floorl
59844 do :
59845 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59846 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59847 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
59848 cat >>confdefs.h <<_ACEOF
59849 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59850 _ACEOF
59853 done
59855 else
59856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
59857 $as_echo_n "checking for _long double round functions... " >&6; }
59858 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
59859 $as_echo_n "(cached) " >&6
59860 else
59863 ac_ext=cpp
59864 ac_cpp='$CXXCPP $CPPFLAGS'
59865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59870 /* end confdefs.h. */
59871 #include <math.h>
59873 main ()
59875 _ceill (0); _floorl (0);
59877 return 0;
59879 _ACEOF
59880 if ac_fn_cxx_try_compile "$LINENO"; then :
59881 glibcxx_cv_func__long_double_round_use=yes
59882 else
59883 glibcxx_cv_func__long_double_round_use=no
59885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59886 ac_ext=c
59887 ac_cpp='$CPP $CPPFLAGS'
59888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
59895 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
59896 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
59897 for ac_func in _ceill _floorl
59898 do :
59899 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59900 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59901 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
59902 cat >>confdefs.h <<_ACEOF
59903 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59904 _ACEOF
59907 done
59917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
59918 $as_echo_n "checking for isnanl declaration... " >&6; }
59919 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
59920 if ${glibcxx_cv_func_isnanl_use+:} false; then :
59921 $as_echo_n "(cached) " >&6
59922 else
59925 ac_ext=cpp
59926 ac_cpp='$CXXCPP $CPPFLAGS'
59927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59932 /* end confdefs.h. */
59933 #include <math.h>
59934 #ifdef HAVE_IEEEFP_H
59935 #include <ieeefp.h>
59936 #endif
59939 main ()
59941 isnanl(0);
59943 return 0;
59945 _ACEOF
59946 if ac_fn_cxx_try_compile "$LINENO"; then :
59947 glibcxx_cv_func_isnanl_use=yes
59948 else
59949 glibcxx_cv_func_isnanl_use=no
59951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59952 ac_ext=c
59953 ac_cpp='$CPP $CPPFLAGS'
59954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
59963 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
59965 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
59966 for ac_func in isnanl
59967 do :
59968 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
59969 if test "x$ac_cv_func_isnanl" = xyes; then :
59970 cat >>confdefs.h <<_ACEOF
59971 #define HAVE_ISNANL 1
59972 _ACEOF
59975 done
59977 else
59979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
59980 $as_echo_n "checking for _isnanl declaration... " >&6; }
59981 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
59982 if ${glibcxx_cv_func__isnanl_use+:} false; then :
59983 $as_echo_n "(cached) " >&6
59984 else
59987 ac_ext=cpp
59988 ac_cpp='$CXXCPP $CPPFLAGS'
59989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59994 /* end confdefs.h. */
59995 #include <math.h>
59996 #ifdef HAVE_IEEEFP_H
59997 #include <ieeefp.h>
59998 #endif
60001 main ()
60003 _isnanl(0);
60005 return 0;
60007 _ACEOF
60008 if ac_fn_cxx_try_compile "$LINENO"; then :
60009 glibcxx_cv_func__isnanl_use=yes
60010 else
60011 glibcxx_cv_func__isnanl_use=no
60013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60014 ac_ext=c
60015 ac_cpp='$CPP $CPPFLAGS'
60016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
60025 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
60027 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
60028 for ac_func in _isnanl
60029 do :
60030 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
60031 if test "x$ac_cv_func__isnanl" = xyes; then :
60032 cat >>confdefs.h <<_ACEOF
60033 #define HAVE__ISNANL 1
60034 _ACEOF
60037 done
60046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
60047 $as_echo_n "checking for isinfl declaration... " >&6; }
60048 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
60049 if ${glibcxx_cv_func_isinfl_use+:} false; then :
60050 $as_echo_n "(cached) " >&6
60051 else
60054 ac_ext=cpp
60055 ac_cpp='$CXXCPP $CPPFLAGS'
60056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60061 /* end confdefs.h. */
60062 #include <math.h>
60063 #ifdef HAVE_IEEEFP_H
60064 #include <ieeefp.h>
60065 #endif
60068 main ()
60070 isinfl(0);
60072 return 0;
60074 _ACEOF
60075 if ac_fn_cxx_try_compile "$LINENO"; then :
60076 glibcxx_cv_func_isinfl_use=yes
60077 else
60078 glibcxx_cv_func_isinfl_use=no
60080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60081 ac_ext=c
60082 ac_cpp='$CPP $CPPFLAGS'
60083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
60092 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
60094 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
60095 for ac_func in isinfl
60096 do :
60097 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
60098 if test "x$ac_cv_func_isinfl" = xyes; then :
60099 cat >>confdefs.h <<_ACEOF
60100 #define HAVE_ISINFL 1
60101 _ACEOF
60104 done
60106 else
60108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
60109 $as_echo_n "checking for _isinfl declaration... " >&6; }
60110 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
60111 if ${glibcxx_cv_func__isinfl_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 <math.h>
60125 #ifdef HAVE_IEEEFP_H
60126 #include <ieeefp.h>
60127 #endif
60130 main ()
60132 _isinfl(0);
60134 return 0;
60136 _ACEOF
60137 if ac_fn_cxx_try_compile "$LINENO"; then :
60138 glibcxx_cv_func__isinfl_use=yes
60139 else
60140 glibcxx_cv_func__isinfl_use=no
60142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60143 ac_ext=c
60144 ac_cpp='$CPP $CPPFLAGS'
60145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
60154 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
60156 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
60157 for ac_func in _isinfl
60158 do :
60159 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
60160 if test "x$ac_cv_func__isinfl" = xyes; then :
60161 cat >>confdefs.h <<_ACEOF
60162 #define HAVE__ISINFL 1
60163 _ACEOF
60166 done
60175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
60176 $as_echo_n "checking for atan2l declaration... " >&6; }
60177 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
60178 if ${glibcxx_cv_func_atan2l_use+:} false; then :
60179 $as_echo_n "(cached) " >&6
60180 else
60183 ac_ext=cpp
60184 ac_cpp='$CXXCPP $CPPFLAGS'
60185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60190 /* end confdefs.h. */
60191 #include <math.h>
60193 main ()
60195 atan2l(0, 0);
60197 return 0;
60199 _ACEOF
60200 if ac_fn_cxx_try_compile "$LINENO"; then :
60201 glibcxx_cv_func_atan2l_use=yes
60202 else
60203 glibcxx_cv_func_atan2l_use=no
60205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60206 ac_ext=c
60207 ac_cpp='$CPP $CPPFLAGS'
60208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
60217 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
60219 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
60220 for ac_func in atan2l
60221 do :
60222 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
60223 if test "x$ac_cv_func_atan2l" = xyes; then :
60224 cat >>confdefs.h <<_ACEOF
60225 #define HAVE_ATAN2L 1
60226 _ACEOF
60229 done
60231 else
60233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
60234 $as_echo_n "checking for _atan2l declaration... " >&6; }
60235 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
60236 if ${glibcxx_cv_func__atan2l_use+:} false; then :
60237 $as_echo_n "(cached) " >&6
60238 else
60241 ac_ext=cpp
60242 ac_cpp='$CXXCPP $CPPFLAGS'
60243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60248 /* end confdefs.h. */
60249 #include <math.h>
60251 main ()
60253 _atan2l(0, 0);
60255 return 0;
60257 _ACEOF
60258 if ac_fn_cxx_try_compile "$LINENO"; then :
60259 glibcxx_cv_func__atan2l_use=yes
60260 else
60261 glibcxx_cv_func__atan2l_use=no
60263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60264 ac_ext=c
60265 ac_cpp='$CPP $CPPFLAGS'
60266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
60275 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
60277 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
60278 for ac_func in _atan2l
60279 do :
60280 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
60281 if test "x$ac_cv_func__atan2l" = xyes; then :
60282 cat >>confdefs.h <<_ACEOF
60283 #define HAVE__ATAN2L 1
60284 _ACEOF
60287 done
60296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
60297 $as_echo_n "checking for expl declaration... " >&6; }
60298 if test x${glibcxx_cv_func_expl_use+set} != xset; then
60299 if ${glibcxx_cv_func_expl_use+:} false; then :
60300 $as_echo_n "(cached) " >&6
60301 else
60304 ac_ext=cpp
60305 ac_cpp='$CXXCPP $CPPFLAGS'
60306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60311 /* end confdefs.h. */
60312 #include <math.h>
60313 #ifdef HAVE_IEEEFP_H
60314 #include <ieeefp.h>
60315 #endif
60318 main ()
60320 expl(0);
60322 return 0;
60324 _ACEOF
60325 if ac_fn_cxx_try_compile "$LINENO"; then :
60326 glibcxx_cv_func_expl_use=yes
60327 else
60328 glibcxx_cv_func_expl_use=no
60330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60331 ac_ext=c
60332 ac_cpp='$CPP $CPPFLAGS'
60333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
60342 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
60344 if test x$glibcxx_cv_func_expl_use = x"yes"; then
60345 for ac_func in expl
60346 do :
60347 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
60348 if test "x$ac_cv_func_expl" = xyes; then :
60349 cat >>confdefs.h <<_ACEOF
60350 #define HAVE_EXPL 1
60351 _ACEOF
60354 done
60356 else
60358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
60359 $as_echo_n "checking for _expl declaration... " >&6; }
60360 if test x${glibcxx_cv_func__expl_use+set} != xset; then
60361 if ${glibcxx_cv_func__expl_use+:} false; then :
60362 $as_echo_n "(cached) " >&6
60363 else
60366 ac_ext=cpp
60367 ac_cpp='$CXXCPP $CPPFLAGS'
60368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60373 /* end confdefs.h. */
60374 #include <math.h>
60375 #ifdef HAVE_IEEEFP_H
60376 #include <ieeefp.h>
60377 #endif
60380 main ()
60382 _expl(0);
60384 return 0;
60386 _ACEOF
60387 if ac_fn_cxx_try_compile "$LINENO"; then :
60388 glibcxx_cv_func__expl_use=yes
60389 else
60390 glibcxx_cv_func__expl_use=no
60392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60393 ac_ext=c
60394 ac_cpp='$CPP $CPPFLAGS'
60395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
60404 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
60406 if test x$glibcxx_cv_func__expl_use = x"yes"; then
60407 for ac_func in _expl
60408 do :
60409 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
60410 if test "x$ac_cv_func__expl" = xyes; then :
60411 cat >>confdefs.h <<_ACEOF
60412 #define HAVE__EXPL 1
60413 _ACEOF
60416 done
60425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
60426 $as_echo_n "checking for fabsl declaration... " >&6; }
60427 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
60428 if ${glibcxx_cv_func_fabsl_use+:} false; then :
60429 $as_echo_n "(cached) " >&6
60430 else
60433 ac_ext=cpp
60434 ac_cpp='$CXXCPP $CPPFLAGS'
60435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60440 /* end confdefs.h. */
60441 #include <math.h>
60442 #ifdef HAVE_IEEEFP_H
60443 #include <ieeefp.h>
60444 #endif
60447 main ()
60449 fabsl(0);
60451 return 0;
60453 _ACEOF
60454 if ac_fn_cxx_try_compile "$LINENO"; then :
60455 glibcxx_cv_func_fabsl_use=yes
60456 else
60457 glibcxx_cv_func_fabsl_use=no
60459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60460 ac_ext=c
60461 ac_cpp='$CPP $CPPFLAGS'
60462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
60471 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
60473 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
60474 for ac_func in fabsl
60475 do :
60476 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
60477 if test "x$ac_cv_func_fabsl" = xyes; then :
60478 cat >>confdefs.h <<_ACEOF
60479 #define HAVE_FABSL 1
60480 _ACEOF
60483 done
60485 else
60487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
60488 $as_echo_n "checking for _fabsl declaration... " >&6; }
60489 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
60490 if ${glibcxx_cv_func__fabsl_use+:} false; then :
60491 $as_echo_n "(cached) " >&6
60492 else
60495 ac_ext=cpp
60496 ac_cpp='$CXXCPP $CPPFLAGS'
60497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60502 /* end confdefs.h. */
60503 #include <math.h>
60504 #ifdef HAVE_IEEEFP_H
60505 #include <ieeefp.h>
60506 #endif
60509 main ()
60511 _fabsl(0);
60513 return 0;
60515 _ACEOF
60516 if ac_fn_cxx_try_compile "$LINENO"; then :
60517 glibcxx_cv_func__fabsl_use=yes
60518 else
60519 glibcxx_cv_func__fabsl_use=no
60521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60522 ac_ext=c
60523 ac_cpp='$CPP $CPPFLAGS'
60524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
60533 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
60535 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
60536 for ac_func in _fabsl
60537 do :
60538 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
60539 if test "x$ac_cv_func__fabsl" = xyes; then :
60540 cat >>confdefs.h <<_ACEOF
60541 #define HAVE__FABSL 1
60542 _ACEOF
60545 done
60554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
60555 $as_echo_n "checking for fmodl declaration... " >&6; }
60556 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
60557 if ${glibcxx_cv_func_fmodl_use+:} false; then :
60558 $as_echo_n "(cached) " >&6
60559 else
60562 ac_ext=cpp
60563 ac_cpp='$CXXCPP $CPPFLAGS'
60564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60569 /* end confdefs.h. */
60570 #include <math.h>
60572 main ()
60574 fmodl(0, 0);
60576 return 0;
60578 _ACEOF
60579 if ac_fn_cxx_try_compile "$LINENO"; then :
60580 glibcxx_cv_func_fmodl_use=yes
60581 else
60582 glibcxx_cv_func_fmodl_use=no
60584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60585 ac_ext=c
60586 ac_cpp='$CPP $CPPFLAGS'
60587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
60596 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
60598 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
60599 for ac_func in fmodl
60600 do :
60601 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
60602 if test "x$ac_cv_func_fmodl" = xyes; then :
60603 cat >>confdefs.h <<_ACEOF
60604 #define HAVE_FMODL 1
60605 _ACEOF
60608 done
60610 else
60612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
60613 $as_echo_n "checking for _fmodl declaration... " >&6; }
60614 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
60615 if ${glibcxx_cv_func__fmodl_use+:} false; then :
60616 $as_echo_n "(cached) " >&6
60617 else
60620 ac_ext=cpp
60621 ac_cpp='$CXXCPP $CPPFLAGS'
60622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60627 /* end confdefs.h. */
60628 #include <math.h>
60630 main ()
60632 _fmodl(0, 0);
60634 return 0;
60636 _ACEOF
60637 if ac_fn_cxx_try_compile "$LINENO"; then :
60638 glibcxx_cv_func__fmodl_use=yes
60639 else
60640 glibcxx_cv_func__fmodl_use=no
60642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60643 ac_ext=c
60644 ac_cpp='$CPP $CPPFLAGS'
60645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
60654 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
60656 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
60657 for ac_func in _fmodl
60658 do :
60659 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
60660 if test "x$ac_cv_func__fmodl" = xyes; then :
60661 cat >>confdefs.h <<_ACEOF
60662 #define HAVE__FMODL 1
60663 _ACEOF
60666 done
60675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
60676 $as_echo_n "checking for frexpl declaration... " >&6; }
60677 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
60678 if ${glibcxx_cv_func_frexpl_use+:} false; then :
60679 $as_echo_n "(cached) " >&6
60680 else
60683 ac_ext=cpp
60684 ac_cpp='$CXXCPP $CPPFLAGS'
60685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60690 /* end confdefs.h. */
60691 #include <math.h>
60693 main ()
60695 frexpl(0, 0);
60697 return 0;
60699 _ACEOF
60700 if ac_fn_cxx_try_compile "$LINENO"; then :
60701 glibcxx_cv_func_frexpl_use=yes
60702 else
60703 glibcxx_cv_func_frexpl_use=no
60705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60706 ac_ext=c
60707 ac_cpp='$CPP $CPPFLAGS'
60708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
60717 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
60719 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
60720 for ac_func in frexpl
60721 do :
60722 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
60723 if test "x$ac_cv_func_frexpl" = xyes; then :
60724 cat >>confdefs.h <<_ACEOF
60725 #define HAVE_FREXPL 1
60726 _ACEOF
60729 done
60731 else
60733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
60734 $as_echo_n "checking for _frexpl declaration... " >&6; }
60735 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
60736 if ${glibcxx_cv_func__frexpl_use+:} false; then :
60737 $as_echo_n "(cached) " >&6
60738 else
60741 ac_ext=cpp
60742 ac_cpp='$CXXCPP $CPPFLAGS'
60743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60748 /* end confdefs.h. */
60749 #include <math.h>
60751 main ()
60753 _frexpl(0, 0);
60755 return 0;
60757 _ACEOF
60758 if ac_fn_cxx_try_compile "$LINENO"; then :
60759 glibcxx_cv_func__frexpl_use=yes
60760 else
60761 glibcxx_cv_func__frexpl_use=no
60763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60764 ac_ext=c
60765 ac_cpp='$CPP $CPPFLAGS'
60766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
60775 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
60777 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
60778 for ac_func in _frexpl
60779 do :
60780 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
60781 if test "x$ac_cv_func__frexpl" = xyes; then :
60782 cat >>confdefs.h <<_ACEOF
60783 #define HAVE__FREXPL 1
60784 _ACEOF
60787 done
60796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
60797 $as_echo_n "checking for hypotl declaration... " >&6; }
60798 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
60799 if ${glibcxx_cv_func_hypotl_use+:} false; then :
60800 $as_echo_n "(cached) " >&6
60801 else
60804 ac_ext=cpp
60805 ac_cpp='$CXXCPP $CPPFLAGS'
60806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60811 /* end confdefs.h. */
60812 #include <math.h>
60814 main ()
60816 hypotl(0, 0);
60818 return 0;
60820 _ACEOF
60821 if ac_fn_cxx_try_compile "$LINENO"; then :
60822 glibcxx_cv_func_hypotl_use=yes
60823 else
60824 glibcxx_cv_func_hypotl_use=no
60826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60827 ac_ext=c
60828 ac_cpp='$CPP $CPPFLAGS'
60829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
60838 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
60840 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
60841 for ac_func in hypotl
60842 do :
60843 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
60844 if test "x$ac_cv_func_hypotl" = xyes; then :
60845 cat >>confdefs.h <<_ACEOF
60846 #define HAVE_HYPOTL 1
60847 _ACEOF
60850 done
60852 else
60854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
60855 $as_echo_n "checking for _hypotl declaration... " >&6; }
60856 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
60857 if ${glibcxx_cv_func__hypotl_use+:} false; then :
60858 $as_echo_n "(cached) " >&6
60859 else
60862 ac_ext=cpp
60863 ac_cpp='$CXXCPP $CPPFLAGS'
60864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60869 /* end confdefs.h. */
60870 #include <math.h>
60872 main ()
60874 _hypotl(0, 0);
60876 return 0;
60878 _ACEOF
60879 if ac_fn_cxx_try_compile "$LINENO"; then :
60880 glibcxx_cv_func__hypotl_use=yes
60881 else
60882 glibcxx_cv_func__hypotl_use=no
60884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60885 ac_ext=c
60886 ac_cpp='$CPP $CPPFLAGS'
60887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
60896 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
60898 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
60899 for ac_func in _hypotl
60900 do :
60901 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
60902 if test "x$ac_cv_func__hypotl" = xyes; then :
60903 cat >>confdefs.h <<_ACEOF
60904 #define HAVE__HYPOTL 1
60905 _ACEOF
60908 done
60917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
60918 $as_echo_n "checking for ldexpl declaration... " >&6; }
60919 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
60920 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
60921 $as_echo_n "(cached) " >&6
60922 else
60925 ac_ext=cpp
60926 ac_cpp='$CXXCPP $CPPFLAGS'
60927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60932 /* end confdefs.h. */
60933 #include <math.h>
60935 main ()
60937 ldexpl(0, 0);
60939 return 0;
60941 _ACEOF
60942 if ac_fn_cxx_try_compile "$LINENO"; then :
60943 glibcxx_cv_func_ldexpl_use=yes
60944 else
60945 glibcxx_cv_func_ldexpl_use=no
60947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60948 ac_ext=c
60949 ac_cpp='$CPP $CPPFLAGS'
60950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
60959 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
60961 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
60962 for ac_func in ldexpl
60963 do :
60964 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
60965 if test "x$ac_cv_func_ldexpl" = xyes; then :
60966 cat >>confdefs.h <<_ACEOF
60967 #define HAVE_LDEXPL 1
60968 _ACEOF
60971 done
60973 else
60975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
60976 $as_echo_n "checking for _ldexpl declaration... " >&6; }
60977 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
60978 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
60979 $as_echo_n "(cached) " >&6
60980 else
60983 ac_ext=cpp
60984 ac_cpp='$CXXCPP $CPPFLAGS'
60985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60990 /* end confdefs.h. */
60991 #include <math.h>
60993 main ()
60995 _ldexpl(0, 0);
60997 return 0;
60999 _ACEOF
61000 if ac_fn_cxx_try_compile "$LINENO"; then :
61001 glibcxx_cv_func__ldexpl_use=yes
61002 else
61003 glibcxx_cv_func__ldexpl_use=no
61005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61006 ac_ext=c
61007 ac_cpp='$CPP $CPPFLAGS'
61008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
61017 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
61019 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
61020 for ac_func in _ldexpl
61021 do :
61022 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
61023 if test "x$ac_cv_func__ldexpl" = xyes; then :
61024 cat >>confdefs.h <<_ACEOF
61025 #define HAVE__LDEXPL 1
61026 _ACEOF
61029 done
61038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
61039 $as_echo_n "checking for logl declaration... " >&6; }
61040 if test x${glibcxx_cv_func_logl_use+set} != xset; then
61041 if ${glibcxx_cv_func_logl_use+:} false; then :
61042 $as_echo_n "(cached) " >&6
61043 else
61046 ac_ext=cpp
61047 ac_cpp='$CXXCPP $CPPFLAGS'
61048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61053 /* end confdefs.h. */
61054 #include <math.h>
61055 #ifdef HAVE_IEEEFP_H
61056 #include <ieeefp.h>
61057 #endif
61060 main ()
61062 logl(0);
61064 return 0;
61066 _ACEOF
61067 if ac_fn_cxx_try_compile "$LINENO"; then :
61068 glibcxx_cv_func_logl_use=yes
61069 else
61070 glibcxx_cv_func_logl_use=no
61072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61073 ac_ext=c
61074 ac_cpp='$CPP $CPPFLAGS'
61075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
61084 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
61086 if test x$glibcxx_cv_func_logl_use = x"yes"; then
61087 for ac_func in logl
61088 do :
61089 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
61090 if test "x$ac_cv_func_logl" = xyes; then :
61091 cat >>confdefs.h <<_ACEOF
61092 #define HAVE_LOGL 1
61093 _ACEOF
61096 done
61098 else
61100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
61101 $as_echo_n "checking for _logl declaration... " >&6; }
61102 if test x${glibcxx_cv_func__logl_use+set} != xset; then
61103 if ${glibcxx_cv_func__logl_use+:} false; then :
61104 $as_echo_n "(cached) " >&6
61105 else
61108 ac_ext=cpp
61109 ac_cpp='$CXXCPP $CPPFLAGS'
61110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61115 /* end confdefs.h. */
61116 #include <math.h>
61117 #ifdef HAVE_IEEEFP_H
61118 #include <ieeefp.h>
61119 #endif
61122 main ()
61124 _logl(0);
61126 return 0;
61128 _ACEOF
61129 if ac_fn_cxx_try_compile "$LINENO"; then :
61130 glibcxx_cv_func__logl_use=yes
61131 else
61132 glibcxx_cv_func__logl_use=no
61134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61135 ac_ext=c
61136 ac_cpp='$CPP $CPPFLAGS'
61137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
61146 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
61148 if test x$glibcxx_cv_func__logl_use = x"yes"; then
61149 for ac_func in _logl
61150 do :
61151 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
61152 if test "x$ac_cv_func__logl" = xyes; then :
61153 cat >>confdefs.h <<_ACEOF
61154 #define HAVE__LOGL 1
61155 _ACEOF
61158 done
61167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
61168 $as_echo_n "checking for log10l declaration... " >&6; }
61169 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
61170 if ${glibcxx_cv_func_log10l_use+:} false; then :
61171 $as_echo_n "(cached) " >&6
61172 else
61175 ac_ext=cpp
61176 ac_cpp='$CXXCPP $CPPFLAGS'
61177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61182 /* end confdefs.h. */
61183 #include <math.h>
61184 #ifdef HAVE_IEEEFP_H
61185 #include <ieeefp.h>
61186 #endif
61189 main ()
61191 log10l(0);
61193 return 0;
61195 _ACEOF
61196 if ac_fn_cxx_try_compile "$LINENO"; then :
61197 glibcxx_cv_func_log10l_use=yes
61198 else
61199 glibcxx_cv_func_log10l_use=no
61201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61202 ac_ext=c
61203 ac_cpp='$CPP $CPPFLAGS'
61204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
61213 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
61215 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
61216 for ac_func in log10l
61217 do :
61218 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
61219 if test "x$ac_cv_func_log10l" = xyes; then :
61220 cat >>confdefs.h <<_ACEOF
61221 #define HAVE_LOG10L 1
61222 _ACEOF
61225 done
61227 else
61229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
61230 $as_echo_n "checking for _log10l declaration... " >&6; }
61231 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
61232 if ${glibcxx_cv_func__log10l_use+:} false; then :
61233 $as_echo_n "(cached) " >&6
61234 else
61237 ac_ext=cpp
61238 ac_cpp='$CXXCPP $CPPFLAGS'
61239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61244 /* end confdefs.h. */
61245 #include <math.h>
61246 #ifdef HAVE_IEEEFP_H
61247 #include <ieeefp.h>
61248 #endif
61251 main ()
61253 _log10l(0);
61255 return 0;
61257 _ACEOF
61258 if ac_fn_cxx_try_compile "$LINENO"; then :
61259 glibcxx_cv_func__log10l_use=yes
61260 else
61261 glibcxx_cv_func__log10l_use=no
61263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61264 ac_ext=c
61265 ac_cpp='$CPP $CPPFLAGS'
61266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
61275 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
61277 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
61278 for ac_func in _log10l
61279 do :
61280 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
61281 if test "x$ac_cv_func__log10l" = xyes; then :
61282 cat >>confdefs.h <<_ACEOF
61283 #define HAVE__LOG10L 1
61284 _ACEOF
61287 done
61296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
61297 $as_echo_n "checking for modfl declaration... " >&6; }
61298 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
61299 if ${glibcxx_cv_func_modfl_use+:} false; then :
61300 $as_echo_n "(cached) " >&6
61301 else
61304 ac_ext=cpp
61305 ac_cpp='$CXXCPP $CPPFLAGS'
61306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61311 /* end confdefs.h. */
61312 #include <math.h>
61314 main ()
61316 modfl(0, 0);
61318 return 0;
61320 _ACEOF
61321 if ac_fn_cxx_try_compile "$LINENO"; then :
61322 glibcxx_cv_func_modfl_use=yes
61323 else
61324 glibcxx_cv_func_modfl_use=no
61326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61327 ac_ext=c
61328 ac_cpp='$CPP $CPPFLAGS'
61329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
61338 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
61340 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
61341 for ac_func in modfl
61342 do :
61343 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
61344 if test "x$ac_cv_func_modfl" = xyes; then :
61345 cat >>confdefs.h <<_ACEOF
61346 #define HAVE_MODFL 1
61347 _ACEOF
61350 done
61352 else
61354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
61355 $as_echo_n "checking for _modfl declaration... " >&6; }
61356 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
61357 if ${glibcxx_cv_func__modfl_use+:} false; then :
61358 $as_echo_n "(cached) " >&6
61359 else
61362 ac_ext=cpp
61363 ac_cpp='$CXXCPP $CPPFLAGS'
61364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61369 /* end confdefs.h. */
61370 #include <math.h>
61372 main ()
61374 _modfl(0, 0);
61376 return 0;
61378 _ACEOF
61379 if ac_fn_cxx_try_compile "$LINENO"; then :
61380 glibcxx_cv_func__modfl_use=yes
61381 else
61382 glibcxx_cv_func__modfl_use=no
61384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61385 ac_ext=c
61386 ac_cpp='$CPP $CPPFLAGS'
61387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
61396 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
61398 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
61399 for ac_func in _modfl
61400 do :
61401 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
61402 if test "x$ac_cv_func__modfl" = xyes; then :
61403 cat >>confdefs.h <<_ACEOF
61404 #define HAVE__MODFL 1
61405 _ACEOF
61408 done
61417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
61418 $as_echo_n "checking for powl declaration... " >&6; }
61419 if test x${glibcxx_cv_func_powl_use+set} != xset; then
61420 if ${glibcxx_cv_func_powl_use+:} false; then :
61421 $as_echo_n "(cached) " >&6
61422 else
61425 ac_ext=cpp
61426 ac_cpp='$CXXCPP $CPPFLAGS'
61427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61432 /* end confdefs.h. */
61433 #include <math.h>
61435 main ()
61437 powl(0, 0);
61439 return 0;
61441 _ACEOF
61442 if ac_fn_cxx_try_compile "$LINENO"; then :
61443 glibcxx_cv_func_powl_use=yes
61444 else
61445 glibcxx_cv_func_powl_use=no
61447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61448 ac_ext=c
61449 ac_cpp='$CPP $CPPFLAGS'
61450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
61459 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
61461 if test x$glibcxx_cv_func_powl_use = x"yes"; then
61462 for ac_func in powl
61463 do :
61464 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
61465 if test "x$ac_cv_func_powl" = xyes; then :
61466 cat >>confdefs.h <<_ACEOF
61467 #define HAVE_POWL 1
61468 _ACEOF
61471 done
61473 else
61475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
61476 $as_echo_n "checking for _powl declaration... " >&6; }
61477 if test x${glibcxx_cv_func__powl_use+set} != xset; then
61478 if ${glibcxx_cv_func__powl_use+:} false; then :
61479 $as_echo_n "(cached) " >&6
61480 else
61483 ac_ext=cpp
61484 ac_cpp='$CXXCPP $CPPFLAGS'
61485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61490 /* end confdefs.h. */
61491 #include <math.h>
61493 main ()
61495 _powl(0, 0);
61497 return 0;
61499 _ACEOF
61500 if ac_fn_cxx_try_compile "$LINENO"; then :
61501 glibcxx_cv_func__powl_use=yes
61502 else
61503 glibcxx_cv_func__powl_use=no
61505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61506 ac_ext=c
61507 ac_cpp='$CPP $CPPFLAGS'
61508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
61517 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
61519 if test x$glibcxx_cv_func__powl_use = x"yes"; then
61520 for ac_func in _powl
61521 do :
61522 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
61523 if test "x$ac_cv_func__powl" = xyes; then :
61524 cat >>confdefs.h <<_ACEOF
61525 #define HAVE__POWL 1
61526 _ACEOF
61529 done
61538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
61539 $as_echo_n "checking for sqrtl declaration... " >&6; }
61540 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
61541 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
61542 $as_echo_n "(cached) " >&6
61543 else
61546 ac_ext=cpp
61547 ac_cpp='$CXXCPP $CPPFLAGS'
61548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61553 /* end confdefs.h. */
61554 #include <math.h>
61555 #ifdef HAVE_IEEEFP_H
61556 #include <ieeefp.h>
61557 #endif
61560 main ()
61562 sqrtl(0);
61564 return 0;
61566 _ACEOF
61567 if ac_fn_cxx_try_compile "$LINENO"; then :
61568 glibcxx_cv_func_sqrtl_use=yes
61569 else
61570 glibcxx_cv_func_sqrtl_use=no
61572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61573 ac_ext=c
61574 ac_cpp='$CPP $CPPFLAGS'
61575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
61584 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
61586 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
61587 for ac_func in sqrtl
61588 do :
61589 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
61590 if test "x$ac_cv_func_sqrtl" = xyes; then :
61591 cat >>confdefs.h <<_ACEOF
61592 #define HAVE_SQRTL 1
61593 _ACEOF
61596 done
61598 else
61600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
61601 $as_echo_n "checking for _sqrtl declaration... " >&6; }
61602 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
61603 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
61604 $as_echo_n "(cached) " >&6
61605 else
61608 ac_ext=cpp
61609 ac_cpp='$CXXCPP $CPPFLAGS'
61610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61615 /* end confdefs.h. */
61616 #include <math.h>
61617 #ifdef HAVE_IEEEFP_H
61618 #include <ieeefp.h>
61619 #endif
61622 main ()
61624 _sqrtl(0);
61626 return 0;
61628 _ACEOF
61629 if ac_fn_cxx_try_compile "$LINENO"; then :
61630 glibcxx_cv_func__sqrtl_use=yes
61631 else
61632 glibcxx_cv_func__sqrtl_use=no
61634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61635 ac_ext=c
61636 ac_cpp='$CPP $CPPFLAGS'
61637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
61646 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
61648 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
61649 for ac_func in _sqrtl
61650 do :
61651 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
61652 if test "x$ac_cv_func__sqrtl" = xyes; then :
61653 cat >>confdefs.h <<_ACEOF
61654 #define HAVE__SQRTL 1
61655 _ACEOF
61658 done
61667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
61668 $as_echo_n "checking for sincosl declaration... " >&6; }
61669 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
61670 if ${glibcxx_cv_func_sincosl_use+:} false; then :
61671 $as_echo_n "(cached) " >&6
61672 else
61675 ac_ext=cpp
61676 ac_cpp='$CXXCPP $CPPFLAGS'
61677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61682 /* end confdefs.h. */
61683 #include <math.h>
61685 main ()
61687 sincosl(0, 0, 0);
61689 return 0;
61691 _ACEOF
61692 if ac_fn_cxx_try_compile "$LINENO"; then :
61693 glibcxx_cv_func_sincosl_use=yes
61694 else
61695 glibcxx_cv_func_sincosl_use=no
61697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61698 ac_ext=c
61699 ac_cpp='$CPP $CPPFLAGS'
61700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
61709 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
61711 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
61712 for ac_func in sincosl
61713 do :
61714 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
61715 if test "x$ac_cv_func_sincosl" = xyes; then :
61716 cat >>confdefs.h <<_ACEOF
61717 #define HAVE_SINCOSL 1
61718 _ACEOF
61721 done
61723 else
61725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
61726 $as_echo_n "checking for _sincosl declaration... " >&6; }
61727 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
61728 if ${glibcxx_cv_func__sincosl_use+:} false; then :
61729 $as_echo_n "(cached) " >&6
61730 else
61733 ac_ext=cpp
61734 ac_cpp='$CXXCPP $CPPFLAGS'
61735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61740 /* end confdefs.h. */
61741 #include <math.h>
61743 main ()
61745 _sincosl(0, 0, 0);
61747 return 0;
61749 _ACEOF
61750 if ac_fn_cxx_try_compile "$LINENO"; then :
61751 glibcxx_cv_func__sincosl_use=yes
61752 else
61753 glibcxx_cv_func__sincosl_use=no
61755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61756 ac_ext=c
61757 ac_cpp='$CPP $CPPFLAGS'
61758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
61767 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
61769 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
61770 for ac_func in _sincosl
61771 do :
61772 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
61773 if test "x$ac_cv_func__sincosl" = xyes; then :
61774 cat >>confdefs.h <<_ACEOF
61775 #define HAVE__SINCOSL 1
61776 _ACEOF
61779 done
61788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
61789 $as_echo_n "checking for finitel declaration... " >&6; }
61790 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
61791 if ${glibcxx_cv_func_finitel_use+:} false; then :
61792 $as_echo_n "(cached) " >&6
61793 else
61796 ac_ext=cpp
61797 ac_cpp='$CXXCPP $CPPFLAGS'
61798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61803 /* end confdefs.h. */
61804 #include <math.h>
61805 #ifdef HAVE_IEEEFP_H
61806 #include <ieeefp.h>
61807 #endif
61810 main ()
61812 finitel(0);
61814 return 0;
61816 _ACEOF
61817 if ac_fn_cxx_try_compile "$LINENO"; then :
61818 glibcxx_cv_func_finitel_use=yes
61819 else
61820 glibcxx_cv_func_finitel_use=no
61822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61823 ac_ext=c
61824 ac_cpp='$CPP $CPPFLAGS'
61825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
61834 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
61836 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
61837 for ac_func in finitel
61838 do :
61839 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
61840 if test "x$ac_cv_func_finitel" = xyes; then :
61841 cat >>confdefs.h <<_ACEOF
61842 #define HAVE_FINITEL 1
61843 _ACEOF
61846 done
61848 else
61850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
61851 $as_echo_n "checking for _finitel declaration... " >&6; }
61852 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
61853 if ${glibcxx_cv_func__finitel_use+:} false; then :
61854 $as_echo_n "(cached) " >&6
61855 else
61858 ac_ext=cpp
61859 ac_cpp='$CXXCPP $CPPFLAGS'
61860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61865 /* end confdefs.h. */
61866 #include <math.h>
61867 #ifdef HAVE_IEEEFP_H
61868 #include <ieeefp.h>
61869 #endif
61872 main ()
61874 _finitel(0);
61876 return 0;
61878 _ACEOF
61879 if ac_fn_cxx_try_compile "$LINENO"; then :
61880 glibcxx_cv_func__finitel_use=yes
61881 else
61882 glibcxx_cv_func__finitel_use=no
61884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61885 ac_ext=c
61886 ac_cpp='$CPP $CPPFLAGS'
61887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
61896 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
61898 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
61899 for ac_func in _finitel
61900 do :
61901 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
61902 if test "x$ac_cv_func__finitel" = xyes; then :
61903 cat >>confdefs.h <<_ACEOF
61904 #define HAVE__FINITEL 1
61905 _ACEOF
61908 done
61916 LIBS="$ac_save_LIBS"
61917 CXXFLAGS="$ac_save_CXXFLAGS"
61920 ac_test_CXXFLAGS="${CXXFLAGS+set}"
61921 ac_save_CXXFLAGS="$CXXFLAGS"
61922 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
61925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
61926 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
61927 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
61928 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
61929 $as_echo_n "(cached) " >&6
61930 else
61933 ac_ext=cpp
61934 ac_cpp='$CXXCPP $CPPFLAGS'
61935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61940 /* end confdefs.h. */
61941 #include <stdlib.h>
61943 main ()
61945 at_quick_exit(0);
61947 return 0;
61949 _ACEOF
61950 if ac_fn_cxx_try_compile "$LINENO"; then :
61951 glibcxx_cv_func_at_quick_exit_use=yes
61952 else
61953 glibcxx_cv_func_at_quick_exit_use=no
61955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61956 ac_ext=c
61957 ac_cpp='$CPP $CPPFLAGS'
61958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
61967 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
61968 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
61969 for ac_func in at_quick_exit
61970 do :
61971 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
61972 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
61973 cat >>confdefs.h <<_ACEOF
61974 #define HAVE_AT_QUICK_EXIT 1
61975 _ACEOF
61978 done
61983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
61984 $as_echo_n "checking for quick_exit declaration... " >&6; }
61985 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
61986 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
61987 $as_echo_n "(cached) " >&6
61988 else
61991 ac_ext=cpp
61992 ac_cpp='$CXXCPP $CPPFLAGS'
61993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61998 /* end confdefs.h. */
61999 #include <stdlib.h>
62001 main ()
62003 quick_exit(0);
62005 return 0;
62007 _ACEOF
62008 if ac_fn_cxx_try_compile "$LINENO"; then :
62009 glibcxx_cv_func_quick_exit_use=yes
62010 else
62011 glibcxx_cv_func_quick_exit_use=no
62013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62014 ac_ext=c
62015 ac_cpp='$CPP $CPPFLAGS'
62016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
62025 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
62026 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
62027 for ac_func in quick_exit
62028 do :
62029 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
62030 if test "x$ac_cv_func_quick_exit" = xyes; then :
62031 cat >>confdefs.h <<_ACEOF
62032 #define HAVE_QUICK_EXIT 1
62033 _ACEOF
62036 done
62041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
62042 $as_echo_n "checking for strtold declaration... " >&6; }
62043 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
62044 if ${glibcxx_cv_func_strtold_use+:} false; then :
62045 $as_echo_n "(cached) " >&6
62046 else
62049 ac_ext=cpp
62050 ac_cpp='$CXXCPP $CPPFLAGS'
62051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62056 /* end confdefs.h. */
62057 #include <stdlib.h>
62059 main ()
62061 strtold(0, 0);
62063 return 0;
62065 _ACEOF
62066 if ac_fn_cxx_try_compile "$LINENO"; then :
62067 glibcxx_cv_func_strtold_use=yes
62068 else
62069 glibcxx_cv_func_strtold_use=no
62071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62072 ac_ext=c
62073 ac_cpp='$CPP $CPPFLAGS'
62074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
62083 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
62084 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
62085 for ac_func in strtold
62086 do :
62087 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
62088 if test "x$ac_cv_func_strtold" = xyes; then :
62089 cat >>confdefs.h <<_ACEOF
62090 #define HAVE_STRTOLD 1
62091 _ACEOF
62094 done
62101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
62102 $as_echo_n "checking for strtof declaration... " >&6; }
62103 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
62104 if ${glibcxx_cv_func_strtof_use+:} false; then :
62105 $as_echo_n "(cached) " >&6
62106 else
62109 ac_ext=cpp
62110 ac_cpp='$CXXCPP $CPPFLAGS'
62111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62116 /* end confdefs.h. */
62117 #include <stdlib.h>
62119 main ()
62121 strtof(0, 0);
62123 return 0;
62125 _ACEOF
62126 if ac_fn_cxx_try_compile "$LINENO"; then :
62127 glibcxx_cv_func_strtof_use=yes
62128 else
62129 glibcxx_cv_func_strtof_use=no
62131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62132 ac_ext=c
62133 ac_cpp='$CPP $CPPFLAGS'
62134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
62143 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
62144 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
62145 for ac_func in strtof
62146 do :
62147 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
62148 if test "x$ac_cv_func_strtof" = xyes; then :
62149 cat >>confdefs.h <<_ACEOF
62150 #define HAVE_STRTOF 1
62151 _ACEOF
62154 done
62161 CXXFLAGS="$ac_save_CXXFLAGS"
62163 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
62164 do :
62165 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62166 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62167 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62168 cat >>confdefs.h <<_ACEOF
62169 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62170 _ACEOF
62173 done
62175 for ac_func in _wfopen
62176 do :
62177 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
62178 if test "x$ac_cv_func__wfopen" = xyes; then :
62179 cat >>confdefs.h <<_ACEOF
62180 #define HAVE__WFOPEN 1
62181 _ACEOF
62184 done
62188 # Check whether --enable-tls was given.
62189 if test "${enable_tls+set}" = set; then :
62190 enableval=$enable_tls;
62191 case "$enableval" in
62192 yes|no) ;;
62193 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
62194 esac
62196 else
62197 enable_tls=yes
62201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
62202 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
62203 if ${gcc_cv_have_tls+:} false; then :
62204 $as_echo_n "(cached) " >&6
62205 else
62207 if test "$cross_compiling" = yes; then :
62208 if test x$gcc_no_link = xyes; then
62209 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
62211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62212 /* end confdefs.h. */
62213 __thread int a; int b; int main() { return a = b; }
62214 _ACEOF
62215 if ac_fn_c_try_link "$LINENO"; then :
62216 chktls_save_LDFLAGS="$LDFLAGS"
62217 case $host in
62218 *-*-linux* | -*-uclinuxfdpic*)
62219 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
62221 esac
62222 chktls_save_CFLAGS="$CFLAGS"
62223 CFLAGS="-fPIC $CFLAGS"
62224 if test x$gcc_no_link = xyes; then
62225 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
62227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62228 /* end confdefs.h. */
62229 int f() { return 0; }
62230 _ACEOF
62231 if ac_fn_c_try_link "$LINENO"; then :
62232 if test x$gcc_no_link = xyes; then
62233 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
62235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62236 /* end confdefs.h. */
62237 __thread int a; int b; int f() { return a = b; }
62238 _ACEOF
62239 if ac_fn_c_try_link "$LINENO"; then :
62240 gcc_cv_have_tls=yes
62241 else
62242 gcc_cv_have_tls=no
62244 rm -f core conftest.err conftest.$ac_objext \
62245 conftest$ac_exeext conftest.$ac_ext
62246 else
62247 gcc_cv_have_tls=yes
62249 rm -f core conftest.err conftest.$ac_objext \
62250 conftest$ac_exeext conftest.$ac_ext
62251 CFLAGS="$chktls_save_CFLAGS"
62252 LDFLAGS="$chktls_save_LDFLAGS"
62253 else
62254 gcc_cv_have_tls=no
62256 rm -f core conftest.err conftest.$ac_objext \
62257 conftest$ac_exeext conftest.$ac_ext
62260 else
62261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62262 /* end confdefs.h. */
62263 __thread int a; int b; int main() { return a = b; }
62264 _ACEOF
62265 if ac_fn_c_try_run "$LINENO"; then :
62266 chktls_save_LDFLAGS="$LDFLAGS"
62267 LDFLAGS="-static $LDFLAGS"
62268 if test x$gcc_no_link = xyes; then
62269 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
62271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62272 /* end confdefs.h. */
62273 int main() { return 0; }
62274 _ACEOF
62275 if ac_fn_c_try_link "$LINENO"; then :
62276 if test "$cross_compiling" = yes; then :
62277 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
62278 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
62279 as_fn_error $? "cannot run test program while cross compiling
62280 See \`config.log' for more details" "$LINENO" 5; }
62281 else
62282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62283 /* end confdefs.h. */
62284 __thread int a; int b; int main() { return a = b; }
62285 _ACEOF
62286 if ac_fn_c_try_run "$LINENO"; then :
62287 gcc_cv_have_tls=yes
62288 else
62289 gcc_cv_have_tls=no
62291 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
62292 conftest.$ac_objext conftest.beam conftest.$ac_ext
62295 else
62296 gcc_cv_have_tls=yes
62298 rm -f core conftest.err conftest.$ac_objext \
62299 conftest$ac_exeext conftest.$ac_ext
62300 LDFLAGS="$chktls_save_LDFLAGS"
62301 if test $gcc_cv_have_tls = yes; then
62302 chktls_save_CFLAGS="$CFLAGS"
62303 thread_CFLAGS=failed
62304 for flag in '' '-pthread' '-lpthread'; do
62305 CFLAGS="$flag $chktls_save_CFLAGS"
62306 if test x$gcc_no_link = xyes; then
62307 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
62309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62310 /* end confdefs.h. */
62311 #include <pthread.h>
62312 void *g(void *d) { return NULL; }
62314 main ()
62316 pthread_t t; pthread_create(&t,NULL,g,NULL);
62318 return 0;
62320 _ACEOF
62321 if ac_fn_c_try_link "$LINENO"; then :
62322 thread_CFLAGS="$flag"
62324 rm -f core conftest.err conftest.$ac_objext \
62325 conftest$ac_exeext conftest.$ac_ext
62326 if test "X$thread_CFLAGS" != Xfailed; then
62327 break
62329 done
62330 CFLAGS="$chktls_save_CFLAGS"
62331 if test "X$thread_CFLAGS" != Xfailed; then
62332 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
62333 if test "$cross_compiling" = yes; then :
62334 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
62335 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
62336 as_fn_error $? "cannot run test program while cross compiling
62337 See \`config.log' for more details" "$LINENO" 5; }
62338 else
62339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62340 /* end confdefs.h. */
62341 #include <pthread.h>
62342 __thread int a;
62343 static int *volatile a_in_other_thread;
62344 static void *
62345 thread_func (void *arg)
62347 a_in_other_thread = &a;
62348 return (void *)0;
62351 main ()
62353 pthread_t thread;
62354 void *thread_retval;
62355 int *volatile a_in_main_thread;
62356 a_in_main_thread = &a;
62357 if (pthread_create (&thread, (pthread_attr_t *)0,
62358 thread_func, (void *)0))
62359 return 0;
62360 if (pthread_join (thread, &thread_retval))
62361 return 0;
62362 return (a_in_other_thread == a_in_main_thread);
62364 return 0;
62366 _ACEOF
62367 if ac_fn_c_try_run "$LINENO"; then :
62368 gcc_cv_have_tls=yes
62369 else
62370 gcc_cv_have_tls=no
62372 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
62373 conftest.$ac_objext conftest.beam conftest.$ac_ext
62376 CFLAGS="$chktls_save_CFLAGS"
62379 else
62380 gcc_cv_have_tls=no
62382 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
62383 conftest.$ac_objext conftest.beam conftest.$ac_ext
62387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
62388 $as_echo "$gcc_cv_have_tls" >&6; }
62389 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
62391 $as_echo "#define HAVE_TLS 1" >>confdefs.h
62395 *-netbsd* | *-openbsd*)
62396 SECTION_FLAGS='-ffunction-sections -fdata-sections'
62399 # If we're not using GNU ld, then there's no point in even trying these
62400 # tests. Check for that first. We should have already tested for gld
62401 # by now (in libtool), but require it now just to be safe...
62402 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
62403 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
62407 # The name set by libtool depends on the version of libtool. Shame on us
62408 # for depending on an impl detail, but c'est la vie. Older versions used
62409 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
62410 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
62411 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
62412 # set (hence we're using an older libtool), then set it.
62413 if test x${with_gnu_ld+set} != xset; then
62414 if test x${ac_cv_prog_gnu_ld+set} != xset; then
62415 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
62416 with_gnu_ld=no
62417 else
62418 with_gnu_ld=$ac_cv_prog_gnu_ld
62422 # Start by getting the version number. I think the libtool test already
62423 # does some of this, but throws away the result.
62424 glibcxx_ld_is_gold=no
62425 glibcxx_ld_is_mold=no
62426 if test x"$with_gnu_ld" = x"yes"; then
62427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
62428 $as_echo_n "checking for ld version... " >&6; }
62430 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
62431 glibcxx_ld_is_gold=yes
62432 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
62433 glibcxx_ld_is_mold=yes
62435 ldver=`$LD --version 2>/dev/null |
62436 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
62438 glibcxx_gnu_ld_version=`echo $ldver | \
62439 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
62440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
62441 $as_echo "$glibcxx_gnu_ld_version" >&6; }
62444 # Set --gc-sections.
62445 glibcxx_have_gc_sections=no
62446 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
62447 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
62448 glibcxx_have_gc_sections=yes
62450 else
62451 glibcxx_gcsections_min_ld=21602
62452 if test x"$with_gnu_ld" = x"yes" &&
62453 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
62454 glibcxx_have_gc_sections=yes
62457 if test "$glibcxx_have_gc_sections" = "yes"; then
62458 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
62459 # NB: This flag only works reliably after 2.16.1. Configure tests
62460 # for this are difficult, so hard wire a value that should work.
62462 ac_test_CFLAGS="${CFLAGS+set}"
62463 ac_save_CFLAGS="$CFLAGS"
62464 CFLAGS='-Wl,--gc-sections'
62466 # Check for -Wl,--gc-sections
62467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
62468 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
62469 if test x$gcc_no_link = xyes; then
62470 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
62472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62473 /* end confdefs.h. */
62474 int one(void) { return 1; }
62475 int two(void) { return 2; }
62478 main ()
62480 two();
62482 return 0;
62484 _ACEOF
62485 if ac_fn_c_try_link "$LINENO"; then :
62486 ac_gcsections=yes
62487 else
62488 ac_gcsections=no
62490 rm -f core conftest.err conftest.$ac_objext \
62491 conftest$ac_exeext conftest.$ac_ext
62492 if test "$ac_gcsections" = "yes"; then
62493 rm -f conftest.c
62494 touch conftest.c
62495 if $CC -c conftest.c; then
62496 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
62497 grep "Warning: gc-sections option ignored" > /dev/null; then
62498 ac_gcsections=no
62501 rm -f conftest.c conftest.o conftest
62503 if test "$ac_gcsections" = "yes"; then
62504 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
62506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
62507 $as_echo "$ac_gcsections" >&6; }
62509 if test "$ac_test_CFLAGS" = set; then
62510 CFLAGS="$ac_save_CFLAGS"
62511 else
62512 # this is the suspicious part
62513 CFLAGS=''
62517 # Set -z,relro.
62518 # Note this is only for shared objects.
62519 ac_ld_relro=no
62520 if test x"$with_gnu_ld" = x"yes"; then
62521 # cygwin and mingw uses PE, which has no ELF relro support,
62522 # multi target ld may confuse configure machinery
62523 case "$host" in
62524 *-*-cygwin*)
62526 *-*-mingw*)
62529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
62530 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
62531 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
62532 if test -n "$cxx_z_relo"; then
62533 OPT_LDFLAGS="-Wl,-z,relro"
62534 ac_ld_relro=yes
62536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
62537 $as_echo "$ac_ld_relro" >&6; }
62538 esac
62541 # Set linker optimization flags.
62542 if test x"$with_gnu_ld" = x"yes"; then
62543 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
62549 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
62551 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
62553 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
62555 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
62557 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
62559 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
62561 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
62563 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
62565 if test x"long_double_math_on_this_cpu" = x"yes"; then
62566 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
62568 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
62570 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
62573 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
62574 do :
62575 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62576 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62577 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62578 cat >>confdefs.h <<_ACEOF
62579 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62580 _ACEOF
62583 done
62585 for ac_func in timespec_get
62586 do :
62587 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
62588 if test "x$ac_cv_func_timespec_get" = xyes; then :
62589 cat >>confdefs.h <<_ACEOF
62590 #define HAVE_TIMESPEC_GET 1
62591 _ACEOF
62594 done
62596 for ac_func in sockatmark
62597 do :
62598 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
62599 if test "x$ac_cv_func_sockatmark" = xyes; then :
62600 cat >>confdefs.h <<_ACEOF
62601 #define HAVE_SOCKATMARK 1
62602 _ACEOF
62605 done
62608 *-qnx6.1* | *-qnx6.2*)
62609 SECTION_FLAGS='-ffunction-sections -fdata-sections'
62612 # If we're not using GNU ld, then there's no point in even trying these
62613 # tests. Check for that first. We should have already tested for gld
62614 # by now (in libtool), but require it now just to be safe...
62615 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
62616 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
62620 # The name set by libtool depends on the version of libtool. Shame on us
62621 # for depending on an impl detail, but c'est la vie. Older versions used
62622 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
62623 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
62624 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
62625 # set (hence we're using an older libtool), then set it.
62626 if test x${with_gnu_ld+set} != xset; then
62627 if test x${ac_cv_prog_gnu_ld+set} != xset; then
62628 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
62629 with_gnu_ld=no
62630 else
62631 with_gnu_ld=$ac_cv_prog_gnu_ld
62635 # Start by getting the version number. I think the libtool test already
62636 # does some of this, but throws away the result.
62637 glibcxx_ld_is_gold=no
62638 glibcxx_ld_is_mold=no
62639 if test x"$with_gnu_ld" = x"yes"; then
62640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
62641 $as_echo_n "checking for ld version... " >&6; }
62643 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
62644 glibcxx_ld_is_gold=yes
62645 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
62646 glibcxx_ld_is_mold=yes
62648 ldver=`$LD --version 2>/dev/null |
62649 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
62651 glibcxx_gnu_ld_version=`echo $ldver | \
62652 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
62653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
62654 $as_echo "$glibcxx_gnu_ld_version" >&6; }
62657 # Set --gc-sections.
62658 glibcxx_have_gc_sections=no
62659 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
62660 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
62661 glibcxx_have_gc_sections=yes
62663 else
62664 glibcxx_gcsections_min_ld=21602
62665 if test x"$with_gnu_ld" = x"yes" &&
62666 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
62667 glibcxx_have_gc_sections=yes
62670 if test "$glibcxx_have_gc_sections" = "yes"; then
62671 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
62672 # NB: This flag only works reliably after 2.16.1. Configure tests
62673 # for this are difficult, so hard wire a value that should work.
62675 ac_test_CFLAGS="${CFLAGS+set}"
62676 ac_save_CFLAGS="$CFLAGS"
62677 CFLAGS='-Wl,--gc-sections'
62679 # Check for -Wl,--gc-sections
62680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
62681 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
62682 if test x$gcc_no_link = xyes; then
62683 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
62685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62686 /* end confdefs.h. */
62687 int one(void) { return 1; }
62688 int two(void) { return 2; }
62691 main ()
62693 two();
62695 return 0;
62697 _ACEOF
62698 if ac_fn_c_try_link "$LINENO"; then :
62699 ac_gcsections=yes
62700 else
62701 ac_gcsections=no
62703 rm -f core conftest.err conftest.$ac_objext \
62704 conftest$ac_exeext conftest.$ac_ext
62705 if test "$ac_gcsections" = "yes"; then
62706 rm -f conftest.c
62707 touch conftest.c
62708 if $CC -c conftest.c; then
62709 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
62710 grep "Warning: gc-sections option ignored" > /dev/null; then
62711 ac_gcsections=no
62714 rm -f conftest.c conftest.o conftest
62716 if test "$ac_gcsections" = "yes"; then
62717 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
62719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
62720 $as_echo "$ac_gcsections" >&6; }
62722 if test "$ac_test_CFLAGS" = set; then
62723 CFLAGS="$ac_save_CFLAGS"
62724 else
62725 # this is the suspicious part
62726 CFLAGS=''
62730 # Set -z,relro.
62731 # Note this is only for shared objects.
62732 ac_ld_relro=no
62733 if test x"$with_gnu_ld" = x"yes"; then
62734 # cygwin and mingw uses PE, which has no ELF relro support,
62735 # multi target ld may confuse configure machinery
62736 case "$host" in
62737 *-*-cygwin*)
62739 *-*-mingw*)
62742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
62743 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
62744 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
62745 if test -n "$cxx_z_relo"; then
62746 OPT_LDFLAGS="-Wl,-z,relro"
62747 ac_ld_relro=yes
62749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
62750 $as_echo "$ac_ld_relro" >&6; }
62751 esac
62754 # Set linker optimization flags.
62755 if test x"$with_gnu_ld" = x"yes"; then
62756 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
62762 $as_echo "#define HAVE_COSF 1" >>confdefs.h
62764 $as_echo "#define HAVE_COSL 1" >>confdefs.h
62766 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
62768 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
62770 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
62772 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
62774 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
62776 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
62778 $as_echo "#define HAVE_SINF 1" >>confdefs.h
62780 $as_echo "#define HAVE_SINL 1" >>confdefs.h
62782 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
62784 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
62787 *-tpf)
62788 SECTION_FLAGS='-ffunction-sections -fdata-sections'
62789 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
62791 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
62793 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
62795 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
62797 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
62799 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
62801 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
62803 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
62805 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
62807 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
62809 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
62811 if test x"long_double_math_on_this_cpu" = x"yes"; then
62812 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
62814 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
62816 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
62818 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
62822 *-*vms*)
62823 # Check for available headers.
62824 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
62826 ac_test_CXXFLAGS="${CXXFLAGS+set}"
62827 ac_save_CXXFLAGS="$CXXFLAGS"
62828 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
62830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
62831 $as_echo_n "checking for sin in -lm... " >&6; }
62832 if ${ac_cv_lib_m_sin+:} false; then :
62833 $as_echo_n "(cached) " >&6
62834 else
62835 ac_check_lib_save_LIBS=$LIBS
62836 LIBS="-lm $LIBS"
62837 if test x$gcc_no_link = xyes; then
62838 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
62840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62841 /* end confdefs.h. */
62843 /* Override any GCC internal prototype to avoid an error.
62844 Use char because int might match the return type of a GCC
62845 builtin and then its argument prototype would still apply. */
62846 #ifdef __cplusplus
62847 extern "C"
62848 #endif
62849 char sin ();
62851 main ()
62853 return sin ();
62855 return 0;
62857 _ACEOF
62858 if ac_fn_c_try_link "$LINENO"; then :
62859 ac_cv_lib_m_sin=yes
62860 else
62861 ac_cv_lib_m_sin=no
62863 rm -f core conftest.err conftest.$ac_objext \
62864 conftest$ac_exeext conftest.$ac_ext
62865 LIBS=$ac_check_lib_save_LIBS
62867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
62868 $as_echo "$ac_cv_lib_m_sin" >&6; }
62869 if test "x$ac_cv_lib_m_sin" = xyes; then :
62870 libm="-lm"
62873 ac_save_LIBS="$LIBS"
62874 LIBS="$LIBS $libm"
62878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
62879 $as_echo_n "checking for isinf declaration... " >&6; }
62880 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
62881 if ${glibcxx_cv_func_isinf_use+:} false; then :
62882 $as_echo_n "(cached) " >&6
62883 else
62886 ac_ext=cpp
62887 ac_cpp='$CXXCPP $CPPFLAGS'
62888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62893 /* end confdefs.h. */
62894 #include <math.h>
62895 #ifdef HAVE_IEEEFP_H
62896 #include <ieeefp.h>
62897 #endif
62900 main ()
62902 isinf(0);
62904 return 0;
62906 _ACEOF
62907 if ac_fn_cxx_try_compile "$LINENO"; then :
62908 glibcxx_cv_func_isinf_use=yes
62909 else
62910 glibcxx_cv_func_isinf_use=no
62912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62913 ac_ext=c
62914 ac_cpp='$CPP $CPPFLAGS'
62915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
62924 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
62926 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
62927 for ac_func in isinf
62928 do :
62929 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
62930 if test "x$ac_cv_func_isinf" = xyes; then :
62931 cat >>confdefs.h <<_ACEOF
62932 #define HAVE_ISINF 1
62933 _ACEOF
62936 done
62938 else
62940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
62941 $as_echo_n "checking for _isinf declaration... " >&6; }
62942 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
62943 if ${glibcxx_cv_func__isinf_use+:} false; then :
62944 $as_echo_n "(cached) " >&6
62945 else
62948 ac_ext=cpp
62949 ac_cpp='$CXXCPP $CPPFLAGS'
62950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62955 /* end confdefs.h. */
62956 #include <math.h>
62957 #ifdef HAVE_IEEEFP_H
62958 #include <ieeefp.h>
62959 #endif
62962 main ()
62964 _isinf(0);
62966 return 0;
62968 _ACEOF
62969 if ac_fn_cxx_try_compile "$LINENO"; then :
62970 glibcxx_cv_func__isinf_use=yes
62971 else
62972 glibcxx_cv_func__isinf_use=no
62974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62975 ac_ext=c
62976 ac_cpp='$CPP $CPPFLAGS'
62977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
62986 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
62988 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
62989 for ac_func in _isinf
62990 do :
62991 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
62992 if test "x$ac_cv_func__isinf" = xyes; then :
62993 cat >>confdefs.h <<_ACEOF
62994 #define HAVE__ISINF 1
62995 _ACEOF
62998 done
63007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
63008 $as_echo_n "checking for isnan declaration... " >&6; }
63009 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
63010 if ${glibcxx_cv_func_isnan_use+:} false; then :
63011 $as_echo_n "(cached) " >&6
63012 else
63015 ac_ext=cpp
63016 ac_cpp='$CXXCPP $CPPFLAGS'
63017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63022 /* end confdefs.h. */
63023 #include <math.h>
63024 #ifdef HAVE_IEEEFP_H
63025 #include <ieeefp.h>
63026 #endif
63029 main ()
63031 isnan(0);
63033 return 0;
63035 _ACEOF
63036 if ac_fn_cxx_try_compile "$LINENO"; then :
63037 glibcxx_cv_func_isnan_use=yes
63038 else
63039 glibcxx_cv_func_isnan_use=no
63041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63042 ac_ext=c
63043 ac_cpp='$CPP $CPPFLAGS'
63044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
63053 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
63055 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
63056 for ac_func in isnan
63057 do :
63058 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
63059 if test "x$ac_cv_func_isnan" = xyes; then :
63060 cat >>confdefs.h <<_ACEOF
63061 #define HAVE_ISNAN 1
63062 _ACEOF
63065 done
63067 else
63069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
63070 $as_echo_n "checking for _isnan declaration... " >&6; }
63071 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
63072 if ${glibcxx_cv_func__isnan_use+:} false; then :
63073 $as_echo_n "(cached) " >&6
63074 else
63077 ac_ext=cpp
63078 ac_cpp='$CXXCPP $CPPFLAGS'
63079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63084 /* end confdefs.h. */
63085 #include <math.h>
63086 #ifdef HAVE_IEEEFP_H
63087 #include <ieeefp.h>
63088 #endif
63091 main ()
63093 _isnan(0);
63095 return 0;
63097 _ACEOF
63098 if ac_fn_cxx_try_compile "$LINENO"; then :
63099 glibcxx_cv_func__isnan_use=yes
63100 else
63101 glibcxx_cv_func__isnan_use=no
63103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63104 ac_ext=c
63105 ac_cpp='$CPP $CPPFLAGS'
63106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
63115 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
63117 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
63118 for ac_func in _isnan
63119 do :
63120 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
63121 if test "x$ac_cv_func__isnan" = xyes; then :
63122 cat >>confdefs.h <<_ACEOF
63123 #define HAVE__ISNAN 1
63124 _ACEOF
63127 done
63136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
63137 $as_echo_n "checking for finite declaration... " >&6; }
63138 if test x${glibcxx_cv_func_finite_use+set} != xset; then
63139 if ${glibcxx_cv_func_finite_use+:} false; then :
63140 $as_echo_n "(cached) " >&6
63141 else
63144 ac_ext=cpp
63145 ac_cpp='$CXXCPP $CPPFLAGS'
63146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63151 /* end confdefs.h. */
63152 #include <math.h>
63153 #ifdef HAVE_IEEEFP_H
63154 #include <ieeefp.h>
63155 #endif
63158 main ()
63160 finite(0);
63162 return 0;
63164 _ACEOF
63165 if ac_fn_cxx_try_compile "$LINENO"; then :
63166 glibcxx_cv_func_finite_use=yes
63167 else
63168 glibcxx_cv_func_finite_use=no
63170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63171 ac_ext=c
63172 ac_cpp='$CPP $CPPFLAGS'
63173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
63182 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
63184 if test x$glibcxx_cv_func_finite_use = x"yes"; then
63185 for ac_func in finite
63186 do :
63187 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
63188 if test "x$ac_cv_func_finite" = xyes; then :
63189 cat >>confdefs.h <<_ACEOF
63190 #define HAVE_FINITE 1
63191 _ACEOF
63194 done
63196 else
63198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
63199 $as_echo_n "checking for _finite declaration... " >&6; }
63200 if test x${glibcxx_cv_func__finite_use+set} != xset; then
63201 if ${glibcxx_cv_func__finite_use+:} false; then :
63202 $as_echo_n "(cached) " >&6
63203 else
63206 ac_ext=cpp
63207 ac_cpp='$CXXCPP $CPPFLAGS'
63208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63213 /* end confdefs.h. */
63214 #include <math.h>
63215 #ifdef HAVE_IEEEFP_H
63216 #include <ieeefp.h>
63217 #endif
63220 main ()
63222 _finite(0);
63224 return 0;
63226 _ACEOF
63227 if ac_fn_cxx_try_compile "$LINENO"; then :
63228 glibcxx_cv_func__finite_use=yes
63229 else
63230 glibcxx_cv_func__finite_use=no
63232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63233 ac_ext=c
63234 ac_cpp='$CPP $CPPFLAGS'
63235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
63244 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
63246 if test x$glibcxx_cv_func__finite_use = x"yes"; then
63247 for ac_func in _finite
63248 do :
63249 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
63250 if test "x$ac_cv_func__finite" = xyes; then :
63251 cat >>confdefs.h <<_ACEOF
63252 #define HAVE__FINITE 1
63253 _ACEOF
63256 done
63265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
63266 $as_echo_n "checking for sincos declaration... " >&6; }
63267 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
63268 if ${glibcxx_cv_func_sincos_use+:} false; then :
63269 $as_echo_n "(cached) " >&6
63270 else
63273 ac_ext=cpp
63274 ac_cpp='$CXXCPP $CPPFLAGS'
63275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63280 /* end confdefs.h. */
63281 #include <math.h>
63283 main ()
63285 sincos(0, 0, 0);
63287 return 0;
63289 _ACEOF
63290 if ac_fn_cxx_try_compile "$LINENO"; then :
63291 glibcxx_cv_func_sincos_use=yes
63292 else
63293 glibcxx_cv_func_sincos_use=no
63295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63296 ac_ext=c
63297 ac_cpp='$CPP $CPPFLAGS'
63298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
63307 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
63309 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
63310 for ac_func in sincos
63311 do :
63312 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
63313 if test "x$ac_cv_func_sincos" = xyes; then :
63314 cat >>confdefs.h <<_ACEOF
63315 #define HAVE_SINCOS 1
63316 _ACEOF
63319 done
63321 else
63323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
63324 $as_echo_n "checking for _sincos declaration... " >&6; }
63325 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
63326 if ${glibcxx_cv_func__sincos_use+:} false; then :
63327 $as_echo_n "(cached) " >&6
63328 else
63331 ac_ext=cpp
63332 ac_cpp='$CXXCPP $CPPFLAGS'
63333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63338 /* end confdefs.h. */
63339 #include <math.h>
63341 main ()
63343 _sincos(0, 0, 0);
63345 return 0;
63347 _ACEOF
63348 if ac_fn_cxx_try_compile "$LINENO"; then :
63349 glibcxx_cv_func__sincos_use=yes
63350 else
63351 glibcxx_cv_func__sincos_use=no
63353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63354 ac_ext=c
63355 ac_cpp='$CPP $CPPFLAGS'
63356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
63365 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
63367 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
63368 for ac_func in _sincos
63369 do :
63370 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
63371 if test "x$ac_cv_func__sincos" = xyes; then :
63372 cat >>confdefs.h <<_ACEOF
63373 #define HAVE__SINCOS 1
63374 _ACEOF
63377 done
63386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
63387 $as_echo_n "checking for fpclass declaration... " >&6; }
63388 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
63389 if ${glibcxx_cv_func_fpclass_use+:} false; then :
63390 $as_echo_n "(cached) " >&6
63391 else
63394 ac_ext=cpp
63395 ac_cpp='$CXXCPP $CPPFLAGS'
63396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63401 /* end confdefs.h. */
63402 #include <math.h>
63403 #ifdef HAVE_IEEEFP_H
63404 #include <ieeefp.h>
63405 #endif
63408 main ()
63410 fpclass(0);
63412 return 0;
63414 _ACEOF
63415 if ac_fn_cxx_try_compile "$LINENO"; then :
63416 glibcxx_cv_func_fpclass_use=yes
63417 else
63418 glibcxx_cv_func_fpclass_use=no
63420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63421 ac_ext=c
63422 ac_cpp='$CPP $CPPFLAGS'
63423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
63432 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
63434 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
63435 for ac_func in fpclass
63436 do :
63437 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
63438 if test "x$ac_cv_func_fpclass" = xyes; then :
63439 cat >>confdefs.h <<_ACEOF
63440 #define HAVE_FPCLASS 1
63441 _ACEOF
63444 done
63446 else
63448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
63449 $as_echo_n "checking for _fpclass declaration... " >&6; }
63450 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
63451 if ${glibcxx_cv_func__fpclass_use+:} false; then :
63452 $as_echo_n "(cached) " >&6
63453 else
63456 ac_ext=cpp
63457 ac_cpp='$CXXCPP $CPPFLAGS'
63458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63463 /* end confdefs.h. */
63464 #include <math.h>
63465 #ifdef HAVE_IEEEFP_H
63466 #include <ieeefp.h>
63467 #endif
63470 main ()
63472 _fpclass(0);
63474 return 0;
63476 _ACEOF
63477 if ac_fn_cxx_try_compile "$LINENO"; then :
63478 glibcxx_cv_func__fpclass_use=yes
63479 else
63480 glibcxx_cv_func__fpclass_use=no
63482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63483 ac_ext=c
63484 ac_cpp='$CPP $CPPFLAGS'
63485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
63494 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
63496 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
63497 for ac_func in _fpclass
63498 do :
63499 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
63500 if test "x$ac_cv_func__fpclass" = xyes; then :
63501 cat >>confdefs.h <<_ACEOF
63502 #define HAVE__FPCLASS 1
63503 _ACEOF
63506 done
63515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
63516 $as_echo_n "checking for qfpclass declaration... " >&6; }
63517 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
63518 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
63519 $as_echo_n "(cached) " >&6
63520 else
63523 ac_ext=cpp
63524 ac_cpp='$CXXCPP $CPPFLAGS'
63525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63530 /* end confdefs.h. */
63531 #include <math.h>
63532 #ifdef HAVE_IEEEFP_H
63533 #include <ieeefp.h>
63534 #endif
63537 main ()
63539 qfpclass(0);
63541 return 0;
63543 _ACEOF
63544 if ac_fn_cxx_try_compile "$LINENO"; then :
63545 glibcxx_cv_func_qfpclass_use=yes
63546 else
63547 glibcxx_cv_func_qfpclass_use=no
63549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63550 ac_ext=c
63551 ac_cpp='$CPP $CPPFLAGS'
63552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
63561 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
63563 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
63564 for ac_func in qfpclass
63565 do :
63566 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
63567 if test "x$ac_cv_func_qfpclass" = xyes; then :
63568 cat >>confdefs.h <<_ACEOF
63569 #define HAVE_QFPCLASS 1
63570 _ACEOF
63573 done
63575 else
63577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
63578 $as_echo_n "checking for _qfpclass declaration... " >&6; }
63579 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
63580 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
63581 $as_echo_n "(cached) " >&6
63582 else
63585 ac_ext=cpp
63586 ac_cpp='$CXXCPP $CPPFLAGS'
63587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63592 /* end confdefs.h. */
63593 #include <math.h>
63594 #ifdef HAVE_IEEEFP_H
63595 #include <ieeefp.h>
63596 #endif
63599 main ()
63601 _qfpclass(0);
63603 return 0;
63605 _ACEOF
63606 if ac_fn_cxx_try_compile "$LINENO"; then :
63607 glibcxx_cv_func__qfpclass_use=yes
63608 else
63609 glibcxx_cv_func__qfpclass_use=no
63611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63612 ac_ext=c
63613 ac_cpp='$CPP $CPPFLAGS'
63614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
63623 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
63625 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
63626 for ac_func in _qfpclass
63627 do :
63628 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
63629 if test "x$ac_cv_func__qfpclass" = xyes; then :
63630 cat >>confdefs.h <<_ACEOF
63631 #define HAVE__QFPCLASS 1
63632 _ACEOF
63635 done
63644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
63645 $as_echo_n "checking for hypot declaration... " >&6; }
63646 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
63647 if ${glibcxx_cv_func_hypot_use+:} false; then :
63648 $as_echo_n "(cached) " >&6
63649 else
63652 ac_ext=cpp
63653 ac_cpp='$CXXCPP $CPPFLAGS'
63654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63659 /* end confdefs.h. */
63660 #include <math.h>
63662 main ()
63664 hypot(0, 0);
63666 return 0;
63668 _ACEOF
63669 if ac_fn_cxx_try_compile "$LINENO"; then :
63670 glibcxx_cv_func_hypot_use=yes
63671 else
63672 glibcxx_cv_func_hypot_use=no
63674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63675 ac_ext=c
63676 ac_cpp='$CPP $CPPFLAGS'
63677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
63686 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
63688 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
63689 for ac_func in hypot
63690 do :
63691 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
63692 if test "x$ac_cv_func_hypot" = xyes; then :
63693 cat >>confdefs.h <<_ACEOF
63694 #define HAVE_HYPOT 1
63695 _ACEOF
63698 done
63700 else
63702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
63703 $as_echo_n "checking for _hypot declaration... " >&6; }
63704 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
63705 if ${glibcxx_cv_func__hypot_use+:} false; then :
63706 $as_echo_n "(cached) " >&6
63707 else
63710 ac_ext=cpp
63711 ac_cpp='$CXXCPP $CPPFLAGS'
63712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63717 /* end confdefs.h. */
63718 #include <math.h>
63720 main ()
63722 _hypot(0, 0);
63724 return 0;
63726 _ACEOF
63727 if ac_fn_cxx_try_compile "$LINENO"; then :
63728 glibcxx_cv_func__hypot_use=yes
63729 else
63730 glibcxx_cv_func__hypot_use=no
63732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63733 ac_ext=c
63734 ac_cpp='$CPP $CPPFLAGS'
63735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
63744 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
63746 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
63747 for ac_func in _hypot
63748 do :
63749 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
63750 if test "x$ac_cv_func__hypot" = xyes; then :
63751 cat >>confdefs.h <<_ACEOF
63752 #define HAVE__HYPOT 1
63753 _ACEOF
63756 done
63765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
63766 $as_echo_n "checking for float trig functions... " >&6; }
63767 if ${glibcxx_cv_func_float_trig_use+:} false; then :
63768 $as_echo_n "(cached) " >&6
63769 else
63772 ac_ext=cpp
63773 ac_cpp='$CXXCPP $CPPFLAGS'
63774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63779 /* end confdefs.h. */
63780 #include <math.h>
63782 main ()
63784 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
63786 return 0;
63788 _ACEOF
63789 if ac_fn_cxx_try_compile "$LINENO"; then :
63790 glibcxx_cv_func_float_trig_use=yes
63791 else
63792 glibcxx_cv_func_float_trig_use=no
63794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63795 ac_ext=c
63796 ac_cpp='$CPP $CPPFLAGS'
63797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
63804 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
63805 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
63806 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
63807 do :
63808 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63809 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63810 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
63811 cat >>confdefs.h <<_ACEOF
63812 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63813 _ACEOF
63816 done
63818 else
63819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
63820 $as_echo_n "checking for _float trig functions... " >&6; }
63821 if ${glibcxx_cv_func__float_trig_use+:} false; then :
63822 $as_echo_n "(cached) " >&6
63823 else
63826 ac_ext=cpp
63827 ac_cpp='$CXXCPP $CPPFLAGS'
63828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63833 /* end confdefs.h. */
63834 #include <math.h>
63836 main ()
63838 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
63840 return 0;
63842 _ACEOF
63843 if ac_fn_cxx_try_compile "$LINENO"; then :
63844 glibcxx_cv_func__float_trig_use=yes
63845 else
63846 glibcxx_cv_func__float_trig_use=no
63848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63849 ac_ext=c
63850 ac_cpp='$CPP $CPPFLAGS'
63851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
63858 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
63859 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
63860 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
63861 do :
63862 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63863 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63864 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
63865 cat >>confdefs.h <<_ACEOF
63866 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63867 _ACEOF
63870 done
63879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
63880 $as_echo_n "checking for float round functions... " >&6; }
63881 if ${glibcxx_cv_func_float_round_use+:} false; then :
63882 $as_echo_n "(cached) " >&6
63883 else
63886 ac_ext=cpp
63887 ac_cpp='$CXXCPP $CPPFLAGS'
63888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63893 /* end confdefs.h. */
63894 #include <math.h>
63896 main ()
63898 ceilf (0); floorf (0);
63900 return 0;
63902 _ACEOF
63903 if ac_fn_cxx_try_compile "$LINENO"; then :
63904 glibcxx_cv_func_float_round_use=yes
63905 else
63906 glibcxx_cv_func_float_round_use=no
63908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63909 ac_ext=c
63910 ac_cpp='$CPP $CPPFLAGS'
63911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
63918 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
63919 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
63920 for ac_func in ceilf floorf
63921 do :
63922 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63923 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63924 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
63925 cat >>confdefs.h <<_ACEOF
63926 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63927 _ACEOF
63930 done
63932 else
63933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
63934 $as_echo_n "checking for _float round functions... " >&6; }
63935 if ${glibcxx_cv_func__float_round_use+:} false; then :
63936 $as_echo_n "(cached) " >&6
63937 else
63940 ac_ext=cpp
63941 ac_cpp='$CXXCPP $CPPFLAGS'
63942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63947 /* end confdefs.h. */
63948 #include <math.h>
63950 main ()
63952 _ceilf (0); _floorf (0);
63954 return 0;
63956 _ACEOF
63957 if ac_fn_cxx_try_compile "$LINENO"; then :
63958 glibcxx_cv_func__float_round_use=yes
63959 else
63960 glibcxx_cv_func__float_round_use=no
63962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63963 ac_ext=c
63964 ac_cpp='$CPP $CPPFLAGS'
63965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
63972 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
63973 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
63974 for ac_func in _ceilf _floorf
63975 do :
63976 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63977 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63978 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
63979 cat >>confdefs.h <<_ACEOF
63980 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63981 _ACEOF
63984 done
63994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
63995 $as_echo_n "checking for expf declaration... " >&6; }
63996 if test x${glibcxx_cv_func_expf_use+set} != xset; then
63997 if ${glibcxx_cv_func_expf_use+:} false; then :
63998 $as_echo_n "(cached) " >&6
63999 else
64002 ac_ext=cpp
64003 ac_cpp='$CXXCPP $CPPFLAGS'
64004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64009 /* end confdefs.h. */
64010 #include <math.h>
64011 #ifdef HAVE_IEEEFP_H
64012 #include <ieeefp.h>
64013 #endif
64016 main ()
64018 expf(0);
64020 return 0;
64022 _ACEOF
64023 if ac_fn_cxx_try_compile "$LINENO"; then :
64024 glibcxx_cv_func_expf_use=yes
64025 else
64026 glibcxx_cv_func_expf_use=no
64028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64029 ac_ext=c
64030 ac_cpp='$CPP $CPPFLAGS'
64031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
64040 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
64042 if test x$glibcxx_cv_func_expf_use = x"yes"; then
64043 for ac_func in expf
64044 do :
64045 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
64046 if test "x$ac_cv_func_expf" = xyes; then :
64047 cat >>confdefs.h <<_ACEOF
64048 #define HAVE_EXPF 1
64049 _ACEOF
64052 done
64054 else
64056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
64057 $as_echo_n "checking for _expf declaration... " >&6; }
64058 if test x${glibcxx_cv_func__expf_use+set} != xset; then
64059 if ${glibcxx_cv_func__expf_use+:} false; then :
64060 $as_echo_n "(cached) " >&6
64061 else
64064 ac_ext=cpp
64065 ac_cpp='$CXXCPP $CPPFLAGS'
64066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64071 /* end confdefs.h. */
64072 #include <math.h>
64073 #ifdef HAVE_IEEEFP_H
64074 #include <ieeefp.h>
64075 #endif
64078 main ()
64080 _expf(0);
64082 return 0;
64084 _ACEOF
64085 if ac_fn_cxx_try_compile "$LINENO"; then :
64086 glibcxx_cv_func__expf_use=yes
64087 else
64088 glibcxx_cv_func__expf_use=no
64090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64091 ac_ext=c
64092 ac_cpp='$CPP $CPPFLAGS'
64093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
64102 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
64104 if test x$glibcxx_cv_func__expf_use = x"yes"; then
64105 for ac_func in _expf
64106 do :
64107 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
64108 if test "x$ac_cv_func__expf" = xyes; then :
64109 cat >>confdefs.h <<_ACEOF
64110 #define HAVE__EXPF 1
64111 _ACEOF
64114 done
64123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
64124 $as_echo_n "checking for isnanf declaration... " >&6; }
64125 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
64126 if ${glibcxx_cv_func_isnanf_use+:} false; then :
64127 $as_echo_n "(cached) " >&6
64128 else
64131 ac_ext=cpp
64132 ac_cpp='$CXXCPP $CPPFLAGS'
64133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64138 /* end confdefs.h. */
64139 #include <math.h>
64140 #ifdef HAVE_IEEEFP_H
64141 #include <ieeefp.h>
64142 #endif
64145 main ()
64147 isnanf(0);
64149 return 0;
64151 _ACEOF
64152 if ac_fn_cxx_try_compile "$LINENO"; then :
64153 glibcxx_cv_func_isnanf_use=yes
64154 else
64155 glibcxx_cv_func_isnanf_use=no
64157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64158 ac_ext=c
64159 ac_cpp='$CPP $CPPFLAGS'
64160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
64169 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
64171 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
64172 for ac_func in isnanf
64173 do :
64174 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
64175 if test "x$ac_cv_func_isnanf" = xyes; then :
64176 cat >>confdefs.h <<_ACEOF
64177 #define HAVE_ISNANF 1
64178 _ACEOF
64181 done
64183 else
64185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
64186 $as_echo_n "checking for _isnanf declaration... " >&6; }
64187 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
64188 if ${glibcxx_cv_func__isnanf_use+:} false; then :
64189 $as_echo_n "(cached) " >&6
64190 else
64193 ac_ext=cpp
64194 ac_cpp='$CXXCPP $CPPFLAGS'
64195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64200 /* end confdefs.h. */
64201 #include <math.h>
64202 #ifdef HAVE_IEEEFP_H
64203 #include <ieeefp.h>
64204 #endif
64207 main ()
64209 _isnanf(0);
64211 return 0;
64213 _ACEOF
64214 if ac_fn_cxx_try_compile "$LINENO"; then :
64215 glibcxx_cv_func__isnanf_use=yes
64216 else
64217 glibcxx_cv_func__isnanf_use=no
64219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64220 ac_ext=c
64221 ac_cpp='$CPP $CPPFLAGS'
64222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
64231 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
64233 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
64234 for ac_func in _isnanf
64235 do :
64236 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
64237 if test "x$ac_cv_func__isnanf" = xyes; then :
64238 cat >>confdefs.h <<_ACEOF
64239 #define HAVE__ISNANF 1
64240 _ACEOF
64243 done
64252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
64253 $as_echo_n "checking for isinff declaration... " >&6; }
64254 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
64255 if ${glibcxx_cv_func_isinff_use+:} false; then :
64256 $as_echo_n "(cached) " >&6
64257 else
64260 ac_ext=cpp
64261 ac_cpp='$CXXCPP $CPPFLAGS'
64262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64267 /* end confdefs.h. */
64268 #include <math.h>
64269 #ifdef HAVE_IEEEFP_H
64270 #include <ieeefp.h>
64271 #endif
64274 main ()
64276 isinff(0);
64278 return 0;
64280 _ACEOF
64281 if ac_fn_cxx_try_compile "$LINENO"; then :
64282 glibcxx_cv_func_isinff_use=yes
64283 else
64284 glibcxx_cv_func_isinff_use=no
64286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64287 ac_ext=c
64288 ac_cpp='$CPP $CPPFLAGS'
64289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
64298 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
64300 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
64301 for ac_func in isinff
64302 do :
64303 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
64304 if test "x$ac_cv_func_isinff" = xyes; then :
64305 cat >>confdefs.h <<_ACEOF
64306 #define HAVE_ISINFF 1
64307 _ACEOF
64310 done
64312 else
64314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
64315 $as_echo_n "checking for _isinff declaration... " >&6; }
64316 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
64317 if ${glibcxx_cv_func__isinff_use+:} false; then :
64318 $as_echo_n "(cached) " >&6
64319 else
64322 ac_ext=cpp
64323 ac_cpp='$CXXCPP $CPPFLAGS'
64324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64329 /* end confdefs.h. */
64330 #include <math.h>
64331 #ifdef HAVE_IEEEFP_H
64332 #include <ieeefp.h>
64333 #endif
64336 main ()
64338 _isinff(0);
64340 return 0;
64342 _ACEOF
64343 if ac_fn_cxx_try_compile "$LINENO"; then :
64344 glibcxx_cv_func__isinff_use=yes
64345 else
64346 glibcxx_cv_func__isinff_use=no
64348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64349 ac_ext=c
64350 ac_cpp='$CPP $CPPFLAGS'
64351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
64360 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
64362 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
64363 for ac_func in _isinff
64364 do :
64365 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
64366 if test "x$ac_cv_func__isinff" = xyes; then :
64367 cat >>confdefs.h <<_ACEOF
64368 #define HAVE__ISINFF 1
64369 _ACEOF
64372 done
64381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
64382 $as_echo_n "checking for atan2f declaration... " >&6; }
64383 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
64384 if ${glibcxx_cv_func_atan2f_use+:} false; then :
64385 $as_echo_n "(cached) " >&6
64386 else
64389 ac_ext=cpp
64390 ac_cpp='$CXXCPP $CPPFLAGS'
64391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64396 /* end confdefs.h. */
64397 #include <math.h>
64399 main ()
64401 atan2f(0, 0);
64403 return 0;
64405 _ACEOF
64406 if ac_fn_cxx_try_compile "$LINENO"; then :
64407 glibcxx_cv_func_atan2f_use=yes
64408 else
64409 glibcxx_cv_func_atan2f_use=no
64411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64412 ac_ext=c
64413 ac_cpp='$CPP $CPPFLAGS'
64414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
64423 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
64425 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
64426 for ac_func in atan2f
64427 do :
64428 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
64429 if test "x$ac_cv_func_atan2f" = xyes; then :
64430 cat >>confdefs.h <<_ACEOF
64431 #define HAVE_ATAN2F 1
64432 _ACEOF
64435 done
64437 else
64439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
64440 $as_echo_n "checking for _atan2f declaration... " >&6; }
64441 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
64442 if ${glibcxx_cv_func__atan2f_use+:} false; then :
64443 $as_echo_n "(cached) " >&6
64444 else
64447 ac_ext=cpp
64448 ac_cpp='$CXXCPP $CPPFLAGS'
64449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64454 /* end confdefs.h. */
64455 #include <math.h>
64457 main ()
64459 _atan2f(0, 0);
64461 return 0;
64463 _ACEOF
64464 if ac_fn_cxx_try_compile "$LINENO"; then :
64465 glibcxx_cv_func__atan2f_use=yes
64466 else
64467 glibcxx_cv_func__atan2f_use=no
64469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64470 ac_ext=c
64471 ac_cpp='$CPP $CPPFLAGS'
64472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
64481 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
64483 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
64484 for ac_func in _atan2f
64485 do :
64486 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
64487 if test "x$ac_cv_func__atan2f" = xyes; then :
64488 cat >>confdefs.h <<_ACEOF
64489 #define HAVE__ATAN2F 1
64490 _ACEOF
64493 done
64502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
64503 $as_echo_n "checking for fabsf declaration... " >&6; }
64504 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
64505 if ${glibcxx_cv_func_fabsf_use+:} false; then :
64506 $as_echo_n "(cached) " >&6
64507 else
64510 ac_ext=cpp
64511 ac_cpp='$CXXCPP $CPPFLAGS'
64512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64517 /* end confdefs.h. */
64518 #include <math.h>
64519 #ifdef HAVE_IEEEFP_H
64520 #include <ieeefp.h>
64521 #endif
64524 main ()
64526 fabsf(0);
64528 return 0;
64530 _ACEOF
64531 if ac_fn_cxx_try_compile "$LINENO"; then :
64532 glibcxx_cv_func_fabsf_use=yes
64533 else
64534 glibcxx_cv_func_fabsf_use=no
64536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64537 ac_ext=c
64538 ac_cpp='$CPP $CPPFLAGS'
64539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
64548 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
64550 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
64551 for ac_func in fabsf
64552 do :
64553 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
64554 if test "x$ac_cv_func_fabsf" = xyes; then :
64555 cat >>confdefs.h <<_ACEOF
64556 #define HAVE_FABSF 1
64557 _ACEOF
64560 done
64562 else
64564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
64565 $as_echo_n "checking for _fabsf declaration... " >&6; }
64566 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
64567 if ${glibcxx_cv_func__fabsf_use+:} false; then :
64568 $as_echo_n "(cached) " >&6
64569 else
64572 ac_ext=cpp
64573 ac_cpp='$CXXCPP $CPPFLAGS'
64574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64579 /* end confdefs.h. */
64580 #include <math.h>
64581 #ifdef HAVE_IEEEFP_H
64582 #include <ieeefp.h>
64583 #endif
64586 main ()
64588 _fabsf(0);
64590 return 0;
64592 _ACEOF
64593 if ac_fn_cxx_try_compile "$LINENO"; then :
64594 glibcxx_cv_func__fabsf_use=yes
64595 else
64596 glibcxx_cv_func__fabsf_use=no
64598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64599 ac_ext=c
64600 ac_cpp='$CPP $CPPFLAGS'
64601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
64610 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
64612 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
64613 for ac_func in _fabsf
64614 do :
64615 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
64616 if test "x$ac_cv_func__fabsf" = xyes; then :
64617 cat >>confdefs.h <<_ACEOF
64618 #define HAVE__FABSF 1
64619 _ACEOF
64622 done
64631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
64632 $as_echo_n "checking for fmodf declaration... " >&6; }
64633 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
64634 if ${glibcxx_cv_func_fmodf_use+:} false; then :
64635 $as_echo_n "(cached) " >&6
64636 else
64639 ac_ext=cpp
64640 ac_cpp='$CXXCPP $CPPFLAGS'
64641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64646 /* end confdefs.h. */
64647 #include <math.h>
64649 main ()
64651 fmodf(0, 0);
64653 return 0;
64655 _ACEOF
64656 if ac_fn_cxx_try_compile "$LINENO"; then :
64657 glibcxx_cv_func_fmodf_use=yes
64658 else
64659 glibcxx_cv_func_fmodf_use=no
64661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64662 ac_ext=c
64663 ac_cpp='$CPP $CPPFLAGS'
64664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
64673 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
64675 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
64676 for ac_func in fmodf
64677 do :
64678 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
64679 if test "x$ac_cv_func_fmodf" = xyes; then :
64680 cat >>confdefs.h <<_ACEOF
64681 #define HAVE_FMODF 1
64682 _ACEOF
64685 done
64687 else
64689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
64690 $as_echo_n "checking for _fmodf declaration... " >&6; }
64691 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
64692 if ${glibcxx_cv_func__fmodf_use+:} false; then :
64693 $as_echo_n "(cached) " >&6
64694 else
64697 ac_ext=cpp
64698 ac_cpp='$CXXCPP $CPPFLAGS'
64699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64704 /* end confdefs.h. */
64705 #include <math.h>
64707 main ()
64709 _fmodf(0, 0);
64711 return 0;
64713 _ACEOF
64714 if ac_fn_cxx_try_compile "$LINENO"; then :
64715 glibcxx_cv_func__fmodf_use=yes
64716 else
64717 glibcxx_cv_func__fmodf_use=no
64719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64720 ac_ext=c
64721 ac_cpp='$CPP $CPPFLAGS'
64722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
64731 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
64733 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
64734 for ac_func in _fmodf
64735 do :
64736 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
64737 if test "x$ac_cv_func__fmodf" = xyes; then :
64738 cat >>confdefs.h <<_ACEOF
64739 #define HAVE__FMODF 1
64740 _ACEOF
64743 done
64752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
64753 $as_echo_n "checking for frexpf declaration... " >&6; }
64754 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
64755 if ${glibcxx_cv_func_frexpf_use+:} false; then :
64756 $as_echo_n "(cached) " >&6
64757 else
64760 ac_ext=cpp
64761 ac_cpp='$CXXCPP $CPPFLAGS'
64762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64767 /* end confdefs.h. */
64768 #include <math.h>
64770 main ()
64772 frexpf(0, 0);
64774 return 0;
64776 _ACEOF
64777 if ac_fn_cxx_try_compile "$LINENO"; then :
64778 glibcxx_cv_func_frexpf_use=yes
64779 else
64780 glibcxx_cv_func_frexpf_use=no
64782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64783 ac_ext=c
64784 ac_cpp='$CPP $CPPFLAGS'
64785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
64794 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
64796 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
64797 for ac_func in frexpf
64798 do :
64799 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
64800 if test "x$ac_cv_func_frexpf" = xyes; then :
64801 cat >>confdefs.h <<_ACEOF
64802 #define HAVE_FREXPF 1
64803 _ACEOF
64806 done
64808 else
64810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
64811 $as_echo_n "checking for _frexpf declaration... " >&6; }
64812 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
64813 if ${glibcxx_cv_func__frexpf_use+:} false; then :
64814 $as_echo_n "(cached) " >&6
64815 else
64818 ac_ext=cpp
64819 ac_cpp='$CXXCPP $CPPFLAGS'
64820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64825 /* end confdefs.h. */
64826 #include <math.h>
64828 main ()
64830 _frexpf(0, 0);
64832 return 0;
64834 _ACEOF
64835 if ac_fn_cxx_try_compile "$LINENO"; then :
64836 glibcxx_cv_func__frexpf_use=yes
64837 else
64838 glibcxx_cv_func__frexpf_use=no
64840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64841 ac_ext=c
64842 ac_cpp='$CPP $CPPFLAGS'
64843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
64852 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
64854 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
64855 for ac_func in _frexpf
64856 do :
64857 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
64858 if test "x$ac_cv_func__frexpf" = xyes; then :
64859 cat >>confdefs.h <<_ACEOF
64860 #define HAVE__FREXPF 1
64861 _ACEOF
64864 done
64873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
64874 $as_echo_n "checking for hypotf declaration... " >&6; }
64875 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
64876 if ${glibcxx_cv_func_hypotf_use+:} false; then :
64877 $as_echo_n "(cached) " >&6
64878 else
64881 ac_ext=cpp
64882 ac_cpp='$CXXCPP $CPPFLAGS'
64883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64888 /* end confdefs.h. */
64889 #include <math.h>
64891 main ()
64893 hypotf(0, 0);
64895 return 0;
64897 _ACEOF
64898 if ac_fn_cxx_try_compile "$LINENO"; then :
64899 glibcxx_cv_func_hypotf_use=yes
64900 else
64901 glibcxx_cv_func_hypotf_use=no
64903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64904 ac_ext=c
64905 ac_cpp='$CPP $CPPFLAGS'
64906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
64915 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
64917 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
64918 for ac_func in hypotf
64919 do :
64920 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
64921 if test "x$ac_cv_func_hypotf" = xyes; then :
64922 cat >>confdefs.h <<_ACEOF
64923 #define HAVE_HYPOTF 1
64924 _ACEOF
64927 done
64929 else
64931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
64932 $as_echo_n "checking for _hypotf declaration... " >&6; }
64933 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
64934 if ${glibcxx_cv_func__hypotf_use+:} false; then :
64935 $as_echo_n "(cached) " >&6
64936 else
64939 ac_ext=cpp
64940 ac_cpp='$CXXCPP $CPPFLAGS'
64941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64946 /* end confdefs.h. */
64947 #include <math.h>
64949 main ()
64951 _hypotf(0, 0);
64953 return 0;
64955 _ACEOF
64956 if ac_fn_cxx_try_compile "$LINENO"; then :
64957 glibcxx_cv_func__hypotf_use=yes
64958 else
64959 glibcxx_cv_func__hypotf_use=no
64961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64962 ac_ext=c
64963 ac_cpp='$CPP $CPPFLAGS'
64964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
64973 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
64975 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
64976 for ac_func in _hypotf
64977 do :
64978 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
64979 if test "x$ac_cv_func__hypotf" = xyes; then :
64980 cat >>confdefs.h <<_ACEOF
64981 #define HAVE__HYPOTF 1
64982 _ACEOF
64985 done
64994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
64995 $as_echo_n "checking for ldexpf declaration... " >&6; }
64996 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
64997 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
64998 $as_echo_n "(cached) " >&6
64999 else
65002 ac_ext=cpp
65003 ac_cpp='$CXXCPP $CPPFLAGS'
65004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65009 /* end confdefs.h. */
65010 #include <math.h>
65012 main ()
65014 ldexpf(0, 0);
65016 return 0;
65018 _ACEOF
65019 if ac_fn_cxx_try_compile "$LINENO"; then :
65020 glibcxx_cv_func_ldexpf_use=yes
65021 else
65022 glibcxx_cv_func_ldexpf_use=no
65024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65025 ac_ext=c
65026 ac_cpp='$CPP $CPPFLAGS'
65027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
65036 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
65038 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
65039 for ac_func in ldexpf
65040 do :
65041 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
65042 if test "x$ac_cv_func_ldexpf" = xyes; then :
65043 cat >>confdefs.h <<_ACEOF
65044 #define HAVE_LDEXPF 1
65045 _ACEOF
65048 done
65050 else
65052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
65053 $as_echo_n "checking for _ldexpf declaration... " >&6; }
65054 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
65055 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
65056 $as_echo_n "(cached) " >&6
65057 else
65060 ac_ext=cpp
65061 ac_cpp='$CXXCPP $CPPFLAGS'
65062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65067 /* end confdefs.h. */
65068 #include <math.h>
65070 main ()
65072 _ldexpf(0, 0);
65074 return 0;
65076 _ACEOF
65077 if ac_fn_cxx_try_compile "$LINENO"; then :
65078 glibcxx_cv_func__ldexpf_use=yes
65079 else
65080 glibcxx_cv_func__ldexpf_use=no
65082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65083 ac_ext=c
65084 ac_cpp='$CPP $CPPFLAGS'
65085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
65094 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
65096 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
65097 for ac_func in _ldexpf
65098 do :
65099 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
65100 if test "x$ac_cv_func__ldexpf" = xyes; then :
65101 cat >>confdefs.h <<_ACEOF
65102 #define HAVE__LDEXPF 1
65103 _ACEOF
65106 done
65115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
65116 $as_echo_n "checking for logf declaration... " >&6; }
65117 if test x${glibcxx_cv_func_logf_use+set} != xset; then
65118 if ${glibcxx_cv_func_logf_use+:} false; then :
65119 $as_echo_n "(cached) " >&6
65120 else
65123 ac_ext=cpp
65124 ac_cpp='$CXXCPP $CPPFLAGS'
65125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65130 /* end confdefs.h. */
65131 #include <math.h>
65132 #ifdef HAVE_IEEEFP_H
65133 #include <ieeefp.h>
65134 #endif
65137 main ()
65139 logf(0);
65141 return 0;
65143 _ACEOF
65144 if ac_fn_cxx_try_compile "$LINENO"; then :
65145 glibcxx_cv_func_logf_use=yes
65146 else
65147 glibcxx_cv_func_logf_use=no
65149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65150 ac_ext=c
65151 ac_cpp='$CPP $CPPFLAGS'
65152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
65161 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
65163 if test x$glibcxx_cv_func_logf_use = x"yes"; then
65164 for ac_func in logf
65165 do :
65166 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
65167 if test "x$ac_cv_func_logf" = xyes; then :
65168 cat >>confdefs.h <<_ACEOF
65169 #define HAVE_LOGF 1
65170 _ACEOF
65173 done
65175 else
65177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
65178 $as_echo_n "checking for _logf declaration... " >&6; }
65179 if test x${glibcxx_cv_func__logf_use+set} != xset; then
65180 if ${glibcxx_cv_func__logf_use+:} false; then :
65181 $as_echo_n "(cached) " >&6
65182 else
65185 ac_ext=cpp
65186 ac_cpp='$CXXCPP $CPPFLAGS'
65187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65192 /* end confdefs.h. */
65193 #include <math.h>
65194 #ifdef HAVE_IEEEFP_H
65195 #include <ieeefp.h>
65196 #endif
65199 main ()
65201 _logf(0);
65203 return 0;
65205 _ACEOF
65206 if ac_fn_cxx_try_compile "$LINENO"; then :
65207 glibcxx_cv_func__logf_use=yes
65208 else
65209 glibcxx_cv_func__logf_use=no
65211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65212 ac_ext=c
65213 ac_cpp='$CPP $CPPFLAGS'
65214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
65223 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
65225 if test x$glibcxx_cv_func__logf_use = x"yes"; then
65226 for ac_func in _logf
65227 do :
65228 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
65229 if test "x$ac_cv_func__logf" = xyes; then :
65230 cat >>confdefs.h <<_ACEOF
65231 #define HAVE__LOGF 1
65232 _ACEOF
65235 done
65244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
65245 $as_echo_n "checking for log10f declaration... " >&6; }
65246 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
65247 if ${glibcxx_cv_func_log10f_use+:} false; then :
65248 $as_echo_n "(cached) " >&6
65249 else
65252 ac_ext=cpp
65253 ac_cpp='$CXXCPP $CPPFLAGS'
65254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65259 /* end confdefs.h. */
65260 #include <math.h>
65261 #ifdef HAVE_IEEEFP_H
65262 #include <ieeefp.h>
65263 #endif
65266 main ()
65268 log10f(0);
65270 return 0;
65272 _ACEOF
65273 if ac_fn_cxx_try_compile "$LINENO"; then :
65274 glibcxx_cv_func_log10f_use=yes
65275 else
65276 glibcxx_cv_func_log10f_use=no
65278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65279 ac_ext=c
65280 ac_cpp='$CPP $CPPFLAGS'
65281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
65290 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
65292 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
65293 for ac_func in log10f
65294 do :
65295 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
65296 if test "x$ac_cv_func_log10f" = xyes; then :
65297 cat >>confdefs.h <<_ACEOF
65298 #define HAVE_LOG10F 1
65299 _ACEOF
65302 done
65304 else
65306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
65307 $as_echo_n "checking for _log10f declaration... " >&6; }
65308 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
65309 if ${glibcxx_cv_func__log10f_use+:} false; then :
65310 $as_echo_n "(cached) " >&6
65311 else
65314 ac_ext=cpp
65315 ac_cpp='$CXXCPP $CPPFLAGS'
65316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65321 /* end confdefs.h. */
65322 #include <math.h>
65323 #ifdef HAVE_IEEEFP_H
65324 #include <ieeefp.h>
65325 #endif
65328 main ()
65330 _log10f(0);
65332 return 0;
65334 _ACEOF
65335 if ac_fn_cxx_try_compile "$LINENO"; then :
65336 glibcxx_cv_func__log10f_use=yes
65337 else
65338 glibcxx_cv_func__log10f_use=no
65340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65341 ac_ext=c
65342 ac_cpp='$CPP $CPPFLAGS'
65343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
65352 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
65354 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
65355 for ac_func in _log10f
65356 do :
65357 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
65358 if test "x$ac_cv_func__log10f" = xyes; then :
65359 cat >>confdefs.h <<_ACEOF
65360 #define HAVE__LOG10F 1
65361 _ACEOF
65364 done
65373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
65374 $as_echo_n "checking for modff declaration... " >&6; }
65375 if test x${glibcxx_cv_func_modff_use+set} != xset; then
65376 if ${glibcxx_cv_func_modff_use+:} false; then :
65377 $as_echo_n "(cached) " >&6
65378 else
65381 ac_ext=cpp
65382 ac_cpp='$CXXCPP $CPPFLAGS'
65383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65388 /* end confdefs.h. */
65389 #include <math.h>
65391 main ()
65393 modff(0, 0);
65395 return 0;
65397 _ACEOF
65398 if ac_fn_cxx_try_compile "$LINENO"; then :
65399 glibcxx_cv_func_modff_use=yes
65400 else
65401 glibcxx_cv_func_modff_use=no
65403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65404 ac_ext=c
65405 ac_cpp='$CPP $CPPFLAGS'
65406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
65415 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
65417 if test x$glibcxx_cv_func_modff_use = x"yes"; then
65418 for ac_func in modff
65419 do :
65420 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
65421 if test "x$ac_cv_func_modff" = xyes; then :
65422 cat >>confdefs.h <<_ACEOF
65423 #define HAVE_MODFF 1
65424 _ACEOF
65427 done
65429 else
65431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
65432 $as_echo_n "checking for _modff declaration... " >&6; }
65433 if test x${glibcxx_cv_func__modff_use+set} != xset; then
65434 if ${glibcxx_cv_func__modff_use+:} false; then :
65435 $as_echo_n "(cached) " >&6
65436 else
65439 ac_ext=cpp
65440 ac_cpp='$CXXCPP $CPPFLAGS'
65441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65446 /* end confdefs.h. */
65447 #include <math.h>
65449 main ()
65451 _modff(0, 0);
65453 return 0;
65455 _ACEOF
65456 if ac_fn_cxx_try_compile "$LINENO"; then :
65457 glibcxx_cv_func__modff_use=yes
65458 else
65459 glibcxx_cv_func__modff_use=no
65461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65462 ac_ext=c
65463 ac_cpp='$CPP $CPPFLAGS'
65464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
65473 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
65475 if test x$glibcxx_cv_func__modff_use = x"yes"; then
65476 for ac_func in _modff
65477 do :
65478 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
65479 if test "x$ac_cv_func__modff" = xyes; then :
65480 cat >>confdefs.h <<_ACEOF
65481 #define HAVE__MODFF 1
65482 _ACEOF
65485 done
65494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
65495 $as_echo_n "checking for modf declaration... " >&6; }
65496 if test x${glibcxx_cv_func_modf_use+set} != xset; then
65497 if ${glibcxx_cv_func_modf_use+:} false; then :
65498 $as_echo_n "(cached) " >&6
65499 else
65502 ac_ext=cpp
65503 ac_cpp='$CXXCPP $CPPFLAGS'
65504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65509 /* end confdefs.h. */
65510 #include <math.h>
65512 main ()
65514 modf(0, 0);
65516 return 0;
65518 _ACEOF
65519 if ac_fn_cxx_try_compile "$LINENO"; then :
65520 glibcxx_cv_func_modf_use=yes
65521 else
65522 glibcxx_cv_func_modf_use=no
65524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65525 ac_ext=c
65526 ac_cpp='$CPP $CPPFLAGS'
65527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
65536 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
65538 if test x$glibcxx_cv_func_modf_use = x"yes"; then
65539 for ac_func in modf
65540 do :
65541 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
65542 if test "x$ac_cv_func_modf" = xyes; then :
65543 cat >>confdefs.h <<_ACEOF
65544 #define HAVE_MODF 1
65545 _ACEOF
65548 done
65550 else
65552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
65553 $as_echo_n "checking for _modf declaration... " >&6; }
65554 if test x${glibcxx_cv_func__modf_use+set} != xset; then
65555 if ${glibcxx_cv_func__modf_use+:} false; then :
65556 $as_echo_n "(cached) " >&6
65557 else
65560 ac_ext=cpp
65561 ac_cpp='$CXXCPP $CPPFLAGS'
65562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65567 /* end confdefs.h. */
65568 #include <math.h>
65570 main ()
65572 _modf(0, 0);
65574 return 0;
65576 _ACEOF
65577 if ac_fn_cxx_try_compile "$LINENO"; then :
65578 glibcxx_cv_func__modf_use=yes
65579 else
65580 glibcxx_cv_func__modf_use=no
65582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65583 ac_ext=c
65584 ac_cpp='$CPP $CPPFLAGS'
65585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
65594 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
65596 if test x$glibcxx_cv_func__modf_use = x"yes"; then
65597 for ac_func in _modf
65598 do :
65599 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
65600 if test "x$ac_cv_func__modf" = xyes; then :
65601 cat >>confdefs.h <<_ACEOF
65602 #define HAVE__MODF 1
65603 _ACEOF
65606 done
65615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
65616 $as_echo_n "checking for powf declaration... " >&6; }
65617 if test x${glibcxx_cv_func_powf_use+set} != xset; then
65618 if ${glibcxx_cv_func_powf_use+:} false; then :
65619 $as_echo_n "(cached) " >&6
65620 else
65623 ac_ext=cpp
65624 ac_cpp='$CXXCPP $CPPFLAGS'
65625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65630 /* end confdefs.h. */
65631 #include <math.h>
65633 main ()
65635 powf(0, 0);
65637 return 0;
65639 _ACEOF
65640 if ac_fn_cxx_try_compile "$LINENO"; then :
65641 glibcxx_cv_func_powf_use=yes
65642 else
65643 glibcxx_cv_func_powf_use=no
65645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65646 ac_ext=c
65647 ac_cpp='$CPP $CPPFLAGS'
65648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
65657 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
65659 if test x$glibcxx_cv_func_powf_use = x"yes"; then
65660 for ac_func in powf
65661 do :
65662 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
65663 if test "x$ac_cv_func_powf" = xyes; then :
65664 cat >>confdefs.h <<_ACEOF
65665 #define HAVE_POWF 1
65666 _ACEOF
65669 done
65671 else
65673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
65674 $as_echo_n "checking for _powf declaration... " >&6; }
65675 if test x${glibcxx_cv_func__powf_use+set} != xset; then
65676 if ${glibcxx_cv_func__powf_use+:} false; then :
65677 $as_echo_n "(cached) " >&6
65678 else
65681 ac_ext=cpp
65682 ac_cpp='$CXXCPP $CPPFLAGS'
65683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65688 /* end confdefs.h. */
65689 #include <math.h>
65691 main ()
65693 _powf(0, 0);
65695 return 0;
65697 _ACEOF
65698 if ac_fn_cxx_try_compile "$LINENO"; then :
65699 glibcxx_cv_func__powf_use=yes
65700 else
65701 glibcxx_cv_func__powf_use=no
65703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65704 ac_ext=c
65705 ac_cpp='$CPP $CPPFLAGS'
65706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
65715 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
65717 if test x$glibcxx_cv_func__powf_use = x"yes"; then
65718 for ac_func in _powf
65719 do :
65720 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
65721 if test "x$ac_cv_func__powf" = xyes; then :
65722 cat >>confdefs.h <<_ACEOF
65723 #define HAVE__POWF 1
65724 _ACEOF
65727 done
65736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
65737 $as_echo_n "checking for sqrtf declaration... " >&6; }
65738 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
65739 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
65740 $as_echo_n "(cached) " >&6
65741 else
65744 ac_ext=cpp
65745 ac_cpp='$CXXCPP $CPPFLAGS'
65746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65751 /* end confdefs.h. */
65752 #include <math.h>
65753 #ifdef HAVE_IEEEFP_H
65754 #include <ieeefp.h>
65755 #endif
65758 main ()
65760 sqrtf(0);
65762 return 0;
65764 _ACEOF
65765 if ac_fn_cxx_try_compile "$LINENO"; then :
65766 glibcxx_cv_func_sqrtf_use=yes
65767 else
65768 glibcxx_cv_func_sqrtf_use=no
65770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65771 ac_ext=c
65772 ac_cpp='$CPP $CPPFLAGS'
65773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
65782 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
65784 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
65785 for ac_func in sqrtf
65786 do :
65787 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
65788 if test "x$ac_cv_func_sqrtf" = xyes; then :
65789 cat >>confdefs.h <<_ACEOF
65790 #define HAVE_SQRTF 1
65791 _ACEOF
65794 done
65796 else
65798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
65799 $as_echo_n "checking for _sqrtf declaration... " >&6; }
65800 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
65801 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
65802 $as_echo_n "(cached) " >&6
65803 else
65806 ac_ext=cpp
65807 ac_cpp='$CXXCPP $CPPFLAGS'
65808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65813 /* end confdefs.h. */
65814 #include <math.h>
65815 #ifdef HAVE_IEEEFP_H
65816 #include <ieeefp.h>
65817 #endif
65820 main ()
65822 _sqrtf(0);
65824 return 0;
65826 _ACEOF
65827 if ac_fn_cxx_try_compile "$LINENO"; then :
65828 glibcxx_cv_func__sqrtf_use=yes
65829 else
65830 glibcxx_cv_func__sqrtf_use=no
65832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65833 ac_ext=c
65834 ac_cpp='$CPP $CPPFLAGS'
65835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
65844 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
65846 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
65847 for ac_func in _sqrtf
65848 do :
65849 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
65850 if test "x$ac_cv_func__sqrtf" = xyes; then :
65851 cat >>confdefs.h <<_ACEOF
65852 #define HAVE__SQRTF 1
65853 _ACEOF
65856 done
65865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
65866 $as_echo_n "checking for sincosf declaration... " >&6; }
65867 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
65868 if ${glibcxx_cv_func_sincosf_use+:} false; then :
65869 $as_echo_n "(cached) " >&6
65870 else
65873 ac_ext=cpp
65874 ac_cpp='$CXXCPP $CPPFLAGS'
65875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65880 /* end confdefs.h. */
65881 #include <math.h>
65883 main ()
65885 sincosf(0, 0, 0);
65887 return 0;
65889 _ACEOF
65890 if ac_fn_cxx_try_compile "$LINENO"; then :
65891 glibcxx_cv_func_sincosf_use=yes
65892 else
65893 glibcxx_cv_func_sincosf_use=no
65895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65896 ac_ext=c
65897 ac_cpp='$CPP $CPPFLAGS'
65898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
65907 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
65909 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
65910 for ac_func in sincosf
65911 do :
65912 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
65913 if test "x$ac_cv_func_sincosf" = xyes; then :
65914 cat >>confdefs.h <<_ACEOF
65915 #define HAVE_SINCOSF 1
65916 _ACEOF
65919 done
65921 else
65923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
65924 $as_echo_n "checking for _sincosf declaration... " >&6; }
65925 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
65926 if ${glibcxx_cv_func__sincosf_use+:} false; then :
65927 $as_echo_n "(cached) " >&6
65928 else
65931 ac_ext=cpp
65932 ac_cpp='$CXXCPP $CPPFLAGS'
65933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65938 /* end confdefs.h. */
65939 #include <math.h>
65941 main ()
65943 _sincosf(0, 0, 0);
65945 return 0;
65947 _ACEOF
65948 if ac_fn_cxx_try_compile "$LINENO"; then :
65949 glibcxx_cv_func__sincosf_use=yes
65950 else
65951 glibcxx_cv_func__sincosf_use=no
65953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65954 ac_ext=c
65955 ac_cpp='$CPP $CPPFLAGS'
65956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
65965 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
65967 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
65968 for ac_func in _sincosf
65969 do :
65970 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
65971 if test "x$ac_cv_func__sincosf" = xyes; then :
65972 cat >>confdefs.h <<_ACEOF
65973 #define HAVE__SINCOSF 1
65974 _ACEOF
65977 done
65986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
65987 $as_echo_n "checking for finitef declaration... " >&6; }
65988 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
65989 if ${glibcxx_cv_func_finitef_use+:} false; then :
65990 $as_echo_n "(cached) " >&6
65991 else
65994 ac_ext=cpp
65995 ac_cpp='$CXXCPP $CPPFLAGS'
65996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66001 /* end confdefs.h. */
66002 #include <math.h>
66003 #ifdef HAVE_IEEEFP_H
66004 #include <ieeefp.h>
66005 #endif
66008 main ()
66010 finitef(0);
66012 return 0;
66014 _ACEOF
66015 if ac_fn_cxx_try_compile "$LINENO"; then :
66016 glibcxx_cv_func_finitef_use=yes
66017 else
66018 glibcxx_cv_func_finitef_use=no
66020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66021 ac_ext=c
66022 ac_cpp='$CPP $CPPFLAGS'
66023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
66032 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
66034 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
66035 for ac_func in finitef
66036 do :
66037 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
66038 if test "x$ac_cv_func_finitef" = xyes; then :
66039 cat >>confdefs.h <<_ACEOF
66040 #define HAVE_FINITEF 1
66041 _ACEOF
66044 done
66046 else
66048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
66049 $as_echo_n "checking for _finitef declaration... " >&6; }
66050 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
66051 if ${glibcxx_cv_func__finitef_use+:} false; then :
66052 $as_echo_n "(cached) " >&6
66053 else
66056 ac_ext=cpp
66057 ac_cpp='$CXXCPP $CPPFLAGS'
66058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66063 /* end confdefs.h. */
66064 #include <math.h>
66065 #ifdef HAVE_IEEEFP_H
66066 #include <ieeefp.h>
66067 #endif
66070 main ()
66072 _finitef(0);
66074 return 0;
66076 _ACEOF
66077 if ac_fn_cxx_try_compile "$LINENO"; then :
66078 glibcxx_cv_func__finitef_use=yes
66079 else
66080 glibcxx_cv_func__finitef_use=no
66082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66083 ac_ext=c
66084 ac_cpp='$CPP $CPPFLAGS'
66085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
66094 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
66096 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
66097 for ac_func in _finitef
66098 do :
66099 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
66100 if test "x$ac_cv_func__finitef" = xyes; then :
66101 cat >>confdefs.h <<_ACEOF
66102 #define HAVE__FINITEF 1
66103 _ACEOF
66106 done
66115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
66116 $as_echo_n "checking for long double trig functions... " >&6; }
66117 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
66118 $as_echo_n "(cached) " >&6
66119 else
66122 ac_ext=cpp
66123 ac_cpp='$CXXCPP $CPPFLAGS'
66124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66129 /* end confdefs.h. */
66130 #include <math.h>
66132 main ()
66134 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
66136 return 0;
66138 _ACEOF
66139 if ac_fn_cxx_try_compile "$LINENO"; then :
66140 glibcxx_cv_func_long_double_trig_use=yes
66141 else
66142 glibcxx_cv_func_long_double_trig_use=no
66144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66145 ac_ext=c
66146 ac_cpp='$CPP $CPPFLAGS'
66147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
66154 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
66155 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
66156 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
66157 do :
66158 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66159 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66160 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
66161 cat >>confdefs.h <<_ACEOF
66162 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66163 _ACEOF
66166 done
66168 else
66169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
66170 $as_echo_n "checking for _long double trig functions... " >&6; }
66171 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
66172 $as_echo_n "(cached) " >&6
66173 else
66176 ac_ext=cpp
66177 ac_cpp='$CXXCPP $CPPFLAGS'
66178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66183 /* end confdefs.h. */
66184 #include <math.h>
66186 main ()
66188 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
66190 return 0;
66192 _ACEOF
66193 if ac_fn_cxx_try_compile "$LINENO"; then :
66194 glibcxx_cv_func__long_double_trig_use=yes
66195 else
66196 glibcxx_cv_func__long_double_trig_use=no
66198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66199 ac_ext=c
66200 ac_cpp='$CPP $CPPFLAGS'
66201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
66208 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
66209 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
66210 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
66211 do :
66212 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66213 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66214 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
66215 cat >>confdefs.h <<_ACEOF
66216 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66217 _ACEOF
66220 done
66229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
66230 $as_echo_n "checking for long double round functions... " >&6; }
66231 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
66232 $as_echo_n "(cached) " >&6
66233 else
66236 ac_ext=cpp
66237 ac_cpp='$CXXCPP $CPPFLAGS'
66238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66243 /* end confdefs.h. */
66244 #include <math.h>
66246 main ()
66248 ceill (0); floorl (0);
66250 return 0;
66252 _ACEOF
66253 if ac_fn_cxx_try_compile "$LINENO"; then :
66254 glibcxx_cv_func_long_double_round_use=yes
66255 else
66256 glibcxx_cv_func_long_double_round_use=no
66258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66259 ac_ext=c
66260 ac_cpp='$CPP $CPPFLAGS'
66261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
66268 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
66269 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
66270 for ac_func in ceill floorl
66271 do :
66272 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66273 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66274 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
66275 cat >>confdefs.h <<_ACEOF
66276 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66277 _ACEOF
66280 done
66282 else
66283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
66284 $as_echo_n "checking for _long double round functions... " >&6; }
66285 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
66286 $as_echo_n "(cached) " >&6
66287 else
66290 ac_ext=cpp
66291 ac_cpp='$CXXCPP $CPPFLAGS'
66292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66297 /* end confdefs.h. */
66298 #include <math.h>
66300 main ()
66302 _ceill (0); _floorl (0);
66304 return 0;
66306 _ACEOF
66307 if ac_fn_cxx_try_compile "$LINENO"; then :
66308 glibcxx_cv_func__long_double_round_use=yes
66309 else
66310 glibcxx_cv_func__long_double_round_use=no
66312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66313 ac_ext=c
66314 ac_cpp='$CPP $CPPFLAGS'
66315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
66322 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
66323 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
66324 for ac_func in _ceill _floorl
66325 do :
66326 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66327 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66328 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
66329 cat >>confdefs.h <<_ACEOF
66330 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66331 _ACEOF
66334 done
66344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
66345 $as_echo_n "checking for isnanl declaration... " >&6; }
66346 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
66347 if ${glibcxx_cv_func_isnanl_use+:} false; then :
66348 $as_echo_n "(cached) " >&6
66349 else
66352 ac_ext=cpp
66353 ac_cpp='$CXXCPP $CPPFLAGS'
66354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66359 /* end confdefs.h. */
66360 #include <math.h>
66361 #ifdef HAVE_IEEEFP_H
66362 #include <ieeefp.h>
66363 #endif
66366 main ()
66368 isnanl(0);
66370 return 0;
66372 _ACEOF
66373 if ac_fn_cxx_try_compile "$LINENO"; then :
66374 glibcxx_cv_func_isnanl_use=yes
66375 else
66376 glibcxx_cv_func_isnanl_use=no
66378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66379 ac_ext=c
66380 ac_cpp='$CPP $CPPFLAGS'
66381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
66390 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
66392 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
66393 for ac_func in isnanl
66394 do :
66395 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
66396 if test "x$ac_cv_func_isnanl" = xyes; then :
66397 cat >>confdefs.h <<_ACEOF
66398 #define HAVE_ISNANL 1
66399 _ACEOF
66402 done
66404 else
66406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
66407 $as_echo_n "checking for _isnanl declaration... " >&6; }
66408 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
66409 if ${glibcxx_cv_func__isnanl_use+:} false; then :
66410 $as_echo_n "(cached) " >&6
66411 else
66414 ac_ext=cpp
66415 ac_cpp='$CXXCPP $CPPFLAGS'
66416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66421 /* end confdefs.h. */
66422 #include <math.h>
66423 #ifdef HAVE_IEEEFP_H
66424 #include <ieeefp.h>
66425 #endif
66428 main ()
66430 _isnanl(0);
66432 return 0;
66434 _ACEOF
66435 if ac_fn_cxx_try_compile "$LINENO"; then :
66436 glibcxx_cv_func__isnanl_use=yes
66437 else
66438 glibcxx_cv_func__isnanl_use=no
66440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66441 ac_ext=c
66442 ac_cpp='$CPP $CPPFLAGS'
66443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
66452 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
66454 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
66455 for ac_func in _isnanl
66456 do :
66457 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
66458 if test "x$ac_cv_func__isnanl" = xyes; then :
66459 cat >>confdefs.h <<_ACEOF
66460 #define HAVE__ISNANL 1
66461 _ACEOF
66464 done
66473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
66474 $as_echo_n "checking for isinfl declaration... " >&6; }
66475 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
66476 if ${glibcxx_cv_func_isinfl_use+:} false; then :
66477 $as_echo_n "(cached) " >&6
66478 else
66481 ac_ext=cpp
66482 ac_cpp='$CXXCPP $CPPFLAGS'
66483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66488 /* end confdefs.h. */
66489 #include <math.h>
66490 #ifdef HAVE_IEEEFP_H
66491 #include <ieeefp.h>
66492 #endif
66495 main ()
66497 isinfl(0);
66499 return 0;
66501 _ACEOF
66502 if ac_fn_cxx_try_compile "$LINENO"; then :
66503 glibcxx_cv_func_isinfl_use=yes
66504 else
66505 glibcxx_cv_func_isinfl_use=no
66507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66508 ac_ext=c
66509 ac_cpp='$CPP $CPPFLAGS'
66510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
66519 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
66521 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
66522 for ac_func in isinfl
66523 do :
66524 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
66525 if test "x$ac_cv_func_isinfl" = xyes; then :
66526 cat >>confdefs.h <<_ACEOF
66527 #define HAVE_ISINFL 1
66528 _ACEOF
66531 done
66533 else
66535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
66536 $as_echo_n "checking for _isinfl declaration... " >&6; }
66537 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
66538 if ${glibcxx_cv_func__isinfl_use+:} false; then :
66539 $as_echo_n "(cached) " >&6
66540 else
66543 ac_ext=cpp
66544 ac_cpp='$CXXCPP $CPPFLAGS'
66545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66550 /* end confdefs.h. */
66551 #include <math.h>
66552 #ifdef HAVE_IEEEFP_H
66553 #include <ieeefp.h>
66554 #endif
66557 main ()
66559 _isinfl(0);
66561 return 0;
66563 _ACEOF
66564 if ac_fn_cxx_try_compile "$LINENO"; then :
66565 glibcxx_cv_func__isinfl_use=yes
66566 else
66567 glibcxx_cv_func__isinfl_use=no
66569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66570 ac_ext=c
66571 ac_cpp='$CPP $CPPFLAGS'
66572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
66581 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
66583 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
66584 for ac_func in _isinfl
66585 do :
66586 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
66587 if test "x$ac_cv_func__isinfl" = xyes; then :
66588 cat >>confdefs.h <<_ACEOF
66589 #define HAVE__ISINFL 1
66590 _ACEOF
66593 done
66602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
66603 $as_echo_n "checking for atan2l declaration... " >&6; }
66604 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
66605 if ${glibcxx_cv_func_atan2l_use+:} false; then :
66606 $as_echo_n "(cached) " >&6
66607 else
66610 ac_ext=cpp
66611 ac_cpp='$CXXCPP $CPPFLAGS'
66612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66617 /* end confdefs.h. */
66618 #include <math.h>
66620 main ()
66622 atan2l(0, 0);
66624 return 0;
66626 _ACEOF
66627 if ac_fn_cxx_try_compile "$LINENO"; then :
66628 glibcxx_cv_func_atan2l_use=yes
66629 else
66630 glibcxx_cv_func_atan2l_use=no
66632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66633 ac_ext=c
66634 ac_cpp='$CPP $CPPFLAGS'
66635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
66644 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
66646 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
66647 for ac_func in atan2l
66648 do :
66649 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
66650 if test "x$ac_cv_func_atan2l" = xyes; then :
66651 cat >>confdefs.h <<_ACEOF
66652 #define HAVE_ATAN2L 1
66653 _ACEOF
66656 done
66658 else
66660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
66661 $as_echo_n "checking for _atan2l declaration... " >&6; }
66662 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
66663 if ${glibcxx_cv_func__atan2l_use+:} false; then :
66664 $as_echo_n "(cached) " >&6
66665 else
66668 ac_ext=cpp
66669 ac_cpp='$CXXCPP $CPPFLAGS'
66670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66675 /* end confdefs.h. */
66676 #include <math.h>
66678 main ()
66680 _atan2l(0, 0);
66682 return 0;
66684 _ACEOF
66685 if ac_fn_cxx_try_compile "$LINENO"; then :
66686 glibcxx_cv_func__atan2l_use=yes
66687 else
66688 glibcxx_cv_func__atan2l_use=no
66690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66691 ac_ext=c
66692 ac_cpp='$CPP $CPPFLAGS'
66693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
66702 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
66704 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
66705 for ac_func in _atan2l
66706 do :
66707 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
66708 if test "x$ac_cv_func__atan2l" = xyes; then :
66709 cat >>confdefs.h <<_ACEOF
66710 #define HAVE__ATAN2L 1
66711 _ACEOF
66714 done
66723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
66724 $as_echo_n "checking for expl declaration... " >&6; }
66725 if test x${glibcxx_cv_func_expl_use+set} != xset; then
66726 if ${glibcxx_cv_func_expl_use+:} false; then :
66727 $as_echo_n "(cached) " >&6
66728 else
66731 ac_ext=cpp
66732 ac_cpp='$CXXCPP $CPPFLAGS'
66733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66738 /* end confdefs.h. */
66739 #include <math.h>
66740 #ifdef HAVE_IEEEFP_H
66741 #include <ieeefp.h>
66742 #endif
66745 main ()
66747 expl(0);
66749 return 0;
66751 _ACEOF
66752 if ac_fn_cxx_try_compile "$LINENO"; then :
66753 glibcxx_cv_func_expl_use=yes
66754 else
66755 glibcxx_cv_func_expl_use=no
66757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66758 ac_ext=c
66759 ac_cpp='$CPP $CPPFLAGS'
66760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
66769 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
66771 if test x$glibcxx_cv_func_expl_use = x"yes"; then
66772 for ac_func in expl
66773 do :
66774 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
66775 if test "x$ac_cv_func_expl" = xyes; then :
66776 cat >>confdefs.h <<_ACEOF
66777 #define HAVE_EXPL 1
66778 _ACEOF
66781 done
66783 else
66785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
66786 $as_echo_n "checking for _expl declaration... " >&6; }
66787 if test x${glibcxx_cv_func__expl_use+set} != xset; then
66788 if ${glibcxx_cv_func__expl_use+:} false; then :
66789 $as_echo_n "(cached) " >&6
66790 else
66793 ac_ext=cpp
66794 ac_cpp='$CXXCPP $CPPFLAGS'
66795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66800 /* end confdefs.h. */
66801 #include <math.h>
66802 #ifdef HAVE_IEEEFP_H
66803 #include <ieeefp.h>
66804 #endif
66807 main ()
66809 _expl(0);
66811 return 0;
66813 _ACEOF
66814 if ac_fn_cxx_try_compile "$LINENO"; then :
66815 glibcxx_cv_func__expl_use=yes
66816 else
66817 glibcxx_cv_func__expl_use=no
66819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66820 ac_ext=c
66821 ac_cpp='$CPP $CPPFLAGS'
66822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
66831 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
66833 if test x$glibcxx_cv_func__expl_use = x"yes"; then
66834 for ac_func in _expl
66835 do :
66836 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
66837 if test "x$ac_cv_func__expl" = xyes; then :
66838 cat >>confdefs.h <<_ACEOF
66839 #define HAVE__EXPL 1
66840 _ACEOF
66843 done
66852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
66853 $as_echo_n "checking for fabsl declaration... " >&6; }
66854 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
66855 if ${glibcxx_cv_func_fabsl_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 fabsl(0);
66878 return 0;
66880 _ACEOF
66881 if ac_fn_cxx_try_compile "$LINENO"; then :
66882 glibcxx_cv_func_fabsl_use=yes
66883 else
66884 glibcxx_cv_func_fabsl_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_fabsl_use" >&5
66898 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
66900 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
66901 for ac_func in fabsl
66902 do :
66903 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
66904 if test "x$ac_cv_func_fabsl" = xyes; then :
66905 cat >>confdefs.h <<_ACEOF
66906 #define HAVE_FABSL 1
66907 _ACEOF
66910 done
66912 else
66914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
66915 $as_echo_n "checking for _fabsl declaration... " >&6; }
66916 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
66917 if ${glibcxx_cv_func__fabsl_use+:} false; then :
66918 $as_echo_n "(cached) " >&6
66919 else
66922 ac_ext=cpp
66923 ac_cpp='$CXXCPP $CPPFLAGS'
66924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66929 /* end confdefs.h. */
66930 #include <math.h>
66931 #ifdef HAVE_IEEEFP_H
66932 #include <ieeefp.h>
66933 #endif
66936 main ()
66938 _fabsl(0);
66940 return 0;
66942 _ACEOF
66943 if ac_fn_cxx_try_compile "$LINENO"; then :
66944 glibcxx_cv_func__fabsl_use=yes
66945 else
66946 glibcxx_cv_func__fabsl_use=no
66948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66949 ac_ext=c
66950 ac_cpp='$CPP $CPPFLAGS'
66951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
66960 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
66962 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
66963 for ac_func in _fabsl
66964 do :
66965 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
66966 if test "x$ac_cv_func__fabsl" = xyes; then :
66967 cat >>confdefs.h <<_ACEOF
66968 #define HAVE__FABSL 1
66969 _ACEOF
66972 done
66981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
66982 $as_echo_n "checking for fmodl declaration... " >&6; }
66983 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
66984 if ${glibcxx_cv_func_fmodl_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>
66999 main ()
67001 fmodl(0, 0);
67003 return 0;
67005 _ACEOF
67006 if ac_fn_cxx_try_compile "$LINENO"; then :
67007 glibcxx_cv_func_fmodl_use=yes
67008 else
67009 glibcxx_cv_func_fmodl_use=no
67011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67012 ac_ext=c
67013 ac_cpp='$CPP $CPPFLAGS'
67014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
67023 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
67025 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
67026 for ac_func in fmodl
67027 do :
67028 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
67029 if test "x$ac_cv_func_fmodl" = xyes; then :
67030 cat >>confdefs.h <<_ACEOF
67031 #define HAVE_FMODL 1
67032 _ACEOF
67035 done
67037 else
67039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
67040 $as_echo_n "checking for _fmodl declaration... " >&6; }
67041 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
67042 if ${glibcxx_cv_func__fmodl_use+:} false; then :
67043 $as_echo_n "(cached) " >&6
67044 else
67047 ac_ext=cpp
67048 ac_cpp='$CXXCPP $CPPFLAGS'
67049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67054 /* end confdefs.h. */
67055 #include <math.h>
67057 main ()
67059 _fmodl(0, 0);
67061 return 0;
67063 _ACEOF
67064 if ac_fn_cxx_try_compile "$LINENO"; then :
67065 glibcxx_cv_func__fmodl_use=yes
67066 else
67067 glibcxx_cv_func__fmodl_use=no
67069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67070 ac_ext=c
67071 ac_cpp='$CPP $CPPFLAGS'
67072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
67081 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
67083 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
67084 for ac_func in _fmodl
67085 do :
67086 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
67087 if test "x$ac_cv_func__fmodl" = xyes; then :
67088 cat >>confdefs.h <<_ACEOF
67089 #define HAVE__FMODL 1
67090 _ACEOF
67093 done
67102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
67103 $as_echo_n "checking for frexpl declaration... " >&6; }
67104 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
67105 if ${glibcxx_cv_func_frexpl_use+:} false; then :
67106 $as_echo_n "(cached) " >&6
67107 else
67110 ac_ext=cpp
67111 ac_cpp='$CXXCPP $CPPFLAGS'
67112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67117 /* end confdefs.h. */
67118 #include <math.h>
67120 main ()
67122 frexpl(0, 0);
67124 return 0;
67126 _ACEOF
67127 if ac_fn_cxx_try_compile "$LINENO"; then :
67128 glibcxx_cv_func_frexpl_use=yes
67129 else
67130 glibcxx_cv_func_frexpl_use=no
67132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67133 ac_ext=c
67134 ac_cpp='$CPP $CPPFLAGS'
67135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
67144 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
67146 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
67147 for ac_func in frexpl
67148 do :
67149 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
67150 if test "x$ac_cv_func_frexpl" = xyes; then :
67151 cat >>confdefs.h <<_ACEOF
67152 #define HAVE_FREXPL 1
67153 _ACEOF
67156 done
67158 else
67160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
67161 $as_echo_n "checking for _frexpl declaration... " >&6; }
67162 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
67163 if ${glibcxx_cv_func__frexpl_use+:} false; then :
67164 $as_echo_n "(cached) " >&6
67165 else
67168 ac_ext=cpp
67169 ac_cpp='$CXXCPP $CPPFLAGS'
67170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67175 /* end confdefs.h. */
67176 #include <math.h>
67178 main ()
67180 _frexpl(0, 0);
67182 return 0;
67184 _ACEOF
67185 if ac_fn_cxx_try_compile "$LINENO"; then :
67186 glibcxx_cv_func__frexpl_use=yes
67187 else
67188 glibcxx_cv_func__frexpl_use=no
67190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67191 ac_ext=c
67192 ac_cpp='$CPP $CPPFLAGS'
67193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
67202 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
67204 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
67205 for ac_func in _frexpl
67206 do :
67207 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
67208 if test "x$ac_cv_func__frexpl" = xyes; then :
67209 cat >>confdefs.h <<_ACEOF
67210 #define HAVE__FREXPL 1
67211 _ACEOF
67214 done
67223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
67224 $as_echo_n "checking for hypotl declaration... " >&6; }
67225 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
67226 if ${glibcxx_cv_func_hypotl_use+:} false; then :
67227 $as_echo_n "(cached) " >&6
67228 else
67231 ac_ext=cpp
67232 ac_cpp='$CXXCPP $CPPFLAGS'
67233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67238 /* end confdefs.h. */
67239 #include <math.h>
67241 main ()
67243 hypotl(0, 0);
67245 return 0;
67247 _ACEOF
67248 if ac_fn_cxx_try_compile "$LINENO"; then :
67249 glibcxx_cv_func_hypotl_use=yes
67250 else
67251 glibcxx_cv_func_hypotl_use=no
67253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67254 ac_ext=c
67255 ac_cpp='$CPP $CPPFLAGS'
67256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
67265 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
67267 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
67268 for ac_func in hypotl
67269 do :
67270 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
67271 if test "x$ac_cv_func_hypotl" = xyes; then :
67272 cat >>confdefs.h <<_ACEOF
67273 #define HAVE_HYPOTL 1
67274 _ACEOF
67277 done
67279 else
67281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
67282 $as_echo_n "checking for _hypotl declaration... " >&6; }
67283 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
67284 if ${glibcxx_cv_func__hypotl_use+:} false; then :
67285 $as_echo_n "(cached) " >&6
67286 else
67289 ac_ext=cpp
67290 ac_cpp='$CXXCPP $CPPFLAGS'
67291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67296 /* end confdefs.h. */
67297 #include <math.h>
67299 main ()
67301 _hypotl(0, 0);
67303 return 0;
67305 _ACEOF
67306 if ac_fn_cxx_try_compile "$LINENO"; then :
67307 glibcxx_cv_func__hypotl_use=yes
67308 else
67309 glibcxx_cv_func__hypotl_use=no
67311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67312 ac_ext=c
67313 ac_cpp='$CPP $CPPFLAGS'
67314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
67323 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
67325 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
67326 for ac_func in _hypotl
67327 do :
67328 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
67329 if test "x$ac_cv_func__hypotl" = xyes; then :
67330 cat >>confdefs.h <<_ACEOF
67331 #define HAVE__HYPOTL 1
67332 _ACEOF
67335 done
67344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
67345 $as_echo_n "checking for ldexpl declaration... " >&6; }
67346 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
67347 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
67348 $as_echo_n "(cached) " >&6
67349 else
67352 ac_ext=cpp
67353 ac_cpp='$CXXCPP $CPPFLAGS'
67354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67359 /* end confdefs.h. */
67360 #include <math.h>
67362 main ()
67364 ldexpl(0, 0);
67366 return 0;
67368 _ACEOF
67369 if ac_fn_cxx_try_compile "$LINENO"; then :
67370 glibcxx_cv_func_ldexpl_use=yes
67371 else
67372 glibcxx_cv_func_ldexpl_use=no
67374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67375 ac_ext=c
67376 ac_cpp='$CPP $CPPFLAGS'
67377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
67386 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
67388 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
67389 for ac_func in ldexpl
67390 do :
67391 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
67392 if test "x$ac_cv_func_ldexpl" = xyes; then :
67393 cat >>confdefs.h <<_ACEOF
67394 #define HAVE_LDEXPL 1
67395 _ACEOF
67398 done
67400 else
67402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
67403 $as_echo_n "checking for _ldexpl declaration... " >&6; }
67404 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
67405 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
67406 $as_echo_n "(cached) " >&6
67407 else
67410 ac_ext=cpp
67411 ac_cpp='$CXXCPP $CPPFLAGS'
67412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67417 /* end confdefs.h. */
67418 #include <math.h>
67420 main ()
67422 _ldexpl(0, 0);
67424 return 0;
67426 _ACEOF
67427 if ac_fn_cxx_try_compile "$LINENO"; then :
67428 glibcxx_cv_func__ldexpl_use=yes
67429 else
67430 glibcxx_cv_func__ldexpl_use=no
67432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67433 ac_ext=c
67434 ac_cpp='$CPP $CPPFLAGS'
67435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
67444 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
67446 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
67447 for ac_func in _ldexpl
67448 do :
67449 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
67450 if test "x$ac_cv_func__ldexpl" = xyes; then :
67451 cat >>confdefs.h <<_ACEOF
67452 #define HAVE__LDEXPL 1
67453 _ACEOF
67456 done
67465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
67466 $as_echo_n "checking for logl declaration... " >&6; }
67467 if test x${glibcxx_cv_func_logl_use+set} != xset; then
67468 if ${glibcxx_cv_func_logl_use+:} false; then :
67469 $as_echo_n "(cached) " >&6
67470 else
67473 ac_ext=cpp
67474 ac_cpp='$CXXCPP $CPPFLAGS'
67475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67480 /* end confdefs.h. */
67481 #include <math.h>
67482 #ifdef HAVE_IEEEFP_H
67483 #include <ieeefp.h>
67484 #endif
67487 main ()
67489 logl(0);
67491 return 0;
67493 _ACEOF
67494 if ac_fn_cxx_try_compile "$LINENO"; then :
67495 glibcxx_cv_func_logl_use=yes
67496 else
67497 glibcxx_cv_func_logl_use=no
67499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67500 ac_ext=c
67501 ac_cpp='$CPP $CPPFLAGS'
67502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
67511 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
67513 if test x$glibcxx_cv_func_logl_use = x"yes"; then
67514 for ac_func in logl
67515 do :
67516 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
67517 if test "x$ac_cv_func_logl" = xyes; then :
67518 cat >>confdefs.h <<_ACEOF
67519 #define HAVE_LOGL 1
67520 _ACEOF
67523 done
67525 else
67527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
67528 $as_echo_n "checking for _logl declaration... " >&6; }
67529 if test x${glibcxx_cv_func__logl_use+set} != xset; then
67530 if ${glibcxx_cv_func__logl_use+:} false; then :
67531 $as_echo_n "(cached) " >&6
67532 else
67535 ac_ext=cpp
67536 ac_cpp='$CXXCPP $CPPFLAGS'
67537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67542 /* end confdefs.h. */
67543 #include <math.h>
67544 #ifdef HAVE_IEEEFP_H
67545 #include <ieeefp.h>
67546 #endif
67549 main ()
67551 _logl(0);
67553 return 0;
67555 _ACEOF
67556 if ac_fn_cxx_try_compile "$LINENO"; then :
67557 glibcxx_cv_func__logl_use=yes
67558 else
67559 glibcxx_cv_func__logl_use=no
67561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67562 ac_ext=c
67563 ac_cpp='$CPP $CPPFLAGS'
67564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
67573 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
67575 if test x$glibcxx_cv_func__logl_use = x"yes"; then
67576 for ac_func in _logl
67577 do :
67578 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
67579 if test "x$ac_cv_func__logl" = xyes; then :
67580 cat >>confdefs.h <<_ACEOF
67581 #define HAVE__LOGL 1
67582 _ACEOF
67585 done
67594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
67595 $as_echo_n "checking for log10l declaration... " >&6; }
67596 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
67597 if ${glibcxx_cv_func_log10l_use+:} false; then :
67598 $as_echo_n "(cached) " >&6
67599 else
67602 ac_ext=cpp
67603 ac_cpp='$CXXCPP $CPPFLAGS'
67604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67609 /* end confdefs.h. */
67610 #include <math.h>
67611 #ifdef HAVE_IEEEFP_H
67612 #include <ieeefp.h>
67613 #endif
67616 main ()
67618 log10l(0);
67620 return 0;
67622 _ACEOF
67623 if ac_fn_cxx_try_compile "$LINENO"; then :
67624 glibcxx_cv_func_log10l_use=yes
67625 else
67626 glibcxx_cv_func_log10l_use=no
67628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67629 ac_ext=c
67630 ac_cpp='$CPP $CPPFLAGS'
67631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
67640 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
67642 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
67643 for ac_func in log10l
67644 do :
67645 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
67646 if test "x$ac_cv_func_log10l" = xyes; then :
67647 cat >>confdefs.h <<_ACEOF
67648 #define HAVE_LOG10L 1
67649 _ACEOF
67652 done
67654 else
67656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
67657 $as_echo_n "checking for _log10l declaration... " >&6; }
67658 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
67659 if ${glibcxx_cv_func__log10l_use+:} false; then :
67660 $as_echo_n "(cached) " >&6
67661 else
67664 ac_ext=cpp
67665 ac_cpp='$CXXCPP $CPPFLAGS'
67666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67671 /* end confdefs.h. */
67672 #include <math.h>
67673 #ifdef HAVE_IEEEFP_H
67674 #include <ieeefp.h>
67675 #endif
67678 main ()
67680 _log10l(0);
67682 return 0;
67684 _ACEOF
67685 if ac_fn_cxx_try_compile "$LINENO"; then :
67686 glibcxx_cv_func__log10l_use=yes
67687 else
67688 glibcxx_cv_func__log10l_use=no
67690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67691 ac_ext=c
67692 ac_cpp='$CPP $CPPFLAGS'
67693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
67702 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
67704 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
67705 for ac_func in _log10l
67706 do :
67707 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
67708 if test "x$ac_cv_func__log10l" = xyes; then :
67709 cat >>confdefs.h <<_ACEOF
67710 #define HAVE__LOG10L 1
67711 _ACEOF
67714 done
67723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
67724 $as_echo_n "checking for modfl declaration... " >&6; }
67725 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
67726 if ${glibcxx_cv_func_modfl_use+:} false; then :
67727 $as_echo_n "(cached) " >&6
67728 else
67731 ac_ext=cpp
67732 ac_cpp='$CXXCPP $CPPFLAGS'
67733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67738 /* end confdefs.h. */
67739 #include <math.h>
67741 main ()
67743 modfl(0, 0);
67745 return 0;
67747 _ACEOF
67748 if ac_fn_cxx_try_compile "$LINENO"; then :
67749 glibcxx_cv_func_modfl_use=yes
67750 else
67751 glibcxx_cv_func_modfl_use=no
67753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67754 ac_ext=c
67755 ac_cpp='$CPP $CPPFLAGS'
67756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
67765 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
67767 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
67768 for ac_func in modfl
67769 do :
67770 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
67771 if test "x$ac_cv_func_modfl" = xyes; then :
67772 cat >>confdefs.h <<_ACEOF
67773 #define HAVE_MODFL 1
67774 _ACEOF
67777 done
67779 else
67781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
67782 $as_echo_n "checking for _modfl declaration... " >&6; }
67783 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
67784 if ${glibcxx_cv_func__modfl_use+:} false; then :
67785 $as_echo_n "(cached) " >&6
67786 else
67789 ac_ext=cpp
67790 ac_cpp='$CXXCPP $CPPFLAGS'
67791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67796 /* end confdefs.h. */
67797 #include <math.h>
67799 main ()
67801 _modfl(0, 0);
67803 return 0;
67805 _ACEOF
67806 if ac_fn_cxx_try_compile "$LINENO"; then :
67807 glibcxx_cv_func__modfl_use=yes
67808 else
67809 glibcxx_cv_func__modfl_use=no
67811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67812 ac_ext=c
67813 ac_cpp='$CPP $CPPFLAGS'
67814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
67823 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
67825 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
67826 for ac_func in _modfl
67827 do :
67828 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
67829 if test "x$ac_cv_func__modfl" = xyes; then :
67830 cat >>confdefs.h <<_ACEOF
67831 #define HAVE__MODFL 1
67832 _ACEOF
67835 done
67844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
67845 $as_echo_n "checking for powl declaration... " >&6; }
67846 if test x${glibcxx_cv_func_powl_use+set} != xset; then
67847 if ${glibcxx_cv_func_powl_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 powl(0, 0);
67866 return 0;
67868 _ACEOF
67869 if ac_fn_cxx_try_compile "$LINENO"; then :
67870 glibcxx_cv_func_powl_use=yes
67871 else
67872 glibcxx_cv_func_powl_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
67885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
67886 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
67888 if test x$glibcxx_cv_func_powl_use = x"yes"; then
67889 for ac_func in powl
67890 do :
67891 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
67892 if test "x$ac_cv_func_powl" = xyes; then :
67893 cat >>confdefs.h <<_ACEOF
67894 #define HAVE_POWL 1
67895 _ACEOF
67898 done
67900 else
67902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
67903 $as_echo_n "checking for _powl declaration... " >&6; }
67904 if test x${glibcxx_cv_func__powl_use+set} != xset; then
67905 if ${glibcxx_cv_func__powl_use+:} false; then :
67906 $as_echo_n "(cached) " >&6
67907 else
67910 ac_ext=cpp
67911 ac_cpp='$CXXCPP $CPPFLAGS'
67912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67917 /* end confdefs.h. */
67918 #include <math.h>
67920 main ()
67922 _powl(0, 0);
67924 return 0;
67926 _ACEOF
67927 if ac_fn_cxx_try_compile "$LINENO"; then :
67928 glibcxx_cv_func__powl_use=yes
67929 else
67930 glibcxx_cv_func__powl_use=no
67932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67933 ac_ext=c
67934 ac_cpp='$CPP $CPPFLAGS'
67935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
67944 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
67946 if test x$glibcxx_cv_func__powl_use = x"yes"; then
67947 for ac_func in _powl
67948 do :
67949 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
67950 if test "x$ac_cv_func__powl" = xyes; then :
67951 cat >>confdefs.h <<_ACEOF
67952 #define HAVE__POWL 1
67953 _ACEOF
67956 done
67965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
67966 $as_echo_n "checking for sqrtl declaration... " >&6; }
67967 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
67968 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
67969 $as_echo_n "(cached) " >&6
67970 else
67973 ac_ext=cpp
67974 ac_cpp='$CXXCPP $CPPFLAGS'
67975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67980 /* end confdefs.h. */
67981 #include <math.h>
67982 #ifdef HAVE_IEEEFP_H
67983 #include <ieeefp.h>
67984 #endif
67987 main ()
67989 sqrtl(0);
67991 return 0;
67993 _ACEOF
67994 if ac_fn_cxx_try_compile "$LINENO"; then :
67995 glibcxx_cv_func_sqrtl_use=yes
67996 else
67997 glibcxx_cv_func_sqrtl_use=no
67999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68000 ac_ext=c
68001 ac_cpp='$CPP $CPPFLAGS'
68002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
68011 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
68013 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
68014 for ac_func in sqrtl
68015 do :
68016 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
68017 if test "x$ac_cv_func_sqrtl" = xyes; then :
68018 cat >>confdefs.h <<_ACEOF
68019 #define HAVE_SQRTL 1
68020 _ACEOF
68023 done
68025 else
68027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
68028 $as_echo_n "checking for _sqrtl declaration... " >&6; }
68029 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
68030 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
68031 $as_echo_n "(cached) " >&6
68032 else
68035 ac_ext=cpp
68036 ac_cpp='$CXXCPP $CPPFLAGS'
68037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68042 /* end confdefs.h. */
68043 #include <math.h>
68044 #ifdef HAVE_IEEEFP_H
68045 #include <ieeefp.h>
68046 #endif
68049 main ()
68051 _sqrtl(0);
68053 return 0;
68055 _ACEOF
68056 if ac_fn_cxx_try_compile "$LINENO"; then :
68057 glibcxx_cv_func__sqrtl_use=yes
68058 else
68059 glibcxx_cv_func__sqrtl_use=no
68061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68062 ac_ext=c
68063 ac_cpp='$CPP $CPPFLAGS'
68064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
68073 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
68075 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
68076 for ac_func in _sqrtl
68077 do :
68078 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
68079 if test "x$ac_cv_func__sqrtl" = xyes; then :
68080 cat >>confdefs.h <<_ACEOF
68081 #define HAVE__SQRTL 1
68082 _ACEOF
68085 done
68094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
68095 $as_echo_n "checking for sincosl declaration... " >&6; }
68096 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
68097 if ${glibcxx_cv_func_sincosl_use+:} false; then :
68098 $as_echo_n "(cached) " >&6
68099 else
68102 ac_ext=cpp
68103 ac_cpp='$CXXCPP $CPPFLAGS'
68104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68109 /* end confdefs.h. */
68110 #include <math.h>
68112 main ()
68114 sincosl(0, 0, 0);
68116 return 0;
68118 _ACEOF
68119 if ac_fn_cxx_try_compile "$LINENO"; then :
68120 glibcxx_cv_func_sincosl_use=yes
68121 else
68122 glibcxx_cv_func_sincosl_use=no
68124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68125 ac_ext=c
68126 ac_cpp='$CPP $CPPFLAGS'
68127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
68136 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
68138 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
68139 for ac_func in sincosl
68140 do :
68141 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
68142 if test "x$ac_cv_func_sincosl" = xyes; then :
68143 cat >>confdefs.h <<_ACEOF
68144 #define HAVE_SINCOSL 1
68145 _ACEOF
68148 done
68150 else
68152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
68153 $as_echo_n "checking for _sincosl declaration... " >&6; }
68154 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
68155 if ${glibcxx_cv_func__sincosl_use+:} false; then :
68156 $as_echo_n "(cached) " >&6
68157 else
68160 ac_ext=cpp
68161 ac_cpp='$CXXCPP $CPPFLAGS'
68162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68167 /* end confdefs.h. */
68168 #include <math.h>
68170 main ()
68172 _sincosl(0, 0, 0);
68174 return 0;
68176 _ACEOF
68177 if ac_fn_cxx_try_compile "$LINENO"; then :
68178 glibcxx_cv_func__sincosl_use=yes
68179 else
68180 glibcxx_cv_func__sincosl_use=no
68182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68183 ac_ext=c
68184 ac_cpp='$CPP $CPPFLAGS'
68185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
68194 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
68196 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
68197 for ac_func in _sincosl
68198 do :
68199 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
68200 if test "x$ac_cv_func__sincosl" = xyes; then :
68201 cat >>confdefs.h <<_ACEOF
68202 #define HAVE__SINCOSL 1
68203 _ACEOF
68206 done
68215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
68216 $as_echo_n "checking for finitel declaration... " >&6; }
68217 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
68218 if ${glibcxx_cv_func_finitel_use+:} false; then :
68219 $as_echo_n "(cached) " >&6
68220 else
68223 ac_ext=cpp
68224 ac_cpp='$CXXCPP $CPPFLAGS'
68225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68230 /* end confdefs.h. */
68231 #include <math.h>
68232 #ifdef HAVE_IEEEFP_H
68233 #include <ieeefp.h>
68234 #endif
68237 main ()
68239 finitel(0);
68241 return 0;
68243 _ACEOF
68244 if ac_fn_cxx_try_compile "$LINENO"; then :
68245 glibcxx_cv_func_finitel_use=yes
68246 else
68247 glibcxx_cv_func_finitel_use=no
68249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68250 ac_ext=c
68251 ac_cpp='$CPP $CPPFLAGS'
68252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
68261 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
68263 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
68264 for ac_func in finitel
68265 do :
68266 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
68267 if test "x$ac_cv_func_finitel" = xyes; then :
68268 cat >>confdefs.h <<_ACEOF
68269 #define HAVE_FINITEL 1
68270 _ACEOF
68273 done
68275 else
68277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
68278 $as_echo_n "checking for _finitel declaration... " >&6; }
68279 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
68280 if ${glibcxx_cv_func__finitel_use+:} false; then :
68281 $as_echo_n "(cached) " >&6
68282 else
68285 ac_ext=cpp
68286 ac_cpp='$CXXCPP $CPPFLAGS'
68287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68292 /* end confdefs.h. */
68293 #include <math.h>
68294 #ifdef HAVE_IEEEFP_H
68295 #include <ieeefp.h>
68296 #endif
68299 main ()
68301 _finitel(0);
68303 return 0;
68305 _ACEOF
68306 if ac_fn_cxx_try_compile "$LINENO"; then :
68307 glibcxx_cv_func__finitel_use=yes
68308 else
68309 glibcxx_cv_func__finitel_use=no
68311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68312 ac_ext=c
68313 ac_cpp='$CPP $CPPFLAGS'
68314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
68323 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
68325 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
68326 for ac_func in _finitel
68327 do :
68328 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
68329 if test "x$ac_cv_func__finitel" = xyes; then :
68330 cat >>confdefs.h <<_ACEOF
68331 #define HAVE__FINITEL 1
68332 _ACEOF
68335 done
68343 LIBS="$ac_save_LIBS"
68344 CXXFLAGS="$ac_save_CXXFLAGS"
68347 ac_test_CXXFLAGS="${CXXFLAGS+set}"
68348 ac_save_CXXFLAGS="$CXXFLAGS"
68349 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
68352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
68353 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
68354 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
68355 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
68356 $as_echo_n "(cached) " >&6
68357 else
68360 ac_ext=cpp
68361 ac_cpp='$CXXCPP $CPPFLAGS'
68362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68367 /* end confdefs.h. */
68368 #include <stdlib.h>
68370 main ()
68372 at_quick_exit(0);
68374 return 0;
68376 _ACEOF
68377 if ac_fn_cxx_try_compile "$LINENO"; then :
68378 glibcxx_cv_func_at_quick_exit_use=yes
68379 else
68380 glibcxx_cv_func_at_quick_exit_use=no
68382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68383 ac_ext=c
68384 ac_cpp='$CPP $CPPFLAGS'
68385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
68394 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
68395 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
68396 for ac_func in at_quick_exit
68397 do :
68398 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
68399 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
68400 cat >>confdefs.h <<_ACEOF
68401 #define HAVE_AT_QUICK_EXIT 1
68402 _ACEOF
68405 done
68410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
68411 $as_echo_n "checking for quick_exit declaration... " >&6; }
68412 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
68413 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
68414 $as_echo_n "(cached) " >&6
68415 else
68418 ac_ext=cpp
68419 ac_cpp='$CXXCPP $CPPFLAGS'
68420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68425 /* end confdefs.h. */
68426 #include <stdlib.h>
68428 main ()
68430 quick_exit(0);
68432 return 0;
68434 _ACEOF
68435 if ac_fn_cxx_try_compile "$LINENO"; then :
68436 glibcxx_cv_func_quick_exit_use=yes
68437 else
68438 glibcxx_cv_func_quick_exit_use=no
68440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68441 ac_ext=c
68442 ac_cpp='$CPP $CPPFLAGS'
68443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
68452 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
68453 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
68454 for ac_func in quick_exit
68455 do :
68456 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
68457 if test "x$ac_cv_func_quick_exit" = xyes; then :
68458 cat >>confdefs.h <<_ACEOF
68459 #define HAVE_QUICK_EXIT 1
68460 _ACEOF
68463 done
68468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
68469 $as_echo_n "checking for strtold declaration... " >&6; }
68470 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
68471 if ${glibcxx_cv_func_strtold_use+:} false; then :
68472 $as_echo_n "(cached) " >&6
68473 else
68476 ac_ext=cpp
68477 ac_cpp='$CXXCPP $CPPFLAGS'
68478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68483 /* end confdefs.h. */
68484 #include <stdlib.h>
68486 main ()
68488 strtold(0, 0);
68490 return 0;
68492 _ACEOF
68493 if ac_fn_cxx_try_compile "$LINENO"; then :
68494 glibcxx_cv_func_strtold_use=yes
68495 else
68496 glibcxx_cv_func_strtold_use=no
68498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68499 ac_ext=c
68500 ac_cpp='$CPP $CPPFLAGS'
68501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
68510 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
68511 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
68512 for ac_func in strtold
68513 do :
68514 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
68515 if test "x$ac_cv_func_strtold" = xyes; then :
68516 cat >>confdefs.h <<_ACEOF
68517 #define HAVE_STRTOLD 1
68518 _ACEOF
68521 done
68528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
68529 $as_echo_n "checking for strtof declaration... " >&6; }
68530 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
68531 if ${glibcxx_cv_func_strtof_use+:} false; then :
68532 $as_echo_n "(cached) " >&6
68533 else
68536 ac_ext=cpp
68537 ac_cpp='$CXXCPP $CPPFLAGS'
68538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68543 /* end confdefs.h. */
68544 #include <stdlib.h>
68546 main ()
68548 strtof(0, 0);
68550 return 0;
68552 _ACEOF
68553 if ac_fn_cxx_try_compile "$LINENO"; then :
68554 glibcxx_cv_func_strtof_use=yes
68555 else
68556 glibcxx_cv_func_strtof_use=no
68558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68559 ac_ext=c
68560 ac_cpp='$CPP $CPPFLAGS'
68561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
68570 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
68571 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
68572 for ac_func in strtof
68573 do :
68574 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
68575 if test "x$ac_cv_func_strtof" = xyes; then :
68576 cat >>confdefs.h <<_ACEOF
68577 #define HAVE_STRTOF 1
68578 _ACEOF
68581 done
68588 CXXFLAGS="$ac_save_CXXFLAGS"
68591 *-vxworks*)
68592 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
68594 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
68596 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
68598 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
68600 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
68602 $as_echo "#define HAVE_COSF 1" >>confdefs.h
68604 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
68606 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
68608 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
68610 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
68612 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
68614 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
68616 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
68618 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
68620 $as_echo "#define HAVE_POWF 1" >>confdefs.h
68622 $as_echo "#define HAVE_SINF 1" >>confdefs.h
68624 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
68626 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
68628 $as_echo "#define HAVE_TANF 1" >>confdefs.h
68630 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
68636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl declaration" >&5
68637 $as_echo_n "checking for acosl declaration... " >&6; }
68638 if ${glibcxx_cv_func_acosl_use+:} false; then :
68639 $as_echo_n "(cached) " >&6
68640 else
68643 ac_ext=c
68644 ac_cpp='$CPP $CPPFLAGS'
68645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68650 /* end confdefs.h. */
68652 #include <math.h>
68653 #ifdef HAVE_IEEEFP_H
68654 # include <ieeefp.h>
68655 #endif
68656 #undef acosl
68659 main ()
68662 void (*f)(void) = (void (*)(void))acosl;
68665 return 0;
68667 _ACEOF
68668 if ac_fn_c_try_compile "$LINENO"; then :
68669 glibcxx_cv_func_acosl_use=yes
68671 else
68672 glibcxx_cv_func_acosl_use=no
68674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_acosl_use" >&5
68677 $as_echo "$glibcxx_cv_func_acosl_use" >&6; }
68678 if test "x$glibcxx_cv_func_acosl_use" = xyes; then
68679 cat >>confdefs.h <<_ACEOF
68680 #define HAVE_ACOSL 1
68681 _ACEOF
68687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl declaration" >&5
68688 $as_echo_n "checking for asinl declaration... " >&6; }
68689 if ${glibcxx_cv_func_asinl_use+:} false; then :
68690 $as_echo_n "(cached) " >&6
68691 else
68694 ac_ext=c
68695 ac_cpp='$CPP $CPPFLAGS'
68696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68701 /* end confdefs.h. */
68703 #include <math.h>
68704 #ifdef HAVE_IEEEFP_H
68705 # include <ieeefp.h>
68706 #endif
68707 #undef asinl
68710 main ()
68713 void (*f)(void) = (void (*)(void))asinl;
68716 return 0;
68718 _ACEOF
68719 if ac_fn_c_try_compile "$LINENO"; then :
68720 glibcxx_cv_func_asinl_use=yes
68722 else
68723 glibcxx_cv_func_asinl_use=no
68725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_asinl_use" >&5
68728 $as_echo "$glibcxx_cv_func_asinl_use" >&6; }
68729 if test "x$glibcxx_cv_func_asinl_use" = xyes; then
68730 cat >>confdefs.h <<_ACEOF
68731 #define HAVE_ASINL 1
68732 _ACEOF
68738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
68739 $as_echo_n "checking for atan2l declaration... " >&6; }
68740 if ${glibcxx_cv_func_atan2l_use+:} false; then :
68741 $as_echo_n "(cached) " >&6
68742 else
68745 ac_ext=c
68746 ac_cpp='$CPP $CPPFLAGS'
68747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68752 /* end confdefs.h. */
68754 #include <math.h>
68755 #ifdef HAVE_IEEEFP_H
68756 # include <ieeefp.h>
68757 #endif
68758 #undef atan2l
68761 main ()
68764 void (*f)(void) = (void (*)(void))atan2l;
68767 return 0;
68769 _ACEOF
68770 if ac_fn_c_try_compile "$LINENO"; then :
68771 glibcxx_cv_func_atan2l_use=yes
68773 else
68774 glibcxx_cv_func_atan2l_use=no
68776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
68779 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
68780 if test "x$glibcxx_cv_func_atan2l_use" = xyes; then
68781 cat >>confdefs.h <<_ACEOF
68782 #define HAVE_ATAN2L 1
68783 _ACEOF
68789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl declaration" >&5
68790 $as_echo_n "checking for atanl declaration... " >&6; }
68791 if ${glibcxx_cv_func_atanl_use+:} false; then :
68792 $as_echo_n "(cached) " >&6
68793 else
68796 ac_ext=c
68797 ac_cpp='$CPP $CPPFLAGS'
68798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68803 /* end confdefs.h. */
68805 #include <math.h>
68806 #ifdef HAVE_IEEEFP_H
68807 # include <ieeefp.h>
68808 #endif
68809 #undef atanl
68812 main ()
68815 void (*f)(void) = (void (*)(void))atanl;
68818 return 0;
68820 _ACEOF
68821 if ac_fn_c_try_compile "$LINENO"; then :
68822 glibcxx_cv_func_atanl_use=yes
68824 else
68825 glibcxx_cv_func_atanl_use=no
68827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atanl_use" >&5
68830 $as_echo "$glibcxx_cv_func_atanl_use" >&6; }
68831 if test "x$glibcxx_cv_func_atanl_use" = xyes; then
68832 cat >>confdefs.h <<_ACEOF
68833 #define HAVE_ATANL 1
68834 _ACEOF
68840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill declaration" >&5
68841 $as_echo_n "checking for ceill declaration... " >&6; }
68842 if ${glibcxx_cv_func_ceill_use+:} false; then :
68843 $as_echo_n "(cached) " >&6
68844 else
68847 ac_ext=c
68848 ac_cpp='$CPP $CPPFLAGS'
68849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68854 /* end confdefs.h. */
68856 #include <math.h>
68857 #ifdef HAVE_IEEEFP_H
68858 # include <ieeefp.h>
68859 #endif
68860 #undef ceill
68863 main ()
68866 void (*f)(void) = (void (*)(void))ceill;
68869 return 0;
68871 _ACEOF
68872 if ac_fn_c_try_compile "$LINENO"; then :
68873 glibcxx_cv_func_ceill_use=yes
68875 else
68876 glibcxx_cv_func_ceill_use=no
68878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ceill_use" >&5
68881 $as_echo "$glibcxx_cv_func_ceill_use" >&6; }
68882 if test "x$glibcxx_cv_func_ceill_use" = xyes; then
68883 cat >>confdefs.h <<_ACEOF
68884 #define HAVE_CEILL 1
68885 _ACEOF
68891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl declaration" >&5
68892 $as_echo_n "checking for cosl declaration... " >&6; }
68893 if ${glibcxx_cv_func_cosl_use+:} false; then :
68894 $as_echo_n "(cached) " >&6
68895 else
68898 ac_ext=c
68899 ac_cpp='$CPP $CPPFLAGS'
68900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68905 /* end confdefs.h. */
68907 #include <math.h>
68908 #ifdef HAVE_IEEEFP_H
68909 # include <ieeefp.h>
68910 #endif
68911 #undef cosl
68914 main ()
68917 void (*f)(void) = (void (*)(void))cosl;
68920 return 0;
68922 _ACEOF
68923 if ac_fn_c_try_compile "$LINENO"; then :
68924 glibcxx_cv_func_cosl_use=yes
68926 else
68927 glibcxx_cv_func_cosl_use=no
68929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_cosl_use" >&5
68932 $as_echo "$glibcxx_cv_func_cosl_use" >&6; }
68933 if test "x$glibcxx_cv_func_cosl_use" = xyes; then
68934 cat >>confdefs.h <<_ACEOF
68935 #define HAVE_COSL 1
68936 _ACEOF
68942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl declaration" >&5
68943 $as_echo_n "checking for coshl declaration... " >&6; }
68944 if ${glibcxx_cv_func_coshl_use+:} false; then :
68945 $as_echo_n "(cached) " >&6
68946 else
68949 ac_ext=c
68950 ac_cpp='$CPP $CPPFLAGS'
68951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68956 /* end confdefs.h. */
68958 #include <math.h>
68959 #ifdef HAVE_IEEEFP_H
68960 # include <ieeefp.h>
68961 #endif
68962 #undef coshl
68965 main ()
68968 void (*f)(void) = (void (*)(void))coshl;
68971 return 0;
68973 _ACEOF
68974 if ac_fn_c_try_compile "$LINENO"; then :
68975 glibcxx_cv_func_coshl_use=yes
68977 else
68978 glibcxx_cv_func_coshl_use=no
68980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_coshl_use" >&5
68983 $as_echo "$glibcxx_cv_func_coshl_use" >&6; }
68984 if test "x$glibcxx_cv_func_coshl_use" = xyes; then
68985 cat >>confdefs.h <<_ACEOF
68986 #define HAVE_COSHL 1
68987 _ACEOF
68993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
68994 $as_echo_n "checking for expl declaration... " >&6; }
68995 if ${glibcxx_cv_func_expl_use+:} false; then :
68996 $as_echo_n "(cached) " >&6
68997 else
69000 ac_ext=c
69001 ac_cpp='$CPP $CPPFLAGS'
69002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69007 /* end confdefs.h. */
69009 #include <math.h>
69010 #ifdef HAVE_IEEEFP_H
69011 # include <ieeefp.h>
69012 #endif
69013 #undef expl
69016 main ()
69019 void (*f)(void) = (void (*)(void))expl;
69022 return 0;
69024 _ACEOF
69025 if ac_fn_c_try_compile "$LINENO"; then :
69026 glibcxx_cv_func_expl_use=yes
69028 else
69029 glibcxx_cv_func_expl_use=no
69031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
69034 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
69035 if test "x$glibcxx_cv_func_expl_use" = xyes; then
69036 cat >>confdefs.h <<_ACEOF
69037 #define HAVE_EXPL 1
69038 _ACEOF
69044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
69045 $as_echo_n "checking for fabsl declaration... " >&6; }
69046 if ${glibcxx_cv_func_fabsl_use+:} false; then :
69047 $as_echo_n "(cached) " >&6
69048 else
69051 ac_ext=c
69052 ac_cpp='$CPP $CPPFLAGS'
69053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69058 /* end confdefs.h. */
69060 #include <math.h>
69061 #ifdef HAVE_IEEEFP_H
69062 # include <ieeefp.h>
69063 #endif
69064 #undef fabsl
69067 main ()
69070 void (*f)(void) = (void (*)(void))fabsl;
69073 return 0;
69075 _ACEOF
69076 if ac_fn_c_try_compile "$LINENO"; then :
69077 glibcxx_cv_func_fabsl_use=yes
69079 else
69080 glibcxx_cv_func_fabsl_use=no
69082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
69085 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
69086 if test "x$glibcxx_cv_func_fabsl_use" = xyes; then
69087 cat >>confdefs.h <<_ACEOF
69088 #define HAVE_FABSL 1
69089 _ACEOF
69095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl declaration" >&5
69096 $as_echo_n "checking for floorl declaration... " >&6; }
69097 if ${glibcxx_cv_func_floorl_use+:} false; then :
69098 $as_echo_n "(cached) " >&6
69099 else
69102 ac_ext=c
69103 ac_cpp='$CPP $CPPFLAGS'
69104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69109 /* end confdefs.h. */
69111 #include <math.h>
69112 #ifdef HAVE_IEEEFP_H
69113 # include <ieeefp.h>
69114 #endif
69115 #undef floorl
69118 main ()
69121 void (*f)(void) = (void (*)(void))floorl;
69124 return 0;
69126 _ACEOF
69127 if ac_fn_c_try_compile "$LINENO"; then :
69128 glibcxx_cv_func_floorl_use=yes
69130 else
69131 glibcxx_cv_func_floorl_use=no
69133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_floorl_use" >&5
69136 $as_echo "$glibcxx_cv_func_floorl_use" >&6; }
69137 if test "x$glibcxx_cv_func_floorl_use" = xyes; then
69138 cat >>confdefs.h <<_ACEOF
69139 #define HAVE_FLOORL 1
69140 _ACEOF
69146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
69147 $as_echo_n "checking for fmodl declaration... " >&6; }
69148 if ${glibcxx_cv_func_fmodl_use+:} false; then :
69149 $as_echo_n "(cached) " >&6
69150 else
69153 ac_ext=c
69154 ac_cpp='$CPP $CPPFLAGS'
69155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69160 /* end confdefs.h. */
69162 #include <math.h>
69163 #ifdef HAVE_IEEEFP_H
69164 # include <ieeefp.h>
69165 #endif
69166 #undef fmodl
69169 main ()
69172 void (*f)(void) = (void (*)(void))fmodl;
69175 return 0;
69177 _ACEOF
69178 if ac_fn_c_try_compile "$LINENO"; then :
69179 glibcxx_cv_func_fmodl_use=yes
69181 else
69182 glibcxx_cv_func_fmodl_use=no
69184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
69187 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
69188 if test "x$glibcxx_cv_func_fmodl_use" = xyes; then
69189 cat >>confdefs.h <<_ACEOF
69190 #define HAVE_FMODL 1
69191 _ACEOF
69197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
69198 $as_echo_n "checking for frexpl declaration... " >&6; }
69199 if ${glibcxx_cv_func_frexpl_use+:} false; then :
69200 $as_echo_n "(cached) " >&6
69201 else
69204 ac_ext=c
69205 ac_cpp='$CPP $CPPFLAGS'
69206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69211 /* end confdefs.h. */
69213 #include <math.h>
69214 #ifdef HAVE_IEEEFP_H
69215 # include <ieeefp.h>
69216 #endif
69217 #undef frexpl
69220 main ()
69223 void (*f)(void) = (void (*)(void))frexpl;
69226 return 0;
69228 _ACEOF
69229 if ac_fn_c_try_compile "$LINENO"; then :
69230 glibcxx_cv_func_frexpl_use=yes
69232 else
69233 glibcxx_cv_func_frexpl_use=no
69235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
69238 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
69239 if test "x$glibcxx_cv_func_frexpl_use" = xyes; then
69240 cat >>confdefs.h <<_ACEOF
69241 #define HAVE_FREXPL 1
69242 _ACEOF
69248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
69249 $as_echo_n "checking for ldexpl declaration... " >&6; }
69250 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
69251 $as_echo_n "(cached) " >&6
69252 else
69255 ac_ext=c
69256 ac_cpp='$CPP $CPPFLAGS'
69257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69262 /* end confdefs.h. */
69264 #include <math.h>
69265 #ifdef HAVE_IEEEFP_H
69266 # include <ieeefp.h>
69267 #endif
69268 #undef ldexpl
69271 main ()
69274 void (*f)(void) = (void (*)(void))ldexpl;
69277 return 0;
69279 _ACEOF
69280 if ac_fn_c_try_compile "$LINENO"; then :
69281 glibcxx_cv_func_ldexpl_use=yes
69283 else
69284 glibcxx_cv_func_ldexpl_use=no
69286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
69289 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
69290 if test "x$glibcxx_cv_func_ldexpl_use" = xyes; then
69291 cat >>confdefs.h <<_ACEOF
69292 #define HAVE_LDEXPL 1
69293 _ACEOF
69299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
69300 $as_echo_n "checking for log10l declaration... " >&6; }
69301 if ${glibcxx_cv_func_log10l_use+:} false; then :
69302 $as_echo_n "(cached) " >&6
69303 else
69306 ac_ext=c
69307 ac_cpp='$CPP $CPPFLAGS'
69308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69313 /* end confdefs.h. */
69315 #include <math.h>
69316 #ifdef HAVE_IEEEFP_H
69317 # include <ieeefp.h>
69318 #endif
69319 #undef log10l
69322 main ()
69325 void (*f)(void) = (void (*)(void))log10l;
69328 return 0;
69330 _ACEOF
69331 if ac_fn_c_try_compile "$LINENO"; then :
69332 glibcxx_cv_func_log10l_use=yes
69334 else
69335 glibcxx_cv_func_log10l_use=no
69337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
69340 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
69341 if test "x$glibcxx_cv_func_log10l_use" = xyes; then
69342 cat >>confdefs.h <<_ACEOF
69343 #define HAVE_LOG10L 1
69344 _ACEOF
69350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
69351 $as_echo_n "checking for logl declaration... " >&6; }
69352 if ${glibcxx_cv_func_logl_use+:} false; then :
69353 $as_echo_n "(cached) " >&6
69354 else
69357 ac_ext=c
69358 ac_cpp='$CPP $CPPFLAGS'
69359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69364 /* end confdefs.h. */
69366 #include <math.h>
69367 #ifdef HAVE_IEEEFP_H
69368 # include <ieeefp.h>
69369 #endif
69370 #undef logl
69373 main ()
69376 void (*f)(void) = (void (*)(void))logl;
69379 return 0;
69381 _ACEOF
69382 if ac_fn_c_try_compile "$LINENO"; then :
69383 glibcxx_cv_func_logl_use=yes
69385 else
69386 glibcxx_cv_func_logl_use=no
69388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
69391 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
69392 if test "x$glibcxx_cv_func_logl_use" = xyes; then
69393 cat >>confdefs.h <<_ACEOF
69394 #define HAVE_LOGL 1
69395 _ACEOF
69401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
69402 $as_echo_n "checking for modfl declaration... " >&6; }
69403 if ${glibcxx_cv_func_modfl_use+:} false; then :
69404 $as_echo_n "(cached) " >&6
69405 else
69408 ac_ext=c
69409 ac_cpp='$CPP $CPPFLAGS'
69410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69415 /* end confdefs.h. */
69417 #include <math.h>
69418 #ifdef HAVE_IEEEFP_H
69419 # include <ieeefp.h>
69420 #endif
69421 #undef modfl
69424 main ()
69427 void (*f)(void) = (void (*)(void))modfl;
69430 return 0;
69432 _ACEOF
69433 if ac_fn_c_try_compile "$LINENO"; then :
69434 glibcxx_cv_func_modfl_use=yes
69436 else
69437 glibcxx_cv_func_modfl_use=no
69439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
69442 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
69443 if test "x$glibcxx_cv_func_modfl_use" = xyes; then
69444 cat >>confdefs.h <<_ACEOF
69445 #define HAVE_MODFL 1
69446 _ACEOF
69452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
69453 $as_echo_n "checking for powl declaration... " >&6; }
69454 if ${glibcxx_cv_func_powl_use+:} false; then :
69455 $as_echo_n "(cached) " >&6
69456 else
69459 ac_ext=c
69460 ac_cpp='$CPP $CPPFLAGS'
69461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69466 /* end confdefs.h. */
69468 #include <math.h>
69469 #ifdef HAVE_IEEEFP_H
69470 # include <ieeefp.h>
69471 #endif
69472 #undef powl
69475 main ()
69478 void (*f)(void) = (void (*)(void))powl;
69481 return 0;
69483 _ACEOF
69484 if ac_fn_c_try_compile "$LINENO"; then :
69485 glibcxx_cv_func_powl_use=yes
69487 else
69488 glibcxx_cv_func_powl_use=no
69490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
69493 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
69494 if test "x$glibcxx_cv_func_powl_use" = xyes; then
69495 cat >>confdefs.h <<_ACEOF
69496 #define HAVE_POWL 1
69497 _ACEOF
69503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl declaration" >&5
69504 $as_echo_n "checking for sinl declaration... " >&6; }
69505 if ${glibcxx_cv_func_sinl_use+:} false; then :
69506 $as_echo_n "(cached) " >&6
69507 else
69510 ac_ext=c
69511 ac_cpp='$CPP $CPPFLAGS'
69512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69517 /* end confdefs.h. */
69519 #include <math.h>
69520 #ifdef HAVE_IEEEFP_H
69521 # include <ieeefp.h>
69522 #endif
69523 #undef sinl
69526 main ()
69529 void (*f)(void) = (void (*)(void))sinl;
69532 return 0;
69534 _ACEOF
69535 if ac_fn_c_try_compile "$LINENO"; then :
69536 glibcxx_cv_func_sinl_use=yes
69538 else
69539 glibcxx_cv_func_sinl_use=no
69541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinl_use" >&5
69544 $as_echo "$glibcxx_cv_func_sinl_use" >&6; }
69545 if test "x$glibcxx_cv_func_sinl_use" = xyes; then
69546 cat >>confdefs.h <<_ACEOF
69547 #define HAVE_SINL 1
69548 _ACEOF
69554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl declaration" >&5
69555 $as_echo_n "checking for sinhl declaration... " >&6; }
69556 if ${glibcxx_cv_func_sinhl_use+:} false; then :
69557 $as_echo_n "(cached) " >&6
69558 else
69561 ac_ext=c
69562 ac_cpp='$CPP $CPPFLAGS'
69563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69568 /* end confdefs.h. */
69570 #include <math.h>
69571 #ifdef HAVE_IEEEFP_H
69572 # include <ieeefp.h>
69573 #endif
69574 #undef sinhl
69577 main ()
69580 void (*f)(void) = (void (*)(void))sinhl;
69583 return 0;
69585 _ACEOF
69586 if ac_fn_c_try_compile "$LINENO"; then :
69587 glibcxx_cv_func_sinhl_use=yes
69589 else
69590 glibcxx_cv_func_sinhl_use=no
69592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinhl_use" >&5
69595 $as_echo "$glibcxx_cv_func_sinhl_use" >&6; }
69596 if test "x$glibcxx_cv_func_sinhl_use" = xyes; then
69597 cat >>confdefs.h <<_ACEOF
69598 #define HAVE_SINHL 1
69599 _ACEOF
69605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
69606 $as_echo_n "checking for sqrtl declaration... " >&6; }
69607 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
69608 $as_echo_n "(cached) " >&6
69609 else
69612 ac_ext=c
69613 ac_cpp='$CPP $CPPFLAGS'
69614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69619 /* end confdefs.h. */
69621 #include <math.h>
69622 #ifdef HAVE_IEEEFP_H
69623 # include <ieeefp.h>
69624 #endif
69625 #undef sqrtl
69628 main ()
69631 void (*f)(void) = (void (*)(void))sqrtl;
69634 return 0;
69636 _ACEOF
69637 if ac_fn_c_try_compile "$LINENO"; then :
69638 glibcxx_cv_func_sqrtl_use=yes
69640 else
69641 glibcxx_cv_func_sqrtl_use=no
69643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
69646 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
69647 if test "x$glibcxx_cv_func_sqrtl_use" = xyes; then
69648 cat >>confdefs.h <<_ACEOF
69649 #define HAVE_SQRTL 1
69650 _ACEOF
69656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl declaration" >&5
69657 $as_echo_n "checking for tanl declaration... " >&6; }
69658 if ${glibcxx_cv_func_tanl_use+:} false; then :
69659 $as_echo_n "(cached) " >&6
69660 else
69663 ac_ext=c
69664 ac_cpp='$CPP $CPPFLAGS'
69665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69670 /* end confdefs.h. */
69672 #include <math.h>
69673 #ifdef HAVE_IEEEFP_H
69674 # include <ieeefp.h>
69675 #endif
69676 #undef tanl
69679 main ()
69682 void (*f)(void) = (void (*)(void))tanl;
69685 return 0;
69687 _ACEOF
69688 if ac_fn_c_try_compile "$LINENO"; then :
69689 glibcxx_cv_func_tanl_use=yes
69691 else
69692 glibcxx_cv_func_tanl_use=no
69694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanl_use" >&5
69697 $as_echo "$glibcxx_cv_func_tanl_use" >&6; }
69698 if test "x$glibcxx_cv_func_tanl_use" = xyes; then
69699 cat >>confdefs.h <<_ACEOF
69700 #define HAVE_TANL 1
69701 _ACEOF
69707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl declaration" >&5
69708 $as_echo_n "checking for tanhl declaration... " >&6; }
69709 if ${glibcxx_cv_func_tanhl_use+:} false; then :
69710 $as_echo_n "(cached) " >&6
69711 else
69714 ac_ext=c
69715 ac_cpp='$CPP $CPPFLAGS'
69716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69721 /* end confdefs.h. */
69723 #include <math.h>
69724 #ifdef HAVE_IEEEFP_H
69725 # include <ieeefp.h>
69726 #endif
69727 #undef tanhl
69730 main ()
69733 void (*f)(void) = (void (*)(void))tanhl;
69736 return 0;
69738 _ACEOF
69739 if ac_fn_c_try_compile "$LINENO"; then :
69740 glibcxx_cv_func_tanhl_use=yes
69742 else
69743 glibcxx_cv_func_tanhl_use=no
69745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanhl_use" >&5
69748 $as_echo "$glibcxx_cv_func_tanhl_use" >&6; }
69749 if test "x$glibcxx_cv_func_tanhl_use" = xyes; then
69750 cat >>confdefs.h <<_ACEOF
69751 #define HAVE_TANHL 1
69752 _ACEOF
69758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
69759 $as_echo_n "checking for hypotl declaration... " >&6; }
69760 if ${glibcxx_cv_func_hypotl_use+:} false; then :
69761 $as_echo_n "(cached) " >&6
69762 else
69765 ac_ext=c
69766 ac_cpp='$CPP $CPPFLAGS'
69767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69772 /* end confdefs.h. */
69774 #include <math.h>
69775 #ifdef HAVE_IEEEFP_H
69776 # include <ieeefp.h>
69777 #endif
69778 #undef hypotl
69781 main ()
69784 void (*f)(void) = (void (*)(void))hypotl;
69787 return 0;
69789 _ACEOF
69790 if ac_fn_c_try_compile "$LINENO"; then :
69791 glibcxx_cv_func_hypotl_use=yes
69793 else
69794 glibcxx_cv_func_hypotl_use=no
69796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
69799 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
69800 if test "x$glibcxx_cv_func_hypotl_use" = xyes; then
69801 cat >>confdefs.h <<_ACEOF
69802 #define HAVE_HYPOTL 1
69803 _ACEOF
69809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
69810 $as_echo_n "checking for ldexpf declaration... " >&6; }
69811 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
69812 $as_echo_n "(cached) " >&6
69813 else
69816 ac_ext=c
69817 ac_cpp='$CPP $CPPFLAGS'
69818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69823 /* end confdefs.h. */
69825 #include <math.h>
69826 #ifdef HAVE_IEEEFP_H
69827 # include <ieeefp.h>
69828 #endif
69829 #undef ldexpf
69832 main ()
69835 void (*f)(void) = (void (*)(void))ldexpf;
69838 return 0;
69840 _ACEOF
69841 if ac_fn_c_try_compile "$LINENO"; then :
69842 glibcxx_cv_func_ldexpf_use=yes
69844 else
69845 glibcxx_cv_func_ldexpf_use=no
69847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
69850 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
69851 if test "x$glibcxx_cv_func_ldexpf_use" = xyes; then
69852 cat >>confdefs.h <<_ACEOF
69853 #define HAVE_LDEXPF 1
69854 _ACEOF
69860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69861 $as_echo_n "checking for modff declaration... " >&6; }
69862 if ${glibcxx_cv_func_modff_use+:} false; then :
69863 $as_echo_n "(cached) " >&6
69864 else
69867 ac_ext=c
69868 ac_cpp='$CPP $CPPFLAGS'
69869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69874 /* end confdefs.h. */
69876 #include <math.h>
69877 #ifdef HAVE_IEEEFP_H
69878 # include <ieeefp.h>
69879 #endif
69880 #undef modff
69883 main ()
69886 void (*f)(void) = (void (*)(void))modff;
69889 return 0;
69891 _ACEOF
69892 if ac_fn_c_try_compile "$LINENO"; then :
69893 glibcxx_cv_func_modff_use=yes
69895 else
69896 glibcxx_cv_func_modff_use=no
69898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69901 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
69902 if test "x$glibcxx_cv_func_modff_use" = xyes; then
69903 cat >>confdefs.h <<_ACEOF
69904 #define HAVE_MODFF 1
69905 _ACEOF
69911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
69912 $as_echo_n "checking for hypotf declaration... " >&6; }
69913 if ${glibcxx_cv_func_hypotf_use+:} false; then :
69914 $as_echo_n "(cached) " >&6
69915 else
69918 ac_ext=c
69919 ac_cpp='$CPP $CPPFLAGS'
69920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69925 /* end confdefs.h. */
69927 #include <math.h>
69928 #ifdef HAVE_IEEEFP_H
69929 # include <ieeefp.h>
69930 #endif
69931 #undef hypotf
69934 main ()
69937 void (*f)(void) = (void (*)(void))hypotf;
69940 return 0;
69942 _ACEOF
69943 if ac_fn_c_try_compile "$LINENO"; then :
69944 glibcxx_cv_func_hypotf_use=yes
69946 else
69947 glibcxx_cv_func_hypotf_use=no
69949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
69952 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
69953 if test "x$glibcxx_cv_func_hypotf_use" = xyes; then
69954 cat >>confdefs.h <<_ACEOF
69955 #define HAVE_HYPOTF 1
69956 _ACEOF
69962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
69963 $as_echo_n "checking for frexpf declaration... " >&6; }
69964 if ${glibcxx_cv_func_frexpf_use+:} false; then :
69965 $as_echo_n "(cached) " >&6
69966 else
69969 ac_ext=c
69970 ac_cpp='$CPP $CPPFLAGS'
69971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69976 /* end confdefs.h. */
69978 #include <math.h>
69979 #ifdef HAVE_IEEEFP_H
69980 # include <ieeefp.h>
69981 #endif
69982 #undef frexpf
69985 main ()
69988 void (*f)(void) = (void (*)(void))frexpf;
69991 return 0;
69993 _ACEOF
69994 if ac_fn_c_try_compile "$LINENO"; then :
69995 glibcxx_cv_func_frexpf_use=yes
69997 else
69998 glibcxx_cv_func_frexpf_use=no
70000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
70003 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
70004 if test "x$glibcxx_cv_func_frexpf_use" = xyes; then
70005 cat >>confdefs.h <<_ACEOF
70006 #define HAVE_FREXPF 1
70007 _ACEOF
70015 as_fn_error $? "No support for this host/target combination." "$LINENO" 5
70017 esac
70021 # At some point, we should differentiate between architectures
70022 # like x86, which have long double versions, and alpha/powerpc/etc.,
70023 # which don't. For the time being, punt.
70024 if test x"long_double_math_on_this_cpu" = x"yes"; then
70025 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
70027 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
70029 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
70031 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
70033 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
70035 $as_echo "#define HAVE_COSL 1" >>confdefs.h
70037 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
70039 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
70041 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
70043 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
70045 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
70047 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
70049 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
70051 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
70053 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
70055 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
70057 $as_echo "#define HAVE_POWL 1" >>confdefs.h
70059 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
70061 $as_echo "#define HAVE_SINL 1" >>confdefs.h
70063 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
70065 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
70067 $as_echo "#define HAVE_TANL 1" >>confdefs.h
70069 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
70074 # Check for _Unwind_GetIPInfo.
70077 # Check whether --with-system-libunwind was given.
70078 if test "${with_system_libunwind+set}" = set; then :
70079 withval=$with_system_libunwind;
70082 # If system-libunwind was not specifically set, pick a default setting.
70083 if test x$with_system_libunwind = x; then
70084 case ${target} in
70085 ia64-*-hpux*) with_system_libunwind=yes ;;
70086 *) with_system_libunwind=no ;;
70087 esac
70089 # Based on system-libunwind and target, do we have ipinfo?
70090 if test x$with_system_libunwind = xyes; then
70091 case ${target} in
70092 ia64-*-*) have_unwind_getipinfo=no ;;
70093 *) have_unwind_getipinfo=yes ;;
70094 esac
70095 else
70096 # Darwin before version 9 does not have _Unwind_GetIPInfo.
70098 case ${target} in
70099 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
70100 *) have_unwind_getipinfo=yes ;;
70101 esac
70105 if test x$have_unwind_getipinfo = xyes; then
70107 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
70112 # Check whether --enable-linux-futex was given.
70113 if test "${enable_linux_futex+set}" = set; then :
70114 enableval=$enable_linux_futex;
70115 case "$enableval" in
70116 yes|no|default) ;;
70117 *) as_fn_error $? "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
70118 esac
70120 else
70121 enable_linux_futex=default
70125 case "$target" in
70126 *-linux* | *-uclinux*)
70127 case "$enable_linux_futex" in
70128 default)
70129 # If headers don't have gettid/futex syscalls definition, then
70130 # default to no, otherwise there will be compile time failures.
70131 # Otherwise, default to yes. If we don't detect we are
70132 # compiled/linked against NPTL and not cross-compiling, check
70133 # if programs are run by default against NPTL and if not, issue
70134 # a warning.
70135 enable_linux_futex=no
70136 if test x$gcc_no_link = xyes; then
70137 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70140 /* end confdefs.h. */
70141 #include <sys/syscall.h>
70142 #include <unistd.h>
70143 int lk;
70145 main ()
70147 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
70149 return 0;
70151 _ACEOF
70152 if ac_fn_c_try_link "$LINENO"; then :
70153 save_LIBS="$LIBS"
70154 LIBS="-lpthread $LIBS"
70155 if test x$gcc_no_link = xyes; then
70156 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70159 /* end confdefs.h. */
70160 #ifndef _GNU_SOURCE
70161 #define _GNU_SOURCE 1
70162 #endif
70163 #include <pthread.h>
70164 pthread_t th; void *status;
70166 main ()
70168 pthread_tryjoin_np (th, &status);
70170 return 0;
70172 _ACEOF
70173 if ac_fn_c_try_link "$LINENO"; then :
70174 enable_linux_futex=yes
70175 else
70176 if test x$cross_compiling = xno; then
70177 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
70178 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
70179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
70180 If so, please configure with --disable-linux-futex" >&5
70181 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
70182 If so, please configure with --disable-linux-futex" >&2;}
70185 enable_linux_futex=yes
70187 rm -f core conftest.err conftest.$ac_objext \
70188 conftest$ac_exeext conftest.$ac_ext
70189 LIBS="$save_LIBS"
70191 rm -f core conftest.err conftest.$ac_objext \
70192 conftest$ac_exeext conftest.$ac_ext
70194 yes)
70195 if test x$gcc_no_link = xyes; then
70196 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70199 /* end confdefs.h. */
70200 #include <sys/syscall.h>
70201 #include <unistd.h>
70202 int lk;
70204 main ()
70206 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
70208 return 0;
70210 _ACEOF
70211 if ac_fn_c_try_link "$LINENO"; then :
70213 else
70214 as_fn_error $? "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
70216 rm -f core conftest.err conftest.$ac_objext \
70217 conftest$ac_exeext conftest.$ac_ext
70219 esac
70222 enable_linux_futex=no
70224 esac
70225 if test x$enable_linux_futex = xyes; then
70227 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
70233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
70234 $as_echo_n "checking for GNU c++filt... " >&6; }
70235 if ${ac_cv_path_CXXFILT+:} false; then :
70236 $as_echo_n "(cached) " >&6
70237 else
70238 if test -z "$CXXFILT"; then
70239 ac_path_CXXFILT_found=false
70240 # Loop through the user's path and test for each of PROGNAME-LIST
70241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
70242 for as_dir in $PATH
70244 IFS=$as_save_IFS
70245 test -z "$as_dir" && as_dir=.
70246 for ac_prog in c++filt gc++filt; do
70247 for ac_exec_ext in '' $ac_executable_extensions; do
70248 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
70249 as_fn_executable_p "$ac_path_CXXFILT" || continue
70250 # Check for GNU $ac_path_CXXFILT
70251 case `"$ac_path_CXXFILT" --version 2>&1` in
70252 *GNU*)
70253 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
70254 esac
70256 $ac_path_CXXFILT_found && break 3
70257 done
70258 done
70259 done
70260 IFS=$as_save_IFS
70261 if test -z "$ac_cv_path_CXXFILT"; then
70264 else
70265 ac_cv_path_CXXFILT=$CXXFILT
70269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
70270 $as_echo "$ac_cv_path_CXXFILT" >&6; }
70271 CXXFILT=$ac_cv_path_CXXFILT
70275 # Check whether --enable-symvers was given.
70276 if test "${enable_symvers+set}" = set; then :
70277 enableval=$enable_symvers;
70278 case "$enableval" in
70279 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
70280 *) as_fn_error $? "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
70281 esac
70283 else
70284 enable_symvers=yes
70289 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
70290 # don't know enough about $LD to do tricks...
70292 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
70293 # with extern "C++" in version scripts.
70296 # Turn a 'yes' into a suitable default.
70297 if test x$enable_symvers = xyes ; then
70298 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
70299 enable_symvers=no
70300 else
70301 if test $with_gnu_ld = yes ; then
70302 case ${target_os} in
70303 hpux*)
70304 enable_symvers=no ;;
70306 enable_symvers=gnu ;;
70307 esac
70308 else
70309 case ${target_os} in
70310 darwin*)
70311 enable_symvers=darwin ;;
70312 # Sun symbol versioning exists since Solaris 2.5.
70313 solaris2.[5-9]* | solaris2.1[0-9]*)
70314 # make_sunver.pl needs GNU c++filt to support extern "C++" in
70315 # version scripts, so disable symbol versioning if none can be
70316 # found.
70317 if test -z "$ac_cv_path_CXXFILT"; then
70318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
70319 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
70320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
70321 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
70322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70323 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70324 enable_symvers=no
70325 else
70326 enable_symvers=sun
70330 enable_symvers=no ;;
70331 esac
70336 # Check to see if 'darwin' or 'darwin-export' can win.
70337 if test x$enable_symvers = xdarwin-export ; then
70338 enable_symvers=darwin
70341 # Check if 'sun' was requested on non-Solaris 2 platforms.
70342 if test x$enable_symvers = xsun ; then
70343 case ${target_os} in
70344 solaris2*)
70345 # All fine.
70348 # Unlikely to work.
70349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
70350 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
70351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
70352 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
70353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70354 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70355 enable_symvers=no
70357 esac
70360 # Check to see if 'gnu' can win.
70361 if test $enable_symvers = gnu ||
70362 test $enable_symvers = gnu-versioned-namespace ||
70363 test $enable_symvers = sun; then
70364 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
70365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
70366 $as_echo_n "checking for shared libgcc... " >&6; }
70367 ac_save_CFLAGS="$CFLAGS"
70368 CFLAGS=' -lgcc_s'
70369 if test x$gcc_no_link = xyes; then
70370 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70373 /* end confdefs.h. */
70376 main ()
70378 return 0;
70380 return 0;
70382 _ACEOF
70383 if ac_fn_c_try_link "$LINENO"; then :
70384 glibcxx_shared_libgcc=yes
70385 else
70386 glibcxx_shared_libgcc=no
70388 rm -f core conftest.err conftest.$ac_objext \
70389 conftest$ac_exeext conftest.$ac_ext
70390 CFLAGS="$ac_save_CFLAGS"
70391 if test $glibcxx_shared_libgcc = no; then
70392 cat > conftest.c <<EOF
70393 int main (void) { return 0; }
70395 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
70396 -shared -shared-libgcc -o conftest.so \
70397 conftest.c -v 2>&1 >/dev/null \
70398 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
70399 rm -f conftest.c conftest.so
70400 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
70401 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
70402 if test x$gcc_no_link = xyes; then
70403 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70406 /* end confdefs.h. */
70409 main ()
70411 return 0;
70413 return 0;
70415 _ACEOF
70416 if ac_fn_c_try_link "$LINENO"; then :
70417 glibcxx_shared_libgcc=yes
70419 rm -f core conftest.err conftest.$ac_objext \
70420 conftest$ac_exeext conftest.$ac_ext
70421 CFLAGS="$ac_save_CFLAGS"
70424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
70425 $as_echo "$glibcxx_shared_libgcc" >&6; }
70427 # For GNU ld, we need at least this version. The format is described in
70428 # GLIBCXX_CHECK_LINKER_FEATURES above.
70429 glibcxx_min_gnu_ld_version=21400
70431 # If no shared libgcc, can't win.
70432 if test $glibcxx_shared_libgcc != yes; then
70433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
70434 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
70435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
70436 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
70437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70438 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70439 enable_symvers=no
70440 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
70441 : All interesting versions of Sun ld support sun style symbol versioning.
70442 elif test $with_gnu_ld != yes ; then
70443 # just fail for now
70444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
70445 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
70446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
70447 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
70448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70449 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70450 enable_symvers=no
70451 elif test $glibcxx_ld_is_gold = yes ; then
70452 : All versions of gold support symbol versioning.
70453 elif test $glibcxx_ld_is_mold = yes ; then
70454 : All versions of mold support symbol versioning.
70455 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
70456 # The right tools, the right setup, but too old. Fallbacks?
70457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
70458 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
70459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
70460 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
70461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
70462 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
70463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
70464 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
70465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70466 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70467 enable_symvers=no
70471 # For libtool versioning info, format is CURRENT:REVISION:AGE
70472 libtool_VERSION=6:33:0
70474 # Everything parsed; figure out what files and settings to use.
70475 case $enable_symvers in
70477 SYMVER_FILE=config/abi/pre/none.ver
70479 gnu)
70480 SYMVER_FILE=config/abi/pre/gnu.ver
70482 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
70485 gnu-versioned-namespace)
70486 libtool_VERSION=8:0:0
70487 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
70489 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
70492 darwin)
70493 SYMVER_FILE=config/abi/pre/gnu.ver
70495 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
70498 sun)
70499 SYMVER_FILE=config/abi/pre/gnu.ver
70501 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
70504 esac
70506 if test x$enable_symvers != xno ; then
70508 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
70512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
70513 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
70514 if ${glibcxx_cv_have_as_symver_directive+:} false; then :
70515 $as_echo_n "(cached) " >&6
70516 else
70518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70519 /* end confdefs.h. */
70520 void foo (void); __asm (".symver foo, bar@SYMVER");
70522 main ()
70526 return 0;
70528 _ACEOF
70529 if ac_fn_c_try_compile "$LINENO"; then :
70530 glibcxx_cv_have_as_symver_directive=yes
70531 else
70532 glibcxx_cv_have_as_symver_directive=no
70534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
70537 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
70538 if test $glibcxx_cv_have_as_symver_directive = yes; then
70540 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
70551 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
70552 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
70554 if test $enable_symvers != no ; then
70555 case ${target_os} in
70556 # The Solaris 2 runtime linker doesn't support the GNU extension of
70557 # binding the same symbol to different versions
70558 solaris2*)
70560 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
70563 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
70566 esac
70569 # Now, set up compatibility support, if any.
70570 # In addition, need this to deal with std::size_t mangling in
70571 # src/compatibility.cc. In a perfect world, could use
70572 # typeid(std::size_t).name()[0] to do direct substitution.
70573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
70574 $as_echo_n "checking for size_t as unsigned int... " >&6; }
70575 ac_save_CFLAGS="$CFLAGS"
70576 CFLAGS="-Werror"
70577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70578 /* end confdefs.h. */
70581 main ()
70583 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
70585 return 0;
70587 _ACEOF
70588 if ac_fn_c_try_compile "$LINENO"; then :
70589 glibcxx_size_t_is_i=yes
70590 else
70591 glibcxx_size_t_is_i=no
70593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70594 CFLAGS=$ac_save_CFLAGS
70595 if test "$glibcxx_size_t_is_i" = yes; then
70597 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
70600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
70601 $as_echo "$glibcxx_size_t_is_i" >&6; }
70603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
70604 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
70605 ac_save_CFLAGS="$CFLAGS"
70606 CFLAGS="-Werror"
70607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70608 /* end confdefs.h. */
70611 main ()
70613 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
70615 return 0;
70617 _ACEOF
70618 if ac_fn_c_try_compile "$LINENO"; then :
70619 glibcxx_ptrdiff_t_is_i=yes
70620 else
70621 glibcxx_ptrdiff_t_is_i=no
70623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70624 CFLAGS=$ac_save_CFLAGS
70625 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
70627 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
70630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
70631 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
70636 # Check whether --enable-libstdcxx-visibility was given.
70637 if test "${enable_libstdcxx_visibility+set}" = set; then :
70638 enableval=$enable_libstdcxx_visibility;
70639 case "$enableval" in
70640 yes|no) ;;
70641 *) as_fn_error $? "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
70642 esac
70644 else
70645 enable_libstdcxx_visibility=yes
70650 if test x$enable_libstdcxx_visibility = xyes ; then
70651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
70652 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
70653 if ${glibcxx_cv_have_attribute_visibility+:} false; then :
70654 $as_echo_n "(cached) " >&6
70655 else
70657 save_CFLAGS="$CFLAGS"
70658 CFLAGS="$CFLAGS -Werror"
70659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70660 /* end confdefs.h. */
70661 void __attribute__((visibility("hidden"))) foo(void) { }
70663 main ()
70667 return 0;
70669 _ACEOF
70670 if ac_fn_c_try_compile "$LINENO"; then :
70671 glibcxx_cv_have_attribute_visibility=yes
70672 else
70673 glibcxx_cv_have_attribute_visibility=no
70675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70676 CFLAGS="$save_CFLAGS"
70678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
70679 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
70680 if test $glibcxx_cv_have_attribute_visibility = no; then
70681 enable_libstdcxx_visibility=no
70686 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
70687 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
70691 # Check whether --enable-libstdcxx-dual-abi was given.
70692 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
70693 enableval=$enable_libstdcxx_dual_abi;
70694 case "$enableval" in
70695 yes|no) ;;
70696 *) as_fn_error $? "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
70697 esac
70699 else
70700 enable_libstdcxx_dual_abi=yes
70704 if test x$enable_symvers = xgnu-versioned-namespace; then
70705 # gnu-versioned-namespace is incompatible with the dual ABI.
70706 enable_libstdcxx_dual_abi="no"
70708 if test x"$enable_libstdcxx_dual_abi" != xyes; then
70709 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
70710 $as_echo "$as_me: dual ABI is disabled" >&6;}
70711 default_libstdcxx_abi="gcc4-compatible"
70716 if test x$enable_libstdcxx_dual_abi = xyes; then
70717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
70718 $as_echo_n "checking for default std::string ABI to use... " >&6; }
70720 # Check whether --with-default-libstdcxx-abi was given.
70721 if test "${with_default_libstdcxx_abi+set}" = set; then :
70722 withval=$with_default_libstdcxx_abi; case "$withval" in
70723 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
70724 new|cxx11) default_libstdcxx_abi="new" ;;
70725 c++*|gnu++*) as_fn_error $? "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
70726 *) as_fn_error $? "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
70727 esac
70729 else
70730 default_libstdcxx_abi="new"
70733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
70734 $as_echo "${default_libstdcxx_abi}" >&6; }
70736 if test $default_libstdcxx_abi = "new"; then
70737 glibcxx_cxx11_abi=1
70738 glibcxx_cxx98_abi=0
70739 else
70740 glibcxx_cxx11_abi=0
70741 glibcxx_cxx98_abi=1
70747 ac_ldbl_compat=no
70748 ac_ldbl_alt128_compat=no
70749 ac_ldbl_ieee128_default=no
70750 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
70751 LONG_DOUBLE_128_FLAGS=
70752 LONG_DOUBLE_ALT128_COMPAT_FLAGS=
70753 case "$target" in
70754 powerpc*-*-linux* | \
70755 sparc*-*-linux* | \
70756 s390*-*-linux* | \
70757 alpha*-*-linux*)
70758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70759 /* end confdefs.h. */
70762 main ()
70765 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
70766 #error no need for long double compatibility
70767 #endif
70770 return 0;
70772 _ACEOF
70773 if ac_fn_c_try_compile "$LINENO"; then :
70774 ac_ldbl_compat=yes
70775 else
70776 ac_ldbl_compat=no
70778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70779 if test "$ac_ldbl_compat" = yes; then
70781 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
70783 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
70784 case "$target" in
70785 powerpc*-*-linux*)
70786 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute"
70787 # Check for IEEE128 support in libm:
70788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __frexpieee128 in -lm" >&5
70789 $as_echo_n "checking for __frexpieee128 in -lm... " >&6; }
70790 if ${ac_cv_lib_m___frexpieee128+:} false; then :
70791 $as_echo_n "(cached) " >&6
70792 else
70793 ac_check_lib_save_LIBS=$LIBS
70794 LIBS="-lm $LIBS"
70795 if test x$gcc_no_link = xyes; then
70796 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70799 /* end confdefs.h. */
70801 /* Override any GCC internal prototype to avoid an error.
70802 Use char because int might match the return type of a GCC
70803 builtin and then its argument prototype would still apply. */
70804 #ifdef __cplusplus
70805 extern "C"
70806 #endif
70807 char __frexpieee128 ();
70809 main ()
70811 return __frexpieee128 ();
70813 return 0;
70815 _ACEOF
70816 if ac_fn_c_try_link "$LINENO"; then :
70817 ac_cv_lib_m___frexpieee128=yes
70818 else
70819 ac_cv_lib_m___frexpieee128=no
70821 rm -f core conftest.err conftest.$ac_objext \
70822 conftest$ac_exeext conftest.$ac_ext
70823 LIBS=$ac_check_lib_save_LIBS
70825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___frexpieee128" >&5
70826 $as_echo "$ac_cv_lib_m___frexpieee128" >&6; }
70827 if test "x$ac_cv_lib_m___frexpieee128" = xyes; then :
70828 ac_ldbl_ieee128_in_libc=yes
70829 else
70830 ac_ldbl_ieee128_in_libc=no
70833 if test $ac_ldbl_ieee128_in_libc = yes; then
70834 # Determine which long double format is the compiler's default:
70835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70836 /* end confdefs.h. */
70839 main ()
70842 #ifndef __LONG_DOUBLE_IEEE128__
70843 #error compiler defaults to ibm128
70844 #endif
70847 return 0;
70849 _ACEOF
70850 if ac_fn_c_try_compile "$LINENO"; then :
70851 ac_ldbl_ieee128_default=yes
70852 else
70853 ac_ldbl_ieee128_default=no
70855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70856 # Library objects should use default long double format.
70857 if test "$ac_ldbl_ieee128_default" = yes; then
70858 LONG_DOUBLE_128_FLAGS="-mno-gnu-attribute"
70859 # Except for the ones that explicitly use these flags:
70860 LONG_DOUBLE_ALT128_COMPAT_FLAGS="-mabi=ibmlongdouble -mno-gnu-attribute -Wno-psabi"
70861 else
70862 LONG_DOUBLE_128_FLAGS="-mno-gnu-attribute"
70863 LONG_DOUBLE_ALT128_COMPAT_FLAGS="-mabi=ieeelongdouble -mno-gnu-attribute -Wno-psabi"
70866 $as_echo "#define _GLIBCXX_LONG_DOUBLE_ALT128_COMPAT 1" >>confdefs.h
70868 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/os/gnu-linux/ldbl-ieee128-extra.ver"
70869 ac_ldbl_alt128_compat=yes
70870 else
70871 ac_ldbl_alt128_compat=no
70874 esac
70876 esac
70883 # Check if assembler supports disabling hardware capability support.
70885 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
70887 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
70888 # with a different meaning.
70889 case ${target_os} in
70890 solaris2*)
70891 ac_save_CFLAGS="$CFLAGS"
70892 CFLAGS="$CFLAGS -Wa,-nH"
70894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
70895 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
70896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70897 /* end confdefs.h. */
70900 main ()
70902 return 0;
70904 return 0;
70906 _ACEOF
70907 if ac_fn_c_try_compile "$LINENO"; then :
70908 ac_hwcap_flags=yes
70909 else
70910 ac_hwcap_flags=no
70912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70913 if test "$ac_hwcap_flags" = "yes"; then
70914 HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
70916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
70917 $as_echo "$ac_hwcap_flags" >&6; }
70919 CFLAGS="$ac_save_CFLAGS"
70921 esac
70926 # Check if assembler supports rdrand opcode.
70928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
70929 $as_echo_n "checking for rdrand support in assembler... " >&6; }
70930 if ${ac_cv_x86_rdrand+:} false; then :
70931 $as_echo_n "(cached) " >&6
70932 else
70934 ac_cv_x86_rdrand=no
70935 case "$target" in
70936 i?86-*-* | \
70937 x86_64-*-*)
70938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70939 /* end confdefs.h. */
70942 main ()
70944 asm("rdrand %eax");
70946 return 0;
70948 _ACEOF
70949 if ac_fn_c_try_compile "$LINENO"; then :
70950 ac_cv_x86_rdrand=yes
70951 else
70952 ac_cv_x86_rdrand=no
70954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70955 esac
70958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
70959 $as_echo "$ac_cv_x86_rdrand" >&6; }
70960 if test $ac_cv_x86_rdrand = yes; then
70962 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
70966 # Check if assembler supports rdseed opcode.
70968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdseed support in assembler" >&5
70969 $as_echo_n "checking for rdseed support in assembler... " >&6; }
70970 if ${ac_cv_x86_rdseed+:} false; then :
70971 $as_echo_n "(cached) " >&6
70972 else
70974 ac_cv_x86_rdseed=no
70975 case "$target" in
70976 i?86-*-* | \
70977 x86_64-*-*)
70978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70979 /* end confdefs.h. */
70982 main ()
70984 asm("rdseed %eax");
70986 return 0;
70988 _ACEOF
70989 if ac_fn_c_try_compile "$LINENO"; then :
70990 ac_cv_x86_rdseed=yes
70991 else
70992 ac_cv_x86_rdseed=no
70994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70995 esac
70998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdseed" >&5
70999 $as_echo "$ac_cv_x86_rdseed" >&6; }
71000 if test $ac_cv_x86_rdseed = yes; then
71002 $as_echo "#define _GLIBCXX_X86_RDSEED 1" >>confdefs.h
71007 # Check for other random number APIs
71011 ac_ext=cpp
71012 ac_cpp='$CXXCPP $CPPFLAGS'
71013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getentropy" >&5
71018 $as_echo_n "checking for getentropy... " >&6; }
71019 if ${glibcxx_cv_getentropy+:} false; then :
71020 $as_echo_n "(cached) " >&6
71021 else
71023 if test x$gcc_no_link = xyes; then
71024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71025 /* end confdefs.h. */
71026 #include <unistd.h>
71028 main ()
71030 unsigned i;
71031 ::getentropy(&i, sizeof(i));
71033 return 0;
71035 _ACEOF
71036 if ac_fn_cxx_try_compile "$LINENO"; then :
71037 glibcxx_cv_getentropy=yes
71038 else
71039 glibcxx_cv_getentropy=no
71041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71042 else
71043 if test x$gcc_no_link = xyes; then
71044 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71047 /* end confdefs.h. */
71048 #include <unistd.h>
71050 main ()
71052 unsigned i;
71053 ::getentropy(&i, sizeof(i));
71055 return 0;
71057 _ACEOF
71058 if ac_fn_cxx_try_link "$LINENO"; then :
71059 glibcxx_cv_getentropy=yes
71060 else
71061 glibcxx_cv_getentropy=no
71063 rm -f core conftest.err conftest.$ac_objext \
71064 conftest$ac_exeext conftest.$ac_ext
71068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_getentropy" >&5
71069 $as_echo "$glibcxx_cv_getentropy" >&6; }
71071 if test $glibcxx_cv_getentropy = yes; then
71073 $as_echo "#define HAVE_GETENTROPY 1" >>confdefs.h
71076 ac_ext=c
71077 ac_cpp='$CPP $CPPFLAGS'
71078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71086 ac_ext=cpp
71087 ac_cpp='$CXXCPP $CPPFLAGS'
71088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for arc4random" >&5
71093 $as_echo_n "checking for arc4random... " >&6; }
71094 if ${glibcxx_cv_arc4random+:} false; then :
71095 $as_echo_n "(cached) " >&6
71096 else
71098 if test x$gcc_no_link = xyes; then
71099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71100 /* end confdefs.h. */
71101 #include <stdlib.h>
71103 main ()
71105 unsigned i = ::arc4random();
71107 return 0;
71109 _ACEOF
71110 if ac_fn_cxx_try_compile "$LINENO"; then :
71111 glibcxx_cv_arc4random=yes
71112 else
71113 glibcxx_cv_arc4random=no
71115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71116 else
71117 if test x$gcc_no_link = xyes; then
71118 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71121 /* end confdefs.h. */
71122 #include <stdlib.h>
71124 main ()
71126 unsigned i = ::arc4random();
71128 return 0;
71130 _ACEOF
71131 if ac_fn_cxx_try_link "$LINENO"; then :
71132 glibcxx_cv_arc4random=yes
71133 else
71134 glibcxx_cv_arc4random=no
71136 rm -f core conftest.err conftest.$ac_objext \
71137 conftest$ac_exeext conftest.$ac_ext
71141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_arc4random" >&5
71142 $as_echo "$glibcxx_cv_arc4random" >&6; }
71144 if test $glibcxx_cv_arc4random = yes; then
71146 $as_echo "#define HAVE_ARC4RANDOM 1" >>confdefs.h
71149 ac_ext=c
71150 ac_cpp='$CPP $CPPFLAGS'
71151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71157 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
71159 # Do checks for resource limit functions.
71162 ac_ext=cpp
71163 ac_cpp='$CXXCPP $CPPFLAGS'
71164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71168 setrlimit_have_headers=yes
71169 for ac_header in unistd.h sys/time.h sys/resource.h
71170 do :
71171 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
71172 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
71173 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
71174 cat >>confdefs.h <<_ACEOF
71175 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
71176 _ACEOF
71178 else
71179 setrlimit_have_headers=no
71182 done
71184 # If don't have the headers, then we can't run the tests now, and we
71185 # won't be seeing any of these during testsuite compilation.
71186 if test $setrlimit_have_headers = yes; then
71187 # Can't do these in a loop, else the resulting syntax is wrong.
71189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
71190 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
71191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71192 /* end confdefs.h. */
71193 #include <unistd.h>
71194 #include <sys/time.h>
71195 #include <sys/resource.h>
71198 main ()
71200 int f = RLIMIT_DATA ;
71202 return 0;
71204 _ACEOF
71205 if ac_fn_cxx_try_compile "$LINENO"; then :
71206 glibcxx_mresult=1
71207 else
71208 glibcxx_mresult=0
71210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71212 cat >>confdefs.h <<_ACEOF
71213 #define HAVE_LIMIT_DATA $glibcxx_mresult
71214 _ACEOF
71216 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
71217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
71218 $as_echo "$res" >&6; }
71221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
71222 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
71223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71224 /* end confdefs.h. */
71225 #include <unistd.h>
71226 #include <sys/time.h>
71227 #include <sys/resource.h>
71230 main ()
71232 int f = RLIMIT_RSS ;
71234 return 0;
71236 _ACEOF
71237 if ac_fn_cxx_try_compile "$LINENO"; then :
71238 glibcxx_mresult=1
71239 else
71240 glibcxx_mresult=0
71242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71244 cat >>confdefs.h <<_ACEOF
71245 #define HAVE_LIMIT_RSS $glibcxx_mresult
71246 _ACEOF
71248 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
71249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
71250 $as_echo "$res" >&6; }
71253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
71254 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
71255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71256 /* end confdefs.h. */
71257 #include <unistd.h>
71258 #include <sys/time.h>
71259 #include <sys/resource.h>
71262 main ()
71264 int f = RLIMIT_VMEM ;
71266 return 0;
71268 _ACEOF
71269 if ac_fn_cxx_try_compile "$LINENO"; then :
71270 glibcxx_mresult=1
71271 else
71272 glibcxx_mresult=0
71274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71276 cat >>confdefs.h <<_ACEOF
71277 #define HAVE_LIMIT_VMEM $glibcxx_mresult
71278 _ACEOF
71280 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
71281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
71282 $as_echo "$res" >&6; }
71285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
71286 $as_echo_n "checking for RLIMIT_AS... " >&6; }
71287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71288 /* end confdefs.h. */
71289 #include <unistd.h>
71290 #include <sys/time.h>
71291 #include <sys/resource.h>
71294 main ()
71296 int f = RLIMIT_AS ;
71298 return 0;
71300 _ACEOF
71301 if ac_fn_cxx_try_compile "$LINENO"; then :
71302 glibcxx_mresult=1
71303 else
71304 glibcxx_mresult=0
71306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71308 cat >>confdefs.h <<_ACEOF
71309 #define HAVE_LIMIT_AS $glibcxx_mresult
71310 _ACEOF
71312 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
71313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
71314 $as_echo "$res" >&6; }
71317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
71318 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
71319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71320 /* end confdefs.h. */
71321 #include <unistd.h>
71322 #include <sys/time.h>
71323 #include <sys/resource.h>
71326 main ()
71328 int f = RLIMIT_FSIZE ;
71330 return 0;
71332 _ACEOF
71333 if ac_fn_cxx_try_compile "$LINENO"; then :
71334 glibcxx_mresult=1
71335 else
71336 glibcxx_mresult=0
71338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71340 cat >>confdefs.h <<_ACEOF
71341 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
71342 _ACEOF
71344 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
71345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
71346 $as_echo "$res" >&6; }
71349 # Check for rlimit, setrlimit.
71350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
71351 $as_echo_n "checking for testsuite resource limits support... " >&6; }
71352 if ${glibcxx_cv_setrlimit+:} false; then :
71353 $as_echo_n "(cached) " >&6
71354 else
71356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71357 /* end confdefs.h. */
71358 #include <unistd.h>
71359 #include <sys/time.h>
71360 #include <sys/resource.h>
71363 main ()
71365 struct rlimit r;
71366 setrlimit(0, &r);
71368 return 0;
71370 _ACEOF
71371 if ac_fn_cxx_try_compile "$LINENO"; then :
71372 glibcxx_cv_setrlimit=yes
71373 else
71374 glibcxx_cv_setrlimit=no
71376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_setrlimit" >&5
71380 $as_echo "$glibcxx_cv_setrlimit" >&6; }
71382 if test $glibcxx_cv_setrlimit = yes; then
71384 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
71388 ac_ext=c
71389 ac_cpp='$CPP $CPPFLAGS'
71390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71396 if $GLIBCXX_IS_NATIVE ; then
71397 # Look for setenv, so that extended locale tests can be performed.
71399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
71400 $as_echo_n "checking for setenv declaration... " >&6; }
71401 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
71402 if ${glibcxx_cv_func_setenv_use+:} false; then :
71403 $as_echo_n "(cached) " >&6
71404 else
71407 ac_ext=cpp
71408 ac_cpp='$CXXCPP $CPPFLAGS'
71409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71414 /* end confdefs.h. */
71415 #include <stdlib.h>
71417 main ()
71419 setenv(0, 0, 0);
71421 return 0;
71423 _ACEOF
71424 if ac_fn_cxx_try_compile "$LINENO"; then :
71425 glibcxx_cv_func_setenv_use=yes
71426 else
71427 glibcxx_cv_func_setenv_use=no
71429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71430 ac_ext=c
71431 ac_cpp='$CPP $CPPFLAGS'
71432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
71441 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
71442 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
71443 for ac_func in setenv
71444 do :
71445 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
71446 if test "x$ac_cv_func_setenv" = xyes; then :
71447 cat >>confdefs.h <<_ACEOF
71448 #define HAVE_SETENV 1
71449 _ACEOF
71452 done
71458 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
71459 test $enable_symvers != no; then
71460 case "$host" in
71461 *-*-cygwin*)
71462 enable_abi_check=no ;;
71464 enable_abi_check=yes ;;
71465 esac
71466 else
71467 # Only build this as native, since automake does not understand
71468 # CXX_FOR_BUILD.
71469 enable_abi_check=no
71472 # Export file names for ABI checking.
71473 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
71475 baseline_subdir_switch="$abi_baseline_subdir_switch"
71479 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
71481 # Check whether --enable-libstdcxx-threads was given.
71482 if test "${enable_libstdcxx_threads+set}" = set; then :
71483 enableval=$enable_libstdcxx_threads;
71484 case "$enableval" in
71485 yes|no) ;;
71486 *) as_fn_error $? "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
71487 esac
71489 else
71490 enable_libstdcxx_threads=auto
71495 if test x$enable_libstdcxx_threads = xauto ||
71496 test x$enable_libstdcxx_threads = xyes; then
71499 ac_ext=cpp
71500 ac_cpp='$CXXCPP $CPPFLAGS'
71501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71506 ac_save_CXXFLAGS="$CXXFLAGS"
71507 CXXFLAGS="$CXXFLAGS -fno-exceptions \
71508 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
71510 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
71511 case $target_thread_file in
71512 posix)
71513 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
71515 win32)
71516 CXXFLAGS="$CXXFLAGS -D_WIN32_THREADS"
71517 # The support of condition variables is disabled by default in
71518 # the Win32 gthreads library, so enable it on explicit request.
71519 if test x$enable_libstdcxx_threads = xyes; then
71520 CXXFLAGS="$CXXFLAGS -D_WIN32_WINNT=0x0600"
71523 esac
71525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
71526 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
71528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71529 /* end confdefs.h. */
71530 #include <unistd.h>
71532 main ()
71535 // In case of POSIX threads check _POSIX_TIMEOUTS.
71536 #if (defined(_PTHREADS) \
71537 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
71538 #error
71539 // In case of Win32 threads there is no support.
71540 #elif defined(_WIN32_THREADS)
71541 #error
71542 #endif
71545 return 0;
71547 _ACEOF
71548 if ac_fn_cxx_try_compile "$LINENO"; then :
71549 ac_gthread_use_mutex_timedlock=1
71550 else
71551 ac_gthread_use_mutex_timedlock=0
71553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71556 cat >>confdefs.h <<_ACEOF
71557 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
71558 _ACEOF
71561 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
71562 else res_mutex_timedlock=no ; fi
71563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
71564 $as_echo "$res_mutex_timedlock" >&6; }
71566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
71567 $as_echo_n "checking for gthreads library... " >&6; }
71569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71570 /* end confdefs.h. */
71571 #include "gthr.h"
71573 main ()
71576 #ifndef __GTHREADS_CXX0X
71577 #error
71578 #endif
71581 return 0;
71583 _ACEOF
71584 if ac_fn_cxx_try_compile "$LINENO"; then :
71585 ac_has_gthreads=yes
71586 else
71587 ac_has_gthreads=no
71589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71590 else
71591 ac_has_gthreads=no
71594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
71595 $as_echo "$ac_has_gthreads" >&6; }
71597 if test x"$ac_has_gthreads" = x"yes"; then
71599 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
71602 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
71603 # but only do so if we're using pthread in the gthread library.
71604 # On VxWorks for example, pthread_rwlock_t is defined in sys/types.h
71605 # but the pthread library is not there by default and the gthread library
71606 # does not use it.
71607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71608 /* end confdefs.h. */
71609 #include "gthr.h"
71611 main ()
71614 #if (!defined(_PTHREADS))
71615 #error
71616 #endif
71619 return 0;
71621 _ACEOF
71622 if ac_fn_cxx_try_compile "$LINENO"; then :
71623 ac_gthread_use_pthreads=yes
71624 else
71625 ac_gthread_use_pthreads=no
71627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71628 if test x"$ac_gthread_use_pthreads" = x"yes"; then
71629 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
71631 if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
71633 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
71639 # See above for the rationale.
71640 if test $target_thread_file = win32; then
71641 CPPFLAGS="$CPPFLAGS -D_WIN32_WINNT=0x0600"
71645 ac_fn_cxx_check_header_mongrel "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default"
71646 if test "x$ac_cv_header_semaphore_h" = xyes; then :
71648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX Semaphores and sem_timedwait" >&5
71649 $as_echo_n "checking for POSIX Semaphores and sem_timedwait... " >&6; }
71650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71651 /* end confdefs.h. */
71653 #include <unistd.h>
71654 #include <semaphore.h>
71655 #include <limits.h>
71658 main ()
71661 #if !defined _POSIX_TIMEOUTS || _POSIX_TIMEOUTS <= 0
71662 # error "POSIX Timeouts option not supported"
71663 #elif !defined _POSIX_SEMAPHORES || _POSIX_SEMAPHORES <= 0
71664 # error "POSIX Semaphores option not supported"
71665 #else
71666 #if defined SEM_VALUE_MAX
71667 constexpr int sem_value_max = SEM_VALUE_MAX;
71668 #elif defined _POSIX_SEM_VALUE_MAX
71669 constexpr int sem_value_max = _POSIX_SEM_VALUE_MAX;
71670 #else
71671 # error "SEM_VALUE_MAX not available"
71672 #endif
71673 sem_t sem;
71674 sem_init(&sem, 0, sem_value_max);
71675 struct timespec ts = { 0 };
71676 sem_timedwait(&sem, &ts);
71677 #endif
71680 return 0;
71682 _ACEOF
71683 if ac_fn_cxx_try_compile "$LINENO"; then :
71684 ac_have_posix_semaphore=yes
71685 else
71686 ac_have_posix_semaphore=no
71688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71689 else
71690 ac_have_posix_semaphore=no
71695 if test $ac_have_posix_semaphore = yes ; then
71697 $as_echo "#define HAVE_POSIX_SEMAPHORE 1" >>confdefs.h
71700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_have_posix_semaphore" >&5
71701 $as_echo "$ac_have_posix_semaphore" >&6; }
71703 CXXFLAGS="$ac_save_CXXFLAGS"
71704 ac_ext=c
71705 ac_cpp='$CPP $CPPFLAGS'
71706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71712 # For Filesystem TS.
71713 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
71714 do :
71715 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
71716 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
71717 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
71718 cat >>confdefs.h <<_ACEOF
71719 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
71720 _ACEOF
71724 done
71727 # Check whether --enable-libstdcxx-filesystem-ts was given.
71728 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
71729 enableval=$enable_libstdcxx_filesystem_ts;
71730 case "$enableval" in
71731 yes|no|auto) ;;
71732 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
71733 esac
71735 else
71736 enable_libstdcxx_filesystem_ts=auto
71741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
71742 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
71743 if test x"$ac_cv_header_dirent_h" != x"yes"; then
71744 enable_libstdcxx_filesystem_ts=no
71746 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
71747 case "${target_os}" in
71748 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
71749 enable_libstdcxx_filesystem_ts=yes
71751 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu | uclinux*)
71752 enable_libstdcxx_filesystem_ts=yes
71754 rtems*)
71755 enable_libstdcxx_filesystem_ts=yes
71757 solaris*)
71758 enable_libstdcxx_filesystem_ts=yes
71760 mingw*)
71761 enable_libstdcxx_filesystem_ts=yes
71764 enable_libstdcxx_filesystem_ts=no
71766 esac
71768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
71769 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
71773 ac_ext=cpp
71774 ac_cpp='$CXXCPP $CPPFLAGS'
71775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71779 ac_save_CXXFLAGS="$CXXFLAGS"
71780 CXXFLAGS="$CXXFLAGS -fno-exceptions"
71781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
71782 $as_echo_n "checking for struct dirent.d_type... " >&6; }
71783 if ${glibcxx_cv_dirent_d_type+:} false; then :
71784 $as_echo_n "(cached) " >&6
71785 else
71786 if test x$gcc_no_link = xyes; then
71787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71788 /* end confdefs.h. */
71789 #include <dirent.h>
71791 main ()
71794 struct dirent d;
71795 if (sizeof d.d_type) return 0;
71798 return 0;
71800 _ACEOF
71801 if ac_fn_cxx_try_compile "$LINENO"; then :
71802 glibcxx_cv_dirent_d_type=yes
71803 else
71804 glibcxx_cv_dirent_d_type=no
71806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71807 else
71808 if test x$gcc_no_link = xyes; then
71809 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71812 /* end confdefs.h. */
71813 #include <dirent.h>
71815 main ()
71818 struct dirent d;
71819 if (sizeof d.d_type) return 0;
71822 return 0;
71824 _ACEOF
71825 if ac_fn_cxx_try_link "$LINENO"; then :
71826 glibcxx_cv_dirent_d_type=yes
71827 else
71828 glibcxx_cv_dirent_d_type=no
71830 rm -f core conftest.err conftest.$ac_objext \
71831 conftest$ac_exeext conftest.$ac_ext
71835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
71836 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
71837 if test $glibcxx_cv_dirent_d_type = yes; then
71839 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
71842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
71843 $as_echo_n "checking for realpath... " >&6; }
71844 if ${glibcxx_cv_realpath+:} false; then :
71845 $as_echo_n "(cached) " >&6
71846 else
71847 if test x$gcc_no_link = xyes; then
71848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71849 /* end confdefs.h. */
71851 #include <limits.h>
71852 #include <stdlib.h>
71853 #include <unistd.h>
71856 main ()
71859 #if _XOPEN_VERSION < 500
71860 #error
71861 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
71862 char *tmp = realpath((const char*)NULL, (char*)NULL);
71863 #else
71864 #error
71865 #endif
71868 return 0;
71870 _ACEOF
71871 if ac_fn_cxx_try_compile "$LINENO"; then :
71872 glibcxx_cv_realpath=yes
71873 else
71874 glibcxx_cv_realpath=no
71876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71877 else
71878 if test x$gcc_no_link = xyes; then
71879 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71882 /* end confdefs.h. */
71884 #include <limits.h>
71885 #include <stdlib.h>
71886 #include <unistd.h>
71889 main ()
71892 #if _XOPEN_VERSION < 500
71893 #error
71894 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
71895 char *tmp = realpath((const char*)NULL, (char*)NULL);
71896 #else
71897 #error
71898 #endif
71901 return 0;
71903 _ACEOF
71904 if ac_fn_cxx_try_link "$LINENO"; then :
71905 glibcxx_cv_realpath=yes
71906 else
71907 glibcxx_cv_realpath=no
71909 rm -f core conftest.err conftest.$ac_objext \
71910 conftest$ac_exeext conftest.$ac_ext
71914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
71915 $as_echo "$glibcxx_cv_realpath" >&6; }
71916 if test $glibcxx_cv_realpath = yes; then
71918 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
71921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
71922 $as_echo_n "checking for utimensat... " >&6; }
71923 if ${glibcxx_cv_utimensat+:} false; then :
71924 $as_echo_n "(cached) " >&6
71925 else
71926 if test x$gcc_no_link = xyes; then
71927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71928 /* end confdefs.h. */
71930 #include <fcntl.h>
71931 #include <sys/stat.h>
71934 main ()
71937 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
71938 int i = utimensat(AT_FDCWD, "path", ts, 0);
71941 return 0;
71943 _ACEOF
71944 if ac_fn_cxx_try_compile "$LINENO"; then :
71945 glibcxx_cv_utimensat=yes
71946 else
71947 glibcxx_cv_utimensat=no
71949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71950 else
71951 if test x$gcc_no_link = xyes; then
71952 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71955 /* end confdefs.h. */
71957 #include <fcntl.h>
71958 #include <sys/stat.h>
71961 main ()
71964 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
71965 int i = utimensat(AT_FDCWD, "path", ts, 0);
71968 return 0;
71970 _ACEOF
71971 if ac_fn_cxx_try_link "$LINENO"; then :
71972 glibcxx_cv_utimensat=yes
71973 else
71974 glibcxx_cv_utimensat=no
71976 rm -f core conftest.err conftest.$ac_objext \
71977 conftest$ac_exeext conftest.$ac_ext
71981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
71982 $as_echo "$glibcxx_cv_utimensat" >&6; }
71983 if test $glibcxx_cv_utimensat = yes; then
71985 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
71988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utime" >&5
71989 $as_echo_n "checking for utime... " >&6; }
71990 if ${glibcxx_cv_utime+:} false; then :
71991 $as_echo_n "(cached) " >&6
71992 else
71993 if test x$gcc_no_link = xyes; then
71994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71995 /* end confdefs.h. */
71997 #include <utime.h>
72000 main ()
72003 struct utimbuf t = { 1, 1 };
72004 int i = utime("path", &t);
72007 return 0;
72009 _ACEOF
72010 if ac_fn_cxx_try_compile "$LINENO"; then :
72011 glibcxx_cv_utime=yes
72012 else
72013 glibcxx_cv_utime=no
72015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72016 else
72017 if test x$gcc_no_link = xyes; then
72018 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72021 /* end confdefs.h. */
72023 #include <utime.h>
72026 main ()
72029 struct utimbuf t = { 1, 1 };
72030 int i = utime("path", &t);
72033 return 0;
72035 _ACEOF
72036 if ac_fn_cxx_try_link "$LINENO"; then :
72037 glibcxx_cv_utime=yes
72038 else
72039 glibcxx_cv_utime=no
72041 rm -f core conftest.err conftest.$ac_objext \
72042 conftest$ac_exeext conftest.$ac_ext
72046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utime" >&5
72047 $as_echo "$glibcxx_cv_utime" >&6; }
72048 if test $glibcxx_cv_utime = yes; then
72050 $as_echo "#define _GLIBCXX_USE_UTIME 1" >>confdefs.h
72053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lstat" >&5
72054 $as_echo_n "checking for lstat... " >&6; }
72055 if ${glibcxx_cv_lstat+:} false; then :
72056 $as_echo_n "(cached) " >&6
72057 else
72058 if test x$gcc_no_link = xyes; then
72059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72060 /* end confdefs.h. */
72061 #include <sys/stat.h>
72063 main ()
72066 struct stat st;
72067 int i = lstat("path", &st);
72070 return 0;
72072 _ACEOF
72073 if ac_fn_cxx_try_compile "$LINENO"; then :
72074 glibcxx_cv_lstat=yes
72075 else
72076 glibcxx_cv_lstat=no
72078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72079 else
72080 if test x$gcc_no_link = xyes; then
72081 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72084 /* end confdefs.h. */
72085 #include <sys/stat.h>
72087 main ()
72090 struct stat st;
72091 int i = lstat("path", &st);
72094 return 0;
72096 _ACEOF
72097 if ac_fn_cxx_try_link "$LINENO"; then :
72098 glibcxx_cv_lstat=yes
72099 else
72100 glibcxx_cv_lstat=no
72102 rm -f core conftest.err conftest.$ac_objext \
72103 conftest$ac_exeext conftest.$ac_ext
72107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_lstat" >&5
72108 $as_echo "$glibcxx_cv_lstat" >&6; }
72109 if test $glibcxx_cv_lstat = yes; then
72111 $as_echo "#define _GLIBCXX_USE_LSTAT 1" >>confdefs.h
72114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
72115 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
72116 if ${glibcxx_cv_st_mtim+:} false; then :
72117 $as_echo_n "(cached) " >&6
72118 else
72119 if test x$gcc_no_link = xyes; then
72120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72121 /* end confdefs.h. */
72122 #include <sys/stat.h>
72124 main ()
72127 struct stat st;
72128 return st.st_mtim.tv_nsec;
72131 return 0;
72133 _ACEOF
72134 if ac_fn_cxx_try_compile "$LINENO"; then :
72135 glibcxx_cv_st_mtim=yes
72136 else
72137 glibcxx_cv_st_mtim=no
72139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72140 else
72141 if test x$gcc_no_link = xyes; then
72142 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72145 /* end confdefs.h. */
72146 #include <sys/stat.h>
72148 main ()
72151 struct stat st;
72152 return st.st_mtim.tv_nsec;
72155 return 0;
72157 _ACEOF
72158 if ac_fn_cxx_try_link "$LINENO"; then :
72159 glibcxx_cv_st_mtim=yes
72160 else
72161 glibcxx_cv_st_mtim=no
72163 rm -f core conftest.err conftest.$ac_objext \
72164 conftest$ac_exeext conftest.$ac_ext
72168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
72169 $as_echo "$glibcxx_cv_st_mtim" >&6; }
72170 if test $glibcxx_cv_st_mtim = yes; then
72172 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
72175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
72176 $as_echo_n "checking for fchmod... " >&6; }
72177 if ${glibcxx_cv_fchmod+:} false; then :
72178 $as_echo_n "(cached) " >&6
72179 else
72180 if test x$gcc_no_link = xyes; then
72181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72182 /* end confdefs.h. */
72183 #include <sys/stat.h>
72185 main ()
72187 fchmod(1, S_IWUSR);
72189 return 0;
72191 _ACEOF
72192 if ac_fn_cxx_try_compile "$LINENO"; then :
72193 glibcxx_cv_fchmod=yes
72194 else
72195 glibcxx_cv_fchmod=no
72197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72198 else
72199 if test x$gcc_no_link = xyes; then
72200 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72203 /* end confdefs.h. */
72204 #include <sys/stat.h>
72206 main ()
72208 fchmod(1, S_IWUSR);
72210 return 0;
72212 _ACEOF
72213 if ac_fn_cxx_try_link "$LINENO"; then :
72214 glibcxx_cv_fchmod=yes
72215 else
72216 glibcxx_cv_fchmod=no
72218 rm -f core conftest.err conftest.$ac_objext \
72219 conftest$ac_exeext conftest.$ac_ext
72223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
72224 $as_echo "$glibcxx_cv_fchmod" >&6; }
72225 if test $glibcxx_cv_fchmod = yes; then
72227 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
72230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
72231 $as_echo_n "checking for fchmodat... " >&6; }
72232 if ${glibcxx_cv_fchmodat+:} false; then :
72233 $as_echo_n "(cached) " >&6
72234 else
72235 if test x$gcc_no_link = xyes; then
72236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72237 /* end confdefs.h. */
72239 #include <fcntl.h>
72240 #include <sys/stat.h>
72243 main ()
72245 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
72247 return 0;
72249 _ACEOF
72250 if ac_fn_cxx_try_compile "$LINENO"; then :
72251 glibcxx_cv_fchmodat=yes
72252 else
72253 glibcxx_cv_fchmodat=no
72255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72256 else
72257 if test x$gcc_no_link = xyes; then
72258 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72261 /* end confdefs.h. */
72263 #include <fcntl.h>
72264 #include <sys/stat.h>
72267 main ()
72269 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
72271 return 0;
72273 _ACEOF
72274 if ac_fn_cxx_try_link "$LINENO"; then :
72275 glibcxx_cv_fchmodat=yes
72276 else
72277 glibcxx_cv_fchmodat=no
72279 rm -f core conftest.err conftest.$ac_objext \
72280 conftest$ac_exeext conftest.$ac_ext
72284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
72285 $as_echo "$glibcxx_cv_fchmodat" >&6; }
72286 if test $glibcxx_cv_fchmodat = yes; then
72288 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
72291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
72292 $as_echo_n "checking for link... " >&6; }
72293 if ${glibcxx_cv_link+:} false; then :
72294 $as_echo_n "(cached) " >&6
72295 else
72296 if test x$gcc_no_link = xyes; then
72297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72298 /* end confdefs.h. */
72299 #include <unistd.h>
72301 main ()
72303 link("", "");
72305 return 0;
72307 _ACEOF
72308 if ac_fn_cxx_try_compile "$LINENO"; then :
72309 glibcxx_cv_link=yes
72310 else
72311 glibcxx_cv_link=no
72313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72314 else
72315 if test x$gcc_no_link = xyes; then
72316 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72319 /* end confdefs.h. */
72320 #include <unistd.h>
72322 main ()
72324 link("", "");
72326 return 0;
72328 _ACEOF
72329 if ac_fn_cxx_try_link "$LINENO"; then :
72330 glibcxx_cv_link=yes
72331 else
72332 glibcxx_cv_link=no
72334 rm -f core conftest.err conftest.$ac_objext \
72335 conftest$ac_exeext conftest.$ac_ext
72339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_link" >&5
72340 $as_echo "$glibcxx_cv_link" >&6; }
72341 if test $glibcxx_cv_link = yes; then
72343 $as_echo "#define HAVE_LINK 1" >>confdefs.h
72346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lseek" >&5
72347 $as_echo_n "checking for lseek... " >&6; }
72348 if ${glibcxx_cv_lseek+:} false; then :
72349 $as_echo_n "(cached) " >&6
72350 else
72351 if test x$gcc_no_link = xyes; then
72352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72353 /* end confdefs.h. */
72354 #include <unistd.h>
72356 main ()
72358 lseek(1, 0, SEEK_SET);
72360 return 0;
72362 _ACEOF
72363 if ac_fn_cxx_try_compile "$LINENO"; then :
72364 glibcxx_cv_lseek=yes
72365 else
72366 glibcxx_cv_lseek=no
72368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72369 else
72370 if test x$gcc_no_link = xyes; then
72371 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72374 /* end confdefs.h. */
72375 #include <unistd.h>
72377 main ()
72379 lseek(1, 0, SEEK_SET);
72381 return 0;
72383 _ACEOF
72384 if ac_fn_cxx_try_link "$LINENO"; then :
72385 glibcxx_cv_lseek=yes
72386 else
72387 glibcxx_cv_lseek=no
72389 rm -f core conftest.err conftest.$ac_objext \
72390 conftest$ac_exeext conftest.$ac_ext
72394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_lseek" >&5
72395 $as_echo "$glibcxx_cv_lseek" >&6; }
72396 if test $glibcxx_cv_lseek = yes; then
72398 $as_echo "#define HAVE_LSEEK 1" >>confdefs.h
72401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readlink" >&5
72402 $as_echo_n "checking for readlink... " >&6; }
72403 if ${glibcxx_cv_readlink+:} false; then :
72404 $as_echo_n "(cached) " >&6
72405 else
72406 if test x$gcc_no_link = xyes; then
72407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72408 /* end confdefs.h. */
72409 #include <unistd.h>
72411 main ()
72413 char buf[32]; readlink("", buf, sizeof(buf));
72415 return 0;
72417 _ACEOF
72418 if ac_fn_cxx_try_compile "$LINENO"; then :
72419 glibcxx_cv_readlink=yes
72420 else
72421 glibcxx_cv_readlink=no
72423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72424 else
72425 if test x$gcc_no_link = xyes; then
72426 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72429 /* end confdefs.h. */
72430 #include <unistd.h>
72432 main ()
72434 char buf[32]; readlink("", buf, sizeof(buf));
72436 return 0;
72438 _ACEOF
72439 if ac_fn_cxx_try_link "$LINENO"; then :
72440 glibcxx_cv_readlink=yes
72441 else
72442 glibcxx_cv_readlink=no
72444 rm -f core conftest.err conftest.$ac_objext \
72445 conftest$ac_exeext conftest.$ac_ext
72449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_readlink" >&5
72450 $as_echo "$glibcxx_cv_readlink" >&6; }
72451 if test $glibcxx_cv_readlink = yes; then
72453 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
72456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
72457 $as_echo_n "checking for symlink... " >&6; }
72458 if ${glibcxx_cv_symlink+:} false; then :
72459 $as_echo_n "(cached) " >&6
72460 else
72461 if test x$gcc_no_link = xyes; then
72462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72463 /* end confdefs.h. */
72464 #include <unistd.h>
72466 main ()
72468 symlink("", "");
72470 return 0;
72472 _ACEOF
72473 if ac_fn_cxx_try_compile "$LINENO"; then :
72474 glibcxx_cv_symlink=yes
72475 else
72476 glibcxx_cv_symlink=no
72478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72479 else
72480 if test x$gcc_no_link = xyes; then
72481 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72484 /* end confdefs.h. */
72485 #include <unistd.h>
72487 main ()
72489 symlink("", "");
72491 return 0;
72493 _ACEOF
72494 if ac_fn_cxx_try_link "$LINENO"; then :
72495 glibcxx_cv_symlink=yes
72496 else
72497 glibcxx_cv_symlink=no
72499 rm -f core conftest.err conftest.$ac_objext \
72500 conftest$ac_exeext conftest.$ac_ext
72504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_symlink" >&5
72505 $as_echo "$glibcxx_cv_symlink" >&6; }
72506 if test $glibcxx_cv_symlink = yes; then
72508 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
72511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncate" >&5
72512 $as_echo_n "checking for truncate... " >&6; }
72513 if ${glibcxx_cv_truncate+:} false; then :
72514 $as_echo_n "(cached) " >&6
72515 else
72516 if test x$gcc_no_link = xyes; then
72517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72518 /* end confdefs.h. */
72519 #include <unistd.h>
72521 main ()
72523 truncate("", 99);
72525 return 0;
72527 _ACEOF
72528 if ac_fn_cxx_try_compile "$LINENO"; then :
72529 glibcxx_cv_truncate=yes
72530 else
72531 glibcxx_cv_truncate=no
72533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72534 else
72535 if test x$gcc_no_link = xyes; then
72536 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72539 /* end confdefs.h. */
72540 #include <unistd.h>
72542 main ()
72544 truncate("", 99);
72546 return 0;
72548 _ACEOF
72549 if ac_fn_cxx_try_link "$LINENO"; then :
72550 glibcxx_cv_truncate=yes
72551 else
72552 glibcxx_cv_truncate=no
72554 rm -f core conftest.err conftest.$ac_objext \
72555 conftest$ac_exeext conftest.$ac_ext
72559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_truncate" >&5
72560 $as_echo "$glibcxx_cv_truncate" >&6; }
72561 if test $glibcxx_cv_truncate = yes; then
72563 $as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
72566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copy_file_range that can copy files" >&5
72567 $as_echo_n "checking for copy_file_range that can copy files... " >&6; }
72568 if ${glibcxx_cv_copy_file_range+:} false; then :
72569 $as_echo_n "(cached) " >&6
72570 else
72571 case "${target_os}" in
72572 linux*)
72573 if test x$gcc_no_link = xyes; then
72574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72575 /* end confdefs.h. */
72576 #include <unistd.h>
72578 main ()
72580 copy_file_range(1, (loff_t*)nullptr, 2, (loff_t*)nullptr, 1, 0);
72582 return 0;
72584 _ACEOF
72585 if ac_fn_cxx_try_compile "$LINENO"; then :
72586 glibcxx_cv_copy_file_range=yes
72587 else
72588 glibcxx_cv_copy_file_range=no
72590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72591 else
72592 if test x$gcc_no_link = xyes; then
72593 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72596 /* end confdefs.h. */
72597 #include <unistd.h>
72599 main ()
72601 copy_file_range(1, (loff_t*)nullptr, 2, (loff_t*)nullptr, 1, 0);
72603 return 0;
72605 _ACEOF
72606 if ac_fn_cxx_try_link "$LINENO"; then :
72607 glibcxx_cv_copy_file_range=yes
72608 else
72609 glibcxx_cv_copy_file_range=no
72611 rm -f core conftest.err conftest.$ac_objext \
72612 conftest$ac_exeext conftest.$ac_ext
72616 glibcxx_cv_copy_file_range=no
72618 esac
72621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_copy_file_range" >&5
72622 $as_echo "$glibcxx_cv_copy_file_range" >&6; }
72623 if test $glibcxx_cv_copy_file_range = yes; then
72625 $as_echo "#define _GLIBCXX_USE_COPY_FILE_RANGE 1" >>confdefs.h
72628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
72629 $as_echo_n "checking for sendfile that can copy files... " >&6; }
72630 if ${glibcxx_cv_sendfile+:} false; then :
72631 $as_echo_n "(cached) " >&6
72632 else
72633 case "${target_os}" in
72634 gnu* | linux* | solaris* | uclinux*)
72635 if test x$gcc_no_link = xyes; then
72636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72637 /* end confdefs.h. */
72638 #include <sys/sendfile.h>
72640 main ()
72642 sendfile(1, 2, (off_t*)0, sizeof 1);
72644 return 0;
72646 _ACEOF
72647 if ac_fn_cxx_try_compile "$LINENO"; then :
72648 glibcxx_cv_sendfile=yes
72649 else
72650 glibcxx_cv_sendfile=no
72652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72653 else
72654 if test x$gcc_no_link = xyes; then
72655 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72658 /* end confdefs.h. */
72659 #include <sys/sendfile.h>
72661 main ()
72663 sendfile(1, 2, (off_t*)0, sizeof 1);
72665 return 0;
72667 _ACEOF
72668 if ac_fn_cxx_try_link "$LINENO"; then :
72669 glibcxx_cv_sendfile=yes
72670 else
72671 glibcxx_cv_sendfile=no
72673 rm -f core conftest.err conftest.$ac_objext \
72674 conftest$ac_exeext conftest.$ac_ext
72678 glibcxx_cv_sendfile=no
72680 esac
72683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
72684 $as_echo "$glibcxx_cv_sendfile" >&6; }
72685 if test $glibcxx_cv_sendfile = yes && test $glibcxx_cv_lseek = yes; then
72687 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
72690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fdopendir" >&5
72691 $as_echo_n "checking for fdopendir... " >&6; }
72692 if ${glibcxx_cv_fdopendir+:} false; then :
72693 $as_echo_n "(cached) " >&6
72694 else
72695 if test x$gcc_no_link = xyes; then
72696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72697 /* end confdefs.h. */
72698 #include <dirent.h>
72700 main ()
72702 ::DIR* dir = ::fdopendir(1);
72704 return 0;
72706 _ACEOF
72707 if ac_fn_cxx_try_compile "$LINENO"; then :
72708 glibcxx_cv_fdopendir=yes
72709 else
72710 glibcxx_cv_fdopendir=no
72712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72713 else
72714 if test x$gcc_no_link = xyes; then
72715 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72718 /* end confdefs.h. */
72719 #include <dirent.h>
72721 main ()
72723 ::DIR* dir = ::fdopendir(1);
72725 return 0;
72727 _ACEOF
72728 if ac_fn_cxx_try_link "$LINENO"; then :
72729 glibcxx_cv_fdopendir=yes
72730 else
72731 glibcxx_cv_fdopendir=no
72733 rm -f core conftest.err conftest.$ac_objext \
72734 conftest$ac_exeext conftest.$ac_ext
72738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fdopendir" >&5
72739 $as_echo "$glibcxx_cv_fdopendir" >&6; }
72740 if test $glibcxx_cv_fdopendir = yes; then
72742 $as_echo "#define HAVE_FDOPENDIR 1" >>confdefs.h
72745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dirfd" >&5
72746 $as_echo_n "checking for dirfd... " >&6; }
72747 if ${glibcxx_cv_dirfd+:} false; then :
72748 $as_echo_n "(cached) " >&6
72749 else
72750 if test x$gcc_no_link = xyes; then
72751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72752 /* end confdefs.h. */
72753 #include <dirent.h>
72755 main ()
72757 int fd = ::dirfd((::DIR*)0);
72759 return 0;
72761 _ACEOF
72762 if ac_fn_cxx_try_compile "$LINENO"; then :
72763 glibcxx_cv_dirfd=yes
72764 else
72765 glibcxx_cv_dirfd=no
72767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72768 else
72769 if test x$gcc_no_link = xyes; then
72770 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72773 /* end confdefs.h. */
72774 #include <dirent.h>
72776 main ()
72778 int fd = ::dirfd((::DIR*)0);
72780 return 0;
72782 _ACEOF
72783 if ac_fn_cxx_try_link "$LINENO"; then :
72784 glibcxx_cv_dirfd=yes
72785 else
72786 glibcxx_cv_dirfd=no
72788 rm -f core conftest.err conftest.$ac_objext \
72789 conftest$ac_exeext conftest.$ac_ext
72793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirfd" >&5
72794 $as_echo "$glibcxx_cv_dirfd" >&6; }
72795 if test $glibcxx_cv_dirfd = yes; then
72797 $as_echo "#define HAVE_DIRFD 1" >>confdefs.h
72800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openat" >&5
72801 $as_echo_n "checking for openat... " >&6; }
72802 if ${glibcxx_cv_openat+:} false; then :
72803 $as_echo_n "(cached) " >&6
72804 else
72805 if test x$gcc_no_link = xyes; then
72806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72807 /* end confdefs.h. */
72808 #include <fcntl.h>
72810 main ()
72812 int fd = ::openat(AT_FDCWD, "", 0);
72814 return 0;
72816 _ACEOF
72817 if ac_fn_cxx_try_compile "$LINENO"; then :
72818 glibcxx_cv_openat=yes
72819 else
72820 glibcxx_cv_openat=no
72822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72823 else
72824 if test x$gcc_no_link = xyes; then
72825 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72828 /* end confdefs.h. */
72829 #include <fcntl.h>
72831 main ()
72833 int fd = ::openat(AT_FDCWD, "", 0);
72835 return 0;
72837 _ACEOF
72838 if ac_fn_cxx_try_link "$LINENO"; then :
72839 glibcxx_cv_openat=yes
72840 else
72841 glibcxx_cv_openat=no
72843 rm -f core conftest.err conftest.$ac_objext \
72844 conftest$ac_exeext conftest.$ac_ext
72848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_openat" >&5
72849 $as_echo "$glibcxx_cv_openat" >&6; }
72850 if test $glibcxx_cv_openat = yes; then
72852 $as_echo "#define HAVE_OPENAT 1" >>confdefs.h
72855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unlinkat" >&5
72856 $as_echo_n "checking for unlinkat... " >&6; }
72857 if ${glibcxx_cv_unlinkat+:} false; then :
72858 $as_echo_n "(cached) " >&6
72859 else
72860 if test x$gcc_no_link = xyes; then
72861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72862 /* end confdefs.h. */
72863 #include <fcntl.h>
72864 #include <unistd.h>
72866 main ()
72868 ::unlinkat(AT_FDCWD, "", AT_REMOVEDIR);
72870 return 0;
72872 _ACEOF
72873 if ac_fn_cxx_try_compile "$LINENO"; then :
72874 glibcxx_cv_unlinkat=yes
72875 else
72876 glibcxx_cv_unlinkat=no
72878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72879 else
72880 if test x$gcc_no_link = xyes; then
72881 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72884 /* end confdefs.h. */
72885 #include <fcntl.h>
72886 #include <unistd.h>
72888 main ()
72890 ::unlinkat(AT_FDCWD, "", AT_REMOVEDIR);
72892 return 0;
72894 _ACEOF
72895 if ac_fn_cxx_try_link "$LINENO"; then :
72896 glibcxx_cv_unlinkat=yes
72897 else
72898 glibcxx_cv_unlinkat=no
72900 rm -f core conftest.err conftest.$ac_objext \
72901 conftest$ac_exeext conftest.$ac_ext
72905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_unlinkat" >&5
72906 $as_echo "$glibcxx_cv_unlinkat" >&6; }
72907 if test $glibcxx_cv_unlinkat = yes; then
72909 $as_echo "#define HAVE_UNLINKAT 1" >>confdefs.h
72912 CXXFLAGS="$ac_save_CXXFLAGS"
72913 ac_ext=c
72914 ac_cpp='$CPP $CPPFLAGS'
72915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72922 # Check whether --enable-libstdcxx-backtrace was given.
72923 if test "${enable_libstdcxx_backtrace+set}" = set; then :
72924 enableval=$enable_libstdcxx_backtrace;
72925 case "$enableval" in
72926 yes|no|auto) ;;
72927 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-backtrace" "$LINENO" 5 ;;
72928 esac
72930 else
72931 enable_libstdcxx_backtrace=auto
72936 # Most of this is adapted from libsanitizer/configure.ac
72938 BACKTRACE_CPPFLAGS=
72940 # libbacktrace only needs atomics for int, which we've already tested
72941 if test "$glibcxx_cv_atomic_int" = "yes"; then
72942 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_ATOMIC_FUNCTIONS=1"
72945 # Test for __sync support.
72946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __sync extensions" >&5
72947 $as_echo_n "checking __sync extensions... " >&6; }
72948 if ${glibcxx_cv_sys_sync+:} false; then :
72949 $as_echo_n "(cached) " >&6
72950 else
72951 if test x$gcc_no_link = xyes; then
72952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72953 /* end confdefs.h. */
72954 int i;
72956 main ()
72958 __sync_bool_compare_and_swap (&i, i, i);
72959 __sync_lock_test_and_set (&i, 1);
72960 __sync_lock_release (&i);
72962 return 0;
72964 _ACEOF
72965 if ac_fn_c_try_compile "$LINENO"; then :
72966 glibcxx_cv_sys_sync=yes
72967 else
72968 glibcxx_cv_sys_sync=no
72970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72971 else
72972 if test x$gcc_no_link = xyes; then
72973 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72976 /* end confdefs.h. */
72977 int i;
72979 main ()
72981 __sync_bool_compare_and_swap (&i, i, i);
72982 __sync_lock_test_and_set (&i, 1);
72983 __sync_lock_release (&i);
72985 return 0;
72987 _ACEOF
72988 if ac_fn_c_try_link "$LINENO"; then :
72989 glibcxx_cv_sys_sync=yes
72990 else
72991 glibcxx_cv_sys_sync=no
72993 rm -f core conftest.err conftest.$ac_objext \
72994 conftest$ac_exeext conftest.$ac_ext
72998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sync" >&5
72999 $as_echo "$glibcxx_cv_sys_sync" >&6; }
73000 if test "$glibcxx_cv_sys_sync" = "yes"; then
73001 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_SYNC_FUNCTIONS=1"
73004 # Check for dl_iterate_phdr.
73005 for ac_header in link.h
73006 do :
73007 ac_fn_c_check_header_mongrel "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
73008 if test "x$ac_cv_header_link_h" = xyes; then :
73009 cat >>confdefs.h <<_ACEOF
73010 #define HAVE_LINK_H 1
73011 _ACEOF
73015 done
73017 if test "$ac_cv_header_link_h" = "no"; then
73018 have_dl_iterate_phdr=no
73019 else
73020 # When built as a GCC target library, we can't do a link test.
73021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73022 /* end confdefs.h. */
73023 #include <link.h>
73025 _ACEOF
73026 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
73027 $EGREP "dl_iterate_phdr" >/dev/null 2>&1; then :
73028 have_dl_iterate_phdr=yes
73029 else
73030 have_dl_iterate_phdr=no
73032 rm -f conftest*
73035 if test "$have_dl_iterate_phdr" = "yes"; then
73036 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_DL_ITERATE_PHDR=1"
73038 for ac_header in windows.h
73039 do :
73040 ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
73041 if test "x$ac_cv_header_windows_h" = xyes; then :
73042 cat >>confdefs.h <<_ACEOF
73043 #define HAVE_WINDOWS_H 1
73044 _ACEOF
73048 done
73051 # Check for the fcntl function.
73052 if test -n "${with_target_subdir}"; then
73053 case "${host}" in
73054 *-*-mingw*) have_fcntl=no ;;
73055 *) have_fcntl=yes ;;
73056 esac
73057 else
73058 ac_fn_c_check_func "$LINENO" "fcntl" "ac_cv_func_fcntl"
73059 if test "x$ac_cv_func_fcntl" = xyes; then :
73060 have_fcntl=yes
73061 else
73062 have_fcntl=no
73066 if test "$have_fcntl" = "yes"; then
73067 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_FCNTL=1"
73070 ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
73071 if test "x$ac_cv_have_decl_strnlen" = xyes; then :
73072 ac_have_decl=1
73073 else
73074 ac_have_decl=0
73077 cat >>confdefs.h <<_ACEOF
73078 #define HAVE_DECL_STRNLEN $ac_have_decl
73079 _ACEOF
73082 # Check for getexecname function.
73083 if test -n "${with_target_subdir}"; then
73084 case "${host}" in
73085 *-*-solaris2*) have_getexecname=yes ;;
73086 *) have_getexecname=no ;;
73087 esac
73088 else
73089 ac_fn_c_check_func "$LINENO" "getexecname" "ac_cv_func_getexecname"
73090 if test "x$ac_cv_func_getexecname" = xyes; then :
73091 have_getexecname=yes
73092 else
73093 have_getexecname=no
73097 if test "$have_getexecname" = "yes"; then
73098 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_GETEXECNAME=1"
73101 # The library needs to be able to read the executable itself. Compile
73102 # a file to determine the executable format. The awk script
73103 # filetype.awk prints out the file type.
73104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking output filetype" >&5
73105 $as_echo_n "checking output filetype... " >&6; }
73106 if ${glibcxx_cv_sys_filetype+:} false; then :
73107 $as_echo_n "(cached) " >&6
73108 else
73109 filetype=
73110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73111 /* end confdefs.h. */
73112 int i;
73114 main ()
73116 int j;
73118 return 0;
73120 _ACEOF
73121 if ac_fn_c_try_compile "$LINENO"; then :
73122 filetype=`${AWK} -f $srcdir/../libbacktrace/filetype.awk conftest.$ac_objext`
73123 else
73124 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
73125 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
73126 as_fn_error $? "compiler failed
73127 See \`config.log' for more details" "$LINENO" 5; }
73129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73130 glibcxx_cv_sys_filetype=$filetype
73132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_filetype" >&5
73133 $as_echo "$glibcxx_cv_sys_filetype" >&6; }
73135 # Match the file type to decide what files to compile.
73136 FORMAT_FILE=
73137 case "$glibcxx_cv_sys_filetype" in
73138 elf*) FORMAT_FILE="elf.lo" ;;
73139 pecoff*) FORMAT_FILE="pecoff.lo" ;;
73140 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine output file type" >&5
73141 $as_echo "$as_me: WARNING: could not determine output file type" >&2;}
73142 FORMAT_FILE="unknown.lo"
73143 enable_libstdcxx_backtrace=no
73145 esac
73148 # ELF defines.
73149 elfsize=
73150 case "$glibcxx_cv_sys_filetype" in
73151 elf32) elfsize=32 ;;
73152 elf64) elfsize=64 ;;
73153 esac
73154 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DBACKTRACE_ELF_SIZE=$elfsize"
73156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build libbacktrace support" >&5
73157 $as_echo_n "checking whether to build libbacktrace support... " >&6; }
73158 if test "$enable_libstdcxx_backtrace" = "auto"; then
73159 enable_libstdcxx_backtrace=yes
73161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_backtrace" >&5
73162 $as_echo "$enable_libstdcxx_backtrace" >&6; }
73163 if test "$enable_libstdcxx_backtrace" = "yes"; then
73164 BACKTRACE_SUPPORTED=1
73166 for ac_header in sys/mman.h
73167 do :
73168 ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
73169 if test "x$ac_cv_header_sys_mman_h" = xyes; then :
73170 cat >>confdefs.h <<_ACEOF
73171 #define HAVE_SYS_MMAN_H 1
73172 _ACEOF
73176 done
73178 case "${host}" in
73179 *-*-msdosdjgpp) # DJGPP has sys/man.h, but no mmap
73180 have_mmap=no ;;
73181 *-*-*)
73182 have_mmap="$ac_cv_header_sys_mman_h" ;;
73183 esac
73185 if test "$have_mmap" = "no"; then
73186 VIEW_FILE=read.lo
73187 ALLOC_FILE=alloc.lo
73188 else
73189 VIEW_FILE=mmapio.lo
73190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73191 /* end confdefs.h. */
73193 #include <sys/mman.h>
73194 #if !defined(MAP_ANONYMOUS) && !defined(MAP_ANON)
73195 #error no MAP_ANONYMOUS
73196 #endif
73198 _ACEOF
73199 if ac_fn_c_try_cpp "$LINENO"; then :
73200 ALLOC_FILE=mmap.lo
73201 else
73202 ALLOC_FILE=alloc.lo
73204 rm -f conftest.err conftest.i conftest.$ac_ext
73209 BACKTRACE_USES_MALLOC=0
73210 if test "$ALLOC_FILE" = "alloc.lo"; then
73211 BACKTRACE_USES_MALLOC=1
73214 if test "$ac_has_gthreads" = "yes"; then
73215 BACKTRACE_SUPPORTS_THREADS=1
73216 else
73217 BACKTRACE_SUPPORTS_THREADS=0
73224 $as_echo "#define HAVE_STACKTRACE 1" >>confdefs.h
73226 else
73227 BACKTRACE_SUPPORTED=0
73228 BACKTRACE_USES_MALLOC=0
73229 BACKTRACE_SUPPORTS_THREADS=0
73234 # For Networking TS.
73235 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
73236 do :
73237 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
73238 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
73239 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
73240 cat >>confdefs.h <<_ACEOF
73241 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
73242 _ACEOF
73246 done
73248 ac_fn_c_check_decl "$LINENO" "F_GETFL" "ac_cv_have_decl_F_GETFL" "#include <fcntl.h>
73250 if test "x$ac_cv_have_decl_F_GETFL" = xyes; then :
73254 ac_fn_c_check_decl "$LINENO" "F_SETFL" "ac_cv_have_decl_F_SETFL" "#include <fcntl.h>
73256 if test "x$ac_cv_have_decl_F_SETFL" = xyes; then :
73260 if test "$ac_cv_have_decl_F_GETFL$ac_cv_have_decl_F_SETFL" = yesyes ; then
73261 ac_fn_c_check_decl "$LINENO" "O_NONBLOCK" "ac_cv_have_decl_O_NONBLOCK" "#include <fcntl.h>
73263 if test "x$ac_cv_have_decl_O_NONBLOCK" = xyes; then :
73269 # For Transactional Memory TS
73271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
73272 $as_echo_n "checking how size_t is mangled... " >&6; }
73273 if ${glibcxx_cv_size_t_mangling+:} false; then :
73274 $as_echo_n "(cached) " >&6
73275 else
73277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73278 /* end confdefs.h. */
73281 main ()
73283 extern __SIZE_TYPE__ x; extern unsigned long x;
73285 return 0;
73287 _ACEOF
73288 if ac_fn_c_try_compile "$LINENO"; then :
73289 glibcxx_cv_size_t_mangling=m
73290 else
73292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73293 /* end confdefs.h. */
73296 main ()
73298 extern __SIZE_TYPE__ x; extern unsigned int x;
73300 return 0;
73302 _ACEOF
73303 if ac_fn_c_try_compile "$LINENO"; then :
73304 glibcxx_cv_size_t_mangling=j
73305 else
73307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73308 /* end confdefs.h. */
73311 main ()
73313 extern __SIZE_TYPE__ x; extern unsigned long long x;
73315 return 0;
73317 _ACEOF
73318 if ac_fn_c_try_compile "$LINENO"; then :
73319 glibcxx_cv_size_t_mangling=y
73320 else
73322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73323 /* end confdefs.h. */
73326 main ()
73328 extern __SIZE_TYPE__ x; extern unsigned short x;
73330 return 0;
73332 _ACEOF
73333 if ac_fn_c_try_compile "$LINENO"; then :
73334 glibcxx_cv_size_t_mangling=t
73335 else
73337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73338 /* end confdefs.h. */
73341 main ()
73343 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
73345 return 0;
73347 _ACEOF
73348 if ac_fn_c_try_compile "$LINENO"; then :
73349 glibcxx_cv_size_t_mangling=u6uint20
73350 else
73351 glibcxx_cv_size_t_mangling=x
73353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
73369 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
73370 if test $glibcxx_cv_size_t_mangling = x; then
73371 as_fn_error $? "Unknown underlying type for size_t" "$LINENO" 5
73374 cat >>confdefs.h <<_ACEOF
73375 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
73376 _ACEOF
73380 # Check which release added std::exception_ptr for the target
73382 if test $enable_symvers != no; then
73383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
73384 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
73385 case ${target} in
73386 aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
73387 m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
73388 ac_exception_ptr_since_gcc46=yes
73391 # If the value of this macro changes then we will need to hardcode
73392 # yes/no here for additional targets based on the original value.
73393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73394 /* end confdefs.h. */
73397 main ()
73400 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
73401 # error atomic int not always lock free
73402 #endif
73405 return 0;
73407 _ACEOF
73408 if ac_fn_c_try_compile "$LINENO"; then :
73409 ac_exception_ptr_since_gcc46=yes
73410 else
73411 ac_exception_ptr_since_gcc46=no
73413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73415 esac
73416 if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
73418 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
73420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
73421 $as_echo "4.6.0" >&6; }
73422 else
73423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
73424 $as_echo "7.1.0" >&6; }
73429 # For libsupc++/eh_alloc.cc defaults.
73431 eh_pool_static=
73432 eh_pool_nobjs=
73433 # Check whether --enable-libstdcxx-static-eh-pool was given.
73434 if test "${enable_libstdcxx_static_eh_pool+set}" = set; then :
73435 enableval=$enable_libstdcxx_static_eh_pool; if test "${enableval}" = yes; then
73436 eh_pool_static="-D_GLIBCXX_EH_POOL_STATIC"
73437 { $as_echo "$as_me:${as_lineno-$LINENO}: EH pool using static buffer" >&5
73438 $as_echo "$as_me: EH pool using static buffer" >&6;}
73444 # Check whether --with-libstdcxx-eh-pool-obj-count was given.
73445 if test "${with_libstdcxx_eh_pool_obj_count+set}" = set; then :
73446 withval=$with_libstdcxx_eh_pool_obj_count; if test "${withval}" -ge 0 2>/dev/null; then
73447 eh_pool_obj_count="-D_GLIBCXX_EH_POOL_NOBJS=${withval}"
73448 { $as_echo "$as_me:${as_lineno-$LINENO}: EH pool object count: ${withval}" >&5
73449 $as_echo "$as_me: EH pool object count: ${withval}" >&6;}
73450 else
73451 as_fn_error $? "EH pool obj count must be a non-negative integer: $withval" "$LINENO" 5
73456 EH_POOL_FLAGS="$eh_pool_static $eh_pool_obj_count"
73460 # For src/c++20/tzdb.cc defaults.
73463 # Check whether --with-libstdcxx-zoneinfo was given.
73464 if test "${with_libstdcxx_zoneinfo+set}" = set; then :
73465 withval=$with_libstdcxx_zoneinfo;
73466 else
73467 with_libstdcxx_zoneinfo=yes
73471 if test "x${with_libstdcxx_zoneinfo}" = xyes; then
73472 # Pick a default when no specific path is set.
73473 case "$target_os" in
73474 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
73475 # Not all distros ship tzdata.zi in this dir.
73476 zoneinfo_dir="/usr/share/zoneinfo"
73478 aix*)
73479 # Binary tzfile files are in /usr/share/lib/zoneinfo
73480 # but tzdata.zi is not present there.
73481 zoneinfo_dir=none
73483 darwin2*)
73484 # Binary tzfile files are in /usr/share/lib/zoneinfo.default
73485 # but tzdata.zi is not present there.
73486 zoneinfo_dir=none
73489 # Binary tzfile files are commonly found in /usr/share/zoneinfo
73490 # but tzdata.zi is not present there.
73491 zoneinfo_dir=none
73493 esac
73495 if ac_fn_c_compute_int "$LINENO" "__INTPTR_WIDTH__ >= 32" "glibcxx_cv_at_least_32bit" ""; then :
73499 if test "$glibcxx_cv_at_least_32bit" -ne 0; then
73500 # Also embed a copy of the tzdata.zi file as a static string.
73501 embed_zoneinfo=yes
73502 else
73503 # The embedded data is too large for 16-bit targets.
73504 embed_zoneinfo=no
73506 elif test "x${with_libstdcxx_zoneinfo}" = xno; then
73507 # Disable tzdb support completely.
73508 zoneinfo_dir=none
73509 embed_zoneinfo=no
73510 else
73511 case "${with_libstdcxx_zoneinfo}" in
73512 static)
73513 # Do not attempt to read from disk, always use embedded data.
73514 zoneinfo_dir=none
73515 embed_zoneinfo=yes
73517 static,* | *,static)
73518 # Try to read from disk, use embedded data as fallback.
73519 zoneinfo_dir="${with_libstdcxx_zoneinfo#static,}"
73520 zoneinfo_dir="${with_libstdcxx_zoneinfo%,static}"
73521 embed_zoneinfo=yes
73524 zoneinfo_dir="${with_libstdcxx_zoneinfo}"
73525 embed_zoneinfo=no
73527 esac
73529 { $as_echo "$as_me:${as_lineno-$LINENO}: zoneinfo data directory: ${zoneinfo_dir}" >&5
73530 $as_echo "$as_me: zoneinfo data directory: ${zoneinfo_dir}" >&6;}
73531 if test "x${zoneinfo_dir}" != xnone; then
73533 cat >>confdefs.h <<_ACEOF
73534 #define _GLIBCXX_ZONEINFO_DIR "${zoneinfo_dir}"
73535 _ACEOF
73537 if $GLIBCXX_IS_NATIVE && ! test -f "$zoneinfo_dir/tzdata.zi"; then
73538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"$zoneinfo_dir does not contain tzdata.zi file\"" >&5
73539 $as_echo "$as_me: WARNING: \"$zoneinfo_dir does not contain tzdata.zi file\"" >&2;}
73543 if test "x${embed_zoneinfo}" = xyes; then
73544 { $as_echo "$as_me:${as_lineno-$LINENO}: static tzdata.zi file will be compiled into the library" >&5
73545 $as_echo "$as_me: static tzdata.zi file will be compiled into the library" >&6;}
73547 cat >>confdefs.h <<_ACEOF
73548 #define _GLIBCXX_STATIC_TZDATA 1
73549 _ACEOF
73554 # For src/c++11/shared_ptr.cc alignment.
73557 ac_ext=cpp
73558 ac_cpp='$CXXCPP $CPPFLAGS'
73559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether static objects can be aligned to the cacheline size" >&5
73565 $as_echo_n "checking whether static objects can be aligned to the cacheline size... " >&6; }
73566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73567 /* end confdefs.h. */
73570 main ()
73572 struct alignas(__GCC_DESTRUCTIVE_SIZE) Aligned { };
73573 alignas(Aligned) static char buf[sizeof(Aligned) * 16];
73576 return 0;
73578 _ACEOF
73579 if ac_fn_cxx_try_compile "$LINENO"; then :
73580 ac_alignas_cacheline=yes
73581 else
73582 ac_alignas_cacheline=no
73584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73585 if test "$ac_alignas_cacheline" = yes; then
73587 cat >>confdefs.h <<_ACEOF
73588 #define _GLIBCXX_CAN_ALIGNAS_DESTRUCTIVE_SIZE 1
73589 _ACEOF
73592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_alignas_cacheline" >&5
73593 $as_echo "$ac_alignas_cacheline" >&6; }
73595 ac_ext=c
73596 ac_cpp='$CPP $CPPFLAGS'
73597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73603 # For using init_priority in ios_init.cc
73606 ac_ext=cpp
73607 ac_cpp='$CXXCPP $CPPFLAGS'
73608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether init_priority attribute is supported" >&5
73614 $as_echo_n "checking whether init_priority attribute is supported... " >&6; }
73615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73616 /* end confdefs.h. */
73619 main ()
73622 #if ! __has_attribute(init_priority)
73623 #error init_priority not supported
73624 #endif
73627 return 0;
73629 _ACEOF
73630 if ac_fn_cxx_try_compile "$LINENO"; then :
73631 ac_init_priority=yes
73632 else
73633 ac_init_priority=no
73635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73636 if test "$ac_init_priority" = yes; then
73638 cat >>confdefs.h <<_ACEOF
73639 #define _GLIBCXX_USE_INIT_PRIORITY_ATTRIBUTE 1
73640 _ACEOF
73643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_init_priority" >&5
73644 $as_echo "$ac_init_priority" >&6; }
73646 ac_ext=c
73647 ac_cpp='$CPP $CPPFLAGS'
73648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73654 # Define documentation rules conditionally.
73656 # See if makeinfo has been installed and is modern enough
73657 # that we can use it.
73659 # Extract the first word of "makeinfo", so it can be a program name with args.
73660 set dummy makeinfo; ac_word=$2
73661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
73662 $as_echo_n "checking for $ac_word... " >&6; }
73663 if ${ac_cv_prog_MAKEINFO+:} false; then :
73664 $as_echo_n "(cached) " >&6
73665 else
73666 if test -n "$MAKEINFO"; then
73667 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
73668 else
73669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73670 for as_dir in $PATH
73672 IFS=$as_save_IFS
73673 test -z "$as_dir" && as_dir=.
73674 for ac_exec_ext in '' $ac_executable_extensions; do
73675 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
73676 ac_cv_prog_MAKEINFO="makeinfo"
73677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
73678 break 2
73680 done
73681 done
73682 IFS=$as_save_IFS
73686 MAKEINFO=$ac_cv_prog_MAKEINFO
73687 if test -n "$MAKEINFO"; then
73688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
73689 $as_echo "$MAKEINFO" >&6; }
73690 else
73691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
73692 $as_echo "no" >&6; }
73696 if test -n "$MAKEINFO"; then
73697 # Found it, now check the version.
73698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
73699 $as_echo_n "checking for modern makeinfo... " >&6; }
73700 if ${gcc_cv_prog_makeinfo_modern+:} false; then :
73701 $as_echo_n "(cached) " >&6
73702 else
73703 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
73704 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
73706 case $ac_prog_version in
73707 '') gcc_cv_prog_makeinfo_modern=no;;
73708 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
73709 *) gcc_cv_prog_makeinfo_modern=no;;
73710 esac
73713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
73714 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
73715 else
73716 gcc_cv_prog_makeinfo_modern=no
73718 if test $gcc_cv_prog_makeinfo_modern = no; then
73719 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
73722 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
73723 BUILD_INFO_TRUE=
73724 BUILD_INFO_FALSE='#'
73725 else
73726 BUILD_INFO_TRUE='#'
73727 BUILD_INFO_FALSE=
73731 # Check for doxygen
73732 # Extract the first word of "doxygen", so it can be a program name with args.
73733 set dummy doxygen; ac_word=$2
73734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
73735 $as_echo_n "checking for $ac_word... " >&6; }
73736 if ${ac_cv_prog_DOXYGEN+:} false; then :
73737 $as_echo_n "(cached) " >&6
73738 else
73739 if test -n "$DOXYGEN"; then
73740 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
73741 else
73742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73743 for as_dir in $PATH
73745 IFS=$as_save_IFS
73746 test -z "$as_dir" && as_dir=.
73747 for ac_exec_ext in '' $ac_executable_extensions; do
73748 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
73749 ac_cv_prog_DOXYGEN="yes"
73750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
73751 break 2
73753 done
73754 done
73755 IFS=$as_save_IFS
73757 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
73760 DOXYGEN=$ac_cv_prog_DOXYGEN
73761 if test -n "$DOXYGEN"; then
73762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
73763 $as_echo "$DOXYGEN" >&6; }
73764 else
73765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
73766 $as_echo "no" >&6; }
73770 # Extract the first word of "dot", so it can be a program name with args.
73771 set dummy dot; ac_word=$2
73772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
73773 $as_echo_n "checking for $ac_word... " >&6; }
73774 if ${ac_cv_prog_DOT+:} false; then :
73775 $as_echo_n "(cached) " >&6
73776 else
73777 if test -n "$DOT"; then
73778 ac_cv_prog_DOT="$DOT" # Let the user override the test.
73779 else
73780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73781 for as_dir in $PATH
73783 IFS=$as_save_IFS
73784 test -z "$as_dir" && as_dir=.
73785 for ac_exec_ext in '' $ac_executable_extensions; do
73786 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
73787 ac_cv_prog_DOT="yes"
73788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
73789 break 2
73791 done
73792 done
73793 IFS=$as_save_IFS
73795 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
73798 DOT=$ac_cv_prog_DOT
73799 if test -n "$DOT"; then
73800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
73801 $as_echo "$DOT" >&6; }
73802 else
73803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
73804 $as_echo "no" >&6; }
73809 # Check for docbook
73810 # Extract the first word of "xmlcatalog", so it can be a program name with args.
73811 set dummy xmlcatalog; ac_word=$2
73812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
73813 $as_echo_n "checking for $ac_word... " >&6; }
73814 if ${ac_cv_prog_XMLCATALOG+:} false; then :
73815 $as_echo_n "(cached) " >&6
73816 else
73817 if test -n "$XMLCATALOG"; then
73818 ac_cv_prog_XMLCATALOG="$XMLCATALOG" # Let the user override the test.
73819 else
73820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73821 for as_dir in $PATH
73823 IFS=$as_save_IFS
73824 test -z "$as_dir" && as_dir=.
73825 for ac_exec_ext in '' $ac_executable_extensions; do
73826 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
73827 ac_cv_prog_XMLCATALOG="yes"
73828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
73829 break 2
73831 done
73832 done
73833 IFS=$as_save_IFS
73835 test -z "$ac_cv_prog_XMLCATALOG" && ac_cv_prog_XMLCATALOG="no"
73838 XMLCATALOG=$ac_cv_prog_XMLCATALOG
73839 if test -n "$XMLCATALOG"; then
73840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLCATALOG" >&5
73841 $as_echo "$XMLCATALOG" >&6; }
73842 else
73843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
73844 $as_echo "no" >&6; }
73848 # Extract the first word of "xsltproc", so it can be a program name with args.
73849 set dummy xsltproc; ac_word=$2
73850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
73851 $as_echo_n "checking for $ac_word... " >&6; }
73852 if ${ac_cv_prog_XSLTPROC+:} false; then :
73853 $as_echo_n "(cached) " >&6
73854 else
73855 if test -n "$XSLTPROC"; then
73856 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
73857 else
73858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73859 for as_dir in $PATH
73861 IFS=$as_save_IFS
73862 test -z "$as_dir" && as_dir=.
73863 for ac_exec_ext in '' $ac_executable_extensions; do
73864 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
73865 ac_cv_prog_XSLTPROC="yes"
73866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
73867 break 2
73869 done
73870 done
73871 IFS=$as_save_IFS
73873 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
73876 XSLTPROC=$ac_cv_prog_XSLTPROC
73877 if test -n "$XSLTPROC"; then
73878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
73879 $as_echo "$XSLTPROC" >&6; }
73880 else
73881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
73882 $as_echo "no" >&6; }
73886 # Extract the first word of "xmllint", so it can be a program name with args.
73887 set dummy xmllint; ac_word=$2
73888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
73889 $as_echo_n "checking for $ac_word... " >&6; }
73890 if ${ac_cv_prog_XMLLINT+:} false; then :
73891 $as_echo_n "(cached) " >&6
73892 else
73893 if test -n "$XMLLINT"; then
73894 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
73895 else
73896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73897 for as_dir in $PATH
73899 IFS=$as_save_IFS
73900 test -z "$as_dir" && as_dir=.
73901 for ac_exec_ext in '' $ac_executable_extensions; do
73902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
73903 ac_cv_prog_XMLLINT="yes"
73904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
73905 break 2
73907 done
73908 done
73909 IFS=$as_save_IFS
73911 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
73914 XMLLINT=$ac_cv_prog_XMLLINT
73915 if test -n "$XMLLINT"; then
73916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
73917 $as_echo "$XMLLINT" >&6; }
73918 else
73919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
73920 $as_echo "no" >&6; }
73926 glibcxx_docbook_url=http://docbook.sourceforge.net/release/xsl-ns/current/
73928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
73929 $as_echo_n "checking for local stylesheet directory... " >&6; }
73930 glibcxx_local_stylesheets=no
73931 if test x${XMLCATALOG} = xyes && xsl_style_dir=`xmlcatalog "" $glibcxx_docbook_url 2>/dev/null`
73932 then
73933 XSL_STYLE_DIR=`echo $xsl_style_dir | sed -n 's;^file://;;p'`
73934 glibcxx_local_stylesheets=yes
73935 else
73936 for dir in \
73937 /usr/share/sgml/docbook/xsl-ns-stylesheets \
73938 /usr/share/xml/docbook/stylesheet/docbook-xsl-ns \
73939 /usr/share/xml/docbook/stylesheet/nwalsh5/current \
73940 /usr/share/xml/docbook/stylesheet/nwalsh/current
73942 if test -d $dir; then
73943 glibcxx_local_stylesheets=yes
73944 XSL_STYLE_DIR=$dir
73945 break
73947 done
73949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
73950 $as_echo "$glibcxx_local_stylesheets" >&6; }
73952 if test x"$glibcxx_local_stylesheets" = x"yes"; then
73954 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
73955 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
73957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
73958 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
73959 glibcxx_stylesheets=no
73960 if test x${XMLCATALOG} = xno || xmlcatalog "" $glibcxx_docbook_url/xhtml/docbook.xsl >/dev/null 2>&1; then
73961 if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude $glibcxx_docbook_url/xhtml/docbook.xsl - 2>/dev/null; then
73962 glibcxx_stylesheets=yes
73965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
73966 $as_echo "$glibcxx_stylesheets" >&6; }
73968 else
73969 glibcxx_stylesheets=no
73972 # Check for epub3 dependencies.
73973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
73974 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
73975 glibcxx_epub_stylesheets=no
73976 if test x"$glibcxx_local_stylesheets" = x"yes"; then
73977 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
73978 glibcxx_epub_stylesheets=yes
73981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
73982 $as_echo "$glibcxx_epub_stylesheets" >&6; }
73983 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
73984 BUILD_EPUB_TRUE=
73985 BUILD_EPUB_FALSE='#'
73986 else
73987 BUILD_EPUB_TRUE='#'
73988 BUILD_EPUB_FALSE=
73994 # Check for xml/html dependencies.
73995 if test $ac_cv_prog_DOXYGEN = "yes" &&
73996 test $ac_cv_prog_DOT = "yes" &&
73997 test $ac_cv_prog_XSLTPROC = "yes" &&
73998 test $ac_cv_prog_XMLLINT = "yes" &&
73999 test $glibcxx_stylesheets = "yes"; then
74000 BUILD_XML_TRUE=
74001 BUILD_XML_FALSE='#'
74002 else
74003 BUILD_XML_TRUE='#'
74004 BUILD_XML_FALSE=
74008 if test $ac_cv_prog_DOXYGEN = "yes" &&
74009 test $ac_cv_prog_DOT = "yes" &&
74010 test $ac_cv_prog_XSLTPROC = "yes" &&
74011 test $ac_cv_prog_XMLLINT = "yes" &&
74012 test $glibcxx_stylesheets = "yes"; then
74013 BUILD_HTML_TRUE=
74014 BUILD_HTML_FALSE='#'
74015 else
74016 BUILD_HTML_TRUE='#'
74017 BUILD_HTML_FALSE=
74021 # Check for man dependencies.
74022 if test $ac_cv_prog_DOXYGEN = "yes" &&
74023 test $ac_cv_prog_DOT = "yes"; then
74024 BUILD_MAN_TRUE=
74025 BUILD_MAN_FALSE='#'
74026 else
74027 BUILD_MAN_TRUE='#'
74028 BUILD_MAN_FALSE=
74032 # Check for pdf dependencies.
74033 # Extract the first word of "dblatex", so it can be a program name with args.
74034 set dummy dblatex; ac_word=$2
74035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
74036 $as_echo_n "checking for $ac_word... " >&6; }
74037 if ${ac_cv_prog_DBLATEX+:} false; then :
74038 $as_echo_n "(cached) " >&6
74039 else
74040 if test -n "$DBLATEX"; then
74041 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
74042 else
74043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74044 for as_dir in $PATH
74046 IFS=$as_save_IFS
74047 test -z "$as_dir" && as_dir=.
74048 for ac_exec_ext in '' $ac_executable_extensions; do
74049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
74050 ac_cv_prog_DBLATEX="yes"
74051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
74052 break 2
74054 done
74055 done
74056 IFS=$as_save_IFS
74058 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
74061 DBLATEX=$ac_cv_prog_DBLATEX
74062 if test -n "$DBLATEX"; then
74063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
74064 $as_echo "$DBLATEX" >&6; }
74065 else
74066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
74067 $as_echo "no" >&6; }
74071 # Extract the first word of "pdflatex", so it can be a program name with args.
74072 set dummy pdflatex; ac_word=$2
74073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
74074 $as_echo_n "checking for $ac_word... " >&6; }
74075 if ${ac_cv_prog_PDFLATEX+:} false; then :
74076 $as_echo_n "(cached) " >&6
74077 else
74078 if test -n "$PDFLATEX"; then
74079 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
74080 else
74081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74082 for as_dir in $PATH
74084 IFS=$as_save_IFS
74085 test -z "$as_dir" && as_dir=.
74086 for ac_exec_ext in '' $ac_executable_extensions; do
74087 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
74088 ac_cv_prog_PDFLATEX="yes"
74089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
74090 break 2
74092 done
74093 done
74094 IFS=$as_save_IFS
74096 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
74099 PDFLATEX=$ac_cv_prog_PDFLATEX
74100 if test -n "$PDFLATEX"; then
74101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
74102 $as_echo "$PDFLATEX" >&6; }
74103 else
74104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
74105 $as_echo "no" >&6; }
74109 if test $ac_cv_prog_DOXYGEN = "yes" &&
74110 test $ac_cv_prog_DOT = "yes" &&
74111 test $ac_cv_prog_XSLTPROC = "yes" &&
74112 test $ac_cv_prog_XMLLINT = "yes" &&
74113 test $ac_cv_prog_DBLATEX = "yes" &&
74114 test $ac_cv_prog_PDFLATEX = "yes"; then
74115 BUILD_PDF_TRUE=
74116 BUILD_PDF_FALSE='#'
74117 else
74118 BUILD_PDF_TRUE='#'
74119 BUILD_PDF_FALSE=
74123 case "$build" in
74124 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
74125 * ) glibcxx_include_dir_notparallel=no ;;
74126 esac
74127 if test $glibcxx_include_dir_notparallel = "yes"; then
74128 INCLUDE_DIR_NOTPARALLEL_TRUE=
74129 INCLUDE_DIR_NOTPARALLEL_FALSE='#'
74130 else
74131 INCLUDE_DIR_NOTPARALLEL_TRUE='#'
74132 INCLUDE_DIR_NOTPARALLEL_FALSE=
74136 # Propagate the target-specific source directories through the build chain.
74137 ATOMICITY_SRCDIR=config/${atomicity_dir}
74138 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
74139 ATOMIC_FLAGS=${atomic_flags}
74140 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
74141 OS_INC_SRCDIR=config/${os_include_dir}
74142 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
74143 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
74144 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
74145 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
74156 # Conditionalize the makefile for this target machine.
74157 tmake_file_=
74158 for f in ${tmake_file}
74160 if test -f ${srcdir}/config/$f
74161 then
74162 tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
74164 done
74165 tmake_file="${tmake_file_}"
74168 # Add CET specific flags if Intel CET is enabled.
74169 # Check whether --enable-cet was given.
74170 if test "${enable_cet+set}" = set; then :
74171 enableval=$enable_cet;
74172 case "$enableval" in
74173 yes|no|auto) ;;
74174 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
74175 esac
74177 else
74178 enable_cet=auto
74182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
74183 $as_echo_n "checking for CET support... " >&6; }
74185 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
74186 case "$host" in
74187 i[34567]86-*-linux* | x86_64-*-linux*)
74188 case "$enable_cet" in
74189 auto)
74190 # Check if target supports multi-byte NOPs
74191 # and if compiler and assembler support CET insn.
74192 cet_save_CFLAGS="$CFLAGS"
74193 CFLAGS="$CFLAGS -fcf-protection"
74194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74195 /* end confdefs.h. */
74198 main ()
74201 #if !defined(__SSE2__)
74202 #error target does not support multi-byte NOPs
74203 #else
74204 asm ("setssbsy");
74205 #endif
74208 return 0;
74210 _ACEOF
74211 if ac_fn_c_try_compile "$LINENO"; then :
74212 enable_cet=yes
74213 else
74214 enable_cet=no
74216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74217 CFLAGS="$cet_save_CFLAGS"
74219 yes)
74220 # Check if assembler supports CET.
74221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74222 /* end confdefs.h. */
74225 main ()
74227 asm ("setssbsy");
74229 return 0;
74231 _ACEOF
74232 if ac_fn_c_try_compile "$LINENO"; then :
74234 else
74235 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
74237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74239 esac
74242 enable_cet=no
74244 esac
74245 if test x$enable_cet = xyes; then
74246 CET_FLAGS="-fcf-protection -mshstk"
74247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
74248 $as_echo "yes" >&6; }
74249 else
74250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
74251 $as_echo "no" >&6; }
74254 EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
74255 EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
74259 # Determine cross-compile flags and AM_CONDITIONALs.
74260 #AC_SUBST(GLIBCXX_IS_NATIVE)
74261 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
74262 if test $is_hosted = yes; then
74263 GLIBCXX_HOSTED_TRUE=
74264 GLIBCXX_HOSTED_FALSE='#'
74265 else
74266 GLIBCXX_HOSTED_TRUE='#'
74267 GLIBCXX_HOSTED_FALSE=
74271 if test $enable_libstdcxx_pch = yes; then
74272 GLIBCXX_BUILD_PCH_TRUE=
74273 GLIBCXX_BUILD_PCH_FALSE='#'
74274 else
74275 GLIBCXX_BUILD_PCH_TRUE='#'
74276 GLIBCXX_BUILD_PCH_FALSE=
74280 if test $enable_float128 = yes; then
74281 ENABLE_FLOAT128_TRUE=
74282 ENABLE_FLOAT128_FALSE='#'
74283 else
74284 ENABLE_FLOAT128_TRUE='#'
74285 ENABLE_FLOAT128_FALSE=
74289 if test $enable_libstdcxx_allocator_flag = new; then
74290 ENABLE_ALLOCATOR_NEW_TRUE=
74291 ENABLE_ALLOCATOR_NEW_FALSE='#'
74292 else
74293 ENABLE_ALLOCATOR_NEW_TRUE='#'
74294 ENABLE_ALLOCATOR_NEW_FALSE=
74298 if test $enable_cheaders = c; then
74299 GLIBCXX_C_HEADERS_C_TRUE=
74300 GLIBCXX_C_HEADERS_C_FALSE='#'
74301 else
74302 GLIBCXX_C_HEADERS_C_TRUE='#'
74303 GLIBCXX_C_HEADERS_C_FALSE=
74307 if test $enable_cheaders = c_std; then
74308 GLIBCXX_C_HEADERS_C_STD_TRUE=
74309 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
74310 else
74311 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
74312 GLIBCXX_C_HEADERS_C_STD_FALSE=
74316 if test $enable_cheaders = c_global; then
74317 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
74318 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
74319 else
74320 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
74321 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
74325 if test $c_compatibility = yes; then
74326 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
74327 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
74328 else
74329 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
74330 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
74334 if test $enable_libstdcxx_debug = yes; then
74335 GLIBCXX_BUILD_DEBUG_TRUE=
74336 GLIBCXX_BUILD_DEBUG_FALSE='#'
74337 else
74338 GLIBCXX_BUILD_DEBUG_TRUE='#'
74339 GLIBCXX_BUILD_DEBUG_FALSE=
74343 if test $enable_extern_template = yes; then
74344 ENABLE_EXTERN_TEMPLATE_TRUE=
74345 ENABLE_EXTERN_TEMPLATE_FALSE='#'
74346 else
74347 ENABLE_EXTERN_TEMPLATE_TRUE='#'
74348 ENABLE_EXTERN_TEMPLATE_FALSE=
74352 if test $python_mod_dir != no; then
74353 ENABLE_PYTHONDIR_TRUE=
74354 ENABLE_PYTHONDIR_FALSE='#'
74355 else
74356 ENABLE_PYTHONDIR_TRUE='#'
74357 ENABLE_PYTHONDIR_FALSE=
74361 if test $enable_werror = yes; then
74362 ENABLE_WERROR_TRUE=
74363 ENABLE_WERROR_FALSE='#'
74364 else
74365 ENABLE_WERROR_TRUE='#'
74366 ENABLE_WERROR_FALSE=
74370 if test $enable_vtable_verify = yes; then
74371 ENABLE_VTABLE_VERIFY_TRUE=
74372 ENABLE_VTABLE_VERIFY_FALSE='#'
74373 else
74374 ENABLE_VTABLE_VERIFY_TRUE='#'
74375 ENABLE_VTABLE_VERIFY_FALSE=
74379 if test $enable_symvers != no; then
74380 ENABLE_SYMVERS_TRUE=
74381 ENABLE_SYMVERS_FALSE='#'
74382 else
74383 ENABLE_SYMVERS_TRUE='#'
74384 ENABLE_SYMVERS_FALSE=
74388 if test $enable_symvers = gnu; then
74389 ENABLE_SYMVERS_GNU_TRUE=
74390 ENABLE_SYMVERS_GNU_FALSE='#'
74391 else
74392 ENABLE_SYMVERS_GNU_TRUE='#'
74393 ENABLE_SYMVERS_GNU_FALSE=
74397 if test $enable_symvers = gnu-versioned-namespace; then
74398 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
74399 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
74400 else
74401 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
74402 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
74406 if test $enable_symvers = darwin; then
74407 ENABLE_SYMVERS_DARWIN_TRUE=
74408 ENABLE_SYMVERS_DARWIN_FALSE='#'
74409 else
74410 ENABLE_SYMVERS_DARWIN_TRUE='#'
74411 ENABLE_SYMVERS_DARWIN_FALSE=
74415 if test $enable_symvers = sun; then
74416 ENABLE_SYMVERS_SUN_TRUE=
74417 ENABLE_SYMVERS_SUN_FALSE='#'
74418 else
74419 ENABLE_SYMVERS_SUN_TRUE='#'
74420 ENABLE_SYMVERS_SUN_FALSE=
74424 if test $enable_libstdcxx_visibility = yes; then
74425 ENABLE_VISIBILITY_TRUE=
74426 ENABLE_VISIBILITY_FALSE='#'
74427 else
74428 ENABLE_VISIBILITY_TRUE='#'
74429 ENABLE_VISIBILITY_FALSE=
74433 if test $enable_libstdcxx_dual_abi = yes; then
74434 ENABLE_DUAL_ABI_TRUE=
74435 ENABLE_DUAL_ABI_FALSE='#'
74436 else
74437 ENABLE_DUAL_ABI_TRUE='#'
74438 ENABLE_DUAL_ABI_FALSE=
74442 if test $glibcxx_cxx11_abi = 1; then
74443 ENABLE_CXX11_ABI_TRUE=
74444 ENABLE_CXX11_ABI_FALSE='#'
74445 else
74446 ENABLE_CXX11_ABI_TRUE='#'
74447 ENABLE_CXX11_ABI_FALSE=
74451 if test $ac_ldbl_compat = yes; then
74452 GLIBCXX_LDBL_COMPAT_TRUE=
74453 GLIBCXX_LDBL_COMPAT_FALSE='#'
74454 else
74455 GLIBCXX_LDBL_COMPAT_TRUE='#'
74456 GLIBCXX_LDBL_COMPAT_FALSE=
74460 if test $ac_ldbl_alt128_compat = yes; then
74461 GLIBCXX_LDBL_ALT128_COMPAT_TRUE=
74462 GLIBCXX_LDBL_ALT128_COMPAT_FALSE='#'
74463 else
74464 GLIBCXX_LDBL_ALT128_COMPAT_TRUE='#'
74465 GLIBCXX_LDBL_ALT128_COMPAT_FALSE=
74469 if test $enable_libstdcxx_filesystem_ts = yes; then
74470 ENABLE_FILESYSTEM_TS_TRUE=
74471 ENABLE_FILESYSTEM_TS_FALSE='#'
74472 else
74473 ENABLE_FILESYSTEM_TS_TRUE='#'
74474 ENABLE_FILESYSTEM_TS_FALSE=
74478 if test "$enable_libstdcxx_backtrace" = yes; then
74479 ENABLE_BACKTRACE_TRUE=
74480 ENABLE_BACKTRACE_FALSE='#'
74481 else
74482 ENABLE_BACKTRACE_TRUE='#'
74483 ENABLE_BACKTRACE_FALSE=
74487 if test "${embed_zoneinfo}" = yes; then
74488 USE_STATIC_TZDATA_TRUE=
74489 USE_STATIC_TZDATA_FALSE='#'
74490 else
74491 USE_STATIC_TZDATA_TRUE='#'
74492 USE_STATIC_TZDATA_FALSE=
74498 cat >confcache <<\_ACEOF
74499 # This file is a shell script that caches the results of configure
74500 # tests run on this system so they can be shared between configure
74501 # scripts and configure runs, see configure's option --config-cache.
74502 # It is not useful on other systems. If it contains results you don't
74503 # want to keep, you may remove or edit it.
74505 # config.status only pays attention to the cache file if you give it
74506 # the --recheck option to rerun configure.
74508 # `ac_cv_env_foo' variables (set or unset) will be overridden when
74509 # loading this file, other *unset* `ac_cv_foo' will be assigned the
74510 # following values.
74512 _ACEOF
74514 # The following way of writing the cache mishandles newlines in values,
74515 # but we know of no workaround that is simple, portable, and efficient.
74516 # So, we kill variables containing newlines.
74517 # Ultrix sh set writes to stderr and can't be redirected directly,
74518 # and sets the high bit in the cache file unless we assign to the vars.
74520 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
74521 eval ac_val=\$$ac_var
74522 case $ac_val in #(
74523 *${as_nl}*)
74524 case $ac_var in #(
74525 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
74526 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
74527 esac
74528 case $ac_var in #(
74529 _ | IFS | as_nl) ;; #(
74530 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
74531 *) { eval $ac_var=; unset $ac_var;} ;;
74532 esac ;;
74533 esac
74534 done
74536 (set) 2>&1 |
74537 case $as_nl`(ac_space=' '; set) 2>&1` in #(
74538 *${as_nl}ac_space=\ *)
74539 # `set' does not quote correctly, so add quotes: double-quote
74540 # substitution turns \\\\ into \\, and sed turns \\ into \.
74541 sed -n \
74542 "s/'/'\\\\''/g;
74543 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
74544 ;; #(
74546 # `set' quotes correctly as required by POSIX, so do not add quotes.
74547 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
74549 esac |
74550 sort
74552 sed '
74553 /^ac_cv_env_/b end
74554 t clear
74555 :clear
74556 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
74557 t end
74558 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
74559 :end' >>confcache
74560 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
74561 if test -w "$cache_file"; then
74562 if test "x$cache_file" != "x/dev/null"; then
74563 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
74564 $as_echo "$as_me: updating cache $cache_file" >&6;}
74565 if test ! -f "$cache_file" || test -h "$cache_file"; then
74566 cat confcache >"$cache_file"
74567 else
74568 case $cache_file in #(
74569 */* | ?:*)
74570 mv -f confcache "$cache_file"$$ &&
74571 mv -f "$cache_file"$$ "$cache_file" ;; #(
74573 mv -f confcache "$cache_file" ;;
74574 esac
74577 else
74578 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
74579 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
74582 rm -f confcache
74584 if test ${multilib} = yes; then
74585 multilib_arg="--enable-multilib"
74586 else
74587 multilib_arg=
74590 # Export all the install information.
74592 glibcxx_toolexecdir=no
74593 glibcxx_toolexeclibdir=no
74594 glibcxx_prefixdir=$prefix
74596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
74597 $as_echo_n "checking for gxx-include-dir... " >&6; }
74599 # Check whether --with-gxx-include-dir was given.
74600 if test "${with_gxx_include_dir+set}" = set; then :
74601 withval=$with_gxx_include_dir; case "$withval" in
74602 yes) as_fn_error $? "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
74603 no) gxx_include_dir=no ;;
74604 *) gxx_include_dir=$withval ;;
74605 esac
74606 else
74607 gxx_include_dir=no
74610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
74611 $as_echo "$gxx_include_dir" >&6; }
74613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
74614 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
74615 # Check whether --enable-version-specific-runtime-libs was given.
74616 if test "${enable_version_specific_runtime_libs+set}" = set; then :
74617 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
74618 yes) version_specific_libs=yes ;;
74619 no) version_specific_libs=no ;;
74620 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
74621 esac
74622 else
74623 version_specific_libs=no
74626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
74627 $as_echo "$version_specific_libs" >&6; }
74630 # Check whether --with-toolexeclibdir was given.
74631 if test "${with_toolexeclibdir+set}" = set; then :
74632 withval=$with_toolexeclibdir; case ${with_toolexeclibdir} in
74636 with_toolexeclibdir=`echo $with_toolexeclibdir | sed 's,/$,,'`
74638 esac
74639 else
74640 with_toolexeclibdir=no
74645 # Default case for install directory for include files.
74646 if test $version_specific_libs = no && test $gxx_include_dir = no; then
74647 gxx_include_dir='include/c++/${gcc_version}'
74648 if test -n "$with_cross_host" &&
74649 test x"$with_cross_host" != x"no"; then
74650 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
74651 else
74652 gxx_include_dir='${prefix}/'"$gxx_include_dir"
74656 # Version-specific runtime libs processing.
74657 if test $version_specific_libs = yes; then
74658 # Need the gcc compiler version to know where to install libraries
74659 # and header files if --enable-version-specific-runtime-libs option
74660 # is selected. FIXME: these variables are misnamed, there are
74661 # no executables installed in _toolexecdir or _toolexeclibdir.
74662 if test x"$gxx_include_dir" = x"no"; then
74663 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
74665 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
74666 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
74669 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
74670 # Install a library built with a cross compiler in tooldir, not libdir.
74671 if test x"$glibcxx_toolexecdir" = x"no"; then
74672 if test -n "$with_cross_host" &&
74673 test x"$with_cross_host" != x"no"; then
74674 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
74675 case ${with_toolexeclibdir} in
74677 glibcxx_toolexeclibdir='${toolexecdir}/lib'
74680 glibcxx_toolexeclibdir=${with_toolexeclibdir}
74682 esac
74683 else
74684 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
74685 glibcxx_toolexeclibdir='${libdir}'
74687 multi_os_directory=`$CXX -print-multi-os-directory`
74688 case $multi_os_directory in
74689 .) ;; # Avoid trailing /.
74690 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
74691 esac
74694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
74695 $as_echo_n "checking for install location... " >&6; }
74696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
74697 $as_echo "$gxx_include_dir" >&6; }
74705 # Export all the include and flag information to Makefiles.
74707 # Used for every C++ compile we perform.
74708 GLIBCXX_INCLUDES="\
74709 -I$glibcxx_builddir/include/$host_alias \
74710 -I$glibcxx_builddir/include \
74711 -I$glibcxx_srcdir/libsupc++"
74713 # For Canadian crosses, pick this up too.
74714 if test $CANADIAN = yes; then
74715 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
74718 # Stuff in the actual top level. Currently only used by libsupc++ to
74719 # get unwind* headers from the libgcc dir.
74720 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
74721 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
74723 # Now, export this to all the little Makefiles....
74730 # Optimization flags that are probably a good idea for thrill-seekers. Just
74731 # uncomment the lines below and make, everything else is ready to go...
74732 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
74733 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
74736 WARN_FLAGS="-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2"
74740 # Determine what GCC version number to use in filesystem paths.
74742 get_gcc_base_ver="cat"
74744 # Check whether --with-gcc-major-version-only was given.
74745 if test "${with_gcc_major_version_only+set}" = set; then :
74746 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
74747 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
74755 ac_config_files="$ac_config_files Makefile"
74757 ac_config_files="$ac_config_files scripts/testsuite_flags"
74759 ac_config_files="$ac_config_files scripts/extract_symvers"
74761 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
74763 ac_config_files="$ac_config_files src/libbacktrace/backtrace-supported.h"
74766 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
74767 # that multilib installs will end up installed in the correct place.
74768 # The testsuite needs it for multilib-aware ABI baseline files.
74769 # To work around this not being passed down from config-ml.in ->
74770 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
74771 # append it here. Only modify Makefiles that have just been created.
74773 # Also, get rid of this simulated-VPATH thing that automake does.
74774 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile src/c++17/Makefile src/c++20/Makefile src/filesystem/Makefile src/libbacktrace/Makefile src/experimental/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
74777 ac_config_commands="$ac_config_commands generate-headers"
74780 cat >confcache <<\_ACEOF
74781 # This file is a shell script that caches the results of configure
74782 # tests run on this system so they can be shared between configure
74783 # scripts and configure runs, see configure's option --config-cache.
74784 # It is not useful on other systems. If it contains results you don't
74785 # want to keep, you may remove or edit it.
74787 # config.status only pays attention to the cache file if you give it
74788 # the --recheck option to rerun configure.
74790 # `ac_cv_env_foo' variables (set or unset) will be overridden when
74791 # loading this file, other *unset* `ac_cv_foo' will be assigned the
74792 # following values.
74794 _ACEOF
74796 # The following way of writing the cache mishandles newlines in values,
74797 # but we know of no workaround that is simple, portable, and efficient.
74798 # So, we kill variables containing newlines.
74799 # Ultrix sh set writes to stderr and can't be redirected directly,
74800 # and sets the high bit in the cache file unless we assign to the vars.
74802 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
74803 eval ac_val=\$$ac_var
74804 case $ac_val in #(
74805 *${as_nl}*)
74806 case $ac_var in #(
74807 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
74808 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
74809 esac
74810 case $ac_var in #(
74811 _ | IFS | as_nl) ;; #(
74812 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
74813 *) { eval $ac_var=; unset $ac_var;} ;;
74814 esac ;;
74815 esac
74816 done
74818 (set) 2>&1 |
74819 case $as_nl`(ac_space=' '; set) 2>&1` in #(
74820 *${as_nl}ac_space=\ *)
74821 # `set' does not quote correctly, so add quotes: double-quote
74822 # substitution turns \\\\ into \\, and sed turns \\ into \.
74823 sed -n \
74824 "s/'/'\\\\''/g;
74825 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
74826 ;; #(
74828 # `set' quotes correctly as required by POSIX, so do not add quotes.
74829 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
74831 esac |
74832 sort
74834 sed '
74835 /^ac_cv_env_/b end
74836 t clear
74837 :clear
74838 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
74839 t end
74840 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
74841 :end' >>confcache
74842 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
74843 if test -w "$cache_file"; then
74844 if test "x$cache_file" != "x/dev/null"; then
74845 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
74846 $as_echo "$as_me: updating cache $cache_file" >&6;}
74847 if test ! -f "$cache_file" || test -h "$cache_file"; then
74848 cat confcache >"$cache_file"
74849 else
74850 case $cache_file in #(
74851 */* | ?:*)
74852 mv -f confcache "$cache_file"$$ &&
74853 mv -f "$cache_file"$$ "$cache_file" ;; #(
74855 mv -f confcache "$cache_file" ;;
74856 esac
74859 else
74860 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
74861 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
74864 rm -f confcache
74866 test "x$prefix" = xNONE && prefix=$ac_default_prefix
74867 # Let make expand exec_prefix.
74868 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
74870 DEFS=-DHAVE_CONFIG_H
74872 ac_libobjs=
74873 ac_ltlibobjs=
74875 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
74876 # 1. Remove the extension, and $U if already installed.
74877 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
74878 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
74879 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
74880 # will be set to the directory where LIBOBJS objects are built.
74881 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
74882 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
74883 done
74884 LIBOBJS=$ac_libobjs
74886 LTLIBOBJS=$ac_ltlibobjs
74889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
74890 $as_echo_n "checking that generated files are newer than configure... " >&6; }
74891 if test -n "$am_sleep_pid"; then
74892 # Hide warnings about reused PIDs.
74893 wait $am_sleep_pid 2>/dev/null
74895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
74896 $as_echo "done" >&6; }
74897 if test -n "$EXEEXT"; then
74898 am__EXEEXT_TRUE=
74899 am__EXEEXT_FALSE='#'
74900 else
74901 am__EXEEXT_TRUE='#'
74902 am__EXEEXT_FALSE=
74905 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
74906 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
74907 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74909 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
74910 as_fn_error $? "conditional \"GLIBCXX_HOSTED\" was never defined.
74911 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74913 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
74914 as_fn_error $? "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
74915 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74917 if test -z "${ENABLE_FLOAT128_TRUE}" && test -z "${ENABLE_FLOAT128_FALSE}"; then
74918 as_fn_error $? "conditional \"ENABLE_FLOAT128\" was never defined.
74919 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74921 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
74922 as_fn_error $? "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
74923 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74925 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
74926 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
74927 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74929 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
74930 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
74931 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74933 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
74934 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
74935 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74937 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
74938 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
74939 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74941 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
74942 as_fn_error $? "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
74943 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74945 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
74946 as_fn_error $? "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
74947 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74949 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
74950 as_fn_error $? "conditional \"ENABLE_PYTHONDIR\" was never defined.
74951 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74953 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
74954 as_fn_error $? "conditional \"ENABLE_WERROR\" was never defined.
74955 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74957 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
74958 as_fn_error $? "conditional \"VTV_CYGMIN\" was never defined.
74959 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74961 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
74962 as_fn_error $? "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
74963 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74965 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
74966 as_fn_error $? "conditional \"ENABLE_SYMVERS\" was never defined.
74967 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74969 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
74970 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
74971 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74973 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
74974 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
74975 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74977 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
74978 as_fn_error $? "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
74979 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74981 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
74982 as_fn_error $? "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
74983 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74985 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
74986 as_fn_error $? "conditional \"ENABLE_VISIBILITY\" was never defined.
74987 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74989 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
74990 as_fn_error $? "conditional \"ENABLE_DUAL_ABI\" was never defined.
74991 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74993 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
74994 as_fn_error $? "conditional \"ENABLE_CXX11_ABI\" was never defined.
74995 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74997 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
74998 as_fn_error $? "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
74999 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75001 if test -z "${GLIBCXX_LDBL_ALT128_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_ALT128_COMPAT_FALSE}"; then
75002 as_fn_error $? "conditional \"GLIBCXX_LDBL_ALT128_COMPAT\" was never defined.
75003 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75005 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
75006 as_fn_error $? "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
75007 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75009 if test -z "${ENABLE_BACKTRACE_TRUE}" && test -z "${ENABLE_BACKTRACE_FALSE}"; then
75010 as_fn_error $? "conditional \"ENABLE_BACKTRACE\" was never defined.
75011 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75013 if test -z "${USE_STATIC_TZDATA_TRUE}" && test -z "${USE_STATIC_TZDATA_FALSE}"; then
75014 as_fn_error $? "conditional \"USE_STATIC_TZDATA\" was never defined.
75015 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75017 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
75018 as_fn_error $? "conditional \"BUILD_INFO\" was never defined.
75019 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75021 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
75022 as_fn_error $? "conditional \"BUILD_EPUB\" was never defined.
75023 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75025 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
75026 as_fn_error $? "conditional \"BUILD_XML\" was never defined.
75027 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75029 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
75030 as_fn_error $? "conditional \"BUILD_HTML\" was never defined.
75031 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75033 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
75034 as_fn_error $? "conditional \"BUILD_MAN\" was never defined.
75035 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75037 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
75038 as_fn_error $? "conditional \"BUILD_PDF\" was never defined.
75039 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75041 if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
75042 as_fn_error $? "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
75043 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75046 : "${CONFIG_STATUS=./config.status}"
75047 ac_write_fail=0
75048 ac_clean_files_save=$ac_clean_files
75049 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
75050 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
75051 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
75052 as_write_fail=0
75053 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
75054 #! $SHELL
75055 # Generated by $as_me.
75056 # Run this file to recreate the current configuration.
75057 # Compiler output produced by configure, useful for debugging
75058 # configure, is in config.log if it exists.
75060 debug=false
75061 ac_cs_recheck=false
75062 ac_cs_silent=false
75064 SHELL=\${CONFIG_SHELL-$SHELL}
75065 export SHELL
75066 _ASEOF
75067 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
75068 ## -------------------- ##
75069 ## M4sh Initialization. ##
75070 ## -------------------- ##
75072 # Be more Bourne compatible
75073 DUALCASE=1; export DUALCASE # for MKS sh
75074 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
75075 emulate sh
75076 NULLCMD=:
75077 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
75078 # is contrary to our usage. Disable this feature.
75079 alias -g '${1+"$@"}'='"$@"'
75080 setopt NO_GLOB_SUBST
75081 else
75082 case `(set -o) 2>/dev/null` in #(
75083 *posix*) :
75084 set -o posix ;; #(
75085 *) :
75087 esac
75091 as_nl='
75093 export as_nl
75094 # Printing a long string crashes Solaris 7 /usr/bin/printf.
75095 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
75096 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
75097 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
75098 # Prefer a ksh shell builtin over an external printf program on Solaris,
75099 # but without wasting forks for bash or zsh.
75100 if test -z "$BASH_VERSION$ZSH_VERSION" \
75101 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
75102 as_echo='print -r --'
75103 as_echo_n='print -rn --'
75104 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
75105 as_echo='printf %s\n'
75106 as_echo_n='printf %s'
75107 else
75108 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
75109 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
75110 as_echo_n='/usr/ucb/echo -n'
75111 else
75112 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
75113 as_echo_n_body='eval
75114 arg=$1;
75115 case $arg in #(
75116 *"$as_nl"*)
75117 expr "X$arg" : "X\\(.*\\)$as_nl";
75118 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
75119 esac;
75120 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
75122 export as_echo_n_body
75123 as_echo_n='sh -c $as_echo_n_body as_echo'
75125 export as_echo_body
75126 as_echo='sh -c $as_echo_body as_echo'
75129 # The user is always right.
75130 if test "${PATH_SEPARATOR+set}" != set; then
75131 PATH_SEPARATOR=:
75132 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
75133 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
75134 PATH_SEPARATOR=';'
75139 # IFS
75140 # We need space, tab and new line, in precisely that order. Quoting is
75141 # there to prevent editors from complaining about space-tab.
75142 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
75143 # splitting by setting IFS to empty value.)
75144 IFS=" "" $as_nl"
75146 # Find who we are. Look in the path if we contain no directory separator.
75147 as_myself=
75148 case $0 in #((
75149 *[\\/]* ) as_myself=$0 ;;
75150 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
75151 for as_dir in $PATH
75153 IFS=$as_save_IFS
75154 test -z "$as_dir" && as_dir=.
75155 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
75156 done
75157 IFS=$as_save_IFS
75160 esac
75161 # We did not find ourselves, most probably we were run as `sh COMMAND'
75162 # in which case we are not to be found in the path.
75163 if test "x$as_myself" = x; then
75164 as_myself=$0
75166 if test ! -f "$as_myself"; then
75167 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
75168 exit 1
75171 # Unset variables that we do not need and which cause bugs (e.g. in
75172 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
75173 # suppresses any "Segmentation fault" message there. '((' could
75174 # trigger a bug in pdksh 5.2.14.
75175 for as_var in BASH_ENV ENV MAIL MAILPATH
75176 do eval test x\${$as_var+set} = xset \
75177 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
75178 done
75179 PS1='$ '
75180 PS2='> '
75181 PS4='+ '
75183 # NLS nuisances.
75184 LC_ALL=C
75185 export LC_ALL
75186 LANGUAGE=C
75187 export LANGUAGE
75189 # CDPATH.
75190 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
75193 # as_fn_error STATUS ERROR [LINENO LOG_FD]
75194 # ----------------------------------------
75195 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
75196 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
75197 # script with STATUS, using 1 if that was 0.
75198 as_fn_error ()
75200 as_status=$1; test $as_status -eq 0 && as_status=1
75201 if test "$4"; then
75202 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
75203 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
75205 $as_echo "$as_me: error: $2" >&2
75206 as_fn_exit $as_status
75207 } # as_fn_error
75210 # as_fn_set_status STATUS
75211 # -----------------------
75212 # Set $? to STATUS, without forking.
75213 as_fn_set_status ()
75215 return $1
75216 } # as_fn_set_status
75218 # as_fn_exit STATUS
75219 # -----------------
75220 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
75221 as_fn_exit ()
75223 set +e
75224 as_fn_set_status $1
75225 exit $1
75226 } # as_fn_exit
75228 # as_fn_unset VAR
75229 # ---------------
75230 # Portably unset VAR.
75231 as_fn_unset ()
75233 { eval $1=; unset $1;}
75235 as_unset=as_fn_unset
75236 # as_fn_append VAR VALUE
75237 # ----------------------
75238 # Append the text in VALUE to the end of the definition contained in VAR. Take
75239 # advantage of any shell optimizations that allow amortized linear growth over
75240 # repeated appends, instead of the typical quadratic growth present in naive
75241 # implementations.
75242 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
75243 eval 'as_fn_append ()
75245 eval $1+=\$2
75247 else
75248 as_fn_append ()
75250 eval $1=\$$1\$2
75252 fi # as_fn_append
75254 # as_fn_arith ARG...
75255 # ------------------
75256 # Perform arithmetic evaluation on the ARGs, and store the result in the
75257 # global $as_val. Take advantage of shells that can avoid forks. The arguments
75258 # must be portable across $(()) and expr.
75259 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
75260 eval 'as_fn_arith ()
75262 as_val=$(( $* ))
75264 else
75265 as_fn_arith ()
75267 as_val=`expr "$@" || test $? -eq 1`
75269 fi # as_fn_arith
75272 if expr a : '\(a\)' >/dev/null 2>&1 &&
75273 test "X`expr 00001 : '.*\(...\)'`" = X001; then
75274 as_expr=expr
75275 else
75276 as_expr=false
75279 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
75280 as_basename=basename
75281 else
75282 as_basename=false
75285 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
75286 as_dirname=dirname
75287 else
75288 as_dirname=false
75291 as_me=`$as_basename -- "$0" ||
75292 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
75293 X"$0" : 'X\(//\)$' \| \
75294 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
75295 $as_echo X/"$0" |
75296 sed '/^.*\/\([^/][^/]*\)\/*$/{
75297 s//\1/
75300 /^X\/\(\/\/\)$/{
75301 s//\1/
75304 /^X\/\(\/\).*/{
75305 s//\1/
75308 s/.*/./; q'`
75310 # Avoid depending upon Character Ranges.
75311 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
75312 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
75313 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
75314 as_cr_digits='0123456789'
75315 as_cr_alnum=$as_cr_Letters$as_cr_digits
75317 ECHO_C= ECHO_N= ECHO_T=
75318 case `echo -n x` in #(((((
75319 -n*)
75320 case `echo 'xy\c'` in
75321 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
75322 xy) ECHO_C='\c';;
75323 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
75324 ECHO_T=' ';;
75325 esac;;
75327 ECHO_N='-n';;
75328 esac
75330 rm -f conf$$ conf$$.exe conf$$.file
75331 if test -d conf$$.dir; then
75332 rm -f conf$$.dir/conf$$.file
75333 else
75334 rm -f conf$$.dir
75335 mkdir conf$$.dir 2>/dev/null
75337 if (echo >conf$$.file) 2>/dev/null; then
75338 if ln -s conf$$.file conf$$ 2>/dev/null; then
75339 as_ln_s='ln -s'
75340 # ... but there are two gotchas:
75341 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
75342 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
75343 # In both cases, we have to default to `cp -pR'.
75344 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
75345 as_ln_s='cp -pR'
75346 elif ln conf$$.file conf$$ 2>/dev/null; then
75347 as_ln_s=ln
75348 else
75349 as_ln_s='cp -pR'
75351 else
75352 as_ln_s='cp -pR'
75354 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
75355 rmdir conf$$.dir 2>/dev/null
75358 # as_fn_mkdir_p
75359 # -------------
75360 # Create "$as_dir" as a directory, including parents if necessary.
75361 as_fn_mkdir_p ()
75364 case $as_dir in #(
75365 -*) as_dir=./$as_dir;;
75366 esac
75367 test -d "$as_dir" || eval $as_mkdir_p || {
75368 as_dirs=
75369 while :; do
75370 case $as_dir in #(
75371 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
75372 *) as_qdir=$as_dir;;
75373 esac
75374 as_dirs="'$as_qdir' $as_dirs"
75375 as_dir=`$as_dirname -- "$as_dir" ||
75376 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
75377 X"$as_dir" : 'X\(//\)[^/]' \| \
75378 X"$as_dir" : 'X\(//\)$' \| \
75379 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
75380 $as_echo X"$as_dir" |
75381 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
75382 s//\1/
75385 /^X\(\/\/\)[^/].*/{
75386 s//\1/
75389 /^X\(\/\/\)$/{
75390 s//\1/
75393 /^X\(\/\).*/{
75394 s//\1/
75397 s/.*/./; q'`
75398 test -d "$as_dir" && break
75399 done
75400 test -z "$as_dirs" || eval "mkdir $as_dirs"
75401 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
75404 } # as_fn_mkdir_p
75405 if mkdir -p . 2>/dev/null; then
75406 as_mkdir_p='mkdir -p "$as_dir"'
75407 else
75408 test -d ./-p && rmdir ./-p
75409 as_mkdir_p=false
75413 # as_fn_executable_p FILE
75414 # -----------------------
75415 # Test if FILE is an executable regular file.
75416 as_fn_executable_p ()
75418 test -f "$1" && test -x "$1"
75419 } # as_fn_executable_p
75420 as_test_x='test -x'
75421 as_executable_p=as_fn_executable_p
75423 # Sed expression to map a string onto a valid CPP name.
75424 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
75426 # Sed expression to map a string onto a valid variable name.
75427 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
75430 exec 6>&1
75431 ## ----------------------------------- ##
75432 ## Main body of $CONFIG_STATUS script. ##
75433 ## ----------------------------------- ##
75434 _ASEOF
75435 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
75437 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
75438 # Save the log message, to keep $0 and so on meaningful, and to
75439 # report actual input values of CONFIG_FILES etc. instead of their
75440 # values after options handling.
75441 ac_log="
75442 This file was extended by package-unused $as_me version-unused, which was
75443 generated by GNU Autoconf 2.69. Invocation command line was
75445 CONFIG_FILES = $CONFIG_FILES
75446 CONFIG_HEADERS = $CONFIG_HEADERS
75447 CONFIG_LINKS = $CONFIG_LINKS
75448 CONFIG_COMMANDS = $CONFIG_COMMANDS
75449 $ $0 $@
75451 on `(hostname || uname -n) 2>/dev/null | sed 1q`
75454 _ACEOF
75456 case $ac_config_files in *"
75457 "*) set x $ac_config_files; shift; ac_config_files=$*;;
75458 esac
75460 case $ac_config_headers in *"
75461 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
75462 esac
75465 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
75466 # Files that config.status was made for.
75467 config_files="$ac_config_files"
75468 config_headers="$ac_config_headers"
75469 config_commands="$ac_config_commands"
75471 _ACEOF
75473 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
75474 ac_cs_usage="\
75475 \`$as_me' instantiates files and other configuration actions
75476 from templates according to the current configuration. Unless the files
75477 and actions are specified as TAGs, all are instantiated by default.
75479 Usage: $0 [OPTION]... [TAG]...
75481 -h, --help print this help, then exit
75482 -V, --version print version number and configuration settings, then exit
75483 --config print configuration, then exit
75484 -q, --quiet, --silent
75485 do not print progress messages
75486 -d, --debug don't remove temporary files
75487 --recheck update $as_me by reconfiguring in the same conditions
75488 --file=FILE[:TEMPLATE]
75489 instantiate the configuration file FILE
75490 --header=FILE[:TEMPLATE]
75491 instantiate the configuration header FILE
75493 Configuration files:
75494 $config_files
75496 Configuration headers:
75497 $config_headers
75499 Configuration commands:
75500 $config_commands
75502 Report bugs to the package provider."
75504 _ACEOF
75505 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
75506 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
75507 ac_cs_version="\\
75508 package-unused config.status version-unused
75509 configured by $0, generated by GNU Autoconf 2.69,
75510 with options \\"\$ac_cs_config\\"
75512 Copyright (C) 2012 Free Software Foundation, Inc.
75513 This config.status script is free software; the Free Software Foundation
75514 gives unlimited permission to copy, distribute and modify it."
75516 ac_pwd='$ac_pwd'
75517 srcdir='$srcdir'
75518 INSTALL='$INSTALL'
75519 MKDIR_P='$MKDIR_P'
75520 AWK='$AWK'
75521 test -n "\$AWK" || AWK=awk
75522 _ACEOF
75524 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
75525 # The default lists apply if the user does not specify any file.
75526 ac_need_defaults=:
75527 while test $# != 0
75529 case $1 in
75530 --*=?*)
75531 ac_option=`expr "X$1" : 'X\([^=]*\)='`
75532 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
75533 ac_shift=:
75535 --*=)
75536 ac_option=`expr "X$1" : 'X\([^=]*\)='`
75537 ac_optarg=
75538 ac_shift=:
75541 ac_option=$1
75542 ac_optarg=$2
75543 ac_shift=shift
75545 esac
75547 case $ac_option in
75548 # Handling of the options.
75549 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
75550 ac_cs_recheck=: ;;
75551 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
75552 $as_echo "$ac_cs_version"; exit ;;
75553 --config | --confi | --conf | --con | --co | --c )
75554 $as_echo "$ac_cs_config"; exit ;;
75555 --debug | --debu | --deb | --de | --d | -d )
75556 debug=: ;;
75557 --file | --fil | --fi | --f )
75558 $ac_shift
75559 case $ac_optarg in
75560 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
75561 '') as_fn_error $? "missing file argument" ;;
75562 esac
75563 as_fn_append CONFIG_FILES " '$ac_optarg'"
75564 ac_need_defaults=false;;
75565 --header | --heade | --head | --hea )
75566 $ac_shift
75567 case $ac_optarg in
75568 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
75569 esac
75570 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
75571 ac_need_defaults=false;;
75572 --he | --h)
75573 # Conflict between --help and --header
75574 as_fn_error $? "ambiguous option: \`$1'
75575 Try \`$0 --help' for more information.";;
75576 --help | --hel | -h )
75577 $as_echo "$ac_cs_usage"; exit ;;
75578 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
75579 | -silent | --silent | --silen | --sile | --sil | --si | --s)
75580 ac_cs_silent=: ;;
75582 # This is an error.
75583 -*) as_fn_error $? "unrecognized option: \`$1'
75584 Try \`$0 --help' for more information." ;;
75586 *) as_fn_append ac_config_targets " $1"
75587 ac_need_defaults=false ;;
75589 esac
75590 shift
75591 done
75593 ac_configure_extra_args=
75595 if $ac_cs_silent; then
75596 exec 6>/dev/null
75597 ac_configure_extra_args="$ac_configure_extra_args --silent"
75600 _ACEOF
75601 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
75602 if \$ac_cs_recheck; then
75603 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
75604 shift
75605 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
75606 CONFIG_SHELL='$SHELL'
75607 export CONFIG_SHELL
75608 exec "\$@"
75611 _ACEOF
75612 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
75613 exec 5>>config.log
75615 echo
75616 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
75617 ## Running $as_me. ##
75618 _ASBOX
75619 $as_echo "$ac_log"
75620 } >&5
75622 _ACEOF
75623 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
75625 # INIT-COMMANDS
75628 srcdir="$srcdir"
75629 host="$host"
75630 target="$target"
75631 with_multisubdir="$with_multisubdir"
75632 with_multisrctop="$with_multisrctop"
75633 with_target_subdir="$with_target_subdir"
75634 ac_configure_args="${multilib_arg} ${ac_configure_args}"
75635 multi_basedir="$multi_basedir"
75636 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
75637 CC="$CC"
75638 CXX="$CXX"
75639 GFORTRAN="$GFORTRAN"
75640 GDC="$GDC"
75643 # The HP-UX ksh and POSIX shell print the target directory to stdout
75644 # if CDPATH is set.
75645 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
75647 sed_quote_subst='$sed_quote_subst'
75648 double_quote_subst='$double_quote_subst'
75649 delay_variable_subst='$delay_variable_subst'
75650 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
75651 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
75652 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
75653 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
75654 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
75655 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
75656 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
75657 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
75658 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
75659 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
75660 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
75661 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
75662 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
75663 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
75664 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
75665 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
75666 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
75667 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
75668 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
75669 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
75670 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
75671 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
75672 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
75673 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
75674 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
75675 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
75676 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
75677 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
75678 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
75679 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
75680 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
75681 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
75682 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
75683 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
75684 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
75685 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
75686 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
75687 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
75688 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
75689 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
75690 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
75691 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
75692 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
75693 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
75694 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
75695 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
75696 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
75697 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
75698 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"`'
75699 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
75700 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
75701 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
75702 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
75703 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
75704 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
75705 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
75706 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
75707 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
75708 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
75709 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
75710 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
75711 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
75712 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
75713 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
75714 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
75715 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
75716 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
75717 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
75718 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
75719 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
75720 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
75721 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
75722 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
75723 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
75724 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
75725 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
75726 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
75727 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
75728 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
75729 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
75730 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
75731 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
75732 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
75733 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
75734 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
75735 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
75736 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
75737 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
75738 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
75739 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
75740 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
75741 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
75742 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
75743 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
75744 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
75745 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
75746 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
75747 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
75748 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
75749 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
75750 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
75751 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
75752 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
75753 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
75754 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
75755 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
75756 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
75757 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
75758 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
75759 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
75760 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
75761 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
75762 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
75763 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
75764 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
75765 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
75766 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
75767 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
75768 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
75769 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
75770 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
75771 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
75772 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
75773 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
75774 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
75775 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
75776 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
75777 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
75778 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
75779 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
75780 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
75781 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
75782 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
75783 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
75784 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
75785 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
75786 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
75787 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
75788 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
75789 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
75790 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
75791 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
75792 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
75793 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
75794 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
75795 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
75796 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
75797 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
75798 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
75799 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
75800 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
75801 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
75802 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
75803 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
75804 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
75805 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
75806 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
75807 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
75808 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
75809 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
75810 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
75811 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
75812 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
75813 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
75814 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
75815 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
75816 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
75817 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
75818 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
75819 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
75820 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
75821 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
75822 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
75823 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
75824 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
75826 LTCC='$LTCC'
75827 LTCFLAGS='$LTCFLAGS'
75828 compiler='$compiler_DEFAULT'
75830 # A function that is used when there is no print builtin or printf.
75831 func_fallback_echo ()
75833 eval 'cat <<_LTECHO_EOF
75835 _LTECHO_EOF'
75838 # Quote evaled strings.
75839 for var in SHELL \
75840 ECHO \
75841 SED \
75842 GREP \
75843 EGREP \
75844 FGREP \
75845 LD \
75846 NM \
75847 LN_S \
75848 lt_SP2NL \
75849 lt_NL2SP \
75850 reload_flag \
75851 OBJDUMP \
75852 deplibs_check_method \
75853 file_magic_cmd \
75854 AR \
75855 AR_FLAGS \
75856 STRIP \
75857 RANLIB \
75858 CC \
75859 CFLAGS \
75860 compiler \
75861 lt_cv_sys_global_symbol_pipe \
75862 lt_cv_sys_global_symbol_to_cdecl \
75863 lt_cv_sys_global_symbol_to_c_name_address \
75864 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
75865 lt_prog_compiler_no_builtin_flag \
75866 lt_prog_compiler_wl \
75867 lt_prog_compiler_pic \
75868 lt_prog_compiler_static \
75869 lt_cv_prog_compiler_c_o \
75870 need_locks \
75871 DSYMUTIL \
75872 NMEDIT \
75873 LIPO \
75874 OTOOL \
75875 OTOOL64 \
75876 shrext_cmds \
75877 export_dynamic_flag_spec \
75878 whole_archive_flag_spec \
75879 compiler_needs_object \
75880 with_gnu_ld \
75881 allow_undefined_flag \
75882 no_undefined_flag \
75883 hardcode_libdir_flag_spec \
75884 hardcode_libdir_flag_spec_ld \
75885 hardcode_libdir_separator \
75886 fix_srcfile_path \
75887 exclude_expsyms \
75888 include_expsyms \
75889 file_list_spec \
75890 variables_saved_for_relink \
75891 libname_spec \
75892 library_names_spec \
75893 soname_spec \
75894 install_override_mode \
75895 finish_eval \
75896 old_striplib \
75897 striplib \
75898 compiler_lib_search_dirs \
75899 predep_objects \
75900 postdep_objects \
75901 predeps \
75902 postdeps \
75903 compiler_lib_search_path \
75904 LD_CXX \
75905 reload_flag_CXX \
75906 compiler_CXX \
75907 lt_prog_compiler_no_builtin_flag_CXX \
75908 lt_prog_compiler_wl_CXX \
75909 lt_prog_compiler_pic_CXX \
75910 lt_prog_compiler_static_CXX \
75911 lt_cv_prog_compiler_c_o_CXX \
75912 export_dynamic_flag_spec_CXX \
75913 whole_archive_flag_spec_CXX \
75914 compiler_needs_object_CXX \
75915 with_gnu_ld_CXX \
75916 allow_undefined_flag_CXX \
75917 no_undefined_flag_CXX \
75918 hardcode_libdir_flag_spec_CXX \
75919 hardcode_libdir_flag_spec_ld_CXX \
75920 hardcode_libdir_separator_CXX \
75921 fix_srcfile_path_CXX \
75922 exclude_expsyms_CXX \
75923 include_expsyms_CXX \
75924 file_list_spec_CXX \
75925 compiler_lib_search_dirs_CXX \
75926 predep_objects_CXX \
75927 postdep_objects_CXX \
75928 predeps_CXX \
75929 postdeps_CXX \
75930 compiler_lib_search_path_CXX; do
75931 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
75932 *[\\\\\\\`\\"\\\$]*)
75933 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
75936 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
75938 esac
75939 done
75941 # Double-quote double-evaled strings.
75942 for var in reload_cmds \
75943 old_postinstall_cmds \
75944 old_postuninstall_cmds \
75945 old_archive_cmds \
75946 extract_expsyms_cmds \
75947 old_archive_from_new_cmds \
75948 old_archive_from_expsyms_cmds \
75949 archive_cmds \
75950 archive_expsym_cmds \
75951 module_cmds \
75952 module_expsym_cmds \
75953 export_symbols_cmds \
75954 prelink_cmds \
75955 postinstall_cmds \
75956 postuninstall_cmds \
75957 finish_cmds \
75958 sys_lib_search_path_spec \
75959 sys_lib_dlsearch_path_spec \
75960 reload_cmds_CXX \
75961 old_archive_cmds_CXX \
75962 old_archive_from_new_cmds_CXX \
75963 old_archive_from_expsyms_cmds_CXX \
75964 archive_cmds_CXX \
75965 archive_expsym_cmds_CXX \
75966 module_cmds_CXX \
75967 module_expsym_cmds_CXX \
75968 export_symbols_cmds_CXX \
75969 prelink_cmds_CXX; do
75970 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
75971 *[\\\\\\\`\\"\\\$]*)
75972 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
75975 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
75977 esac
75978 done
75980 ac_aux_dir='$ac_aux_dir'
75981 xsi_shell='$xsi_shell'
75982 lt_shell_append='$lt_shell_append'
75984 # See if we are running on zsh, and set the options which allow our
75985 # commands through without removal of \ escapes INIT.
75986 if test -n "\${ZSH_VERSION+set}" ; then
75987 setopt NO_GLOB_SUBST
75991 PACKAGE='$PACKAGE'
75992 VERSION='$VERSION'
75993 TIMESTAMP='$TIMESTAMP'
75994 RM='$RM'
75995 ofile='$ofile'
76002 _ACEOF
76004 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
76006 # Handling of arguments.
76007 for ac_config_target in $ac_config_targets
76009 case $ac_config_target in
76010 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
76011 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
76012 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
76013 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
76014 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
76015 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
76016 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
76017 "src/libbacktrace/backtrace-supported.h") CONFIG_FILES="$CONFIG_FILES src/libbacktrace/backtrace-supported.h" ;;
76018 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
76019 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
76020 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
76021 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
76022 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
76023 "src/c++17/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++17/Makefile" ;;
76024 "src/c++20/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++20/Makefile" ;;
76025 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
76026 "src/libbacktrace/Makefile") CONFIG_FILES="$CONFIG_FILES src/libbacktrace/Makefile" ;;
76027 "src/experimental/Makefile") CONFIG_FILES="$CONFIG_FILES src/experimental/Makefile" ;;
76028 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
76029 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
76030 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
76031 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
76032 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
76034 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
76035 esac
76036 done
76039 # If the user did not use the arguments to specify the items to instantiate,
76040 # then the envvar interface is used. Set only those that are not.
76041 # We use the long form for the default assignment because of an extremely
76042 # bizarre bug on SunOS 4.1.3.
76043 if $ac_need_defaults; then
76044 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
76045 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
76046 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
76049 # Have a temporary directory for convenience. Make it in the build tree
76050 # simply because there is no reason against having it here, and in addition,
76051 # creating and moving files from /tmp can sometimes cause problems.
76052 # Hook for its removal unless debugging.
76053 # Note that there is a small window in which the directory will not be cleaned:
76054 # after its creation but before its name has been assigned to `$tmp'.
76055 $debug ||
76057 tmp= ac_tmp=
76058 trap 'exit_status=$?
76059 : "${ac_tmp:=$tmp}"
76060 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
76062 trap 'as_fn_exit 1' 1 2 13 15
76064 # Create a (secure) tmp directory for tmp files.
76067 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
76068 test -d "$tmp"
76069 } ||
76071 tmp=./conf$$-$RANDOM
76072 (umask 077 && mkdir "$tmp")
76073 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
76074 ac_tmp=$tmp
76076 # Set up the scripts for CONFIG_FILES section.
76077 # No need to generate them if there are no CONFIG_FILES.
76078 # This happens for instance with `./config.status config.h'.
76079 if test -n "$CONFIG_FILES"; then
76082 ac_cr=`echo X | tr X '\015'`
76083 # On cygwin, bash can eat \r inside `` if the user requested igncr.
76084 # But we know of no other shell where ac_cr would be empty at this
76085 # point, so we can use a bashism as a fallback.
76086 if test "x$ac_cr" = x; then
76087 eval ac_cr=\$\'\\r\'
76089 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
76090 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
76091 ac_cs_awk_cr='\\r'
76092 else
76093 ac_cs_awk_cr=$ac_cr
76096 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
76097 _ACEOF
76101 echo "cat >conf$$subs.awk <<_ACEOF" &&
76102 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
76103 echo "_ACEOF"
76104 } >conf$$subs.sh ||
76105 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
76106 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
76107 ac_delim='%!_!# '
76108 for ac_last_try in false false false false false :; do
76109 . ./conf$$subs.sh ||
76110 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
76112 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
76113 if test $ac_delim_n = $ac_delim_num; then
76114 break
76115 elif $ac_last_try; then
76116 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
76117 else
76118 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
76120 done
76121 rm -f conf$$subs.sh
76123 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
76124 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
76125 _ACEOF
76126 sed -n '
76128 s/^/S["/; s/!.*/"]=/
76131 s/^[^!]*!//
76132 :repl
76133 t repl
76134 s/'"$ac_delim"'$//
76135 t delim
76138 s/\(.\{148\}\)..*/\1/
76139 t more1
76140 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
76143 b repl
76144 :more1
76145 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
76148 s/.\{148\}//
76149 t nl
76150 :delim
76152 s/\(.\{148\}\)..*/\1/
76153 t more2
76154 s/["\\]/\\&/g; s/^/"/; s/$/"/
76157 :more2
76158 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
76161 s/.\{148\}//
76162 t delim
76163 ' <conf$$subs.awk | sed '
76164 /^[^""]/{
76166 s/\n//
76168 ' >>$CONFIG_STATUS || ac_write_fail=1
76169 rm -f conf$$subs.awk
76170 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
76171 _ACAWK
76172 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
76173 for (key in S) S_is_set[key] = 1
76174 FS = "\a"
76178 line = $ 0
76179 nfields = split(line, field, "@")
76180 substed = 0
76181 len = length(field[1])
76182 for (i = 2; i < nfields; i++) {
76183 key = field[i]
76184 keylen = length(key)
76185 if (S_is_set[key]) {
76186 value = S[key]
76187 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
76188 len += length(value) + length(field[++i])
76189 substed = 1
76190 } else
76191 len += 1 + keylen
76194 print line
76197 _ACAWK
76198 _ACEOF
76199 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
76200 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
76201 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
76202 else
76204 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
76205 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
76206 _ACEOF
76208 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
76209 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
76210 # trailing colons and then remove the whole line if VPATH becomes empty
76211 # (actually we leave an empty line to preserve line numbers).
76212 if test "x$srcdir" = x.; then
76213 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
76215 s///
76216 s/^/:/
76217 s/[ ]*$/:/
76218 s/:\$(srcdir):/:/g
76219 s/:\${srcdir}:/:/g
76220 s/:@srcdir@:/:/g
76221 s/^:*//
76222 s/:*$//
76224 s/\(=[ ]*\).*/\1/
76226 s/\n//
76227 s/^[^=]*=[ ]*$//
76231 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
76232 fi # test -n "$CONFIG_FILES"
76234 # Set up the scripts for CONFIG_HEADERS section.
76235 # No need to generate them if there are no CONFIG_HEADERS.
76236 # This happens for instance with `./config.status Makefile'.
76237 if test -n "$CONFIG_HEADERS"; then
76238 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
76239 BEGIN {
76240 _ACEOF
76242 # Transform confdefs.h into an awk script `defines.awk', embedded as
76243 # here-document in config.status, that substitutes the proper values into
76244 # config.h.in to produce config.h.
76246 # Create a delimiter string that does not exist in confdefs.h, to ease
76247 # handling of long lines.
76248 ac_delim='%!_!# '
76249 for ac_last_try in false false :; do
76250 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
76251 if test -z "$ac_tt"; then
76252 break
76253 elif $ac_last_try; then
76254 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
76255 else
76256 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
76258 done
76260 # For the awk script, D is an array of macro values keyed by name,
76261 # likewise P contains macro parameters if any. Preserve backslash
76262 # newline sequences.
76264 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
76265 sed -n '
76266 s/.\{148\}/&'"$ac_delim"'/g
76267 t rset
76268 :rset
76269 s/^[ ]*#[ ]*define[ ][ ]*/ /
76270 t def
76272 :def
76273 s/\\$//
76274 t bsnl
76275 s/["\\]/\\&/g
76276 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
76277 D["\1"]=" \3"/p
76278 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
76280 :bsnl
76281 s/["\\]/\\&/g
76282 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
76283 D["\1"]=" \3\\\\\\n"\\/p
76284 t cont
76285 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
76286 t cont
76288 :cont
76290 s/.\{148\}/&'"$ac_delim"'/g
76291 t clear
76292 :clear
76293 s/\\$//
76294 t bsnlc
76295 s/["\\]/\\&/g; s/^/"/; s/$/"/p
76297 :bsnlc
76298 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
76299 b cont
76300 ' <confdefs.h | sed '
76301 s/'"$ac_delim"'/"\\\
76302 "/g' >>$CONFIG_STATUS || ac_write_fail=1
76304 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
76305 for (key in D) D_is_set[key] = 1
76306 FS = "\a"
76308 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
76309 line = \$ 0
76310 split(line, arg, " ")
76311 if (arg[1] == "#") {
76312 defundef = arg[2]
76313 mac1 = arg[3]
76314 } else {
76315 defundef = substr(arg[1], 2)
76316 mac1 = arg[2]
76318 split(mac1, mac2, "(") #)
76319 macro = mac2[1]
76320 prefix = substr(line, 1, index(line, defundef) - 1)
76321 if (D_is_set[macro]) {
76322 # Preserve the white space surrounding the "#".
76323 print prefix "define", macro P[macro] D[macro]
76324 next
76325 } else {
76326 # Replace #undef with comments. This is necessary, for example,
76327 # in the case of _POSIX_SOURCE, which is predefined and required
76328 # on some systems where configure will not decide to define it.
76329 if (defundef == "undef") {
76330 print "/*", prefix defundef, macro, "*/"
76331 next
76335 { print }
76336 _ACAWK
76337 _ACEOF
76338 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
76339 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
76340 fi # test -n "$CONFIG_HEADERS"
76343 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
76344 shift
76345 for ac_tag
76347 case $ac_tag in
76348 :[FHLC]) ac_mode=$ac_tag; continue;;
76349 esac
76350 case $ac_mode$ac_tag in
76351 :[FHL]*:*);;
76352 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
76353 :[FH]-) ac_tag=-:-;;
76354 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
76355 esac
76356 ac_save_IFS=$IFS
76357 IFS=:
76358 set x $ac_tag
76359 IFS=$ac_save_IFS
76360 shift
76361 ac_file=$1
76362 shift
76364 case $ac_mode in
76365 :L) ac_source=$1;;
76366 :[FH])
76367 ac_file_inputs=
76368 for ac_f
76370 case $ac_f in
76371 -) ac_f="$ac_tmp/stdin";;
76372 *) # Look for the file first in the build tree, then in the source tree
76373 # (if the path is not absolute). The absolute path cannot be DOS-style,
76374 # because $ac_f cannot contain `:'.
76375 test -f "$ac_f" ||
76376 case $ac_f in
76377 [\\/$]*) false;;
76378 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
76379 esac ||
76380 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
76381 esac
76382 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
76383 as_fn_append ac_file_inputs " '$ac_f'"
76384 done
76386 # Let's still pretend it is `configure' which instantiates (i.e., don't
76387 # use $as_me), people would be surprised to read:
76388 # /* config.h. Generated by config.status. */
76389 configure_input='Generated from '`
76390 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
76391 `' by configure.'
76392 if test x"$ac_file" != x-; then
76393 configure_input="$ac_file. $configure_input"
76394 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
76395 $as_echo "$as_me: creating $ac_file" >&6;}
76397 # Neutralize special characters interpreted by sed in replacement strings.
76398 case $configure_input in #(
76399 *\&* | *\|* | *\\* )
76400 ac_sed_conf_input=`$as_echo "$configure_input" |
76401 sed 's/[\\\\&|]/\\\\&/g'`;; #(
76402 *) ac_sed_conf_input=$configure_input;;
76403 esac
76405 case $ac_tag in
76406 *:-:* | *:-) cat >"$ac_tmp/stdin" \
76407 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
76408 esac
76410 esac
76412 ac_dir=`$as_dirname -- "$ac_file" ||
76413 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
76414 X"$ac_file" : 'X\(//\)[^/]' \| \
76415 X"$ac_file" : 'X\(//\)$' \| \
76416 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
76417 $as_echo X"$ac_file" |
76418 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
76419 s//\1/
76422 /^X\(\/\/\)[^/].*/{
76423 s//\1/
76426 /^X\(\/\/\)$/{
76427 s//\1/
76430 /^X\(\/\).*/{
76431 s//\1/
76434 s/.*/./; q'`
76435 as_dir="$ac_dir"; as_fn_mkdir_p
76436 ac_builddir=.
76438 case "$ac_dir" in
76439 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
76441 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
76442 # A ".." for each directory in $ac_dir_suffix.
76443 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
76444 case $ac_top_builddir_sub in
76445 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
76446 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
76447 esac ;;
76448 esac
76449 ac_abs_top_builddir=$ac_pwd
76450 ac_abs_builddir=$ac_pwd$ac_dir_suffix
76451 # for backward compatibility:
76452 ac_top_builddir=$ac_top_build_prefix
76454 case $srcdir in
76455 .) # We are building in place.
76456 ac_srcdir=.
76457 ac_top_srcdir=$ac_top_builddir_sub
76458 ac_abs_top_srcdir=$ac_pwd ;;
76459 [\\/]* | ?:[\\/]* ) # Absolute name.
76460 ac_srcdir=$srcdir$ac_dir_suffix;
76461 ac_top_srcdir=$srcdir
76462 ac_abs_top_srcdir=$srcdir ;;
76463 *) # Relative name.
76464 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
76465 ac_top_srcdir=$ac_top_build_prefix$srcdir
76466 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
76467 esac
76468 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
76471 case $ac_mode in
76474 # CONFIG_FILE
76477 case $INSTALL in
76478 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
76479 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
76480 esac
76481 ac_MKDIR_P=$MKDIR_P
76482 case $MKDIR_P in
76483 [\\/$]* | ?:[\\/]* ) ;;
76484 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
76485 esac
76486 _ACEOF
76488 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
76489 # If the template does not know about datarootdir, expand it.
76490 # FIXME: This hack should be removed a few years after 2.60.
76491 ac_datarootdir_hack=; ac_datarootdir_seen=
76492 ac_sed_dataroot='
76493 /datarootdir/ {
76497 /@datadir@/p
76498 /@docdir@/p
76499 /@infodir@/p
76500 /@localedir@/p
76501 /@mandir@/p'
76502 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
76503 *datarootdir*) ac_datarootdir_seen=yes;;
76504 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
76505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
76506 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
76507 _ACEOF
76508 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
76509 ac_datarootdir_hack='
76510 s&@datadir@&$datadir&g
76511 s&@docdir@&$docdir&g
76512 s&@infodir@&$infodir&g
76513 s&@localedir@&$localedir&g
76514 s&@mandir@&$mandir&g
76515 s&\\\${datarootdir}&$datarootdir&g' ;;
76516 esac
76517 _ACEOF
76519 # Neutralize VPATH when `$srcdir' = `.'.
76520 # Shell code in configure.ac might set extrasub.
76521 # FIXME: do we really want to maintain this feature?
76522 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
76523 ac_sed_extra="$ac_vpsub
76524 $extrasub
76525 _ACEOF
76526 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
76528 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
76529 s|@configure_input@|$ac_sed_conf_input|;t t
76530 s&@top_builddir@&$ac_top_builddir_sub&;t t
76531 s&@top_build_prefix@&$ac_top_build_prefix&;t t
76532 s&@srcdir@&$ac_srcdir&;t t
76533 s&@abs_srcdir@&$ac_abs_srcdir&;t t
76534 s&@top_srcdir@&$ac_top_srcdir&;t t
76535 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
76536 s&@builddir@&$ac_builddir&;t t
76537 s&@abs_builddir@&$ac_abs_builddir&;t t
76538 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
76539 s&@INSTALL@&$ac_INSTALL&;t t
76540 s&@MKDIR_P@&$ac_MKDIR_P&;t t
76541 $ac_datarootdir_hack
76543 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
76544 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
76546 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
76547 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
76548 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
76549 "$ac_tmp/out"`; test -z "$ac_out"; } &&
76550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
76551 which seems to be undefined. Please make sure it is defined" >&5
76552 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
76553 which seems to be undefined. Please make sure it is defined" >&2;}
76555 rm -f "$ac_tmp/stdin"
76556 case $ac_file in
76557 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
76558 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
76559 esac \
76560 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
76564 # CONFIG_HEADER
76566 if test x"$ac_file" != x-; then
76568 $as_echo "/* $configure_input */" \
76569 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
76570 } >"$ac_tmp/config.h" \
76571 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
76572 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
76573 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
76574 $as_echo "$as_me: $ac_file is unchanged" >&6;}
76575 else
76576 rm -f "$ac_file"
76577 mv "$ac_tmp/config.h" "$ac_file" \
76578 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
76580 else
76581 $as_echo "/* $configure_input */" \
76582 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
76583 || as_fn_error $? "could not create -" "$LINENO" 5
76585 # Compute "$ac_file"'s index in $config_headers.
76586 _am_arg="$ac_file"
76587 _am_stamp_count=1
76588 for _am_header in $config_headers :; do
76589 case $_am_header in
76590 $_am_arg | $_am_arg:* )
76591 break ;;
76593 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
76594 esac
76595 done
76596 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
76597 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
76598 X"$_am_arg" : 'X\(//\)[^/]' \| \
76599 X"$_am_arg" : 'X\(//\)$' \| \
76600 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
76601 $as_echo X"$_am_arg" |
76602 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
76603 s//\1/
76606 /^X\(\/\/\)[^/].*/{
76607 s//\1/
76610 /^X\(\/\/\)$/{
76611 s//\1/
76614 /^X\(\/\).*/{
76615 s//\1/
76618 s/.*/./; q'`/stamp-h$_am_stamp_count
76621 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
76622 $as_echo "$as_me: executing $ac_file commands" >&6;}
76624 esac
76627 case $ac_file$ac_mode in
76628 "default-1":C)
76629 # Only add multilib support code if we just rebuilt the top-level
76630 # Makefile.
76631 case " $CONFIG_FILES " in
76632 *" Makefile "*)
76633 ac_file=Makefile . ${multi_basedir}/config-ml.in
76635 esac ;;
76636 "libtool":C)
76638 # See if we are running on zsh, and set the options which allow our
76639 # commands through without removal of \ escapes.
76640 if test -n "${ZSH_VERSION+set}" ; then
76641 setopt NO_GLOB_SUBST
76644 cfgfile="${ofile}T"
76645 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
76646 $RM "$cfgfile"
76648 cat <<_LT_EOF >> "$cfgfile"
76649 #! $SHELL
76651 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
76652 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
76653 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
76654 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
76656 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
76657 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
76658 # Written by Gordon Matzigkeit, 1996
76660 # This file is part of GNU Libtool.
76662 # GNU Libtool is free software; you can redistribute it and/or
76663 # modify it under the terms of the GNU General Public License as
76664 # published by the Free Software Foundation; either version 2 of
76665 # the License, or (at your option) any later version.
76667 # As a special exception to the GNU General Public License,
76668 # if you distribute this file as part of a program or library that
76669 # is built using GNU Libtool, you may include this file under the
76670 # same distribution terms that you use for the rest of that program.
76672 # GNU Libtool is distributed in the hope that it will be useful,
76673 # but WITHOUT ANY WARRANTY; without even the implied warranty of
76674 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
76675 # GNU General Public License for more details.
76677 # You should have received a copy of the GNU General Public License
76678 # along with GNU Libtool; see the file COPYING. If not, a copy
76679 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
76680 # obtained by writing to the Free Software Foundation, Inc.,
76681 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
76684 # The names of the tagged configurations supported by this script.
76685 available_tags="CXX "
76687 # ### BEGIN LIBTOOL CONFIG
76689 # Which release of libtool.m4 was used?
76690 macro_version=$macro_version
76691 macro_revision=$macro_revision
76693 # Whether or not to build shared libraries.
76694 build_libtool_libs=$enable_shared
76696 # Whether or not to build static libraries.
76697 build_old_libs=$enable_static
76699 # What type of objects to build.
76700 pic_mode=$pic_mode
76702 # Whether or not to optimize for fast installation.
76703 fast_install=$enable_fast_install
76705 # Shell to use when invoking shell scripts.
76706 SHELL=$lt_SHELL
76708 # An echo program that protects backslashes.
76709 ECHO=$lt_ECHO
76711 # The host system.
76712 host_alias=$host_alias
76713 host=$host
76714 host_os=$host_os
76716 # The build system.
76717 build_alias=$build_alias
76718 build=$build
76719 build_os=$build_os
76721 # A sed program that does not truncate output.
76722 SED=$lt_SED
76724 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
76725 Xsed="\$SED -e 1s/^X//"
76727 # A grep program that handles long lines.
76728 GREP=$lt_GREP
76730 # An ERE matcher.
76731 EGREP=$lt_EGREP
76733 # A literal string matcher.
76734 FGREP=$lt_FGREP
76736 # A BSD- or MS-compatible name lister.
76737 NM=$lt_NM
76739 # Whether we need soft or hard links.
76740 LN_S=$lt_LN_S
76742 # What is the maximum length of a command?
76743 max_cmd_len=$max_cmd_len
76745 # Object file suffix (normally "o").
76746 objext=$ac_objext
76748 # Executable file suffix (normally "").
76749 exeext=$exeext
76751 # whether the shell understands "unset".
76752 lt_unset=$lt_unset
76754 # turn spaces into newlines.
76755 SP2NL=$lt_lt_SP2NL
76757 # turn newlines into spaces.
76758 NL2SP=$lt_lt_NL2SP
76760 # An object symbol dumper.
76761 OBJDUMP=$lt_OBJDUMP
76763 # Method to check whether dependent libraries are shared objects.
76764 deplibs_check_method=$lt_deplibs_check_method
76766 # Command to use when deplibs_check_method == "file_magic".
76767 file_magic_cmd=$lt_file_magic_cmd
76769 # The archiver.
76770 AR=$lt_AR
76771 AR_FLAGS=$lt_AR_FLAGS
76773 # A symbol stripping program.
76774 STRIP=$lt_STRIP
76776 # Commands used to install an old-style archive.
76777 RANLIB=$lt_RANLIB
76778 old_postinstall_cmds=$lt_old_postinstall_cmds
76779 old_postuninstall_cmds=$lt_old_postuninstall_cmds
76781 # Whether to use a lock for old archive extraction.
76782 lock_old_archive_extraction=$lock_old_archive_extraction
76784 # A C compiler.
76785 LTCC=$lt_CC
76787 # LTCC compiler flags.
76788 LTCFLAGS=$lt_CFLAGS
76790 # Take the output of nm and produce a listing of raw symbols and C names.
76791 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
76793 # Transform the output of nm in a proper C declaration.
76794 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
76796 # Transform the output of nm in a C name address pair.
76797 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
76799 # Transform the output of nm in a C name address pair when lib prefix is needed.
76800 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
76802 # The name of the directory that contains temporary libtool files.
76803 objdir=$objdir
76805 # Used to examine libraries when file_magic_cmd begins with "file".
76806 MAGIC_CMD=$MAGIC_CMD
76808 # Must we lock files when doing compilation?
76809 need_locks=$lt_need_locks
76811 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
76812 DSYMUTIL=$lt_DSYMUTIL
76814 # Tool to change global to local symbols on Mac OS X.
76815 NMEDIT=$lt_NMEDIT
76817 # Tool to manipulate fat objects and archives on Mac OS X.
76818 LIPO=$lt_LIPO
76820 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
76821 OTOOL=$lt_OTOOL
76823 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
76824 OTOOL64=$lt_OTOOL64
76826 # Old archive suffix (normally "a").
76827 libext=$libext
76829 # Shared library suffix (normally ".so").
76830 shrext_cmds=$lt_shrext_cmds
76832 # The commands to extract the exported symbol list from a shared archive.
76833 extract_expsyms_cmds=$lt_extract_expsyms_cmds
76835 # Variables whose values should be saved in libtool wrapper scripts and
76836 # restored at link time.
76837 variables_saved_for_relink=$lt_variables_saved_for_relink
76839 # Do we need the "lib" prefix for modules?
76840 need_lib_prefix=$need_lib_prefix
76842 # Do we need a version for libraries?
76843 need_version=$need_version
76845 # Library versioning type.
76846 version_type=$version_type
76848 # Shared library runtime path variable.
76849 runpath_var=$runpath_var
76851 # Shared library path variable.
76852 shlibpath_var=$shlibpath_var
76854 # Is shlibpath searched before the hard-coded library search path?
76855 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
76857 # Format of library name prefix.
76858 libname_spec=$lt_libname_spec
76860 # List of archive names. First name is the real one, the rest are links.
76861 # The last name is the one that the linker finds with -lNAME
76862 library_names_spec=$lt_library_names_spec
76864 # The coded name of the library, if different from the real name.
76865 soname_spec=$lt_soname_spec
76867 # Permission mode override for installation of shared libraries.
76868 install_override_mode=$lt_install_override_mode
76870 # Command to use after installation of a shared archive.
76871 postinstall_cmds=$lt_postinstall_cmds
76873 # Command to use after uninstallation of a shared archive.
76874 postuninstall_cmds=$lt_postuninstall_cmds
76876 # Commands used to finish a libtool library installation in a directory.
76877 finish_cmds=$lt_finish_cmds
76879 # As "finish_cmds", except a single script fragment to be evaled but
76880 # not shown.
76881 finish_eval=$lt_finish_eval
76883 # Whether we should hardcode library paths into libraries.
76884 hardcode_into_libs=$hardcode_into_libs
76886 # Compile-time system search path for libraries.
76887 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
76889 # Run-time system search path for libraries.
76890 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
76892 # Whether dlopen is supported.
76893 dlopen_support=$enable_dlopen
76895 # Whether dlopen of programs is supported.
76896 dlopen_self=$enable_dlopen_self
76898 # Whether dlopen of statically linked programs is supported.
76899 dlopen_self_static=$enable_dlopen_self_static
76901 # Commands to strip libraries.
76902 old_striplib=$lt_old_striplib
76903 striplib=$lt_striplib
76906 # The linker used to build libraries.
76907 LD=$lt_LD
76909 # How to create reloadable object files.
76910 reload_flag=$lt_reload_flag
76911 reload_cmds=$lt_reload_cmds
76913 # Commands used to build an old-style archive.
76914 old_archive_cmds=$lt_old_archive_cmds
76916 # A language specific compiler.
76917 CC=$lt_compiler
76919 # Is the compiler the GNU compiler?
76920 with_gcc=$GCC
76922 # Compiler flag to turn off builtin functions.
76923 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
76925 # How to pass a linker flag through the compiler.
76926 wl=$lt_lt_prog_compiler_wl
76928 # Additional compiler flags for building library objects.
76929 pic_flag=$lt_lt_prog_compiler_pic
76931 # Compiler flag to prevent dynamic linking.
76932 link_static_flag=$lt_lt_prog_compiler_static
76934 # Does compiler simultaneously support -c and -o options?
76935 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
76937 # Whether or not to add -lc for building shared libraries.
76938 build_libtool_need_lc=$archive_cmds_need_lc
76940 # Whether or not to disallow shared libs when runtime libs are static.
76941 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
76943 # Compiler flag to allow reflexive dlopens.
76944 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
76946 # Compiler flag to generate shared objects directly from archives.
76947 whole_archive_flag_spec=$lt_whole_archive_flag_spec
76949 # Whether the compiler copes with passing no objects directly.
76950 compiler_needs_object=$lt_compiler_needs_object
76952 # Create an old-style archive from a shared archive.
76953 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
76955 # Create a temporary old-style archive to link instead of a shared archive.
76956 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
76958 # Commands used to build a shared archive.
76959 archive_cmds=$lt_archive_cmds
76960 archive_expsym_cmds=$lt_archive_expsym_cmds
76962 # Commands used to build a loadable module if different from building
76963 # a shared archive.
76964 module_cmds=$lt_module_cmds
76965 module_expsym_cmds=$lt_module_expsym_cmds
76967 # Whether we are building with GNU ld or not.
76968 with_gnu_ld=$lt_with_gnu_ld
76970 # Flag that allows shared libraries with undefined symbols to be built.
76971 allow_undefined_flag=$lt_allow_undefined_flag
76973 # Flag that enforces no undefined symbols.
76974 no_undefined_flag=$lt_no_undefined_flag
76976 # Flag to hardcode \$libdir into a binary during linking.
76977 # This must work even if \$libdir does not exist
76978 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
76980 # If ld is used when linking, flag to hardcode \$libdir into a binary
76981 # during linking. This must work even if \$libdir does not exist.
76982 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
76984 # Whether we need a single "-rpath" flag with a separated argument.
76985 hardcode_libdir_separator=$lt_hardcode_libdir_separator
76987 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
76988 # DIR into the resulting binary.
76989 hardcode_direct=$hardcode_direct
76991 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
76992 # DIR into the resulting binary and the resulting library dependency is
76993 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
76994 # library is relocated.
76995 hardcode_direct_absolute=$hardcode_direct_absolute
76997 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
76998 # into the resulting binary.
76999 hardcode_minus_L=$hardcode_minus_L
77001 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
77002 # into the resulting binary.
77003 hardcode_shlibpath_var=$hardcode_shlibpath_var
77005 # Set to "yes" if building a shared library automatically hardcodes DIR
77006 # into the library and all subsequent libraries and executables linked
77007 # against it.
77008 hardcode_automatic=$hardcode_automatic
77010 # Set to yes if linker adds runtime paths of dependent libraries
77011 # to runtime path list.
77012 inherit_rpath=$inherit_rpath
77014 # Whether libtool must link a program against all its dependency libraries.
77015 link_all_deplibs=$link_all_deplibs
77017 # Fix the shell variable \$srcfile for the compiler.
77018 fix_srcfile_path=$lt_fix_srcfile_path
77020 # Set to "yes" if exported symbols are required.
77021 always_export_symbols=$always_export_symbols
77023 # The commands to list exported symbols.
77024 export_symbols_cmds=$lt_export_symbols_cmds
77026 # Symbols that should not be listed in the preloaded symbols.
77027 exclude_expsyms=$lt_exclude_expsyms
77029 # Symbols that must always be exported.
77030 include_expsyms=$lt_include_expsyms
77032 # Commands necessary for linking programs (against libraries) with templates.
77033 prelink_cmds=$lt_prelink_cmds
77035 # Specify filename containing input files.
77036 file_list_spec=$lt_file_list_spec
77038 # How to hardcode a shared library path into an executable.
77039 hardcode_action=$hardcode_action
77041 # The directories searched by this compiler when creating a shared library.
77042 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
77044 # Dependencies to place before and after the objects being linked to
77045 # create a shared library.
77046 predep_objects=$lt_predep_objects
77047 postdep_objects=$lt_postdep_objects
77048 predeps=$lt_predeps
77049 postdeps=$lt_postdeps
77051 # The library search path used internally by the compiler when linking
77052 # a shared library.
77053 compiler_lib_search_path=$lt_compiler_lib_search_path
77055 # ### END LIBTOOL CONFIG
77057 _LT_EOF
77059 case $host_os in
77060 aix3*)
77061 cat <<\_LT_EOF >> "$cfgfile"
77062 # AIX sometimes has problems with the GCC collect2 program. For some
77063 # reason, if we set the COLLECT_NAMES environment variable, the problems
77064 # vanish in a puff of smoke.
77065 if test "X${COLLECT_NAMES+set}" != Xset; then
77066 COLLECT_NAMES=
77067 export COLLECT_NAMES
77069 _LT_EOF
77071 esac
77074 ltmain="$ac_aux_dir/ltmain.sh"
77077 # We use sed instead of cat because bash on DJGPP gets confused if
77078 # if finds mixed CR/LF and LF-only lines. Since sed operates in
77079 # text mode, it properly converts lines to CR/LF. This bash problem
77080 # is reportedly fixed, but why not run on old versions too?
77081 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
77082 || (rm -f "$cfgfile"; exit 1)
77084 case $xsi_shell in
77085 yes)
77086 cat << \_LT_EOF >> "$cfgfile"
77088 # func_dirname file append nondir_replacement
77089 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
77090 # otherwise set result to NONDIR_REPLACEMENT.
77091 func_dirname ()
77093 case ${1} in
77094 */*) func_dirname_result="${1%/*}${2}" ;;
77095 * ) func_dirname_result="${3}" ;;
77096 esac
77099 # func_basename file
77100 func_basename ()
77102 func_basename_result="${1##*/}"
77105 # func_dirname_and_basename file append nondir_replacement
77106 # perform func_basename and func_dirname in a single function
77107 # call:
77108 # dirname: Compute the dirname of FILE. If nonempty,
77109 # add APPEND to the result, otherwise set result
77110 # to NONDIR_REPLACEMENT.
77111 # value returned in "$func_dirname_result"
77112 # basename: Compute filename of FILE.
77113 # value retuned in "$func_basename_result"
77114 # Implementation must be kept synchronized with func_dirname
77115 # and func_basename. For efficiency, we do not delegate to
77116 # those functions but instead duplicate the functionality here.
77117 func_dirname_and_basename ()
77119 case ${1} in
77120 */*) func_dirname_result="${1%/*}${2}" ;;
77121 * ) func_dirname_result="${3}" ;;
77122 esac
77123 func_basename_result="${1##*/}"
77126 # func_stripname prefix suffix name
77127 # strip PREFIX and SUFFIX off of NAME.
77128 # PREFIX and SUFFIX must not contain globbing or regex special
77129 # characters, hashes, percent signs, but SUFFIX may contain a leading
77130 # dot (in which case that matches only a dot).
77131 func_stripname ()
77133 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
77134 # positional parameters, so assign one to ordinary parameter first.
77135 func_stripname_result=${3}
77136 func_stripname_result=${func_stripname_result#"${1}"}
77137 func_stripname_result=${func_stripname_result%"${2}"}
77140 # func_opt_split
77141 func_opt_split ()
77143 func_opt_split_opt=${1%%=*}
77144 func_opt_split_arg=${1#*=}
77147 # func_lo2o object
77148 func_lo2o ()
77150 case ${1} in
77151 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
77152 *) func_lo2o_result=${1} ;;
77153 esac
77156 # func_xform libobj-or-source
77157 func_xform ()
77159 func_xform_result=${1%.*}.lo
77162 # func_arith arithmetic-term...
77163 func_arith ()
77165 func_arith_result=$(( $* ))
77168 # func_len string
77169 # STRING may not start with a hyphen.
77170 func_len ()
77172 func_len_result=${#1}
77175 _LT_EOF
77177 *) # Bourne compatible functions.
77178 cat << \_LT_EOF >> "$cfgfile"
77180 # func_dirname file append nondir_replacement
77181 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
77182 # otherwise set result to NONDIR_REPLACEMENT.
77183 func_dirname ()
77185 # Extract subdirectory from the argument.
77186 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
77187 if test "X$func_dirname_result" = "X${1}"; then
77188 func_dirname_result="${3}"
77189 else
77190 func_dirname_result="$func_dirname_result${2}"
77194 # func_basename file
77195 func_basename ()
77197 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
77201 # func_stripname prefix suffix name
77202 # strip PREFIX and SUFFIX off of NAME.
77203 # PREFIX and SUFFIX must not contain globbing or regex special
77204 # characters, hashes, percent signs, but SUFFIX may contain a leading
77205 # dot (in which case that matches only a dot).
77206 # func_strip_suffix prefix name
77207 func_stripname ()
77209 case ${2} in
77210 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
77211 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
77212 esac
77215 # sed scripts:
77216 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
77217 my_sed_long_arg='1s/^-[^=]*=//'
77219 # func_opt_split
77220 func_opt_split ()
77222 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
77223 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
77226 # func_lo2o object
77227 func_lo2o ()
77229 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
77232 # func_xform libobj-or-source
77233 func_xform ()
77235 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
77238 # func_arith arithmetic-term...
77239 func_arith ()
77241 func_arith_result=`expr "$@"`
77244 # func_len string
77245 # STRING may not start with a hyphen.
77246 func_len ()
77248 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
77251 _LT_EOF
77252 esac
77254 case $lt_shell_append in
77255 yes)
77256 cat << \_LT_EOF >> "$cfgfile"
77258 # func_append var value
77259 # Append VALUE to the end of shell variable VAR.
77260 func_append ()
77262 eval "$1+=\$2"
77264 _LT_EOF
77267 cat << \_LT_EOF >> "$cfgfile"
77269 # func_append var value
77270 # Append VALUE to the end of shell variable VAR.
77271 func_append ()
77273 eval "$1=\$$1\$2"
77276 _LT_EOF
77278 esac
77281 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
77282 || (rm -f "$cfgfile"; exit 1)
77284 mv -f "$cfgfile" "$ofile" ||
77285 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
77286 chmod +x "$ofile"
77289 cat <<_LT_EOF >> "$ofile"
77291 # ### BEGIN LIBTOOL TAG CONFIG: CXX
77293 # The linker used to build libraries.
77294 LD=$lt_LD_CXX
77296 # How to create reloadable object files.
77297 reload_flag=$lt_reload_flag_CXX
77298 reload_cmds=$lt_reload_cmds_CXX
77300 # Commands used to build an old-style archive.
77301 old_archive_cmds=$lt_old_archive_cmds_CXX
77303 # A language specific compiler.
77304 CC=$lt_compiler_CXX
77306 # Is the compiler the GNU compiler?
77307 with_gcc=$GCC_CXX
77309 # Compiler flag to turn off builtin functions.
77310 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
77312 # How to pass a linker flag through the compiler.
77313 wl=$lt_lt_prog_compiler_wl_CXX
77315 # Additional compiler flags for building library objects.
77316 pic_flag=$lt_lt_prog_compiler_pic_CXX
77318 # Compiler flag to prevent dynamic linking.
77319 link_static_flag=$lt_lt_prog_compiler_static_CXX
77321 # Does compiler simultaneously support -c and -o options?
77322 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
77324 # Whether or not to add -lc for building shared libraries.
77325 build_libtool_need_lc=$archive_cmds_need_lc_CXX
77327 # Whether or not to disallow shared libs when runtime libs are static.
77328 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
77330 # Compiler flag to allow reflexive dlopens.
77331 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
77333 # Compiler flag to generate shared objects directly from archives.
77334 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
77336 # Whether the compiler copes with passing no objects directly.
77337 compiler_needs_object=$lt_compiler_needs_object_CXX
77339 # Create an old-style archive from a shared archive.
77340 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
77342 # Create a temporary old-style archive to link instead of a shared archive.
77343 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
77345 # Commands used to build a shared archive.
77346 archive_cmds=$lt_archive_cmds_CXX
77347 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
77349 # Commands used to build a loadable module if different from building
77350 # a shared archive.
77351 module_cmds=$lt_module_cmds_CXX
77352 module_expsym_cmds=$lt_module_expsym_cmds_CXX
77354 # Whether we are building with GNU ld or not.
77355 with_gnu_ld=$lt_with_gnu_ld_CXX
77357 # Flag that allows shared libraries with undefined symbols to be built.
77358 allow_undefined_flag=$lt_allow_undefined_flag_CXX
77360 # Flag that enforces no undefined symbols.
77361 no_undefined_flag=$lt_no_undefined_flag_CXX
77363 # Flag to hardcode \$libdir into a binary during linking.
77364 # This must work even if \$libdir does not exist
77365 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
77367 # If ld is used when linking, flag to hardcode \$libdir into a binary
77368 # during linking. This must work even if \$libdir does not exist.
77369 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
77371 # Whether we need a single "-rpath" flag with a separated argument.
77372 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
77374 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
77375 # DIR into the resulting binary.
77376 hardcode_direct=$hardcode_direct_CXX
77378 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
77379 # DIR into the resulting binary and the resulting library dependency is
77380 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
77381 # library is relocated.
77382 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
77384 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
77385 # into the resulting binary.
77386 hardcode_minus_L=$hardcode_minus_L_CXX
77388 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
77389 # into the resulting binary.
77390 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
77392 # Set to "yes" if building a shared library automatically hardcodes DIR
77393 # into the library and all subsequent libraries and executables linked
77394 # against it.
77395 hardcode_automatic=$hardcode_automatic_CXX
77397 # Set to yes if linker adds runtime paths of dependent libraries
77398 # to runtime path list.
77399 inherit_rpath=$inherit_rpath_CXX
77401 # Whether libtool must link a program against all its dependency libraries.
77402 link_all_deplibs=$link_all_deplibs_CXX
77404 # Fix the shell variable \$srcfile for the compiler.
77405 fix_srcfile_path=$lt_fix_srcfile_path_CXX
77407 # Set to "yes" if exported symbols are required.
77408 always_export_symbols=$always_export_symbols_CXX
77410 # The commands to list exported symbols.
77411 export_symbols_cmds=$lt_export_symbols_cmds_CXX
77413 # Symbols that should not be listed in the preloaded symbols.
77414 exclude_expsyms=$lt_exclude_expsyms_CXX
77416 # Symbols that must always be exported.
77417 include_expsyms=$lt_include_expsyms_CXX
77419 # Commands necessary for linking programs (against libraries) with templates.
77420 prelink_cmds=$lt_prelink_cmds_CXX
77422 # Specify filename containing input files.
77423 file_list_spec=$lt_file_list_spec_CXX
77425 # How to hardcode a shared library path into an executable.
77426 hardcode_action=$hardcode_action_CXX
77428 # The directories searched by this compiler when creating a shared library.
77429 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
77431 # Dependencies to place before and after the objects being linked to
77432 # create a shared library.
77433 predep_objects=$lt_predep_objects_CXX
77434 postdep_objects=$lt_postdep_objects_CXX
77435 predeps=$lt_predeps_CXX
77436 postdeps=$lt_postdeps_CXX
77438 # The library search path used internally by the compiler when linking
77439 # a shared library.
77440 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
77442 # ### END LIBTOOL TAG CONFIG: CXX
77443 _LT_EOF
77446 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
77447 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
77448 "include/Makefile":F) cat > vpsed$$ << \_EOF
77449 s!`test -f '$<' || echo '$(srcdir)/'`!!
77450 _EOF
77451 sed -f vpsed$$ $ac_file > tmp$$
77452 mv tmp$$ $ac_file
77453 rm vpsed$$
77454 echo 'MULTISUBDIR =' >> $ac_file
77455 ml_norecursion=yes
77456 . ${multi_basedir}/config-ml.in
77457 { ml_norecursion=; unset ml_norecursion;}
77459 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
77460 s!`test -f '$<' || echo '$(srcdir)/'`!!
77461 _EOF
77462 sed -f vpsed$$ $ac_file > tmp$$
77463 mv tmp$$ $ac_file
77464 rm vpsed$$
77465 echo 'MULTISUBDIR =' >> $ac_file
77466 ml_norecursion=yes
77467 . ${multi_basedir}/config-ml.in
77468 { ml_norecursion=; unset ml_norecursion;}
77470 "src/Makefile":F) cat > vpsed$$ << \_EOF
77471 s!`test -f '$<' || echo '$(srcdir)/'`!!
77472 _EOF
77473 sed -f vpsed$$ $ac_file > tmp$$
77474 mv tmp$$ $ac_file
77475 rm vpsed$$
77476 echo 'MULTISUBDIR =' >> $ac_file
77477 ml_norecursion=yes
77478 . ${multi_basedir}/config-ml.in
77479 { ml_norecursion=; unset ml_norecursion;}
77481 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
77482 s!`test -f '$<' || echo '$(srcdir)/'`!!
77483 _EOF
77484 sed -f vpsed$$ $ac_file > tmp$$
77485 mv tmp$$ $ac_file
77486 rm vpsed$$
77487 echo 'MULTISUBDIR =' >> $ac_file
77488 ml_norecursion=yes
77489 . ${multi_basedir}/config-ml.in
77490 { ml_norecursion=; unset ml_norecursion;}
77492 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
77493 s!`test -f '$<' || echo '$(srcdir)/'`!!
77494 _EOF
77495 sed -f vpsed$$ $ac_file > tmp$$
77496 mv tmp$$ $ac_file
77497 rm vpsed$$
77498 echo 'MULTISUBDIR =' >> $ac_file
77499 ml_norecursion=yes
77500 . ${multi_basedir}/config-ml.in
77501 { ml_norecursion=; unset ml_norecursion;}
77503 "src/c++17/Makefile":F) cat > vpsed$$ << \_EOF
77504 s!`test -f '$<' || echo '$(srcdir)/'`!!
77505 _EOF
77506 sed -f vpsed$$ $ac_file > tmp$$
77507 mv tmp$$ $ac_file
77508 rm vpsed$$
77509 echo 'MULTISUBDIR =' >> $ac_file
77510 ml_norecursion=yes
77511 . ${multi_basedir}/config-ml.in
77512 { ml_norecursion=; unset ml_norecursion;}
77514 "src/c++20/Makefile":F) cat > vpsed$$ << \_EOF
77515 s!`test -f '$<' || echo '$(srcdir)/'`!!
77516 _EOF
77517 sed -f vpsed$$ $ac_file > tmp$$
77518 mv tmp$$ $ac_file
77519 rm vpsed$$
77520 echo 'MULTISUBDIR =' >> $ac_file
77521 ml_norecursion=yes
77522 . ${multi_basedir}/config-ml.in
77523 { ml_norecursion=; unset ml_norecursion;}
77525 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
77526 s!`test -f '$<' || echo '$(srcdir)/'`!!
77527 _EOF
77528 sed -f vpsed$$ $ac_file > tmp$$
77529 mv tmp$$ $ac_file
77530 rm vpsed$$
77531 echo 'MULTISUBDIR =' >> $ac_file
77532 ml_norecursion=yes
77533 . ${multi_basedir}/config-ml.in
77534 { ml_norecursion=; unset ml_norecursion;}
77536 "src/libbacktrace/Makefile":F) cat > vpsed$$ << \_EOF
77537 s!`test -f '$<' || echo '$(srcdir)/'`!!
77538 _EOF
77539 sed -f vpsed$$ $ac_file > tmp$$
77540 mv tmp$$ $ac_file
77541 rm vpsed$$
77542 echo 'MULTISUBDIR =' >> $ac_file
77543 ml_norecursion=yes
77544 . ${multi_basedir}/config-ml.in
77545 { ml_norecursion=; unset ml_norecursion;}
77547 "src/experimental/Makefile":F) cat > vpsed$$ << \_EOF
77548 s!`test -f '$<' || echo '$(srcdir)/'`!!
77549 _EOF
77550 sed -f vpsed$$ $ac_file > tmp$$
77551 mv tmp$$ $ac_file
77552 rm vpsed$$
77553 echo 'MULTISUBDIR =' >> $ac_file
77554 ml_norecursion=yes
77555 . ${multi_basedir}/config-ml.in
77556 { ml_norecursion=; unset ml_norecursion;}
77558 "doc/Makefile":F) cat > vpsed$$ << \_EOF
77559 s!`test -f '$<' || echo '$(srcdir)/'`!!
77560 _EOF
77561 sed -f vpsed$$ $ac_file > tmp$$
77562 mv tmp$$ $ac_file
77563 rm vpsed$$
77564 echo 'MULTISUBDIR =' >> $ac_file
77565 ml_norecursion=yes
77566 . ${multi_basedir}/config-ml.in
77567 { ml_norecursion=; unset ml_norecursion;}
77569 "po/Makefile":F) cat > vpsed$$ << \_EOF
77570 s!`test -f '$<' || echo '$(srcdir)/'`!!
77571 _EOF
77572 sed -f vpsed$$ $ac_file > tmp$$
77573 mv tmp$$ $ac_file
77574 rm vpsed$$
77575 echo 'MULTISUBDIR =' >> $ac_file
77576 ml_norecursion=yes
77577 . ${multi_basedir}/config-ml.in
77578 { ml_norecursion=; unset ml_norecursion;}
77580 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
77581 s!`test -f '$<' || echo '$(srcdir)/'`!!
77582 _EOF
77583 sed -f vpsed$$ $ac_file > tmp$$
77584 mv tmp$$ $ac_file
77585 rm vpsed$$
77586 echo 'MULTISUBDIR =' >> $ac_file
77587 ml_norecursion=yes
77588 . ${multi_basedir}/config-ml.in
77589 { ml_norecursion=; unset ml_norecursion;}
77591 "python/Makefile":F) cat > vpsed$$ << \_EOF
77592 s!`test -f '$<' || echo '$(srcdir)/'`!!
77593 _EOF
77594 sed -f vpsed$$ $ac_file > tmp$$
77595 mv tmp$$ $ac_file
77596 rm vpsed$$
77597 echo 'MULTISUBDIR =' >> $ac_file
77598 ml_norecursion=yes
77599 . ${multi_basedir}/config-ml.in
77600 { ml_norecursion=; unset ml_norecursion;}
77602 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
77604 esac
77605 done # for ac_tag
77608 as_fn_exit 0
77609 _ACEOF
77610 ac_clean_files=$ac_clean_files_save
77612 test $ac_write_fail = 0 ||
77613 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
77616 # configure is writing to config.log, and then calls config.status.
77617 # config.status does its own redirection, appending to config.log.
77618 # Unfortunately, on DOS this fails, as config.log is still kept open
77619 # by configure, so config.status won't be able to write to it; its
77620 # output is simply discarded. So we exec the FD to /dev/null,
77621 # effectively closing config.log, so it can be properly (re)opened and
77622 # appended to by config.status. When coming back to configure, we
77623 # need to make the FD available again.
77624 if test "$no_create" != yes; then
77625 ac_cs_success=:
77626 ac_config_status_args=
77627 test "$silent" = yes &&
77628 ac_config_status_args="$ac_config_status_args --quiet"
77629 exec 5>/dev/null
77630 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
77631 exec 5>>config.log
77632 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
77633 # would make configure fail if this is the last instruction.
77634 $ac_cs_success || as_fn_exit 1
77636 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
77637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
77638 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}